.chords-view{padding:18px 0 100px;color:#0d1f3c}.chords-hero{padding:24px 28px 26px;border-bottom:4px solid #e85d1a;border-radius:14px 14px 0 0;background:#0d1f3c;color:#f7f1e5}.chords-hero p{margin:0 0 7px;color:#ff6b26;font-size:10px;font-weight:900;letter-spacing:1.5px}.chords-hero h1{margin:0;font:700 38px/1 var(--app-font)}.chords-hero span{display:block;margin-top:9px;font-size:13px;font-weight:650}.chords-content{padding:22px 26px;border:1px solid #d9d0c0;border-top:0;border-radius:0 0 14px 14px;background:#fff}.objective-tabs{display:grid;grid-template-columns:repeat(4,1fr);gap:1px;padding:0 1px;background:#0d1f3c}.objective-tabs button{min-height:44px;border:0;background:#dcd5c9;color:#314451;font:800 13px/1.1 inherit}.objective-tabs button[aria-pressed=true]{background:#e85d1a;color:#fff;box-shadow:inset 0 -3px #0d1f3c}.objective-panel[hidden]{display:none}
.chords-intro{display:grid;grid-template-columns:1.15fr .85fr;gap:28px;align-items:end;margin-bottom:18px}.chords-intro h2,.section-heading h2{margin:3px 0 0;font:700 27px/1.1 var(--app-font)}.chords-intro>p{margin:0;color:#53636b;font-size:13px;line-height:1.5}.chords-kicker,.section-heading p{margin:0;color:#c54a12;font-size:10px;font-weight:900;letter-spacing:1.4px}.chord-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.chord-grid.three-up{grid-template-columns:repeat(3,1fr)}.chord-card{padding:14px 16px;border:1px solid #ded5c5;border-radius:12px;background:#f7f1e5;box-shadow:0 5px 18px #0d1f3c0b}.chord-card-heading{display:flex;align-items:start;justify-content:space-between}.chord-card-heading span{color:#68777e;font-size:9px;font-weight:900;letter-spacing:1.2px}.chord-card-heading h2{margin:1px 0 0;color:#e85d1a;font:700 27px/1 var(--app-font)}.chord-card-heading b{padding:4px 7px;border-radius:99px;background:#fff;color:#c54a12;font-size:8px;letter-spacing:.8px}.chord-card>p{min-height:36px;margin:6px 0 0;color:#465860;font-size:12px;line-height:1.45}
.chord-diagram{display:block;width:100%;max-height:145px;margin:2px auto;overflow:visible}.chord-diagram .fretboard{fill:#eee5d3;stroke:#ddd2be;stroke-width:.6}.chord-diagram .fret{stroke:#a9b4b8;stroke-width:1.15}.chord-diagram .nut{fill:#fffdf5;stroke:#d5c9b1;stroke-width:.75;filter:drop-shadow(1px 0 1px #0d1f3c24)}.chord-diagram .string-line{stroke:#1d385c}.chord-diagram .muted-string{stroke:#aeb4b5;opacity:.42}.chord-diagram .string-name{fill:#0d1f3c;font:900 13px Arial}.chord-diagram .muted-label{fill:#788389}.chord-diagram .open{fill:#fff;stroke:#0d1f3c;stroke-width:1.7}.chord-diagram .mute{fill:#e85d1a;font:900 20px Arial;text-anchor:middle}.chord-diagram .finger,.chord-diagram .barre{fill:#0d1f3c;stroke:none}.chord-diagram .finger.anchor{fill:#e85d1a}.chord-diagram .finger-number{fill:#fff;font:900 11px Arial;text-anchor:middle;pointer-events:none}.chord-diagram .barre-number{font-size:10px}
.practice-section{margin-top:26px}.section-heading{display:flex;align-items:end;justify-content:space-between;padding-bottom:10px;border-bottom:2px solid #d8d0c1}.section-heading>span{color:#617078;font-size:11px}.exercise-grid{display:grid;grid-template-columns:1fr;gap:12px;margin-top:12px}.change-card{padding:12px;border:1px solid #d8d0c1;border-radius:10px;background:#f7f1e5}.change-card.essential{border-left:4px solid #e85d1a}.change-card.extra{background:#fff}.change-top{display:flex;align-items:center;gap:9px;margin-bottom:9px}.change-number{display:grid;place-items:center;width:29px;height:29px;flex:0 0 29px;border-radius:50%;background:#0d1f3c;color:#fff;font-weight:900}.change-label{margin:0;color:#c54a12;font-size:9px;font-weight:900;letter-spacing:1px}.change-top em{margin-left:auto;color:#63727a;font-size:11px;font-style:normal;font-weight:800}.measure-row{display:grid;grid-template-columns:repeat(var(--bar-count),minmax(190px,1fr));gap:6px;overflow-x:auto;padding-bottom:3px;scrollbar-width:thin}.music-measure{min-width:190px;border:2px solid #263f60;border-radius:6px;background:#fff;overflow:hidden}.measure-heading{display:flex;align-items:center;justify-content:space-between;min-height:35px;padding:5px 8px;background:#0d1f3c}.measure-heading span{color:#bcc7d0;font-size:7px;font-weight:900;letter-spacing:.7px}.preview-chord{padding:0;border:0;border-bottom:2px solid transparent;background:none;color:#fff;font:900 18px/1 var(--app-font);white-space:nowrap;cursor:pointer}.preview-chord:hover,.preview-chord:focus-visible{border-bottom-color:#ff6b26;outline:none}.measure-grid{display:grid;grid-template-columns:repeat(var(--rhythm-slots,8),1fr);align-items:center;text-align:center}.count-row{padding:5px 5px 1px}.count-row b{color:#c54a12;font-size:10px}.count-row b:nth-child(even){color:#65747d;font-size:9px;font-style:italic}.stroke-row{padding:0 5px 5px}.stroke-row i{height:27px;color:#0d1f3c;font-size:22px;font-style:normal;font-weight:900;line-height:27px}.stroke-row .up{color:#e85d1a}.stroke-row .rest{color:#c4c8c7;font-size:13px}.exercise-copy{margin:7px 2px 0;color:#52626a;font-size:11px;line-height:1.4}.song-example{margin-top:12px;padding:14px;border:1px solid #d8d0c1;border-top:4px solid #e85d1a;border-radius:10px;background:#f7f1e5}.song-example>p{margin:0;color:#c54a12;font-size:9px;font-weight:900;letter-spacing:1px}.song-example>h3{margin:3px 0 10px;font:700 22px var(--app-font)}.song-example .change-card{padding:0;border:0;background:transparent}.song-example .change-card.essential{border:0}.practice-library{grid-template-columns:repeat(2,minmax(0,1fr))}
.chord-preview[hidden],.chord-preview-backdrop[hidden]{display:none}.chord-preview{position:fixed;right:24px;bottom:82px;z-index:1002;width:min(330px,calc(100vw - 28px));padding:16px;border:1px solid #cfc4b2;border-top:5px solid #e85d1a;border-radius:13px;background:#f7f1e5;box-shadow:0 18px 55px #07132955}.chord-preview p{margin:0;color:#c54a12;font-size:9px;font-weight:900;letter-spacing:1px}.chord-preview h2{margin:2px 0 0;font:700 28px var(--app-font)}.chord-preview span{display:block;color:#465860;font-size:12px;line-height:1.4}.preview-close{position:absolute;top:8px;right:10px;width:30px;height:30px;border:0;border-radius:50%;background:#0d1f3c;color:#fff;font-size:22px;line-height:1}.chord-preview-backdrop{position:fixed;inset:0;z-index:1001;background:#07132966}.bottom-nav{grid-template-columns:repeat(4,1fr)!important}body[data-view=tuner] .chords-view,body[data-view=metronome] .chords-view{display:none}body[data-view=chords] .intro,body[data-view=chords] #tuner,body[data-view=chords] .metronome-view{display:none}
@media(max-width:740px){.chords-view{padding:7px 0 80px}.chords-hero{padding:20px 15px 22px;border-radius:12px 12px 0 0}.chords-hero h1{font-size:31px}.objective-tabs button{min-height:43px;padding:4px 2px;font-size:10px}.chords-content{padding:17px 12px}.chords-intro{display:block}.chords-intro>p{margin-top:9px}.chord-grid,.chord-grid.three-up{grid-template-columns:1fr}.chord-card>p{min-height:0}.section-heading{display:block}.section-heading>span{display:block;margin-top:5px}.chord-diagram{max-height:135px}.practice-library{grid-template-columns:1fr}.measure-row{grid-template-columns:repeat(var(--bar-count),minmax(210px,1fr))}.chord-preview{left:14px;right:14px;bottom:86px;width:auto}.chord-preview.locked{max-height:calc(100vh - 115px);overflow:auto}}
@media(min-width:1100px){body[data-view=chords] .app-shell{max-width:1180px}.chords-view{padding-top:10px}.chord-grid{grid-template-columns:repeat(4,1fr)}.chord-card{padding:12px}.chord-card-heading h2{font-size:24px}.chord-diagram{max-height:125px}.chords-content{padding:18px 22px}.practice-section{margin-top:18px}.exercise-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.practice-library{grid-template-columns:repeat(2,minmax(0,1fr))}.change-card .measure-row{grid-template-columns:repeat(var(--bar-count),minmax(135px,1fr))}.change-card .music-measure{min-width:135px}.song-example .measure-row{grid-template-columns:repeat(4,1fr)}.song-example .music-measure{min-width:0}}

/* Guided strumming instruction */
.objective-tabs button{font-weight:900}.strum-callout{display:grid;grid-template-columns:56px 1fr;gap:14px;margin:0 0 18px;padding:15px 18px;border:1px solid #d7cdbd;border-left:5px solid #e85d1a;border-radius:10px;background:#f7f1e5}.callout-mark{display:grid;place-items:center;width:48px;height:48px;border-radius:50%;background:#0d1f3c;color:#fff;font-size:31px;font-weight:900}.callout-mark.up-mark{background:#e85d1a}.strum-callout p{margin:0;color:#c54a12;font-size:9px;font-weight:900;letter-spacing:1.2px}.strum-callout h3{margin:3px 0 7px;font:700 18px/1.15 var(--app-font)}.strum-callout ul{display:grid;gap:4px;margin:0;padding-left:18px;color:#45575f;font-size:12px;line-height:1.42}.compact-callout{padding-top:12px;padding-bottom:12px}.pattern-section{margin-top:18px}.pattern-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin-top:12px}.pattern-card{display:grid;grid-template-columns:34px minmax(0,1fr);gap:9px;padding:11px;border:1px solid #d8d0c1;border-radius:10px;background:#fff}.pattern-number{display:grid;place-items:center;width:32px;height:32px;border-radius:50%;background:#0d1f3c;color:#fff;font-weight:900}.pattern-card>div>p{margin:1px 0 6px;color:#c54a12;font-size:9px;font-weight:900;letter-spacing:1px}.pattern-card .music-measure{min-width:0}.pattern-card>div>span{display:block;margin-top:6px;color:#52626a;font-size:10px;line-height:1.35}.song-example{margin-top:18px}
.instrument-tabs{display:grid;grid-template-columns:repeat(3,1fr);gap:1px;padding:1px;background:#0d1f3c}.instrument-tabs button{min-height:39px;border:0;background:#f3eee4;color:#314451;font-size:12px;font-weight:900}.instrument-tabs button[aria-pressed=true]{background:#0d1f3c;color:#fff;box-shadow:inset 0 -3px #e85d1a}.uke-path-tabs{display:grid;grid-template-columns:repeat(2,1fr);gap:6px;padding:8px 12px;background:#f1ebdf}.uke-path-tabs[hidden]{display:none}.uke-path-tabs button{min-height:34px;border:1px solid #bdb3a4;border-radius:6px;background:#fff;color:#314451;font-size:11px;font-weight:900}.uke-path-tabs button[aria-pressed=true]{border-color:#e85d1a;background:#fff1e9;color:#c54a12}
@media(max-width:740px){.objective-tabs button{min-height:47px;font-size:9px;font-weight:900}.strum-callout{grid-template-columns:42px 1fr;padding:13px 11px;gap:9px}.callout-mark{width:38px;height:38px;font-size:25px}.strum-callout h3{font-size:16px}.strum-callout ul{font-size:11px;padding-left:16px}.pattern-grid{grid-template-columns:1fr}}

/* Chord variations and fixed-navigation clearance */
body[data-view=chords]{padding-bottom:calc(max(58px,7dvh) + 52px)}.chords-view{padding-bottom:145px}.variation-links{display:flex;align-items:center;gap:7px;margin-top:9px;padding-top:8px;border-top:1px solid #d9d0c0}.variation-links span{color:#68777e;font-size:8px;font-weight:900;letter-spacing:.8px}.variation-links button{margin-left:auto;padding:5px 8px;border:1px solid #0d1f3c;border-radius:6px;background:#fff;color:#0d1f3c;font:800 10px inherit;cursor:pointer}.variation-links button:hover,.variation-links button:focus-visible{background:#0d1f3c;color:#fff;outline:none}.chord-preview .variation-links{margin-top:10px}.chord-preview .variation-links span{font-size:8px}
@media(max-width:740px){body[data-view=chords]{padding-bottom:calc(max(58px,7dvh) + 70px)}.chords-view{padding-bottom:165px}}

/* Keep chord content out from under the fixed app navigation. */
body[data-view=chords] .app-shell{padding-bottom:calc(max(58px,7dvh) + 24px)}
body[data-view=chords] .chords-content{padding-bottom:calc(18px + max(58px,7dvh))}
@media(min-width:741px){body[data-view=chords]{padding-bottom:0;overflow:hidden}body[data-view=chords] .app-shell{box-sizing:border-box;height:calc(100dvh - max(58px,7dvh) - 24px);padding-bottom:0;overflow-y:auto;overscroll-behavior:contain;scrollbar-gutter:stable}body[data-view=chords] .chords-view{padding-bottom:32px}body[data-view=chords] .chords-content{padding-bottom:54px}}
.objective-tabs button span{display:block;line-height:.95}.objective-tabs button span+span{margin-top:0}.chords-intro.single{grid-template-columns:1fr}.song-example+.song-example{margin-top:12px}
@media(min-width:741px){body[data-view=chords] .app-shell{position:fixed;z-index:1;top:0;right:auto;bottom:max(58px,7dvh);left:50%;width:min(calc(100% - 32px),1180px);height:auto;margin:0;transform:translateX(-50%);overflow-y:auto}}

/* Desktop uses one normal document scroller. The final spacer clears fixed navigation. */
@media(min-width:741px){body[data-view=chords]{height:auto!important;min-height:100dvh;padding-bottom:0!important;overflow-x:hidden!important;overflow-y:auto!important}body[data-view=chords] .app-shell{position:relative!important;inset:auto!important;width:auto!important;max-width:1180px!important;height:auto!important;min-height:0!important;margin:0 auto!important;padding-bottom:0!important;transform:none!important;overflow:visible!important;scrollbar-gutter:auto!important}body[data-view=chords] .chords-view{padding-bottom:calc(max(58px,7dvh) + 28px)!important}body[data-view=chords] .chords-content{padding-bottom:32px!important}}

/* Override the wide tuner layout, which intentionally locks the root and main. */
@media(min-width:741px){html[data-view=chords]{height:auto!important;min-height:100%!important;overflow-x:hidden!important;overflow-y:auto!important}body[data-view=chords] main{height:auto!important;min-height:0!important;overflow:visible!important}}
.more-feedback{margin:7px 0 34px;text-align:center;color:#53636b;font-size:12px}.more-feedback a{color:#c54a12;font-weight:800}

/* Compact, intentional mobile information flow */
.lesson-details{display:block}.lesson-summary{display:grid;grid-template-columns:56px 1fr;gap:14px;align-items:start;list-style:none;cursor:pointer}.lesson-summary::-webkit-details-marker,.exercise-details>summary::-webkit-details-marker,.progression-details>summary::-webkit-details-marker{display:none}.lesson-summary:after,.exercise-details>summary:after,.progression-details>summary:after{content:'+';position:absolute;right:14px;top:50%;translate:0 -50%;color:#0d1f3c;font-size:20px;font-weight:900}.lesson-details[open]>.lesson-summary:after,.exercise-details[open]>summary:after,.progression-details[open]>summary:after{content:'−'}.lesson-summary{position:relative;padding-right:30px}.lesson-summary p{margin:0;color:#c54a12;font-size:9px;font-weight:900;letter-spacing:1.2px}.lesson-summary h3{margin:3px 0 0;font:700 18px/1.15 var(--app-font)}.lesson-expanded{margin:8px 0 0 70px}.lesson-expanded ul{display:grid;gap:4px;margin:0;padding-left:18px;color:#45575f;font-size:12px;line-height:1.42}.exercise-details>summary,.progression-details>summary{position:relative;list-style:none;cursor:pointer;padding-right:35px}.details-body,.progression-body{padding-top:1px}.chord-selector{display:none}
@media(max-width:740px){html[data-view=chords],body[data-view=chords]{max-width:100%;overflow-x:hidden!important}.chords-view,.chords-content,.objective-panel{max-width:100%;overflow-x:hidden}.chords-content{padding:14px 10px}.chords-intro{margin-bottom:11px}.lesson-details{margin-bottom:12px;padding:10px}.lesson-summary{grid-template-columns:38px 1fr;gap:8px}.lesson-summary .callout-mark{width:34px;height:34px;font-size:22px}.lesson-summary h3{padding-right:16px;font-size:15px}.lesson-expanded{margin:8px 0 0 42px}.lesson-expanded ul{font-size:11px}.chord-selector{display:flex;gap:4px;margin:0 0 7px;overflow:hidden}.chord-selector button{flex:1 1 0;min-width:0;padding:8px 2px;border:1px solid #cfc6b8;border-radius:6px;background:#e3ddd2;color:#314451;font-size:11px;font-weight:900}.chord-selector button[aria-selected=true]{border-color:#0d1f3c;background:#0d1f3c;color:#fff;box-shadow:inset 0 -3px #e85d1a}.chord-grid,.chord-grid.three-up{display:block;overflow:hidden;touch-action:pan-y}.chord-grid .chord-card{display:none;width:100%;padding:10px 12px}.chord-grid .chord-card.active-chord{display:block}.chord-card-heading h2{font-size:24px}.chord-diagram{max-height:122px}.chord-card>p{font-size:11px}.exercise-details{margin-top:14px}.exercise-details>summary{display:block;padding:10px 36px 10px 2px;border-bottom:2px solid #d8d0c1}.exercise-details>summary h2{font-size:21px}.exercise-details>summary>span{margin-top:3px}.exercise-details:not([open])>summary{border:1px solid #d8d0c1;border-left:4px solid #e85d1a;border-radius:8px;background:#f7f1e5;padding-left:10px}.measure-row,.change-card .measure-row,.song-example .measure-row{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:5px;overflow:visible!important}.music-measure,.change-card .music-measure,.song-example .music-measure{min-width:0!important}.measure-heading{min-height:31px;padding:4px 6px}.preview-chord{font-size:15px}.count-row,.stroke-row{padding-inline:3px}.count-row b{font-size:9px}.stroke-row i{font-size:18px}.song-example{padding:0;border-top-width:3px;overflow:hidden}.progression-details>summary{padding:10px 38px 9px 12px;background:#f7f1e5}.progression-summary p{margin:0;color:#c54a12;font-size:8px;font-weight:900;letter-spacing:1px}.progression-summary h3{margin:2px 0 0;font:700 18px/1.1 var(--app-font)}.progression-body{padding:0 10px 10px}.progression-details:not([open]){margin-top:8px}.progression-details:not([open])>summary{padding-block:11px}.progression-details .change-top{margin-top:8px}.progression-details .exercise-copy{margin-bottom:0}}

/* Focused practice drawers */
.practice-drawers{margin-top:22px}.practice-transition{display:flex;align-items:end;gap:12px;padding-bottom:9px;border-bottom:2px solid #d8d0c1}.practice-transition p{margin:0;color:#c54a12;font-size:9px;font-weight:900;letter-spacing:1.2px}.practice-transition h2{margin:2px 0 0;font:700 25px/1.05 var(--app-font)}.practice-transition span{margin-left:auto;color:#617078;font-size:11px}.practice-instructions,.practice-exercise{margin-top:8px;border:1px solid #d8d0c1;border-radius:9px;background:#fff;overflow:hidden}.practice-instructions>summary,.practice-exercise>summary{display:flex;align-items:center;gap:10px;min-height:53px;padding:7px 12px;list-style:none;cursor:pointer;background:#ece5d9}.practice-instructions>summary::-webkit-details-marker,.practice-exercise>summary::-webkit-details-marker{display:none}.practice-instructions>summary{background:#0d1f3c;color:#fff}.drawer-toggle{display:grid;place-items:center;width:29px;height:29px;flex:0 0 29px;border:2px solid currentColor;border-radius:50%;color:#e85d1a}.drawer-toggle:before{content:'+';font:900 21px/1 Arial}.practice-instructions[open] .drawer-toggle:before,.practice-exercise[open] .drawer-toggle:before{content:'−'}.practice-instructions summary small,.practice-exercise summary small{display:block;color:#e85d1a;font-size:8px;font-weight:900;letter-spacing:1px}.practice-instructions summary strong,.practice-exercise summary strong{display:block;margin-top:2px;font:700 17px/1.1 var(--app-font)}.drawer-number{display:grid;place-items:center;width:26px;height:26px;flex:0 0 26px;border-radius:50%;background:#0d1f3c;color:#fff;font-size:12px;font-weight:900}.drawer-copy{min-width:0}.practice-instructions-body{padding:12px 15px;background:#f7f1e5;color:#40535d;font-size:12px;line-height:1.48}.practice-instructions-body p{margin:0}.practice-instructions-body p+p{margin-top:8px}.practice-exercise-body{padding:10px}.practice-exercise-body .change-card{padding:0;border:0;background:transparent}.practice-exercise-body .change-top{display:none}.progression-reading-cue{margin:9px 0 6px;color:#40535d;font-size:10px;font-weight:800;text-align:center}
@media(max-width:740px){.practice-drawers{margin-top:13px}.practice-transition{display:block}.practice-transition h2{font-size:21px}.practice-transition span{display:block;margin-top:4px}.practice-instructions>summary,.practice-exercise>summary{min-height:48px;padding:6px 9px}.drawer-toggle{width:27px;height:27px;flex-basis:27px}.practice-instructions summary strong,.practice-exercise summary strong{font-size:16px}.practice-exercise-body{padding:8px}.practice-exercise-body .measure-row{grid-template-columns:repeat(2,minmax(0,1fr))!important}.practice-exercise-body .exercise-copy{margin:7px 2px 1px}.progression-reading-cue{padding:5px 7px;border-radius:5px;background:#fff4d2;color:#0d1f3c}}

/* Compact mobile lesson and clearly separated chord-pair practice */
.practice-drawers{padding:14px;border-top:7px solid #0d1f3c;border-radius:10px;background:#f1ebdf}.practice-transition{border:0}.practice-transition h2{color:#0d1f3c}.practice-instructions,.practice-exercise{width:100%;margin-bottom:0}.practice-instructions>summary,.practice-exercise>summary{width:100%}.practice-exercise{border:0}.practice-exercise>summary{background:#0d1f3c;color:#fff}.practice-exercise .drawer-toggle{border-color:#fff;background:#fff;color:#0d1f3c}.practice-exercise summary small{color:#c6d0d9}.practice-instructions{border:0}.practice-instructions>summary{background:#e85d1a}.practice-instructions .drawer-toggle{border-color:#fff;background:#fff;color:#c54a12}.practice-instructions summary small{color:#fff}.practice-instructions-body{border:1px solid #d8d0c1;border-top:0}.practice-exercise-body{background:#fff}.drawer-number{display:none}
@media(max-width:740px){.chords-view{padding-top:3px}.chords-hero{padding:13px 12px 14px}.chords-hero h1{font-size:27px}.chords-hero span{margin-top:5px;font-size:11px}.objective-tabs button{min-height:39px}.chords-content{padding:9px 8px}.chords-intro{margin-bottom:7px}.chords-intro h2{font-size:22px}.chords-kicker{font-size:8px}.lesson-details{margin-bottom:7px;padding:6px 8px}.lesson-summary{min-height:32px}.lesson-summary h3{font-size:14px}.chord-selector{margin-bottom:5px}.chord-selector button{padding:6px 2px}.chord-grid .chord-card{padding:7px 10px}.chord-card-heading span{display:none}.chord-card-heading h2{font-size:22px}.chord-card-heading b{font-size:7px}.chord-diagram{max-height:104px;margin:0 auto}.chord-card>p{margin-top:2px;font-size:10px;line-height:1.3}.variation-links{margin-top:5px;padding-top:5px}.practice-drawers{margin:8px -2px 0;padding:8px;border-top-width:5px}.practice-transition{padding-bottom:5px}.practice-transition h2{font-size:19px}.practice-transition span{margin-top:2px;font-size:9px}.practice-instructions,.practice-exercise{margin-top:5px;border-radius:7px}.practice-instructions>summary,.practice-exercise>summary{min-height:36px;padding:4px 8px;gap:9px}.drawer-toggle{width:19px;height:19px;flex-basis:19px;border-width:0;box-shadow:0 1px 3px #07132935}.drawer-toggle:before{font-size:14px}.practice-instructions summary small,.practice-exercise summary small{font-size:7px}.practice-instructions summary strong,.practice-exercise summary strong{margin-top:0;font-size:14px}.practice-instructions-body{padding:9px 11px;font-size:11px}.practice-exercise-body{padding:7px}.practice-exercise-body .music-measure{min-height:0}.practice-exercise-body .measure-heading{min-height:28px}.practice-exercise-body .stroke-row i{height:23px;line-height:23px}}

/* One consistent mobile expand control */
@media(max-width:740px){.lesson-summary{grid-template-columns:19px 1fr;align-items:center;gap:9px;padding-right:4px}.lesson-summary .callout-mark{display:none}.lesson-summary:before{content:'+';display:grid;place-items:center;width:19px;height:19px;border-radius:50%;background:#fff;color:#0d1f3c;font:900 14px/1 Arial;box-shadow:0 1px 3px #07132935}.lesson-details[open]>.lesson-summary:before{content:'−'}.lesson-summary:after{display:none}.lesson-summary h3{padding-right:0}.lesson-expanded{margin-left:28px}}
@media(max-width:740px){.instrument-tabs button{min-height:36px;padding:4px 2px;font-size:9px;line-height:1.1}.uke-path-tabs{padding:5px 8px}.uke-path-tabs button{min-height:29px;font-size:9px}.progression-details{margin-top:5px;margin-bottom:0;border:0;background:#0d1f3c}.progression-details>summary{display:grid;grid-template-columns:19px 1fr;column-gap:9px;width:100%;padding:5px 8px;background:#0d1f3c;color:#fff}.progression-details>summary:before{content:'+';grid-row:1/3;display:grid;place-items:center;width:19px;height:19px;align-self:center;border-radius:50%;background:#fff;color:#0d1f3c;font:900 14px/1 Arial}.progression-details[open]>summary:before{content:'−'}.progression-details>summary:after{display:none}.progression-summary p,.progression-summary h3{grid-column:2;color:#fff}.progression-summary p{color:#c6d0d9}.progression-summary h3{font-size:14px}.progression-body{background:#f7f1e5}}

/* Navigation hierarchy: instrument > path > objective > chord */
.nav-tier-label{grid-column:1/-1;display:block;font-size:8px;font-weight:900;letter-spacing:1.2px;text-transform:uppercase}.instrument-tabs{gap:4px;padding:7px 8px 8px;background:#0d1f3c}.instrument-tabs .nav-tier-label{color:#aebdca}.instrument-tabs button{border:1px solid #506681;border-radius:6px;background:#1a3150;color:#fff}.instrument-tabs button[aria-pressed=true]{border-color:#e85d1a;background:#e85d1a;color:#fff;box-shadow:none}.uke-path-tabs{gap:5px;padding:6px 8px 8px;border-bottom:1px solid #d4cab9;background:#f1ebdf}.uke-path-tabs .nav-tier-label{color:#7a675a}.uke-path-tabs button[aria-pressed=true]{border-color:#0d1f3c;background:#fff;color:#0d1f3c;box-shadow:inset 0 -3px #e85d1a}.objective-tabs{gap:4px;padding:6px 8px 8px;background:#fff}.objective-tabs .nav-tier-label{color:#7a675a}.objective-tabs button{min-height:37px;border:1px solid #d0c7b9;border-radius:5px;background:#e8e2d8}.objective-tabs button[aria-pressed=true]{background:#0d1f3c;color:#fff;box-shadow:inset 0 -3px #e85d1a}.chord-selector button[aria-selected=true]{border-color:#e85d1a;background:#e85d1a;color:#fff;box-shadow:none}
@media(max-width:740px){.instrument-tabs,.objective-tabs{gap:3px;padding:4px 5px 5px}.instrument-tabs button{min-height:31px}.uke-path-tabs{padding:4px 5px 5px}.objective-tabs button{min-height:32px;font-size:9px}.nav-tier-label{font-size:7px;line-height:1.1}}
.practice-next-step{margin:9px 2px 2px;padding-top:7px;border-top:1px solid #c9bfaf}.practice-next-step small{display:block;color:#c54a12;font-size:7px;font-weight:900;letter-spacing:1px}.practice-next-step strong{display:block;margin-top:1px;color:#0d1f3c;font:700 14px/1.1 var(--app-font)}.progression-exercise>summary{background:#203b5d}

/* Consistent chord alternatives and related chord variations */
.variation-links{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:5px}.variation-links span{grid-column:1/-1;padding-bottom:1px}.variation-links button{box-sizing:border-box;width:100%;height:36px;min-width:0;margin:0;padding:5px 6px;font-family:inherit;font-size:9px;font-weight:800;line-height:1.1;white-space:normal}
.variation-links+.variation-links{margin-top:6px}
@media(max-width:740px){.variation-links{gap:4px;margin-top:4px;padding-top:5px}.variation-links button{height:32px;padding:4px 3px;font-size:8px}.variation-links span{font-size:7px}}

/* The collapsed mobile lesson is one locked screen; opening a drawer unlocks scrolling. */
@media(max-width:740px){
 html[data-view=chords]:not(:has(body.chords-unlocked)),body[data-view=chords]:not(.chords-unlocked){height:100dvh;overflow:hidden!important}
 body[data-view=chords]:not(.chords-unlocked) .app-shell{height:calc(100dvh - max(58px,7dvh));padding-bottom:0!important;overflow:hidden!important}
 body[data-view=chords].chords-unlocked{height:auto;min-height:100dvh;overflow-y:auto!important}
 body[data-view=chords].chords-unlocked .app-shell{height:auto;overflow:visible!important}
 body[data-view=chords] .chords-view{padding-bottom:0}
 body[data-view=chords] .chords-content{padding:6px 7px 8px}
 body[data-view=chords] .chords-hero{padding:9px 11px 10px}
 body[data-view=chords] .chords-hero h1{font-size:24px}
 body[data-view=chords] .chords-hero span{margin-top:3px;font-size:9px}
 body[data-view=chords] .instrument-tabs,body[data-view=chords] .objective-tabs{padding:3px 5px 4px}
 body[data-view=chords] .uke-path-tabs{padding:3px 5px 4px}
 body[data-view=chords] .instrument-tabs button,body[data-view=chords] .objective-tabs button{min-height:27px}
 body[data-view=chords] .uke-path-tabs button{min-height:25px}
 body[data-view=chords] .chords-intro{margin-bottom:2px}
 body[data-view=chords] .chords-intro h2{font-size:17px}
 body[data-view=chords] .lesson-details{margin-bottom:1px;padding:2px 7px}
 body[data-view=chords] .lesson-summary{min-height:22px}
 body[data-view=chords] .lesson-summary h3{font-size:12px}
 body[data-view=chords] .chord-selector{margin-bottom:1px}
 body[data-view=chords] .chord-selector button{padding:4px 2px;font-size:9px}
 body[data-view=chords] .chord-grid .chord-card{padding:4px 8px}
 body[data-view=chords] .chord-card-heading h2{font-size:19px}
 body[data-view=chords] .chord-diagram{max-height:84px}
 body[data-view=chords] .chord-card>p{font-size:9px;line-height:1.18}
 body[data-view=chords] .variation-links{margin-top:3px;padding-top:3px}
 body[data-view=chords] .variation-links button{height:20px;padding:1px 2px;font-size:7px}
 body[data-view=chords] .variation-links span{font-size:6px}
 body[data-view=chords] .variation-links+.variation-links{margin-top:3px}
 body[data-view=chords] .practice-drawers{margin-top:1px;padding:4px 6px;border-top-width:3px}
 body[data-view=chords] .practice-transition{padding-bottom:2px}
 body[data-view=chords] .practice-transition p{font-size:7px}
 body[data-view=chords] .practice-transition h2{font-size:14px}
 body[data-view=chords] .practice-transition span{display:none}
 body[data-view=chords] .practice-instructions,body[data-view=chords] .practice-exercise{margin-top:2px}
 body[data-view=chords] .practice-instructions>summary,body[data-view=chords] .practice-exercise>summary{min-height:20px;padding:1px 5px;gap:5px}
 body[data-view=chords] .drawer-toggle{width:15px;height:15px;flex-basis:15px}
 body[data-view=chords] .practice-instructions summary small,body[data-view=chords] .practice-exercise summary small{font-size:6px}
 body[data-view=chords] .practice-instructions summary strong,body[data-view=chords] .practice-exercise summary strong{font-size:11px}
 body[data-view=chords] .practice-next-step{margin-top:2px;padding-top:2px}
 body[data-view=chords] .practice-next-step small{font-size:6px}
 body[data-view=chords] .practice-next-step strong{font-size:10px}
}
.objective-tabs{grid-template-columns:repeat(5,minmax(0,1fr))}
.strumming-intro{margin:0 0 14px;color:var(--ink,#314451);font-size:13px;line-height:1.45}
.strumming-panel .song-example{margin-top:10px}
.strumming-panel .measure-row{grid-template-columns:repeat(var(--bar-count),minmax(0,1fr));overflow:visible}
.strumming-panel .music-measure{min-width:0}
@media(max-width:740px){.strumming-panel .measure-row{grid-template-columns:1fr}}
@media(max-width:390px){.objective-tabs button{font-size:8px;letter-spacing:-.1px}}

/* Beta 3.4: compact exercise menu and consistent expandable teaching notes. */
.lesson-summary{grid-template-columns:22px 1fr;align-items:center;gap:9px;padding-right:4px}
.lesson-summary .callout-mark{display:none}
.lesson-summary:before{content:'+';display:grid;place-items:center;width:20px;height:20px;border-radius:50%;background:#fff;color:#0d1f3c;font:900 14px/1 Arial;box-shadow:0 1px 3px #07132935}
.lesson-details[open]>.lesson-summary:before{content:'−'}
.lesson-summary:after{display:none}
.lesson-expanded{margin-left:30px}
.mobile-reading-cue{display:none}
@media(max-width:740px){
 body[data-view=chords] .practice-drawers{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:5px}
 body[data-view=chords] .practice-transition,body[data-view=chords] .practice-instructions{grid-column:1/-1}
 body[data-view=chords] .practice-instructions,body[data-view=chords] .practice-exercise{margin-top:0}
 body[data-view=chords] .practice-exercise{min-width:0}
 body[data-view=chords] .practice-exercise>summary{height:41px;min-height:41px}
 body[data-view=chords] .practice-exercise summary strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
 body[data-view=chords] .practice-exercise[open],body[data-view=chords] .progression-exercise,body[data-view=chords] .practice-count-1 .practice-exercise{grid-column:1/-1}
 body[data-view=chords] .practice-exercise[open]>summary{height:36px;min-height:36px}
 .desktop-reading-cue{display:none}.mobile-reading-cue{display:inline}
}

/* Chord changes that happen inside a single four-beat measure. */
.beat-chord-grid,.beat-count-grid,.beat-stroke-grid{display:grid;grid-template-columns:repeat(4,1fr);align-items:center;text-align:center}.beat-chord-grid{border-bottom:1px solid #d8d0c1}.beat-chord-grid .preview-chord{padding:6px 1px;color:#0d1f3c;font-size:16px}.beat-count-grid{padding-top:4px}.beat-count-grid b{color:#c54a12;font-size:10px}.beat-stroke-grid{padding-bottom:5px}.beat-stroke-grid i{color:#0d1f3c;font-size:20px;font-style:normal;font-weight:900}

/* Readability pass: larger chords and one shared collapsed-row scale. */
@media(max-width:740px){
 html[data-view=chords],body[data-view=chords],body[data-view=chords]:not(.chords-unlocked){height:auto;min-height:100dvh;overflow-y:auto!important}
 body[data-view=chords] .app-shell,body[data-view=chords]:not(.chords-unlocked) .app-shell{height:auto;padding-bottom:0!important;overflow:visible!important}
 body[data-view=chords] .chords-content{padding:8px 9px 12px}
 body[data-view=chords] .chords-intro{margin-bottom:5px}
 body[data-view=chords] .lesson-details{margin-bottom:5px;padding:5px 8px}
 body[data-view=chords] .lesson-summary{min-height:28px}
 body[data-view=chords] .lesson-summary h3{font-size:13px}
 body[data-view=chords] .chord-selector{margin-bottom:4px}
 body[data-view=chords] .chord-selector button{padding:6px 2px;font-size:9px}
 body[data-view=chords] .chord-grid .chord-card{padding:7px 10px 8px}
 body[data-view=chords] .chord-card-heading h2{font-size:22px}
 body[data-view=chords] .chord-diagram{max-height:118px}
 body[data-view=chords] .chord-card>p{margin-top:3px;font-size:10px;line-height:1.3}
 body[data-view=chords] .practice-drawers{margin-top:5px;padding:7px 8px;border-top-width:4px}
 body[data-view=chords] .practice-transition{padding-bottom:4px}
 body[data-view=chords] .practice-transition h2{font-size:17px}
 body[data-view=chords] .practice-instructions,body[data-view=chords] .practice-exercise{margin-top:4px}
 body[data-view=chords] .practice-instructions>summary,body[data-view=chords] .practice-exercise>summary,body[data-view=chords] .progression-details>summary{box-sizing:border-box;height:34px;min-height:34px;padding:3px 8px;gap:8px;overflow:hidden}
 body[data-view=chords] .practice-instructions summary strong,body[data-view=chords] .practice-exercise summary strong,body[data-view=chords] .progression-summary h3{font-size:12px;line-height:1}
 body[data-view=chords] .progression-summary p{font-size:6px;line-height:1}
 body[data-view=chords] .drawer-toggle,body[data-view=chords] .progression-details>summary:before{width:19px;height:19px;flex-basis:19px}
 body[data-view=chords] .progression-details:not([open])>summary{padding-block:4px}
 body[data-view=chords] .practice-next-step{margin-top:4px;padding-top:4px}
 body[data-view=chords] .practice-next-step strong{font-size:12px}
}

/* Beta 3.4 final layout overrides */
.more-view[hidden]{display:none}.more-view{position:fixed;z-index:45;inset:0 0 max(58px,7dvh);background:#f3eee4;overflow-y:auto;padding:max(12px,env(safe-area-inset-top)) max(12px,env(safe-area-inset-right)) 28px max(12px,env(safe-area-inset-left))}.more-view .more-menu-body{max-width:760px;margin:auto;padding:0 6px 28px}.more-view .app-version{display:block;margin:18px 0 0;text-align:center;color:#7a857f;font-size:10px}.more-view .more-feedback{margin-bottom:8px}body[data-view=more] .app-shell{display:none}
@media(max-width:740px){body[data-view=chords] .practice-drawers{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:5px}body[data-view=chords] .practice-transition,body[data-view=chords] .practice-instructions{grid-column:1/-1}body[data-view=chords] .practice-instructions,body[data-view=chords] .practice-exercise{margin-top:0}body[data-view=chords] .practice-exercise{min-width:0}body[data-view=chords] .practice-exercise>summary{height:41px;min-height:41px}body[data-view=chords] .practice-exercise summary strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}body[data-view=chords] .practice-exercise[open],body[data-view=chords] .progression-exercise,body[data-view=chords] .practice-count-1 .practice-exercise{grid-column:1/-1}body[data-view=chords] .practice-exercise[open]>summary{height:36px;min-height:36px}.desktop-reading-cue{display:none}.mobile-reading-cue{display:inline}}

/* Keep the lesson frame fixed when an expanded exercise creates vertical overflow. */
html[data-view=chords]{overflow-y:scroll!important;scrollbar-gutter:stable}

/* Beta 3.5 refinement: three chord-pair exercises share one compact row. */
@media(max-width:740px){
 body[data-view=chords] .practice-count-3,body[data-view=chords] .practice-count-4{grid-template-columns:repeat(3,minmax(0,1fr))}
 body[data-view=chords] .practice-count-3 .practice-exercise,body[data-view=chords] .practice-count-4 .practice-exercise:not(.progression-exercise){grid-column:auto}
 body[data-view=chords] .practice-count-3 .practice-exercise>summary,body[data-view=chords] .practice-count-4 .practice-exercise:not(.progression-exercise)>summary{height:38px;min-height:38px;padding:3px 5px;gap:5px}
 body[data-view=chords] .practice-count-3 .drawer-toggle,body[data-view=chords] .practice-count-4 .practice-exercise:not(.progression-exercise) .drawer-toggle{width:17px;height:17px;flex-basis:17px}
 body[data-view=chords] .practice-count-3 .practice-exercise summary small,body[data-view=chords] .practice-count-4 .practice-exercise:not(.progression-exercise) summary small{font-size:5.5px;letter-spacing:.45px}
 body[data-view=chords] .practice-count-3 .practice-exercise summary strong,body[data-view=chords] .practice-count-4 .practice-exercise:not(.progression-exercise) summary strong{font-size:10px}
 body[data-view=chords] .practice-count-3 .practice-exercise[open],body[data-view=chords] .practice-count-4 .practice-exercise[open]{grid-column:1/-1}
}

/* Exercise selectors behave like stable tabs; the selected exercise opens below. */
@media(max-width:740px){
 body[data-view=chords] .practice-exercise{display:contents}
 body[data-view=chords] .practice-exercise>summary{order:2;min-width:0;border:1px solid var(--theme-border);border-radius:7px}
 body[data-view=chords] .practice-exercise>.practice-exercise-body{grid-column:1/-1;order:3;margin-top:1px;border:1px solid var(--theme-border);border-radius:8px}
 body[data-view=chords] .practice-exercise[open]>summary{height:38px;min-height:38px;background:var(--theme-accent);border-color:var(--theme-accent)}
 body[data-view=chords] .practice-exercise[open] .drawer-toggle:before{content:'−'}
 body[data-view=chords] .progression-exercise>summary{grid-column:1/-1;order:4;margin-top:1px}
 body[data-view=chords] .progression-exercise>.practice-exercise-body{order:5}
}

@media(max-width:740px){body[data-view=chords] .practice-exercise:not([open])>.practice-exercise-body{display:none}}

@media(max-width:740px){body[data-view=chords] .practice-exercise,body[data-view=chords] .practice-exercise[open],body[data-view=chords] .progression-exercise{grid-column:auto!important}}

/* Stable exercise tabs and one shared result panel. */
.practice-exercise-tab{display:flex;align-items:center;gap:8px;width:100%;min-height:42px;margin-top:5px;padding:5px 8px;border:1px solid var(--theme-border);border-radius:7px;background:var(--theme-nav);color:#fff;text-align:left;font:inherit;cursor:pointer}.practice-exercise-tab small{display:block;color:#c6d0d9;font-size:7px;font-weight:900;letter-spacing:.7px}.practice-exercise-tab strong{display:block;margin-top:1px;color:#fff;font:700 12px/1.05 var(--app-font)}.exercise-tab-number{display:grid;place-items:center;width:19px;height:19px;flex:0 0 19px;border-radius:50%;background:#fff;color:var(--theme-nav);font-size:10px;font-weight:900}.practice-exercise-tab[aria-pressed=true]{border-color:var(--theme-accent);background:var(--theme-accent)}.practice-exercise-panel{margin-top:5px;padding:7px;border:1px solid var(--theme-border);border-radius:8px;background:var(--theme-surface)}.practice-exercise-panel[hidden]{display:none}.practice-exercise-panel .change-card{padding:0;border:0;background:transparent}.practice-exercise-panel .change-top{display:none}
@media(max-width:740px){body[data-view=chords] .practice-exercise-tab{order:2;min-width:0;height:38px;min-height:38px;margin-top:0;padding:3px 5px;gap:5px;overflow:hidden}body[data-view=chords] .practice-exercise-tab small{font-size:5.5px;letter-spacing:.4px}body[data-view=chords] .practice-exercise-tab strong{overflow:hidden;font-size:10px;text-overflow:ellipsis;white-space:nowrap}body[data-view=chords] .practice-exercise-panel{grid-column:1/-1;order:3;margin-top:0}.progression-exercise-tab{grid-column:1/-1!important;order:4!important;margin-top:1px!important}.progression-exercise-panel{order:5!important}}

/* Beta 3.7: alternate voicings live inside the swipeable chord stage. */
@media(max-width:740px){
 body[data-view=chords] .chords-content{padding:11px 10px 15px}
 body[data-view=chords] .lesson-details{padding:8px 10px;margin-bottom:8px}
 body[data-view=chords] .lesson-summary h3{font-size:15px;line-height:1.12}
 body[data-view=chords] .chord-selector button{padding:7px 2px;font-size:10px}
 body[data-view=chords] .chord-grid .chord-card{padding:10px 12px 11px}
 body[data-view=chords] .chord-card-heading h2{font-size:25px}
 body[data-view=chords] .chord-diagram{max-height:124px}
 body[data-view=chords] .chord-card>p{font-size:10.5px;line-height:1.34}
 body[data-view=chords] .practice-drawers{padding:7px 8px 9px}
 body[data-view=chords] .practice-transition h2{font-size:19px}
 body[data-view=chords] .practice-exercise-tab{height:38px;min-height:38px;padding:4px 7px}
}
@media(min-width:961px){.chord-grid [data-variant-card=true],.variant-swipe-cue{display:none}.chord-grid .desktop-variant-hidden{display:none!important}.chord-grid [data-variant-card=true].desktop-variant-active{display:block!important}}

/* Alternate voicings use the existing chord header rather than another row. */
.chord-variant-nav{display:flex;align-items:center;gap:5px;margin-left:auto}
.chord-variant-nav button{display:grid;place-items:center;width:25px;height:25px;padding:0;border:1px solid var(--theme-border);border-radius:50%;background:var(--theme-surface);color:var(--theme-ink);font:900 20px/1 Arial;cursor:pointer}
.chord-variant-nav span{min-width:23px;color:var(--theme-muted);font-size:9px;font-weight:900;text-align:center}
@media(max-width:740px){.variant-swipe-cue{display:none!important}.lesson-summary div:has(>p:only-child){display:flex;align-items:center}.lesson-summary div:has(>p:only-child) p{font-size:10px}}

/* Objective-note navigation uses one predictable collapsed label everywhere. */
.lesson-expanded>h3{margin:0 0 7px;color:var(--theme-ink);font:700 16px/1.2 var(--app-font)}
@media(max-width:740px){.lesson-summary>div{display:flex;align-items:center}.lesson-summary p{font-size:10px}.lesson-expanded>h3{font-size:15px}}

/* The chord stage is diagram-first; all teaching copy lives in Objective Notes. */
@media(max-width:740px){
 body[data-view=chords] .chord-grid .chord-card{box-sizing:border-box;height:190px;padding:12px 14px}
 body[data-view=chords] .chord-card-heading{min-height:29px;align-items:center}
 body[data-view=chords] .chord-card-heading>div{min-width:0;flex:1}
 body[data-view=chords] .chord-card-heading h2{max-width:100%;font-size:27px;line-height:1;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
 body[data-view=chords] .chord-diagram{height:145px;max-height:145px;margin:1px auto 0}
 body[data-view=chords] .chord-card>p{display:none}
 .chord-variant-nav{flex:0 0 auto;gap:6px}
 .chord-variant-nav button{width:27px;height:27px;font-size:21px}
 .chord-variant-nav span{min-width:25px;font-size:10px}
}

/* Optical centering for glyph-based circular controls. */
.drawer-toggle:before,.lesson-summary:before,.progression-details>summary:before{position:relative;top:-.5px;line-height:1}
.practice-instructions[open] .drawer-toggle:before,.practice-exercise[open] .drawer-toggle:before,.lesson-details[open]>.lesson-summary:before,.progression-details[open]>summary:before{top:-1.5px}
.chord-variant-nav button{align-items:center;justify-content:center;padding:0 0 2px;text-indent:0;line-height:1}

/* Android/WebView: use one document scroller and keep expanded lessons above the fixed nav. */
@media(max-width:740px){
 html[data-view=chords]{height:100%!important;min-height:0!important;overflow:hidden!important;scrollbar-gutter:auto}
 body[data-view=chords],body[data-view=chords]:not(.chords-unlocked),body[data-view=chords].chords-unlocked{height:100%!important;min-height:0!important;padding-bottom:0!important;overflow-x:hidden!important;overflow-y:auto!important;-webkit-overflow-scrolling:touch;overscroll-behavior-y:auto}
 body[data-view=chords] .app-shell,body[data-view=chords]:not(.chords-unlocked) .app-shell,body[data-view=chords].chords-unlocked .app-shell{height:auto!important;min-height:0!important;padding-bottom:0!important;overflow:visible!important}
 body[data-view=chords] .chords-view{min-height:0!important;padding-bottom:calc(max(58px,7dvh) + env(safe-area-inset-bottom) + 28px)!important}
 body[data-view=chords] .chords-content{padding-bottom:18px!important}
 body[data-view=chords] .objective-panel:not([hidden]){display:block;min-height:0}
 body[data-view=chords] .practice-drawers{align-self:start;margin-bottom:0}
}

/* Two content-sized columns keep the lesson copy and instrument controls together. */
.chords-hero{position:relative;display:grid;grid-template-columns:minmax(0,1fr) max-content;align-items:end;column-gap:10px;overflow:visible;padding:12px 20px}
.chords-hero-copy{min-width:0}
.chords-hero-copy h1{font-size:44px;font-weight:900;letter-spacing:-1.5px;white-space:nowrap}
.chords-hero .chords-hero-subtitle{max-width:100%;margin:2px 0 0;color:#f4f6f5;font-size:12px;font-weight:500;line-height:1.3;letter-spacing:0}
.chords-hero .chords-hero-phrase{display:inline;margin:0;font-size:inherit;font-weight:inherit;white-space:nowrap}
.chords-hero .chords-hero-tagline{display:block;margin-top:2px;color:#f4f6f5;font-size:12px;font-style:italic;font-weight:500;line-height:1.3}
.chords-hero .instrument-path-picker{position:relative;z-index:5;justify-self:end;width:max-content;max-width:min(44vw,190px);margin:0;color:#fff}
.chords-hero .instrument-path-picker::before{content:'Youth Standard Ukulele';display:block;box-sizing:border-box;height:0;padding:0 20px;overflow:hidden;visibility:hidden;white-space:nowrap;font:650 13px/1.15 var(--app-font)}
.instrument-path-picker:has(.instrument-path-details[open]){z-index:30}
.instrument-path-details{margin:0}
.instrument-path-details>summary{box-sizing:border-box;display:block;width:100%;height:auto;min-height:0;margin:0;padding:0;list-style:none;cursor:pointer}
.instrument-path-details>summary::-webkit-details-marker{display:none}
.chords-hero .instrument-path-caption{display:grid;box-sizing:border-box;place-items:center;min-height:30px;margin:0;padding:4px 9px;border:1px solid color-mix(in srgb,var(--theme-accent) 75%,#fff);border-radius:4px;background:var(--theme-accent);color:var(--theme-on-accent);font:750 9px/1.2 var(--app-font);letter-spacing:.7px;text-align:center;text-transform:uppercase;white-space:nowrap}
.chords-hero .instrument-path-bubble{display:flex;box-sizing:border-box;align-items:center;justify-content:center;min-height:30px;margin:3px 0 0;padding:4px 9px;border:1px solid #ffffff7a;border-radius:4px;background:transparent;color:#fff;box-shadow:none}
.chords-hero .instrument-path-current{display:block;min-width:0;margin:0;color:#fff;font:650 13px/1.15 var(--app-font);text-align:center;white-space:normal;text-wrap:balance}
.instrument-path-details>summary:hover .instrument-path-caption,.instrument-path-details>summary:focus-visible .instrument-path-caption{filter:brightness(1.12)}
.instrument-path-details>summary:focus-visible{outline:2px solid var(--theme-accent);outline-offset:3px}
.instrument-path-menu{position:absolute;top:calc(100% + 8px);right:0;width:min(292px,calc(100vw - 24px));padding:8px;border:1px solid var(--theme-border);border-radius:10px;background:var(--theme-surface);box-shadow:0 10px 28px #0005;color:var(--theme-ink)}
.chords-hero .instrument-path-picker .instrument-tabs{display:grid;grid-template-columns:1fr;gap:5px;padding:0;background:transparent}
.chords-hero .instrument-path-picker .instrument-tabs button{min-height:39px;padding:7px 10px;text-align:left;font-size:12px}
.chords-hero .instrument-path-picker .uke-path-tabs{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:5px;margin-top:8px;padding:8px 0 0;border:0;border-top:1px solid var(--theme-border);background:transparent}
.chords-hero .instrument-path-picker .uke-path-tabs[hidden]{display:none}
.chords-hero .instrument-path-picker .uke-path-tabs .nav-tier-label{color:var(--theme-muted);font-size:9px}
.chords-hero .instrument-path-picker .uke-path-tabs button{min-height:36px;font-size:11px}
.objective-tabs{padding-top:5px}
.chord-card-heading>div>span{display:none}
.play-chord{width:36px;height:36px;flex-basis:36px;cursor:pointer}
.play-chord svg{width:23px;height:23px;stroke-width:4}
.play-chord svg path:first-child{fill:currentColor;stroke:none}
.play-chord svg path:last-child{fill:none;stroke:currentColor}
.chord-card-heading{padding-right:42px}
.chord-card-heading .chord-variant-nav{margin-right:0}
.practice-drawers{display:block}
.practice-exercise-tabs{display:grid;grid-template-columns:repeat(var(--exercise-count),minmax(0,1fr));gap:5px;margin-top:5px}
.practice-exercise-tabs[hidden]{display:none}
.practice-exercise-tabs .practice-exercise-tab{min-width:0;height:43px;min-height:43px;margin:0;padding:4px 6px;overflow:hidden}
.practice-exercise-tabs .practice-exercise-tab .drawer-copy{min-width:0;overflow:hidden}
.practice-exercise-tabs .practice-exercise-tab strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.practice-exercise-panels:empty{display:none}
.practice-exercise-panels .practice-exercise-panel{margin-top:5px}
@media(max-width:740px){
 body[data-view=chords] .chords-hero{padding:6px 9px 7px}
 body[data-view=chords] .chords-hero-copy h1{font-size:clamp(25px,7.3vw,34px);white-space:nowrap}
 body[data-view=chords] .chords-hero .chords-hero-subtitle{margin-top:2px;font-size:12px;line-height:1.3}
 body[data-view=chords] .instrument-path-picker{max-width:min(44vw,190px)}
 body[data-view=chords] .chords-hero .instrument-path-caption{min-height:30px;font-size:9px;line-height:1.2;white-space:nowrap}
 body[data-view=chords] .instrument-path-bubble{min-height:30px;padding:4px 6px}
 body[data-view=chords] .chords-hero .instrument-path-current{font-size:13px}
 body[data-view=chords] .chords-hero .instrument-path-picker .instrument-tabs button{min-height:39px;font-size:12px}
 body[data-view=chords] .practice-drawers{display:block}
 body[data-view=chords] .practice-exercise-tabs{display:grid;grid-template-columns:repeat(var(--exercise-count),minmax(0,1fr))}
 body[data-view=chords] .practice-exercise-tabs[hidden]{display:none}
 body[data-view=chords] .practice-exercise-tabs .practice-exercise-tab{grid-column:auto!important;order:initial!important;height:40px;min-height:40px;margin:0!important;padding:3px 5px;gap:4px}
 body[data-view=chords] .practice-exercise-tabs .practice-exercise-tab small{font-size:7px}
 body[data-view=chords] .practice-exercise-tabs .practice-exercise-tab strong{font-size:10px}
 body[data-view=chords] .practice-exercise-tabs .exercise-tab-number{width:19px;height:19px;flex-basis:19px}
 body[data-view=chords] .practice-exercise-panels .practice-exercise-panel{margin-top:5px}
 body[data-view=chords] .chord-card-heading{padding-right:42px}
 body[data-view=chords] .chord-card-heading .play-chord{right:0}
 body[data-view=chords] .chord-card-heading:has(.chord-variant-nav)>div{padding-right:92px}
 body[data-view=chords] .chord-card-heading .chord-variant-nav{right:42px}
}

@media(max-width:740px){body[data-view=chords] .strumming-panel .song-example .change-card .measure-row{grid-template-columns:1fr;overflow:visible}}
/* Full-row hit target for expandable title/summary rows (audit fix) */
.lesson-summary,
.practice-exercise > summary,
.practice-instructions > summary,
.library-section > summary,
.requested-song > summary,
.progression-details > summary,
.exercise-details > summary,
.custom-progression-builder > summary {
  width: 100%;
  cursor: pointer;
  box-sizing: border-box;
}

summary * {
  pointer-events: none;
}
