.course-intro{max-width:760px;margin:0 0 12px;font-size:18px}.course-intro span,.course-progress span{display:block;color:var(--muted);font-size:14px}.course-progress{background:#edf3ff;border-radius:12px;padding:12px 16px;margin:16px 0 22px}.sentence-cards{display:grid;gap:16px}.sentence-card{padding:22px 24px;background:white;border:1px solid var(--line);border-radius:16px}.sentence-card header{display:flex;gap:10px;align-items:center;justify-content:space-between;margin-bottom:10px;font-size:13px;color:var(--muted)}.sentence-card .word-audio{font-size:23px;line-height:1.5;text-align:left}.sentence-card p{margin:9px 0}.sentence-card .sentence-english{color:var(--muted);font-size:15px}.sentence-words{margin-top:16px;border-top:1px solid var(--line);padding-top:10px}.sentence-words summary{color:var(--blue);cursor:pointer;font-size:13px}.word-links{display:flex;flex-wrap:wrap;gap:8px;margin-top:12px}.word-links button{border:1px solid var(--line);background:var(--pale);border-radius:20px;color:var(--blue);padding:6px 12px;font-size:14px}.course-state{color:var(--green);font-size:12px}.grammar-lessons{display:grid;gap:14px}.grammar-lesson{background:white;border:1px solid var(--line);border-radius:16px;overflow:hidden}.grammar-lesson>summary{cursor:pointer;display:flex;align-items:center;gap:16px;padding:20px;list-style:none}.grammar-lesson>summary::-webkit-details-marker{display:none}.grammar-lesson>summary:after{content:'+';margin-left:auto;color:var(--blue);font-size:26px}.grammar-lesson[open]>summary:after{content:'−'}.lesson-number{background:var(--pale);color:var(--blue);font-size:20px;font-weight:700;width:42px;height:42px;display:grid;place-items:center;border-radius:12px;flex-shrink:0}.lesson-title{font-size:19px;font-weight:700;line-height:1.5}.lesson-title small{font-size:13px;color:var(--muted);font-weight:400;display:block}.grammar-body{padding:0 24px 24px}.grammar-body>p{margin:12px 0;white-space:pre-line}.grammar-body>.english-explanation{color:var(--muted);font-size:14px}.grammar-pattern{padding:14px 16px;background:var(--pale);color:var(--blue);border-radius:10px;font-size:18px;font-weight:700;white-space:pre-line}.grammar-examples{display:grid;gap:12px;margin:18px 0}.grammar-example{border-left:3px solid #c5d3fa;padding-left:15px}.grammar-example .word-audio{font-size:20px;text-align:left}.grammar-example p{margin:3px 0;font-size:15px}.grammar-example p:last-child{font-size:13px;color:var(--muted)}.lesson-result{font-size:13px;color:var(--green)}.course-practice{margin-top:24px}.course-practice .practice-bar{display:flex;flex-wrap:wrap;gap:15px;align-items:center;justify-content:space-between;margin-bottom:14px}.course-practice .practice-bar label{font-size:13px}.course-practice .practice-bar select{border:1px solid var(--line);border-radius:8px;padding:7px;background:white}.course-practice .quiz-card{min-height:300px}.course-practice .quiz-card h3{font-size:26px;line-height:1.6}.course-practice .quiz-card h3 .word-audio{font-size:inherit;line-height:inherit}.course-practice .quiz-choice{font-size:19px;line-height:1.6}.course-practice .exercise-prompt{font-size:27px;font-weight:700;line-height:1.6}.course-practice .quiz-feedback p{margin:12px 0}.course-practice .quiz-feedback .explanation-en{font-size:14px;color:var(--muted)}.course-practice .course-session-count{font-size:14px;color:var(--muted)}.course-audio-status:empty{display:none}.course-audio-status{font-size:13px;color:var(--muted)}.course-nav-previous{margin-bottom:15px}#sentences-view,#grammar-view{scroll-margin-top:20px}#grammar-practice-area,#sentence-practice-area{scroll-margin-top:20px;scroll-margin-bottom:calc(var(--money-dock-height,180px) + 30px)}
@media(max-width:720px){.topbar{flex-wrap:wrap;gap:12px}.topbar nav{order:3;width:100%;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:4px}.topbar .nav-button{padding:9px 4px;font-size:15px;min-width:0}.topbar .nav-button span{font-size:12px}.topbar #help-button{margin-left:auto}.section-heading{flex-wrap:wrap}.section-heading .primary,.section-heading .secondary{padding:9px 13px;font-size:14px}.sentence-card{padding:17px}.sentence-card .word-audio{font-size:20px}.sentence-card header{align-items:flex-start}.grammar-lesson>summary{padding:17px 14px;gap:12px}.grammar-body{padding:0 17px 20px}.lesson-title{font-size:17px}.lesson-title small{font-size:12px}.grammar-pattern{font-size:16px}.course-practice .quiz-card h3,.course-practice .exercise-prompt{font-size:22px}.course-practice .quiz-choices{grid-template-columns:1fr}.course-practice .quiz-choice{font-size:17px}.course-intro{font-size:16px}.sentence-english{font-size:14px!important}}
.course-speaking-action{margin-top:10px}.course-speaking-action:empty{display:none}.grammar-lesson>summary .lesson-title{min-width:0}.grammar-lesson>summary>.level-chip{margin-left:auto;flex-shrink:0}.grammar-lesson>summary:after{margin-left:0}.grammar-learning-goal,.grammar-path-overview{background:var(--pale);border:1px solid var(--line);border-radius:12px;padding:15px 18px;margin:14px 0 18px;text-align:left}.grammar-learning-goal strong,.grammar-path-overview>strong{color:var(--blue);font-size:16px}.grammar-learning-goal p,.grammar-path-overview p{margin:6px 0;line-height:1.6}.grammar-path-overview .secondary{margin-top:8px;max-width:100%;text-align:left}.grammar-prerequisites{border-left:3px solid var(--line);padding-left:12px;margin:16px 0 22px}.grammar-prerequisites>span{display:block;color:var(--muted);font-size:13px}.grammar-prerequisites .text-button{padding:7px 10px 7px 0;font-size:14px;color:var(--blue);text-align:left}.grammar-prerequisites .text-button span{font-size:12px}.grammar-prerequisites small{display:block;font-size:12px;color:var(--muted);line-height:1.6}.grammar-prerequisites .prerequisite-reviewed{color:var(--green)}.grammar-key-points{padding-left:24px;line-height:1.8}.grammar-key-points li{margin:8px 0}.grammar-practice-note{font-size:13px;line-height:1.6;color:var(--muted)}.grammar-practice-note span,.grammar-unscored span{display:block;font-size:12px;color:var(--muted)}.grammar-instruction{font-size:16px;line-height:1.7;margin:12px 0;text-align:left}.grammar-instruction.english-explanation{font-size:13px}.grammar-unscored{font-size:16px;line-height:1.6;background:var(--pale);border-radius:11px;padding:12px 15px}.grammar-complete-answer .word-audio{font-size:22px;line-height:1.6;text-align:left}.grammar-feedback-rule{padding:12px 14px;border-left:3px solid var(--blue);background:var(--pale);border-radius:0 10px 10px 0}.course-practice .grammar-speaking-note{color:var(--muted)}.course-practice form{text-align:left}.course-practice .grammar-order-instruction,.course-practice .grammar-token-bank{text-align:center}#grammar-path:empty{display:none}.grammar-filters{margin:18px 0 22px}.grammar-lesson{scroll-margin-top:20px;scroll-margin-bottom:calc(var(--money-dock-height,180px) + 20px)}@media(max-width:720px){.grammar-learning-goal,.grammar-path-overview{padding:13px 15px}.grammar-learning-goal strong{font-size:15px}.grammar-prerequisites{padding-left:10px}.grammar-key-points{padding-left:20px;font-size:15px}.grammar-lesson>summary .level-chip{font-size:10px}.grammar-lesson>summary:after{font-size:21px}.grammar-complete-answer .word-audio{font-size:19px}.grammar-instruction{font-size:15px}.grammar-path-overview .secondary{font-size:14px;padding:10px 12px}.course-practice .grammar-writing>input{font-size:19px}}
.grammar-pagination{display:flex;align-items:center;justify-content:center;gap:14px;flex-wrap:wrap;padding:16px 0;color:var(--muted);font-size:14px}.grammar-pagination .secondary{font-size:14px;padding:10px 14px}
