:root{--panel-w:340px}#stage{display:flex;flex-direction:column;background:#05070d}.stage-head{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:22px 28px 16px;border-bottom:1px solid #1c2636}.eyebrow{font-size:11px;letter-spacing:1.5px;color:#8293aa}.stage-head h1{font-size:18px;font-weight:600;margin:4px 0 0}.scenes{display:flex;gap:4px;padding:4px;background:#101722;border:1px solid #253146;border-radius:10px}.scenes button{min-width:66px;border-color:transparent;background:transparent;color:#9eafc3}.scenes button.on{background:#2d3a4d;color:#fff0c8;border-color:#4d5b70}.canvas-wrap{flex:1;min-height:0;position:relative}#house{width:100%;height:100%;touch-action:manipulation}.stage-foot{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:48px;padding:6px 28px;border-top:1px solid #1c2636;color:#91a1b6;font-size:12px}.stage-foot a{color:#a5b9d0;text-decoration:none}.stage-foot i{display:inline-block;width:7px;height:7px;border-radius:50%;margin:0 6px 1px 14px}.stage-foot i:first-child{margin-left:0}.live-dot{background:#ff927e}.neutral-dot{background:#6dbde8}button{font:inherit;font-size:12px;min-height:44px;color:var(--text);background:#192232;border:1px solid #2d3b50;border-radius:8px;padding:8px 12px;cursor:pointer;transition:background .15s,border-color .15s}button:hover{border-color:#b5c5da;background:#233046}button:focus-visible,summary:focus-visible{outline:2px solid #ffd16c;outline-offset:3px}button:disabled{opacity:.4;cursor:default}#panel{padding:24px 20px;background:#101621;border-color:#253146}.panel-title{margin-bottom:18px}#panel h1{font-size:18px;margin:5px 0 12px}#panel h2{font-size:11px;color:#73869f;letter-spacing:0}#panel h2 span{font-size:13px;font-weight:500;color:#d6e0ec;margin-left:7px}#panel section{padding:18px 0}#panel .readout{background:#151f2e;border-color:#2c3b50!important;padding:15px!important;margin-bottom:3px}.readout .big{font-size:13px;font-weight:500;color:#91dbba}#panel[data-state=danger] .big{color:#ffab93}#panel[data-state=off] .big{color:#a2afc0}.current-label{display:flex;align-items:center;justify-content:space-between;font-size:12px;color:#a0aec1;margin:12px 0}.current-label strong{font:500 23px var(--mono);color:#ffd16c}.meter{height:5px;background:#2a3648;position:relative;border-radius:4px}.meter span{display:block;height:100%;background:#85c9b0;border-radius:4px}.meter i{position:absolute;left:66.667%;height:11px;top:-3px;width:1px;background:#f3c780}#panel[data-state=danger] .meter span{background:#ff927e}.meter-label{display:flex;justify-content:space-between;font-size:10px;color:#8496ae;margin:7px 0 12px}#panel dl{border-top:1px solid #2a3648;padding-top:10px;font-size:11px;gap:5px}dd{text-align:right;font-variant-numeric:tabular-nums}.note{line-height:1.65;font-size:11px;color:#94a4b9}.section-note{margin:-1px 0 12px}#loads{display:grid;gap:7px}#loads button{display:flex;align-items:center;gap:10px;text-align:left;background:#141d2a;min-height:55px;padding:9px 12px}#loads button.on{border-color:#56604f;background:#20251f}#loads em{display:block;font-size:10px;color:#8c9bb0;font-style:normal;margin-top:1px}#loads small{margin-left:auto;font:11px var(--mono);color:#8d9cb2}#loads .on small{color:#ffd16c}.load-switch{width:25px;height:14px;border-radius:12px;background:#364255;position:relative;flex:none}.load-switch:after{content:'';position:absolute;width:10px;height:10px;border-radius:50%;background:#a6b3c4;top:2px;left:2px}.on .load-switch{background:#b59b55}.on .load-switch:after{left:13px;background:#fff0c6}.action-pair{display:grid;grid-template-columns:1fr 1fr;gap:8px}#protect{color:#ffc4af;border-color:#64483f}#reset,#share{width:100%;margin-top:8px}#reset{color:#ffd16c}details summary{font-size:12px;color:#a9b8cb;cursor:pointer;min-height:44px;display:flex;align-items:center;gap:8px}details summary:before{content:'+';color:#6f87a4}details[open] summary:before{content:'−'}.explain{margin-top:5px}.record-section{border-top:1px solid #2a3446;padding:5px 0}#records{font-size:11px;color:#98abc1}#records p{border-bottom:1px solid #2a3446;padding:8px 0}#shareNote{overflow-wrap:anywhere}.panel-boundary{font-size:10px;line-height:1.7;color:#6f8098;margin:16px 0}#panel .related a{font-size:11px}#panel .related a::after{font-size:10px}
@media(max-width:760px){.stage-head{padding:12px 16px;gap:8px}.stage-head h1{font-size:16px}.eyebrow{font-size:9px}.scenes{padding:3px;gap:1px}.scenes button{min-width:48px;padding:6px 9px;font-size:11px}.stage-foot{padding:5px 16px;font-size:11px;gap:8px;min-height:49px}#panelToggle{display:block;position:static;min-height:36px;font-size:11px;padding:6px 10px;background:#223047;border:1px solid #485a74;border-radius:7px;color:#e6edf6}#panel{padding:18px 20px;max-height:68dvh}.stage-foot i{margin-left:8px}.stage-foot a{margin-left:auto}.stage-head{flex:none}#app{min-height:610px}.panel-title{margin-bottom:10px}}
@media(prefers-reduced-motion:reduce){button{transition:none}}
