:root{color-scheme:dark;--bg:#070b16;--panel:#101627;--line:#263249;--blue:#7ad7ee;--muted:#79869e;--text:#eef2ff;--amber:#ffcf94;--purple:#a18eff;font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif}
*{box-sizing:border-box}html,body{height:100%;margin:0;background:#050916;color:var(--text)}button,input,select{font:inherit}button{cursor:pointer}button:focus-visible,input:focus-visible,select:focus-visible{outline:2px solid var(--blue);outline-offset:3px}
.shell{height:100vh;min-height:680px;display:flex;flex-direction:column;overflow:hidden;background:#07101d}.topbar{flex:0 0 78px;background:#090e1c;border-bottom:1px solid #273147;display:flex;align-items:center;justify-content:space-between;padding:0 27px;gap:25px;position:relative;z-index:3}.brand{display:flex;align-items:center;gap:14px;min-width:265px}.brand-icon{width:40px;height:40px;border:1px solid #4a8fa8;border-radius:12px;display:grid;place-items:center;color:#9ce5ff;font-size:28px;box-shadow:0 0 25px #71eaff13 inset;background:linear-gradient(135deg,#152f44,#15192f)}.brand small{display:block;font-weight:750;font-size:9px;letter-spacing:.19em;color:#97b7cb}.brand strong{display:block;font-size:19px;letter-spacing:.075em;margin-top:4px;white-space:nowrap}.brand em{font-style:normal;font-weight:450;color:#8c8aaa}.muted{color:#617088!important}.top-sub{letter-spacing:.22em;font-size:10px;font-weight:750;color:#94a8c6;white-space:nowrap}.version{margin-left:12px;color:#64748e}.top-actions{display:flex;align-items:center;gap:10px;color:#a1b0c8;font-size:9px;font-weight:800;letter-spacing:.12em;white-space:nowrap}.live-dot{width:7px;height:7px;border-radius:50%;background:#83ebc3;box-shadow:0 0 13px #6fdfae}.icon-button{margin-left:15px;color:#c6dbee;border:1px solid #36465f;border-radius:6px;background:#172239;padding:10px 12px}.icon-button:hover,.export-actions button:hover{background:#273950}
.workspace{flex:1;display:grid;grid-template-columns:minmax(0,1fr) 350px;min-height:0}.scene{position:relative;overflow:hidden;background:radial-gradient(ellipse at 45% 48%,#1c3356 0,#0a152b 38%,#060e1e 75%)}#sceneCanvas{width:100%;height:100%;display:block;touch-action:none;cursor:grab;position:absolute;inset:0}#sceneCanvas.dragging{cursor:grabbing}.noise{pointer-events:none;position:absolute;inset:0;background-image:url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.72' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.12'/%3E%3C/svg%3E");opacity:.10}.scene-overlay{position:absolute;z-index:1;pointer-events:none}.top-left{left:4.8%;top:5.6%;max-width:380px}.eyebrow{font-size:10px;font-weight:850;letter-spacing:.21em;color:#9ac0dd}.tiny-planet{display:inline-block;height:7px;width:7px;border-radius:50%;background:#7dd6ec;margin-right:9px;box-shadow:0 0 0 4px #74c5e61b}.sep{color:#536981;margin:0 6px}.top-left h1{font-size:clamp(38px,4.2vw,63px);line-height:1.02;letter-spacing:-.06em;margin:19px 0 13px;font-weight:780;text-shadow:0 5px 30px #090d21}.top-left h1 i{font-style:normal;color:#b7e5fa;font-weight:480}.top-left p{font-size:12px;line-height:1.8;color:#9cb2cc;max-width:275px;margin:0}.info-tags{display:flex;gap:6px;margin-top:20px;flex-wrap:wrap}.info-tags span{font-size:8px;font-weight:750;letter-spacing:.1em;padding:7px 9px;border:1px solid #4155728c;border-radius:3px;background:#0e1f32aa;color:#9ccbe5}.top-right{top:5.5%;right:3.9%}.spatial-meta{text-align:right;font-size:9px;line-height:1.8;letter-spacing:.14em;color:#8294ac}.spatial-meta small{font-size:8px;color:#697c95}.spark{color:#9bdaf0;font-size:16px}.bottom-left{bottom:108px;left:4.8%}.legend{padding:15px 19px 13px;max-width:270px}.glass{background:#0c162bc9;border:1px solid #38516a85;backdrop-filter:blur(10px);border-radius:6px}.legend-title{font-size:9px;font-weight:800;letter-spacing:.2em;color:#bdcce0}.swatches{display:flex;align-items:center;gap:12px;color:#d0d9e9;font-size:10px;margin:11px 0}.swatch-line{height:5px;flex:1;border-radius:10px;background:linear-gradient(90deg,#3bafe7,#7189dd,#e0ac73,#ffe1a6)}.legend small{font-size:9px;color:#758aa6;line-height:1.5}.gesture{color:#b6cbe6;font-size:10px;letter-spacing:.12em;margin-top:17px}.gesture span{color:#8296b1;font-weight:750;font-size:9px}.bottom-right{bottom:109px;right:3.5%}.view-card{border-left:2px solid #659abb;padding:10px 13px;background:#0c1826a6}.view-card strong{display:block;font-size:9px;letter-spacing:.12em}.view-card span{display:block;color:#91bfd6;font-size:10px;margin-top:7px}.orbit-label{position:absolute;font-size:10px;font-weight:700;letter-spacing:.12em;color:#94b4cf63;pointer-events:none}.orbit-one{left:55%;top:54%}.orbit-three{left:71%;top:76%}.hud-bottom{position:absolute;bottom:0;left:0;right:0;padding:13px 25px 17px;background:linear-gradient(0deg,#080f20 0,#090f20e8 80%,transparent);border-top:1px solid #27354c82;z-index:2}.run-controls{display:flex;align-items:center;gap:11px}.run-controls button{border:1px solid #33485e;background:#1b2b3e;color:#d6eafe;border-radius:5px;height:39px;min-width:39px;font-weight:800}.run-controls button:hover{background:#2a405b}.run-controls .play{background:#9ecfe6;border:0;color:#0e2940;font-size:18px;min-width:43px}.run-text{display:flex;flex-direction:column;gap:7px;margin-left:7px;min-width:200px}.run-text strong{font-size:10px;letter-spacing:.13em}.run-text span{font-size:8px;letter-spacing:.06em;color:#738ba4}.timeline{margin-left:auto;max-width:280px;width:27%}.timeline-bar{height:4px;border-radius:10px;background:#243b50;margin:10px 0}.timeline-bar span{height:100%;display:block;width:0%;background:linear-gradient(90deg,#4e9fb8,#bce2f3);border-radius:10px}.timeline-meta{display:flex;justify-content:space-between;font-size:9px;color:#99b0c9}.timeline-mark{font-size:8px;color:#b2c9db;letter-spacing:.12em}
.panel{border-left:1px solid #26334c;background:#111729;overflow:hidden;box-shadow:-8px 0 45px #0002;min-height:0}.panel-scroll{height:100%;overflow:auto;padding:27px 25px 30px;scrollbar-width:thin;scrollbar-color:#3b4e6c #111729}.panel-head{display:flex;justify-content:space-between;gap:10px;align-items:center}.panel-head h2{font-size:30px;line-height:1.1;letter-spacing:-.055em;margin:8px 0 5px}.panel-head .eyebrow{font-size:9px}.accent{color:#96d9f3}.panel-id{font-size:13px;text-align:right;font-weight:900;letter-spacing:.13em;color:#7da9c7}.panel-id span{font-size:9px;color:#7186a2}.section-label{display:flex;align-items:center;gap:10px;margin:24px 0 14px;color:#afbfda;font-size:9px;letter-spacing:.17em;font-weight:850;white-space:nowrap}.section-label>span{border:1px solid #405270;border-radius:3px;color:#83cde7;padding:5px 6px}.section-label .line{flex:1;border-top:1px solid #2a3952}.stat-grid{display:grid;grid-template-columns:1fr 1fr;gap:9px}.stat{padding:13px 12px;background:#161f33;border:1px solid #293852;border-radius:5px;min-width:0}.stat>span{display:block;font-size:8px;letter-spacing:.11em;color:#8fa3bc;font-weight:850}.stat strong{display:block;font-size:24px;line-height:1.3;letter-spacing:-.045em;margin-top:8px}.stat strong small{font-size:12px;color:#8cc6dd}.stat em{font-style:normal;font-size:9px;color:#788ba4}.preset-group{display:flex;gap:7px}.preset{flex:1;padding:10px 4px;background:#172137;border:1px solid #2c3a54;border-radius:4px;color:#9db1cd;font-size:10px;font-weight:800}.preset:hover{border-color:#6d9db2}.preset.active{color:#daf6ff;border-color:#81c4df;background:#23415b}.slider-row{margin-top:18px}.slider-top{display:flex;align-items:baseline;justify-content:space-between;margin-bottom:11px;gap:12px}.slider-top label{font-size:11px;font-weight:720;color:#d1dbeb}.hint{font-size:9px;color:#7f90ab;font-weight:450}.slider-top output{white-space:nowrap;color:#92d5f1;font-size:11px;font-weight:850}.sliders input[type=range]{appearance:none;width:100%;height:4px;border-radius:6px;background:#2b4059;outline:none;cursor:pointer}.sliders input[type=range]::-webkit-slider-thumb{appearance:none;width:13px;height:13px;border-radius:50%;background:#c6efff;border:3px solid #335b77;box-shadow:0 0 0 2px #779bb244}.sliders input[type=range]::-moz-range-thumb{width:11px;height:11px;background:#b8e9ff;border:2px solid #42677b;border-radius:50%}.event-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:7px}.event{min-width:0;background:#19263a;border:1px solid #2f4964;border-radius:5px;padding:10px 2px;text-align:center;color:#b8e7f7}.event:hover{background:#243e57;border-color:#77c5d6}.event>span{display:block;font-size:19px;margin-bottom:6px}.event strong{display:block;font-size:9px;color:#e2eefb;white-space:nowrap}.event small{display:block;font-size:8px;color:#7f9bb6;margin-top:4px}.visual-settings>label{font-size:11px;color:#d4e4ef;font-weight:700}.visual-settings select{width:100%;margin:9px 0 14px;background:#1a2740;border:1px solid #34475e;color:#d3e3f4;border-radius:4px;padding:10px;font-size:11px}.switch{display:flex;align-items:center;justify-content:space-between}.switch input{position:absolute;opacity:0}.switch i{display:block;width:36px;height:19px;background:#42506b;border-radius:20px;position:relative}.switch i:after{content:'';position:absolute;left:3px;top:3px;width:13px;height:13px;background:white;border-radius:50%;transition:.15s}.switch input:checked+i{background:#4aa4bf}.switch input:checked+i:after{left:20px}.chart-box{background:#111e30;padding:12px 13px;border:1px solid #2a3c55;border-radius:4px}.chart-heading{display:flex;justify-content:space-between;gap:5px;font-size:8px;font-weight:850;letter-spacing:.10em;color:#b4c5d9}.chart-heading span{color:#77c3dd;white-space:nowrap}#histCanvas{width:100%;height:102px;display:block;margin-top:11px}.chart-legend{display:flex;justify-content:space-between;color:#7f93ad;font-size:8px;letter-spacing:.11em}.mass-meter{margin-top:14px;font-size:9px;letter-spacing:.08em;color:#8ea4c0}.mass-meter strong{float:right;color:#b1dbeb}.meter-bg{background:#27374c;height:5px;clear:both;margin:12px 0 7px;border-radius:4px}.meter-bg span{display:block;background:linear-gradient(90deg,#5eaac4,#ddc39d);height:100%;width:50%;border-radius:4px}.mass-meter small{font-size:9px;color:#6c819b;letter-spacing:0}.export-actions{display:flex;gap:8px;margin-top:23px}.export-actions button{flex:1;white-space:nowrap;border:1px solid #45637c;background:#1b3348;color:#ccebf5;font-size:9px;letter-spacing:.07em;padding:13px 5px;border-radius:4px;font-weight:850}.export-actions button span{padding-left:5px}.disclaimer{margin-top:19px;font-size:9px;color:#72839d;line-height:1.7;padding:12px;border:1px solid #29384d;border-radius:4px;background:#121d2b}
footer{height:32px;flex:0 0 32px;display:flex;justify-content:space-between;align-items:center;gap:15px;padding:0 22px;border-top:1px solid #233145;background:#080e1b;color:#7286a1;font-size:9px;letter-spacing:.11em;white-space:nowrap}.foot-star{color:#96cfe9;font-size:14px}.footer-sep{color:#43536b;margin:0 8px}.toast{position:fixed;bottom:55px;left:50%;transform:translateX(-50%) translateY(35px);padding:11px 17px;border:1px solid #3d7899;border-radius:7px;background:#19293fe8;color:#d5edfc;font-size:12px;z-index:9;opacity:0;transition:opacity .3s,transform .3s;pointer-events:none}.toast.show{opacity:1;transform:translateX(-50%) translateY(0)}
@media(max-width:1150px){.top-sub{display:none}.workspace{grid-template-columns:minmax(0,1fr) 325px}.panel-scroll{padding:23px 19px}.top-left h1{font-size:43px}}@media(max-width:790px){.shell{height:auto;overflow:visible;min-height:100vh}.topbar{height:65px;flex:0 0 65px;padding:0 14px}.top-actions{font-size:0}.top-actions .icon-button{font-size:11px}.workspace{display:flex;flex-direction:column}.scene{height:min(78vh,650px);min-height:490px}.panel{min-height:0}.panel-scroll{height:auto;max-height:none;padding:24px 22px}.top-left{left:5%;top:5%}.top-left h1{font-size:45px}.top-left p{font-size:11px}.bottom-left{bottom:105px}.bottom-right,.spatial-meta,.orbit-label{display:none}.timeline{display:none}.run-text{min-width:0;flex:1}.gesture{font-size:9px}footer{font-size:7px}footer span:nth-child(2){display:none}}@media(max-width:440px){.brand strong{font-size:15px}.brand{min-width:0}.brand-icon{height:34px;width:34px}.brand small{font-size:7px}.icon-button span{display:none}.top-left h1{font-size:38px}.info-tags span{font-size:7px}.bottom-left{left:5%}.legend{padding:12px}.hud-bottom{padding:12px 8px}.run-text strong{font-size:9px}.run-text span{font-size:7px}}
