:root{--bg:#07111b;--panel:#0b1723;--panel2:#0c1b29;--ink:#ecf5f6;--muted:#81939e;--border:#223340;--teal:#62dccf;--gold:#ffc47b;--violet:#ce94fa;--header-h:89px;--footer-h:68px;font-family:Inter,"Segoe UI",Arial,sans-serif;color:var(--ink);background:var(--bg);font-synthesis:none}
*{box-sizing:border-box}html,body{margin:0;min-height:100%;background:#06111c}button,select,input{font:inherit}button{cursor:pointer}button:focus-visible,select:focus-visible,input:focus-visible,canvas:focus-visible{outline:2px solid var(--teal);outline-offset:2px}button:disabled{opacity:.45;cursor:not-allowed}.app{min-height:100svh;height:100svh;display:flex;flex-direction:column;overflow:hidden;background:radial-gradient(ellipse at 57% 15%,#112a37 0,transparent 52%),#07111b}.topbar{height:var(--header-h);flex:0 0 var(--header-h);display:grid;grid-template-columns:300px minmax(0,1fr) 290px;align-items:center;border-bottom:1px solid var(--border);background:#091520e8;padding:0 23px;gap:16px;position:relative;z-index:3}.logo{display:flex;align-items:center;gap:10px;font-size:12px;letter-spacing:2px;font-weight:850;color:#d8e6eb}.logo-glyph{width:35px;height:35px;border:1px solid #4c7e7d;background:linear-gradient(145deg,#173d45,#0b2633);border-radius:11px;display:flex;align-items:center;justify-content:center;color:#79f0d6;font-size:25px;box-shadow:0 0 16px #2fc2b51b}.logo .accent{color:#64dccc}.logo small{display:block;margin-top:5px;font-size:8px;letter-spacing:1.6px;color:#68818f;font-weight:700}.heading{min-width:0;padding-left:2px}.eyebrow{color:#77bcb7;font-size:9px;font-weight:800;letter-spacing:2px}.dot{padding:0 9px;color:#577578;font-size:8px}h1{font-size:27px;line-height:1.02;font-weight:720;letter-spacing:-.9px;margin:5px 0 3px}h1 em,h2 em{font-weight:450;color:#66cfc6;font-style:italic}.heading p{color:#a1b4ba;margin:0;font-size:10.5px;letter-spacing:.35px}.topactions{display:flex;gap:12px;align-items:center;justify-content:flex-end}.alive{font-size:9px;font-weight:850;color:#7ae3be;letter-spacing:1.3px;white-space:nowrap}.live-dot{display:inline-block;width:7px;height:7px;background:#65dcb0;border-radius:50%;box-shadow:0 0 0 4px #53bb9122,0 0 12px #49ffc199;margin-right:8px}.paused .live-dot{background:#e8ad70;box-shadow:0 0 0 4px #e8ad7022}.minimal{color:#d8e9e7;background:#152732;border:1px solid #38515d;border-radius:5px;font-size:10px;letter-spacing:1px;font-weight:800;padding:11px 12px}.minimal span{color:#68dfc7;margin-left:8px}.minimal:hover,.footer-button:hover,.camera:hover,.round-button:hover{background:#23404b}.workbench{flex:1;min-height:0;display:grid;grid-template-columns:294px minmax(0,1fr) 274px}.sidebar{min-width:0;background:linear-gradient(180deg,#0b1b28,#091722);padding:20px 17px 12px;overflow-y:auto;scrollbar-width:thin;scrollbar-color:#35505c transparent}.leftpanel{border-right:1px solid #243747}.rightpanel{border-left:1px solid #243747;padding:20px 15px 10px}.panel-title{display:flex;align-items:center;gap:9px;color:#d2e5e5;font-size:10px;letter-spacing:1.5px;white-space:nowrap}.panel-title>span:first-child{color:#6ccfc3;font-family:monospace;font-size:11px}.panel-title .asterisk{margin-left:auto;color:#598b90;font-size:16px}.panel-subtitle{font-size:11px;color:#7f95a2;line-height:1.5;margin:10px 0 15px}.presetbar{display:flex;gap:6px;margin:0 0 16px}.preset{flex:1;min-width:0;background:#101f2c;border:1px solid #2d4251;color:#9cabb5;border-radius:4px;padding:10px 4px;font-size:9px;font-weight:800;letter-spacing:1px}.preset.selected{background:#123831;border-color:#469989;color:#96ffe0}.preset:hover{border-color:#6aa79a}.control-list{display:grid;gap:13px}.control-head{display:flex;align-items:baseline;justify-content:space-between;gap:8px;margin-bottom:7px}.control-name{font-size:11px;font-weight:580;color:#c0d2da}.control-value{font-size:10.5px;color:var(--teal);font-weight:760;font-variant-numeric:tabular-nums;white-space:nowrap}.control-value small{font-size:9px;color:#769ba5;font-weight:500}.control-row{position:relative}.control-row input[type=range]{width:100%;appearance:none;height:4px;background:linear-gradient(90deg,#5cdbc5 var(--fill),#203440 var(--fill));border-radius:10px;margin:0;cursor:pointer;display:block}.control-row input[type=range]::-webkit-slider-thumb{appearance:none;width:12px;height:12px;border-radius:50%;background:#c3fff1;border:2px solid #398a7d;box-shadow:0 0 0 3px #56d2b51a}.control-row input[type=range]::-moz-range-thumb{width:10px;height:10px;border-radius:50%;background:#c3fff1;border:2px solid #398a7d}.control-bounds{margin-top:6px;display:flex;justify-content:space-between;font-size:8px;color:#556e7b}.model-note{margin-top:17px;padding:11px;border:1px solid #27505b;border-radius:5px;background:#0c2530;display:flex;gap:9px;color:#8cabb4;font-size:10px;line-height:1.5}.model-note>span:first-child{color:#6cdbc8;font-size:18px}.stage{position:relative;overflow:hidden;isolation:isolate;background:linear-gradient(180deg,#123847,#071b2a 65%,#041a20)}.stage canvas{width:100%;height:100%;display:block;touch-action:none}.stage .vignette{position:absolute;inset:0;pointer-events:none;background:radial-gradient(ellipse at 45% 45%,transparent 20%,#00101d20 60%,#020d16af 110%);z-index:1}.stage-top,.stage-bottom{position:absolute;left:15px;right:15px;display:flex;align-items:center;justify-content:space-between;z-index:2;pointer-events:none}.stage-top{top:16px}.stage-bottom{bottom:15px}.stage-top>*,.stage-bottom>*{pointer-events:auto}.sci-chip,.backend{font-size:9px;letter-spacing:1.3px;color:#c7e6e3;font-weight:800;text-shadow:0 1px 6px #051b25}.sci-chip{background:#0d2534ac;padding:9px 11px;border:1px solid #648d8e50;border-radius:4px}.shine{font-size:15px;color:#68e3d5;margin-right:6px}.backend{font-size:8px;color:#6cd4cc;background:#09273590;border:1px solid #33647260;padding:8px 10px;border-radius:4px}.scene-label{position:absolute;display:flex;gap:8px;color:#e6fcf8;font-size:10px;font-weight:850;letter-spacing:1.1px;line-height:1.5;z-index:2;pointer-events:none;text-shadow:0 1px 8px #05141f;white-space:nowrap}.scene-label small{display:block;color:#a1c5c4;font-size:9px;letter-spacing:.15px;font-weight:530}.target{width:8px;height:8px;border:1px solid #bcf4e8;border-radius:50%;box-shadow:0 0 0 5px #d0f8ee19;margin-top:3px}.label-sponge{left:54%;top:29%}.label-doc{left:6%;top:32%}.label-doc .target{border-color:#66e6d7}.label-det{right:6%;bottom:31%}.label-det .target{border-color:#ebb4fd}.legend{position:absolute;bottom:70px;left:15px;z-index:2;display:flex;gap:14px;color:#b3cfd1;font-size:9px;font-weight:760;letter-spacing:.9px;background:#06172295;border:1px solid #31505a7a;padding:9px 11px;border-radius:5px}.legend>span{white-space:nowrap}.legend-dot{width:7px;height:7px;display:inline-block;border-radius:50%;margin-right:5px}.aqua{background:#51e9d4}.amber{background:#ffad64}.violet{background:#cf99ff}.cam-controls{display:flex;gap:5px;border:1px solid #4a71765e;background:#071d2bdc;border-radius:6px;padding:4px;box-shadow:0 6px 18px #07131b75}.camera{padding:10px 10px;background:transparent;color:#9cbfbe;border:0;border-radius:4px;font-size:9px;font-weight:820;letter-spacing:.7px}.camera.active{background:#2b615d;color:#e9fff5}.round-button{width:36px;height:36px;border-radius:5px;border:1px solid #4a71765e;background:#071d2bdc;color:#a9ddd3;font-size:22px}.rightpanel .panel-title{letter-spacing:1px}.timeread{margin:17px 0 16px;background:linear-gradient(115deg,#10313b,#10232e);border:1px solid #265264;border-radius:6px;padding:11px 12px}.timeread>span{display:block;font-size:9px;color:#74a2aa;letter-spacing:1.4px;font-weight:800}.timeread strong{display:block;font-weight:720;font-size:30px;letter-spacing:-1px;margin-top:4px;color:#e8fffc;font-variant-numeric:tabular-nums}.timeread small{font-weight:450;font-size:12px;color:#8fbabf}.metric{border-bottom:1px solid #253846;padding:11px 0 12px;min-width:0}.metric-label{font-size:9px;font-weight:800;letter-spacing:1.2px;color:#8cb2ba;display:block;margin-bottom:7px;white-space:nowrap}.metric-label i{font-size:7px;color:#54dfcc;font-style:normal;margin-left:5px}.metric strong{font-size:24px;font-weight:730;line-height:1.05;letter-spacing:-.5px;font-variant-numeric:tabular-nums;color:#f2f9f8;display:block}.metric strong small{font-size:11px;color:#8cb1b9;font-weight:500}.bigmetric strong{font-size:38px;color:#62e7d5}.unit{display:block;font-size:10px;letter-spacing:.35px;margin-top:6px;color:#a1b5c0}.unit small{font-size:8px;color:#557781;margin-left:4px;font-weight:800}.spark{width:100%;height:4px;border-radius:10px;background:#233d46;margin-top:10px}.spark i{display:block;width:40%;height:100%;background:linear-gradient(90deg,#347f7b,#67ecd6);border-radius:inherit}.metric-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px}.metric-grid .metric strong{font-size:21px}.metric-grid .unit{font-size:9px}.validation{border:1px solid #315767;background:linear-gradient(135deg,#0d2a32,#0c222d);margin-top:14px;padding:11px;border-radius:6px;font-variant-numeric:tabular-nums}.check-heading{color:#9af4da;font-size:9px;letter-spacing:1px;font-weight:800}.checkmark{border:1px solid #4f9f89;border-radius:50%;height:15px;width:15px;display:inline-flex;justify-content:center;align-items:center;margin-right:5px}.validation-sub{color:#6b979f;font-size:9px;margin:7px 0 12px}.validation-row{display:flex;justify-content:space-between;gap:10px;margin-top:7px;align-items:baseline}.validation-row>span{font-size:9px;letter-spacing:.65px;color:#91aab6}.validation-row b{font-size:10px;color:#d1e8e5;font-weight:730}.validation-row.difference b{color:#8df5cb}.mass-row{border-top:1px solid #32505d;display:flex;justify-content:space-between;gap:8px;margin-top:11px;padding-top:10px;color:#6c9099;font-size:8px;line-height:1.5}.mass-row strong{color:#e8c79b;font-size:9px}.side-footer{margin:10px 2px 0;color:#5c7d88;font-size:8px;font-weight:800;letter-spacing:.7px}.side-footer span{color:#3c636e}.footbar{height:var(--footer-h);flex:0 0 var(--footer-h);display:flex;justify-content:space-between;gap:13px;align-items:center;padding:0 18px;border-top:1px solid #2c424e;background:#0c1b27;z-index:3}.footbar button{font-size:9px;font-weight:850;letter-spacing:.8px}.playback,.display-options{display:flex;align-items:center;gap:8px;min-width:0}.primary-action{color:#052829;background:#6be6ca;border:1px solid #83ffdb;padding:11px 12px;border-radius:4px;min-width:82px}.primary-action:hover{background:#a9ffe6}.footer-button,.quality,.capture{border:1px solid #36525e;border-radius:4px;background:#142936;color:#c2d5d6;padding:11px 12px}.quality{color:#8ad9c8}.divider-v{height:24px;width:1px;background:#334954;margin:0 5px}.speed-label{font-size:9px;color:#81a2a9;font-weight:800;letter-spacing:.8px}select{background:#122734;color:#d8efef;border:1px solid #375461;border-radius:4px;padding:10px 6px;font-size:11px;font-weight:700}.display-options label{display:flex;align-items:center;gap:5px;color:#a9c5c8;font-size:9px;font-weight:750;white-space:nowrap;cursor:pointer}.display-options input{accent-color:#63dac9;width:13px;height:13px;margin:0}.capture{color:#79dccc}.render-error{position:absolute;inset:30% 12%;z-index:5;padding:20px;background:#112a37f0;border:1px solid #ffba82;color:#ffdec1;border-radius:6px;line-height:1.5;font-size:13px}.science{position:fixed;inset:var(--header-h) 16px var(--footer-h);z-index:12;overflow:auto;background:linear-gradient(160deg,#102a39,#0b1725 75%);border:1px solid #47716f;box-shadow:0 24px 140px #000c;border-radius:9px;padding:25px;scrollbar-width:thin}.science[hidden],.render-error[hidden]{display:none}.science-top{display:flex;justify-content:space-between;gap:15px;align-items:start;border-bottom:1px solid #345061;padding-bottom:15px}.science h2{font-size:26px;letter-spacing:-.4px;margin:9px 0}.science-top button{border:1px solid #43616f;color:#ccede6;background:#152f3e;border-radius:4px;padding:9px 14px;font-size:10px;font-weight:800}.science-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px 32px}.science article h3{color:#7ce5cc;font-size:12px;letter-spacing:1.15px;margin:24px 0 9px}.science article p{font-size:12px;line-height:1.75;color:#bfd1d6;margin:9px 0}.science article code{font-family:Consolas,monospace;color:#f8d4a0;font-size:11px}.science article strong,.science article b{color:#edf6f3}.sources{margin-top:22px;padding-top:14px;border-top:1px solid #335263;display:flex;gap:9px 18px;flex-wrap:wrap;align-items:center}.sources strong{display:block;width:100%;color:#7eaaaf;font-size:10px;letter-spacing:1px}.sources a{color:#80e9d3;font-size:11px;text-decoration:none}.sources a:hover{text-decoration:underline}.legal{margin-top:17px;color:#6f8f99;font-size:10px}.app.embed .logo,.app.embed .topactions .alive{display:none}.app.embed .topbar{grid-template-columns:1fr auto;height:68px;flex-basis:68px;--header-h:68px}.app.embed .science{top:68px}.app.embed .heading{padding-left:2px}.app.embed .heading h1{font-size:22px}
@media(max-width:1100px){.topbar{grid-template-columns:232px 1fr 215px;padding:0 12px}.workbench{grid-template-columns:250px minmax(0,1fr) 247px}.rightpanel{padding:16px 12px}.leftpanel{padding:16px 12px}.topactions{gap:7px}.logo{font-size:10px}.minimal{font-size:9px}.footbar{padding:0 10px}.display-options label{font-size:8px}.quality{padding:9px 8px}.footbar button{letter-spacing:.25px}.cam-controls .camera{padding:9px 6px;font-size:8px}.label-det{right:3%}}
@media(max-width:850px){.app{height:auto;min-height:100svh;overflow:visible}.topbar{height:76px;flex:0 0 76px;grid-template-columns:1fr auto;padding:0 12px}.logo{display:none}.heading h1{font-size:25px}.topactions .alive{display:none}.workbench{display:grid;grid-template-columns:minmax(0,1fr) 256px;grid-template-areas:'scene scene' 'controls metrics';overflow:visible}.stage{grid-area:scene;height:57svh;min-height:340px}.leftpanel{grid-area:controls;border-top:1px solid var(--border)}.rightpanel{grid-area:metrics;border-top:1px solid var(--border)}.sidebar{overflow:visible}.footbar{height:auto;min-height:68px;flex-wrap:wrap;padding:10px 12px}.science{top:12px;bottom:12px}.label-sponge{top:26%}}
@media(max-width:570px){.app,.app.embed{min-height:100svh;height:auto;overflow:visible}.topbar,.app.embed .topbar{height:80px;flex-basis:80px;padding:0 14px;gap:5px}.heading .eyebrow{font-size:8px;letter-spacing:1.1px}.heading h1{font-size:27px}.heading p{font-size:10px}.topactions .minimal{font-size:0;padding:10px 9px}.topactions .minimal span{font-size:15px;margin:0}.workbench{grid-template-columns:minmax(0,1fr);grid-template-areas:'scene' 'metrics' 'controls';display:grid}.stage{height:430px;min-height:370px}.stage-top{top:12px;left:12px;right:12px}.stage-bottom{left:10px;right:10px;bottom:13px}.scene-label{font-size:8px;letter-spacing:.4px}.scene-label small{font-size:8px}.label-doc{left:4%;top:39%}.label-sponge{left:56%;top:24%}.label-det{right:4%;bottom:27%}.target{width:6px;height:6px}.legend{bottom:64px;left:10px;font-size:8px;padding:7px 8px;gap:9px}.cam-controls .camera{font-size:9px;padding:10px 8px}.backend{font-size:7px}.rightpanel,.leftpanel{padding:19px 17px 17px}.rightpanel{display:grid;grid-template-columns:1fr 1fr;gap:0 13px}.rightpanel>.panel-title,.rightpanel>.timeread,.rightpanel>.validation,.rightpanel>.side-footer{grid-column:1/-1}.timeread{margin:12px 0 7px;padding:11px 13px}.timeread strong{font-size:26px}.metric.bigmetric{grid-column:1}.rightpanel>.metric:nth-of-type(2){grid-column:2}.rightpanel>.metric-grid{grid-column:1/-1}.metric-grid .metric{padding:10px 0}.bigmetric strong{font-size:32px}.rightpanel>.metric strong{font-size:28px}.validation{margin-top:16px}.control-list{grid-template-columns:1fr 1fr;gap:17px 20px}.control-name{font-size:10px}.control-head{display:block}.control-value{display:block;margin-top:3px}.model-note{margin-bottom:6px}.footbar{order:1;position:sticky;bottom:0;z-index:8;flex-direction:column;align-items:stretch;gap:9px;padding:8px 10px;background:#0b1926f5;backdrop-filter:blur(15px)}.playback,.display-options{justify-content:space-between}.display-options{gap:6px}.display-options label{font-size:8px}.display-options .divider-v{display:none}.capture span{display:none}.quality{font-size:8px}.primary-action,.footer-button,.quality,.capture{padding:9px 10px}.speed-label{font-size:8px}.science{inset:8px 5px 8px;padding:17px;z-index:20}.science-grid{grid-template-columns:1fr}.science h2{font-size:23px}.science article h3{margin-top:17px}.sources{gap:12px}}
@media(max-width:380px){.camera{padding:8px 5px!important;font-size:7px!important}.legend{gap:6px}.scene-label{letter-spacing:0}.control-list{gap:14px}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{scroll-behavior:auto!important;transition:none!important}}
@media(min-width:851px) and (max-height:770px){
 .rightpanel{padding-top:14px}.rightpanel .timeread{margin:11px 0 8px;padding:8px 11px}.rightpanel .timeread strong{font-size:25px}
 .rightpanel .metric{padding:7px 0}.rightpanel .metric-label{margin-bottom:4px}.rightpanel .metric strong{font-size:19px}
 .rightpanel .metric.bigmetric strong{font-size:29px}.rightpanel .metric-grid .metric strong{font-size:17px}
 .rightpanel .unit{margin-top:4px}.rightpanel .spark{margin-top:7px}
 .rightpanel .validation{margin-top:9px;padding:8px}.rightpanel .validation-sub{margin:4px 0 7px}
 .rightpanel .validation-row{margin-top:4px}.rightpanel .mass-row{margin-top:6px;padding-top:6px}
 .rightpanel .side-footer{margin-top:6px}
}
@media(max-width:570px){
 html,body{max-width:100%;overflow-x:clip}
 .app,.topbar,.workbench,.stage,.leftpanel,.rightpanel,.footbar{max-width:100%;min-width:0}
 .footbar{width:100%;flex-wrap:wrap}
 .footbar .playback,.footbar .display-options{width:100%;min-width:0;flex-wrap:wrap;justify-content:flex-start}
 .footbar .playback{gap:5px}.footbar .display-options{gap:7px 12px}
 .footbar .display-options label{flex:0 0 auto}.footbar .display-options .quality{margin-left:auto}
 .footbar .divider-v{display:none}
}
