/* Today's Recall (programme recall, S02). Page boundaries are the shared ones only (640/641, 920/921); this file
 * adds none. No colour grading, progress bars towards "complete", scores or ratings (D10). */
.llb-recall { display: grid; gap: 1rem; }
.llb-recall__limits { color: var(--llb-muted, #555); font-size: .95rem; margin: 0; }
.llb-recall fieldset { border: 0; padding: 0; margin: 0; min-width: 0; }
.llb-recall legend { font-weight: 600; margin-bottom: .75rem; padding: 0; }
.llb-recall legend:focus, .llb-recall [tabindex="-1"]:focus { outline: none; }
.llb-recall__options { display: grid; gap: .5rem; }
.llb-recall__option { display: flex; gap: .6rem; align-items: flex-start; padding: .6rem .75rem; border: 1px solid currentColor; border-radius: 6px; cursor: pointer; }
.llb-recall__option input { margin-top: .25rem; }
.llb-recall__position { margin: 0; font-size: .95rem; }
/* the link to the source article stands on a line of its own, so it needs a 24px target (WCAG 2.5.8); it measured 19px tall at 640px in the S03 audit */
.llb-recall__article a, .llb-recall__map li > a, [data-recall-body] p > a, .llb-recall__feedback a { display: inline-block; padding: .2rem 0; }
/* the article links in "Articles you’ve seen" measured 19 px tall in WebKit at 640 px (WCAG 2.5.8; the S03 re-audit after Entry 21): same fix as the source line above */
.llb-recall__feedback { padding: .75rem 1rem; border-left: 4px solid currentColor; margin-bottom: .75rem; }
.llb-recall__feedback p { margin: .4rem 0; }
.llb-recall__fallback { font-size: .95rem; }
.llb-recall__map ul { list-style: none; margin: 0 0 1rem; padding: 0; display: grid; gap: .5rem; }
.llb-recall__map li { display: flex; flex-wrap: wrap; gap: .5rem; align-items: baseline; }
.llb-recall__when { font-size: .95rem; }
/* "Remove" (map) and "Clear history" (rail) are small chips with a bin (operator 2026-11-06): the house chip's face and size (.llb-case-card__term), outlined because it is a control, and at
   least 24px tall (WCAG 2.5.8). Tokens with fallbacks only. */
.llb-recall__remove, .llb-recall__clear-pill { display: inline-flex; align-items: center; gap: .3rem; min-height: 24px; padding: .125rem .55rem; border: 1px solid var(--ll-line, #ded6ca);
  border-radius: .65rem; background: var(--llb-muted-surface, #eef1f5); color: var(--llb-muted-text, #48505b); font-family: var(--ll-typography-ui); font-size: .75rem;
  line-height: 1.4; cursor: pointer; }
.llb-recall__remove:hover, .llb-recall__remove:focus-visible, .llb-recall__clear-pill:hover, .llb-recall__clear-pill:focus-visible { border-color: var(--ll-accent-dark, #7a3f18); color: var(--ll-accent-dark, #7a3f18); }
.llb-recall__remove-icon { width: .95rem; height: .95rem; fill: none; stroke: currentColor; stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.llb-recall__invite { padding: .75rem 1rem; border: 1px solid currentColor; border-radius: 6px; }
.llb-recall { position: relative; }
/* The live region only speaks: the answer and the next step are already on the screen, so a second visible copy ("Not quite." twice) is clutter. */
.llb-recall__live { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; border: 0; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; }
/* Windows High Contrast: the primary buttons are a filled pill with no border, so with the fill forced to the page colour they read as plain text. */
@media (forced-colors: active) { .llb-recall .action-link { border: 1px solid ButtonText; } }
@media (forced-colors: active) { .llb-recall .llb-recall__remove, .llb-recall-rail .llb-recall__clear-pill { border-color: ButtonText; } }
/* The result screen restates the question (S03): options are read-only list items, not controls. The student's choice and the correct option are named in
 * words ("Your answer", "Correct answer"), carry a mark, and differ by border STYLE (solid and thick for the correct option, dashed and thick for a wrong
 * choice), so nothing depends on colour (WCAG 1.4.1). Tokens only, no new colours; forced colours keep the borders and the words. */
.llb-recall__options--review { list-style: none; margin: 0; padding: 0; }
.llb-recall__option--review { cursor: default; align-items: baseline; }
.llb-recall__option--review.is-answer { border: 3px solid currentColor; background: var(--ll-color-surfaceStrong, #f8f3ea); }
.llb-recall__option--review.is-chosen.is-wrong { border: 3px dashed currentColor; }
.llb-recall__mark { font-weight: 700; flex: 0 0 auto; min-width: 1.1em; }
.llb-recall__tag { font-weight: 700; }
.llb-recall__stem { font-weight: 600; margin: 0 0 .75rem; }
.llb-recall__locked { margin: .5rem 0 0; font-size: .95rem; }
.llb-recall__result:focus { outline: none; }
.llb-recall__result { font-weight: 700; margin: .4rem 0; }
/* The rail (S03): the same pattern as the Support page's "Before you write" (`.llb-support-layout`, `.llb-support-rail`), under Recall's own class names so that
 * this file carries it on the Recall page alone. A content column and a 17rem rail from 921px; under 921px the rail stacks below the content. Shared boundary only. */
.llb-recall-layout { display: grid; gap: 1.5rem; }
.llb-recall-main { min-width: 0; max-width: var(--ll-layout-readingMeasure, 780px); }
.llb-recall-page .body > :not(.llb-recall-layout) { max-width: var(--ll-layout-readingMeasure, 780px); }
.llb-recall-rail { align-self: start; border: 1px solid var(--ll-line, #d7d0c2); border-radius: var(--ll-radius-sm, .65rem); padding: 1rem 1.1rem; font: 400 .9rem/1.5 var(--ll-typography-ui); }
.llb-recall-rail h2 { margin: 0 0 .5rem; font: 700 .95rem/1.3 var(--ll-typography-ui); }
.llb-recall-rail h2:not(:first-child) { margin-top: 1rem; }
.llb-recall-rail p { margin: 0 0 .75rem; color: var(--ll-muted, #55606b); }
.llb-recall-rail p:last-child, .llb-recall-rail ul:last-child { margin-bottom: 0; }
.llb-recall-rail__points, .llb-recall-rail__links { margin: 0 0 .75rem; padding-left: 1.1rem; color: var(--ll-muted, #55606b); }
.llb-recall-rail li { margin: .2rem 0; }
.llb-recall-rail a { display: inline-block; padding: .15rem 0; }
/* A control the keyboard moves to is scrolled clear of the sticky header (WCAG 2.4.11): the rail sits beside the content, so Tab from the foot of the page scrolls UP to a link at the top edge. 11rem (176 px) clears the sticky header at every measured width (91 px desktop, 114 px phone, 161 px at 320 px); the token stickyOffset (72 px) did not. Rail links only: set on every control of the page it made WebKit leave the Start and passage links off-screen in the S03 audit. */
.llb-recall-rail a { scroll-margin-top: 11rem; }
/* After a sitting finishes the Start button returns to the top of the page (D-3). Tab or Shift+Tab to it from below scrolls WebKit only until it is at the top edge, which is under the sticky header (WCAG 2.4.11; found by the S04 re-audit of the rebased tree); room for the 91 px header. Start only: a large margin on every control left other links off-screen in WebKit (S03). */
.llb-recall [data-recall-start] { scroll-margin-top: 7rem; }
/* WebKit ignored the scroll-margin above when the Start button took focus (the S04 re-audit measured it at y=6 under the logo): the scroll container's own padding is what it honours. Scoped to this page so no other page's anchors move. */
html:has(.llb-recall-page) { scroll-padding-top: 7rem; }
/* Focus ring for the controls on this page: opaque. The site's global ring is the accent at 45% opacity, which composited over white is 1.8:1 (WCAG 1.4.11 asks 3:1);
   the dark accent is 7.3:1. The header and the rest of the site keep the global ring (D-2 package, `41-`). */
.llb-recall-page :is(a, button, input, select, textarea, summary):focus-visible { outline: 3px solid var(--ll-accent-dark, #7a3f18); outline-offset: 3px; }
@media (min-width: 921px) { .llb-recall-layout { grid-template-columns: minmax(0, var(--ll-layout-readingMeasure, 780px)) 17rem; align-items: start; } }
@media (prefers-reduced-motion: reduce) { .llb-recall * { transition: none !important; animation: none !important; } }
@media (max-width: 640px) {
  .llb-recall__option { padding: .75rem; }
  .llb-recall__map li { display: block; }
}

.llb-recall-rail__clear { margin: .5rem 0 .75rem; }
