:root{color-scheme:dark;--bg:#070e1b;--rail:#0c1524;--panel:#111e2e;--line:rgba(159,183,203,.13);--text:#eef3f6;--muted:#8596a7;--amber:#f2bc72;--orange:#ff9555;--cyan:#7ad7d0;--coral:#fb7c65;--radius:11px}*{box-sizing:border-box}html,body{padding:0;margin:0;min-height:100%;background:var(--bg);color:var(--text);font:13px/1.5 Inter,ui-sans-serif,system-ui,-apple-system,"Segoe UI",sans-serif}button,input,select{font:inherit}button{cursor:pointer;color:inherit}button:focus-visible,input:focus-visible,select:focus-visible,summary:focus-visible{outline:2px solid var(--amber);outline-offset:2px}h1,h2,h3,p{margin:0}.app-shell{min-height:100vh;display:flex;flex-direction:column}.topbar{height:70px;flex:none;display:flex;align-items:center;gap:21px;background:#0b1421;border-bottom:1px solid var(--line);padding:0 24px}.brand-line{display:flex;align-items:center;gap:9px;white-space:nowrap}.brand-symbol{font-size:27px;color:var(--amber);line-height:1}.brand-name{font-weight:800;letter-spacing:.13em;font-size:12px}.brand-name i{color:#607285;font-style:normal;letter-spacing:.05em;font-weight:500}.header-divider{height:29px;border-right:1px solid var(--line)}.header-title{min-width:0}.eyebrow,.overline{display:block;letter-spacing:.15em;font-size:9px;font-weight:700;color:#bb9672}.chip{display:inline-block;background:#282720;color:#d7bd8c;border-radius:3px;padding:1px 4px;margin-left:5px}.header-title h1{font-weight:670;font-size:19px;letter-spacing:-.035em;white-space:nowrap}.header-title h1 span{font-size:15px;color:#bac6d0;font-weight:420}.header-tail{margin-left:auto;display:flex;align-items:center;gap:16px;white-space:nowrap}.live-indicator{color:#86d2a9;font-size:10px;letter-spacing:.09em;font-weight:700}.edition{font-size:9px;letter-spacing:.14em;color:#6d8292}.workspace{display:grid;grid-template-columns:292px minmax(0,1fr) 280px;flex:1;min-height:calc(100vh - 102px);overflow:hidden}.control-rail,.data-rail{background:var(--rail);min-height:0;overflow-y:auto;scrollbar-width:thin;scrollbar-color:#3a4d5f transparent}.control-rail{border-right:1px solid var(--line)}.data-rail{border-left:1px solid var(--line)}.panel-heading{height:68px;padding:15px 20px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--line)}.panel-heading h2{font-size:15px;font-weight:630;letter-spacing:-.02em;margin-top:3px}.dots{letter-spacing:.22em;color:#7892a3}.pulse-dot{height:7px;width:7px;border-radius:50%;background:#74d4b9;box-shadow:0 0 14px #74d4b9}.rail-inner{padding:14px 19px 20px}.control-section-label{display:flex;justify-content:space-between;font-size:10px;color:#9daebd;font-weight:750;letter-spacing:.11em;margin:3px 0 15px}.control-section-label span{font-size:9px;color:#526779}.control-row{margin-bottom:17px}.control-row label{display:flex;justify-content:space-between;align-items:baseline;font-size:11px;color:#b8c7d3;gap:8px}.control-row output{font-size:11px;color:#ffcc8b;font-weight:700;white-space:nowrap}.control-row input{margin:13px 0 0;width:100%;height:4px;display:block;appearance:none;border-radius:4px;background:linear-gradient(to right,#dca463 var(--fill,50%),#29384a var(--fill,50%));cursor:pointer}.control-row input::-webkit-slider-thumb{appearance:none;width:12px;height:12px;background:#ffcb83;border:2px solid #2b2d34;border-radius:50%;box-shadow:0 0 0 1px rgba(255,206,140,.35)}.control-row input::-moz-range-thumb{width:10px;height:10px;background:#ffcb83;border:2px solid #2b2d34;border-radius:50%}.range-ticks{display:flex;justify-content:space-between;color:#607688;font-size:9px;margin-top:6px}.section-line{height:1px;background:var(--line);margin:19px 0 15px}.preset-grid{display:grid;grid-template-columns:1fr;gap:7px}.preset{display:flex;gap:10px;align-items:center;border:1px solid #28384b;background:#101c2a;color:#b9c7d2;border-radius:7px;padding:9px 11px;text-align:left;font-size:11px}.preset span{font-size:15px;color:#8a9fb0}.preset.active{border-color:#9c7042;background:#312b27;color:#ffdaad}.preset.active span{color:#f5b975}.preset:hover{border-color:#bb916a}.trigger{display:flex;align-items:center;justify-content:space-between;width:100%;border:1px solid #c38d4d;background:linear-gradient(105deg,#bd8146,#d9a45f);color:#17202c;padding:10px 12px;margin-top:13px;border-radius:7px;font-size:11px;font-weight:800}.trigger span:first-child{font-size:17px}.rail-hint{font-size:10px;color:#708799;line-height:1.65;margin-top:13px}.viewer-section{min-width:0;min-height:0;display:flex;flex-direction:column;background:#081120}.viewport{flex:1;min-height:340px;position:relative;overflow:hidden;background:radial-gradient(ellipse at 50% 42%,#243a48 0%,#0d1b2c 60%,#07101c 100%)}#sceneMount,.scene-gradient{position:absolute;inset:0}#sceneMount canvas{display:block;width:100%;height:100%;touch-action:none}.scene-gradient{z-index:1;pointer-events:none;background:linear-gradient(to bottom,rgba(5,10,17,.4),transparent 30%,transparent 73%,rgba(5,10,17,.65))}.scene-topline{position:absolute;left:23px;right:23px;top:17px;z-index:3;display:flex;align-items:center;justify-content:space-between;color:#b9cdd2;font-size:9px;letter-spacing:.14em}.scene-topline b{color:#e2edf1}.amber-dot{color:var(--amber)}.divider-char{color:#788a96;margin:0 5px}.scene-heading{position:absolute;left:26px;top:73px;z-index:3;pointer-events:none;text-shadow:0 2px 20px #06111b}.scene-heading p{font-size:10px;color:#d9aa6d;letter-spacing:.24em;font-weight:740}.scene-heading h2{font-size:clamp(21px,2.65vw,42px);font-weight:550;letter-spacing:-.055em;line-height:1.19;margin-top:7px;color:#f5f2e9}.scene-heading h2 em{font-style:normal;color:#e4b77d}.scene-marker{position:absolute;left:66%;top:40%;z-index:3;display:flex;align-items:center;gap:7px;pointer-events:none;font-size:9px;letter-spacing:.1em;color:#ddc3aa;text-shadow:0 1px 5px #000}.scene-marker small{font-size:8px;color:#98b0ba}.marker-line{width:23px;height:1px;background:#e0a267}.legend{z-index:3;position:absolute;left:25px;bottom:96px;display:flex;gap:15px;color:#aabec8;font-size:10px;flex-wrap:wrap}.legend span{display:flex;align-items:center;gap:7px}.legend-dot{width:8px;height:8px;border-radius:50%;display:inline-block}.teal{background:#69ada6}.amber{background:#f6c16c;box-shadow:0 0 7px #d99b43}.coral{background:#fa805d}.viewport-footer{position:absolute;left:20px;right:20px;bottom:16px;z-index:3;display:flex;justify-content:space-between;align-items:end;gap:7px}.measure{background:#0b1725b5;border:1px solid #ffffff19;border-radius:7px;padding:8px 12px;min-width:130px}.measure span{display:block;color:#87a1ac;font-size:8px;letter-spacing:.1em}.measure strong{font-size:22px;line-height:1.2;letter-spacing:-.04em;font-variant-numeric:tabular-nums}.measure small{font-size:11px;font-weight:400}.view-switch{display:flex;gap:2px;padding:3px;border:1px solid #45607380;background:#091726bd;border-radius:7px}.view-switch button{background:transparent;border:0;color:#9bafbb;padding:6px 8px;border-radius:5px;font-size:10px}.view-switch button.active{background:#33485b;color:#fff}.transport{height:51px;border-top:1px solid var(--line);border-bottom:1px solid var(--line);display:flex;justify-content:space-between;align-items:center;gap:8px;padding:5px 13px;background:#0e1a2a}.transport-main,.transport-other{display:flex;align-items:center;gap:9px}.transport button{background:transparent;border:1px solid #314154;border-radius:5px;min-width:29px;height:29px;padding:0 8px;color:#ccdae2;font-size:15px}.transport button:hover{border-color:#dbb77c}.transport .transport-primary{background:#d5a161;border-color:#d5a161;color:#15202b;font-size:15px;font-weight:800}.transport-time{font-size:13px;font-weight:680;color:#f5ebd7;font-variant-numeric:tabular-nums;margin-left:5px}.transport-tag{font-size:9px;color:#6c8396;letter-spacing:.07em}.transport-other label{font-size:9px;color:#8298a8}.transport select,.visual-controls select{background:#142435;color:#e7edf1;border:1px solid #33485a;border-radius:5px;padding:6px 5px;font-size:10px}.viewport-subline{display:flex;min-height:43px;gap:7px;align-items:center;justify-content:space-between;padding:8px 14px;color:#7d96a7;font-size:9px;letter-spacing:.06em;background:#0b1726}.soft-dot{display:inline-block;background:#6aaea2;width:6px;height:6px;border-radius:50%;margin-right:4px}.visual-controls{display:flex;align-items:center;gap:12px;flex-wrap:wrap}.visual-controls label{display:flex;align-items:center;gap:4px;font-size:10px;letter-spacing:0;color:#aebdc7;white-space:nowrap}.visual-controls input{accent-color:#ecb273}.visual-controls select{font-size:9px;padding:4px}.stats-grid{padding:10px 15px 0}.stat{padding:12px 4px 14px;border-bottom:1px solid var(--line)}.stat p{font-size:9px;color:#a9beca;letter-spacing:.1em;display:flex;justify-content:space-between}.stat .info{font-size:8px;color:#7e9fa7;letter-spacing:.05em}.stat strong{display:block;font-size:31px;font-weight:580;letter-spacing:-.06em;line-height:1.17;margin:8px 0 1px;color:#f4f3ec;font-variant-numeric:tabular-nums}.stat strong em{font-size:13px;color:#9fadb9;font-weight:430;font-style:normal;letter-spacing:0}.stat small{font-size:10px;color:#8498a8}.stat-mini{font-size:10px;color:#8ebec1;margin-top:5px}.stat-mini.muted{color:#798da0}.stat-mini b{color:#dbbd97;font-weight:550}.graph-card{margin:17px 15px 0;border:1px solid var(--line);border-radius:9px;padding:12px 10px 8px;background:#101d2b}.graph-title{display:flex;justify-content:space-between;gap:5px}.graph-title span{display:block;color:#cbd6dc;font-size:9px;letter-spacing:.11em;font-weight:700}.graph-title small{font-size:9px;color:#778fa0}.graph-title .graph-live{font-size:8px;color:#79ceae;white-space:nowrap}#activityChart{width:100%;height:98px;display:block;margin-top:6px}.graph-bottom{display:flex;justify-content:space-between;color:#638195;font-size:9px}.validation{margin:17px 15px;background:#142536;border:1px solid #304253;border-radius:9px;padding:13px}.validator-label{font-size:9px;letter-spacing:.11em;font-weight:700;color:#d9ad7d}.validation h3{font-size:13px;font-weight:650;margin:7px 0}.validation p{font-size:10px;line-height:1.6;color:#9baebb}.validation p .faint{color:#a7d0c9;font-size:9px}.value-pair{display:flex;justify-content:space-between;gap:3px;font-size:9px;letter-spacing:.05em;color:#91a5b3;margin-top:10px}.value-pair b{color:#ebf2f4;font-weight:650;letter-spacing:0;font-variant-numeric:tabular-nums}.difference{border-top:1px solid #40576a;padding-top:9px;margin-top:11px;display:flex;justify-content:space-between;align-items:center;color:#92bdb6;font-size:8px;letter-spacing:.05em}.difference strong{font-size:14px;color:#9ce2d2;font-variant-numeric:tabular-nums}.validation .validation-footnote{margin-top:8px;color:#70899c;font-size:9px}.science{margin:16px 15px 22px;background:#0f1e2d;border:1px solid #263e51;border-radius:9px;overflow:hidden}.science summary{padding:13px;display:flex;align-items:center;justify-content:space-between;cursor:pointer;font-size:11px;letter-spacing:.12em;font-weight:700;list-style:none}.science summary::-webkit-details-marker{display:none}.science summary span:last-child{color:#f2bd80;font-size:18px}.science summary small{display:block;color:#7e96a7;font-size:8px;font-weight:500;letter-spacing:.07em;margin-top:3px}.science-content{border-top:1px solid var(--line);padding:13px;font-size:11px;color:#adc0ca;line-height:1.65}.science-content h3{font-size:12px;color:#e5c499;margin:13px 0 6px}.science-content h3:first-child{margin-top:0}.science-content p{margin-bottom:10px}.science-content b{color:#e8d9bd}.equation{padding:9px 7px;border-left:2px solid #d5a161;background:#071321;font-size:11px;color:#c6e4e1;margin:9px 0;word-break:break-word}.science-content a{color:#d7c08d;text-decoration:underline;text-underline-offset:2px}.science-content .disclaimer{font-size:10px;color:#7e9baa;border-top:1px solid var(--line);padding-top:11px}.bottom-bar{height:32px;flex:none;background:#08121f;border-top:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;gap:7px;padding:0 23px;color:#7991a2;font-size:9px;letter-spacing:.095em}.bottom-bar i{font-style:normal;color:#566d7f}.bottom-bar b{color:#b39b78}.footer-right{color:#ad997e}.footer-right span{font-size:14px;margin-left:4px}.loading,.scene-error{z-index:5;position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);border:1px solid #4e5f69;background:#101e2edb;padding:16px 24px;border-radius:10px;text-align:center;color:#edc28a;font-size:11px;letter-spacing:.11em}.loading span{animation:blink 1s infinite}@keyframes blink{50%{opacity:.25}}.scene-error{max-width:min(370px,85%);font-size:13px;color:#f6a88b}.scene-error p{font-size:11px;margin-top:9px;color:#acc0cd;letter-spacing:0}.scene-error code{word-break:break-all}
@media (max-width:1120px){.workspace{grid-template-columns:250px minmax(0,1fr) 244px}.topbar{gap:12px;padding:0 15px}.header-title h1{font-size:16px}.header-title h1 span{font-size:12px}.edition{display:none}.control-rail .rail-inner{padding-left:12px;padding-right:12px}.panel-heading{padding-left:13px;padding-right:13px}.scene-heading h2{font-size:28px}.transport-tag{display:none}.visual-controls{gap:5px}.scene-topline{left:15px;right:15px}}
@media (max-width:920px){.workspace{grid-template-columns:minmax(0,1fr) 245px}.control-rail{grid-row:2;grid-column:1/-1;overflow:visible;border-right:0;border-top:1px solid var(--line)}.viewer-section{grid-row:1;grid-column:1}.data-rail{grid-row:1;grid-column:2;overflow:visible}.rail-inner{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:4px 14px}.control-section-label,.section-line,.preset-grid,.trigger,.rail-hint{grid-column:1/-1}.preset-grid{grid-template-columns:repeat(3,1fr)}.control-row{margin-bottom:11px}.bottom-bar span:nth-child(2){display:none}}
@media (max-width:700px){.topbar{height:60px;padding:0 13px;gap:11px}.brand-symbol{font-size:22px}.brand-name{font-size:10px}.brand-name i,.header-divider,.header-tail,.header-title h1 span,.header-title .chip{display:none}.header-title h1{font-size:16px}.eyebrow{font-size:8px}.workspace{display:flex;flex-direction:column;overflow:visible;min-height:unset}.viewer-section{order:1}.viewport{height:390px;flex:none;min-height:390px}.scene-heading{top:56px;left:18px}.scene-heading h2{font-size:29px}.scene-heading p{font-size:9px}.scene-topline{top:12px;left:12px;right:12px;font-size:8px}.scene-marker{top:40%;left:61%}.legend{left:15px;right:10px;bottom:86px;font-size:9px;gap:8px}.viewport-footer{left:12px;right:12px;bottom:10px}.measure strong{font-size:18px}.view-switch button{font-size:9px;padding:6px 7px}.transport{height:47px;padding:4px 8px}.transport-main,.transport-other{gap:5px}.transport button{min-width:27px;height:27px;padding:0 6px}.transport-time{font-size:11px;margin-left:2px}.transport-other label{display:none}.viewport-subline{flex-wrap:wrap;padding:6px 10px}.visual-controls{width:100%;justify-content:space-between}.visual-controls label{font-size:9px}.data-rail{order:2;overflow:visible;border-left:0;border-bottom:1px solid var(--line)}.data-rail>.panel-heading{height:57px}.stats-grid{display:grid;grid-template-columns:1fr 1fr;gap:0 13px;padding:0 14px}.stat{min-height:122px}.stat p{font-size:8px;letter-spacing:.05em}.stat .info{font-size:7px}.stat strong{font-size:26px;margin-top:9px}.stat small{font-size:9px}.graph-card{margin:14px}.validation{margin:14px}.control-rail{order:3;overflow:visible}.control-rail .panel-heading{height:57px}.rail-inner{grid-template-columns:repeat(2,minmax(0,1fr));padding:13px;gap:8px 17px}.control-row label{align-items:start;flex-wrap:wrap;font-size:10px}.control-row output{display:block}.control-section-label{margin:2px 0 4px}.preset{font-size:10px;padding:8px 6px}.bottom-bar{padding:0 10px;font-size:8px}.bottom-bar .footer-right{display:none}}
@media (max-width:400px){.topbar{gap:6px}.brand-name{font-size:9px}.header-title h1{font-size:14px}.scene-heading h2{font-size:26px}.viewport{height:372px;min-height:372px}.scene-topline span:last-child{font-size:7px}.view-switch button{padding:5px 6px}.measure{min-width:110px}.legend{bottom:78px}.rail-inner{gap:6px 11px}}
@media (prefers-reduced-motion:reduce){.loading span{animation:none}}
body.embed .topbar,body.embed .bottom-bar{display:none}body.embed .workspace{min-height:100vh}body.embed .viewer-section{min-height:90vh}body.embed .viewport{min-height:380px}@media (max-width:700px){body.embed .viewer-section{min-height:0}body.embed .viewport{min-height:375px}}
/* Desktop exhibit uses a bounded, internally scrollable three-column workspace. */
@media (min-width:921px){.workspace{height:calc(100vh - 102px);min-height:0;flex:1;grid-template-rows:minmax(0,1fr)}.control-rail,.data-rail,.viewer-section{min-height:0}.viewport{min-height:0}}
@media (min-width:701px) and (max-width:920px){.workspace{height:auto;min-height:0;overflow:visible}.viewer-section .viewport{min-height:580px}}
@media (max-width:700px){.workspace{height:auto}.scene-heading{top:37px}.scene-heading h2{font-size:23px;line-height:1.16;max-width:270px}.scene-heading h2 em{color:#f3c188}}
@media (max-width:400px){.scene-heading h2{font-size:22px;max-width:260px}}
@media (min-width:921px){html,body{height:100%}.app-shell{height:100vh;min-height:0}.workspace{flex:none;height:calc(100vh - 102px);min-height:0;max-height:calc(100vh - 102px);overflow:hidden}}
@media (min-width:701px){.scene-heading{top:36px}.scene-heading h2{font-size:clamp(22px,2.05vw,31px)}}
