:root {
  color-scheme: dark;
  --bg: #071318;
  --panel: #0d1c22;
  --panel-2: #10232a;
  --line: rgba(151, 188, 197, .13);
  --muted: #7e9aa1;
  --muted-2: #9ab0b5;
  --text: #e7f0ee;
  --teal: #65d6c0;
  --teal-2: #2cae9a;
  --amber: #d5a86b;
  --radius: 13px;
  --gap: 12px;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}
* { box-sizing: border-box; }
html { background: var(--bg); }
body { margin: 0; min-width: 320px; min-height: 100vh; background: radial-gradient(ellipse at 50% -30%, #17313a 0, #0a171d 46%, #061116 100%); color: var(--text); }
button, input { font: inherit; }
button { color: inherit; }
.app-shell { min-height: 100vh; display: flex; flex-direction: column; max-width: 1920px; margin: 0 auto; }
.topbar { height: 62px; flex: 0 0 62px; display: flex; align-items: center; justify-content: space-between; padding: 0 22px; border-bottom: 1px solid rgba(155,190,197,.12); background: rgba(6,17,22,.82); }
.brand-lockup { display: flex; align-items: center; gap: 12px; }
.brand-mark { width: 28px; height: 28px; border: 1px solid rgba(101,214,192,.52); border-radius: 8px; display: flex; align-items: flex-end; justify-content: center; gap: 3px; padding: 5px; transform: rotate(-4deg); }
.brand-mark span { display: block; width: 3px; border-radius: 3px; background: var(--teal); transform: skew(-15deg); }
.brand-mark span:nth-child(1) { height: 8px; opacity: .55; }.brand-mark span:nth-child(2) { height: 14px; }.brand-mark span:nth-child(3) { height: 10px; opacity: .75; }
.brand-name { font-size: 11px; letter-spacing: .16em; font-weight: 800; color: #e4efec; }.brand-name span { color: #6b9298; font-weight: 600; margin-left: 5px; }
.brand-subtitle { font-size: 8px; letter-spacing: .2em; color: #6c858b; margin-top: 4px; }
.topbar-meta { display: flex; align-items: center; gap: 20px; }
.field-chip { border: 1px solid rgba(101,214,192,.22); border-radius: 99px; padding: 7px 11px; color: #9dc7c0; font-size: 9px; font-weight: 750; letter-spacing: .12em; }
.field-chip i { font-style: normal; color: #56767a; padding: 0 4px; }.chip-dot { display: inline-block; width: 5px; height: 5px; border-radius: 50%; background: var(--teal); margin-right: 6px; vertical-align: 1px; box-shadow: 0 0 9px rgba(101,214,192,.65); }
.seed-label { font-size: 9px; letter-spacing: .12em; color: #6f898f; }.seed-label b { color: #a6bdbe; font-weight: 650; margin-left: 5px; }
.workspace { display: grid; grid-template-columns: 278px minmax(0,1fr) 266px; gap: var(--gap); padding: 12px; min-height: 0; flex: 1 1 auto; }
.panel { background: linear-gradient(180deg, rgba(15,32,39,.97), rgba(10,24,30,.97)); border: 1px solid var(--line); border-radius: var(--radius); min-width: 0; overflow: hidden; }
.control-panel, .insight-panel { padding: 17px 15px 13px; overflow-y: auto; scrollbar-width: thin; scrollbar-color: #24444b transparent; }
.panel-heading { display: flex; justify-content: space-between; align-items: flex-start; gap: 8px; margin-bottom: 17px; }
.eyebrow { color: #6e9398; font-size: 8px; font-weight: 800; letter-spacing: .17em; line-height: 1.5; }.eyebrow.light { color: #8fb5b7; }
h2 { margin: 4px 0 0; font-size: 17px; font-weight: 650; letter-spacing: -.025em; }
.live-indicator { font-size: 7px; letter-spacing: .1em; color: #75cbb6; border: 1px solid rgba(101,214,192,.2); padding: 5px 6px; border-radius: 5px; white-space: nowrap; }
.live-indicator i { display: inline-block; width: 5px; height: 5px; border-radius: 50%; background: #62d5ae; margin-right: 4px; box-shadow: 0 0 7px #62d5ae; }
.preset-block { padding: 12px 0 15px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-label { font-size: 8px; letter-spacing: .15em; color: #718b91; font-weight: 800; margin-bottom: 9px; }
.preset-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 6px; }
.preset-button { display: flex; flex-direction: column; align-items: flex-start; gap: 5px; text-align: left; min-height: 58px; padding: 8px 8px 7px; border: 1px solid rgba(141,177,185,.12); border-radius: 8px; background: rgba(255,255,255,.018); color: #91a9ac; cursor: pointer; transition: border-color .2s, background .2s, color .2s; }
.preset-button:hover { border-color: rgba(101,214,192,.4); color: #d5e7e2; }.preset-button.active { border-color: rgba(101,214,192,.48); background: rgba(69,177,157,.1); color: #d9f1e9; }
.preset-icon { color: var(--teal); font-size: 15px; line-height: 1; }.preset-button span:last-child { font-size: 8px; line-height: 1.25; font-weight: 700; }
.control-list { padding-top: 12px; display: flex; flex-direction: column; gap: 14px; }
.control-row { min-width: 0; }.control-top { display: flex; align-items: baseline; justify-content: space-between; gap: 6px; margin-bottom: 7px; }
.control-top label { color: #b8c9c7; font-size: 10px; font-weight: 600; }.control-top output { color: #79d4bf; font-size: 9px; font-weight: 750; white-space: nowrap; font-variant-numeric: tabular-nums; }
input[type="range"] { width: 100%; height: 13px; margin: 0; appearance: none; background: transparent; cursor: pointer; accent-color: var(--teal); }
input[type="range"]::-webkit-slider-runnable-track { height: 3px; border-radius: 5px; background: linear-gradient(90deg, #4bc2ac, #254b50); }
input[type="range"]::-moz-range-track { height: 3px; border-radius: 5px; background: linear-gradient(90deg, #4bc2ac, #254b50); }
input[type="range"]::-webkit-slider-thumb { appearance: none; width: 11px; height: 11px; margin-top: -4px; border-radius: 50%; border: 2px solid #c7f2e7; background: #46bda8; box-shadow: 0 0 0 3px rgba(70,189,168,.14); }
input[type="range"]::-moz-range-thumb { width: 9px; height: 9px; border-radius: 50%; border: 2px solid #c7f2e7; background: #46bda8; box-shadow: 0 0 0 3px rgba(70,189,168,.14); }
input[type="range"]:focus-visible { outline: 1px solid var(--teal); outline-offset: 4px; border-radius: 4px; }
.range-ends { display: flex; justify-content: space-between; color: #617b81; font-size: 7px; margin-top: 1px; letter-spacing: .03em; }
.panel-footnote { border-top: 1px solid var(--line); margin-top: 16px; padding-top: 11px; color: #718a8f; font-size: 8px; line-height: 1.5; }.tiny-info { display: inline-flex; width: 12px; height: 12px; border: 1px solid #587b7e; border-radius: 50%; align-items: center; justify-content: center; font-size: 8px; margin-right: 4px; }
.stage { position: relative; min-width: 0; min-height: 490px; border-radius: var(--radius); overflow: hidden; isolation: isolate; background: radial-gradient(ellipse at 50% 50%, #173c48 0%, #0b2832 45%, #06151c 100%); border: 1px solid rgba(118,173,183,.16); }
.stage-canvas { position: absolute; inset: 0; z-index: 0; }.stage-canvas canvas { display: block; width: 100%; height: 100%; outline: none; }
.stage-vignette { position: absolute; inset: 0; z-index: 1; pointer-events: none; background: linear-gradient(180deg, rgba(4,15,20,.68) 0%, transparent 30%, transparent 66%, rgba(4,14,19,.54) 100%), radial-gradient(ellipse at center, transparent 35%, rgba(2,11,15,.28) 100%); }
.stage-topline { position: absolute; z-index: 2; left: 22px; top: 20px; right: 18px; display: flex; justify-content: space-between; align-items: flex-start; pointer-events: none; }
.scene-title-block h1 { font-size: clamp(24px,2.2vw,34px); line-height: .98; letter-spacing: -.055em; margin: 8px 0 7px; font-weight: 650; text-shadow: 0 3px 22px rgba(0,0,0,.45); }.scene-title-block h1 em { font-family: Georgia, serif; font-weight: 400; color: #8fe0cd; letter-spacing: -.045em; }.scene-title-block p { margin: 0; font-size: 9px; color: #9db6b8; letter-spacing: .025em; }
.scene-status { display: flex; align-items: center; gap: 7px; padding: 7px 9px; border-radius: 99px; border: 1px solid rgba(131,194,189,.22); background: rgba(7,23,29,.58); color: #b3d4cc; font-size: 7px; letter-spacing: .13em; font-weight: 800; backdrop-filter: blur(8px); }
.status-dot { width: 5px; height: 5px; border-radius: 50%; background: #66d7b1; box-shadow: 0 0 9px rgba(102,215,177,.8); }.scene-status.paused .status-dot { background: #d7ab6e; box-shadow: 0 0 9px rgba(215,171,110,.7); }
.depth-ruler { position: absolute; z-index: 2; right: 17px; top: 29%; height: 36%; display: flex; flex-direction: column; align-items: center; color: rgba(165,204,203,.55); font-size: 7px; letter-spacing: .12em; pointer-events: none; }.depth-ruler i { width: 1px; flex: 1; margin: 7px 0; background: linear-gradient(180deg, transparent, rgba(119,201,192,.55), transparent); position: relative; }.depth-ruler i::before,.depth-ruler i::after { content:""; position:absolute; left:-3px; width:7px; height:1px; background:rgba(119,201,192,.65); }.depth-ruler i::before { top: 0; }.depth-ruler i::after { bottom:0; }.depth-ruler b { color: #8abcb7; font-size: 9px; letter-spacing: .04em; }
.annotation-layer { position: absolute; inset: 0; z-index: 3; pointer-events: none; }.annotation { position: absolute; display: flex; align-items: center; gap: 5px; color: #d7ebe4; font-size: 7px; letter-spacing: .12em; font-weight: 800; white-space: nowrap; text-shadow: 0 1px 5px #061318; transform: translate(-50%,-50%); }.annotation i { display:block; width:6px; height:6px; border-radius:50%; background:#7fe2c8; box-shadow:0 0 0 3px rgba(127,226,200,.15),0 0 12px #7fe2c8; }.annotation#labelCrust i { background:#c69c6b; box-shadow:0 0 0 3px rgba(198,156,107,.14),0 0 12px #c69c6b; }
.scene-legend { position: absolute; z-index: 2; bottom: 43px; left: 19px; display: flex; gap: 13px; flex-wrap: wrap; color: #9ab2b4; font-size: 7px; letter-spacing: .05em; pointer-events: none; }.scene-legend span { display: inline-flex; align-items: center; gap: 5px; }.legend-dot { display:inline-block; width:6px; height:6px; border-radius:50%; }.legend-dot.tar { background:#4b3930; border:1px solid #9a6f4e; }.legend-dot.gas { background:#8bd8e2; box-shadow:0 0 6px #8bd8e2; }.legend-dot.crust { background:#8b8a7c; }
.scene-bottomline { position: absolute; z-index: 2; bottom: 15px; left: 19px; right: 18px; display:flex; justify-content:space-between; gap:10px; color:#6f8d91; font-size:7px; letter-spacing:.1em; pointer-events:none; }.scale-note b { color:#b5d1c7; font-weight:750; margin-left:4px; }.orbit-note { color:#8ca9ab; }.orbit-note i { color:#4e7076; font-style:normal; padding:0 4px; }.mouse-icon { color:#a6c9c2; font-size:12px; vertical-align:-2px; margin-right:4px; }
.context-overlay,.stage-fallback { position:absolute; inset:0; z-index:8; display:flex; flex-direction:column; align-items:center; justify-content:center; gap:9px; background:rgba(3,13,17,.84); color:#c6dbd5; text-align:center; }.context-overlay { opacity:0; visibility:hidden; transition:opacity .2s; }.context-overlay.visible { opacity:1; visibility:visible; }.context-overlay strong,.stage-fallback strong { font-size:13px; }.context-overlay span,.stage-fallback span { color:#79969a; font-size:10px; max-width:250px; line-height:1.5; }.spinner { width:22px; height:22px; border:2px solid rgba(102,214,192,.18); border-top-color:var(--teal); border-radius:50%; animation:spin 1s linear infinite; }@keyframes spin { to { transform:rotate(360deg); } }
.insight-panel { padding: 17px 13px 13px; }.data-heading { margin-bottom: 13px; }.telemetry-mark { font-size:21px; color:#65cbb5; line-height:1; }
.readout-grid { display:grid; grid-template-columns:1fr 1fr; gap:7px; }.readout-card { padding:10px 9px 9px; min-width:0; border-radius:8px; border:1px solid rgba(146,183,188,.1); background:rgba(255,255,255,.022); }.readout-card.primary-readout { grid-column:1/-1; background:linear-gradient(115deg,rgba(54,132,121,.15),rgba(255,255,255,.018)); border-color:rgba(101,214,192,.22); padding:11px 10px; }
.readout-label { color:#759398; font-size:7px; font-weight:800; letter-spacing:.12em; line-height:1.4; }.readout-label span { color:#5da995; font-size:6px; margin-left:3px; }.readout-value { display:flex; align-items:baseline; gap:4px; margin-top:5px; }.readout-value strong { color:#e2eeea; font-size:21px; line-height:1; font-weight:650; letter-spacing:-.045em; font-variant-numeric:tabular-nums; }.primary-readout .readout-value strong { color:#a4e6d2; font-size:28px; }.readout-value small { color:#8aa9a7; font-size:9px; }.readout-sub { color:#678288; font-size:7px; margin-top:5px; }
.validation-card { margin-top:11px; padding:11px 10px 9px; border-radius:9px; background:rgba(5,16,20,.48); border:1px solid rgba(128,180,169,.15); }.validation-top { display:flex; justify-content:space-between; align-items:center; }.validation-status { color:#79c9ad; font-size:7px; font-weight:800; letter-spacing:.08em; }.validation-status i { display:inline-block; width:5px; height:5px; background:#70d0a8; border-radius:50%; margin-right:4px; }.validation-card h3 { margin:6px 0 9px; font-size:11px; font-weight:650; }.validation-values { display:grid; grid-template-columns:1fr 1fr; gap:8px; }.validation-values div { display:flex; flex-direction:column; gap:3px; }.validation-values span { color:#68858a; font-size:6px; letter-spacing:.13em; }.validation-values b { color:#c9e0d8; font-size:13px; font-variant-numeric:tabular-nums; }.validation-values small { color:#6c8a8e; font-size:7px; }.validation-difference { display:flex; justify-content:space-between; align-items:center; border-top:1px solid var(--line); margin-top:8px; padding-top:7px; color:#718b8f; font-size:7px; }.validation-difference strong { color:#8fd8bf; font-size:9px; }.validation-caption { color:#627e84; font-size:7px; margin-top:7px; line-height:1.45; }
.time-card { margin-top:11px; padding:10px 10px 8px; border:1px solid rgba(128,180,169,.12); border-radius:8px; background:rgba(255,255,255,.018); }.time-head,.time-foot { display:flex; justify-content:space-between; align-items:center; }.time-head b { font-size:12px; color:#d7e7e1; font-variant-numeric:tabular-nums; }.time-track { height:3px; background:#203940; border-radius:4px; margin:9px 0 7px; overflow:hidden; }.time-track i { display:block; width:0%; height:100%; background:linear-gradient(90deg,#4ab9a4,#9de0c9); border-radius:4px; }.time-foot { color:#617d83; font-size:6px; letter-spacing:.1em; }.time-foot span:last-child { color:#7db7ac; }
.transport-bar { flex:0 0 62px; min-height:62px; display:flex; align-items:center; justify-content:space-between; gap:18px; margin:0 12px 12px; padding:0 15px; border-radius:12px; border:1px solid var(--line); background:linear-gradient(180deg,#10232a,#0b1b21); }
.transport-main,.transport-tools { display:flex; align-items:center; gap:8px; }.transport-button,.icon-button,.tool-button { border:1px solid rgba(141,183,185,.15); background:rgba(255,255,255,.025); color:#b2c7c3; cursor:pointer; transition:background .18s,border-color .18s,color .18s,transform .18s; }.transport-button:hover,.icon-button:hover,.tool-button:hover { background:rgba(84,183,163,.12); border-color:rgba(101,214,192,.42); color:#e0f1e9; }.transport-button:active,.icon-button:active,.tool-button:active { transform:translateY(1px); }.transport-button { height:34px; min-width:88px; display:flex; align-items:center; justify-content:center; gap:8px; border-radius:8px; border-color:rgba(101,214,192,.35); background:rgba(66,169,151,.12); color:#a9e6d6; font-size:10px; }.play-symbol { font-size:13px; }.icon-button { width:34px; height:34px; border-radius:8px; font-size:15px; }.speed-control { display:flex; align-items:center; gap:9px; min-width:190px; }.speed-control label { color:#708e91; font-size:7px; font-weight:800; letter-spacing:.12em; white-space:nowrap; }.speed-control input { flex:1; min-width:50px; }.speed-control output { width:24px; color:#a2d8c9; font-size:9px; font-weight:750; text-align:right; }.tool-button { height:32px; padding:0 10px; border-radius:7px; font-size:8px; white-space:nowrap; }.tool-button span { color:#78c9b6; font-size:12px; margin-right:4px; vertical-align:-1px; }.quality-indicator { display:inline-block; width:6px; height:6px; border-radius:50%; background:#70d4ad; box-shadow:0 0 6px rgba(112,212,173,.6); }.export-button { color:#bfe9dc; border-color:rgba(101,214,192,.26); }
.science-section { margin:0 12px 14px; border:1px solid var(--line); border-radius:12px; background:rgba(12,27,33,.95); overflow:hidden; }.science-section details > summary { min-height:54px; display:flex; align-items:center; gap:11px; padding:10px 16px; cursor:pointer; list-style:none; }.science-section details > summary::-webkit-details-marker { display:none; }.science-symbol { display:flex; align-items:center; justify-content:center; width:29px; height:29px; border-radius:8px; background:rgba(75,184,163,.12); border:1px solid rgba(101,214,192,.18); color:#84d9c4; font-size:17px; }.science-section summary b { display:block; font-size:11px; font-weight:700; }.science-section summary small { display:block; margin-top:3px; font-size:8px; color:#728e92; }.summary-chevron { margin-left:auto; color:#78a39d; font-size:17px; transition:transform .2s; }.science-section details[open] .summary-chevron { transform:rotate(180deg); }.science-content { border-top:1px solid var(--line); padding:16px; }.science-intro { display:flex; align-items:flex-start; gap:12px; margin-bottom:15px; }.science-tag { flex:0 0 auto; padding:5px 7px; border:1px solid rgba(101,214,192,.2); border-radius:4px; color:#81cbb8; font-size:7px; letter-spacing:.09em; }.science-intro p { margin:0; max-width:880px; color:#a1b8b5; font-size:9px; line-height:1.6; }.equation-grid { display:grid; grid-template-columns:repeat(4,1fr); gap:8px; }.equation-card { padding:11px; border-radius:8px; border:1px solid rgba(144,185,187,.12); background:rgba(255,255,255,.018); }.equation-number { color:#6b9996; font-size:7px; letter-spacing:.12em; font-weight:800; }.equation-card h3 { margin:6px 0 8px; font-size:10px; }.equation { color:#a7e3d0; font-family:Georgia,serif; font-size:14px; line-height:1.4; margin-bottom:7px; overflow-wrap:anywhere; }.equation-card p { color:#819b9d; font-size:8px; line-height:1.55; margin:5px 0 0; }.equation-card p b { color:#b6d5cc; }.science-notes { display:grid; grid-template-columns:1fr 1fr; gap:20px; margin-top:14px; }.science-notes h3 { font-size:9px; margin:0 0 6px; color:#c2d8d0; }.science-notes ul { padding-left:15px; margin:0; color:#82999a; font-size:8px; line-height:1.7; }.disclaimer { color:#5e7b80; font-size:8px; margin:14px 0 0; padding-top:10px; border-top:1px solid var(--line); }
button:focus-visible, summary:focus-visible { outline:2px solid #78d9c2; outline-offset:3px; }
@media (max-width: 1120px) { .workspace { grid-template-columns:250px minmax(0,1fr) 240px; gap:9px; padding:9px; }.control-panel,.insight-panel { padding-left:12px; padding-right:12px; }.transport-bar { margin-left:9px; margin-right:9px; }.tool-button { padding:0 7px; }.speed-control { min-width:150px; } }
@media (max-width: 900px) { .workspace { grid-template-columns:245px minmax(0,1fr); grid-template-areas:"controls stage" "insights stage"; }.control-panel { grid-area:controls; max-height:520px; }.stage { grid-area:stage; min-height:580px; }.insight-panel { grid-area:insights; }.transport-bar { gap:10px; }.transport-tools { gap:5px; }.tool-button { font-size:7px; }.equation-grid { grid-template-columns:repeat(2,1fr); } }
@media (max-width: 680px) {
  body { background:#071318; }.topbar { height:55px; flex-basis:55px; padding:0 13px; }.brand-mark { width:25px; height:25px; }.brand-name { font-size:9px; }.brand-name span { display:none; }.brand-subtitle { font-size:7px; }.topbar-meta { gap:8px; }.field-chip { font-size:7px; padding:6px 8px; }.seed-label { display:none; }
  .workspace { display:grid; grid-template-columns:1fr; grid-template-areas:"stage" "controls" "insights"; gap:9px; padding:9px; }.stage { min-height:0; height:44vh; max-height:430px; min-height:320px; }.stage-topline { top:15px; left:15px; right:12px; }.scene-title-block h1 { font-size:25px; margin:6px 0 5px; }.scene-title-block p { max-width:220px; font-size:8px; }.scene-status { padding:6px 7px; font-size:6px; }.depth-ruler { right:10px; top:35%; height:30%; }.scene-legend { left:13px; bottom:40px; gap:8px; font-size:6px; }.scene-bottomline { left:13px; right:12px; bottom:12px; font-size:6px; }.orbit-note { display:none; }.annotation { font-size:6px; }.control-panel,.insight-panel { max-height:none; overflow:visible; padding:14px 12px; }.control-list { display:grid; grid-template-columns:1fr 1fr; column-gap:12px; row-gap:13px; }.preset-block { padding-top:10px; }.panel-heading { margin-bottom:12px; }.panel-footnote { margin-top:12px; }.insight-panel { display:block; }.readout-grid { gap:7px; }.transport-bar { flex:0 0 auto; min-height:0; margin:0 9px 9px; padding:10px; display:grid; grid-template-columns:auto 1fr; row-gap:10px; }.transport-main { gap:6px; }.transport-button { min-width:78px; }.speed-control { min-width:0; justify-self:stretch; }.transport-tools { grid-column:1/-1; justify-content:space-between; }.tool-button { flex:1; text-align:center; padding:0 5px; height:31px; }.science-section { margin:0 9px 12px; }.science-section details > summary { padding:9px 12px; }.science-content { padding:12px; }.science-intro { flex-direction:column; gap:7px; }.equation-grid { grid-template-columns:1fr 1fr; gap:6px; }.equation-card { padding:9px; }.equation { font-size:12px; }.science-notes { grid-template-columns:1fr; gap:12px; }.readout-value strong { font-size:19px; }
}
@media (max-width: 380px) { .control-list { grid-template-columns:1fr; }.scene-title-block h1 { font-size:23px; }.scene-status { display:none; }.equation-grid { grid-template-columns:1fr; }.tool-button { font-size:6px; } }
@media (prefers-reduced-motion: reduce) { *,*::before,*::after { scroll-behavior:auto !important; animation-duration:.01ms !important; animation-iteration-count:1 !important; transition-duration:.01ms !important; } }
body.embed-mode .topbar, body.embed-mode .science-section { display:none; }
body.embed-mode .workspace { padding:0; gap:0; grid-template-columns: minmax(0,1fr); grid-template-areas:"stage"; }
body.embed-mode .control-panel, body.embed-mode .insight-panel { display:none; }
body.embed-mode .stage { border-radius:0; border:0; min-height:100vh; }
body.embed-mode .transport-bar { position:absolute; z-index:9; bottom:0; left:0; right:0; background:rgba(7,20,25,.88); backdrop-filter:blur(10px); }
