/*
 * Learn lane: free check, question card and answer, result, practice, my exams, reports. Phone first (360px).
 * Tokens and the bubble component come from brand.css and app.css (docs/DESIGN.md). Status colours only for
 * readiness and right; a wrong answer is graphite with a cross, never red.
 */
.pc-learn { max-width: 36rem; margin: 0 auto; font-size: 18px; line-height: 1.5; color: var(--ink); }
.pc-learn-page { background: var(--page); }
.pc-learn p, .pc-learn li { font-size: 18px; }
.pc-learn h1, .pc-title { font-size: 28px; line-height: 1.2; font-weight: 800; letter-spacing: -0.02em; margin: 0.25rem 0 1rem; }
.pc-learn h2 { font-size: 22px; line-height: 1.3; font-weight: 800; margin: 1.75rem 0 0.5rem; }
.pc-learn .muted { color: var(--ink-muted); }
.pc-learn .small { font-size: 16px; }
.pc-lead { color: var(--ink); }
.pc-learn a:not(.button) { color: var(--form); }

/* Buttons: main full width, 56px; every tap target at least 48px. */
.pc-learn .button { min-height: 48px; border-radius: var(--radius); font-size: 18px; }
.pc-main, .pc-wide { display: flex; width: 100%; justify-content: center; align-items: center; text-align: center; }
.pc-main { min-height: 60px; font-weight: 800; }
.pc-learn .button + .button, .pc-learn .button + form, .pc-learn form + .button { margin-top: 0.75rem; }
.pc-quiet-form { margin-top: 0.75rem; }
.pc-quiet-form .button-link { min-height: 48px; }

/* Top of a question: exam, where you are, the row of bubbles. */
.pc-top { margin-bottom: 0.9rem; }
.pc-top-exam { font-size: 16px !important; font-weight: 700; color: var(--ink-muted); margin: 0 0 0.2rem; }
.pc-learn .pc-top-exam a { color: var(--ink-muted); text-decoration: none; }
.pc-learn .pc-top-exam a:hover { color: var(--form); text-decoration: underline; }
.pc-progress-text { margin: 0 0 0.5rem; font-weight: 800; font-variant-numeric: tabular-nums; }
.pc-focus { font-size: 16px !important; margin: 0.5rem 0 0; }
/* A check's questions as an answer sheet: rows of ten. */
.pc-sheet-row { display: grid; grid-template-columns: repeat(10, max-content); gap: 0.35rem 0.4rem; }

/* Question language: folded to one line above the question; open, the languages in their own words. */
.pc-langs { margin: 0 0 0.9rem; }
.pc-langs > summary {
  list-style: none; display: inline-flex; align-items: center; gap: 0.45rem; min-height: 48px; padding: 0 0.85rem;
  border: 1px solid var(--border); border-radius: var(--radius-pill); background: var(--surface);
  font-size: 16px; font-weight: 700; color: var(--ink); cursor: pointer;
}
.pc-langs > summary::-webkit-details-marker { display: none; }
.pc-langs > summary:hover { border-color: var(--form-line); }
.pc-langs[open] > summary { border-color: var(--form); background: var(--form-tint); }
.pc-langs[open] .drop-caret { transform: rotate(180deg); }
.pc-langs-panel { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 0.6rem; }
.pc-lang {
  min-height: 48px; min-width: 48px; padding: 0 1rem; border-radius: var(--radius-pill); font: inherit; font-size: 17px;
  border: 1.5px solid var(--form-line); background: var(--surface); color: var(--ink); cursor: pointer; font-weight: 600;
}
.pc-lang:hover { border-color: var(--pencil); }
.pc-lang-current { border-color: var(--pencil); background: var(--pencil); color: #fff; font-weight: 800; }

/* The question sheet. */
.pc-card {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow);
  padding: 1.25rem 1rem; margin-bottom: 1rem;
}
.pc-note {
  background: var(--form-tint); color: var(--ink); border-radius: var(--radius-small); padding: 0.6rem 0.8rem;
  font-size: 16px !important; margin: 0 0 1rem;
}
.pc-learn .pc-stem { font-size: 23px; line-height: 1.35; font-weight: 800; letter-spacing: -0.01em; margin: 0 0 1.1rem; }
.pc-choices { display: grid; gap: 0.7rem; margin: 0; padding: 0; list-style: none; }
.pc-choice {
  display: flex; align-items: flex-start; gap: 0.85rem; width: 100%; min-height: 60px; padding: 0.75rem 0.9rem;
  border: 2px solid var(--border); border-radius: var(--radius); background: var(--surface);
  color: var(--ink); font: inherit; font-size: 18px; text-align: left; cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  transition: border-color 0.15s, background-color 0.15s, transform 0.12s var(--ease-out);
}
.pc-choice .pc-letter { transition: background-color 0.18s var(--ease-out), border-color 0.18s, color 0.18s, transform 0.25s var(--ease-out); }
button.pc-choice:hover { border-color: var(--form-line); }
button.pc-choice:hover .pc-letter { border-color: var(--pencil); }
button.pc-choice:focus-visible { outline: 3px solid var(--form); outline-offset: 2px; }
button.pc-choice:active { transform: scale(0.99); }
/* The tap: the bubble fills with pencil at once (learn.js), before the page answers. */
button.pc-choice.is-picked { border-color: var(--pencil); background: #f6f7f6; }
button.pc-choice.is-picked .pc-letter { background: var(--pencil); border-color: var(--pencil); color: #fff; transform: scale(1.06); }
.pc-choice-text { flex: 1; padding-top: 0.3rem; }
.pc-pick { margin: 0; font-weight: 700; }
.pc-choices-multi label.pc-choice { cursor: pointer; align-items: center; }
.pc-tick { width: 1.4rem; height: 1.4rem; flex: none; margin: 0; accent-color: var(--pencil); }
.pc-choices-multi label.pc-choice:has(.pc-tick:checked) { border-color: var(--pencil); background: #f6f7f6; }
.pc-check { justify-self: start; }
.pc-choices-done .pc-choice { cursor: default; flex-wrap: wrap; }
.pc-choice-right { border-color: var(--good); background: var(--good-bg); }
.pc-choice-right .pc-letter { background: var(--good); border-color: var(--good); color: #fff; }
.pc-choice-wrong { border-color: var(--pencil); background: #f3f4f3; }
.pc-choice-wrong .pc-letter { background: var(--pencil); border-color: var(--pencil); color: #fff; }
.pc-tag { flex-basis: 100%; display: flex; align-items: center; gap: 0.4rem; padding-left: 3.1rem; font-size: 16px; font-weight: 800; }
.pc-choice-right .pc-tag { color: var(--good); }
.pc-choice-wrong .pc-tag { color: var(--ink); }

/* The answer. */
.pc-reveal { margin-top: 1.25rem; }
.pc-verdict {
  display: flex; align-items: center; gap: 0.6rem; font-size: 21px !important; font-weight: 800;
  margin: 0 0 0.75rem; line-height: 1.3;
}
.pc-verdict .bub { --bub: 1.75rem; }
.pc-verdict-right { color: var(--good); }
.pc-verdict-wrong { color: var(--ink); }
.pc-explanation { margin: 0 0 0.75rem; }
.pc-more { border-top: 1px solid var(--form-rule); }
.pc-more:last-child { border-bottom: 1px solid var(--form-rule); }
.pc-more summary {
  display: flex; align-items: center; gap: 0.6rem; min-height: 52px; cursor: pointer; color: var(--form); font-weight: 800;
  list-style: none;
}
.pc-more summary::-webkit-details-marker { display: none; }
.pc-more summary::before {
  content: ""; flex: none; width: 1.25rem; height: 1.25rem; border-radius: 50%; border: 2px solid var(--form-line);
  background: linear-gradient(var(--form), var(--form)) center / 0.6rem 2px no-repeat,
              linear-gradient(var(--form), var(--form)) center / 2px 0.6rem no-repeat;
}
.pc-more[open] summary::before { background: linear-gradient(var(--form), var(--form)) center / 0.6rem 2px no-repeat; }
.pc-more p { margin: 0 0 0.9rem; }

/* Read it to me (shown by learn.js only when the phone has a voice for the language). */
.pc-listen { display: flex; flex-wrap: wrap; align-items: center; gap: 0.25rem 0.75rem; margin: 1rem 0; }
.pc-listen[hidden] { display: none; }
.pc-listen-button {
  min-height: 48px; padding: 0 1rem; border-radius: var(--radius-pill); border: 2px solid var(--pencil);
  background: var(--surface); color: var(--ink); font: inherit; font-size: 17px; font-weight: 800; cursor: pointer;
}
.pc-listen-button:hover { background: var(--form-tint); }
.pc-listen-button[aria-pressed="true"] { background: var(--pencil); color: #fff; }
.pc-listen-note { font-size: 16px; color: var(--ink-muted); }

/* The rule: the exact words, set off by a hairline like a quotation from the code book. */
.pc-rule { margin: 1.1rem 0; padding: 1rem 0 0; border-top: 1px solid var(--form-rule); }
.pc-rule-head { margin: 0 0 0.5rem; }
.pc-rule-chip { display: inline; font-size: 16px; font-weight: 800; color: var(--form); }
.pc-rule-quote { margin: 0; padding: 0; border: 0; }
.pc-rule-quote p { margin: 0; font-size: 19px !important; line-height: 1.5; }
.pc-gloss { border-top: 1px dashed var(--form-rule); margin-top: 0.75rem; padding-top: 0.75rem; }
.pc-gloss-label { font-size: 16px !important; color: var(--ink-muted); margin: 0 0 0.25rem; font-weight: 700; }
.pc-gloss-text { margin: 0; }
.pc-gloss-first { border-top: 0; margin-top: 0; padding-top: 0; }
.pc-gloss-first .pc-gloss-text { font-size: 19px; line-height: 1.5; }
.pc-rule-en { margin-top: 0.5rem; }
.pc-rule-en > summary { display: flex; align-items: center; min-height: 48px; font-size: 16px; font-weight: 700; color: var(--form); cursor: pointer; }
.pc-rule-meta { display: flex; flex-wrap: wrap; gap: 0.1rem 1rem; align-items: center; margin-top: 0.75rem; font-size: 16px; color: var(--ink-muted); }
.pc-rule-meta a { display: inline-flex; align-items: center; min-height: 48px; font-weight: 700; }
.pc-rule-general p { margin: 0; }
.pc-rule-checks { margin: 0.5rem 0 0; font-size: 16px; color: var(--ink-muted); }

.pc-next { margin-top: 1.25rem; }
.pc-card-foot { display: flex; flex-direction: column; gap: 0.1rem; margin: 1.25rem 0 0; padding-top: 0.75rem; border-top: 1px solid var(--form-rule); font-size: 16px !important; }
.pc-area-note { font-weight: 700; color: var(--form); }
.pc-report-link { display: inline-flex; align-items: center; min-height: 48px; }
.pc-machine-note { color: var(--ink-muted); font-size: 16px; }
.pc-saved, .pc-after-note { font-size: 16px !important; }
.pc-after { margin: 0; }

/* Today's goal met: the one moment that gets motion. The ten bubbles fill in order. */
.pc-goal-done { margin: 0 0 1rem; background: var(--form-tint); border-color: var(--form-rule); }
.pc-learn .pc-goal-title { font-size: 22px; margin: 0 0 0.6rem; }
.pc-goal-done .bub-row { gap: 0.4rem; }
.pc-goal-done .bub { --bub: 1.5rem; animation: bub-fill 0.45s var(--ease-out) both; }
.pc-goal-done .bub:nth-child(2) { animation-delay: 0.05s; }
.pc-goal-done .bub:nth-child(3) { animation-delay: 0.1s; }
.pc-goal-done .bub:nth-child(4) { animation-delay: 0.15s; }
.pc-goal-done .bub:nth-child(5) { animation-delay: 0.2s; }
.pc-goal-done .bub:nth-child(6) { animation-delay: 0.25s; }
.pc-goal-done .bub:nth-child(7) { animation-delay: 0.3s; }
.pc-goal-done .bub:nth-child(8) { animation-delay: 0.35s; }
.pc-goal-done .bub:nth-child(9) { animation-delay: 0.4s; }
.pc-goal-done .bub:nth-child(10) { animation-delay: 0.45s; }
.pc-goal-line { margin: 0.6rem 0 0; }
.pc-goal-change { margin: 0.75rem 0 0; font-weight: 800; color: var(--good); }

/* Readiness: score and status word. */
.pc-score { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow); padding: 1.25rem 1rem; }
.pc-learn .pc-score-title { font-size: 18px; font-weight: 700; margin: 0 0 0.25rem; color: var(--ink-muted); }
.pc-score-line { display: flex; flex-wrap: wrap; align-items: baseline; gap: 0.25rem 0.6rem; margin: 0 0 0.6rem; }
.pc-score-number { font-size: 72px; font-weight: 800; line-height: 0.95; letter-spacing: -0.04em; font-variant-numeric: tabular-nums; }
.pc-score-out { font-size: 22px; color: var(--ink-muted); font-weight: 700; }
.pc-status {
  display: inline-flex; align-items: center; border-radius: var(--radius-pill); padding: 0.15rem 0.85rem; font-weight: 800; font-size: 18px;
  white-space: nowrap; align-self: center;
}
.pc-status-ready { color: #fff; background: var(--good); }
.pc-status-close { color: var(--warn); background: var(--warn-bg); }
.pc-status-notyet, .pc-status-new { color: var(--slate); background: var(--slate-bg); }
.pc-score-right, .pc-mark, .pc-estimate, .pc-status-says { margin: 0.25rem 0; }
.pc-estimate { color: var(--ink-muted); }
.pc-estimate-number { font-weight: 700; color: var(--ink); }
.pc-mark { color: var(--ink-muted); }

/* The free check's Readiness Report: one score and its gap, the parts, what Ready takes, the pass; one phone screen
   (390 x 844, under the header) down to the buy button. */
.pc-report { padding: 0.75rem 0.9rem 0.7rem; }
.pc-top-exam + .pc-report { margin-top: 0.4rem; }
.pc-learn .pc-report .pc-score-title { font-size: 16px; margin: 0; }
.pc-report .pc-score-line { margin: 0; gap: 0.1rem 0.6rem; }
.pc-report .pc-score-number { font-size: 48px; }
.pc-score-of { font-size: 17px; font-weight: 700; color: var(--ink-muted); }
.pc-gap { margin: 0.1rem 0 0.5rem; font-weight: 800; line-height: 1.3; }
.pc-gap-short { color: var(--slate); }
.pc-gap-met { color: var(--good); }
.pc-learn .pc-parts-title { font-size: 15px; font-weight: 700; color: var(--ink-muted); margin: 0 0 0.3rem; }
.pc-part-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.35rem; }
.pc-part-row { border: 1px solid var(--form-rule); border-radius: var(--radius-small); padding: 0.35rem 0.65rem 0.3rem; }
.pc-part-row .pc-area-head { margin: 0 0 0.2rem; font-size: 16px; line-height: 1.25; }
.pc-part-row .pc-bar { height: 10px; }
.pc-part-row .pc-area-meta { margin: 0.1rem 0 0; font-size: 15px !important; line-height: 1.3; }
.pc-part-row .pc-first { min-height: 0; padding: 0.2rem 0; }
.pc-part-row.pc-area-first { box-shadow: 0 0 0 3px var(--mark-soft); }
.pc-to-ready { margin: 0.6rem 0 0; }
.pc-learn .pc-to-ready-line { font-size: 17px; line-height: 1.3; margin: 0; font-weight: 700; text-wrap: pretty; }
.pc-to-ready-line strong { font-size: 22px; font-weight: 800; }
.pc-method { margin: 0.15rem 0 0; font-size: 14px; line-height: 1.4; color: var(--ink-muted); }
.pc-method summary { cursor: pointer; color: var(--form); font-weight: 700; min-height: 32px; display: inline-flex; align-items: center; }
.pc-method p { margin: 0.2rem 0 0; font-size: 14px !important; }
.pc-to-ready + .pc-actions { margin-top: 0.6rem; }

/* My exams: the Ready meter leads each exam. */
.pc-meter { margin: 0 0 1rem; }
.pc-meter .pc-bar { height: 14px; margin: 0.5rem 0 0.2rem; }
.pc-meter-scale { display: flex; justify-content: space-between; font-size: 14px !important; color: var(--ink-muted); margin: 0; }
.pc-meter-gap { margin: 0.35rem 0 0; font-weight: 800; }
.pc-meter .pc-method { margin-top: 0.25rem; font-size: 14px !important; }
.pc-meter + .pc-road { margin-bottom: 1rem; }

/* Areas, weakest first. */
.pc-areas-key { font-size: 16px !important; margin-top: 0; }
.pc-area-list { list-style: none; margin: 0 0 0.75rem; padding: 0; display: grid; gap: 0.75rem; }
.pc-area-row { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 0.85rem 1rem; }
.pc-area-first { border: 2px solid var(--pencil); box-shadow: 0 0 0 4px var(--mark-soft); }
.pc-area-head { display: flex; justify-content: space-between; gap: 1rem; margin: 0 0 0.45rem; font-weight: 800; }
.pc-area-pct { font-variant-numeric: tabular-nums; }
.pc-area-meta { margin: 0.45rem 0 0; font-size: 16px !important; color: var(--ink-muted); }
.pc-first { font-weight: 800; display: inline-flex; align-items: center; min-height: 48px; }
.pc-bar { display: block; width: 100%; height: 12px; }
.pc-bar-track { fill: var(--form-tint); stroke: var(--form-rule); stroke-width: 0.3; }
.pc-bar-good { fill: var(--good); }
.pc-bar-near { fill: #b7791f; }
.pc-bar-low { fill: var(--slate); }
.pc-bar-mark { fill: var(--pencil); }

/* Actions: one main, two quiet. */
.pc-actions { display: grid; gap: 0.75rem; margin: 1.5rem 0 1rem; }
.pc-actions .button + .button { margin-top: 0; }
.pc-buy { flex-direction: column; padding-top: 0.65rem; padding-bottom: 0.65rem; }
.pc-buy-main { font-size: 18px; font-weight: 800; }
.pc-buy-sub { font-size: 16px; font-weight: 500; opacity: 0.86; }
.pc-share { display: flex; justify-content: center; align-items: center; min-height: 48px; font-weight: 800; }
.pc-free-practice { text-align: center; }
.pc-free-practice a { display: inline-flex; align-items: center; min-height: 48px; }
/* Under the learn-first line: the recap and the pass as plain links under the free-practice button. */
.pc-learn-first-recap, .pc-buy-quiet { text-align: center; margin: 0.25rem 0 0; }
.pc-learn-first-recap a, .pc-buy-quiet a { display: inline-flex; align-items: center; min-height: 48px; }

/* Look over your answers. */
.pc-review { margin: 1.5rem 0; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 0 1rem; }
.pc-review summary { min-height: 52px; display: flex; align-items: center; cursor: pointer; font-weight: 800; color: var(--form); }
.pc-review-list { list-style: none; margin: 0 0 1rem; padding: 0; }
.pc-review-list a { display: flex; gap: 0.75rem; align-items: flex-start; min-height: 48px; padding: 0.6rem 0; color: var(--ink); text-decoration: none; border-top: 1px solid var(--form-rule); }
.pc-review-mark { flex: none; font-size: 16px; font-weight: 800; border-radius: var(--radius-pill); padding: 0 0.6rem; }
.pc-review-right { color: var(--good); background: var(--good-bg); }
.pc-review-wrong { color: var(--ink); background: #eceeed; }

/* Start screen, paywall, panels. */
.pc-facts { list-style: none; margin: 0 0 1.25rem; padding: 0; display: grid; gap: 0.6rem; }
.pc-facts li { display: flex; gap: 0.65rem; align-items: flex-start; margin: 0; }
.pc-facts li .bub { margin-top: 0.2rem; }
.pc-panel { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow); padding: 1.25rem 1rem; margin-bottom: 1rem; }
.pc-start-form { margin: 1.25rem 0 1rem; }
.pc-last a, .pc-panel p a { display: inline-flex; align-items: center; min-height: 48px; }
.pc-real-language { font-size: 16px !important; margin-top: 1.5rem; }
.pc-mini-score { display: flex; flex-wrap: wrap; align-items: center; gap: 0.5rem; }
.pc-paywall-goal { margin: 0 0 1rem; }
.pc-paywall-goal .bub { --bub: 1.5rem; }

/* My exams. */
.pc-save { margin: 1.25rem 0 0; padding-top: 0.9rem; border-top: 1px solid var(--form-rule); }
.pc-save p { margin: 0 0 0.25rem; font-size: 16px !important; color: var(--ink-muted); }
.pc-save-link { display: inline-flex; align-items: center; min-height: 48px; font-weight: 800; }
.pc-learn .pc-empty h2 { margin-top: 0; }
.pc-week { margin: 1rem 0 0; }
.pc-streak { margin: 0; font-size: 16px !important; font-weight: 700; color: var(--form); text-align: right; }
.pc-exam-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 1rem; }
.pc-exam-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 0.25rem 0.75rem; margin-bottom: 0.5rem; }
.pc-learn .pc-exam-title { font-size: 21px; margin: 0; }
.pc-pass-badge { font-size: 16px; font-weight: 800; color: var(--form); border: 1.5px solid var(--form); border-radius: var(--radius-pill); padding: 0 0.6rem; white-space: nowrap; }
.pc-exam-status { margin: 0 0 0.9rem; }
.pc-scoreline { display: flex; flex-wrap: wrap; align-items: center; gap: 0.35rem 0.6rem; margin: 0; }
.pc-exam-score { display: inline-flex; align-items: baseline; gap: 0.3rem; }
.pc-exam-score strong { font-size: 44px; font-weight: 800; line-height: 1; letter-spacing: -0.03em; }
.pc-out { color: var(--ink-muted); font-weight: 700; }
.pc-change { font-size: 16px; font-weight: 800; color: var(--good); background: var(--good-bg); border-radius: var(--radius-pill); padding: 0.05rem 0.6rem; white-space: nowrap; }
.pc-score-caption { margin: 0.2rem 0 0; font-size: 16px !important; color: var(--ink-muted); }
.pc-today { padding: 0.85rem 0; border-top: 1px solid var(--form-rule); border-bottom: 1px solid var(--form-rule); margin-bottom: 1rem; }
.pc-today-head { display: flex; justify-content: space-between; gap: 0.75rem; margin: 0 0 0.5rem; font-size: 17px !important; }
.pc-today-head span { color: var(--ink-muted); font-weight: 700; }
.goal-row { display: flex; flex-wrap: wrap; align-items: center; gap: 0.4rem 0.6rem; }
.goal-row .bub-row { gap: 0.35rem; }
.goal-row .bub { --bub: 1.375rem; }
.goal-extra { font-size: 16px; font-weight: 800; color: var(--form); }
.pc-top .goal-row { margin-top: 0.1rem; }
.pc-top .goal-row .bub { --bub: 1.25rem; }
.pc-step { margin-bottom: 1.25rem; }
.pc-done-line { font-weight: 700; margin: 0 0 0.75rem; }
.pc-road, .pc-road-sheet { margin: 0 0 1rem; }
.pc-road-sheet { margin-top: 1.5rem; }
.pc-learn .pc-road-title { display: flex; justify-content: space-between; align-items: baseline; gap: 0.75rem; font-size: 18px; margin: 0 0 0.9rem; }
.pc-road-count { font-size: 16px; font-weight: 700; color: var(--ink-muted); white-space: nowrap; }
.pc-exam-facts { margin: 0; padding-top: 0.5rem; border-top: 1px solid var(--form-rule); }
.pc-exam-facts div { display: flex; gap: 0.5rem; justify-content: space-between; padding: 0.35rem 0; font-size: 16px; }
.pc-exam-facts dt { color: var(--ink-muted); }
.pc-exam-facts dd { margin: 0; font-weight: 700; text-align: right; }
.pc-also { display: flex; justify-content: center; align-items: center; min-height: 48px; margin-top: 0.35rem; font-weight: 700; }
.pc-ready-line { color: var(--good); font-weight: 800; }

/* Report form. */
.pc-report-stem { margin: 0 0 1rem; padding: 0.75rem 1rem; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-small); }
.pc-report-stem p { margin: 0; }
.pc-warning { background: var(--warn-bg); color: var(--ink); border-radius: var(--radius-small); padding: 0.75rem 1rem; }
.pc-fieldset { border: 0; margin: 0 0 1.25rem; padding: 0; }
.pc-fieldset legend { font-weight: 800; margin-bottom: 0.5rem; }
.pc-radio {
  display: flex; align-items: center; gap: 0.75rem; min-height: 52px; padding: 0.4rem 0.85rem; margin-bottom: 0.5rem;
  background: var(--surface); border: 1.5px solid var(--border); border-radius: var(--radius); cursor: pointer;
}
.pc-radio:hover { border-color: var(--form-line); }
.pc-radio input { width: 1.4rem; height: 1.4rem; flex: none; accent-color: var(--pencil); }
.pc-report-form textarea, .pc-report-form input[type="text"] { width: 100%; font: inherit; font-size: 18px; min-height: 48px; }

@media (min-width: 48rem) {
  .pc-card { padding: 1.5rem; }
}
.pc-learn .sheet-title { margin: 0; font-size: 18px; }

/* Ready: the road's five bubbles fill in order, once, the day it happens. */
.pc-road-ready { border-color: var(--good); box-shadow: 0 0 0 5px var(--good-bg); }
.pc-road-ready .road-stop .bub { animation: bub-fill 0.5s var(--ease-out) both; }
.pc-road-ready .road-stop:nth-child(2) .bub { animation-delay: 0.12s; }
.pc-road-ready .road-stop:nth-child(3) .bub { animation-delay: 0.24s; }
.pc-road-ready .road-stop:nth-child(4) .bub { animation-delay: 0.36s; }
.pc-road-ready .road-stop:nth-child(5) .bub { animation-delay: 0.48s; }
.pc-top-exam + .pc-score, .pc-top-exam + .alert { margin-top: 0.6rem; }
.pc-check-marks { margin: 0.35rem 0 0.75rem; }
.pc-learn .pc-stem { text-wrap: pretty; }
/* A long exam name wraps on a phone; on one line it ran past a 390px screen (Gemini round 3, SIG-453). */
.pc-top-line { overflow-wrap: anywhere; }

/* The 2-minute recap (SIG-395 round 3): takeaways with their rule, "start here tonight", "tonight, study". */
.pc-recap-list { list-style: none; margin: 1rem 0; padding: 0; display: grid; gap: 0.75rem; }
.pc-recap-item { margin: 0; }
.pc-recap-takeaway { margin: 0; font-size: 19px; font-weight: 700; line-height: 1.45; }
.pc-recap-item .pc-rule { margin-bottom: 0; }
.pc-start-recap {
  display: grid; gap: 0.15rem; margin: 0.75rem 0; padding: 0.85rem 1rem; border: 2px solid var(--form);
  border-radius: var(--radius); background: var(--form-tint); color: var(--ink); text-decoration: none;
}
.pc-start-recap-kicker { font-size: 15px; font-weight: 800; color: var(--form); }
.pc-start-recap-text { font-size: 18px; font-weight: 700; text-decoration: underline; }
.pc-tonight { margin: 0.9rem 0 0.5rem; font-size: 20px; }
.pc-covered-note { font-size: 16px; color: var(--ink-muted); margin: 0.5rem 0 0; }

/* Target pass 2 (SIG-395): teach before testing, graded dots after a set, the exam date and the pace to Ready. */
.pc-recap-takeaway { font-size: 17px; font-weight: 400; }
.pc-recap-stem { margin: 0 0 0.4rem; font-size: 17px; line-height: 1.45; }
.pc-recap-answer { margin: 0 0 0.35rem; font-size: 18px; }
.pc-recap-label { font-weight: 800; color: var(--form); }
.pc-recap-points { list-style: none; margin: 0.75rem 0; padding: 0; }
.pc-recap-points > li + li { border-top: 1px solid var(--form-line); padding-top: 0.75rem; }
.pc-exam-date { margin: 0.75rem 0; padding: 0.75rem 1rem; border-left: 4px solid var(--form); background: var(--form-tint); border-radius: var(--radius-small); }
.pc-exam-date p { margin: 0 0 0.35rem; }
.pc-exam-date p:last-child { margin-bottom: 0; }
.pc-exam-date-days { font-size: 19px; font-weight: 800; }
.pc-exam-date-warn { color: var(--ink); font-weight: 700; }
.pc-exam-date form { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 0.5rem 0.75rem; margin: 0.35rem 0 0; }
.pc-exam-date label { display: block; font-weight: 700; }
.pc-exam-date input[type="date"] { min-height: 48px; font-size: 18px; }
.pc-exam-date details summary { cursor: pointer; min-height: 44px; display: inline-flex; align-items: center; }

/* One headline for where a learner stands (offer rerun 30 Nov): share right lately against the mark, a bar, the thresholds. */
.pc-standing { margin: 0 0 0.4rem; }
.pc-standing .pc-bar { height: 14px; margin: 0.35rem 0 0.2rem; }
.pc-headline { display: block; font-size: 1.5rem; font-weight: 800; line-height: 1.25; color: var(--ink); margin: 0.2rem 0 0.4rem; }
.pc-thresholds { font-size: 15px; color: var(--ink-muted); margin: 0.25rem 0 0.5rem; line-height: 1.4; }
.pc-ready-by { margin: 0.25rem 0 0.5rem; font-weight: 700; }
.pc-dip { margin: 0.25rem 0 0.5rem; color: var(--ink-muted); font-size: 15px; }
/* "If my exam were today" and each part's share and answers still needed (offer rerun 5, 1 Dec 2026, Tanya). */
.pc-if-today { margin: 0.35rem 0 0.5rem; font-weight: 700; line-height: 1.4; color: var(--ink); }
.pc-parts-now { margin: 0.25rem 0 0.6rem; }
.pc-more.pc-parts-more { border: 0; margin: 0 0 0.6rem; }
.pc-more.pc-parts-more summary { min-height: 44px; }
.pc-parts-now-list { list-style: none; margin: 0; padding: 0; }
.pc-parts-now-list li { display: flex; flex-wrap: wrap; align-items: baseline; gap: 0.15rem 0.6rem; padding: 0.35rem 0; border-bottom: 1px solid var(--border); }
.pc-parts-now-list li:last-child { border-bottom: 0; }
.pc-part-name { flex: 1 1 12rem; min-width: 0; font-weight: 700; overflow-wrap: anywhere; }
.pc-part-num { font-weight: 800; }
.pc-part-note { flex: 1 0 100%; font-size: 15px; color: var(--ink-muted); }
.pc-parts-why { margin: 0.3rem 0 0; }
/* Under the learn-first line with a pass: tonight's use and the refund's last day lead (offer rerun 5, Rosa, Marcus). */
.pc-tonight { margin: 0 0 0.75rem; padding: 0.75rem 0.9rem; border: 1px solid var(--border); border-radius: 10px; }
.pc-tonight p { margin: 0 0 0.4rem; line-height: 1.45; }
.pc-tonight p:last-child { margin-bottom: 0; }
.pc-set-compare { margin: 0.75rem 0; font-weight: 700; }
/* Every area Ready counts (/my) and the practice topic picker (SIG-434) */
.pc-area-list { list-style: none; margin: 0.5rem 0 0; padding: 0; }
.pc-area-row { display: flex; flex-direction: column; gap: 0.1rem; padding: 0.45rem 0; border-top: 1px solid var(--line, #e5e5e5); }
.pc-area-row:first-child { border-top: 0; }
.pc-area-name { font-weight: 600; }
.pc-topics { margin-top: 1.5rem; }
