:root{color-scheme:dark;--bg:#06121d;--panel:#0b1a27;--panel2:#0b1e2c;--border:#263d47;--mint:#6fe5d5;--cyan:#71d9ed;--orange:#ffb06b;--text:#eef4f4;--muted:#91a8b3;--dim:#627e8b;--radius:12px;font-family:Inter,"Aptos",-apple-system,BlinkMacSystemFont,"Segoe UI",system-ui,sans-serif;font-synthesis:none}
*{box-sizing:border-box}body{margin:0;color:var(--text);background:var(--bg);font-size:13px;overflow-x:hidden}button,select,input{font:inherit}button{color:inherit;cursor:pointer}button:focus-visible,input:focus-visible,select:focus-visible,summary:focus-visible{outline:2px solid var(--mint);outline-offset:3px}.app{height:100dvh;min-height:630px;display:flex;flex-direction:column;background:radial-gradient(ellipse at 67% 28%,#102b33 0,transparent 51%),var(--bg)}.header{height:61px;flex:none;padding:0 20px;display:flex;justify-content:space-between;align-items:center;border-bottom:1px solid #1a343f}.branding,.header-right{display:flex;align-items:center;gap:12px}.symbol{font-size:27px;line-height:1;color:var(--mint)}.brand-text{font-size:11px;font-weight:850;letter-spacing:.15em}.dim{color:#75939a;font-weight:450;letter-spacing:.12em}.header-right{font-size:10px;letter-spacing:.1em;color:var(--muted)}.science-id strong{color:#e7f4f4;font-weight:600}.divider-inline{width:1px;height:17px;background:#344b54}.badge-live{display:flex;align-items:center;gap:8px;color:#abddd8}.led{display:inline-block;width:7px;height:7px;border-radius:50%;background:#66e9bc;box-shadow:0 0 13px #66e9bc}.icon-button,.minor-btn{border:1px solid var(--border);border-radius:7px;background:#142732;height:27px;min-width:29px;font-size:17px}.workbench{flex:1;min-height:0;padding:11px 12px;display:grid;grid-template-columns:270px minmax(0,1fr) 295px;gap:11px}.panel{background:linear-gradient(163deg,rgba(14,32,46,.98),rgba(8,23,35,.98));border:1px solid #26414b;border-radius:12px;min-height:0;overflow:auto;scrollbar-width:thin;scrollbar-color:#34515a transparent}.panel-heading{padding:17px 16px 14px;display:flex;justify-content:space-between;align-items:flex-start;gap:8px}.eyebrow,.tiny-label{font-size:9px;letter-spacing:.16em;font-weight:800;color:#78aaa9}.panel-heading h2{font-weight:650;font-size:19px;letter-spacing:-.035em;margin:7px 0 0}.minor-btn{font-size:20px;color:#739798}.preset-row{margin:2px 14px 5px;display:grid;grid-template-columns:repeat(3,1fr);gap:5px}.preset{padding:9px 3px;border:1px solid #2b4651;background:#122a35;border-radius:7px;font-size:10px;font-weight:700;white-space:nowrap;color:#9ab4bd}.preset.active{color:#c9f7ee;border-color:#55c4b9;background:#164046}.preset-dot{display:inline-block;width:5px;height:5px;border-radius:50%;vertical-align:2px;margin-right:3px}.control-list{padding:3px 15px 2px}.slider-setting{padding:12px 0 8px;border-bottom:1px solid #1b3541}.slider-top{display:flex;justify-content:space-between;align-items:center;gap:4px;margin-bottom:9px}.slider-top label{font-size:11px;font-weight:620;color:#d7e5e6}.slider-top output{font-family:ui-monospace,"SFMono-Regular",Consolas,monospace;color:#80ead7;font-size:11px;white-space:nowrap}.slider-setting input[type=range]{width:100%;height:4px;display:block;margin:12px 0;accent-color:#6be2cc;cursor:pointer}.range-ends{display:flex;justify-content:space-between;color:#688592;font-size:9px;font-family:ui-monospace,monospace}.control-foot{padding:12px 15px 16px;display:flex;flex-wrap:wrap;justify-content:space-between;gap:8px}.control-foot .tiny-label{font-size:8px}.text-btn{border:0;background:transparent;color:#87cec6;font-size:10px;text-decoration:underline;text-underline-offset:3px}.stage{min-width:0;display:flex;flex-direction:column;min-height:0;position:relative}.stage-top{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:8px 10px 12px;min-height:113px}.kicker{color:#71b9b4;font-size:10px;letter-spacing:.155em;font-weight:720;display:flex;align-items:center;gap:8px}.kicker-line{width:14px;height:1px;background:#65c2bd}.stage-title h1{font-size:clamp(22px,2.55vw,38px);line-height:1.1;letter-spacing:-.06em;margin:10px 0 7px;font-weight:780}.stage-title em{color:#79dccb;font-style:normal;font-weight:390}.stage-title p{font-size:12px;color:#a8bec4;margin:0}.taxon-tag{border:1px solid #32555b;background:#122a32;padding:9px 12px;border-radius:6px;white-space:nowrap;display:flex;flex-direction:column;gap:4px;text-align:right;letter-spacing:.13em;font-size:9px;color:#88a9ad}.taxon-tag strong{font-size:11px;color:#e9efe9}.viewport{min-height:225px;flex:1;position:relative;overflow:hidden;border:1px solid #31515b;background:radial-gradient(ellipse at 50% 40%,#123642,#071622 77%);border-radius:12px;box-shadow:inset 0 0 48px #081522}#scene{width:100%;height:100%;display:block;touch-action:none;cursor:grab}#scene:active{cursor:grabbing}.scene-vignette{pointer-events:none;position:absolute;inset:0;background:linear-gradient(180deg,rgba(5,18,28,.40),transparent 18%,transparent 77%,rgba(5,18,28,.67));box-shadow:inset 0 0 95px rgba(0,0,0,.28)}.scene-top{pointer-events:none;position:absolute;top:14px;left:15px;right:15px;display:flex;align-items:flex-start;justify-content:space-between;gap:8px}.view-marker{font-size:9px;letter-spacing:.15em;color:#c8e9e8;font-weight:800}.crosshair{font-size:17px;color:#67d7d4;vertical-align:-2px}.engine-badge{border:1px solid #35616a;border-radius:3px;background:#09232da8;padding:5px 6px;color:#93d5d2;font-family:ui-monospace,monospace;font-size:8px;letter-spacing:.065em;max-width:180px;text-align:right}.scene-bottom-left{position:absolute;bottom:17px;left:18px;pointer-events:none;display:flex;flex-direction:column;gap:6px}.microcopy{font-size:8px;letter-spacing:.1em;font-weight:820;color:#f2b96d}.microcopy span{color:#a9c9cc;font-weight:500;margin-left:9px}.view-stack{position:absolute;top:50%;right:12px;transform:translateY(-50%);display:flex;flex-direction:column;gap:6px}.camera-btn{background:#112d38d9;border:1px solid #426371;width:29px;height:29px;border-radius:6px;font-size:19px;display:grid;place-items:center;color:#bbdddd}.camera-btn:hover,.camera-btn.active{background:#23545b;border-color:#79ded3;color:white}.scale-pill{position:absolute;bottom:13px;right:13px;font-family:ui-monospace,monospace;font-size:8px;letter-spacing:.07em;color:#a2ccce;background:#0a2129b0;padding:6px 8px;border:1px solid #2a4a51;border-radius:4px}.scale-pill span{color:#f3b772}.timeline{margin-top:9px;min-height:63px;display:flex;align-items:center;gap:12px;border:1px solid #2d4550;border-radius:9px;background:#101f2a;padding:9px 10px}.transport-controls{display:flex;align-items:center;gap:6px}.play-btn{height:36px;width:36px;background:#6ce6d2;color:#0b3133;border:0;border-radius:7px;font-size:17px;font-weight:850}.button-small{border:1px solid #38525d;border-radius:6px;height:34px;padding:0 8px;background:#18303c;color:#bfdcdb;white-space:nowrap}.button-small span{font-size:14px}.timeline-time{display:flex;flex-direction:column;gap:2px;min-width:66px}.timeline-time strong{font-size:16px;font-weight:640;letter-spacing:.025em;font-family:ui-monospace,monospace}.speed-control{display:flex;flex-direction:column;gap:3px}.speed-control select{height:23px;color:#def6f1;background:#132c37;border:1px solid #35545e;border-radius:4px;font-family:ui-monospace,monospace;font-size:11px;padding:0 4px}.timeline-progress{flex:1;min-width:0;display:flex;flex-direction:column;gap:6px;align-items:flex-end}.timeline-track{height:3px;background:#24424b;border-radius:4px;width:100%;overflow:hidden}.timeline-fill{height:100%;width:0%;background:linear-gradient(90deg,#ffad67,#60dcc9)}.small-muted{font-size:9px;color:#738f98;white-space:nowrap}.data-panel .panel-heading{padding-bottom:14px}.pulse-label{font-size:8px;letter-spacing:.065em;color:#64d9b8;padding-top:6px;white-space:nowrap}.hero-metric{margin:0 14px 11px;padding:14px;background:linear-gradient(130deg,#163944,#102c3b);border:1px solid #29535d;border-radius:9px}.hero-value{display:flex;align-items:baseline;gap:9px;margin:4px 0 10px}.hero-value strong{font-size:clamp(38px,3.3vw,46px);letter-spacing:-.06em;line-height:1;font-weight:700;font-variant-numeric:tabular-nums}.hero-value>span{font-size:13px;color:#85bab8}.meter{height:6px;background:#234752;border-radius:20px;overflow:hidden}.meter-fill{height:100%;width:0;background:linear-gradient(90deg,#f2a464,#a6e0bb,#54dccc);border-radius:20px;transition:width .2s}.hero-sub{display:flex;justify-content:space-between;margin-top:9px;font-size:8px;letter-spacing:.09em;color:#8dabb3}.hero-sub strong{color:#78e2d3;font-family:ui-monospace,monospace;font-size:11px}.metric-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px;margin:0 14px 12px}.metric-cell{border:1px solid #294450;background:#102632;border-radius:7px;padding:10px}.metric-cell>span{display:block;font-size:8px;letter-spacing:.07em;color:#81a6ae;margin-bottom:8px;white-space:nowrap}.metric-cell strong{font-family:ui-monospace,monospace;color:#f1f5f2;font-size:17px;font-weight:600;letter-spacing:-.06em;white-space:nowrap}.metric-cell small{font-size:9px;font-weight:400;color:#8db0b8;letter-spacing:0}.mini-panel{margin:0 14px 13px;padding:11px 12px;background:#0b222d;border:1px solid #2d4954;border-radius:8px}.mini-heading{display:flex;justify-content:space-between;align-items:center}.pass{font-size:9px;font-weight:750;border:1px solid #418c72;background:#143a31;color:#8af0be;padding:3px 6px;border-radius:4px}.pass.fail{border-color:#ab644b;color:#ffae88;background:#38251f}.panel-explain{font-size:10px;color:#91aeb6;line-height:1.55;margin:9px 0}.validation-row{display:flex;justify-content:space-between;align-items:center;gap:8px;padding:6px 0;border-top:1px solid #23404a;font-size:9px;letter-spacing:.06em;color:#95b2bc}.validation-row strong{font-family:ui-monospace,monospace;font-size:10px;color:#ebf6f4;letter-spacing:-.02em}.accent-row strong{color:#82e9d1}.subtle-row{color:#678b98}.subtle-row strong{color:#9dc4c4}.display-options{margin:0 14px;padding-top:4px}.display-options>.eyebrow{display:block;margin-bottom:12px}.toggle-line{display:flex;justify-content:space-between;align-items:center;font-size:10px;color:#b4ccce;padding:8px 0;border-top:1px solid #26404b;gap:8px}.toggle-line input{position:absolute;width:1px;height:1px;opacity:0}.switch{width:32px;height:17px;border-radius:11px;background:#2d4651;position:relative;flex:none;box-shadow:inset 0 0 0 1px #3b5862}.switch:before{content:"";position:absolute;top:3px;left:3px;width:11px;height:11px;border-radius:50%;background:#7a9299;transition:transform .15s}.toggle-line input:checked+.switch{background:#245e60}.toggle-line input:checked+.switch:before{background:#7be4d1;transform:translateX(15px)}.quality-row{display:flex;justify-content:space-between;align-items:center;gap:6px;border-top:1px solid #25424a;padding:10px 0;color:#89a6ae;font-size:9px;letter-spacing:.07em}.quality{display:flex;border:1px solid #33565c;border-radius:6px;overflow:hidden}.quality button{border:0;background:#152d39;padding:5px 10px;font-size:10px;color:#88a9b0}.quality button.active{background:#346268;color:#e9fefa}.science{border-top:1px solid #2a4650;margin:10px 14px 16px}.science summary{list-style:none;cursor:pointer;display:flex;justify-content:space-between;align-items:center;padding:13px 2px}.science summary::-webkit-details-marker{display:none}.science summary>span:first-child{display:flex;flex-direction:column;gap:5px}.science summary strong{font-size:15px}.science summary>span:last-child{font-size:20px;color:#9fccc9}.science[open] summary>span:last-child{transform:rotate(180deg)}.science-body{color:#b0cad0;font-size:11px;line-height:1.65}.science-body p{margin:0 0 12px}.science-body b{color:#90e4d4;font-size:9px;letter-spacing:.08em}.equation{font-family:ui-monospace,monospace;font-size:10px;background:#071a25;border:1px solid #35505b;border-radius:6px;padding:11px 8px;line-height:1.8;overflow-x:auto;white-space:nowrap;margin:6px 0 14px}.science-body .reference{color:#9bb6b9;font-size:10px}.science-body .disclaimer{border-top:1px solid #35515b;padding-top:10px;font-size:10px;color:#d9c59f}.footer{flex:none;height:31px;border-top:1px solid #18343e;padding:0 16px;display:flex;align-items:center;justify-content:space-between;gap:10px;font-size:9px;letter-spacing:.08em;color:#648b92;white-space:nowrap}.footer-dot{color:#69dcca}.sep{color:#43606b;margin:0 8px}.compact .header,.compact .controls-panel,.compact .data-panel,.compact .footer{display:none}.compact .workbench{padding:0;display:block}.compact .stage{height:100dvh}.compact .stage-top{min-height:94px;padding:15px 20px}.compact .viewport{border-radius:0}.compact .timeline{border-radius:0;margin:0}
@media(max-width:1190px){.workbench{grid-template-columns:242px minmax(0,1fr) 260px;gap:8px;padding:8px}.stage-title h1{font-size:25px}.stage-title p{font-size:11px}.taxon-tag{display:none}.metric-cell{padding:8px 7px}.metric-cell>span{font-size:7px}.panel-heading{padding-left:12px;padding-right:12px}.panel-heading h2{font-size:18px}.controls-panel .control-list{padding:2px 12px}.hero-metric{margin-left:10px;margin-right:10px}.metric-grid,.mini-panel,.display-options{margin-left:10px;margin-right:10px}}
@media(max-width:820px){.app{height:auto;min-height:100dvh}.header{height:54px}.workbench{display:flex;flex-direction:column;padding:8px}.stage{order:1;height:min(690px,76dvh);min-height:510px}.data-panel{order:2;overflow:visible}.controls-panel{order:3;overflow:visible}.stage-top{min-height:109px;padding:9px 7px 11px}.stage-title h1{font-size:clamp(25px,5vw,35px)}.viewport{flex:1}.timeline{min-height:62px}.data-panel{display:grid;grid-template-columns:1fr 1fr;gap:0 12px;padding-bottom:12px}.data-panel>.panel-heading,.data-panel>.science{grid-column:1/-1}.data-panel .hero-metric,.data-panel .metric-grid,.data-panel .mini-panel,.data-panel .display-options{margin:0 12px 12px}.data-panel>.display-options{padding-top:12px}.data-panel .hero-metric{align-self:stretch}.footer{height:34px}}
@media(max-width:550px){.header{padding:0 12px}.brand-text{font-size:10px}.brand-text .dim{display:none}.header-right .science-id,.header-right .divider-inline{display:none}.badge-live{font-size:8px}.workbench{padding:6px;gap:8px}.stage{height:585px;min-height:585px}.stage-top{min-height:113px}.stage-title h1{font-size:30px}.stage-title p{font-size:11px;max-width:330px}.kicker{font-size:8px;letter-spacing:.105em}.viewport{min-height:325px}.scene-top{top:10px;left:10px;right:10px}.view-marker{font-size:7px}.engine-badge{font-size:7px;max-width:140px;letter-spacing:0}.scene-bottom-left{bottom:33px;left:10px;gap:5px}.microcopy{font-size:7px;max-width:240px;line-height:1.4}.microcopy span{margin-left:4px}.scale-pill{bottom:8px;right:8px;font-size:7px}.view-stack{right:7px}.camera-btn{height:28px;width:28px}.timeline{gap:9px;padding:7px}.play-btn{width:32px;height:32px}.button-small{height:30px;padding:0 7px}.timeline-time{min-width:59px}.timeline-time strong{font-size:14px}.timeline-progress{display:none}.data-panel{display:block}.data-panel .panel-heading{padding:16px 14px}.data-panel .hero-metric{margin:0 12px 9px}.data-panel .metric-grid{margin:0 12px 12px}.metric-cell{padding:12px}.metric-cell>span{font-size:9px}.mini-panel,.display-options{margin:0 12px 12px!important}.footer{padding:0 10px;font-size:7px}.footer>div:first-child{max-width:58%;overflow:hidden;text-overflow:ellipsis}.footer>div:last-child{white-space:nowrap}.controls-panel .panel-heading{padding:16px}.controls-panel.collapsed .preset-row,.controls-panel.collapsed .control-list,.controls-panel.collapsed .control-foot{display:none}.compact .stage{height:100dvh;min-height:100dvh}.compact .stage-top{min-height:100px}.compact .viewport{min-height:300px}}
@media(prefers-reduced-motion:reduce){*{transition:none!important}}
