:root{--bg:#090f19;--panel:#111b2a;--panel2:#0e1725;--line:#283647;--text:#edf3fa;--muted:#91a3b6;--accent:#61e2c2;--accent-soft:#61e2c21b}*{box-sizing:border-box}html,body{margin:0;min-width:0;background:var(--bg);color:var(--text);font-family:Inter,ui-sans-serif,system-ui,-apple-system,Segoe UI,sans-serif}body{overflow-x:hidden}.app{max-width:1550px;margin:auto;padding:0 30px}.brand{height:66px;display:flex;align-items:center;gap:12px;border-bottom:1px solid var(--line);font-size:12px;letter-spacing:.17em;font-weight:800}.brandmark{color:var(--accent);font-size:27px}.brand small,.header-right{color:var(--muted);font-size:10px}.header-right{margin-left:auto}main{display:grid;grid-template-columns:minmax(0,1fr) 340px;gap:20px;margin-top:22px}.stage-panel,.controls,.analysis-panel,.science{background:var(--panel);border:1px solid var(--line);border-radius:16px}.stage-panel{overflow:hidden}.stage-top{padding:25px 28px 12px;display:flex;justify-content:space-between;gap:14px}.eyebrow{font-size:10px;font-weight:850;letter-spacing:.2em;color:var(--accent)}h1{font-size:clamp(28px,3vw,46px);line-height:1.1;letter-spacing:-.045em;margin:12px 0 10px}h1 em{font-style:normal;color:var(--accent)}.lede{color:var(--muted);font-size:13px;line-height:1.5;margin:0}.status{white-space:nowrap;font-size:10px;letter-spacing:.09em;color:var(--accent);margin-top:5px}.dot{display:inline-block;width:7px;height:7px;background:var(--accent);border-radius:50%;margin-right:6px;box-shadow:0 0 13px var(--accent)}.scene{position:relative;height:360px;background:radial-gradient(ellipse at 48% 45%,#1b3141 0%,#101c2b 47%,#0b1421 90%);overflow:hidden}.scene canvas{width:100%;height:100%;display:block;touch-action:pan-y;cursor:grab}.scene canvas:active{cursor:grabbing}.scene-label{position:absolute;top:44%;pointer-events:none;display:flex;flex-direction:column;gap:5px}.scene-label.left{left:25px}.scene-label.right{right:24px;text-align:right}.scene-label span,.scene-bottom{font-size:9px;letter-spacing:.14em;color:var(--muted)}.scene-label strong{font-size:11px;font-weight:500}.scene-bottom{position:absolute;bottom:15px;left:25px;right:25px;display:flex;justify-content:space-between;pointer-events:none}.tiny{color:var(--accent)}.caption{padding:14px 25px;min-height:53px;color:var(--accent);background:#0d1b27;font-size:12px;line-height:1.5;border-top:1px solid var(--line)}.controls{padding:20px}.aside-head{display:flex;justify-content:space-between;align-items:center;gap:8px}.quality{border:1px solid var(--line);border-radius:20px;background:#162537;color:var(--muted);font-size:9px;padding:8px 10px;cursor:pointer}.control-primary{padding:22px 0 19px;border-bottom:1px solid var(--line)}.control-primary label{font-size:13px;font-weight:700}.help{color:var(--muted);cursor:help}.big-value{display:flex;align-items:baseline;justify-content:space-between;margin:14px 0}.big-value strong{font-size:37px;letter-spacing:-.05em;color:var(--accent)}.big-value span{color:var(--muted);font-size:13px}input[type=range]{width:100%;accent-color:var(--accent);cursor:pointer;margin:7px 0 9px}.range-ends{display:flex;justify-content:space-between;font-size:9px;color:var(--muted);letter-spacing:.06em}.section-heading{font-size:10px;font-weight:750;letter-spacing:.13em;color:var(--muted);margin:19px 0 11px}.preset-grid{display:grid;grid-template-columns:1fr 1fr;gap:7px}.preset-grid button{background:#152335;border:1px solid #344457;border-radius:9px;color:var(--text);text-align:left;padding:11px;font-size:11px;cursor:pointer}.preset-grid button small{display:block;color:var(--muted);margin-top:5px}.preset-grid button.selected{border-color:var(--accent);background:var(--accent-soft)}.minor-controls .section-heading{margin-top:22px}.slider-row{display:flex;justify-content:space-between;align-items:center;font-size:11px;color:#d2dfeb;margin-top:8px}.slider-row span{color:var(--muted);cursor:help}.slider-row output{color:var(--accent);font-variant-numeric:tabular-nums}.minor-controls input{margin:3px 0 5px}.transport{display:flex;gap:8px;margin-top:14px}.transport button{flex:1;background:#192a3a;border:1px solid #395061;color:var(--text);padding:11px 5px;border-radius:8px;font-size:11px;cursor:pointer}button:hover{filter:brightness(1.18)}button:focus-visible,input:focus-visible,summary:focus-visible{outline:2px solid var(--accent);outline-offset:2px}.dashboard{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;margin:18px 0}.readout{background:var(--panel);border:1px solid var(--line);border-radius:12px;padding:17px 18px;min-width:0}.readout>span{display:block;font-size:9px;letter-spacing:.12em;color:var(--muted);font-weight:750}.readout strong{display:block;font-size:clamp(24px,2.5vw,34px);letter-spacing:-.04em;color:var(--accent);margin:11px 0 5px;white-space:nowrap}.readout strong small{font-size:14px;color:var(--text);font-weight:500}.readout>small{color:var(--muted);font-size:10px;line-height:1.4;display:block}.analysis-panel{padding:24px 27px}.chart-header{display:flex;justify-content:space-between;gap:20px}.chart-header h2,.checks-head h2{font-size:19px;letter-spacing:-.025em;margin:8px 0}.chart-header p{font-size:12px;color:var(--muted);margin:0;line-height:1.6}.legend{font-size:10px;color:var(--muted);white-space:nowrap;align-self:end}.legend-dot{display:inline-block;width:9px;height:9px;background:var(--accent);border-radius:50%;margin:0 4px}.legend-line{display:inline-block;width:17px;border-top:2px dashed #b2bdcb;margin:0 4px 3px 12px}.plot{height:220px;margin:15px 0 10px}.plot canvas{width:100%;height:100%;display:block}.checks-head{display:flex;justify-content:space-between;align-items:baseline;gap:15px;border-top:1px solid var(--line);padding-top:12px}.checks-head span{font-size:10px;color:var(--muted)}.checks{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.check{background:var(--panel2);border:1px solid var(--line);padding:13px;border-radius:9px}.check .check-name{font-size:11px;font-weight:700}.check .check-desc{font-size:10px;color:var(--muted);line-height:1.5;margin:7px 0}.check .check-result{font-size:12px;color:var(--accent);font-variant-numeric:tabular-nums}.science{margin:18px 0;overflow:hidden}.science summary{padding:18px 24px;cursor:pointer;display:flex;justify-content:space-between;font-size:12px;letter-spacing:.1em;font-weight:800;list-style:none}.science summary::-webkit-details-marker{display:none}.science summary small{font-size:10px;letter-spacing:0;color:var(--muted);font-weight:400;margin-left:12px}.chevron{color:var(--accent);font-size:20px}.science[open] .chevron{transform:rotate(45deg)}.science-content{padding:0 24px 20px;max-width:1000px;color:#c4d2df;font-size:13px;line-height:1.8}.equation{background:#0b1421;border-left:3px solid var(--accent);padding:13px 18px;font-size:17px;color:var(--accent);overflow-x:auto}footer{padding:14px 3px 30px;display:flex;justify-content:space-between;color:var(--muted);font-size:9px;letter-spacing:.13em}@media(max-width:1050px){main{grid-template-columns:minmax(0,1fr) 310px}.app{padding:0 16px}.scene-label{display:none}}@media(max-width:760px){.app{padding:0 12px}.brand{height:48px}.header-right{display:none}main{display:block;margin-top:12px}.stage-panel{margin-bottom:12px}.stage-top{padding:20px 18px 12px}.status{font-size:8px}.scene{height:310px}.scene-bottom{left:15px;right:15px;font-size:8px}.controls{padding:17px}.minor-controls{display:grid;grid-template-columns:1fr;}.dashboard{grid-template-columns:1fr 1fr;gap:9px;margin:12px 0}.readout{padding:13px}.readout strong{font-size:27px}.analysis-panel{padding:18px 13px}.chart-header{display:block}.legend{margin-top:12px}.checks{grid-template-columns:1fr}.checks-head{display:block}.science summary small{display:block;margin:5px 0 0}footer span{display:none}}body.embed-mode{height:100vh;height:100dvh;overflow:hidden}body.embed-mode .brand{display:none}body.embed-mode .app{height:100%;overflow-y:auto}body.embed-mode main{margin-top:10px}@media(max-width:400px){h1{font-size:29px}.stage-top{padding:17px 15px 12px}.scene{height:285px}.lede{font-size:12px}.readout>span{font-size:8px}.readout strong{font-size:24px}}
