/* /new-design — the base every page loads, in this order: tokens.css, base.css, then the page's own sheets (sub-plan 1814, R7 b).
   Fonts, the reset, the body, the focus ring, and the few atoms more than one page uses. Colours come from tokens.css only. */
@font-face {
  font-family: "Sora";
  font-style: normal;
  font-weight: 500 700;
  font-display: swap;
  src: url("/new-design/fonts/sora-latin.woff2") format("woff2");
}
@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("/new-design/fonts/manrope-latin.woff2") format("woff2");
}

*, *::before, *::after { box-sizing: border-box; border-color: var(--border); }
/* row 2076, D-2097-a (sub-plan 2097 step 2): an element with `hidden` is not drawn, whatever its class says. A class that sets
   `display` (`.wk-btn`, `.acc-section`, `.progress` …) otherwise beats the browser's own [hidden]; the one-selector rules in the
   page sheets stay, and this is the one that holds for every page (test_t1_hidden_is_hidden). */
[hidden] { display: none !important; }
/* smooth scrolling, with room under the sticky bars for a target scrolled to (ticket 2004, map RU01); off under reduced motion */
/* map RU14 (ticket 2005): the scrollbar's room is kept even where a page does not scroll, so the top bar never shifts */
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 6rem; scrollbar-gutter: stable; }
/* a workspace page never scrolls its root (ticket 2005: .wk-main is the one scroll surface), so it reserves no gutter there */
html:has(.workspace) { scrollbar-gutter: auto; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
body {
  margin: 0;
  background: var(--background);
  color: var(--foreground);
  font-family: var(--font-sans);
  font-size: 1.0625rem;
  line-height: 1.65;
}
:where(a, button, input, summary, [tabindex]):focus-visible { outline: 3px solid var(--ring); outline-offset: 2px; }
p { margin: 0; }
.icon { width: 1.25rem; height: 1.25rem; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.brand-accent { color: var(--primary); }
.note { font-size: 0.8125rem; line-height: 1.25rem; color: var(--muted-foreground); }

/* Text for a screen reader only: a reason a control is off, a name that sighted users read from the layout. */
.sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
