@import "https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;450;500;550;600;650;700&display=swap";:root{color:#263b47;font-synthesis:none;--ink:#263b47;--muted:#637681;--line:#dce5e9;--neck:#f7f1e8;--page:#f7f8fa;--panel:#f0f2f5;--root:#d7263d;--core:#4b6574;--added:#236fa8;--rectangle:#b84b2c;--stack:#436ca7;--shift:#c33f43;--overlay:#8975b9;--focus:#2863d4;--mark:#a37016;--triad:#3d806c;--accent:#226863;--surface:#fff;--good:#1f9d63;--hot:#f0661d;--on-bg:color-mix(in srgb, var(--accent) 12%, var(--surface));--on-border:color-mix(in srgb, var(--accent) 55%, var(--surface));--on-accent:#fff;--degree-2:#e3b341;--degree-3:#a365b5;--degree-4:#67a7a1;--degree-5:#58a86c;--degree-6:#bf7a47;--degree-7:#8b86c8;background:#eaf0f3;font-family:DM Sans,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif}html[data-theme=dark]{--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark;color:#e5eef3;--ink:#e5e9ec;--muted:#9ca8b0;--line:#30373c;--neck:#221e1c;--page:#111416;--panel:#202528;--root:#ff5c6c;--core:#b3c3cb;--added:#78bee9;--rectangle:#f07b57;--stack:#79a8eb;--shift:#ff8585;--overlay:#b7a6e4;--focus:#88c7ff;--mark:#e0b568;--triad:#79bda4;--accent:#79c5b0;--on-accent:#10231e;--surface:#181d20;--good:#4fd497;--hot:#ff8a3d;background:#10191f}html[data-theme=dark] .board-card{border-color:#31454f;box-shadow:0 8px 32px #0000002b}html[data-theme=dark] .map-tag,html[data-theme=dark] .focus-panel{color:#bed2dc;background:#1d3039}html[data-theme=dark] select,html[data-theme=dark] .icon-button,html[data-theme=dark] .focus-range input[type=number],html[data-theme=dark] .focus-strings button,html[data-theme=dark] .pattern-button[aria-pressed=true],html[data-theme=dark] .tone-chip,html[data-theme=dark] .marks-panel{color:var(--ink);background:#1c2b34;border-color:#3a505c}html[data-theme=dark] .segmented,html[data-theme=dark] .pattern-selector{background:#22343e;border-color:#3a505c}html[data-theme=dark] .segmented button.active{color:#f0f7fa;background:#2a3e49;border-color:#48616e}html[data-theme=dark] .segmented button{color:#b7c9d2}html[data-theme=dark] .segmented button:hover:not(:disabled):not(.active),html[data-theme=dark] .text-button:hover,html[data-theme=dark] .pattern-button:hover:not(:disabled),html[data-theme=dark] .icon-button:hover:not(:disabled){color:var(--ink);background:#304651}html[data-theme=dark] .triad-controls .segmented button.active{color:#b5ead7;background:#24483f}html[data-theme=dark] .toggle,html[data-theme=dark] .text-button,html[data-theme=dark] .legend-items,html[data-theme=dark] .note-inspector,html[data-theme=dark] .keyboard-hint{color:#b7c9d2}html[data-theme=dark] .toggle input,html[data-theme=dark] .legend-note,html[data-theme=dark] .tone-chip.added,html[data-theme=dark] .tone-chip.root{background:#1c2b34}html[data-theme=dark] .toggle input:checked{background:var(--accent)}html[data-theme=dark] .toggle input:checked:after{border-color:#112c25}html[data-theme=dark] .row-toggles button{color:#b7c9d2;background:#20313b;border-color:#3a505c}html[data-theme=dark] .custom .tone-chip.selected{color:#fff;background:#315c6d}html[data-theme=dark] .custom .tone-chip{background:#1c2b34}html[data-theme=dark] kbd{background:#22343e;border-color:#3a505c}html[data-theme=dark] .legend-note.root{background:var(--root)}html[data-theme=dark] .legend-note.skeleton{background:var(--core)}html[data-theme=dark] .neck-base rect:first-child{fill:var(--neck)}html[data-theme=dark] .fret-wire{stroke:#4a4440}html[data-theme=dark] .nut{stroke:#cbbfa8}html[data-theme=dark] .guitar-string{stroke:#9a9690}html[data-theme=dark] .fret-number,html[data-theme=dark] .string-name{fill:#b5c8d2}html[data-theme=dark] .tone-chip.root{color:var(--root);border-color:#7a3640}html[data-theme=dark] .tone-chip.added{color:var(--added);border-color:#365b70}html[data-theme=dark] .marks-list button{color:#e2d3b5;background:#2a2923;border-color:#6f5c39}html[data-theme=dark] .guide-content dd,html[data-theme=dark] .guide-footnote,html[data-theme=dark] .page-footer,html[data-theme=dark] .tone-chip>span{color:var(--muted)}html[data-theme=dark] .board-notice{color:#ebd0a2;background:#302920;border-color:#67553a}html[data-theme=dark] .guide-dialog{background:var(--surface);border-color:var(--line)}*{box-sizing:border-box}body{background:var(--page);min-width:320px;margin:0}button,input,select{font:inherit;color:inherit}button,summary,select,input[type=checkbox]{-webkit-tap-highlight-color:transparent}button{cursor:pointer;background:0 0;border:0}button:disabled,select:disabled,input:disabled{cursor:not-allowed}a{color:inherit}button,select,summary,input{outline-offset:4px}:focus-visible{outline:2px solid var(--focus)}button:disabled{color:#788791}svg{flex-shrink:0}.header-actions{gap:8px;margin-left:auto;display:flex}.account-button{align-items:center;min-height:44px;padding:0 8px;display:flex}.text-button{color:#536b77;white-space:nowrap;border-radius:6px;justify-content:center;align-items:center;gap:8px;min-height:40px;padding:7px 11px;font-size:14px;display:inline-flex}.text-button:hover{color:var(--ink);background:#eaf0f3}.header-actions .text-button{color:var(--ink)}.header-actions .text-button:hover{background:var(--panel);color:var(--ink)}.header-actions .text-button{border:1px solid var(--line)}.workspace{max-width:1536px;margin:auto;padding:28px 36px 20px}.board-card{background:var(--surface);border:1px solid #d1dfe5;border-radius:16px;box-shadow:0 8px 32px #163c4908}.board-heading{justify-content:space-between;align-items:center;gap:20px;padding:26px 28px;display:flex}.board-title{align-items:center;gap:16px;display:flex}.tonic-badge{color:#f6fafb;background:#183c47;border-radius:10px;place-items:center;min-width:58px;height:60px;padding:0 10px;font-size:30px;font-weight:500;display:grid}h1{letter-spacing:-.8px;margin:0 0 7px;font-size:26px;font-weight:600;line-height:1.15}.board-title p{color:var(--muted);margin:0;font-size:13px;line-height:1.5}.board-title p span{color:#9aadb7;margin:0 6px}.icon-button{color:#3b5c6b;background:#fff;border:1px solid #d3dfe5;border-radius:7px;place-items:center;width:40px;height:40px;display:inline-grid}.icon-button:hover:not(:disabled){background:#ecf3f5;border-color:#9db6c0}.icon-button:disabled{opacity:.4}.map-tag{color:#466471;background:#edf4f6;border-radius:6px;padding:9px 13px;font-size:13px}.study-controls{border-block:1px solid var(--line);background:#f8fafb}.study-primary{justify-content:space-between;align-items:center;gap:22px;padding:16px 28px;display:flex}.study-primary>.segmented{flex-wrap:wrap}.musical-controls,.label-controls{align-items:center;gap:16px;display:flex}.field{align-items:center;gap:12px;min-width:0;font-size:14px;display:flex}.field>span,.field-label{color:var(--muted);font-size:14px}.key-field select{width:76px;font-weight:600}.scale-field select{width:220px}select{background:#fff;border:1px solid #cad8df;border-radius:6px;height:42px;padding:0 28px 0 12px;font-size:14px}select:hover{border-color:#8fa9b6}.segmented{background:#eaf0f3;border:1px solid #dce5e9;border-radius:8px;align-items:stretch;gap:3px;padding:3px;display:inline-flex}.segmented button{color:#58707c;white-space:nowrap;border:1px solid #0000;border-radius:5px;justify-content:center;align-items:center;gap:9px;min-height:36px;padding:7px 14px;font-size:14px;display:inline-flex}.segmented button.active{color:#203f4c;background:#fff;border-color:#cbdbe2;font-weight:600;box-shadow:0 2px 3px #24465408}.segmented button:hover:not(:disabled):not(.active){color:var(--ink);background:#fff}.segmented button:disabled{opacity:.38}.shape-icon{border:1.5px solid var(--rectangle);border-radius:1px;width:19px;height:12px;display:inline-block}.shape-icon.stack{border-color:var(--stack);width:13px;height:18px}.triad-controls{flex-wrap:wrap;align-items:center;gap:10px;display:flex}.triad-controls .segmented button.active{color:#295e4c;background:#e2eee8}.triad-controls .segmented button{padding-inline:10px}.triad-root-field{color:var(--muted);align-items:center;gap:8px;font-size:13px;display:flex}.triad-root-field select{width:112px;height:36px;padding-left:9px;font-size:13px}.toggle{color:#4e6673;cursor:pointer;white-space:nowrap;align-items:center;gap:9px;min-height:36px;font-size:14px;display:inline-flex}.toggle input{appearance:none;background:#fff;border:1.5px solid #96aeb9;border-radius:4px;place-content:center;width:17px;height:17px;margin:0;display:grid}.toggle input:checked{border-color:var(--accent);background:var(--accent)}.toggle input:checked:after{content:"";border-bottom:1.5px solid #fff;border-left:1.5px solid #fff;width:7px;height:4px;transform:translateY(-1px)rotate(-45deg)}.toggle:has(input:disabled){color:#788b95;cursor:default}.toggle input:disabled{opacity:.5}.toggle-hint{display:none}.active-badge{background:var(--accent);border-radius:50%;width:5px;height:5px}.focus-panel{background:#edf4f6;border-bottom:1px solid #d9e5eb;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:14px;padding:14px 28px;font-size:14px;display:flex}.focus-range,.focus-strings,.focus-strings>div{align-items:center;gap:9px;display:flex}.focus-range input[type=number]{background:#fff;border:1px solid #c4d4de;border-radius:5px;width:58px;height:38px;padding:5px 6px}.focus-strings button{background:#fff;border:1px solid #cbdbe2;border-radius:6px;width:35px;height:36px}.focus-strings button[aria-pressed=true]{background:var(--on-bg);border-color:var(--on-border);color:var(--accent);font-weight:600}.pattern-selector{background:#eaf0f3;border-radius:9px;gap:5px;padding:4px;display:flex}.pattern-button{min-height:39px;color:var(--muted);border:1px solid #0000;border-radius:6px;justify-content:center;align-items:center;gap:9px;padding:8px 13px;font-size:14px;display:flex}.pattern-button[aria-pressed=true]{color:var(--ink);background:#fff;border-color:#cbdbe2;box-shadow:0 1px 3px #2446540a}.pattern-button:after{content:"";background:0 0;border-radius:50%;width:5px;height:5px}.pattern-button[aria-pressed=true]:after{background:var(--rectangle)}.pattern-button.stack[aria-pressed=true]:after{background:var(--stack)}.pattern-button:hover:not(:disabled){background:#fff;border-color:#b4cbd5}.pattern-button:disabled{opacity:.45}.pattern-string-settings{gap:10px;display:grid}.row-toggles{gap:5px;display:flex}.row-toggles button{min-width:45px;height:36px;color:var(--muted);background:#f7f9fa;border:1px solid #d7e1e6;border-radius:6px;justify-content:center;align-items:center;gap:7px;font-size:14px;display:inline-flex}.row-toggles button small{opacity:.8;font-size:12px}.row-toggles button[aria-pressed=true]{color:var(--accent);border-color:var(--on-border);background:var(--on-bg);font-weight:600}.row-toggles button:hover{border-color:var(--accent)}.board-shell{padding:23px 16px 1px;position:relative}.board-scroll{scrollbar-width:thin;scrollbar-color:#9aacb8 #edf1f4;overscroll-behavior-x:contain;overflow-x:auto}.fretboard{width:100%;min-width:calc(var(--board-width,0) * 1px);-webkit-user-select:none;user-select:none;height:auto;display:block;overflow:visible}@media (width>=761px){.fretboard{min-width:calc(var(--board-width,0) * .72px)}}.board-shell:before,.board-shell:after{content:"";z-index:4;pointer-events:none;opacity:0;width:21px;position:absolute;top:54px;bottom:39px}.board-shell:before{display:none}.board-shell:after{background:linear-gradient(-90deg, var(--surface), transparent);right:16px}.board-shell.has-left:before,.board-shell.has-right:after{opacity:1}.scroll-cue{color:var(--muted);text-align:center;padding:8px 0;font-size:12px}.fret-number{fill:#5c7380;font:500 12px DM Sans,sans-serif}.open-fret{letter-spacing:.7px;font-size:12px}.fret-wire{stroke:#d8cebf;stroke-width:1.5px}.nut{stroke:#b3a283;stroke-width:5px}.guitar-string{stroke:#a39d94}.string-name{fill:#617c89;font-size:12px;font-weight:600}.inlay{fill:#8fa7b3}.has-patterns .guitar-string{opacity:.6}.has-patterns .fret-wire{opacity:.7}.warp-guide{pointer-events:none}.warp-band{fill:var(--shift);opacity:.025}.warp-guide line{stroke:var(--shift);stroke-width:2px;stroke-dasharray:.1 6;stroke-linecap:round;opacity:.85}.warp-label{fill:var(--shift);font-size:11px;font-weight:700}.shape-halo{fill:none;stroke:var(--neck);stroke-width:8px;stroke-linejoin:miter;stroke-linecap:butt;pointer-events:none}.shape-outline{fill:none;stroke:var(--rectangle);stroke-width:4px;stroke-linejoin:miter;stroke-linecap:butt;opacity:1;pointer-events:none}.shape-outline.stack{stroke:var(--stack)}.shape-outline.is-emphasized{filter:brightness(.75)}.is-whole-neck .shape-outline,.is-whole-neck .shared-rail{stroke-width:2.75px;opacity:.7;transition:opacity .12s}.is-whole-neck .shared-rail.stack{stroke-dasharray:14 14}.is-whole-neck .shape-halo{stroke-width:6px}.is-whole-neck:has(.shape-outline.is-emphasized) .shape-outline:not(.is-emphasized){opacity:.15}.is-whole-neck:has(.shape-outline.is-emphasized) .shared-rail{opacity:.15}.is-whole-neck .shape-outline.is-emphasized{opacity:1;stroke-width:4px;filter:none}.shared-rail{fill:none;stroke-width:4px;stroke-linecap:butt;pointer-events:none}.shared-rail.rectangle{stroke:var(--rectangle)}.shared-rail.stack{stroke:var(--stack);stroke-dasharray:9 9}.ghost-pattern-layer{pointer-events:none}.shape-ghost-outline{fill:none;stroke-width:1.5px;stroke-dasharray:4 6;opacity:.55;stroke-linecap:butt;stroke-linejoin:miter}.shape-ghost-outline.rectangle,.shape-ghost-outline.stack{stroke:var(--overlay)}html[data-theme=dark] .shape-ghost-outline{opacity:.65}.root-skeleton{pointer-events:none}.root-skeleton line{stroke:var(--root);stroke-width:2px;opacity:.75;stroke-linecap:round}.note-node{cursor:pointer;opacity:1;--marker:#a6b8c1;--marker-fill:#fff;--label:var(--core);outline:none}.note-node.root{--marker:var(--root);--marker-fill:var(--root);--label:#fff}.note-node.added{--marker:var(--added);--marker-fill:#f9fcff;--label:var(--added)}.note-node.context{--marker:#657e8c;--marker-fill:#657e8c;--label:#fff}.note-node.skeleton{--marker:var(--core);--marker-fill:var(--core);--label:var(--surface)}.note-node.context.is-triad{--marker:var(--triad);--marker-fill:#f0f7f3;--label:#326853}html[data-theme=dark] .note-node{--marker:#7f9daa;--marker-fill:#21333d;--label:#dbe9ef}html[data-theme=dark] .note-node.root{--marker:var(--root);--marker-fill:var(--root);--label:#10232e}html[data-theme=dark] .note-node.added{--marker:var(--added);--marker-fill:var(--neck);--label:var(--added)}html[data-theme=dark] .note-node.context{--marker:#7c99a7;--marker-fill:#253943}html[data-theme=dark] .note-node.skeleton{--marker:#b3c3cb;--marker-fill:#b3c3cb;--label:#16242c}html[data-theme=dark] .note-node.context.is-triad{--marker:var(--triad);--marker-fill:#214438;--label:#b5ead7}.has-patterns .note-node.skeleton:not(.is-triad):not(.degree-colored):not(.third):not(.fifth):not(.lucky-charm){--marker:var(--muted);--marker-fill:var(--core);--label:var(--surface)}.has-patterns .note-node.is-run:not(.is-triad):not(.degree-colored):not(.third):not(.fifth):not(.lucky-charm){--marker:var(--core);--marker-fill:var(--neck);--label:var(--core)}.note-node.degree-colored,html[data-theme=dark] .note-node.degree-colored,.note-node.third,html[data-theme=dark] .note-node.third,.note-node.fifth,html[data-theme=dark] .note-node.fifth,.note-node.lucky-charm[data-charm-degree],html[data-theme=dark] .note-node.lucky-charm[data-charm-degree]{--marker:#34424e;--marker-fill:var(--degree-color);--label:#14202a}html[data-theme=dark] .note-node.lucky-charm[data-charm-degree="1"]{--marker-fill:var(--root)}.note-hit{fill:#0000}.note-face{fill:var(--marker-fill);stroke:var(--marker);stroke-width:1px}.added .note-face{stroke-dasharray:2 2}.note-node.is-ghost .note-face{stroke-dasharray:3 2}.note-node.lucky-charm .note-face{stroke-width:1.5px;stroke-dasharray:none}.has-patterns[data-labels=none] .note-node.is-member .note-face{stroke-width:1.5px}.note-symbol{pointer-events:none}.note-node.is-background .note-symbol{opacity:.28}.has-patterns .note-node.is-background .note-symbol{opacity:.16}.note-node.is-background:hover .note-symbol{opacity:.75}.note-node.is-ghost .note-symbol{opacity:.45}.note-node.is-run .note-face{stroke-width:1.75px}.triad-halo{fill:none;stroke:var(--triad);stroke-width:2.5px;stroke-linecap:round;opacity:.9;pointer-events:none}.root-center{fill:#fff;stroke:#d7e9ff;stroke-width:1px}.note-label{fill:var(--label);font-size:var(--note-label-size);letter-spacing:-.3px;font-weight:600}.note-interval{fill:var(--label);opacity:.75;font-size:12px;font-weight:500}.both-labels .note-label{font-size:12px}.focus-ring{fill:none;stroke:var(--focus);stroke-width:2px;opacity:0;pointer-events:none}.mark-ring{fill:none;stroke:var(--mark);stroke-width:2px;opacity:0;pointer-events:none}.is-marked .mark-ring,.note-node:focus-visible .focus-ring{opacity:1}.note-node:hover .focus-ring{opacity:.45}.is-hidden .note-symbol{visibility:hidden}.is-hidden:hover .note-symbol,.is-hidden:focus-visible .note-symbol{visibility:visible}.board-notice{color:#78613a;background:#fcf8f1;border:1px solid #e4d3ba;border-radius:6px;margin:16px 28px 0;padding:12px 15px;font-size:14px;line-height:1.5}.board-legend{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:14px;padding:8px 4px 4px;display:flex}.legend-items{color:#526c79;flex-wrap:wrap;gap:20px;font-size:13px;display:flex}.legend-items>span{align-items:center;gap:8px;display:flex}.legend-note{background:#fff;border:1px solid #a6b8c1;border-radius:3px;width:12px;height:12px;display:inline-block}.legend-note.root{background:var(--root);border-color:var(--root)}.legend-note.added{border:1px dashed var(--added);background:#fff}.legend-note.skeleton{background:var(--core);border-color:var(--core)}.legend-note.third{background:#287558}.legend-note.fifth{background:#7859a6}.legend-triad{border:2px solid var(--triad);border-radius:50%;width:12px;height:12px}.triad-legend{color:var(--triad)}.legend-note.marked{border:1.5px solid var(--mark);background:#fff}.legend-outline{border:1.5px solid var(--rectangle);border-radius:1px;width:17px;height:10px;display:inline-block}.legend-outline.stack{border-color:var(--stack);width:10px;height:15px}.legend-outline.ghost{border-style:dashed;border-color:var(--overlay)}.legend-note.run{background:var(--neck);border:1.75px solid var(--core);border-radius:50%}.legend-note.background{background:var(--core);border-color:var(--core);opacity:.25;border-radius:50%}.legend-line{border-top:2px solid var(--overlay);width:18px;height:0;display:inline-block}.legend-line.skeleton{border-color:var(--root)}.legend-line.warp{border-top:2px dotted var(--shift)}.tone-strip{border-block:1px solid var(--line);background:#f8fafb;align-items:center;gap:25px;padding:20px 28px;display:flex}.tone-strip-heading{min-width:86px}.tone-strip h2{margin:0 0 5px;font-size:14px;font-weight:600}.tone-strip-heading>span{color:var(--muted);font-size:12px}.tone-sequence{flex-wrap:wrap;gap:9px;display:flex}.tone-chip{background:#fff;border:1px solid #d6e2e8;border-radius:6px;justify-content:center;align-items:center;gap:12px;min-width:68px;min-height:42px;padding:9px 13px;display:flex}.tone-chip strong{font-size:16px;font-weight:600}.tone-chip>span{color:#667d8c;border-left:1px solid #d5dfe5;padding-left:10px;font-size:13px}.tone-chip.root{color:var(--root);background:#fff1f2;border-color:#f2c9ce}.tone-chip.root>span{color:var(--root);border-left-color:#efc2c8}.tone-chip.added{color:var(--added);background:#f0f7fc;border-color:#c9deef}.tone-chip.added>span{color:var(--added);border-left-color:#c9deef}.tone-actions{gap:15px;margin-left:auto;display:flex}.tone-actions button{color:var(--accent);white-space:nowrap;padding:10px 0;font-size:14px}.tone-actions button:hover{text-decoration:underline}.tone-sequence.custom{gap:6px}.custom .tone-chip{background:#fff;min-width:40px;padding:8px}.custom .tone-chip.selected{color:#fff;background:#314e5d;border-color:#314e5d}.inspection-row{justify-content:space-between;align-items:center;gap:16px;min-height:54px;padding:12px 28px;display:flex}.note-inspector{color:var(--muted);flex-wrap:wrap;align-items:center;gap:15px;min-height:27px;font-size:13px;display:flex}.note-inspector strong{color:var(--ink);font-size:16px}.note-inspector small,.marks-list small{margin-left:2px;font-size:12px}.keyboard-hint{color:#6f8490;align-items:center;gap:4px;font-size:12px;display:inline-flex}.keyboard-hint>span{margin:0 5px}kbd{text-align:center;background:#f8fafb;border:1px solid #d5e0e6;border-radius:3px;min-width:18px;padding:1px 4px;font-family:inherit;font-size:12px}.marks-panel{border:1px solid var(--line);background:#fff;border-radius:12px;margin:18px 0;padding:12px 24px 20px}.marks-title{justify-content:space-between;align-items:center;display:flex}.marks-title h2{margin:0;font-size:14px;font-weight:500}.marks-list{flex-wrap:wrap;gap:8px;margin-top:6px;display:flex}.marks-list button{background:#fcfaf6;border:1px solid #ddceb5;border-radius:6px;align-items:center;gap:12px;padding:10px 12px;display:flex}.marks-list button>span{color:#817156;font-size:13px}.marks-list button:hover{background:#f5eddf}.marks-list svg{color:#9b8663;width:14px;height:14px}.page-footer{color:#617984;justify-content:space-between;align-items:center;gap:20px;padding:20px 2px 0;font-size:12px;display:flex}.page-footer a{text-decoration:none}.page-footer a:hover{text-decoration:underline}.page-footer>span>span{padding:0 7px}.toast{z-index:50;color:#fff;background:#263f49;border-radius:8px;padding:13px 20px;font-size:14px;position:fixed;bottom:24px;left:50%;transform:translate(-50%);box-shadow:0 4px 18px #172c4030}.manual-link{align-items:center;gap:14px;padding:12px 0;font-size:14px;display:flex}.manual-link input{border:1px solid var(--line);border-radius:5px;flex:1;min-width:0;padding:10px}.guide-dialog{width:calc(100% - 36px);max-width:610px;max-height:calc(100dvh - 40px);color:var(--ink);border:1px solid #c8d2da;border-radius:16px;padding:0;box-shadow:0 24px 70px #1b2d4933}.guide-dialog::backdrop{-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px);background:#142d4277}.guide-content{padding:28px 32px}.dialog-heading{justify-content:space-between;align-items:center;gap:16px;display:flex}.dialog-heading h2{letter-spacing:-.5px;margin:0;font-size:24px}.guide-content dt{margin-top:22px;font-size:16px;font-weight:600}.guide-content dd{color:#60727f;margin:6px 0 0;font-size:16px;line-height:1.65}.guide-footnote{color:#6c7c87;border-top:1px solid var(--line);padding-top:18px;font-size:13px;line-height:1.6}.sr-only{clip:rect(0, 0, 0, 0);white-space:nowrap;border:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}@media (width<=1200px){.workspace{padding:24px}.study-primary{padding-inline:22px}.musical-controls,.label-controls{gap:10px}.scale-field select{width:200px}.tone-strip{gap:18px}}@media (width<=980px){.board-heading{flex-wrap:wrap}.study-primary{flex-wrap:wrap;gap:16px}.musical-controls,.label-controls{flex:1}.tone-strip{flex-wrap:wrap}.tone-actions{flex:1;justify-content:flex-end}}@media (width<=760px){.header-actions{gap:4px}.header-actions .text-button{padding:7px 9px}.workspace{padding:16px 12px}.board-card{border-radius:12px}.map-tag{display:none}.board-heading{flex-wrap:wrap;gap:18px;padding:20px 18px}h1{font-size:23px}.board-title{gap:13px}.board-title p{font-size:12px}.board-title p span{margin:0 3px}.tonic-badge{min-width:48px;height:53px;font-size:27px}.study-primary{padding:16px}.musical-controls{justify-content:space-between;gap:12px;width:100%}.key-field select{width:63px;padding-left:9px}.scale-field{flex:1}.scale-field select{width:100%;min-width:0}.field{gap:8px}.label-controls{flex-basis:100%}.label-controls>.field-label{min-width:38px}.label-controls .segmented{flex:1}.label-controls .segmented button{flex:1;padding-inline:6px}.triad-controls{flex:1 0 100%;gap:8px}.triad-controls>.field-label{min-width:38px}.triad-controls .segmented button{padding-inline:9px}.triad-root-field{flex-basis:100%;margin-left:46px}.triad-root-field select{width:112px}.pattern-selector{flex:1}.pattern-button{flex:1;gap:6px;padding-inline:8px}.row-toggles{flex:1;gap:4px}.row-toggles button{flex:1;gap:5px;min-width:30px;height:38px}.row-toggles button small{display:none}.board-shell{padding:20px 8px 1px}.board-shell:before{left:8px}.board-shell:after{right:8px}.legend-items{gap:14px}.tone-strip{gap:14px;padding:18px}.tone-strip-heading{align-items:baseline;gap:10px;width:100%;display:flex}.tone-strip h2{margin:0}.tone-sequence{gap:7px}.tone-chip{gap:8px;min-width:57px;padding:9px}.tone-chip>span{padding-left:8px}.tone-actions{flex-basis:100%;justify-content:flex-start}.tone-actions button{padding:4px 0}.inspection-row{padding:12px 18px}.keyboard-hint{display:none}.page-footer{flex-wrap:wrap;gap:7px;padding:16px 5px 0;line-height:1.7}.focus-panel{padding:14px 16px}.focus-strings{flex-wrap:wrap}.focus-strings>div{gap:6px}.board-notice{margin-inline:16px}.guide-content{padding:22px}}@media (width<=390px){.workspace{padding:12px 8px}.study-primary{padding-inline:12px}.minimal-studio .label-controls .segmented button{padding-inline:8px}.triad-controls .segmented button{padding-inline:7px}.musical-controls{gap:9px}.musical-controls .field{flex-direction:column;align-items:stretch;gap:6px}.musical-controls .key-field{flex:0 0 76px}.key-field select{width:100%}.pattern-button .shape-icon{display:none}.shape-icon{width:15px}.shape-icon.stack{width:10px}.board-title p{max-width:210px}.row-toggles button{min-width:25px}}@media (pointer:coarse){.segmented button,.pattern-button,.text-button,.row-toggles button,.focus-strings button,.icon-button{min-height:44px}.icon-button,.focus-strings button,.form-picker button{min-width:44px;min-height:44px}.toggle,.tone-chip,.tone-actions button,.marks-list button{min-height:44px}select,input[type=number]{font-size:16px}}@media (prefers-reduced-motion:no-preference){button,summary,select{transition:background-color .15s,border-color .15s,color .15s}}.form-bar{border-top:1px solid var(--line);background:var(--surface);justify-content:space-between;align-items:center;gap:16px 24px;padding:12px 28px;display:flex}.form-navigation{flex-wrap:wrap;align-items:center;gap:10px;display:flex}.form-navigation>.icon-button{font-size:26px}.form-status{text-align:center;flex-direction:column;gap:3px;min-width:104px;display:flex}.form-status strong{font-size:15px;font-weight:600}.form-status span{color:var(--muted);font-size:12px}.form-navigation .segmented{margin-left:10px}.map-layers{flex-wrap:wrap;align-items:center;gap:24px;display:flex}@media (width<=980px){.form-bar{flex-wrap:wrap}}@media (width<=760px){.form-bar{padding:12px 16px}.form-navigation{width:100%}.form-navigation>.segmented{margin-left:0}.minimal-studio .study-primary>.segmented,.note-view-bar .segmented{grid-template-columns:repeat(3,minmax(0,1fr));display:grid}.minimal-studio .study-primary>.segmented button,.note-view-bar .segmented button{white-space:normal;text-align:center;padding-inline:4px;line-height:1.2}.note-view-bar .color-preview,.note-view-bar .view-charms{display:none}.form-navigation .form-picker{border-left:0;width:100%;padding-left:0}.form-navigation .form-picker button{flex:1}.form-hint{display:none}.map-layers{gap:18px;width:100%}}@media (width<=480px){.note-view-bar .segmented{grid-template-columns:repeat(2,minmax(0,1fr))}}.tone-chip.scale-tone-chip{cursor:pointer;border:1px solid #c9d8df;transition:transform .12s,box-shadow .12s,opacity .12s}.tone-chip.scale-tone-chip:hover{border-color:var(--focus);transform:translateY(-2px);box-shadow:0 4px 12px #00000014}.tone-chip.scale-tone-chip.isolated{outline:2px solid var(--focus);outline-offset:2px;border-color:var(--focus);box-shadow:0 0 0 3px #2863d42e}.tone-chip.scale-tone-chip.dimmed{opacity:.4}html[data-theme=dark] .tone-chip.scale-tone-chip{border-color:#3a505c}html[data-theme=dark] .tone-chip.scale-tone-chip.isolated{box-shadow:0 0 0 3px #88c7ff40}.note-node.is-degree-dimmed{opacity:.2;transition:opacity .15s}.note-node.is-degree-dimmed:hover,.note-node.is-degree-dimmed:focus{opacity:.85}.note-node.is-degree-isolated .mark-ring{stroke:var(--focus);stroke-width:2.5px;stroke-dasharray:none;opacity:.9}.inline-note-tooltip{pointer-events:none;filter:drop-shadow(0 1px 3px #0000001f)}.tooltip-box{fill:var(--surface);stroke:var(--line);stroke-width:1px}.tooltip-line-main{fill:var(--ink);font-size:12px;font-weight:600}.tooltip-pitch{fill:var(--ink);font-size:12px;font-weight:700}.tooltip-octave{fill:var(--muted);font-size:10px;font-weight:500}.tooltip-sep{fill:var(--muted)}.tooltip-degree{fill:var(--root);font-weight:600}.tooltip-member{fill:var(--accent);font-weight:600}html[data-theme=dark] .inline-note-tooltip{filter:drop-shadow(0 1px 3px #0006)}html[data-theme=dark] .tooltip-box{fill:#1c2b34;stroke:#3a505c}.minimal-studio{max-width:1600px;padding:32px 32px 20px}.minimal-studio .board-card{box-shadow:none;background:0 0;border:0;border-radius:0;flex-direction:column;display:flex}.minimal-studio .board-heading{padding:0 0 24px}.minimal-studio .board-title{align-items:baseline;gap:10px}.minimal-studio .tonic-badge{min-width:0;height:auto;color:var(--root);background:0 0;border-radius:0;padding:0;font-size:22px;font-weight:600;display:inline}.minimal-studio h1{letter-spacing:-.5px;margin-bottom:6px;font-size:22px}.minimal-studio .board-title p{font-size:12px}.minimal-studio .map-tag{display:none}.minimal-studio .study-controls{background:0 0;border:0}.minimal-studio .study-primary{flex-wrap:wrap;gap:12px 24px;padding:0 0 16px}.minimal-studio .musical-controls{gap:16px}.minimal-studio .segmented{background:var(--panel);border-color:var(--line);box-shadow:none}.minimal-studio .segmented button{padding-inline:12px;font-size:13px}.minimal-studio .segmented button.active{background:var(--on-bg);border-color:var(--on-border);color:var(--accent);box-shadow:none}.study-primary>.segmented button:nth-child(5){margin-left:7px;position:relative}.study-primary>.segmented button:nth-child(5):before{content:"";background:var(--line);width:1px;position:absolute;top:8px;bottom:8px;left:-7px}.minimal-studio select,.minimal-studio .icon-button{background:var(--surface);border-color:var(--line);color:var(--ink)}.minimal-studio .form-bar{border-block:1px solid var(--line);background:0 0;flex-wrap:wrap;gap:12px 24px;padding:12px 0}.minimal-studio .form-bar:has(.form-navigation){margin-top:4px}.minimal-studio .form-bar:not(:has(.form-navigation)){display:none}.minimal-studio .form-status{min-width:90px}.minimal-studio .form-status strong{font-size:13px}.minimal-studio .form-status span{font-size:11px}.minimal-studio .map-layers{gap:18px}.minimal-studio .toggle{color:var(--muted);font-size:13px}.minimal-studio .board-shell{background:var(--surface);border:1px solid var(--line);border-radius:12px;margin-top:24px;padding-block:24px 8px}.minimal-studio .board-legend{gap:10px}.minimal-studio .legend-items{color:var(--muted);gap:16px;font-size:12px}.minimal-studio .tone-strip{background:0 0;border:0;flex-wrap:wrap;padding:0 4px 20px}.minimal-studio .tone-strip-heading{display:none}.minimal-studio .tone-chip{background:var(--surface);border-color:var(--line)}.minimal-studio .tone-chip.root{background:var(--surface)}.minimal-studio .tone-chip>span{color:var(--muted)}.minimal-studio .inspection-row{border-top:1px solid var(--line);padding:14px 4px}.minimal-studio .note-inspector,.minimal-studio .keyboard-hint{color:var(--muted);font-size:11px}.minimal-studio .page-footer{color:var(--muted);padding-top:16px}.control-module{border-top:1px solid var(--line)}.control-module>summary{cursor:pointer;align-items:center;gap:16px;padding:17px 4px;font-size:13px;font-weight:600;list-style:none;display:flex}.control-module>summary::-webkit-details-marker{display:none}.control-module>summary:after{content:"+";color:var(--muted);margin-left:auto;font-size:18px;font-weight:400}.control-module[open]>summary:after{content:"−"}.control-module>summary>span{color:var(--muted);font-size:12px;font-weight:400}.study-availability{color:var(--muted);margin:-4px 0 12px;font-size:12px;line-height:1.5}.form-hint{color:var(--muted);margin-left:8px;font-size:12px}.modified-badge{background:color-mix(in srgb, var(--accent) 14%, transparent);color:var(--accent);border-radius:999px;padding:2px 8px;font-size:12px;font-style:normal;font-weight:600}.module-footer{justify-content:flex-end;width:100%;display:flex}.restore-button{min-height:36px;color:var(--accent);border-radius:6px;align-items:center;gap:6px;padding:6px 10px;font-size:13px;font-weight:600;display:inline-flex}.restore-button:hover{background:color-mix(in srgb, var(--accent) 10%, transparent)}.note-view-bar .restore-button{align-self:center;margin-left:auto}.note-view-bar{flex-wrap:wrap;gap:16px 24px;padding:16px 0 0;display:flex}.note-view-bar .label-controls{flex-wrap:wrap;align-items:center;gap:10px;display:flex}.note-view-bar .segmented{flex-wrap:wrap}.view-dot{background:var(--root);border-radius:50%;width:10px;height:10px}.view-charms{color:#20a984;letter-spacing:1px;font-size:11px}.color-preview{letter-spacing:1px;color:#0000;-webkit-background-clip:text;background-clip:text;font-size:10px}.root-preview{background-image:linear-gradient(90deg, var(--root) 33%, #a6b7c1 33%)}.degrees-preview{background-image:linear-gradient(90deg, var(--degree-2) 33%, var(--degree-3) 33% 66%, var(--degree-5) 66%)}.chord-preview{background-image:linear-gradient(90deg, var(--root) 33%, var(--degree-3) 33% 66%, var(--degree-5) 66%)}.control-body{flex-wrap:wrap;align-items:center;gap:20px 28px;padding:0 4px 24px;display:flex}.control-body .map-layers{width:100%}.pattern-options{flex-wrap:wrap;align-items:start;gap:20px 28px;width:100%;display:flex}.pattern-string-settings p{color:var(--muted);max-width:420px;margin:8px 0 0;font-size:12px;line-height:1.5}.pattern-string-settings .field-label{margin-bottom:8px;display:block}.instrument-settings .field{min-width:150px}.control-body .focus-panel{width:100%;margin:0}.degree-legend{padding:16px 4px 0}.degree-legend-heading{color:var(--muted);margin:0 0 12px;font-size:12px}.degree-marker{flex-shrink:0;width:25px;height:25px;overflow:visible}.minimal-studio .degree-legend .tone-strip{padding:0}.fit-neck{border:1px solid var(--line);min-height:44px;color:var(--ink);background:var(--surface);border-radius:7px;align-items:center;width:fit-content;margin:12px 0 0;padding:8px 14px;display:inline-flex}@media (width>=761px){.fit-neck:not(.long-neck){display:none}}.fit-neck[aria-pressed=true]{border-color:var(--on-border);background:var(--on-bg);color:var(--accent);font-weight:600}.form-picker{border-left:1px solid var(--line);gap:4px;padding-left:12px;display:flex}.form-picker button{min-width:44px;min-height:44px;color:var(--muted);border:1px solid #0000;border-radius:6px;font-size:13px}.form-picker button:hover{background:var(--panel)}.form-picker button[aria-pressed=true]{background:var(--on-bg);border-color:var(--on-border);color:var(--accent);font-weight:700}@media (width<=760px){.minimal-studio{padding:20px 12px 12px}.minimal-studio .board-heading{padding-bottom:20px}.minimal-studio .study-primary{padding:0 0 12px}.minimal-studio .musical-controls,.minimal-studio .study-primary>.segmented{width:100%}.minimal-studio .study-primary>.segmented button{flex:1 0 auto}.minimal-studio .map-layers{gap:8px 16px}.minimal-studio .board-shell{margin-top:16px}.control-module>summary{flex-wrap:wrap;gap:10px}.note-view-bar{margin-top:10px}.note-view-bar .label-controls{align-items:flex-start;width:100%}.note-view-bar .segmented{width:100%}.note-view-bar .segmented button{flex:1 0 auto;min-height:40px}.control-body .map-layers{gap:16px}.degree-legend .tone-sequence{flex-wrap:wrap}.toggle{white-space:normal;flex-wrap:wrap}.toggle-hint{width:100%;color:var(--muted);margin-left:26px;font-size:12px;line-height:1.4;display:block}.header-actions{flex-wrap:wrap;justify-content:flex-start;width:100%;margin-left:0}.header-actions .text-button{min-height:44px}.board-title p{display:none}.minimal-studio .form-status span,.minimal-studio .note-inspector,.control-module>summary>span{font-size:12px}}.header-actions .practice-button svg{color:var(--root)}.header-actions .practice-button.is-active{border-color:var(--root);color:var(--root);font-weight:600}.play-button{border:1px solid var(--accent);background:var(--accent);min-height:40px;color:var(--on-accent);border-radius:6px;align-items:center;gap:6px;margin-left:4px;padding:6px 16px 6px 12px;font-size:13px;font-weight:600;display:inline-flex}.play-button svg{fill:currentColor;stroke:none;width:16px;height:16px}.play-button:hover{background:color-mix(in srgb, var(--accent) 88%, black)}.play-button.is-playing{background:var(--on-bg);color:var(--accent);border-color:var(--on-border)}.drill-bar{border:1px solid var(--line);background:var(--surface);border-radius:12px;grid-template-columns:1fr auto auto auto;align-items:center;gap:12px 28px;margin-top:16px;padding:18px 20px 14px;transition:border-color .3s,box-shadow .3s;display:grid}.drill-bar.is-complete{border-color:var(--good);box-shadow:0 0 0 3px color-mix(in srgb, var(--good) 18%, transparent)}.drill-prompt{flex-wrap:wrap;align-items:baseline;gap:4px 10px;display:flex}.drill-eyebrow,.drill-where{color:var(--muted);font-size:15px}.drill-prompt strong{letter-spacing:-.5px;color:var(--ink);font-size:30px;line-height:1}.drill-prompt em{background:var(--panel);color:var(--muted);border-radius:999px;padding:3px 8px;font-size:12px;font-style:normal;font-weight:600}.drill-progress{flex-wrap:wrap;gap:6px;max-width:160px;display:flex}.drill-progress i{border:1.5px solid var(--line);background:var(--surface);border-radius:50%;width:12px;height:12px;transition:background .2s,border-color .2s}.drill-progress i.done{border-color:var(--good);background:var(--good);animation:.35s ease-out pip-pop}.drill-stats{color:var(--muted);white-space:nowrap;align-items:center;gap:14px;font-size:13px;display:flex}.drill-streak{color:var(--muted);align-items:center;gap:4px;font-size:20px;font-weight:700;display:inline-flex}.drill-streak svg{width:22px;height:22px}.drill-streak.is-hot{color:var(--hot)}.drill-streak.is-hot svg{fill:color-mix(in srgb, var(--hot) 35%, transparent)}.drill-streak b{min-width:1ch;animation:.3s ease-out streak-bump;display:inline-block}.drill-actions{gap:4px;display:flex}.drill-feedback{min-height:18px;color:var(--muted);grid-column:1/-1;margin:0;font-size:13px}.drill-bar.is-complete .drill-feedback{color:var(--good);font-weight:600}.drill-empty{color:var(--muted);margin:0;font-size:14px}.drill-zone rect{fill:color-mix(in srgb, var(--focus) 7%, transparent);stroke:color-mix(in srgb, var(--focus) 30%, transparent);stroke-width:1px;stroke-dasharray:4 4}.is-drilling .note-node.is-hidden:hover .note-symbol,.is-drilling .note-node.is-hidden:focus-visible .note-symbol{visibility:hidden}.note-node .note-symbol{transform-box:fill-box;transform-origin:50%}.note-burst{fill:none;stroke:var(--good);stroke-width:2px;opacity:0;transform-box:fill-box;transform-origin:50%}.is-drill-found .note-symbol{animation:.38s cubic-bezier(.3,1.6,.5,1) note-pop}.is-drill-found .note-burst{animation:.55s ease-out note-burst}.drill-complete .is-drill-found .note-symbol{animation:.6s ease-in-out note-cheer}.note-node.is-drill-miss{--marker:var(--muted);--marker-fill:var(--surface)}.is-drill-miss .note-face{stroke-width:1.5px;stroke-dasharray:none}.miss-cross{fill:none;stroke:var(--muted);stroke-width:2px;stroke-linecap:round}.is-drill-miss .note-symbol{animation:.4s ease-in-out note-shake}.note-node .note-symbol{transition:transform .12s ease-out}.note-node:not(.is-hidden):hover .note-symbol{transform:scale(1.12)}.is-playing .note-symbol,.note-node.is-playing:hover .note-symbol{transition-duration:80ms;transform:scale(1.3)}.form-enter .shape-outline,.form-enter .shape-halo,.form-enter .shared-rail{animation:.45s ease-out both outline-in}.form-enter .note-node[data-active=true]:not(.is-hidden) .note-symbol{animation:.38s cubic-bezier(.3,1.5,.5,1) both note-in;animation-delay:calc(var(--wave) * 22ms)}.is-playing .note-burst{stroke:var(--accent);animation:.45s ease-out note-burst}@keyframes outline-in{0%{opacity:0}}@keyframes note-in{0%{opacity:0;transform:scale(.3)}}@keyframes note-pop{0%{transform:scale(.4)}to{transform:scale(1)}}@keyframes note-burst{0%{opacity:.9;transform:scale(1)}to{opacity:0;transform:scale(2.2)}}@keyframes note-cheer{0%,to{transform:scale(1)}40%{transform:scale(1.35)}}@keyframes note-shake{0%,to{transform:translate(0)}25%{transform:translate(-4px)}50%{transform:translate(4px)}75%{transform:translate(-2px)}}@keyframes pip-pop{0%{transform:scale(.3)}70%{transform:scale(1.3)}to{transform:scale(1)}}@keyframes streak-bump{0%{opacity:.4;transform:translateY(4px)scale(1.4)}to{opacity:1;transform:none}}.form-picker button{position:relative}.form-picker button[data-progress]:after{content:"";border:1px solid var(--good);border-radius:50%;width:5px;height:5px;margin-left:-2.5px;position:absolute;bottom:6px;left:50%}.form-picker button[data-progress=practiced]:after{background:var(--good)}.progress-panel{width:100%}.progress-intro{color:var(--muted);margin:0 0 14px;font-size:12px;line-height:1.5}.key-grid{grid-template-columns:repeat(auto-fill,minmax(76px,1fr));gap:8px;display:grid}.key-cell{border:1px solid var(--line);background:var(--surface);color:var(--ink);border-radius:10px;justify-items:center;gap:2px;padding:10px 6px 8px;display:grid}.key-cell:hover{border-color:var(--accent)}.key-cell[aria-pressed=true]{border-color:var(--accent);box-shadow:inset 0 -2px var(--accent)}.key-cell strong{font-size:14px}.key-cell span{color:var(--muted);font-size:11px}.key-cell.is-complete strong{color:var(--good)}.form-ring{width:36px;height:36px}.ring-segment{fill:none;stroke-width:4px;stroke-linecap:butt;transition:stroke .3s}.ring-segment.level-0{stroke:var(--line)}.ring-segment.level-1{stroke:color-mix(in srgb, var(--good) 35%, var(--line))}.ring-segment.level-2{stroke:var(--good)}.progress-footer{color:var(--muted);justify-content:space-between;align-items:center;gap:12px;margin-top:12px;font-size:12px;display:flex}@media (prefers-reduced-motion:reduce){.note-symbol,.note-burst,.drill-progress i,.drill-streak b,.shape-outline,.shape-halo,.shared-rail,.ring-segment{transition:none!important;animation:none!important}}@media (width<=760px){.drill-bar{grid-template-columns:1fr auto;gap:10px 16px;padding:14px}.drill-prompt strong{font-size:24px}.drill-progress{order:3;max-width:none}.drill-stats{order:4;justify-self:end}.drill-actions{grid-area:1/2}}.minimal-studio .explore{border-bottom:1px solid var(--line);gap:16px;padding:16px 4px 20px;display:grid}.minimal-studio .explore .degree-legend{grid-template-columns:112px 1fr;align-items:center;gap:12px 16px;padding:0;display:grid}.minimal-studio .explore .degree-legend-heading,.explore-label{color:var(--ink);margin:0;font-size:13px;font-weight:600}.degree-legend-heading>span{color:var(--muted);margin-top:2px;font-size:11px;font-weight:400;display:block}.minimal-studio .explore .tone-strip{gap:12px 16px;padding:0}.minimal-studio .explore .tone-actions{flex-wrap:wrap;gap:8px;margin-left:0}.chord-row{grid-template-columns:112px auto 1fr;align-items:center;gap:12px 16px;display:grid}.chord-sentence{color:var(--muted);flex-wrap:wrap;align-items:center;gap:8px;font-size:14px;display:flex}.chord-sentence select{height:40px}.explore-actions{flex-wrap:wrap;gap:8px;display:flex}.minimal-studio .explore .tone-actions button,.explore-actions button,.connect-button{border:1px solid var(--line);background:var(--surface);min-height:36px;color:var(--ink);white-space:nowrap;border-radius:6px;padding:6px 12px;font-size:13px;font-weight:500;text-decoration:none}.minimal-studio .explore .tone-actions button:hover,.explore-actions button:hover,.connect-button:hover{border-color:var(--accent);text-decoration:none}.explore-actions button[aria-pressed=true],.connect-button[aria-pressed=true]{border-color:var(--on-border);background:var(--on-bg);color:var(--accent);font-weight:600}.connect-button{min-height:40px}.minimal-studio .form-bar{justify-content:flex-start}.minimal-studio .form-bar .form-hint{margin-left:0}@media (width<=760px){.minimal-studio .explore .degree-legend,.chord-row{grid-template-columns:1fr;gap:10px}.degree-legend-heading>span{margin:0 0 0 8px;display:inline}.minimal-studio .explore .tone-actions button,.explore-actions button,.connect-button{min-height:44px}.header-actions .text-button svg{display:none}.header-actions .practice-button svg{display:inline}.minimal-studio .form-bar>.segmented{width:100%}.minimal-studio .form-bar>.segmented button{flex:1}}.is-drilling .note-node.is-drill-hint .note-face{stroke:var(--accent);stroke-width:3px}.minimal-studio .drill-bar{border:0;border-block:1px solid var(--line);box-shadow:none;background:0 0;border-radius:0;margin-top:16px;padding:16px 4px}@media (width<=760px){.minimal-studio .drill-actions{flex-wrap:wrap}}.mode-tabs{border:1px solid var(--line);background:var(--panel);border-radius:10px;gap:4px;margin-left:auto;padding:4px;display:flex}.mode-tabs button{min-height:36px;color:var(--muted);border-radius:7px;align-items:center;gap:6px;padding:6px 18px;font-size:14px;font-weight:500;display:inline-flex}.mode-tabs button svg{width:16px;height:16px}.mode-tabs button:hover{color:var(--ink)}.mode-tabs button[aria-selected=true]{background:var(--surface);color:var(--ink);font-weight:600;box-shadow:0 1px 3px #2446541a}.mode-tabs button[aria-selected=true] svg{color:var(--root)}.minimal-studio .board-heading .header-actions{order:3;margin-left:0}#deck{animation:.22s ease-out deck-in}@keyframes deck-in{0%{opacity:0;transform:translate(12px)}}@media (prefers-reduced-motion:reduce){#deck{animation:none}}.form-stepper{align-items:center;gap:6px;display:flex}.form-stepper .form-picker{border-left:0;padding-left:0}.form-frets{color:var(--muted);white-space:nowrap;margin-left:6px;font-size:12px}.control-body .focus-panel{background:0 0;border:0;justify-content:flex-start;gap:16px 32px;padding:0}html[data-theme=dark] .control-body .focus-panel{background:0 0}.practice-deck{border-bottom:1px solid var(--line);gap:20px;padding:20px 4px 24px;display:grid}.deck-context{color:var(--muted);margin:0;font-size:14px}.deck-context strong{color:var(--ink);font-weight:600}.practice-options{grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:12px;display:grid}.practice-option{border:1px solid var(--line);background:var(--surface);border-radius:12px;flex-direction:column;gap:12px;padding:18px;display:flex}.practice-option h3{margin:0;font-size:15px;font-weight:600}.practice-option p{color:var(--muted);margin:0;font-size:13px;line-height:1.5}.practice-option .start-button{align-self:flex-start;margin-top:auto}.start-button{border:1px solid var(--accent);background:var(--accent);color:#fff;border-radius:999px;align-items:center;gap:6px;min-height:40px;padding:6px 16px 6px 12px;font-size:14px;font-weight:600;display:inline-flex}.start-button svg{width:16px;height:16px}.start-button:hover:not(:disabled){filter:brightness(1.08)}.start-button:disabled{background:var(--panel);border-color:var(--line);color:var(--muted)}.start-button[aria-pressed=true]{background:var(--surface);color:var(--accent)}.degree-picks{flex-wrap:wrap;gap:6px;display:flex}.degree-picks button{border:1px solid var(--line);background:var(--surface);min-height:36px;color:var(--muted);border-radius:8px;align-items:baseline;gap:5px;padding:6px 10px;font-size:13px;display:inline-flex}.degree-picks button strong{color:var(--ink);font-weight:600}.degree-picks button span{font-size:11px}.degree-picks button[aria-pressed=true]{border-color:var(--accent);background:color-mix(in srgb, var(--accent) 10%, var(--surface))}.deck-progress h3{flex-wrap:wrap;align-items:baseline;gap:4px 12px;margin:0 0 12px;font-size:15px;font-weight:600;display:flex}.deck-progress h3 span{color:var(--muted);font-size:13px;font-weight:400}.settings-section{border-bottom:1px solid var(--line);gap:16px;padding:20px 0;display:grid}.settings-section:last-child{border-bottom:0;padding-bottom:0}.settings-section .instrument-settings{flex-wrap:wrap;align-items:center;gap:16px 24px;display:flex}.settings-section p{color:var(--muted);margin:0;font-size:13px}.settings-section .restore-button,.settings-section .reset-view{justify-self:start}.settings-section .reset-view{border:1px solid var(--line)}@media (width<=760px){.mode-tabs{order:2;width:100%;margin-left:0}.mode-tabs button{flex:1;justify-content:center;min-height:44px}.form-stepper{width:100%}.form-stepper .form-picker{flex:1;width:auto}.form-stepper .form-picker button{flex:1;min-width:0}.form-frets{display:none}.degree-picks button,.start-button{min-height:44px}}.neck-length{color:var(--muted);align-items:center;gap:8px;margin-left:auto;font-size:13px;display:inline-flex}.neck-length select{height:36px;font-size:13px}.minimal-studio .note-view-bar .segmented button.active{background:var(--surface);border-color:var(--on-border);color:var(--ink);box-shadow:0 1px 2px #2446541a}@media (width<=760px){.neck-length{margin-left:0}.neck-length select{height:44px}}
