/* Learning has its own reading rhythm, without turning a lesson into a game menu. */
.active-path{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:18px 0 0;color:var(--muted);font-size:13px}.active-path strong{color:var(--ink)}.active-path button{border:0;background:transparent;color:var(--blue);font-size:13px;font-weight:700;min-height:48px;padding:10px 0 10px 16px}.hero-actions{display:flex;gap:12px;flex-wrap:wrap;align-items:center;margin-top:24px}.hero-actions .small{margin:0}.hero-actions .hero-action{background:#ffffffb0;color:var(--ink)!important;box-shadow:none}.learning-action{background:var(--ink)}.mature-intro>img{border-radius:24px;object-fit:cover;bottom:26px;width:92px;height:120px}.mature-intro>div{padding-right:52px}.learning-path-banner{display:flex;gap:20px;align-items:center;margin-bottom:24px}.learning-path-banner>img{width:84px;height:110px;object-fit:cover;border-radius:20px;flex-shrink:0}.learning-path-banner .pill{margin-bottom:14px}.learning-path-banner h2{font-size:26px;margin-bottom:12px}.learning-path-banner p{margin:0}.path-explorer{border:1px solid var(--border);background:#fff;border-radius:20px;padding:18px 20px;margin:24px 0}.path-explorer summary{font-size:15px;font-weight:700;line-height:1.6;cursor:pointer;min-height:48px;align-content:center}.path-chips{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin:18px 0}.path-chips button{min-height:52px;padding:12px;border:1px solid var(--border);border-radius:14px;background:#fff;font-size:14px}.path-chips button[aria-pressed=true]{border:2px solid var(--blue);background:#edf3e8}.learning-cards{display:grid;gap:20px}.lesson-card{display:flex;flex-direction:column;min-width:0}.lesson-card-number{font-size:11px;color:var(--muted);letter-spacing:.06em;line-height:1.6;margin-bottom:24px}.lesson-card h2{font-size:25px;line-height:1.3}.lesson-card p{margin:0 0 16px}.lesson-card .lesson-outline{font-size:12px;color:var(--muted);line-height:1.7;margin-top:auto}.lesson-card .primary{margin-top:8px;gap:12px}.learning-scope{margin:26px 0;font-size:13px;line-height:1.8;color:var(--muted)}.learning-progress-summary{margin:24px 0;display:flex;flex-direction:column;align-items:flex-start;gap:12px}.learning-progress-summary p{margin:0}.learning-progress-summary h2{font-size:22px;margin-bottom:8px}.young-learning{background:#f5f8ef}.young-learning>.back{margin-bottom:24px}.young-learning .page-header{padding-top:12px}.young-learning .page-header .eyebrow{font-size:10px}.young-learning .page-header h1{font-size:30px}.young .bottom>.primary{margin:0 0 12px}.young .bottom>.secondary{margin:0;width:100%;display:flex;align-items:center;justify-content:center}.young .bottom h2{margin:0 0 18px}.young-mascot{height:32dvh}.young{padding-bottom:280px}.young .bottom{bottom:28px}.lesson-screen{padding:24px 22px 48px;min-height:100dvh}.lesson-header{display:flex;align-items:center;gap:14px;padding-bottom:24px;border-bottom:1px solid var(--border);margin-bottom:28px}.lesson-header>div{flex:1;min-width:0}.lesson-header h1{font-size:24px;line-height:1.2;margin:8px 0 0;font-weight:750}.lesson-header .eyebrow{font-size:9px;margin:0}.lesson-phase{font-size:11px;color:var(--muted);font-weight:700;flex-shrink:0}.adult-note{font-size:13px;line-height:1.7;color:#536745;background:#eaf1df;padding:14px 18px;border-radius:14px;margin:0 0 24px}.lesson-teaching{display:grid;gap:24px}.lesson-illustration{display:grid;place-items:center;min-height:210px;padding:28px;background:#e9efdf;border:1px solid #dfe7d3;border-radius:26px;overflow:hidden}.lesson-copy{padding:4px}.lesson-copy h2,.lesson-question h2{font-size:27px;line-height:1.25;letter-spacing:-.035em;margin:0 0 20px;font-weight:700}.lesson-copy p{font-size:18px;line-height:1.75;color:var(--muted);margin:0 0 22px}.lesson-copy .pill,.lesson-question .pill{margin-bottom:20px}.worked-example{padding:22px;border-left:4px solid #75a16b;border-radius:4px 18px 18px 4px;background:#fff;font-size:21px;line-height:1.5;font-weight:650;margin-bottom:26px}.lesson-expression{font-family:var(--heading);font-size:clamp(27px,5vw,58px);font-weight:700;letter-spacing:-.04em;line-height:1.4;text-align:center;overflow-wrap:anywhere}.lesson-shape{display:block;width:min(100%,190px);height:190px;margin:auto}.lesson-fraction{display:block;width:100%;max-width:420px;height:auto;margin:auto}.lesson-dots{display:flex;justify-content:center;align-items:center;gap:16px;flex-wrap:wrap;max-width:320px;margin:auto}.lesson-dots span{display:block;color:#2c7457;font-size:44px;line-height:1}.lesson-practice{display:grid;gap:28px}.lesson-question{background:#e9efdf;border-radius:26px;padding:26px}.lesson-question h2{margin-bottom:20px;font-size:26px}.lesson-response{min-width:0}.lesson-choices{display:grid;gap:14px}.lesson-choices button{display:flex;align-items:center;justify-content:center;gap:20px;border:2px solid var(--border);border-radius:20px;min-height:80px;padding:18px;background:#fff;font-size:24px;font-weight:700;line-height:1.4;overflow-wrap:anywhere;min-width:0}.lesson-choices button .lesson-shape{width:82px;height:82px;margin:0}.lesson-choices button.correct{background:#e7f3e6;border-color:#5b9b6a}.lesson-choices button.incorrect{background:#fff0e7;border-color:#da9a70}.lesson-feedback{margin-top:22px;border:1px solid #cde2c8;border-radius:22px;padding:24px;background:#e7f3e6}.lesson-feedback.incorrect{background:#fff1e6;border-color:#efddc8}.lesson-feedback h3{font-size:22px;margin:0 0 12px;letter-spacing:-.035em}.lesson-feedback p{font-size:17px;line-height:1.7;margin:0 0 22px}.lesson-complete{max-width:700px;margin:24px auto;text-align:center;padding:32px 24px;background:#fff;border:1px solid var(--border);border-radius:28px}.completion-mark{display:grid;place-items:center;width:96px;height:96px;background:#e4f1da;color:var(--blue);border-radius:32px;font-size:48px;margin:0 auto 28px}.lesson-complete h2{font-size:30px}.lesson-complete p{font-size:17px;line-height:1.8;color:var(--muted)}.lesson-complete .primary{margin-top:20px}.lesson-complete .secondary{min-height:52px}.lesson-with-adult .lesson-choices button{min-height:100px}.learning-hub .section-heading{align-items:flex-start}.learning-hub .section-heading>span{font-size:12px;line-height:1.6;max-width:100px}nav button{min-width:0}nav span{font-size:10px}
@media(min-width:768px){.learning-cards{grid-template-columns:repeat(2,minmax(0,1fr));gap:26px}.learning-path-banner{padding:30px;gap:30px}.learning-path-banner>img{width:140px;height:160px;border-radius:24px}.learning-path-banner h2{font-size:32px}.path-chips{grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}.learning-progress-summary{flex-direction:row;align-items:center;justify-content:space-between;gap:30px}.lesson-card{min-height:300px}.lesson-card h2{font-size:29px}.lesson-card .lesson-outline{font-size:14px}.learning-path-banner .adult-note{margin-top:18px;padding:12px 16px}.active-path{font-size:15px;margin:18px 0 0}.active-path button{font-size:14px}.hero-actions{margin-top:24px}.mature-intro>img{width:160px;height:190px;right:26px;bottom:32px}.mature-intro>div{max-width:78%;padding-right:80px}.young{padding-bottom:48px}.young-mascot{height:55dvh}.young .bottom>.primary{margin-bottom:16px}.young-learning{padding:40px;max-width:none}.young-learning .learning-path-banner{margin-top:16px}.lesson-screen{padding:40px clamp(32px,5vw,80px) 64px}.lesson-header{gap:24px;margin-bottom:36px;padding-bottom:30px}.lesson-header h1{font-size:34px}.lesson-header .eyebrow{font-size:11px}.lesson-phase{font-size:15px}.lesson-teaching{grid-template-columns:minmax(0,1fr) minmax(0,1fr);align-items:center;gap:40px;max-width:1300px;margin:0 auto}.lesson-illustration{min-height:410px;padding:40px}.lesson-shape{width:250px;height:250px}.lesson-copy h2{font-size:34px}.lesson-copy p{font-size:21px}.worked-example{font-size:24px;padding:26px}.lesson-dots{max-width:420px;gap:24px}.lesson-dots span{font-size:62px}.lesson-practice{grid-template-columns:minmax(0,1fr) minmax(0,1fr);align-items:start;gap:40px;max-width:1300px;margin:0 auto}.lesson-question{padding:34px;min-height:320px;display:flex;flex-direction:column;justify-content:center}.lesson-question h2{font-size:32px}.lesson-choices button{min-height:94px;font-size:28px}.lesson-choices button .lesson-shape{width:94px;height:94px}.adult-note{font-size:15px;max-width:1300px;margin:0 auto 28px}.lesson-feedback h3{font-size:26px}.lesson-feedback p{font-size:19px}.lesson-with-adult .lesson-choices button{min-height:120px}nav span{font-size:11px}.lesson-header .back{width:58px;height:58px}.young-learning>.page-header h1{font-size:40px}}
@media(min-width:1180px){.mature-intro>img{width:220px;height:240px;right:32px;bottom:32px}.mature-intro>div{padding-right:120px}nav span{font-size:15px}.learning-hub .section-heading>span{max-width:none;font-size:14px}}
@media(max-width:360px){.lesson-screen{padding-left:16px;padding-right:16px}.lesson-header{gap:10px}.lesson-header h1{font-size:22px}.lesson-phase{display:none}.lesson-copy h2,.lesson-question h2{font-size:25px}.learning-path-banner{flex-direction:column;align-items:flex-start}.young .bottom{padding:16px}.hero-actions{gap:10px}.hero-actions .small{font-size:14px;padding:0 16px}.mature-intro>img{width:80px;height:100px}.learning-hub .section-heading{flex-direction:column;gap:8px}.learning-hub .section-heading>span{max-width:none}}
.study-entry{margin:24px 0}.study-entry h2{margin:12px 0 20px}.study-space-links{display:grid;grid-template-columns:repeat(3,1fr);gap:16px}.study-space-links button{display:grid;grid-template-columns:1fr auto;text-align:left;gap:9px;padding:20px;margin:0;min-height:132px;background:#f2f5ed}.study-space-links button span{grid-column:1;line-height:1.5;color:var(--muted);font-weight:400}.study-space-links button b{grid-column:2;grid-row:1/3;align-self:center}.study-switch,.study-filters{display:flex;gap:10px;flex-wrap:wrap;margin:24px 0}.study-switch button,.study-filters button{padding:12px 18px;border:1px solid var(--border);border-radius:14px;background:#fff;color:var(--ink);min-height:48px;font-weight:650}.study-switch button[aria-pressed=true],.study-filters button[aria-pressed=true]{background:var(--ink);color:#fff}.study-intro h2{font-size:clamp(28px,4vw,44px);margin:14px 0;letter-spacing:-.04em}.study-intro>p{max-width:860px;line-height:1.75}.study-totals{display:flex;gap:24px;flex-wrap:wrap;margin-top:24px}.review-note{background:#f3ecdb;border:1px solid #e8dcc2;border-radius:12px;padding:12px 16px;font-size:14px;line-height:1.6}.lesson-sources{margin:32px auto 0;max-width:1100px;border-top:1px solid var(--border);padding:20px 0;color:var(--muted);line-height:1.7}.lesson-sources summary{cursor:pointer;min-height:48px;color:var(--ink);font-weight:650}.lesson-sources a{color:#176b57;overflow-wrap:anywhere}.lesson-sources li{margin:16px 0}.lesson-sources li p{font-size:13px}.study-lessons .lesson-card h2{font-size:26px}.lesson-expression{white-space:pre-wrap;overflow-wrap:anywhere;font-size:clamp(20px,3vw,38px);line-height:1.5;max-width:100%}.lesson-copy .worked-example{white-space:pre-wrap;overflow-wrap:anywhere}.lesson-teaching>*,.lesson-practice>*{min-width:0}
@media(max-width:700px){.study-space-links{grid-template-columns:1fr}.study-space-links button{min-height:100px}.study-switch button{flex:1;padding:10px}.study-filters{gap:8px}.study-filters button{font-size:13px;padding:10px 13px}.study-totals{gap:16px;font-size:14px}.lesson-expression{font-size:23px}.lesson-illustration{padding:22px}.review-note{font-size:13px}}
.study-progress{margin-top:24px}.study-progress button{display:flex;width:100%;justify-content:space-between;padding:16px;margin:12px 0}.study-progress button span{font-variant-numeric:tabular-nums}

.school-entry,.school-orientation,.school-selector,.school-overview,.school-resources{margin-block:24px;padding:28px}.school-entry h2,.school-orientation h2{margin-block:12px}.school-cycle h3{margin:24px 0 10px}.school-selector summary,.school-resources summary{cursor:pointer;font-weight:800;min-height:48px;display:flex;align-items:center}.school-assessments{padding:24px;margin-block:24px}.school-resources article{padding-block:16px;border-bottom:1px solid #e1e7dc}.school-resources a{color:#075c48;text-decoration:underline;overflow-wrap:anywhere}.assessment-question,.assessment-result,.assessment-review>.surface-panel{padding:28px;margin-block:24px}.assessment-context{background:#edf1e7;border-radius:18px;padding:20px}.assessment-prompt,.assessment-context p,.assessment-review h2{white-space:pre-wrap;overflow-wrap:anywhere}.assessment-question .lesson-choices{margin-block:24px}.assessment-selected{background:#e2efdd!important;border:3px solid #1b5f49!important}.assessment-controls{display:flex;flex-wrap:wrap;justify-content:space-between;gap:16px}.assessment-review{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}.assessment-review>.surface-panel{min-width:0;margin:0}.assessment-review h2{font-size:1.25rem}.assessment-history{margin-block:12px}.school-hub .school-lessons{margin-block:24px}@media(max-width:700px){.assessment-review{grid-template-columns:1fr}.school-entry,.school-orientation,.school-selector,.school-overview,.school-resources,.assessment-question,.assessment-result,.assessment-review>.surface-panel{padding:20px}.assessment-screen .lesson-header h1{font-size:1.7rem}.assessment-controls>button{flex:1;min-width:120px}}

.curriculum-domains{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,240px),1fr));gap:1rem;margin:1rem 0}.curriculum-domains article{padding:1rem;border:1px solid #c7d6cb;border-radius:16px}.curriculum-domains button{display:block;width:100%;text-align:left;margin:.5rem 0;white-space:normal}.curriculum-map a,.pedagogy{overflow-wrap:anywhere}.pedagogy p{max-width:70ch;line-height:1.7}

.curriculum-domains button,.pedagogy button{min-height:44px;padding:.65rem .8rem;line-height:1.4}

.af7-tracks{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,290px),1fr));gap:1.5rem;margin:1.5rem 0}.af7-tracks article{min-width:0;border:1px solid #c7d6cb;border-radius:16px;padding:1rem}.af7-tracks ol{padding-left:1.6rem}.af7-tracks li{margin:.6rem 0}.af7-tracks button{width:100%;min-height:44px;text-align:left;white-space:normal;line-height:1.5}.af7-path>button{min-height:44px;white-space:normal}

.lesson-teaching.lesson-reading{grid-template-columns:minmax(0,1fr);max-width:78ch;margin-inline:auto}.lesson-reading .lesson-copy{width:100%;min-width:0}.lesson-reading .worked-example{line-height:1.7}

.af7-practice-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,280px),1fr));gap:1rem;margin-top:1rem}.af7-practice-grid article{padding:1rem;border:1px solid #c7d6cb;border-radius:16px;min-width:0}.af7-practice-grid button{display:block;white-space:normal;min-height:44px;width:100%;margin-top:.7rem;line-height:1.4}.af7-practice-grid [data-review-reason=errors],.af7-practice-grid [data-review-reason=due]{border-color:#2c7457;background:#f0f6eb}

/* Compact chapter introductions and equally visible independent practice units. */
.school-extension .learning-cards{align-items:stretch;margin-top:24px}
.school-extension .lesson-card{min-height:0;padding:22px;border:1px solid var(--border);border-radius:20px;background:#f5f7f0;gap:12px}
.school-extension .lesson-card h2{font-size:25px;margin:0;line-height:1.25}
.school-extension .lesson-card p{margin:0 0 8px}
.school-extension .lesson-card .primary{margin-top:auto}
.reinforcement-grid{display:grid;gap:20px;margin-top:24px}
.reinforcement-grid article{min-width:0;padding:24px;border:1px solid var(--border);border-radius:20px;background:#f5f7f0;display:flex;flex-direction:column;align-items:stretch;gap:14px}
.reinforcement-grid article h3{margin:0;font-size:24px;line-height:1.3;overflow-wrap:anywhere}
.reinforcement-grid article p{margin:0}
.reinforcement-grid article .primary{margin-top:auto}
@media(min-width:768px){.reinforcement-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(min-width:1100px){.school-extension .learning-cards{grid-template-columns:repeat(3,minmax(0,1fr))}}
.school-selector>summary::after{content:'+';margin-left:auto;padding-left:16px;font-size:24px;line-height:1}.school-selector[open]>summary::after{content:'−'}
