@charset "UTF-8";
.all-roles-option,.role-divider{grid-column:1/-1}.role-option .avatar.ensemble{background:#e5efdf;color:#176c61}.activity-card .role-divider{margin:18px 0 2px;color:#74817b;font-size:11px}.group-roster{padding:15px;margin:0 0 20px;border:1px solid #dce5d5;border-radius:14px;background:#f3f6ee}.group-roster>strong{display:block;font-size:12px;margin-bottom:10px}.group-roster>div{display:flex;align-items:center;gap:9px;margin-top:8px;font-size:13px}.group-roster .avatar{width:27px;height:27px;font-size:11px}.group-roster .small{margin-bottom:0}
:root{--ink:#233c38;--muted:#74817b;--green:#176c61;--green-dark:#105247;--mint:#e5efdf;--paper:#f7f8f3;--line:#e4e9df;--peach:#ffe6cb;--amber:#a15c16;--blue:#36738b;--radius:24px}
*{box-sizing:border-box}body{margin:0;background:var(--paper);color:var(--ink);font-family:Inter,"Segoe UI","Microsoft YaHei",sans-serif;font-size:15px;line-height:1.6}button,input,select{font:inherit}button,a,select{-webkit-tap-highlight-color:transparent}button{cursor:pointer;border:0}button:disabled{cursor:not-allowed;opacity:.45}button:focus-visible,a:focus-visible,select:focus-visible{outline:3px solid #edaf5e;outline-offset:4px}button{transition:background .18s,transform .18s}button:not(:disabled):active{transform:translateY(1px)}a{color:inherit}h1,h2,h3,p{margin:0}h2{font-size:21px;letter-spacing:-.5px}h3{font-size:18px}.topbar{height:92px;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;padding:0 max(28px,calc((100vw - 1280px)/2));gap:20px;background:#fffefa}.brand{display:flex;align-items:center;gap:10px;text-decoration:none;font-weight:800;font-size:21px;letter-spacing:1px;white-space:nowrap}.brand small{display:block;letter-spacing:2.3px;font-size:9px;font-weight:650;color:var(--muted);line-height:1.4}.brand-mark{background:var(--green);color:#ecf4d5;width:44px;height:44px;border-radius:14px 14px 14px 4px;font-family:Georgia,serif;font-size:63px;line-height:1.2;text-align:center}.mode-switch{padding:5px;background:#eff2eb;border-radius:14px;display:flex;gap:4px}.mode-switch button{padding:9px 22px;border-radius:10px;background:transparent;color:var(--muted);font-weight:650}.mode-switch .active{color:var(--green);background:#fff;box-shadow:0 2px 5px #233c3809}.text-button{background:transparent;color:var(--muted);padding:5px}.text-button span{display:inline-flex;align-items:center;justify-content:center;background:var(--mint);color:var(--green);border-radius:50%;width:23px;height:23px;font-size:12px;margin-left:4px}main{max-width:1280px;margin:0 auto;padding:42px 24px 0}.intro{display:flex;justify-content:space-between;align-items:center;margin-bottom:32px}.eyebrow{font-size:12px;letter-spacing:2px;font-weight:650;color:var(--green);display:flex;align-items:center;gap:8px;margin-bottom:10px}.eyebrow span{width:6px;height:6px;border-radius:50%;background:var(--green)}h1{font-size:42px;letter-spacing:-2px;line-height:1.4;font-weight:750}h1 em{font-style:normal;color:var(--green)}.intro p{color:var(--muted);margin-top:8px}.session-meta{border-left:1px solid #d7ded1;padding-left:28px;display:grid;gap:1px}.session-meta span,.session-meta small{font-size:12px;color:var(--muted)}.session-meta strong{font-size:24px;letter-spacing:-1px}.stepper{display:flex;margin-bottom:24px;border:1px solid var(--line);background:#fffefa;border-radius:15px;padding:7px;gap:8px}.stepper button{flex:1;color:var(--muted);background:transparent;padding:10px;border-radius:10px;font-weight:650}.stepper span{margin-right:11px;font-size:12px;opacity:.65;font-weight:500}.stepper .active{background:var(--green);color:#fff}.stepper .done:not(.active){color:var(--green);background:#edf3e9}.workspace{display:grid;grid-template-columns:minmax(0,1.85fr) minmax(300px,1fr);gap:25px;align-items:start}.video-card,.script-card,.activity-card{background:#fffefa;border:1px solid var(--line);border-radius:var(--radius);overflow:hidden}.video-heading{padding:16px 20px;display:flex;justify-content:space-between;align-items:center;font-size:11px;color:var(--muted)}.lesson-label{color:var(--green);font-weight:650;background:#edf3e7;border-radius:5px;padding:3px 8px}.player-shell{position:relative;background:#112b2f;aspect-ratio:16/9;overflow:hidden}.player-shell:fullscreen{display:flex;align-items:center;justify-content:center}.player-shell:fullscreen video{height:100vh}video{width:100%;height:100%;display:block;object-fit:contain}.play-overlay{position:absolute;inset:0;background:linear-gradient(0deg,#0c252e55,#0c252e0d);display:flex;align-items:center;justify-content:center;gap:15px;color:white;font-weight:650;font-size:16px}.play-overlay[hidden]{display:none}.play-overlay small{display:block;font-size:11px;opacity:.8;font-weight:400;text-align:left}.play-triangle{width:60px;height:60px;border:1px solid #ffffff88;border-radius:50%;background:#ffffff24;backdrop-filter:blur(5px);display:grid;place-items:center}.play-triangle:after{content:"";width:0;height:0;border-left:14px solid white;border-top:9px solid transparent;border-bottom:9px solid transparent;margin-left:4px}.subtitle{position:absolute;bottom:55px;left:10px;right:10px;text-align:center;pointer-events:none;line-height:1.4;text-shadow:0 1px 4px #000;z-index:2}.subtitle span{display:table;margin:2px auto;padding:2px 8px;border-radius:4px;color:white;background:#092b3099;font-size:20px;font-weight:650}.subtitle small{display:table;margin:auto;padding:2px 8px;color:white;background:#092b3099;font-size:14px;border-radius:4px}.turn-badge{position:absolute;top:18px;left:18px;background:var(--peach);color:#59390d;padding:7px 14px;border-radius:9px;font-size:13px;font-weight:700}.video-toolbar{padding:11px 17px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--line)}.subtitle-controls{display:flex;gap:4px}.subtitle-controls button{background:transparent;color:var(--muted);font-size:12px;padding:5px 10px;border-radius:7px}.subtitle-controls .active{color:var(--green);background:#edf3e7}.playback-controls{display:flex;gap:10px;align-items:center}select{border:0;background:transparent;color:var(--muted);font-size:12px;max-width:110px}.icon-button{background:transparent;color:var(--muted);font-size:22px;padding:0 4px}.lesson-caption{padding:19px 22px;display:flex;align-items:center;justify-content:space-between;gap:10px}.lesson-caption p{color:var(--muted);font-size:12px;margin-top:2px;letter-spacing:.5px}.weather-badge{font-size:9px;letter-spacing:2px;border:1px solid #dce5dd;border-radius:30px;padding:6px 10px;white-space:nowrap;color:var(--green)}.script-card{margin-top:22px;padding:23px}.section-heading{display:flex;align-items:center;justify-content:space-between;margin-bottom:17px}.overline{font-size:10px;letter-spacing:2px;color:var(--muted)}.muted{color:var(--muted);font-size:13px}.script-row{display:flex;gap:12px;border-radius:12px;padding:13px 10px;width:100%;background:transparent;text-align:left;align-items:flex-start;border:1px solid transparent;color:var(--ink)}.script-row:hover{background:#f1f5ed}.script-row.active{background:#edf4e8;border-color:#d6e6cd}.script-row.mine{border-left:3px solid #daa65e}.avatar{display:inline-flex;justify-content:center;align-items:center;border-radius:50%;flex-shrink:0;width:34px;height:34px;font-size:13px;font-weight:750;background:#e4eff3;color:var(--blue)}.avatar.amber{background:#fbe7cd;color:var(--amber)}.script-text{flex:1}.script-text strong{font-size:14px;font-weight:600;display:block}.script-text small{display:block;font-size:11px;color:var(--muted);margin-top:3px}.line-speaker{display:block;font-size:10px;letter-spacing:.3px;color:var(--muted);margin-bottom:2px}.line-play{font-size:12px;margin:5px 0;color:var(--green)}.activity-card{padding:28px;min-height:390px;box-shadow:0 8px 24px #233c3804}.activity-card .overline{color:var(--green);font-weight:650}.activity-card h2{font-size:25px;margin:8px 0 10px}.activity-card p{color:var(--muted);font-size:13px;line-height:1.8}.activity-illustration{height:92px;display:flex;align-items:center;justify-content:center;gap:9px;margin:22px 0;background:#eef3e8;border-radius:17px}.bubble{background:#fff;border-radius:16px 16px 4px 16px;color:var(--green);padding:13px 18px;font-size:22px;box-shadow:0 4px 12px #243b3707;transform:rotate(-5deg)}.bubble:last-child{background:var(--peach);border-radius:16px 16px 16px 4px;transform:rotate(7deg);font-size:19px;color:var(--amber);margin-top:18px}.mini-list{list-style:none;padding:0;margin:18px 0 23px;display:grid;gap:9px;color:#62736a;font-size:13px}.mini-list li{display:flex;gap:10px}.mini-list i{font-style:normal;color:var(--green)}.primary,.secondary{border-radius:12px;padding:13px 18px;font-weight:650;font-size:14px;display:inline-flex;justify-content:center;align-items:center;gap:8px;text-decoration:none;min-height:46px}.primary{background:var(--green);color:#fff}.primary:hover{background:var(--green-dark)}.secondary{background:#eef2e9;color:var(--green)}.secondary:hover{background:#e2eadb}.full{width:100%}.button-row{display:flex;gap:8px;margin-top:10px}.button-row>*{flex:1;min-width:0}.small{font-size:11px!important;margin-top:10px!important}.tip-card{display:flex;padding:20px 22px;gap:12px;background:var(--mint);border-radius:18px;margin-top:17px}.tip-symbol{font-size:24px;color:var(--green)}.tip-card strong{font-size:13px}.tip-card p{font-size:12px;color:#64775e;margin-top:4px;line-height:1.8}.privacy-note{font-size:10px;line-height:1.8;color:#8a938b;padding:15px 10px}.role-option{display:flex;gap:13px;align-items:center;padding:17px 14px;margin-top:13px;border:1.5px solid var(--line);border-radius:15px;background:#fffefa;width:100%;text-align:left;color:var(--ink)}.role-option[aria-pressed=true]{border-color:var(--green);background:#f0f5e9}.role-option .avatar{width:47px;height:47px;font-size:20px}.role-option strong{font-size:15px;display:block}.role-option small{display:block;color:var(--muted);font-size:11px;margin-top:3px}.role-option .check{margin-left:auto;color:var(--green);font-size:18px}.role-options{margin:16px 0 23px}.practice-progress{display:flex;gap:5px;margin:18px 0}.practice-progress span{height:4px;background:#e8ede2;flex:1;border-radius:3px}.practice-progress .done{background:var(--green)}.practice-progress .current{background:#e7b76c}.cue-card{background:#f0f4eb;border-radius:16px;padding:20px;margin:17px 0}.cue-card .english{font-size:23px;color:var(--ink);font-weight:650;line-height:1.5;margin:8px 0}.cue-card .translation{font-size:12px;color:var(--muted)}.cue-card .speaker{font-size:11px;font-weight:700;color:var(--green)}.record-button{background:#bd4c39}.record-button:hover{background:#a93c2c}.record-button.recording{animation:pulse 1.5s infinite}.record-dot{width:9px;height:9px;border-radius:50%;background:currentColor}.recording-label{color:#b94432!important;font-weight:600}.audio-review{margin:14px 0;background:#f2f4ee;border-radius:12px;padding:12px}.audio-review audio{width:100%;height:35px;margin-top:7px}.audio-review a{font-size:11px;color:var(--green)}.error-note{background:#fff0df;color:#8a5625!important;border-radius:10px;padding:11px;margin:12px 0}.question-options{display:grid;gap:9px;margin:18px 0}.question-option{display:flex;gap:10px;align-items:center;border:1.5px solid var(--line);border-radius:11px;padding:12px;background:#fffefa;text-align:left;color:var(--ink)}.question-option.selected{border-color:var(--green);background:#edf4e7}.question-option.correct{border-color:#74a76c;background:#edf5e6}.question-option.wrong{border-color:#dca095;background:#fbefeb}.question-option span{width:23px;height:23px;background:#f1f3eb;border-radius:50%;font-size:11px;display:grid;place-items:center;flex-shrink:0}.feedback{font-size:13px;padding:13px;background:#edf3e7;border-radius:10px;margin-bottom:16px}.celebration{font-size:37px;width:78px;height:78px;border-radius:50%;background:var(--mint);display:grid;place-items:center;margin:5px auto 20px}.summary-stats{display:flex;justify-content:space-around;background:#f1f4eb;border-radius:15px;margin:20px 0;padding:18px 8px}.summary-stats strong{display:block;font-size:23px;text-align:center}.summary-stats small{font-size:11px;color:var(--muted)}.section-gap{margin-top:20px}.record-item{padding:13px 0;border-top:1px solid var(--line)}.record-item small{display:block;color:var(--muted);font-size:12px}.record-item audio{width:100%;height:35px;margin-top:7px}footer{display:flex;justify-content:space-between;align-items:center;padding:30px 0;font-size:10px;color:#8b978c;gap:15px}footer .text-button{font-size:10px}dialog{border:1px solid var(--line);border-radius:24px;max-width:520px;width:calc(100vw - 36px);padding:28px;color:var(--ink);background:var(--paper);max-height:85vh}dialog::backdrop{background:#132d2670;backdrop-filter:blur(4px)}.dialog-heading{display:flex;justify-content:space-between;align-items:center;margin-bottom:20px}.close-dialog{font-size:28px;line-height:1;background:transparent;color:var(--muted);padding:6px}dialog p{font-size:13px;line-height:1.9;margin:15px 0}.toast{position:fixed;bottom:25px;left:50%;transform:translateX(-50%);background:var(--ink);color:white;padding:12px 22px;border-radius:12px;box-shadow:0 5px 25px #0002;font-size:13px;z-index:20;max-width:90vw;width:max-content}.sr-only{position:absolute;width:1px;height:1px;padding:0;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap}.classroom .subtitle span{font-size:25px}.classroom .cue-card .english{font-size:28px}.classroom .script-text strong{font-size:17px}@keyframes pulse{50%{box-shadow:0 0 0 7px #bd4c3917}}@media(prefers-reduced-motion:reduce){*{animation:none!important;transition:none!important}}
@media(min-width:1100px){.activity-column{position:sticky;top:24px}}@media(max-width:900px){.topbar{padding:0 22px}.workspace{grid-template-columns:1.4fr 1fr;gap:17px}.activity-card{padding:22px}.intro h1{font-size:36px}.session-meta{padding-left:20px}.weather-badge{display:none}.script-card{padding:18px}.video-heading{padding:12px 13px;font-size:10px}}
@media(max-width:720px){.topbar{height:auto;min-height:108px;padding:15px 18px;flex-wrap:wrap;gap:12px}.brand{font-size:18px}.brand-mark{width:37px;height:37px;font-size:54px}.brand small{font-size:8px}.mode-switch{order:3;width:100%;justify-content:center}.mode-switch button{flex:1;padding:7px 10px}.text-button{font-size:12px}main{padding:25px 16px 0}.intro{margin-bottom:22px}.intro h1{font-size:29px;letter-spacing:-1px}.intro p{font-size:12px}.eyebrow{font-size:10px;letter-spacing:1px}.session-meta{display:none}.stepper{gap:1px;padding:5px;margin-bottom:16px}.stepper button{font-size:12px;padding:9px 3px}.stepper span{display:block;margin:0;font-size:9px}.workspace{display:flex;flex-direction:column;gap:17px}.stage-column,.activity-column{width:100%;display:contents}.video-card{order:1;border-radius:18px}.activity-card{order:2;padding:23px;min-height:auto}.activity-column .tip-card{order:3;margin-top:0}.script-card{order:4;margin-top:0;width:100%}.privacy-note{order:5;padding:0 10px}.subtitle span{font-size:16px}.subtitle small{font-size:11px}.subtitle{bottom:45px}.classroom .subtitle span{font-size:18px}.lesson-caption{padding:15px 17px}.lesson-caption h2{font-size:20px}.video-toolbar{padding:9px 10px}.play-triangle{width:47px;height:47px}.play-overlay{font-size:14px}.activity-illustration{height:75px;margin:15px 0}.activity-card h2{font-size:23px}.mini-list{margin:14px 0}.role-options{display:grid;grid-template-columns:1fr 1fr;gap:9px}.role-option{flex-wrap:wrap;gap:8px;padding:12px;margin:0}.role-option .avatar{width:32px;height:32px;font-size:14px}.role-option small{font-size:10px}.role-option .check{display:none}.cue-card .english{font-size:25px}footer{padding:22px 0;flex-wrap:wrap;gap:8px}footer span:nth-child(2){display:none}.tip-card{width:100%}}
.story-playback{position:absolute;bottom:0;left:0;right:0;display:flex;align-items:center;gap:12px;padding:9px 14px;background:linear-gradient(transparent,#092b30dd);color:#fff;z-index:3}.story-playback button{color:#fff;background:#ffffff21;width:32px;height:32px;border-radius:50%;flex-shrink:0}.story-position{flex:1;min-width:0}.story-position>div{display:flex;justify-content:space-between;gap:8px;font-size:10px;margin-bottom:4px}.story-position progress{display:block;width:100%;height:4px;border:0;border-radius:4px;overflow:hidden;accent-color:#cfe1a8;background:#ffffff40}.story-position progress::-webkit-progress-bar{background:#ffffff40}.story-position progress::-webkit-progress-value{background:#cfe1a8}.story-position progress::-moz-progress-bar{background:#cfe1a8}.player-shell:fullscreen .story-playback{bottom:0}.play-overlay{z-index:4}.turn-badge{z-index:2}.story-playback #storyTime{font-variant-numeric:tabular-nums;white-space:nowrap}.subtitle{bottom:58px}@media(max-width:720px){.story-playback{padding:7px 9px;gap:7px}.story-position>div{font-size:9px}.subtitle{bottom:52px}.turn-badge{top:8px;left:8px;font-size:11px;padding:5px 9px}}
/* Only measured microphone samples drive this fill; no decorative animation. */
.mic-feedback{margin:12px 0;padding:13px 14px;background:#f0f4eb;border:1px solid #e0e8db;border-radius:12px}
.mic-level-heading{display:flex;align-items:baseline;justify-content:space-between;gap:10px;margin-bottom:9px;font-size:11px}
.mic-level-heading strong{flex-shrink:0;color:var(--green);font-size:12px}
.mic-level-heading span{color:var(--muted);text-align:right;line-height:1.5}
.mic-level-meter{height:12px;overflow:hidden;border-radius:6px;background:repeating-linear-gradient(90deg,#dce5d7 0,#dce5d7 calc(5% - 2px),#f0f4eb calc(5% - 2px),#f0f4eb 5%)}
.mic-level-meter>span{display:block;width:100%;height:100%;border-radius:6px;transform:scaleX(0);transform-origin:left;background:linear-gradient(90deg,#5ba98c 0%,#16705e 75%,#e9ad57 100%);transition:transform .08s linear}
.mic-level-meter.is-loud>span{background:#bd4c39}
.mic-feedback:has(.is-silent) .mic-level-heading span{color:#8a5625}
.mic-feedback small{display:block;margin-top:7px;font-size:10px;color:var(--muted);overflow-wrap:anywhere}

/* The course directory reuses the practice page's quiet paper-and-green palette. */
.topbar-actions{display:flex;align-items:center;gap:15px;white-space:nowrap}
.course-back{text-decoration:none;color:var(--green);font-size:13px}
.course-leave-note{text-align:center;color:var(--muted);font-size:11px;margin-top:28px}
.reading-plan{display:flex;align-items:center;gap:14px;padding:20px;background:#eef3e8;border-radius:16px;margin:22px 0}
.reading-plan strong,.reading-plan small{display:block}.reading-plan strong{font-size:14px}.reading-plan small{font-size:11px;color:var(--muted);margin-top:4px}
.catalog-page main{max-width:1180px;padding-top:58px}
.catalog-tag{font-size:12px;color:var(--muted);letter-spacing:1px}
.catalog-filters{display:grid;grid-template-columns:minmax(200px,1fr) minmax(280px,1.4fr) minmax(200px,1fr);align-items:end;gap:24px;background:var(--paper,#fffefa);border:1px solid var(--line,#dfe5d9);border-radius:20px;padding:23px;margin-bottom:32px}
.catalog-filters label,.grade-filter>span{display:block;font-size:12px;color:var(--muted)}
.catalog-filters select{display:block;width:100%;max-width:none;margin-top:9px;border:1px solid #dbe4d8;background:#fffefa;color:var(--ink);border-radius:10px;padding:11px;font:inherit;font-size:14px;min-height:44px}
#filter-grade{display:flex;gap:6px;margin-top:9px;flex-wrap:wrap}
#filter-grade button{min-height:44px;flex:1;padding:10px 12px;border:1px solid #dbe4d8;border-radius:10px;white-space:nowrap;background:transparent;color:var(--green);font-size:13px}
#filter-grade button[aria-pressed="true"]{background:var(--green);border-color:var(--green);color:white}
.catalog-filter-row{display:grid;grid-template-columns:1fr 1fr;gap:12px}
@media(max-width:1050px){.catalog-filters{grid-template-columns:1fr 1.3fr}.catalog-filter-row{grid-column:1/-1}}
@media(max-width:620px){.catalog-filters{grid-template-columns:1fr;gap:17px;padding:18px;border-radius:16px;margin-bottom:25px}#filter-grade button{padding:10px 8px}.catalog-page .catalog-intro h1{font-size:29px}.catalog-page .catalog-intro{margin-bottom:24px}.catalog-page .catalog-route{margin-top:16px}}
.catalog-intro{display:flex;align-items:center;justify-content:space-between;gap:40px;margin-bottom:50px}
.catalog-intro h1{font-size:48px;line-height:1.35;letter-spacing:-2px}
.catalog-intro p{margin-top:17px;color:var(--muted);font-size:14px;line-height:1.9}
.catalog-route{padding:28px;background:#eaf0e3;border:1px solid #dfe8d8;border-radius:22px;display:flex;align-items:center;gap:18px;color:var(--green);transform:rotate(-2deg)}
.catalog-route span{font-size:10px;letter-spacing:1px;white-space:nowrap}.catalog-route strong{display:block;font-size:15px;letter-spacing:0;margin-top:6px}.catalog-route i{font-style:normal;color:#96ad8c}
.catalog-heading{display:flex;align-items:end;justify-content:space-between;gap:20px;margin-bottom:20px}.catalog-heading h2{font-size:25px;margin-top:5px}.catalog-heading .overline{color:var(--green)}.catalog-heading>p{font-size:12px}
.course-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px}
.course-card{border:1px solid var(--line);background:#fffefa;border-radius:23px;overflow:hidden;display:flex;flex-direction:column}
.course-cover{position:relative;aspect-ratio:16/9;display:block;background:#e4ece0;overflow:hidden}.course-cover img{width:100%;height:100%;display:block;object-fit:cover;transition:transform .25s}.course-cover:hover img{transform:scale(1.025)}
.course-number{position:absolute;top:14px;left:14px;background:#fffefaeb;border-radius:9px;padding:4px 10px;font-size:12px;font-weight:700;color:var(--green)}
.course-duration{position:absolute;right:14px;bottom:12px;background:#193b36d9;border-radius:7px;padding:3px 8px;font-size:11px;color:white}
.course-content{padding:22px;display:flex;flex-direction:column;flex:1}.course-type-row{display:flex;justify-content:space-between;align-items:center;gap:10px}.course-type-row .lesson-label{font-size:10px}.course-completed{color:var(--green);font-size:11px}.course-source{color:var(--muted);font-size:10px;margin-top:13px;letter-spacing:.3px}.course-content h3{font-size:23px;line-height:1.4;margin-top:6px}.course-content h3 a{text-decoration:none}.course-content h3 a:hover{text-decoration:underline;text-underline-offset:4px}.course-subtitle{font-size:12px;color:var(--muted);margin-top:3px}.course-description{font-size:12px;line-height:1.8;color:#64766c;margin-top:13px;flex:1}.course-facts{display:flex;justify-content:space-between;gap:10px;font-size:11px;color:var(--muted);padding-top:16px;margin-top:15px;border-top:1px solid var(--line)}
.course-actions{display:flex;gap:9px;margin-top:17px}.course-actions a{flex:1;min-width:0;font-size:13px;padding:11px}.course-actions .primary{justify-content:space-between}
.catalog-notice{background:#fff0dd;border:1px solid #eed9b7;color:#77542b;border-radius:13px;padding:14px 18px;font-size:13px;margin-bottom:22px}.catalog-notice[hidden]{display:none}
.catalog-footnote{display:flex;align-items:flex-start;gap:14px;padding:23px 26px;background:var(--mint);border-radius:18px;margin-top:30px}.catalog-footnote p{color:#65795f;font-size:12px;line-height:1.9}.catalog-footnote strong{color:var(--green)}
@media(min-width:1500px){.course-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.catalog-page main{max-width:1380px}.course-content h3{font-size:21px}}
/* Let tall group assignments scroll with the page, including their start button. */
@media(min-width:1100px){.activity-column:has(.group-roster){position:static}}
@media(min-width:1100px){.activity-column:has(.audio-review),.activity-column:has(.mic-feedback){position:static}}
.dubbing-volume-controls{margin:18px 0;padding:16px;border-radius:14px;background:#f1f4ed}
.cue-card .word-token{display:inline;padding:0;border:0;border-radius:3px;background:transparent;color:inherit;font:inherit;line-height:inherit;text-align:inherit;letter-spacing:inherit;cursor:pointer;text-decoration:underline;text-decoration-color:#176c6140;text-underline-offset:5px;text-decoration-thickness:1px}
.cue-card .word-token:hover,.cue-card .word-token:focus-visible{background:#176c6115;color:#176c61;text-decoration-color:#176c61;outline:2px solid #176c6150;outline-offset:2px}
.cue-card .word-token:disabled{cursor:default;opacity:1;text-decoration:none}
.cue-card .word-hint{font-size:11px;font-weight:400;line-height:1.5;color:#6f8479;margin:12px 0 0}
.word-dialog{width:min(420px,calc(100vw - 40px));padding:26px;border:1px solid #dce5d7;border-radius:22px;background:#fffefa;color:#25433c;box-shadow:0 20px 80px #143d3326}
.word-dialog::backdrop{background:#143d3350}
.word-dialog .dialog-heading h2{font-size:30px;text-transform:none;overflow-wrap:anywhere}
.word-accent-row{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:18px 0;border-top:1px solid #e1e8dc}
.word-accent-row[hidden]{display:none}
.word-accent-row>span{display:flex;flex-direction:column;gap:8px;min-width:0}
.word-accent-row strong{font-size:12px;color:#668075}
.word-ipa{font-family:"Segoe UI","Arial",sans-serif;font-size:20px;line-height:1.5;overflow-wrap:anywhere}
.word-accent-row button{flex-shrink:0;padding:11px 14px;border-radius:9px}
.word-dialog .small{line-height:1.7;margin:12px 0 0}
.dubbing-volume-row + .dubbing-volume-row{margin-top:14px}
.dubbing-volume-row label{display:flex;justify-content:space-between;gap:12px;font-size:13px;font-weight:600;margin-bottom:8px}
.dubbing-volume-row output{color:#176c61;font-variant-numeric:tabular-nums}
.dubbing-volume-row input{display:block;width:100%;margin:0;accent-color:#176c61;cursor:pointer}
.dubbing-volume-controls .small{margin:12px 0 0;font-size:12px;line-height:1.6}
.dubbing-work[hidden]{display:none}
.dubbing-work{scroll-margin-top:24px}
.dubbing-work h2{margin:6px 0 0}
.dubbing-work p{line-height:1.8;color:#66776f}
.dubbing-count{font-size:13px;white-space:nowrap;color:#176c61}
.dubbing-work video{display:block;width:100%;max-height:460px;object-fit:contain;background:#122c29;border-radius:12px;margin:18px 0}
.dubbing-download{display:block;text-align:center;text-decoration:none;padding:15px 18px;border-radius:10px;margin:14px 0}
.dubbing-download[hidden],.recording-playback-toolbar[hidden]{display:none}
.recording-playback-toolbar{padding:10px 18px 0}
.media-load-panel{margin:12px 18px 0;padding:13px 15px;border:1px solid #cbdcc7;background:#f0f5eb;border-radius:12px;min-width:0;color:var(--green)}
.media-load-panel[hidden],.media-load-panel button[hidden],.media-load-panel progress[hidden]{display:none}
.media-load-panel strong{display:block;font-size:14px;line-height:1.5}.media-load-panel p{font-size:12px;line-height:1.6;color:#65766d;margin:5px 0 8px;overflow-wrap:anywhere}
.media-load-panel progress{display:block;width:100%;height:8px;accent-color:var(--green);margin:6px 0 10px}
.media-load-actions{display:flex;align-items:center;gap:14px}.media-load-actions button{padding:8px 13px;font-size:12px;min-height:36px}
.media-load-panel.is-error{background:#fff2df;border-color:#e4c496;color:#795528}.media-load-panel.is-error p{color:#795528}
.recording-playback-toolbar button{min-height:44px;font-weight:650;background:#e4eee0;border:1px solid #b6d2bf}
.volume-download-hint{font-size:13px!important;font-weight:650;color:var(--green)!important;margin:8px 0 14px!important}
.dubbing-subtitle-picker{border:1px solid var(--line);border-radius:12px;padding:14px;margin:16px 0;background:#fafbf6}
.dubbing-subtitle-picker label{display:block;font-size:13px;font-weight:650;margin-bottom:8px}
.dubbing-subtitle-picker select{width:100%;min-height:42px;padding:9px 12px;border:1px solid #c8d8c6;border-radius:8px;background:#fffefa;color:var(--green);font:inherit}
.dubbing-subtitle-picker .small{margin:8px 0 0;font-size:12px}
.sharing-notice{padding:16px 18px;border:2px solid #e4b561;background:#fff2d7;border-radius:12px;margin:15px 0;color:#63471e}
.sharing-notice strong{font-size:16px}.sharing-notice p{font-size:13px;color:#715323;margin:8px 0 0;line-height:1.8}.sharing-notice b{font-size:16px;color:#754109;white-space:nowrap}
#stopVolumePreview{margin-top:8px;font-size:12px;padding:9px 14px}
#stopVolumePreview[hidden]{display:none}
.dubbing-work progress{width:100%;height:10px;accent-color:#176c61}
.dubbing-takes{margin-top:18px;border-top:1px solid #e1e8dc;padding-top:18px}
.dubbing-takes summary{cursor:pointer;color:#176c61;font-weight:600}
.dubbing-takes>div{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin-top:14px}
.dubbing-take{padding:12px;text-align:left;background:#f1f4ed;border:1px solid transparent;border-radius:10px;color:#176c61}
.dubbing-take:hover{border-color:#176c61}
.dubbing-take span,.dubbing-take small{display:block}
.dubbing-take small{font-size:12px;line-height:1.6;color:#66776f;margin-top:5px}
.dubbing-work .dubbing-local-note{font-size:12px;margin-bottom:0}
.dubbing-settings,.completed-recordings{margin:16px 0;border:1px solid var(--line);border-radius:12px;background:#fafbf6;min-width:0}
.dubbing-settings>summary,.completed-recordings>summary{padding:11px 14px;font-size:13px;font-weight:650;color:var(--green);cursor:pointer}
.dubbing-settings .dubbing-volume-controls{margin:0;padding:3px 14px 14px;background:transparent}
.background-volume-caption{line-height:1.6;margin:9px 0 0!important;color:var(--muted)}
.background-monitor-status:empty{display:none}
.record-background-control{padding:9px 12px;background:#f0f4eb;border:1px solid #e0e8db;border-radius:10px;min-width:0}
.record-background-control input{width:100%;margin:0;accent-color:var(--green);cursor:pointer}
.record-background-control .background-monitor-status{margin:5px 0 0!important;font-size:10px!important;line-height:1.4}
.completed-recordings>div{padding:0 14px 10px}
.practice-action-dock{display:grid;gap:9px;margin:18px 0 0}
.watch-card{min-height:0}
.dubbing-work [hidden]{display:none!important}
.work-audio-update{margin:12px 0;padding:10px 12px;border:1px solid #d9e5d3;border-radius:10px;background:#edf4e8;color:var(--green);font-size:12px;line-height:1.7}
.work-audio-update[data-state="error"]{border-color:#edc8a2;background:#fff4e5;color:#86521f}
.wechat-save-guide{margin:12px 0;padding:12px;border:1px solid #dbc17f;border-left:4px solid #b9872c;border-radius:10px;background:#fff5dc;color:#6a5121}
.wechat-save-guide>strong{display:block;font-size:14px;line-height:1.5}
.wechat-save-guide p{font-size:12px;line-height:1.7;color:inherit;margin:6px 0}
.wechat-guide-actions{display:flex;align-items:center;gap:12px;flex-wrap:wrap;margin-top:8px}
.wechat-guide-actions .secondary{min-height:40px;padding:9px 12px;font-size:12px;border:1px solid #bfd1b8}
.wechat-save-guide .text-button{color:var(--green);font-size:12px;min-height:40px;padding:7px 0}
.wechat-save-entry{padding:10px 12px;margin:10px 0}.wechat-save-entry p{margin:4px 0}.wechat-save-entry .wechat-guide-actions{margin-top:6px}
.save-guide-dialog{width:min(460px,calc(100vw - 24px));max-height:calc(100dvh - 32px);padding:22px;border:1px solid #cfdbc9;border-radius:18px;background:#fffefa;color:var(--ink);overflow:auto;box-shadow:0 18px 70px #143d3340}
.save-guide-dialog::backdrop{background:#143d3366}
.save-guide-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:12px}.save-guide-heading h2{font-size:21px;line-height:1.4}.save-guide-heading button{flex-shrink:0;min-height:40px;padding:6px 9px}
.save-guide-dialog p{font-size:13px;line-height:1.75}.save-guide-intro{margin:10px 0}.save-guide-warning{padding:10px 12px;border-radius:9px;background:#fff0d4;color:#80581a;font-weight:650}
.save-guide-steps{padding-left:23px;margin:18px 0}.save-guide-steps li{padding-left:4px;margin:0 0 15px}.save-guide-steps li::marker{color:var(--green);font-weight:700}.save-guide-steps strong{font-size:14px;line-height:1.6}.save-guide-steps p{margin:3px 0;color:#66776d}
.save-guide-dialog .small{font-size:12px;line-height:1.7;margin:10px 0;color:#6d7c71}.save-guide-dialog .course-copy-url{margin-top:10px}.save-guide-dialog .local-save-status{margin-bottom:0}
.course-copy-url{display:block;width:100%;min-width:0;padding:8px;border:1px solid var(--line);border-radius:6px;background:#fffefa;color:var(--ink);font-size:12px}
.local-save-status{margin:10px 0;padding:10px 12px;border-radius:9px;background:#edf4e8;color:var(--green);font-size:12px;line-height:1.7;overflow-wrap:anywhere}
.local-save-status[data-tone="warning"]{background:#fff4e5;color:#86521f}
.local-save-status[hidden],.course-copy-url[hidden]{display:none}
.local-file-share{margin:8px 0;max-width:100%}.dubbing-work .local-file-share{width:100%}
.watch-actions{display:grid;gap:10px;margin:16px 0}
.record-repeat-actions,.next-reading-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;min-width:0}
.practice-action-dock button{width:100%;min-width:0;padding:12px 10px;line-height:1.4;overflow-wrap:anywhere}
.dock-recording-feedback .recording-label{margin:0 0 6px!important}
.dock-recording-feedback .mic-feedback{margin:0}
@media(max-width:720px){
  .practice-page .topbar{min-height:60px;padding:10px 14px;gap:10px;flex-wrap:nowrap}
  .practice-page .brand{font-size:16px;gap:8px;letter-spacing:.5px}
  .practice-page .brand-mark{width:32px;height:32px;font-size:47px;border-radius:10px 10px 10px 3px}
  .practice-page .brand small{font-size:7px;letter-spacing:1.4px}
  .practice-page .topbar-actions{gap:8px;font-size:11px;min-width:0}
  .practice-page .topbar-actions .text-button{font-size:11px;padding:3px}
  .practice-page main{padding:14px 12px 0}
  .practice-page .intro{margin:0 0 13px}
  .practice-page .eyebrow{display:none}
  .practice-page .intro h1{font-size:26px;line-height:1.35;letter-spacing:-.8px}
  .practice-page .intro p{margin-top:4px;font-size:11px;line-height:1.6}
  .practice-page .stepper{margin-bottom:12px;padding:4px;gap:3px}
  .practice-page .stepper button{font-size:12px;padding:6px 2px}
  .practice-page .stepper span{line-height:1.2}
  .practice-page .workspace{display:flex;flex-direction:column;gap:13px;min-width:0}
  .practice-page .stage-column,.practice-page .activity-column{display:contents;min-width:0}
  .practice-page .video-card{order:1;width:100%;min-width:0;border-radius:15px}
  .practice-page #activityCard{order:2;width:100%;min-width:0;padding:17px;overflow:visible;border-radius:15px}
  .practice-page #activityCard.watch-card{order:0;padding:13px 14px}
  .practice-page .watch-card>.overline{display:none}
  .practice-page #activityCard.watch-card h2{font-size:18px;line-height:1.5;margin:0 0 9px}
  .practice-page .watch-actions{grid-template-columns:minmax(0,1.15fr) minmax(0,1fr);gap:8px;margin:0 0 10px}
  .practice-page .watch-actions button{font-size:12px;min-height:44px;padding:10px 6px;gap:4px}
  .practice-page .watch-card p{font-size:11px;line-height:1.6}
  .practice-page .watch-card .small{font-size:10px!important;margin-top:6px!important}
  .practice-page #dubbingWorkPanel{order:3;margin:0}
  .practice-page #lessonScriptPanel{order:4;margin:0;min-width:0}
  .practice-page .tip-card{order:5;margin:0;padding:14px 17px}
  .practice-page .privacy-note{order:6;margin:0;padding:0 7px}
  .practice-page .video-heading{padding:8px 11px;gap:8px}
  .practice-page .video-heading>span:last-child{min-width:0;text-align:right;overflow-wrap:anywhere}
  .practice-page .video-toolbar{padding:7px 8px;gap:5px}
  .practice-page .subtitle-controls{gap:1px}
  .practice-page .subtitle-controls button{padding:5px 7px;font-size:11px}
  .practice-page .playback-controls{gap:5px;min-width:0}
  .practice-page #speed{font-size:11px;max-width:94px}
  .practice-page .lesson-caption{padding:10px 12px;gap:7px}
  .practice-page .lesson-caption>div{min-width:0}
  .practice-page .lesson-caption h2{font-size:17px;line-height:1.4}
  .practice-page .lesson-caption p{font-size:10px;margin:2px 0 0;letter-spacing:0}
  .practice-page #replayStory{flex-shrink:0;font-size:10px}
  .practice-page .activity-card h2{font-size:21px;margin:3px 0 8px}
  .practice-page.practice-dock-active #activityCard>.overline{display:none}
  .practice-page .practice-progress{margin:12px 0}
  .practice-page .cue-card{padding:14px;margin:12px 0;border-radius:12px}
  .practice-page .cue-card .english{font-size:22px;line-height:1.5;margin:6px 0;overflow-wrap:anywhere}
  .practice-page .cue-card .word-hint{font-size:10px;margin-top:8px}
  .practice-page .practice-instruction{line-height:1.7;margin:8px 0!important}
  .practice-page .practice-cue-status{line-height:1.6}
  .practice-page .audio-review{margin:12px 0;padding:10px}
  .practice-page .audio-review audio{max-width:100%}
  .practice-page .dubbing-settings,.practice-page .completed-recordings{margin:12px 0}
  .practice-page.practice-dock-active{padding-bottom:calc(145px + env(safe-area-inset-bottom,0px))}
  .practice-page.practice-dock-recording{padding-bottom:calc(220px + env(safe-area-inset-bottom,0px))}
  .practice-page.practice-dock-active .practice-action-dock{position:fixed;z-index:12;bottom:0;left:0;right:0;display:grid;gap:7px;margin:0;padding:9px max(12px,env(safe-area-inset-right,0px)) calc(9px + env(safe-area-inset-bottom,0px)) max(12px,env(safe-area-inset-left,0px));background:#fffefaf5;border:1px solid #dbe4d5;border-bottom:0;border-radius:16px 16px 0 0;box-shadow:0 -6px 24px #233c3814;backdrop-filter:blur(10px)}
  .practice-page .practice-action-dock button{font-size:12px;min-height:43px;border-radius:10px;padding:9px 7px;gap:5px}
  .practice-page .practice-action-dock .record-button{font-size:12px}
  .practice-page .record-repeat-actions,.practice-page .next-reading-actions{gap:7px}
  .practice-page .dock-recording-feedback .recording-label{font-size:10px!important;line-height:1.4;margin:0 0 4px!important}
  .practice-page .dock-recording-feedback .mic-feedback{padding:6px 9px;border-radius:8px}
  .practice-page .dock-recording-feedback .mic-level-heading{font-size:10px;margin:0 0 5px;gap:6px}
  .practice-page .dock-recording-feedback .mic-level-heading strong{font-size:10px}
  .practice-page .dock-recording-feedback .mic-level-meter{height:8px}
  .practice-page .dock-recording-feedback .mic-feedback small{display:none}
  .practice-page .record-background-control{padding:6px 9px;border-radius:8px}
  .practice-page .record-background-control label{font-size:11px;margin-bottom:4px}
  .practice-page .record-background-control input{height:16px}
  .practice-page .record-background-control .background-volume-caption{font-size:9px!important;line-height:1.4;margin:5px 0 0!important}
  .practice-page.practice-dock-recording .next-reading-actions{display:none}
  .practice-page.practice-dock-recording .record-repeat-actions{display:block}
  .practice-page.practice-dock-recording [data-action="repeat-cue"]{display:none}
  .practice-page.practice-dock-recording .record-button{min-height:29px;padding:4px 7px;font-size:11px}
  .practice-page.practice-dock-recording .record-background-control{padding:5px 9px}
  .practice-page.practice-dock-recording .record-background-control label{margin-bottom:2px}
  .practice-page.practice-dock-recording .record-background-control input{height:14px}
  .practice-page.practice-dock-recording .background-volume-caption{line-height:1.3;margin-top:4px!important}
  .practice-page.practice-dock-recording .background-monitor-status{font-size:9px!important;line-height:1.3;margin-top:3px!important}
  .practice-page.practice-dock-active .toast{bottom:calc(150px + env(safe-area-inset-bottom,0px))}
  .practice-page.practice-dock-recording .toast{bottom:calc(225px + env(safe-area-inset-bottom,0px))}
  .practice-page .word-dialog{max-height:calc(100dvh - 24px);padding:20px;overflow:auto}
  .practice-page footer{padding:19px 0}
}
@media(max-width:600px){.dubbing-takes>div{grid-template-columns:1fr}.dubbing-work .section-heading{align-items:flex-start;gap:10px;flex-wrap:wrap}}
@media(max-width:900px){.catalog-page main{padding-top:36px}.catalog-intro{gap:25px}.catalog-intro h1{font-size:38px}.catalog-route{padding:20px;gap:12px}.catalog-route strong{font-size:13px}.course-content{padding:18px}}
@media(max-width:720px){.topbar-actions{gap:10px}.course-back{font-size:12px}.catalog-page .topbar{min-height:76px;flex-wrap:nowrap}.catalog-tag{font-size:10px;letter-spacing:0;max-width:110px;text-align:right}.catalog-page main{padding-top:30px}.catalog-intro{display:block;margin-bottom:30px}.catalog-intro h1{font-size:35px;letter-spacing:-1.5px}.catalog-intro p{font-size:12px;margin-top:12px}.catalog-route{margin-top:22px;transform:none;padding:15px 18px;justify-content:space-between;gap:8px;border-radius:15px}.catalog-route span{display:flex;gap:7px;align-items:center}.catalog-route strong{font-size:12px;margin:0}.catalog-heading{display:block;margin-bottom:16px}.catalog-heading h2{font-size:22px}.catalog-heading>p{margin-top:7px;font-size:11px}.course-grid{grid-template-columns:1fr;gap:20px}.course-content{padding:19px}.course-content h3{font-size:22px}.course-cover{aspect-ratio:16/8.5}.catalog-footnote{padding:19px;margin-top:24px}.catalog-footnote p{font-size:11px}.course-leave-note{font-size:10px;margin-top:20px}}

/* Keep the Chinese learning tagline readable beside the site name. */
.topbar .brand .brand-tagline{letter-spacing:0;font-size:10px;white-space:normal;max-width:210px;line-height:1.6}
@media(max-width:720px){.topbar .brand .brand-tagline{font-size:8px;max-width:160px}.catalog-page .catalog-tag{display:none}}
@media(max-width:360px){.practice-page .topbar .brand .brand-tagline{max-width:90px}}
