/* Exam EA-1 product page (ea1.html), the template for the Enrolled
   Actuary exams (EA-1, EA-2F, EA-2L). Loaded after fm.css, which carries
   every shared product-page rule (tokens, Today card, path, collages,
   score tiles, meters and rows, instructor cards, price terms, checked
   lists, about, questions, close). EA 1 is in Clear, so the hero, the
   exam-day step and the scores are FM's own. This adds only what EA-1
   draws differently: the answer-range problem, the points-by-section
   chart, the video credit and the registration note. Every colour is a
   Clear token or an fm.css / page.css token. */

/* ── Hero ─────────────────────────────────────────────────────────── */
/* "EA-1" never breaks at its hyphen: in the counts' label the no-break
   span must stay inline (fm.css makes every span there a block). */
.nums span .nw { display: inline; margin-top: 0; font-size: inherit; line-height: inherit; }

/* ── Step collages ───────────────────────────────────────────────── */
/* Practice: EA-1 answers are ranges, so the five choices stack, each only
   as wide as its words (the AI Score tile sits on the paper beside the
   short last one). */
.ea-ranges { display: grid; justify-items: start; row-gap: 3px; }
.ea-ranges li { display: inline-flex; align-items: center; gap: 9px; height: 24px; padding: 0 10px; border-radius: var(--radius-lg); border: 1px solid var(--hair); background: var(--paper); font-family: var(--font-reading); font-size: 13.5px; color: var(--ink); white-space: nowrap; font-variant-numeric: lining-nums; }
.ea-ranges b { font-family: var(--font-sans); font-size: 11.5px; font-weight: 650; color: var(--muted-foreground); }
.ea-ranges li.is-correct { border-color: color-mix(in srgb, var(--success) 60%, transparent); background: color-mix(in srgb, var(--success) 10%, var(--paper)); }
.ea-ranges li.is-correct b { color: var(--success); }
.ea-ranges svg { width: 14px; height: 14px; fill: none; stroke: var(--success); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }

/* ── 5 · Instructor ─────────────────────────────────────────────── */
/* A note under the exchange (EA-2F's older video lessons). */
.ea-aside { margin-top: 32px; max-width: 34em; padding-top: 18px; border-top: 1px solid var(--rule); font-size: 16px; line-height: 1.55; color: var(--muted-foreground); text-wrap: pretty; }

/* ── 6 · About ───────────────────────────────────────────────────── */
.ea-reg { margin-top: 12px; font-size: 15px; line-height: 22px; color: var(--muted-foreground); }
.ea-note { margin-top: 8px; max-width: 40em; font-size: 16px; line-height: 1.5; color: var(--muted-foreground); text-wrap: pretty; }

/* The syllabus's two parts as FM's part cards, side by side (fm.css's
   .parts--2): each part's share of the points under its name, then the
   course's sections with their share of the points on the 2020 to 2025
   exams, as numbers (no bars, as on every product page since 2026-11-08);
   below 860 px the cards stack. */
.ea-parts .part { grid-template-rows: auto auto 1fr; }
.ea-secs { grid-column: 1 / -1; grid-row: 3; display: grid; row-gap: 12px; align-content: start; margin-top: 20px; }
.ea-secs li { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; column-gap: 14px; font-size: 15px; line-height: 20px; color: var(--card-foreground); }
.ea-secs__pct { text-align: right; font-weight: 650; color: var(--ink); font-variant-numeric: tabular-nums; }

/* ── Responsive ──────────────────────────────────────────────────── */
@media (max-width: 860px) {
  .parts.ea-parts { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 600px) {
  .ea-secs li { column-gap: 10px; font-size: 14.5px; }
  .ea-aside { font-size: 15px; }
}
