:root{color-scheme:dark;--bg:#070d18;--surface:#0b1524;--surface2:#101e30;--edge:#26364c;--sub:#8c9cb1;--ice:#63ddf6;--orange:#f5ac75;--white:#edf5fb;--violet:#b7a8f5;font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif;font-size:12px}*{box-sizing:border-box}html,body{margin:0;min-height:100%;background:var(--bg);color:var(--white)}body{background:radial-gradient(ellipse 70% 34% at 50% -10%,#18294088,transparent),#07101d}button,select,input{font:inherit}button{color:inherit;cursor:pointer}button:focus-visible,select:focus-visible,input:focus-visible{outline:2px solid var(--ice);outline-offset:2px}#app{max-width:1800px;margin:auto;min-height:100dvh;display:flex;flex-direction:column}.topbar{height:57px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid #1a2a3d;padding:0 28px}.wordmark{display:flex;align-items:center;gap:10px;font-size:12px;font-weight:850;letter-spacing:.17em}.logomark{display:grid;place-items:center;border:1px solid #b0edff55;color:#b0edff;width:26px;height:26px;border-radius:7px;font-size:20px}.brandlight{font-weight:400;color:#b1c3d7}.branddivider{height:16px;width:1px;background:#33485b;margin:0 10px}.sectionlabel,.eyebrow{font-size:9px;letter-spacing:.19em;color:#7993ad;font-weight:700}.topright{display:flex;align-items:center;gap:10px}.dotlive,.statusdot{background:#68e2ae;width:6px;height:6px;border-radius:50%;display:inline-block;box-shadow:0 0 12px #4bffaa}.textbutton{border:0;background:none;margin-left:28px;color:#b5cce5;font-size:9px;letter-spacing:.1em;font-weight:750}.textbutton:hover{color:white}.hero{padding:20px 29px 18px;display:flex;align-items:center;justify-content:space-between;gap:20px}.kicker{font-size:9px;font-weight:800;letter-spacing:.19em;color:var(--ice)}.slash{margin:0 7px;color:#526681}.hero h1{font-size:clamp(24px,3.1vw,43px);letter-spacing:-.047em;line-height:1.1;margin:8px 0 3px;font-weight:720}.hero h1 span{color:#92e8f8}.hero p{color:#9badbd;font-size:11px;letter-spacing:.01em;margin:7px 0 0}.heromark{display:flex;align-items:center;gap:14px;color:#6b829f;font-size:8px;letter-spacing:.13em;line-height:1.7}.heromark strong{font-size:13px;color:#b3d4e9;letter-spacing:.11em}.circuitIcon{color:#76dfed;font-size:50px;font-weight:200}.metrics{display:grid;grid-template-columns:repeat(4,1fr);margin:0 28px 16px;gap:8px}.metric{border:1px solid var(--edge);background:linear-gradient(115deg,#0d1c2d,#0b1625);border-radius:8px;padding:13px 17px 11px;min-width:0}.metriclabel{color:#8ba1b8;letter-spacing:.11em;font-weight:700;font-size:9px;display:flex;gap:7px;align-items:center;white-space:nowrap}.tinyref{font-weight:500;color:#667e97;letter-spacing:.02em;font-size:7px}.metricnum{display:flex;align-items:baseline;gap:6px;margin-top:5px;color:#f1f8ff;line-height:1.15}.metricnum span{font-size:clamp(22px,2.4vw,33px);font-weight:650;letter-spacing:-.045em;font-variant-numeric:tabular-nums}.metricnum small{font-size:10px;color:#a9bfd3;white-space:nowrap}.metricfoot{font-size:7.7px;letter-spacing:.08em;color:#667d94;margin-top:8px;font-weight:600}.dashboard{display:grid;grid-template-columns:250px minmax(0,1fr) 260px;gap:10px;margin:0 28px;flex:1;min-height:430px}.panel{border:1px solid var(--edge);border-radius:9px;min-width:0;background:linear-gradient(180deg,#101b2a,#0a1423);overflow:hidden}.controls,.sciencecol{display:flex;flex-direction:column;min-height:0}.panelhead{height:48px;min-height:48px;padding:0 15px;border-bottom:1px solid #26364a;display:flex;align-items:center;justify-content:space-between}.paneltitle{font-size:9px;letter-spacing:.12em;font-weight:800;white-space:nowrap}.panelglyph{font-size:15px;color:#70cbe7;margin-right:7px}.tag{font-size:8px;font-weight:700;letter-spacing:.09em;color:#80d9b8;border:1px solid #34685d;border-radius:3px;padding:4px 5px}.controlscroll{overflow:auto;padding:15px 14px;min-height:0;scrollbar-color:#2f4960 transparent;scrollbar-width:thin}.smallhead{color:#7b91aa;font-size:9px;font-weight:800;letter-spacing:.15em;margin-bottom:11px}.presets{display:grid;grid-template-columns:repeat(3,1fr);gap:5px;margin:0 0 21px}.preset{background:#111f31;border:1px solid #263b50;border-radius:5px;text-align:left;font-size:10px;line-height:1.32;font-weight:750;padding:8px 6px;transition:.2s;white-space:nowrap}.preset span{color:#8297ab;font-weight:500}.preset:hover,.preset.active{border-color:#6ab5d3;background:#14314a;color:#b6f0fc}.ctrl{margin-bottom:16px}.ctrl-title{display:flex;justify-content:space-between;align-items:baseline;gap:8px;font-size:10px;font-weight:610;color:#d4e2f1}.ctrl-value{font-weight:800;color:#7cdeef;font-variant-numeric:tabular-nums;white-space:nowrap}.ctrl-note{margin-top:2px;color:#637f94;font-size:8px}.ctrl input[type=range]{width:100%;margin:10px 0 0;cursor:pointer;height:3px;appearance:none;border-radius:3px;background:linear-gradient(90deg,#4fc9dc var(--range),#293c4e var(--range))}.ctrl input[type=range]::-webkit-slider-thumb{appearance:none;background:#ccf3ff;border-radius:50%;height:11px;width:11px;box-shadow:0 0 0 3px #3d7b9555}.ctrl input[type=range]::-moz-range-thumb{background:#ccf3ff;border:0;width:11px;height:11px;border-radius:50%}.minorcontrol{padding-top:11px;border-top:1px solid var(--edge);display:flex;justify-content:space-between;align-items:center;gap:5px;color:#b5c8d8;font-size:10px}.smallbtn{background:#273041;border:1px solid #555c71;padding:7px 6px;border-radius:4px;font-size:8px;color:#ffbf9a;font-weight:800;white-space:nowrap}.smallbtn.cut{background:#4b211f;color:#ffe7c8;border-color:#bb7556}.panelbottom{margin-top:auto;padding:10px 13px;border-top:1px solid var(--edge)}.buttonsecondary{width:100%;background:#132336;border:1px solid #334961;border-radius:5px;font-size:9px;font-weight:800;letter-spacing:.08em;padding:11px}.buttonsecondary:hover{border-color:#89c3df}.viewport{display:flex;flex-direction:column;background:#071422;position:relative;min-height:0}.view-top{position:absolute;z-index:3;top:0;left:0;right:0;pointer-events:none;display:flex;justify-content:space-between;padding:15px 17px}.viewtitle{font-size:10px;font-weight:820;letter-spacing:.13em;display:flex;gap:8px;align-items:center}.viewsub{font-size:8px;color:#84a2b9;letter-spacing:.12em;margin-top:7px}.viewactions{display:flex;gap:5px;pointer-events:auto;align-items:flex-start}.viewbutton{background:#182b3dc9;border:1px solid #2a485e;border-radius:5px;padding:8px 10px;min-width:33px;font-size:12px}.viewbutton:hover,.viewbutton.active{border-color:#79b7cf}.quality{font-size:9px;font-weight:800;min-width:45px;letter-spacing:.05em}.stage{position:relative;flex:1;min-height:360px;background:radial-gradient(ellipse at 50% 42%,#163454,#081525 65%,#060e1b 100%);overflow:hidden}.stage canvas#glcanvas{position:absolute;inset:0;width:100%;height:100%;display:block;cursor:grab;touch-action:none}.stage canvas#glcanvas:active{cursor:grabbing}.sceneVignette{position:absolute;inset:0;background:linear-gradient(90deg,#071421ad,transparent 15%,transparent 83%,#07142177),linear-gradient(180deg,#07142180,transparent 25%,transparent 80%,#071421b0);pointer-events:none}.stageWater,.stageBottom{position:absolute;z-index:2;pointer-events:none;color:#c8e5ef;background:#09243891;border:1px solid #25536d9c;backdrop-filter:blur(4px);border-radius:3px;padding:6px 8px;font-size:8px;font-weight:800;letter-spacing:.1em}.stageWater{right:18px;top:30%;}.stageBottom{right:18px;bottom:18%}.bluepin{color:#65e0ff;margin-right:4px}.orangepin{color:#f5ac75;margin-right:4px}.miniunit{font-size:7px;color:#87a6ba;margin-left:5px}.depthruler{position:absolute;z-index:2;top:26%;bottom:15%;left:13px;display:flex;flex-direction:column;justify-content:space-between;color:#7d9cb5;font-size:8px;pointer-events:none;border-left:1px solid #477d9380;padding-left:7px}.depthruler span:before{content:'';height:1px;width:5px;position:absolute;left:0;background:#6d96b0}.stageHint{position:absolute;bottom:13px;left:14px;color:#90aabe;font-size:8px;letter-spacing:.09em;pointer-events:none;display:flex;align-items:center;gap:5px}.stageHint span:not(.hintbadge){color:#506e88}.hintbadge{color:#8af5f0;border:1px solid #487e87;border-radius:2px;padding:3px 5px;font-size:8px}.renderstatus{position:absolute;right:12px;bottom:13px;color:#668fa1;font-size:7px;letter-spacing:.12em;pointer-events:none}.stagefooter{height:62px;min-height:62px;border-top:1px solid #294056;background:#0c1b2d;display:flex;align-items:center;gap:12px;padding:0 14px}.transport{display:flex;align-items:center;gap:7px}.play{border:0;background:#68dce3;color:#062336;border-radius:5px;height:33px;width:34px;font-size:15px;font-weight:900}.iconbtn{background:#152a3d;color:#b1cee0;border:1px solid #2b4359;border-radius:5px;height:33px;width:32px}.simclock{display:flex;flex-direction:column;gap:2px;margin-left:6px;min-width:75px}.simclock strong{font-weight:750;font-variant-numeric:tabular-nums;font-size:15px;letter-spacing:.06em}.simclock small{font-size:7px;color:#7891a8;letter-spacing:.04em}.speedcontrols{display:flex;align-items:center;gap:8px;margin-left:auto;color:#6e8ca6;font-size:8px;letter-spacing:.09em}.speedcontrols select{background:#14283b;border:1px solid #36516a;color:#d5eaf2;border-radius:4px;padding:6px;outline:none}.viewsegments{display:flex;gap:3px;margin-left:10px}.cambtn{background:#142337;border:1px solid #32475d;border-radius:4px;padding:8px;font-size:8px;font-weight:800;color:#8299ad;letter-spacing:.03em}.cambtn.active,.cambtn:hover{color:#dbf9ff;background:#21506a;border-color:#64bbd1}.sciencecol{overflow:hidden}.scienceinner{padding:15px;overflow:auto;scrollbar-color:#2f4960 transparent;scrollbar-width:thin}.chartintro{display:flex;align-items:center;justify-content:space-between;font-size:9px;color:#b6c9df;letter-spacing:.08em;font-weight:800}.chartunit{font-size:8px;font-weight:500;color:#7993a7}.scienceinner canvas{display:block;width:100%;height:196px;margin:7px auto 0;object-fit:contain}.legend{display:flex;justify-content:center;gap:12px;color:#9cb3c6;font-size:9px;margin-top:5px}.legend span{display:flex;align-items:center;gap:5px}.legend i{width:7px;height:7px;border-radius:100%}.divider{height:1px;background:#253a4d;margin:16px 0}.factrow{display:flex;justify-content:space-between;color:#97acbe;margin:10px 0;font-size:10px}.factrow strong{font-variant-numeric:tabular-nums;color:#d9ebf4;font-size:11px}.factrow small{color:#6b839c;font-size:8px}.toggles{display:grid;grid-template-columns:1fr 1fr;gap:13px 8px;font-size:9px;color:#aebfd0}.toggles label{cursor:pointer;display:flex;align-items:center;gap:5px;white-space:nowrap}.toggles input{accent-color:#73d5e9;margin:0}.validation{border:1px solid #2a5561;background:linear-gradient(130deg,#0b313a88,#14283955);border-radius:5px;padding:12px;margin-top:18px}.valtitle{color:#9ee5c1;font-size:9px;font-weight:900;letter-spacing:.12em;display:block}.valsubtitle{display:block;margin-top:5px;font-size:7px;letter-spacing:.07em;color:#8eacbc}.valcolumns{display:grid;grid-template-columns:repeat(3,1fr);gap:4px;margin-top:13px}.valcolumns div{font-size:8px;color:#8297a8}.valcolumns strong{display:block;font-size:13px;color:#dff4fa;margin-top:4px;font-variant-numeric:tabular-nums}.valnote{color:#6e91a0;font-size:8px;margin-top:10px}.learnbutton{margin-top:14px;width:100%;background:#192c42;border:1px solid #35516a;padding:12px 14px;display:flex;justify-content:space-between;font-weight:800;letter-spacing:.11em;font-size:9px;border-radius:5px}.learnbutton:hover{background:#24405d}.learnbutton span{font-size:16px;line-height:9px}.bottomnote{height:34px;display:flex;align-items:center;justify-content:space-between;margin:0 29px;gap:6px;color:#66859c;font-size:8px;letter-spacing:.1em}.bottomnote .dotlive{width:5px;height:5px;margin-right:7px}.bottomnote strong{font-weight:700;color:#9dbed4}.bottomnote>span:last-child{color:#8ba7b8}dialog{border:1px solid #375d70;border-radius:12px;max-width:740px;width:min(calc(100% - 28px),740px);padding:0;background:#0b1828;color:#e8f3f9;box-shadow:0 20px 100px #000c}dialog::backdrop{background:#010913d9;backdrop-filter:blur(10px)}.dialogbox{max-height:min(90vh,820px);display:flex;flex-direction:column}.dialogtop{padding:16px 23px;display:flex;justify-content:space-between;align-items:center;border-bottom:1px solid #274156;font-size:10px;color:#7fc8e6;letter-spacing:.14em;font-weight:800}.dialogtop button{background:none;border:0;color:white;font-size:19px}.dialogscroll{padding:22px 27px;overflow:auto}.dialogscroll h2{font-size:36px;margin:10px 0}.dialoglead{font-size:14px;line-height:1.7;color:#a5c5d8}.infocard{padding:16px 0;border-bottom:1px solid #2a3e50}.infocard h3{font-size:11px;letter-spacing:.12em;color:#a1e7f6}.infocard h3 em{font-style:normal;color:#8eac91;margin-left:8px;font-weight:500;font-size:9px}.infocard p{line-height:1.73;color:#b4c4d5;font-size:12px}.equation{background:#122b3c;color:#afe8eb;padding:13px;font-family:ui-monospace,monospace;font-size:11px;overflow:auto;border-radius:5px}.references{font-size:10px!important;color:#8da6b8!important}.disclaimer{margin-top:18px;color:#8ca2b2;font-size:10px}body.embed .topbar,body.embed .hero,body.embed .metrics,body.embed .controls,body.embed .sciencecol,body.embed .bottomnote{display:none}body.embed #app{height:100dvh}body.embed .dashboard{display:block;margin:0;height:100dvh}body.embed .viewport{height:100%;border:0;border-radius:0}body.embed .stage{min-height:0}body.embed .stagefooter{background:#0a1c30e8}
@media(min-width:1500px){.dashboard{grid-template-columns:288px minmax(0,1fr) 305px}.metric{padding:17px 20px}.stage{min-height:480px}}
@media(max-width:1100px){.dashboard{grid-template-columns:225px minmax(0,1fr);align-items:stretch}.sciencecol{grid-column:1 / -1}.scienceinner{display:grid;grid-template-columns:1fr 1fr;gap:5px 16px}.scienceinner canvas{grid-row:2 / span 6;height:220px}.scienceinner .chartintro{grid-column:1}.scienceinner .legend{grid-column:1}.scienceinner .validation{grid-column:2;align-self:start}.scienceinner .learnbutton{grid-column:2}.scienceinner .divider{display:none}.toggles{margin-bottom:8px}.viewport{min-height:495px}}
@media(max-width:700px){.topbar{padding:0 14px;height:51px}.sectionlabel,.eyebrow,.topright>.dotlive,.topright .textbutton,.heromark{display:none}.hero{padding:19px 15px 16px}.hero h1{font-size:33px}.hero p{font-size:10px;max-width:285px;line-height:1.5}.metrics{margin:0 12px 12px;gap:7px;grid-template-columns:repeat(2,minmax(0,1fr))}.metric{padding:11px 10px;min-height:89px}.metricnum span{font-size:25px}.metriclabel{font-size:8px;letter-spacing:.04em}.metricfoot{font-size:7px;line-height:1.3}.dashboard{display:flex;flex-direction:column;margin:0 12px;gap:10px}.viewport{order:0;min-height:0}.stage{min-height:410px}.controls{order:1;max-height:none}.sciencecol{order:2}.controlscroll{overflow:visible}.controls-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 17px}.ctrl-title{font-size:9px}.ctrl-note{font-size:7px}.controls .panelhead{height:42px;min-height:42px}.scienceinner{display:block}.scienceinner canvas{height:220px}.scienceinner .divider{display:block}.scienceinner .validation{margin-top:15px}.stagefooter{gap:5px;padding:0 8px}.viewsegments{margin-left:1px;gap:1px}.cambtn{padding:7px 5px;font-size:7px}.speedcontrols{gap:4px}.speedcontrols>span{display:none}.simclock{margin-left:2px;min-width:58px}.simclock strong{font-size:12px}.simclock small{font-size:6px}.stageWater{right:7px;top:30%;font-size:7px;padding:5px}.stageBottom{right:7px;bottom:20%;font-size:7px;padding:5px}.miniunit{display:none}.bottomnote{margin:8px 13px 0;height:auto;padding-bottom:12px;flex-wrap:wrap;gap:6px;font-size:7px}.bottomnote>span:last-child{display:none}.dialogscroll{padding:18px}.dialogscroll h2{font-size:28px}}
@media(max-width:400px){.stage{min-height:390px}.viewsub{font-size:7px}.view-top{padding:11px}.stageHint{font-size:7px}.metricnum span{font-size:23px}.metriclabel{font-size:7.5px}.speedcontrols select{padding:4px}}

/* Fit all three instrument columns into a 720px desktop viewport, while each panel scrolls independently. */
@media(min-width:701px){#app{height:100dvh;min-height:0;overflow:hidden}.hero{flex:0 0 auto}.metrics{flex:0 0 auto}.dashboard{flex:1 1 0;min-height:0;height:0}.stage{min-height:0}.bottomnote{flex:0 0 34px}.controls .controlscroll,.sciencecol .scienceinner{flex:1 1 0;overflow:auto}.viewport{height:100%}}
@media(max-width:700px){#app{height:auto;min-height:100dvh;overflow:visible}.dashboard{flex:initial;height:auto;min-height:0}.stage{min-height:410px}.sciencecol .scienceinner,.controls .controlscroll{overflow:visible}}
body.embed #app{height:100dvh;overflow:hidden}body.embed .stage{min-height:0}

/* --- controls groups, characteristics, dock (2026-11-24) --- */
.presets{grid-template-columns:repeat(3,1fr);margin-bottom:12px}.hintline{margin:0 0 12px;color:#6f889c;font-size:9px;line-height:1.4}
.cgroup{border:1px solid #223a50;border-radius:6px;margin:0 0 10px;background:#0c192a}.cgroup>summary{cursor:pointer;list-style:none;padding:8px 10px;font-size:9px;font-weight:800;letter-spacing:.13em;color:#9fc0d4;display:flex;justify-content:space-between}
.cgroup>summary::-webkit-details-marker,.chars>summary::-webkit-details-marker{display:none}.cgroup>summary::after,.chars>summary::after{content:"▾";color:#6f889c}.cgroup:not([open])>summary::after,.chars:not([open])>summary::after{content:"▸"}
.cgroup .cbody{padding:4px 10px 0}.controls-list{display:block}.ctrl label{cursor:help}
.chars{margin:8px 0}.chars>summary{cursor:pointer;list-style:none;display:flex;justify-content:space-between;align-items:center;color:#7b91aa;font-size:9px;font-weight:800;letter-spacing:.15em;margin-bottom:6px}
.chars .row{display:flex;justify-content:space-between;gap:6px;margin:6px 0;color:#97acbe;font-size:10px;cursor:help}.chars .row strong{font-variant-numeric:tabular-nums;color:#d9ebf4;font-size:11px;text-align:right}.chars .row small{color:#6b839c;font-size:8px}
.chars .sub{margin:11px 0 3px;color:#5f93a8;font-size:8px;font-weight:800;letter-spacing:.14em}
.chk{border:1px solid #2a5561;background:#0b2b3355;border-radius:5px;padding:8px 9px;margin:7px 0;font-size:9px;color:#8aa1b3;line-height:1.45}.chk b{color:#cfe9f3}.chk .ok{color:#6fe0a8;font-weight:800}.chk .bad{color:#ff9a8a;font-weight:800}.chk code{color:#9be3f2;font-size:9px}
.dock{display:none;gap:4px;margin-left:8px}.dock button{background:#14283b;border:1px solid #36516a;color:#cfe6f1;border-radius:4px;padding:6px 8px;font-size:8px;font-weight:800;letter-spacing:.08em;white-space:nowrap}.dock button.on{background:#14314a;border-color:#6ab5d3}
@media(max-width:1100px){.scienceinner .chars{grid-column:1 / -1}}
body.embed .dock{display:flex}
body.embed .dashboard{display:flex;flex-direction:column;height:auto;flex:1 1 0;min-height:0}
body.embed .viewport{order:1;flex:1 1 0;height:auto;min-height:0}
body.embed.dock-controls .controls,body.embed.dock-chars .sciencecol{display:flex;order:2;flex:0 0 auto;max-height:44dvh;border-radius:0;border-width:1px 0 0}
body.embed.dock-controls.dock-chars .controls{max-height:32dvh}body.embed.dock-controls.dock-chars .sciencecol{max-height:32dvh}
body.embed .controls .controlscroll,body.embed .sciencecol .scienceinner{overflow:auto}
@media(max-width:700px){.dock{margin-left:0}body.embed .stagefooter{flex-wrap:wrap;height:auto;padding:6px 8px;row-gap:4px}body.embed .controls-list,body.embed .scienceinner{display:block}}
body.embed.dock-controls .controls,body.embed.dock-chars .sciencecol{height:44dvh;max-height:44dvh;min-height:0}
body.embed.dock-controls.dock-chars .controls,body.embed.dock-controls.dock-chars .sciencecol{height:32dvh;max-height:32dvh}
body.embed .controls .controlscroll,body.embed .sciencecol .scienceinner{flex:1 1 0;min-height:0;overflow:auto}
body.embed .dashboard{overflow:hidden}
body.embed .controls .panelhead,body.embed .sciencecol .panelhead,body.embed .hintline{display:none}
body.embed .scienceinner canvas{height:130px}
body.embed.dock-controls .controls,body.embed.dock-chars .sciencecol{height:50dvh;max-height:50dvh}
