/* Room Ready interactive episode player. Loads after /assets/styles.css (the site theme: Outfit, plum, gold, mint, coral).
   Everything is namespaced .rp-* so site styles and player styles never fight. */
.rp-page { padding: 48px 0 96px; }
.rp-page .eyebrow { margin-bottom: 12px; }
.rp-page h1 { font-size: clamp(2.1rem, 4.4vw, 3.4rem); max-width: 22ch; }
.rp-page > .wrap > .lead { margin-top: 14px; max-width: 62ch; }
.rp-title-sub { display: block; font-size: .5em; color: var(--muted); letter-spacing: -0.01em; margin-top: 10px; font-weight: 700; }

.rp { display: grid; grid-template-columns: minmax(0, 1.72fr) minmax(320px, 1fr); gap: 26px; align-items: start; margin-top: 32px; }
.rp-stage { position: sticky; top: 84px; min-width: 0; }
.rp-video { position: relative; border-radius: var(--r); overflow: hidden; background: #000; aspect-ratio: 16 / 9;
  box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .7), 0 0 0 1px var(--line); }
.rp-video video { width: 100%; height: 100%; display: block; background: #000; }
.rp-video video::cue { font-family: "Outfit", system-ui, sans-serif; font-size: 1.05em; background: rgba(15, 11, 26, .86); color: #fff; }
.rp-flag { position: absolute; top: 14px; left: 50%; transform: translateX(-50%); white-space: nowrap; z-index: 2; background: var(--gold); color: var(--gold-ink); font-weight: 800; font-size: .86rem;
  letter-spacing: .06em; text-transform: uppercase; padding: 6px 14px; border-radius: 999px; box-shadow: 0 8px 24px -8px rgba(0, 0, 0, .6); pointer-events: none; }
/* Larger captions (sweep fix, 9 November 2026): the "Larger captions" switch, and phones by default. 1.15em is the largest
   size at which build/video/captions.py has checked every placed cue clear of the frame's own labels (1.25em and up touch them). */
.rp.rp-bigcc .rp-video video::cue { font-size: 1.15em; }
@media (max-width: 600px) { .rp-video video::cue { font-size: 1.15em; } }
/* the science card's evidence grade, while the card is on screen (sweep fix, 9 November 2026): over the frame's empty top left */
.rp-sci { position: absolute; left: 14px; top: 14px; z-index: 2; margin: 0; padding: 6px 12px 6px 6px; border-radius: 999px; background: rgba(27, 22, 41, .92);
  color: var(--text); font-size: .86rem; font-weight: 700; line-height: 1.3; box-shadow: inset 0 0 0 1px rgba(255, 182, 39, .6); max-width: calc(100% - 28px); }
.rp-sci .rp-grade { margin-right: 6px; }
.rp-sci[hidden] { display: none; }
.rp.rp-paused .rp-video { box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .7), 0 0 0 3px var(--gold); }

.rp-desc { margin-top: 12px; padding: 10px 14px; border-radius: 12px; background: rgba(138, 106, 224, .16); color: var(--text); font-size: .98rem; }
.rp-desc::before { content: "Visual: "; font-weight: 800; color: #d3c7f6; }
.rp-desc:empty { display: none; }

.rp-bar { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin-top: 14px; }
.rp-bar .btn { padding: 10px 18px; font-size: .95rem; }
.rp-sw { display: inline-flex; align-items: center; gap: 9px; padding: 9px 14px 9px 10px; border-radius: 999px; border: 0; cursor: pointer;
  background: rgba(255, 255, 255, .06); color: var(--text); font: inherit; font-size: .93rem; font-weight: 700; box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .22); }
.rp-sw:hover { box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .5); }
.rp-knob { position: relative; width: 34px; height: 20px; border-radius: 999px; background: #6d5f8f; flex: none; transition: background .2s; }
.rp-knob::after { content: ""; position: absolute; top: 3px; left: 3px; width: 14px; height: 14px; border-radius: 999px; background: #fff; transition: transform .2s cubic-bezier(.16, 1, .3, 1); }
.rp-sw[aria-checked="true"] .rp-knob { background: var(--mint); }
.rp-sw[aria-checked="true"] .rp-knob::after { transform: translateX(14px); background: var(--gold-ink); }
.rp-state { font-weight: 600; color: var(--muted); font-size: .86rem; }

/* fix round 7: the chips' visible label, then the chips */
.rp-markrow { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; margin-top: 14px; }
.rp-marks-l { font-size: .78rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.rp-marks { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.rp-marks button { display: inline-flex; align-items: center; gap: 8px; padding: 7px 13px; border-radius: 999px; border: 0; cursor: pointer; font: inherit; font-size: .88rem;
  background: transparent; color: var(--muted); box-shadow: inset 0 0 0 1px var(--line); }
.rp-marks button:hover { color: var(--text); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .4); }
.rp-marks .rp-t { font-variant-numeric: tabular-nums; font-weight: 700; color: var(--gold); }
.rp-marks .rp-tick { width: 20px; height: 20px; border-radius: 999px; display: inline-grid; place-items: center; font-size: .72rem; font-weight: 900; background: var(--gold); color: var(--gold-ink); }
.rp-marks [data-done="true"] .rp-tick { background: var(--mint); color: var(--gold-ink); }
/* a skipped question: a hollow gold ring and the word "skipped" (answered is the filled mint tick) */
.rp-marks [data-done="skipped"] .rp-tick { background: transparent; box-shadow: inset 0 0 0 2px var(--gold); color: var(--gold); }
.rp-marks .rp-skip { display: none; font-size: .8rem; font-weight: 700; color: var(--gold); }
.rp-marks [data-done="skipped"] .rp-skip { display: inline; }

/* the panel (the site styles give every <section> 96px of padding; not here) */
.rp-panel section, section.rp-quiz { padding: 0; }
.rp-panel { padding: 26px; }
.rp-panel { border-radius: var(--r); background: var(--plum); box-shadow: inset 0 0 0 1px var(--line); padding: 26px; min-width: 0; }
.rp-panel h2 { font-size: 1.6rem; letter-spacing: -0.02em; outline-offset: 6px; }
/* a focused heading scrolled into view keeps its kicker visible below the sticky header (html scroll-padding-top: 88px) */
.rp-panel h2 { scroll-margin-top: 36px; }
.rp-panel section { scroll-margin-top: 8px; }
.rp-panel h3 { font-size: 1.02rem; margin-top: 18px; letter-spacing: 0; }
.rp-panel p { margin-top: 10px; }
.rp-k { font-size: .78rem; text-transform: uppercase; letter-spacing: .14em; font-weight: 800; color: var(--gold); margin: 0 0 8px !important; }
.rp-steps { list-style: none; padding: 0; margin: 16px 0 0; display: grid; gap: 10px; counter-reset: rp; }
.rp-steps li { counter-increment: rp; display: grid; grid-template-columns: 30px 1fr; gap: 12px; align-items: start; color: var(--muted); font-size: 1rem; line-height: 1.45; }
.rp-steps li::before { content: counter(rp); width: 30px; height: 30px; border-radius: 9px; display: grid; place-items: center; font-weight: 900; font-size: .85rem; background: #b9a5f5; color: var(--gold-ink); }
.rp-steps li:nth-child(2)::before { background: var(--coral); color: var(--gold-ink); }
.rp-steps li:nth-child(3)::before { background: var(--mint); color: var(--gold-ink); }
.rp-steps b { color: var(--text); }
.rp-steps .rp-t { color: var(--gold); font-weight: 700; font-variant-numeric: tabular-nums; }
.rp-note { color: var(--muted); font-size: .95rem; }
.rp-priv { color: var(--dim); font-size: .88rem; border-top: 1px solid var(--line); padding-top: 14px; margin-top: 18px !important; }
.rp-link { background: none; border: 0; padding: 0; font: inherit; color: var(--text); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.rp-recap .rp-answer { display: inline-block; padding: 3px 0; font-weight: 700; color: var(--gold); white-space: nowrap; }
.rp-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.rp-actions .btn { padding: 12px 20px; font-size: .98rem; white-space: normal; text-align: left; }
.rp-actions .btn-ghost { box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .42); }

.rp fieldset { border: 0; padding: 0; margin: 16px 0 0; min-width: 0; }
.rp legend { font-weight: 800; font-size: 1.02rem; margin-bottom: 10px; padding: 0; }
.rp-opt { display: grid; grid-template-columns: 22px 1fr; gap: 12px; align-items: start; padding: 13px 15px; border-radius: 14px; cursor: pointer; margin-top: 8px;
  background: rgba(255, 255, 255, .04); box-shadow: inset 0 0 0 1.5px var(--line); font-size: 1rem; line-height: 1.45; transition: box-shadow .15s, background .15s; }
.rp-opt:hover { box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .35); }
.rp-opt:has(input:checked) { background: rgba(255, 182, 39, .1); box-shadow: inset 0 0 0 2px var(--gold); }
.rp-opt input { width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--gold); cursor: pointer; }
.rp-opt input:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }
.rp-opt small { display: block; color: var(--muted); font-size: .84rem; margin-top: 2px; }
.rp-own { margin-top: 10px; display: grid; gap: 10px; }
.rp-own label { font-weight: 700; font-size: .95rem; display: grid; gap: 6px; }
.rp-own input { width: 100%; padding: 11px 14px; border-radius: 12px; border: 1.5px solid rgba(255, 255, 255, .35); background: var(--ink); color: var(--text); font: inherit; font-size: 1rem; }
.rp-own input::placeholder { color: #9d95b8; }
.rp-own input:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; }
.rp-own input[aria-invalid="true"] { border-color: var(--coral-text); }
.rp-err { color: var(--coral-text); font-weight: 700; font-size: .93rem; }

/* feedback */
.rp-ev { margin-top: 14px; padding: 14px 16px; border-radius: 14px; background: rgba(255, 255, 255, .05); border-left: 4px solid var(--g, var(--gold)); }
.rp-ev p { margin: 0 !important; font-size: .98rem; line-height: 1.5; }
.rp-ev .rp-cite { margin-top: 8px !important; color: var(--muted); font-size: .86rem; }
.rp-ev .rp-limit { margin-top: 8px !important; color: var(--muted); font-size: .86rem; }
/* grade badges are the site's shared .g pills (build/site/styles.css); .rp-grade only spaces them. The .rp-ev edge takes the same colour. */
.rp-grade { margin-right: 6px; }
.rp-g-strong { --g: var(--mint); } .rp-g-moderate { --g: var(--gold); } .rp-g-emerging { --g: #cbbcf7; } .rp-g-theory { --g: #e2dcf2; } .rp-g-survey { --g: var(--coral-text); }
.rp-ev .g-survey { color: #ff9a9d; }  /* the evidence box is a shade lighter than plum: keeps SURVEY at 4.5:1 or better */
.rp-ev .rp-evh { margin: 0 0 6px; font-size: 1rem; }
.rp-ev .rp-evi { margin: 0 0 10px !important; color: var(--muted); font-size: .93rem; }
.rp-ev .rp-evlab { margin: 0 0 4px !important; font-size: .76rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--gold, #ffb627); }
/* fix round 5: the box shows the grade, the finding with its source and the limit's first line; the rest is folded */
.rp-ev .rp-src { color: var(--muted); font-weight: 700; }
.rp-evmore { margin-top: 8px; font-size: .86rem; color: var(--muted); }
.rp-evmore summary { cursor: pointer; width: fit-content; font-weight: 700; color: var(--text); text-decoration: underline; text-decoration-color: rgba(255, 255, 255, .45);
  text-underline-offset: 3px; border-radius: 4px; }
.rp-evmore summary:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }
.rp-evmore[open] summary { margin-bottom: 6px; }
.rp-ev .rp-evmore p { margin-top: 6px !important; font-size: .86rem; color: var(--muted); }
/* the recap's free tool for the next meeting (Episode 1: the Room Check, fix round 5) */
.rp-tip { margin-top: 18px; padding: 14px 16px; border-radius: 14px; background: rgba(47, 212, 173, .08); box-shadow: inset 0 0 0 1px rgba(47, 212, 173, .4); }
.rp-tip h3 { margin: 0 !important; font-size: 1.05rem; }
.rp-tip p { margin: 6px 0 0 !important; font-size: .98rem; line-height: 1.5; }
.rp-tip .rp-k { margin: 0 0 4px !important; color: var(--mint); }
.rp-tip .rp-note { font-size: .88rem; }
/* a video that cannot load (fix round 5) */
.rp-media-err { margin: 12px 0 0; padding: 10px 14px; border-radius: 12px; background: rgba(255, 107, 112, .12); }
.rp-media-err a { color: var(--text); }
/* the offline copy's note, for when the page is opened without its folder (fix round 5); plain enough to read unstyled */
.rp-offhint { margin: 24px 0 22px; padding: 14px 16px; border-radius: 14px; background: rgba(255, 182, 39, .1); box-shadow: inset 0 0 0 1px rgba(255, 182, 39, .45);
  color: var(--text); font-size: .98rem; line-height: 1.5; max-width: 80ch; }
.rp-offhint[hidden] { display: none; }
.rp-fb { list-style: none; padding: 0; margin: 12px 0 0; display: grid; gap: 10px; }
.rp-fb li { padding: 12px 14px; border-radius: 14px; background: rgba(255, 255, 255, .04); box-shadow: inset 0 0 0 1px var(--line); font-size: .95rem; line-height: 1.45; }
.rp-fb li.rp-mine { box-shadow: inset 0 0 0 2px var(--gold); }
.rp-fb li.rp-v-best { background: rgba(47, 212, 173, .08); }
.rp-fb b { display: block; color: var(--text); }
.rp-fb .rp-res { display: block; margin-top: 6px; }
.rp-fb .rp-why { display: block; color: var(--muted); margin-top: 6px; font-size: .9rem; }
.rp-chips { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 6px; }
.rp-chip { display: inline-block; font-size: .7rem; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; padding: 2px 8px; border-radius: 999px; }
.rp-chip-mine { background: transparent; color: var(--gold); box-shadow: inset 0 0 0 1.5px var(--gold); }
.rp-chip-best { background: var(--mint); color: var(--gold-ink); }
.rp-chip-partly { background: var(--gold); color: var(--gold-ink); }
.rp-chip-leaks { background: var(--coral); color: var(--gold-ink); }

.rp-rows { list-style: none; padding: 0; margin: 14px 0 0; display: grid; gap: 8px; }
.rp-rows li { display: grid; grid-template-columns: 28px 1fr; gap: 10px; align-items: start; padding: 11px 13px; border-radius: 12px; background: rgba(255, 255, 255, .04); font-size: .95rem; line-height: 1.4; }
.rp-rows .rp-n { width: 28px; height: 28px; border-radius: 999px; display: grid; place-items: center; font-weight: 900; font-size: .82rem; background: rgba(255, 255, 255, .12); color: var(--text); }
.rp-rows li[data-state="pending"] { color: var(--dim); }
.rp-rows li[data-state="hit"] .rp-n { background: var(--mint); color: var(--gold-ink); }
.rp-rows li[data-state="miss"] .rp-n { background: var(--coral); color: var(--gold-ink); }
.rp-rows li[data-state="info"] .rp-n { background: #b9a5f5; color: var(--gold-ink); }
.rp-rows .rp-st { display: block; font-size: .82rem; font-weight: 800; letter-spacing: .04em; margin-top: 3px; }
.rp-rows li[data-state="hit"] .rp-st { color: var(--mint); }
.rp-rows li[data-state="miss"] .rp-st { color: var(--coral-text); }
/* the video's own count above each row ("FAIL #1 OF 4" on screen), so the player and the video never disagree (fix round 6) */
.rp-rows .rp-fk { display: block; font-size: .74rem; font-weight: 900; letter-spacing: .1em; text-transform: uppercase; color: var(--coral-text); margin-bottom: 2px; }
.rp-rows li[data-state="pending"] .rp-fk { color: var(--dim); }
/* fix round 7: under the result row only, "Marker 4 in the video is the result, not a slip." (Episodes 1 to 3) */
.rp-rows .rp-rnote { display: block; font-size: .86rem; color: var(--muted); margin-top: 4px; }
.rp-rows li[data-state="pending"] .rp-rnote { color: var(--dim); }
.rp-sum { margin-top: 14px; }
.rp-sum p { font-size: .98rem; line-height: 1.5; }
.rp-score { font-size: 1.25rem; font-weight: 800; }
/* Spot the slips: "Also worth noticing" (teal, never a penalty) for items that really happened but are not the narrator's three */
.rp-sum .rp-also-h { color: var(--mint); }
.rp-also { list-style: none; padding: 0; margin: 8px 0 0; display: grid; gap: 8px; }
.rp-also li { padding: 11px 14px; border-radius: 12px; background: rgba(47, 212, 173, .08); box-shadow: inset 3px 0 0 var(--mint); font-size: .95rem; line-height: 1.45; }
.rp-also b { display: block; color: var(--text); }
.rp-also span { display: block; color: var(--muted); margin-top: 3px; }
/* Spot the slips: a ticked non-slip (fix round 6): neutral violet, never a penalty colour */
.rp-sum .rp-neutral-l { margin-top: 8px; }
.rp-also.rp-neutral li { background: rgba(185, 165, 245, .08); box-shadow: inset 3px 0 0 #b9a5f5; }
.rp-recap .rp-also.rp-neutral { margin-top: 6px; }
.rp-unsaved { color: var(--gold) !important; font-weight: 700; }
/* Spot the slips: the result, read with the video paused before Take 2 (fix round 4) */
.rp-sum { scroll-margin-top: 16px; }
.rp-sum .rp-sum-h { margin-top: 0; padding-top: 14px; border-top: 1px solid var(--line); font-size: 1.1rem; outline-offset: 4px; }

/* the line card */
.rp-card { margin: 14px 0 0; border-radius: 16px; background: #fff4dc; color: var(--gold-ink); padding: 18px 20px 16px; box-shadow: 0 18px 30px -18px rgba(0, 0, 0, .7); }
.rp-card .rp-ctop { display: flex; align-items: center; gap: 10px; font-size: .74rem; font-weight: 900; letter-spacing: .12em; text-transform: uppercase; color: #5a4d73; }
.rp-card .tiles span { width: 20px; height: 20px; font-size: .64rem; border-radius: 5px; }
.rp-card p { margin: 10px 0 0 !important; font-size: 1.08rem; line-height: 1.4; font-weight: 600; }
.rp-card b { font-weight: 900; color: #6a3fd1; }
.rp-cal { margin-top: 12px; }
.rp-cal summary { cursor: pointer; color: var(--muted); font-size: .92rem; }
.rp-cal .rp-cal-f { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 10px; }
.rp-cal label { display: grid; gap: 4px; font-size: .88rem; font-weight: 700; }
.rp-cal input { padding: 9px 12px; border-radius: 10px; border: 1.5px solid rgba(255, 255, 255, .35); background: var(--ink); color: var(--text); font: inherit; font-size: .95rem; color-scheme: dark; }

.rp-recap { margin: 14px 0 0; display: grid; gap: 10px; }
.rp-recap div { padding: 12px 14px; border-radius: 12px; background: rgba(255, 255, 255, .04); }
.rp-recap dt { font-size: .76rem; text-transform: uppercase; letter-spacing: .12em; font-weight: 800; color: var(--gold); }
.rp-recap dd { margin: 4px 0 0; font-size: .98rem; line-height: 1.45; }
/* the recap's call: the learner's pick, then the verdict on its own line, in the verdict's colour */
.rp-recap .rp-pick, .rp-recap .rp-verdict { display: block; }
.rp-recap .rp-verdict { margin-top: 4px; font-weight: 700; }
.rp-recap .rp-v-best { color: var(--mint); } .rp-recap .rp-v-partly { color: var(--gold); } .rp-recap .rp-v-leaks { color: var(--coral-text); }
.rp-cta { margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--line); }
/* After the episode the course links sit in a full-width band under the player, not in the recap column (sweep fix,
   9 November 2026): at 1440 px the next card and the pre-launch box sit side by side, with one gold button in each group. */
.rp-band-end { margin-top: 26px; border-radius: var(--r); padding: 24px 26px; background: var(--plum); box-shadow: inset 0 0 0 1px var(--line); border-top: 0; }
.rp-band-end > p:first-child { font-weight: 700; font-size: 1.08rem; max-width: 70ch; }
@media (min-width: 1081px) {
  .rp-band-end.rp-has-next { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); grid-template-areas: "lead lead" "solo solo" "next pre" "next links"; gap: 0 26px; align-items: start; }
  .rp-band-end.rp-has-next .rp-solonext { grid-area: solo; }
  .rp-band-end.rp-has-next > p:first-child { grid-area: lead; }
  .rp-band-end.rp-has-next .rp-nextcard { grid-area: next; display: grid; grid-template-columns: minmax(0, 220px) minmax(0, 1fr); gap: 0 18px; align-items: start; }
  .rp-band-end.rp-has-next .rp-nextcard img { margin: 6px 0 0; }
  .rp-band-end.rp-has-next .rp-pre { grid-area: pre; }
  .rp-band-end.rp-has-next .rp-cta-links { grid-area: links; }
  .rp-band-end.rp-pv-end { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 0 30px; align-items: start; }
  .rp-band-end.rp-pv-end > * { grid-column: 1; }
  .rp-band-end.rp-pv-end > .rp-pv-side { grid-column: 2; grid-row: 1 / span 4; align-self: start; }
  .rp-band-end.rp-pv-end .rp-pv-side > .rp-pre { margin-top: 0; }
}
.rp-cta > p { margin-top: 0; }
/* before launch: the Solo price and the launch-day reminder */
.rp-pre { margin-top: 14px; padding: 14px 16px; border-radius: 14px; background: rgba(255, 182, 39, .08); box-shadow: inset 0 0 0 1px rgba(255, 182, 39, .35); }
.rp-pre p { margin: 0 !important; }
.rp-pre .rp-pre-price { font-size: 1rem; line-height: 1.5; }
.rp-pre .rp-pre-price b { color: var(--text); }
.rp-pre .rp-actions { margin-top: 12px; }
.rp-pre .rp-note { margin-top: 10px !important; font-size: .86rem; }
.rp-pre .rp-rstat:empty { display: none; }
.rp-cta-links { margin-top: 14px; }
/* the recap keeps the summary's omission note and "also worth noticing" (fix round 4) */
.rp-recap .rp-sub { display: block; margin-top: 8px; color: var(--muted); font-size: .92rem; }
.rp-recap .rp-sub.rp-also-h { color: var(--mint); font-weight: 700; }
.rp-recap .rp-also { margin-top: 6px; }
/* the next episode: the toolkit recap's link and the Episode 1 recap's card (fix round 4) */
.rp-next { margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--line); }
.rp-next .rp-k { margin: 0 !important; }
.rp-nextcard { margin-top: 16px; padding: 14px 16px 16px; border-radius: 14px; background: rgba(255, 255, 255, .05); box-shadow: inset 0 0 0 1px var(--line); }
.rp-nextcard img { width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 10px; display: block; margin-bottom: 12px; }
.rp-nextcard p { margin: 6px 0 0 !important; font-size: .97rem; line-height: 1.5; }
.rp-nextcard .rp-k { margin: 0 !important; }
.rp-nextcard .rp-note { font-size: .88rem; }
.rp-nextcard .rp-actions { margin-top: 12px; }
/* the sources list under the cards (the /team/ pages' component) */
.rp-sources { padding-top: 26px; }

/* below the player: the long research card on the left, the two short cards stacked on the right, none stretched */
.rp-more { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); grid-template-areas: "why fac" "why priv"; gap: 18px; margin-top: 56px; align-items: start; }
.rp-more .rp-why-card { grid-area: why; } .rp-more .rp-fac { grid-area: fac; } .rp-more .rp-priv-card { grid-area: priv; }
.rp-more article { border-radius: var(--r); padding: 24px; background: var(--plum); box-shadow: inset 0 0 0 1px var(--line); }
.rp-more .rp-why-card p { max-width: 70ch; }
.rp-more h2 { font-size: 1.25rem; letter-spacing: -0.01em; }
.rp-more p, .rp-more li { color: var(--muted); font-size: .97rem; margin-top: 10px; line-height: 1.55; }
.rp-more code { font-size: .9em; background: rgba(255, 255, 255, .08); padding: 1px 6px; border-radius: 6px; color: var(--text); overflow-wrap: normal; word-break: normal; }
.rp-more code span { white-space: nowrap; }  /* the URL wraps only after a '/' (a <wbr> sits between pieces) */
.rp-more a.rp-url { text-decoration-color: rgba(255, 182, 39, .7); text-underline-offset: 4px; }
.rp-more a { color: var(--text); }
.rp-grades { margin-top: 12px; display: grid; gap: 6px; font-size: .9rem; color: var(--muted); }
.rp-grades div { display: grid; grid-template-columns: 102px 1fr; gap: 8px; align-items: start; }
.rp-tx { margin-top: 26px; border-radius: var(--r); background: var(--plum); box-shadow: inset 0 0 0 1px var(--line); padding: 6px 24px; }
.rp-tx summary { cursor: pointer; padding: 16px 0; font-weight: 800; font-size: 1.08rem; }
.rp-tx h3 { font-size: .8rem; text-transform: uppercase; letter-spacing: .14em; color: var(--gold); margin: 18px 0 6px; }
.rp-tx p { margin: 4px 0 0; font-size: .97rem; color: var(--muted); max-width: 80ch; }
.rp-tx p b { color: var(--text); }
.rp-tx p.rp-scr { color: #d3c7f6; font-style: italic; }
.rp-tx p.rp-vis { color: #f5f3fa; border-left: 3px solid #8a6ae0; padding-left: 10px; margin-top: 8px; }
.rp-tx .rp-vis-k { font-weight: 800; color: #d3c7f6; }
.rp-tx .rp-tx-end { padding-bottom: 20px; }
.rp-band { margin-top: 26px; display: flex; flex-wrap: wrap; gap: 14px 22px; align-items: center; justify-content: space-between; border-radius: var(--r); padding: 24px 26px;
  background: linear-gradient(120deg, rgba(138, 106, 224, .28), rgba(47, 212, 173, .12)); box-shadow: inset 0 0 0 1px var(--line); }
.rp-band p { margin: 0; font-weight: 700; font-size: 1.1rem; max-width: 52ch; }
.rp-band .rp-actions { margin: 0; }
.rp-nojs { color: var(--muted); font-size: .95rem; margin-top: 12px; }
html.js .rp-nojs { display: none; }

/* the free Episode 6 preview at /watch/episode-6/ (decision H): its close lists what the full episode adds */
.rp-pv-end h3 { font-size: 1.15rem; margin-top: 0; color: var(--text); }
.rp-adds { list-style: none; padding: 0; margin: 12px 0 0; display: grid; gap: 8px; counter-reset: rpa; }
.rp-adds li { counter-increment: rpa; display: grid; grid-template-columns: 26px 1fr; gap: 10px; align-items: start; padding: 10px 12px; border-radius: 12px;
  background: rgba(255, 255, 255, .04); color: var(--muted); font-size: .95rem; line-height: 1.45; }
.rp-adds li::before { content: counter(rpa); width: 26px; height: 26px; border-radius: 8px; display: grid; place-items: center; font-weight: 900; font-size: .8rem;
  background: var(--mint); color: var(--gold-ink); }
.rp-adds b { color: var(--text); }
.rp-pv-end > p { color: var(--muted); font-size: .97rem; line-height: 1.5; }
.rp-pv-nojs { margin-top: 26px; max-width: 880px; }
.rp-pv-nojs .rp-cta { border-top: 1px solid var(--line); }

@media (max-width: 1080px) {
  .rp { grid-template-columns: 1fr; gap: 18px; }
  .rp-stage { position: relative; top: auto; }  /* fix round 7: without top: auto the sticky offset (84px) shifted the stage over the panel */
  .rp-more { grid-template-columns: 1fr; grid-template-areas: "why" "fac" "priv"; }
}
@media (max-width: 560px) {
  .rp-page { padding-top: 28px; }
  .rp-panel { padding: 20px 18px; }
  .rp-sw .rp-state { display: none; }
  .rp-panel h2 { font-size: 1.4rem; }
  .rp-actions .btn { flex: 1 1 100%; justify-content: center; text-align: center; }
  .rp-sw { padding: 8px 12px 8px 9px; font-size: .88rem; }
  .rp-flag { top: 8px; font-size: .72rem; padding: 4px 10px; }
  .rp-sci { position: static; display: inline-block; margin-top: 10px; font-size: .8rem; max-width: 100%; }
  .rp-band-end { padding: 20px 18px; }
  .rp-tx { padding: 4px 18px; }
  .rp-grades div { grid-template-columns: 92px 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  .rp *, .rp *::before, .rp *::after { transition: none !important; animation: none !important; }
}
@media (forced-colors: active) {
  .rp-knob { border: 1px solid CanvasText; }
  .rp-sw[aria-checked="true"] .rp-knob::after { background: CanvasText; }
  .rp-opt:has(input:checked) { outline: 2px solid Highlight; }
}

/* the printable card: only #rp-print prints. Fix round 6 (learner review): the site's general print sheet
   (html:not(.print-calc) body * { color: #111 !important; background: transparent !important }) beat these rules, so the
   card printed plain black on white and the R O O M tiles fell apart into stray letters. Every colour, background and box
   rule here is !important: with the #rp-print id they outrank the site sheet's (0,1,2) selector, and print-color-adjust
   keeps the cream card and the tiles when "Background graphics" is off. build/player/test/test_player.mjs prints the card to
   PDF and checks its colours. */
#rp-print { display: none; }
@media print {
  html.rp-printing body > *:not(#rp-print) { display: none !important; }
  html.rp-printing body { background: #fff !important; color: #1b1629 !important; }
  html.rp-printing #rp-print { display: block !important; font-family: "Outfit", system-ui, sans-serif; color: #1b1629 !important; background: #fff !important; }
  #rp-print .rp-pcard { width: 148mm; min-height: 96mm; margin: 12mm auto 0; border: 1.5px dashed #6b6385 !important; border-radius: 6mm; padding: 9mm 10mm 7mm;
    -webkit-print-color-adjust: exact; print-color-adjust: exact; background: #fff4dc !important; color: #1b1629 !important; display: flex; flex-direction: column; break-inside: avoid; }
  #rp-print .rp-ptop { display: flex; align-items: center; gap: 3mm; font-weight: 900; letter-spacing: .12em; font-size: 9pt; text-transform: uppercase; color: #5a4d73 !important; }
  #rp-print .tiles { display: inline-flex !important; gap: 1.2mm; }
  #rp-print .tiles span { width: 6mm; height: 6mm; border-radius: 1.5mm; display: grid !important; place-items: center; font-size: 7pt; font-weight: 900; letter-spacing: 0; color: #1b1629 !important;
    -webkit-print-color-adjust: exact; print-color-adjust: exact; }
  #rp-print .tiles span:nth-child(1) { background: #ffb627 !important; } #rp-print .tiles span:nth-child(2) { background: #8a6ae0 !important; color: #fff !important; }
  #rp-print .tiles span:nth-child(3) { background: #2fd4ad !important; } #rp-print .tiles span:nth-child(4) { background: #ff6b70 !important; color: #fff !important; }
  #rp-print .rp-pline { margin: 7mm 0 0; font-size: 17pt; line-height: 1.3; font-weight: 600; color: #1b1629 !important; }
  #rp-print .rp-pline b { font-weight: 900; color: #6a3fd1 !important; }
  #rp-print .rp-pfoot { margin-top: auto; padding-top: 6mm; font-size: 8.5pt; color: #4a4262 !important; border-top: 0.3mm solid #d9cfb8 !important; }
  #rp-print .rp-pfoot span { display: block; color: #4a4262 !important; }
  #rp-print .rp-pfoot .rp-prule { font-weight: 700; color: #1b1629 !important; margin-bottom: 1mm; }
  #rp-print .rp-pcut { text-align: center; font-size: 8.5pt; color: #4a4262 !important; margin-top: 4mm; }
  @page { size: A4 portrait; margin: 10mm; }
}

/* LMS pages: slim brand bar, resume note and the completion quiz */
.rp-lmsbar { border-bottom: 1px solid var(--line); background: rgba(27, 22, 41, .92); }
.rp-lmsbar .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 60px; flex-wrap: wrap; }
.rp-lmsbar .brand { font-size: .95rem; }
.rp-lmsbar .rp-ep { color: var(--muted); font-size: .92rem; }
.rp-resume { margin-top: 12px; display: flex; flex-wrap: wrap; gap: 10px; align-items: center; color: var(--muted); font-size: .95rem; }
.rp-quiz { margin-top: 56px; max-width: 860px; }
.rp-quiz h2 { font-size: clamp(1.7rem, 3vw, 2.3rem); outline-offset: 6px; }
.rp-quiz .lead { margin-top: 12px; }
.rp-quiz fieldset { border: 0; padding: 0; margin: 26px 0 0; min-width: 0; }
.rp-quiz legend { font-weight: 700; font-size: 1.08rem; line-height: 1.45; margin-bottom: 8px; padding: 0; }
.rp-qn { display: block; font-size: .76rem; text-transform: uppercase; letter-spacing: .14em; font-weight: 800; color: var(--gold); margin-bottom: 6px; }
.rp-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.rp-qfb { margin-top: 10px; padding: 12px 14px; border-radius: 12px; font-size: .97rem; line-height: 1.5; }
.rp-qfb p { margin: 0; }
.rp-qfb .rp-cite { margin-top: 8px; color: var(--muted); font-size: .88rem; }
.rp-qok { background: rgba(47, 212, 173, .1); box-shadow: inset 3px 0 0 var(--mint); }
.rp-qno { background: rgba(255, 182, 39, .08); box-shadow: inset 3px 0 0 var(--gold); }
.rp-qres { margin-top: 22px; padding: 20px 22px; border-radius: var(--r); background: var(--plum); box-shadow: inset 0 0 0 1px var(--line); outline-offset: 4px; }
.rp-qres p { margin-top: 8px; }
.rp-qres .rp-score { margin-top: 0; }
.rp-foot { border-top: 1px solid var(--line); margin-top: 64px; padding: 28px 0 40px; color: var(--dim); font-size: .9rem; }
.rp:not(.rp-ready) .rp-bar, .rp:not(.rp-ready) .rp-marks { display: none; }
.rp-lmsbar .rp-ep a { color: var(--text); text-underline-offset: 3px; }
.rp-tx .rp-tx-note { font-style: italic; margin-bottom: 4px; }
.rp-icstext textarea { display: block; width: 100%; margin-top: 6px; font: .82rem/1.4 ui-monospace, monospace; background: rgba(255, 255, 255, .06); color: var(--text); border: 1px solid var(--line); border-radius: 10px; padding: 8px; }
.rp-icstext label { display: block; margin-top: 8px; font-size: .9rem; font-weight: 700; }
.rp-below a { color: var(--text); }

/* fix round 7 (design review): the large play disc over the poster, as on the home trailer card (build/site/styles.css .play .disc) */
.rp-bigplay { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -60%); width: 84px; height: 84px; padding: 0; border: 0; border-radius: 999px;
  background: transparent; cursor: pointer; display: grid; place-items: center; }
.rp-bigplay[hidden] { display: none; }
.rp-bigplay .rp-disc { width: 76px; height: 76px; border-radius: 999px; background: rgba(255, 255, 255, .94); color: var(--plum); display: grid; place-items: center;
  box-shadow: 0 16px 40px -10px rgba(0, 0, 0, .6); transition: transform .25s cubic-bezier(.16, 1, .3, 1); }
.rp-bigplay svg { margin-left: 4px; }
.rp-bigplay:hover .rp-disc { transform: scale(1.07); }
.rp:not(.rp-ready) .rp-bigplay { display: none; }
@media (prefers-reduced-motion: reduce) { .rp-bigplay .rp-disc { transition: none; } .rp-bigplay:hover .rp-disc { transform: none; } }
/* fix round 7 (accessibility review): the options under "Describe visuals" */
.rp-adopts { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-top: 10px; font-size: .92rem; color: var(--muted); }
.rp-adopts[hidden] { display: none; }
.rp-adopts label { display: inline-flex; align-items: center; gap: 8px; cursor: pointer; min-height: 32px; }
.rp-adopts label[hidden] { display: none; }
.rp-adopts input { width: 18px; height: 18px; accent-color: var(--gold); margin: 0; }
@media (max-width: 600px) { .rp-bigplay { width: 68px; height: 68px; } .rp-bigplay .rp-disc { width: 60px; height: 60px; } }
/* fix round 7 (learner review): "In Solo, next", the paid episodes after the free one, with their slips and the Solo price */
.rp-solonext { margin-top: 14px; padding: 14px 16px 16px; border-radius: 14px; background: rgba(255, 255, 255, .05); box-shadow: inset 0 0 0 1px var(--line); }
.rp-solonext .rp-k { margin: 0 !important; }
.rp-sn { list-style: none; padding: 0; margin: 10px 0 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 200px), 1fr)); gap: 10px 18px; }
.rp-sn li { display: flex; flex-direction: column; gap: 3px; font-size: .93rem; line-height: 1.4; }
.rp-sn .rp-sn-h b { color: var(--text); }
.rp-sn .rp-t { font-variant-numeric: tabular-nums; font-weight: 700; color: var(--gold); margin-left: 4px; }
.rp-sn .rp-sn-s { color: var(--muted); }
@media (min-width: 1081px) { .rp-sn { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 10px 16px; } }
.rp-solonext .rp-sn-foot { margin: 12px 0 0 !important; font-size: .95rem; line-height: 1.5; }
.rp-solonext .rp-sn-foot b { color: var(--text); }

/* Fix round 8 (design review): the Episode 6 preview's always-visible strip under the player (build_player.py
   preview_strip_html): what the full episode adds, the Solo price and, before launch, a reminder and the Solo link. */
.rp-pvstrip { margin-top: 16px; padding: 12px 16px; border-radius: 14px; background: rgba(255, 182, 39, .08); box-shadow: inset 0 0 0 1px rgba(255, 182, 39, .35);
  display: flex; flex-wrap: wrap; align-items: center; gap: 10px 18px; }
.rp-pvstrip-t { margin: 0; flex: 1 1 420px; font-size: .98rem; line-height: 1.5; color: var(--muted); }
.rp-pvstrip-t b { color: var(--text); }
.rp-pvstrip-a { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; }
.rp-pvstrip-a .btn { margin: 0; }
.rp-pvstrip-l { color: var(--gold); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.rp-pvstrip-l:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 4px; }
.rp-pvstrip .rp-rstat { flex-basis: 100%; margin: 0; }
.rp-pvstrip .rp-rstat:empty { display: none; }
@media (max-width: 600px) { .rp-pvstrip-t { flex-basis: 100%; } }

/* Design pass 1 (11 November 2026) */
/* the play control sits bottom-left with its label, as on the home page, so it never covers a face or a name plate */
.rp[data-mode="web"] .rp-bigplay { left: 18px; top: auto; bottom: 18px; transform: none; width: auto; height: auto; gap: 10px; display: inline-flex; align-items: center;
  padding: 6px 18px 6px 6px; border-radius: 999px; background: rgba(15, 11, 26, .78); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); color: var(--text); }
.rp[data-mode="web"] .rp-bigplay[hidden] { display: none; }
.rp[data-mode="web"] .rp-bigplay .rp-disc { width: 48px; height: 48px; box-shadow: none; }
.rp[data-mode="web"] .rp-bigplay .rp-disc svg { width: 22px; height: 22px; }
.rp[data-mode="web"] .rp-bigplay::after { content: attr(title); font: inherit; font-weight: 800; font-size: .9375rem; white-space: nowrap; }
.rp[data-mode="web"] .rp-bigplay:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }
@media (max-width: 600px) { .rp[data-mode="web"] .rp-bigplay { left: 12px; bottom: 12px; width: auto; height: auto; padding: 4px 14px 4px 4px; } .rp[data-mode="web"] .rp-bigplay .rp-disc { width: 40px; height: 40px; } }
/* a heading that takes focus when a question opens shows no ring after a mouse or touch; keyboard users keep it */
#rp-h:focus:not(:focus-visible), .rp [tabindex="-1"]:focus:not(:focus-visible) { outline: none; }
/* the settings switches: one tidy row, no On/Off word (the switch and aria-checked carry the state) */
.rp-bar { display: grid; grid-template-columns: repeat(4, auto); justify-content: start; gap: 8px; }
.rp-sw { padding: 6px 12px 6px 8px; font-size: .9375rem; }
.rp-sw .rp-state { display: none; }
@media (max-width: 760px) { .rp-bar { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } .rp-sw { min-width: 0; white-space: normal; text-align: left; } .rp-bar > .rp-sw:last-child:nth-child(odd) { grid-column: 1 / -1; } .rp-sw { justify-content: flex-start; } }
/* one disclosure pattern: title left, a gold plus right that turns when open */
details.rp-tx > summary, details.rp-evmore > summary, .rp details > summary.muted { list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 12px; cursor: pointer; }
details.rp-tx > summary::-webkit-details-marker, details.rp-evmore > summary::-webkit-details-marker, .rp details > summary.muted::-webkit-details-marker { display: none; }
details.rp-tx > summary::after, details.rp-evmore > summary::after, .rp details > summary.muted::after { content: "+"; color: var(--gold); font-weight: 800; font-size: 1.375rem; line-height: 1; transition: transform .2s; flex: none; }
details.rp-tx[open] > summary::after, details.rp-evmore[open] > summary::after, .rp details[open] > summary.muted::after { transform: rotate(45deg); }
@media (prefers-reduced-motion: reduce) { details.rp-tx > summary::after, details.rp-evmore > summary::after { transition: none; } }
/* while the episode plays, the intro card's moment list marks the next moment */
.rp-steps li.rp-next { box-shadow: inset 2px 0 0 var(--gold); padding-left: 10px; }
.rp-steps li.rp-next .rp-t { color: var(--gold); }
@media (max-width: 760px) { .rp-sw { white-space: nowrap; font-size: .875rem; } .rp-marks { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; } .rp-marks > li:last-child:nth-child(odd) { grid-column: 1 / -1; } }
/* 320 px (WCAG 1.4.10, integration pass): two switches side by side were 338 px wide; one column below 361 px */
@media (max-width: 360px) { .rp-bar { grid-template-columns: minmax(0, 1fr); } .rp-bar > .rp-sw:last-child:nth-child(odd) { grid-column: auto; } }

/* Design pass 2 (11 November 2026) */
/* the play control: one round disc at the frame's centre, no label in the frame (the side card's gold button is the one
   labelled call to action), clear of every name plate */
.rp[data-mode="web"] .rp-bigplay { left: 50%; top: 44%; bottom: auto; transform: translate(-50%, -50%); width: 72px; height: 72px; padding: 0; gap: 0;
  background: transparent; -webkit-backdrop-filter: none; backdrop-filter: none; display: grid; place-items: center; }
.rp[data-mode="web"] .rp-bigplay::after { content: none; }
.rp[data-mode="web"] .rp-bigplay .rp-disc { width: 72px; height: 72px; box-shadow: 0 12px 40px -8px rgba(0, 0, 0, .55); }
.rp[data-mode="web"] .rp-bigplay .rp-disc svg { width: 28px; height: 28px; }
@media (max-width: 600px) { .rp[data-mode="web"] .rp-bigplay { left: 50%; bottom: auto; width: 56px; height: 56px; padding: 0; } .rp[data-mode="web"] .rp-bigplay .rp-disc { width: 56px; height: 56px; } }
/* the paused flag on a phone: under the frame, above the switches */
@media (max-width: 600px) { .rp-stage > .rp-flag { position: static; transform: none; display: block; width: max-content; max-width: 100%; margin: 10px 0 0; white-space: normal; } .rp-stage > .rp-flag[hidden] { display: none; } }
/* after a decision: the reveal stays short (your call, the better move, the rest folded) and the next action stays in reach */
.rp-besth { margin-top: 16px; }
details.rp-others, .rp-ev-c details.rp-why { margin-top: 12px; border-radius: 14px; box-shadow: inset 0 0 0 1px var(--line); background: rgba(255, 255, 255, .03); }
details.rp-others > summary, .rp-ev-c details.rp-why > summary { list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 48px; padding: 10px 14px; cursor: pointer; font-weight: 700; font-size: .95rem; }
details.rp-others > summary::-webkit-details-marker, .rp-ev-c details.rp-why > summary::-webkit-details-marker { display: none; }
details.rp-others > .rp-fb { margin: 0; padding: 0 12px 12px; }
.rp-ev-c details.rp-why > :not(summary) { margin-left: 14px; margin-right: 14px; }
.rp-ev-c details.rp-why > :last-child { margin-bottom: 14px; }
.rp-ev-c .rp-evline { margin-top: 8px; }
.rp-ev-c details.rp-evmore { margin-top: 8px; }
.rp-ev-c .rp-evh { margin-top: 18px; }
@media (min-width: 1081px) {
  .rp-panel { position: sticky; top: 96px; max-height: calc(100vh - 120px); overflow: auto; overscroll-behavior: contain; }
  .rp-panel .rp-act-stick { position: sticky; bottom: 0; margin: 18px -26px -26px; padding: 24px 26px 22px; background: linear-gradient(rgba(42, 29, 69, 0), var(--plum) 30%); z-index: 2; }
}
@media (max-width: 600px) {
  .rp-panel .rp-act-stick { position: sticky; bottom: 12px; z-index: 3; }
  .rp-panel .rp-act-stick .btn { width: 100%; min-height: 52px; justify-content: center; box-shadow: 0 12px 30px -10px rgba(0, 0, 0, .7); }
}
details.rp-others > summary::after, .rp-ev-c details.rp-why > summary::after { content: ""; flex: none; width: 18px; height: 18px; background: var(--gold);
  -webkit-mask: var(--i-plus) center / 18px 18px no-repeat; mask: var(--i-plus) center / 18px 18px no-repeat; transition: transform .2s; }
details.rp-others[open] > summary::after, .rp-ev-c details.rp-why[open] > summary::after { transform: rotate(45deg); }
@media (prefers-reduced-motion: reduce) { details.rp-others > summary::after, .rp-ev-c details.rp-why > summary::after { transition: none; } }
@media (min-width: 1081px) { .rp-panel .rp-act-stick { background: linear-gradient(rgba(42, 29, 69, 0), var(--plum) 22px); padding-top: 26px; } }
/* every summary in the player: the site's one plus icon (styles.css --i-plus), not a text glyph */
details.rp-tx > summary::after, details.rp-evmore > summary::after, .rp details > summary.muted::after { content: "" !important; width: 18px; height: 18px; font-size: 0; background: var(--gold);
  -webkit-mask: var(--i-plus) center / 18px 18px no-repeat; mask: var(--i-plus) center / 18px 18px no-repeat; }
/* Pre-publish fix (11 November 2026, learner minor): "What the grades mean" matches the page's other expanders: card-text size,
   space above, and the gold plus at the right with a gap (it was unstyled, larger than the body copy, the plus glued to "mean"). */
.rp-more details.rp-grades-d { margin-top: 12px; border-top: 1px solid var(--line); padding-top: 4px; }
.rp-more details.rp-grades-d > summary { list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 44px;
  cursor: pointer; font-size: .97rem; font-weight: 700; color: var(--text); }
.rp-more details.rp-grades-d > summary::-webkit-details-marker { display: none; }
.rp-more details.rp-grades-d > summary::after { content: ""; flex: none; width: 18px; height: 18px; background: var(--gold); transition: transform .2s;
  -webkit-mask: var(--i-plus) center / 18px 18px no-repeat; mask: var(--i-plus) center / 18px 18px no-repeat; }
.rp-more details.rp-grades-d[open] > summary::after { transform: rotate(45deg); }
.rp-more details.rp-grades-d > summary:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 6px; }
@media (prefers-reduced-motion: reduce) { .rp-more details.rp-grades-d > summary::after { transition: none; } }
