.app { display:block; }
.content { max-width:1440px; margin:auto; padding:0 clamp(16px,4vw,56px) 32px; }
.panel { padding:24px; margin-bottom:20px; border:1px solid var(--line); border-radius:12px; background:var(--surface); }
h2 { margin:0 0 16px; font-size:22px; letter-spacing:-.035em; font-weight:600; }
h3 { font-size:16px; font-weight:600; }
p { line-height:1.65; }
a { color:#c4b5fd; text-underline-offset:4px; }
.section-top { display:flex; justify-content:space-between; align-items:center; gap:20px; }
.section-top a { font-size:12px; }
.tool-controls { display:grid; grid-template-columns:1fr 1fr 1fr auto; align-items:end; gap:12px; }
button { min-height:40px; border:1px solid #c084fc55; border-radius:7px; background:#c084fc; color:#160d20; padding:9px 16px; font-weight:650; }
button:hover { filter:brightness(1.12); }
.secondary { color:var(--text); background:var(--surface-raised); border-color:var(--line); }
.equation { display:flex; align-items:center; justify-content:center; gap:clamp(15px,5vw,70px); margin-top:24px; padding:24px 12px; background:#c084fc08; border:1px solid #c084fc22; border-radius:10px; }
.equation div { display:grid; text-align:center; gap:8px; }
.equation div span { font-size:11px; color:var(--muted); }
.equation strong { font-size:clamp(25px,4vw,40px); font-weight:600; letter-spacing:-.04em; }
.result strong { color:var(--root); }
.operator,.muted { color:var(--muted); }
.small { font-size:12px; }
#explanation { text-align:center; font-size:13px; }
.fretboard-meta { padding:12px 0; }
.open-dot { background:#67e8f9; }
.fretboard-stage { min-width:960px; padding:24px 0 0; }
.fretboard,.fret-numbers { grid-template-columns:52px repeat(12,minmax(65px,1fr)); }
.note { height:45px; cursor:default; }
.note::before { height:var(--string-width,1px); }
.note.behind { background:#090b0fc9; }
.note.capo { background:#c084fc60; box-shadow:inset -6px 0 #c084fc; }
.note-marker { width:30px; height:30px; background:var(--root); border-color:var(--root); font-size:11px; }
.note-marker.ringing { background:#67e8f9; border-color:#67e8f9; }
.note .string-label { z-index:2; color:var(--text); font-size:12px; }
.fret-number.current { color:var(--root); font-weight:800; }
.two-column { display:grid; grid-template-columns:1fr 1fr; gap:20px; }
.finder-controls { grid-template-columns:1fr 1fr; }
.matches { display:flex; flex-wrap:wrap; gap:8px; margin:16px 0; }
.matches button { background:var(--surface-raised); color:var(--text); font-size:12px; }
.progression { display:grid; grid-template-columns:repeat(4,1fr); gap:8px; margin-top:20px; }
.progression button { display:grid; gap:8px; padding:14px 5px; background:var(--surface-raised); color:var(--text); border-color:var(--line); }
.progression button[aria-pressed="true"] { border-color:var(--root); }
.progression small { font-size:10px; color:var(--muted); }
.progression strong { color:var(--root); font-size:20px; }
.lessons { display:grid; grid-template-columns:repeat(3,1fr); gap:30px; margin:24px 0; }
.lessons p, details p { color:var(--muted); font-size:14px; }
.step { color:var(--root); font-size:12px; }
details { border-top:1px solid var(--line); padding:16px 0; }
summary { cursor:pointer; font-size:14px; font-weight:600; }
summary:focus-visible,.fretboard-scroll:focus-visible { outline:2px solid var(--root); outline-offset:4px; }
.quiz { display:grid; grid-template-columns:1fr 1fr; gap:24px; align-items:center; }
.quiz-controls { display:flex; gap:8px; align-items:end; flex-wrap:wrap; }
.quiz-controls label { flex:1; min-width:100px; }
#feedback { min-height:24px; font-size:13px; color:#c4b5fd; }
footer { display:flex; gap:20px; flex-wrap:wrap; font-size:12px; color:var(--muted); }
@media(max-width:850px) { .two-column,.quiz { grid-template-columns:1fr; } .lessons { gap:20px; } }
@media(max-width:600px) { .panel { padding:16px; } .tool-controls { grid-template-columns:1fr 1fr; } .lessons { grid-template-columns:1fr; gap:8px; } .section-top { align-items:start; flex-direction:column; gap:0; margin-bottom:18px; } .equation { gap:18px; } .equation div span { font-size:10px; } .fretboard-meta { align-items:start; flex-direction:column; gap:10px; } }
