:root{color-scheme:dark;--bg:#07111b;--panel:#0b1723;--surface:#0d1c29;--stroke:#213646;--stroke2:#19303f;--muted:#7e96a5;--text:#dfedf4;--aqua:#83e4da;--ice:#9ed9ff;--lime:#a3e7bc;--amber:#e6bc83;--side:288px;font-family:Inter,ui-sans-serif,system-ui,-apple-system,"Segoe UI",sans-serif;font-synthesis:none}*{box-sizing:border-box}html,body{height:100%;margin:0}body{background:var(--bg);color:var(--text);overflow:hidden}button,select,input{font:inherit}button{cursor:pointer}button,select{color:inherit}button:focus-visible,a:focus-visible,summary:focus-visible,input:focus-visible,select:focus-visible{outline:2px solid var(--aqua);outline-offset:3px}button[disabled]{opacity:.35;cursor:not-allowed}a{color:inherit;text-decoration:none}h1,h2,h3,p{margin:0}.app{height:100dvh;min-height:570px;display:flex;flex-direction:column}.header{height:62px;min-height:62px;display:flex;align-items:center;justify-content:space-between;padding:0 23px;border-bottom:1px solid #183140;background:#07131e}.brand{display:flex;align-items:center;gap:8px;white-space:nowrap}.brand-logo{font-size:31px;line-height:1;font-weight:300;color:var(--aqua);transform:rotate(45deg)}.brand-strong{font-size:15px;font-weight:850;letter-spacing:-.55px}.brand-strong span{font-weight:350;color:#d7e8ef}.brand-suffix{border-left:1px solid #294557;padding-left:11px;margin-left:5px;font-size:9px;font-weight:750;letter-spacing:1.8px;color:#7495a3}.top-center{display:flex;gap:18px;align-items:center;margin-left:-64px}.serial{font-size:10px;letter-spacing:1.65px;color:#b3cbd5;font-weight:650}.serial.dim{color:#5b7889}.topline{height:1px;width:22px;background:#49606c}.header-right{display:flex;align-items:center;gap:8px}.dot{background:#77deb2;width:6px;height:6px;border-radius:50%;box-shadow:0 0 11px #77deb271}.live-caption{font-size:9px;letter-spacing:1.3px;font-weight:700;color:#b4dec7}.icon-button{width:25px;height:25px;border:1px solid #345164;background:transparent;border-radius:50%;font-size:12px;color:#b9d2e4;margin-left:12px}.layout{display:grid;grid-template-columns:var(--side) minmax(0,1fr) 289px;grid-template-areas:"input viewer output";height:calc(100% - 62px);min-height:0}.panel{min-height:0;overflow-x:hidden;overflow-y:auto;scrollbar-width:thin;scrollbar-color:#294150 transparent}.inputs-panel{grid-area:input;background:#0b1723;border-right:1px solid var(--stroke);padding:26px 22px 27px}.results-panel{grid-area:output;background:#0b1723;border-left:1px solid var(--stroke);padding:26px 20px 32px}.viewer-column{grid-area:viewer;display:flex;flex-direction:column;min-width:0;min-height:0;background:#081824}.side-head{display:flex;justify-content:space-between;align-items:center;margin-bottom:13px}.eyebrow{font-size:9px;letter-spacing:1.75px;font-weight:800;color:var(--aqua);margin-bottom:8px}.side-head h2{font-size:23px;letter-spacing:-.75px;font-weight:550}.tiny-plus{font-size:19px;color:#527989;font-weight:200}.left-copy{font-size:11.2px;line-height:1.65;color:var(--muted);padding-bottom:18px;border-bottom:1px solid var(--stroke2)}.section-title{display:flex;align-items:center;gap:8px;color:#bbced8;font-size:9px;font-weight:800;letter-spacing:1.15px;margin:20px 0 18px}.section-number{margin-left:auto;color:#4f6e7d;font-size:10px}.mini-circle{height:7px;width:7px;display:inline-block;border-radius:50%}.mini-circle.yellow{background:var(--amber)}.mini-circle.cyan{background:var(--aqua)}.mini-circle.green{background:#75d7aa}.second-section{border-top:1px solid var(--stroke2);padding-top:21px;margin-top:22px}.control{margin:0 0 16px}.control-row{display:flex;align-items:baseline;justify-content:space-between;gap:8px;margin-bottom:10px}.control label{font-size:11px;font-weight:530;color:#bbd0da}.control output{font-size:12px;white-space:nowrap;color:#ebf4fa;letter-spacing:-.18px;font-weight:650;font-variant-numeric:tabular-nums}.control output small{color:#718d9d;font-size:10px;font-weight:500}input[type=range]{width:100%;height:4px;appearance:none;-webkit-appearance:none;border-radius:99px;display:block;background:linear-gradient(to right,var(--aqua) 0,var(--aqua) var(--fill,50%),#294150 var(--fill,50%),#294150 100%);cursor:pointer;margin:0}input[type=range]::-webkit-slider-thumb{-webkit-appearance:none;height:12px;width:12px;border:3px solid #a3f1e7;background:#112a35;box-shadow:0 0 0 2px #4f918c55;border-radius:50%}input[type=range]::-moz-range-thumb{height:8px;width:8px;border:2px solid #a3f1e7;background:#112a35;border-radius:50%}.range-ends{display:flex;justify-content:space-between;font-size:9px;color:#4c6d7d;margin-top:7px;font-variant-numeric:tabular-nums}.preset-block{border-top:1px solid var(--stroke2);margin-top:8px;padding-top:18px}.preset-top{display:flex;align-items:center;justify-content:space-between;margin-bottom:12px}.preset-top strong{font-size:10px;letter-spacing:1.3px;color:#bbced8}.reset-small{border:0;background:transparent;color:#80a3aa;font-size:9px;letter-spacing:.8px;padding:5px}.reset-small:hover{color:var(--aqua)}.preset-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:7px}.preset{border:1px solid #284253;border-radius:7px;background:#122432;display:flex;flex-direction:column;align-items:flex-start;justify-content:center;text-align:left;padding:10px 8px;gap:5px;min-width:0}.preset:hover,.preset.active{background:#153b43;border-color:#61b7ae}.preset>span{color:#a8dde9;font-size:17px}.preset strong{font-size:10px;color:#deeff7}.preset small{color:#6b8b9d;font-size:8px;white-space:nowrap}.stage{flex:1;min-height:0;position:relative;overflow:hidden;background:radial-gradient(ellipse at 55% 45%,#20425a 0%,#102433 65%,#081823)}#gl{position:absolute;inset:0;height:100%;width:100%;display:block;touch-action:none}.stage-shading{pointer-events:none;position:absolute;inset:0;background:linear-gradient(180deg,rgba(6,22,33,.75),transparent 36%,transparent 65%,rgba(5,17,26,.64))}.stage-top{position:absolute;left:27px;right:24px;top:26px;display:flex;align-items:flex-start;justify-content:space-between;gap:15px;pointer-events:none}.stage-index{font-size:10px;letter-spacing:2.5px;font-weight:750;color:#8fe6df}.slash{color:#577481;margin:0 4px}.stage-label h1{font-size:clamp(30px,3.1vw,52px);font-weight:580;line-height:1.12;letter-spacing:-1.8px;color:#f0f7fb;margin:12px 0 7px;text-shadow:0 3px 12px #06213688}.stage-label h1 em{font-style:normal;color:#a6e6ec}.stage-label p{font-size:12px;color:#bad0db;letter-spacing:.1px}.stage-status{white-space:nowrap;border:1px solid #57869768;background:#0b2436a9;backdrop-filter:blur(10px);border-radius:20px;font-size:9px;color:#b9d4da;letter-spacing:1.1px;display:flex;align-items:center;gap:7px;padding:9px 12px}.pulse{width:5px;height:5px;border-radius:50%;background:#8de6b0;box-shadow:0 0 10px #91dfcd}.stage-annotation{pointer-events:none;position:absolute;font-size:9px;letter-spacing:1.4px;font-weight:750;color:#dfedf6;display:flex;flex-direction:column;gap:5px;text-shadow:0 2px 8px #001820;opacity:.9}.stage-annotation strong{display:inline;font-size:10px;color:var(--aqua)}.annot-desc{font-size:9px;letter-spacing:0;color:#a7c3d1;font-weight:450}.annot-line{width:100%;height:1px;background:#90e4e3;opacity:.7;margin-bottom:3px}.annotation-left{left:8%;bottom:36%;width:115px}.annotation-right{right:6.5%;top:43%;width:130px}.stage-bottom{position:absolute;bottom:24px;left:27px;right:25px;display:flex;justify-content:space-between;gap:15px;align-items:center;pointer-events:none}.stage-scale,.stage-hint{font-size:9px;color:#c4d8dd;letter-spacing:1px;font-weight:600}.stage-scale .scale-line{width:39px;height:2px;background:#caeaf5;display:block;margin-bottom:8px;position:relative}.stage-scale .scale-line:after{content:"";height:7px;width:2px;position:absolute;background:#caeaf5;right:0;top:-2px}.stage-scale i{font-style:normal;color:#6e9ea9}.stage-hint{letter-spacing:.3px;color:#a9c7d0;font-weight:450}.stage-hint span{margin:0 4px;color:#5b8693}.hint-orbit{font-size:15px}.transport{height:72px;min-height:72px;background:#0b1b29;border-top:1px solid #294654;border-bottom:1px solid #294654;display:flex;align-items:center;justify-content:space-between;padding:0 18px;gap:9px}.transport-left,.transport-right{display:flex;align-items:center;gap:7px}.play-button{width:39px;height:39px;border:0;background:#a4e6df;color:#0b2933;border-radius:6px;font-weight:900;font-size:17px;display:flex;justify-content:center;align-items:center}.play-button:hover{background:#d2fff6}.transport-button,.tool-button{border:1px solid #284858;background:#142a39;border-radius:6px;height:34px;min-width:36px;display:flex;align-items:center;justify-content:center;color:#b8d0de;font-size:17px}.transport-button:hover,.tool-button:hover{border-color:#80cccb;color:#e6ffff}.divider-v{width:1px;height:25px;background:#2b4352;margin:0 7px}.day-readout{margin-left:3px;display:flex;flex-direction:column;gap:3px}.day-readout>span{color:#7892a0;font-size:8px;letter-spacing:1.3px;font-weight:800}.day-readout strong{font-size:14px;font-weight:670;font-variant-numeric:tabular-nums}.day-readout small{font-size:10px;color:#607d8a;font-weight:450}.speed-label{font-size:9px;color:#7898a6;letter-spacing:1px}select{background:#132c3c;border:1px solid #315465;border-radius:6px;padding:8px 6px;color:#e3f3f8;font-size:11px}select option{background:#122635}.tool-button{padding:0 10px;font-size:10px;letter-spacing:.7px;font-weight:750}.tool-button span{color:#7294a2;padding-left:4px}.tool-button.icon-tool{font-size:18px;padding:0;min-width:35px}.story-line{display:flex;align-items:center;justify-content:space-evenly;gap:10px;padding:15px 23px;background:#071522;min-height:81px}.story-step{display:grid;grid-template-columns:auto 1fr;column-gap:8px;row-gap:5px;align-items:center}.story-step b{border-radius:50%;font-size:8px;border:1px solid #50788a;width:18px;height:18px;display:grid;place-items:center;color:#a1dce3}.story-step strong{font-size:10px;letter-spacing:1px;font-weight:700;color:#d1e7eb}.story-step span{grid-column:2;white-space:nowrap;font-size:9px;color:#6d94a0}.story-arrow{font-size:18px;color:#466b7a;margin:0 3px}.results-head{margin-bottom:20px}.live-note{border-top:1px solid var(--stroke2);padding:14px 0;display:flex;align-items:center;gap:8px;font-size:8px;letter-spacing:1px;color:#a6bec9;font-weight:800}.live-pipe{margin-left:auto;color:#92d9b2;font-size:8px;letter-spacing:1px}.main-readout{border:1px solid #274d60;background:linear-gradient(135deg,#143444,#0e2433);border-radius:8px;padding:16px 16px 14px;position:relative;overflow:hidden}.main-readout:after{content:"";position:absolute;right:-50px;top:23px;border:1px solid #8de9db12;width:140px;height:140px;border-radius:50%;pointer-events:none}.measure-label{font-size:10px;letter-spacing:1.35px;color:#a8cbd0;font-weight:700;display:flex;justify-content:space-between}.measure-label span{color:#4c7a88}.big-number{display:flex;align-items:baseline;gap:7px;margin-top:8px}.big-number strong{font-size:50px;letter-spacing:-2.4px;color:#e7fafa;font-weight:570;font-variant-numeric:tabular-nums;line-height:1.1}.big-number small{font-size:18px;color:#9cbccb}.trend{display:inline-flex;align-items:center;font-size:9px;letter-spacing:.85px;font-weight:800;border-radius:3px;padding:5px 7px;margin-top:9px}.trend.good{background:#163f3b;color:#8ee7c9}.trend.bad{background:#3d2e30;color:#f5a2a2}.trend.flat{background:#273640;color:#b2cada}.measure-foot{font-size:9px;color:#7d9fae;margin-top:10px}.metric-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin:11px 0 22px}.metric-card{border:1px solid #253a48;border-radius:6px;background:#101e2d;padding:13px 10px}.metric-card>span{display:block;color:#7d99a6;font-size:8px;letter-spacing:.65px;font-weight:700;line-height:1.6;min-height:24px}.metric-card div{display:flex;align-items:baseline;gap:5px;margin-top:7px}.metric-card strong{font-size:20px;color:#dceff5;font-weight:610;letter-spacing:-.75px;font-variant-numeric:tabular-nums}.metric-card small{font-size:9px;color:#698796;white-space:nowrap}.energy-panel{border-top:1px solid var(--stroke2);padding-top:15px}.energy-head{display:flex;justify-content:space-between;color:#bad0d7;font-size:10px;font-weight:750;letter-spacing:1.2px;margin-bottom:17px}.energy-head span:last-child{color:#628494;font-weight:600}.energy-item{margin-bottom:15px}.energy-item-heading{font-size:10px;display:flex;justify-content:space-between;margin-bottom:8px;color:#9bb5c1}.energy-item-heading strong{color:#d3e6ef;font-size:11px;font-variant-numeric:tabular-nums}.energy-track{height:5px;border-radius:5px;background:#1d3443;overflow:hidden}.energy-fill{height:100%;transition:width .35s linear}.amber-fill{background:linear-gradient(90deg,#a7774b,#e5c38e)}.blue-fill{background:linear-gradient(90deg,#4b89ad,#91cbe8)}.energy-panel>p{font-size:9px;line-height:1.5;color:#638492;margin-top:14px}.equilibrium{border:1px solid #285a59;background:#102d33;border-radius:6px;display:flex;gap:9px;padding:11px;margin:20px 0}.equilibrium-dot{border-radius:50%;background:#7ce7c4;width:7px;height:7px;flex-shrink:0;margin-top:3px}.equilibrium p{font-size:10px;color:#b7dcd5;line-height:1.5}.science-panel{border-top:1px solid var(--stroke2);border-bottom:1px solid var(--stroke2)}.science-panel summary{cursor:pointer;list-style:none;display:flex;align-items:center;justify-content:space-between;font-size:10px;color:#d3e7ed;letter-spacing:1.2px;font-weight:750;padding:16px 0}.science-panel summary::-webkit-details-marker{display:none}.science-panel summary b{font-size:15px;color:#9de8dd;margin-right:8px}.science-panel[open] .chev{transform:rotate(180deg)}.science-content{padding-bottom:17px;color:#91abb7;font-size:10px;line-height:1.7}.science-content h3{font-size:11px;font-weight:700;color:#e1f0f6;margin:14px 0 7px}.science-content h3:first-child{margin-top:0}.science-content p{margin-bottom:9px}.science-content code{color:var(--aqua);overflow-wrap:anywhere}.formula{border-left:2px solid #5da7af;padding:10px 9px;background:#112735;color:#ddf8f6;font-family:Georgia,serif;font-size:14px;margin-bottom:10px}.tag{display:inline-block;font:700 8px system-ui,sans-serif;letter-spacing:.6px;padding:3px 4px;border-radius:3px;margin-left:4px;vertical-align:middle}.tag.textbook{background:#163f3d;color:#8dd5c1}.tag.illustrative{background:#463922;color:#e9c88c}.validation{padding:17px 0;border-bottom:1px solid var(--stroke2)}.validation-heading{font-size:9px;font-weight:800;color:#bbd2dc;letter-spacing:1px;white-space:nowrap}.verify-icon{color:#92e2c3;font-size:13px;margin-right:5px}.validation>p{font-size:9px;line-height:1.6;color:#6d95a2;margin:10px 0}.v-row{display:flex;justify-content:space-between;align-items:center;gap:8px;margin:9px 0;font-size:10px;color:#8ba8b6}.v-row strong{font-weight:650;color:#d3e9ef;font-size:10px;font-variant-numeric:tabular-nums}.val-diff strong{color:#88e5bf}.disclaimer{font-size:9px;line-height:1.65;color:#597783;margin-top:20px}.toast{position:fixed;bottom:24px;left:50%;transform:translate(-50%,20px);background:#163747;color:#d6eff2;border:1px solid #3e8890;border-radius:7px;font-size:12px;box-shadow:0 15px 35px #0008;padding:12px 18px;opacity:0;pointer-events:none;transition:opacity .2s,transform .2s;z-index:15}.toast.show{opacity:1;transform:translate(-50%,0)}.webgl-error{position:absolute;z-index:8;inset:24% 14%;background:#0a202beF;border:1px solid #b77970;border-radius:14px;text-align:center;padding:30px;color:#d8eaf2}.webgl-error[hidden]{display:none}.webgl-error strong{font-size:17px}.webgl-error p{font-size:12px;line-height:1.6;margin-top:12px}.error-mark{display:grid;place-items:center;margin:0 auto 15px;border:1px solid #c47d6a;color:#ffe2d4;border-radius:50%;width:36px;height:36px}.help-dialog{border:1px solid #3c7686;background:#102633;color:#d9eff4;padding:25px;width:min(410px,calc(100% - 30px));border-radius:12px;box-shadow:0 20px 70px #000}.help-dialog::backdrop{background:#030e17b8}.help-dialog h2{font-size:20px;margin-bottom:15px}.help-dialog p{font-size:12px;color:#acc6d2;line-height:1.65;margin-bottom:14px}kbd{border:1px solid #3f6270;border-radius:3px;padding:2px 5px;color:white}.dialog-close{background:#1d575b;border:1px solid #6daaae;padding:9px 18px;border-radius:6px;color:#d6f4f1}
@media(min-width:1550px){:root{--side:320px}.layout{grid-template-columns:var(--side) minmax(0,1fr) 325px}.inputs-panel{padding-left:29px;padding-right:29px}.results-panel{padding-left:25px;padding-right:25px}}
@media(max-width:1150px){:root{--side:258px}.layout{grid-template-columns:var(--side) minmax(0,1fr) 263px}.inputs-panel{padding:22px 17px}.results-panel{padding:22px 16px}.top-center{display:none}.stage-label h1{font-size:34px}.stage-annotation{display:none}.story-step span{display:none}.story-step{grid-template-columns:auto 1fr}.transport{padding:0 9px}.speed-label{display:none}.transport-left,.transport-right{gap:4px}.divider-v{margin:0 4px}.big-number strong{font-size:42px}}
@media(max-width:860px){body{overflow:auto}.app{height:auto;min-height:100dvh}.layout{height:auto;display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);grid-template-areas:"viewer viewer" "input output"}.viewer-column{height:65vh;min-height:460px}.panel{overflow:visible}.inputs-panel,.results-panel{border-top:1px solid var(--stroke)}.story-line{min-height:64px}.stage-label h1{font-size:39px}.top-center{display:none}.stage-annotation{display:flex}.header{height:56px;min-height:56px}.results-panel{border-left:1px solid var(--stroke)}.validation-heading{white-space:normal}}
@media(max-width:570px){:root{--side:100%}.header{padding:0 16px;height:53px;min-height:53px}.brand-strong{font-size:14px}.brand-suffix{font-size:8px;padding-left:8px;margin-left:1px;letter-spacing:.7px}.live-caption{font-size:8px}.head-help{display:none}.layout{display:flex;flex-direction:column}.viewer-column{height:520px;min-height:520px;order:0}.inputs-panel{order:1;padding:22px 22px}.results-panel{order:2;padding:25px 22px;border-left:0}.stage-top{left:18px;right:15px;top:17px}.stage-index{font-size:8px;letter-spacing:1.7px}.stage-label h1{font-size:37px;letter-spacing:-1.3px;margin:9px 0 6px}.stage-label p{font-size:10px;max-width:250px}.stage-status{font-size:0;min-width:23px;height:23px;padding:7px;justify-content:center}.stage-bottom{left:18px;right:16px;bottom:15px}.stage-scale{font-size:8px;letter-spacing:.5px}.stage-hint{font-size:8px}.stage-annotation{display:none}.stage{min-height:375px}.transport{height:63px;min-height:63px;padding:0 11px}.play-button{height:35px;width:35px}.transport-button{height:32px;min-width:31px}.tool-button{height:31px;min-width:31px}.transport-right .divider-v,.speed-label{display:none}.transport-right{gap:4px}.transport-left{gap:4px}.transport-right select{padding:7px 4px;max-width:52px}.transport-right .tool-button{font-size:9px;padding:0 6px}.transport-right .icon-tool{font-size:17px;min-width:29px}.day-readout strong{font-size:12px}.day-readout>span{font-size:7px}.story-line{min-height:81px;padding:12px;gap:5px}.story-step b{height:17px;width:17px;font-size:7px}.story-step strong{font-size:8px;letter-spacing:.3px}.story-arrow{font-size:13px;margin:0}.results-panel{padding-bottom:45px}.metric-card strong{font-size:24px}.main-readout{padding:20px}.big-number strong{font-size:55px}.science-content{font-size:12px}.control{margin-bottom:21px}.control label{font-size:12px}.presets{margin-top:10px}}
@media(max-width:390px){.brand-suffix{display:none}.story-step strong{font-size:8px}.transport-left .divider-v{margin:0 1px}.stage-label h1{font-size:33px}.transport-right #qualityBtn{padding:0 5px}.transport-right #shotBtn{display:none}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{transition-duration:.001ms!important;animation-duration:.001ms!important;scroll-behavior:auto!important}}
/* Compact viewport for host inline embeds. */
.app.embed{height:100dvh;min-height:330px}.embed .header,.embed .inputs-panel,.embed .results-panel,.embed .story-line{display:none}.embed .layout{height:100%;display:block}.embed .viewer-column{height:100%;min-height:0}.embed .stage{flex:1;min-height:0}.embed .transport{height:60px;min-height:60px}.embed .stage-label h1{font-size:clamp(24px,3.4vw,46px)}
@media(max-width:570px){.app.embed{height:100dvh}.embed .viewer-column{height:100%}.embed .stage{min-height:0}}
