:root{color-scheme:dark;--bg:#050d15;--ink:#e2f1f6;--muted:#7c9da9;--subtle:#537482;--line:#203b48;--panel:#0a1722;--cyan:#6bdae3;--lime:#adf1a4;--amber:#f6d69f;--violet:#ba9df7;font-family:Inter,'Segoe UI',Arial,sans-serif;font-synthesis:none}
*{box-sizing:border-box}body{margin:0;background:radial-gradient(ellipse at 50% -22%,#152b37 0%,var(--bg) 60%);color:var(--ink);-webkit-font-smoothing:antialiased}button,select,input{font:inherit}button{cursor:pointer}button:focus-visible,input:focus-visible,select:focus-visible,summary:focus-visible{outline:2px solid #9cf5f2;outline-offset:2px}button:disabled{opacity:.5;cursor:default}.app{max-width:1720px;margin:auto;min-height:100vh;padding:0 28px;display:flex;flex-direction:column}
.topbar{height:53px;border-bottom:1px solid #1a3542;display:flex;align-items:center;justify-content:space-between;flex:none}.brand,.top-right{display:flex;align-items:center;gap:14px}.brandlogo{font-size:17px;font-weight:900;letter-spacing:.1em}.brandlogo span{color:var(--cyan)}.brandline{font-size:9px;color:#7893a2;letter-spacing:.16em}.top-right{gap:8px}.tag{border:1px solid #27434e;border-radius:2px;padding:5px 9px;color:#789aaa;font-size:9px;letter-spacing:.1em;font-weight:700}.tag.lime{color:#a9e8b5;border-color:#2a534c}.iconButton{height:25px;width:26px;border:1px solid #284955;color:var(--muted);background:#112632;border-radius:50%}.headline{padding:18px 1px 19px;display:flex;justify-content:space-between;align-items:end;gap:30px;flex:none}.eyebrow{font-size:9px;letter-spacing:.23em;color:#80d4ce;margin:0 0 8px;font-weight:700}.eyebrow span{color:#446777}.headline h1{margin:0;font-size:clamp(23px,2.75vw,38px);font-weight:540;letter-spacing:-.045em;line-height:1.13}.headline h1 em{color:#a9e4df;font-style:normal}.lead{color:#8da8b5;font-size:11.5px;line-height:1.55;margin:8px 0 0}.headline-numbers{display:flex;gap:24px;flex:none;align-items:end}.headline-numbers div{display:flex;flex-direction:column;gap:4px;text-align:right}.headline-numbers small{font-size:9px;color:#658796;letter-spacing:.13em}.headline-numbers b{font-variant-numeric:tabular-nums;font-weight:550;font-size:24px;color:#d8eff2}
.layout{display:grid;grid-template-columns:258px minmax(320px,1fr) 278px;gap:10px;min-height:510px;height:calc(100vh - 206px);max-height:930px;flex:1}.panel{background:linear-gradient(150deg,#0b1b27ee,#07141fee);border:1px solid #1d3a48;border-radius:5px;min-height:0;overflow:auto;scrollbar-color:#244652 transparent;scrollbar-width:thin}.controls{padding:15px}.science{padding:15px}.section-title{display:flex;align-items:center;gap:9px;font-size:9px;font-weight:800;letter-spacing:.13em;color:#d0e8ed;min-width:0;white-space:nowrap}.section-title span:first-child{color:#6c9eac}.section-title .faint{margin-left:auto;color:#6c8690}.section-title.small{font-size:8px;letter-spacing:.07em}.presetrow{display:grid;grid-template-columns:1fr 1fr 1fr;gap:4px;margin-top:14px}.preset{min-height:39px;background:#0c2230;border:1px solid #26434f;color:#7498a4;font-size:8px;letter-spacing:.03em;font-weight:700;padding:5px 2px}.preset.active{color:#b9f2e8;border-color:#73bbb4;background:#123438}.playrow{display:flex;gap:6px;margin:12px 0}.playrow button{height:35px}.primary{background:#9bdfd4;color:#062025;font-size:11px;letter-spacing:.09em;font-weight:900;border:0;flex:1;border-radius:3px}.square{background:#122b38;border:1px solid #356071;border-radius:3px;color:#b5dfe7;font-size:18px;width:35px}.speedline{display:flex;justify-content:space-between;align-items:center;color:#8eacb5;font-size:11px}.speedline select{border:1px solid #2a4e5b;border-radius:3px;padding:5px 7px;background:#112a39;color:#cae9ed;font-size:11px}.divider{border-top:1px solid #203d49;margin:14px 0}.inputs{display:grid;gap:15px;margin-top:15px}.input-head{display:flex;align-items:center;justify-content:space-between;gap:6px;margin-bottom:8px;font-size:10px;color:#b4d0d7}.input-head output{font-variant-numeric:tabular-nums;color:#a3eadf;font-size:11px;font-weight:750}.range{width:100%;height:4px;appearance:none;-webkit-appearance:none;border-radius:9px;background:linear-gradient(to right,#7fcbc7 var(--fill,60%),#244652 var(--fill,60%));cursor:pointer}.range::-webkit-slider-thumb{appearance:none;-webkit-appearance:none;width:11px;height:11px;border-radius:50%;background:#e0fef5;border:2px solid #4b8e92;box-shadow:0 0 0 3px #1c3d45}.range::-moz-range-thumb{width:11px;height:11px;background:#e0fef5;border-radius:50%;border:2px solid #4b8e92}.range-foot{display:flex;justify-content:space-between;font-size:9px;color:#567a89;margin-top:5px}.hint{border-top:1px solid #233d48;color:#688b9b;font-size:9px;line-height:1.6;margin-top:17px;padding-top:12px}
.stage{min-height:0;position:relative;overflow:hidden;border-radius:5px;border:1px solid #24414d;background:#071725;isolation:isolate}.stage:before{pointer-events:none;position:absolute;z-index:2;inset:0;content:'';background:linear-gradient(0deg,rgba(4,12,23,.84) 0%,transparent 26%,transparent 67%,rgba(5,13,24,.35) 100%)}.stage:after{pointer-events:none;content:'';position:absolute;z-index:3;inset:10px;border:1px solid rgba(106,187,198,.07);border-radius:4px}#scene{display:block;position:absolute;inset:0;width:100%;height:100%;touch-action:none;z-index:0}.stage-top{position:absolute;left:15px;right:15px;top:13px;display:flex;justify-content:space-between;gap:8px;z-index:5;font-size:9px;letter-spacing:.09em}.scene-chip{padding:7px 9px;background:rgba(7,23,33,.75);border:1px solid #2a4e58;color:#bce8df;border-radius:3px;font-weight:800}.dot{display:inline-block;background:#9ae3aa;width:6px;height:6px;border-radius:50%;margin-right:5px;box-shadow:0 0 8px #9eecb5}.scale-chip{color:#769fad;padding:8px 2px;font-size:8px}.left-callout{position:absolute;z-index:5;left:22px;top:100px;width:160px;display:grid;gap:6px;pointer-events:none}.left-callout strong{font-size:9px;color:#c2e3dc;letter-spacing:.09em}.left-callout span{font-size:10px;color:#86a2b1;line-height:1.5}.scene-bottom{position:absolute;z-index:5;left:14px;right:14px;bottom:49px;display:flex;justify-content:space-between;gap:10px;align-items:center}.camera-group{display:flex;gap:4px;flex-wrap:wrap}.cam{color:#a1bec8;border:1px solid #2a4c59;background:#102737d9;padding:8px 8px;border-radius:2px;font-size:9px;letter-spacing:.03em;white-space:nowrap}.cam.active{border-color:#7dcbc6;color:#c1f1eb;background:#244b50}.screen-hint{font-size:8px;letter-spacing:.1em;color:#7399a7;white-space:nowrap}.quality{position:absolute;z-index:5;left:14px;right:14px;bottom:12px;display:flex;gap:11px;align-items:center;flex-wrap:wrap}.quality button{background:transparent;border:0;padding:4px 2px;color:#8ba4b0;font-size:9px;letter-spacing:.06em}.quality button b{color:#b6eae5}.quality label{font-size:9px;color:#7596a1;display:flex;gap:4px;align-items:center}.quality input{accent-color:#82d6ce;width:11px;height:11px;margin:0}.stage-credit{position:absolute;z-index:5;right:13px;top:49px;font-size:8px;max-width:50%;text-align:right;letter-spacing:.04em;color:#7196a3}
.tag-mini{font-size:8px;color:#74a3ae;margin-left:auto;font-weight:500;letter-spacing:.02em}.readings{display:grid;gap:8px;margin-top:13px}.reading{border:1px solid #1e3d4a;background:#0a1d28;border-radius:3px;padding:10px}.reading span{font-size:10px;color:#91b3bd}.reading strong{font-size:23px;font-weight:600;display:block;color:#dbf5f3;font-variant-numeric:tabular-nums;letter-spacing:-.025em;margin:4px 0 2px}.reading.main strong{font-size:32px;color:#a4eee5}.reading small{font-size:9px;color:#607f8d}.readgrid{display:grid;grid-template-columns:1fr 1fr;gap:7px}.readgrid .reading{padding:8px}.readgrid .reading strong{font-size:21px}.readgrid .reading span{font-size:9px}.readgrid .reading small{font-size:8px}.charthead{display:flex;justify-content:space-between;align-items:center;margin-top:15px}.charthead strong{font-size:9px;color:#aec8cb;letter-spacing:.04em}.charthead span{font-size:9px;color:#6e909f}#chart{width:100%;height:87px;display:block;margin-top:6px}.validation{background:#0c2830;border:1px solid #2d585a;padding:10px;border-radius:3px;margin-top:10px}.validation-title{font-size:9px;font-weight:800;letter-spacing:.09em;color:#b4e9d4;margin-bottom:9px}.validation-title span{color:#80dc9f;margin-right:3px}.validation-line{display:flex;justify-content:space-between;gap:6px;color:#8bafbb;font-size:10px;line-height:1.85}.validation-line b{color:#d4eee8;font-size:10px;font-variant-numeric:tabular-nums;font-weight:650}.validation small{display:block;color:#6b8e95;font-size:8.5px;line-height:1.55;margin-top:7px}.biology{margin-top:12px;border:1px solid #23424b;background:#0d222f;border-radius:3px}.biology summary{display:flex;align-items:center;justify-content:space-between;list-style:none;cursor:pointer;padding:11px;color:#b8e6e5;font-size:10px;font-weight:800;letter-spacing:.09em}.biology summary::-webkit-details-marker{display:none}.biology[open] summary{border-bottom:1px solid #25434c}.biology[open] .expand{transform:rotate(45deg)}.expand{color:#89cbc6;font-size:18px;transition:transform .2s}.bio-body{padding:11px;color:#9bb5bd;line-height:1.58;font-size:10px}.bio-body p{margin:0 0 11px}.bio-body b{color:#d0e5e8}.equation{background:#061824;border:1px solid #21434b;border-radius:3px;padding:10px 6px;font-size:10px;color:#bbeee4;text-align:center;overflow-wrap:anywhere;margin-bottom:8px}.refs a{display:block;color:#a5dad2;text-decoration:underline;text-underline-offset:2px;margin-top:5px}footer{display:flex;align-items:center;justify-content:space-between;gap:8px;min-height:43px;color:#6a8b98;font-size:9px;letter-spacing:.01em}footer span:first-child{font-weight:700;letter-spacing:.07em}footer span:last-child{white-space:nowrap;font-variant-numeric:tabular-nums}
@media(max-width:1140px){.app{padding:0 14px}.layout{grid-template-columns:226px minmax(280px,1fr) 240px}.controls,.science{padding:12px}.screen-hint{display:none}.left-callout{width:126px}.stage-credit{font-size:7px}.readgrid .reading strong{font-size:19px}}
@media(max-width:790px){.app{padding:0 10px}.topbar{height:47px}.headline{padding:15px 3px;align-items:start}.headline h1{font-size:25px}.headline-numbers{gap:11px}.headline-numbers b{font-size:18px}.headline-numbers small{font-size:8px}.lead{font-size:10px}.layout{display:flex;flex-direction:column;min-height:0;height:auto;max-height:none}.stage{order:0;height:375px;flex:none}.science{order:1;overflow:visible}.controls{order:2;overflow:visible}.reading.main strong{font-size:30px}.readgrid .reading strong{font-size:23px}.inputs{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));column-gap:18px}.science .readings{display:grid;grid-template-columns:1fr 1fr;align-items:stretch}.science .readings>.main{grid-row:span 2;display:flex;flex-direction:column;justify-content:center}.science .readings>.readgrid{grid-template-columns:1fr 1fr}.reading span{font-size:9px}.left-callout{left:16px;top:66px;width:133px}.scale-chip{font-size:7px}.stage-credit{max-width:65%;right:13px;top:42px}.screen-hint{display:none}footer{font-size:8px;flex-wrap:wrap;padding:12px 2px}}
@media(max-width:450px){.brandline{font-size:8px}.tag{font-size:7px;padding:5px 6px}.headline{gap:6px}.headline h1{font-size:23px}.headline-numbers{margin-top:14px;gap:8px}.headline-numbers b{font-size:16px}.headline-numbers small{font-size:7px}.lead{max-width:300px}.stage{height:340px}.cam{padding:7px 6px;font-size:8px}.quality{gap:9px}.quality label,.quality button{font-size:8px}.left-callout{display:none}.science .readings{display:flex;flex-direction:column}.readings>.readgrid{grid-template-columns:1fr 1fr}.science .readings .reading.main{display:block}.inputs{grid-template-columns:1fr 1fr;gap:13px}.topbar .tag:not(.lime){display:none}footer span:nth-child(2){order:3;width:100%}}
body.embed .topbar{display:none}body.embed .headline{padding:10px 0}body.embed .headline .lead{display:none}body.embed .layout{height:calc(100vh - 116px)}body.embed footer{min-height:28px}body.embed .headline h1{font-size:21px}@media(max-width:790px){body.embed .layout{height:auto}}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;transition:none!important}}
/* Exact desktop exhibit fit, with independently scrollable scientific sidebars. */
@media(min-width:791px){
 .app{height:100vh;min-height:0}
 .layout{height:auto;max-height:none;min-height:0;flex:1}
 .stage,.panel{min-height:0}
}
