@font-face{font-family:Nunito Variable;font-style:normal;font-display:swap;font-weight:200 1000;src:url(/_astro/nunito-latin-wght-normal.BzFMHfZw.woff2)format("woff2-variations");unicode-range:U+??,U+131,U+152-153,U+2BB-2BC,U+2C6,U+2DA,U+2DC,U+304,U+308,U+329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}@font-face{font-family:Nunito Variable;font-style:normal;font-display:swap;font-weight:200 1000;src:url(/_astro/nunito-latin-ext-wght-normal.CXYtwYOx.woff2)format("woff2-variations");unicode-range:U+100-2BA,U+2BD-2C5,U+2C7-2CC,U+2CE-2D7,U+2DD-2FF,U+304,U+308,U+329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}@font-face{font-family:Caveat;font-style:normal;font-display:swap;font-weight:600;src:url(/_astro/caveat-latin-600-normal.zlTlWIYU.woff2)format("woff2")}@font-face{font-family:Caveat;font-style:normal;font-display:swap;font-weight:700;src:url(/_astro/caveat-latin-700-normal.D8_1Nw6V.woff2)format("woff2")}:root{color-scheme:light;--base-font-size:14pt;--font-sans:"Nunito Variable", "Nunito", ui-rounded, "SF Pro Rounded", system-ui, -apple-system, "Segoe UI", sans-serif;--font-hand:"Caveat", "Bradley Hand", "Segoe Print", "Comic Sans MS", cursive;--font-display:var(--font-sans);--radius-card:22px;--radius-button:14px;--radius-pill:999px;--bg:#f6f5fb;--bg-glow:#7c4dff1a;--surface:#fff;--surface-2:#efedf7;--surface-3:#e5e2f1;--line:#ddd9ea;--line-strong:#8e8aa6;--ink:#1b1a2e;--ink-2:#4b4961;--ink-3:#636180;--violet:#6a35e6;--violet-strong:#5323d1;--violet-soft:#eee7ff;--pink:#d61f69;--pink-soft:#ffe4ef;--cyan:#07809c;--cyan-soft:#ddf6fb;--teal:#0b8a77;--teal-soft:#ddf7ef;--orange:#c2410c;--orange-soft:#ffeadb;--yellow:#ffc61a;--yellow-ink:#7a5400;--yellow-soft:#fff4cc;--grad-display:linear-gradient(100deg, #6a35e6 0%, #a33be0 46%, #d61f69 100%);--grad-route:linear-gradient(90deg, #1fc9a7 0%, #7b4dff 55%, #e0266f 100%);--grad-cta:linear-gradient(180deg, #ffd95a 0%, #ffb020 100%);--cta-ink:#2b1a00;--cta-edge:#e59400;--shadow-card:0 1px 0 #1b1a2e0a, 0 12px 28px -16px #3c24964d;--shadow-pop:0 2px 0 #1b1a2e0a, 0 24px 48px -20px #3c249661;--glow:none;--path-todo:#b9b4cf;--focus-ring:0 0 0 3px var(--surface), 0 0 0 6px var(--violet);--stave-paper:#fff;--stave-ink:#28263a;--stave-line:#28263a;--stave-note:#6a35e6;--stave-note-correct:#0b8a77;--key-white:#fff;--key-edge:#d8d4e6;--key-ink:#1b1a2e;--key-correct:#0b8a77;--key-correct-edge:#087565;--key-incorrect:#c2410c;--key-incorrect-edge:#d9763e;--page-grad-start:var(--bg);--page-grad-end:#efedf7;--surface-alt:var(--surface-2);--surface-hover:var(--surface-3);--border:var(--line-strong);--text:var(--ink);--text-soft:var(--ink-2);--text-mild:var(--ink-2);--text-faint:var(--ink-3);--accent:var(--violet);--accent-fill:var(--violet);--accent-strong-text:var(--violet-strong);--accent-soft-bg:var(--violet-soft);--accent-tint:var(--violet-soft);--accent-tint-hover:#e2d6ff;--panel-tint:var(--surface-2);--pattern-text:var(--violet-strong);--prompt-bg:var(--surface-2);--correct-bg:var(--teal-soft);--correct-text:var(--teal);--incorrect-bg:var(--orange-soft);--incorrect-text:var(--orange);--overlay-tint:#1b1a2e0f;--melody-passing:#9a6700;--job-home:var(--cyan);--job-home-bg:var(--cyan-soft);--job-pull:var(--violet);--job-pull-bg:var(--violet-soft);--job-lift:var(--teal);--job-lift-bg:var(--teal-soft);--job-soft:var(--yellow-ink);--job-soft-bg:var(--yellow-soft);--job-lean:var(--orange);--job-lean-bg:var(--orange-soft)}:root[data-theme=dark]{color-scheme:dark;--bg:#0e0f16;--bg-glow:#966eff29;--surface:#171926;--surface-2:#1f2233;--surface-3:#2a2d42;--line:#2c2f46;--line-strong:#6e6a8a;--ink:#ecebf5;--ink-2:#b9b7cd;--ink-3:#9795b0;--violet:#a98bff;--violet-strong:#c3adff;--violet-soft:#2a2150;--pink:#ff6bae;--pink-soft:#3a1830;--cyan:#4fddf0;--cyan-soft:#0f3340;--teal:#41e0c1;--teal-soft:#0e3a34;--orange:#ff9b5e;--orange-soft:#3d2417;--yellow:#ffcf40;--yellow-ink:#ffd666;--yellow-soft:#3d2e00;--grad-display:linear-gradient(100deg, #9b72ff 0%, #e07bff 50%, #ff8fc4 100%);--grad-cta:linear-gradient(180deg, #ffdb5c 0%, #ffae1a 100%);--cta-ink:#221400;--cta-edge:#b87400;--shadow-card:0 0 0 1px #ffffff05, 0 18px 36px -22px #000c;--shadow-pop:0 0 0 1px #ffffff08, 0 28px 56px -24px #000000e6;--glow:drop-shadow(0 0 22px #a98bff8c);--path-todo:#4a4d68;--key-edge:#0a0b11;--page-grad-end:#0a0b11;--accent-fill:#7b4dff;--accent-tint-hover:#34296a;--overlay-tint:#f0eeff0f;--melody-passing:#e3b341}@layer base{*{box-sizing:border-box;margin:0;padding:0}html{font-size:var(--base-font-size)}body{color:var(--text);font-family:var(--font-sans);background:radial-gradient(circle at 12% 0%, color-mix(in srgb, var(--accent) 6%, transparent), transparent 30rem), linear-gradient(145deg, var(--page-grad-start) 0%, var(--page-grad-end) 100%);justify-content:center;align-items:flex-start;min-height:100vh;padding:clamp(8px,2vw,32px);font-size:1rem;line-height:1.55;display:flex}a{color:var(--accent-strong-text)}a:hover{text-decoration-thickness:2px}.container{background:var(--surface);border-radius:22px;width:100%;max-width:1120px;padding:clamp(14px,2.5vw,32px);box-shadow:0 24px 70px #01040929}.trainer-panel{width:100%}h1{color:var(--text);letter-spacing:-.035em;margin:0 0 6px;font-size:clamp(1.65rem,3vw,2.2rem)}.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}.mode-selector{justify-content:center;gap:10px;margin-bottom:20px;display:flex}.mode-btn{border:2px solid var(--accent);background:var(--surface);color:var(--accent);cursor:pointer;border-radius:8px;padding:8px 16px;font-weight:600;transition:all .2s}.mode-btn:hover{background:var(--accent-soft-bg)}.mode-btn.active{background:var(--accent-fill);color:#fff}.controls{background:var(--surface-alt);border-radius:12px;margin-bottom:20px;padding:20px}.control-row{flex-wrap:wrap;align-items:center;gap:15px;margin-bottom:15px;display:flex}.control-checkbox{cursor:pointer;color:var(--text-soft);align-items:center;gap:8px;font-size:.75rem;display:flex}.control-row:last-child{margin-bottom:0}.control-row.center{justify-content:center}.divider{color:var(--border)}.note-mode-row{flex-wrap:wrap;align-items:center;gap:12px}.note-mode-toggle{gap:8px;display:flex}.note-mode-btn{border:2px solid var(--accent);background:var(--surface);color:var(--accent);cursor:pointer;border-radius:8px;padding:8px 16px;font-weight:600;transition:all .2s}.note-mode-btn.active{background:var(--accent-fill);color:#fff}.degree-select{flex-wrap:wrap;align-items:center;gap:10px;display:flex}.degree-label{color:var(--text-soft);font-weight:600}.degree-option{align-items:center;gap:4px;font-size:.75rem;display:flex}.is-hidden{display:none}.control-label{color:var(--text-soft);min-width:70px;font-weight:600}.volume-control{flex:1;align-items:center;gap:10px;display:flex}input[type=range]{flex:1;max-width:200px}.note-buttons{flex-wrap:wrap;gap:8px;display:flex}.note-btn{color:var(--text);border:2px solid var(--border);background:var(--surface);cursor:pointer;border-radius:8px;width:45px;height:45px;font-size:.86rem;font-weight:600;transition:all .2s;box-shadow:0 2px 4px #0000001a}.note-btn:hover{background:var(--surface-hover);border-color:var(--text-faint);transform:translateY(-1px);box-shadow:0 4px 8px #00000026}.note-btn:active{transform:translateY(0);box-shadow:0 1px 2px #0000001a}.note-btn.selected{background:var(--accent-fill);color:#fff;border-color:var(--accent)}.modifier-btn{color:var(--text);border:2px solid var(--border);background:var(--surface);cursor:pointer;border-radius:8px;width:45px;height:45px;font-size:.965rem;font-weight:600;transition:all .2s;box-shadow:0 2px 4px #0000001a}.modifier-btn:hover{background:var(--surface-hover);border-color:var(--text-faint)}.modifier-btn.active{background:var(--job-pull);color:#fff;border-color:var(--job-pull)}.quality-btn,.inversion-btn{color:var(--text);border:2px solid var(--border);background:var(--surface);cursor:pointer;border-radius:8px;padding:8px 16px;font-size:.75rem;font-weight:600;transition:all .2s;box-shadow:0 2px 4px #0000001a}.quality-btn:hover,.inversion-btn:hover{background:var(--surface-hover);border-color:var(--text-faint)}.quality-btn.active,.inversion-btn.active{background:var(--job-home);color:#fff;border-color:var(--job-home)}.random-btn{border:2px solid var(--accent);background:var(--surface);color:var(--accent);cursor:pointer;border-radius:8px;padding:8px 20px;font-size:.75rem;font-weight:600;transition:all .2s;box-shadow:0 2px 4px #0000001a}.random-btn:hover{background:var(--accent-fill);color:#fff;transform:translateY(-1px);box-shadow:0 4px 8px #00000026}.prompt-area{margin-top:20px}.staff-wrapper{background:#fdfdfd;border:1px solid #0000001a;border-radius:12px;justify-content:center;align-items:center;max-width:1100px;margin:12px auto;padding:4px 12px;display:flex;position:relative;overflow:visible}.grand-staff{justify-content:center;align-items:center;width:100%;display:flex;overflow:visible}.grand-staff-svg{width:100%;height:auto}.staff-lines .staff-line{stroke:#00000059;stroke-width:1.4px}.clef{fill:#2c3e50d9;font-family:Bravura,Sebastian,Noto Music,Arial Unicode MS,Arial,sans-serif;font-size:46px}.note-head{fill:#2c3e50;stroke:#0006;stroke-width:1px}.interactive-note{fill:#0969da;stroke:#00000080}.interactive-accidental{fill:#0969da}.ledger-line{stroke:#00000073;stroke-width:1.4px}.interactive-ledger{stroke:#0969dacc}.accidental{fill:#2c3e50;font-family:Bravura,Sebastian,Noto Music,Arial Unicode MS,Arial,sans-serif;font-size:20px}.note-label{fill:#2c3e50;text-anchor:start;stroke:#fff;stroke-width:5px;paint-order:stroke fill;font-family:Courier New,Courier,Lucida Console,Monaco,monospace;font-size:14px;font-weight:700}.interactive-label{fill:#0969da}.message{border-radius:8px;justify-content:center;align-items:center;gap:12px;min-height:60px;margin-bottom:20px;padding:15px;font-weight:600;display:flex}.message.prompt{background:var(--prompt-bg);color:var(--text);border-left:4px solid #ffc107;font-size:.965rem}.message.correct{background:var(--correct-bg);border-left:4px solid var(--correct-text);color:var(--correct-text);font-size:.965rem}.message.incorrect{background:var(--incorrect-bg);border-left:4px solid var(--incorrect-text);color:var(--incorrect-text);font-size:.965rem}.message-text{text-align:center;white-space:pre-line;flex:1;line-height:1.6}.keyboard-container{background:#2c3e50;border-radius:12px;padding:30px 20px 20px;overflow-x:auto}.keyboard{width:100%;min-width:740px;max-width:1100px;height:200px;margin:0 auto;display:flex;position:relative}.key-label{color:#666;font-size:11px;font-weight:600}.key-label.hidden{display:none}.key-label.permanent,.keyboard-container.show-answer .key-label{display:block}.black-key .key-label{color:#eee;font-size:10px;position:absolute;bottom:6px;left:50%;transform:translate(-50%)}.key{cursor:pointer;user-select:none;position:relative}.white-key{background:#fff;border:2px solid #333;border-radius:0 0 4px 4px;flex:1 1 0;justify-content:center;align-items:flex-end;min-width:0;height:200px;padding-bottom:10px;transition:all .1s;display:flex;box-shadow:0 4px 6px #0003}.white-key:hover{background:#f0f0f0}.white-key:active,.white-key.active{background:#e0e0e0;transform:translateY(2px);box-shadow:0 2px 3px #0003}.white-key.highlighted{background:#a8d5ff}.white-key.correct{background:#ddf4ff;border-color:#0969da}.white-key.incorrect{background:#fff1e5;border-color:#bc4c00}.black-key{z-index:2;background:linear-gradient(#1a1a1a 0%,#000 100%);border:2px solid #000;border-radius:0 0 3px 3px;width:3.368%;height:120px;transition:all .1s;position:absolute;box-shadow:0 4px 8px #00000080}.black-key:hover{background:linear-gradient(#2a2a2a 0%,#111 100%)}.black-key:active,.black-key.active{background:linear-gradient(#000 0%,#1a1a1a 100%);transform:translateY(2px);box-shadow:0 2px 4px #00000080}.black-key.highlighted{background:linear-gradient(#4a7ba7 0%,#2c5f8a 100%)}.black-key.correct{background:linear-gradient(#58a6ff 0%,#0969da 100%)}.black-key.incorrect{background:linear-gradient(#ff9b5e 0%,#bc4c00 100%)}.action-buttons{justify-content:center;gap:10px;margin-top:20px;display:flex}.action-btn{cursor:pointer;border:none;border-radius:8px;padding:12px 24px;font-size:.86rem;font-weight:600;transition:all .2s;box-shadow:0 2px 4px #0000001a}.action-btn.primary{background:var(--accent-fill);color:#fff}.action-btn.primary:hover{background:var(--accent);transform:translateY(-1px);box-shadow:0 4px 8px #00000026}.action-btn.secondary{color:#fff;background:#6c757d}.action-btn.secondary:hover{background:#5a6268}.stats{background:var(--surface-alt);border-radius:8px;justify-content:space-around;margin-top:20px;padding:15px;display:flex}.stat{text-align:center}.stat-value{color:var(--accent);font-size:1.29rem;font-weight:700}.stat-label{color:var(--text-mild);margin-top:4px;font-size:.64rem}.theory-accordion{margin-bottom:20px}.theory-accordion-toggle{background:var(--accent-tint);border:1px solid color-mix(in srgb, var(--accent) 42%, var(--border));width:100%;color:var(--accent-strong-text);cursor:pointer;border-radius:10px;align-items:center;gap:12px;padding:12px 16px;font-weight:600;transition:all .2s;display:flex}.theory-accordion-toggle .toggle-icon{text-align:center;width:18px;font-size:.965rem}.theory-accordion-toggle[aria-expanded=true] .toggle-icon{transform:rotate(45deg)}.theory-accordion-toggle:hover{background:var(--accent-tint-hover)}.theory-panel{border-radius:12px;max-height:0;margin-top:12px;transition:max-height .3s;overflow:hidden}.theory-panel.expanded{box-shadow:inset 0 0 0 1px color-mix(in srgb, var(--accent) 24%, transparent);background:var(--panel-tint);max-height:650px}.theory-panel-body{flex-direction:column;gap:16px;padding:18px;display:flex}.theory-tab-bar{flex-wrap:wrap;gap:8px;display:flex}.theory-tab-btn{border:1px solid color-mix(in srgb, var(--accent) 55%, var(--border));background:var(--surface);color:var(--accent-strong-text);cursor:pointer;border-radius:999px;padding:6px 14px;font-weight:600;transition:all .2s}.theory-tab-btn.active{background:var(--accent-fill);color:#fff;box-shadow:0 3px 8px color-mix(in srgb, var(--accent) 25%, transparent)}.theory-tab-btn:hover{background:var(--accent-tint)}.theory-tab-content{background:var(--surface);word-break:break-word;border-radius:12px;max-height:none;padding:16px;font-size:.75rem;line-height:1.6;overflow:visible;box-shadow:inset 0 0 0 1px #0000000d}.theory-tab-content p{margin-bottom:12px}.theory-tab-content p:last-child{margin-bottom:0}.degree-list{flex-direction:column;gap:8px;margin:12px 0 16px;padding:0;list-style:none;display:flex}.degree-list li{background:var(--accent-tint);border-radius:10px;align-items:center;gap:12px;padding:8px 12px;display:flex}.degree-pill{background:var(--accent-fill);color:#fff;border-radius:50%;justify-content:center;align-items:center;width:28px;height:28px;font-size:.7rem;font-weight:600;display:inline-flex}.roman-list{flex-direction:column;gap:6px;margin:12px 0;padding:0;list-style:none;display:flex}.roman-list li{background:var(--overlay-tint);border-radius:8px;padding:6px 10px}.theory-tab-content h3{color:var(--text);margin-top:0;font-size:.86rem}.theory-tab-content h4{color:var(--text-soft);margin-top:16px;margin-bottom:6px;font-size:.75rem}.pattern{letter-spacing:.06em;color:var(--pattern-text);font-size:.75rem;font-weight:600}.midi-status{background:var(--surface-hover);color:var(--text-faint);border-radius:12px;padding:3px 10px;font-size:.64rem}.midi-status.is-connected{background:var(--correct-bg);color:var(--correct-text)}.midi-status.is-waiting{background:var(--accent-soft-bg);color:var(--accent)}.midi-status.is-unsupported{background:var(--surface-alt);color:var(--text-faint)}@media (width<=600px){body{padding:8px}.container{border-radius:16px;padding:12px}.keyboard,.white-key{height:150px}.black-key{height:90px}.keyboard-container{padding:16px 10px 12px}.controls{padding:12px}.note-btn,.modifier-btn{width:28px;height:40px;font-size:.75rem}.note-buttons{gap:4px}.control-row{gap:8px}}.staff-lines .staff-barline{stroke:#00000059;stroke-width:1.4px}.shortcut-hint{color:var(--text-faint);text-align:center;margin-top:12px;font-size:.64rem}.shortcut-hint strong{color:var(--accent)}.rotate-hint{color:var(--text-faint);text-align:center;margin-top:8px;font-size:.64rem;display:none}@media (width<=600px) and (orientation:portrait){.rotate-hint{display:block}}@media (width<=600px){.shortcut-hint{display:none}}.staff-notes-btn{border:2px solid var(--border);background:var(--surface);color:var(--text-soft);cursor:pointer;border-radius:8px;padding:6px 12px;font-size:.7rem;font-weight:600;transition:all .2s}.staff-notes-btn:hover{background:var(--surface-hover);border-color:var(--text-faint)}.staff-notes-btn.active{background:var(--accent-fill);color:#fff;border-color:var(--accent)}.reference-note{fill:#b75a37;stroke:#81371f;stroke-width:1px}.reference-label{fill:#0550ae;font-family:inherit;font-size:10px;font-weight:700}.hand-btn{color:var(--text);border:2px solid var(--border);background:var(--surface);cursor:pointer;border-radius:8px;padding:8px 16px;font-size:.75rem;font-weight:600;transition:all .2s;box-shadow:0 2px 4px #0000001a}.hand-btn:hover{background:var(--surface-hover);border-color:var(--text-faint)}.hand-btn.active{background:var(--job-home);color:#fff;border-color:var(--job-home)}.finger-badge{background:var(--accent-fill);color:#fff;pointer-events:none;z-index:3;border-radius:50%;justify-content:center;align-items:center;width:20px;height:20px;font-size:.64rem;font-weight:700;display:flex;position:absolute;top:8px;left:50%;transform:translate(-50%)}.black-key .finger-badge{color:var(--text);background:#ffc107;top:auto;bottom:26px}.cof-svg{max-width:340px;margin:12px auto;display:block}.cof-ring{fill:none;stroke:color-mix(in srgb, var(--accent) 38%, transparent);stroke-width:1.5px}.cof-major{fill:var(--text);font-size:17px;font-weight:700}.cof-minor{fill:var(--accent-strong-text);font-size:13px}.cof-signature{fill:var(--text-faint);font-size:11px}.finger-badge.lh{background:#b06ab3;border-radius:4px}.white-key .finger-badge.lh{top:32px}.black-key .finger-badge.lh{background:#ff9db1;bottom:50px}.cof-key{cursor:pointer}.cof-key:hover{fill:#0969da}.cof-key.cof-selected{fill:#0969da;font-weight:800}.cof-hint{text-align:center;color:var(--accent);font-size:13px}.key.correct:after,.key.incorrect:after{color:#fff;text-shadow:0 1px 2px #00000073;pointer-events:none;z-index:4;font-size:16px;font-weight:700;position:absolute;left:50%;transform:translate(-50%)}.key.correct:after{content:"✓"}.key.incorrect:after{content:"✗"}.white-key.correct:after,.white-key.incorrect:after{bottom:42px}.black-key.correct:after,.black-key.incorrect:after{bottom:6px}.scale-type-btn{color:var(--text);border:2px solid var(--border);background:var(--surface);cursor:pointer;border-radius:8px;padding:8px 16px;font-size:.75rem;font-weight:600;transition:all .2s;box-shadow:0 2px 4px #0000001a}.scale-type-btn:hover{background:var(--surface-hover);border-color:var(--text-faint)}.scale-type-btn.active{background:var(--job-home);color:#fff;border-color:var(--job-home)}.setting-io{align-items:center;gap:8px;display:flex}.speaker-btn,.mic-btn{border:1px solid var(--border);background:var(--surface-hover);min-height:44px;color:var(--text-soft);cursor:pointer;white-space:nowrap;border-radius:999px;flex:none;padding:6px 12px;font-size:.8rem;font-weight:600;transition:all .2s}.speaker-btn[aria-pressed=true],.mic-btn.active{background:var(--correct-bg);color:var(--correct-text);border-color:var(--correct-text)}.mic-level{background:var(--surface-hover);vertical-align:middle;border-radius:4px;width:60px;height:8px;display:inline-block;overflow:hidden}.mic-level.is-hidden{visibility:hidden;display:inline-block}.mic-level span{background:linear-gradient(90deg,#0969da,#e3b341);border-radius:4px;width:0%;height:100%;transition:width .1s linear;display:block}.foundations{margin:12px 0 24px}.foundation-answers,.foundation-actions{flex-wrap:wrap;align-items:center;gap:12px;display:flex}.foundations label{gap:6px;font-size:.9rem;font-weight:600;display:grid}.foundations select{border:1px solid var(--border);background:var(--surface);max-width:100%;color:var(--text);font:inherit;border-radius:8px;padding:10px}.foundations button{border:1px solid var(--border);background:var(--surface);min-height:44px;color:var(--text);font:inherit;cursor:pointer;border-radius:10px;padding:10px 16px}.foundations button:hover{background:var(--accent-tint);border-color:var(--accent)}.foundations button[aria-pressed=true],.foundations button.primary{background:var(--accent-fill);color:#fff;border-color:var(--accent)}.foundations .foundation-answers button.is-correct,.foundations .foundation-answers button.is-incorrect{box-shadow:0 0 0 3px color-mix(in srgb, currentColor 20%, transparent);font-weight:800}.foundations .foundation-answers button.is-correct{background:var(--correct-bg);color:var(--correct-text);border-color:var(--correct-text)}.foundations .foundation-result-mark{margin-left:10px}.foundations .foundation-answers button.is-incorrect{background:var(--incorrect-bg);color:var(--incorrect-text);border-color:var(--incorrect-text)}.foundations :focus-visible,.further-practice>summary:focus-visible{outline:3px solid var(--accent);outline-offset:4px}.foundations [hidden]{display:none}#foundation-content{padding-top:24px}.foundations p{color:var(--text-soft);line-height:1.65}.foundations .eyebrow{color:var(--accent-strong-text);letter-spacing:.06em;text-transform:uppercase;font-size:.8rem;font-weight:700}.foundation-intro{max-width:750px}.foundation-staff{border:1px solid var(--border);background:#fff;border-radius:12px;margin:20px 0;overflow:hidden}.foundation-note{fill:#0969da;stroke:#0006;stroke-width:1px}.foundation-staff.is-correct{border-color:#0969da;box-shadow:0 0 0 3px #0969da33}.foundation-staff.is-correct .foundation-note{fill:#0969da;stroke:#0550ae;filter:drop-shadow(0 0 3px #0969da8c)}.foundation-staff svg{width:100%;max-height:320px;display:block}.foundation-lessons{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;display:grid}.foundation-lessons article{background:var(--surface-alt);border:1px solid var(--border);border-radius:12px;padding:22px}.foundation-lessons p+p{margin-top:10px}.foundation-lessons dl{margin:12px 0;line-height:1.7}.foundation-lessons dt{font-weight:600}.foundation-lessons dd{color:var(--text-soft);margin-bottom:6px}.foundation-feedback{background:var(--prompt-bg);border:2px solid #0000;border-radius:10px;align-items:flex-start;gap:12px;min-height:76px;margin:20px 0;padding:16px;line-height:1.6;display:flex}.foundation-feedback:before{content:"i";text-align:center;border:2px solid;border-radius:50%;flex:0 0 28px;width:28px;height:28px;font-weight:800;line-height:24px}.foundation-feedback.success{color:var(--correct-text);background:var(--correct-bg);border-color:var(--correct-text);font-weight:700}.foundation-feedback.success:before{content:"✓"}.foundation-feedback.error{color:var(--incorrect-text);background:var(--incorrect-bg);border-color:var(--incorrect-text)}.foundation-feedback.error:before{content:"✗"}.harmony-builder>.foundation-feedback{min-height:0;color:var(--text);background:var(--surface-alt);border:1px solid color-mix(in srgb, var(--accent) 28%, var(--border));border-left:4px solid var(--accent);box-shadow:0 4px 12px color-mix(in srgb, var(--accent) 8%, transparent);border-radius:12px;align-items:center;margin:16px 0 0;padding:12px 14px}.harmony-builder>.foundation-feedback:before{background:var(--accent-fill);color:#fff;border:0;flex-basis:26px;place-items:center;width:26px;height:26px;font-size:.85rem;line-height:1;display:grid}.foundation-progress{font-size:.85rem}#placement-range{min-width:0;accent-color:var(--accent);flex:160px}.foundation-answers>.foundation-answers{flex-basis:100%}.further-practice{border:1px solid var(--border);background:var(--surface-alt);border-radius:12px;margin:32px 0 0;padding:0 16px}.further-practice>summary{cursor:pointer;min-height:58px;color:var(--accent-strong-text);align-items:center;gap:8px;padding:12px 0;font-weight:600;display:flex}.further-practice>summary :where(small){color:var(--text-faint);font-size:.82rem;font-weight:500}.further-practice[open]>summary{border-bottom:1px solid var(--border);margin-bottom:20px}.further-practice[open]{padding-bottom:20px}@media (width<=600px){.foundation-lessons{grid-template-columns:1fr}.curriculum-grades{grid-template-columns:repeat(4,minmax(0,1fr))}.curriculum-topics{grid-template-columns:1fr}.curriculum-heading{flex-direction:column;gap:8px}.curriculum-status{align-self:flex-start}.foundation-settings>label{width:100%}.foundations button{padding:10px 12px}.foundation-staff svg{min-height:0}}.harmony-key-label{max-width:300px;margin:20px 0}.harmony-builder,.harmony-functions{margin-top:24px}.harmony-cards,.note-value-grid{grid-template-columns:repeat(auto-fit,minmax(160px,1fr));gap:12px;margin:20px 0;display:grid}.harmony-cards article,.note-value-grid article{border:1px solid var(--border);background:var(--surface-alt);border-radius:12px;padding:16px}.harmony-cards article{flex-direction:column;display:flex}.harmony-cards article p{margin:10px 0}.harmony-cards h4{font-size:1.15rem}.note-value-grid svg{width:80px;height:80px;color:var(--text);display:block}.note-value-grid button{margin-top:12px}.mini-piano{width:360px;max-width:100%;height:180px;margin:20px 0 12px;position:relative}.foundations .mini-piano button{border:1px solid #555;border-radius:0 0 7px 7px;justify-content:center;align-items:end;padding:8px 2px;font-size:.8rem;display:flex;position:absolute;top:0}.foundations .mini-piano .mini-white{color:#222;background:#fff;width:14.2857%;height:180px}.foundations .mini-piano .mini-black{color:#fff;z-index:1;background:#202532;width:8.57143%;height:112px;font-size:.7rem}.foundations .mini-piano button[aria-pressed=true]{color:#fff;background:#4a63c8;box-shadow:inset 0 -5px #243b95}@media (width<=600px){.harmony-cards,.note-value-grid{grid-template-columns:1fr}}.learning-paths{grid-template-columns:repeat(auto-fit,minmax(min(220px,100%),1fr));gap:12px;margin:20px 0;display:grid}.foundations .learning-paths button{text-align:left;background:var(--accent-tint);padding:18px;line-height:1.5}.learning-paths strong,.learning-paths span{display:block}.learning-paths span{color:var(--text-soft);margin-top:6px;font-size:.85rem}.listening-desk{border:1px solid var(--border);background:var(--accent-tint);border-radius:16px;margin-top:20px;padding:20px}.listening-heading,.listening-controls{flex-wrap:wrap;align-items:center;gap:12px;margin-bottom:16px;display:flex}.listening-heading{justify-content:flex-end}.listening-controls{justify-content:start}#harmony-listening{min-height:3.3em;color:var(--text);font-weight:600}.listening-keyboard{height:128px;margin:12px 0;position:relative}.listening-white,.listening-black{border:1px solid #555;border-radius:0 0 4px 4px;justify-content:center;align-items:end;padding-bottom:8px;font-size:.65rem;display:flex;position:absolute}.listening-white{width:calc(100% / var(--white-key-count,18));color:#222;background:#fff;height:128px}.listening-black{width:calc(60% / var(--white-key-count,18));color:#fff;z-index:1;background:#202532;height:78px}.listening-keyboard .sounding{background:var(--accent-fill);color:#fff;box-shadow:inset 0 -6px #0550ae}.listening-keyboard .key-label,.mini-piano .key-label{color:inherit;font-size:.65rem;font-weight:600}.mini-piano .mini-black .key-label{font-size:.7rem}.key-names-toggle{color:var(--text-soft);cursor:pointer;align-items:center;gap:8px;width:fit-content;margin:8px 0 0;font-size:.9rem;display:flex}.foundations .key-names-toggle input{width:20px;height:20px;accent-color:var(--accent);flex:none}.listening-caption{font-size:.8rem}.harmony-cards article button{width:100%;margin-top:8px}.harmony-cards article button:first-of-type{margin-top:auto}@media (width<=600px){.learning-paths{grid-template-columns:1fr}.listening-desk{padding:12px}.listening-keyboard .listening-black{font-size:0}}.listening-chords{flex-wrap:wrap;gap:8px;margin-top:16px;display:flex}.harmony-cards{grid-template-columns:repeat(auto-fit,minmax(min(230px,100%),1fr))}.progression-config{flex-wrap:wrap;align-items:center;gap:12px;margin:20px 0;display:flex}.progression-check{gap:8px}.progression-slots{grid-template-columns:repeat(auto-fit,minmax(min(120px,100%),1fr));gap:10px;margin:16px 0;display:grid}.foundations .progression-slot{background:var(--accent-tint);text-align:left;flex-direction:column;align-items:flex-start;gap:2px;min-width:0;padding:14px;line-height:1.4;display:flex}.progression-slot strong{max-width:100%;color:var(--pattern-text);hyphens:auto;overflow-wrap:anywhere;font-size:1.5rem}.progression-slot span{font-weight:600}.progression-slot small{color:var(--text-soft);font-size:.75rem}.foundations .progression-slot[aria-pressed=true]{outline:3px solid var(--accent);outline-offset:2px}.progression-degrees{flex-wrap:wrap;gap:8px;display:flex}.foundations .progression-degrees button{flex-direction:column;align-items:center;gap:2px;min-width:72px;padding:10px 12px;font-weight:600;line-height:1.15;display:flex}.foundations .progression-degrees button strong{font-size:.95rem}.foundations .progression-degrees button small{opacity:.85;font-size:.72rem;font-weight:500}.foundations .progression-degrees button.job-home,.progression-slot.job-home{border-color:color-mix(in srgb, var(--job-home) 45%, var(--border));background:var(--job-home-bg);color:var(--job-home)}.foundations .progression-degrees button.job-pull,.progression-slot.job-pull{border-color:color-mix(in srgb, var(--job-pull) 45%, var(--border));background:var(--job-pull-bg);color:var(--job-pull)}.foundations .progression-degrees button.job-lift,.progression-slot.job-lift{border-color:color-mix(in srgb, var(--job-lift) 45%, var(--border));background:var(--job-lift-bg);color:var(--job-lift)}.foundations .progression-degrees button.job-soft,.progression-slot.job-soft{border-color:color-mix(in srgb, var(--job-soft) 45%, var(--border));background:var(--job-soft-bg);color:var(--job-soft)}.foundations .progression-degrees button.job-lean,.progression-slot.job-lean{border-color:color-mix(in srgb, var(--job-lean) 45%, var(--border));background:var(--job-lean-bg);color:var(--job-lean)}.note-flash-config,.echo-progress,.rhythm-write-notation{margin:12px 0}.note-flash-config{flex-wrap:wrap;align-items:flex-start;gap:14px 22px;display:flex}.lozenge-choice{border:0;flex:280px;min-width:0;padding:0}.lozenge-choice legend{color:var(--text-mild);letter-spacing:.04em;text-transform:uppercase;margin-bottom:6px;padding:0;font-family:inherit;font-size:.78rem;font-weight:700}.lozenge-options{flex-wrap:wrap;gap:6px;display:flex}.lozenge-options button{white-space:nowrap;border-radius:999px;min-height:38px;padding:7px 12px;font-family:inherit;font-size:.84rem;font-weight:600}.echo-piece{margin:8px 0 16px;font-size:1.15rem}.progression-summary{background:var(--surface-alt);border:1px solid var(--border);border-radius:12px;margin:16px 0;padding:14px 16px}.progression-presets{grid-template-columns:repeat(auto-fit,minmax(min(240px,100%),1fr));gap:12px;margin:16px 0;display:grid}.progression-presets article{border:1px solid var(--border);background:var(--surface-alt);border-radius:12px;flex-direction:column;padding:16px;display:flex}.progression-presets h4{color:var(--pattern-text);font-size:1.1rem}.progression-presets p{margin:8px 0 12px;font-size:.9rem}.foundations .progression-presets button{width:100%;margin-top:auto}.ear-config{flex-wrap:wrap;align-items:center;gap:12px;margin:20px 0;display:flex}.ear-toggle{flex-wrap:wrap;gap:8px;display:flex}.ear-question{border:1px solid var(--border);background:var(--accent-tint);border-radius:16px;margin:20px 0;padding:20px}#ear-playing{min-height:2.6em;font-weight:600}.ear-question .foundation-actions{margin:12px 0 0}.ear-options{grid-template-columns:repeat(auto-fit,minmax(min(150px,100%),1fr));gap:10px;margin:16px 0;display:grid}.foundations .ear-option{padding:16px 12px;font-weight:600}.foundations .ear-option.ear-correct{background:var(--correct-bg);color:var(--correct-text);border-color:var(--correct-text)}.foundations .ear-option.ear-wrong{background:var(--incorrect-bg);color:var(--incorrect-text);border-color:var(--incorrect-text);opacity:1}.ear-reference{grid-template-columns:repeat(auto-fit,minmax(min(220px,100%),1fr));gap:12px;margin:16px 0;display:grid}.ear-reference article{border:1px solid var(--border);background:var(--surface-alt);border-radius:12px;padding:16px}.ear-reference h4{color:var(--pattern-text);font-size:1.05rem}.ear-reference p{margin:8px 0 0;font-size:.9rem}.ear-hook{color:var(--text-mild)}.drill-note{color:var(--text-soft);max-width:70ch}.rhythm-views,.rhythm-config{flex-wrap:wrap;align-items:center;gap:12px;margin:20px 0;display:flex}.rhythm-config label{gap:8px}#rhythm-bpm{accent-color:var(--accent);flex:0 160px}.rhythm-grid{grid-template-columns:repeat(16,1fr);gap:3px;min-width:0;margin:16px 0;display:grid}.foundations .rhythm-cell{border:1px solid var(--border);background:var(--surface-alt);min-width:0;min-height:44px;color:var(--text-faint);font-variant-numeric:tabular-nums;border-radius:6px;justify-content:center;align-items:center;padding:4px 0;font-size:.75rem;display:flex}.foundations .rhythm-cell.is-beat{background:var(--accent-tint);color:var(--pattern-text);font-weight:700}.foundations .rhythm-cell.is-beat-faint{border-color:var(--accent);color:var(--text-soft)}.foundations .rhythm-cell.is-sub{color:var(--text-soft)}.foundations .rhythm-cell.is-muted{opacity:.45}.foundations .rhythm-cell.is-hit{background:var(--accent-fill);border-color:var(--accent);color:#fff;opacity:1;font-weight:700}.foundations .rhythm-cell.is-matched{background:var(--correct-text);border-color:var(--correct-text)}.foundations .rhythm-cell.is-missed{background:var(--incorrect-text);border-color:var(--incorrect-text)}.foundations .rhythm-cell.is-playing{outline:3px solid var(--pattern-text);outline-offset:1px}.rhythm-rows{margin:16px 0}.rhythm-row{align-items:center;gap:10px;display:flex}.rhythm-row .rhythm-grid{flex:auto;min-width:0}.rhythm-row-label{color:var(--text-soft);flex:0 0 64px;font-size:.85rem;font-weight:600}.foundations .rhythm-pad{background:var(--accent-tint);touch-action:manipulation;user-select:none;flex-direction:column;justify-content:center;align-items:center;gap:6px;width:100%;min-height:120px;margin:12px 0;font-size:1.2rem;font-weight:700;display:flex}.foundations .rhythm-pad small{color:var(--text-soft);font-size:.8rem;font-weight:400}.foundations .rhythm-pad.is-recording{background:var(--accent-fill);color:#fff;border-color:var(--accent)}.foundations .rhythm-pad.is-recording small{color:#ffffffd9}.rhythm-presets{grid-template-columns:repeat(auto-fit,minmax(min(240px,100%),1fr));gap:12px;margin:16px 0;display:grid}.rhythm-presets article{border:1px solid var(--border);background:var(--surface-alt);border-radius:12px;flex-direction:column;padding:16px;display:flex}.rhythm-presets h5{color:var(--pattern-text);font-size:1rem}.rhythm-presets p{margin:8px 0 12px;font-size:.9rem}.foundations .rhythm-presets button{width:100%;margin-top:auto}@media (width<=600px){.foundations .rhythm-cell{min-height:34px;font-size:.6rem}.rhythm-row-label{flex-basis:44px;font-size:.7rem}}.song-config{flex-wrap:wrap;align-items:center;gap:12px;margin:20px 0;display:flex}.song-check{gap:8px}.song-about{border:1px solid var(--border);background:var(--surface-alt);border-radius:16px;padding:20px}.song-about h3{margin-bottom:2px}.song-credit{color:var(--text-mild);font-size:.9rem}.song-note{color:var(--text-mild);font-size:.85rem}.song-desk{border:1px solid var(--border);background:var(--accent-tint);border-radius:16px;margin:20px 0;padding:20px}.song-desk .listening-keyboard{margin-top:0}#song-status{min-height:2.4em;font-weight:600}.song-section{margin:24px 0}.song-section h4{font-size:1.1rem}.song-numerals{color:var(--pattern-text);letter-spacing:.04em;font-size:1.25rem;font-weight:700}.song-bars{grid-template-columns:repeat(auto-fill,minmax(min(120px,100%),1fr));gap:8px;margin:14px 0;display:grid}.song-bar{border:1px solid var(--border);background:var(--surface-alt);border-radius:12px;flex-direction:column;align-items:center;gap:2px;padding:12px 8px;display:flex}.song-bar strong{font-size:1.3rem}.song-bar span{color:var(--pattern-text);font-weight:600}.song-bar small{color:var(--text-mild);font-size:.72rem}.song-bar.is-playing{background:var(--accent-fill);border-color:var(--accent);color:#fff}.song-bar.is-playing span,.song-bar.is-playing small{color:#ffffffe6}.song-section-actions{flex-wrap:wrap;gap:8px;display:flex}.chord-diagram{width:86px;height:auto;color:var(--text);margin-top:8px}.chord-diagram-name{fill:currentColor;font-size:13px;font-weight:700}.cd-line{stroke:var(--text-faint);stroke-width:1.2px}.cd-nut{stroke:currentColor;stroke-width:4px}.cd-fret-number,.cd-mark{fill:currentColor;font-size:11px}.cd-open{fill:none;stroke:currentColor;stroke-width:1.5px}.cd-dot,.cd-barre{fill:var(--accent)}.song-bar.is-playing .chord-diagram{color:#fff}.song-bar.is-playing .cd-dot,.song-bar.is-playing .cd-barre{fill:#fff}.sightread-config{flex-wrap:wrap;align-items:center;gap:12px;margin:20px 0;display:flex}.sightread-check{gap:8px}.sightread-note{background:var(--surface-alt);border:1px solid var(--border);border-radius:12px;padding:12px 16px}.sightread-staff svg{min-height:240px}.sr-ledger{stroke:#28364a;stroke-width:1.6px}.sr-note{fill:#1d2738}.sr-note.is-done{fill:#0969da}.sr-note.is-next{fill:#9a6700;stroke:#8250df;stroke-width:2.5px}.sr-stem{stroke:#1d2738;stroke-width:1.8px}.sr-stem.is-done{stroke:#0969da}.sr-stem.is-next{stroke:#9a6700}.sr-flag{fill:none;stroke:#1d2738;stroke-width:3px}.sr-hollow{fill:#fff}.sr-label{fill:#5d6880}.sr-label.is-next{fill:#9a6700;font-weight:700}.sr-label.is-done{fill:#0969da}.sightread-keyboard{height:150px}.foundations .sightread-keyboard button{border-radius:0 0 5px 5px;justify-content:center;align-items:end;min-height:0;padding:0 0 8px;font-size:.65rem;display:flex;position:absolute;top:0}.foundations .sightread-keyboard .listening-white{color:#222;background:#fff;height:150px}.foundations .sightread-keyboard .listening-black{color:#fff;z-index:1;background:#202532;height:92px}.foundations .sightread-keyboard .sounding{background:var(--accent-fill);color:#fff}.sightread-help{font-size:.9rem}@media (width<=600px){.sightread-keyboard,.foundations .sightread-keyboard .listening-white{height:120px}.foundations .sightread-keyboard .listening-black{height:74px;font-size:0}}.foundations .progression-check,.foundations .song-check,.foundations .sightread-check,.foundations .melody-check{flex-wrap:nowrap;align-items:center;gap:8px;display:flex}.foundations .progression-check input,.foundations .song-check input,.foundations .sightread-check input,.foundations .melody-check input{width:20px;height:20px;accent-color:var(--accent);flex:none}.melody-config,.melody-degrees{flex-wrap:wrap;align-items:center;gap:12px;margin:20px 0;display:flex}.melody-degrees select{flex:120px;min-width:0}.melody-grid{margin:16px 0}.melody-row{align-items:center;gap:8px;margin-bottom:3px;display:flex}.melody-row-label{color:var(--text-soft);flex:0 0 66px;font-size:.8rem;font-weight:600}.melody-cells{flex:auto;grid-template-columns:repeat(8,1fr);gap:3px;min-width:0;display:grid}.foundations .melody-cell{border:1px solid var(--border);border-radius:6px;min-width:0;min-height:44px;padding:0}.foundations .melody-cell.is-chord-tone{background:var(--accent-tint)}.foundations .melody-cell.is-passing{background:var(--surface-alt)}.foundations .melody-cell.is-on{background:var(--accent-fill);border-color:var(--accent);box-shadow:inset 0 0 0 2px var(--surface)}.foundations .melody-cell.is-on.is-passing{background:var(--melody-passing);border-color:var(--melody-passing)}.foundations .melody-cell.is-playing{outline:2px solid var(--pattern-text);outline-offset:1px}.melody-chord{min-height:28px;color:var(--pattern-text);justify-content:center;align-items:center;font-size:.8rem;font-weight:700;display:flex}.melody-chord.is-change{border-left:2px solid var(--accent)}.melody-legend{flex-wrap:wrap;align-items:center;gap:8px;font-size:.85rem;display:flex}.melody-swatch{border:1px solid var(--border);vertical-align:middle;border-radius:4px;width:18px;height:18px;display:inline-block}.melody-swatch.is-chord-tone{background:var(--accent-tint)}.melody-swatch.is-passing{background:var(--surface-alt)}.melody-swatch.is-on-tone{background:var(--accent-fill)}.melody-swatch.is-on-passing{background:var(--melody-passing)}.melody-keyboard{height:110px;margin:16px 0}.melody-keyboard .listening-white{height:110px}.melody-keyboard .listening-black{height:66px}@media (width<=600px){.melody-row-label{flex-basis:48px;font-size:.7rem}.melody-keyboard .listening-black{font-size:0}}.guided-progress{gap:6px;margin-bottom:16px;display:flex}.guided-pip{background:var(--border);border-radius:3px;flex:1 1 0;height:6px}.guided-pip.is-done{background:var(--correct-text)}.guided-pip.is-current{background:var(--accent-fill)}.guided-visual{color:var(--text-soft)}.guided-figure svg{max-height:240px}.guided-history{background:var(--surface-alt);border:1px solid var(--border);border-radius:12px;padding:12px 16px;font-size:.9rem}.guided-summary{margin:16px 0;padding-left:20px;line-height:1.8}.explore-config{flex-wrap:wrap;align-items:center;gap:12px;margin:20px 0;display:flex}.foundations .explore-check{flex-wrap:nowrap;align-items:center;gap:8px;display:flex}.foundations .explore-check input{width:20px;height:20px;accent-color:var(--accent);flex:none}.explore-readout{background:var(--accent-tint);border:1px solid var(--border);border-radius:12px;min-height:3em;padding:16px;font-size:1.05rem;font-weight:600}.explore-keyboard{height:160px;margin:16px 0}.foundations .explore-keyboard button{border-radius:0 0 5px 5px;justify-content:center;align-items:end;min-height:0;padding:0 0 8px;font-size:.6rem;display:flex;position:absolute;top:0}.foundations .explore-keyboard .listening-white{color:#222;background:#fff;height:160px}.foundations .explore-keyboard .listening-black{color:#fff;z-index:1;background:#202532;height:98px}.foundations .explore-keyboard .sounding{background:var(--accent-fill);color:#fff;box-shadow:inset 0 -6px #0550ae}.explore-detail{border:1px solid var(--border);background:var(--surface-alt);border-radius:12px;grid-template-columns:minmax(120px,auto) 1fr;gap:6px 16px;margin:20px 0;padding:16px;line-height:1.6;display:grid}.explore-detail dt{color:var(--text-soft);font-weight:700}.explore-detail dd{margin:0}.explore-chords{flex-wrap:wrap;gap:8px;margin:12px 0;display:flex}.explore-note{color:var(--text-mild);font-size:.85rem}@media (width<=600px){.explore-keyboard{height:120px}.foundations .explore-keyboard .listening-white{height:120px;font-size:0}.foundations .explore-keyboard .listening-black{height:74px;font-size:0}.explore-detail{grid-template-columns:1fr}}.circle-layout{grid-template-columns:minmax(280px,360px) 1fr;align-items:start;gap:24px;margin:20px 0;display:grid}.circle-figure{border:1px solid var(--border);background:var(--surface-alt);border-radius:16px;padding:12px}.circle-svg{width:100%;height:auto;display:block}.circle-ring{fill:none;stroke:var(--border);stroke-width:1.5px}.circle-slot{cursor:pointer}.circle-major,.circle-minor{fill:var(--surface);stroke:var(--border);stroke-width:1.5px;transition:fill .12s}.circle-slot:hover .circle-major,.circle-slot:hover .circle-minor{fill:var(--accent-tint-hover)}.circle-slot:focus-visible{outline:3px solid var(--accent);outline-offset:2px}.circle-major-text,.circle-minor-text{fill:var(--text);pointer-events:none;font-size:15px;font-weight:700}.circle-minor-text{fill:var(--text-mild);font-size:11px;font-weight:600}.circle-slot.is-tonic .circle-major{fill:var(--accent);stroke:var(--accent)}.circle-slot.is-tonic .circle-major-text{fill:#fff}.circle-slot.is-tonic .circle-minor{fill:var(--accent-tint-hover);stroke:var(--accent)}.circle-slot.is-dominant .circle-major,.circle-slot.is-subdominant .circle-major{fill:var(--accent-tint);stroke:var(--accent)}.circle-centre-title{fill:var(--text);font-size:14px;font-weight:700}.circle-centre-detail{fill:var(--text-mild);font-size:10.5px}.circle-centre-title,.circle-centre-detail{paint-order:stroke;stroke:var(--surface-alt);stroke-width:4px;stroke-linejoin:round}.circle-detail h3{margin-top:0}#circle-status{min-height:2.6em;font-weight:600}.circle-keyboard{height:110px;margin:16px 0}.circle-keyboard .listening-white{height:110px}.circle-keyboard .listening-black{height:66px}.circle-chords{flex-wrap:wrap;gap:8px;margin:12px 0;display:flex}.foundations .circle-chords .is-primary-chord{border-color:var(--accent);background:var(--accent-tint);font-weight:700}.circle-distance{grid-template-columns:repeat(auto-fit,minmax(min(96px,100%),1fr));gap:6px;margin:12px 0;display:grid}.circle-distance-cell{border:1px solid var(--border);text-align:center;font-variant-numeric:tabular-nums;border-radius:8px;padding:10px 8px;font-size:.85rem}.circle-distance-cell.is-steps-0{background:var(--accent-fill);border-color:var(--accent);color:#fff;font-weight:700}.circle-distance-cell.is-steps-1{background:var(--accent-tint-hover);border-color:var(--accent)}.circle-distance-cell.is-steps-2{background:var(--surface-alt)}.circle-distance-cell.is-steps-3{opacity:.65}@media (width<=760px){.circle-layout{grid-template-columns:1fr}}@media (width<=600px){.circle-keyboard .listening-black{font-size:0}}.keymap-config{flex-wrap:wrap;align-items:end;gap:16px;margin:20px 0;display:flex}.keymap-views{flex-wrap:wrap;gap:8px;display:flex}.keymap-summary{background:var(--accent-tint);border:1px solid var(--border);border-radius:12px;padding:14px 16px}.keymap-keyboard{height:110px;margin:16px 0}.keymap-keyboard .listening-white{height:110px}.keymap-keyboard .listening-black{height:66px}#keymap-status{min-height:2.4em;font-weight:600}.keymap-cards{grid-template-columns:repeat(auto-fit,minmax(min(230px,100%),1fr));gap:12px;margin:16px 0;display:grid}.keymap-cards article{border:1px solid var(--border);background:var(--surface-alt);border-radius:12px;flex-direction:column;padding:16px;display:flex}.keymap-cards h4{color:var(--pattern-text);font-size:1.1rem}.keymap-cards p{margin:8px 0;font-size:.9rem}.keymap-tones{color:var(--text);font-weight:700}.keymap-extra{color:var(--text-mild)}.foundations .keymap-cards button{width:100%;margin-top:8px}.foundations .keymap-cards article>button:first-of-type{margin-top:auto}@media (width<=600px){.keymap-keyboard .listening-black{font-size:0}}.metre-picker{flex-wrap:wrap;gap:8px;margin:16px 0;display:flex}.foundations .metre-picker button{font-variant-numeric:tabular-nums;min-width:68px;font-size:1.05rem;font-weight:700}.metre-card{border:1px solid var(--border);background:var(--accent-tint);border-radius:16px;align-items:center;gap:20px;margin:16px 0;padding:20px;display:flex}.metre-numerals{color:var(--pattern-text);font-variant-numeric:tabular-nums;flex-direction:column;align-items:center;font-size:2.6rem;font-weight:800;line-height:1;display:flex}.metre-card p{margin:6px 0}.metre-grid{grid-template-columns:repeat(8,1fr)}#rhythm-metre-status{min-height:1.8em;font-weight:600}@media (width<=600px){.metre-card{flex-direction:column;align-items:start;gap:12px}}.intervals-config{flex-wrap:wrap;align-items:end;gap:16px;margin:20px 0;display:flex}.intervals-modes{flex-wrap:wrap;gap:8px;display:flex}.intervals-note{background:var(--surface-alt);border:1px solid var(--border);border-radius:12px;padding:12px 16px}.intervals-staff svg{max-height:260px}.intervals-answers{grid-template-columns:repeat(auto-fit,minmax(min(260px,100%),1fr));gap:16px;margin:16px 0;display:grid}.intervals-answers fieldset{border:1px solid var(--border);border-radius:12px;min-width:0;padding:12px 16px 16px}.intervals-answers legend{color:var(--text-soft);text-transform:uppercase;letter-spacing:.06em;padding:0 6px;font-size:.85rem;font-weight:700}.intervals-choices{flex-wrap:wrap;gap:8px;display:flex}.foundations .intervals-choices button{min-width:72px}.foundations .intervals-choices button:disabled{opacity:.4;cursor:not-allowed}.sr-barline{stroke:#28364a;stroke-width:1.8px}.sr-barline.is-final{stroke-width:3.4px}.sr-metre{fill:#1d2738;font-weight:700}.notation-groups{flex-wrap:wrap;gap:8px;margin:20px 0 12px;display:flex}.notation-blurb{background:var(--accent-tint);border:1px solid var(--border);border-radius:12px;padding:12px 16px}.notation-cards{grid-template-columns:repeat(auto-fit,minmax(min(250px,100%),1fr));gap:12px;margin:16px 0;display:grid}.notation-cards article{border:1px solid var(--border);background:var(--surface-alt);border-radius:12px;flex-direction:column;padding:16px;display:flex}.notation-symbol{color:var(--pattern-text);margin-bottom:4px;font-size:2.2rem;line-height:1.1}.notation-cards h4{font-size:1.02rem}.notation-cards p{margin:8px 0;font-size:.9rem}.notation-piano{color:var(--text-mild)}.foundations .notation-cards button{width:100%;margin-top:auto}.notation-quiz-prompt{background:var(--surface-alt);border:1px solid var(--border);border-radius:12px;padding:14px 16px;font-weight:600}.sing-config{flex-wrap:wrap;align-items:end;gap:16px;margin:20px 0;display:flex}.sing-drills{flex-wrap:wrap;gap:8px;display:flex}.sing-task,.sing-prompt{background:var(--surface-alt);border:1px solid var(--border);border-radius:12px;padding:12px 16px}.sing-prompt{background:var(--accent-tint);font-size:1.05rem}.sing-staff svg{max-height:240px}.sing-meter{border:1px solid var(--border);background:var(--surface-alt);border-radius:12px;height:64px;margin:20px 0 8px;position:relative;overflow:hidden}.sing-zone{background:var(--accent-tint-hover);border-left:1px solid var(--accent);border-right:1px solid var(--accent);position:absolute;top:0;bottom:0}.sing-needle{background:var(--text-mild);border-radius:2px;width:4px;margin-left:-2px;transition:left 90ms linear;position:absolute;top:6px;bottom:22px;left:50%}.sing-needle.is-in-tune{background:var(--correct-text)}.sing-tick{color:var(--text-mild);font-size:.72rem;position:absolute;bottom:4px}.sing-tick.is-flat{left:8px}.sing-tick.is-centre{color:var(--pattern-text);font-weight:700;left:50%;transform:translate(-50%)}.sing-tick.is-sharp{right:8px}.sing-hold{background:var(--surface-alt);border:1px solid var(--border);border-radius:4px;height:8px;overflow:hidden}.sing-hold span{background:var(--correct-text);width:0;height:100%;transition:width 90ms linear;display:block}.sing-readout{font-variant-numeric:tabular-nums;min-height:2.2em;font-weight:600}.sing-help{color:var(--text-mild);font-size:.85rem}.scale-config{flex-wrap:wrap;align-items:end;gap:16px;margin:20px 0;display:flex}.scale-types{flex-wrap:wrap;gap:8px;display:flex}.scale-card{border:1px solid var(--border);background:var(--surface-alt);border-radius:16px;padding:20px}.scale-card h2{margin-top:0}.scale-degree-caption{color:var(--text-mild);margin:10px 0 4px;font-size:.8rem;font-weight:650}.scale-sequence{width:100%;max-width:640px}.scale-degrees{color:var(--pattern-text);letter-spacing:.04em;font-size:1.05rem;font-weight:700}.scale-notes{align-items:flex-end;gap:8px 0;width:100%;margin:4px 0 10px;display:grid}.scale-notes.is-chromatic{grid-template-columns:repeat(auto-fill,minmax(42px,1fr))}.scale-note-pair{justify-self:center;justify-items:center;gap:4px;width:calc(100% - 8px);min-width:0;display:grid}.scale-degree-label{min-height:1.2em;color:var(--pattern-text);font-size:.85rem;font-weight:800;line-height:1.2}.scale-gap-caption{color:var(--text-mild);margin:4px 0;font-size:.75rem;font-weight:650}.scale-note-name{border:1px solid var(--border);text-align:center;border-radius:8px;width:100%;min-width:0;padding:5px 6px;font-size:.95rem;font-weight:700}.scale-note-in{background:var(--surface);color:var(--text)}.scale-note-out{background:var(--accent-fill);border-color:var(--accent);color:#fff}.scale-gaps{color:var(--text-mild);column-gap:0;margin:0;font-size:.75rem;line-height:1.3;display:grid}.scale-gaps span{text-align:center;hyphens:auto;overflow-wrap:anywhere}.scale-keyboard-caption{color:var(--text-mild);margin:12px 0 0;font-size:.75rem;font-weight:650}.scale-keyboard{width:min(100%,640px);height:110px;margin:16px 0}.scale-keyboard .scale-tone.listening-white{background:var(--accent-tint);border:2px solid var(--accent);color:var(--text)}.scale-keyboard .scale-tone.listening-black{background:var(--accent-fill);border-color:var(--accent);color:#fff}.scale-keyboard .listening-white.sounding,.scale-keyboard .listening-black.sounding{background:var(--accent-fill);border-color:var(--accent);color:#fff;box-shadow:inset 0 -6px var(--accent)}.scale-keyboard .listening-white{height:110px}.scale-keyboard .listening-black{height:66px}#scale-status{min-height:2.2em;font-weight:600}.scale-fingering{font-variant-numeric:tabular-nums;grid-template-columns:minmax(96px,auto) 1fr;gap:6px 16px;margin:12px 0;display:grid}.scale-fingering dt{color:var(--text-soft);font-weight:700}.scale-fingering dd{margin:0}.scale-note{color:var(--text-mild);font-size:.9rem}.scale-compare{grid-template-columns:repeat(auto-fit,minmax(min(240px,100%),1fr));gap:12px;margin:16px 0;display:grid}.scale-compare article{border:1px solid var(--border);background:var(--surface-alt);border-radius:12px;flex-direction:column;padding:16px;display:flex}.scale-compare article.is-current{border-color:var(--accent);background:var(--accent-tint)}.scale-compare h4{font-size:1rem}.foundations .scale-compare button{width:100%;margin-top:auto}@media (width<=600px){.scale-keyboard .listening-black{font-size:0}}.sr-beam{stroke:#1d2738;stroke-width:5px;stroke-linecap:butt}.sr-beam.is-done{stroke:#0969da}.sr-beam.is-next{stroke:#9a6700}.sr-note.is-missed,.sr-stem.is-missed,.sr-beam.is-missed{fill:#bc4c00;stroke:#bc4c00}.sr-stem.is-missed,.sr-beam.is-missed{fill:none}.sr-label.is-missed{fill:#bc4c00}.sightread-countin{min-height:1.6em;color:var(--pattern-text);font-weight:700}.sr-dot{fill:#1d2738}.sr-dot.is-done{fill:#0969da}.sr-dot.is-next{fill:#9a6700}.sr-dot.is-missed{fill:#bc4c00}.sr-tie{fill:none;stroke:#1d2738;stroke-width:2px}.sr-tie.is-done{stroke:#0969da}.sr-tie.is-next{stroke:#9a6700}.sr-tie.is-missed{stroke:#bc4c00}.foundations .progression-slot[aria-pressed=true] strong,.foundations .progression-slot[aria-pressed=true] small,.foundations .curriculum-previous button.primary,.foundations .progression-slot[aria-pressed=true] .chord-diagram{color:#fff}.foundations .progression-slot[aria-pressed=true] .cd-dot,.foundations .progression-slot[aria-pressed=true] .cd-barre{fill:#fff}.foundations .progression-slot[aria-pressed=true] .cd-line{stroke:#fff9}.progression-slot .chord-diagram{width:78px;margin-top:8px}.song-capo-row{grid-template-columns:repeat(auto-fit,minmax(min(78px,100%),1fr));gap:6px;margin:12px 0;display:grid}.song-capo-cell{border:1px solid var(--border);background:var(--surface-alt);border-radius:10px;flex-direction:column;align-items:center;gap:2px;padding:10px 6px;font-size:.8rem;display:flex}.song-capo-cell small{color:var(--pattern-text);font-size:1rem;font-weight:700}.song-capo-cell.is-match{background:var(--accent-fill);border-color:var(--accent);color:#fff}.song-capo-cell.is-match small{color:#fff}.sr-triplet{fill:#1d2738;font-style:italic;font-weight:700}.pitch-slider-label{margin:20px 0 8px;display:block}#pitch-slider{width:100%;max-width:none;accent-color:var(--accent);margin-top:8px;display:block}.pitch-readout{background:var(--accent-tint);border:1px solid var(--border);border-radius:12px;min-height:3.2em;padding:14px 16px;font-size:1.05rem}.pitch-octaves{grid-template-columns:repeat(auto-fit,minmax(min(130px,100%),1fr));gap:8px;margin:16px 0;display:grid}.foundations .pitch-octave{font-variant-numeric:tabular-nums}.pitch-note{color:var(--text-mild);font-size:.9rem}.pitch-ratios{grid-template-columns:repeat(auto-fit,minmax(min(240px,100%),1fr));gap:12px;margin:16px 0;display:grid}.pitch-ratios article{border:1px solid var(--border);background:var(--surface-alt);border-radius:12px;flex-direction:column;padding:16px;display:flex}.pitch-ratios h4{font-size:1.05rem}.pitch-ratios p{margin:8px 0;font-size:.9rem}.pitch-ratio{color:var(--pattern-text);font-variant-numeric:tabular-nums;font-weight:700}.foundations .pitch-ratios button{width:100%;margin-top:auto}.written-check{align-items:flex-start;gap:.5rem;margin-block:.4rem;display:flex}.foundations .written-check input{min-width:20px;min-height:20px;margin-top:.15rem}.written-rubric textarea{width:100%;font:inherit;margin-top:.4rem;display:block}@media print{.written-practice>:not(.written-rubrics){display:none}}.written-practice{max-width:880px;color:var(--text);gap:16px;margin:4px auto 28px;font-family:inherit;display:grid}.foundations h2.written-settings-heading{letter-spacing:0;margin:0 0 10px;font-size:1.05rem}.written-settings{border:1px solid var(--border);background:var(--surface-alt);border-radius:16px;padding:10px 14px}.written-practice .written-settings-heading{color:var(--text-mild);letter-spacing:.08em;text-transform:uppercase;margin:0 0 10px;font-size:.72rem;font-weight:750}.written-pickers{grid-template-columns:repeat(auto-fit,minmax(min(220px,100%),1fr));gap:12px;display:grid}.written-practice .written-pickers>label{min-width:0;color:var(--text-soft);gap:7px;margin:0;font-size:.8rem;font-weight:700;display:grid}.written-practice select{border:1px solid var(--border);background:var(--surface);width:100%;min-height:44px;color:var(--text);font:inherit;border-radius:10px;padding:9px 12px;font-size:.94rem;font-weight:600;box-shadow:0 1px 2px #141d3c0a}.written-teaching{border:1px solid var(--border);background:var(--surface);border-radius:15px;margin:0;padding:0;box-shadow:0 3px 12px #141d3c09}.written-teaching summary{justify-content:space-between;align-items:center;gap:12px;min-height:66px;padding:14px 18px;list-style:none;display:flex}.written-teaching summary::-webkit-details-marker{display:none}.written-teaching summary:after{border:1px solid var(--border);width:30px;height:30px;color:var(--accent-strong-text);content:"+";border-radius:50%;flex:0 0 30px;place-items:center;font-size:1.1rem;line-height:1;display:grid}.written-teaching[open] summary:after{content:"−"}.written-teaching-kicker,.written-teaching-label{display:block}.written-teaching-kicker{color:var(--accent-strong-text);letter-spacing:.08em;text-transform:uppercase;margin-bottom:3px;font-size:.67rem;font-weight:750}.written-teaching-label{color:var(--text);font-size:.94rem;font-weight:700}.written-teaching-body{border-top:1px solid var(--border);padding:0 18px 18px}.written-teaching-body p{max-width:74ch;margin:13px 0 0;line-height:1.65}.written-score-card{color:#1d2738;background:#fdfcf9;border:1px solid #d8d2c6;border-radius:14px;min-width:0;max-width:100%;margin:14px 0;padding:clamp(12px,2.2vw,20px);overflow-x:auto;box-shadow:inset 0 0 0 4px #ffffffad,0 5px 16px #1c25400f}.written-score-card .written-score-caption{color:#526078;letter-spacing:.09em;text-transform:uppercase;margin:0 0 10px;font-family:inherit;font-size:.68rem;font-weight:750}.written-score{width:100%;min-width:320px;height:auto;max-height:min(240px,30vh);display:block}.written-question{border:1px solid var(--border);background:var(--surface);border-radius:20px;min-width:0;padding:clamp(16px,3vw,28px);box-shadow:0 10px 28px #1c254013}.written-question-meta{grid-template-columns:auto minmax(100px,1fr);align-items:center;gap:12px;margin-bottom:18px;display:grid}.written-question .written-counter{border:1px solid color-mix(in srgb, var(--accent) 24%, var(--border));background:var(--accent-tint);width:fit-content;color:var(--accent-strong-text);font-variant-numeric:tabular-nums;letter-spacing:.04em;white-space:nowrap;border-radius:999px;margin:0;padding:6px 10px;font-size:.72rem;font-weight:800}.written-step-meter{background:var(--surface-alt);border-radius:999px;height:6px;overflow:hidden}.written-step-fill{border-radius:inherit;background:linear-gradient(90deg, var(--accent-fill), color-mix(in srgb, var(--accent) 64%, var(--surface)));height:100%;transition:width .22s;display:block}.written-question .written-question-topic{color:var(--text-mild);letter-spacing:.08em;text-transform:uppercase;margin:0 0 7px;font-size:.72rem;font-weight:750}.foundations .written-question>h2{max-width:720px;color:var(--text);letter-spacing:-.025em;margin:0 0 18px;font-family:inherit;font-size:clamp(1.35rem,3vw,1.85rem);font-weight:650;line-height:1.25}.written-question .written-score-card{margin:18px 0}.written-practice fieldset{border:1px solid var(--border);background:var(--surface-alt);border-radius:13px;min-width:0;margin:0;padding:14px}.written-practice legend{color:var(--text);padding:0 5px;font-size:.89rem;font-weight:750;line-height:1.35}.written-answer-form{gap:10px;margin-top:16px;display:grid}.written-answer-field>select{margin-top:3px;display:block}.written-practice .written-answer-field>select:focus-visible{outline:3px solid color-mix(in srgb, var(--accent) 45%, transparent);outline-offset:2px}.written-options{grid-template-columns:repeat(auto-fit,minmax(min(100%,330px),1fr));gap:10px;margin-top:12px;display:grid}.written-options .written-score-card{margin:0;padding:10px}.written-options .written-score{min-width:260px}.written-practice .written-actions{border-top:1px solid var(--border);gap:9px;margin:16px 0 0;padding-top:15px}.written-practice .written-actions button{border-radius:11px;min-height:44px;font-size:.86rem;font-weight:700}.written-practice .written-actions button.primary{min-width:145px;box-shadow:0 5px 12px color-mix(in srgb, var(--accent) 22%, transparent)}.written-practice .written-feedback{border:1px solid color-mix(in srgb, var(--accent) 26%, var(--border));border-left:4px solid var(--accent);background:var(--surface-alt);min-height:0;color:var(--text-soft);border-radius:12px;align-items:center;margin:12px 0 0;padding:12px 14px;font-size:.9rem}.written-practice .written-feedback:before{background:var(--accent-fill);color:#fff;border:0;border-radius:50%;flex-basis:25px;place-items:center;width:25px;height:25px;font-size:.75rem;line-height:1;display:grid}.written-practice .written-feedback.success{border-color:var(--correct-text);background:var(--correct-bg);color:var(--correct-text);border-left-width:4px}.written-practice .written-feedback.success:before{background:var(--correct-text)}.written-question-footer{border-top:1px solid var(--border);justify-content:space-between;align-items:center;gap:12px;margin-top:14px;padding-top:12px;display:flex}.written-question-footer .written-progress-note{color:var(--text-mild);margin:0;font-size:.76rem;line-height:1.45}.written-practice .written-review-button{min-height:38px;color:var(--accent-strong-text);background:0 0;border-color:#0000;flex:none;padding:7px 11px;font-size:.78rem;font-weight:700}.written-report{margin:10px 0 0;padding:0;list-style:none}.written-report li{background:var(--incorrect-bg);color:var(--incorrect-text);border-radius:9px;margin-top:6px;padding:9px 12px;font-size:.86rem}.written-report .written-warning{background:var(--prompt-bg);color:var(--text-soft)}.written-rubrics{gap:14px;display:grid}.written-rubric{border:1px solid var(--border);background:var(--surface);border-radius:18px;margin:0;padding:clamp(16px,3vw,24px)}.written-rubric h3{margin:0 0 8px;font-size:1.25rem}.written-rubric .written-score-card{margin-block:12px}.written-reference{border-top:1px solid var(--border);grid-template-columns:minmax(95px,.7fr) minmax(0,2fr);gap:8px 14px;margin-top:14px;padding-top:12px;font-size:.88rem;display:grid}.written-reference dt{color:var(--text);font-weight:750}.written-reference dd{color:var(--text-soft);margin:0}@media (width<=600px){.written-pickers{grid-template-columns:1fr}.written-masthead:after{opacity:.7;width:55%;right:-20%}.written-question-meta{grid-template-columns:1fr;gap:10px}.written-question-footer{flex-direction:column;align-items:flex-start}.written-practice .written-actions button{flex:auto}}.foundation-staff svg{max-height:min(320px,40vh)}.foundation-actions{margin:14px 0}.foundations .curriculum-grades button{align-items:center;min-height:44px}.foundation-answers.letter-answers{grid-template-columns:repeat(7,minmax(0,1fr));gap:clamp(6px,1.2vw,12px);max-width:760px;margin-inline:auto;display:grid}.foundations .letter-answers>button[data-letter]{touch-action:manipulation;justify-content:center;align-items:center;min-height:clamp(52px,7vw,64px);padding:0;font-family:inherit;font-size:clamp(1.15rem,2.4vw,1.45rem);font-weight:700;line-height:1;display:flex}.letter-answers>:not([data-letter]){grid-column:1/-1;justify-self:start}.written-choices{grid-template-columns:repeat(auto-fill,minmax(min(64px,100%),1fr));gap:8px;margin:8px 0 4px;display:grid}.written-choices.is-long{grid-template-columns:repeat(auto-fill,minmax(min(220px,100%),1fr))}.written-choices.is-letters{grid-template-columns:repeat(7,minmax(0,1fr));max-width:560px;margin-inline:auto}.written-choices.is-accidentals,.written-choices.is-octaves{grid-template-columns:repeat(auto-fill,minmax(56px,72px))}.foundations .written-choices button{touch-action:manipulation;justify-content:center;align-items:center;min-height:48px;padding:8px 10px;font-weight:600;line-height:1.25;display:flex}.foundations .written-choices.is-long button{text-align:left;justify-content:flex-start}.foundations .written-choices.is-letters button,.foundations .written-choices.is-accidentals button{font-family:inherit;font-size:1.2rem}.written-pitch-readout{min-height:1.5em;margin:4px 0 0;font-size:.9rem}.written-choices.written-pills{flex-wrap:wrap;gap:6px;margin:0 0 8px;display:flex}.foundations .written-choices.written-pills button{white-space:nowrap;border-radius:999px;flex:none;min-height:38px;padding:6px 14px;font-size:.9rem}.foundations label:has(>input[type=checkbox]){align-items:center;gap:8px;min-height:40px;display:inline-flex}.foundations label>input[type=checkbox]{width:20px;height:20px;accent-color:var(--accent);margin:0}select.is-pillified.is-pillified{clip:rect(0 0 0 0);white-space:nowrap;opacity:0;pointer-events:none;width:1px;min-width:0;height:1px;padding:0;position:absolute;overflow:hidden}.select-pills{flex-wrap:wrap;gap:6px;display:flex}.select-pills button{border:1px solid var(--border);background:var(--surface);min-height:44px;color:var(--text);font:inherit;cursor:pointer;touch-action:manipulation;border-radius:999px;padding:6px 12px;font-size:.85rem;font-weight:600}.select-pills button:hover{border-color:var(--accent)}.select-pills button[aria-pressed=true]{background:var(--accent-fill);border-color:var(--accent-fill);color:#fff}.select-pills button:focus-visible{outline:3px solid var(--accent);outline-offset:2px}@media (width>=900px){.foundation-settings{gap:6px;padding:6px 0 2px;display:grid}.foundations .foundation-settings>label:not([hidden]){align-items:center;gap:10px;display:flex}.foundation-response{align-items:center;gap:12px;display:flex}.foundation-response>.foundation-feedback{flex:auto;margin:0}.foundation-response>.foundation-actions{flex:none;margin:0}}@media (width>=1000px){.written-question:has(>.written-score-card){grid-template-columns:minmax(0,1.25fr) minmax(260px,1fr);align-items:start;column-gap:20px;display:grid}.written-question:has(>.written-score-card)>*{grid-column:1/-1}.written-question:has(>.written-score-card)>.written-score-card:not(.written-preview){grid-area:3/1;margin:0}.written-question:has(>.written-score-card)>.written-answer-form{grid-area:3/2}.written-question:has(>.written-score-card) .written-choices:not(.is-long,.is-letters){grid-template-columns:repeat(auto-fill,minmax(54px,1fr))}.written-question:has(>.written-score-card) .written-choices.is-letters{grid-template-columns:repeat(4,minmax(0,1fr))}.written-question{padding:18px 20px}}@media (prefers-reduced-motion:reduce){.written-step-fill{transition:none}}.sightread-countin:empty{display:none}body{font-size:1rem;line-height:1.55}button,input,select,textarea{font-family:inherit}input[type=checkbox],input[type=radio],input[type=range]{accent-color:var(--accent)}button{touch-action:manipulation;min-height:44px}:focus-visible{outline:3px solid var(--accent);outline-offset:3px}.foundations label:has(>input[type=checkbox]){min-height:44px}.curriculum-sources{font-size:.875rem}.curriculum-topic p{font-size:.95rem}.coverage-label,.curriculum-grades span{font-size:.75rem}.curriculum-status{font-size:.8rem}.note-btn,.modifier-btn{min-width:44px;min-height:44px}@media (width<=600px){.note-btn,.modifier-btn{width:44px;height:44px}}html{scroll-behavior:smooth;overflow-x:hidden}body{background:radial-gradient(ellipse 720px 430px at 17% -4%, var(--bg-glow), transparent 72%), radial-gradient(ellipse 560px 340px at 90% 0%, color-mix(in srgb, var(--violet) 5%, transparent), transparent 78%), var(--bg);color:var(--ink);-webkit-font-smoothing:antialiased;text-rendering:optimizelegibility;align-items:stretch;padding:0}.container{width:100%;max-width:1440px;min-height:100vh;box-shadow:none;background:0 0;border-radius:0;padding:clamp(16px,2.2vw,30px)}.trainer-panel,.foundations,#foundation-content{min-width:0;max-width:100%}:where(h1,h2,h3,h4,h5,h6){color:var(--ink);font-family:var(--font-display);letter-spacing:-.03em;text-wrap:balance;font-weight:850;line-height:1.12}.foundations h2{margin:12px 0;font-size:clamp(1.65rem,3.6vw,2.4rem)}.foundations h3{margin:18px 0 10px;font-size:clamp(1.15rem,2.4vw,1.55rem)}.foundations h4{font-size:1.08rem}.eyebrow,.foundations .eyebrow{color:var(--pink);font-family:var(--font-hand);letter-spacing:0;text-transform:none;font-size:1.45rem;font-weight:700;line-height:1}#foundation-content button:not(:where(.mini-white,.mini-black,.listening-white,.listening-black,.white-key,.black-key)),.trainer-panel button,.action-btn,.mode-btn,.note-btn,.modifier-btn,.quality-btn,.inversion-btn,.random-btn,.scale-type-btn,.hand-btn,.staff-notes-btn,.theory-accordion-toggle{border:1px solid var(--line);border-radius:var(--radius-button);background:var(--surface);min-height:44px;color:var(--ink);font:inherit;cursor:pointer;font-weight:800;transition:background-color .14s,border-color .14s,box-shadow .14s,transform .14s;box-shadow:0 1px #1b1a2e0a}#foundation-content button:not(:where(.mini-white,.mini-black,.listening-white,.listening-black,.white-key,.black-key)):hover:not(:disabled),.trainer-panel button:hover:not(:disabled),.action-btn:hover:not(:disabled),.mode-btn:hover:not(:disabled),.note-btn:hover:not(:disabled),.modifier-btn:hover:not(:disabled),.quality-btn:hover:not(:disabled),.inversion-btn:hover:not(:disabled),.random-btn:hover:not(:disabled),.scale-type-btn:hover:not(:disabled),.hand-btn:hover:not(:disabled),.staff-notes-btn:hover:not(:disabled),.theory-accordion-toggle:hover:not(:disabled){border-color:var(--line-strong);background:var(--surface-2);transform:translateY(-1px)}#foundation-content button:not(:where(.mini-white,.mini-black,.listening-white,.listening-black,.white-key,.black-key)):active:not(:disabled),.trainer-panel button:active:not(:disabled),.action-btn:active:not(:disabled),.mode-btn:active:not(:disabled),.note-btn:active:not(:disabled),.modifier-btn:active:not(:disabled),.quality-btn:active:not(:disabled),.inversion-btn:active:not(:disabled),.random-btn:active:not(:disabled),.scale-type-btn:active:not(:disabled),.hand-btn:active:not(:disabled),.staff-notes-btn:active:not(:disabled),.theory-accordion-toggle:active:not(:disabled){transform:translateY(1px)}#foundation-content button.primary,.trainer-panel button.primary,.action-btn.primary,.foundations .curriculum-previous button.primary,.written-practice .written-actions button.primary{border:1px solid var(--cta-edge);border-radius:var(--radius-pill);background:var(--grad-cta);min-height:52px;color:var(--cta-ink);box-shadow:0 4px 0 var(--cta-edge), 0 14px 24px -12px #e59400bf;padding:0 24px;font-weight:900}#foundation-content button.primary:hover:not(:disabled),.trainer-panel button.primary:hover:not(:disabled),.action-btn.primary:hover:not(:disabled),.foundations .curriculum-previous button.primary:hover:not(:disabled),.written-practice .written-actions button.primary:hover:not(:disabled){border-color:var(--cta-edge);background:var(--grad-cta);color:var(--cta-ink);filter:saturate(1.08)brightness(1.02);box-shadow:0 5px 0 var(--cta-edge), 0 16px 26px -12px #e59400cc;transform:translateY(-1px)}#foundation-content button.primary:active:not(:disabled),.trainer-panel button.primary:active:not(:disabled),.action-btn.primary:active:not(:disabled),.foundations .curriculum-previous button.primary:active:not(:disabled),.written-practice .written-actions button.primary:active:not(:disabled){box-shadow:0 2px 0 var(--cta-edge), 0 8px 14px -10px #e59400bf;transform:translateY(2px)}.action-btn.secondary,.ghost,.foundation-actions button:not(.primary),.written-practice .written-actions button:not(.primary){background:var(--surface);color:var(--ink-2);border:1px solid var(--line);box-shadow:none}.mode-btn.active,.note-mode-btn.active,.note-btn.selected,.modifier-btn.active,.quality-btn.active,.inversion-btn.active,.scale-type-btn.active,.hand-btn.active,.staff-notes-btn.active,#foundation-content button:not(:where(.mini-white,.mini-black,.listening-white,.listening-black,.white-key,.black-key))[aria-pressed=true]:not(.primary),.trainer-panel button[aria-pressed=true]:not(.primary),.select-pills button[aria-pressed=true],.lozenge-options button[aria-pressed=true]{border-color:var(--accent-fill);background:var(--accent-fill);color:#fff;box-shadow:0 4px 0 color-mix(in srgb, var(--accent-fill) 72%, #22104f)}#foundation-content button:not(:where(.mini-white,.mini-black,.listening-white,.listening-black,.white-key,.black-key)):disabled,.trainer-panel button:disabled,button:disabled{cursor:not-allowed;opacity:.5}select,input[type=text],input[type=number],textarea{border:1px solid var(--line);border-radius:var(--radius-button);background:var(--surface);min-height:44px;color:var(--ink);font:inherit}#foundation-content select,.foundations select{padding:8px 12px}.foundation-intro,.foundation-lessons article,.learning-paths button,.harmony-builder,.harmony-functions,.listening-desk,.ear-question,.ear-reference article,.progression-summary,.progression-presets article,.notation-cards article,.metre-card,.scale-card,.scale-compare article,.keymap-cards article,.curriculum-detail,.curriculum-topic,.written-question,.written-rubric,.explore-detail,.circle-detail,.pitch-ratios article,.song-about,.song-desk,.sing-task,.sing-prompt,.guided-history,.guided-summary,.further-practice{border:1px solid var(--line);border-radius:var(--radius-card);background:var(--surface);box-shadow:var(--shadow-card)}.foundation-intro{max-width:820px;padding:clamp(16px,2.5vw,26px)}.foundation-lessons{gap:14px}.foundation-lessons article,.progression-presets article,.notation-cards article,.ear-reference article,.keymap-cards article,.pitch-ratios article{padding:18px}.foundation-lessons article p+p,.foundation-lessons article dl+p{margin-top:10px}.foundation-lessons article dd{color:var(--ink-2)}.learning-paths button{text-align:left;align-content:start;gap:4px;padding:16px;line-height:1.4;display:grid}.learning-paths button strong{color:var(--ink);font-weight:900}.learning-paths button span{color:var(--ink-2);font-size:.9rem}.progression-summary,.explore-detail,.circle-detail,.pitch-ratios article,.written-rubric{box-shadow:none}.foundation-progress,.scale-note,.explore-note,.sing-help,.written-progress-note,.notation-piano{color:var(--ink-3);font-size:.86rem}.staff-wrapper,.foundation-staff,.stave-card,.intervals-staff,.sightread-staff,.sing-staff,.guided-figure{border-radius:var(--radius-card);background:var(--stave-paper);color:var(--stave-ink);border:1px solid #e3e0ee;position:relative;overflow:hidden;box-shadow:0 16px 36px -22px #281e5a73}.staff-wrapper{padding:8px 14px}.foundation-staff{margin:14px 0}.foundation-staff svg,.staff-wrapper svg,.stave-card svg,.intervals-staff svg,.sightread-staff svg,.sing-staff svg,.guided-figure svg{width:100%;max-width:none;display:block}.foundation-staff line,.foundation-staff .staff-line,.foundation-staff .ledger-line,.staff-wrapper line,.staff-wrapper .staff-line,.staff-wrapper .ledger-line,.stave-card line{stroke:var(--stave-line)}.foundation-staff text,.foundation-staff .clef,.foundation-staff .stave-label,.staff-wrapper text,.staff-wrapper .clef,.stave-card text{fill:var(--stave-ink)}.foundation-staff .stave-note,.foundation-staff .foundation-note,.stave-card .stave-note{fill:var(--stave-note);stroke:var(--stave-ink)}.foundation-staff .stave-accidental,.foundation-staff .interactive-accidental,.foundation-staff .stave-label{fill:var(--stave-note)}.foundation-staff.is-correct,.stave-card.ok{border-color:var(--teal);box-shadow:0 0 0 3px var(--teal), 0 16px 36px -22px #14786499}.foundation-staff.is-correct .stave-note,.foundation-staff.is-correct .foundation-note,.stave-card.ok .stave-note{fill:var(--stave-note-correct)}.foundation-answers,.ear-options,.drill-options,.guided-options,.relative-options,.intervals-choices,.written-choices,.notation-quiz-options{gap:10px}.letter-answers,.written-choices.is-letters{max-width:760px}#foundation-content .foundation-answers>button:not(.primary),#foundation-content .letter-answers>button[data-letter],#foundation-content .ear-options>button,#foundation-content .drill-options>button,#foundation-content .guided-options>button,#foundation-content .relative-options>button,#foundation-content .intervals-choices>button,#foundation-content .written-choices>button,#foundation-content .notation-quiz-options>button,#foundation-content #find-home-options>button{border:1px solid var(--key-edge);min-height:clamp(54px,7vw,72px);color:var(--key-ink);box-shadow:0 5px 0 var(--key-edge), 0 12px 18px -14px #1e145080;background:linear-gradient(#fff 0%,#fbfaff 72%,#f1eff8 100%);border-radius:10px 10px 17px 17px;justify-content:center;align-items:center;padding:10px 16px;font-size:1.08rem;font-weight:900;display:inline-flex;position:relative}#foundation-content .foundation-answers>button:not(.primary):hover:not(:disabled),#foundation-content .letter-answers>button[data-letter]:hover:not(:disabled),#foundation-content .ear-options>button:hover:not(:disabled),#foundation-content .drill-options>button:hover:not(:disabled),#foundation-content .guided-options>button:hover:not(:disabled),#foundation-content .relative-options>button:hover:not(:disabled),#foundation-content .intervals-choices>button:hover:not(:disabled),#foundation-content .written-choices>button:hover:not(:disabled),#foundation-content .notation-quiz-options>button:hover:not(:disabled),#foundation-content #find-home-options>button:hover:not(:disabled){box-shadow:0 6px 0 var(--key-edge), 0 14px 20px -14px #1e14508c;background:linear-gradient(#fff 0%,#f7f4ff 72%,#ede8f8 100%);border-color:#bdb6d2;transform:translateY(-1px)}#foundation-content .foundation-answers>button:not(.primary):active:not(:disabled),#foundation-content .letter-answers>button[data-letter]:active:not(:disabled),#foundation-content .ear-options>button:active:not(:disabled),#foundation-content .drill-options>button:active:not(:disabled),#foundation-content .guided-options>button:active:not(:disabled),#foundation-content .relative-options>button:active:not(:disabled),#foundation-content .intervals-choices>button:active:not(:disabled),#foundation-content .written-choices>button:active:not(:disabled),#foundation-content .notation-quiz-options>button:active:not(:disabled),#foundation-content #find-home-options>button:active:not(:disabled){box-shadow:0 2px 0 var(--key-edge);transform:translateY(3px)}#foundation-content .foundation-answers>button[aria-pressed=true]:not(.primary),#foundation-content .letter-answers>button[aria-pressed=true],#foundation-content .ear-options>button[aria-pressed=true],#foundation-content .drill-options>button[aria-pressed=true],#foundation-content .guided-options>button[aria-pressed=true],#foundation-content .relative-options>button[aria-pressed=true],#foundation-content .intervals-choices>button[aria-pressed=true],#foundation-content .written-choices>button[aria-pressed=true],#foundation-content .notation-quiz-options>button[aria-pressed=true],#foundation-content #find-home-options>button[aria-pressed=true]{border-color:var(--accent-fill);background:var(--accent-fill);color:#fff;box-shadow:0 5px 0 color-mix(in srgb, var(--accent-fill) 72%, #22104f), 0 12px 18px -14px #3c2496a6}#foundation-content .foundation-answers>button.is-correct,#foundation-content .letter-answers>button.is-correct,#foundation-content .ear-options>button.ear-correct,#foundation-content .drill-options>button.is-correct,#foundation-content .guided-options>button.is-correct,#foundation-content .relative-options>button.is-correct,#foundation-content .intervals-choices>button.is-correct,#foundation-content .written-choices>button.is-correct,#foundation-content .notation-quiz-options>button.is-correct,#foundation-content #find-home-options>button.is-correct{border-color:var(--key-correct);color:#fff;box-shadow:0 5px 0 var(--key-correct-edge), 0 14px 20px -14px #0b8a77cc;background:linear-gradient(#4fe6c8 0%,#14a88f 100%)}#foundation-content .foundation-answers>button.is-incorrect,#foundation-content .letter-answers>button.is-incorrect,#foundation-content .ear-options>button.ear-wrong,#foundation-content .drill-options>button.is-incorrect,#foundation-content .guided-options>button.is-incorrect,#foundation-content .relative-options>button.is-incorrect,#foundation-content .intervals-choices>button.is-incorrect,#foundation-content .written-choices>button.is-incorrect,#foundation-content .notation-quiz-options>button.is-incorrect,#foundation-content #find-home-options>button.is-incorrect{color:#8a2e05;box-shadow:0 5px 0 var(--key-incorrect-edge), 0 12px 18px -14px #c2410c8c;background:linear-gradient(#ffe2d0 0%,#ffc6a5 100%);border-color:#f09b6a}.foundation-result-mark{width:26px;height:26px;color:var(--key-correct);background:#ffffffeb;border-radius:50%;place-items:center;margin:0;font-size:.9rem;font-weight:900;display:grid;position:absolute;top:8px;right:8px}.is-incorrect .foundation-result-mark,.ear-wrong .foundation-result-mark{color:var(--key-incorrect)}.foundation-answers.letter-answers>button[data-letter],.written-choices.is-letters>button{padding-inline:0;font-size:clamp(1.2rem,2.4vw,1.55rem)}#foundation-content .written-choices.is-long>button{text-align:left;justify-content:flex-start;min-height:52px}#foundation-content .written-choices.written-pills>button{border-radius:var(--radius-pill);background:var(--surface);min-height:44px;color:var(--ink);box-shadow:none;padding:8px 14px}#foundation-content .written-choices.written-pills>button[aria-pressed=true]{border-color:var(--accent-fill);background:var(--accent-fill);color:#fff;box-shadow:0 3px 0 color-mix(in srgb, var(--accent-fill) 72%, #22104f)}.foundation-feedback,.written-practice .written-feedback,.message{background:var(--surface-2);min-height:0;color:var(--ink);border:1px solid #0000;border-radius:18px;grid-template-columns:34px minmax(0,1fr);align-items:center;gap:12px;margin:14px 0;padding:12px 16px;font-size:.96rem;font-weight:600;line-height:1.45;display:grid}.foundation-feedback:before,.written-practice .written-feedback:before,.message:before{background:var(--line-strong);color:#fff;content:"i";border:0;border-radius:50%;flex:none;place-items:center;width:34px;height:34px;font-size:1rem;font-weight:900;line-height:1;display:grid}.foundation-feedback.success,.written-practice .written-feedback.success,.message.correct{border-color:color-mix(in srgb, var(--teal) 24%, transparent);background:var(--teal-soft);color:var(--ink)}.foundation-feedback.success:before,.written-practice .written-feedback.success:before,.message.correct:before{background:var(--teal);color:#fff;content:"✓"}.foundation-feedback.error,.message.incorrect{border-color:color-mix(in srgb, var(--orange) 28%, transparent);background:var(--orange-soft);color:var(--ink)}.foundation-feedback.error:before,.message.incorrect:before{background:var(--orange);color:#fff;content:"×"}.message-text{text-align:left}.keyboard-container,.listening-keyboard,.mini-piano{border:1px solid var(--line);border-radius:var(--radius-card);background:var(--surface-2);box-shadow:var(--shadow-card)}.keyboard-container{max-width:100%;padding:24px 16px 16px;overflow-x:auto}.keyboard{min-width:0;max-width:none}.white-key,.listening-white,.mini-piano .mini-white{border:1px solid var(--key-edge);color:var(--key-ink);box-shadow:0 5px 0 var(--key-edge), 0 12px 18px -14px #1e145080;background:linear-gradient(#fff 0%,#fbfaff 70%,#f1eff8 100%);border-radius:0 0 8px 8px}.white-key:hover,.listening-white:hover,.mini-piano .mini-white:hover{background:linear-gradient(#fff 0%,#f7f4ff 72%,#ede8f8 100%)}.white-key:active,.white-key.active,.listening-white.active,.mini-piano .mini-white:active{box-shadow:0 2px 0 var(--key-edge);background:#ede8f8;transform:translateY(3px)}.white-key.highlighted,.listening-white.sounding,.mini-piano button[aria-pressed=true]{border-color:var(--accent-fill);color:#fff;background:linear-gradient(#a98bff 0%,#6a35e6 100%);box-shadow:0 5px #5323d1}.white-key.correct,.listening-white.correct{border-color:var(--key-correct);color:#fff;box-shadow:0 5px 0 var(--key-correct-edge);background:linear-gradient(#4fe6c8 0%,#14a88f 100%)}.white-key.incorrect,.listening-white.incorrect{color:#8a2e05;box-shadow:0 5px 0 var(--key-incorrect-edge);background:linear-gradient(#ffe2d0 0%,#ffc6a5 100%);border-color:#f09b6a}.black-key,.listening-black,.mini-piano .mini-black{color:#fff;background:linear-gradient(#363342 0%,#171622 100%);border:1px solid #161521;border-radius:0 0 5px 5px;box-shadow:0 5px #0a0b11,0 10px 14px -10px #000000bf}.black-key:hover,.listening-black:hover,.mini-piano .mini-black:hover{background:linear-gradient(#474354 0%,#211f2f 100%)}.black-key:active,.black-key.active,.listening-black.active,.mini-piano .mini-black:active{background:#11101a;transform:translateY(3px);box-shadow:0 2px #0a0b11}.black-key.highlighted,.listening-black.sounding,.mini-piano .mini-black[aria-pressed=true]{background:linear-gradient(#8e69ef 0%,#4a1db8 100%);border-color:#5323d1;box-shadow:0 5px #25105e}.black-key.correct,.listening-black.correct{border-color:var(--key-correct-edge);background:linear-gradient(#2bcba6 0%,#08705f 100%);box-shadow:0 5px #06594c}.black-key.incorrect,.listening-black.incorrect{border-color:var(--key-incorrect-edge);background:linear-gradient(#ff9b5e 0%,#c2410c 100%);box-shadow:0 5px #8a2e05}.listening-keyboard{overflow:hidden}.key-label,.listening-keyboard .key-label,.mini-piano .key-label{color:inherit;font-weight:800}.select-pills,.lozenge-options,.ear-toggle,.scale-types,.intervals-choices,.notation-groups,.metre-picker{flex-wrap:wrap;gap:7px;display:flex}.select-pills button,.lozenge-options button,.ear-toggle button,.scale-types button,.notation-groups button,.metre-picker button{border-radius:var(--radius-pill);white-space:nowrap;min-height:44px;padding:8px 13px;font-size:.86rem;font-weight:800}.foundation-lessons,.harmony-cards,.ear-reference,.progression-presets,.notation-cards,.keymap-cards,.scale-compare,.pitch-ratios{gap:14px}.harmony-cards article,.note-value-grid article,.song-section,.scale-compare article,.keymap-cards article,.pitch-ratios article{border-color:var(--line);background:var(--surface);box-shadow:var(--shadow-card)}.harmony-cards article button,.scale-compare article button,.keymap-cards article button,.notation-cards button{border-radius:var(--radius-pill)}.foundation-actions{align-items:center;gap:10px}.foundation-actions button{min-height:44px}.foundation-response{gap:12px}.further-practice{background:var(--surface);margin-top:28px;padding-inline:18px}.further-practice>summary{color:var(--violet-strong)}:root[data-theme=dark] .container,:root[data-theme=dark] .foundation-intro,:root[data-theme=dark] .foundation-lessons article,:root[data-theme=dark] .learning-paths button,:root[data-theme=dark] .harmony-builder,:root[data-theme=dark] .harmony-functions,:root[data-theme=dark] .listening-desk,:root[data-theme=dark] .ear-question,:root[data-theme=dark] .ear-reference article,:root[data-theme=dark] .progression-summary,:root[data-theme=dark] .progression-presets article,:root[data-theme=dark] .notation-cards article,:root[data-theme=dark] .metre-card,:root[data-theme=dark] .scale-card,:root[data-theme=dark] .scale-compare article,:root[data-theme=dark] .keymap-cards article,:root[data-theme=dark] .curriculum-detail,:root[data-theme=dark] .curriculum-topic,:root[data-theme=dark] .written-question,:root[data-theme=dark] .written-rubric,:root[data-theme=dark] .explore-detail,:root[data-theme=dark] .circle-detail,:root[data-theme=dark] .pitch-ratios article,:root[data-theme=dark] .song-about,:root[data-theme=dark] .song-desk,:root[data-theme=dark] .sing-task,:root[data-theme=dark] .sing-prompt,:root[data-theme=dark] .guided-history,:root[data-theme=dark] .guided-summary,:root[data-theme=dark] .further-practice{box-shadow:0 0 0 1px #ffffff05,0 0 28px -18px #a98bff80}:root[data-theme=dark] #foundation-content button:not(:where(.mini-white,.mini-black,.listening-white,.listening-black,.white-key,.black-key)):not(.primary),:root[data-theme=dark] .trainer-panel button:not(.primary){border-color:var(--line)}:focus-visible{outline:3px solid var(--violet);outline-offset:3px;border-radius:6px}@media (prefers-reduced-motion:reduce){html{scroll-behavior:auto}*,:before,:after{scroll-behavior:auto;transition:none!important;animation:none!important}}@media (width<=700px){.container{padding:16px}.foundation-answers.letter-answers,.written-choices.is-letters{gap:6px}#foundation-content .foundation-answers>button:not(.primary),#foundation-content .letter-answers>button[data-letter],#foundation-content .ear-options>button,#foundation-content .drill-options>button,#foundation-content .guided-options>button,#foundation-content .relative-options>button,#foundation-content .intervals-choices>button,#foundation-content .written-choices>button,#foundation-content .notation-quiz-options>button,#foundation-content #find-home-options>button{min-height:52px;padding-inline:10px;font-size:1rem}.foundation-result-mark{width:22px;height:22px;font-size:.78rem;top:5px;right:5px}.foundation-feedback,.written-practice .written-feedback,.message{padding:10px 12px}.foundation-feedback:before,.written-practice .written-feedback:before,.message:before{width:30px;height:30px}.foundation-staff,.staff-wrapper,.stave-card{border-radius:18px}.keyboard-container{padding:16px 10px 12px}}@media (width<=420px){.container{padding-inline:12px}.foundation-answers.letter-answers{gap:4px}#foundation-content .letter-answers>button[data-letter],#foundation-content .written-choices.is-letters>button{min-height:50px;font-size:1.05rem}}.staff-wrapper .note-head,.staff-wrapper .interactive-note,.staff-wrapper .interactive-accidental,.staff-wrapper .interactive-label,.staff-wrapper .reference-label{fill:var(--stave-note)}.staff-wrapper .note-head,.staff-wrapper .interactive-note{stroke:var(--stave-ink)}#foundation-content .foundation-staff .sr-ledger,#foundation-content .foundation-staff .sr-stem,#foundation-content .foundation-staff .sr-beam,#foundation-content .foundation-staff .sr-flag,#foundation-content .foundation-staff .sr-tie{stroke:var(--stave-line)}#foundation-content .foundation-staff .sr-note,#foundation-content .foundation-staff .sr-dot,#foundation-content .foundation-staff .sr-triplet,#foundation-content .foundation-staff .sr-label{fill:var(--stave-ink)}#foundation-content .foundation-staff .sr-note.is-done,#foundation-content .foundation-staff .sr-dot.is-done,#foundation-content .foundation-staff .sr-label.is-done{fill:var(--stave-note-correct)}#foundation-content .foundation-staff .sr-note.is-done,#foundation-content .foundation-staff .sr-stem.is-done,#foundation-content .foundation-staff .sr-beam.is-done,#foundation-content .foundation-staff .sr-tie.is-done{stroke:var(--stave-note-correct)}#foundation-content .foundation-staff .sr-note.is-next,#foundation-content .foundation-staff .sr-dot.is-next,#foundation-content .foundation-staff .sr-label.is-next{fill:var(--stave-note)}#foundation-content .foundation-staff .sr-note.is-next,#foundation-content .foundation-staff .sr-stem.is-next,#foundation-content .foundation-staff .sr-beam.is-next,#foundation-content .foundation-staff .sr-tie.is-next{stroke:var(--stave-note)}#foundation-content .foundation-staff .sr-note.is-missed,#foundation-content .foundation-staff .sr-dot.is-missed,#foundation-content .foundation-staff .sr-label.is-missed{fill:var(--key-incorrect)}#foundation-content .foundation-staff .sr-note.is-missed,#foundation-content .foundation-staff .sr-stem.is-missed,#foundation-content .foundation-staff .sr-beam.is-missed,#foundation-content .foundation-staff .sr-tie.is-missed{stroke:var(--key-incorrect)}#foundation-content .listening-white.sounding,#foundation-content .listening-black.sounding{border-color:var(--accent-fill);color:#fff;background:linear-gradient(#a98bff 0%,#6a35e6 100%);box-shadow:0 5px #5323d1}#foundation-content .scale-tone.listening-white{border-color:var(--key-edge);color:var(--key-ink);background:linear-gradient(#fff 0%,#fbfaff 70%,#f1eff8 100%)}#foundation-content .scale-tone.listening-black{color:#fff;background:linear-gradient(#363342 0%,#171622 100%);border-color:#161521}#foundation-content .mini-piano button[aria-pressed=true]{border-color:var(--accent-fill);color:#fff;background:linear-gradient(#a98bff 0%,#6a35e6 100%);box-shadow:inset 0 -5px #5323d1}}:where(svg.icon){vertical-align:-.24em;stroke:currentColor;stroke-linecap:round;stroke-linejoin:round;flex:none;width:1.25em;height:1.25em;display:inline-block}:where(button,a)>:where(svg.icon){vertical-align:middle}:where(svg.cast){flex:none;width:96px;height:96px;display:block;overflow:visible}:where(:root[data-theme=dark]) :where(svg.cast){filter:var(--glow)}:where(svg.app-logo){flex:none;width:34px;height:34px;display:block}@media (prefers-reduced-motion:reduce){:where(svg.cast,svg.cast *){transition:none!important;animation:none!important}}html,body{min-width:0;overflow-x:hidden}body{background:radial-gradient(circle at 20% -12%, color-mix(in srgb, var(--violet) 14%, transparent), transparent 34rem), linear-gradient(145deg, var(--bg) 0%, var(--page-grad-end) 100%);padding:0;display:block}.container.app-shell{width:100%;max-width:none;min-height:100vh;box-shadow:none;background:0 0;border-radius:0;padding:0 0 40px;display:block;position:relative;overflow:clip}.shell-normal[hidden],.shell-focus[hidden],.shell-stop[hidden],.shell-popover__panel[hidden],.setting-io[hidden],.mic-btn[hidden],.mic-level[hidden],.settings-drawer[hidden],.foundation-about[hidden],.foundation-settings-disclosure[hidden],.foundations[hidden]{display:none}.app-topbar{z-index:50;border-bottom:1px solid var(--line);background:color-mix(in srgb, var(--surface) 84%, transparent);backdrop-filter:blur(18px);grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:20px;min-height:68px;padding:10px 26px;display:grid;position:sticky;top:0}.shell-normal,.shell-focus{align-items:center;gap:20px;min-width:0;display:flex}.app-brand{color:var(--ink);letter-spacing:-.02em;white-space:nowrap;flex:none;align-items:center;gap:10px;font-size:18px;font-weight:900;text-decoration:none;display:inline-flex}.app-brand:hover{text-decoration:none}.app-brand__logo{width:34px;height:34px;display:inline-flex}.app-brand__logo svg{width:100%;height:100%}.app-brand__mobile{display:none}.shell-places{border-radius:var(--radius-pill);background:var(--surface-2);gap:3px;min-width:0;padding:4px;display:flex}.shell-places a{border-radius:var(--radius-pill);min-height:44px;color:var(--ink-2);white-space:nowrap;align-items:center;gap:7px;padding:8px 16px;font-size:15px;font-weight:800;text-decoration:none;display:inline-flex}.shell-places a:hover,.shell-places a:focus-visible{color:var(--ink);text-decoration:none}.shell-places a.is-active,.shell-places a[aria-current=page]{color:var(--ink);background:var(--surface);box-shadow:var(--shadow-card)}.shell-places .icon{width:18px;height:18px}.shell-actions{justify-content:flex-end;align-items:center;gap:8px;min-width:0;display:flex}.shell-chip,.shell-icon-button,.shell-back{min-height:44px;color:var(--ink-2);background:var(--surface-2);font:inherit;cursor:pointer;touch-action:manipulation;border:0;font-weight:800}.shell-chip{border-radius:var(--radius-pill);white-space:nowrap;align-items:center;gap:7px;padding:0 13px 0 11px;list-style:none;display:inline-flex}.shell-chip::-webkit-details-marker{display:none}.shell-chip::marker{content:"";display:none}.shell-chip__icon,.shell-chip__icon .icon{width:18px;height:18px;display:inline-flex}.shell-chevron{color:var(--ink-3);font-size:17px;line-height:1}.shell-icon-button,.shell-back{border-radius:50%;place-items:center;width:44px;font-size:24px;line-height:1;display:grid}.shell-icon-button:hover,.shell-chip:hover,.shell-back:hover{color:var(--ink);background:var(--surface-3)}.shell-icon-button .icon,.shell-back .icon{width:20px;height:20px}.shell-popover{position:relative}.shell-popover[open]>.shell-chip{color:var(--ink);background:var(--surface);box-shadow:var(--shadow-card)}.shell-popover__panel{z-index:80;border:1px solid var(--line);background:var(--surface);min-width:280px;box-shadow:var(--shadow-pop);border-radius:18px;gap:10px;padding:16px;display:grid;position:absolute;top:calc(100% + 10px);right:0}.shell-popover__eyebrow,.learner-select-label,.learner-colour-label{color:var(--ink-3);margin:0;font-size:13px;font-weight:800}.setting-switch{flex-wrap:wrap;gap:6px;display:flex}.setting-switch button{border:1px solid var(--line);border-radius:var(--radius-pill);min-height:44px;color:var(--ink-2);background:var(--surface-2);font:inherit;cursor:pointer;flex:100px;padding:8px 12px;font-size:13px;font-weight:800}.setting-switch button:hover,.setting-switch button:focus-visible{border-color:var(--violet)}.setting-switch button[aria-pressed=true]{border-color:var(--violet);color:#fff;background:var(--violet)}.setting-io{flex-wrap:wrap;align-items:center;gap:8px;display:flex}.setting-io button,.learner-save,.input-panel button{border:1px solid var(--line);border-radius:var(--radius-pill);min-height:44px;color:var(--ink-2);background:var(--surface);font:inherit;cursor:pointer;padding:8px 13px;font-weight:800}.setting-io button:hover,.setting-io button:focus-visible,.learner-save:hover,.input-panel button:hover{border-color:var(--violet);color:var(--ink)}.mic-level{border-radius:var(--radius-pill);background:var(--surface-3);width:56px;height:8px;display:inline-flex;overflow:hidden}.mic-level span{background:var(--teal);width:0;display:block}.learner-chip{color:var(--ink)}.learner-avatar{width:26px;height:26px;display:inline-flex}.learner-avatar svg{width:100%;height:100%}.learner-panel{min-width:250px}.learner-panel select,.learner-panel input{border:1px solid var(--line);width:100%;min-height:44px;color:var(--ink);background:var(--surface);font:inherit;border-radius:12px;padding:8px 10px}.learner-colours{flex-wrap:wrap;gap:8px;display:flex}.learner-colour{background:var(--learner-colour);cursor:pointer;border:3px solid #0000;border-radius:50%;width:44px;height:44px;min-height:44px}.learner-colour[aria-pressed=true]{border-color:var(--ink);box-shadow:0 0 0 2px var(--surface), 0 0 0 4px var(--learner-colour)}.shell-focus{gap:16px}.shell-crumb{min-width:0;line-height:1.1;display:grid}.shell-crumb .eyebrow{color:var(--pink);text-overflow:ellipsis;white-space:nowrap;font-size:18px;overflow:hidden}.shell-crumb strong{color:var(--ink);letter-spacing:-.01em;text-overflow:ellipsis;white-space:nowrap;font-size:19px;font-weight:900;overflow:hidden}.shell-stop{max-width:min(360px,32vw);color:var(--ink-2);align-items:center;gap:8px;font-size:13px;font-weight:800;display:flex}.shell-stop button{border:1px solid var(--line);border-radius:var(--radius-pill);min-height:44px;color:var(--ink-2);background:var(--surface);font:inherit;cursor:pointer;padding:5px 10px}.foundations{width:100%;min-width:0;padding:24px clamp(18px,5vw,68px) 60px;display:block}.foundation-screen{width:min(1180px,100%);min-width:0;margin:0 auto}.foundation-screen--focus{width:min(1120px,100%)}#foundation-content{min-width:0;padding:0}#foundation-content>h2,#foundation-question{color:var(--ink);letter-spacing:-.035em;margin:0 0 16px;font-size:clamp(2rem,3.5vw,2.75rem);font-weight:900;line-height:1.1}.foundation-about,.foundation-settings-disclosure,.drill-note,.activity-why,.activity-settings{border:1px solid var(--line);background:color-mix(in srgb, var(--surface) 78%, transparent);border-radius:18px;margin:18px 0 0}.foundation-about summary,.foundation-settings-disclosure summary,.drill-note summary,.activity-why summary,.activity-settings summary{min-height:48px;color:var(--ink-2);cursor:pointer;padding:12px 16px;font-weight:900;list-style:none}.foundation-about summary::-webkit-details-marker,.foundation-settings-disclosure summary::-webkit-details-marker,.drill-note summary::-webkit-details-marker,.activity-why summary::-webkit-details-marker,.activity-settings summary::-webkit-details-marker{display:none}.foundation-about summary:before,.foundation-settings-disclosure summary:before,.drill-note summary:before,.activity-why summary:before,.activity-settings summary:before{width:1em;color:var(--violet);content:"›";margin-right:4px;display:inline-block}.foundation-about[open] summary:before,.foundation-settings-disclosure[open] summary:before,.drill-note[open] summary:before,.activity-why[open] summary:before,.activity-settings[open] summary:before{transform:rotate(90deg)}.foundation-about__body{color:var(--ink-2);padding:0 16px 16px}.foundation-about__body p{margin:0}.foundation-about__body p+p{margin-top:8px}.foundation-context{color:var(--ink-3);font-size:.9rem}.foundation-settings-disclosure summary span{color:var(--ink-3);font-size:.9em;font-weight:700}.foundation-settings{grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:10px 14px;padding:0 16px 16px;display:grid}.foundation-settings label{color:var(--ink-2);gap:5px;font-size:.9rem;font-weight:800;display:grid}.foundation-settings select{border:1px solid var(--line);min-width:0;min-height:44px;color:var(--ink);background:var(--surface);font:inherit;border-radius:12px;padding:8px 10px}.settings-drawer{z-index:100;border-left:1px solid var(--line);background:var(--surface);width:min(430px,100vw);max-height:100vh;box-shadow:var(--shadow-pop);gap:18px;padding:24px;display:grid;position:fixed;inset:0 0 0 auto;overflow-y:auto}.settings-drawer__header{justify-content:space-between;align-items:flex-start;gap:16px;display:flex}#shell-settings-drawer .settings-drawer__header h2{color:var(--ink);margin:0;font-size:28px;font-weight:900}.settings-drawer .display-preferences{border:1px solid var(--line);background:var(--surface-2);border-radius:18px;gap:12px;padding:14px;display:grid}.settings-drawer .display-preferences>div{flex-wrap:wrap;gap:7px;display:flex}.settings-drawer .display-preferences button{border:1px solid var(--line);width:44px;min-width:44px;height:44px;min-height:44px;color:var(--ink-2);background:var(--surface);font:inherit;cursor:pointer;border-radius:12px;justify-content:center;align-items:center;padding:5px;font-weight:800;display:inline-flex}.settings-drawer .display-preferences button:hover,.settings-drawer .display-preferences button:focus-visible{border-color:var(--violet);color:var(--ink)}.display-preferences .site-footer__size-button{font-size:16px;line-height:1}.display-preferences .site-footer__size-button[data-text-size=medium]{font-size:14px}.display-preferences .site-footer__size-button[data-text-size=large]{font-size:17px}.display-preferences .site-footer__size-button[data-text-size=extra-large]{font-size:20px}.display-preferences .site-footer__size-button[aria-pressed=true],.display-preferences .site-footer__theme-button[aria-pressed=true]{border-color:var(--pink);box-shadow:inset 0 0 0 2px var(--pink)}.theme-icon{justify-content:center;align-items:center;width:20px;height:20px;display:inline-flex}.theme-icon svg{fill:none;stroke:currentColor;stroke-width:1.8px;stroke-linecap:round;stroke-linejoin:round;width:20px;height:20px;display:block}.input-panel,.companion-links{border:1px solid var(--line);background:var(--surface-2);border-radius:18px;gap:10px;padding:16px;display:grid}.input-panel h3{color:var(--ink);margin:0;font-size:18px;font-weight:900}.input-panel label{color:var(--ink-2);gap:5px;font-size:13px;font-weight:800;display:grid}.input-panel select,.input-panel input[type=range]{min-width:0;min-height:44px}.input-panel select{border:1px solid var(--line);color:var(--ink);background:var(--surface);font:inherit;border-radius:12px;padding:8px 10px}.input-panel p,.companion-links p,.companion-links small{color:var(--ink-3);margin:0;font-size:.85rem}[data-setting=meeting] .input-panel label:has(#volume),[data-setting=meeting] #input-help,[data-setting=meeting] #connect-midi,[data-setting=meeting] #midi-status,[data-setting=sofa] #connect-midi,[data-setting=sofa] #midi-status{display:none}.companion-links nav{flex-wrap:wrap;gap:8px;display:flex}.companion-links a{border-radius:var(--radius-pill);min-height:44px;color:var(--violet-strong);background:var(--surface);align-items:center;padding:6px 10px;font-size:13px;font-weight:800;display:inline-flex}.further-practice{border:1px solid var(--line);background:var(--surface-2);border-radius:18px;margin-top:4px}.further-practice>summary{min-height:52px;color:var(--ink);cursor:pointer;justify-content:space-between;align-items:center;gap:10px;padding:10px 14px;font-weight:900;list-style:none;display:flex}.further-practice>summary::-webkit-details-marker{display:none}.further-practice>summary small{color:var(--ink-3);font-size:12px;font-weight:700}.settings-drawer .trainer-panel{padding:10px}.settings-drawer .grand-staff{min-width:0}.settings-drawer .keyboard-container{overflow-x:auto}@media (width<=900px){.app-topbar{gap:12px;padding-inline:18px}.shell-places a{padding-inline:11px}.shell-places a span:last-child{clip:rect(0, 0, 0, 0);white-space:nowrap;border:0;width:1px;height:1px;padding:0;position:absolute;overflow:hidden}.shell-places .icon{width:20px;height:20px}#learner-chip-name,#current-setting-label{clip:rect(0, 0, 0, 0);white-space:nowrap;border:0;width:1px;height:1px;padding:0;position:absolute;overflow:hidden}.shell-popover .shell-chevron{display:none}.shell-chip{justify-content:center;min-width:44px}.shell-stop{max-width:24vw}}@media (width<=700px){.container.app-shell{padding-bottom:84px}.app-topbar{background:var(--surface);backdrop-filter:none;min-height:64px;padding:10px 16px}.shell-normal{gap:10px}.app-brand{gap:8px;font-size:15px}.app-brand__logo{width:30px;height:30px}.app-brand__desktop{display:none}.app-brand__mobile{display:inline}.shell-places{z-index:70;height:84px;padding:8px 12px max(8px, env(safe-area-inset-bottom));border-top:1px solid var(--line);background:color-mix(in srgb, var(--surface) 96%, transparent);backdrop-filter:blur(18px);border-radius:0;grid-template-columns:repeat(4,1fr);gap:0;display:grid;position:fixed;bottom:0;left:0;right:0;box-shadow:0 -10px 28px -24px #140e4673}.shell-places a,.shell-places a span:last-child{display:grid}.shell-places a span:last-child{clip:auto;white-space:normal;width:auto;height:auto;position:static;overflow:visible}.shell-places a{border-radius:14px;align-content:center;justify-items:center;gap:3px;min-height:54px;padding:5px 2px;font-size:11px}.shell-places a span:last-child{color:inherit}.shell-places a.is-active,.shell-places a[aria-current=page]{color:var(--violet);background:var(--violet-soft);box-shadow:none}.shell-actions{gap:5px}.shell-chip{min-height:44px;padding-inline:9px}.shell-icon-button{width:44px;min-height:44px}.shell-focus{gap:8px}.shell-back{width:44px;min-height:44px}.shell-crumb .eyebrow,.shell-crumb strong{font-size:16px}.shell-stop{display:none}.app-shell.is-focus .shell-actions{gap:4px}.app-shell.is-focus #foundation-places{display:none}.foundations{padding:20px 16px 38px}#foundation-content>h2,#foundation-question{font-size:2rem}.foundation-settings{grid-template-columns:1fr}.shell-popover__panel{width:auto;min-width:0;position:fixed;top:62px;left:12px;right:12px}.settings-drawer{width:100%;padding:18px 16px 30px}}@media (prefers-reduced-motion:reduce){.app-shell *{transition:none;animation:none}}#further-practice:not([open]){display:none}#further-practice[open]{width:min(1120px,100% - 32px);margin:18px auto 40px}.drawer-lab{border-top:1px solid var(--line);gap:8px;padding:16px 0 4px;display:grid}.drawer-lab p{color:var(--ink-2);font-size:.9rem}.drawer-lab button{justify-self:start}.drill-note p{color:var(--ink-2);margin:0;padding:0 16px 16px}.activity-settings summary span{color:var(--ink-3);margin-left:4px;font-weight:700}.activity-why__body,.activity-settings__body{color:var(--ink-2);gap:10px;padding:0 16px 16px;display:grid}.activity-why__body p{margin:0}#foundation-content .activity-prompt{color:var(--ink);letter-spacing:-.03em;margin:0 0 14px;font-size:clamp(1.45rem,2.6vw,2rem);font-weight:900;line-height:1.15}#foundation-content .activity-modes{flex-wrap:wrap;gap:8px;margin:0 0 14px;display:flex}.path-screen{min-height:620px;color:var(--ink);position:relative}.path-layout{grid-template-columns:minmax(0,1fr) 318px;gap:26px;padding:22px 26px 0;display:grid;position:relative}.path-layout:before{content:"";background:radial-gradient(closest-side, var(--bg-glow), transparent);pointer-events:none;width:min(620px,76%);height:360px;position:absolute;top:-40px;left:12%}.path-map-column{grid-template-rows:auto auto 1fr auto;min-width:0;display:grid;position:relative}.path-top-row{z-index:3;justify-content:space-between;align-items:center;gap:12px;display:flex;position:relative}.path-journey-switcher{z-index:4;position:relative}.path-journey-switcher summary{border:1px solid var(--line);background:var(--surface);cursor:pointer;border-radius:12px;align-items:center;gap:8px;min-height:44px;padding:6px 12px 6px 10px;font-size:14px;font-weight:800;list-style:none;display:inline-flex}.path-journey-switcher summary::-webkit-details-marker{display:none}:where(.path-journey-switcher summary .icon){width:14px;height:14px;color:var(--ink-3)}.path-journey-switcher[open] summary .icon{transform:rotate(180deg)}.path-hand,.path-eyebrow{font-family:var(--font-hand);font-weight:700}.path-hand{color:var(--ink-3);font-size:17px}.path-journey-choices{border:1px solid var(--line);background:var(--surface);min-width:min(300px,80vw);box-shadow:var(--shadow-pop);border-radius:16px;gap:4px;padding:8px;display:grid;position:absolute;top:calc(100% + 8px);left:0}.path-journey-choices button{min-height:44px;color:var(--ink);cursor:pointer;font:inherit;text-align:left;background:0 0;border:0;border-radius:10px;padding:8px 12px;font-weight:800}.path-journey-choices button:hover,.path-journey-choices button[aria-selected=true]{background:var(--violet-soft);color:var(--violet-strong)}.path-chapters{flex-wrap:wrap;gap:6px;margin:0;padding:0;list-style:none;display:flex}.path-chapter-chip{border:1px solid var(--line);background:var(--surface);border-radius:50%;place-items:center;width:42px;height:42px;display:grid;position:relative}.path-chapter-chip.is-selected{width:46px;height:46px;box-shadow:0 0 0 3px var(--violet), var(--shadow-card);border:0}.path-chapter-chip button{border-radius:inherit;width:100%;height:100%;color:var(--ink);cursor:pointer;background:0 0;border:0;place-items:center;display:grid}.path-chapter-chip button:focus-visible{outline:3px solid var(--violet);outline-offset:3px}.path-chapter-chip .path-chapter-mascot{width:30px;height:30px}.path-chapter-chip:not(.is-selected) .path-chapter-mascot{filter:saturate(.6);opacity:.55}.path-chapter-ring{pointer-events:none;width:calc(100% + 8px);height:calc(100% + 8px);position:absolute;inset:-4px;transform:rotate(-90deg)}.path-chapter-header{min-height:154px;margin-top:16px;padding-right:150px;position:relative}.path-eyebrow{color:var(--pink);margin:0;font-size:26px;line-height:1}.path-display-title{color:#0000;background:var(--grad-display);letter-spacing:-.035em;background-clip:text;width:fit-content;margin:2px 0 0;font-size:clamp(2.7rem,5vw,3.35rem);font-weight:900;line-height:1.05;position:relative}.path-squiggle{pointer-events:none;width:128px;height:17px;position:absolute;bottom:-13px;left:62%}.path-promise{max-width:58ch;color:var(--ink-2);margin-top:16px;font-size:18px;line-height:1.45}.path-chapter-cast{width:128px;height:128px;filter:var(--glow);position:absolute;top:-6px;right:8px}.path-map{width:100%;min-height:356px;margin-top:8px;position:relative;overflow:visible}.path-route{pointer-events:none;width:100%;height:100%;position:absolute;inset:0;overflow:visible}.path-route-segment{fill:none;stroke-width:1.7px;stroke-linecap:round}.path-route-segment.is-upcoming{stroke:var(--path-todo);stroke-width:1.35px;stroke-dasharray:.3 3.6}.path-stop{z-index:2;cursor:pointer;width:76px;height:76px;font:inherit;border:0;border-radius:50%;place-items:center;margin:-38px 0 0 -38px;transition:transform .16s,box-shadow .16s;display:grid;position:absolute}.path-stop:hover{transform:translateY(-2px)}.path-stop:focus-visible{outline:3px solid var(--violet);outline-offset:4px}.path-stop-icon{width:32px;height:32px}.path-stop--done{color:#fff;background:linear-gradient(160deg,#3fe0c0,#0b9a83);box-shadow:0 6px #087565,0 14px 24px -12px #0b8a77b3}[data-theme=dark] .path-stop--done{box-shadow:0 6px #06594c,0 0 24px -4px #41e0c173}.path-stop--current{background:var(--surface);width:92px;height:92px;color:var(--violet);box-shadow:0 0 0 6px var(--violet), 0 0 0 14px color-mix(in srgb, var(--violet) 20%, transparent), 0 18px 30px -12px #6a35e699;margin:-46px 0 0 -46px}.path-stop--current .path-stop-icon{width:38px;height:38px}.path-stop--next,.path-stop--needs-sound{background:var(--surface);color:var(--ink-3);border:3px dashed var(--path-todo)}.path-stop--needs-sound{background:var(--surface-2)}.path-stop-badge,.path-stop-sound{border-radius:50%;place-items:center;width:26px;height:26px;display:grid;position:absolute;right:-4px}.path-stop-badge{background:var(--surface);color:var(--teal);top:-4px;box-shadow:0 2px 6px #0000002e}.path-stop-sound{border:2px solid var(--surface);background:var(--orange-soft);width:28px;height:28px;color:var(--orange);bottom:-4px;right:-6px}:where(.path-stop-badge .icon,.path-stop-sound .icon){width:16px;height:16px}.path-here{z-index:3;color:var(--violet);font-family:var(--font-hand);white-space:nowrap;align-items:center;gap:6px;font-size:22px;font-weight:700;display:flex;position:absolute}.path-here-avatar{width:34px;height:34px}.path-stop-label{z-index:4;text-align:center;pointer-events:none;gap:1px;width:150px;margin:42px 0 0 -75px;display:grid;position:absolute}.path-stop-label.is-right{text-align:right;margin-left:-150px}.path-stop-label b{font-size:15.5px;font-weight:800;line-height:1.2}.path-stop-label span{color:var(--ink-3);font-size:13px;font-weight:700}.path-stop-label span.is-done{color:var(--teal)}.path-stop-label span.is-warning{color:var(--orange)}.path-stop-label span.is-current{color:var(--violet)}.path-teaser{grid-template-columns:1fr auto;align-items:center;gap:16px;padding:4px 0 18px;display:grid}.path-teaser>svg{width:100%;height:26px}.path-teaser>span{color:var(--ink-2);white-space:nowrap;align-items:center;gap:10px;font-size:15px;font-weight:800;display:flex}.path-teaser .path-hand{color:var(--ink-3);font-size:20px}.path-teaser .cast{width:44px;height:44px}.path-sidebar{align-content:start;gap:14px;padding-top:2px;display:grid}.path-next-card,.path-quick,.path-chapter-list{border:1px solid var(--line);background:var(--surface);position:relative}.path-next-card{min-height:250px;box-shadow:var(--shadow-pop);border-radius:24px;padding:20px 20px 18px;overflow:hidden}.path-next-card:before{content:"";background:radial-gradient(closest-side, color-mix(in srgb, var(--violet) 22%, transparent), transparent);width:220px;height:220px;position:absolute;top:-60px;right:-60px}.path-next-card .path-hand{color:var(--pink);font-size:23px;line-height:1;position:relative}.path-next-card h3{letter-spacing:-.02em;margin-top:4px;font-size:28px;font-weight:900;position:relative}.path-next-copy{color:var(--ink-2);margin-top:6px;font-size:15px;line-height:1.45;position:relative}.path-next-cast{width:74px;height:74px;filter:var(--glow);position:absolute;top:14px;right:12px}.path-dots,.stop-bar-dots{align-items:center;gap:6px;display:flex}.path-next-card .path-dots{margin-top:14px;position:relative}.path-dots i,.stop-bar-dots i{border:2px solid var(--line);border-radius:50%;width:14px;height:14px;display:block}.path-dots i.is-done,.stop-bar-dots i.is-done{border-color:var(--teal);background:var(--teal)}.path-dots i.is-helped,.stop-bar-dots i.is-helped{border-color:var(--teal);background:radial-gradient(circle, var(--teal) 0 3px, transparent 3.5px)}.path-dots i.is-current,.stop-bar-dots i.is-current{border-color:var(--violet);box-shadow:0 0 0 3px color-mix(in srgb, var(--violet) 25%, transparent)}.path-dots small{color:var(--ink-3);margin-left:6px;font-size:13px;font-weight:800}.path-cta,.stop-next-button{background:var(--grad-cta);min-height:52px;color:var(--cta-ink);cursor:pointer;font:inherit;letter-spacing:-.005em;box-shadow:0 4px 0 var(--cta-edge), 0 14px 24px -12px #e59400bf;border:0;border-radius:999px;justify-content:center;align-items:center;gap:8px;padding:0 24px;font-size:17px;font-weight:900;display:inline-flex}:where(.path-cta .icon){stroke-width:2.6px;width:20px;height:20px}.path-next-card>.path-cta{width:100%;margin-top:16px;position:relative}.path-cta:disabled,.stop-next-button:disabled{cursor:default;opacity:.65}.path-next-actions{gap:10px;margin-top:18px;display:grid;position:relative}.path-next-actions .path-cta{width:100%}.path-secondary,.stop-keep-button,.stop-mark-done{border:2px solid var(--line);background:var(--surface);min-height:44px;color:var(--ink-2);cursor:pointer;font:inherit;border-radius:999px;padding:8px 14px;font-weight:800}.path-secondary:hover,.stop-keep-button:hover,.stop-mark-done:hover{border-color:var(--violet);color:var(--violet)}.path-next-setting{color:var(--ink-3);margin-top:10px;font-size:12px;font-weight:700;display:block;position:relative}.path-quick,.path-chapter-list{border-radius:20px;gap:4px;padding:14px;display:grid}.path-quick>.path-hand,.path-chapter-list>.path-hand{padding:0 6px 2px;font-size:20px}.path-quick-row,.path-chapter-row{min-height:60px;color:var(--ink);cursor:pointer;font:inherit;text-align:left;background:0 0;border:0;border-radius:14px;align-items:center;display:grid}.path-quick-row{grid-template-columns:46px 1fr 34px;gap:12px;padding:8px 6px}.path-quick-row+.path-quick-row{border-top:1px solid var(--line);border-radius:0 0 14px 14px}.path-quick-row:hover,.path-chapter-row:hover,.path-chapter-row.is-selected{background:var(--surface-2)}.path-quick-cast{width:46px;height:46px}.path-quick-row b{font-size:15.5px;font-weight:800;display:block}.path-quick-row small{color:var(--ink-3);font-size:13px;font-weight:700;line-height:1.35;display:block}:where(.path-quick-row>.icon){background:var(--surface-2);width:34px;height:34px;color:var(--ink-2);border-radius:50%;padding:8px}.path-chapter-row{grid-template-columns:30px 1fr 64px;gap:10px;min-height:38px;padding:3px 6px}.path-chapter-row>.cast{width:30px;height:30px}.path-chapter-row b{text-align:left;font-size:14px;font-weight:800}.path-chapter-bar{background:var(--surface-3);border-radius:999px;height:8px;overflow:hidden}.path-chapter-bar i{border-radius:inherit;background:var(--grad-display);height:100%;display:block}.stop-bar{gap:10px;margin:0 0 12px;display:grid}.stop-bar-strip{border:1px solid var(--line);background:var(--surface-2);border-radius:16px;flex-wrap:wrap;align-items:center;gap:14px;min-height:52px;padding:6px 12px;display:flex}.stop-bar-title{min-width:160px;line-height:1.1;display:grid}.stop-bar-title strong{font-size:15px;font-weight:900}.stop-bar-title small{color:var(--ink-3);font-size:12px;font-weight:700}.stop-bar-eyebrow{color:var(--pink);font-family:var(--font-hand);font-size:15px;font-weight:700}.stop-mark-done{margin-left:auto}.stop-complete-card{border:1px solid color-mix(in srgb, var(--teal) 38%, var(--line));background:var(--teal-soft);border-radius:20px;grid-template-columns:70px 1fr;align-items:center;gap:14px;padding:14px 16px;display:grid}.stop-complete-cast{width:70px;height:70px;filter:var(--glow)}.stop-complete-copy h3{margin:1px 0 2px;font-size:21px;font-weight:900}.stop-complete-detail{color:var(--ink-2);font-size:13px;font-weight:800}.stop-complete-actions{flex-wrap:wrap;gap:8px;margin-top:10px;display:flex}.stop-next-button,.stop-keep-button{min-height:44px;font-size:14px}.stop-next-button{padding-inline:16px}@media (prefers-reduced-motion:reduce){.path-stop{transition:none}.path-stop:hover{transform:none}}@media (width<=900px){.path-layout{grid-template-columns:1fr}.path-sidebar{grid-template-columns:repeat(2,minmax(0,1fr))}.path-next-card{grid-column:1/-1}}@media (width<=699px){.path-screen{min-height:0}.path-layout{flex-direction:column;padding:4px 16px 90px;display:flex}.path-map-column{order:2}.path-sidebar{display:contents}.path-next-card{order:1}.path-quick,.path-chapter-list{order:3}.path-top-row{align-items:flex-start}.path-chapters{justify-content:flex-end;max-width:170px}.path-chapter-chip:not(:first-child){display:none}.path-chapter-header{min-height:112px;margin-top:12px;padding-right:72px}.path-eyebrow{font-size:22px}.path-display-title{font-size:34px}.path-squiggle{width:92px;height:12px;bottom:-9px;left:48%}.path-promise{margin-top:8px;font-size:15px}.path-chapter-cast{width:70px;height:70px;top:-2px;right:0}.path-map{min-height:440px;margin-top:4px}.path-route-segment{stroke-width:1.45px}.path-stop{width:64px;height:64px;margin:-32px 0 0 -32px}.path-stop--current{width:76px;height:76px;margin:-38px 0 0 -38px}.path-stop-icon{width:26px;height:26px}.path-stop--current .path-stop-icon{width:32px;height:32px}.path-stop-label{text-align:left;width:150px;margin:34px 0 0}.path-stop-label.is-right{text-align:right;margin-left:-150px}.path-stop-label b{font-size:14.5px}.path-here{font-size:18px}.path-here span{clip-path:inset(50%);white-space:nowrap;width:1px;height:1px;position:absolute;overflow:hidden}.path-here-avatar{width:30px;height:30px}.path-teaser{display:none}.path-quick,.path-chapter-list{margin-top:12px}.stop-bar-strip{gap:8px}.stop-bar-title{min-width:120px}.stop-complete-card{grid-template-columns:54px 1fr;padding:12px}.stop-complete-cast{width:54px;height:54px}}.room-screen{isolation:isolate;gap:16px;min-width:0;padding:8px 8px 28px;display:grid;position:relative}.room-screen:before{z-index:-1;content:"";background:radial-gradient(closest-side, var(--bg-glow), transparent);pointer-events:none;width:min(560px,80vw);height:300px;position:absolute;top:-60px;right:4%}.room-head{justify-content:space-between;align-items:flex-end;gap:20px;min-width:0;display:flex}.room-screen .room-eyebrow{color:var(--pink);font-family:var(--font-hand);margin:0;font-size:1.6rem;font-weight:700;line-height:1}.room-title{letter-spacing:-.04em;background:var(--grad-display);color:#0000;-webkit-background-clip:text;background-clip:text;margin:2px 0 0;font-size:clamp(2.35rem,4.3vw,3.15rem);font-weight:900;line-height:1.05}.room-filters{flex-wrap:wrap;justify-content:flex-end;gap:8px;display:flex}.room-filters button{border:1px solid var(--line);border-radius:var(--radius-pill);background:var(--surface);min-height:44px;color:var(--ink-2);font:inherit;white-space:nowrap;cursor:pointer;align-items:center;gap:7px;padding:0 14px;font-size:.88rem;font-weight:800;display:inline-flex}.room-filters button:hover{border-color:var(--violet);color:var(--ink)}.room-filters button[aria-pressed=true]{border-color:var(--ink);background:var(--ink);color:var(--bg)}.room-filters button:focus-visible,.room-card:focus-visible,.room-sound-prompt button:focus-visible{outline:3px solid var(--violet);outline-offset:3px}.room-filter-dot{border-radius:50%;width:10px;height:10px;display:block}.room-filter-dot--violet{background:#8b5cf6}.room-filter-dot--cyan{background:#1fb7d6}.room-filter-dot--pink{background:#ff5fa2}.room-filter-dot--orange{background:#ff8f3c}.room-filter-dot--teal{background:#22c9a5}.room-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;min-width:0;display:grid}.room-card-shell{flex-direction:column;min-width:0;display:flex}.room-screen .room-card{border:1px solid var(--line);border-radius:var(--radius-card);background:var(--surface);width:100%;height:186px;min-height:186px;box-shadow:var(--shadow-card);color:var(--ink);font:inherit;text-align:left;cursor:pointer;grid-template-rows:auto auto 1fr auto;gap:6px;padding:16px 16px 14px;transition:border-color .15s,box-shadow .15s,transform .15s;display:grid;position:relative}.room-screen .room-card:hover{border-color:color-mix(in srgb, var(--violet) 50%, var(--line));box-shadow:var(--shadow-pop);transform:translateY(-2px)}.room-screen .room-card:active{transform:translateY(1px)}.room-screen .room-card--dim{opacity:.62}.room-screen .room-card--dim:hover{opacity:.82}.room-card-tile{color:#fff;border-radius:16px;place-items:center;width:52px;height:52px;margin-bottom:4px;display:grid}.room-card-tile .icon{width:28px;height:28px}.room-tile--violet{background:linear-gradient(150deg,#9c6bff,#5b2bd9)}.room-tile--cyan{background:linear-gradient(150deg,#43d3ee,#0a7f9e)}.room-tile--pink{background:linear-gradient(150deg,#ff7bb5,#c21d66)}.room-tile--orange{background:linear-gradient(150deg,#ffb25c,#e0620f)}.room-tile--teal{background:linear-gradient(150deg,#45e0bf,#0b8a77)}.room-card-title{letter-spacing:-.01em;text-overflow:ellipsis;white-space:nowrap;font-size:1.06rem;font-weight:900;line-height:1.2;display:block;overflow:hidden}.room-card-task{color:var(--ink-2);-webkit-line-clamp:3;-webkit-box-orient:vertical;font-size:.84rem;line-height:1.4;display:-webkit-box;overflow:hidden}.room-card-foot{flex-wrap:wrap;align-items:center;gap:6px;min-height:24px;display:flex}.room-tag{border-radius:var(--radius-pill);background:var(--surface-2);min-height:24px;color:var(--ink-2);align-items:center;gap:5px;padding:0 9px;font-size:.75rem;font-weight:800;line-height:1;display:inline-flex}.room-tag .icon{width:13px;height:13px}.room-tag--sound{background:var(--orange-soft);color:var(--orange)}.room-tag--done{background:var(--teal-soft);color:var(--teal)}.room-tag--progress{color:var(--ink-2)}.room-ring{pointer-events:none;width:40px;height:40px;position:absolute;top:16px;right:16px}.room-ring circle{fill:none;stroke-width:4px}.room-ring-track{stroke:var(--surface-3)}.room-ring-progress{stroke:var(--teal);stroke-linecap:round}.room-sound-prompt{border:1px solid color-mix(in srgb, var(--orange) 40%, var(--line));background:var(--orange-soft);color:var(--ink);border-radius:16px;gap:8px;margin-top:8px;padding:12px 14px;display:grid}.room-sound-prompt[hidden]{display:none}.room-sound-prompt p{color:var(--ink);font-size:.84rem;line-height:1.4}.room-sound-actions{flex-wrap:wrap;gap:8px;display:flex}.room-sound-actions button{border-radius:var(--radius-pill);min-height:44px;font:inherit;cursor:pointer;padding:7px 12px;font-size:.82rem;font-weight:800}.room-screen .room-sound-switch{border:1px solid var(--orange);background:var(--orange);color:#fff}.room-screen .room-sound-cancel{border:1px solid color-mix(in srgb, var(--orange) 45%, var(--line));background:var(--surface);color:var(--ink-2)}@media (width<=960px){.room-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}@media (width<=720px){.room-head{flex-direction:column;align-items:flex-start}.room-filters{justify-content:flex-start}.room-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (width<=480px){.room-screen{padding-inline:0}.room-title{font-size:2.4rem}.room-filters{gap:6px}.room-filters button{min-height:44px;padding-inline:11px}.room-grid{grid-template-columns:1fr}}@media (prefers-reduced-motion:reduce){.room-screen .room-card{transition:none}.room-screen .room-card:hover,.room-screen .room-card:active{transform:none}}.room-print-resource{color:var(--text);margin:24px 0}.room-print-resource a{color:inherit;text-decoration:underline}.curriculum-grades{justify-content:space-between;align-items:flex-start;gap:6px;margin:0 0 22px;padding:0 4px;display:flex;position:relative}.curriculum-grades:before{content:"";background:linear-gradient(90deg, var(--teal), var(--violet) 55%, var(--pink));opacity:.32;border-radius:999px;height:3px;position:absolute;top:25px;left:28px;right:28px}.foundations .curriculum-grades button{z-index:1;min-width:54px;min-height:78px;color:var(--text-soft);text-align:center;background:0 0;border:0;border-radius:12px;flex:1 1 0;place-items:center;gap:5px;padding:0 3px;display:grid;position:relative}.foundations .curriculum-grades button.curriculum-grade-button{min-height:78px}.foundations .curriculum-grades button:hover{background:var(--accent-soft-bg);color:var(--accent-strong-text);transform:translateY(-1px)}.curriculum-grades button:focus-visible{outline:3px solid var(--accent);outline-offset:3px}.curriculum-grade-number{border:2px solid var(--line-strong);background:var(--surface);width:50px;height:50px;color:var(--ink);box-shadow:0 3px 0 color-mix(in srgb, var(--line) 80%, transparent);border-radius:50%;place-items:center;font-size:1.1rem;font-weight:900;line-height:1;display:grid}.curriculum-grade-label{color:var(--text-mild);font-size:.68rem;font-weight:800;line-height:1.2}.foundations .curriculum-grades button[aria-pressed=true] .curriculum-grade-number{border-color:var(--accent);background:var(--accent-fill);color:#fff;box-shadow:0 4px 0 color-mix(in srgb, var(--accent-strong-text) 70%, transparent), 0 0 0 5px var(--accent-soft-bg)}.foundations .curriculum-grades button[aria-pressed=true] .curriculum-grade-label{color:var(--accent-strong-text)}.curriculum-detail{border:1px solid var(--border);background:var(--surface);box-shadow:var(--shadow-card);border-radius:22px;padding:clamp(18px,3vw,28px)}.curriculum-heading{justify-content:space-between;align-items:flex-start;gap:16px;display:flex}.curriculum-heading h2{letter-spacing:-.03em;margin:5px 0 0;font-size:clamp(1.45rem,3vw,2rem);font-weight:900}.curriculum-status{border:1px solid color-mix(in srgb, var(--accent) 35%, var(--border));color:var(--accent-strong-text);background:var(--accent-soft-bg);border-radius:999px;flex:none;padding:7px 11px;font-size:.78rem;font-weight:800}.curriculum-summary{max-width:760px;color:var(--text-soft);margin:12px 0 6px;font-size:1rem;line-height:1.55}.curriculum-note{color:var(--text-mild);margin:0 0 20px;font-size:.84rem;line-height:1.55}.curriculum-topics{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;display:grid}.curriculum-topic{border:1px solid var(--border);background:var(--surface-alt);text-align:left;border-radius:18px;flex-direction:column;align-items:flex-start;min-width:0;min-height:164px;padding:16px;display:flex}.foundations button.curriculum-topic{width:100%;color:var(--text);font:inherit;cursor:pointer;align-self:stretch;transition:border-color .15s,background-color .15s,box-shadow .15s,transform .15s}.foundations button.curriculum-topic:hover{border-color:var(--accent);background:var(--surface-hover);box-shadow:var(--shadow-card);transform:translateY(-2px)}.foundations button.curriculum-topic:focus-visible{outline:3px solid var(--accent);outline-offset:3px}.curriculum-topic h4{letter-spacing:-.01em;margin:10px 0 5px;font-size:1rem;font-weight:900}.curriculum-topic p{color:var(--text-soft);margin:0 0 14px;font-size:.9rem;line-height:1.45}.coverage-label{letter-spacing:.01em;border-radius:999px;align-items:center;min-height:24px;padding:0 9px;font-size:.72rem;font-weight:800;display:inline-flex}.coverage-label[data-status=practice]{color:var(--correct-text);background:var(--correct-bg)}.coverage-label[data-status=partial]{color:var(--job-soft);background:var(--job-soft-bg)}.coverage-label[data-status=planned]{color:#5e6470;background:#e4e7ed}[data-theme=dark] .coverage-label[data-status=planned]{color:#c0c7d5;background:#343b49}.curriculum-topic-action,.foundations .curriculum-previous button{min-height:44px;color:var(--accent-strong-text);align-items:center;margin-top:auto;padding:7px 0;font-size:.82rem;font-weight:900;display:inline-flex}.curriculum-previous{flex-wrap:wrap;gap:10px;margin-top:16px;display:flex}.curriculum-previous .primary{padding-inline:18px}.curriculum-legend{border:1px solid var(--border);background:var(--surface-alt);border-radius:18px;margin:16px 0 8px;padding:0}.curriculum-legend summary{min-height:48px;color:var(--text);cursor:pointer;padding:12px 16px;font-weight:900;list-style-position:inside}.curriculum-legend p{color:var(--text-mild);padding:0 16px;font-size:.84rem;line-height:1.55}.curriculum-legend p:last-child{padding-bottom:16px}.curriculum-legend p+p{margin-top:7px}.curriculum-sources{color:var(--text-faint);margin:14px 2px 0;font-size:.75rem;line-height:1.5}.curriculum-sources a{color:var(--accent-strong-text)}@media (width<=600px){.curriculum-grades{grid-template-columns:repeat(4,minmax(0,1fr));gap:4px;padding:0;display:grid}.curriculum-grades:before{display:none}.foundations .curriculum-grades button{min-width:0;min-height:76px}.foundations .curriculum-grades button.curriculum-grade-button{min-height:76px}.curriculum-grade-number{width:46px;height:46px}.curriculum-topics{grid-template-columns:1fr}.curriculum-heading{flex-direction:column;gap:8px}.curriculum-status{align-self:flex-start}}@media (prefers-reduced-motion:reduce){.foundations .curriculum-grades button,.foundations button.curriculum-topic{transition:none}.foundations .curriculum-grades button:hover,.foundations button.curriculum-topic:hover{transform:none}}.curate-screen{--curate-purple:var(--violet,#6a35e6);--curate-card-shadow:var(--shadow-card,0 12px 28px -16px #3c24964d);color:var(--ink,#1b1a2e);width:100%;min-width:0;overflow:hidden}.curate-screen button,.curate-screen input,.curate-screen textarea{font:inherit}.curate-screen button{color:inherit;cursor:pointer}.curate-screen button:disabled,.curate-screen input:disabled,.curate-screen textarea:disabled{cursor:not-allowed;opacity:.58}.curate-screen button:focus-visible,.curate-screen input:focus-visible,.curate-screen textarea:focus-visible,.curate-screen summary:focus-visible{outline:3px solid var(--violet,#6a35e6);outline-offset:3px}.curate-layout{grid-template-columns:minmax(260px,318px) minmax(0,1fr);min-height:720px;display:grid}.curate-library{background:var(--surface-2,#efedf7);border-right:1px solid var(--line,#ddd9ea);align-content:start;gap:10px;padding:24px 18px 30px;display:grid}.curate-screen .curate-hand{color:var(--pink,#d61f69);font-family:var(--font-hand,cursive);margin:0;font-size:1.45rem;font-weight:700;line-height:1}.curate-title{color:var(--ink,#1b1a2e);letter-spacing:-.04em;margin:0;font-size:clamp(2rem,4vw,2.4rem);font-weight:900;line-height:1.05}.curate-journey-list{gap:10px;margin-top:8px;display:grid}.curate-screen .curate-journey-card{border:1px solid var(--line,#ddd9ea);background:var(--surface,#fff);text-align:left;min-height:78px;box-shadow:none;border-radius:18px;grid-template-columns:52px minmax(0,1fr);align-items:center;gap:12px;padding:12px;display:grid}.curate-screen .curate-journey-card:hover{border-color:var(--violet,#6a35e6)}.curate-screen .curate-journey-card.is-selected{box-shadow:0 0 0 3px var(--violet,#6a35e6);border-color:#0000}.curate-screen .curate-journey-card.is-active:not(.is-selected){box-shadow:inset 0 0 0 2px color-mix(in srgb, var(--teal,#0b8a77) 35%, transparent)}.curate-card-mascot{width:52px;height:52px;display:grid}.curate-card-copy{gap:2px;min-width:0;display:grid}.curate-card-copy strong{text-overflow:ellipsis;white-space:nowrap;font-size:.98rem;font-weight:900;line-height:1.2;overflow:hidden}.curate-card-meta{color:var(--ink-3,#636180);font-size:.77rem;font-weight:700;line-height:1.35}.curate-card-who{gap:4px;margin-top:4px;display:flex}.curate-card-who .curate-cast{width:22px;height:22px}.curate-library-actions{gap:8px;margin-top:4px;display:grid}.curate-screen .curate-dashed-action,.curate-screen .curate-add-stop,.curate-screen .curate-add-chapter{border:2px dashed var(--line,#ddd9ea);min-height:46px;color:var(--ink-2,#4b4961);text-align:left;background:0 0;border-radius:14px;justify-content:flex-start;align-items:center;gap:8px;padding:8px 14px;font-weight:800;display:inline-flex}.curate-screen .curate-dashed-action:hover,.curate-screen .curate-add-stop:hover,.curate-screen .curate-add-chapter:hover{border-color:var(--violet,#6a35e6);color:var(--violet-strong,#5323d1)}.curate-import-tools{border:1px solid var(--line,#ddd9ea);background:color-mix(in srgb, var(--surface,#fff) 65%, transparent);border-radius:16px;gap:10px;padding:12px;display:grid}.curate-import-tools[hidden]{display:none}.curate-inline{align-items:center;gap:6px;display:flex}.curate-inline input{min-width:0}.curate-file-label{color:var(--ink-2,#4b4961);gap:4px;font-size:.85rem;font-weight:800;display:grid}.curate-file-label input{border:1px solid var(--line,#ddd9ea);background:var(--surface,#fff);border-radius:10px;width:100%;padding:7px}.curate-editor{background:var(--bg,#f6f5fb);align-content:start;gap:12px;min-width:0;padding:22px 26px 0;display:grid}.curate-editor-top{grid-template-columns:minmax(180px,1fr) minmax(150px,.45fr);align-items:start;gap:12px;display:grid}.curate-screen .curate-field,.curate-screen .curate-for-field,.curate-screen .curate-mascot-field{align-content:start;gap:4px;min-width:0;display:grid}.curate-label{color:var(--ink-3,#636180);letter-spacing:.06em;text-transform:uppercase;font-size:.72rem;font-weight:900}.curate-field input,.curate-chapter-header input,.curate-stop-main>input,.curate-screen input[data-chapter-promise],.curate-json-editor textarea{border:2px solid var(--line,#ddd9ea);background:var(--surface,#fff);width:100%;color:var(--ink,#1b1a2e);border-radius:12px}.curate-field input{min-height:44px;padding:7px 12px;font-weight:800}.curate-title-field input{font-size:1.25rem;font-weight:900}.curate-screen .curate-for-field{grid-column:1/-1;justify-content:flex-end;align-items:center;gap:8px;display:flex}.curate-for-toggles,.curate-mascot-choices{flex-wrap:wrap;gap:6px;display:flex}.curate-screen .curate-for-toggle{border:2px solid var(--line,#ddd9ea);background:var(--surface,#fff);min-height:44px;color:var(--ink-2,#4b4961);border-radius:999px;align-items:center;gap:6px;padding:4px 12px 4px 5px;font-size:.88rem;font-weight:800;display:inline-flex}.curate-screen .curate-for-toggle[aria-pressed=true]{border-color:var(--violet,#6a35e6);background:var(--violet-soft,#eee7ff);color:var(--ink,#1b1a2e)}.curate-for-toggle .curate-cast{width:30px;height:30px}.curate-screen .curate-mascot-field{grid-column:1/-1;align-items:center;gap:8px;display:flex}.curate-screen .curate-mascot-choice{border:2px solid var(--line,#ddd9ea);background:var(--surface,#fff);border-radius:12px;width:44px;height:44px;padding:3px;display:grid}.curate-screen .curate-mascot-choice[aria-pressed=true]{border-color:var(--violet,#6a35e6);box-shadow:0 0 0 2px color-mix(in srgb, var(--violet,#6a35e6) 22%, transparent)}.curate-editor-tabs{background:var(--surface-2,#efedf7);border-radius:12px;justify-self:start;align-items:center;gap:2px;padding:4px;display:flex}.curate-screen .curate-editor-tabs button{min-height:44px;color:var(--ink-3,#636180);background:0 0;border:0;border-radius:9px;align-items:center;gap:6px;padding:7px 14px;font-size:.9rem;font-weight:800;display:inline-flex}.curate-screen .curate-editor-tabs button.is-selected{background:var(--surface,#fff);color:var(--ink,#1b1a2e);box-shadow:0 1px 3px #0000001a}.curate-screen .curate-icon,.curate-screen .curate-cast{flex:none;place-items:center;display:inline-grid}.curate-editor-tabs>.curate-icon{display:none}.curate-icon svg{fill:none;stroke:currentColor;stroke-linecap:round;stroke-linejoin:round;stroke-width:2px;width:20px;height:20px}.curate-cast svg{width:100%;height:100%;display:block}.curate-stops-editor{align-content:start;gap:14px;min-width:0;display:grid}.curate-chapter{gap:7px;min-width:0;display:grid}.curate-chapter-header{grid-template-columns:28px minmax(0,1fr) auto auto;align-items:center;gap:8px;display:grid}.curate-chapter-number{width:28px;height:28px;color:var(--pink,#d61f69);font-family:var(--font-hand,cursive);border-radius:50%;place-items:center;font-size:1.1rem;font-weight:700;display:grid}.curate-chapter-header input{min-height:38px;padding:5px 9px;font-size:1rem;font-weight:900}.curate-chapter-count{color:var(--ink-3,#636180);white-space:nowrap;font-size:.82rem;font-weight:800}.curate-chapter-actions,.curate-stop-order{align-items:center;gap:2px;display:inline-flex}.curate-screen .curate-icon-button{width:44px;height:44px;color:var(--ink-3,#636180);background:0 0;border:0;border-radius:10px;place-items:center;padding:4px;display:inline-grid}.curate-screen .curate-icon-button:hover:not(:disabled){background:var(--surface-2,#efedf7);color:var(--violet,#6a35e6)}.curate-screen .curate-icon-button .curate-icon svg{width:19px;height:19px}.curate-stop-list{gap:7px;min-width:0;display:grid}.curate-stop-row{border:1px solid var(--line,#ddd9ea);background:var(--surface,#fff);min-width:0;box-shadow:var(--curate-card-shadow);border-radius:16px;grid-template-columns:auto 38px minmax(0,1fr) auto auto;align-items:start;gap:8px;padding:7px 9px;display:grid}.curate-stop-order{padding-top:2px}.curate-stop-order .curate-reorder{display:inline-grid}.curate-stop-tile{border-radius:12px;width:38px;height:38px}.curate-stop-tile .curate-icon svg{width:22px;height:22px}.curate-activity-tile{color:#fff;place-items:center;display:grid}.curate-group-practise{background:linear-gradient(150deg,#45e0bf,#0b8a77)}.curate-group-learn{background:linear-gradient(150deg,#9c6bff,#5b2bd9)}.curate-group-read{background:linear-gradient(150deg,#43d3ee,#0a7f9e)}.curate-group-play{background:linear-gradient(150deg,#ff7bb5,#c21d66)}.curate-group-listen{background:linear-gradient(150deg,#ffb25c,#e0620f)}.curate-stop-main{align-content:start;gap:5px;min-width:0;display:grid}.curate-stop-title{flex-wrap:wrap;align-items:baseline;gap:5px;display:flex}.curate-stop-title input{border:0;border-bottom:1px dashed var(--line,#ddd9ea);min-width:min(100%,160px);max-width:260px;min-height:30px;color:var(--ink,#1b1a2e);background:0 0;padding:2px 5px;font-size:.95rem;font-weight:900}.curate-stop-title input::placeholder{color:var(--ink,#1b1a2e);opacity:1}.curate-activity-name{color:var(--ink-3,#636180);font-size:.8rem;font-weight:700}.curate-stop-sub{flex-wrap:wrap;align-items:center;gap:5px;min-height:24px;display:flex}.curate-tag,.curate-try-it,.curate-screen .curate-goal-toggle{background:var(--surface-2,#efedf7);min-height:24px;color:var(--ink-2,#4b4961);white-space:nowrap;border-radius:999px;align-items:center;padding:2px 8px;font-size:.73rem;font-weight:800;display:inline-flex}.curate-tag.is-sound{background:var(--orange-soft,#ffeadb);color:var(--orange,#c2410c)}.curate-note-preview{color:var(--ink-3,#636180);text-overflow:ellipsis;white-space:nowrap;font-size:.75rem;font-weight:700;overflow:hidden}.curate-stop-main>input{min-height:30px;color:var(--ink-2,#4b4961);border-width:1px;padding:3px 7px;font-size:.77rem}.curate-preset-wrap{flex-wrap:wrap;align-items:center;gap:5px 8px;display:flex}.curate-preset-group{flex-wrap:wrap;align-items:center;gap:4px;display:inline-flex}.curate-preset-label{color:var(--ink-3,#636180);text-transform:uppercase;font-size:.7rem;font-weight:900}.curate-screen .curate-chip{border:1px solid var(--line,#ddd9ea);background:var(--surface,#fff);min-height:44px;color:var(--ink-2,#4b4961);border-radius:999px;padding:3px 8px;font-size:.73rem;font-weight:800}.curate-screen .curate-chip[aria-pressed=true]{border-color:var(--violet,#6a35e6);background:var(--violet-soft,#eee7ff);color:var(--ink,#1b1a2e)}.curate-key-preset{color:var(--ink-2,#4b4961);flex-basis:100%;font-size:.78rem;font-weight:800}.curate-key-preset summary{cursor:pointer;align-items:center;min-height:30px;display:inline-flex}.curate-chip-list{flex-wrap:wrap;gap:4px;padding:5px 0;display:flex}.curate-stop-goal{flex-wrap:wrap;justify-content:flex-end;align-items:center;gap:5px;min-width:112px;display:flex}.curate-screen .curate-stepper{border:2px solid var(--line,#ddd9ea);background:var(--surface,#fff);border-radius:999px;align-items:center;min-height:44px;font-weight:900;display:inline-flex;overflow:hidden}.curate-screen .curate-stepper strong{text-align:center;min-width:40px;padding:0 4px;font-size:.8rem}.curate-screen .curate-stepper .curate-icon-button{width:44px;height:44px}.curate-screen .curate-goal-toggle{background:var(--surface-2,#efedf7);border:0}.curate-screen .curate-remove{margin-top:1px}.curate-screen .curate-remove:hover:not(:disabled){color:var(--orange,#c2410c)}.curate-screen .curate-add-stop,.curate-screen .curate-add-chapter{width:100%}.curate-picker{border:1px dashed var(--line-strong,#8e8aa6);background:var(--surface-2,#efedf7);border-radius:16px;gap:10px;padding:12px;display:grid}.curate-picker>strong{font-size:.92rem}.curate-picker-group{gap:5px;display:grid}.curate-picker-label{color:var(--ink-3,#636180);text-transform:uppercase;font-size:.72rem;font-weight:900}.curate-picker-choices{grid-template-columns:repeat(auto-fit,minmax(130px,1fr));gap:6px;display:grid}.curate-screen .curate-picker-choice{border:1px solid var(--line,#ddd9ea);background:var(--surface,#fff);text-align:left;border-radius:12px;align-items:center;gap:7px;min-height:44px;padding:4px 8px;font-size:.78rem;font-weight:800;display:flex}.curate-screen .curate-picker-choice:hover{border-color:var(--violet,#6a35e6)}.curate-picker-tile{border-radius:9px;flex:0 0 30px;width:30px;height:30px}.curate-picker-tile .curate-icon svg{width:19px;height:19px}.curate-json-editor{gap:10px;min-width:0;display:grid}.curate-json-editor textarea{resize:vertical;min-height:520px;color:var(--ink,#1b1a2e);padding:14px;font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;font-size:.82rem;line-height:1.5}.curate-screen .curate-json-status,.curate-screen .curate-message,.curate-screen .curate-import-check,.curate-screen .curate-import-warning,.curate-screen .curate-import-error{background:var(--surface-2,#efedf7);color:var(--ink-2,#4b4961);border-radius:14px;margin:0;padding:10px 13px;font-size:.84rem;line-height:1.45}.curate-screen .curate-json-status.is-valid,.curate-screen .curate-message.is-notice,.curate-screen .curate-import-check{background:var(--teal-soft,#ddf7ef);color:var(--teal,#0b8a77)}.curate-screen .curate-json-status.is-error,.curate-screen .curate-message.is-error,.curate-screen .curate-import-error{background:var(--orange-soft,#ffeadb);color:var(--orange,#c2410c)}.curate-screen .curate-message.is-warning,.curate-screen .curate-import-warning{background:var(--yellow-soft,#fff4cc);color:var(--yellow-ink,#7a5400)}.curate-screen .curate-primary,.curate-screen .curate-secondary,.curate-screen .curate-danger{border-radius:999px;justify-content:center;align-items:center;gap:7px;min-height:44px;padding:8px 16px;font-weight:900;display:inline-flex}.curate-screen .curate-primary{background:var(--grad-cta,linear-gradient(180deg, #ffd95a, #ffb020));box-shadow:0 4px 0 var(--cta-edge,#e59400);color:var(--cta-ink,#2b1a00);border:0}.curate-screen .curate-secondary{border:2px solid var(--line,#ddd9ea);background:var(--surface,#fff);color:var(--ink-2,#4b4961)}.curate-screen .curate-danger{border:2px solid color-mix(in srgb, var(--orange,#c2410c) 35%, var(--line,#ddd9ea));background:var(--orange-soft,#ffeadb);color:var(--orange,#c2410c)}.curate-footer{border-top:1px solid var(--line,#ddd9ea);flex-wrap:wrap;align-items:center;gap:8px;padding:12px 0 18px;display:flex}.curate-footer>.curate-secondary,.curate-footer>.curate-danger{min-height:44px}.curate-delete-confirmation{background:var(--orange-soft,#ffeadb);width:100%;color:var(--orange,#c2410c);border-radius:14px;flex-wrap:wrap;align-items:center;gap:8px;padding:10px 12px;font-size:.85rem;font-weight:800;display:flex}.curate-delete-confirmation[hidden]{display:none}.curate-delete-confirmation span{margin-right:auto}.curate-footer input[data-copy-fallback]{border:2px solid var(--line,#ddd9ea);background:var(--surface,#fff);min-width:min(100%,420px);min-height:44px;color:var(--ink-2,#4b4961);border-radius:12px;flex:280px;padding:6px 10px;font-size:.75rem}.curate-toast{background:var(--ink,#1b1a2e);min-height:40px;color:var(--bg,#f6f5fb);border-radius:14px;align-items:center;margin-left:auto;padding:7px 12px;font-size:.8rem;font-weight:800;display:inline-flex}.curate-import-card{border:1px solid var(--line,#ddd9ea);background:var(--surface,#fff);max-width:720px;box-shadow:var(--shadow-pop,0 24px 48px -20px #3c249661);border-radius:24px;justify-items:start;gap:12px;margin:36px auto;padding:30px;display:grid;position:relative}.curate-import-card .curate-title{max-width:calc(100% - 112px);font-size:clamp(2rem,5vw,2.75rem)}.curate-screen .curate-import-meta{color:var(--ink-2,#4b4961);margin:0;font-size:1rem;font-weight:800}.curate-import-mascot{width:96px;height:96px;filter:var(--glow,none);position:absolute;top:26px;right:24px}.curate-import-for{border:0;flex-wrap:wrap;gap:6px;width:100%;margin:0;padding:0;display:flex}.curate-import-for legend{width:100%;color:var(--ink-3,#636180);letter-spacing:.06em;text-transform:uppercase;margin-bottom:3px;font-size:.72rem;font-weight:900}.curate-conflict-actions{flex-wrap:wrap;gap:7px;margin-top:8px;display:flex}.curate-import-card>.curate-secondary{min-width:130px}@media (width<=900px){.curate-layout{grid-template-columns:260px minmax(0,1fr)}.curate-editor{padding-inline:16px}.curate-stop-row{grid-template-columns:auto 38px minmax(0,1fr) auto}.curate-stop-goal{grid-column:3/-1;justify-content:flex-start}.curate-screen .curate-remove{grid-area:1/4}}@media (width<=700px){.curate-layout{min-height:0;display:block}.curate-library{border-right:0;border-bottom:1px solid var(--line,#ddd9ea);padding:18px 14px}.curate-journey-list{grid-template-columns:repeat(auto-fit,minmax(220px,1fr));max-width:100%;padding:3px;display:grid}.curate-screen .curate-journey-card{min-width:0}.curate-editor{padding:18px 14px 0}.curate-editor-top{grid-template-columns:1fr}.curate-screen .curate-for-field,.curate-screen .curate-mascot-field{flex-direction:column;justify-content:flex-start;align-items:flex-start}.curate-chapter-header{grid-template-columns:28px minmax(0,1fr) auto}.curate-chapter-actions{grid-column:2/-1}.curate-stop-row{grid-template-columns:38px minmax(0,1fr) auto;gap:6px}.curate-stop-order{grid-area:1/1}.curate-stop-order .curate-grip{display:none}.curate-stop-tile{grid-area:2/1}.curate-stop-main{grid-area:1/2/span 2/-1}.curate-stop-goal{grid-area:3/2/auto/-1}.curate-screen .curate-remove{grid-area:1/3}.curate-import-card{margin:18px 14px;padding:22px 18px}.curate-import-mascot{width:70px;height:70px;top:18px;right:14px}.curate-import-card .curate-title{max-width:calc(100% - 72px)}.curate-footer{padding-bottom:14px}.curate-toast{width:100%;margin-left:0}}@media (prefers-reduced-motion:reduce){.curate-screen{scroll-behavior:auto}}.curate-screen input[data-chapter-promise]{min-height:40px;color:var(--ink-2,#4b4961);padding:7px 12px;font-weight:600}#foundation-content .written-picker{border:1px solid var(--line);background:var(--surface);border-radius:18px;margin:0 0 14px;padding:0}#foundation-content .written-picker>summary{cursor:pointer;justify-content:space-between;align-items:center;gap:12px;min-height:48px;padding:10px 16px;font-weight:800;list-style:none;display:flex}#foundation-content .written-picker>summary::-webkit-details-marker{display:none}.written-picker-current{min-width:0;color:var(--ink)}.written-picker-change{color:var(--accent,var(--ink-2));flex:none;font-size:.92rem}.written-picker[open] .written-picker-change{visibility:hidden}.written-picker-body{gap:10px;padding:0 16px 16px;display:grid}#foundation-content .foundation-lessons{grid-template-columns:1fr;gap:10px;margin:18px 0;display:grid}#foundation-content .foundation-lessons .foundation-lesson{margin:0}#foundation-content .foundation-lesson dl{grid-template-columns:max-content 1fr;gap:4px 12px;margin:0;display:grid}#foundation-content .foundation-lesson dd{margin:0}.notation-reference .notation-cards{padding:0 16px 16px}.notation-reference .notation-blurb{padding:0 16px}@media (width>=700px){#foundation-content .harmony-builder,#foundation-content .harmony-functions{padding:20px 22px}}#foundation-content .harmony-builder .activity-prompt,#foundation-content .harmony-builder{margin-top:0}#foundation-content .song-pick{margin:0 0 14px}#foundation-content .song-pick label{gap:6px;display:grid}#foundation-content .song-desk{margin-top:16px}#foundation-content .song-section{border:1px solid var(--line);border-radius:18px;margin:16px 0;padding:16px 18px}#foundation-content .song-section h4{margin:0 0 4px}#foundation-content .sing-prompt.activity-prompt{box-shadow:none;background:0 0;border:0;padding:0;font-size:clamp(1.45rem,2.6vw,2rem)}.activity-why .sing-task{background:0 0;border:0;padding:0}.activity-why .ear-reference{margin-top:4px}.guided-skill{color:var(--ink-3);letter-spacing:.04em;text-transform:uppercase;margin:0 0 4px;font-size:.9rem;font-weight:800}.guided-history{margin-top:16px}
