:root{--pill-h: 28px;--pill-pad-x: 8px;--pill-gap: 6px;--pill-radius: 999px;--pill-border: 1px solid rgba(255, 255, 255, .3);--pill-bg: color-mix(in srgb, #fff 8%, var(--dock-bg));--pill-ink: #f3eee6;--pill-font: 12px;--pill-label-weight: 100;--pill-label-ink: #b8afa3;--pill-sm-h: 20px;--pill-sm-pad-x: 8px;--pill-sm-font: 11px;--chip-h: 22px;--chip-filled-h: 18px;--chip-pad-x: 6px;--chip-icon-w: 26px;--chip-gap: 4px;--chip-bg: rgba(255, 255, 255, .1);--chip-bg-hover: rgba(255, 255, 255, .18);--chip-bg-on: rgba(255, 255, 255, .16);--chip-focus: var(--grid-glow);--touch-min: 34px}.pill{display:flex;align-items:center;gap:var(--pill-gap);box-sizing:border-box;min-height:var(--pill-h);padding:0 var(--pill-pad-x);border-radius:var(--pill-radius);border:var(--pill-border);background:var(--pill-bg);color:var(--pill-ink);font-size:var(--pill-font);line-height:1.2;animation:pill-flash .6s ease-out}.pill,.pill button,.pill select,.pill option{text-transform:lowercase}.pill .as-typed{text-transform:none}@keyframes pill-flash{0%{box-shadow:0 0 0 0 var(--grid-glow);background:color-mix(in srgb,var(--grid-glow) 45%,transparent)}}@media (prefers-reduced-motion: reduce){.pill{animation:none}}.pill--sm{display:inline-flex;justify-content:center;min-height:var(--pill-sm-h);padding:0 var(--pill-sm-pad-x);font:inherit;font-size:var(--pill-sm-font);font-weight:600;white-space:nowrap;cursor:pointer}:where(button.pill--sm):hover:not(.on){background:var(--chip-bg-hover)}.pill-label{color:var(--pill-label-ink);font-weight:var(--pill-label-weight);white-space:nowrap}.chip{display:inline-flex;align-items:center;justify-content:center;gap:var(--chip-gap);box-sizing:border-box;min-height:var(--chip-h);padding:0 var(--chip-pad-x);border-radius:var(--pill-radius);border:1px solid transparent;background:none;color:inherit;font:inherit;line-height:1;white-space:nowrap;cursor:pointer}.chip--filled{min-height:var(--chip-filled-h);background:var(--chip-bg)}.chip:hover:not(:disabled),.chip[aria-expanded=true]{background:var(--chip-bg-hover)}.chip.on{background:var(--chip-bg-on)}.chip:focus-visible{outline:2px solid var(--chip-focus);outline-offset:1px}.chip:disabled{opacity:.35;cursor:default}.chip--icon{min-width:var(--chip-icon-w);padding:0 4px}@media (max-width: 640px){:root{--pill-h: 26px;--pill-pad-x: 6px;--pill-gap: 4px;--pill-font: 11px;--chip-h: 20px;--chip-pad-x: 4px;--chip-gap: 3px;--chip-icon-w: 22px;--chip-filled-h: 17px}}@media (max-width: 400px){:root{--pill-pad-x: 5px;--pill-gap: 3px;--chip-pad-x: 3px;--chip-gap: 2px}}@media (hover: none) and (pointer: coarse){.chip{position:relative}.chip:after{content:"";position:absolute;left:50%;top:50%;width:max(calc(100% + 4px),var(--touch-min));height:max(100%,var(--touch-min));transform:translate(-50%,-50%)}}:root{--bg: #ffffff;--ink: #1d1b19;--muted: #7a746e;--rail-bg: #f3f1ec;--dock-bg: #453f38;--cell-neutral: #bfafa2;--cell-outline: #a39385;--ball-highlight: #ffe6d0;--ball-edge: #44372f;--ball-ink: #ffffff;--note-name: #1d1b19;--grid-glow: #f5e9b0;--grid-glow-opacity: .65;--lead-hex-glow: rgba(240, 190, 40, .65);--hex-trigger: #3dff7a;--panel-glow: inset 0 0 28px color-mix(in srgb, var(--grid-glow) 38%, transparent);--line: #1d1b19;--divider: #8c8680;--highlight: #dca021;--focus: var(--highlight);--highlight-overlay: color-mix(in srgb, var(--highlight) 16%, transparent);--highlight-overlay-subtle: color-mix(in srgb, var(--highlight) 8%, transparent);font-family:Outfit,system-ui,-apple-system,Segoe UI,sans-serif;color:var(--ink);background:var(--bg)}*{box-sizing:border-box}html,body,#root{margin:0;height:100%}.boot{padding:2rem;color:var(--muted)}.layout-c{position:relative;display:grid;grid-template-rows:auto 1fr;height:100vh}.topbar{--ink: #f3eee6;--muted: #b8afa3;--line: #8a8076;--divider: #8a8076;color-scheme:dark;color:var(--ink);background:var(--dock-bg);border-bottom:1px solid rgba(0,0,0,.3);padding:8px 12px;display:flex;flex-wrap:wrap;align-items:center;gap:8px 10px;min-width:0;font-size:13px}.rail-title{margin:0;font-size:15px;font-weight:600;overflow-wrap:anywhere}.main{position:relative;display:grid;grid-template-rows:auto 1fr;min-width:0;min-height:0}.chart-area{overflow-y:auto;padding-left:12px;padding-right:24px;min-height:0}.dock{outline:none;position:relative;background:var(--dock-bg);display:grid;min-height:0;overflow:hidden}.docked-hex{display:grid;position:relative;place-items:center;min-width:0;min-height:0;height:100%}.docked-hex svg{display:block}.hex-cell text{pointer-events:none;font-family:inherit}.hex-bg{fill:var(--deg);transition:fill .18s ease,stroke .18s ease}.hex-name{fill:var(--deg-ink);transition:fill .18s ease}.hex-cell-top,.hex-colour-copy,.hex-balls{pointer-events:none}.hex-ball{transition:transform .18s cubic-bezier(.3,.7,.4,1.2)}.hex-socket{transition:opacity .18s ease}.hex-pop{transform-box:fill-box;transform-origin:center;animation:hex-pop 1.47s both}@keyframes hex-pop{0%{transform:scale(1);animation-timing-function:cubic-bezier(.5,0,1,1)}2%{transform:scale(.45);animation-timing-function:cubic-bezier(.16,1,.3,1)}to{transform:scale(1)}}.docked-hex.still .hex-bg,.docked-hex.still .hex-name,.docked-hex.still .hex-ball,.docked-hex.still .hex-socket{transition:none}@media (prefers-reduced-motion: reduce){.hex-bg,.hex-name,.hex-ball,.hex-socket{transition:none}.hex-pop{animation:none}}.hex-cell.muted .hex-bg{fill:var(--cell-neutral);stroke:var(--cell-outline);stroke-width:1}.hex-cell.muted .hex-name{fill:#5e5a53}.hex-pass-glow{fill:none;stroke:var(--deg);pointer-events:none}.hex-socket{fill:#1d1b1973;pointer-events:none}.hex-acc{opacity:0;pointer-events:none;cursor:pointer;transition:opacity .12s ease}.hex-acc.shown,.hex-acc.lit{opacity:1;pointer-events:auto}.hex-acc-lit{fill:color-mix(in srgb,var(--hex-trigger) 25%,transparent);stroke:var(--hex-trigger);stroke-width:5;pointer-events:none}.hex-acc:hover circle:not(.hex-acc-lit){stroke:var(--hex-trigger);stroke-width:2}@media (hover: none){.hex-acc{opacity:1;pointer-events:auto}}.hex-lit{fill:none;stroke:var(--hex-trigger);pointer-events:none}.dock-label{position:absolute;top:8px;left:50%;transform:translate(-50%);padding:3px 10px;border-radius:12px;border:none;background:#ffffffd9;color:var(--ink);font:inherit;font-size:13px;white-space:nowrap}button.dock-label{cursor:pointer;text-decoration:underline;text-underline-offset:2px}.chart-fit{overflow-x:clip}.chart{display:flex;flex-direction:column;transform-origin:0 0;padding-top:var(--row-gap);padding-bottom:var(--row-after)}.chart-row{display:grid;column-gap:var(--slot-gap)}.slot{position:relative;min-width:0;box-sizing:border-box;border:1px solid rgba(29,27,25,.16);border-radius:10px;padding-top:var(--slot-pad-top);--slot-tint: transparent;background-color:var(--slot-paper, transparent);background-image:linear-gradient(var(--slot-tint),var(--slot-tint))}.slot.active.playing,.slot.active{--slot-tint: var(--highlight-overlay)}.slot-title{display:flex;align-items:center;gap:4px;align-self:stretch;min-width:0}.key-pill{margin-left:auto;flex:none;z-index:4;max-width:45%;box-sizing:border-box;text-align:center;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;padding:0 .5em;border-radius:1em;border:1px solid color-mix(in srgb,var(--highlight) 70%,#1d1b19);background:color-mix(in srgb,var(--highlight) 18%,transparent);font-size:calc(var(--scale-px) * 1.1);font-weight:600;line-height:1.45;color:var(--muted);pointer-events:auto}.key-pill.beside-append{margin-right:20px}.slot.active .key-pill,.slot.key-mate .key-pill{border-color:color-mix(in srgb,var(--highlight) 85%,#1d1b19);background:var(--highlight);color:#1d1b19}.slot-header{display:flex;flex-direction:column;justify-content:flex-end;align-items:flex-start;padding:0 6px 4px}.chord-label{border:none;background:none;padding:2px 4px;margin:0;border-radius:4px;font:inherit;font-size:var(--chord-px);font-weight:600;color:var(--ink);cursor:text;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.chord-label:hover,.chord-label:focus-visible{background:#0000000f;outline:none}.chord-label.empty{color:transparent;min-width:28px}.slot:hover .chord-label.empty,.chord-label.empty:focus-visible{color:var(--muted)}.chord-field{width:100%;font:inherit;font-size:var(--chord-px);font-weight:600;padding:1px 4px;margin:0 -1px;border:1px solid var(--focus);border-radius:4px;outline:none}.vex-host{line-height:0}.vex-host svg{overflow:visible}.bar-line{position:absolute;top:calc(-1px - var(--row-gap));bottom:0;right:calc(-1px - var(--slot-gap) - var(--bar-line));width:var(--bar-line);background:var(--line);pointer-events:none}:is(.main.read,.main.write) .slot:not(.lead){border:none;border-radius:0;overflow:visible}:is(.main.read,.main.write) .slot.bar-first,:is(.main.read,.main.write) .slot.bar-second{border:none;border-radius:0}.main.write .bar-line{top:calc(-1 * var(--row-gap));right:calc(-1 * (var(--slot-gap) + var(--bar-line)));z-index:0}:is(.main.read,.main.write) .slot:not(.lead) .slot-body{overflow:visible;position:relative;z-index:1}.slot.bar-end{margin-right:calc(var(--slot-gap) + var(--bar-line))}.main.read .bar-line{top:var(--staff-top, 0);bottom:auto;height:calc(var(--staff-bottom, 100%) - var(--staff-top, 0px));right:calc(-1 * (var(--slot-gap) + var(--bar-line)));z-index:0}:is(.main.read,.main.write) .chart-fit{overflow-x:visible}:is(.main.read,.main.write) .clef-gutter{overflow:visible}:is(.main.read,.main.write) .clef-gutter .vex-host{position:relative;z-index:1}.main.read .slot-header--compact{flex-direction:row;align-items:center;gap:2px;padding:0 4px 3px;min-width:0;box-sizing:border-box}.main.read .slot-header--compact .bar-handle{position:relative;top:auto;left:auto;flex:none;margin-right:0}.main.read .slot-header--compact .bar-number{padding-right:8px}.main.read .slot-header--compact .slot-title{flex:1 1 auto;min-width:0}.main.read .slot-header--compact .slot-title>.chord-wrap{flex:0 0 auto;min-width:0;max-width:none}.main.read .slot-header--compact .chord-label{flex:none;max-width:none}.main.read .slot-header--compact .scale-label-wrap{flex:1 1 0;min-width:0;max-width:none}.slot.lead .bar-line{top:calc(-1px - var(--row-gap));bottom:0;height:auto}.chord-label.invalid{color:#c62828}.chord-wrap,.chord-field-wrap{position:relative;display:inline-flex;min-width:0;max-width:calc(100% + 8px);margin:0 -4px}.chord-field-wrap{width:100%}.chord-tip{display:none;position:absolute;left:0;top:calc(100% + 4px);z-index:10;padding:4px 8px;border-radius:4px;background:#2b2825;color:#fff;font-size:12px;font-weight:500;white-space:nowrap;pointer-events:none}.chord-wrap:hover .chord-tip,.chord-label:focus-visible+.chord-tip{display:block}.chord-tip-jump{display:block;margin-top:2px;color:var(--grid-glow)}.chord-wrap:has(.chord-clear:hover) .chord-tip{display:none}.slot:last-child .chord-tip,.slot:last-child .chord-field-error{left:auto;right:0}.chord-field-error{position:absolute;left:0;top:calc(100% + 4px);z-index:10;padding:3px 8px;border-radius:4px;background:#fdecea;color:#b71c1c;font-size:12px;white-space:nowrap}.chord-suggest{position:absolute;left:0;top:calc(100% + 4px);z-index:20;min-width:100%;margin:0;padding:4px 0;list-style:none;border-radius:6px;background:#fff;box-shadow:0 4px 16px #0000002e,0 0 0 1px #0000000f;font-size:14px;white-space:nowrap}.chord-suggest li{display:flex;align-items:baseline;gap:12px;padding:4px 10px;cursor:pointer}.chord-suggest li.selected{background:var(--focus);color:#fff}.chord-suggest-symbol{font-weight:600;min-width:4.5em}.chord-suggest-tones{color:var(--muted);font-size:12px}.chord-suggest li.selected .chord-suggest-tones{color:#ffffffd9}.slot:last-child .chord-suggest{left:auto;right:0}.chord-field[aria-invalid=true]{border-color:#c62828}.override-dot{align-self:flex-start;flex:none;width:6px;height:6px;margin:4px 0 0 2px;border-radius:50%;background:var(--focus)}.scale-label-wrap{position:relative;display:inline-flex;min-width:0;max-width:calc(100% + 8px);min-height:calc(var(--scale-px) * 1.5 + 4px);margin:0 -4px}.scale-label{border:none;background:none;padding:2px 4px;margin:0;border-radius:3px;font:inherit;font-size:var(--scale-px);line-height:1.5;color:color-mix(in srgb,var(--muted) 85%,var(--ink));cursor:pointer;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;box-sizing:content-box}.scale-label:disabled{cursor:default}.scale-label:not(:disabled):hover,.scale-label:focus-visible,.scale-label[aria-expanded=true]{background:#0000000f;color:var(--ink);outline:none}.scale-label.none{font-style:italic;cursor:default}.scale-menu{position:absolute;left:0;top:calc(100% + 4px);z-index:20;display:flex;flex-direction:column;min-width:180px;padding:4px;border-radius:6px;background:#fff;box-shadow:0 4px 16px #0000002e,0 0 0 1px #00000014}.slot:last-child .scale-menu{left:auto;right:0}.scale-option{display:flex;align-items:center;gap:6px;border:none;background:none;padding:5px 8px;border-radius:4px;font:inherit;font-size:13px;text-align:left;color:var(--ink);cursor:pointer;white-space:nowrap}.scale-option:hover,.scale-option:focus-visible{background:#0000000f;outline:none}.scale-check{width:12px;color:var(--focus)}.scale-default{color:var(--muted)}.length-latch{position:relative;display:flex;gap:2px}.latch-button.on{border-color:var(--focus);font-weight:600}.rest-latch{margin-left:6px}.latch-key{color:var(--muted);font-variant-numeric:tabular-nums}.latch-button.flash{animation:latch-flash .6s ease-out 2}@keyframes latch-flash{40%{background:#fde2e1;border-color:#c62828}}.latch-message{position:absolute;top:calc(100% + 4px);left:0;z-index:30;margin:0;font-size:11px;line-height:1.3;color:#b71c1c;white-space:nowrap;pointer-events:none}.latch-message:not(:empty){padding:3px 8px;border-radius:4px;background:#fdecea}.audio-controls{display:flex;gap:2px}.rail-button.mute.on{color:var(--muted)}.melody-event{cursor:pointer}.hex-halo{fill:none;stroke:#1d1b19;stroke-width:2;stroke-dasharray:5 3;pointer-events:none}.undo-controls{display:flex;gap:2px}.inline-value{align-self:stretch;border:1px solid transparent;background:none;padding:2px 4px;margin:0 -4px;border-radius:4px;font:inherit;text-align:left;color:var(--ink);cursor:text}.inline-value:hover{border-color:var(--line, #ccc)}.inline-value.rail-title,.inline-field.rail-title{font-size:15px;font-weight:600;overflow-wrap:anywhere}.inline-field{width:100%;box-sizing:border-box;font:inherit;padding:2px 4px;margin:0 -4px;border:1px solid var(--focus);border-radius:4px}.time-sig{font-variant-numeric:tabular-nums}.time-sig.bad{color:#b71c1c}.rail-setting{display:flex;flex-wrap:wrap;align-items:center;gap:2px 6px}.rail-setting .inline-value,.rail-setting .inline-field{flex:1;min-width:0;margin:0}.rail-note{flex-basis:100%;font-size:11px;color:#b71c1c}.rail-heading{margin:0;display:flex}.instrument-picker{display:flex;align-items:center;gap:var(--pill-gap)}.bar-handle{position:absolute;top:calc(-1px - var(--row-gap) / 2 - .75em);left:2px;z-index:5;display:inline-flex;align-items:center;gap:1px;font-size:var(--scale-px)}.bar-number,.bar-menu-button{border:none;background:none;padding:0 3px;border-radius:3px;font:inherit;line-height:1.4;color:var(--muted);cursor:pointer}.bar-number:hover,.bar-menu-button:hover{background:#00000012;color:var(--ink)}.bar-menu-button{visibility:hidden}.slot:hover .bar-menu-button,.slot.active .bar-menu-button,.bar-handle.open .bar-menu-button,.bar-menu-button:focus-visible{visibility:visible}.bar-handle.selected .bar-number{background:var(--focus);color:#fff}.slot.bar-selected{box-shadow:inset 0 0 0 2px color-mix(in srgb,var(--highlight) 45%,transparent)}.slot.bar-first{border-right-width:0;border-top-right-radius:0;border-bottom-right-radius:0}.slot.bar-second{margin-left:calc(-1 * var(--slot-gap));border-left-width:0;border-top-left-radius:0;border-bottom-left-radius:0}.slot.looped{--loop: var(--highlight);border-color:var(--loop);border-width:2px 0;border-radius:0}.slot.looped:not(.active){--slot-tint: var(--highlight-overlay-subtle)}.slot.looped.loop-start{border-left-width:2px;border-top-left-radius:10px;border-bottom-left-radius:10px}.slot.looped.loop-end{border-right-width:2px;border-top-right-radius:10px;border-bottom-right-radius:10px}.slot.looped:not(.loop-end):not(.row-end):not(.bar-first):after{content:"";position:absolute;top:-2px;bottom:-2px;left:100%;width:var(--slot-gap);box-sizing:border-box;border-block:2px solid var(--loop);background:var(--highlight-overlay-subtle);pointer-events:none}.slot.looped.bar-end:not(.loop-end):not(.row-end):after{width:calc(2 * var(--slot-gap) + var(--bar-line))}.repeat-sign{position:absolute;z-index:3;width:20px;fill:var(--loop, var(--highlight));pointer-events:none}.repeat-sign.start{left:6px}.repeat-sign.end{right:6px}.slot.loop-start .lead-tones{padding-left:46px}.slot.loop-end .lead-tones{padding-right:32px}.loop-clear{position:absolute;right:3px;z-index:6;transform:translateY(calc(-100% - 3px));display:grid;place-items:center;font-size:var(--chord-px);width:1.1em;height:1.1em;padding:0;border:none;border-radius:50%;background:var(--loop, var(--highlight));color:#1d1b19;cursor:pointer;box-shadow:0 1px 3px #00000040}.loop-clear svg{width:.6em;height:.6em}.loop-clear:hover{background:#b3261e}.bar-menu{position:absolute;left:0;top:calc(100% + 2px);z-index:25;display:flex;flex-direction:column;min-width:160px;padding:4px;border-radius:6px;background:#fff;box-shadow:0 4px 16px #0000002e,0 0 0 1px #00000014;font-size:13px}.bar-menu-item{display:flex;justify-content:space-between;gap:12px;border:none;background:none;padding:5px 8px;border-radius:4px;font:inherit;text-align:left;color:var(--ink);cursor:pointer}.bar-menu-item:hover:not(:disabled),.bar-menu-item:focus-visible{background:color-mix(in srgb,var(--highlight) 10%,transparent);outline:none}.bar-menu-item:disabled{color:var(--muted);opacity:.5;cursor:default}.bar-menu-keys{color:var(--muted)}.append-bar{position:absolute;top:1px;right:2px;z-index:5;border:1px dashed var(--muted);background:none;width:20px;height:18px;padding:0;border-radius:4px;font:inherit;font-size:13px;line-height:1;color:var(--muted);cursor:pointer}.append-bar:hover{color:var(--ink);border-color:var(--ink)}.delete-bar{position:absolute;right:-1px;font-size:var(--chord-px);top:calc(-1px - var(--row-gap) / 2 - .65em);z-index:5;display:grid;place-items:center;width:1.3em;height:1.3em;padding:0;border:none;border-radius:4px;background:none;color:var(--muted);opacity:.35;cursor:pointer}.delete-bar svg,.insert-bar svg{width:.9em;height:.9em}.insert-bar{position:absolute;right:calc(-1px + 1.45em);font-size:var(--chord-px);top:calc(-1px - var(--row-gap) / 2 - .65em);z-index:5;display:grid;place-items:center;width:1.3em;height:1.3em;padding:0;border:none;border-radius:4px;background:none;color:var(--muted);opacity:.35;cursor:pointer}.insert-bar.alone{right:-1px}.slot:hover .insert-bar,.slot.active .insert-bar,.insert-bar:focus-visible{opacity:1}.insert-bar:hover{background:#00000012;color:var(--ink)}.slot:hover .delete-bar,.slot.active .delete-bar,.delete-bar:focus-visible{opacity:1}.delete-bar:hover{background:#00000012;color:#b3261e}.chord-clear{align-self:center;display:grid;place-items:center;flex:none;font-size:var(--chord-px);width:1em;height:1em;margin-left:.1em;padding:0;border:none;border-radius:50%;background:none;color:var(--muted);cursor:pointer;opacity:0;transition:opacity .12s ease}.slot:hover .chord-clear,.slot.active .chord-clear,.chord-clear:focus-visible{opacity:.8}.chord-clear svg{width:.62em;height:.62em}.chord-clear:hover{opacity:1;background:#00000014;color:#b3261e}.notice{position:absolute;left:50%;bottom:calc(50% + 12px);transform:translate(-50%);z-index:40;padding:6px 12px;border-radius:6px;background:#3b2a2a;color:#fff;font-size:13px;pointer-events:none}.mode-panel{flex:none;display:flex;align-items:center;gap:var(--pill-gap)}.mode-field{display:inline-flex;align-items:center;gap:6px;white-space:nowrap}.dropdown{position:relative;display:inline-flex}.dropdown-value{font-weight:400}.dropdown-caret{opacity:.7;transition:transform .12s ease}.dropdown-caret.up{transform:rotate(180deg)}.dropdown-menu{position:absolute;left:-1px;top:calc(100% + 8px);z-index:40;padding:5px;border-radius:12px;background:var(--dock-bg);color:#f3eee6;box-shadow:0 10px 28px #0006,0 0 0 1px #ffffff24;animation:dropdown-in .12s ease-out}.dropdown-menu.right{left:auto;right:-1px}.mode-panel .dropdown-menu{left:-9px}.dropdown-menu.rich{width:min(380px,calc(100vw - 32px));text-transform:none}.dropdown-menu.compact{min-width:calc(100% + 16px);max-width:calc(100vw - 32px);max-height:min(340px,60vh);overflow-y:auto}@keyframes dropdown-in{0%{opacity:0;transform:translateY(-4px)}}.dropdown-menu ul{margin:0;padding:0;list-style:none;outline:none}.dropdown-option{display:grid;gap:3px;border-radius:8px;border-left:3px solid transparent;cursor:pointer}.compact .dropdown-option{padding:5px 10px 5px 9px;font-size:12px;white-space:nowrap}.rich .dropdown-option{padding:9px 12px 10px}.rich .dropdown-option+.dropdown-option{margin-top:2px}.dropdown-option.active{background:#ffffff17}.dropdown-option.current{border-left-color:var(--grid-glow)}.dropdown-option.disabled{opacity:.45;cursor:default}.dropdown-option.disabled.active{background:none}.dropdown-option-head{display:flex;align-items:center;gap:6px}.rich .dropdown-option-name{font-size:14px;font-weight:600;margin-right:2px}.dropdown-tag{padding:0 6px;border-radius:8px;border:1px solid rgba(255,255,255,.28);font-size:10px;line-height:15px;letter-spacing:.02em;opacity:.8}.dropdown-check{margin-left:auto;padding-left:10px;color:var(--grid-glow);flex:none;box-sizing:content-box}.dropdown-option-blurb{font-size:12px;line-height:1.4;color:#f3eee6b8}.dropdown-footer{margin:6px 0 0;padding:7px 12px 3px;border-top:1px solid rgba(255,255,255,.12);font-size:11px;color:#f3eee699}.dropdown-menu kbd{display:inline-block;min-width:15px;padding:0 4px;border-radius:4px;border:1px solid rgba(255,255,255,.3);font:inherit;font-size:10px;line-height:15px;text-align:center}@media (prefers-reduced-motion: reduce){.dropdown-menu,.dropdown-caret{animation:none;transition:none}}.on-arrival{flex-wrap:nowrap;align-items:center;gap:6px;margin:0}.rail-setting{flex-wrap:nowrap}.rail-heading .inline-value,.rail-heading .inline-field{max-width:220px}.inline-value.placeholder{opacity:.5;font-style:italic;font-weight:400}.lead-tones{box-sizing:border-box;display:flex;align-items:center;padding-inline:26px 6px;overflow:hidden}.slot.lead{display:grid;grid-template-columns:minmax(0,1fr);grid-template-rows:auto minmax(0,1fr) auto;align-items:center;max-height:var(--lead-slot-max, 160px);min-height:0}.slot.lead>.slot-header,.slot.lead>.slot-body{min-width:0;min-height:0;overflow:hidden}.slot.lead>.slot-header:has(.scale-menu,.chord-suggest){overflow:visible}.slot.lead:has(>.slot-header .scale-menu,>.slot-header .chord-suggest){position:relative;z-index:25}.slot.lead>.key-pill{grid-row:3;grid-column:1;justify-self:end;max-width:60%;margin:0 6px 5px 0}.slot.lead>.add-chord{top:auto;bottom:4px}.slot.lead>.key-pill.beside-append{margin-right:26px}.slot.lead>.slot-body{grid-row:2;grid-column:1;justify-self:center}.slot.lead>.slot-header{grid-row:1;grid-column:1;flex-direction:row;justify-content:space-between;align-items:baseline;gap:8px;min-width:0;padding-bottom:4px}.slot.lead .slot-title{align-self:auto;flex:0 1 auto}.slot.lead .scale-label-wrap{flex:0 1 auto;justify-content:flex-end}.slot.lead .chord-label{line-height:1.25}.slot.lead .lead-tones{padding-inline:0;justify-content:center}.lead-hex{display:block;overflow:visible;filter:drop-shadow(0 0 4px var(--lead-hex-glow)) drop-shadow(0 1px 1px var(--lead-hex-glow))}.lead-cell polygon{fill:var(--cell-neutral)}.lead-cell.guide polygon{stroke:var(--ink);stroke-width:1.6}.lead-cell text{fill:var(--ink);font-weight:700;text-anchor:middle;dominant-baseline:central;pointer-events:none}.main.read{grid-template-rows:minmax(0,1fr)}.main.read>.chart-area{overflow:hidden}.chart-pane-empty{visibility:hidden;pointer-events:none}.main.tuner-mode>.chart-area{overflow:hidden}.main.lead>.chart-area{background:#f7f3e5}.main.lead .slot.lead{--slot-paper: var(--bg);box-shadow:0 1px 2px #1d1b190f,0 2px 8px #1d1b1914}.main.improv .slot.lead.active{--slot-tint: color-mix(in srgb, var(--hex-trigger) 22%, transparent);box-shadow:0 0 0 2px var(--hex-trigger),0 1px 2px #1d1b190f,0 2px 8px #1d1b1914}.chord-label:disabled{color:var(--ink);cursor:default}.library-overlay{position:fixed;top:0;right:0;bottom:0;left:0;z-index:60;display:grid;place-items:start center;padding:56px 16px 24px;background:#14121073;-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px);animation:library-in .16s ease-out}@keyframes library-in{0%{opacity:0}}.library{--ink: #f3eee6;--muted: #b8afa3;--line: #8a8076;color-scheme:dark;width:min(760px,100%);max-height:calc(100dvh - 80px);overflow-y:auto;padding:16px 20px 20px;box-sizing:border-box;border-radius:14px;background:var(--dock-bg);color:var(--ink);box-shadow:inset 0 0 14px 2px #000000b3,0 18px 48px #00000073,0 0 0 1px #ffffff1f;outline:none}@media (prefers-reduced-motion: reduce){.library-overlay{animation:none}}.library-header{display:flex;align-items:center;justify-content:space-between;margin-bottom:16px}.library-current{margin:-4px 0 16px;padding-bottom:14px;border-bottom:1px solid rgba(255,255,255,.12)}.library-section{margin:0 0 8px;font-size:11px;font-weight:500;letter-spacing:.08em;text-transform:uppercase;color:var(--muted)}.library-current-body{display:flex;flex-wrap:wrap;align-items:center;gap:8px 10px}.library-current-seq{min-width:0}.library-current-seq .rail-title{text-transform:none}.library-current-etude{flex:none}.library-open-tag{margin-left:8px;padding:1px 6px;border-radius:999px;background:var(--grid-glow);color:#1d1b19;font-size:10px;font-weight:600;letter-spacing:.04em;text-transform:uppercase;vertical-align:1px}.library-header h1{margin:0;font-family:Firjar,Outfit,system-ui,sans-serif;font-weight:700;font-size:15px;letter-spacing:.18em;text-transform:uppercase}.library-close{display:grid;place-items:center;width:var(--pill-h);height:var(--pill-h);margin-left:4px;border:var(--pill-border);border-radius:50%;background:none;color:var(--ink);cursor:pointer}.library-close:hover{background:#ffffff1a}.library-new{border:1px solid var(--ink);background:var(--ink);color:var(--dock-bg);min-height:var(--pill-h);padding:0 14px;border-radius:var(--pill-radius);font:inherit;font-size:14px;cursor:pointer}.library-new.big{font-size:17px;padding:12px 22px}.library-empty{text-align:center;padding:80px 0;color:var(--muted)}.library-list{list-style:none;margin:0;padding:0;border-top:1px solid rgba(255,255,255,.1)}.library-row{display:flex;align-items:center;gap:8px;border-bottom:1px solid rgba(255,255,255,.1)}.library-open{flex:1;min-width:0;display:flex;flex-direction:column;align-items:flex-start;gap:2px;border:none;background:none;padding:10px 8px;font:inherit;text-align:left;color:var(--ink);cursor:pointer}.library-open:hover{background:#ffffff0f;border-radius:8px}.library-title{font-size:15px;font-weight:600}.library-meta{font-size:12px;color:var(--muted)}.library-rename{flex:1;margin:8px;font:inherit;font-size:15px;padding:4px 6px;border:var(--pill-border);border-radius:6px;background:#ffffff0f;color:var(--ink)}.library-actions{display:flex;gap:2px}.library-actions button{border:none;background:none;padding:4px 8px;border-radius:4px;font:inherit;font-size:12px;color:var(--muted);cursor:pointer}.library-actions button:hover{background:#ffffff1a;color:var(--ink)}.library-actions .danger:hover{color:#ff8a80}.library-toast{position:fixed;left:50%;bottom:24px;transform:translate(-50%);display:flex;align-items:center;gap:12px;padding:8px 14px;border-radius:8px;background:#2b2723;color:#fff;font-size:14px}.library-toast button{border:none;background:none;color:#ffd52e;font:inherit;font-weight:600;cursor:pointer}.library-tools{display:flex;align-items:center;gap:6px}.library-tool{display:inline-flex;align-items:center;min-height:var(--pill-h);border:var(--pill-border);background:none;padding:0 12px;border-radius:var(--pill-radius);font:inherit;font-size:13px;color:var(--ink);cursor:pointer}.library-tool:hover{border-color:var(--ink)}.library-row.fresh{animation:fresh-row 4s ease-out}@keyframes fresh-row{0%,60%{background:#ffd52e59}to{background:transparent}}.read-only-banner{position:fixed;top:0;left:0;right:0;z-index:100;margin:0;padding:6px 12px;background:#b71c1c;color:#fff;font-size:13px;text-align:center}.backup-reminder{display:flex;flex-wrap:wrap;align-items:center;gap:4px;margin:0 0 12px;padding:6px 10px;border-radius:8px;background:#ffffff12;color:var(--muted);font-size:13px}.backup-reminder .link{border:none;background:none;padding:0;font:inherit;color:var(--focus);text-decoration:underline;cursor:pointer}.backup-reminder .dismiss{margin-left:auto;border:none;background:none;font:inherit;font-size:16px;line-height:1;color:var(--muted);cursor:pointer}.unreadable-note{margin:0 0 12px;font-size:12px;color:#ff8a80}.hex-ball-ink{fill:var(--ball-ink);paint-order:stroke;stroke:#281e188c;stroke-width:2px}.hex-glow{opacity:var(--grid-glow-opacity)}.hex-glow polygon{fill:var(--grid-glow)}.octave-switch{position:absolute;bottom:10px;left:50%;transform:translate(-50%);z-index:2}.octave-name{min-width:56px;text-align:center;font-weight:600}.hex-octave{fill:#fff;pointer-events:none}.topbar,.dock{box-shadow:var(--panel-glow)}.topbar{box-shadow:inset 0 0 14px 2px #000000b3}button,input,select,textarea{font-family:inherit}.app-tooltip{position:fixed;z-index:1000;transform:translate(-50%);max-width:260px;padding:4px 8px;border-radius:8px;background:#1d1b19;color:#f3eee6;font-size:11px;line-height:1.35;text-align:center;pointer-events:none;box-shadow:0 2px 8px #00000059}.app-tooltip.above{transform:translate(-50%,-100%)}select{border-radius:10px;padding-inline:6px 4px}.hex-cell .hex-name,.hex-cell.muted .hex-name,.hex-cell.muted.lit .hex-name{fill:var(--note-name);filter:drop-shadow(0 0 1.5px rgba(255,255,255,.9)) drop-shadow(0 0 3px rgba(255,255,255,.5))}.grid-toggle{position:absolute;left:10px;bottom:10px;z-index:2}.grid-toggle.on{background:#f3eee6;color:var(--dock-bg);border-color:#f3eee6}.hex-hide-toggle{position:absolute;right:10px;bottom:10px;z-index:6;background:var(--grid-glow);border-color:var(--grid-glow);color:var(--dock-bg);box-shadow:0 0 10px color-mix(in srgb,var(--grid-glow) 55%,transparent)}.hex-hide-toggle:hover{background:#fffbe6;border-color:#fffbe6}.main.hex-hidden{grid-template-rows:minmax(0,1fr) 0}.main.hex-hidden .dock,.main.lead.hex-hidden .dock{box-shadow:none}.sound-bar{--ink: #f3eee6;--muted: #b8afa3;position:absolute;bottom:10px;left:10px;right:10px;margin-inline:auto;width:fit-content;z-index:30;display:flex;flex-direction:column;align-items:center;gap:8px;color:var(--ink);pointer-events:auto}.sound-bar-row{display:flex;flex-wrap:wrap;justify-content:center;align-items:center;gap:8px;max-width:100%}.sound-bar .edit-pill,.sound-bar .transport-bar{flex-wrap:wrap;justify-content:center;max-width:100%;min-width:0}.sound-bar .clear-menu{top:auto;bottom:calc(100% + 4px)}.sound-section{flex-wrap:nowrap;font-weight:100}.sound-bar .dropdown-menu{top:auto;bottom:calc(100% + 8px)}.edit-pill{min-width:0}.step-controls{display:inline-flex;align-items:center}.latch-button{gap:2px}.latch-button .latch-key{font-size:10px;opacity:.7;align-self:flex-end}.note-icon{display:block}.topbar .rail-heading .rail-title{font-size:13px;font-weight:100}.topbar .instrument-picker select{max-width:124px}.hamburger{position:relative;display:inline-flex}.hamburger-button{display:inline-flex;align-items:center;justify-content:center;padding:.35rem;border:0;border-radius:6px;background:transparent;color:var(--ink);cursor:pointer}.hamburger-button:focus-visible{outline:2px solid currentColor;outline-offset:2px}.hamburger-button svg{display:block;overflow:visible}.hamburger-button line{stroke:currentColor;stroke-width:3px;stroke-linecap:round}.hamburger-menu{min-width:160px}.clear-menu-wrap{position:relative}.clear-menu{position:absolute;left:0;top:calc(100% + 4px);z-index:30;display:flex;flex-direction:column;min-width:150px;padding:4px;border-radius:8px;background:#fff;color:#1d1b19;box-shadow:0 6px 20px #0000004d,0 0 0 1px #00000014;font-size:13px;font-weight:400}.clear-menu-item{border:none;background:none;padding:5px 8px;border-radius:4px;font:inherit;text-align:left;color:#1d1b19;cursor:pointer}.clear-menu-item:hover:not(:disabled){background:#0000000f}.clear-menu-item:disabled{opacity:.4;cursor:default}.clear-menu-item.danger{background:#c62828;color:#fff}.clear-menu-item.danger:hover{background:#b71c1c}.clear-confirm{padding:4px;width:200px}.clear-confirm p{margin:0 0 8px}.clear-confirm-actions{display:flex;gap:6px}.topbar{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:8px 16px}.topbar-brand{display:flex;align-items:center;flex:none;min-width:0}.topbar .instrument-select .dropdown-value{max-width:104px;overflow:hidden;text-overflow:ellipsis}.topbar{column-gap:8px}@media (max-width: 640px){.topbar{padding:8px;row-gap:8px}.topbar-brand{align-self:center}.topbar .rail-heading{min-width:0;flex:1}.topbar .rail-heading .inline-value,.topbar .rail-heading .rail-title{max-width:100%;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;overflow-wrap:normal}.sound-bar .sound-section,.topbar .mode-groups{flex-wrap:wrap}}@media (hover: none) and (pointer: coarse){.dropdown-option{padding-block:12px}}.ins-group{display:inline-flex;align-items:center;gap:6px;flex-wrap:nowrap}.topbar{position:relative;grid-template-columns:minmax(0,1fr) auto minmax(0,1fr);grid-template-rows:auto auto;align-items:center;row-gap:8px;column-gap:8px;padding-left:12px;padding-right:12px}.topbar .topbar-brand{grid-row:1;grid-column:2;justify-self:center;position:static;transform:none;z-index:1}.topbar .topbar-end{grid-row:1;grid-column:3;justify-self:end;display:flex;align-items:center;gap:8px;min-width:0;max-width:100%}.topbar .hamburger{flex:none;margin-block:-3px}.topbar .hamburger-button{padding:0}.topbar .topbar-center{grid-row:1;grid-column:2;justify-self:center}.topbar .mode-ins-group{grid-row:1;grid-column:1;justify-self:start}.topbar .topbar-file{min-width:0}.topbar .mode-groups{grid-row:2;grid-column:1 / -1;justify-self:center;min-width:0}@media (max-width: 1024px){.topbar .topbar-file{display:none}.topbar .mode-ins-group{grid-row:2;grid-column:1 / -1;justify-self:center}.topbar .mode-groups{grid-row:3}}@media (max-width: 1024px){.dock{padding-bottom:calc(var(--sound-bar-h, 0px) + 16px)}.dock .octave-switch,.main:not(.hex-hidden) .hex-hide-toggle{bottom:calc(var(--sound-bar-h, 0px) + 16px)}}@media (max-width: 640px){.topbar .mode-ins-group{position:relative}.topbar .mode-panel .dropdown{position:static}.topbar .mode-panel .dropdown-menu,.topbar .mode-panel .dropdown-menu.right{left:50%;right:auto;translate:-50% 0}.topbar .mode-ins-group>.mode-panel,.topbar .mode-ins-group>.ins-group{min-width:0}}.brand{font-family:Firjar,Outfit,system-ui,sans-serif;font-size:21px;line-height:1;font-weight:700;letter-spacing:.18em;color:#eddd95;position:relative;top:-7px}.topbar-brand{align-items:baseline;filter:drop-shadow(0 0 5px rgba(237,221,149,.45))}.brand-logo{width:34px;height:34px;flex:none;margin-right:8px;position:relative;top:-1.5px;color:#eddd95}.topbar-file{display:flex;align-items:center;min-width:0}.mode-groups{display:flex;flex-wrap:wrap;justify-content:center;align-items:center;gap:8px}.mode-groups:empty{display:none}.listen-levels{display:inline-flex;flex:none;gap:8px;white-space:nowrap}.listen-meter{position:relative;flex:none;width:40px;height:5px;border-radius:3px;background:#ffffff26;overflow:hidden}.listen-meter-fill{display:block;height:100%;background:#f5e9b073}.listen-meter.over .listen-meter-fill{background:var(--grid-glow)}.listen-meter-mark{position:absolute;top:-1px;bottom:-1px;width:2px;margin-left:-1px;background:#fff}.listen-gain{display:inline-flex;flex:none;align-items:center;gap:3px}.listen-gain input[type=range]{-moz-appearance:none;appearance:none;-webkit-appearance:none;width:48px;height:10px;margin:0;background:transparent;cursor:pointer}.listen-gain input[type=range]::-webkit-slider-runnable-track{height:3px;border-radius:2px;background:#ffffff40}.listen-gain input[type=range]::-moz-range-track{height:3px;border-radius:2px;background:#ffffff40}.listen-gain input[type=range]::-webkit-slider-thumb{-webkit-appearance:none;width:9px;height:9px;margin-top:-3px;border:none;border-radius:50%;background:var(--grid-glow)}.listen-gain input[type=range]::-moz-range-thumb{width:9px;height:9px;border:none;border-radius:50%;background:var(--grid-glow)}.listen-gain-db{min-width:18px;font-size:11px;font-variant-numeric:tabular-nums;opacity:.85}.listen-count{opacity:.85}.tuner.tuner-message{display:flex;justify-content:center;padding:0 16px;text-align:center}.tuner.tuner-message[role=alert]{color:#ffb4a8}.transport-bar{color-scheme:dark}.transport-field{display:inline-flex;align-items:center;gap:5px;white-space:nowrap}.transport-bpm::-webkit-outer-spin-button,.transport-bpm::-webkit-inner-spin-button{-webkit-appearance:none;margin:0}.transport-bpm{width:3.2em;-moz-appearance:textfield;-webkit-appearance:textfield;appearance:textfield;font:inherit;height:var(--chip-filled-h);padding:0 4px;border-radius:var(--pill-radius);border:var(--pill-border);background:#0003;color:inherit;text-align:center}.switch.on{background:none}.transport-scales-label{opacity:.55;transition:opacity .12s ease}.transport-scales.on .transport-scales-label{opacity:1}.transport-loop-icon{opacity:.55;transition:opacity .12s ease}.transport-loop.on .transport-loop-icon{opacity:1}.switch-track{position:relative;width:26px;height:14px;border-radius:7px;background:#ffffff38;transition:background .12s ease}.switch-knob{position:absolute;top:2px;left:2px;width:10px;height:10px;border-radius:50%;background:#f3eee6;transition:transform .12s ease}.switch.on .switch-track{background:var(--pill-ink)}.switch.on .switch-knob{transform:translate(12px);background:var(--dock-bg)}@media (prefers-reduced-motion: reduce){.switch-track,.switch-knob,.transport-loop-icon{transition:none}}.transport-bars{box-sizing:border-box;width:10em;flex:none;display:inline-flex;align-items:center;justify-content:space-between;gap:2px;min-height:var(--chip-filled-h);padding:0 2px 0 8px;border-radius:var(--pill-radius);background:#ffffff0f;font-variant-numeric:tabular-nums;white-space:nowrap}.transport-bars-text{overflow:hidden;text-overflow:ellipsis}.transport-bars.picking{justify-content:flex-start;gap:4px;padding:0;background:none}.transport-bars.looping{background:#ffffff24}.transport-bars-clear{min-height:calc(var(--chip-filled-h) - 4px);padding:0 5px;font-size:14px}.hex-target{fill:none;stroke:var(--grid-glow);stroke-width:2.5;stroke-dasharray:5 4;pointer-events:none;filter:drop-shadow(0 0 3px rgba(245,233,176,.8))}.dock{grid-template-rows:minmax(0,1fr)}.main>.chart-area{grid-row:1;grid-column:1}.main>.dock{grid-row:2;grid-column:1}.listen-row{grid-row:2;grid-column:1;align-self:start;transform:translateY(-100%);z-index:5;display:grid;grid-template-columns:minmax(0,1fr) auto minmax(0,1fr);align-items:center;gap:12px;padding:6px 10px;background:var(--dock-bg);box-shadow:inset 0 0 14px 2px #000000b3,0 -4px 12px #0000002e}.listen-row:not(:has(.tuner,.listen-levels,.hex-hide-toggle)){display:none}.main.lead,.main.tuner-mode{display:block;position:relative;height:100%;min-height:0}.hex-dock-wrap{position:absolute;bottom:0;left:0;right:0;z-index:5;display:flex;flex-direction:column;min-height:0;pointer-events:none}.hex-dock-wrap>*{pointer-events:auto}.main.lead .hex-dock-wrap:has(.dock),.main.tuner-mode .hex-dock-wrap:has(.dock){height:var(--hex-share, 50%);max-height:var(--hex-share, 50%)}.main.tuner-mode .hex-dock-wrap:has(.dock){height:100%;max-height:100%}.main.tuner-mode>.chart-area{display:none}.hex-dock-wrap .listen-row{position:static;transform:none;flex:none;align-self:stretch;width:100%;box-sizing:border-box;grid-row:unset;grid-column:unset}.hex-dock-wrap .dock{flex:1 1 0;min-height:0;position:relative;box-sizing:border-box}.hex-dock-wrap .hex-hide-toggle{position:absolute;right:10px;bottom:10px;z-index:6}.tuner-slot{grid-column:2}.levels-slot{grid-column:1;grid-row:1;justify-self:start}.dock>.levels-slot{position:absolute;top:10px;left:10px;z-index:3;grid-row:auto;grid-column:auto}.hex-toggle-slot{grid-column:3;grid-row:1;justify-self:end;display:flex}.listen-row .hex-hide-toggle.in-row{position:static}.listen-row:has(>.hex-toggle-slot){grid-template-columns:minmax(0,1fr) auto minmax(min-content,1fr)}@media (max-width: 1024px){.main.hex-hidden .listen-row:has(.tuner,.listen-levels){row-gap:6px}.main.hex-hidden .listen-row>.levels-slot{grid-column:1 / -1;grid-row:1;justify-self:center}.main.hex-hidden .listen-row>.tuner-slot,.main.hex-hidden .listen-row>.hex-toggle-slot{grid-row:2}.layout-c:has(.main.hex-hidden .listen-row .tuner)>.sound-bar{bottom:calc(6px + var(--pill-h) + 8px)}.main.hex-hidden .listen-row>.levels-slot{margin-bottom:calc(var(--sound-bar-h, 0px) + 10px)}}.move-on{display:inline-flex;align-items:center;gap:var(--pill-gap);white-space:nowrap}.move-on-switch{gap:var(--chip-gap)}.pace-slot{display:inline-grid}.pace-slot>*{grid-area:1 / 1;min-width:0}.pace-hidden{visibility:hidden;pointer-events:none}.pace-transport{display:flex}.pace-transport>.transport-bar{flex:1}.move-on-tally{display:inline-flex;align-items:center;gap:var(--pill-gap)}.by-notes{display:flex;align-items:center;justify-content:space-between;gap:var(--pill-gap);white-space:nowrap}.move-on-count{display:inline-flex;justify-content:flex-end;align-items:center;min-width:2.2ch;text-align:right;font-variant-numeric:tabular-nums;text-transform:none}.move-on-notes{display:inline-flex;align-items:center;gap:var(--pill-gap)}.tuner{display:grid;grid-template-columns:auto minmax(180px,360px) auto;align-items:center;gap:18px;text-transform:none;--zone: rgba(255, 255, 255, .5)}.tuner[data-zone=in]{--zone: #5bd17a}.tuner[data-zone=near]{--zone: #f2b84b}.tuner[data-zone=off]{--zone: #ff7a66}.tuner-note{width:50px;height:24px;text-align:center;white-space:nowrap;font-size:22px;font-weight:700;line-height:24px;color:var(--zone);transition:color .12s ease}.tuner-note sub{font-size:11px;font-weight:600;line-height:0;vertical-align:-.2em;margin-left:1px;opacity:.8}.tuner-scale{position:relative;height:calc(var(--pill-h) - 4px)}.tuner-scale:before{content:"";position:absolute;left:0;right:0;top:50%;height:2px;background:#ffffff40}.tuner-band{position:absolute;left:35%;width:30%;top:4px;bottom:4px;border-radius:4px;background:#5bd17a38;transition:background .12s ease,box-shadow .12s ease}.tuner[data-zone=in] .tuner-band{background:#5bd17a8c;box-shadow:0 0 14px 2px #5bd17ad9,inset 0 0 8px #5bd17a80}.tuner-tick{position:absolute;top:7px;bottom:7px;width:1px;background:#ffffff73}.tuner-tick.zero{top:2px;bottom:2px;width:2px;margin-left:-1px;background:#fffc}.tuner-needle{position:absolute;top:0;bottom:0;width:4px;margin-left:-2px;border-radius:2px;background:var(--zone);box-shadow:0 0 8px var(--zone);transition:background .12s ease}.tuner-cents{width:40px;white-space:nowrap;font-size:13px;font-weight:600;font-variant-numeric:tabular-nums;color:var(--zone)}@media (prefers-reduced-motion: reduce){.tuner-needle{transition:none}}@media (max-width: 640px){.tuner{gap:10px;padding:0 10px;grid-template-columns:auto minmax(100px,1fr) auto}.tuner-note{font-size:20px;width:46px}}.file-group{display:inline-flex;max-width:100%;min-width:0}.seq-group,.etude-group{display:inline-flex;align-items:center;gap:6px;flex:0 1 auto;min-width:0}.seq-group>.pill-label,.etude-group>.pill-label{flex:none;white-space:nowrap}.seq-group>.rail-heading{display:flex;flex:0 1 auto;min-width:0}.seq-group .inline-value.rail-title,.seq-group .inline-field.rail-title{flex:0 1 auto;min-width:3em;max-width:220px;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;overflow-wrap:normal;text-transform:none}.etude-picker{display:inline-flex;min-width:0}.etude-select{min-width:0}.etude-select .dropdown-trigger{max-width:180px;min-width:3em}.etude-select .dropdown-value{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.dropdown-option.as-typed .dropdown-option-name{text-transform:none}.dropdown-option-hint{margin-left:8px;opacity:.55}.dropdown-option.divider{margin-top:5px;position:relative}.dropdown-option.divider:before{content:"";position:absolute;top:-3px;left:6px;right:6px;border-top:1px solid rgba(255,255,255,.14)}.rich .dropdown-option.divider{margin-top:13px}.rich .dropdown-option.divider:before{top:-7px;left:10px;right:10px;border-top-color:#ffffff47}.etude-picker .inline-field{width:160px;text-transform:none}.delete-slot{position:absolute;left:4px;bottom:4px;z-index:5;display:grid;place-items:center;font-size:var(--scale-px);width:1.8em;height:1.8em;padding:0;border:none;border-radius:4px;background:none;color:var(--muted);opacity:0;cursor:pointer}.delete-slot svg{width:1.2em;height:1.2em}.slot:hover>.delete-slot,.delete-slot:focus-visible{opacity:1}.delete-slot:hover{background:#00000012;color:#b3261e}.main.write .delete-slot{left:auto;right:2px;top:1px;bottom:auto;font-size:var(--chord-px);width:1.3em;height:1.3em;opacity:.35}.main.write .delete-slot svg{width:.9em;height:.9em}.main.write .slot:hover>.delete-slot,.main.write .slot.active>.delete-slot{opacity:1}.topbar .mode-panel,.topbar .ins-group{min-width:11.9em;justify-content:flex-start}.topbar .ins-group>.instrument-picker{flex:1}.topbar .mode-panel>.dropdown,.topbar .ins-group .instrument-select{margin-left:auto}.library.shortcuts{width:min(560px,100%)}.shortcuts-group{margin-top:14px;padding-top:12px;border-top:1px solid rgba(255,255,255,.12)}.shortcuts-group h2{display:flex;align-items:center;gap:8px;margin:0 0 8px;font-size:13px;font-weight:600}.shortcuts-now{padding:0 6px;border-radius:var(--pill-radius);background:var(--grid-glow);color:var(--dock-bg);font-size:10px;font-weight:600;line-height:16px}.shortcuts-group dl{margin:0}.shortcuts-row{display:grid;grid-template-columns:minmax(120px,34%) 1fr;align-items:baseline;gap:12px;padding:4px 0}.shortcuts-row dt{display:flex;flex-wrap:wrap;gap:4px}.shortcuts-row dd{margin:0;font-size:13px;color:var(--ink)}.shortcuts kbd{display:inline-block;min-width:1.6em;padding:1px 6px;border:1px solid rgba(255,255,255,.3);border-bottom-width:2px;border-radius:5px;background:#ffffff0f;font:inherit;font-size:12px;line-height:18px;text-align:center;white-space:nowrap}.shortcuts-note{margin:16px 0 0;font-size:12px;color:var(--muted)}@media (max-width: 640px){.shortcuts-row{grid-template-columns:1fr;gap:4px}}.library.help{width:min(600px,100%)}.help-lead{margin:0 0 8px;font-size:14px;line-height:1.5}.help-section{margin-top:14px;padding-top:12px;border-top:1px solid rgba(255,255,255,.12);font-size:13px;line-height:1.5}.help-section h2{margin:0 0 6px;font-size:13px;font-weight:600}.help-section p{margin:0 0 6px}.help-section ul{margin:0;padding-left:18px}.help-section li+li{margin-top:4px}.help-modes{margin:0}.help-section.help-box{margin-top:14px;padding:12px 14px;border:1px solid rgba(255,255,255,.18);border-radius:10px;background:#ffffff0d}.help-box+.help-section{border-top:none}.help-mode{padding:6px 0}.help-mode dt{display:flex;align-items:center;gap:8px;font-weight:600}.help-mode-name{display:inline-flex;align-items:center;min-height:calc(var(--pill-h) - 6px);padding:0 var(--pill-pad-x);border-radius:var(--pill-radius);border:var(--pill-border);background:var(--pill-bg);color:var(--pill-ink);font-size:var(--pill-font);font-weight:600;text-transform:lowercase}.help-mode-name{gap:5px}.mode-icon{flex:none;display:block}.help-mode.current .help-mode-name{border-color:var(--grid-glow)}.help-mode dd{margin:2px 0 0;color:var(--muted)}.help-mode dd p{margin:0}.help-mode dd p+p{margin-top:6px}.help-mode.current dd{color:var(--ink)}.help-foot{margin:18px 0 0}.hamburger-menu .dropdown-option-head{gap:8px}.menu-icon{flex:none;opacity:.8}.hamburger-detail{display:block;max-width:240px;margin:2px 0 0 22px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:11px;color:var(--muted);text-transform:none}.lock-icon{flex:none;margin-right:5px;vertical-align:-1px;opacity:.75}.rail-title.locked{display:inline-flex;align-items:center;text-transform:none;cursor:default}.locked-banner{display:inline-flex;align-items:center;gap:var(--pill-gap);white-space:nowrap}.locked-banner .lock-icon{margin-right:0}.library-list.standards{margin-bottom:16px}.library-list.standards .library-title{display:inline-flex;align-items:center}.loop-pill{display:inline-flex;align-items:center;gap:var(--pill-gap);white-space:nowrap}.loop-whole{gap:var(--chip-gap)}.transport-bars.off{opacity:.4}.share-toast{position:fixed;top:12px;left:50%;translate:-50% 0;z-index:60;margin:0;padding:8px 14px;border-radius:999px;background:#2b2825;color:#fff;font-size:13px;box-shadow:0 4px 16px #0000004d;max-width:calc(100vw - 32px)}
