:root{--sim-bg: #0b0b0e;--sim-rail: #101013;--sim-well: #16161b;--sim-line: #26262d;--sim-line-soft: #1c1c22;--sim-text: #e6e6ea;--sim-label: #9a9aa6;--sim-dim: #6e6e7a;--sim-bright: #f6f6f8;--sim-violet: #8b6dff;--sim-cyan: #38bdf8;--sim-a: #e0656f;--sim-b: #4f92da;--sim-c: #37b98d;--sim-warn: #e8c07a;--sim-mono: ui-monospace, SFMono-Regular, "SF Mono", Menlo, monospace;--ease: cubic-bezier(.22, 1, .36, 1)}.sim{display:flex;position:relative;height:100dvh;background:var(--sim-bg);color:var(--sim-text);font:13px/1.5 ui-sans-serif,system-ui,sans-serif;-webkit-font-smoothing:antialiased}.sim-rail{width:320px;flex:none;padding:26px 22px 40px;overflow-y:auto;border-right:1px solid var(--sim-line);background:var(--sim-rail);scrollbar-width:thin;scrollbar-color:#2e2e37 transparent}.sim-rail h1{margin:0 0 7px;font-size:15px;font-weight:500;letter-spacing:.01em;color:var(--sim-bright)}.sim-note{margin:0 0 26px;color:var(--sim-dim);font-size:11.5px;line-height:1.6}.sim-rail h2{margin:0 0 12px;padding-bottom:7px;font-size:9px;font-weight:500;letter-spacing:.22em;text-transform:uppercase;color:var(--sim-dim);border-bottom:1px solid var(--sim-line)}.sim-rail section{margin-bottom:30px}.sim-kv{display:flex;justify-content:space-between;align-items:baseline;gap:12px;padding:7px 0;border-bottom:1px solid var(--sim-line-soft);font-size:11.5px}.sim-kv span{color:var(--sim-dim)}.sim-kv b{color:var(--sim-text);font-weight:400;font-family:var(--sim-mono);font-variant-numeric:tabular-nums;letter-spacing:-.01em}.sim-slot{display:flex;flex-direction:column;gap:5px;margin-bottom:12px}.sim-slot span{color:var(--sim-label);font-size:11.5px}.sim-slot input{font-size:11px;color:var(--sim-dim);max-width:100%}.sim-stage{flex:1;min-width:0;position:relative}.sim-warn{margin:10px 0 0;padding:9px 11px;font-size:10.5px;line-height:1.55;color:var(--sim-warn);background:#241d10;border-left:2px solid #96701f}.sim-warn b{color:#f0d199;font-weight:500}.sim-surface{display:flex;align-items:center;gap:11px;padding:7px 0;border-bottom:1px solid var(--sim-line-soft)}.sim-surface-thumb{width:38px;height:38px;flex:none;border-radius:3px;object-fit:cover;background:var(--sim-well);border:1px solid var(--sim-line)}.sim-surface-thumb.is-empty{display:block}.sim-surface:nth-of-type(1) .sim-surface-thumb{border-left:2px solid var(--sim-a)}.sim-surface:nth-of-type(2) .sim-surface-thumb{border-left:2px solid var(--sim-b)}.sim-surface:nth-of-type(3) .sim-surface-thumb{border-left:2px solid var(--sim-c)}.sim-surface-label{display:flex;flex-direction:column;min-width:0;gap:1px}.sim-surface-label b{font-size:11.5px;font-weight:500;color:var(--sim-text)}.sim-surface-label em{font-style:normal;font-size:10.5px;color:var(--sim-dim);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.sim-library-open{width:100%;margin-top:14px;padding:11px;font:inherit;font-size:11.5px;cursor:pointer;color:var(--sim-label);background:none;border:1px solid var(--sim-line);border-radius:3px;transition:border-color .35s var(--ease),color .35s var(--ease)}.sim-library-open:hover{border-color:var(--sim-violet);color:var(--sim-bright)}.dial{margin:2px 0 14px}.dial-svg{display:block;width:100%;height:auto;cursor:grab;touch-action:none;outline:none}.dial-svg:active{cursor:grabbing}.dial-svg:focus-visible{outline:1px solid var(--sim-violet);outline-offset:3px}.dial-track{fill:none;stroke:#1e1e25;stroke-width:12;stroke-linecap:round}.dial-zone{fill:none;stroke-width:12;stroke-linecap:butt;transition:stroke-width .4s var(--ease)}.dial-svg:hover .dial-zone{stroke-width:14}.dial-flip-tick{stroke:var(--sim-rail);stroke-width:1.5}.dial-clean{fill:var(--sim-bright);opacity:.5}.dial-needle{stroke:var(--sim-bright);stroke-width:1.75;stroke-linecap:round}.dial-hub{fill:#3a3a45}.dial-grip{fill:var(--sim-bright);stroke:var(--sim-rail);stroke-width:2.5}.dial-readout{display:flex;align-items:baseline;justify-content:center;gap:10px;margin-top:-4px}.dial-readout b{font-size:40px;font-weight:400;letter-spacing:-.035em;line-height:1.2;font-family:var(--sim-mono);font-variant-numeric:tabular-nums;color:var(--sim-bright);background-image:linear-gradient(96deg,var(--sim-b) 0%,var(--sim-bright) 46%,var(--sim-c) 100%);-webkit-background-clip:text;background-clip:text;-webkit-text-fill-color:transparent}.dial-readout span{font-size:11px;color:var(--sim-dim);font-family:var(--sim-mono);font-variant-numeric:tabular-nums}.sim-fine{display:grid;grid-template-columns:30px 1fr;align-items:center;gap:10px;margin:10px 0 16px}.sim-fine span{font-size:8.5px;letter-spacing:.18em;text-transform:uppercase;color:var(--sim-dim)}.sim-state{margin-top:12px;padding:9px 10px;font-size:11px;color:var(--sim-label);text-align:center;border:1px solid var(--sim-line-soft);border-radius:3px;font-variant-numeric:tabular-nums}.sim-jump{display:flex;gap:7px}.sim-jump button{flex:1;padding:9px 4px 8px;font:inherit;font-size:10px;cursor:pointer;color:var(--sim-dim);background:none;border-radius:3px;border:1px solid var(--sim-line);text-align:center;font-family:var(--sim-mono);font-variant-numeric:tabular-nums;transition:border-color .35s var(--ease),color .35s var(--ease),background .35s var(--ease),transform .18s var(--ease)}.sim-jump button em{display:block;font-style:normal;font-size:13px;font-weight:500;margin-bottom:3px;font-family:ui-sans-serif,system-ui,sans-serif}.sim-jump button:active{transform:scale(.97)}.sim-jump .jump-A em{color:var(--sim-a)}.sim-jump .jump-B em{color:var(--sim-b)}.sim-jump .jump-C em{color:var(--sim-c)}.sim-jump .jump-A:hover,.sim-jump .jump-A[aria-pressed=true]{border-color:var(--sim-a);color:var(--sim-text)}.sim-jump .jump-B:hover,.sim-jump .jump-B[aria-pressed=true]{border-color:var(--sim-b);color:var(--sim-text)}.sim-jump .jump-C:hover,.sim-jump .jump-C[aria-pressed=true]{border-color:var(--sim-c);color:var(--sim-text)}.sim-jump button[aria-pressed=true]{background:#17171d}.sim-chips{display:grid;grid-template-columns:1fr 1fr;gap:9px}.sim-chip{display:block;position:relative;overflow:hidden;cursor:pointer;padding:10px 11px 12px;border:1px solid var(--sim-line);border-radius:3px;background:none;transition:border-color .35s var(--ease)}.sim-chip:after{content:"";position:absolute;top:0;right:0;bottom:0;left:0;opacity:.05;pointer-events:none;background:repeating-linear-gradient(74deg,var(--sim-violet) 0 1px,transparent 1px 8px)}.sim-chip:hover,.sim-chip:focus-within{border-color:#3a3a46}.sim-chip:last-child:nth-child(odd){grid-column:1 / -1}.sim-chip>span{display:block;font-size:8.5px;letter-spacing:.18em;text-transform:uppercase;color:var(--sim-dim)}.sim-chip>b{display:block;margin:3px 0 8px;font-size:19px;font-weight:400;color:var(--sim-bright);letter-spacing:-.03em;font-family:var(--sim-mono);font-variant-numeric:tabular-nums}.sim-chip>b i{font-style:normal;font-size:10px;color:var(--sim-dim);margin-left:3px;letter-spacing:0}.sim-rail input[type=range]{-webkit-appearance:none;-moz-appearance:none;appearance:none;width:100%;height:22px;background:transparent;cursor:pointer;touch-action:none}.sim-rail input[type=range]::-webkit-slider-runnable-track{height:1px;background:#33333d}.sim-rail input[type=range]::-webkit-slider-thumb{-webkit-appearance:none;-moz-appearance:none;appearance:none;width:12px;height:12px;margin-top:-5.5px;border-radius:50%;background:var(--sim-bright);border:none;transition:transform .25s var(--ease),box-shadow .25s var(--ease)}.sim-rail input[type=range]:hover::-webkit-slider-thumb{transform:scale(1.25);box-shadow:0 0 0 5px #8b6dff2e}.sim-rail input[type=range]::-moz-range-track{height:1px;background:#33333d}.sim-rail input[type=range]::-moz-range-thumb{width:12px;height:12px;border-radius:50%;background:var(--sim-bright);border:none}.sim-rail input[type=range]:focus-visible{outline:1px solid var(--sim-violet);outline-offset:4px}.sheet-scrim{position:absolute;top:0;right:0;bottom:0;left:0;background:#060609e0;display:grid;place-items:center;z-index:20;padding:28px}.sheet{width:min(1180px,100%);max-height:100%;display:flex;flex-direction:column;background:var(--sim-rail);border:1px solid var(--sim-line);border-radius:6px;padding:22px 24px;gap:14px;outline:none}.sheet-head{display:flex;justify-content:space-between;align-items:flex-start;gap:16px;padding-bottom:12px;border-bottom:1px solid var(--sim-line)}.sheet-head h2{margin:0;font-size:14px;font-weight:500;color:var(--sim-bright);letter-spacing:.01em;text-transform:none}.sheet-head p{margin:3px 0 0;font-size:11px;color:var(--sim-dim);font-family:var(--sim-mono);font-variant-numeric:tabular-nums}.sheet-head-actions{display:flex;gap:8px;align-items:center;flex:none}.sheet-add,.sheet-head-actions button{font:inherit;font-size:11.5px;padding:9px 16px;cursor:pointer;color:var(--sim-label);background:none;border:1px solid var(--sim-line);border-radius:3px;transition:border-color .35s var(--ease),color .35s var(--ease)}.sheet-add:hover,.sheet-head-actions button:hover{border-color:var(--sim-violet);color:var(--sim-bright)}.sheet-add.is-full{opacity:.45;cursor:not-allowed}.sheet-add input{display:none}.sheet-warn{margin:0;padding:9px 11px;font-size:11px;line-height:1.5;color:var(--sim-warn);background:#241d10;border-left:2px solid #96701f}.sheet-grid{list-style:none;margin:0;padding:2px;display:grid;gap:10px;overflow-y:auto;grid-template-columns:repeat(auto-fill,minmax(112px,1fr))}.sheet-grid li{position:relative}.sheet-tile{display:block;width:100%;aspect-ratio:1;padding:0;cursor:pointer;background:var(--sim-well);border:1px solid var(--sim-line);border-radius:3px;overflow:hidden;position:relative;transition:border-color .3s var(--ease),transform .3s var(--ease)}.sheet-tile img{width:100%;height:100%;object-fit:cover;display:block}.sheet-tile:hover{border-color:#43434f;transform:translateY(-2px)}.sheet-tile.is-picked{border-width:2px}.sheet-tile.sheet-a{border-color:var(--sim-a)}.sheet-tile.sheet-b{border-color:var(--sim-b)}.sheet-tile.sheet-c{border-color:var(--sim-c)}.sheet-pending{display:block;width:100%;height:100%;background:var(--sim-well)}.sheet-badge{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);width:30px;height:30px;border-radius:50%;display:grid;place-items:center;font-size:13px;font-weight:500;color:#fff;background:#0b0b0ecc;font-family:var(--sim-mono)}.sheet-remove{position:absolute;top:-7px;right:-7px;width:20px;height:20px;border-radius:50%;font-size:13px;line-height:1;cursor:pointer;opacity:0;color:var(--sim-label);background:var(--sim-rail);border:1px solid var(--sim-line);transition:opacity .25s var(--ease)}.sheet-grid li:hover .sheet-remove,.sheet-remove:focus{opacity:1}.sheet-empty{padding:52px 12px;text-align:center}.sheet-empty p{margin:0;font-size:13px;color:var(--sim-text)}.sheet-empty-sub{margin-top:8px!important;font-size:11.5px!important;color:var(--sim-dim)!important;max-width:430px;margin-inline:auto!important;line-height:1.6}.sheet-order{display:flex;align-items:center;gap:9px;padding-top:13px;border-top:1px solid var(--sim-line)}.sheet-order-label,.sheet-order-hint{font-size:8.5px;letter-spacing:.18em;text-transform:uppercase;color:var(--sim-dim);flex:none}.sheet-slot{flex:1;min-width:0;padding:9px 11px;border-radius:3px;cursor:grab;border:1px solid var(--sim-line);border-left-width:2px}.sheet-slot.sheet-a{border-left-color:var(--sim-a)}.sheet-slot.sheet-b{border-left-color:var(--sim-b)}.sheet-slot.sheet-c{border-left-color:var(--sim-c)}.sheet-slot.is-empty{cursor:default;opacity:.5}.sheet-slot.is-dragging{opacity:.35}.sheet-slot b{display:block;font-size:11px;font-weight:500;color:var(--sim-text)}.sheet-slot span{display:block;font-size:10.5px;color:var(--sim-dim);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.sheet-busy{font-size:11.5px;color:var(--sim-dim);font-family:var(--sim-mono)}.perf-hud{position:absolute;top:14px;right:14px;z-index:30;margin:0;max-width:560px;white-space:pre-wrap;padding:11px 13px;border-radius:4px;pointer-events:none;font:11px/1.65 var(--sim-mono);color:#a9e9cd;background:#080a0ee6;border:1px solid #24352e;font-variant-numeric:tabular-nums}@media (max-width: 900px){.sim{flex-direction:column-reverse}.sim-rail{width:auto;flex:1 1 auto;min-height:0;padding:22px 18px 40px;border-right:none;border-top:1px solid var(--sim-line)}.sim-stage{flex:none;height:48dvh;min-height:260px}.dial{max-width:300px;margin-inline:auto}.dial-readout b{font-size:44px}.sim-chips{grid-template-columns:repeat(auto-fit,minmax(140px,1fr))}.sim-jump button{padding:13px 4px 12px}.sim-library-open{padding:14px}.sim-rail input[type=range]{height:44px}.sim-rail input[type=range]::-webkit-slider-thumb{width:18px;height:18px;margin-top:-8.5px}.sim-rail input[type=range]::-moz-range-thumb{width:18px;height:18px}.sim-surface{padding:10px 0}.sim-surface-thumb{width:44px;height:44px}.sheet-scrim{padding:0;place-items:stretch}.sheet{width:100%;max-height:none;height:100dvh;border:none;border-radius:0;padding:18px 16px calc(18px + env(safe-area-inset-bottom))}.sheet-grid{grid-template-columns:repeat(auto-fill,minmax(86px,1fr));gap:8px}.sheet-remove{opacity:1}.sheet-head-actions button,.sheet-add{padding:12px 16px}.sheet-order{flex-wrap:wrap;gap:7px}.sheet-order-label,.sheet-order-hint{display:none}.sheet-slot{flex:1 1 100%}.perf-hud{max-width:calc(100vw - 28px);font-size:10px}}@media (prefers-reduced-motion: reduce){.sim-chip,.sim-jump button,.dial-zone,.sheet-tile,.sheet-remove,.sim-library-open,.sheet-add,.sheet-head-actions button,.sim-rail input[type=range]::-webkit-slider-thumb{transition:none}}
