:root{color-scheme:dark;--ink:#f4f3ec;--muted:#a6aaa8;--paper:#15201f;--card:#20302d;--accent:#b9f05a;--warn:#ffcf6b;--danger:#ff7e6b}*{box-sizing:border-box}body{margin:0;background:radial-gradient(circle at 10% 0,#2a4640,transparent 38%),#101817;color:var(--ink);font:16px/1.5 ui-sans-serif,system-ui,sans-serif}.shell{max-width:960px;margin:auto;padding:52px 20px 80px}.eyebrow{font-size:.75rem;letter-spacing:.12em;color:var(--accent);font-weight:700}.lede{max-width:680px;color:var(--muted);font-size:1.1rem}.notice{margin:28px 0;padding:14px 16px;border-left:4px solid var(--accent);background:#1a2926}.grid{display:grid;grid-template-columns:1fr 1fr;gap:16px}.card{background:var(--card);border:1px solid #38504b;border-radius:14px;padding:22px;margin-top:16px;box-shadow:0 12px 30px #0002}h1{font-size:clamp(2.5rem,8vw,5rem);margin:.1em 0}h2{margin:0 0 16px;font-size:1.1rem}label{display:block;margin:14px 0;color:var(--muted)}select,input{width:100%;margin-top:6px}select{padding:10px;border-radius:8px;border:1px solid #506660;background:#13201d;color:var(--ink)}output{float:right;color:var(--ink)}button{border:0;border-radius:8px;padding:11px 14px;background:var(--accent);color:#142019;font-weight:800;cursor:pointer}button+button{margin-left:8px;background:#dbe4df}button:disabled{opacity:.45;cursor:not-allowed}.routine-row{display:flex;align-items:center;gap:12px;margin-top:12px;flex-wrap:wrap}.diagnostics{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;margin:20px 0 0}.diagnostics div{background:#16221f;padding:8px;border-radius:8px}.diagnostics dt{color:var(--muted);font-size:.72rem}.diagnostics dd{margin:2px 0 0;font-weight:700}.meter-card{text-align:center}.reading{display:flex;justify-content:center;align-items:baseline;gap:16px;flex-wrap:wrap}.reading strong{font-size:2rem}.needle-track{height:52px;position:relative;border-bottom:3px solid #668078;margin:20px 20px 0;display:flex;justify-content:space-between;color:var(--muted);font-size:.8rem}.needle{position:absolute;left:50%;bottom:-10px;width:4px;height:44px;background:var(--accent);transition:left .1s,background .2s}.confidence{display:flex;align-items:center;gap:10px;max-width:480px;margin:24px auto 0}.bar{flex:1;height:10px;border-radius:99px;background:#10201c;overflow:hidden}.bar i{display:block;height:100%;width:0;background:var(--accent);transition:width .1s}.measurement-status{color:var(--muted)}.small{font-size:.88rem;color:var(--muted)}pre{text-align:left;overflow:auto;background:#111b19;padding:16px;border-radius:8px;color:#d8e7df}@media(max-width:650px){.shell{padding-top:30px}.grid{grid-template-columns:1fr}.diagnostics{grid-template-columns:1fr}.reading strong{font-size:1.5rem}}
:where(.accompaniment){border-top:1px solid #405b53;margin-top:22px;padding-top:18px}.accompaniment h3{font-size:1rem;margin:0}.pitch-visual-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;flex-wrap:wrap}.pitch-visual-heading h2{margin-bottom:4px}.pitch-visual-heading p{margin:0 0 16px}.pitch-legend{display:flex;gap:15px;flex-wrap:wrap;font-size:.75rem}.legend-voice{color:#d4f3a0}.legend-target{color:#88afd9}#pitchTimeline{display:block;width:100%;height:auto;min-height:180px;border-radius:10px;background:#111b19}
:where(.workout-track){border-color:#799d60;background:linear-gradient(120deg,#263f34,#1d2e2b)}.workout-track p:not(.eyebrow){max-width:720px}.workout-track audio{width:100%;max-width:650px;margin:8px 0}.workout-track a{color:#cef2a1}
:where(.legend-listen){color:#a9b7e6}.legend-sing{color:#83cbbb}
:where(.workout-options){display:flex;align-items:end;gap:20px;flex-wrap:wrap;max-width:650px}.workout-options label:first-child{flex:1;min-width:180px}.workout-options .workout-repeat{display:flex;align-items:center;gap:8px;white-space:nowrap}.workout-repeat input[type="checkbox"]{width:auto;margin:0;accent-color:#b9f05a}
:where(.vocal-guide-panel){margin-top:22px;padding-top:18px;border-top:1px solid #547261}.vocal-guide-panel h3{font-size:1rem;margin:0}.vocal-guide-panel input[type="file"]{font-size:.85rem;max-width:100%}.vocal-guide-panel input[type="file"]::file-selector-button{border:0;border-radius:7px;padding:8px 12px;margin-right:10px;background:#dbe4df;color:#142019;font-weight:700}.vocal-guide-panel .workout-options label[for="teacherGuideVolume"]{min-width:140px;flex:1}.vocal-guide-panel .workout-options button{align-self:center}
:where(.review-card audio){display:block;width:100%;max-width:650px;margin:12px 0}.review-card p{max-width:740px}
:where(.transpose-options){display:flex;gap:12px;flex-wrap:wrap}.transpose-options label{flex:1;min-width:150px}
:where(.guide-backing-option){display:flex;align-items:center;gap:8px;font-size:.88rem}.guide-backing-option input[type="checkbox"]{width:auto;margin:0;accent-color:#b9f05a}
:where(.shell){display:flex;flex-direction:column}.shell> *{order:8}.shell>header{order:0}.shell>.notice{order:1}.shell>.grid{order:2}.shell>.meter-card{order:3}.shell>.pitch-visual{order:4}.shell>.workout-track{order:5}.shell>.review-card{order:6}.exercise-picker{background:#20302d;border:1px solid #547567;border-radius:14px;padding:18px;margin:16px 0}.exercise-picker-title{font-size:1rem;font-weight:800;margin:0 0 10px}.exercise-choice-buttons{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:16px}.exercise-choice-buttons button{margin:0;background:#dbe4df;color:#142019}.exercise-choice-buttons button[aria-pressed="true"]{background:#b9f05a;color:#142019}.exercise-picker h2{margin:0 0 4px}.exercise-picker p.small{margin:4px 0}
.shell>.workout-track{order:2}.shell>.grid{order:3}.shell>.meter-card{order:4}.shell>.pitch-visual{order:5}.practice-shortcuts{display:flex;gap:10px;flex-wrap:wrap;margin-top:14px}.practice-shortcuts a{display:inline-block;text-decoration:none;border:1px solid #8ab77b;color:#dff5c8;background:#1b362d;border-radius:8px;padding:9px 12px;font-size:.9rem;font-weight:800}.vocal-guide-panel summary{cursor:pointer;font-weight:700;color:#d9e9d8}
.workout-library{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:9px;margin:16px 0}.workout-library button,.workout-library button+button{margin:0;text-align:left;background:#172a23;color:#f4f3ec;border:1px solid #547261;padding:12px}.workout-library button[aria-pressed="true"]{background:#344f2c;border-color:#b9f05a}.workout-library button strong,.workout-library button span{display:block}.workout-library button strong:before{content:'▶ ';color:#b9f05a}.workout-library button span{font-size:.75rem;font-weight:500;color:#b7c7bb;margin-top:4px}.workout-now{font-weight:700;color:#d3f5a2}
[hidden]{display:none!important}
:root{--accent:#c6ef87;--card:#1c2928;--muted:#b1c0ba}body{background:radial-gradient(circle at 80% 0,#30473d 0,transparent 34%),#101a19}.shell{max-width:1020px;padding-top:38px}header h1{font-size:clamp(2.4rem,6vw,4.4rem);line-height:1.12;letter-spacing:-.055em;margin:12px 0}.lede{font-size:1.05rem;margin:12px 0 22px}.card{padding:26px;border-radius:18px}.card h2{font-size:1.35rem;letter-spacing:-.025em}.notice{order:7!important;margin:12px 0;padding:10px 14px;border-left:2px solid #64806f;font-size:.85rem;color:var(--muted)}.shell>.workout-track{order:1}.shell>.grid{order:2;display:flex;flex-direction:column;gap:0}.shell>.pitch-visual{order:3}.shell>.meter-card{order:4}.shell>.review-card{order:5}.shell>.advanced-details{order:6}.grid>.advanced-controls{order:2}.grid>article{order:1}.advanced-controls{margin-top:16px}.advanced-controls>summary,.exercise-picker>summary,.workout-settings>summary,.mic-settings>summary,.review-card>summary,.advanced-details>summary{cursor:pointer;font-weight:700;color:#dbe9de}.exercise-picker{margin:12px 0 0;padding:12px 16px;background:#192723;font-size:.88rem}.exercise-picker[open]>summary{margin-bottom:14px}.workout-track{background:linear-gradient(135deg,#273c32,#1b2b28)}.workout-track h2{margin-bottom:4px}.workout-track>p:not(.eyebrow){margin-top:6px}.workout-library{grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin:20px 0}.workout-library button,.workout-library button+button{min-height:118px;padding:15px;border-radius:12px;background:#182a24;transition:transform .15s,border-color .15s}.workout-library button:hover{transform:translateY(-2px);border-color:#c6ef87}.workout-library button strong:before{display:block;content:'♪';font-size:1.35rem;line-height:1;margin-bottom:13px}.workout-library button[data-workout-track="liptrill"] strong:before{content:'≈'}.workout-library button[data-workout-track="scale"] strong:before{content:'↗'}.workout-library button[data-workout-track="arpeggio"] strong:before{content:'♬'}.workout-library button[data-workout-track="vowels"] strong:before{content:'Aa'}.workout-library button[data-workout-track="longtone"] strong:before{content:'─'}.workout-library button[data-workout-track="interval"] strong:before{content:'↕'}.workout-library button[data-workout-track="combined"] strong:before{content:'✦'}.workout-library button span{line-height:1.35}.workout-now{margin:16px 0 3px;font-size:1rem}.phase-display{padding:11px 14px;border-radius:10px;background:#12231d;color:#d3f4bc;font-weight:700}.workout-settings,.mic-settings{margin-top:15px;padding-top:14px;border-top:1px solid #456156}.grid .card{margin-top:16px}.grid .diagnostics{max-width:650px}.pitch-visual{background:#1a2a27}.pitch-visual h2{margin-bottom:4px}.pitch-visual canvas{margin-top:10px}.meter-card{padding:18px 24px}.meter-card .needle-track{margin-top:10px}.review-card>summary{font-size:1.05rem}.advanced-details{font-size:.9rem}@media(max-width:700px){.shell{padding:26px 16px 60px}.card{padding:20px}.workout-library{grid-template-columns:repeat(2,minmax(0,1fr))}.workout-library button,.workout-library button+button{min-height:105px}.grid .diagnostics{grid-template-columns:repeat(3,1fr)}.pitch-legend{gap:8px}}
.shell>.workout-track{order:1}.shell>.meter-card{order:2}.shell>.pitch-visual{order:3}.shell>.grid{order:6}.shell>.review-card{order:4}.shell>.advanced-details{order:5}.mic-panel{text-align:left}.mic-panel h2{margin-bottom:6px}.mic-panel .diagnostics{max-width:650px}.meter-divider{height:1px;background:#456156;margin:22px 0}.meter-card .reading{font-size:1.1rem}@media(max-width:700px){.mic-panel .diagnostics{grid-template-columns:repeat(3,1fr)}}
.featured-routine{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:20px;background:#142b22;border:1px solid #587a5c;border-radius:14px;margin:18px 0}.featured-routine div{display:flex;flex-direction:column;gap:4px}.featured-routine strong{font-size:1.15rem}.featured-routine span{color:#bed0c2;font-size:.88rem}.featured-routine .routine-kicker{color:#c6ef87;font-size:.72rem;letter-spacing:.05em;font-weight:800}.featured-routine button{min-height:50px;white-space:nowrap}.library-disclosure{border-bottom:1px solid #476357;padding:8px 0 14px}.library-disclosure summary{font-weight:700;cursor:pointer}.voice-range{display:flex;gap:12px;align-items:end;flex-wrap:wrap;margin:12px 0}.voice-range label{width:130px;margin:0}.voice-range span{flex:1;min-width:200px;padding-bottom:10px;line-height:1.4}.workout-track audio{max-width:none}.workout-phase{margin-bottom:0}.shell>.meter-card{margin-top:12px}.shell>.pitch-visual{margin-top:12px}@media(max-width:650px){.featured-routine{align-items:stretch;flex-direction:column}.featured-routine button{width:100%}.voice-range label{flex:1;width:auto}.voice-range span{flex-basis:100%;padding:0}}
.practice-visual{margin:14px 0 20px;padding:18px;border:1px solid #5c826e;border-radius:14px;background:#162521}.practice-visual h2{margin:0 0 4px}.practice-mic{display:flex;gap:8px;flex-wrap:wrap}.practice-mic button+button{margin-left:0}.backing-volume{max-width:600px;color:#e7f2e8;font-weight:700}.backing-volume input{accent-color:#c6ef87}.backing-volume+small{margin-top:0}@media(max-width:700px){.practice-visual{padding:14px}.practice-mic button{flex:1 1 44%}#pitchTimeline{min-height:140px}}
.melody-settings{margin:12px 0;padding:12px 0;border-bottom:1px solid #476357}.melody-settings>summary{cursor:pointer;font-weight:700;color:#e3f1e4}
.workout-speed{max-width:230px;font-size:.88rem;margin:8px 0 12px}
.groove-options{display:flex;gap:12px;flex-wrap:wrap;margin:12px 0}.groove-options label{flex:1;min-width:200px;margin:0}.groove-options select{background:#14251e}.featured-routine button:disabled{opacity:.6}
.rhythm-actions{display:flex;gap:8px;flex-wrap:wrap;margin:8px 0}.rhythm-actions button,.rhythm-actions button+button{margin:0;background:#294539;color:#e7f5e7;border:1px solid #668a6c;font-weight:700}.rhythm-actions button[aria-pressed="true"]{background:#c6ef87;color:#142019}
.max-pitch{max-width:230px;font-size:.88rem;margin:8px 0 12px}
.melody-mode{max-width:360px;font-size:.88rem;margin:12px 0}
.articulation-panel{padding:14px 16px;background:#14271f;border:1px solid #486a50;border-radius:12px;margin:12px 0}.articulation-panel label{max-width:430px;margin:0}.articulation-panel p{margin:8px 0}.articulation-panel summary{cursor:pointer;color:#dbe9de;font-weight:700}.articulation-panel details p{font-size:.9rem;color:#c5d7c8}
.practice-data{margin-top:14px}.practice-data summary{cursor:pointer;color:#dbe9de;font-weight:700}.practice-data pre{max-height:240px;overflow:auto;font-size:.75rem}

/* A rhythm strip directly below the pitch display. */
.rhythm-score{margin:18px 0 16px;padding:16px;border:1px solid #d5e3dc;border-radius:16px;background:#f8fcf9;color:#20392c}
.rhythm-score-header{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap}
.rhythm-score-header h3{font-size:1rem;margin:0 0 4px}.rhythm-score-header p{font-size:.84rem;margin:0;color:#536c5f}.rhythm-score-badge{font-size:.75rem;font-weight:700;padding:5px 10px;border-radius:999px;background:#e2f1e8;color:#2d6747}
.rhythm-score-scroll{overflow-x:auto;margin-top:8px}.rhythm-score svg{display:block;width:100%;min-width:600px;height:auto}.rhythm-score-help{font-size:.77rem;line-height:1.5;color:#607568;margin:0}
.rhythm-values{display:flex;gap:7px;overflow-x:auto;padding:2px 0 10px}.rhythm-value{flex:none;padding:6px 9px;border:1px solid #d7e7dd;border-radius:8px;background:white;color:#355746;font-size:.76rem;white-space:nowrap}.rhythm-value.is-rest{color:#708076;background:#edf1ee}.rhythm-value.is-current{border-color:#d67b44;background:#fff0df;color:#8a461f;font-weight:700}
/* Compact setup above the playback/measurement workspace. */
.practice-settings{border:1px solid #52705f;border-radius:12px;background:#162822;margin:14px 0;padding:11px 14px}.practice-settings>summary{cursor:pointer;font-weight:800;color:#e2f2df}.practice-settings[open]>summary{margin-bottom:10px}.practice-settings .library-disclosure{padding-bottom:12px}.practice-settings .workout-library{margin:12px 0}.practice-settings .exercise-picker{margin-top:15px}.practice-settings label{margin:10px 0}.live-pitch{padding:8px 2px 2px}.live-pitch .reading{gap:10px;justify-content:flex-start}.live-pitch .reading strong{font-size:1.18rem}.live-pitch .needle-track{height:30px;margin:4px 8px 4px}.live-pitch .needle{height:25px}.live-pitch .measurement-status{font-size:.76rem;margin:2px 0}.score-notice{color:#855224;font-size:.84rem;margin:8px 0}.rhythm-score-scroll #musicScore{min-width:650px}.rhythm-score-scroll #musicScore svg{min-width:650px}.rhythm-score-help{margin-top:8px}
@media(max-width:700px){.shell{padding:12px 10px 48px}.shell>header h1{font-size:1.65rem;margin:4px 0;letter-spacing:-.04em}.shell>header .eyebrow{margin:0}.shell>header .lede{font-size:.84rem;margin:2px 0 7px}.workout-track{padding:12px;margin-top:4px}.workout-track>.eyebrow,.workout-track>h2,.workout-track>h2+p{display:none}.practice-settings{margin:5px 0;padding:9px 12px}.featured-routine{margin:7px 0;padding:8px;gap:6px}.featured-routine div{display:none}.featured-routine button{min-height:40px}.workout-track audio{margin:2px 0}.workout-track>.button-row,.rhythm-actions{margin:4px 0}.rhythm-actions button{font-size:.78rem;padding:7px 10px}.phase-display{font-size:.78rem;padding:6px 8px;margin:5px 0}.practice-visual{padding:9px;margin:6px 0}.pitch-visual-heading h2{font-size:.98rem}.pitch-visual-heading p{display:none}.pitch-legend{font-size:.66rem;gap:6px}#pitchTimeline{min-height:100px;max-height:140px;margin-top:4px}.live-pitch .reading strong{font-size:1rem}.practice-mic button{padding:8px}.rhythm-score{margin:8px 0;padding:10px}.rhythm-score-scroll{margin-top:2px}.notice{margin:4px 0}}
.rhythm-score-scroll #musicScore{width:max-content;min-width:100%}.rhythm-score-scroll #musicScore svg{width:auto;min-width:0;max-width:none}

/* Keep live text updates from moving the practice surface on small screens. */
@media(max-width:700px){
  #grooveStatus{height:3.1em;line-height:1.45;overflow-y:auto;overscroll-behavior:contain;margin:4px 0}
  #workoutPhase{box-sizing:border-box;height:calc(2.7em + 12px);line-height:1.35;overflow-y:auto;overscroll-behavior:contain}
  .live-pitch .reading{display:grid;grid-template-columns:max-content minmax(0,1fr) max-content;align-items:baseline;min-height:1.7em;gap:8px}
  .live-pitch .reading strong{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
  #measurementStatus{box-sizing:border-box;height:2.9em;line-height:1.45;overflow-y:auto;overscroll-behavior:contain;margin:2px 0}
  .rhythm-score-header{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:start;gap:8px}
  .rhythm-score-header>div{min-width:0}
  #rhythmScoreLabel{box-sizing:border-box;height:2.8em;line-height:1.4;overflow-y:auto;overscroll-behavior:contain}
  .rhythm-score-badge{white-space:nowrap}
  .rhythm-score-scroll{overflow-x:scroll;scrollbar-gutter:stable}
  .rhythm-score-scroll #musicScore{min-height:190px}
  #musicScoreNotice{box-sizing:border-box;height:3em;line-height:1.4;overflow-y:auto;overscroll-behavior:contain;margin:2px 0}
  .rhythm-values{box-sizing:border-box;height:3.2em;overflow-x:auto;overflow-y:hidden}
  #timelineStatus{box-sizing:border-box;height:2.9em;line-height:1.45;overflow-y:auto;overscroll-behavior:contain}
}
.course-panel{border:1px solid #5d816a;border-radius:14px;padding:14px;margin:12px 0;background:#152a22}.course-heading h3{font-size:1.05rem;margin:0}.course-heading p{margin:2px 0}.course-controls{display:flex;align-items:end;gap:10px}.course-controls label{flex:1;margin:6px 0}.course-controls button{min-height:43px;margin:0}.course-panel summary{cursor:pointer;font-size:.88rem;color:#d4e8d7}.course-panel ol{padding-left:22px;font-size:.84rem;color:#d4e8d7}.course-panel li{margin:6px 0}.course-panel #courseStage{height:2.8em;line-height:1.4;overflow:auto;margin:7px 0 2px;color:#e6f5d7;font-weight:800}.course-clock{display:flex;justify-content:space-between;gap:8px;font-variant-numeric:tabular-nums;margin:2px 0}.course-panel #courseTip{height:2.7em;overflow:auto;line-height:1.35;margin:4px 0}.course-actions{display:flex;gap:6px;flex-wrap:wrap;margin:5px 0}.course-actions button,.course-actions button+button{margin:0;padding:8px 10px}.course-panel.is-active .course-heading p,.course-panel.is-active .course-controls,.course-panel.is-active>details{display:none}@media(max-width:700px){.course-panel{padding:9px;margin:6px 0}.course-heading h3{font-size:.95rem}.course-panel.is-active #courseTip{height:1.4em}.course-panel.is-active #courseStage{height:1.4em}.course-panel .course-actions button{font-size:.78rem}}
.course-panel>summary{font-weight:800;font-size:.95rem;color:#e2f2df}.workout-track.course-running>.featured-routine{display:none}
/* Focused, touch-friendly harmony and local reference controls. */
.harmony-practice,.reference-player{margin-block:1rem}
.harmony-options,.reference-controls{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.75rem}
.harmony-options label,.reference-controls label{display:grid;gap:.35rem;min-width:0}
.harmony-options select,.reference-controls input,.reference-player input[type=file]{width:100%;min-width:0}
.harmony-actions{display:flex;flex-wrap:wrap;gap:.55rem;margin-top:1rem}
.harmony-actions button{min-height:44px}
.harmony-status{min-height:3.2em;margin:.8rem 0 .4rem;display:flex;align-items:center;color:#d5f6a2}
.harmony-notes{display:flex;flex-wrap:wrap;gap:.45rem;margin:.5rem 0}
.harmony-note{border:1px solid #547363;border-radius:.6rem;padding:.5rem .7rem;font-variant-numeric:tabular-nums}
.harmony-note.is-current{background:#c7ef83;color:#11241c;border-color:#c7ef83}
.reference-player audio{display:block;width:100%;margin:.8rem 0}
.reference-player summary{cursor:pointer;font-weight:700}
@media(max-width:380px){.harmony-options{grid-template-columns:1fr 1fr}.harmony-actions button{flex:1 1 45%}}
.learning-path{margin:1rem 0;padding:1rem;border:1px solid #547363;border-radius:1rem;background:#152b23}
.learning-path>summary{cursor:pointer;font-weight:700;font-size:1.05rem}
.learning-stages{display:grid;gap:.5rem;margin-top:.75rem}
.learning-stages details{border:1px solid #456455;border-radius:.7rem;padding:.7rem}
.learning-stages summary{cursor:pointer;list-style:none;display:flex;align-items:center;gap:.55rem}
.learning-stages summary b{display:inline-grid;place-items:center;width:1.7rem;height:1.7rem;border-radius:50%;background:#c7ef83;color:#11241c}
.learning-stages summary small{margin-left:auto;opacity:.75}
.learning-stages p{margin:.6rem 0;font-size:.9rem}
.learning-actions{display:flex;flex-wrap:wrap;gap:.4rem}
.learning-actions button{min-height:44px;padding:.5rem .75rem}
.ai-guide-example { margin: 1rem 0; padding: 1rem; border: 1px solid #527361; border-radius: 14px; background: #173127; }
.ai-guide-example summary { cursor: pointer; font-weight: 700; }
.ai-guide-example label { display: grid; gap: .35rem; max-width: 24rem; }
.ai-guide-example select { width: 100%; }
.ai-guide-example audio { display: block; width: 100%; margin-top: .8rem; }
.ai-guide-phase { min-height: 3em; margin: .65rem 0 0; font-weight: 700; color: #c4ec9b; }
#aiGuidePitch{display:block;width:100%;height:auto;border-radius:10px;margin:6px 0;background:#101d19}.ai-guide-actions{display:flex;align-items:center;gap:10px;flex-wrap:wrap}.ai-guide-actions button{margin:0;min-height:44px}.ai-guide-actions span{margin:0}
.simple-practice{display:grid;gap:10px;margin:10px 0;padding:14px;border:1px solid #6b9677;border-radius:14px;background:#152b22}.simple-practice label{margin:0;color:#e5f3e5;font-weight:700;font-size:.9rem}.simple-practice select{min-height:44px}.simple-practice-options{display:grid;grid-template-columns:1fr 1fr;gap:10px}.simple-practice button{min-height:48px;width:100%;font-size:1rem}.simple-practice-hint{margin:0;color:#bcd0c1;font-size:.8rem}.practice-extras{margin:18px 0;padding:12px;border:1px solid #52705f;border-radius:12px;background:#182a24}.practice-extras>summary{cursor:pointer;font-weight:700}.practice-extras[open]>summary{margin-bottom:10px}@media(max-width:700px){.simple-practice{gap:7px;padding:10px;margin:6px 0}.simple-practice-options{gap:8px}.simple-practice button{min-height:44px}.practice-extras{margin:10px 0;padding:10px}.simple-practice-hint{font-size:.75rem}}

/* Keep guidance from moving the practice controls on narrow screens. */
.technique-advice { height: 4.5em; overflow-y: auto; margin: .5rem 0 0; }
