:root{color-scheme:dark;--page:#080e1b;--panel:#0d1625;--panel2:#101b2c;--stroke:#1c2d3d;--quiet:#7f91aa;--text:#e6f0ff;--cyan:#65dfd5;--mint:#9af3bb;--orange:#ffb978;--pink:#f17fae;--violet:#a995ff}*{box-sizing:border-box}html,body{margin:0;min-height:100%;font-family:Inter,ui-sans-serif,system-ui,-apple-system,"Segoe UI",sans-serif;color:var(--text);background:var(--page)}body{background-image:radial-gradient(ellipse at 55% -25%,#20204665,transparent 50%)}button,input,select{font:inherit}button{cursor:pointer;color:inherit}button:focus-visible,input:focus-visible,select:focus-visible{outline:2px solid var(--cyan);outline-offset:3px}.app{min-height:100vh;display:flex;flex-direction:column;max-width:2000px;margin:auto}.topbar{height:73px;flex-shrink:0;display:flex;align-items:center;justify-content:space-between;padding:11px 24px 10px;border-bottom:1px solid var(--stroke);background:#0b1221ee}.brand{display:flex;align-items:center;gap:12px}.brand-mark{width:40px;height:40px;display:grid;place-items:center;background:linear-gradient(135deg,#6fe2d1,#9f8bff);border:1px solid #a7eef3;border-radius:12px;color:#071323;font-size:29px;box-shadow:0 0 24px #74d8db2a}.brand-over{letter-spacing:2px;font-size:9px;font-weight:800;color:var(--cyan)}.divide{padding:0 4px;color:#67758f}.topbar h1{margin:1px 0 0;font-weight:680;font-size:18px;letter-spacing:-.6px}.topbar h1 em{font-style:normal;color:#ed91b6}.topbar-right{display:flex;align-items:center;gap:15px}.seed,.live{font-size:10px;font-weight:800;letter-spacing:1.2px;color:#9aaec2}.seed{border:1px solid #263a50;border-radius:6px;padding:8px 9px}.live{display:flex;align-items:center;gap:7px}.live i{background:#89edc4;width:7px;height:7px;border-radius:50%;box-shadow:0 0 9px #62dab0}.dashboard{flex:1;min-height:0;display:grid;grid-template-columns:250px minmax(0,1fr) 252px;gap:0;border-bottom:1px solid var(--stroke)}.sidebar{background:#0e1726;min-width:0;padding:18px 16px;overflow-y:auto;max-height:calc(100vh - 119px)}.controls-panel{border-right:1px solid var(--stroke)}.readouts-panel{border-left:1px solid var(--stroke)}.eyebrow{color:var(--cyan);font-size:9px;letter-spacing:1.25px;font-weight:800}.sidebar h2{font-size:17px;letter-spacing:-.5px;line-height:1.3;margin:8px 0 4px}.sidebar-heading p{font-size:11px;color:var(--quiet);line-height:1.55;margin:0 0 13px}.presets{display:flex;flex-direction:column;gap:5px;margin:13px 0 18px}.preset{border:1px solid #233347;background:#121e30;color:#b6c6d8;font-size:11px;text-align:left;padding:9px 11px;border-radius:8px;transition:all .15s}.preset:hover{border-color:var(--cyan)}.preset.active{background:linear-gradient(115deg,#173345,#203047);border-color:#4c979a;color:#d9f6f0}.slider-list{display:flex;flex-direction:column;gap:16px}.control-top{display:flex;justify-content:space-between;align-items:center;gap:8px;margin-bottom:5px}.control-top label{font-size:11px;color:#bdcde0;font-weight:620}.control-top output{font-size:12px;color:#dceaff;font-weight:750;font-variant-numeric:tabular-nums}.control-top output small{font-size:9px;color:#8698ae}.slider-hint{color:#637a8d;font-size:9px;margin-top:2px}.slider-row input[type=range]{appearance:none;-webkit-appearance:none;width:100%;height:4px;border-radius:6px;background:linear-gradient(90deg,#70dbd2 var(--fill,40%),#283b51 var(--fill,40%));outline:none;display:block;margin:9px 0 5px;cursor:pointer}.slider-row input[type=range]::-webkit-slider-thumb{appearance:none;width:12px;height:12px;background:#defbfa;border:2px solid #67cbbf;border-radius:50%;box-shadow:0 0 0 4px #529f9e22}.slider-row input[type=range]::-moz-range-thumb{width:10px;height:10px;background:#defbfa;border:2px solid #67cbbf;border-radius:50%}.sidebar-foot{font-size:9px;color:#8294a8;line-height:1.8;border-top:1px solid var(--stroke);margin-top:20px;padding-top:15px}.dot{display:inline-block;width:6px;height:6px;border-radius:50%;margin:0 4px}.dot.violet{background:var(--violet)}.dot.teal{background:var(--cyan)}.stage-wrap{min-width:0;background:#090f1d;display:flex;flex-direction:column}.viewport{height:calc(100vh - 215px);min-height:380px;max-height:1000px;position:relative;overflow:hidden;background:radial-gradient(ellipse at center,#182c46 0%,#0c192a 40%,#080e18 83%);isolation:isolate}.viewport canvas{width:100%;height:100%;display:block;touch-action:none}.stage-top-left{position:absolute;left:21px;top:18px;pointer-events:none}.scene-label{font-size:11px;color:#b6c7da;display:flex;align-items:center;gap:6px;margin-top:7px}.scene-caret{height:6px;width:6px;border-radius:50%;background:var(--cyan);box-shadow:0 0 8px var(--cyan)}.stage-top-right{position:absolute;right:16px;top:16px;display:flex;align-items:center;gap:7px}.render-tag{border:1px solid #2b5164;border-radius:6px;padding:7px;font-size:9px;letter-spacing:.7px;font-weight:700;color:#aad8e1;background:#10212bd9}.icon-btn{background:#102033dc;border:1px solid #2b4054;border-radius:7px;font-size:19px;width:30px;height:29px;line-height:1}.stage-side-legend{position:absolute;right:17px;top:80px;display:flex;gap:9px;flex-direction:column;align-items:flex-end;pointer-events:none}.stage-side-legend span{font-size:10px;color:#a0b3ca;text-shadow:0 1px 4px #000}.legend-line{display:inline-block;width:11px;height:3px;border-radius:5px;vertical-align:middle;margin-right:5px}.cyan{background:var(--cyan)}.pink{background:var(--pink)}.green{background:var(--mint)}.orange{background:var(--orange)}.stage-lower{position:absolute;bottom:17px;left:20px;right:18px;display:flex;align-items:end;justify-content:space-between;gap:8px;pointer-events:none}.scale-row{font-size:11px;color:#c6daef;text-shadow:0 0 8px #061420;display:flex;flex-direction:column;gap:3px}.scale-row small{font-size:9px;color:#7c9aaa;display:block}.scale-mark{width:76px;border-bottom:2px solid #d0e9ed;height:7px;border-left:2px solid #d0e9ed;border-right:2px solid #d0e9ed}.camera-tabs{pointer-events:auto;display:flex;gap:2px;background:#101d2fdf;padding:3px;border:1px solid #294458;border-radius:10px;backdrop-filter:blur(10px)}.camera-tabs button{font-size:10px;padding:8px 10px;border:0;background:transparent;border-radius:7px;color:#a8bdce}.camera-tabs button.selected{background:#2a4559;color:#ebffff}.fallback-label{position:absolute;top:55px;left:20px;font-size:10px;color:#f7c79c;background:#47311fcc;padding:6px 8px;border-radius:6px;max-width:280px}.transport{height:67px;background:#0e1928;display:flex;align-items:center;padding:12px 18px;gap:20px;border-top:1px solid #203143}.transport-buttons{display:flex;align-items:center;gap:6px;flex-shrink:0}.transport button{background:#17263a;border:1px solid #2b4056;border-radius:7px;padding:8px 10px;font-size:11px;white-space:nowrap}.transport button.primary-action{background:linear-gradient(125deg,#70d5c4,#45abae);color:#071d2b;border:0;font-weight:750}.time-wrap{flex:1;min-width:40px}.time-heading{display:flex;align-items:center;justify-content:space-between;gap:10px;color:#788ba2;font-size:9px;font-weight:750;letter-spacing:.7px}.time-heading strong{color:#d6e9f5;font-size:12px;font-variant-numeric:tabular-nums}.time-track{margin-top:9px;position:relative;background:#263a50;border-radius:6px;height:4px;overflow:hidden}.time-track>div{width:0;height:100%;background:linear-gradient(90deg,#59b9d6,#a792f7);border-radius:6px}.time-track .tick{position:absolute;top:0;height:4px;width:2px;background:#7791ac5c}.tick.t1{left:25%}.tick.t2{left:50%}.tick.t3{left:75%}.speed{display:flex;flex-direction:column;gap:4px;color:#798ea5;font-size:9px;font-weight:750}.speed select{padding:5px 6px;color:#d9eaf4;background:#1b2b3e;border-radius:5px;border:1px solid #34475b;font-size:11px}.stage-footer{height:52px;border-top:1px solid #1d3042;display:flex;align-items:center;justify-content:space-between;padding:6px 16px;gap:8px}.switchset{display:flex;gap:14px;flex-wrap:wrap}.switchset label{font-size:10px;color:#a8b9ce;display:flex;align-items:center;gap:4px;cursor:pointer}.switchset input{accent-color:#73d4c9;width:13px;height:13px}.quality{background:#142235;border:1px solid #294157;border-radius:7px;color:#b4cde1;font-size:10px;white-space:nowrap;padding:7px 8px}.metrics{display:flex;flex-direction:column;gap:8px}.metric{background:#121e30;border:1px solid #203248;border-radius:10px;padding:12px;min-width:0}.metric.primary{border-color:#2b575b;background:linear-gradient(155deg,#173039,#111e30)}.metric-label{font-size:9px;letter-spacing:.75px;color:#90a7bd;font-weight:800}.tag{border-radius:3px;background:#204354;color:#8ad9ce;font-size:8px;letter-spacing:0;padding:3px 4px;margin-left:3px}.metric-val{display:flex;align-items:baseline;gap:7px;margin-top:4px}.metric-val strong{font-size:29px;letter-spacing:-1.2px;font-weight:720;font-variant-numeric:tabular-nums}.metric.primary .metric-val strong{color:#a0f4cb;font-size:37px}.metric-val span{font-size:12px;color:#839db4}.metric-val.small strong{font-size:21px}.metric-bar{margin:8px 0 5px;height:5px;background:#23374b;border-radius:5px;overflow:hidden}.metric-bar div{height:100%;width:94%;background:linear-gradient(90deg,#46bfa4,#a5f4c4)}.metric small{color:#6f899c;font-size:9px;line-height:1.4}.metrics-pair{display:grid;grid-template-columns:1fr 1fr;gap:7px}.metrics-pair .metric{padding:9px}.metrics-pair .metric-label{min-height:22px;line-height:1.4}.metrics-pair .metric-val.small strong{font-size:18px}.plot-section{margin-top:13px;border-top:1px solid #243446;padding-top:12px}.plot-heading{display:flex;align-items:center;justify-content:space-between;font-size:9px;color:#9bafc3;letter-spacing:.7px;font-weight:800}.plot-tag{font-size:8px;color:var(--mint)}#graph{width:100%;height:117px;display:block;margin-top:6px}.graph-foot{display:flex;justify-content:space-between;color:#688198;font-size:8px;margin-top:-2px}.science-mini{border-top:1px solid #243446;padding-top:14px;margin-top:12px}.science-mini .eyebrow{font-size:9px;margin-bottom:10px}.validation-row{display:flex;justify-content:space-between;align-items:center;font-size:11px;color:#99aec5;padding:4px 0;font-variant-numeric:tabular-nums}.validation-row strong{color:#d4e5f4}.validation-row.difference strong{color:var(--cyan)}.science-mini small{font-size:9px;color:#6f8097}.biology{background:#0d1828;border-bottom:1px solid var(--stroke);padding:0 25px}.biology-toggle{width:100%;background:transparent;border:0;padding:15px 0;text-align:left;display:flex;align-items:center;gap:12px}.biology-icon{color:var(--cyan);font-size:22px}.biology-toggle b{font-size:13px}.biology-toggle small{color:#7892a9;font-size:10px;display:block;margin-top:2px}.chevron{font-size:23px;margin-left:auto;color:#adc7dc}.biology-content{padding:0 0 18px}.science-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:25px;border-top:1px solid #24374d;padding-top:22px}.science-grid h3{font-size:17px;margin:6px 0}.science-grid p{font-size:11px;color:#9fb3c9;line-height:1.7}.science-grid b{color:#d8e6f2}.science-grid a{color:#73d7d0}.equation{font-family:ui-monospace,SFMono-Regular,Consolas,monospace;color:#c8f2e9;background:#16283b;border-radius:5px;margin:6px 0;padding:9px;font-size:11px;overflow-wrap:anywhere}.disclaimer{border-top:1px solid #26384b;padding-top:12px;color:#8298ac;font-size:10px}.site-foot{min-height:45px;padding:13px 24px;display:flex;justify-content:space-between;align-items:center;gap:8px;color:#5d7589;font-size:9px;letter-spacing:.9px;font-weight:720}
@media(max-width:1100px){.dashboard{grid-template-columns:228px minmax(0,1fr) 230px}.sidebar{padding:15px 11px}.stage-side-legend{top:76px}.transport{gap:9px;padding:8px 11px}.transport button{padding:7px 8px}.stage-footer{padding:6px 10px}}
@media(max-width:850px){.dashboard{grid-template-columns:220px minmax(0,1fr);}.controls-panel{grid-column:1;grid-row:1;max-height:none}.stage-wrap{grid-column:2;grid-row:1}.readouts-panel{grid-column:1 / -1;grid-row:2;display:grid;grid-template-columns:210px 1fr 1fr;align-items:start;gap:12px;max-height:none;border-top:1px solid var(--stroke);border-left:0}.readouts-panel .sidebar-heading{grid-column:1}.metrics{grid-column:2}.plot-section{grid-column:3;margin:0}.science-mini{grid-column:3;margin-top:0}.viewport{height:520px}.stage-footer{height:auto;min-height:55px}.science-grid{grid-template-columns:1fr 1fr}}
@media(max-width:620px){.topbar{height:65px;padding:9px 12px}.brand{gap:9px}.brand-mark{width:33px;height:33px;font-size:22px}.brand-over{font-size:8px;letter-spacing:1px}.topbar h1{font-size:15px}.seed{display:none}.live{font-size:9px}.dashboard{display:flex;flex-direction:column}.stage-wrap{order:0}.controls-panel{order:1;display:block;max-height:none;padding:17px 18px;border-right:0;border-top:1px solid var(--stroke)}.readouts-panel{order:2;display:block;padding:17px 18px}.viewport{height:410px;min-height:340px;max-height:none}.stage-top-left{left:13px;top:12px}.stage-top-left .eyebrow{font-size:8px}.scene-label{max-width:230px;font-size:10px}.stage-top-right{right:9px;top:12px}.render-tag{font-size:8px;padding:6px}.stage-side-legend{top:60px;right:10px;gap:6px}.stage-side-legend span{font-size:9px}.stage-lower{left:12px;right:10px;bottom:10px}.camera-tabs button{padding:7px;font-size:9px}.scale-row{font-size:9px}.scale-row small{font-size:8px}.scale-mark{width:58px}.transport{gap:9px;padding:10px 11px;height:62px}.transport-buttons{gap:4px}.transport button{padding:7px 7px;font-size:12px}.transport button span{display:none}.time-heading{font-size:8px}.time-heading strong{font-size:10px}.speed select{padding:4px;font-size:10px}.stage-footer{gap:5px}.switchset{gap:8px}.quality{padding:7px 6px;font-size:9px}.presets{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px}.preset{text-align:center;padding:9px 5px;font-size:10px}.slider-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.metrics{display:grid;grid-template-columns:1fr 1fr;gap:8px}.metric.primary{grid-column:1 / -1}.metrics-pair{grid-column:1 / -1}.plot-section,.science-mini{margin-top:16px}.readouts-panel .sidebar-heading p{margin-bottom:11px}.biology{padding:0 16px}.science-grid{grid-template-columns:1fr;gap:10px;padding-top:18px}.site-foot{padding:12px;flex-wrap:wrap;font-size:8px}.site-foot span:nth-child(2){display:none}}
@media(max-width:420px){.viewport{height:390px}.metric-val strong{font-size:25px}.stage-side-legend span{font-size:8px}.stage-footer{flex-wrap:wrap;justify-content:start}.quality:last-child{margin-left:auto}.slider-list{gap:16px 12px}.control-top label{font-size:10px}.scale-row small{display:none}}
body.embed .topbar,body.embed .controls-panel,body.embed .readouts-panel,body.embed .biology,body.embed .site-foot{display:none}body.embed .dashboard{display:block;border:0}body.embed .stage-wrap{height:100vh}body.embed .viewport{height:calc(100vh - 119px);max-height:none;min-height:200px}body.embed .topbar{display:none}body.embed .transport{height:67px}body.embed .stage-footer{height:52px}
@media(max-width:620px){.stage-top-left{max-width:215px}.stage-top-left .eyebrow{max-width:190px;line-height:1.25}.stage-top-left .scene-label{font-size:9px;max-width:180px}.stage-side-legend{top:88px}}
