/* Progress, redesigned (STORY-04.16; the owner-approved mock-up docs/mockups/2026-11-19-progress/, option A), Today's
   no-level rows and "How accurate is the AI examiner" (docs/mockups/2026-11-19-04.16-accuracy/mock-v2.html). Colours,
   spacing and type from tokens.css; light theme only. */

/* ---------- "Why?" and "i": explanations as bubbles over the page (the owner's principle 2) ---------- */
/* Inside a .float-tips box, a tip (views/assessment.js tip) opens over what follows at every width, the box's width
   wide, instead of pushing the page down (feedback.css opens it in place on a phone, for the results page). */
.float-tips { position: relative; }
.float-tips .tip-wrap { display: contents; }
.float-tips .tip { position: absolute; z-index: 30; left: 0; right: 0; top: 100%; width: auto; margin-top: var(--s2); padding: var(--s3) var(--s4); font-size: var(--fs-m); flex-basis: auto; text-align: left; font-weight: 400; letter-spacing: 0; text-transform: none; }
.float-tips .tip p + p, .float-tips .tip p + ul { margin-top: var(--s2); }
.float-tips .tip li { position: relative; padding-left: 14px; }
.float-tips .tip li::before { content: ""; position: absolute; left: 2px; top: .62em; width: 5px; height: 5px; border-radius: 50%; background: var(--sun); }
.float-tips .tip a { display: inline-flex; align-items: center; min-height: 44px; color: var(--sun); font-weight: 700; }
/* The line a bubble opens under: it spans that line's width (the mock-up's .tip-host). */
.journey__top, .journey__foot, .skill--none, .pg-bh-row, .acc-title-row { position: relative; }
/* "Why?" as the mock-up draws it: underlined words, 44 px to tap, its height not setting the row's. */
.float-tips .no-level__btn { min-height: 44px; min-width: 44px; margin: -12px 0; padding: 0 6px; border-radius: 8px; background: transparent; color: var(--teal); font: 700 var(--fs-s)/1 var(--text); text-decoration: underline; text-underline-offset: 3px; }
.journey .no-level__btn { color: var(--sun); }
/* The "i": a 20 px circle in a 44 px tap area that does not set the line's height. */
.pg-i { display: inline-grid; place-items: center; width: 44px; min-height: 44px; height: 44px; margin: -12px -10px; padding: 0; border-radius: 50%; background: transparent; color: var(--teal); }
.pg-i .i { width: 20px; height: 20px; }
.pg-tip-title { font-weight: 700; }

/* ---------- Today: writing and speaking with no level, one short row each ---------- */
.skill--none { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s2) var(--s3); min-height: 60px; }
.skills__grid .skill.skill--none { grid-column: 1 / -1; }
.skill--none .skill__gap.skill__none { margin-inline-start: auto; display: flex; flex-wrap: wrap; align-items: center; gap: 0 4px; }

/* ---------- Progress v2 (STORY-04.23; docs/mockups/2026-11-20-progress-v2/, choices 1–8 A): the page as cards ---------- */
.wrap.pg-wide { max-width: 1400px; display: flex; flex-direction: column; gap: 16px; }
.pg-head { margin: 0; }
.pg-title-row { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s1) var(--s3); }
.pg-title-label { display: inline-flex; align-items: center; gap: 4px; padding: 2px 10px; border-radius: 10px; background: var(--surface); box-shadow: inset 0 0 0 1px var(--line-2); color: var(--ink-2); font: 700 var(--fs-xs)/1.6 var(--text); }
.pg-card { position: relative; min-width: 0; background: var(--surface); border: 1px solid var(--line-2); border-radius: 20px; padding: 14px 16px; }
.pg-card-head { position: relative; display: flex; align-items: center; gap: 8px; min-height: 24px; }
.pg-card-head > :last-child:not(:first-child), .pg-card-head > .tip-wrap .pg-i { margin-left: auto; }
.pg-card-head > .tip-wrap .pg-i { margin-right: -12px; }
.pg-eyebrow, .pg-bh { font: 700 var(--fs-xs)/1.3 var(--text); letter-spacing: .08em; text-transform: uppercase; color: var(--ink-2); }
.pg-label { font-size: var(--fs-s); color: var(--ink-2); font-variant-numeric: tabular-nums; }
.pg-card-head .pg-label { white-space: nowrap; }
.pg-num { font-family: var(--display); font-weight: 800; font-variant-numeric: tabular-nums; line-height: 1.05; }
.pg-unit { font: 700 var(--fs-m)/1 var(--text); color: var(--ink-2); margin: 0 4px 0 2px; }
.wrap.pg-wide .pill { min-height: 26px; padding: 1px 10px; border-radius: 13px; }
.wrap.pg-wide .pill .i { width: 14px; height: 14px; }
.pill--rank { background: var(--sun-tint); color: var(--sun-ink); }
.pg-tip-title { font-weight: 700; }
.pg-link { flex: none; display: inline-flex; align-items: center; gap: 4px; min-height: 44px; margin: -10px 0; padding: 0 4px; border: 0; background: transparent; color: var(--teal); font: 700 var(--fs-m)/1 var(--text); text-decoration: none; white-space: nowrap; cursor: pointer; }
.pg-link .i { width: 16px; height: 16px; }

/* The summary: Points, Study time, Badges. */
.pg-sum { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.pg-sum > .pg-card { display: flex; flex-direction: column; justify-content: space-between; gap: 8px; padding: 12px 14px; }
.pg-sum > .pg-pts { grid-column: 1 / -1; }
.pg-points { display: flex; flex-direction: column; gap: 10px; }
.pg-pts-main { display: flex; align-items: center; gap: 12px; }
.pg-pts-main .badge__art { width: 44px; height: 44px; flex: none; }
.pg-pts-line { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; }
.pg-big .pg-num { font-size: 26px; }
.pg-meter { display: flex; flex-direction: column; gap: 4px; }
.pg-meter .bar { height: 10px; border-radius: 5px; }
.pg-figs { display: flex; justify-content: space-between; gap: var(--s2); font-size: var(--fs-xs); color: var(--ink-2); font-variant-numeric: tabular-nums; }
.pg-figs b { color: var(--ink); }
.pg-stats { display: flex; flex-direction: column; gap: 8px; }
.pg-stat { display: flex; align-items: center; gap: 8px; min-width: 0; }
.pg-stat .pg-num { font-size: 20px; }
.pg-stat .pg-label { line-height: 1.2; }
.pg-stat .pg-unit { font-size: var(--fs-s); margin: 0; white-space: pre; }
.pg-tile-sun, .pg-tile-teal { display: grid; place-items: center; width: 32px; height: 32px; flex: none; border-radius: 9px; }
.pg-tile-sun { background: var(--sun); color: var(--on-sun); }
.pg-tile-teal { background: var(--teal-tint); color: var(--teal); }
.pg-chart { display: grid; gap: 4px; }
.pg-bars { position: relative; display: grid; grid-template-columns: repeat(14, minmax(0, 1fr)); align-items: end; gap: 3px; height: 52px; padding-top: 4px; border-bottom: 1px solid var(--line-2); }
.pg-bars > span:not(.pg-goal) { display: block; min-height: 2px; border-radius: 4px 4px 0 0; background: var(--teal); }
.pg-bars > span.is-zero { background: transparent; }
.pg-bars > span.is-today { background: var(--sun-deep); }
.pg-goal { position: absolute; left: 0; right: 0; border-top: 1.5px dashed var(--line-strong); pointer-events: none; }
.pg-goal b { position: absolute; right: 0; top: -17px; padding-left: 4px; background: var(--surface); font: 700 11px/14px var(--text); color: var(--ink-2); }
.pg-axis { display: flex; justify-content: space-between; font-size: 12px; color: var(--ink-2); font-variant-numeric: tabular-nums; }
.pg-chart--big .pg-bars { height: 120px; }
.pg-bdg-row { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; }
.pg-bdg-row .pg-num { font-size: 24px; }
.pg-strip { display: flex; gap: 4px; }
.pg-strip .badge__art { width: 32px; height: 32px; }
.pg-next { display: flex; align-items: center; gap: 10px; padding-top: 10px; border-top: 1px solid var(--line); font-size: var(--fs-s); color: var(--ink-2); line-height: 1.35; }
.pg-next .badge__art { width: 36px; height: 36px; flex: none; }
.pg-next b { color: var(--ink); }

/* Your skills: four cards. */
.pg-skills { display: flex; flex-direction: column; gap: 6px; }
.pg-bh-row { display: flex; flex-wrap: wrap; align-items: center; gap: 2px 10px; min-height: 24px; padding: 0 4px; }
.pg-aside { display: inline-flex; align-items: center; gap: 6px; font-size: var(--fs-s); color: var(--ink-2); }
.pg-aside .i { width: 14px; height: 14px; }
.pg-sk-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.pg-skl { display: flex; flex-direction: column; gap: 7px; padding: 12px; }
.pg-sk-name { display: flex; align-items: flex-start; gap: 6px; font-family: var(--display); font-weight: 700; font-size: 15px; line-height: 1.25; }
.pg-sk-name .tile-icon { width: 28px; height: 28px; flex: none; border-radius: 8px; }
.pg-sk-name .tile-icon .i { width: 16px; height: 16px; }
.pg-nm { min-width: 0; padding-top: 3px; overflow-wrap: break-word; hyphens: auto; }
.pg-val { display: flex; flex-wrap: wrap; align-items: center; gap: 0 2px; }
.pg-lv { font-family: var(--display); font-weight: 700; font-size: 19px; line-height: 1.1; font-variant-numeric: tabular-nums; }
.pg-none { font-family: var(--display); font-weight: 700; font-size: 16px; line-height: 1.25; }
.pg-tgt { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; font-size: var(--fs-s); color: var(--ink-2); font-variant-numeric: tabular-nums; }
.pg-scale { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 3px; }
.pg-scale > span { display: grid; place-items: center; height: 22px; border-radius: 5px; background: var(--paper-2); color: var(--ink-2); font: 700 11px/1 var(--text); font-variant-numeric: tabular-nums; }
.pg-scale .sc-below { background: var(--teal-soft); color: var(--teal-deep); }
.pg-scale .sc-on { background: var(--teal); color: var(--surface); }
.pg-scale .sc-tgt { box-shadow: inset 0 0 0 2px var(--ink), inset 0 0 0 3px var(--surface); }
.pg-trail { display: flex; flex-wrap: wrap; align-items: center; gap: 0 6px; padding-top: 8px; border-top: 1px solid var(--line); font-size: var(--fs-s); color: var(--ink-2); font-variant-numeric: tabular-nums; }
.pg-step, .pg-step-one { display: inline-flex; align-items: center; justify-content: center; min-width: 44px; min-height: 44px; margin: -10px 0; color: var(--ink); font-weight: 700; white-space: nowrap; text-decoration: none; }
.pg-step.is-met { color: var(--teal); }
.pg-step-one { color: inherit; font-weight: 400; }
.pg-trail .pill { margin-left: -2px; }
.pg-arr { color: var(--line-strong); }
.pg-sk-foot { display: flex; align-items: center; gap: 8px; margin-top: auto; font-size: var(--fs-s); color: var(--ink-2); }
.pg-sk-foot .pg-link { margin-left: auto; }
.pg-skl .tip { top: 76px; right: auto; width: min(340px, 86vw); }
.pg-skl:nth-child(even) .tip { left: auto; right: 0; }
.pg-skl .pg-trail, .pg-skl .pg-sk-foot { display: none; }

/* The phone's tabs, and the panels they show. */
.pg-tabs { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); gap: 3px; padding: 3px; border-radius: 13px; background: var(--line); }
.pg-tabs button { min-height: 44px; padding: 0 4px; border: 0; border-radius: 10px; background: transparent; color: var(--ink-2); font: 700 var(--fs-m)/1.1 var(--text); white-space: nowrap; }
.pg-tabs button[aria-selected="true"] { background: var(--surface); color: var(--ink); box-shadow: 0 1px 0 var(--line-2); }
.pg-lower { display: grid; grid-template-columns: minmax(0, 1fr); gap: 12px; align-items: start; }
.pg-main { min-width: 0; }
.pg-rail { display: contents; }
.pg-lower .is-off { display: none !important; }
/* Five tabs with "By level" (STORY-04.36): each as wide as its words, the rest shared; they fit at 360 px. */
.pg-tabs:has(#pg-tab-level) { grid-auto-columns: minmax(max-content, 1fr); gap: 2px; }
.pg-tabs:has(#pg-tab-level) button { padding: 0 6px; }
@media (max-width: 400px) { .pg-tabs:has(#pg-tab-level) button { padding: 0 3px; font-size: var(--fs-s); } }

/* "By level" (STORY-04.36, the approved mock-up's choices 7–9 A): a Listening / Reading switch, then one line per level. */
.lvl-seg { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); gap: 3px; padding: 3px; margin: 8px 0 12px; border-radius: 13px; background: var(--line); }
.lvl-seg button { min-height: 44px; padding: 0 6px; border: 0; border-radius: 10px; background: transparent; color: var(--ink-2); font: 700 var(--fs-m)/1.1 var(--text); }
.lvl-seg button[aria-selected="true"] { background: var(--surface); color: var(--ink); box-shadow: 0 1px 0 var(--line-2); }
.lvl-list[hidden] { display: none; }
.lvl-bands { display: grid; gap: 12px; margin: 0; padding: 0; list-style: none; }
.lvl-band { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: baseline; gap: 3px 10px; }
.lvl-band__name { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 8px; font-weight: 700; font-size: var(--fs-m); }
.lvl-band__pct { font-size: var(--fs-s); color: var(--ink-2); white-space: nowrap; }
.lvl-band__pct b { font-size: var(--fs-base); color: var(--ink); }
.lvl-band--few .lvl-band__name { grid-column: 1 / -1; }
.lvl-meter { grid-column: 1 / -1; display: flex; align-items: center; gap: 10px; }
.lvl-meter--few { justify-content: space-between; }
.lvl-few { font-size: var(--fs-s); color: var(--ink-2); }
.lvl-bar { flex: 1; height: 8px; border-radius: 4px; background: var(--paper-2); box-shadow: inset 0 0 0 1px var(--line); overflow: hidden; }
.lvl-bar > span { display: block; height: 100%; border-radius: 4px; background: var(--teal); }
.lvl-n { min-width: 66px; font-size: var(--fs-xs); color: var(--ink-2); text-align: right; white-space: nowrap; }
.lvl-target { display: inline-flex; align-items: center; gap: 4px; font-size: var(--fs-xs); font-weight: 700; color: var(--teal); white-space: nowrap; }
.lvl-target .i { width: 14px; height: 14px; }
.lvl-none { margin: 4px 0 2px; font-size: var(--fs-m); color: var(--ink-2); }
.lvl-foot { margin-top: 12px; font-size: var(--fs-s); color: var(--ink-2); }

/* History: compact rows named by their pills, grouped by week. */
.pg-hist { padding: 12px 14px 4px; }
.pg-hist-head { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; }
.pg-hist-head h2 { font-size: var(--fs-l); }
.pg-chips { display: flex; gap: 6px; margin: 10px 0 2px; padding-block: 6px; overflow-x: auto; scrollbar-width: none; }
.pg-chip { display: inline-flex; align-items: center; gap: 6px; flex: none; min-height: 44px; padding: 0 12px; border: 0; border-radius: 22px; background: var(--paper-2); box-shadow: inset 0 0 0 1px var(--edge); color: var(--ink); font: 700 var(--fs-s)/1 var(--text); white-space: nowrap; cursor: pointer; }
.pg-chip small { font-weight: 500; color: var(--ink-2); font-variant-numeric: tabular-nums; }
.pg-chip[aria-pressed="true"] { background: var(--ink); color: var(--surface); box-shadow: none; }
.pg-chip[aria-pressed="true"] small { color: var(--surface); }
.pg-cols { display: none; }
.pg-week { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; margin-top: 8px; padding: 6px 0 4px; border-bottom: 1px solid var(--line); font: 700 var(--fs-xs)/1.3 var(--text); letter-spacing: .06em; text-transform: uppercase; color: var(--ink-2); }
.pg-week span:last-child { letter-spacing: 0; text-transform: none; font-weight: 500; }
.pg-rows { list-style: none; margin: 0; padding: 0; }
.pg-row { display: grid; grid-template-columns: minmax(0, 1fr) auto 16px; grid-template-areas: "what what go" "meta pts go"; gap: 6px 10px; align-items: center; min-height: 44px; padding: 10px 0; border-top: 1px solid var(--line); color: var(--ink); text-decoration: none; }
.pg-rows li:first-child .pg-row { border-top: 0; }
.pg-row .what { grid-area: what; min-width: 0; }
.pg-row .when { display: none; }
.pg-row .meta { grid-area: meta; display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; font-size: var(--fs-s); color: var(--ink-2); font-variant-numeric: tabular-nums; }
.pg-row .score b { color: var(--ink); }
.pg-row .meta .score span { display: none; }
.pg-row .lvs { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 4px; }
.pg-row .lv-own { display: none; }
.pg-row .pts { grid-area: pts; font: 700 var(--fs-s)/1 var(--text); color: var(--sun-ink); white-space: nowrap; text-align: right; }
.pg-row .pts small { font-weight: 500; color: var(--ink-2); }
.pg-row .go { grid-area: go; color: var(--teal); }
.pg-row .spills { gap: 6px; }
.pg-row .spill { min-height: 26px; overflow-wrap: anywhere; hyphens: auto; }
.pg-hint { display: flex; align-items: center; gap: 8px; padding: 10px 0; border-top: 1px solid var(--line); font-size: var(--fs-s); color: var(--ink-2); }
.pg-more { display: flex; justify-content: center; border-top: 1px solid var(--line); }
.pg-more button { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 0 12px; border: 0; background: transparent; color: var(--teal); font: 700 var(--fs-m)/1 var(--text); cursor: pointer; }

/* Where your points came from: one bar per source. */
.pg-from { display: flex; flex-direction: column; gap: 10px; }
.pg-src { list-style: none; margin: 0; padding: 0; display: grid; gap: 7px; }
.pg-src li { display: grid; grid-template-columns: 104px minmax(0, 1fr) 44px; gap: 10px; align-items: center; font-size: var(--fs-s); }
.pg-src .bar { height: 8px; border-radius: 4px; }
.pg-src b { text-align: right; font-variant-numeric: tabular-nums; }
.pg-src-none { font-size: var(--fs-xs); color: var(--ink-2); }
.pg-basics { display: flex; flex-wrap: wrap; align-items: center; gap: 2px 8px; padding: 8px 10px; border-radius: 12px; background: var(--sun-tint); color: var(--sun-ink); font-size: var(--fs-s); }
.pg-basics b { color: var(--ink); }
.pg-basics .pg-link { margin-left: auto; color: var(--teal-deep); font-size: var(--fs-s); }
.pg-first { padding: 0; }
.pg-first > summary { list-style: none; display: flex; align-items: center; gap: 10px; min-height: 56px; padding: 8px 16px; cursor: pointer; }
.pg-first > summary::-webkit-details-marker { display: none; }
.pg-first > summary .tile-icon { width: 32px; height: 32px; border-radius: 9px; }
.pg-first > summary b { font-family: var(--display); }
.pg-first > summary .go { margin-left: auto; color: var(--teal); transition: transform 120ms var(--ease-out); }
.pg-first[open] > summary .go { transform: rotate(90deg); }
.pg-first .first-answers { margin: 0 16px 16px; padding: 0; border: 0; background: none; box-shadow: none; }
.pg-first .first-answers > .sec-head h2 { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* The badge wall: the Badges tab on a phone, a window on the web. */
.pg-wall { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 4px 20px; }
.pg-wall .badge-card { grid-template-columns: 48px minmax(0, 1fr); gap: 12px; padding-block: 8px; }
.pg-wall .badge-card .badge__art { width: 48px; height: 48px; }
.pg-wall .badge__name { font-size: var(--fs-base); }
.pg-wall .badge__how { font-size: var(--fs-s); line-height: 1.35; }
.pg-wall-sub { margin: 6px 0 4px; font: 700 var(--fs-xs)/1.3 var(--text); letter-spacing: .06em; text-transform: uppercase; color: var(--ink-2); }
.pg-dialog { width: min(860px, calc(100vw - 48px)); max-height: calc(100vh - 48px); padding: 18px 22px 22px; border: 0; border-radius: 24px; background: var(--surface); color: var(--ink); box-shadow: var(--float); }
.pg-dialog::backdrop { background: var(--scrim-wall); }
.pg-dialog-head { display: flex; align-items: center; gap: 10px; margin-bottom: 6px; }
.pg-dialog-head h2 { font-size: var(--fs-2xl); }
.pg-close { display: grid; place-items: center; width: 44px; height: 44px; margin: -6px -10px -6px auto; border: 0; border-radius: 12px; background: transparent; color: var(--ink); cursor: pointer; }

@media (max-width: 860px) {
  .pg-web-only { display: none !important; }
  .pg-head h1 { font-size: 30px; }
}
@media (min-width: 861px) {
  .pg-tabs, .pg-phone-panel { display: none !important; }
  .pg-sum { grid-template-columns: repeat(auto-fit, minmax(270px, 1fr)); }
  .pg-sum > .pg-pts { grid-column: auto; }
  .pg-sum > .pg-card { padding: 14px 16px; gap: 10px; }
  .pg-big .pg-num { font-size: 30px; }
  .pg-stats { flex-direction: row; flex-wrap: wrap; gap: 8px 20px; }
  .pg-stat .pg-num { font-size: 24px; }
  .pg-bdg-row .pg-num { font-size: 30px; }
  .pg-strip { margin-left: auto; }
  .pg-strip .badge__art { width: 40px; height: 40px; }
  .pg-sk-grid { grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 12px; }
  .pg-skl { padding: 14px 16px; gap: 8px; }
  .pg-sk-name { font-size: var(--fs-base); gap: 8px; }
  .pg-lv { font-size: 22px; }
  .pg-none { font-size: 17px; }
  .pg-skl .pg-trail, .pg-skl .pg-sk-foot { display: flex; }
  .pg-skl .tip { top: 84px; }
  .pg-rail { display: flex; flex-direction: column; gap: 12px; min-width: 0; }
  .pg-hist { padding: 14px 16px 6px; }
  .pg-row, .pg-cols { grid-template-columns: 64px minmax(0, 1fr) 72px minmax(96px, auto) 52px 16px; gap: 10px; }
  .pg-row { grid-template-areas: none; min-height: 52px; padding: 7px 0; }
  .pg-row > * { grid-area: auto !important; }
  .pg-row .when { display: flex; flex-direction: column; font-size: var(--fs-s); line-height: 1.25; color: var(--ink-2); font-variant-numeric: tabular-nums; }
  .pg-row .when b { color: var(--ink); }
  .pg-row .meta { display: contents; }
  .pg-row .meta .d { display: none; }
  .pg-row .score { display: flex; flex-direction: column; font-size: var(--fs-s); line-height: 1.25; color: var(--ink-2); }
  .pg-row .meta .score span { display: inline; }
  .pg-row:has(.lv--share) .meta .score span { display: none; } /* said once, in the level column (the batch 5+6 walk, m7) */
  .pg-row .lvs { justify-self: start; }
  .pg-cols { display: grid; padding: 8px 0 2px; font: 700 12px/1.3 var(--text); letter-spacing: .06em; text-transform: uppercase; color: var(--ink-2); }
  .pg-cols span:nth-child(5) { text-align: right; }
}
@media (min-width: 1180px) {
  .pg-lower { grid-template-columns: minmax(0, 7fr) minmax(280px, 3fr); }
  .pg-rail { position: sticky; top: calc(var(--bar-top) + 24px); }
  .pg-sk-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
@media (min-width: 1500px) {
  .wrap.pg-wide { gap: 20px; }
  .pg-sum { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
  .pg-sk-grid { gap: 16px; }
  .pg-lower { grid-template-columns: minmax(0, 2fr) minmax(320px, 1fr); gap: 16px; }
  .pg-row, .pg-cols { grid-template-columns: 72px minmax(0, 1fr) 84px minmax(220px, auto) 60px 16px; }
  .pg-row .lv-own { display: inline; }
}

/* ---------- How accurate is the AI examiner ---------- */
.acc { max-width: 820px; }
.acc-what { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: var(--s4); }
.acc-what h2, .acc-checked h2 { font-size: var(--fs-l); }
.acc-facts { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--s2); }
.acc-fact { display: grid; grid-template-columns: 24px minmax(0, 1fr); gap: var(--s2); align-items: start; }
.acc-fact .i { margin-top: 3px; }
.acc-yes .i { color: var(--teal); }
.acc-no .i { color: var(--coral-deep); }
.acc-title-row { display: flex; align-items: center; gap: var(--s2); }
.acc-badges { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; margin: 0; padding: 0; }
.acc-badge { white-space: normal; }
.acc-more summary, .acc-when summary { font-weight: 700; color: var(--teal); }
.acc-when__title { font-size: var(--fs-l); color: var(--ink); }
.acc-table-wrap { overflow-x: auto; }
.acc-table { width: 100%; border-collapse: collapse; font-size: var(--fs-s); }
.acc-table th { text-align: left; font-size: var(--fs-xs); letter-spacing: .05em; text-transform: uppercase; color: var(--ink-2); padding: var(--s2) var(--s2) var(--s2) 0; }
.acc-table td { padding: var(--s2) var(--s2) var(--s2) 0; border-top: 1px solid var(--line); vertical-align: top; }
