:root{--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark;--bg:#14161c;--panel:#1d2029;--panel-2:#262a35;--line:#343949;--text:#e8ebf2;--muted:#9aa2b4;--accent:#6ea8fe;--root:#ef6461;--chord:#f2b33d;--scale:#5b8def;--play:#3fbf7f;background:var(--bg);color:var(--text);-webkit-text-size-adjust:100%;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,sans-serif}*{box-sizing:border-box}body{padding:env(safe-area-inset-top) env(safe-area-inset-right) env(safe-area-inset-bottom) env(safe-area-inset-left);margin:0}button,select{font:inherit;color:var(--text);background:var(--panel-2);border:1px solid var(--line);cursor:pointer;touch-action:manipulation;border-radius:10px;min-height:44px;padding:.55rem .85rem}button:hover:not(:disabled){border-color:var(--accent)}button:disabled{opacity:.5;cursor:default}button.active,button.primary{background:var(--accent);border-color:var(--accent);color:#0b1220;font-weight:600}button.link{color:var(--accent);background:0 0;border:none;min-height:0;padding:0 .5rem}h1,h2,h3{margin:0}h2{margin-bottom:.6rem;font-size:1.1rem}h3{margin-bottom:.4rem;font-size:.95rem}.app{flex-direction:column;gap:1rem;max-width:1200px;margin:0 auto;padding:1rem;display:flex}.top{flex-wrap:wrap;justify-content:space-between;align-items:flex-end;gap:.75rem;display:flex}.top h1{font-size:2rem}.eyebrow{color:var(--muted);text-transform:uppercase;letter-spacing:.08em;margin:0;font-size:.75rem}.key-actions{gap:.5rem;display:flex}.flash,.hint{background:var(--panel-2);border:1px solid var(--line);border-radius:10px;margin:0;padding:.6rem .85rem;font-size:.9rem}.steps{gap:.4rem;padding-bottom:2px;display:flex;overflow-x:auto}.steps button{white-space:nowrap}.steps .num{opacity:.7;margin-right:.15rem}.grid{grid-template-columns:1.3fr 1fr .8fr;gap:1rem;display:grid}@media (width<=1000px){.grid{grid-template-columns:1fr 1fr}.prompt{grid-column:1/-1}}@media (width<=640px){.grid{grid-template-columns:1fr}.top h1{font-size:1.6rem}}.card{background:var(--panel);border:1px solid var(--line);border-radius:14px;min-width:0;padding:1rem}.prompt ol{margin:0 0 .75rem;padding-left:1.2rem;line-height:1.5}.prompt li+li{margin-top:.35rem}.tempo-tip{background:var(--panel-2);border-radius:10px;margin:0 0 .75rem;padding:.55rem .75rem;font-size:.92rem}.chord-picker,.rating,.reveal-buttons,.row{flex-wrap:wrap;align-items:center;gap:.4rem;display:flex}.chord-picker{margin-bottom:.75rem}.rating p{width:100%;color:var(--muted);margin:.25rem 0 0;font-size:.85rem}.muted{color:var(--muted);margin:0 0 .6rem;font-size:.9rem}.small{font-size:.82rem}.reveal{border-top:1px solid var(--line);margin-top:.85rem;padding-top:.75rem}.note-row{flex-wrap:wrap;gap:.35rem;margin-bottom:.4rem;display:flex}.note-chip{background:var(--panel-2);border:1px solid var(--line);border-radius:8px;flex-direction:column;align-items:center;min-width:2.6rem;padding:.3rem .4rem;display:inline-flex}.note-chip small{color:var(--muted);font-size:.72rem}.note-chip.chord{border-color:var(--chord)}.note-chip.root{border-color:var(--root)}.chord-table{grid-template-columns:repeat(auto-fill,minmax(78px,1fr));gap:.35rem;display:grid}.chord-table>div{background:var(--panel-2);border:1px solid var(--line);border-radius:8px;flex-direction:column;padding:.35rem .45rem;font-size:.85rem;display:flex}.chord-table small,.chord-table span{color:var(--muted);font-size:.75rem}.chord-table .primary-chord{border-color:var(--chord)}.bpm{justify-content:space-between;align-items:center;gap:.5rem;display:flex}.bpm output{font-variant-numeric:tabular-nums;font-size:2rem;font-weight:700}.bpm output small{color:var(--muted);font-size:.85rem;font-weight:400}input[type=range]{width:100%;accent-color:var(--accent);min-height:32px}.beats{justify-content:center;gap:.5rem;margin:.5rem 0;display:flex}.beats span{background:var(--panel-2);border:1px solid var(--line);border-radius:50%;width:18px;height:18px}.beats span.on{background:var(--accent)}.beats span.on.countin{background:var(--muted)}.beat-status{text-align:center;background:var(--panel-2);border-radius:10px;margin-bottom:.6rem;padding:.4rem;font-size:1.4rem;font-weight:700}.beat-status.idle,.beat-status.neutral,.beat-status.countin{color:var(--muted)}.beat-status.play{background:var(--play);color:#08140e}.beat-status.rest{background:var(--panel-2);color:var(--muted);outline:2px dashed var(--line)}.check{align-items:center;gap:.4rem;min-height:44px;font-size:.9rem;display:inline-flex}.check input{width:18px;height:18px;accent-color:var(--accent)}.board-controls{flex-wrap:wrap;align-items:center;gap:.6rem 1rem;margin-bottom:.6rem;display:flex}.segmented{display:inline-flex}.segmented button{border-radius:0}.segmented button:first-child{border-radius:10px 0 0 10px}.segmented button:last-child{border-radius:0 10px 10px 0}.segmented button+button{border-left:none}.position{flex-wrap:wrap;align-items:center;gap:.75rem;display:flex}.position>label:first-child{color:var(--muted);flex-direction:column;min-width:160px;font-size:.85rem;display:flex}.fretboard-scroll{-webkit-overflow-scrolling:touch;overflow-x:auto}.fretboard{max-width:none;display:block}.fretboard .window{fill:#6ea8fe14;stroke:#6ea8fe59}.fretboard .fret{stroke:#6b7385;stroke-width:2px}.fretboard .nut{stroke:#d9dee8;stroke-width:6px}.fretboard .string{stroke:#b8bfcc}.fretboard .string-name,.fretboard .fret-num{fill:var(--muted);font-size:13px}.fretboard .fret-num.octave{fill:var(--text);font-weight:700}.fretboard .octave-line{stroke:var(--root);stroke-width:3px;stroke-dasharray:6 5;opacity:.7}.fretboard .spot{cursor:pointer}.fretboard .spot circle{stroke-width:2px}.fretboard .spot text{pointer-events:none;font-size:12px;font-weight:700}.fretboard .spot.empty circle{fill:#0000;stroke:#0000}.fretboard .spot.empty:hover circle{stroke:#ffffff40}.fretboard .spot.root circle{fill:var(--root);stroke:#ffb3b1}.fretboard .spot.chord circle{fill:var(--chord);stroke:#ffe1a3}.fretboard .spot.scale circle{fill:var(--scale);stroke:#aac4ff}.fretboard .spot.tapped circle{fill:#e8ebf2;stroke:#fff}.fretboard .spot.root text,.fretboard .spot.chord text,.fretboard .spot.tapped text{fill:#12141a}.fretboard .spot.scale text{fill:#fff}details summary{cursor:pointer;color:var(--muted);margin-bottom:.6rem;font-size:.9rem}.study-keys{grid-template-columns:repeat(auto-fill,minmax(130px,1fr));gap:0 .75rem;margin-bottom:.75rem;display:grid}
