/* Previous-lesson recall stays quiet and focused, like the home screen. */
.recap-page { background: var(--paper); }
.recap-page .lesson-brand img { mix-blend-mode: multiply; }
.recap-page .lesson-top { flex-wrap: wrap; }
.recap-page .lesson-top .icon-button { flex-shrink: 0; }
.recap-page .lesson-step-label { margin-left: auto; }
.recap-page .lesson-progress { height: 5px; background: var(--surface-soft); }
.recap-main { max-width: 708px; padding-top: 42px; }
.recap-main h1 { margin: 14px 0 0; max-width: 620px; font-size: clamp(28px, 3.3vw, 37px); line-height: 1.2; letter-spacing: -1.25px; }
.recap-main .eyebrow { font-size: 10px; line-height: 1.7; letter-spacing: 1.8px; font-weight: 650; color: var(--muted); }
.recap-lead { margin-top: 18px; max-width: 570px; color: var(--muted); font-size: 15px; line-height: 1.9; }
.recap-main .button-primary { min-height: 54px; border-radius: 15px; box-shadow: none; font-size: 15px; }
.recap-main .button-primary:hover:not(:disabled) { box-shadow: none; background: var(--ink-soft); }
.recap-main .button-primary:disabled { background: var(--surface-soft); }
.recap-topic { display: flex; align-items: flex-start; gap: 17px; margin: 30px 0 25px; padding: 25px; background: var(--cream); border-radius: 22px; }
.recap-topic-icon { display: grid; place-items: center; width: 38px; height: 38px; flex: 0 0 38px; color: var(--ink); }
.recap-topic-icon .icon { width: 27px; height: 27px; }
.recap-topic > div { min-width: 0; }
.recap-topic > div > span { color: var(--muted); font-size: 11px; }
.recap-topic h2 { margin: 6px 0 7px; font-size: 20px; line-height: 1.4; letter-spacing: -.55px; overflow-wrap: anywhere; }
.recap-topic p { color: var(--muted); font-size: 13px; }
.recap-steps { list-style: none; padding: 0; margin: 0 0 25px; }
.recap-steps li { display: flex; align-items: center; gap: 17px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.recap-steps li > span { display: grid; place-items: center; width: 30px; height: 30px; flex: 0 0 30px; font-size: 12px; color: var(--muted); border: 1px solid var(--line-strong); border-radius: 50%; }
.recap-steps strong { font-size: 15px; font-weight: 650; }
.recap-steps p { margin-top: 3px; font-size: 13px; color: var(--muted); }
.recap-reassurance { margin: 20px 0; color: var(--muted); font-size: 13px; line-height: 1.9; }
.recap-upcoming { margin: 18px auto 0; max-width: 480px; text-align: center; color: var(--muted); font-size: 12px; line-height: 1.8; overflow-wrap: anywhere; }
.recap-upcoming strong { font-weight: 500; }
.recap-question-heading { display: flex; justify-content: space-between; align-items: center; gap: 15px; }
.recap-question-heading > span:last-child { color: var(--muted); font-size: 12px; white-space: nowrap; }
.recap-source-title { margin: 15px 0 0; color: var(--muted); font-size: 12px; line-height: 1.9; overflow-wrap: anywhere; }
.recap-question h1 { margin-top: 20px; font-size: clamp(24px, 2.8vw, 32px); line-height: 1.45; white-space: pre-line; overflow-wrap: anywhere; }
.recap-options { grid-template-columns: minmax(0, 1fr); gap: 12px; }
.recap-options .answer-option { min-height: 65px; padding: 16px 19px; background: var(--white); border: 1px solid var(--line); border-radius: 16px; font-size: 16px; font-weight: 550; box-shadow: none; }
.recap-options .answer-option:hover:not(:disabled) { background: var(--surface-soft); border-color: var(--line-strong); box-shadow: none; transform: none; }
.recap-options .answer-option.is-selected { background: var(--cream); border-color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); }
.recap-options .answer-option.is-correct { background: var(--success-soft); border-color: var(--success); box-shadow: none; }
.recap-options .answer-option.is-wrong { background: var(--error-soft); border-color: var(--error); box-shadow: none; }
.recap-options .answer-letter { width: 28px; height: 28px; flex-basis: 28px; border-radius: 50%; }
.recap-feedback, .recap-repair-note { display: flex; align-items: flex-start; gap: 12px; padding: 20px 0; margin-bottom: 18px; border-top: 1px solid var(--line); }
.recap-feedback > span { padding-top: 3px; color: var(--success); }
.recap-feedback > div, .recap-repair-note > div { min-width: 0; }
.recap-feedback strong, .recap-repair-note strong { font-size: 14px; font-weight: 650; }
.recap-feedback p, .recap-repair-note p { margin-top: 7px; color: var(--muted); font-size: 14px; line-height: 1.9; white-space: pre-line; overflow-wrap: anywhere; }
.recap-help, .recap-pause { display: flex; align-items: center; justify-content: center; min-height: 44px; margin: 12px auto 0; gap: 8px; color: var(--muted); font-size: 13px; }
.recap-help .icon { width: 17px; height: 17px; }
.recap-repair-note { margin: 23px 0 0; padding-bottom: 5px; border-top: 0; }
.recap-repair-note > .icon { margin-top: 3px; color: var(--ink-soft); }
.recap-theory { margin: 24px 0 18px; padding: 25px; border-radius: 22px; background: var(--cream); }
.recap-theory h2 { margin: 11px 0 12px; font-size: 20px; line-height: 1.45; letter-spacing: -.5px; }
.recap-theory > p { color: var(--ink-soft); font-size: 15px; line-height: 1.95; white-space: pre-line; overflow-wrap: anywhere; }
.recap-theory .formula { padding: 15px 0 0; border-top: 1px solid var(--line-strong); border-radius: 0; font-size: 19px; white-space: pre-line; }
.recap-example { margin: 24px 0; }
.recap-example > p { margin-top: 11px; font-size: 15px; color: var(--ink-soft); line-height: 1.95; white-space: pre-line; overflow-wrap: anywhere; }
.recap-details { margin: 26px 0; }
.recap-ready-check { display: grid; place-items: center; margin-bottom: 25px; width: 53px; height: 53px; border-radius: 50%; background: var(--cream); }
.recap-ready-check .icon { width: 26px; height: 26px; }
.recap-page .lesson-footer { border-top: 1px solid var(--line); }
.recap-unavailable .button { margin-top: 25px; }

@media (max-width: 640px) {
  .recap-main { padding: 28px 23px 35px; }
  .recap-main h1 { font-size: 29px; letter-spacing: -1px; }
  .recap-question h1 { font-size: 25px; letter-spacing: -.55px; }
  .recap-lead { font-size: 14px; line-height: 1.85; }
  .recap-topic { gap: 12px; padding: 20px; border-radius: 20px; }
  .recap-topic h2 { font-size: 18px; }
  .recap-topic-icon { width: 28px; flex-basis: 28px; }
  .recap-topic-icon .icon { width: 24px; height: 24px; }
  .recap-theory { padding: 21px; }
  .recap-options .answer-option { padding: 15px; font-size: 15px; }
  .recap-page .lesson-footer { padding: 20px 23px calc(20px + env(safe-area-inset-bottom)); }
  .recap-page .lesson-footer > span:last-child { display: none; }
}

@media (max-width: 360px) {
  .recap-page .lesson-brand { font-size: 22px; margin-left: 0; gap: 5px; }
  .recap-page .lesson-brand img { width: 32px; height: 32px; }
  .recap-page .lesson-step-label { font-size: 10px; }
  .recap-main { padding-left: 18px; padding-right: 18px; }
  .recap-main h1 { font-size: 27px; }
  .recap-question h1 { font-size: 23px; }
}

@media (prefers-reduced-motion: reduce) {
  .recap-page *, .recap-page *::before, .recap-page *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
