:root{color-scheme:dark;--bg:#06101b;--panel:#091823;--panel2:#0b1d2b;--line:rgba(137,187,201,.15);--ink:#f0f7f7;--muted:#7e9aa9;--subtle:#4e6c7c;--green:#76f0b9;--cyan:#61dced;--orange:#f0ba74;--sp:8px;font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif}
*{box-sizing:border-box}html,body{margin:0;min-height:100%;background:var(--bg);color:var(--ink)}body{overflow:hidden}button,input{font:inherit}button{cursor:pointer;color:inherit}button:focus-visible,input:focus-visible,summary:focus-visible{outline:2px solid var(--cyan);outline-offset:3px}#app{height:100dvh;display:flex;flex-direction:column;background:radial-gradient(ellipse 80% 55% at 40% -20%,#13403e 0,transparent 74%),var(--bg)}
.topbar{height:44px;flex-shrink:0;display:flex;align-items:center;justify-content:space-between;padding:0 24px;border-bottom:1px solid var(--line);background:#07131f}.brand{display:flex;align-items:center;gap:9px;font-size:12px;font-weight:900;letter-spacing:.15em}.brandmark{font-size:23px;color:var(--green);line-height:0}.accent{color:var(--green)}.brand-area{font-weight:600;color:#7c98a7;font-size:10px}.brand-slash{color:#31535f;padding:0 8px}.top-tags{display:flex;gap:13px;align-items:center}.micro-chip,.status{font-size:9px;letter-spacing:.14em;font-weight:800;color:#728b9c}.micro-chip{border:1px solid #27404a;padding:6px 9px;border-radius:4px}.status{color:var(--green)}.status-dot{display:inline-block;background:var(--green);width:6px;height:6px;box-shadow:0 0 10px #62edb2;border-radius:50%;vertical-align:middle;margin-right:5px}
.headline{flex-shrink:0;height:100px;display:flex;align-items:center;justify-content:space-between;padding:10px 24px 11px;gap:16px}.kicker,.eyebrow,.section-caption,.reference-label{font-size:9px;font-weight:800;color:var(--green);letter-spacing:.16em}.kicker{display:flex;align-items:center;gap:10px}.tiny-line{display:inline-block;height:1px;width:19px;background:#406c71}.headline h1{font-size:40px;letter-spacing:-.05em;font-weight:800;line-height:1.08;margin:4px 0 2px}.headline h1 em{font-weight:450;font-family:Georgia,serif;color:var(--green)}.headline p{font-size:11px;color:#a7bdc5;line-height:1.2;margin:4px 0}.species-tag{border-left:1px solid #2b5258;padding-left:16px;display:flex;gap:9px;align-items:center}.species-dot{width:25px;height:25px;border-radius:50%;border:1px solid #32765f;background:radial-gradient(circle at 30% 30%,#a0f7bb,#1a805f 45%,#11362e);box-shadow:0 0 18px #2eaa7b55}.species-tag strong{font-style:italic;display:block;white-space:nowrap;font-family:Georgia,serif;font-size:16px;font-weight:500}.species-tag small{display:block;white-space:nowrap;font-size:8px;font-weight:800;letter-spacing:.12em;color:var(--muted);margin-top:3px}
.workspace{display:grid;grid-template-columns:minmax(250px,285px) minmax(0,1fr) minmax(260px,295px);gap:1px;padding:0 16px;min-height:0;flex:1}.panel{background:var(--panel);border:1px solid var(--line);min-height:0}.left-panel{padding:16px 16px 12px;display:flex;flex-direction:column;min-height:0}.panel-heading{display:flex;align-items:center;justify-content:space-between;padding-bottom:14px;border-bottom:1px solid var(--line)}.tiny-index{color:#60818e;font-size:9px;letter-spacing:.09em}.small-title{font-family:Georgia,serif;font-size:17px;font-weight:500;margin:14px 0}.controls-scroll{overflow-y:auto;overflow-x:hidden;scrollbar-color:#234354 transparent;scrollbar-width:thin;min-height:0;padding-right:3px}.section-caption{color:#7199a3;font-size:9px;margin-bottom:10px}.preset-group{display:grid;grid-template-columns:1fr 1fr 1fr;gap:5px}.preset{font-size:9px;padding:9px 4px;background:#101f2b;border:1px solid #25404b;border-radius:5px;white-space:normal;min-height:40px;color:#9bb2bd}.preset:hover,.preset.active{background:#12372f;color:#83f3c5;border-color:#37a57c}.preset-description{font-size:10px;color:#6f9c9b;margin:8px 0 6px}.mid-caption{margin-top:19px;border-top:1px solid var(--line);padding-top:16px}.slider-block{margin-bottom:15px}.slider-top{display:flex;align-items:baseline;justify-content:space-between;gap:10px;margin-bottom:6px}.slider-top label{font-size:11px;color:#dae8ec;font-weight:570}.slider-top output{font-size:11px;font-variant-numeric:tabular-nums;color:var(--green);font-weight:800;white-space:nowrap}.slider-block input[type=range]{width:100%;height:4px;accent-color:#62e9b5;margin:4px 0;cursor:pointer}.slider-extents{display:flex;justify-content:space-between;color:#5e7b89;font-size:9px}.layer-row{display:flex;gap:12px;justify-content:space-between;margin:9px 0}.toggle{display:flex;gap:6px;align-items:center;font-size:10px;color:#a9c3c9;cursor:pointer}.toggle input{position:absolute;opacity:0;width:1px;height:1px}.toggle-ui{display:inline-block;width:21px;height:12px;border-radius:9px;border:1px solid #51747d;background:#16303c;position:relative;flex:none}.toggle-ui::before{content:"";position:absolute;width:6px;height:6px;left:2px;top:2px;background:#71949a;border-radius:50%;transition:transform .17s}.toggle input:checked+.toggle-ui{background:#1b5f50;border-color:#3d9f82}.toggle input:checked+.toggle-ui::before{transform:translateX(9px);background:#93fac6}.quality-row{display:flex;align-items:center;justify-content:space-between;border-top:1px solid var(--line);margin-top:14px;padding-top:12px;font-size:9px;color:#8da6b2;letter-spacing:.08em;font-weight:700}.segmented,.speed-choices{display:flex;gap:2px;background:#071522;padding:3px;border:1px solid #243b46;border-radius:5px}.segmented button,.speed-choices button{background:transparent;border:0;color:#8ba5b0;padding:6px 8px;font-size:10px}.segmented button.chosen,.speed-choices button.chosen{background:#194638;color:var(--green);border-radius:3px}
.scene-panel{background:radial-gradient(ellipse 63% 68% at 52% 50%,#0d3540 0%,#091d29 48%,#06121d 100%);min-height:0;position:relative;overflow:hidden;border:1px solid #25414c;isolation:isolate}#viewport{display:block;position:absolute;inset:0;width:100%;height:100%;touch-action:none;cursor:grab}#viewport:active{cursor:grabbing}.scene-vignette{position:absolute;inset:0;pointer-events:none;background:linear-gradient(180deg,rgba(3,15,26,.58),transparent 28%,transparent 70%,rgba(3,14,25,.7) 100%)}.scene-top-left{position:absolute;left:19px;top:17px;pointer-events:none;display:flex;flex-direction:column;gap:5px}.scene-live{font-size:9px;letter-spacing:.15em;color:var(--green);font-weight:800}.scene-top-left strong{font-size:15px;font-weight:600;letter-spacing:.075em;margin-top:4px}.scene-top-left small{color:#a0bdc4;font-size:10px}.camera-controls{position:absolute;right:14px;top:15px;display:flex;gap:5px}.camera-controls button{border:1px solid #3b6169;background:#0c2534c9;border-radius:5px;color:#97d9d0;padding:7px 9px;display:flex;align-items:center;gap:5px;font-size:13px}.camera-controls button span{font-size:9px;letter-spacing:.07em;font-weight:750}.camera-controls button:hover{background:#1d4d49}.scene-label{position:absolute;top:26%;right:13px;font-size:9px;font-weight:700;letter-spacing:.08em;color:#efbe7a;text-align:right;pointer-events:none}.label-dash{width:19px;height:1px;background:var(--orange);display:inline-block;vertical-align:middle;margin-right:4px}.scene-label .muted{color:#76909e;display:block;font-weight:450;font-size:9px;margin-top:4px}.scene-bottom-left{position:absolute;bottom:18px;left:18px;pointer-events:none}.scale-bar{font-size:10px;color:#b5d2d6;display:flex;align-items:center;gap:7px;margin-bottom:10px}.scale-bar span{width:44px;height:9px;border-left:2px solid #77e3c7;border-right:2px solid #77e3c7;border-bottom:2px solid #77e3c7}.scene-legend{display:flex;align-items:center;gap:7px;font-size:8px;color:#91acb8;letter-spacing:.07em;font-weight:650}.scene-legend i{width:6px;height:6px;border-radius:50%;display:inline-block}.dot-cells{background:#75ebbb}.dot-bend{background:#e9ac68}.dot-flags{background:#7ad3e8}.scene-bottom-right{position:absolute;right:15px;bottom:18px;display:flex;flex-direction:column;align-items:flex-end;gap:5px;color:#648897;font-size:8px;letter-spacing:.12em;pointer-events:none}#rendererLabel{color:#8cc0bd}
.right-panel{padding:16px 15px 8px;overflow-y:auto;scrollbar-width:thin;scrollbar-color:#254654 transparent}.metrics-grid{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-top:13px}.metric{min-height:91px;background:linear-gradient(145deg,#102734,#0c1d29);border:1px solid #294553;border-radius:5px;padding:10px 9px}.metric small{display:block;font-size:8px;letter-spacing:.08em;color:#89a8b5;font-weight:700}.metric strong{display:block;font-size:23px;font-weight:680;letter-spacing:-.04em;font-variant-numeric:tabular-nums;margin:6px 0 2px}.metric strong span{font-size:11px;color:#86adbc;letter-spacing:0;margin-left:3px;font-weight:500}.metric-bar{height:3px;background:#1b3b44;border-radius:4px;overflow:hidden;margin:8px 0 5px}.metric-bar div{background:linear-gradient(to right,#1da88b,#8cfece);width:0%;height:100%;transition:width .14s}.metric-context{color:#527987!important;font-size:8px!important}.metric-tick{border-top:1px solid #274653;padding-top:8px;margin-top:8px;color:#5d8b90;font-size:8px;letter-spacing:.065em}.chart-header{display:flex;align-items:flex-end;justify-content:space-between;margin-top:18px}.chart-header .section-caption{margin-bottom:4px}.chart-header strong{font-family:Georgia,serif;font-size:15px;font-weight:500}.chart-header>span{font-size:9px;color:#668b97}#signalChart{display:block;width:100%;height:92px;margin:8px 0 6px;background:#0a1d2a;border-bottom:1px solid #27404b}.dual-readouts{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin:13px 0}.dual-readouts>div{border-top:1px solid var(--line);padding-top:10px}.dual-readouts small{display:block;color:#81a0af;font-size:8px;letter-spacing:.09em}.dual-readouts b{font-size:13px;color:#caf8e9;display:block;margin-top:7px}.science{border-top:1px solid var(--line);margin-top:10px}.science summary{display:flex;align-items:center;gap:10px;list-style:none;padding:15px 2px;color:var(--green);font-size:10px;font-weight:800;letter-spacing:.1em;cursor:pointer}.science summary::-webkit-details-marker{display:none}.science-icon{font-size:19px}.science-arrow{margin-left:auto;color:#b2d1d0;font-size:17px;transition:transform .15s}.science[open] .science-arrow{transform:rotate(180deg)}.science-body{font-size:10.5px;color:#acc3cb;line-height:1.6;padding:0 1px 15px}.science-body p{margin:9px 0}.science-body b{color:#e0e9e9;font-weight:670}.equation{background:#071724;border:1px solid #254453;border-radius:4px;padding:10px 7px;color:#b7ffe4;font-family:ui-monospace,monospace;font-size:10px;word-break:break-word}.reference-label{margin-top:15px;color:#66bfa9}.validation{display:grid;grid-template-columns:1fr 1fr 1fr;gap:4px}.validation>div{background:#0c2630;border:1px solid #275249;border-radius:4px;padding:6px 5px;min-width:0}.validation span{font-size:7px;color:#81b6a7;font-weight:800;display:block;letter-spacing:.05em}.validation strong{font-size:9px;display:block;margin-top:5px;color:#ddfff0;overflow-wrap:anywhere;font-variant-numeric:tabular-nums}.validation-note{color:#7e99a5!important}.disclaimer{border-top:1px solid #23424a;margin-top:15px!important;padding-top:10px;font-size:9px;color:#839ba6!important}
.transport{height:73px;flex-shrink:0;margin:1px 16px 10px;display:flex;align-items:center;gap:18px;padding:9px 18px;background:linear-gradient(110deg,#102432,#091823);border:1px solid var(--line)}.play-group{display:flex;align-items:center;gap:7px;flex:none}.play-group button{border:1px solid #345662;background:#102b38;border-radius:4px;height:34px;font-weight:700;font-size:10px;white-space:nowrap;padding:0 9px}.play-group .play-button{border-radius:50%;height:39px;width:39px;background:#6ce7b2;color:#073026;font-size:18px;border:0;box-shadow:0 0 15px #3ac18f33}.time-readout{display:flex;flex-direction:column;align-items:center;gap:3px;flex:none}.time-readout span{font-family:ui-monospace,monospace;color:#dffdf0;font-size:18px;font-weight:700}.time-readout small{font-size:7px;color:#7396a4;white-space:nowrap;letter-spacing:.08em}.timeline{min-width:0;flex:1}.timeline input{width:100%;margin:3px 0 0;accent-color:#77efbd;height:6px;cursor:pointer}.time-markers{display:flex;justify-content:space-between;margin-top:5px;color:#698591;font-size:8px;letter-spacing:.04em}.speed-control{display:flex;flex-direction:column;gap:5px;align-items:flex-start;flex:none}.speed-control>span{color:#7897a2;font-size:8px;letter-spacing:.09em}.speed-choices button{padding:5px 7px;font-size:10px}
@media(max-width:1100px){.workspace{grid-template-columns:235px minmax(0,1fr) 250px;padding:0 8px}.left-panel,.right-panel{padding-left:10px;padding-right:10px}.camera-controls button span{display:none}.transport{margin:1px 8px 7px;gap:10px;padding:8px 9px}.scene-legend{font-size:7px}}
@media(max-width:820px){body{overflow:auto}#app{height:auto;min-height:100dvh}.topbar{padding:0 14px;height:43px}.brand{font-size:11px}.brand-area{font-size:9px}.top-tags .micro-chip{display:none}.headline{height:auto;min-height:93px;padding:15px 15px 10px}.headline h1{font-size:35px}.headline p{font-size:11px;line-height:1.35}.species-tag{display:none}.workspace{display:flex;flex-direction:column;padding:0 8px;gap:8px}.scene-panel{height:46vh;min-height:330px;order:0;flex:none}.left-panel{order:2;min-height:0;padding:13px}.right-panel{order:1;min-height:0;padding:13px;overflow:visible}.right-panel .science{margin-top:16px}.controls-scroll{overflow:visible}.metrics-grid{grid-template-columns:repeat(4,minmax(0,1fr))}.metric{min-height:93px}.metric strong{font-size:21px}.transport{order:0;position:sticky;bottom:0;z-index:6;margin:8px 8px 0;min-height:66px;height:auto;flex-wrap:wrap;padding:10px;gap:8px;background:#0a1c28ef;backdrop-filter:blur(12px)}.transport .timeline{order:1;flex-basis:100%}.time-markers{display:none}.time-readout{margin-right:auto}.scene-top-left{top:12px;left:11px}.scene-top-left strong{font-size:12px}.scene-top-left small{font-size:9px}.camera-controls{top:10px;right:9px}.scene-label{top:28%;right:9px;font-size:8px}.scene-bottom-right{display:none}.scene-bottom-left{left:11px;bottom:13px}.scene-legend{font-size:7px}.sliders{display:grid;grid-template-columns:1fr 1fr;gap:12px 15px}.slider-block{margin:0}.layer-row{justify-content:flex-start;gap:25px}}
@media(max-width:500px){.top-tags .status{font-size:8px}.headline{padding-top:13px}.headline h1{font-size:34px}.headline p{max-width:340px}.scene-panel{height:42vh;min-height:310px}.scene-live{font-size:8px}.camera-controls button{padding:6px 7px}.scene-label{top:32%;max-width:132px;line-height:1.3}.metrics-grid{grid-template-columns:1fr 1fr}.metric{min-height:90px}.metric strong{font-size:23px}.time-readout small{display:none}.play-group button{height:31px;font-size:9px;padding:0 6px}.play-group .play-button{height:37px;width:37px}.transport{gap:9px}.speed-choices button{font-size:9px;padding:6px}.speed-control{flex-direction:row;align-items:center}.scene-legend{gap:4px;font-size:6px}.scene-top-left small{max-width:175px;line-height:1.2}.controls-scroll{max-height:none}.sliders{gap:12px}.slider-top label{font-size:10px}.layer-row{gap:22px}}
body.embed #app{height:100dvh}body.embed .topbar,body.embed .headline,body.embed .left-panel,body.embed .right-panel{display:none}body.embed .workspace{flex:1;padding:0;display:block;min-height:0}body.embed .scene-panel{height:100%;min-height:0}body.embed .transport{height:56px;margin:0;border-left:0;border-right:0;border-bottom:0;position:absolute;bottom:0;left:0;right:0;z-index:2;background:#061623dc}body.embed .scene-bottom-left{bottom:78px}body.embed .scene-bottom-right{bottom:76px}body.embed .scene-top-left{top:20px}body.embed .scene-panel{border:0}@media(max-width:500px){body.embed .transport .timeline{flex-basis:100%}body.embed .transport{height:auto}body.embed .scene-bottom-left{bottom:105px}}

@media(max-width:500px){
 .transport{display:grid;grid-template-columns:auto auto 1fr;column-gap:7px;row-gap:5px;padding:6px 8px;min-height:0;height:auto;}
 .transport .play-group{grid-column:1;grid-row:1;gap:4px;}
 .transport .time-readout{grid-column:2;grid-row:1;margin:0;}
 .transport .speed-control{grid-column:3;grid-row:1;justify-self:end;}
 .transport .speed-control>span{display:none;}
 .transport .timeline{grid-column:1/-1;grid-row:2;width:100%;min-width:0;}
 .transport .play-group button{padding:0 5px;}
 .transport .play-group .play-button{width:33px;height:33px;}
 .transport .speed-choices button{padding:5px 5px;}
}
