:root{--bg:#081b23;--panel:#102b34;--panel2:#13333b;--ink:#e8eee9;--muted:#8fa6a6;--line:#25454b;--accent:#d28c53;--teal:#5ac1b3;--blue:#4c93a0;--sans:Inter,ui-sans-serif,system-ui,-apple-system,"Segoe UI",sans-serif;--serif:Georgia,"Times New Roman",serif}*{box-sizing:border-box}html,body{margin:0;min-height:100%;background:var(--bg);color:var(--ink);font:13px/1.45 var(--sans)}body{background:radial-gradient(ellipse at 52% 0%,#16353c 0%,#081b23 64%)}.topbar{height:76px;padding:0 26px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--line);background:rgba(7,24,31,.9)}.brand-lockup{display:flex;align-items:center;gap:13px}.orbit-mark{width:34px;height:34px;border:1px solid #c58b5e;border-radius:50%;position:relative;display:grid;place-items:center}.orbit-mark span{width:19px;height:19px;border:1px solid var(--teal);border-radius:50%;transform:rotate(35deg) scaleX(.55)}.orbit-mark i{position:absolute;width:5px;height:5px;background:var(--accent);border-radius:50%;right:2px;top:7px;box-shadow:0 0 12px #d28c53}.eyebrow{font-size:9px;letter-spacing:.16em;font-weight:750;color:#7f9a9d;margin:0 0 3px}.brand-lockup h1{font:21px/1.1 var(--serif);font-weight:500;letter-spacing:-.015em;margin:0}.top-meta{display:flex;align-items:center;gap:9px;font-size:8px;letter-spacing:.14em;color:#819b9d}.top-meta b{font-size:11px;color:var(--accent)}.top-divider{height:17px;width:1px;background:var(--line);margin:0 5px}.mode-label{color:var(--teal)}.workspace{max-width:1700px;margin:0 auto;display:grid;grid-template-columns:minmax(0,1fr) 345px;min-height:calc(100vh - 114px)}.scene-column{padding:21px 22px 18px;min-width:0}.scene-heading{display:flex;align-items:end;justify-content:space-between;margin-bottom:14px}.scene-heading h2{font:25px/1.1 var(--serif);font-weight:500;margin:0}.scene-live{display:flex;align-items:center;gap:7px;color:#8ba5a6;font-size:8px;letter-spacing:.14em}.scene-live span{width:6px;height:6px;border-radius:50%;background:var(--teal);box-shadow:0 0 9px #5ac1b3}.metric-strip{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;margin-bottom:10px}.metric{min-width:0;padding:10px 12px;background:rgba(17,46,55,.86);border:1px solid var(--line);border-radius:3px}.metric-accent{border-color:#795d47;background:linear-gradient(140deg,#26383a,#172d33)}.metric>span{display:block;color:#8ea5a4;font-size:9px;font-weight:650}.metric strong{display:block;font:23px/1.15 var(--serif);font-weight:500;color:#f0eee6;margin:4px 0 2px;font-variant-numeric:tabular-nums;white-space:nowrap}.metric strong small{font:11px var(--sans);color:var(--accent);margin-left:3px}.metric em{font-size:8px;color:#7d9697;font-style:normal}.scene-shell{height:clamp(360px,54vh,600px);min-height:360px;position:relative;border:1px solid #2b5057;border-radius:3px;overflow:hidden;background:radial-gradient(ellipse at 50% 40%,#23454b 0%,#102d36 45%,#091e27 100%);box-shadow:inset 0 0 65px rgba(0,0,0,.3)}#scene{display:block;width:100%;height:100%;touch-action:pan-y;outline:none}.scene-overlay{position:absolute;left:15px;right:15px;display:flex;justify-content:space-between;pointer-events:none;color:#8da7a7;font-size:8px;letter-spacing:.14em}.scene-overlay-top{top:13px}.scene-overlay-bottom{bottom:14px;gap:14px}.scene-overlay-bottom div{display:grid;gap:3px}.scene-overlay-bottom b{font-size:8px;color:var(--accent)}.scene-overlay-bottom div:nth-child(2) b{color:var(--teal)}.scene-overlay-bottom span{font-size:9px;letter-spacing:0;color:#8da7a7}.scene-tag{color:#b7c7c2}.scene-tools{position:static;display:flex;gap:6px;flex-wrap:wrap;justify-content:flex-end;max-width:none;margin:9px 0 0}.tool-button,.view-button{border:1px solid #42636a;background:rgba(9,29,37,.82);color:#b5c7c4;border-radius:2px;padding:7px 9px;font:600 9px var(--sans);cursor:pointer}.tool-button:hover,.view-button:hover{background:#24454c;color:#fff}.tool-button.active,.view-button.active{border-color:var(--accent);color:#e7b17d}.tool-button:focus-visible,.view-button:focus-visible,.part-button:focus-visible,input:focus-visible,summary:focus-visible{outline:2px solid var(--teal);outline-offset:3px}.fallback-note{position:absolute;left:15px;top:42px;padding:6px 9px;background:#382f25;color:#e8c39d;border:1px solid #805e3f;font-size:9px}.viewbar{display:flex;justify-content:space-between;align-items:center;gap:15px;padding:11px 2px 0}.view-presets{display:flex;align-items:center;gap:5px}.view-presets>span,.explode-control>span{font-size:8px;letter-spacing:.13em;color:#789294;margin-right:6px}.view-button{padding:5px 10px;background:transparent}.explode-control{display:flex;align-items:center;gap:8px;min-width:180px}.explode-control input{width:100px;accent-color:var(--accent)}.explode-control output{color:var(--accent);font-size:9px;font-variant-numeric:tabular-nums;min-width:30px}.inspector-rail{padding:21px 18px 24px;background:rgba(10,31,39,.93);border-left:1px solid var(--line);min-width:0}.rail-title{margin-bottom:12px}.rail-title h2{font:19px/1.1 var(--serif);font-weight:500;margin:0}.part-list{border-top:1px solid var(--line)}.part-button{display:flex;align-items:center;width:100%;gap:10px;padding:9px 5px;border:0;border-bottom:1px solid var(--line);background:transparent;text-align:left;color:var(--ink);cursor:pointer}.part-index{font:italic 14px var(--serif);color:#65868a;width:20px}.part-button>span:nth-child(2){display:grid;gap:1px;flex:1}.part-button b{font-size:10px;font-weight:650}.part-button small{font-size:8px;color:#7f9b9d}.part-button i{font-style:normal;color:#58767b}.part-arrow{width:13px;height:13px;flex:0 0 13px;color:#58767b}.part-button.active .part-arrow{color:var(--accent)}.part-button.active{background:linear-gradient(90deg,rgba(210,140,83,.13),transparent);border-left:2px solid var(--accent);padding-left:3px}.part-button.active .part-index,.part-button.active i{color:var(--accent)}.part-description{margin:10px 0 19px;padding:10px 11px;background:#102b34;border:1px solid #25454b}.part-description span{font-size:8px;letter-spacing:.12em;color:var(--accent)}.part-description p{font-size:9px;color:#9bb0ae;line-height:1.45;margin:6px 0 0}.operating-controls{padding-top:14px;border-top:1px solid var(--line)}.controls{display:grid;grid-template-columns:1fr 1fr;gap:12px 13px}.control{display:block;min-width:0}.control-top{display:flex;flex-direction:column;gap:2px;font-size:9px;color:#a6bab6;font-weight:600}.control-top output{color:var(--accent);font-size:10px;font-weight:750;font-variant-numeric:tabular-nums}input[type=range]{appearance:none;width:100%;height:3px;border-radius:4px;background:#35535a;display:block;margin:8px 0 4px;outline:none}input[type=range]::-webkit-slider-thumb{appearance:none;width:12px;height:12px;border-radius:50%;background:var(--accent);border:2px solid #0b2028;box-shadow:0 0 0 1px var(--accent);cursor:pointer}input[type=range]::-moz-range-thumb{width:9px;height:9px;border-radius:50%;background:var(--accent);border:2px solid #0b2028;box-shadow:0 0 0 1px var(--accent);cursor:pointer}.range-ends{display:flex;justify-content:space-between;color:#627f82;font-size:8px}.reset-conditions{margin-top:13px;border:1px solid #35565d;background:transparent;color:#9bb4b0;padding:7px 10px;border-radius:2px;font:600 9px var(--sans);cursor:pointer}.reset-conditions:hover{background:#183841}.results-panel{margin-top:18px;padding-top:14px;border-top:1px solid var(--line)}.partition-row{display:flex;justify-content:space-between;gap:6px;padding:6px 0;border-bottom:1px solid rgba(44,75,80,.65);font-size:9px;color:#8da4a4}.partition-row b{font-size:9px;color:#d8e2dc;font-variant-numeric:tabular-nums;white-space:nowrap}.check-card{margin-top:12px;padding:11px;background:#102f34;border:1px solid #315a55}.check-heading{display:flex;gap:8px;align-items:center}.check-heading>.check-mark{width:19px;height:19px;border:1px solid #5d9c86;border-radius:50%;display:grid;place-items:center;color:#77c3a5}.check-mark svg{width:12px;height:12px}.reset-conditions{display:inline-flex;align-items:center;gap:7px}.check-heading .eyebrow{color:#6fa38d}.check-heading b{font:14px var(--serif);font-weight:500}.check-value{display:flex;align-items:baseline;gap:7px;margin-top:9px}.check-value strong{font:22px var(--serif);color:#7cc6a5}.check-value small{font-size:8px;color:#83a29b}.check-track{height:3px;background:#244b49;margin:7px 0 8px;overflow:hidden}.check-track span{display:block;height:100%;background:#65b896;width:2%}.check-foot{display:flex;justify-content:space-between;font-size:8px;color:#7e9c96}.check-foot b{color:#b7d3c5}.science-panel{margin-top:12px;border-top:1px solid var(--line);border-bottom:1px solid var(--line)}.science-panel summary{list-style:none;cursor:pointer;padding:10px 0;color:#a7bbb7;font-size:9px;font-weight:750;letter-spacing:.14em;display:flex;justify-content:space-between}.science-panel summary::-webkit-details-marker{display:none}.science-panel summary span{color:var(--accent)}.science-content{font-size:9px;color:#8ca5a2;padding:0 0 11px;line-height:1.5}.science-content p{margin:0 0 8px}.science-content b{color:#d7e2dc}.science-content .equation{font:13px var(--serif);color:var(--accent)}.science-foot{color:#748e8f;font-style:italic}.footer{height:38px;display:flex;align-items:center;justify-content:space-between;padding:0 22px;border-top:1px solid var(--line);color:#668286;font-size:8px;letter-spacing:.12em}.footer span:first-child{color:var(--accent)}body.embed-mode{height:100vh;height:100dvh;overflow:hidden}.embed-mode .topbar,.embed-mode .footer{display:none}.embed-mode .workspace{height:100vh;height:100dvh;min-height:0}.embed-mode .scene-column{min-height:0;display:flex;flex-direction:column}.embed-mode .scene-shell{flex:1;min-height:240px;height:auto}.embed-mode .inspector-rail{overflow:auto}@media(max-width:1120px){.workspace{grid-template-columns:minmax(0,1fr) 320px}.scene-column{padding:18px 15px}.inspector-rail{padding:18px 14px}.scene-shell{height:50vh}.metric{padding:8px}.metric strong{font-size:20px}}@media(max-width:820px){.topbar{height:65px;padding:0 14px}.brand-lockup h1{font-size:18px}.top-meta .mode-label,.top-divider{display:none}.workspace{display:flex;flex-direction:column}.scene-column{order:0;padding:14px 12px}.inspector-rail{order:1;border-left:0;border-top:1px solid var(--line);padding:16px 14px}.scene-heading h2{font-size:21px}.scene-shell{height:54vh;min-height:320px}.metric-strip{gap:5px}.metric{padding:7px}.metric strong{font-size:18px}.metric em{font-size:7px}.scene-tools{top:39px;right:8px;max-width:210px}.tool-button{padding:6px 7px;font-size:8px}.viewbar{align-items:flex-start;flex-direction:column}.explode-control{width:100%}.explode-control input{flex:1}.part-list{display:grid;grid-template-columns:1fr 1fr}.part-button{padding:8px 4px}.part-button b{font-size:9px}.part-description{margin-bottom:12px}.controls{grid-template-columns:1fr 1fr}.embed-mode .workspace{display:flex;flex-direction:column;height:100dvh;overflow:hidden}.embed-mode .scene-column{height:55dvh;min-height:0;flex:0 0 55dvh;overflow:hidden;padding:7px 8px}.embed-mode .scene-heading{margin-bottom:6px}.embed-mode .scene-heading h2{font-size:17px}.embed-mode .scene-live{display:none}.embed-mode .metric-strip{margin-bottom:6px}.embed-mode .metric{padding:5px}.embed-mode .metric>span{font-size:8px}.embed-mode .metric strong{font-size:16px;margin:1px 0}.embed-mode .metric em{display:none}.embed-mode .scene-shell{flex:1;min-height:0;height:auto}.embed-mode .scene-tools{margin:5px 0 0;justify-content:flex-start}.embed-mode .scene-overlay-bottom{display:none}.embed-mode .viewbar{padding-top:6px;gap:5px}.embed-mode .view-presets>span,.embed-mode .explode-control>span{font-size:7px}.embed-mode .view-button{padding:4px 7px}.embed-mode .inspector-rail{flex:1;min-height:0;overflow:auto;padding:12px}.embed-mode .part-inspector{display:none}.embed-mode .operating-controls{padding-top:0;border-top:0}.embed-mode .rail-title{margin-bottom:8px}.embed-mode .rail-title h2{font-size:16px}.embed-mode .controls{gap:7px 12px}.embed-mode .control-top{font-size:8px}.embed-mode .control-top output{font-size:9px}.embed-mode .range-ends{font-size:7px}.embed-mode .results-panel{margin-top:12px}.footer{padding:0 12px}.footer span:nth-child(2){display:none}}@media(prefers-reduced-motion:reduce){*,*::before,*::after{scroll-behavior:auto!important;transition:none!important;animation:none!important}}
