:root{color-scheme:dark;--bg:#06111f;--pane:#0c1b2d;--border:#203449;--text:#e6f5ff;--muted:#8398ac;--cyan:#65ebdf;--orange:#fcb47a;--violet:#b99cff;--font:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif}*{box-sizing:border-box}html{scrollbar-color:#31516a #081826}body{margin:0;background:var(--bg);color:var(--text);font-family:var(--font);font-size:13px;font-variant-numeric:tabular-nums}button,input,select{font:inherit}button{cursor:pointer}button:focus-visible,input:focus-visible,select:focus-visible,summary:focus-visible{outline:2px solid var(--cyan);outline-offset:3px}.app{width:100%;max-width:1860px;margin:auto;min-height:100vh}.topbar{height:48px;border-bottom:1px solid #183348;display:flex;justify-content:space-between;align-items:center;padding:0 30px;letter-spacing:.12em}.top-brand,.top-actions{display:flex;align-items:center;gap:11px;font-size:11px;font-weight:800}.logo{width:25px;height:25px;display:grid;place-items:center;border:1px solid #7be9e3;border-radius:7px;color:var(--cyan);font-size:20px}.brand-hi{color:var(--cyan)}.brand-sep{height:18px;border-left:1px solid #385368;margin:0 6px}.eyebrow,.seed-label{font-size:10px;font-weight:650;color:#6f8a9e;letter-spacing:.15em}.top-actions{color:#a8cadb}.live-dot,.live-badge b{width:7px;height:7px;border-radius:50%;background:#68ecd5;box-shadow:0 0 12px #5af9d6}.hero{display:flex;justify-content:space-between;align-items:center;min-height:123px;padding:18px 30px 17px;gap:20px}.kicker,.mini-kicker{font-size:10px;font-weight:780;letter-spacing:.18em;color:var(--cyan)}.kicker-bar{display:inline-block;width:20px;height:1px;background:#4e8793;vertical-align:middle;margin:0 8px}h1{font-size:clamp(24px,2.2vw,34px);line-height:1.17;letter-spacing:-.035em;font-weight:750;margin:7px 0}h1 em{font-style:normal;color:#70e6e3}.hero p{margin:3px 0 0;color:#a4b3c5;font-size:12px}.hero-tag{display:flex;align-items:center;gap:12px;border:1px solid #284458;border-radius:9px;padding:11px 14px;color:#dcecf9;font-weight:800;font-size:10px;letter-spacing:.11em;white-space:nowrap}.hero-tag:first-letter{font-size:22px}.hero-tag small{color:#72899e;font-weight:500;letter-spacing:.02em;font-size:10px}.workspace{display:grid;grid-template-columns:minmax(0,1fr) 354px;gap:14px;padding:0 22px 16px;align-items:stretch}.stage{display:flex;flex-direction:column;min-width:0;gap:9px}.viewport{position:relative;isolation:isolate;height:clamp(370px,46vw,510px);overflow:hidden;border-radius:12px;border:1px solid #284459;background:radial-gradient(ellipse at 60% 40%,#163b52,#081b2c 70%)}#three-canvas{width:100%;height:100%;display:block;cursor:grab}#three-canvas:active{cursor:grabbing}.viewport-vignette{position:absolute;inset:0;pointer-events:none;box-shadow:inset 0 0 95px #0209109f;background:linear-gradient(to top,#07152493,transparent 25%,transparent 80%,#04132165)}.view-top{position:absolute;inset:16px 15px auto;display:flex;justify-content:space-between;align-items:center;gap:8px;pointer-events:none}.live-badge,.scale-badge{background:#0b1b29c9;border:1px solid #2b4b5a;border-radius:5px;padding:9px 10px;color:#9fc0ca;font-size:9px;font-weight:800;letter-spacing:.12em;backdrop-filter:blur(10px)}.live-badge{display:flex;align-items:center;gap:9px}.live-badge b{height:6px;width:6px}.tag-info{font-size:8px;color:var(--orange)}.scene-labels{position:absolute;inset:auto 0 40px;display:flex;justify-content:space-around;pointer-events:none;text-align:center;transform:translateX(2%)}.scene-labels>div{width:45%}.scene-labels strong{display:block;font-size:10px;font-weight:800;letter-spacing:.17em;color:#7ff6e7;text-shadow:0 1px 6px #000}.scene-labels .label-straight strong{color:#ffd1a7}.scene-labels small{display:block;font-size:10px;margin-top:4px;color:#9db4c0;text-shadow:0 1px 6px #000}.label-line{display:block;height:19px;border-left:1px solid #66c3c2;width:1px;margin:0 auto 6px}.label-straight .label-line{border-color:#e6aa80}.flow-direction{position:absolute;left:17px;top:66px;pointer-events:none;display:flex;flex-direction:column;color:#97f2f0;gap:3px;font-size:9px;letter-spacing:.15em;font-weight:800;opacity:.85}.flow-arrows{font-size:24px;letter-spacing:5px;line-height:1}.hud-right{position:absolute;right:17px;bottom:95px;display:grid;gap:7px;pointer-events:none}.hud-key{font-size:9px;letter-spacing:.13em;font-weight:750;color:#b0c8d4;display:flex;align-items:center;gap:6px}.key-dot{width:7px;height:7px;border-radius:50%;display:inline-block}.key-dot.cyan{background:var(--cyan)}.key-dot.orange{background:var(--orange)}.key-dot.violet{background:var(--violet)}.viewport-error{position:absolute;inset:25% 15%;border:1px solid #c9756c99;background:#101c2aec;border-radius:10px;padding:26px;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;gap:9px;color:#f1d5cf}.viewport-error[hidden]{display:none}.viewport-error span{max-width:350px;line-height:1.6;color:#b9cbd1}.stage-controls{border:1px solid #253c4e;border-radius:9px;min-height:52px;background:#0c1b29;display:flex;align-items:center;justify-content:space-between;padding:5px 10px;gap:7px}.transport,.camera-actions{display:flex;align-items:center;gap:8px}.pill-btn{background:#14293a;border:1px solid #335165;color:#b8d5db;border-radius:6px;padding:8px 13px;font-size:11px;font-weight:760;letter-spacing:.1em;white-space:nowrap}.pill-btn.primary{color:#061820;background:var(--cyan);border-color:var(--cyan)}.pill-btn:hover,.camera-actions button:hover{filter:brightness(1.2)}.control-divider{height:19px;border-left:1px solid #39526a;margin:0 7px}.speed-label{font-size:10px;color:#87a5b4;font-weight:800;letter-spacing:.1em}select{background:#14293a;border:1px solid #375366;color:#c9dbe5;padding:7px 5px;border-radius:5px;font-size:11px}.camera-actions button{border:1px solid #355264;border-radius:5px;background:#14283a;color:#aad7de;height:31px;width:32px;font-size:21px;display:grid;place-items:center}.dashboard{background:#0c1b2c;border:1px solid #253d51;border-radius:9px;padding:14px 16px 13px}.dash-heading{display:flex;align-items:center;justify-content:space-between;margin-bottom:11px;color:#a3c2d3;letter-spacing:.14em;font-weight:800;font-size:10px}.tiny-dot{color:#5ef1d2}.readout-disclaimer{color:#627e92;font-size:9px}.metric-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px}.metric{border-left:1px solid #244253;padding:2px 14px}.metric:first-child{padding-left:0;border-left:0}.metric-title,.metric-sub{display:block;white-space:nowrap;font-size:9px;letter-spacing:.10em;font-weight:750;color:#8297ad}.metric-num{display:block;margin:7px 0 4px;font-size:25px;font-weight:730;line-height:1;letter-spacing:-.04em;color:#e9f4fd}.metric-num small{font-size:13px;letter-spacing:0;color:#94aabd}.metric-num.cyan{color:var(--cyan)}.metric-num.orange{color:var(--orange)}.metric-sub{font-size:8px;color:#5d7a90}.sidepanel{border:1px solid #253e52;background:#0d1c2e;border-radius:10px;padding:18px 18px 14px;max-height:calc(clamp(370px,46vw,510px) + 193px);overflow-y:auto;scrollbar-width:thin;scrollbar-color:#34586a #0c1a2a}.side-head{display:flex;justify-content:space-between;align-items:center}.side-head h2{font-size:20px;letter-spacing:-.02em;margin:5px 0 0}.settings-icon{font-size:21px;color:#6299a5}.preset-section{padding:17px 0 19px;border-bottom:1px solid #294051}.section-caption{color:#779cb0;font-weight:800;font-size:9px;letter-spacing:.16em}.presets{display:grid;grid-template-columns:repeat(3,1fr);gap:5px;margin-top:10px}.presets button{border:1px solid #315266;background:#152b3d;color:#a5bcc9;font-size:10px;font-weight:700;padding:11px 3px;border-radius:5px}.presets button.active{background:#113f44;border-color:#5cd3d1;color:#9af5eb}.range-section{padding:11px 0 0}.section-title{display:flex;align-items:center;gap:11px;font-size:10px;font-weight:850;letter-spacing:.13em;color:#c1d8e4;margin:6px 0 17px}.section-title span{border:1px solid #3e7180;border-radius:4px;color:#6ae8e1;font-size:10px;padding:3px 5px}.section-title.secondary{margin-top:23px}.control{margin:0 0 17px}.control-top{display:flex;justify-content:space-between;align-items:baseline;gap:10px;margin-bottom:7px}.control-top label{font-size:11px;color:#c1d2e1;font-weight:650}.control-top output{font-size:11px;color:var(--cyan);font-weight:800;white-space:nowrap}input[type=range]{width:100%;height:4px;appearance:none;background:linear-gradient(90deg,#58c9c9 0%,#174052 0%);border-radius:5px;cursor:pointer;display:block;margin:12px 0 9px}input[type=range]::-webkit-slider-thumb{appearance:none;width:12px;height:12px;background:#8ff6e9;border:3px solid #193f4c;border-radius:50%;box-shadow:0 0 0 2px #5ca7ac}input[type=range]::-moz-range-thumb{width:8px;height:8px;background:#8ff6e9;border:3px solid #193f4c;border-radius:50%;box-shadow:0 0 0 2px #5ca7ac}.control-bottom{display:flex;justify-content:space-between;color:#527087;font-size:8px;font-weight:750;letter-spacing:.13em}.visual-section{border-top:1px solid #2a4555;padding-top:16px}.switchline{display:flex;justify-content:space-between;align-items:center;gap:5px;color:#bbd1dc;font-weight:650;font-size:11px;margin:15px 0;cursor:pointer}.switchline input{position:absolute;opacity:0}.switch{width:30px;height:16px;border:1px solid #547185;border-radius:15px;background:#163044;position:relative;transition:background .2s}.switch:before{content:"";position:absolute;left:2px;top:2px;width:10px;height:10px;border-radius:50%;background:#779aaa;transition:transform .2s}.switchline input:checked+.switch{background:#28776f;border-color:#55c0af}.switchline input:checked+.switch:before{transform:translateX(14px);background:#b6fff1}.switchline input:focus-visible+.switch{outline:2px solid var(--cyan)}.quality-row{display:flex;justify-content:space-between;align-items:center;margin-top:21px;gap:8px;color:#7997a9;font-size:9px;font-weight:800;letter-spacing:.1em}.quality-choices{display:flex;gap:3px}.quality-choices button{font-size:9px;background:#182f41;border:1px solid #365769;color:#91b1be;padding:6px 11px;border-radius:4px;font-weight:800}.quality-choices button.selected{border-color:#5de5dc;background:#174844;color:#aafdf0}.side-readout{margin-top:24px;border:1px solid #315568;background:#0b2938;border-radius:7px;padding:13px;display:flex;flex-direction:column;gap:5px}.side-readout span{font-size:9px;color:#7a9caf;letter-spacing:.1em;font-weight:750}.side-readout strong{font-size:23px;color:#85ece4}.science-lower{margin:0 22px}.science-lower details{border:1px solid #2a4659;background:#0b1d2e;border-radius:9px}.science-lower summary{list-style:none;padding:16px 18px;cursor:pointer;display:flex;justify-content:space-between;align-items:center;color:#9feee9;font-size:11px;letter-spacing:.14em;font-weight:850}.science-lower summary::-webkit-details-marker{display:none}.science-mark{font-size:21px;vertical-align:middle;margin-right:11px}.science-sub{color:#6d91a8;font-weight:650}.chevron{font-size:24px;line-height:1}details[open] .chevron{transform:rotate(180deg)}.biology-body{border-top:1px solid #213c50;padding:20px;display:grid;grid-template-columns:1.15fr 1fr;gap:29px}.biology-body h3{font-size:14px;margin:4px 0 9px;color:#dbeefa}.science-prose p{color:#a7bbca;line-height:1.68;margin:0 0 16px;font-size:12px}.science-prose b{color:#8be4df}.science-prose code{font-size:11px;line-height:2;color:#c5e6dd;white-space:normal}.validation-card{background:#0c2735;border:1px solid #2b5560;border-radius:9px;padding:17px;align-self:start}.validation-card h3{font-size:15px;margin:11px 0 16px}.val-row{display:flex;justify-content:space-between;gap:10px;padding:10px 0;border-top:1px solid #295061;color:#9fb4c2;font-size:11px}.val-row strong{color:#e9f9fc;text-align:right}.val-accent strong{color:#81f3df}.validation-card p{font-size:11px;color:#829fb1;line-height:1.6}.source-heading{margin:18px 0 9px;color:#7b97a6;font-size:9px;font-weight:850;letter-spacing:.14em}.validation-card a{display:block;color:#86d7de;text-decoration:none;line-height:1.7;font-size:11px;padding:2px 0}footer{display:flex;justify-content:space-between;gap:15px;align-items:center;color:#5d7d8e;font-size:10px;padding:13px 25px 22px}footer span{font-size:9px;letter-spacing:.09em}@media(max-width:1100px){.workspace{grid-template-columns:minmax(0,1fr) 320px;gap:10px;padding:0 14px 14px}.sidepanel{padding:16px}.metric{padding-left:8px;padding-right:3px}.metric-title{font-size:8px}.metric-num{font-size:22px}.hero{padding-left:22px;padding-right:22px}.topbar{padding:0 20px}.viewport{height:460px}.sidepanel{max-height:652px}}@media(max-width:850px){.workspace{display:flex;flex-direction:column;gap:12px}.viewport{height:clamp(350px,54vw,480px)}.sidepanel{max-height:none;overflow:visible}.sidepanel .range-section{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));column-gap:25px}.range-section .section-title{grid-column:1/-1}.side-head h2{font-size:19px}.science-lower{margin:0 14px}.dashboard{margin-bottom:0}}@media(max-width:520px){.topbar{height:44px;padding:0 12px}.eyebrow,.seed-label,.status-label,.brand-sep{display:none}.top-brand{font-size:10px}.hero{min-height:100px;padding:15px 14px;align-items:flex-start}.hero h1{font-size:25px;line-height:1.15;margin:7px 0}.hero p{font-size:11px;line-height:1.4}.hero-tag{display:none}.workspace{padding:0 8px 10px}.viewport{height:365px;border-radius:9px}.view-top{inset:10px 9px auto}.live-badge,.scale-badge{font-size:7px;padding:7px}.scale-badge .tag-info{display:none}.scene-labels{bottom:24px;transform:none}.scene-labels strong{font-size:8px}.scene-labels small{font-size:8px}.hud-right{bottom:80px;right:8px}.hud-key{font-size:7px}.flow-direction{left:9px;top:58px;font-size:7px}.flow-arrows{font-size:15px}.stage-controls{padding:5px;flex-wrap:wrap}.transport{gap:4px}.pill-btn{font-size:13px;padding:6px 9px}.pill-btn span{display:none}.control-divider{margin:0 3px}.camera-actions{gap:4px}.camera-actions button{width:28px;height:29px;font-size:17px}.dashboard{padding:12px}.dash-heading{font-size:8px}.readout-disclaimer{display:none}.metric-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:13px 7px}.metric:nth-child(3){border-left:0;padding-left:0}.metric-title{font-size:8px}.metric-num{font-size:25px}.sidepanel .range-section{display:block}.sidepanel{padding:15px}.section-title{margin-top:15px}.science-lower{margin:0 8px}.science-sub{display:none}.biology-body{display:block;padding:13px}.validation-card{margin-top:15px}.science-lower summary{padding:12px}.science-prose code{font-size:10px}footer{display:block;padding:12px 12px 20px;line-height:1.6}footer span{display:block;margin-top:6px}}body.embed .topbar,body.embed .hero,body.embed footer{display:none}body.embed .workspace{padding:8px}body.embed .science-lower{margin:0 8px}body.embed .viewport{height:min(68vh,620px)}body.embed .sidepanel{max-height:calc(min(68vh,620px) + 193px)}@media(prefers-reduced-motion:reduce){*,*:before,*:after{scroll-behavior:auto!important;animation-duration:.001ms!important;transition-duration:.001ms!important}}
