:root{--maths-accent:#c55011;--maths-tint:#fff2e6;--maths-line:#dce4f0;--maths-surface:#fff;--maths-ink:#17274b}
.maths-hero{background:var(--navy)}.maths-hero .eyebrow{color:var(--maths-surface)}.maths-hero .hero-copy{max-width:900px}.maths-hero h1{font-size:2.65rem;letter-spacing:0}.maths-lesson-grid{grid-template-columns:minmax(0,1fr)}.maths-equation{display:flex;align-items:center;justify-content:center;gap:.8rem;flex-wrap:wrap;padding:1rem;border:1px solid var(--maths-line);border-bottom:4px solid var(--maths-accent);border-radius:8px;background:var(--maths-tint);font-size:1.55rem;font-weight:800;min-height:90px}.maths-equation>span{min-width:80px;text-align:center}.maths-operation{display:grid;gap:.5rem;margin:.9rem 0}.maths-operation button{min-height:44px;text-align:left}.maths-stage button,.maths-stage input{min-height:44px}.maths-stage .question-block input{display:block;width:180px;max-width:100%}.maths-stage .equation-steps{padding-left:1.35rem}.equation-steps li{margin:.8rem 0}.maths-worked{border-left:4px solid var(--maths-accent);padding:.6rem 1rem;background:var(--maths-tint)}.maths-stage .feedback:empty{display:none}.maths-source{display:flex;gap:.4rem 1rem;flex-wrap:wrap}.maths-tutor-note{background:var(--maths-tint);border-left:4px solid var(--maths-accent);padding:.75rem}.maths-stage h2{font-size:1.8rem;letter-spacing:0}.maths-stage legend{line-height:1.55}.maths-stage .feedback{scroll-margin-top:1rem}
@media(max-width:540px){.maths-hero h1{font-size:2rem}.maths-source{font-size:.88rem}.maths-equation{font-size:1.4rem}}
.maths-reminder{border-top:1px solid var(--maths-line);border-bottom:1px solid var(--maths-line);padding:1rem 0;margin:.75rem 0 1.25rem}.maths-reminder [aria-live]{min-height:220px}.maths-reminder h3{margin:.7rem 0}.maths-reminder .maths-equation{font-size:1.3rem;min-height:90px;overflow-wrap:anywhere}.maths-recap-transcript{margin:1rem 0}.maths-recap-transcript ol{padding-left:1.3rem}.maths-recap-transcript li{margin:.65rem 0}.maths-reminder .video-actions button{flex:1 1 100px}.maths-reminder .feedback{font-size:.88rem}
@media print{.top,.syllabus,.tutors,.footer,.stage-footer{display:none!important}body{background:var(--maths-surface);padding:0}.wrap{width:100%}.workspace,.lesson-grid{display:block}.panel{border:0;box-shadow:none}.hero{min-height:0;background:none;color:var(--maths-ink)}.hero p:not(.eyebrow),.hero .eyebrow{color:var(--maths-ink)}.hero-copy{padding:0}}
.maths-presenter{display:grid;grid-template-columns:minmax(0,1.1fr) minmax(0,1fr);gap:1rem;align-items:center;margin:0 0 1.2rem;padding:.9rem;border:1px solid var(--maths-line);border-radius:10px;background:var(--maths-tint)}
.maths-presenter-screen{position:relative;aspect-ratio:16/9;max-height:220px;border-radius:8px;background:var(--navy);display:grid;place-items:center;overflow:hidden}
.maths-presenter-eq{margin:0;font:800 1.6rem Manrope,sans-serif;color:var(--maths-surface)}
.maths-presenter-badge{position:absolute;top:.6rem;left:.6rem;margin:0;font-size:.78rem;font-weight:800;padding:.2rem .55rem;border-radius:999px;background:var(--maths-accent);color:var(--maths-surface)}
.maths-presenter h3{margin:0 0 .3rem}.maths-presenter p{margin:.2rem 0}
.maths-transcript summary{min-height:44px;display:flex;align-items:center;font-weight:700;cursor:pointer}
.maths-objectives ul{margin:.3rem 0 1rem;padding-left:1.25rem}
.maths-sheet{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:.6rem 1rem;padding:.8rem 1rem;margin:0 0 1.2rem;border-left:4px solid var(--maths-accent);background:var(--maths-surface);border-radius:6px;box-shadow:0 1px 0 var(--maths-line)}
.maths-sheet p{margin:0;flex:1 1 260px}
.maths-sheet-link{display:inline-flex;align-items:center;min-height:44px;padding:.4rem .9rem;border-radius:6px;background:var(--navy);color:var(--maths-surface);font-weight:700;text-decoration:none}
.maths-help{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:.6rem;margin-top:1rem;padding:.7rem .9rem;border:1px dashed var(--maths-accent);border-radius:8px}
.maths-help p{margin:0;flex:1 1 240px}
@media(max-width:640px){.maths-presenter{grid-template-columns:1fr}}
.maths-presenter video{width:100%;aspect-ratio:16/9;border-radius:8px;background:var(--navy);display:block}
.maths-presenter-credit{font-size:.88rem;color:var(--muted)}
.maths-transcript p{margin:.35rem 0}
