:root{color-scheme:dark;--bg:#06131c;--deep:#081824;--side:#0a1a27;--line:#213847;--line2:#1b3443;--muted:#8a9dab;--dim:#5f7a8b;--white:#f3f9fa;--cyan:#70e1e6;--ice:#a7f7ff;--orange:#e8b780;--accent:#67c6cf;--grid:8px;font-family:Inter,ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif;font-feature-settings:'tnum' 1}
*{box-sizing:border-box}html,body{margin:0;min-height:100%;background:var(--bg);color:var(--white)}body{overflow-x:hidden}button,select,input{font:inherit}button{cursor:pointer}button:focus-visible,select:focus-visible,input:focus-visible,summary:focus-visible{outline:2px solid var(--cyan);outline-offset:3px}button:disabled{opacity:.45;cursor:not-allowed}::selection{background:#36808f;color:white}
#app{min-height:100dvh}.topbar{height:64px;display:flex;align-items:center;padding:0 26px;border-bottom:1px solid #1c3644;background:#07151f;gap:23px}.brand{display:flex;gap:12px;align-items:center;min-width:177px}.brand-sigil{width:33px;height:33px;border:1px solid #6ae5e9;border-radius:9px;display:grid;place-items:center;background:#102e39;color:#90f7f0;font-size:26px;box-shadow:0 0 25px #52c7d122}.brand div{display:flex;flex-direction:column;gap:3px}.brand strong{font-size:12px;letter-spacing:.17em}.brand div span{color:#638ba0;font-size:8px;letter-spacing:.19em}.topbar-divider{height:26px;border-left:1px solid #294351}.title-mini{display:flex;align-items:center;gap:15px;color:#9db3c1;font-size:12px}.topic-pill{color:#a1dfe3;font-size:9px;letter-spacing:.12em;font-weight:700;background:#17323e;border:1px solid #295362;padding:7px 9px;border-radius:3px}.topbar-right{margin-left:auto;display:flex;gap:25px;align-items:center}.live-indicator,.edition{font-size:10px;letter-spacing:.13em;color:#8fa8b5;font-weight:700;white-space:nowrap}.live-indicator i,.status-pill i{display:inline-block;width:6px;height:6px;background:#66dfc5;border-radius:100%;box-shadow:0 0 12px #42debf;margin-right:7px}.edition{color:#5f8190}
.workspace{display:grid;grid-template-columns:minmax(0,1fr) 355px;height:calc(100dvh - 64px);min-height:650px}.stage{min-width:0;display:flex;flex-direction:column;background:#071722;overflow:hidden}.stage-visual{position:relative;flex:1;min-height:380px;overflow:hidden;background:radial-gradient(ellipse at 50% 30%,#1c4551,#061623 73%)}#gl{position:absolute;inset:0;cursor:grab;touch-action:none}#gl:active{cursor:grabbing}#gl canvas{display:block;width:100%;height:100%}.stage-visual:after{content:"";position:absolute;pointer-events:none;inset:0;background:linear-gradient(90deg,#06172466 0%,transparent 45%),linear-gradient(0deg,#06121bb3 0%,transparent 22%,transparent 75%,#07192266 100%)}.stage-intro{position:absolute;z-index:2;pointer-events:none;top:32px;left:35px;max-width:530px}.eyebrow{font-size:10px;letter-spacing:.18em;color:#81d8d9;font-weight:800}.small-star{color:#a9ebed;font-style:normal;margin-right:5px}.stage-intro h1{font-size:clamp(28px,3vw,52px);line-height:1.075;font-weight:750;letter-spacing:-.055em;margin:15px 0 13px;text-shadow:0 3px 35px #02111ec2}.stage-intro h1 em{font-style:normal;color:#a6eff1}.stage-intro h1>span{color:#6acecf}.stage-intro p{color:#b0c3ca;font-size:12px;max-width:350px;line-height:1.6;margin:0;text-shadow:0 2px 12px #051521}.environment-chip{position:absolute;right:24px;top:28px;z-index:3;padding:11px 13px;background:#071f2bca;border:1px solid #3c6876;border-radius:4px;backdrop-filter:blur(8px);font-size:9px;letter-spacing:.08em;color:#a2c8d0;white-space:nowrap}.environment-chip b{color:#a5f4f7;margin-left:8px}.snowflake{color:#a6f4fa;font-size:15px;margin-right:7px}.scene-info{position:absolute;left:33px;bottom:23px;z-index:3;font-size:9px;letter-spacing:.1em;color:#a1bec4;display:flex;gap:10px;align-items:center}.scene-info-mark{color:#77dce7;font-size:17px}.sep-dot{color:#5b8294}.view-actions{position:absolute;right:23px;bottom:18px;z-index:5;display:flex;gap:8px}.icon-button{display:grid;place-items:center;width:35px;height:35px;color:#b5e5e7;background:#0b2634dc;border:1px solid #356173;border-radius:4px;font-size:17px;transition:.2s}.icon-button:hover{background:#204957;border-color:#82dfe7}.icon-button:nth-child(2){font-size:10px;font-weight:800}.annotation{position:absolute;z-index:2;display:none;flex-direction:column;gap:3px;min-width:123px;background:#092332de;padding:10px 12px 10px 14px;border:1px solid #36717b;border-left:2px solid #7ce2e2;border-radius:3px;pointer-events:none;box-shadow:0 8px 24px #04101a70}.annotation strong{font-size:9px;letter-spacing:.12em;color:#b2e9ec}.annotation span:not(.annotation-dot){font-size:10px;line-height:1.5;color:#9cbac6}.annotation-dot{position:absolute;left:-15px;top:50%;width:7px;height:7px;border-radius:50%;background:#c1ffff;box-shadow:0 0 12px #68ecf5}
#errorOverlay{position:absolute;z-index:9;inset:0;background:#081923ed;padding:25% 15%;display:flex;align-items:center;justify-content:center;flex-direction:column;text-align:center;gap:10px;color:#e8f9fb}#errorOverlay[hidden]{display:none}#errorOverlay strong{font-size:22px}#errorOverlay span{font-size:13px;line-height:1.5;max-width:390px;color:#a3bec8}#errorOverlay img{width:min(360px,75%);border-radius:4px;opacity:.7}
.telemetry{border-top:1px solid #2b4c5d;background:#071723;padding:18px 30px 17px;z-index:3;flex-shrink:0}.telemetry-head{display:flex;justify-content:space-between;align-items:center;margin-bottom:13px}.title-caps,.status-pill{letter-spacing:.15em;font-size:10px;font-weight:800;color:#b1c5cf}.status-pill{color:#72c5c4;font-size:9px}.metric-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr))}.metric{padding:0 22px;border-left:1px solid #26404d;min-width:0}.metric:first-child{border:0;padding-left:0}.metric>span{font-size:9px;color:#9ab2c0;letter-spacing:.075em;font-weight:800;white-space:nowrap}.metric-badge{font-size:7px;letter-spacing:.07em;border:1px solid #466475;color:#6599a7;padding:2px 3px;border-radius:2px;margin-left:3px}.metric>div{margin-top:8px;white-space:nowrap}.metric strong{font-size:clamp(22px,2vw,32px);font-weight:650;letter-spacing:-.04em;color:#ecfaff;font-variant-numeric:tabular-nums}.metric em{font-size:12px;font-style:normal;color:#8ab3c0;margin-left:6px}.metric small{display:block;font-size:10px;color:#6c91a2;margin-top:3px}.secondary-metrics{display:flex;justify-content:space-between;margin-top:17px;padding-top:11px;border-top:1px solid #213746;gap:12px;flex-wrap:wrap}.secondary-metrics span{font-size:9px;color:#7897a8;letter-spacing:.05em}.secondary-metrics b{color:#b3d7dc;font-weight:700;margin-left:5px}
.sidebar{background:#0a1a26;border-left:1px solid #254050;min-width:0;overflow:hidden}.sidebar-scroll{height:100%;overflow:auto;scrollbar-color:#365465 #10222e;scrollbar-width:thin}.panel-section{padding:22px 23px;border-bottom:1px solid #213747}.welcome{padding-top:25px;padding-bottom:22px;background:radial-gradient(circle at 90% 0,#15374777,transparent 55%)}.panel-id{font-size:9px;letter-spacing:.17em;font-weight:800;color:#76b8c5;display:flex;justify-content:space-between}.panel-id span{color:#557f90}.welcome h2{font-size:37px;line-height:1;margin:18px 0 10px;letter-spacing:-.055em;font-weight:700}.welcome h2 span{font-weight:300;color:#8de4e4}.welcome p{font-size:12px;line-height:1.6;color:#9fb7c2;margin:0 0 16px}.scale-notice{background:#12303a;border:1px solid #2e5561;border-radius:3px;color:#9bcbd0;font-size:9px;letter-spacing:.095em;padding:10px}.scale-notice span{color:#8adddc;margin-right:5px}.section-title{display:flex;align-items:center;gap:9px;margin-bottom:16px}.section-title>span:first-child{font-size:10px;color:#66a7b8;font-weight:800}.section-title h3{margin:0;font-size:10px;letter-spacing:.13em;font-weight:800;color:#d2e3e9;white-space:nowrap}.section-rule{height:1px;flex:1;background:#2b4654}.time-clock,.params-label{font-size:10px;color:#87cbd4;font-variant-numeric:tabular-nums;font-weight:700}.transport-row{display:flex;gap:6px}.play-btn,.secondary-btn{display:flex;align-items:center;justify-content:center;gap:10px;height:40px;border-radius:3px;font-size:10px;letter-spacing:.09em;font-weight:800}.play-btn{background:#82dadc;border:1px solid #a1f4f4;color:#092b38;flex:1.3}.play-btn:hover{background:#b2f5f4}.play-btn>span:first-child{font-size:16px}.secondary-btn{flex:1;background:#102b39;border:1px solid #325260;color:#c4dfe4}.secondary-btn:hover{background:#1c3a47}.secondary-btn span{font-size:16px;color:#8bdbdf}.speed-row{margin-top:13px;display:flex;align-items:center;justify-content:space-between}.speed-row>span{font-size:10px;letter-spacing:.08em;color:#88a4b0;font-weight:700}.speed-row select{background:#102b39;border:1px solid #325462;color:#b4eced;font-size:11px;padding:7px 9px;border-radius:3px;max-width:139px}.preset-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px}.preset{min-height:87px;display:flex;align-items:center;flex-direction:column;justify-content:center;gap:6px;border:1px solid #2c4654;border-radius:4px;color:#9bafbf;background:#102633;padding:8px 3px;text-align:center}.preset:hover{border-color:#659fac;background:#173542}.preset.is-selected{border-color:#83c6ce;background:#163b46;box-shadow:inset 0 0 0 1px #3e7683}.preset-icon{font-size:22px;line-height:1;color:#88dce4}.preset strong{font-size:8px;letter-spacing:.04em;white-space:nowrap;color:#d2e8ec}.preset small{font-size:9px;color:#789bab}.range-group{display:flex;flex-direction:column;gap:15px}.range-row{display:grid;gap:8px}.range-meta{display:flex;justify-content:space-between;gap:9px;align-items:center}.range-meta label{font-size:11px;color:#b6cbd3;font-weight:650}.range-value{font-size:11px;color:#90e6e9;font-variant-numeric:tabular-nums;white-space:nowrap;font-weight:750}.range-label{font-size:9px;color:#658b9b;display:block;margin-top:-4px}.range-row input{width:100%;margin:0;accent-color:#79d8da;height:4px;cursor:pointer}.range-row input::-webkit-slider-runnable-track{height:4px;background:linear-gradient(90deg,#59b7c4 var(--fill,50%),#294a5a var(--fill,50%));border-radius:2px}.range-row input::-webkit-slider-thumb{appearance:none;-webkit-appearance:none;width:13px;height:13px;background:#adebee;border:2px solid #154758;border-radius:50%;margin-top:-4.5px;box-shadow:0 0 0 3px #62c1cd20}.validation-top{display:flex;align-items:center;justify-content:space-between;gap:8px}.badge{font-size:8px;letter-spacing:.07em;padding:5px 6px;border:1px solid #3e6c74;border-radius:3px;color:#8fe9d2;background:#143a3d}.validation-state{font-size:9px;color:#81d8bc}.validation-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:7px;margin:14px 0}.validation-grid>div{background:#102b37;border:1px solid #284654;padding:9px 5px;border-radius:3px;min-width:0}.validation-grid small{font-size:9px;display:block;color:#819ca9;min-height:20px}.validation-grid strong{font-size:13px;color:#d4f6f8;display:block;white-space:nowrap;letter-spacing:-.03em}.validation-grid em{font-size:9px;color:#7ab9c4;font-style:normal}.validation-note{font-size:10px;line-height:1.55;color:#819eab}.science-fold{border:1px solid #345564;border-radius:3px;margin-top:18px}.science-fold summary{display:flex;justify-content:space-between;align-items:center;padding:13px 12px;color:#b8d5dc;font-size:11px;font-weight:800;letter-spacing:.08em;list-style:none;cursor:pointer}.science-fold summary::-webkit-details-marker{display:none}.science-symbol{font-size:15px;color:#89d3e0;margin-right:8px}.fold-sign{font-size:19px;color:#a0d7dd}.science-fold[open] .fold-sign{transform:rotate(45deg)}.science-content{padding:12px 13px 18px;border-top:1px solid #284856}.science-content h4{margin:16px 0 7px;font-size:10px;letter-spacing:.1em;color:#83d4dc}.science-content p{font-size:11px;color:#a0bcc8;line-height:1.65;margin:0}.equation{font-size:11px;line-height:1.55;overflow-wrap:anywhere;padding:10px;background:#061c27;color:#d5f2e8;border:1px solid #285060;border-radius:3px;margin-bottom:9px;font-family:ui-monospace,SFMono-Regular,Consolas,monospace}.disclaimer{font-size:10px;line-height:1.5;color:#668998;padding:12px 23px 28px;margin:0}.toast{position:fixed;z-index:100;right:378px;bottom:20px;border:1px solid #4a7c86;background:#0e313ce8;color:#ddf8f8;padding:10px 15px;font-size:12px;border-radius:4px;opacity:0;transform:translateY(15px);pointer-events:none;transition:.25s}.toast.visible{opacity:1;transform:translateY(0)}
body.embed .topbar,body.embed .welcome,body.embed .disclaimer{display:none}body.embed .workspace{height:100dvh}body.embed .stage-intro{top:20px;left:22px}body.embed .stage-intro h1{font-size:clamp(26px,2.9vw,39px)}
@media(max-width:1180px){.workspace{grid-template-columns:minmax(0,1fr) 332px}.stage-intro h1{font-size:38px}.environment-chip{top:152px}.telemetry{padding:16px}.metric{padding:0 11px}.metric>span{font-size:8px}.metric-badge{display:none}.metric strong{font-size:24px}.sidebar .panel-section{padding-left:17px;padding-right:17px}.toast{right:350px}}
@media(max-width:850px){.workspace{height:auto;min-height:0;grid-template-columns:1fr}.stage-visual{height:54svh;min-height:380px;flex:none}.telemetry{flex:none}.sidebar{border-left:0;border-top:1px solid #315061}.sidebar-scroll{height:auto;overflow:visible}.panel-section{padding:18px 24px}.stage-intro h1{font-size:37px}.environment-chip{top:23px;right:14px}.toast{right:20px}.topbar-right .edition{display:none}}
@media(max-width:540px){.topbar{height:58px;padding:0 16px;gap:12px}.brand{min-width:0}.brand-sigil{width:30px;height:30px}.brand strong{font-size:11px}.brand div span{font-size:7px}.topbar-divider,.title-mini,.edition{display:none}.live-indicator{font-size:8px}.workspace{min-height:0}.stage-visual{height:52svh;min-height:405px}.stage-intro{top:24px;left:19px}.stage-intro .eyebrow{font-size:8px}.stage-intro h1{font-size:36px;margin:12px 0 8px}.stage-intro p{font-size:10px;max-width:205px}.environment-chip{top:auto;bottom:62px;left:18px;right:auto;font-size:8px;padding:9px}.view-actions{right:10px;bottom:13px}.scene-info{left:17px;bottom:24px;font-size:7px;gap:5px}.scene-info span:nth-last-child(-n+2){display:none}.telemetry{padding:17px 17px 13px}.telemetry-head{margin-bottom:15px}.title-caps{font-size:9px}.metric-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:19px 0}.metric{padding-left:15px}.metric:nth-child(3){border-left:0;padding-left:0}.metric strong{font-size:27px}.metric em{font-size:12px}.metric small{font-size:9px}.metric>span{font-size:8px}.secondary-metrics{gap:10px 15px;margin-top:15px;padding-top:11px}.secondary-metrics span{font-size:8px}.sidebar .panel-section{padding:20px 18px}.welcome{display:none}.toast{bottom:15px;right:10px;left:10px;max-width:unset}.validation-grid strong{font-size:12px}body.embed .stage-intro{display:none}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{scroll-behavior:auto!important;transition:none!important;animation:none!important}}
