:root{color-scheme:dark;--bg:#080d17;--panel:#101824;--line:#263244;--muted:#8fa2b8;--white:#edf4fc;--cyan:#75dfef;--amber:#f8b36f;font-family:Inter,system-ui,-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif}*{box-sizing:border-box}body{margin:0;background:radial-gradient(ellipse at 25% 0,#152337 0,transparent 43%),var(--bg);color:var(--white);font-size:13px}button,select,input{font:inherit}button,select{color:var(--white);background:#162332;border:1px solid #324359;border-radius:6px;padding:8px 12px;cursor:pointer}button:hover,select:hover{border-color:var(--cyan)}button:focus-visible,select:focus-visible,input:focus-visible{outline:2px solid var(--cyan);outline-offset:3px}button.active{background:#24424d;border-color:#67c8d9;color:#aff6ff}header{height:78px;display:flex;justify-content:space-between;align-items:center;padding:0 28px;border-bottom:1px solid var(--line);background:#0b121de0}.brand,.headright{display:flex;align-items:center;gap:14px}.logo{font-size:38px;color:var(--cyan);width:48px;height:48px;display:grid;place-items:center;border:1px solid #3a6674;border-radius:12px;background:#112531}.eyebrow{font-size:10px;font-weight:700;letter-spacing:1.5px;color:#8b9db2}.cyan{color:var(--cyan)}h1,h2,h3,p{margin:0}h1{font-size:27px;font-weight:650;letter-spacing:-1.1px}h1 span{color:var(--cyan)}.status{font-size:10px;letter-spacing:1px;color:#a8c4c9;white-space:nowrap}.status i{display:inline-block;width:7px;height:7px;border-radius:50%;background:#65e3ac;margin-right:7px;box-shadow:0 0 8px #65e3ac}main{max-width:1800px;margin:auto;display:grid;grid-template-columns:minmax(0,1fr) 315px;gap:15px;padding:18px 24px}.workspace{min-width:0}.stage{position:relative;height:clamp(350px,48vh,560px);background:#050912;border:1px solid #33445b;border-radius:12px 12px 0 0;overflow:hidden;isolation:isolate}#scene{width:100%;height:100%;display:block;touch-action:none;cursor:grab}#scene:active{cursor:grabbing}.stage-top,.stage-bottom{position:absolute;left:20px;right:20px;display:flex;justify-content:space-between;gap:12px;pointer-events:none}.stage-top{top:18px;align-items:flex-start}.stage-top h2{font-size:24px;letter-spacing:-.6px;margin:5px 0}.stage-top p{color:#aab8c8;font-size:12px}.views{display:flex;gap:4px;background:#0a111bd9;padding:4px;border:1px solid #324154;border-radius:9px;pointer-events:auto}.views button{font-size:11px;padding:7px 10px;border-color:transparent}.stage-bottom{bottom:14px;font-size:10px;color:#a0b3c8;align-items:center}.legend{display:flex;align-items:center;gap:6px}.dot{width:7px;height:7px;border-radius:50%;display:inline-block;margin-left:5px}.amber{background:#f9a44e}.blue{background:#75dfef}.gray{background:#8190a8}.scene-label{position:absolute;left:20px;bottom:42px;display:flex;flex-direction:column;gap:3px;border-left:2px solid var(--cyan);padding-left:9px;font-size:10px;color:#b0c3d6;pointer-events:none}.scene-label b{letter-spacing:1.1px;color:#d7e6f2}.scope-tools{position:absolute;right:20px;bottom:43px;display:flex;gap:5px}.scope-tools[hidden]{display:none}#fallback{position:absolute;top:45%;left:10%;right:10%;text-align:center;background:#0a1525;padding:15px}.transport{display:flex;gap:11px;align-items:center;padding:12px;background:#111b29;border:1px solid var(--line);border-top:0;border-radius:0 0 10px 10px}.primary{background:#75dfef;color:#07121c;border-color:#75dfef;font-weight:800;font-size:16px;width:42px;height:40px}.timeline{flex:1;min-width:85px}.timeline>div:first-child,.ticks{display:flex;justify-content:space-between;align-items:center}.timeline span,.speed,.ticks{font-size:10px;color:var(--muted)}.timeline strong{font:600 12px ui-monospace,monospace;color:var(--cyan)}input[type=range]{width:100%;accent-color:var(--cyan);height:14px;cursor:pointer;margin:4px 0}.speed{display:flex;flex-direction:column;gap:3px}.speed select{padding:6px 8px;font-size:11px}.metrics{display:grid;grid-template-columns:repeat(4,1fr);gap:8px;margin:12px 0}.metrics>div,.panel{background:linear-gradient(140deg,#152030,#101824 75%);border:1px solid var(--line);border-radius:9px}.metrics>div{padding:12px;min-width:0}.metrics span,.metrics small{display:block;color:var(--muted);font-size:9px;letter-spacing:.5px}.metrics strong{font:600 clamp(17px,2vw,25px) ui-monospace,monospace;display:block;margin:5px 0;color:#ecf7ff;white-space:nowrap}.metrics small{letter-spacing:0}.charts{display:grid;grid-template-columns:1fr 1fr;gap:10px}.chart{padding:13px;min-width:0}.charthead,.chartfoot,.sidehead,.challengebottom{display:flex;justify-content:space-between;align-items:center;gap:8px}.charthead h3{font-size:16px;margin:4px 0}.chip{font-size:9px;color:#9bd5dc;border:1px solid #38535e;padding:4px 6px;border-radius:5px;white-space:nowrap}.chart canvas{width:100%;height:164px;display:block;cursor:crosshair}.chartfoot{font-size:10px;color:var(--muted)}aside{display:flex;flex-direction:column;gap:12px;min-width:0}.controls{padding:15px}.sidehead{margin-bottom:14px}.sidehead h2{font-size:19px;letter-spacing:-.5px;margin-top:4px}.number{font:24px ui-monospace,monospace;color:#526b82}.sectionlabel{font-size:10px;color:var(--cyan);letter-spacing:1.2px;border-top:1px solid #2b3c50;padding-top:12px;margin:10px 0 9px}.control{margin:8px 0 10px}.control>div{display:flex;justify-content:space-between;align-items:center;gap:8px}.control label{color:#c6d3e0;font-size:12px}.control output{color:var(--cyan);font:12px ui-monospace,monospace}.control select{width:100%;margin-top:6px;font-size:12px}.challenge{padding:15px}.challenge h3{font-size:17px;margin:7px 0}.challenge p{font-size:12px;line-height:1.5;color:#aabbd0}.progress{height:5px;background:#2b3c50;border-radius:9px;overflow:hidden;margin:13px 0}.progress div{height:100%;background:linear-gradient(90deg,#4190b6,#7ce7db);width:0}.challengebottom b{color:var(--cyan);font-size:12px}.challengebottom button{font-size:10px;padding:6px}footer{display:flex;justify-content:space-between;gap:10px;padding:8px 25px 18px;color:#8091a6;font-size:10px;letter-spacing:.6px}dialog{max-width:600px;width:calc(100% - 30px);background:#111b29;color:var(--white);border:1px solid #46627a;border-radius:14px;padding:26px;line-height:1.6}dialog::backdrop{background:#02050bd9}dialog h2{margin:8px 0}dialog h3{margin:15px 0 4px}dialog p{color:#b3c5d9;margin:7px 0}.close{float:right;font-size:20px;padding:2px 10px}@media(max-width:950px){main{grid-template-columns:minmax(0,1fr) 280px;padding:12px;gap:10px}.stage-top h2{font-size:19px}.stage-top{left:12px;right:12px}.charts{grid-template-columns:1fr}.chart canvas{height:175px}.metrics>div{padding:8px}.headright .status{display:none}}@media(max-width:720px){header{padding:0 12px;height:67px}.logo{width:37px;height:37px;font-size:29px}.brand{gap:8px}h1{font-size:21px}.eyebrow{font-size:9px;letter-spacing:1px}.headright{gap:5px}.headright button{padding:7px;font-size:11px}main{grid-template-columns:1fr}.stage{height:420px}.stage-top{flex-direction:column}.stage-bottom{left:12px;right:12px;flex-wrap:wrap}.scene-label{left:12px;bottom:55px}.scope-tools{right:12px;bottom:55px}.metrics{grid-template-columns:repeat(2,1fr)}.metrics strong{font-size:23px}.transport{gap:7px;padding:8px}.speed select{padding:5px 3px}.charts{grid-template-columns:1fr}.controls{padding:17px}footer{flex-direction:column;padding:10px 12px}.stage-top p{font-size:11px}}@media(max-width:380px){.quality{display:none}.scope-tools{flex-direction:column}.stage{height:380px}}@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto}}
.scene-label{max-width:52%}.scene-label span{line-height:1.35}@media(max-width:720px){.scene-label{max-width:48%}.scope-tools{flex-direction:column;align-items:flex-end}.scope-tools button{font-size:10px;padding:6px}}
