/* Exam PA product page (pa.html), the template for project and modelling
   exams; the CAS PCPA page loads it too. Loaded after fm.css, which
   carries every shared product-page rule (tokens, Today card, path,
   collages, score cards and their rows, instructor cards, price terms,
   checked lists, about, questions, close). This adds only the
   course-content collages (link-function table, a numerical problem and
   its flashcard, a past exam's task videos, plain lists). Every colour is a
   Clear token or an fm.css / page.css token. */

/* ── Step collages ───────────────────────────────────────────────── */
/* Learn: each link function beside its canonical distribution. */
.prod-sheet__row.pa-link { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 36px; padding: 4px 0; }
.prod-sheet__row.pa-link span:last-child { font-size: 13px; color: var(--muted-foreground); }

/* Practice: the node's counts as a two-row table, then the answer field,
   kept to the card's left so the flashcard sits on empty paper. */
.pa-node { display: grid; grid-template-columns: auto auto; justify-content: start; column-gap: 18px; row-gap: 2px; margin: 0 0 10px; padding: 7px 12px; border-radius: var(--radius-md); border: 1px solid var(--hair); font-family: var(--font-reading); font-size: 13.5px; line-height: 20px; color: var(--ink); }
.pa-node b { font-weight: 600; font-variant-numeric: tabular-nums; text-align: right; }
.pa-answer { display: flex; align-items: center; gap: 8px; width: 96px; height: 32px; padding: 0 10px; border-radius: var(--radius-lg); border: 1px solid color-mix(in srgb, var(--success) 60%, transparent); background: color-mix(in srgb, var(--success) 10%, var(--paper)); color: var(--ink); }
.pa-answer__v { font-family: var(--font-reading); font-size: 15px; font-variant-numeric: lining-nums tabular-nums; }
.pa-answer svg { width: 15px; height: 15px; margin-left: auto; fill: none; stroke: var(--success); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.pa-fcard { display: grid; row-gap: 6px; padding: 12px 14px 12px; border-radius: var(--radius-xl); }
.pa-fcard__front { font-size: 13.5px; line-height: 18px; font-weight: 650; color: var(--ink); }
.pa-fcard__back { padding-top: 7px; border-top: 1px dashed var(--edge); font-size: 12px; color: var(--ink); }

/* Past exams: the twelve tasks, six to a row, then one task's video. */
.pa-tasks { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 5px; margin-top: 14px; }
.pa-tasks i { display: flex; align-items: center; justify-content: center; height: 30px; border-radius: 7px; border: 1px solid color-mix(in srgb, var(--exams-hi) 45%, transparent); font-style: normal; font-size: 12px; font-weight: 600; color: var(--muted-foreground); }
.pa-tasks i.is-cur { border: 2px solid var(--ink); color: var(--ink); }
.pa-clip { padding: 6px 6px 10px; border-radius: var(--radius-xl); }
.pa-clip__vid { height: 74px; border-radius: 10px; }
.pa-clip__vid .play { right: 50%; width: 32px; height: 32px; margin: -20px -16px 0 0; }
.pa-clip__vid .play::after { left: 13px; top: 10px; border-width: 6px 0 6px 9px; }
.pa-clip__vid .vid__bar { left: 8px; right: 8px; bottom: 8px; height: 3px; }
.pa-clip__vid .vid__bar i { width: 22%; }
.pa-clip__vid .vid__bar i::after { display: none; }
.pa-clip__name { margin: 8px 6px 0; font-size: 13.5px; line-height: 18px; font-weight: 650; color: var(--ink); }
.pa-clip__meta { margin: 1px 6px 0; font-size: 12px; line-height: 16px; color: var(--muted-foreground); }

/* Plain lists on a card (the PCPA page's sample project). */
.pa-list-card { padding: 14px 14px 10px; border-radius: var(--radius-2xl); }
.pa-list-card--front { border-radius: var(--radius-xl); }
.pa-rows { display: grid; margin-top: 8px; }
.pa-rows li { display: flex; align-items: center; justify-content: space-between; gap: 10px; min-height: 34px; font-size: 13.5px; line-height: 18px; font-weight: 500; color: var(--ink); }
.pa-rows li + li { border-top: 1px solid var(--hair-soft); }
.pa-rows em { font-style: normal; font-size: 12px; font-weight: 400; color: var(--muted-foreground); white-space: nowrap; }
