
:root{--bg:#07121d;--bg2:#0b1927;--panel:#0a1723;--line:#1d3444;--text:#eaf4f5;--muted:#7793a3;--cyan:#5dedf0;--coral:#ed887a;--gold:#d3af71}*{box-sizing:border-box}html,body{margin:0;min-height:100%;color:var(--text);background:var(--bg);font-family:Inter,'Segoe UI',Arial,sans-serif;-webkit-font-smoothing:antialiased}button,select,input{font:inherit}button{cursor:pointer}button:focus-visible,input:focus-visible,select:focus-visible{outline:2px solid var(--cyan);outline-offset:2px}#app{min-height:100vh;background:radial-gradient(ellipse at 57% 7%,#122a37 0%,transparent 33%),#07121d}.topbar{height:56px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid #28414d;padding:0 22px;gap:14px;background:#081722e8}.brand{display:flex;gap:8px;align-items:center;font-size:14px;font-weight:900;letter-spacing:.085em}.brand span:not(.brand-icon){color:var(--cyan)}.brand-icon{font-size:26px;color:var(--cyan)}.brand small{display:block;font-weight:600;font-size:8px;color:#678292;letter-spacing:.25em;margin-top:1px}.topcenter{display:flex;gap:11px;align-items:center;font-size:9px;letter-spacing:.24em;color:#849ba6}.topcenter b{color:#e6bd80;font-size:9px;letter-spacing:.1em}.ring-icon{font-size:23px;color:#3d94a0}.header-right{display:flex;align-items:center;font-size:10px;color:#97b5bb;letter-spacing:.09em;gap:9px}.livepulse,.live-tag i{width:7px;height:7px;border-radius:50%;background:#4ce4c3;box-shadow:0 0 14px #4ce4c3}.header-tag{padding:7px;border:1px solid #2b5562;color:#81d4d3;margin-left:9px;border-radius:3px}.appgrid{display:grid;grid-template-columns:minmax(268px,296px) minmax(0,1fr) minmax(275px,292px);min-height:calc(100vh - 82px);max-width:1700px;margin:0 auto}.panel{background:#091724de}.controls{border-right:1px solid var(--line);padding:24px 20px 12px;min-width:0}.readouts{border-left:1px solid var(--line);padding:24px 19px 14px;min-width:0}.panel-head{display:flex;justify-content:space-between;align-items:center;gap:5px}.kicker{font-size:9px;letter-spacing:.13em;color:#7ca7b1;font-weight:800}.micro{color:#68808c;font-size:9px}.controls h2{font-size:25px;line-height:1.23;font-weight:700;letter-spacing:-.04em;margin:23px 0 22px}.controls h2 i{font-style:normal;color:#5fe2e7}.presets{display:grid;grid-template-columns:repeat(3,1fr);gap:5px;margin-bottom:19px}.preset{border:1px solid #2c4250;background:#102331;color:#9fb0b9;border-radius:3px;min-height:36px;font-size:10px;line-height:1.15;padding:5px}.preset.active{border-color:#5addd4;background:#16373f;color:#b5ffff}.sliders{display:grid;gap:13px}.slider-header{display:flex;justify-content:space-between;gap:5px;align-items:center;font-size:11px;letter-spacing:.005em}.slider-header label{color:#c4d6d8;font-weight:600}.slider-value{color:#76e6e7;font-size:11px;font-weight:800;white-space:nowrap}.slider-value small{color:#86a7ab;font-weight:500}.slider-wrap{display:flex;align-items:center;gap:7px;margin-top:8px}.slider-wrap input{width:100%;accent-color:#56d8dc;height:5px;margin:0;cursor:pointer}.limit{font-size:8px;color:#718997}.slider-sub{font-size:8px;letter-spacing:.05em;color:#63818e;margin-top:5px}.mini-guide{display:flex;gap:9px;font-size:10px;color:#83a1ac;line-height:1.5;margin-top:23px;padding:12px 10px;background:#132838;border:1px solid #264454;border-radius:3px}.mini-circle{display:grid;place-items:center;flex:0 0 20px;height:20px;color:#58e9e4;border:1px solid #3d8c95;border-radius:100%;font-size:11px}.center{padding:0 19px 18px;min-width:0}.hero{padding:27px 2px 17px;min-height:142px}.eyebrow{font-size:9px;letter-spacing:.23em;color:#67c7c7;font-weight:750;display:flex;align-items:center;gap:10px}.eyebrow .line{height:1px;width:21px;background:#4eb8b4}.hero-num{margin-left:auto;color:#566f81}.hero h1{font-size:clamp(27px,2.9vw,40px);line-height:1.02;margin:12px 0 10px;letter-spacing:-.045em;font-weight:800}.hero h1 span{color:#67e7dc}.hero p{font-size:11px;color:#9cb1b9;letter-spacing:.015em;margin:0}.stage{position:relative;border:1px solid #2a4955;background:#0e2833;min-height:355px;height:clamp(355px,calc(100vh - 327px),640px);overflow:hidden;border-radius:4px;isolation:isolate}.stage canvas{height:100%;width:100%;display:block;touch-action:none}.stage-tint{z-index:1;pointer-events:none;position:absolute;inset:0;background:linear-gradient(90deg,#071b22cc 0%,transparent 16%,transparent 86%,#06172077 100%),linear-gradient(180deg,#0e2c3640 0%,transparent 45%,#071a229c 100%)}.stage-top-left,.stage-top-right,.stage-bottom,.scene-label,.depth-label{position:absolute;z-index:3}.stage-top-left{top:13px;left:14px;display:flex;gap:6px;align-items:center}.tag{font-size:8px;font-weight:800;letter-spacing:.12em;padding:7px;border:1px solid #3b6f79;border-radius:2px}.teal{background:#1b4a4d;color:#99ffed}.translucent{background:#0d2434aa;color:#acc7d0}.stage-top-right{top:12px;right:12px;display:flex;gap:6px}.icon-button{border:1px solid #50808b;background:#10303c9c;color:#caf1f2;font-size:21px;width:32px;height:30px;border-radius:3px}.scene-label{font-size:9px;letter-spacing:.10em;color:#b8e5e0;text-shadow:0 1px 8px #081d28;pointer-events:none;white-space:nowrap}.label-surface{top:23%;left:23%}.label-oxic{left:7%;top:46%}.label-worm{left:53%;top:75%}.scene-label .marker{display:inline-block;border:1px solid #d0f5e2;background:#b3dcc2;width:6px;height:6px;border-radius:50%;margin-right:6px;box-shadow:0 0 11px #b7faed}.scene-label .marker.cyan{border-color:#4ffce9;background:#4ffce9;box-shadow:0 0 11px cyan}.scene-label .marker.coral{border-color:#eb9185;background:#eb9185;box-shadow:0 0 11px #eb9185}.linevert{position:absolute;display:block;height:39px;width:1px;left:28px;top:14px;background:linear-gradient(#d7eeda,transparent)}.depth-label{right:15px;top:31%;height:47%;display:flex;flex-direction:column;justify-content:space-between;align-items:center;color:#9db3ba;font-size:8px;letter-spacing:.01em;pointer-events:none}.depth-label span{height:100%;width:1px;background:repeating-linear-gradient(180deg,#7a9d9b 0 5px,transparent 5px 10px);margin:9px}.stage-bottom{bottom:0;left:0;width:100%;padding:12px 14px;display:flex;align-items:center;gap:10px;background:#071923bc;color:#c4d9db;font-size:9px}.stage-bottom .dot{display:inline-block;background:#38e2ef;border-radius:50%;width:7px;height:7px;margin-right:5px}.legend-grad{width:88px;height:7px;border-radius:8px;background:linear-gradient(90deg,#143047,#1b6e97,#20b5c6,#a8f0d5)}.stage-bottom em{margin-left:auto;color:#a2afb2;font-size:8px;letter-spacing:.02em;font-style:normal}.stage-actions{min-height:46px;display:flex;align-items:center;justify-content:space-between;gap:8px;border-bottom:1px solid #1c3541}.view-tabs{display:flex;gap:4px}.view{border:0;background:none;color:#738f9e;font-size:10px;padding:10px 7px;border-bottom:2px solid transparent}.view.active{color:#67e8e5;border-bottom-color:#4bd7d0}.stage-switches{display:flex;align-items:center;gap:11px}.toggle{font-size:9px;display:flex;gap:4px;align-items:center;color:#8aadb3;white-space:nowrap;cursor:pointer}.toggle input{accent-color:#52d8d9}.quality{color:#b2dfdf;background:#102b37;border:1px solid #2a5a64;padding:6px 7px;font-size:8px;border-radius:3px;white-space:nowrap}.timeline{display:flex;align-items:center;gap:8px;padding:13px 1px}.primary-action{background:#59e3da;color:#062633;border:0;border-radius:3px;width:35px;height:35px;font-weight:900;font-size:20px}.small-action{width:31px;height:31px;border:1px solid #315967;background:#12303d;color:#97dae0;border-radius:3px}.timeline-label,.speed-label{font-size:8px;color:#718d9c;letter-spacing:.09em}.timeline strong{font-size:13px;color:#e2f6f4;white-space:nowrap;font-variant-numeric:tabular-nums}.timeline-progress{flex:1;height:4px;border-radius:4px;background:#1d3a46;overflow:hidden;min-width:10px}.timeline-progress div{height:100%;background:#4bd8db;width:0%}#speed{background:#102735;color:#c6e8e6;border:1px solid #345360;border-radius:3px;font-size:10px;padding:5px}.live-tag{display:flex;align-items:center;gap:5px;color:#65d6bb;letter-spacing:.1em;font-size:9px}.live-tag i{width:6px;height:6px}.status-line{display:flex;justify-content:space-between;color:#a1bbc0;font-size:9px;letter-spacing:.09em;margin:26px 0 14px}.status-line span{color:#71e1c6;border:1px solid #245e62;padding:3px 6px;font-weight:800;border-radius:2px}.status-line span.rest{color:#ffd49b;border-color:#86623c}.hero-metric{border-bottom:1px solid #274252;padding:0 0 13px}.hero-metric label,.metric label{font-size:9px;letter-spacing:.1em;font-weight:750;color:#87a8b1}.hero-metric label span{display:block;color:#68818d;font-weight:400;margin-top:5px;font-size:8px}.hero-metric>div:nth-child(2){display:flex;align-items:baseline;gap:9px;margin:12px 0 5px}.hero-metric strong{font-size:44px;color:#78eae2;letter-spacing:-.04em;line-height:1}.metric-unit{font-size:12px;color:#b3c7c9}.sparkline{height:53px}.sparkline svg{width:100%;height:100%;overflow:visible}.sparkline #sparkFill{fill:#50e1dc12}.sparkline #sparkStroke{stroke:#65ded6;stroke-width:2;fill:none;vector-effect:non-scaling-stroke}.metric-pair{display:grid;grid-template-columns:1fr 1fr;gap:9px;margin-top:11px}.metric{min-height:91px;border:1px solid #2a4553;background:#0c2130;padding:11px 9px;border-radius:3px}.metric label{font-size:8px;white-space:nowrap}.metric>div{margin:9px 0 5px;display:flex;align-items:baseline;gap:4px}.metric b{font-size:24px;line-height:1;letter-spacing:-.04em;color:#eff8f4;font-variant-numeric:tabular-nums}.metric small{font-size:9px;color:#789cab}.metric p{font-size:7px;color:#617b88;letter-spacing:.04em;margin:8px 0 0}.validation{border:1px solid #345961;background:#102c37;padding:12px 11px;margin-top:14px;border-radius:4px}.val-header{color:#86d5d8;letter-spacing:.1em;font-size:9px;display:flex;justify-content:space-between;font-weight:800}.val-header span{color:#5bdfb6;font-size:8px}.validation h3{margin:13px 0;font-size:11px;font-weight:700;color:#d8e9e7}.val-row{display:flex;justify-content:space-between;gap:8px;color:#8aa9b1;font-size:10px;margin:8px 0}.val-row b{color:#d8eeea;font-variant-numeric:tabular-nums}.val-row.final{border-top:1px solid #345866;margin-top:13px;padding-top:11px}.val-row.final strong{font-size:12px;color:#5df0c7}.validation p{color:#809eaa;line-height:1.5;font-size:9px;margin:12px 0 0}.science-trigger{background:#112938;border:1px solid #355867;color:#d3eaeb;border-radius:3px;font-size:10px;letter-spacing:.13em;width:100%;display:flex;justify-content:space-between;padding:13px;margin-top:14px;font-weight:800}.science-trigger span{font-size:18px;line-height:10px;color:#7fe7dd}.science{background:#0d2332;border:1px solid #2d4b59;border-top:0;max-height:310px;overflow-y:auto}.science-content{padding:9px 13px;font-size:11px;line-height:1.6;color:#a8c4c9}.science p{margin:8px 0}.science h4{font-size:10px;letter-spacing:.08em;color:#7fe6de;margin:19px 0 3px}.science code{font-size:10px;overflow-wrap:anywhere;color:#bde7e8}.science a{color:#82dbeb}.disclaimer{font-size:9px!important;color:#89a3ac!important;margin-top:20px!important}.right-note{font-size:8px;color:#55798a;margin:11px 1px;line-height:1.5}footer{height:26px;border-top:1px solid #203945;display:flex;align-items:center;justify-content:space-between;padding:0 16px;font-size:8px;letter-spacing:.06em;color:#5a7c8c;gap:8px}footer i{font-style:normal;color:#488d91;margin:0 6px}
@media (min-width:1500px){.appgrid{grid-template-columns:314px minmax(0,1fr) 312px}.controls,.readouts{padding-left:25px;padding-right:25px}}
@media (max-width:1120px){.appgrid{grid-template-columns:245px minmax(0,1fr) 260px}.center{padding:0 11px}.controls,.readouts{padding:18px 11px}.stage-switches{gap:6px}.stage{min-height:310px}.controls h2{font-size:22px}.metric{padding:9px 6px}.metric b{font-size:21px}.metric label{font-size:7px}.label-surface{left:23%}}
@media (max-width:900px){.appgrid{grid-template-columns:minmax(0,1fr) minmax(0,280px)}.center{grid-column:1;grid-row:1;padding:0 16px}.readouts{grid-column:2;grid-row:1}.controls{grid-column:1/-1;grid-row:2;border-right:0;border-top:1px solid var(--line);padding:20px}.controls h2 br{display:none}.controls h2{margin:12px 0}.sliders{grid-template-columns:repeat(2,1fr);gap:16px 22px}.mini-guide{max-width:600px}.stage{height:420px}.hero{min-height:140px}.stage-actions{flex-wrap:wrap;gap:2px}}
@media (max-width:680px){.topbar{height:50px;padding:0 12px}.brand{font-size:11px}.brand-icon{font-size:21px}.topcenter{display:none}.header-right{font-size:8px}.header-tag{margin-left:0;padding:5px}.appgrid{display:flex;flex-direction:column}.center{order:1;padding:0 10px 10px}.readouts{order:2;border-left:0;border-top:1px solid var(--line);display:grid;grid-template-columns:1fr 1fr;gap:0 10px;padding:18px 14px}.readouts .panel-head,.readouts .status-line,.readouts .hero-metric,.readouts .validation,.readouts .science-trigger,.readouts .science,.readouts .right-note{grid-column:1/-1}.readouts .status-line{margin:14px 0}.readouts .hero-metric{padding-bottom:8px}.readouts .metric-pair{grid-column:1/-1}.controls{order:3}.hero{padding:22px 2px 14px;min-height:126px}.hero h1{font-size:33px;margin:12px 0}.hero p{font-size:10px;line-height:1.45}.stage{height:350px;min-height:350px}.stage-bottom{gap:6px;padding:9px;font-size:8px}.stage-bottom em{font-size:7px;max-width:125px;text-align:right}.scene-label{font-size:7px}.label-surface{top:21%;left:24%}.label-oxic{left:8%;top:48%}.label-worm{left:44%;top:72%}.stage-actions{padding:5px 0;display:block}.view{font-size:9px;padding:8px 6px}.stage-switches{margin:4px 0 3px;justify-content:space-between}.timeline{gap:6px;padding:10px 1px}.timeline-label{font-size:7px}.timeline strong{font-size:11px}.speed-label{display:none}footer{font-size:7px;padding:7px 10px;height:auto;flex-wrap:wrap;gap:6px}.right-note{margin-top:13px}}
@media (max-width:400px){.sliders{grid-template-columns:1fr}.hero h1{font-size:31px}.stage{height:320px;min-height:320px}.stage-bottom em{max-width:82px}.stage-bottom .legend-grad{width:55px}.readouts{padding:15px 12px}.stage-switches{gap:4px}.toggle{font-size:8px}.quality{font-size:7px}}
@media (prefers-reduced-motion:reduce){*{animation-duration:.01ms!important}}
/* Embedded exhibits preserve the interactive viewport and the transport controls. */
body.embed .topbar,body.embed footer,body.embed .controls,body.embed .readouts{display:none}
body.embed .appgrid{display:block;min-height:100vh}
body.embed .center{padding:0 12px}
body.embed .hero{padding-top:13px;min-height:105px}
body.embed .stage{height:calc(100vh - 230px);min-height:265px}
@media(max-width:480px){body.embed .hero h1{font-size:27px}body.embed .stage{height:calc(100vh - 246px)}}
