:root{color-scheme:dark;--bg:#071018;--panel:#0d1b24;--panel2:#10232c;--stroke:#1c3440;--stroke2:#315361;--ink:#e8f3f5;--muted:#8ba4b0;--subtle:#60808d;--teal:#4ee2d3;--amber:#ffc578;--pink:#ff729e;--spacing:8px;font-family:Inter,"Segoe UI",system-ui,-apple-system,sans-serif;font-feature-settings:"tnum" 1}*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:radial-gradient(ellipse at 52% -16%,#173c46 0,#08131c 40%,#050d14 100%);color:var(--ink);font-size:13px}button,input,select{font:inherit}button{cursor:pointer}button:focus-visible,input:focus-visible,select:focus-visible{outline:2px solid var(--teal);outline-offset:3px}a{color:var(--teal)}.app{max-width:1800px;margin:auto;min-height:100vh;padding:0 18px}.topbar{height:78px;display:flex;align-items:center;justify-content:space-between;gap:16px;border-bottom:1px solid var(--stroke);margin-bottom:14px}.brand{display:flex;align-items:center;gap:12px}.brand-logo{display:grid;place-items:center;background:#123b46;color:#9ffff5;border:1px solid #306679;width:37px;height:37px;font-size:26px;border-radius:11px;box-shadow:inset 0 0 16px #1e778030}.brand-name{font-size:17px;font-weight:780;letter-spacing:.068em}.eyebrow{color:#73bfc4;font-size:10px;font-weight:780;letter-spacing:.15em}.brand .eyebrow{font-size:9px;margin-bottom:3px}.top-actions{display:flex;align-items:center;gap:17px}.special{color:#85a7b1;font-size:10px;letter-spacing:.11em;font-weight:700}.top-chip{font-size:10px;color:#b6e0df;border:1px solid #284b55;padding:9px 12px;border-radius:30px;background:#0b2229;font-weight:700}.live-dot,.small-dot{display:inline-block;width:7px;height:7px;border-radius:50%;background:#57e9b1;box-shadow:0 0 12px #48edb08a;margin-right:7px}.head-btn{background:#17333e;color:#e7ffff;border:1px solid #2f5561;padding:10px 15px;border-radius:8px;font-weight:700}.head-btn span{color:var(--teal);padding-left:12px}.card{border:1px solid var(--stroke);background:linear-gradient(155deg,#10232d,#0a171f 80%);border-radius:12px;overflow:hidden;box-shadow:0 17px 46px #00000033}.app-layout{display:grid;grid-template-columns:minmax(245px,270px) minmax(400px,1fr) minmax(245px,277px);gap:12px;height:min(765px,calc(100vh - 112px));min-height:585px}.panel-header{display:flex;justify-content:space-between;align-items:flex-start;gap:6px;margin-bottom:16px}.panel-header h2{font-size:16px;font-weight:710;line-height:1.2;margin:6px 0 0;letter-spacing:-.025em}.panel-id{font-size:10px;color:#587884;letter-spacing:.04em;white-space:nowrap}.controls,.telemetry{padding:18px 17px;overflow-y:auto;scrollbar-width:thin;scrollbar-color:#284a54 transparent}.preset-label{font-size:10px;color:#7ba1aa;letter-spacing:.13em;font-weight:750;margin:6px 0 10px}.presets{display:flex;gap:5px;margin-bottom:19px}.presets button{border:1px solid #29424e;background:#12262e;padding:9px 5px;border-radius:7px;color:#99afba;flex:1;font-size:10px;font-weight:680;white-space:nowrap}.presets button.selected{background:#193f45;border-color:#43a99e;color:#b8fff0;box-shadow:inset 0 0 0 1px #2b928157}.control{margin-bottom:15px}.control-top{display:flex;align-items:baseline;justify-content:space-between;gap:8px;margin-bottom:9px}.control label{font-size:11px;color:#c5d8dd;font-weight:610}.control output{font-weight:710;font-size:11px;color:#77e5da;white-space:nowrap}.control input[type=range]{appearance:none;-webkit-appearance:none;width:100%;height:4px;background:linear-gradient(to right,var(--teal) var(--pct,50%),#28434c var(--pct,50%));border-radius:5px;outline:0;cursor:ew-resize;display:block;margin:0 0 7px}.control input[type=range]::-webkit-slider-thumb{appearance:none;-webkit-appearance:none;background:#d4fff9;border:2px solid #3aa49b;height:13px;width:13px;border-radius:50%;box-shadow:0 0 0 3px #54d8d91a}.control input[type=range]::-moz-range-thumb{background:#d4fff9;border:2px solid #3aa49b;height:10px;width:10px;border-radius:50%}.range-ends{display:flex;justify-content:space-between;color:#60828c;font-size:9px}.sidebar-bottom{margin-top:18px;padding-top:16px;border-top:1px solid var(--stroke)}.secondary-button{width:100%;padding:9px;border:1px solid #355665;border-radius:7px;background:#17303a;color:#c5e2e5;font-weight:660;font-size:11px}.sidebar-bottom p{font-size:10px;line-height:1.55;color:#73919d;margin:12px 0 0}.stage{display:flex;flex-direction:column;min-width:0;position:relative}.stage-top{height:47px;min-height:47px;display:flex;justify-content:space-between;align-items:center;padding:0 17px;background:#0c1b23;border-bottom:1px solid #26404b;gap:5px}.view-label,.scale-notice{font-weight:700;font-size:10px;letter-spacing:.07em;color:#97c5c9;white-space:nowrap}.view-label{display:flex;align-items:center}.view-separator{margin:0 9px;color:#4d7780}.scale-notice{font-size:9px;color:#aa987d}.viewport{position:relative;flex:1;min-height:290px;background:radial-gradient(circle at 48% 38%,#12313a,#06131d 65%,#040910);overflow:hidden}.viewport canvas{width:100%;height:100%;display:block;cursor:grab;touch-action:none}.viewport canvas:active{cursor:grabbing}.view-annotation{pointer-events:none;position:absolute;z-index:1}.top-left{top:20px;left:20px;max-width:300px;text-shadow:0 2px 7px #001319}.annotation-kicker{font-size:10px;font-weight:760;letter-spacing:.14em;color:#f3c883}.annotation-title{font-size:22px;max-width:275px;line-height:1.15;letter-spacing:-.045em;font-weight:760;margin-top:7px}.annotation-copy{max-width:270px;line-height:1.6;font-size:11px;color:#a4bfc8;margin-top:7px}.lower-left{bottom:33px;left:18px;background:#061621d9;border:1px solid #274753bf;border-radius:6px;padding:10px;color:#bed2d7;font-size:9px;font-weight:650;display:flex;gap:8px;align-items:center;flex-wrap:wrap}.legend-dot{width:7px;height:7px;border-radius:100%;display:inline-block;margin-left:5px}.amber{background:var(--amber)}.pink{background:var(--pink)}.aqua{background:var(--teal)}.renderer-status{position:absolute;right:14px;top:12px;background:#06171cce;border:1px solid #21404a;padding:6px 8px;border-radius:5px;font-size:9px;color:#7cb5bc}.zoom-corner{position:absolute;right:18px;bottom:35px;font-size:9px;color:#588b94;letter-spacing:.08em;font-weight:700}.toolbar{border-top:1px solid #29414a;min-height:57px;display:flex;align-items:center;justify-content:space-between;padding:8px 14px;gap:8px;background:#0c1c24;flex-wrap:wrap}.transport,.camera-actions{display:flex;align-items:center;gap:7px}.play-button{width:33px;height:31px;border:1px solid #4ec5af;border-radius:6px;background:#1f716f;color:#edfff8;font-weight:800}.toolbar-button{height:31px;padding:0 9px;border:1px solid #264652;border-radius:6px;color:#b0d0d5;background:#132a33;font-size:10px;font-weight:660;white-space:nowrap}.toolbar-button:hover,.secondary-button:hover{border-color:#56a8aa}.timecode{font-size:10px;color:#b3d2d6;margin:0 5px;font-variant-numeric:tabular-nums;white-space:nowrap}.speed-label{font-size:9px;color:#6f98a4;font-weight:750}.toolbar select{height:30px;border:1px solid #284b58;border-radius:5px;background:#112c35;color:#daeff0;font-size:10px;padding:0 6px}.stage-bottom{height:43px;min-height:43px;display:flex;align-items:center;gap:16px;padding:0 15px;border-top:1px solid #243f49;background:#0b1c24;flex-wrap:wrap}.switch{display:flex;align-items:center;gap:5px;white-space:nowrap}.switch input{accent-color:#4dd9c9;width:13px;height:13px;margin:0}.switch label{font-size:10px;color:#9ebac2;cursor:pointer}.quality-wrap{display:flex;align-items:center;gap:8px;margin-left:auto;font-size:9px;color:#7397a3;font-weight:760}.quality-wrap button{background:#103f42;border:1px solid #317974;color:#a3fff2;border-radius:4px;padding:5px 10px;font-size:9px;font-weight:770}.telemetry .panel-header{margin-bottom:17px}.signal-card{background:#0c2029;border:1px solid #24414b;border-radius:8px;padding:13px 11px;margin-bottom:10px}.signal-title{display:flex;align-items:center;font-size:9px;font-weight:750;letter-spacing:.05em;color:#a7c9cb;white-space:nowrap}.signal-dot{width:6px;height:6px;border-radius:50%;display:inline-block;margin-right:6px}.signal-dot.teal{background:#52e6d4}.signal-dot.coral{background:#fb709c}.signal-number{margin-left:auto;color:#e8ffff;font-size:15px;font-weight:760;letter-spacing:-.03em}.progress{height:5px;background:#233943;border-radius:7px;overflow:hidden;margin:12px 0 7px}.progress span{display:block;height:100%;border-radius:4px;transition:width .12s linear}.barA{background:linear-gradient(90deg,#2c888d,#5cead3)}.barB{background:linear-gradient(90deg,#9a3864,#ff77a8)}.metric-foot{font-size:9px;color:#708e9a;letter-spacing:.04em}.main-metric{border-top:1px solid #29404b;padding-top:18px;margin-top:17px}.big-readout{font-size:45px;line-height:1.14;margin-top:5px;color:#78f5dc;letter-spacing:-.045em;font-weight:720;font-variant-numeric:tabular-nums}.main-metric p{font-size:11px;color:#8eaab5;margin:4px 0 6px}.spark svg{width:100%;height:44px;display:block;opacity:.88}.metric-grid{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin:8px 0 16px}.mini-metric{background:#0b2028;border:1px solid #223d47;border-radius:7px;padding:11px 9px;min-width:0;display:flex;flex-direction:column;gap:6px}.mini-metric span{font-size:9px;color:#729ba4;letter-spacing:.045em;font-weight:720;white-space:nowrap}.mini-metric strong{font-size:17px;font-weight:750;letter-spacing:-.03em}.mini-metric small{font-size:9px;color:#6c8e99}.validation{border:1px solid #3a5048;background:linear-gradient(135deg,#152b2d,#112126);padding:13px 11px;border-radius:8px}.validation strong{display:block;margin:8px 0 12px;font-size:11px}.validation-row{display:flex;justify-content:space-between;border-bottom:1px solid #34504480;gap:8px;padding:5px 0;color:#92aeb4;font-size:10px}.validation-row b{font-size:10px;color:#e2f5f2;font-variant-numeric:tabular-nums}.validation-row:last-of-type b{color:#74e5c1}.validation p{color:#70939c;font-size:10px;line-height:1.5;margin:10px 0 0}.biology-link{background:none;color:var(--teal);border:0;padding:15px 0 0;width:100%;text-align:left;font-weight:680;font-size:11px}.biology-link span{float:right}.biology-section{margin:14px 0 9px}.biology-header{width:100%;background:#102631;border:0;text-align:left;padding:14px 22px;display:flex;justify-content:space-between;align-items:center;color:var(--ink)}.biology-header strong{display:block;font-size:16px;margin-top:5px}.biology-header>span:last-child{font-size:23px;color:#70cfcb}.biology-content{padding:12px 22px 20px}.biology-columns{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px}.biology-columns h3{font-size:14px;color:#d8f4f2;margin:8px 0}.biology-columns p{font-size:11px;line-height:1.75;color:#a4bbc5}.sources{display:flex;gap:12px;align-items:center;flex-wrap:wrap;border-top:1px solid #27414a;padding-top:14px;font-size:11px}.sources strong{color:#daeff0}.disclaimer{font-size:11px;color:#88a2ab;margin:14px 0 0}.footer{display:flex;justify-content:space-between;padding:10px 4px 18px;color:#607f88;font-size:9px;letter-spacing:.08em;gap:12px}
@media(min-width:1540px){.app-layout{grid-template-columns:280px minmax(550px,1fr) 290px}.controls,.telemetry{padding:20px}}
@media(max-width:1160px){.app{padding:0 10px}.app-layout{grid-template-columns:225px minmax(300px,1fr) 235px;gap:7px}.controls,.telemetry{padding:14px 11px}.topbar{height:66px}.brand-name{font-size:14px}.top-actions{gap:6px}.special{display:none}.toolbar{padding:7px;gap:4px}.stage-bottom{gap:7px;padding:0 9px}.camera-actions{gap:3px}.toolbar-button{padding:0 6px}}
@media(max-width:900px){.app-layout{height:auto;min-height:0;display:grid;grid-template-columns:minmax(0,1fr) 265px;gap:10px}.stage{grid-column:1/-1;grid-row:1;height:600px}.controls{grid-column:1;grid-row:2;max-height:590px}.telemetry{grid-column:2;grid-row:2;max-height:590px}.biology-columns{grid-template-columns:1fr 1fr}.scale-notice{display:none}}
@media(max-width:600px){.app{padding:0 8px}.topbar{height:60px;margin-bottom:9px}.brand-logo{width:31px;height:31px;font-size:21px}.brand-name{font-size:11px;letter-spacing:.035em}.brand .eyebrow{font-size:8px}.top-actions .top-chip{display:none}.head-btn{padding:8px;font-size:10px}.head-btn span{display:none}.app-layout{display:flex;flex-direction:column;gap:9px}.stage{height:515px;min-height:515px;order:0}.controls{order:1}.telemetry{order:2}.stage-top{height:41px;min-height:41px;padding:0 9px}.view-label{font-size:9px}.viewport{min-height:300px}.top-left{top:18px;left:13px}.annotation-title{font-size:20px;max-width:220px}.annotation-copy{font-size:10px;max-width:235px}.lower-left{left:9px;bottom:28px;right:9px;padding:8px;gap:6px;font-size:8px}.zoom-corner{bottom:13px;right:11px;font-size:7px}.renderer-status{font-size:8px;top:8px;right:7px}.toolbar{min-height:75px;padding:6px 9px;justify-content:center;gap:4px}.transport,.camera-actions{justify-content:center;flex:1 1 100%}.camera-actions .toolbar-button{flex:1}.stage-bottom{height:48px;min-height:48px;gap:8px;justify-content:space-between}.switch label{font-size:9px}.quality-wrap{gap:3px}.quality-wrap span{display:none}.controls,.telemetry{max-height:none;overflow:visible;padding:17px}.controls .control{margin-bottom:17px}.controls .presets button{padding:11px 4px}.telemetry .metric-grid{grid-template-columns:1fr 1fr}.biology-columns{grid-template-columns:1fr;gap:2px}.biology-content{padding:10px 17px 18px}.footer{display:block;text-align:center;line-height:1.8}.footer span{display:block}}
body.embed .topbar,body.embed .footer,body.embed .biology-section{display:none}body.embed .app{padding:6px;min-height:0}body.embed .app-layout{height:calc(100vh - 12px);min-height:460px}body.embed .panel-header h2{font-size:14px}@media(max-width:600px){body.embed .app-layout{height:auto;min-height:0}body.embed .stage{height:calc(100dvh - 12px);min-height:430px}}
body.hide-labels .view-annotation{display:none}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;transition:none!important}}
