:root{--mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;--bg-0: #0e0e0e;--bg-1: #171717;--bg-2: #1f1f1f;--bg-3: #2a2a2a;--bg-4: #3a3a3a;--bg-5: #4a4a4a;--fg-0: #eeeeee;--fg-1: #b8b8b8;--fg-2: #7a7a7a;--fg-3: #555555;--accent: #ff7a1a;--accent-soft: rgba(255, 122, 26, .18);--system: oklch(.68 .045 250);--system-soft: oklch(.42 .04 250 / .35);--cream: #f4f1ea;--black-key: #2e2e2e;--frame: #000000;--t-eyebrow: 11px;--t-body: 14px;--t-readout: 18px;--t-display: 28px;--radius-sm: 4px;--radius-md: 6px;--radius-lg: 10px;--space-1: 4px;--space-2: 8px;--space-4: 16px;--space-6: 24px;--space-8: 32px;--space-12: 48px}.picker.svelte-1nvdzgn{display:grid;gap:var(--space-4);color:var(--fg-0)}.picker-lede.svelte-1nvdzgn,.picker-note.svelte-1nvdzgn{margin:0;color:var(--fg-2);font-size:var(--t-eyebrow)}.glyph.svelte-1nvdzgn{width:34px;height:20px;color:var(--fg-2)}.beat-glyph.svelte-1nvdzgn{width:22px;height:26px}.glyph.svelte-1nvdzgn polyline:where(.svelte-1nvdzgn),.glyph.svelte-1nvdzgn .flag:where(.svelte-1nvdzgn){fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}.glyph.svelte-1nvdzgn .stem:where(.svelte-1nvdzgn){stroke:currentColor;stroke-width:1.4;stroke-linecap:round}.glyph.svelte-1nvdzgn circle:where(.svelte-1nvdzgn),.glyph.svelte-1nvdzgn ellipse:where(.svelte-1nvdzgn),.glyph.svelte-1nvdzgn rect:where(.svelte-1nvdzgn){fill:currentColor}.glyph.svelte-1nvdzgn .open:where(.svelte-1nvdzgn){fill:none;stroke:currentColor;stroke-width:1.7}.glyph.svelte-1nvdzgn .tri3:where(.svelte-1nvdzgn){fill:currentColor;font-family:var(--mono);font-size:8px;font-weight:600}.tile.selected.svelte-1nvdzgn .glyph:where(.svelte-1nvdzgn),.cell.selected.svelte-1nvdzgn .glyph:where(.svelte-1nvdzgn){color:var(--accent)}.axis.svelte-1nvdzgn{display:grid;gap:var(--space-2)}.axis-label.svelte-1nvdzgn{color:var(--fg-2);font-size:var(--t-eyebrow);font-weight:600;letter-spacing:.06em;text-transform:uppercase}.tiles.svelte-1nvdzgn{display:grid;gap:var(--space-2)}.tiles.cols-3.svelte-1nvdzgn{grid-template-columns:repeat(3,1fr)}.tiles.cols-2.svelte-1nvdzgn{grid-template-columns:repeat(2,1fr)}.tile.svelte-1nvdzgn{display:grid;justify-items:center;align-content:center;gap:var(--space-2);min-height:72px;padding:var(--space-3, 12px) var(--space-2);border:1px solid var(--bg-4);border-radius:var(--radius-md);background:var(--bg-2);color:var(--fg-1);cursor:pointer;font:inherit;touch-action:manipulation}.tile.svelte-1nvdzgn:hover,.tile.svelte-1nvdzgn:focus-visible{border-color:var(--fg-3);outline:none}.tile-label.svelte-1nvdzgn{font-size:var(--t-body);font-weight:600;letter-spacing:.02em}.tile.selected.svelte-1nvdzgn,.cell.selected.svelte-1nvdzgn{border-color:var(--accent);background:var(--accent-soft);color:var(--accent)}.resolves.svelte-1nvdzgn{display:flex;align-items:center;gap:var(--space-3, 12px);padding:var(--space-3, 12px);border:1px solid var(--bg-4);border-radius:var(--radius-md);background:var(--bg-1)}.resolves.svelte-1nvdzgn .glyph:where(.svelte-1nvdzgn){color:var(--accent)}.resolves-text.svelte-1nvdzgn{color:var(--fg-1);font-size:var(--t-body)}.resolves-text.svelte-1nvdzgn b:where(.svelte-1nvdzgn){color:var(--fg-0);font-family:var(--mono);font-weight:600}.beat-grid.svelte-1nvdzgn{display:grid;grid-template-columns:minmax(64px,auto) repeat(2,1fr);gap:var(--space-2);align-items:stretch}.col-head.svelte-1nvdzgn{align-self:end;justify-self:center;color:var(--fg-2);font-size:var(--t-eyebrow);font-weight:600;letter-spacing:.06em;text-transform:uppercase}.row-head.svelte-1nvdzgn{align-self:center;color:var(--fg-1);font-size:var(--t-eyebrow);font-weight:600;letter-spacing:.04em;text-transform:uppercase}.cell.svelte-1nvdzgn{position:relative;display:grid;place-items:center;min-height:52px;padding:var(--space-2);border:1px solid var(--bg-4);border-radius:var(--radius-md);background:var(--bg-2);color:var(--fg-1);cursor:pointer;font:inherit;touch-action:manipulation}.cell.svelte-1nvdzgn:hover,.cell.svelte-1nvdzgn:focus-visible{border-color:var(--fg-3);outline:none}.cell-num.svelte-1nvdzgn{position:absolute;top:3px;right:5px;color:var(--fg-3);font-family:var(--mono);font-size:9px;font-variant-numeric:tabular-nums}.cell.selected.svelte-1nvdzgn .cell-num:where(.svelte-1nvdzgn){color:var(--accent)}.rhythm-grid.svelte-1nvdzgn{display:grid;grid-template-columns:repeat(4,minmax(72px,1fr));gap:var(--space-2)}.rhythm-tile.svelte-1nvdzgn{grid-template-rows:auto auto;gap:var(--space-1);min-height:60px}.glyphs.svelte-1nvdzgn{display:grid;grid-template-columns:repeat(8,1fr);gap:2px;align-items:center;font-family:var(--mono);font-size:12px;line-height:1;color:var(--fg-1)}.glyphs.svelte-1nvdzgn span:where(.svelte-1nvdzgn){display:grid;place-items:center;min-width:8px}.rhythm-tile.selected.svelte-1nvdzgn .glyphs:where(.svelte-1nvdzgn){color:var(--accent)}.tile-meta.svelte-1nvdzgn{color:var(--fg-2);font-family:var(--mono);font-size:var(--t-eyebrow);font-variant-numeric:tabular-nums}.rhythm-tile.selected.svelte-1nvdzgn .tile-meta:where(.svelte-1nvdzgn){color:var(--accent)}@media(max-width:620px){.rhythm-grid.svelte-1nvdzgn{grid-template-columns:repeat(3,minmax(0,1fr))}.row-head.svelte-1nvdzgn{font-size:10px}}.chip.svelte-f4ab02{display:flex;flex-direction:column;gap:var(--space-1);padding:4px 8px;border:1px solid var(--bg-4);border-radius:var(--radius-md);background:var(--bg-2);color:var(--fg-0);font-family:var(--mono);text-align:left;cursor:pointer;touch-action:none;transition:background-color 60ms,box-shadow 80ms;user-select:none;-webkit-user-select:none;-webkit-touch-callout:none}.chip[data-color=white].svelte-f4ab02{border-color:#f4f1ea99}.chip.echo.svelte-f4ab02:not(.held){background:var(--accent-soft);border-color:var(--accent)}.chip.held.svelte-f4ab02,.chip.held[data-color].svelte-f4ab02{background:var(--accent);border-color:var(--accent);box-shadow:0 0 14px 2px #ff7a1a66}.chip.held.svelte-f4ab02 .k:where(.svelte-f4ab02),.chip.held.svelte-f4ab02 .n:where(.svelte-f4ab02){color:var(--bg-0)}.k.svelte-f4ab02{font-family:var(--mono);font-size:var(--t-eyebrow);font-weight:600;line-height:1.2;color:var(--fg-2);letter-spacing:.06em}.n.svelte-f4ab02{display:flex;flex-wrap:wrap;align-items:baseline;font-family:var(--mono);font-size:var(--t-body);font-weight:600;line-height:1.15;color:var(--fg-0)}.main.svelte-f4ab02,.bass.svelte-f4ab02{white-space:nowrap}.bass.svelte-f4ab02{opacity:.72}.chips.svelte-8wp78j{display:grid;grid-template-columns:repeat(var(--per, 1),minmax(min-content,max-content));gap:8px;justify-content:start;min-width:0}.empty.svelte-1rkwd0i{margin:0;font-size:12px;font-weight:400;color:var(--fg-2);text-align:center}.strip.svelte-1rkwd0i{box-sizing:border-box;display:flex;align-items:center;gap:var(--space-2);max-width:100%;min-height:44px;padding:0 16px;border:1px solid var(--bg-3);border-radius:var(--radius-md);background:var(--bg-1);color:var(--system);font-size:var(--t-eyebrow);font-weight:600;letter-spacing:.08em;text-transform:uppercase;white-space:nowrap;cursor:pointer;touch-action:manipulation;user-select:none;-webkit-user-select:none}.count.svelte-1rkwd0i{font-family:var(--mono);letter-spacing:0}.chev.svelte-1rkwd0i{margin-left:auto;color:var(--system)}.strip[aria-expanded=true].svelte-1rkwd0i{border-color:var(--system)}.strip.svelte-1rkwd0i:focus-visible,.p-btn.svelte-1rkwd0i:focus-visible,.p-collapse.svelte-1rkwd0i:focus-visible{outline:2px solid var(--system);outline-offset:1px}.panel.svelte-1rkwd0i{box-sizing:border-box;position:absolute;top:0;left:0;right:0;z-index:20;display:flex;flex-direction:column;max-height:100%;overflow-y:auto;background:var(--bg-1);border-bottom:1px solid var(--system);box-shadow:0 8px 18px #00000073}.p-head.svelte-1rkwd0i{display:flex;align-items:center;gap:var(--space-2);min-height:44px;padding:4px 8px 0 12px}.p-collapse.svelte-1rkwd0i{display:inline-flex;align-items:center;gap:var(--space-2);flex:none;min-height:40px;padding:0 8px 0 0;border:0;background:none;color:var(--system);font-size:var(--t-eyebrow);font-weight:600;letter-spacing:.08em;text-transform:uppercase;cursor:pointer}.p-id.svelte-1rkwd0i{flex:1 1 auto;min-width:0;display:flex;flex-wrap:wrap;align-items:baseline;gap:4px 8px}.s-label.svelte-1rkwd0i{font-size:var(--t-body);font-weight:600;line-height:1.25;color:var(--fg-0)}.kind.svelte-1rkwd0i{font-size:var(--t-eyebrow);font-weight:400;color:var(--system);letter-spacing:.02em}.p-nav.svelte-1rkwd0i{display:flex;align-items:center;flex:none}.p-count.svelte-1rkwd0i{min-width:52px;text-align:center;font-family:var(--mono);font-size:var(--t-eyebrow);font-weight:400;color:var(--fg-2);font-variant-numeric:tabular-nums}.p-btn.svelte-1rkwd0i{display:grid;place-items:center;flex:none;min-width:44px;min-height:40px;border:1px solid transparent;border-radius:var(--radius-md);background:transparent;color:var(--fg-1);font-size:var(--t-readout);cursor:pointer;touch-action:manipulation}.p-btn.svelte-1rkwd0i:active{background:var(--bg-3)}.p-body.svelte-1rkwd0i{padding:8px 12px 12px}.topbar.svelte-1h259us{position:relative;box-sizing:border-box;display:flex;flex-wrap:wrap;align-items:center;gap:12px;width:100%;margin:0;padding:12px 18px;background:var(--bg-1);border:0;border-bottom:1px solid var(--bg-3);border-radius:0;box-shadow:inset 0 1px #ffffff09;user-select:none;-webkit-user-select:none}.zone.svelte-1h259us{position:relative;display:flex;align-items:center;gap:var(--space-1);min-width:0}.zone.sugg-zone.svelte-1h259us{display:none;position:static;justify-content:center;min-width:0}.backdrop.svelte-1h259us{position:fixed;top:0;right:0;bottom:0;left:0;z-index:10;border:none;background:transparent;cursor:default}.pill-zone.svelte-1h259us{flex:0 1 280px;min-width:0;z-index:12}.status-pill.svelte-1h259us{display:flex;align-items:center;gap:10px;width:min(100%,280px);min-height:58px;padding:0 14px 0 12px;border:1px solid var(--bg-4);border-radius:999px;background:var(--bg-2);color:var(--fg-0);cursor:pointer;text-align:left}.status-pill.svelte-1h259us:hover,.status-pill.svelte-1h259us:focus-visible,.status-pill.open.svelte-1h259us{border-color:var(--system);outline:none}.dot.svelte-1h259us{flex:0 0 auto;width:8px;height:8px;border-radius:50%;background:var(--fg-3);box-shadow:0 0 0 3px #00000059}.dot.live.svelte-1h259us{background:#3eb45c;box-shadow:0 0 0 3px #3eb45c33}.pill-text.svelte-1h259us{flex:1 1 auto;display:flex;align-items:baseline;gap:6px;min-width:0;font-family:var(--mono);font-size:var(--t-eyebrow);font-variant-numeric:tabular-nums;white-space:nowrap;overflow:hidden}.pill-out.svelte-1h259us{min-width:0;max-width:12ch;overflow:hidden;text-overflow:ellipsis;color:var(--fg-0)}.pill-seg.svelte-1h259us{flex:0 0 auto;color:var(--fg-1)}.pill-seg.svelte-1h259us b:where(.svelte-1h259us){color:var(--fg-0);font-weight:600}.sep.svelte-1h259us{flex:0 0 auto;color:var(--fg-3)}.chev.svelte-1h259us{flex:0 0 auto;color:var(--fg-2);font-size:var(--t-eyebrow)}.readout.svelte-1h259us{display:flex;align-items:center;gap:var(--space-2);min-height:54px;padding:0 var(--space-2);border:1px solid var(--bg-4);border-radius:var(--radius-md);background:var(--bg-2);color:var(--fg-0);cursor:pointer;font:inherit}.readout.svelte-1h259us:hover,.readout.svelte-1h259us:focus-visible,.readout.open.svelte-1h259us{border-color:var(--system);outline:none}.readout.svelte-1h259us .num:where(.svelte-1h259us){color:var(--fg-2)}.readout-name.svelte-1h259us{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.bank-readout.svelte-1h259us{min-width:88px;min-height:58px;max-width:160px}.style-readout.svelte-1h259us{max-width:140px;font-family:var(--mono)}.style-zone.svelte-1h259us{gap:0}.style-readout.joined.svelte-1h259us{border-right:0;border-radius:var(--radius-md) 0 0 var(--radius-md)}.var-trigger.svelte-1h259us{gap:6px;border-radius:0 var(--radius-md) var(--radius-md) 0}.mono.svelte-1h259us{font-family:var(--mono);font-variant-numeric:tabular-nums}.var-num.svelte-1h259us{font-family:var(--mono);font-variant-numeric:tabular-nums;color:var(--fg-1);font-weight:600}.mini-glyph.svelte-1h259us{display:grid;place-items:center;width:30px;height:18px;color:var(--fg-2)}.mini-glyph.svelte-1h259us svg:where(.svelte-1h259us){width:30px;height:16px;overflow:visible}.mini-glyph.svelte-1h259us polyline:where(.svelte-1h259us){fill:none;stroke:currentColor;stroke-width:1.4;stroke-linecap:round;stroke-linejoin:round}.mini-glyph.svelte-1h259us circle:where(.svelte-1h259us){fill:currentColor}.note-mark.svelte-1h259us{font-family:var(--mono);font-size:var(--t-readout);line-height:1}.gate-mark.svelte-1h259us{display:flex;align-items:center;gap:3px}.gate-mark.svelte-1h259us i:where(.svelte-1h259us){width:4px;height:4px;border-radius:50%;background:currentColor}.trval.svelte-1h259us{min-width:6ch;padding:0 var(--space-1);color:var(--fg-0);font-family:var(--mono);font-variant-numeric:tabular-nums;text-align:center}.latch.svelte-1h259us{margin-left:auto;display:flex;align-items:center;justify-content:center;min-width:110px;min-height:66px;padding:0 22px;border:1px solid var(--bg-4);border-radius:var(--radius-md);background:var(--bg-2);color:var(--fg-0);cursor:pointer;font-weight:600;font-size:var(--t-body);letter-spacing:.04em}.latch.svelte-1h259us:hover,.latch.svelte-1h259us:focus-visible{border-color:var(--system);outline:none}.latch.on.svelte-1h259us{border-color:var(--accent);background:var(--accent);color:var(--bg-0)}.latch-icon.svelte-1h259us{margin-right:6px;font-family:var(--mono);font-size:12px;line-height:1}.step.svelte-1h259us{display:grid;place-items:center;min-width:40px;min-height:50px;border:1px solid var(--bg-4);border-radius:var(--radius-md);background:var(--bg-2);color:var(--fg-0);cursor:pointer;font-size:var(--t-readout);font-family:var(--mono);touch-action:manipulation}.bank-zone.svelte-1h259us .step:where(.svelte-1h259us){min-width:52px}.transpose-zone.svelte-1h259us .step:where(.svelte-1h259us){min-width:40px;min-height:36px}.step.svelte-1h259us:hover,.step.svelte-1h259us:focus-visible{border-color:var(--system);outline:none}.popover.svelte-1h259us{position:absolute;box-sizing:border-box;top:calc(100% + var(--space-2));z-index:11;border:1px solid var(--bg-4);border-radius:12px;background:#1a1a1a;box-shadow:0 18px 56px #0000007a}.setup-popover.svelte-1h259us{left:0;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:var(--space-4);width:min(380px,calc(100vw - var(--space-8)));padding:14px}.setup-popover.svelte-1h259us>.popover-head:where(.svelte-1h259us){grid-column:1 / -1}.setup-state.svelte-1h259us{display:inline-flex;align-items:center;gap:6px;margin-left:auto;color:var(--fg-3);font-family:var(--mono);font-size:10px;font-weight:500}.setup-dot.svelte-1h259us{width:6px;height:6px;border-radius:50%;background:var(--fg-3)}.setup-dot.live.svelte-1h259us{background:#3eb45c;box-shadow:0 0 0 2px #3eb45c2e}.list-popover.svelte-1h259us{left:0;width:min(280px,calc(100vw - var(--space-8)));max-height:min(60vh,440px);display:flex;flex-direction:column;padding:var(--space-2)}.variation-popover.svelte-1h259us{left:0;display:grid;gap:var(--space-3, 12px);width:min(720px,calc(100vw - var(--space-8)));max-height:min(74vh,600px);overflow-y:auto;padding:12px;background:#111}.popover-head.svelte-1h259us{display:flex;align-items:center;justify-content:space-between;padding:var(--space-1) var(--space-2) var(--space-2);color:var(--fg-2);font-size:var(--t-eyebrow);font-weight:600;line-height:1.2}.popover-head.close-only.svelte-1h259us{justify-content:flex-end;padding-bottom:0;margin-bottom:calc(-1 * var(--space-2))}.close.svelte-1h259us{width:36px;height:36px;border:1px solid var(--bg-4);border-radius:var(--radius-md);background:var(--bg-3);color:var(--fg-0);cursor:pointer;font-size:var(--t-readout)}.close.svelte-1h259us:hover,.close.svelte-1h259us:focus-visible{border-color:var(--system);outline:none}.bank-list.svelte-1h259us,.style-list.svelte-1h259us{list-style:none;margin:0;padding:0;overflow-y:auto;-webkit-overflow-scrolling:touch}.list-item.svelte-1h259us{display:flex;align-items:center;gap:var(--space-2);width:100%;min-height:44px;padding:0 var(--space-2);border:1px solid transparent;border-radius:var(--radius-md);background:transparent;color:var(--fg-1);cursor:pointer;font:inherit;text-align:left}.list-item.svelte-1h259us:hover,.list-item.svelte-1h259us:focus-visible{background:var(--bg-3);color:var(--fg-0);outline:none}.list-item.selected.svelte-1h259us{border-color:var(--system);background:var(--system-soft);color:var(--fg-0)}.list-name.svelte-1h259us{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.field.svelte-1h259us{display:grid;gap:var(--space-1);min-width:0}.field.full.svelte-1h259us{grid-column:1 / -1}.bpm-stepper.svelte-1h259us{display:grid;grid-template-columns:44px minmax(0,1fr) 44px;gap:var(--space-1)}.bpm-stepper.svelte-1h259us button:where(.svelte-1h259us){min-height:44px;border:1px solid var(--bg-4);border-radius:var(--radius-md);background:var(--bg-2);color:var(--fg-0);cursor:pointer;font-family:var(--mono);font-size:var(--t-readout)}.bpm-stepper.svelte-1h259us input[type=number]:where(.svelte-1h259us){font-family:var(--mono);font-size:var(--t-readout);font-variant-numeric:tabular-nums;text-align:center}.bpm-stepper.svelte-1h259us button:where(.svelte-1h259us):disabled{color:var(--fg-3);cursor:not-allowed}.field.svelte-1h259us>span:where(.svelte-1h259us){color:var(--fg-2);font-size:var(--t-eyebrow);font-weight:600;line-height:1.2}.field.svelte-1h259us select:where(.svelte-1h259us),.field.svelte-1h259us input[type=number]:where(.svelte-1h259us){min-height:44px;min-width:0;width:100%;padding:var(--space-2);border:1px solid var(--bg-4);border-radius:var(--radius-md);background:var(--bg-2);color:var(--fg-0);font:inherit}.field.svelte-1h259us select:where(.svelte-1h259us):disabled,.field.svelte-1h259us input:where(.svelte-1h259us):disabled{color:var(--fg-2);border-color:var(--bg-3)}.seg.svelte-1h259us{display:flex;align-items:center;gap:0}.seg.svelte-1h259us button:where(.svelte-1h259us){min-width:44px;min-height:44px;padding:var(--space-2) var(--space-4);border:1px solid var(--bg-4);background:var(--bg-2);color:var(--fg-0);cursor:pointer;font:inherit;touch-action:manipulation}.seg.svelte-1h259us button:where(.svelte-1h259us):first-child{border-radius:var(--radius-md) 0 0 var(--radius-md)}.seg.svelte-1h259us button:where(.svelte-1h259us):last-child{border-left:none;border-radius:0 var(--radius-md) var(--radius-md) 0}.seg.svelte-1h259us button.on:where(.svelte-1h259us){border-color:var(--system);background:var(--system-soft);color:var(--fg-0)}.seg.svelte-1h259us button:where(.svelte-1h259us):disabled{color:var(--fg-3);cursor:not-allowed}.gate-field.svelte-1h259us{display:grid;gap:var(--space-1)}.gate-field.svelte-1h259us>span:where(.svelte-1h259us){color:var(--fg-2);font-size:var(--t-eyebrow);font-weight:600}.gate-row.svelte-1h259us{display:flex;align-items:center;gap:var(--space-3, 12px)}input[type=range].svelte-1h259us{flex:1 1 auto;min-height:44px;accent-color:var(--system);touch-action:manipulation}.gateval.svelte-1h259us{min-width:4ch;color:var(--fg-0);font-family:var(--mono);font-variant-numeric:tabular-nums;text-align:right}button.svelte-1h259us:active{filter:brightness(1.12)}@media(max-width:1200px){.variation-popover.svelte-1h259us{position:fixed;left:50%;right:auto;top:50%;transform:translate(-50%,-50%);width:min(720px,calc(100vw - 24px));max-height:calc(100vh - 24px);overflow-y:auto}}@media(max-width:900px){.topbar.svelte-1h259us{display:grid;grid-template-columns:auto minmax(0,1fr) auto;grid-template-areas:"pill pill transpose" "bank style latch";gap:var(--space-2);padding:12px}.pill-zone.svelte-1h259us{grid-area:pill}.bank-zone.svelte-1h259us{grid-area:bank}.style-zone.svelte-1h259us{grid-area:style}.transpose-zone.svelte-1h259us{grid-area:transpose}.latch.svelte-1h259us{grid-area:latch}.pill-zone.svelte-1h259us,.style-zone.svelte-1h259us{min-width:0}.latch.svelte-1h259us{margin-left:0}.close.svelte-1h259us{width:44px;height:44px}}@media(max-width:620px){.topbar.svelte-1h259us{grid-template-columns:minmax(0,1fr) auto;grid-template-areas:"pill pill" "bank latch" "style style" "transpose transpose";padding:var(--space-2)}.pill-zone.svelte-1h259us,.bank-zone.svelte-1h259us,.style-zone.svelte-1h259us{width:100%}.bank-readout.svelte-1h259us{flex:1 1 auto;max-width:none}.latch.svelte-1h259us{margin-left:0}.style-readout.svelte-1h259us{flex:1 1 auto;max-width:none}.popover.svelte-1h259us{position:fixed;left:var(--space-2);right:var(--space-2);top:50%;transform:translateY(-50%);width:auto;max-width:none;max-height:86vh;overflow-y:auto}.setup-popover.svelte-1h259us{grid-template-columns:1fr}.list-popover.svelte-1h259us{max-height:74vh}}@media(max-height:480px){.topbar.svelte-1h259us{display:grid;grid-template-columns:auto minmax(0,1fr) auto;grid-template-areas:"pill sugg transpose" "bank style latch";gap:var(--space-2);padding:12px}.pill-zone.svelte-1h259us{grid-area:pill}.zone.sugg-zone.svelte-1h259us{display:flex;grid-area:sugg}.bank-zone.svelte-1h259us{grid-area:bank}.style-zone.svelte-1h259us{grid-area:style}.transpose-zone.svelte-1h259us{grid-area:transpose}.latch.svelte-1h259us{grid-area:latch;margin-left:0}.close.svelte-1h259us{width:44px;height:44px}}.piano.svelte-1k3rcln{display:grid;grid-template-columns:repeat(14,minmax(0,1fr));grid-template-rows:101px 129px;column-gap:var(--space-2);row-gap:var(--space-2);padding:18px;box-sizing:border-box;width:min(calc(100% - 56px),1180px);max-width:1180px;margin:20px auto 0;background:var(--frame);border:1px solid #161616;border-radius:14px;box-shadow:inset 0 1px #ffffff09;-webkit-user-select:none;user-select:none;touch-action:none}.pad.svelte-1k3rcln{display:flex;flex-direction:column;justify-content:flex-end;align-items:flex-start;gap:var(--space-1);padding:12px 12px 14px;border-radius:10px;cursor:pointer;font-family:var(--mono);text-align:left;border:1px solid transparent;min-width:0;overflow:hidden;transition:background-color 60ms,border-color 60ms,transform 40ms,box-shadow 80ms;user-select:none;-webkit-user-select:none;-webkit-touch-callout:none}.pad.svelte-1k3rcln:active{transform:translateY(1px)}.pad.svelte-1k3rcln .key:where(.svelte-1k3rcln),.pad.svelte-1k3rcln .name:where(.svelte-1k3rcln){max-width:100%;user-select:none;-webkit-user-select:none;-webkit-touch-callout:none}.pad.svelte-1k3rcln .key:where(.svelte-1k3rcln){font-size:10px;font-weight:600;color:var(--fg-2);letter-spacing:.06em;text-transform:uppercase;line-height:1.2}.pad.svelte-1k3rcln .name:where(.svelte-1k3rcln){display:flex;flex-wrap:wrap;align-items:baseline;font-size:16px;font-weight:600;line-height:1.1}.pad.svelte-1k3rcln .cname-main:where(.svelte-1k3rcln),.pad.svelte-1k3rcln .cname-bass:where(.svelte-1k3rcln){white-space:nowrap}.pad.svelte-1k3rcln .cname-bass:where(.svelte-1k3rcln){opacity:.72}.pad.white.svelte-1k3rcln{background:var(--cream);color:var(--bg-1);min-height:129px;border-color:#d8d3c5;box-shadow:none}.pad.white.svelte-1k3rcln .key:where(.svelte-1k3rcln){color:#6f675f}.pad.black.svelte-1k3rcln{background:var(--black-key);color:var(--fg-0);min-height:101px;border-color:var(--bg-3);box-shadow:inset 0 1px #ffffff1a,inset 0 -1px #0006}.pad.held.svelte-1k3rcln{background:var(--accent)!important;color:var(--bg-0)!important;box-shadow:inset 0 1px #fff3,0 0 24px 4px #ff7a1a73;border-color:var(--accent)}.pad.held.svelte-1k3rcln .key:where(.svelte-1k3rcln){color:var(--bg-0)!important}@media(max-width:760px){.piano.svelte-1k3rcln{grid-template-rows:88px 112px;row-gap:var(--space-2);width:calc(100% - 24px);margin-top:12px;padding:12px}.pad.svelte-1k3rcln{padding:var(--space-2) var(--space-2) 10px}.pad.svelte-1k3rcln .key:where(.svelte-1k3rcln){font-size:9px}.pad.svelte-1k3rcln .name:where(.svelte-1k3rcln){font-size:clamp(10px,2.7vw,14px)}.pad.black.svelte-1k3rcln{min-height:88px}.pad.white.svelte-1k3rcln{min-height:112px}}@media(max-height:480px){.piano.svelte-1k3rcln{grid-template-rows:64px 80px;row-gap:var(--space-2);width:calc(100% - 16px);margin-top:var(--space-2);padding:var(--space-2)}.pad.svelte-1k3rcln{padding:var(--space-2)}.pad.black.svelte-1k3rcln{min-height:64px}.pad.white.svelte-1k3rcln{min-height:80px}}.rail.svelte-1ngglx8{box-sizing:border-box;display:grid;gap:4px;width:min(calc(100% - 56px),1180px);margin:16px auto 0}.rail-head.svelte-1ngglx8{display:flex;align-items:baseline;gap:8px;padding:0 4px 4px;color:var(--system);font-size:var(--t-eyebrow);font-weight:600;letter-spacing:.08em;text-transform:uppercase}.rail-head.svelte-1ngglx8 .count:where(.svelte-1ngglx8){font-family:var(--mono);letter-spacing:0}.cols.svelte-1ngglx8{display:grid;grid-template-columns:repeat(auto-fill,minmax(280px,1fr));gap:0 16px}.col.svelte-1ngglx8{display:grid;grid-template-columns:minmax(0,1fr);gap:8px;align-content:start;min-width:0;padding:8px 4px 12px;border-top:1px solid var(--bg-2)}.rail-id.svelte-1ngglx8{display:grid;gap:4px}.s-label.svelte-1ngglx8{font-size:var(--t-body);font-weight:600;line-height:1.25;color:var(--fg-0);text-wrap:balance}.kind.svelte-1ngglx8{font-size:var(--t-eyebrow);font-weight:400;color:var(--system);letter-spacing:.02em}.empty.svelte-1ngglx8{margin:0;padding:4px;font-size:13px;font-weight:400;color:var(--fg-2)}@media(max-width:760px){.rail.svelte-1ngglx8{width:calc(100% - 24px)}}@media(max-height:480px){.rail.svelte-1ngglx8{display:none}}main.svelte-1n46o8q{box-sizing:border-box;display:flex;flex-direction:column;gap:0;overflow-x:hidden;padding:0 0 var(--space-6);font-family:system-ui,sans-serif;font-size:var(--t-body);color:var(--fg-0);background:var(--bg-0);min-height:100vh;user-select:none;-webkit-user-select:none;-webkit-touch-callout:none}body{margin:0;background:var(--bg-0)}main.svelte-1n46o8q input,main.svelte-1n46o8q textarea{user-select:text;-webkit-user-select:text}footer.svelte-1n46o8q{box-sizing:border-box;display:flex;align-items:center;justify-content:space-between;gap:var(--space-4);width:min(calc(100% - 56px),1180px);margin:12px auto 0;padding:12px 16px 0;border-top:1px solid var(--bg-2);text-align:left;color:var(--fg-3);font-size:var(--t-eyebrow);line-height:1.5}footer.svelte-1n46o8q p:where(.svelte-1n46o8q){margin:0}footer.svelte-1n46o8q code:where(.svelte-1n46o8q){display:inline-block;margin:0 var(--space-1);padding:0 var(--space-1);border:1px solid var(--bg-3);border-radius:var(--radius-sm);background:var(--bg-1);color:var(--fg-1);font-family:var(--mono);font-size:var(--t-eyebrow);line-height:1.5}.dev-tag.svelte-1n46o8q{flex:0 0 auto;margin-left:auto;font-family:var(--mono);font-size:var(--t-eyebrow);color:var(--fg-3);font-variant-numeric:tabular-nums}@media(max-width:760px){footer.svelte-1n46o8q{flex-wrap:wrap;justify-content:center;width:calc(100% - 24px);padding-inline:var(--space-2);text-align:center}.dev-tag.svelte-1n46o8q{flex-basis:100%;margin-left:0}}@media(pointer:coarse)and (max-width:1366px){html,body{overflow:hidden;position:fixed;width:100%;height:100%;overscroll-behavior:none}}@media(pointer:coarse)and (max-width:1366px)and (max-height:480px){html,body{overflow-y:auto;position:static;height:auto;overscroll-behavior:none}}
