.grammar-screen h1{font-size:24px;line-height:1.2}.grammar-screen .rp-header{align-items:flex-start}.grammar-step,.grammar-objectives,.grammar-practice{padding:20px;margin:16px 0;border:1px solid var(--home-line);border-radius:22px;background:var(--home-surface);color:var(--home-text);overflow-wrap:anywhere}.grammar-step h2,.grammar-objectives h2,.grammar-practice h2{font-size:19px;line-height:1.3;margin:8px 0 12px}.grammar-step p,.grammar-objectives li,.grammar-practice p{font-size:15px;line-height:1.6}.grammar-objectives ul{padding-left:22px;margin:0}.grammar-examples{display:grid;gap:12px;padding:16px;border-radius:14px;background:var(--home-soft)}.grammar-examples strong,.grammar-examples span{display:block}.grammar-examples strong{font-size:15px;line-height:1.5}.grammar-examples span{font-size:13px;line-height:1.5;color:var(--home-muted);margin-top:3px}.grammar-note{color:var(--home-muted)}.grammar-practice .btn{background:var(--home-brand);color:white;border:0;min-height:48px;width:100%;margin-top:14px}.grammar-practice .btn:disabled{opacity:.6}.grammar-practice .btn:focus-visible{outline:3px solid var(--home-accent);outline-offset:3px}.grammar-screen{padding-bottom:24px}
.grammar-course{padding:18px;margin:16px 0;border:1px solid var(--home-line);border-radius:22px;background:var(--home-soft);color:var(--home-text)}.grammar-course h2{font-size:19px;margin:4px 0 12px}.grammar-course p,.grammar-course li{font-size:15px;line-height:1.5}.grammar-course ol{padding-left:22px}.grammar-course li{margin:10px 0}.grammar-course small{display:block;color:var(--home-muted)}.grammar-course .btn{min-height:48px;white-space:normal;line-height:1.3;margin-top:12px;width:100%}.grammar-course-status{font-size:13px;color:var(--home-muted);line-height:1.5}.grammar-course-next{display:block;min-height:44px;padding:12px 0;text-align:left;border:0;background:none;color:var(--home-accent);font:inherit}

.grammar-course #grammar-practice-button{background:var(--home-brand);color:#fff;border:0;font-weight:600}.grammar-course #grammar-practice-button:focus-visible{outline:3px solid var(--home-accent);outline-offset:3px}

.grammar-blocked{padding:14px;border:1px solid var(--home-line);border-radius:14px;margin-top:12px;background:var(--home-surface)}.grammar-blocked h3{font-size:16px;margin:0 0 8px}.grammar-course #grammar-practice-button:disabled{background:var(--home-line);color:var(--home-muted);cursor:not-allowed}.grammar-blocked .btn{color:var(--home-text)}
