:root{color-scheme:dark;--bg:#070b12;--panel:#0d1420;--panel-2:#101a28;--line:#1d2b3b;--muted:#8293a7;--text:#eaf2fa;--accent:#64e1d2;--accent-soft:rgba(100,225,210,.12);--accent-line:rgba(100,225,210,.38);--white:#f3f7fb;--grid:8px;font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;font-synthesis:none;text-rendering:optimizeLegibility}
*{box-sizing:border-box}html,body{margin:0;min-height:100%;background:var(--bg);color:var(--text)}body{min-height:100vh;background:radial-gradient(ellipse at 45% -20%,#15243a 0,transparent 48%),#070b12}.app-shell{min-height:100vh;display:flex;flex-direction:column;max-width:1920px;margin:0 auto;padding:0 24px}.topbar{height:76px;flex:0 0 76px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid rgba(130,147,167,.16);gap:16px}.brand-lockup{display:flex;align-items:center;gap:14px;min-width:0}.brand-mark{width:34px;height:34px;border:1px solid var(--accent-line);border-radius:11px;display:flex;align-items:center;justify-content:center;gap:3px;transform:rotate(-12deg);background:linear-gradient(145deg,rgba(100,225,210,.13),rgba(100,225,210,.02))}.brand-mark span{width:3px;border-radius:3px;background:var(--accent);display:block}.brand-mark span:nth-child(1){height:9px}.brand-mark span:nth-child(2){height:18px}.brand-mark span:nth-child(3){height:12px}.eyebrow,.section-kicker{font-size:9px;letter-spacing:1.8px;font-weight:800;color:#8ea1b6}.topbar h1{font-size:17px;line-height:1.2;margin:4px 0 0;font-weight:650;letter-spacing:-.35px}.topbar h1 span{color:#a9b8c8;font-weight:450}.topbar-meta{display:flex;align-items:center;gap:9px;color:#9aa9b9;font-size:9px;letter-spacing:1.25px;font-weight:750;white-space:nowrap}.status-dot,.live-chip i{width:6px;height:6px;border-radius:50%;background:var(--accent);box-shadow:0 0 12px rgba(100,225,210,.75)}.meta-divider{height:14px;width:1px;background:#263647;margin:0 5px}.workspace{flex:1;min-height:0;display:grid;grid-template-columns:minmax(0,1fr) 352px;gap:16px;padding:16px 0}.visual-column{min-width:0;min-height:0;display:flex;flex-direction:column;gap:12px}.stage-card,.panel-card,.caption-card{background:linear-gradient(150deg,rgba(17,27,41,.98),rgba(10,16,25,.98));border:1px solid rgba(127,151,176,.17);border-radius:16px;box-shadow:0 14px 42px rgba(0,0,0,.16)}.stage-card{flex:1;min-height:0;padding:16px;display:flex;flex-direction:column;gap:12px}.stage-head{display:flex;justify-content:space-between;align-items:center;gap:12px}.stage-title{font-size:15px;font-weight:650;letter-spacing:-.25px;margin-top:4px}.stage-state{font-size:9px;letter-spacing:1.2px;color:var(--accent);font-weight:800;display:flex;align-items:center;gap:8px;padding:8px 10px;border:1px solid var(--accent-line);border-radius:999px;background:rgba(100,225,210,.055);white-space:nowrap}.state-pip{width:5px;height:5px;border-radius:50%;background:var(--accent);box-shadow:0 0 10px var(--accent)}.canvas-wrap{position:relative;flex:1;min-height:230px;overflow:hidden;border-radius:11px;border:1px solid rgba(110,137,164,.14);background:#070d17}.canvas-wrap canvas{display:block;width:100%;height:100%;outline:none}.canvas-corner{position:absolute;top:14px;display:flex;flex-direction:column;gap:4px;pointer-events:none}.canvas-corner-left{left:16px}.canvas-corner-right{right:16px;text-align:right}.corner-label{font-size:8px;letter-spacing:1.45px;color:#687d94;font-weight:800}.corner-value{font-size:10px;letter-spacing:.7px;color:#b7c6d6;font-variant-numeric:tabular-nums}.canvas-legend{position:absolute;bottom:12px;left:14px;display:flex;gap:14px;align-items:center;color:#8193a8;font-size:9px;pointer-events:none}.canvas-legend span{display:flex;align-items:center;gap:6px}.legend-solid{width:7px;height:7px;border-radius:50%;background:var(--accent);box-shadow:0 0 8px rgba(100,225,210,.55)}.legend-outline{width:7px;height:7px;border:1px dashed #91a2b4;border-radius:50%}.readout-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px}.readout{padding:10px 12px 9px;border:1px solid rgba(117,141,165,.15);border-radius:10px;background:rgba(7,13,22,.62);min-width:0}.readout-top{display:flex;justify-content:space-between;align-items:center;gap:4px;color:#8092a7;font-size:8px;letter-spacing:1px;font-weight:800;white-space:nowrap}.readout-top b{font-size:7px;color:#52667c;letter-spacing:.7px}.readout-value{font-size:20px;line-height:1.25;font-weight:680;letter-spacing:-.7px;font-variant-numeric:tabular-nums;margin-top:6px;white-space:nowrap}.readout-foot{font-size:9px;color:#74869b;margin-top:3px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.accent-readout{border-color:rgba(100,225,210,.28);background:linear-gradient(135deg,rgba(100,225,210,.09),rgba(7,13,22,.62))}.accent-readout .readout-value{color:var(--accent)}.caption-card{display:flex;align-items:center;gap:13px;padding:13px 16px;flex:0 0 auto}.caption-icon{width:30px;height:30px;flex:0 0 30px;border-radius:9px;display:grid;place-items:center;color:var(--accent);background:var(--accent-soft);border:1px solid var(--accent-line);font-size:17px}.caption-card p{margin:4px 0 0;font-size:11px;line-height:1.45;color:#b7c5d4}.control-column{display:flex;flex-direction:column;gap:12px;min-height:0;overflow-y:auto;scrollbar-width:thin;scrollbar-color:#314355 transparent;padding-right:1px}.panel-card{padding:14px}.panel-heading{display:flex;align-items:center;justify-content:space-between;gap:8px}.panel-heading h2{font-size:14px;margin:4px 0 0;letter-spacing:-.2px}.live-chip{font-size:8px;letter-spacing:1px;color:#a5b5c5;display:flex;align-items:center;gap:7px;font-weight:800}.live-chip i{width:5px;height:5px}.transport-row{display:grid;grid-template-columns:minmax(0,1fr) 38px 38px 38px;gap:7px;margin-top:14px}.primary-button,.icon-button,.preset-button,.segmented button{font:inherit;border:1px solid #26394a;color:#dce7f1;background:#142132;cursor:pointer;transition:background .18s,border-color .18s,transform .18s,opacity .18s}.primary-button:hover,.icon-button:hover,.preset-button:hover,.segmented button:hover{border-color:var(--accent-line);background:#1a2d3b}.primary-button:active,.icon-button:active,.preset-button:active{transform:translateY(1px)}.primary-button{height:38px;border-color:var(--accent-line);background:linear-gradient(135deg,rgba(100,225,210,.2),rgba(100,225,210,.08));color:var(--accent);border-radius:9px;display:flex;align-items:center;justify-content:center;gap:9px;font-size:11px;font-weight:800}.button-icon{font-size:13px}.icon-button{height:38px;border-radius:9px;font-size:15px;color:#a9bbcc}.screenshot-button{color:var(--accent)}button:focus-visible,input:focus-visible,summary:focus-visible{outline:2px solid var(--accent);outline-offset:3px}.preset-row{display:grid;grid-template-columns:1fr 1fr;gap:7px;margin-top:9px}.audit-inline{display:flex;align-items:center;gap:7px;flex-wrap:wrap;margin-top:9px;padding:7px 8px;border-radius:7px;background:rgba(100,225,210,.045);border:1px solid rgba(100,225,210,.14)}.audit-inline span{font-size:7px;letter-spacing:.8px;color:#8195a9;font-weight:850}.audit-inline strong{font-size:10px;color:var(--accent);font-variant-numeric:tabular-nums}.audit-inline small{font-size:8px;color:#6e8297}.preset-button{height:30px;border-radius:7px;font-size:9px;font-weight:750;color:#91a3b6}.preset-button.active{color:var(--accent);border-color:var(--accent-line);background:var(--accent-soft)}.compact-heading{align-items:flex-end}.input-tag{font-size:7px;letter-spacing:.8px;color:#5f768d;border:1px solid #26394a;padding:5px 7px;border-radius:5px;white-space:nowrap}.control-list{display:flex;flex-direction:column;gap:12px;margin-top:15px}.slider-control{min-width:0}.slider-heading{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-bottom:7px}.slider-heading label{font-size:10px;color:#c4d0dd;font-weight:650}.slider-heading output{font-size:10px;color:var(--accent);font-variant-numeric:tabular-nums;font-weight:750}.slider-control input[type=range]{display:block;width:100%;height:14px;margin:0;appearance:none;background:transparent;cursor:pointer;touch-action:pan-y}.slider-control input[type=range]::-webkit-slider-runnable-track{height:3px;border-radius:4px;background:linear-gradient(90deg,var(--accent) 0%,#355064 0%)}.slider-control input[type=range]::-moz-range-track{height:3px;border-radius:4px;background:#355064}.slider-control input[type=range]::-webkit-slider-thumb{appearance:none;width:12px;height:12px;border-radius:50%;background:var(--accent);border:2px solid #d8fff9;box-shadow:0 0 0 4px rgba(100,225,210,.12);margin-top:-4.5px}.slider-control input[type=range]::-moz-range-thumb{width:9px;height:9px;border-radius:50%;background:var(--accent);border:2px solid #d8fff9;box-shadow:0 0 0 4px rgba(100,225,210,.12)}.range-ends{display:flex;justify-content:space-between;color:#60758b;font-size:8px;margin-top:2px}.toggle-row{display:grid;grid-template-columns:1fr 1fr;gap:7px;margin-top:14px}.switch-label{display:flex;align-items:center;justify-content:space-between;gap:7px;padding:9px 8px;border:1px solid rgba(117,141,165,.16);border-radius:8px;background:rgba(7,13,22,.48);cursor:pointer;min-width:0}.switch-label span{display:flex;flex-direction:column;gap:3px;min-width:0}.switch-label strong{font-size:9px;color:#c7d4e1;font-weight:700;white-space:nowrap}.switch-label small{font-size:8px;color:#71859a;white-space:nowrap}.switch-label input{position:absolute;opacity:0;width:1px;height:1px}.switch-ui{width:25px;height:14px;border-radius:999px;background:#304256;position:relative;flex:0 0 25px;transition:background .2s}.switch-ui:after{content:"";position:absolute;top:2px;left:2px;width:10px;height:10px;border-radius:50%;background:#a6b4c3;transition:transform .2s,background .2s}.switch-label input:checked+.switch-ui{background:rgba(100,225,210,.36)}.switch-label input:checked+.switch-ui:after{transform:translateX(11px);background:var(--accent)}.switch-label input:focus-visible+.switch-ui{outline:2px solid var(--accent);outline-offset:3px}.quality-row{display:flex;align-items:center;justify-content:space-between;margin-top:12px;color:#71859a;font-size:8px;letter-spacing:1px;font-weight:800}.segmented{display:flex;gap:3px;padding:3px;border:1px solid #26394a;border-radius:7px;background:#09111c}.segmented button{border:0;background:transparent;border-radius:4px;padding:4px 9px;color:#8397ab;font-size:8px;font-weight:800}.segmented button[aria-pressed=true]{background:var(--accent-soft);color:var(--accent)}.science-card{padding:0;overflow:hidden}.science-card summary{list-style:none;cursor:pointer;display:flex;align-items:center;justify-content:space-between;padding:13px 14px}.science-card summary::-webkit-details-marker{display:none}.science-card summary>span:first-child{display:flex;flex-direction:column;gap:4px}.science-card summary strong{font-size:12px}.summary-plus{font-size:19px;color:var(--accent);transition:transform .2s}.science-card[open] .summary-plus{transform:rotate(45deg)}.science-content{padding:0 14px 14px;border-top:1px solid rgba(117,141,165,.13)}.science-content h3{font-size:10px;color:#cbd8e5;margin:12px 0 5px}.science-content p{font-size:9px;line-height:1.5;color:#91a2b5;margin:5px 0}.science-content code{font-family:ui-monospace,SFMono-Regular,Consolas,monospace;color:#bcece5;background:rgba(100,225,210,.07);padding:2px 4px;border-radius:4px;font-size:9px}.check-strip{border:1px solid rgba(100,225,210,.2);background:rgba(100,225,210,.055);padding:9px;border-radius:8px;display:flex;flex-direction:column;gap:4px;margin-top:8px}.check-strip span{font-size:7px;letter-spacing:1px;color:#8297a9;font-weight:800}.check-strip strong{font-size:15px;color:var(--accent);font-variant-numeric:tabular-nums}.check-strip small{font-size:8px;color:#8194a8}.science-content .disclaimer{margin-top:11px;color:#9eafbf;font-style:italic}.keyboard-hint{padding:0 4px 2px;color:#60758a;font-size:8px;display:flex;align-items:center;gap:6px;flex-wrap:wrap}.keyboard-hint span{font-weight:850;letter-spacing:1px;margin-right:4px}.keyboard-hint kbd{font:700 8px ui-monospace,monospace;color:#9aabba;background:#111d2b;border:1px solid #2a3a4b;border-radius:4px;padding:3px 5px}.footer{height:29px;flex:0 0 29px;display:flex;align-items:center;justify-content:space-between;color:#52677d;font-size:8px;letter-spacing:1.1px;font-weight:800;border-top:1px solid rgba(130,147,167,.12)}.footer b{color:var(--accent);font-size:11px;margin-left:4px}
@media(min-width:1500px){.workspace{grid-template-columns:minmax(0,1fr) 380px}.stage-card{padding:20px}.readout-value{font-size:23px}}
@media(max-width:1050px){.app-shell{padding:0 16px}.workspace{grid-template-columns:minmax(0,1fr) 320px;gap:12px}.readout-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.readout{padding:9px 11px}.readout-value{font-size:18px}.stage-card{padding:13px}.topbar{height:68px;flex-basis:68px}}
@media(max-width:760px){html,body{height:100%;min-height:0}.app-shell{height:100vh;height:100dvh;min-height:0;padding:0 10px;overflow:hidden}.topbar{height:58px;flex:0 0 58px}.brand-mark{width:29px;height:29px;border-radius:9px}.brand-lockup{gap:10px}.eyebrow{font-size:8px;letter-spacing:1.3px}.topbar h1{font-size:13px;margin-top:3px}.topbar-meta{font-size:0;gap:6px}.topbar-meta .meta-divider,.topbar-meta span:last-child{display:none}.workspace{padding:9px 0 7px;display:grid;grid-template-columns:minmax(0,1fr);grid-template-rows:minmax(280px,46dvh) minmax(0,1fr);gap:8px;min-height:0}.visual-column{gap:7px;min-height:0}.stage-card{padding:9px;border-radius:12px;gap:7px}.stage-head{min-height:30px}.stage-title{font-size:12px;margin-top:3px}.section-kicker{font-size:8px;letter-spacing:1.3px}.stage-state{font-size:7px;padding:6px 8px}.canvas-wrap{min-height:130px;border-radius:8px}.canvas-corner{top:8px}.canvas-corner-left{left:9px}.canvas-corner-right{right:9px}.corner-label{font-size:7px}.corner-value{font-size:8px}.canvas-legend{bottom:7px;left:8px;gap:9px;font-size:7px}.readout-grid{gap:5px}.readout{padding:6px 8px;border-radius:7px}.readout-top{font-size:6px;letter-spacing:.6px}.readout-top b{font-size:6px}.readout-value{font-size:14px;margin-top:3px}.readout-foot{font-size:7px;margin-top:1px}.caption-card{padding:8px 10px;gap:8px;border-radius:10px}.caption-icon{width:24px;height:24px;flex-basis:24px;font-size:13px}.caption-card p{font-size:9px;line-height:1.3;margin-top:2px}.control-column{gap:7px;overflow-y:auto;overscroll-behavior:contain;padding-bottom:3px}.panel-card{padding:10px;border-radius:11px}.panel-heading h2{font-size:12px}.transport-row{margin-top:10px;grid-template-columns:minmax(0,1fr) 34px 34px 34px;gap:6px}.primary-button,.icon-button{height:32px}.primary-button{font-size:10px}.icon-button{font-size:13px}.preset-row{margin-top:7px}.preset-button{height:27px;font-size:8px}.control-list{margin-top:10px;gap:8px}.slider-heading{margin-bottom:4px}.slider-heading label,.slider-heading output{font-size:9px}.range-ends{font-size:7px}.toggle-row{margin-top:9px;gap:5px}.switch-label{padding:7px 6px;gap:4px}.switch-label strong{font-size:8px}.switch-label small{font-size:7px}.switch-ui{transform:scale(.9);transform-origin:right center}.quality-row{margin-top:8px}.science-card summary{padding:10px}.science-content{padding:0 10px 10px}.science-content h3{margin-top:9px}.footer{height:23px;flex-basis:23px;font-size:6px;letter-spacing:.65px}.keyboard-hint{font-size:7px}}
@media(max-width:390px){.app-shell{padding:0 8px}.topbar h1{font-size:12px}.workspace{grid-template-rows:minmax(270px,45dvh) minmax(0,1fr)}.readout-value{font-size:13px}.readout-top{font-size:5.5px}.stage-title{font-size:11px}.caption-card p{font-size:8px}.control-list{gap:7px}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{scroll-behavior:auto!important;transition:none!important;animation:none!important}}
body.embed-mode{height:100vh;height:100dvh;overflow:hidden}.embed-mode .app-shell{height:100vh;height:100dvh;min-height:0;overflow:hidden}
