/*! tailwindcss v4.3.3 | MIT License | https://tailwindcss.com */@layer properties{@supports (((-webkit-hyphens:none)) and (not (margin-trim:inline))) or ((-moz-orient:inline) and (not (color:rgb(from red r g b)))){*,:before,:after,::backdrop{--tw-rotate-x:initial;--tw-rotate-y:initial;--tw-rotate-z:initial;--tw-skew-x:initial;--tw-skew-y:initial}}}@layer theme{:root,:host{--font-mono:ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;--spacing:.25rem}}@layer base,components;@layer utilities{.visible{visibility:visible}.sr-only{clip-path:inset(50%);white-space:nowrap;border-width:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}.relative{position:relative}.mt-4{margin-top:calc(var(--spacing) * 4)}.block{display:block}.flex{display:flex}.grid{display:grid}.hidden{display:none}.inline{display:inline}.transform{transform:var(--tw-rotate-x,) var(--tw-rotate-y,) var(--tw-rotate-z,) var(--tw-skew-x,) var(--tw-skew-y,)}.resize{resize:both}.flex-col{flex-direction:column}.flex-wrap{flex-wrap:wrap}.items-center{align-items:center}.justify-between{justify-content:space-between}.gap-1{gap:var(--spacing)}.gap-2{gap:calc(var(--spacing) * 2)}.gap-3{gap:calc(var(--spacing) * 3)}}:root{--background:#0b0c0e;--foreground:#e8e9eb;--card:#121316;--primary:#ffc857;--radius:4px;--ring:#ffc857}@property --tw-rotate-x{syntax:"*";inherits:false}@property --tw-rotate-y{syntax:"*";inherits:false}@property --tw-rotate-z{syntax:"*";inherits:false}@property --tw-skew-x{syntax:"*";inherits:false}@property --tw-skew-y{syntax:"*";inherits:false}:root{font-family:Inter,Segoe UI,Arial,sans-serif;color:var(--fg);background:var(--bg);font-synthesis:none;font-weight:400;color-scheme:dark;--bg: #0b0c0e;--panel: #121316;--panel-2: #17191d;--fg: #e8e9eb;--muted: #b4b9c0;--rule: #2a2d33;--accent: #ffc857;--accent-ink: #14110a;--hover: rgba(255, 255, 255, .06);--sel: rgba(255, 200, 87, .12);--green: #5fbf8a;--mistake: #e08a6c;--radius: 4px;--ease: cubic-bezier(.2, .8, .2, 1);--t: .2s;--font-ui: Inter, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;--font-display: ui-serif, "New York", "Iowan Old Style", Georgia, serif;--font-mono: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;--ink: var(--fg);--line: var(--rule);--paper: var(--panel);--canvas: var(--bg);--olive-ink: var(--fg);--olive-soft: var(--panel-2);--olive-line: var(--rule)}*{box-sizing:border-box}body{margin:0}button,input,select{font:inherit}button{cursor:pointer;display:inline-flex;align-items:center;justify-content:center;gap:9px;border:1px solid var(--rule);border-radius:var(--radius);padding:11px 16px;background:transparent;color:var(--muted);font-size:13px;font-weight:500;transition:background .16s,color .16s,border-color .16s,transform .16s}button:hover:not(:disabled){border-color:var(--muted);background:var(--hover);color:#fff}button:active:not(:disabled){transform:translateY(1px)}button:disabled{cursor:default;opacity:.48}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible{outline:2px solid var(--accent);outline-offset:2px}button.primary{background:var(--accent);color:var(--accent-ink);border-color:var(--accent);font-weight:600;padding:13px 20px}button.primary:hover:not(:disabled){background:#ffd57e;border-color:#ffd57e;color:var(--accent-ink);transform:translateY(-2px)}button.text-button{padding:7px 0;border:0;background:transparent;font-size:12px;justify-content:flex-start;color:var(--muted)}button.icon-button{width:36px;height:36px;padding:7px;border:0;background:transparent}select{border:1px solid var(--line);background:var(--panel);border-radius:var(--radius);padding:9px 28px 9px 12px;color:var(--ink);font-size:13px}input[type=range]{accent-color:var(--accent);height:3px}input[type=checkbox]{accent-color:var(--accent);width:16px;height:16px}input[type=text],input:not([type]){border:1px solid var(--line);border-radius:var(--radius);padding:12px;background:var(--panel);color:var(--fg)}h1,h2,h3,p{margin:0}h1,h2,h3{font-family:var(--font-display);font-weight:600;letter-spacing:-.015em;color:#fff}h1{font-size:44px;line-height:1.12}h1 em,h2 em{font:inherit}h2{font-size:23px;line-height:1.25}h3{font-size:15px}p{font-size:13px;line-height:1.8;color:var(--muted)}strong{font-weight:600}.muted{color:var(--muted)}.micro{font-size:11px;line-height:1.6}.eyebrow,.achievement-state,.studio-stats-label,.studio-card-heading .tag,.global-controls .key-select>span{font-size:11px;font-weight:600;letter-spacing:.11em;text-transform:uppercase;color:var(--muted)}.eyebrow{display:block!important;line-height:1.5}.tag{display:inline-flex;align-items:center;font-size:9px;letter-spacing:1px;line-height:1.2;padding:7px 9px;background:var(--panel-2);border:1px solid var(--rule);border-radius:4px;color:var(--muted);font-weight:500;white-space:nowrap}.centered{text-align:center}.button-row{display:flex;align-items:center;justify-content:center;gap:10px;flex-wrap:wrap}.app-shell{display:flex;min-height:100vh}.sidebar{width:225px;flex-shrink:0;border-right:1px solid var(--line);padding:34px 23px 23px;background:var(--bg);position:fixed;left:0;top:0;bottom:0;display:flex;flex-direction:column;z-index:20}.brand{display:flex;gap:10px;align-items:center;font-size:25px;font-weight:650;letter-spacing:-1.4px}.brand-mark{width:35px;height:35px;background:var(--panel-2);border:1px solid var(--rule);border-radius:8px;color:#fff;display:grid;place-items:center}.brand-dot{color:var(--accent)}.brand-button{padding:0;border:0;background:transparent;justify-content:flex-start}.sidebar nav>.eyebrow{margin:0 12px 14px}.sidebar nav button{width:100%;justify-content:flex-start;border:0;border-radius:5px;background:transparent;color:var(--muted);font-size:12px;font-weight:400;padding:12px;margin:2px 0;gap:12px}.sidebar nav button.active{background:var(--panel-2);color:var(--fg);font-weight:600}.sidebar nav button.active svg{stroke-width:2}.sidebar nav button svg{stroke-width:1.5}.sidebar-bottom{margin-top:auto;padding-top:32px}.sidebar-bottom>.text-button{font-size:11px;color:var(--muted);margin:0 10px}.offline{display:flex;gap:6px;align-items:center;font-size:8px;letter-spacing:.15px;color:var(--muted);margin:20px 7px 0}.main-shell{margin-left:225px;width:calc(100% - 225px)}.topbar{height:80px;border-bottom:1px solid var(--line);padding:0 42px;display:flex;align-items:center;justify-content:space-between;gap:20px}.global-controls{display:flex;align-items:center;gap:14px}.global-controls label{display:flex;align-items:center;gap:10px}.global-controls label>span{font-size:9px;color:var(--muted)}.global-controls select{font-size:11px;background:transparent;border-color:var(--rule);padding-top:7px;padding-bottom:7px}.page{max-width:1200px;margin:0 auto;padding:42px 44px 38px}.panel-top{display:flex;justify-content:space-between;align-items:center;gap:10px}.round-icon{width:43px;height:43px;background:var(--panel-2);border:1px solid var(--rule);border-radius:50%;display:grid;place-items:center;color:var(--accent);margin-bottom:20px}.stats-row{display:grid;grid-template-columns:1fr 1fr 1fr;border:1px solid var(--line);background:var(--bg);border-radius:7px;margin:23px 0 32px;padding:20px 0}.stats-row>div{padding:0 24px;border-right:1px solid var(--line)}.stats-row>div:last-child{border:0}.stats-row strong{display:block;font-size:28px;letter-spacing:-1px;font-weight:450;margin-top:9px}.stats-row strong small{font-size:9px;font-weight:400;letter-spacing:0;color:var(--muted);margin-left:5px}.section-heading{display:flex;justify-content:space-between;align-items:flex-end;margin:25px 0 17px;gap:20px}.section-heading .eyebrow{margin-bottom:7px}.section-heading h2{font-size:21px}.section-heading .text-button{font-size:10px;color:var(--muted)}.brand.small{font-size:14px;gap:6px;opacity:.5;letter-spacing:-.7px}.brand.small .brand-mark{width:20px;height:20px;border-radius:4px}.brand.small svg{width:15px;height:15px}.page-heading{display:flex;justify-content:space-between;align-items:center;gap:20px;margin-bottom:28px}.page-heading h1{font-size:35px;margin:13px 0 12px}.page-heading p{font-size:12px}.page-heading>.tag{align-self:flex-start;margin-top:8px}.panel{background:var(--panel);border:1px solid var(--line);border-radius:8px;padding:24px}.panel-top{margin-bottom:16px}.lesson-layout{display:grid;grid-template-columns:minmax(0,1fr) 225px;gap:22px}.lesson-main{--pad: 23px;padding:var(--pad)}.lesson-aside{display:flex;flex-direction:column;gap:20px}.settings-card{border-top:1px solid var(--line);padding:19px 3px}.settings-card .eyebrow{margin-bottom:14px}.toggle-row{display:flex;align-items:center;justify-content:space-between;font-size:11px;color:var(--muted);margin:14px 0}.listen-area{text-align:center;padding:5px 0 25px}.listen-area h2{font-size:22px;margin-bottom:8px}.listen-area p{font-size:11px}.wave{height:80px;display:flex;justify-content:center;align-items:center;gap:3px;margin:5px 0 18px}.wave i{width:2px;background:#2a2d33;border-radius:2px;transition:background .3s}.wave.playing i{background:var(--accent);animation:wave .65s ease-in-out infinite alternate}.answer-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(78px,1fr));gap:10px;margin:0 0 24px}.answer-grid.many{grid-template-columns:repeat(6,1fr)}.answer-grid.four{grid-template-columns:repeat(4,1fr)}.note-choice{flex-direction:column;height:82px;gap:8px;background:var(--bg)}.note-choice>span{font-size:28px;font-family:inherit;font-weight:500}.note-choice>small{font-size:8px;color:var(--muted);height:14px}.note-choice:disabled{opacity:1;color:#e8e9eb;background:var(--bg)}.note-choice.correct-choice{color:#5fbf8a;border-color:#5fbf8a;background:#5fbf8a1f}.note-choice.wrong-choice{color:#e08a6c;border-color:#e08a6c;background:#e08a6c1f}.piano{position:relative;width:100%;height:132px;-webkit-user-select:none;user-select:none;margin:10px 0 12px}.white-keys{display:flex;width:100%;height:100%;gap:0}.piano-key{border-radius:0;transition:background .14s;display:flex;flex-direction:column;justify-content:flex-end;gap:11px;font-family:inherit;font-size:10px;padding:10px 3px;border:1px solid #3a3e45}.piano-key:disabled{opacity:1}.piano-key.white{flex:1;background:#1f2125;color:var(--muted);border-right:0}.piano-key.white:last-child{border-right:1px solid #3a3e45;border-bottom-right-radius:5px}.piano-key.white:first-child{border-bottom-left-radius:5px}.piano-key.black{position:absolute;top:0;height:60%;width:8%;transform:translate(-50%);z-index:2;background:#08090a;border-color:#3a3e45;color:var(--muted);border-radius:0 0 3px 3px;font-size:8px;gap:5px;padding-bottom:9px}.piano-key .key-marker{opacity:0;font-size:10px;line-height:14px;background:var(--accent);color:var(--accent-ink);border-radius:50%;width:15px;height:15px}.piano-key.in-scale .key-marker{opacity:1}.piano-key.sounding.white{background:#4a4230!important}.piano-key.sounding.black{background:#8a6d28!important;border-color:var(--accent)!important;color:#fff}.piano-key.sounding .key-marker{opacity:1;background:#fff;color:var(--accent-ink)}.piano-key.black:active{transform:translate(-50%)}.piano.compact{height:100px}.lesson-actions{display:flex;justify-content:center;align-items:center;gap:10px;margin-top:18px;min-height:42px}.lesson-actions button{font-size:11px}.tiny-dots,.result-dots{display:flex;gap:4px;flex-wrap:wrap;max-width:210px}.tiny-dots i,.result-dots i{width:7px;height:7px;border-radius:50%;background:var(--panel-2)}.tiny-dots i.right,.result-dots i.right{background:var(--green)}.tiny-dots i.wrong,.result-dots i.wrong{background:var(--mistake)}.session-complete{min-height:650px;text-align:center;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:22px}.session-complete h1{font-size:52px}.session-complete p{max-width:460px}.complete-symbol{height:78px;width:78px;border-radius:50%;border:1px solid var(--rule);background:var(--panel-2);display:grid;place-items:center;color:var(--accent)}.result-dots i{width:11px;height:11px}.staff{width:100%;height:auto;max-height:265px;color:var(--fg);margin:0}.staff text{fill:currentColor}.staff-panel{padding:0;overflow:hidden}.staff-toolbar{min-height:86px;padding:14px 20px;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;gap:24px;background:var(--bg)}.staff-toolbar>div:first-child{display:flex;flex-direction:column;gap:4px;flex:0 0 auto}.staff-toolbar-controls{display:flex;align-items:center;justify-content:flex-end;gap:14px}.staff-control-group{display:grid;gap:5px}.staff-control-group>span{color:var(--muted);font-size:9px;font-weight:600;line-height:1}.staff-control-group .segmented button{padding-inline:12px}.staff-stage{background:var(--panel-2);border-bottom:1px solid var(--line);padding:15px 24px 20px}.staff-stage-meta{width:min(100%,820px);margin:0 auto 10px;display:flex;justify-content:space-between;color:var(--muted);font-size:9px;font-weight:600}.staff-sheet{width:min(100%,820px);margin:0 auto;padding:2px 26px 0;border:1px solid var(--rule);border-radius:6px;background:var(--panel);box-shadow:none;animation:question-arrive .2s ease-out}.staff-sheet .staff{max-height:230px}.staff-answer-area{padding:21px 24px 16px}.staff-answer-heading{display:flex;align-items:flex-end;justify-content:space-between;gap:20px;margin-bottom:16px}.staff-answer-heading h2{font-size:20px;margin:4px 0 3px}.staff-answer-heading p{font-size:10px;line-height:1.5}.staff-answer-heading button{padding:8px 12px;font-size:11px;flex:0 0 auto}.staff-answers{margin-bottom:12px}.staff-answers .note-choice{height:88px;background:var(--panel)}.staff-answers .note-choice>span{font-size:31px}.staff-footer-actions{display:flex;justify-content:flex-end;min-height:32px;padding-top:3px}.segmented{display:flex;background:var(--panel-2);border:1px solid var(--rule);border-radius:6px;padding:3px;gap:2px}.segmented button{border:0;background:transparent;font-size:10px;padding:7px 15px;color:var(--muted)}.segmented .selected{background:var(--sel);color:#fff;box-shadow:inset 0 0 0 1px var(--accent)}.segmented.large button{font-size:12px;padding:10px 22px}.typing-answer{display:flex;gap:10px;margin:20px 0}.typing-answer input{width:50%;font-size:17px}.typing-answer button{font-size:11px}.explore-layout{display:grid;grid-template-columns:190px minmax(0,1fr);gap:25px}.pattern-list{display:flex;flex-direction:column;gap:4px}.pattern-list>select{margin:12px 0 26px}.list-label{margin-bottom:10px}.pattern-list>button{justify-content:space-between;text-align:left;font-size:11px;padding:12px 10px;border-color:transparent;background:transparent;color:var(--muted);border-radius:4px}.pattern-list>button.selected{background:var(--panel-2);color:var(--fg);border-color:var(--rule)}.pattern-list>button>b{font-family:inherit;font-weight:400;font-size:15px;color:var(--muted)}.harmony-content{display:flex;flex-direction:column;gap:18px}.harmony-identity{padding-bottom:0}.harmony-title{margin:23px 0}.harmony-title h2{font-size:44px}.harmony-title h2>span{font-family:inherit}.harmony-title h2 em{font-size:31px}.harmony-title p{font-size:11px;margin-top:12px;max-width:450px}.transposition{margin:0 -24px;padding:14px 24px;background:var(--bg);border-top:1px solid var(--line);border-radius:0 0 8px 8px;display:flex;align-items:center;flex-wrap:wrap;gap:9px;font-size:11px;color:var(--muted)}.transposition>span:first-child{width:100%;font-size:7px;letter-spacing:1.3px;color:var(--muted)}.transposition>small{margin-left:auto;font-size:9px}.tone-panel{padding:22px 20px}.tone-grid{display:flex;gap:7px;margin-top:20px}.tone-grid>button{display:flex;flex-direction:column;align-items:center;flex:1;min-width:0;padding:13px 2px 12px;background:var(--bg);border:1px solid var(--rule);border-radius:5px;gap:12px}.tone-grid small{font-size:6px;letter-spacing:.6px;color:var(--muted)}.tone-grid strong{font-size:23px;font-family:inherit;font-weight:500}.tone-grid span{font-size:9px;color:var(--muted)}.tone-grid>button.active{background:var(--sel);border-color:var(--accent)}.keyboard-panel{padding:21px 20px}.playback-bar{display:flex;gap:10px;align-items:center;margin-top:18px;flex-wrap:wrap}.playback-bar button{font-size:10px;padding:10px 12px}.tempo{display:flex;align-items:center;gap:7px;margin-left:auto;font-size:8px;color:var(--muted)}.tempo input{width:60px}.tempo span{min-width:40px}.harmony-note{display:flex;gap:8px;align-items:flex-start}.harmony-note svg{flex-shrink:0;margin-top:2px}.play-room-grid{display:grid;grid-template-columns:minmax(0,1fr) 235px;gap:24px}.pitch-panel{padding:24px}.live-status{font-size:9px;color:var(--muted);display:flex;align-items:center;gap:5px}.live-status i{width:5px;height:5px;border-radius:50%;background:#3a3e45}.live-status.on i{background:var(--accent);animation:pulse 1s infinite}.target-note{text-align:center;padding:12px 0 0;font-family:inherit;font-weight:500;font-size:104px;color:var(--fg);line-height:1.15}.target-picker{display:flex;align-items:flex-end;justify-content:center;gap:10px;margin:18px 0 0}.target-picker label{display:flex;flex-direction:column;gap:6px;color:var(--muted);font-size:10px}.target-picker select{min-width:145px}.target-picker button{min-height:37px}.target-note small{font-size:33px;color:var(--muted);margin-left:5px}.pitch-panel>.centered{font-size:10px;margin:7px 0 26px}.pitch-panel .button-row button{font-size:11px}.pitch-feedback{display:flex;flex-direction:column;gap:8px;align-items:center;margin:26px 0 0;padding:20px;border:1px solid var(--rule);border-radius:6px;background:var(--bg);font-size:13px}.pitch-feedback>span{font-size:10px;color:var(--muted)}.pitch-feedback.matched{color:#5fbf8a;background:#5fbf8a1f;border-color:#5fbf8a}.tuning-hint{font-size:12px;color:var(--accent)}.tuning-meter{display:flex;gap:12px;align-items:center;margin:24px 15px;font-size:7px;color:var(--muted);letter-spacing:1px}.tuning-meter>div{position:relative;flex:1;height:3px;background:var(--panel-2)}.tuning-meter b{position:absolute;left:50%;top:-7px;height:17px;width:1px;background:var(--accent)}.tuning-meter i{position:absolute;top:-3px;width:9px;height:9px;background:var(--accent);border:2px solid var(--panel);border-radius:50%;transition:left .1s;transform:translate(-50%);z-index:1}.privacy-card{border:1px solid var(--line);border-radius:6px;padding:20px}.privacy-card>svg{color:var(--accent);margin-bottom:15px}.privacy-card h3{font-size:15px;line-height:1.4;margin-bottom:10px}.privacy-card p{font-size:10px}.empty{text-align:center;border:1px dashed var(--rule);border-radius:7px;padding:40px 25px;margin-bottom:35px;display:flex;flex-direction:column;align-items:center;gap:14px}.empty h3{font-size:25px}.empty p{font-size:12px}.weekly .section-heading{margin-top:0}.week-chart{display:flex;gap:28px;align-items:flex-end;height:180px;padding-top:10px}.week-chart>div{display:flex;flex:1;flex-direction:column;align-items:center;gap:9px;font-size:10px;color:var(--muted)}.week-chart>div>div{height:100px;width:100%;max-width:65px;display:flex;align-items:flex-end;background:var(--panel-2);border-radius:4px 4px 0 0}.week-chart i{width:100%;background:var(--accent);border-radius:4px 4px 0 0}.week-chart small{font-size:9px}.pitch-map{display:grid;grid-template-columns:repeat(12,1fr);gap:8px}.pitch-map>div{border:1px solid var(--line);border-radius:5px;padding:15px 3px;display:flex;align-items:center;flex-direction:column;gap:10px;background:var(--panel)}.pitch-map strong{font-size:23px;font-family:inherit;font-weight:500}.pitch-map span{font-size:10px;color:var(--muted)}.pitch-map small{font-size:8px;color:var(--muted)}.pitch-map .unheard{background:var(--panel-2);color:var(--muted)}.pitch-map .familiar{border-color:#3a3e45;background:var(--panel-2)}.journey-list{display:flex;flex-direction:column;margin-bottom:25px}.journey-list>div{display:flex;gap:23px;align-items:center;border-bottom:1px solid var(--line);padding:20px 14px}.journey-list>div.current{background:var(--panel-2);border-radius:5px;border-bottom-color:transparent}.journey-number{font-family:inherit;font-size:24px;color:var(--muted)}.journey-list h3{font-size:13px}.journey-list p{font-size:10px;margin-top:5px}.journey-list>div>.micro{margin-left:auto;color:var(--muted);font-size:9px}.toast{position:fixed;bottom:25px;left:50%;transform:translate(-50%);max-width:650px;width:max-content;background:var(--panel-2);color:#fff;border:1px solid var(--accent);padding:15px 17px;display:flex;align-items:center;gap:20px;z-index:100;border-radius:7px;box-shadow:none;font-size:12px}.toast button{border:0;background:transparent;padding:0;color:var(--accent)}@keyframes page-in{0%{opacity:0;transform:translateY(8px)}to{opacity:1;transform:none}}@keyframes wave{0%{transform:scaleY(.45)}to{transform:scaleY(1)}}@keyframes pulse{50%{opacity:.4}}@media(min-width:1500px){.page{padding-top:54px}}@media(max-width:1150px){.sidebar{width:192px;padding:29px 17px}.main-shell{margin-left:192px;width:calc(100% - 192px)}.brand{font-size:23px}.page{padding:30px 28px}.topbar{padding:0 28px}.lesson-layout,.play-room-grid{grid-template-columns:minmax(0,1fr) 190px;gap:16px}.lesson-main{--pad: 19px}.lesson-main,.pitch-panel{padding:19px}.explore-layout{grid-template-columns:165px minmax(0,1fr);gap:18px}.tone-grid small{font-size:5px;letter-spacing:0}.tone-grid strong{font-size:21px}.page-heading h1{font-size:31px}.global-controls{gap:8px}.global-controls label>span{display:none}.stats-row>div{padding:0 18px}.stats-row strong small{display:block;margin:5px 0 0}.pitch-map{grid-template-columns:repeat(6,1fr)}.note-choice{height:75px}.answer-grid{gap:6px}.tempo{margin-left:0}.harmony-title h2 em{font-size:25px}.target-note{font-size:85px}}@media(max-width:900px){.sidebar{width:175px;padding:24px 12px}.main-shell{margin-left:175px;width:calc(100% - 175px)}.page{padding:28px 22px}.topbar{padding:0 22px}.lesson-layout,.play-room-grid{grid-template-columns:1fr}.lesson-aside{display:grid;grid-template-columns:1fr}.page-heading h1{font-size:32px}.explore-layout{grid-template-columns:145px minmax(0,1fr);gap:14px}.tone-grid{gap:4px}.tone-grid strong{font-size:19px}.harmony-title h2 em{font-size:22px}.topbar{justify-content:flex-end}.global-controls label>span{display:block}.stats-row>div{padding:0 13px}.stats-row strong{font-size:25px}}@media(max-width:650px){.sidebar{position:static;width:100%;height:auto;padding:18px}.sidebar-bottom,.sidebar nav>.eyebrow{display:none}.sidebar nav{display:flex;overflow:auto;margin-top:18px}.sidebar nav button{width:auto;padding:8px 11px;white-space:nowrap;font-size:10px}.sidebar nav button svg{width:14px}.app-shell{display:block}.main-shell{width:100%;margin:0}.topbar{height:60px;padding:0 18px}.global-controls label>span{display:none}.page{padding:28px 18px}.page-heading{align-items:flex-start;flex-direction:column}.page-heading h1{font-size:33px}.staff-toolbar{align-items:flex-start;flex-direction:column}.staff-toolbar-controls{width:100%;flex-wrap:wrap}.staff-control-group{flex:1 1 140px}.staff-control-group .segmented,.staff-control-group .segmented button{flex:1}.staff-stage{padding:14px 12px 20px}.staff-sheet{padding-inline:8px}.staff-answer-area{padding:18px 14px 14px}.staff-answer-heading{align-items:flex-start}.staff-answers{grid-template-columns:repeat(2,1fr)}.target-picker{align-items:stretch;flex-direction:column}.target-picker select,.target-picker button{width:100%}.explore-layout{grid-template-columns:1fr}.pattern-list{display:flex;flex-direction:row;flex-wrap:wrap;gap:5px}.pattern-list>.eyebrow{width:100%}.pattern-list>select{margin:3px 0 8px;width:100%}.pattern-list>button{font-size:10px;padding:7px 10px}.pattern-list>button>svg{display:none}.pattern-list>button>b{margin-left:7px}.stats-row strong small{font-size:8px}.lesson-aside{display:none}.tone-grid strong{font-size:22px}.toast{width:calc(100% - 30px)}.page-heading .tag{margin-top:0}.typing-answer{flex-direction:column}.typing-answer input{width:100%}}@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation-duration:.001ms!important;animation-iteration-count:1!important;transition:none!important;scroll-behavior:auto!important}}.sidebar nav button.active{background:var(--sel);color:#fff;box-shadow:inset 3px 0 var(--accent)}.segmented button.selected{background:var(--sel);color:#fff;box-shadow:inset 0 0 0 1px var(--accent)}.pattern-list>button.selected{border-left:4px solid var(--accent);background:var(--panel-2);font-weight:700}.sidebar nav button.active span,.pattern-list>button.selected>span,.segmented.large button.selected{font-style:italic}.listening-status{min-height:34px;padding:8px 14px;margin:0 auto 14px;display:table;background:var(--panel-2);border:1px solid var(--rule);border-radius:4px;font-size:13px;font-weight:650;color:var(--fg)}.listen-area{animation:question-arrive .25s ease-out}@keyframes question-arrive{0%{transform:translateY(6px)}to{transform:translateY(0)}}.note-choice.correct-choice:disabled{opacity:1;background:#5fbf8a1f;border:2px solid #5fbf8a;color:#5fbf8a}.note-choice.wrong-choice:disabled{opacity:1;background:#e08a6c1f;border:2px dashed #e08a6c;color:#e08a6c}.note-choice small{min-height:18px;font-size:11px}.tone-grid button.root-tone{border:2px solid var(--accent);background:var(--panel-2)}.tone-grid button.active{background:var(--sel);color:#fff;border-color:var(--accent)}.tone-grid button>span{font-size:11px}.tone-grid button.active small,.tone-grid button.active span{color:#fff}@media(prefers-reduced-motion:reduce){.listen-area{animation:none}}.note-choice.correct-choice small,.note-choice.wrong-choice small{color:inherit;font-weight:650}.current-page{font-size:14px;white-space:nowrap}.global-controls .key-select{display:grid;gap:5px}.global-controls .key-select select{max-width:340px;width:100%;font-size:13px;border:1px solid #3a3e45;padding:10px 28px 10px 12px;background:var(--panel)}.settings-trigger{border-color:#3a3e45;padding:10px 13px}.sidebar nav{margin-top:35px}.settings-dialog{width:min(480px,calc(100vw - 40px));max-height:90vh;overflow:auto;border:1px solid #3a3e45;border-radius:8px;padding:26px;color:var(--ink);background:var(--panel)}.settings-dialog::backdrop{background:#0000006e}.settings-heading{display:flex;align-items:center;justify-content:space-between}.settings-heading h2{margin:0;font-size:25px}.settings-dialog section{border-top:1px solid var(--line);margin-top:22px;padding-top:18px}.settings-dialog h3{margin:0 0 8px;font-size:16px}.settings-dialog p{color:var(--muted);font-size:13px;line-height:1.6}.settings-field{display:grid;gap:9px;font-size:13px;font-weight:600;margin:18px 0}.settings-field select{width:100%;padding:12px;border-color:#3a3e45}.settings-field input{width:100%;accent-color:var(--accent)}.settings-done{width:100%;margin-top:18px}.correct-popup,.wrong-popup{position:fixed;top:108px;left:50%;transform:translate(-50%);z-index:50;display:flex;align-items:center;gap:12px;padding:16px 28px;border:1px solid #5fbf8a;border-radius:6px;background:var(--panel);color:#5fbf8a;box-shadow:none;font-size:21px;pointer-events:none;animation:correct-pop .85s ease both}.wrong-popup{border-color:var(--mistake);color:var(--mistake)}@keyframes correct-pop{0%{opacity:0;translate:0 -8px}18%,75%{opacity:1;translate:0 0}to{opacity:0;translate:0 -4px}}select{border-color:#3a3e45}.segmented{border:1px solid #3a3e45;padding:4px;background:var(--panel-2)}.segmented button{font-weight:600}@media(max-width:1150px){.topbar{gap:12px}.global-controls .key-select select{max-width:265px}}@media(max-width:650px){.current-page{display:none}.global-controls{width:100%}.global-controls .key-select{flex:1;min-width:0}.global-controls .key-select select{max-width:100%}.settings-trigger{font-size:12px}}@media(prefers-reduced-motion:reduce){.correct-popup,.wrong-popup{animation:none!important}}.practice-config{margin:calc(var(--pad) * -1) calc(var(--pad) * -1) 22px;padding:16px 20px;border-bottom:1px solid var(--line);border-radius:8px 8px 0 0;background:var(--bg)}.config-fields{display:flex;gap:18px;flex-wrap:wrap}.config-fields label{display:grid;gap:8px;font-size:12px;font-weight:650;flex:1;min-width:150px}.config-fields select{width:100%}.ear-seg{min-width:0;gap:8px}.ear-seg>span{font-size:12px;font-weight:650;color:inherit;line-height:1.2;white-space:nowrap}.ear-seg .segmented{align-self:start;flex-wrap:nowrap}.ear-seg .segmented button{flex:1 1 auto;min-width:0;padding-inline:12px;white-space:nowrap}.practice-config .config-fields{display:flex;flex-wrap:wrap;align-items:flex-start;column-gap:24px;row-gap:16px}.practice-config .config-fields>.ear-seg{flex:0 1 auto}.practice-config .config-fields label{min-width:0}.practice-config .config-fields select{min-width:0;text-overflow:ellipsis}.settings-card{container-type:inline-size}.ear-seg-row{display:flex;align-items:center;justify-content:space-between;gap:10px;margin:14px 0;min-height:44px}.ear-seg-row>span{font-size:13px;font-weight:400;color:var(--muted)}.ear-seg-row .segmented{flex:none}@container (max-width: 250px){.ear-seg-row{flex-direction:column;align-items:flex-start;gap:6px}}.note-picker{display:flex;flex-wrap:wrap;gap:8px;margin-top:20px}.note-picker button{min-width:44px}.note-picker button[aria-pressed=true]{background:var(--sel);color:#fff;border-color:var(--accent);opacity:1}.practice-config p{margin:14px 0 0;line-height:1.6}.global-controls .key-select{display:flex;align-items:center;gap:10px}.global-controls .key-select select{width:210px;max-width:210px}.milestones{margin:28px 0}.goal-card{display:flex;justify-content:space-between;gap:24px;padding:26px;margin-bottom:28px;align-items:center}.goal-card .eyebrow{display:flex;align-items:center;gap:8px}.goal-card h2{margin:12px 0 7px;font-size:25px}.goal-card p{font-size:13px;color:var(--muted)}.goal-card label{display:grid;gap:8px;font-size:12px;font-weight:650;min-width:130px}.milestones progress{width:100%;height:8px}.milestones h2 small{font-family:inherit;font-size:12px;font-weight:400;margin-left:12px;color:var(--muted)}.achievement-grid{display:grid;grid-template-columns:repeat(5,1fr);gap:12px}.achievement{padding:19px;background:var(--panel);border:1px solid var(--line);border-radius:6px}.achievement.earned{border-color:var(--accent);background:var(--panel-2)}.achievement-state{display:block;margin:10px 0}.achievement.earned .achievement-state{color:#5fbf8a}.achievement h3{font-size:15px;line-height:1.4;margin:0 0 8px}.achievement p{min-height:55px;font-size:12px;color:var(--muted);line-height:1.5}.achievement strong{display:block;margin:12px 0;font-size:13px}@media(max-width:1150px){.achievement-grid{grid-template-columns:repeat(3,1fr)}.global-controls .key-select select{width:200px}}@media(max-width:650px){.goal-card{flex-direction:column;align-items:stretch}.achievement-grid{grid-template-columns:repeat(2,1fr)}.global-controls .key-select>span{display:none}.global-controls .key-select select{width:100%}}.practice-activity{padding:24px;margin:28px 0}.activity-heading{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:24px}.activity-heading h2{margin:9px 0 0;font-size:23px}.activity-heading>span{font-size:12px;color:var(--muted)}.calendar-scroll{overflow-x:auto;padding:4px 3px 8px}.calendar-body{display:flex;width:max-content;gap:10px}.calendar-weekdays{display:flex;flex-direction:column;gap:4px;margin-top:25px;font-size:9px;color:var(--muted)}.calendar-weekdays span{height:12px;line-height:12px}.calendar-months{display:grid;gap:4px;height:25px;font-size:10px;color:var(--muted)}.calendar-months span{white-space:nowrap;overflow:visible}button.calendar-day,.calendar-spacer,.calendar-legend{display:block;width:12px;height:12px;min-width:12px;padding:0;border:0;border-radius:3px;flex-shrink:0}button.calendar-day{transition:outline-color .15s}button.calendar-day:hover{outline:1px solid var(--accent);outline-offset:1px}button.calendar-day:focus-visible{outline:2px solid var(--ink);outline-offset:2px}button.calendar-day:active{transform:none}.calendar-footer{font-size:11px;color:var(--muted)}.practice-activity>p{margin:16px 0 0;line-height:1.6}@media(max-width:650px){.practice-activity{padding:18px}.activity-heading{align-items:flex-start;flex-direction:column}}body{background:var(--canvas)}.sidebar{width:214px;padding:24px 18px 22px;background:var(--bg)}.main-shell{width:calc(100% - 214px);margin-left:214px}.brand{gap:11px;font-size:22px}.brand-mark{width:32px;height:32px;border-radius:7px}.brand-mark svg{width:23px;height:23px}.sidebar nav{margin-top:31px}.sidebar nav button{min-height:45px;padding:11px 13px;border:1px solid transparent;border-radius:8px;color:var(--muted);font-size:12px}.sidebar nav button.active{border-color:transparent;background:var(--sel);color:#fff;box-shadow:inset 3px 0 var(--accent)}.sidebar nav button.active svg{color:#fff}.sidebar-bottom{padding-top:24px}.daily-note{position:relative;margin:0 0 12px;padding:18px;overflow:hidden;border-radius:var(--radius);background:var(--panel);border:1px solid var(--rule);box-shadow:none}.daily-note p{position:relative;text-wrap:balance;z-index:1;margin:0;color:var(--muted);font-size:15px;font-style:normal;line-height:1.38}.sidebar-bottom>.micro{margin:0 4px;font-size:12px;line-height:1.4}.topbar{height:64px;padding:0 31px;background:var(--bg);-webkit-backdrop-filter:none;backdrop-filter:none}.topbar-context{display:flex;align-items:center;gap:27px;font-size:12px}.topbar-context i{width:1px;height:22px;background:var(--line)}.topbar-context>span{color:var(--muted)}.current-page{font-size:12px}.global-controls{gap:14px}.global-controls .key-select{gap:10px}.global-controls .key-select>span{margin-right:4px}.global-controls .key-select>svg{margin-right:-2px}.global-controls .key-select select{width:205px;max-width:205px;height:38px;border-color:var(--rule);background:var(--panel)}.settings-trigger{height:38px;border-color:var(--rule);background:var(--panel)}.page.dashboard{width:100%;max-width:none;min-height:calc(100vh - 80px);display:flex;flex-direction:column;gap:24px;padding:clamp(35px,3vw,52px) clamp(36px,4vw,72px) 44px}.page.dashboard>.tour-invite{margin:0}.studio-intro{position:relative;display:flex;min-height:112px;align-items:flex-start;justify-content:space-between;overflow:hidden}.studio-intro .eyebrow{margin-bottom:8px}.studio-intro h1{font-size:clamp(43px,4vw,58px);line-height:1}.studio-intro p{margin-top:9px;color:var(--muted);font-size:14px}.studio-score{position:relative;width:56%;height:98px;margin-top:2px;color:var(--muted);opacity:.74}.studio-score:before{content:"";position:absolute;top:20px;right:0;bottom:0;left:0;background:repeating-linear-gradient(to bottom,transparent 0 10px,#3a3e45 11px 12px);-webkit-mask-image:linear-gradient(to right,transparent,#000 15%,#000 86%,transparent);mask-image:linear-gradient(to right,transparent,#000 15%,#000 86%,transparent);transform:skewY(-4deg)}.studio-score span{position:absolute;z-index:1;font-size:31px}.studio-score span:nth-child(1){left:17%;top:49px}.studio-score span:nth-child(2){left:39%;top:28px}.studio-score span:nth-child(3){left:61%;top:44px}.studio-score span:nth-child(4){left:76%;top:7px}.studio-feature-grid{display:grid;grid-template-columns:minmax(0,1.45fr) minmax(350px,1fr);gap:16px}.studio-lesson-card,.studio-mic-card,.studio-stats,.studio-exercise-card{border:1px solid var(--rule);background:var(--panel);box-shadow:none}.studio-lesson-card,.studio-mic-card{min-height:333px;border-radius:10px}.studio-lesson-card{position:relative;display:flex;flex-direction:column;justify-content:space-between;gap:16px;overflow:hidden;padding:24px 28px}.studio-card-heading{position:relative;z-index:1;display:flex;align-items:center;justify-content:space-between;gap:15px;color:var(--muted);font-size:12px}.studio-card-heading>div{display:flex;align-items:center;gap:15px}.studio-card-heading .tag{padding:6px 14px;border:0;border-radius:20px;background:var(--panel-2)}.studio-lesson-title{position:relative;z-index:1;display:grid;grid-template-columns:126px 1fr;align-items:center;gap:16px;margin:0}.studio-lesson-number{display:flex;align-items:baseline;gap:8px;color:var(--fg);font-size:57px;letter-spacing:-2px;line-height:1}.studio-lesson-number small{color:var(--muted);font-family:Inter,Segoe UI,sans-serif;font-size:13px;letter-spacing:0}.studio-lesson-title h2{font-size:25px}.studio-lesson-title p{margin-top:5px;color:var(--muted);font-size:13px;line-height:1.5}.studio-lesson-notes{position:relative;z-index:1;display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:12px}.studio-lesson-notes.compact{grid-template-columns:repeat(6,minmax(78px,1fr));gap:7px}.studio-note{display:grid;grid-template-columns:minmax(52px,.65fr) minmax(70px,1fr) 36px;min-height:86px;align-items:center;gap:11px;padding:12px 13px;border:1px solid var(--rule);border-radius:7px;background:var(--bg)}.studio-note.introduced{border-color:var(--rule);background:var(--panel-2)}.studio-note strong{display:block;font-size:34px;font-weight:400;line-height:1}.studio-note>div>span{display:block;margin-top:7px;color:var(--muted);font-size:12px}.studio-note-staff{width:100%;max-width:92px;color:var(--fg)}.studio-note-staff line{stroke:#6b7078;stroke-width:1}.studio-note-staff ellipse{fill:currentColor}.studio-note-staff .note-stem{stroke:currentColor;stroke-width:1.5}.studio-note-play{width:36px;height:36px;padding:0;border-color:var(--rule);border-radius:50%;background:var(--bg)}.studio-note-play[aria-pressed=true]{background:var(--accent);color:var(--accent-ink)}.studio-lesson-notes.compact .studio-note{grid-template-columns:1fr;min-height:74px;justify-items:center;gap:4px;padding:9px 6px}.studio-lesson-notes.compact .studio-note-staff{display:none}.studio-lesson-notes.compact .studio-note-play{width:29px;height:29px}.studio-lesson-notes.compact .studio-note strong{font-size:24px}.studio-lesson-actions{position:relative;z-index:1;display:flex;align-items:center;gap:24px}.studio-lesson-actions .primary{min-width:180px;justify-content:space-between;border-radius:7px;background:var(--accent)}.studio-preview-button{padding:0;border:0;background:transparent;justify-content:flex-start}.studio-play-circle{display:grid;width:39px;height:39px;place-items:center;border:1px solid var(--rule);border-radius:50%;background:var(--bg)}.studio-preview-button>span:last-child{display:grid;gap:2px;justify-items:start}.studio-preview-button small{max-width:175px;overflow:hidden;color:var(--muted);font-size:12px;font-weight:400;text-overflow:ellipsis;white-space:nowrap}.studio-details{margin-left:auto;white-space:nowrap}.studio-mic-card{position:relative;display:flex;overflow:hidden;flex-direction:column;align-items:flex-start;padding:24px 28px;background:var(--panel)}.studio-mic-heading{display:flex;align-items:center;gap:12px}.studio-round-icon{display:grid;width:39px;height:39px;place-items:center;border-radius:50%;background:var(--panel-2);color:var(--fg)}.studio-mic-card h2{margin-top:9px;font-size:24px}.studio-mic-card>p{max-width:370px;margin:3px 0 12px;color:var(--muted);font-size:13px;line-height:1.45}.studio-mic-card>button{position:relative;z-index:2;padding:10px 14px}.studio-wave-preview{position:relative;z-index:1;display:flex;width:100%;min-height:91px;align-items:center;margin-top:12px;padding-right:136px}.studio-wave-bars{display:flex;width:100%;height:74px;align-items:center;gap:5px;overflow:hidden;-webkit-mask-image:linear-gradient(to right,transparent,#000 8%,#000 93%,transparent);mask-image:linear-gradient(to right,transparent,#000 8%,#000 93%,transparent)}.studio-wave-bars i{width:2px;flex:1 0 2px;border-radius:2px;background:#3a3e45}.studio-wave-cursor{position:absolute;left:56%;width:2px;height:76px;background:var(--accent)}.studio-pitch-preview{position:absolute;right:0;display:grid;width:112px;min-height:83px;place-items:center;padding:9px;border:1px solid var(--rule);border-radius:8px;background:var(--panel);box-shadow:none}.studio-pitch-preview strong{font-size:24px;font-weight:400}.studio-pitch-preview>span{color:var(--muted);font-size:10px;white-space:nowrap}.studio-pitch-preview>i{display:flex;gap:4px}.studio-pitch-preview b{width:5px;height:5px;border-radius:50%;background:#1d2024}.studio-pitch-preview b:first-child{background:var(--accent)}.studio-mic-footer{position:relative;z-index:2;display:flex;width:100%;align-items:center;justify-content:space-between;gap:14px;margin-top:auto;padding-top:12px;color:var(--muted);font-size:12px}.studio-mic-footer>span{display:flex;align-items:center;gap:7px}.studio-mic-footer>span i{width:7px;height:7px;border-radius:50%;background:var(--accent)}.studio-mic-footer .text-button{font-size:12px}.studio-stats{position:relative;padding:40px 20px 20px;border-radius:9px}.studio-stats-label{position:absolute;left:20px;top:16px}.studio-metrics{display:grid;grid-template-columns:repeat(5,minmax(0,1fr))}.studio-metric{display:grid;grid-template-columns:42px minmax(0,1fr);gap:11px;min-height:78px;align-items:start;padding:0 18px;border-right:1px solid var(--rule)}.studio-metric:last-child{border:0}.studio-metric-icon{display:grid;width:39px;height:39px;place-items:center;border-radius:50%;background:var(--panel-2)}.studio-metric>div{min-width:0}.studio-metric strong{display:block;font-size:20px;font-weight:500;line-height:1;white-space:nowrap}.studio-metric strong small{color:var(--muted);font-size:11px;font-weight:400}.studio-metric>div>span:not(.studio-progress):not(.studio-note-progress){display:block;margin-top:6px;color:var(--muted);font-size:12px}.studio-metric>div>small{display:block;margin-top:4px;overflow:hidden;color:var(--muted);font-size:12px;line-height:1.3}.studio-progress{display:block;width:100%;height:6px;margin-top:8px;overflow:hidden;border-radius:5px;background:var(--panel-2)}.studio-progress i{display:block;height:100%;background:var(--accent)}.studio-note-progress{display:flex;gap:3px;margin-top:8px}.studio-note-progress i{width:8px;height:4px;border-radius:3px;background:#1d2024}.studio-note-progress i.filled{background:var(--accent)}.studio-exercises{margin:0}.studio-section-heading{display:flex;align-items:flex-end;justify-content:space-between;gap:20px;margin-bottom:12px}.studio-section-heading .eyebrow{margin-bottom:4px}.studio-section-heading h2{font-size:25px}.studio-exercise-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:12px}.studio-exercise-card{position:relative;display:block;overflow:hidden;padding:20px 24px 24px;border-radius:8px;text-align:left}.studio-exercise-card:hover:not(:disabled){border-color:#3a3e45;background:var(--panel);transform:translateY(-2px)}.studio-exercise-icon{display:block;margin-bottom:10px}.studio-card-arrow{position:absolute;right:17px;top:16px;display:grid;width:35px;height:35px;place-items:center;border-radius:50%;background:var(--panel-2)}.studio-exercise-card>strong{position:relative;z-index:1;display:block;font-size:18px;font-weight:400}.studio-exercise-card>span:nth-of-type(3){position:relative;z-index:1;display:block;max-width:235px;margin-top:4px;color:var(--muted);font-size:12px;font-weight:400;line-height:1.45}@media(max-width:1350px){.page.dashboard{padding-right:36px;padding-left:36px}.studio-lesson-actions{gap:13px}.studio-details{display:none}.studio-metric{grid-template-columns:36px minmax(0,1fr);padding:0 10px}.studio-metric-icon{width:34px;height:34px}.studio-metric strong{font-size:18px}}@media(max-width:1100px){.sidebar{width:190px;padding-right:14px;padding-left:14px}.main-shell{width:calc(100% - 190px);margin-left:190px}.studio-feature-grid{grid-template-columns:1fr}.studio-mic-card{min-height:300px}.studio-metrics{grid-template-columns:repeat(3,1fr);row-gap:20px}.studio-metric:nth-child(3){border-right:0}.studio-exercise-grid{grid-template-columns:repeat(2,1fr)}}@media(max-width:900px){.sidebar{width:175px}.main-shell{width:calc(100% - 175px);margin-left:175px}.page.dashboard{padding:28px 22px 38px}.studio-score{display:none}.studio-lesson-title{grid-template-columns:106px 1fr}.studio-preview-button{display:none}.studio-metrics{grid-template-columns:repeat(2,1fr)}.studio-metric:nth-child(2),.studio-metric:nth-child(4){border-right:0}.studio-metric:nth-child(3){border-right:1px solid var(--rule)}}@media(max-width:650px){.sidebar{width:100%;padding:17px}.sidebar nav{margin-top:16px}.sidebar nav button{min-height:38px}.main-shell{width:100%;margin-left:0}.topbar{height:62px;padding:0 17px}.topbar-context{display:none}.global-controls .key-select>svg{display:none}.page.dashboard{padding:27px 17px 36px}.studio-intro{min-height:112px}.studio-intro h1{font-size:42px}.studio-card-heading{align-items:flex-start}.studio-card-heading>div{align-items:flex-start;flex-direction:column;gap:7px}.studio-lesson-card,.studio-mic-card{padding:20px 17px}.studio-lesson-title{grid-template-columns:82px 1fr}.studio-lesson-number{font-size:44px}.studio-lesson-title h2{font-size:22px}.studio-lesson-notes,.studio-lesson-notes.compact{grid-template-columns:repeat(2,1fr)}.studio-note,.studio-lesson-notes.compact .studio-note{grid-template-columns:1fr 34px;justify-items:start}.studio-note-staff{display:none}.studio-note-play,.studio-lesson-notes.compact .studio-note-play{grid-column:2;grid-row:1;width:34px;height:34px}.studio-lesson-actions .primary{width:100%}.studio-wave-preview{padding-right:112px}.studio-pitch-preview{width:98px}.studio-pitch-preview>span{font-size:9px}.studio-mic-footer>span{max-width:150px}.studio-metrics{grid-template-columns:1fr}.studio-metric,.studio-metric:nth-child(2),.studio-metric:nth-child(3),.studio-metric:nth-child(4){padding:0 3px 15px;border-right:0;border-bottom:1px solid var(--rule)}.studio-metric:last-child{padding-bottom:0;border-bottom:0}.studio-section-heading{align-items:flex-start;flex-direction:column}.studio-exercise-grid{grid-template-columns:1fr}}.sidebar{overflow-y:auto}.tour-trigger{margin-top:16px;justify-content:flex-start;background:transparent;color:var(--muted);flex-shrink:0}.lesson-actions{flex-wrap:wrap}.listen-area p,.toggle-row{font-size:13px}.note-choice{padding:10px 6px}.note-choice small{color:var(--muted);height:auto}.segmented button.selected:disabled{opacity:1}.tone-grid small{font-size:10px;letter-spacing:0}.input-error{margin-top:18px;border-left:3px solid var(--mistake);border-radius:4px;padding:14px 16px;color:#e08a6c;background:#e08a6c1f;text-align:left}.tour-invite{display:flex;align-items:center;gap:14px;padding:16px 18px;margin-bottom:24px;background:var(--panel-2);border:1px solid var(--line);border-radius:6px}.tour-invite>svg{flex-shrink:0}.tour-invite>div{flex:1}.tour-invite strong{font-size:14px}.tour-invite p{font-size:12px;line-height:1.6;margin-top:3px}.tour-invite>button{flex-shrink:0}.tour-dialog{position:fixed;top:0;right:0;bottom:0;left:0;margin:0;padding:0;width:100%;height:100dvh;max-width:none;max-height:none;border:0;background:transparent;color:var(--ink);overflow:hidden}.tour-dialog::backdrop{background:#00000080}.tour-highlight{position:fixed;border:2px solid var(--accent);border-radius:8px;box-shadow:none;pointer-events:none}.tour-card{position:absolute;width:min(420px,calc(100% - 32px));max-height:calc(100dvh - 32px);overflow-y:auto;border:1px solid var(--line);border-radius:10px;padding:24px;background:var(--paper);box-shadow:none}.tour-heading{display:flex;align-items:center;justify-content:space-between;gap:12px}.tour-icon{display:grid;place-items:center;width:52px;height:52px;background:var(--panel-2);border-radius:8px;margin:18px 0}.tour-card h2{font-size:25px;line-height:1.25;margin-bottom:14px}.tour-card h2:focus{outline:none}.tour-card p{font-size:14px;line-height:1.7}.tour-card .tour-hint{font-size:12px;border-left:2px solid #3a3e45;padding-left:12px;margin:18px 0 22px}.tour-card progress{display:block;width:100%;height:4px}.tour-actions,.tour-actions>div{display:flex;align-items:center;justify-content:space-between;gap:8px}.tour-actions{margin-top:22px}.tour-actions .primary{padding:11px 16px}@media(max-width:900px){.current-page{display:none}.tone-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(82px,1fr));gap:8px}}@media(max-width:650px){.sidebar{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:14px}.sidebar nav{grid-column:1 / -1;grid-row:2;margin-top:0;padding:4px}.sidebar nav button{min-height:42px;font-size:12px}.tour-trigger{grid-row:1;grid-column:2;margin:0;padding:9px 10px;font-size:12px}.topbar{height:auto;min-height:66px}.global-controls .key-select{min-width:0}.tour-invite{flex-wrap:wrap;gap:10px}.tour-invite>div{flex-basis:calc(100% - 44px)}.tour-invite>button:not(.icon-button){flex:1}.answer-grid.many{grid-template-columns:repeat(3,minmax(0,1fr))}.answer-grid.four{grid-template-columns:repeat(2,minmax(0,1fr))}.lesson-aside{display:flex}.lesson-aside .settings-card{padding:18px;border:1px solid var(--line);border-radius:6px;background:var(--panel)}.explore-layout{grid-template-columns:minmax(0,1fr)}.harmony-content,.pattern-list{min-width:0}.settings-dialog,.tour-card{padding:20px}.tour-card h2{font-size:23px}.tour-icon{margin:12px 0;height:42px;width:42px}}.song-builder{--pad: 24px;display:grid;gap:22px;min-width:0}.song-setup{margin-bottom:0;padding-inline:var(--pad)}.song-setup p{margin-top:8px}.song-order,.song-chart-panel{min-width:0}.song-chart-panel{border-top:1px solid var(--line);padding-top:22px}.song-fields{display:flex;flex-wrap:wrap;align-items:flex-end;gap:14px 18px;margin:16px 0 12px}.song-fields .chord-composer{flex:2 1 440px;margin-bottom:0}.chord-composer .primary{min-width:140px}.song-intro,.song-toolbar{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:16px}.song-intro p,.song-toolbar p{margin-top:6px}.song-title-field,.chord-composer label{display:grid;gap:8px;font-size:13px;font-weight:600}.song-title-field{flex:1 1 220px;min-width:0}.song-title-field input{width:100%}.chord-composer{display:grid;grid-template-columns:minmax(100px,1fr) minmax(180px,2fr) auto;align-items:end;gap:14px;margin-bottom:14px}.chord-composer select{width:100%;min-height:44px}.song-status{min-height:20px;margin-top:8px;font-size:12px;color:var(--fg)}.song-empty{display:grid;justify-items:center;gap:16px;text-align:center;padding:32px 24px}.song-empty p{max-width:420px}.chord-order-list{list-style:none;padding:0;margin:20px 0 0;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.chord-order-list li{display:flex;align-items:center;gap:8px;padding:8px 10px;border:1px solid var(--line);border-radius:6px}.chord-order-list .playing-change{background:var(--panel-2);border-color:var(--accent)}.change-number{font-size:12px;color:var(--muted);min-width:18px}.chord-listen{border:0;background:transparent;padding:6px;flex-shrink:0}.chord-listen strong{font-size:18px}.change-quality{font-size:11px;line-height:1.4;color:var(--muted)}.change-actions{display:flex;margin-left:auto;flex-shrink:0}.change-actions .icon-button{width:30px;height:36px}.song-chart-scroll{margin:22px 0 16px;overflow-x:auto;border:1px solid var(--line);border-radius:6px}.song-chart-scroll:focus-visible{outline:2px solid var(--accent);outline-offset:4px}.progression-chart{display:block;width:100%;min-width:760px;height:auto}@media(max-width:1150px){.chord-order-list{grid-template-columns:1fr}.page-heading:has(.segmented.large){align-items:flex-start;flex-direction:column}}@media(max-width:650px){.song-builder{--pad: 18px}.practice-config.song-setup{padding-block:14px}.chord-composer{grid-template-columns:minmax(70px,1fr) minmax(0,2fr);gap:12px}.chord-composer .primary{grid-column:1 / -1}.change-quality{display:none}.song-toolbar>button{width:100%}.segmented.large{max-width:100%}.segmented.large button{padding:10px;font-size:12px}}@media(max-width:480px){.stats-row{grid-template-columns:minmax(0,1fr);gap:18px}.stats-row>div{border:0;padding:0 18px}.stats-row strong small{display:inline;margin-left:8px;font-size:11px}}.ear-seg-line{display:flex;align-items:center;gap:8px}.ear-seg-line small{font-size:12px;color:var(--muted);white-space:nowrap}.ear-stepper{align-self:start;width:fit-content;align-items:center}.ear-stepper span{min-width:76px;text-align:center;font-size:12px;font-weight:600;color:var(--fg);font-variant-numeric:tabular-nums;white-space:nowrap}.ear-stepper.wide span{min-width:104px}.ear-stepper-note{font-size:12px;color:var(--muted);line-height:1.3;overflow-wrap:anywhere}.ear-stepper button{padding:7px 12px;display:grid;place-items:center}html{scroll-padding-top:64px}.topbar{position:sticky;top:0;z-index:10;background:var(--canvas);-webkit-backdrop-filter:none;backdrop-filter:none}@media(max-width:650px){html{scroll-padding-top:0}.topbar{position:static}}progress{-webkit-appearance:none;-moz-appearance:none;appearance:none;border:0;border-radius:4px;overflow:hidden;background:var(--rule);color:var(--accent)}progress::-webkit-progress-bar{background:var(--rule)}progress::-webkit-progress-value{background:var(--accent)}progress::-moz-progress-bar{background:var(--accent)}.studio-progress,.studio-note-progress i{background:var(--rule)}.accent-word{color:var(--accent);font-family:var(--font-display);font-style:italic;font-weight:600}.achievement.earned .achievement-state{color:var(--green)}.studio-lesson-number,.studio-metric strong,.studio-card-heading>span,.page-heading .tag,.achievement strong,.journey-number,.stats-row strong,.activity-heading>span,.calendar-footer,.panel-top .eyebrow,.staff-toolbar .eyebrow,.milestones h2 small{font-family:var(--font-mono);font-variant-numeric:tabular-nums}.current-page{font-family:var(--font-display);font-size:18px;font-weight:600;letter-spacing:-.015em}.page>*:not(.listen-area):not(.staff-sheet):not(.correct-popup):not(.wrong-popup){animation:page-in .28s var(--ease) both}.page>:nth-child(2){animation-delay:60ms}.page>:nth-child(3){animation-delay:.12s}.page>:nth-child(n+4){animation-delay:.18s}.sidebar nav button{position:relative;transition:background .15s,color .15s,border-color .15s,transform .16s}.sidebar nav button.active{box-shadow:none}.sidebar nav button:after{content:"";position:absolute;left:0;top:0;bottom:0;width:3px;border-radius:0 2px 2px 0;background:var(--accent);transform:scaleY(0);transform-origin:center}.sidebar nav button.active:after{animation:nav-bar .22s var(--ease) both}@keyframes nav-bar{0%{transform:scaleY(0)}to{transform:scaleY(1)}}.studio-exercise-card,.pattern-list>button{transition:background .16s,color .16s,border-color .16s,transform .16s var(--ease)}.studio-exercise-card:hover:not(:disabled),.pattern-list>button:hover:not(:disabled){border-color:var(--muted);transform:translateY(-2px)}button svg.lucide-arrow-right{transition:transform .16s var(--ease)}button:hover:not(:disabled) svg.lucide-arrow-right{transform:translate(3px)}.segmented button{box-shadow:inset 0 0 0 1px transparent;transition:background .18s,color .18s,box-shadow .18s,transform .16s}@keyframes panel-in{0%{opacity:0;transform:translateY(10px) scale(.98)}}@keyframes sheet-in{0%{opacity:0;transform:translateY(24px)}}@keyframes toast-in{0%{opacity:0;transform:translate(-50%,12px)}}.settings-dialog[open],.tour-dialog[open] .tour-card{animation:panel-in .26s var(--ease) both}.toast{animation:toast-in .26s var(--ease) both}@media(max-width:650px){.settings-dialog[open],.tour-dialog[open] .tour-card{animation-name:sheet-in}}button.primary:active:not(:disabled){transform:scale(.97)}.studio-progress i{transition:width .4s var(--ease)}@keyframes choice-pop{50%{transform:scale(1.06)}}@keyframes choice-shake{25%{transform:translate(-4px)}75%{transform:translate(4px)}}.note-choice.correct-choice{animation:choice-pop .26s var(--ease)}.note-choice.wrong-choice{animation:choice-shake 107ms ease-in-out 3}@keyframes icon-draw{0%{stroke-dashoffset:40}to{stroke-dashoffset:0}}.correct-popup svg *,.wrong-popup svg *{stroke-dasharray:40;animation:icon-draw .3s var(--ease) .18s both}.piano-key{transition:background .14s,translate .12s var(--ease),filter .12s}.piano-key.sounding,.piano-key:active:not(:disabled){translate:0 2px;filter:brightness(.85)}.piano-key .key-marker{transform:scale(.4);transition:opacity var(--t),transform var(--t) var(--ease)}.piano-key.in-scale .key-marker,.piano-key.sounding .key-marker{transform:scale(1)}@keyframes note-drop{0%{opacity:0;transform:translateY(-6px)}}.staff g,.studio-note-staff ellipse,.studio-note-staff .note-stem{animation:note-drop .24s var(--ease) both}@keyframes note-drift{0%,to{transform:translateY(-3px)}50%{transform:translateY(3px)}}.studio-score span{animation:note-drift 5s ease-in-out infinite}.studio-score span:nth-child(2){animation-duration:4s;animation-delay:-1.3s}.studio-score span:nth-child(3){animation-duration:6s;animation-delay:-2.6s}.studio-score span:nth-child(4){animation-duration:4.6s;animation-delay:-.7s}.studio-exercise-grid>*,.achievement-grid>*,.pitch-map>*,.journey-list>*,.tone-grid>*,.pattern-list>button{animation:page-in .28s var(--ease) backwards}.studio-exercise-grid>*:nth-child(2),.achievement-grid>*:nth-child(2),.pitch-map>*:nth-child(2),.journey-list>*:nth-child(2),.tone-grid>*:nth-child(2),.pattern-list>button:nth-of-type(2){animation-delay:35ms}.studio-exercise-grid>*:nth-child(3),.achievement-grid>*:nth-child(3),.pitch-map>*:nth-child(3),.journey-list>*:nth-child(3),.tone-grid>*:nth-child(3),.pattern-list>button:nth-of-type(3){animation-delay:70ms}.studio-exercise-grid>*:nth-child(4),.achievement-grid>*:nth-child(4),.pitch-map>*:nth-child(4),.journey-list>*:nth-child(4),.tone-grid>*:nth-child(4),.pattern-list>button:nth-of-type(4){animation-delay:105ms}.studio-exercise-grid>*:nth-child(5),.achievement-grid>*:nth-child(5),.pitch-map>*:nth-child(5),.journey-list>*:nth-child(5),.tone-grid>*:nth-child(5),.pattern-list>button:nth-of-type(5){animation-delay:.14s}.studio-exercise-grid>*:nth-child(6),.achievement-grid>*:nth-child(6),.pitch-map>*:nth-child(6),.journey-list>*:nth-child(6),.tone-grid>*:nth-child(6),.pattern-list>button:nth-of-type(6){animation-delay:175ms}.studio-exercise-grid>*:nth-child(7),.achievement-grid>*:nth-child(7),.pitch-map>*:nth-child(7),.journey-list>*:nth-child(7),.tone-grid>*:nth-child(7),.pattern-list>button:nth-of-type(7){animation-delay:.21s}.studio-exercise-grid>*:nth-child(8),.achievement-grid>*:nth-child(8),.pitch-map>*:nth-child(8),.journey-list>*:nth-child(8),.tone-grid>*:nth-child(8),.pattern-list>button:nth-of-type(8){animation-delay:245ms}.studio-exercise-grid>*:nth-child(9),.achievement-grid>*:nth-child(9),.pitch-map>*:nth-child(9),.journey-list>*:nth-child(9),.tone-grid>*:nth-child(9),.pattern-list>button:nth-of-type(9){animation-delay:.28s}.studio-exercise-grid>*:nth-child(10),.achievement-grid>*:nth-child(10),.pitch-map>*:nth-child(10),.journey-list>*:nth-child(10),.tone-grid>*:nth-child(10),.pattern-list>button:nth-of-type(10){animation-delay:315ms}.studio-exercise-grid>*:nth-child(n+11),.achievement-grid>*:nth-child(n+11),.pitch-map>*:nth-child(n+11),.journey-list>*:nth-child(n+11),.tone-grid>*:nth-child(n+11),.pattern-list>button:nth-of-type(n+11){animation-delay:.35s}@keyframes week-in{0%{opacity:0}}.calendar-body .flex.gap-1>div{animation:week-in .3s var(--ease) backwards}.calendar-body .flex.gap-1>div:nth-child(2){animation-delay:8ms}.calendar-body .flex.gap-1>div:nth-child(3){animation-delay:16ms}.calendar-body .flex.gap-1>div:nth-child(4){animation-delay:24ms}.calendar-body .flex.gap-1>div:nth-child(5){animation-delay:32ms}.calendar-body .flex.gap-1>div:nth-child(6){animation-delay:40ms}.calendar-body .flex.gap-1>div:nth-child(7){animation-delay:48ms}.calendar-body .flex.gap-1>div:nth-child(8){animation-delay:56ms}.calendar-body .flex.gap-1>div:nth-child(9){animation-delay:64ms}.calendar-body .flex.gap-1>div:nth-child(10){animation-delay:72ms}.calendar-body .flex.gap-1>div:nth-child(11){animation-delay:80ms}.calendar-body .flex.gap-1>div:nth-child(12){animation-delay:88ms}.calendar-body .flex.gap-1>div:nth-child(13){animation-delay:96ms}.calendar-body .flex.gap-1>div:nth-child(14){animation-delay:104ms}.calendar-body .flex.gap-1>div:nth-child(15){animation-delay:112ms}.calendar-body .flex.gap-1>div:nth-child(16){animation-delay:.12s}.calendar-body .flex.gap-1>div:nth-child(17){animation-delay:128ms}.calendar-body .flex.gap-1>div:nth-child(18){animation-delay:136ms}.calendar-body .flex.gap-1>div:nth-child(19){animation-delay:144ms}.calendar-body .flex.gap-1>div:nth-child(20){animation-delay:152ms}.calendar-body .flex.gap-1>div:nth-child(21){animation-delay:.16s}.calendar-body .flex.gap-1>div:nth-child(22){animation-delay:168ms}.calendar-body .flex.gap-1>div:nth-child(23){animation-delay:176ms}.calendar-body .flex.gap-1>div:nth-child(24){animation-delay:184ms}.calendar-body .flex.gap-1>div:nth-child(25){animation-delay:192ms}.calendar-body .flex.gap-1>div:nth-child(26){animation-delay:.2s}.calendar-body .flex.gap-1>div:nth-child(27){animation-delay:208ms}.calendar-body .flex.gap-1>div:nth-child(28){animation-delay:216ms}.calendar-body .flex.gap-1>div:nth-child(29){animation-delay:224ms}.calendar-body .flex.gap-1>div:nth-child(30){animation-delay:232ms}.calendar-body .flex.gap-1>div:nth-child(31){animation-delay:.24s}.calendar-body .flex.gap-1>div:nth-child(32){animation-delay:248ms}.calendar-body .flex.gap-1>div:nth-child(33){animation-delay:256ms}.calendar-body .flex.gap-1>div:nth-child(34){animation-delay:264ms}.calendar-body .flex.gap-1>div:nth-child(35){animation-delay:272ms}.calendar-body .flex.gap-1>div:nth-child(36){animation-delay:.28s}.calendar-body .flex.gap-1>div:nth-child(37){animation-delay:288ms}.calendar-body .flex.gap-1>div:nth-child(38){animation-delay:296ms}.calendar-body .flex.gap-1>div:nth-child(39){animation-delay:304ms}.calendar-body .flex.gap-1>div:nth-child(40){animation-delay:312ms}.calendar-body .flex.gap-1>div:nth-child(41){animation-delay:.32s}.calendar-body .flex.gap-1>div:nth-child(42){animation-delay:328ms}.calendar-body .flex.gap-1>div:nth-child(43){animation-delay:336ms}.calendar-body .flex.gap-1>div:nth-child(44){animation-delay:344ms}.calendar-body .flex.gap-1>div:nth-child(45){animation-delay:352ms}.calendar-body .flex.gap-1>div:nth-child(46){animation-delay:.36s}.calendar-body .flex.gap-1>div:nth-child(47){animation-delay:368ms}.calendar-body .flex.gap-1>div:nth-child(48){animation-delay:376ms}.calendar-body .flex.gap-1>div:nth-child(49){animation-delay:384ms}.calendar-body .flex.gap-1>div:nth-child(50){animation-delay:392ms}.calendar-body .flex.gap-1>div:nth-child(51){animation-delay:.4s}.calendar-body .flex.gap-1>div:nth-child(n+52){animation-delay:.4s}@keyframes panel-fade{0%{opacity:0;transform:translateY(6px)}}.explore-layout,.song-builder{animation:panel-fade .2s var(--ease) both}.settings-trigger svg,.sidebar nav button span{display:inline-block;transition:transform .16s var(--ease)}.settings-trigger:hover:not(:disabled) svg{transform:rotate(45deg)}.sidebar nav button:hover:not(:disabled) span{transform:translate(2px)}@media(prefers-reduced-motion:reduce){*,*:before,*:after{transition:none!important;animation:none!important}.sidebar nav button.active:after{transform:none!important}}.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
