:root{color-scheme:dark;--bg:#07121c;--panel:#0b1924;--panel2:#0e202c;--line:#203640;--line2:#1c303a;--muted:#78909a;--strong:#eff4ec;--gold:#ebbd77;--teal:#66d7bc;--font:system-ui,-apple-system,"Segoe UI",Roboto,Arial,sans-serif;font-synthesis:none}*{box-sizing:border-box}html,body{margin:0;min-width:320px;background:var(--bg);color:var(--strong);font:12px/1.5 var(--font);overflow-x:hidden}button,select,input{font:inherit}button{cursor:pointer}button:focus-visible,input:focus-visible,select:focus-visible{outline:2px solid var(--teal);outline-offset:3px}body{background:radial-gradient(ellipse at 70% -40%,#1b3743,#07121c 68%)}.app{height:100dvh;min-height:570px;display:flex;flex-direction:column;max-width:2100px;margin:0 auto}.topbar{height:76px;display:flex;align-items:center;gap:25px;padding:0 26px;border-bottom:1px solid #21333b;background:linear-gradient(95deg,#0b1923ee,#0a1820ee);flex:0 0 auto}.brand{display:flex;align-items:center;gap:10px;padding-right:25px;border-right:1px solid #2b4148}.brand-mark{width:35px;height:35px;border:1px solid #658c7f;color:#a6efce;display:grid;place-items:center;font-size:26px;transform:rotate(-10deg)}.brand-text{font-weight:850;letter-spacing:.12em;line-height:1.18;font-size:12px}.brand-text span{color:var(--teal)}.brand-text small{display:block;color:#728994;font-size:8px;letter-spacing:.21em;margin-top:3px}.head-title{min-width:0}.eyebrow{display:block;font-weight:700;font-size:9px;letter-spacing:.18em;color:#91a8ac}.head-title .eyebrow{color:#8eaaa4}.status-dot,.pulse{display:inline-block;border-radius:50%;height:6px;width:6px;background:#65e0bb;box-shadow:0 0 13px #5bedb9;margin-right:5px}.head-title h1{font-size:22px;letter-spacing:-.035em;font-weight:750;margin:2px 0 0;line-height:1.05}.head-title em{color:var(--gold);font-style:normal}.head-right{margin-left:auto;display:flex;gap:9px}.chip{font-size:9px;letter-spacing:.11em;color:#b4d0c8;border:1px solid #37534c;background:#102a2b;border-radius:4px;padding:7px 9px;white-space:nowrap}.chip.version{color:#758e95;border-color:#293b42;background:#12212a}.main{min-height:0;flex:1;display:grid;grid-template-columns:minmax(0,1fr) 350px}.viewport-area{position:relative;overflow:hidden;min-width:0;isolation:isolate;background:radial-gradient(ellipse at 51% 42%,#19303a 0%,#0b1b29 56%,#06111b 100%)}.scene{position:absolute;inset:0}.scene canvas{width:100%;height:100%;display:block;touch-action:none}.scene-vignette{position:absolute;inset:0;pointer-events:none;background:linear-gradient(180deg,#06111b5c,transparent 29%,transparent 61%,#06121eea 97%),radial-gradient(ellipse,#0000 36%,#06121d8c 100%)}.viewport-top{position:absolute;top:22px;left:25px;right:24px;display:flex;justify-content:space-between;align-items:flex-start;pointer-events:none;gap:10px}.scene-label strong{display:block;font-size:15px;letter-spacing:.007em;font-weight:700;margin:4px 0 2px}.smallnote{font-size:10px;color:#8da8ad}.renderer-label{font-size:9px;letter-spacing:.1em;color:#aad4cc;border:1px solid #365a51;background:#0a2527b9;border-radius:3px;padding:6px 7px;white-space:nowrap}.microscope-chip{position:absolute;top:116px;left:25px;display:flex;align-items:center;gap:8px;border:1px solid #4f6b54;background:#1a30249c;padding:8px 10px;color:#d4edc8;letter-spacing:.1em;font-size:9px;font-weight:700}.microscope-chip small{color:#85b4ad;border-left:1px solid #526852;padding-left:8px}.phase-flow{position:absolute;top:19px;right:23px;display:flex;align-items:center;gap:5px;transform:translateY(51px)}.flow-step{color:#6f8a91;letter-spacing:.08em;font-size:9px;font-weight:700;white-space:nowrap;transition:color .2s}.flow-step span{color:#506d73;font-size:8px;margin-right:2px}.flow-step.active{color:#eecb8f}.flow-step.active span{color:#eecb8f}.flow-bridge{height:1px;width:14px;background:#42606b}.scale-note{position:absolute;bottom:188px;left:28px;color:#9cb6b2;letter-spacing:.13em;font-size:9px;white-space:nowrap}.scale-mark{display:inline-block;width:29px;height:7px;border-bottom:2px solid #dbefe4;border-left:2px solid #dbefe4;border-right:2px solid #dbefe4;margin-right:8px}.scale-split{color:#598582;margin:0 3px}.view-stack{display:flex;gap:4px;position:absolute;right:20px;top:115px;flex-direction:column}.view-btn{padding:7px 9px;color:#a0b6b8;background:#0a1c27d9;border:1px solid #2b4750;font-size:16px;min-height:35px;display:flex;align-items:center;gap:7px;min-width:87px}.view-btn span{font-size:9px;letter-spacing:.11em}.view-btn.active{color:#e9cf9d;background:#2e2a21e0;border-color:#7c6744}.stat-row{position:absolute;left:20px;right:20px;bottom:43px;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px}.stat{padding:15px 14px 10px;background:linear-gradient(150deg,#152c37eb,#0c1c29ec);border:1px solid #2c4750;border-top-color:#58735f;box-shadow:0 7px 30px #0004;min-width:0}.stat-label{font-weight:740;letter-spacing:.105em;font-size:9px;color:#92acaa;white-space:nowrap}.stat-label sup{color:#557a79;font-size:8px}.stat-value{color:#f8f1dc;font-size:27px;letter-spacing:-.045em;font-weight:650;line-height:1.55;font-variant-numeric:tabular-nums}.stat-value small{font-weight:550;font-size:12px;color:#b2b7a9;letter-spacing:0}.stat-desc{color:#7b969c;font-size:9px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.viewport-footer{position:absolute;bottom:15px;left:24px;right:24px;display:flex;justify-content:space-between;color:#78959c;font-size:9px;letter-spacing:.105em;gap:10px}.legend{display:flex;gap:15px}.legend span{white-space:nowrap}.legend i{display:inline-block;width:6px;height:6px;border-radius:50%;margin-right:5px}.sidepanel{border-left:1px solid #2a3d45;background:#0b1923;min-height:0;display:flex;flex-direction:column;overflow:hidden}.sidebar-head{padding:19px 18px 15px;display:flex;justify-content:space-between;align-items:center}.sidebar-head h2{margin:3px 0 0;font-size:17px;font-weight:700;letter-spacing:-.025em}.small-badge{border:1px solid #2b484a;padding:5px 6px;color:#8fb3ad;letter-spacing:.12em;font-size:9px}.preset-group{display:grid;grid-template-columns:repeat(3,1fr);gap:7px;padding:0 15px 17px;border-bottom:1px solid #233a41}.preset{background:#122530;border:1px solid #29434c;display:flex;flex-direction:column;align-items:center;gap:1px;color:#b9cbd0;padding:8px 3px 9px;min-width:0}.preset.active{background:#283125;border-color:#93815b;box-shadow:inset 0 0 0 1px #8a704034}.preset>span{color:#ddbd7a;font-size:17px;line-height:1.2}.preset strong{font-size:9px;letter-spacing:.08em}.preset small{font-size:9px;color:#7d9ba1}.control-scroll{min-height:0;overflow-y:auto;overflow-x:hidden;padding:15px 16px 28px;scrollbar-color:#2f5054 transparent;scrollbar-width:thin;flex:1}.control-caption{font-size:10px;font-weight:750;letter-spacing:.12em;color:#b8ccca;display:flex;justify-content:space-between;margin:1px 0 13px}.control-caption span{color:#657f83;font-size:9px}.control-caption.mechanical{margin-top:23px;border-top:1px solid #223943;padding-top:18px}.slider-group{margin-bottom:15px}.slider-head{display:flex;justify-content:space-between;align-items:center;margin-bottom:4px}.slider-head label{font-weight:600;color:#bfd0cf;font-size:11px}.slider-value{font-size:11px;color:#f1d7a2;font-variant-numeric:tabular-nums}.slider-value small{color:#8daca6}input[type=range]{height:4px;accent-color:#d6b67e;width:100%;margin:9px 0 4px;cursor:pointer}.slider-hint{display:flex;justify-content:space-between;color:#597780;font-size:9px}.toggle-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px 5px;margin-bottom:22px}.toggle-row{display:flex;align-items:center;gap:8px;color:#afc5c4;font-size:10px;cursor:pointer;white-space:nowrap}.toggle-row input{position:absolute;opacity:0}.switch{width:26px;height:15px;background:#28404b;border-radius:9px;position:relative;flex:0 0 auto;transition:background .2s}.switch:before{content:'';display:block;width:11px;height:11px;background:#718992;position:absolute;top:2px;left:2px;border-radius:50%;transition:transform .2s}.toggle-row input:checked +.switch{background:#396e60}.toggle-row input:checked+.switch:before{transform:translateX(11px);background:#c4efdc}.quality-row{border-top:1px solid #253c45;padding:14px 0;display:flex;align-items:center;justify-content:space-between;color:#94b0ae;font-weight:730;font-size:9px;letter-spacing:.13em}.segmented{display:flex;border:1px solid #355052}.segmented button{border:0;color:#92aab0;background:#142731;padding:6px 11px;font-size:9px;letter-spacing:.1em}.segmented button.active{color:#f3deb1;background:#405047}.biology{border-top:1px solid #2b434a}.accordion-toggle{width:100%;border:0;background:none;color:#dbe8df;display:flex;justify-content:space-between;text-align:left;align-items:center;padding:14px 2px 12px;font-weight:750;letter-spacing:.12em;font-size:10px}.accordion-toggle small{display:block;font-weight:400;color:#71919a;letter-spacing:0;font-size:10px;margin-top:3px}.accordion-toggle b{color:#d9bd89;font-size:20px}.biology p{color:#afc3c0;font-size:11px;line-height:1.7;margin:0 0 12px}.biology p strong{color:#e1d0a4}.science-callout{padding:12px;background:#102e2a;border-left:2px solid #65b8a1;color:#a8d4c6;font-size:11px;line-height:1.7;margin:0 0 15px}.science-callout strong{display:block;color:#bde6cf;margin-bottom:4px;font-size:10px;letter-spacing:.08em}.source-links{display:grid;gap:6px;margin-bottom:13px}.source-links a{font-size:10px;color:#b2dbc7;text-decoration:none}.source-links a:hover{text-decoration:underline}.disclaimer{font-size:9px!important;color:#718c93!important}.validation{border:1px solid #35554f;margin-top:16px;padding:12px;background:#102a29}.validation-head{display:flex;justify-content:space-between;gap:8px;color:#d2e7d7;letter-spacing:.11em;font-size:10px;font-weight:700}.validation-head b{font-size:8px;color:#95e2c2}.validation p{color:#81a9a4;font-size:10px;margin:8px 0 13px}.val-pair{display:flex;justify-content:space-between;align-items:center;padding:6px 0;border-bottom:1px solid #29453f;gap:8px;color:#7eaaa1;font-size:9px;letter-spacing:.06em}.val-pair strong{font-size:11px;color:#e8eada;font-variant-numeric:tabular-nums;letter-spacing:0}.val-pair.final{border:0}.val-pair.final strong{color:#a6ecc9}.transport{border-top:1px solid #314650;background:#10222b;padding:13px 15px;flex:0 0 auto}.transport-top{display:flex;gap:7px;align-items:center}.btn-play{background:#c6a06a;border:0;color:#13202a;padding:11px 14px;font-weight:850;letter-spacing:.05em;min-width:110px}.btn-play span{font-size:10px;margin-left:7px}.transport-icon{font-size:17px;border:1px solid #3b5962;background:#19303c;color:#c5d9d4;padding:5px 12px;min-height:39px}.speed-wrap{display:flex;flex-direction:column;margin-left:auto;color:#8daaa8;letter-spacing:.1em;font-size:8px;gap:2px}.speed-wrap select{background:#1a343d;color:#dce6de;border:1px solid #45636a;border-radius:2px;font-size:11px;padding:4px 9px;min-width:68px}.transport-bottom{display:flex;justify-content:space-between;align-items:center;color:#6d8c92;font-size:9px;letter-spacing:.1em;margin-top:12px}.transport-bottom b{color:#afc9c7;font-variant-numeric:tabular-nums;font-weight:600;margin-left:5px}.transport-bottom button{border:0;background:transparent;color:#e5d7a9;font-size:10px;letter-spacing:.11em}.hide-guides .phase-flow,.hide-guides .scale-note,.hide-guides .scene-label,.hide-guides .viewport-footer{display:none}.embed .topbar{display:none}.embed .app{min-height:450px}.embed .main{grid-template-columns:minmax(0,1fr) 315px}@media(max-width:1100px){.main{grid-template-columns:minmax(0,1fr) 315px}.stat{padding:10px}.stat-value{font-size:24px}.stat-label{font-size:8px}.chip.version{display:none}.view-stack{right:11px}.view-btn{min-width:74px}.view-btn span{font-size:8px}.legend{gap:8px}}@media(max-width:780px){.app{height:auto;min-height:100dvh}.topbar{height:62px;padding:0 14px;gap:12px}.brand{border-right:0;padding-right:0}.brand-text{display:none}.head-title h1{font-size:19px}.head-title .eyebrow{font-size:8px}.head-right{display:none}.main,.embed .main{display:flex;flex-direction:column}.viewport-area{height:490px;flex:none}.sidepanel{overflow:visible;border-left:0;border-top:1px solid #34515c}.sidebar-head{padding-top:19px}.control-scroll{overflow:visible;max-height:none}.scene-label strong{font-size:13px}.viewport-top{top:15px;left:14px;right:12px}.renderer-label{font-size:8px}.phase-flow{top:78px;left:14px;right:auto;transform:none}.microscope-chip{top:108px;left:14px}.view-stack{top:115px;right:13px}.view-btn{padding:6px;min-width:37px;justify-content:center}.view-btn span{display:none}.scale-note{bottom:167px;left:15px}.stat-row{bottom:39px;left:10px;right:10px;gap:5px}.stat{padding:9px 7px}.stat-value{font-size:22px}.stat-value small{font-size:9px}.stat-label{font-size:7px;letter-spacing:.025em}.stat-label sup{display:none}.stat-desc{font-size:8px}.viewport-footer{bottom:13px;left:13px;right:13px;font-size:8px}.legend span{font-size:8px}.embed .app{min-height:0}}@media(max-width:410px){.viewport-area{height:455px}.phase-flow{top:77px;font-size:7px}.flow-step{font-size:8px}.flow-bridge{width:7px}.scene-label .smallnote{max-width:235px;display:block;font-size:9px}.stat-value{font-size:19px}.stat-desc{display:none}.stat{height:66px}.stat-row{bottom:43px}.scale-note{bottom:120px}.view-stack{top:148px}.legend{gap:6px}.legend span{font-size:7px}.sidebar-head{padding:13px 14px}.preset-group{padding:0 12px 12px}}
@media(min-width:781px){html,body{height:100%;overflow:hidden}}
