:root{--paper:#edf1ef;--panel:#f8f9f5;--ink:#1d2523;--muted:#747d79;--line:#d7ddd8;--stage:#101718;--text:#f1f4ed;--stage-muted:#96a5a1;--aqua:#73dbc5;--gold:#f0c65e;--coral:#ef796a;--blue:#79aee8;font-family:Inter,"Segoe UI","Microsoft YaHei",sans-serif;font-synthesis:none}*{box-sizing:border-box}html,body{min-width:320px;min-height:100%;margin:0;color:var(--ink);background:var(--paper)}button,input{font:inherit}button,input[type=range]{cursor:pointer}button:focus-visible,input:focus-visible{outline:2px solid var(--coral);outline-offset:2px}.lab-shell{display:grid;grid-template-columns:330px minmax(0,1fr);min-height:100svh}.panel{position:relative;z-index:3;display:flex;flex-direction:column;height:100svh;overflow-y:auto;background:var(--panel);border-right:1px solid var(--line);scrollbar-width:thin}.brand{display:flex;align-items:center;gap:14px;min-height:104px;padding:22px 28px;border-bottom:1px solid var(--line)}.brand-mark{position:relative;width:42px;height:42px;flex:0 0 42px;background:var(--ink);border-radius:50%}.brand-mark i{position:absolute;width:6px;height:6px;background:var(--aqua);border-radius:50%}.brand-mark i::after{position:absolute;top:2.5px;left:5px;width:13px;height:1px;background:rgba(115,219,197,.55);content:"";transform-origin:left}.brand-mark i:nth-child(1){top:10px;left:9px}.brand-mark i:nth-child(1)::after{transform:rotate(24deg)}.brand-mark i:nth-child(2){top:16px;left:26px;background:var(--gold)}.brand-mark i:nth-child(2)::after{display:none}.brand-mark i:nth-child(3){top:27px;left:12px;background:var(--blue)}.brand-mark i:nth-child(3)::after{width:14px;transform:rotate(-33deg)}.brand-mark i:nth-child(4){top:25px;left:29px;background:var(--coral)}.brand-mark i:nth-child(4)::after{display:none}.brand span,.brand h1{display:block;margin:0}.brand span{margin-bottom:5px;color:var(--muted);font-size:9px;font-weight:700}.brand h1{font-size:18px;font-weight:650}.panel section{padding:23px 28px 25px;border-bottom:1px solid var(--line)}.section-title{display:flex;align-items:center;justify-content:space-between;margin-bottom:18px}.section-title h2{margin:0;font-size:13px}.section-title small{color:#b6bebb;font:10px ui-monospace,Consolas,monospace}.range{display:block}.range+.range{margin-top:19px}.range>span{display:flex;justify-content:space-between;gap:12px;margin-bottom:10px}.range b{font-size:11px;font-weight:600}.range output{color:var(--muted);font:11px ui-monospace,Consolas,monospace}input[type=range]{width:100%;height:14px;margin:0;appearance:none;background:transparent}input[type=range]::-webkit-slider-runnable-track{height:2px;background:linear-gradient(to right,var(--ink) var(--progress,50%),var(--line) var(--progress,50%))}input[type=range]::-webkit-slider-thumb{width:13px;height:13px;margin-top:-5.5px;appearance:none;background:var(--panel);border:2px solid var(--ink);border-radius:50%}input[type=range]::-moz-range-track{height:2px;background:var(--line)}input[type=range]::-moz-range-progress{height:2px;background:var(--ink)}input[type=range]::-moz-range-thumb{width:10px;height:10px;background:var(--panel);border:2px solid var(--ink);border-radius:50%}.block-button{display:flex;align-items:center;justify-content:center;width:100%;height:36px;margin-top:19px;gap:8px;color:var(--ink);background:transparent;border:1px solid var(--line);border-radius:6px;font-size:10px;font-weight:600}.block-button:hover{border-color:#abb5af}.field-note{margin:18px 0 0;color:var(--muted);font-size:10px;line-height:1.6}.legend{display:flex;flex-wrap:wrap;gap:12px;margin-top:18px;color:var(--muted);font-size:9px}.legend span{display:flex;align-items:center;gap:6px}.legend i{width:8px;height:8px;border-radius:50%}.legend .unseen{background:#6c7774}.legend .frontier{background:var(--gold)}.legend .current{background:var(--coral)}.legend .visited{background:var(--aqua)}.rules{display:grid;margin:0;padding:0;gap:13px;list-style:none}.rules li{display:grid;grid-template-columns:42px 1fr;align-items:baseline;gap:8px}.rules b{font-size:10px}.rules span{color:var(--muted);font-size:10px}.panel footer{display:flex;justify-content:space-between;margin-top:auto;padding:18px 28px;color:#b6bebb;font:9px ui-monospace,Consolas,monospace}.stage{position:relative;min-width:0;min-height:540px;overflow:hidden;background:var(--stage)}.stage::before{position:absolute;inset:0;background-image:linear-gradient(rgba(255,255,255,.025) 1px,transparent 1px),linear-gradient(90deg,rgba(255,255,255,.025) 1px,transparent 1px);background-size:48px 48px;content:""}#canvas{position:absolute;inset:0;width:100%;height:100%;touch-action:none}.stage-header{position:absolute;top:0;right:0;left:0;z-index:2;display:grid;grid-template-columns:minmax(140px,1fr) auto minmax(220px,1fr);align-items:center;min-height:92px;padding:0 34px;color:var(--text);background:linear-gradient(to bottom,rgba(16,23,24,.82),rgba(16,23,24,.08));border-bottom:1px solid rgba(255,255,255,.1);pointer-events:none}.live{display:flex;align-items:center;gap:12px}.live>i{width:8px;height:8px;background:var(--aqua);border-radius:50%;box-shadow:0 0 0 5px rgba(115,219,197,.1)}.live div{display:grid;gap:4px}.live span,.metrics span,.metrics small{color:var(--stage-muted);font-size:9px}.live strong{font-size:13px;font-weight:600}.metrics{display:flex}.metrics>div{display:grid;min-width:78px;gap:5px;padding:0 17px;border-left:1px solid rgba(255,255,255,.11)}.metrics>div:last-child{border-right:1px solid rgba(255,255,255,.11)}.metrics strong{font:500 15px ui-monospace,Consolas,monospace}.metrics strong b{font:inherit}.metrics small{font-size:8px}.actions{display:flex;justify-self:end;gap:8px;pointer-events:auto}.actions button{display:flex;align-items:center;justify-content:center;min-width:72px;height:38px;padding:0 12px;gap:7px;color:var(--text);background:rgba(255,255,255,.05);border:1px solid rgba(255,255,255,.16);border-radius:6px;font-size:11px}.actions button b{font-weight:600}.actions button:hover{background:rgba(255,255,255,.1)}.actions .primary{color:var(--stage);background:var(--aqua);border-color:var(--aqua)}.queue-readout{position:absolute;right:34px;bottom:52px;z-index:2;display:flex;align-items:center;max-width:45%;gap:9px;color:var(--stage-muted);font:9px ui-monospace,Consolas,monospace;pointer-events:none}.queue-readout i{width:28px;height:1px;flex:0 0 28px;background:rgba(255,255,255,.2)}.queue-readout strong{overflow:hidden;color:var(--gold);font-weight:500;text-overflow:ellipsis;white-space:nowrap}.stage-note{position:absolute;bottom:26px;left:34px;z-index:2;display:flex;align-items:center;gap:10px;color:var(--stage-muted);font:9px ui-monospace,Consolas,monospace;pointer-events:none}.stage-note i{width:42px;height:1px;background:rgba(255,255,255,.2)}@media(max-width:1180px){.lab-shell{grid-template-columns:292px minmax(0,1fr)}.brand,.panel section{padding-right:22px;padding-left:22px}.stage-header{grid-template-columns:1fr auto;padding:0 24px}.metrics{display:none}.actions{grid-column:2}}@media(max-width:760px){.lab-shell{display:flex;flex-direction:column}.stage{order:1;min-height:58svh}.panel{order:2;width:100%;height:auto;overflow:visible;border:0;border-top:1px solid var(--line)}.brand{min-height:84px}.stage-header{min-height:74px;padding:0 16px}.actions button{width:42px;min-width:42px;padding:0}.actions button b{display:none}.stage-note{left:16px}.queue-readout{right:16px;bottom:26px;max-width:48%}.queue-readout>span,.queue-readout i{display:none}.panel footer{margin-top:0}}@media(max-width:430px){.live strong{display:block;max-width:88px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.brand,.panel section{padding-right:20px;padding-left:20px}}@media(prefers-reduced-motion:reduce){*{transition-duration:.01ms!important}}
