/* Forest: tokens and base components (FR1 of docs/specs/2026-10-forest-roadmap.md).
   Values are the artboards' (design/bashmo-forest-package/bashmo-forest/source):
   the README's tokens, the source's sizes. Loaded only for a member the
   switch is on for, so nothing here touches the old look. Two themes (LD1,
   LD4 of docs/specs/2026-11-light-default.md): light, the default with no
   pick, and the artboards' dark green, picked in Settings as "Dark". The
   base :root is the dark set; :root[data-theme="light"] below swaps every
   colour token, and the old screens' and the landing's remaps each have a
   light twin after them. */

@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url(/static/inter.3100e775e861.woff2) format("woff2");
}
/* LD8 of docs/specs/2026-11-light-default.md: the titles' face, the owner's
   pick of 2026-11-05 (a plain serif, no curled f or j). Variable in weight
   and optical size, latin. */
@font-face {
  font-family: "Source Serif 4";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url(/static/source-serif-4.af5f22cbb511.woff2) format("woff2");
}
@font-face {
  font-family: "JetBrains Mono";
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url(/static/jetbrains-mono.e907e506477f.woff2) format("woff2");
}
/* NAV-3 of the overnight spec (2026-11-18): the Arabic word (the landing's
   footer and name band, which the question pages reuse, the try card's kept
   line, the room's greeting) on a device with no Arabic font of its own,
   which would draw a row of boxes. A fallback only (the second pass): every
   stack that draws Arabic names the page's own stack and the devices' own
   faces first and this one last, so a device with one of them keeps it (a
   Mac or an iPhone, Windows, Linux or ChromeOS with Noto). Android's own
   naskh is no family name Chrome knows there (an unnamed
   fallback in the system's font list), so each face asks for it by its full
   and PostScript names in local() before the file: the regular for 400 to
   500, the bold for 600 to 700 (then the regular, for a phone with no bold
   file). The file is Noto Kufi Arabic (SIL OFL, fonts/OFL-notokufiarabic.txt)
   cut to the ten letters the product writes and a space, its weight axis to
   400-700: 6 KB, fetched only where none of those faces answers. The name
   below is no font's, so a rule that asks for an installed face by its name
   (the room's greeting asks for Noto Kufi Arabic) gets the device's own. */
@font-face {
  font-family: "Bashmo Arabic";
  font-style: normal;
  font-weight: 400 500;
  font-display: swap;
  src: local("Noto Naskh Arabic"), local("NotoNaskhArabic-Regular"),
       url(/static/noto-kufi-arabic.390a52b898fe.woff2) format("woff2");
  unicode-range: U+0020, U+0627-0628, U+062F, U+0633-0634, U+0644-0647, U+064A;
}
@font-face {
  font-family: "Bashmo Arabic";
  font-style: normal;
  font-weight: 600 700;
  font-display: swap;
  src: local("Noto Naskh Arabic Bold"), local("NotoNaskhArabic-Bold"),
       local("Noto Naskh Arabic"), local("NotoNaskhArabic-Regular"),
       url(/static/noto-kufi-arabic.390a52b898fe.woff2) format("woff2");
  unicode-range: U+0020, U+0627-0628, U+062F, U+0633-0634, U+0644-0647, U+064A;
}

:root {
  --fo-ground: #0f1f1b;
  --fo-card: #16302a;
  --fo-raised: #1c3a33;
  --fo-border: #2b4a42;
  --fo-divider: #223c35;
  --fo-route: #3a5a51;
  --fo-connector: #4e6c63;
  --fo-text: #f3efe4;
  --fo-text-2: #b9c4bf;
  --fo-muted: #8a9a93;
  --fo-accent: #34d399;
  --fo-amber: #fbbf24;
  --fo-red: #f87171;
  --fo-node: #245a4d;
  --fo-on-accent: #062016;
  --fo-primary-bg: #f3efe4;
  --fo-primary-text: #0f1f1b;
  /* Tints the artboards repeat. */
  --fo-track: rgba(243, 239, 228, 0.12);
  --fo-wash: rgba(243, 239, 228, 0.08);
  --fo-wash-2: rgba(243, 239, 228, 0.06);
  --fo-accent-wash: rgba(52, 211, 153, 0.12);
  --fo-accent-line: rgba(52, 211, 153, 0.35);
  --fo-amber-wash: rgba(251, 191, 36, 0.12);
  --fo-amber-line: rgba(251, 191, 36, 0.4);
  /* LD4, LD5 of docs/specs/2026-11-light-default.md: the literals the rules
     carried, as tokens; each dark value is the old literal exactly. */
  --fo-link-hover: #ffffff;
  --fo-primary-hover: #ffffff;
  --fo-hairline: rgba(243, 239, 228, 0.16);
  --fo-fill: rgba(243, 239, 228, 0.1);
  --fo-fill-strong: rgba(243, 239, 228, 0.45);
  /* F7 of the UI/UX review (the owner's answer of 2026-11-10): one weight for
     an empty mark (a new tick, an unreached rung, a day or week not practised,
     an area's ring with no score yet), 3:1 or more on every dark ground (3.2:1
     on a raised card, 3.4 on a card, 3.7 on the page); the faint tints left
     them about 1.4:1. A bar's track stays faint: its fill is read against it. */
  --fo-empty: rgba(243, 239, 228, 0.42);
  --fo-dash: rgba(255, 255, 255, 0.45);
  --fo-accent-ring: rgba(52, 211, 153, 0.14);
  --fo-accent-halo: rgba(52, 211, 153, 0.18);
  --fo-accent-halo-2: rgba(52, 211, 153, 0.08);
  --fo-red-line: rgba(248, 113, 113, 0.4);
  --fo-glass: rgba(15, 31, 27, 0.92);
  --fo-ground-alt: #132a24;
  --fo-hover-filter: brightness(1.15);
  --fo-on-primary-accent: #34d399;   /* an accent mark on the primary fill (dark: the accent itself) */
  --fo-chevron: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%238a9a93' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");   /* the picker's arrow, stroked in --fo-muted */
  --fo-scheme: dark;
  --fo-r-card: 16px;
  --fo-r-node: 18px;
  --fo-r-btn: 10px;
  --fo-r-chip: 8px;
  /* LD8 of docs/specs/2026-11-light-default.md (the owner, 2026-11-05: no
     more curly f's and j's, then "lets do 5" of five faces): the titles are
     Source Serif 4, upright, the italic token too; the text stays Inter. */
  --fo-serif: "Source Serif 4", Georgia, "Times New Roman", serif;
  --fo-sans: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --fo-mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  --fo-italic: "Source Serif 4", Georgia, "Times New Roman", serif;
}

/* LD1, LD4 of docs/specs/2026-11-light-default.md: the light theme, the
   default when nothing is picked (LD7: Bashmo's palette from before Forest,
   the public pages' paper; the app's remap lays its own page and cards over
   it). No data-skin in the selector:
   the guide pages link this file without one. (0,2,0) beats the base :root
   and the guides' own inline :root. Every colour token is here; radii and
   fonts are the base block's in both themes. */
:root[data-theme="light"] {
  /* LD7 of docs/specs/2026-11-light-default.md: light is Bashmo's own
     palette from before Forest (landing.html's and index.html's light
     tokens, unchanged since 2026-10-21): each Forest role takes the colour
     that held the same role there. This set is the public pages' paper (the
     landing's: a paper page, white cards); the app's remap below lays its
     own page and cards over it (index.html: --bg-soft, --surface). The
     lines are the ink at .16 and .30, the one primary the teal with cream
     words. */
  --fo-ground: #FBFAF4;                  /* the landing's --ground */
  --fo-card: #FFFFFF;                    /* the landing's --card */
  --fo-raised: #FFFFFF;                  /* a lift: Home's white */
  --fo-border: rgba(34, 48, 44, 0.16);   /* --line */
  --fo-divider: rgba(34, 48, 44, 0.1);   /* the landing's --line, a quieter rule */
  --fo-route: rgba(34, 48, 44, 0.3);     /* --line-strong */
  --fo-connector: #7E8B84;               /* --field-line, a step darker: 3:1 on cream */
  --fo-text: #22302C;
  --fo-text-2: #3F4E47;
  --fo-muted: #56635F;
  --fo-accent: #1D5C50;
  --fo-amber: #7F5F12;
  --fo-red: #A9502F;
  --fo-node: #DFE8E2;                    /* --sage-tint */
  --fo-on-accent: #FBFAF4;
  --fo-primary-bg: #1D5C50;              /* the one primary: --sage, cream words */
  --fo-primary-text: #FBFAF4;
  --fo-track: rgba(34, 48, 44, 0.2);   /* LD4: 0.12 left the rings' tracks at 1.2:1; dark's read at 1.66 */
  --fo-wash: rgba(34, 48, 44, 0.05);
  --fo-wash-2: rgba(34, 48, 44, 0.035);
  --fo-accent-wash: rgba(29, 92, 80, 0.10);
  --fo-accent-line: rgba(29, 92, 80, 0.35);
  --fo-amber-wash: rgba(176, 138, 46, 0.14);
  --fo-amber-line: rgba(140, 109, 31, 0.38);
  --fo-link-hover: #1D5C50;
  --fo-primary-hover: #16453D;           /* --sage-deep, the primary's hover */
  --fo-hairline: rgba(34, 48, 44, 0.16);
  --fo-fill: rgba(34, 48, 44, 0.08);
  --fo-fill-strong: rgba(34, 48, 44, 0.4);
  --fo-empty: var(--fo-track);   /* F7: light's empty weight is the track's, LD4's, unchanged */
  --fo-dash: rgba(34, 48, 44, 0.4);
  --fo-accent-ring: rgba(29, 92, 80, 0.14);
  --fo-accent-halo: rgba(29, 92, 80, 0.16);
  --fo-accent-halo-2: rgba(29, 92, 80, 0.07);
  --fo-red-line: rgba(169, 80, 47, 0.4);
  --fo-glass: rgba(251, 250, 244, 0.92);
  --fo-ground-alt: #F2F1E8;               /* the landing's --deep */
  --fo-hover-filter: brightness(0.96);   /* a lift on cream reads as a shade down */
  --fo-on-primary-accent: #FBFAF4;       /* a mark on the teal primary: its cream, 7.4:1 */
  --fo-chevron: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%2356635F' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  --fo-scheme: light;
}

/* ---- Page base: a Forest page opts in with .fo-page on <body> ---------- */
.fo-page {
  margin: 0;
  background: var(--fo-ground);
  color: var(--fo-text);
  font-family: var(--fo-sans);
  font-size: 14px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  color-scheme: var(--fo-scheme);   /* LD4: the theme's own, form controls and scrollbars too */
}
.fo-page a { color: var(--fo-text); }
.fo-page a:hover { color: var(--fo-link-hover); }

/* ---- Type ---------------------------------------------------------------- */
.fo-mono { font-family: var(--fo-mono); }
/* NAV-3: the Arabic word asks for its page's own stack first, whole (the
   stack it inherits: Safari and an iPhone draw it through -apple-system in
   the system's own Arabic face, Windows in Segoe UI, a browser whose
   sans-serif carries Arabic in that), then the devices' own faces, for a
   browser whose stack has none (Chrome on a Mac: Geeza Pro; Linux and
   ChromeOS, two Noto names), and the site's face last, for a device with
   none (Android's naskh comes through it: the face above). lang="ar"
   alone: the guides' transliteration (ar-Latn) keeps the page's face.
   PL5 of docs/specs/2026-11-landing-pillars.md (the landing's review of 2026-11-19: the
   footer's word drawn as boxes): Tahoma, an Arabic face on every Windows, among the devices'
   own, and the generic sans-serif last, an explicit Arabic-capable fallback after the site's
   face; the faces before keep their places, so no device that drew it changes face. */
[lang="ar"] { font-family: var(--fo-sans), "Geeza Pro", "Noto Naskh Arabic", "Noto Sans Arabic", Tahoma, "Segoe UI", "Bashmo Arabic", sans-serif; }
.fo-label {
  font-family: var(--fo-mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  color: var(--fo-muted);
  text-transform: uppercase;
}
.fo-big {
  font-family: var(--fo-serif);
  font-weight: 500;
  font-size: 34px;
  letter-spacing: -0.02em;
  line-height: 1;
}
.fo-big--accent { color: var(--fo-accent); }

/* ---- Buttons -------------------------------------------------------------- */
.fo-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 36px;
  padding: 0 14px;
  box-sizing: border-box;
  border-radius: var(--fo-r-btn);
  border: 0;
  background: var(--fo-primary-bg);
  color: var(--fo-primary-text);
  font-family: inherit;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
}
.fo-page a.fo-btn, .fo-page a.fo-btn:hover { color: var(--fo-primary-text); }
.fo-btn--md { height: 44px; padding: 0 22px; font-size: 15px; }
.fo-btn--lg { height: 48px; padding: 0 22px; font-size: 15px; }
.fo-btn--block { display: flex; width: 100%; height: 50px; font-size: 15px; }
.fo-btn--secondary {
  background: var(--fo-raised);
  border: 1px solid var(--fo-border);
  color: var(--fo-text);
}
.fo-page a.fo-btn--secondary, .fo-page a.fo-btn--secondary:hover { color: var(--fo-text); }
.fo-btn--ghost {
  background: transparent;
  border: 1px solid var(--fo-border);
  color: var(--fo-text-2);
  font-size: 13px;
  font-weight: 500;
  height: auto;
  padding: 8px 12px;
  border-radius: var(--fo-r-chip);
}
.fo-btn--add {
  display: flex;
  width: 100%;
  height: 34px;
  border-radius: var(--fo-r-chip);
  border: 1px dashed var(--fo-border);
  background: transparent;
  color: var(--fo-text-2);
  font-size: 13px;
  font-weight: 500;
}
/* AD2 (docs/specs/2026-11-add-job-door.md): the Pace card's door to the job.
   AD1's door under the route's sub-line is outlined (fo-btn--secondary) since
   H1 of the UI/UX review: the band's Continue is Home's one filled button. */
.fo-btn--accent { background: var(--fo-accent); color: var(--fo-on-accent); }
.fo-btn--accent:hover { filter: brightness(1.08); }
.fo-btn:disabled, .fo-btn[aria-disabled="true"] { opacity: 0.5; cursor: default; }
/* The two-line Continue, the second line in mono: the admin gallery's
   block. Home's Next step card resets it to one line (.fo-next, below). */
.fo-btn--continue {
  display: flex;
  flex-direction: column;
  gap: 2px;
  width: 100%;
  height: auto;
  min-height: 52px;
  padding: 8px 16px;
}
.fo-btn--continue small {
  font-family: var(--fo-mono);
  font-size: 11px;
  font-weight: 400;
  opacity: 0.8;
}

/* The answer chips ("What's next?"). */
.fo-chip {
  padding: 7px 12px;
  border-radius: var(--fo-r-chip);
  border: 1px solid var(--fo-border);
  background: var(--fo-card);
  color: var(--fo-text);
  font-family: inherit;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
}
span.fo-chip:not([role="button"]):not([tabindex]) {
  cursor: default;
}
.fo-chip--primary {
  border-color: transparent;
  background: var(--fo-primary-bg);
  color: var(--fo-primary-text);
  font-weight: 600;
}
.fo-chip[aria-pressed="true"], .fo-chip--on {
  border-color: var(--fo-accent);
  background: var(--fo-accent-wash);
  color: var(--fo-accent);
  font-weight: 600;
}

/* Nav links and icon buttons. */
.fo-nav-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 12px;
  border-radius: var(--fo-r-chip);
  color: var(--fo-text-2);
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
}
.fo-page a.fo-nav-link { color: var(--fo-text-2); }
.fo-page a.fo-nav-link[aria-current], .fo-nav-link[aria-current] {
  background: var(--fo-wash);
  color: var(--fo-text);
}
.fo-icon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: var(--fo-r-chip);
  border: 0;
  background: transparent;
  color: var(--fo-text-2);
  cursor: pointer;
}
.fo-icon-btn--round {
  border-radius: 999px;
  border: 1px solid var(--fo-border);
  background: var(--fo-card);
}
.fo-mic {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 84px;
  height: 84px;
  border-radius: 999px;
  border: 0;
  background: var(--fo-primary-bg);
  color: var(--fo-primary-text);
  cursor: pointer;
  box-shadow: 0 0 0 10px var(--fo-accent-wash);
}
.fo-mic--sm { width: 72px; height: 72px; box-shadow: 0 0 0 8px var(--fo-accent-wash); }
.fo-mic--live {
  box-shadow: 0 0 0 8px var(--fo-accent-halo), 0 0 0 16px var(--fo-accent-halo-2);
}

/* ---- Cards and tiles ------------------------------------------------------ */
.fo-card {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 18px;
  box-sizing: border-box;
  background: var(--fo-card);
  border: 1px solid var(--fo-border);
  border-radius: var(--fo-r-card);
}
.fo-card__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
}
.fo-card__note { font-size: 12px; color: var(--fo-muted); }
.fo-tile {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 10px 12px;
  border-radius: var(--fo-r-chip);
  background: var(--fo-ground);
  border: 1px solid var(--fo-border);
  color: var(--fo-text);
  text-decoration: none;
}
.fo-tile__row { display: flex; justify-content: space-between; gap: 8px; }
.fo-tile__title { font-size: 13px; font-weight: 500; min-width: 0; }
.fo-tile__score { font-family: var(--fo-mono); font-size: 11px; white-space: nowrap; }
.fo-tile__fix { font-size: 12px; color: var(--fo-text-2); text-wrap: pretty; }

/* ---- Pills ---------------------------------------------------------------- */
.fo-pill {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  border-radius: 999px;
  border: 1px solid var(--fo-border);
  background: var(--fo-wash-2);
  color: var(--fo-text-2);   /* #06: small text on the raised wash; muted read 4.07:1 here */
  font-size: 12px;
  font-weight: 600;
  white-space: nowrap;
}
.fo-pill--ready {
  background: var(--fo-accent-wash);
  border-color: var(--fo-accent-line);
  color: var(--fo-accent);
}
.fo-pill--again {
  background: var(--fo-amber-wash);
  border-color: var(--fo-amber-line);
  color: var(--fo-amber);
}
.fo-pill--continue {
  background: var(--fo-primary-bg);
  border-color: transparent;
  color: var(--fo-primary-text);
}
/* #09, #14, #58: a stop being written, one waiting, one blocked. */
.fo-pill--writing { border-style: dashed; background: var(--fo-wash); color: var(--fo-text-2); }
.fo-pill--queued { background: transparent; color: var(--fo-muted); }
.fo-pill--blocked { background: transparent; color: var(--fo-muted); }
/* The room's crumbs: "Stop 3 · Job description", "Delivery & risk · must-have". */
.fo-pill--eyebrow, .fo-pill--must {
  gap: 6px;
  padding: 5px 10px;
  border-color: var(--fo-hairline);
  background: var(--fo-wash-2);
  font-family: var(--fo-mono);
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--fo-text-2);
}
.fo-pill--must {
  border-color: var(--fo-accent-line);
  background: var(--fo-accent-wash);
  color: var(--fo-accent);
}
/* The rubric names under the answer box. */
.fo-rubric {
  display: inline-flex;
  align-items: center;
  padding: 5px 10px;
  border-radius: var(--fo-r-chip);
  border: 1px solid var(--fo-border);
  background: var(--fo-ground);
  font-family: var(--fo-mono);
  font-size: 12px;
  color: var(--fo-text-2);
}

/* ---- Meters --------------------------------------------------------------- */
/* Readiness: 5, 10, 20 perfected, drawn 1 : 1 : 2. F7: a rung not reached is
   an empty mark, the one weight (--fo-empty). */
.fo-meter { display: flex; gap: 3px; height: 8px; }
.fo-meter > span { display: block; flex: 1; background: var(--fo-empty); overflow: hidden; }
.fo-meter > span:first-child { border-radius: 4px 0 0 4px; }
.fo-meter > span:last-child { flex: 2; border-radius: 0 4px 4px 0; }
.fo-meter > span > i { display: block; height: 100%; background: var(--fo-accent); }
/* F7, review fix: a part-filled rung meets its empty part at the fill's end,
   and in dark the empty weight is within 2.2:1 of the accent there. Home's
   fill ends on a 2 px cut of the card (7:1 from the fill, 3.4:1 from the
   empty part); a full rung clips it (overflow: hidden). Light keeps its edge. */
#fo-route .fo-ready .fo-meter > span > i { box-shadow: 2px 0 0 var(--fo-card); }
:root[data-theme="light"] #fo-route .fo-ready .fo-meter > span > i { box-shadow: none; }
.fo-meter__scale {
  display: flex;
  justify-content: space-between;
  font-family: var(--fo-mono);
  font-size: 10px;
  color: var(--fo-muted);
}
/* The week: seven ticks; a day not practised is an empty mark (F7). */
.fo-ticks { display: flex; gap: 4px; }
.fo-ticks > span {
  display: block;
  flex: 1;
  height: 6px;
  border-radius: 3px;
  background: var(--fo-empty);
}
.fo-ticks > span.on { background: var(--fo-accent); }
/* LD4: in light the empty parts took the faint washes (1.1:1 on a white
   card) and a learner at 0% saw no scale; they take the track's weight.
   Before the landing's hero meter, which sets its own. */
:root[data-theme="light"] .fo-meter > span,
:root[data-theme="light"] .fo-ticks > span:not(.on),
:root[data-theme="light"] .fo-leg__bar > span:not(.on):not(.part) { background: var(--fo-track); }
/* A rubric leg, out of 2: full is accent, half is amber. */
.fo-legs {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-family: var(--fo-mono);
  font-size: 12px;
  color: var(--fo-text-2);
}
.fo-leg { display: flex; align-items: center; gap: 10px; }
.fo-leg__name { width: 92px; }
.fo-leg__bar { display: flex; gap: 3px; flex: 1; }
.fo-leg__bar > span {
  display: block;
  flex: 1;
  height: 6px;
  border-radius: 3px;
  background: var(--fo-empty);
}
.fo-leg__bar > span.on { background: var(--fo-accent); }
.fo-leg__bar > span.part { background: var(--fo-amber); }
.fo-leg__val { width: 28px; text-align: right; }

/* ---- Legend --------------------------------------------------------------- */
.fo-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  font-family: var(--fo-mono);
  font-size: 11px;
  color: var(--fo-muted);
}
.fo-legend > span { display: inline-flex; align-items: center; gap: 6px; }
/* VH5 of docs/specs/2026-11-tester-six-points.md: each swatch is the mark it
   names: a branch's name, bold or quiet (VH1); a ring; a card's top edge (VH3). */
.fo-legend__bold, .fo-legend__quiet { font-family: var(--fo-sans); font-size: 12px; }
.fo-legend__bold { font-weight: 600; color: var(--fo-text); }
.fo-legend__quiet { font-weight: 500; color: var(--fo-text-2); }
.fo-legend__edge {
  display: inline-block;
  width: 18px;
  height: 12px;
  border-radius: 3px;
  box-sizing: border-box;
  background: var(--fo-card);
  border: 1px solid var(--fo-border);
  box-shadow: inset 0 3px 0 var(--fo-accent);
}
.fo-legend__ring {
  display: inline-block;
  width: 10px;
  height: 10px;
  border-radius: 999px;
  box-sizing: border-box;
  border: 3px solid var(--fo-accent);
}
/* F2 of the UI/UX review: the ticks' three marks in their order, kept, tried,
   new; one box and two shadows, so each keeps its rounded ends. */
.fo-legend__ticks {
  display: inline-block;
  width: 8px;
  height: 6px;
  margin-right: 22px;
  border-radius: 3px;
  background: var(--fo-accent);
  box-shadow: 11px 0 0 var(--fo-amber), 22px 0 0 var(--fo-empty);
}
/* UX review F2, VH5: each swatch is the mark itself, so it keeps its size
   while the words beside it wrap (a phone): a flex item shrinks by default,
   and an empty one shrinks to nothing (the ring was an oval, the ticks dots). */
.fo-legend__edge, .fo-legend__ring, .fo-legend__ticks { flex: none; }
/* HW2 of the UI/UX review (D29): the line ends on Home's worded door to How
   Bashmo works, a link in the page's face; HP2's floors, 32 px with a mouse
   and 44 under a finger. */
.fo-legend > .fo-route-how { font-family: var(--fo-sans); font-size: 12px; }
@media (pointer: fine) {
  #fo-route .fo-route-how { min-height: 32px; }
}
@media (pointer: coarse), (max-width: 760px) {
  #fo-route .fo-route-how { min-height: 44px; }
}
/* QL3 of docs/specs/2026-11-find-sets-own-questions-stages.md: Home's door to
   every question set, before it on the line, in the same face and floors. */
.fo-legend > .fo-route-sets { font-family: var(--fo-sans); font-size: 12px; }
@media (pointer: fine) {
  #fo-route .fo-route-sets { min-height: 32px; }
}
@media (pointer: coarse), (max-width: 760px) {
  #fo-route .fo-route-sets { min-height: 44px; }
}
/* #2 of the sets review: a job's Plan tab draws the same line under its route
   (renderIvPlanRoute) and both doors work there too: the same floors. */
@media (pointer: fine) {
  #iv-plan-route .fo-route-sets, #iv-plan-route .fo-route-how { min-height: 32px; }
}
@media (pointer: coarse), (max-width: 760px) {
  #iv-plan-route .fo-route-sets, #iv-plan-route .fo-route-how { min-height: 44px; }
}

/* ---- Route anatomy -------------------------------------------------------- */
.fo-ring { display: block; flex-shrink: 0; }
/* A stop card (the landing's preview keeps this size; the route's list overrides it below). */
.fo-stop {
  width: 300px;
  height: 56px;
  box-sizing: border-box;
  padding: 0 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  background: var(--fo-card);
  border: 1px solid var(--fo-border);
  border-radius: var(--fo-r-card);
  color: var(--fo-text);
  text-decoration: none;
}
.fo-stop--wide { width: 480px; }
.fo-stop--group { border: 1px dashed var(--fo-dash); }
/* VH1 of docs/specs/2026-11-tester-six-points.md: an outline means focus and
   nothing else, so "you are here" draws no border or halo on its card. */
.fo-stop--here { }
.fo-stop--idle { color: var(--fo-text-2); }
.fo-stop__text { display: flex; flex-direction: column; gap: 1px; min-width: 0; }
/* Titles show whole, as the renders draw them (a few px into the gap). The
   renders let a long sub-line run under the pill; it ellipsizes instead. */
.fo-stop__title { font-size: 15px; font-weight: 600; white-space: nowrap; }
.fo-stop__sub {
  font-family: var(--fo-mono);
  font-size: 11px;
  color: var(--fo-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
/* A branch: a 32 ring beside its name; bold when relevant, quiet when not. */
.fo-branch {
  width: 136px;
  height: 48px;
  box-sizing: border-box;
  padding: 0 10px;
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--fo-card);
  border: 1px solid var(--fo-border);
  border-radius: var(--fo-r-btn);
  color: var(--fo-text-2);
  text-decoration: none;
}
.fo-branch--ringed { color: var(--fo-text); }
/* VH1: with the relevance border gone, a quiet branch's name drops a weight
   as well as a tone, so the pair reads bold and quiet. */
.fo-branch:not(.fo-branch--ringed) .fo-branch__title { font-weight: 500; }
.fo-branch__text { display: flex; flex-direction: column; min-width: 0; }
.fo-branch__title { font-size: 12px; font-weight: 600; line-height: 15px; white-space: nowrap; }
.fo-branch__sub { font-family: var(--fo-mono); font-size: 10px; color: var(--fo-muted); white-space: nowrap; }
/* VH3 of docs/specs/2026-11-tester-six-points.md: a card's score as a thin top
   edge on the page's bands (forest.js bandClass: amber under 4, the accent from
   8, nothing between), the Start tiles' inset idiom, in both themes. Inside the
   card, so it is never read as an outline. */
.fo-stop.fo-band--low, .fo-branch.fo-band--low { box-shadow: inset 0 3px 0 var(--fo-amber); }
.fo-stop.fo-band--high, .fo-branch.fo-band--high { box-shadow: inset 0 3px 0 var(--fo-accent); }
/* The finish line: the mock, with its checkered strip. */
.fo-finish {
  height: 80px;
  box-sizing: border-box;
  padding: 0 16px 0 0;
  display: flex;
  align-items: center;
  gap: 16px;
  background: var(--fo-card);
  border: 1px solid var(--fo-border);
  border-radius: var(--fo-r-card);
  overflow: hidden;
}
.fo-finish__flag {
  display: block;
  width: 12px;
  height: 100%;
  flex-shrink: 0;
  background-color: var(--fo-text);
  background-image:
    linear-gradient(45deg, var(--fo-ground) 25%, transparent 25%, transparent 75%, var(--fo-ground) 75%),
    linear-gradient(45deg, var(--fo-ground) 25%, transparent 25%, transparent 75%, var(--fo-ground) 75%);
  background-size: 12px 12px;
  background-position: 0 0, 6px 6px;
}
.fo-finish__text { display: flex; flex-direction: column; gap: 2px; min-width: 0; flex: 1; }
.fo-finish__title { font-size: 15px; font-weight: 600; }
.fo-finish__note { font-size: 12px; color: var(--fo-muted); text-wrap: pretty; }

/* A stop card as a door (role=button). UX review H1 (D07): a pill on the
   card is a status, never a button (its Continue is the quiet .fo-stop__act),
   so the pill-as-button hovers went with it. */
.fo-stop[role="button"] { cursor: pointer; }

/* ---- Focus ---------------------------------------------------------------- */
.fo-page :focus-visible { outline: 2px solid var(--fo-accent); outline-offset: 2px; }
@media (prefers-reduced-motion: reduce) {
  .fo-page * { transition: none !important; animation: none !important; }
}

/* ---- FR3: the app under the skin --------------------------------------- */
/* The page ground and the top bar take Forest's tokens (the old screens take
   theirs through FR4's remap below), in light and in dark alike (LD1). */
[data-skin="forest"] body { background: var(--fo-ground); }
[data-skin="forest"] .fo-only { display: none; }
/* The under-construction banner (--uc-h, its measured height, which already
   holds the notch's inset) and the view-as line (--va-h) sit above the bar,
   so the bar grows by them and every layer keyed off --topbar-h moves down. */
[data-skin="forest"] .topbar {
  --topbar-h: calc(56px + max(env(safe-area-inset-top, 0px), var(--uc-h, 0px)) + var(--va-h, 0px));
  height: calc(56px + max(env(safe-area-inset-top, 0px), var(--uc-h, 0px)) + var(--va-h, 0px));
  padding-left: 20px;
  padding-right: 20px;
  gap: 12px;
  background: var(--fo-ground);
  border-bottom: 1px solid var(--fo-divider);
  font-family: var(--fo-sans);
}
[data-skin="forest"] body.has-topbar { --topbar-h: calc(56px + max(env(safe-area-inset-top, 0px), var(--uc-h, 0px)) + var(--va-h, 0px)); }
/* LD7: the bars (the top bar, the phone's tab bar, the mock's own head) are
   paper over the page, as they were before Forest (--bg), and the wordmark is
   the teal name with its full stop in the ink (the owner's ask of 2026-10-13) */
:root[data-skin="forest"][data-theme="light"] :is(.topbar, .fo-tabs, .mr-head) { background: var(--bg); }
:root[data-skin="forest"][data-theme="light"] .topbar .brandname { color: var(--sage); }
:root[data-skin="forest"][data-theme="light"] .topbar .brandname b { color: var(--ink); }
[data-skin="forest"] .topbar .brandmark { display: none; }
[data-skin="forest"] .topbar .brandname {
  font-family: var(--fo-sans);
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--fo-text);
}
[data-skin="forest"] .topbar .brandname b { color: var(--fo-accent); }
[data-skin="forest"] .topbar .tb-nav { gap: 2px; margin-left: 16px; }
/* LD2 of docs/specs/2026-11-light-default.md: Settings' Theme row shows
   under the skin too (Light or Dark), so it is no longer hidden here. */
[data-skin="forest"] .topbar .js-top-home,
[data-skin="forest"] .topbar .js-top-practice { display: none !important; }
[data-skin="forest"] .topbar .fo-only { display: inline-flex; }
[data-skin="forest"] .topbar .fo-nav-link { border: 0; background: none; font-family: inherit; cursor: pointer; }
[data-skin="forest"] .topbar .fo-nav-link svg { flex-shrink: 0; }
[data-skin="forest"] .topbar .fo-nav-short { display: none; }   /* #69: the short label waits for the tablet */
/* #54: the link for the screen on show reads in the accent. */
[data-skin="forest"] body:has(#screen-master:not([hidden])) .topbar .js-fo-roadmap,
[data-skin="forest"] body:has(#screen-progress:not([hidden])) .topbar .js-fo-progress { color: var(--fo-accent); }
/* LD4: in light the teal is only 1.1:1 from the other links' grey, so the
   current one also sits on the node tint, Settings' picked chip's. */
:root[data-skin="forest"][data-theme="light"] body:has(#screen-master:not([hidden])) .topbar .js-fo-roadmap,
:root[data-skin="forest"][data-theme="light"] body:has(#screen-progress:not([hidden])) .topbar .js-fo-progress { background: var(--fo-node); }
/* UX review NV2: while the practice room is up, Practice is the screen on
   show and takes the same mark, in both themes (renderTopBar says it too,
   with aria-current). */
[data-skin="forest"] body:has(#rehearse:not([hidden])) .topbar .js-fo-practice { color: var(--fo-accent); }
:root[data-skin="forest"][data-theme="light"] body:has(#rehearse:not([hidden])) .topbar .js-fo-practice { background: var(--fo-node); }
[data-skin="forest"] .topbar .tb-acct {
  width: 36px; height: 36px; padding: 0; justify-content: center;
  border-radius: 999px; border: 1px solid var(--fo-border); background: var(--fo-card); color: var(--fo-text-2);
}
/* #54: the avatar is Settings' door, a plain initial as on the boards (aria-haspopup names the menu);
   while Settings shows it reads as the current screen (board F2_Settings). */
[data-skin="forest"] .topbar .tb-acct .tb-chev { display: none; }
[data-skin="forest"] body:has(#screen-settings:not([hidden])) .topbar .tb-acct { border: 2px solid var(--fo-accent); background: var(--fo-node); color: var(--fo-text); }
/* #15 of docs/specs/audit-fixes-2026-10-23.md (F_Home): the position switcher
   beside the avatar replaced the route's chips row: the position over its
   round, date and days left in mono. "+ Add a job" lives in its menu. */
[data-skin="forest"] .topbar .js-top-pos {
  display: inline-flex; align-items: center; gap: 12px;
  flex: 0 1 auto; min-width: 0; max-width: 360px; height: 44px; padding: 0 12px 0 14px;
  border-radius: 10px; border: 1px solid var(--fo-border); background: var(--fo-card);
  color: var(--fo-text); font-family: inherit; font-weight: 400; text-align: left;
}
[data-skin="forest"] .topbar .js-top-pos:hover { background: var(--fo-card); color: var(--fo-text); }
[data-skin="forest"] .topbar .js-top-pos[aria-expanded="true"] { border-color: var(--fo-accent); }
@media (hover: hover) { [data-skin="forest"] .topbar .js-top-pos:hover { border-color: var(--fo-accent); } }
/* The lines cap at the button's room, so a long name never sizes the button past it. */
[data-skin="forest"] .topbar .tb-pos-lines { max-width: 304px; }
/* The role and the company share the line: the room is dealt out evenly and
   a part that needs less gives the rest to the other, so a long role never
   pushes the company out and two positions with one role still read apart. */
[data-skin="forest"] .topbar .tb-pos-full {
  display: grid; grid-template-columns: minmax(0, max-content) max-content minmax(0, max-content);
  font-size: 13px; font-weight: 600;
}
[data-skin="forest"] .topbar .tb-pos-role,
[data-skin="forest"] .topbar .tb-pos-co { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
[data-skin="forest"] .topbar .tb-pos-sep { white-space: pre; }
[data-skin="forest"] .topbar .tb-pos-when {
  display: block; font-family: var(--fo-mono); font-size: 11px; color: var(--fo-muted);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
[data-skin="forest"] .topbar .js-top-pos .tb-chev { position: relative; width: 16px; height: 16px; font-size: 0; opacity: 1; }
[data-skin="forest"] .topbar .js-top-pos .tb-chev::before {
  content: ''; position: absolute; left: 4px; top: 2px; width: 6px; height: 6px;
  border-right: 2px solid var(--fo-muted); border-bottom: 2px solid var(--fo-muted); transform: rotate(45deg);
}
/* While jobs run their pill sits left of the switcher: the nav keeps its one
   line, and the pill gives way first (it ellipsizes; its popover holds the
   rest; a phone shows its dot), then the switcher; the avatar keeps its place. */
[data-skin="forest"] .topbar .fo-nav-link { white-space: nowrap; }
[data-skin="forest"] .topbar .tb-jobs { flex: 0 2 auto; min-width: 0; overflow: hidden; text-overflow: ellipsis; }
/* #54: Settings on the ground, its title in the serif, its rows on the divider. */
[data-skin="forest"] #screen-settings .doc { background: var(--fo-ground); }
[data-skin="forest"] #screen-settings .st-side h1 { font-family: var(--fo-serif); }
[data-skin="forest"] #screen-settings .st-line { border-top-color: var(--fo-divider); }

/* ---- FR3: the route screen (Home under the skin) ------------------------ */
[data-skin="forest"] #screen-master.fo-on > .doc { display: none; }
.fo-route {
  display: flex;
  flex-wrap: wrap;
  /* DL1: the band is a line of its own; a short route's spare height stays
     under the lines instead of stretching the band's cards. */
  align-content: flex-start;
  min-height: 100%;
  background: var(--fo-ground);
  color: var(--fo-text);
  font-family: var(--fo-sans);
  font-size: 14px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-y: auto;
  height: 100%;
  box-sizing: border-box;
}
.fo-route[hidden] { display: none; }
.fo-map {
  flex: 999 1 560px;
  min-width: 0;
  position: relative;
  box-sizing: border-box;
  padding: 20px 24px 48px;
  display: flex;
  flex-direction: column;
}
.fo-map__head { display: flex; flex-direction: column; gap: 2px; }
.fo-map__title { margin: 0; font-size: 15px; font-weight: 600; letter-spacing: -0.01em; }
.fo-map__sub { margin: 0; font-size: 13px; color: var(--fo-muted); }
.fo-map__status { margin: 6px 0 0; font-family: var(--fo-mono); font-size: 11px; color: var(--fo-accent); min-height: 16px; }
/* AD1: the door under the sub-line - one sentence in the learner's words
   and the button, capped so it never competes with the stop card; on a
   phone the two stack and the button fills the row. */
.fo-map__door { display: flex; align-items: center; gap: 16px; margin: 14px 0 0; max-width: 620px; box-sizing: border-box; padding: 12px 16px; border-radius: 12px; background: var(--fo-accent-wash); border: 1px solid var(--fo-accent-line); }
.fo-map__door[hidden] { display: none; }
.fo-door__text { margin: 0; flex: 1; min-width: 0; font-size: 14px; line-height: 1.45; color: var(--fo-text); }
.fo-door__sub { display: block; margin-top: 2px; font-size: 13px; color: var(--fo-text-2); }
.fo-map__door .fo-btn { flex: none; white-space: nowrap; }
@media (max-width: 600px) {
  .fo-map__door { flex-direction: column; align-items: stretch; }
  .fo-map__door .fo-btn { display: flex; }
}
/* UW11a of docs/specs/2026-11-ux-walk-fixes.md: the first Home's orientation,
   a row of its own over the band (orientPaint in index.html): three lines,
   one outlined button (the band's Continue stays Home's one filled button)
   and a Close in its corner. As wide as the route's list. */
.fo-orient { flex: 1 1 100%; min-width: 0; box-sizing: border-box; padding: 16px 24px 0; }
.fo-orient__card { position: relative; max-width: 820px; box-sizing: border-box; padding: 16px 56px 16px 20px; border-radius: 12px; background: var(--fo-accent-wash); border: 1px solid var(--fo-accent-line); }
.fo-orient__h { margin: 0 0 4px; font-family: inherit; font-size: 16px; font-weight: 700; letter-spacing: -0.01em; line-height: 1.3; color: var(--fo-text); }
.fo-orient__p { margin: 0; font-size: 14px; line-height: 1.5; color: var(--fo-text); text-wrap: pretty; }
.fo-orient__go { margin-top: 12px; min-height: 44px; }
.fo-orient__go[hidden] { display: none; }
/* One welcome, one button: while the card is up the Next step drops its own "Welcome." line,
   and the card's button shows only when the Next step has no button of its own. */
#fo-route:has(#fo-orient) .fo-next__hello { display: none; }
#fo-route:has(#fo-route-overview .fo-btn--continue) .fo-orient__go { display: none; }
.fo-orient__x { position: absolute; top: 4px; right: 4px; width: 44px; height: 44px; padding: 0; border: 0; border-radius: 8px; background: none; color: var(--fo-text-2); font-family: inherit; font-size: 22px; line-height: 1; cursor: pointer; }
.fo-orient__x:hover { color: var(--fo-text); }
/* The scroll clips sideways at its padding box: 4px each side leave room for
   the current ring's halo (VH2) where the list fills the column. */
.fo-map__scroll { display: flex; flex-direction: column; align-items: center; padding: 46px 4px 0; overflow-x: clip; }
/* #02 (F_Home): the route as a list. A ring and a card a stop, the spine one
   line behind the rings; the card fills the row and wraps its parts; the
   branches sit in a grid inside it, names on up to two lines. */
.fo-route-list { list-style: none; margin: 0; padding: 0; position: relative; width: 100%; max-width: 820px; display: flex; flex-direction: column; gap: 16px; }
.fo-route-list::before { content: ""; position: absolute; left: 26.5px; top: 28px; bottom: 48px; width: 3px; border-radius: 2px; background: var(--fo-route); }
.fo-stop-row { display: flex; align-items: flex-start; gap: 16px; position: relative; }
.fo-stop-row > .fo-ring { position: relative; z-index: 1; }
.fo-stop-row--finish { padding-left: 72px; }
.fo-route-list button { font-family: inherit; cursor: pointer; text-align: left; }
.fo-route-list .fo-stop {
  width: auto; height: auto; flex: 1; min-width: 0; padding: 14px 16px;
  flex-direction: column; align-items: stretch; justify-content: flex-start; gap: 12px;
}
.fo-route-list .fo-stop--group { border-style: dashed; border-color: var(--fo-border); }
.fo-route-list .fo-stop--empty { border: 1px dashed var(--fo-route); background: var(--fo-ground); }
.fo-route-list .fo-stop--blocked { border: 1px dashed var(--fo-route); background: var(--fo-ground); }
.fo-route-list .fo-stop--blocked .fo-stop__title { color: var(--fo-muted); }
/* VH1: the current stop's card keeps its plain border (focus owns the accent outline). */
.fo-route-list .fo-stop--here { }
.fo-stop__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.fo-stop__door { background: none; border: 0; padding: 0; margin: 0; color: inherit; font: inherit; display: flex; flex-direction: column; gap: 2px; min-width: 0; flex: 1 1 200px; }
.fo-route-list .fo-stop__title { white-space: normal; text-wrap: balance; }
.fo-route-list .fo-stop__sub { white-space: normal; overflow: visible; text-overflow: clip; }
.fo-stop__act, .fo-btn.fo-stop__act {
  min-height: 40px; padding: 0 14px; border-radius: var(--fo-r-btn); border: 1px solid var(--fo-border);
  background: var(--fo-raised); color: var(--fo-text); font-size: 13px; font-weight: 600; white-space: nowrap;
}
/* VH1: a hover darkens the line to the route's neutral, never the accent. */
.fo-stop__act:hover { border-color: var(--fo-route); }
.fo-route-list .fo-stop:hover { border-color: var(--fo-route); }
/* VH1: an empty or blocked card already rests on the route's line (dashed),
   so its hover takes the next neutral, the connector. */
.fo-route-list .fo-stop--empty:hover, .fo-route-list .fo-stop--blocked:hover { border-color: var(--fo-connector); }
/* SO5 of docs/specs/2026-11-start-only.md: the route while the rest of the
   questions is held. The Start here card leads the stops with no ring (a
   ring here would mean a score); a plain dot marks each card's place on the
   spine where its ring would be, so the cards keep their column. A held stop
   keeps its name and one line, quieter, with no button: the door is its only
   affordance, so the card's hover stays still and the title answers. */
.fo-stop-row__spacer { display: block; width: 56px; height: 56px; flex-shrink: 0; position: relative; z-index: 1; }
.fo-stop-row__spacer::before { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 12px; margin: -6px 0 0 -6px; border-radius: 50%; background: var(--fo-route); }
.fo-stop-row--start .fo-stop-row__spacer::before { width: 16px; height: 16px; margin: -8px 0 0 -8px; background: var(--fo-accent); box-shadow: 0 0 0 4px var(--fo-accent-ring); }
/* VH2 of docs/specs/2026-11-tester-six-points.md: on a shown route "you are
   here" is the current stop's ring, haloed on the spine as the Start here dot
   is; off the card, so it never reads as a selection. The child combinator
   leaves the branch rings inside the card alone. */
.fo-route-list .fo-stop-row--here > .fo-ring { box-shadow: 0 0 0 4px var(--fo-accent-ring); border-radius: 50%; }
.fo-route-list .fo-stop--start { background: var(--fo-raised); }
/* SO5.1: the raised card lifts its background to --fo-raised, where the muted
   11px sub ("3 of 14 answered · you are here") reads at 4.18:1, under WCAG
   AA's 4.5:1 (axe, the e2e walk of 2026-11-04); the second text tone passes. */
.fo-route-list .fo-stop--start .fo-stop__sub { color: var(--fo-text-2); }
.fo-stop__line { font-size: 13px; color: var(--fo-text-2); text-wrap: pretty; }
/* F2 of the UI/UX review (D15): an area's five essentials as five ticks in a
   row of the card's own, the room's essentials bar for a model: kept at 8 the
   accent, tried the amber, new the empty weight (F7: the track's in light,
   LD4's; 3:1 in dark). A tap on the row is the card's: it opens the area's list. */
.fo-stop__foot { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 12px; }
.fo-ess { display: flex; gap: 4px; width: 104px; flex: none; }
.fo-ess > span { flex: 1; height: 6px; border-radius: 3px; background: var(--fo-empty); }
.fo-ess > span.on { background: var(--fo-accent); }
.fo-ess > span.part { background: var(--fo-amber); }
/* HA1 of the UI/UX review (D13): the count in words beside the ticks. */
.fo-ess__n { font-family: var(--fo-mono); font-size: 11px; color: var(--fo-text-2); }
/* Q1 of the UI/UX review (D15): the row ends on the worded door to the
   area's questions, "See the questions"; HP2's floors, 32 px with a mouse
   and 44 under a finger. */
.fo-stop__foot > .fo-stop__see { margin-left: auto; font-size: 13px; }   /* over .fo-link's margin: 0 */
@media (pointer: fine) {
  #fo-route .fo-stop__see { min-height: 32px; }
}
@media (pointer: coarse), (max-width: 760px) {
  #fo-route .fo-stop__see { min-height: 44px; }
}
/* Q1 of the UI/UX review (the owner's answer of 2026-11-10): a Ready area's
   "Write 10 more", a quiet link like the door beside it, the door last; the
   same floors. Review fix: the two sit in one box at the row's end and wrap
   as one: a narrow card stacks them, both at the end, never the door alone
   at the start of a line of its own. */
.fo-stop__foot > .fo-stop__doors { margin-left: auto; display: flex; flex-wrap: wrap; justify-content: flex-end; align-items: center; gap: 4px 12px; }
.fo-stop__doors > .fo-link { font-size: 13px; }
@media (pointer: fine) {
  #fo-route .fo-stop__more { min-height: 32px; }
}
@media (pointer: coarse), (max-width: 760px) {
  #fo-route .fo-stop__more { min-height: 44px; }
}
.fo-route-list .fo-stop--held .fo-stop__title { color: var(--fo-text-2); font-weight: 500; }
.fo-route-list .fo-stop--held:hover { border-color: var(--fo-border); }
.fo-route-list .fo-stop--held .fo-stop__door:hover .fo-stop__title { color: var(--fo-text); text-decoration: underline; text-underline-offset: 3px; }
.fo-branches { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(200px, 100%), 1fr)); gap: 10px; }
.fo-route-list .fo-branch { width: auto; height: auto; min-height: 48px; padding: 10px 12px; border-radius: 12px; align-items: center; }
.fo-route-list .fo-branch:hover { border-color: var(--fo-route); }
.fo-route-list .fo-branch--writing, .fo-route-list .fo-branch--queued { border-style: dashed; }
.fo-route-list .fo-branch__title {
  font-size: 13px; font-weight: 600; line-height: 1.3; white-space: normal; text-wrap: balance;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.fo-route-list .fo-branch__sub { font-size: 11px; white-space: normal; }
.fo-branches__note { margin: 0; font-family: var(--fo-mono); font-size: 11px; color: var(--fo-muted); }
.fo-link { background: none; border: 0; padding: 0; margin: 0; color: var(--fo-accent); font: inherit; text-decoration: underline; cursor: pointer; }
/* The strip over the route while something writes (#09): the title, the
   mono count, a 4-px bar. */
.fo-map__status.fo-strip { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 12px; font-family: var(--fo-sans); font-size: 13px; color: var(--fo-text); }
.fo-strip__m { font-family: var(--fo-mono); font-size: 11px; color: var(--fo-muted); margin-left: auto; }
.fo-strip__bar { flex-basis: 100%; height: 4px; border-radius: 2px; background: var(--fo-track); overflow: hidden; }
.fo-strip__bar i { display: block; height: 100%; background: var(--fo-accent); }
/* The landing's preview keeps its hand-placed lines. */
.fo-route-line { position: absolute; overflow: visible; fill: none; stroke-linecap: round; stroke-linejoin: round; stroke: var(--fo-route); stroke-width: 3; }
.fo-route-line--dashed { stroke-dasharray: 6 6; }
.fo-finish__icon { flex-shrink: 0; fill: none; stroke: var(--fo-text); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
/* UX review H1: Start the mock is the quiet .fo-stop__act, its outline kept. */
.fo-finish__go { cursor: pointer; font-family: inherit; }
/* VH5: the legend takes its own line under the list (the scroll wraps), as
   wide as the list and set in the cards' column (the 56 ring and its 16 gap). */
.fo-route-legend { width: 100%; max-width: 820px; box-sizing: border-box; margin: 20px 0 0; padding-left: 72px; }
.fo-side {
  flex: 1 1 320px;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 16px;
  box-sizing: border-box;
  border-left: 1px solid var(--fo-divider);
  background: var(--fo-ground);
}
/* UX review F1: a route with no Sources draws no side column, so the map
   takes the row. Before the first score its aside is empty and folds; after
   it the aside holds One fix alone, which follows the list: a row of its own
   under the map, the card as wide as the list and on its axis (the map's 24
   px and the list's 4), no divider. Never in the band's row, whose cards a
   tall One fix would stretch. A phone keeps its order (below). */
.fo-side:empty { display: none; }
@media (min-width: 761px) {
  .fo-side:has(> .fo-fixes:only-child) { flex: 1 1 100%; max-width: none; display: block; padding: 0 28px 48px; border: 0; border-image: none; }
  .fo-side > .fo-fixes:only-child { max-width: 820px; margin: 0 auto; }
}
/* UX review T2 (D07): the band's first cell is the Next step card, a card
   like the two beside it (forest.js nextCard): its label, the question's
   own words (three lines at most), one mono line, and one primary, normal
   size, at its foot, so the band's cells end level. The primary keeps
   .fo-btn--continue's fill; its two-line block (above) is the gallery's. */
.fo-next { gap: 8px; }
/* HE1: before the first scored answer, one welcome line over the question. */
.fo-next__hello { margin: 0; font-size: 13px; color: var(--fo-text-2); text-wrap: pretty; }
.fo-next__q {
  margin: 0; font-size: 16px; font-weight: 600; line-height: 1.4; color: var(--fo-text); text-wrap: pretty;
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
}
.fo-next__meta { font-family: var(--fo-mono); font-size: 11px; color: var(--fo-muted); }
/* A part of the line stays whole ("about 3 min", "11 words kept on this
   device"), so it breaks only at a " · "; one wider than the card wraps in itself. */
.fo-next__meta > span { display: inline-block; max-width: 100%; }
.fo-next__go { display: flex; align-items: center; flex-wrap: wrap; gap: 8px 16px; margin-top: auto; padding-top: 4px; }
.fo-next .fo-btn--continue { flex-direction: row; width: auto; min-height: 44px; padding: 0 20px; font-size: 15px; }
.fo-next__discard { min-height: 44px; color: var(--fo-text-2); }
/* DL1 of docs/specs/2026-11-tester-six-points.md: the overview band, a row
   of its own over the map and the aside - the Next step card, Readiness,
   Pace - in three columns, two under 1024 px with the Next step across the
   top. On a phone it has no box (below). */
.fo-overview {
  flex: 1 1 100%;
  min-width: 0;
  box-sizing: border-box;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  padding: 16px 24px 0;
}
/* While the route loads (routeBandWait in index.html) the band holds the
   height it had, so the title under it stays put; with none to hold it
   folds, and the map's head waits unseen until the band lands over it. */
.fo-overview:empty:not([data-wait="hold"]) { display: none; }
.fo-overview[data-wait="first"] + .fo-map > .fo-map__head { opacity: 0; }
/* A held route with no start question has no next step: two columns. */
.fo-overview:not(:has(> .fo-next)) { grid-template-columns: repeat(2, minmax(0, 1fr)); }
/* UX review H2: before the first scored answer the band is the Next step
   card alone, one large card as wide as the route's list (820 px), set at
   the band's start like the title under it. */
.fo-overview:has(> .fo-next:only-child) { grid-template-columns: minmax(0, 820px); }
@media (max-width: 1023px) {
  .fo-overview { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .fo-overview > .fo-next { grid-column: 1 / -1; }
}
/* Beside the map, the band ends where the aside's cards end (its 16 px);
   with no side column (F1: no Sources), where the map's content ends (its
   24 px). */
@media (min-width: 880px) {
  .fo-overview { padding-right: 16px; }
  .fo-route:not(:has(> .fo-side > .fo-sources)) > .fo-overview { padding-right: 24px; }
}
/* DL1, the owner's pick: the band spans the row, and beside the map the
   aside grows with the route, 31% of it between 320 and 440 px. It asks the
   route's own width (a container query), not the screen's: a classic
   scrollbar in the route wraps the aside under the map while the screen is
   still 880-894 px, and a wrapped aside keeps its own rule, filling its
   line. Beside the map, the map's 999 holds the aside at its basis; the cap
   keeps the grow's share (0.4 px at 1440) off it. */
.fo-route { container-type: inline-size; }
@container (min-width: 880px) {
  .fo-side { flex: 1 1 clamp(320px, 31%, 440px); max-width: 440px; }
}
/* Under 880 px of route the aside wraps under the map, and its divider
   turns to a rule over it: the wrap's own condition. A screen query (899 px)
   left the aside beside the map from 880 to 899 px with no divider, and its
   rule under the band. */
@container (width < 880px) {
  .fo-side { border-left: 0; border-top: 1px solid var(--fo-divider); }
}
/* Under the band the route packs its lines at the top, so on a short route
   the map and the aside end above the foot of the screen. The aside's
   divider runs on past its box to the foot, as before DL1:
   border-image-outset paints it as ink, which never scrolls and takes no
   clicks. */
.fo-side {
  border-image-source: linear-gradient(var(--fo-divider), var(--fo-divider));
  border-image-slice: 1;
  border-image-outset: 0 0 100vh;
}
/* Forced colours (Windows' contrast themes) keep a gradient's own colours,
   so there the divider and the wrapped rule take the palette's text colour,
   as the border under them did. */
@media (forced-colors: active) {
  .fo-side { border-image-source: linear-gradient(CanvasText, CanvasText); }
}
.fo-card__line { font-size: 13px; color: var(--fo-text-2); text-wrap: pretty; }
.fo-ready__big { display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; }
.fo-ready__of { font-size: 14px; color: var(--fo-text-2); }
.fo-pace { gap: 10px; }
/* The head wraps so the round picker can take a line of its own (below). */
.fo-pace .fo-card__head { align-items: center; flex-wrap: wrap; }
/* The big line wraps: "General practice" is 212 px and never breaks, so a
   subline with no room beside it goes under it, whole, instead of one word a
   line past the card's edge (the card is a column of DL1's overview band: a
   third of the row, half of it under 1024 px). */
.fo-pace__big { display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; }
.fo-pace__days { font-size: 28px; font-weight: 700; letter-spacing: -0.03em; line-height: 1; white-space: nowrap; }
.fo-pace__to { font-size: 13px; color: var(--fo-text-2); min-width: 0; }
.fo-pace__to[role="button"] { cursor: pointer; text-decoration: underline; text-underline-offset: 2px; }
.fo-pace__to[role="button"]:hover { color: var(--fo-accent); }
.fo-pace__week { font-size: 10px; color: var(--fo-muted); }
.fo-picker {
  appearance: none; -webkit-appearance: none;
  padding: 4px 26px 4px 10px; border-radius: var(--fo-r-chip);
  border: 1px solid var(--fo-border); background-color: var(--fo-ground); color: var(--fo-text);
  font-family: inherit; font-size: 12px; font-weight: 500; cursor: pointer; max-width: 70%;
  background-image: var(--fo-chevron);
  background-repeat: no-repeat; background-position: right 8px center;
}
/* In the Pace card the picker takes the card's full width on its own line
   under the label, and a label still too long ("Project Coordinator · Acme
   Test Co · Nov 12") ends in an ellipsis, never mid-word (the 70% cap read
   "Project Coordinator · No"). */
.fo-pace .fo-picker { flex: 1 1 100%; max-width: 100%; min-width: 0; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
/* UX review HP2: Home's own controls take the house touch rule, which never
   named a .fo- control (S2 of docs/specs/2026-10-design-read-build.md, 44 px
   under a finger; DC7, 32 px with a mouse): the stop cards' pills and
   actions, Start the mock, the door's button (the Pace card's went with
   J2), the Sources rows and their add, the round picker, and the editor that add (or
   a row's Edit) opens: its name, its kind, Add, Save, Remove and Cancel. A
   window 760 px or narrower counts as a finger. Each is a flex box (the
   picker centres its own line) or a field, so the label stays centred as it
   grows. */
@media (pointer: fine) {
  #fo-route :is(.fo-route-list button.fo-pill, .fo-finish__go, .fo-stop__act, .fo-map__door .fo-btn, .fo-btn--add, .fo-picker, button.fo-source, .fo-edit :is(input, select, button)) { min-height: 32px; }
}
@media (pointer: coarse), (max-width: 760px) {
  #fo-route :is(.fo-route-list button.fo-pill, .fo-finish__go, .fo-stop__act, .fo-map__door .fo-btn, .fo-btn--add, .fo-picker, button.fo-source, .fo-edit :is(input, select, button)) { min-height: 44px; }
}
.fo-sources { gap: 10px; padding: 16px 18px; }
.fo-sources__list { display: flex; flex-direction: column; gap: 6px; }
.fo-source {
  display: flex; align-items: center; gap: 10px; width: 100%;
  padding: 7px 10px; border-radius: var(--fo-r-chip); box-sizing: border-box;
  background: var(--fo-ground); border: 1px solid var(--fo-border);
  color: var(--fo-text); font-family: inherit; text-align: left; cursor: pointer;
}
.fo-source__dot {
  display: inline-block; width: 8px; height: 8px; border-radius: 999px; flex-shrink: 0;
  box-sizing: border-box; border: 1px solid var(--fo-connector);
}
.fo-source__dot.on { background: var(--fo-accent); border: 0; }
.fo-source__text { display: flex; flex-direction: column; min-width: 0; flex: 1; }
.fo-source__title { font-size: 13px; font-weight: 500; }
.fo-source__title.muted { color: var(--fo-text-2); }
.fo-source__sub { font-size: 11px; color: var(--fo-muted); }
.fo-source__score { font-family: var(--fo-mono); font-size: 11px; white-space: nowrap; color: var(--fo-muted); }
/* VH4 of docs/specs/2026-11-tester-six-points.md: a score's ink on the ring's
   three bands (forest.js scoreClass, from foScoreBand): the accent from 8, the
   second text tone to 7.9, the amber under 4; muted with no score. */
.fo-score--ok { color: var(--fo-accent); }
.fo-score--mid { color: var(--fo-text-2); }
.fo-score--again { color: var(--fo-amber); }
.fo-score--none { color: var(--fo-muted); }
.fo-fixes { gap: 10px; }
.fo-fixes .fo-tile { font-family: inherit; text-align: left; cursor: pointer; width: 100%; box-sizing: border-box; }
.fo-edit { display: flex; flex-direction: column; gap: 8px; }
.fo-edit input, .fo-edit select {
  font-family: inherit; font-size: 13px; color: var(--fo-text);
  background: var(--fo-ground); border: 1px solid var(--fo-border); border-radius: var(--fo-r-chip);
  padding: 8px 10px;
}
.fo-edit__row { display: flex; gap: 8px; flex-wrap: wrap; }
.fo-removed { font-size: 12px; color: var(--fo-muted); }
.fo-removed button { background: none; border: 0; color: var(--fo-accent); font: inherit; cursor: pointer; padding: 0; text-decoration: underline; }

/* ---- FR4: the old screens take Forest's tokens --------------------------- */
/* The app's own palette (index.html :root[data-theme="dark"]) remapped under
   the skin, so every screen the route opens (the room, the mock, the debrief,
   sign in, the position page) is Forest without touching its rules. This
   block is the dark set, and its fonts and radius hold in both themes; the
   light set follows it (LD4). */
:root[data-skin="forest"][data-theme="dark"],
:root[data-skin="forest"] {
  --sage: #34d399; --sage-deep: #6ee7b7; --pine: #34d399; --emerald: #34d399;
  --brass: #fbbf24; --brass-fill: #fbbf24;
  --brass-soft: rgba(251, 191, 36, 0.12); --brass-line: rgba(251, 191, 36, 0.4);
  --ink: #f3efe4; --slate: #b9c4bf; --mute: #8a9a93;
  --clay: #f87171; --clay-deep: #f87171; --clay-fill: #f87171; --clay-fill-hi: #fca5a5;
  --field-line: #4e6c63;
  --line: #2b4a42; --bg: #0f1f1b; --bg-soft: #0c1a17; --surface: #16302a;
  --sage-tint: #1c3a33; --emerald-wash: rgba(52, 211, 153, 0.12); --clay-tint: rgba(248, 113, 113, 0.12);
  --line-strong: #3a5a51; --line-focus: #4e6c63; --focus: #34d399;
  --emerald-line: rgba(52, 211, 153, 0.35); --clay-line: rgba(248, 113, 113, 0.4); --sage-line: rgba(52, 211, 153, 0.35);
  --steel: #b9c4bf; --steel-deep: #f3efe4; --steel-tint: #1c3a33; --steel-line: #2b4a42;
  --glass: rgba(15, 31, 27, 0.92);
  --sh-card: none;
  --sh-lg: 0 1px 0 var(--line), 0 18px 44px -18px rgba(0, 0, 0, 0.6);
  --hm-surface: #16302a; --hm-line: #2b4a42; --hm-line-soft: #223c35; --hm-track: rgba(243, 239, 228, 0.1);
  --hm-control-line: #2b4a42; --hm-control-line-hover: #3a5a51; --hm-row-hover: #1c3a33; --hm-ghost-hover: #1c3a33;
  --hm-ink: #f3efe4; --hm-text: #f3efe4; --hm-muted: #8a9a93; --hm-icon: #8a9a93; --hm-accent: #34d399;
  --hm-hero: #16302a; --hm-on-ink: #f3efe4; --hm-on-ink-muted: rgba(243, 239, 228, 0.72); --hm-on-ink-line: rgba(243, 239, 228, 0.4);
  --hm-primary: #f3efe4; --hm-primary-hover: #ffffff; --hm-on-primary: #0f1f1b;
  --font: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --serif: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --st-seg-on: #245a4d;   /* #54: Settings' picked chip (the board's node green) */
  --mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  --r-m: 10px;
}

/* LD4 and LD7 of docs/specs/2026-11-light-default.md: the same remap in
   light, token for token: where the dark block sets a Forest dark value, this
   sets index.html's own light one from before Forest. (0,3,0): it beats the
   dark block's bare :root[data-skin="forest"], which matches in light too, so
   every colour the dark block sets is set again here. */
:root[data-skin="forest"][data-theme="light"] {
  /* LD7: index.html's own light values, as they were before Forest, and its
     page, cards and lines for Forest's own parts: --bg-soft under, --surface
     over, every line its --line; the route's .30 is written solid over the
     page, so a stop's dot on the spine does not show the spine through it */
  --fo-ground: #F2F1E8; --fo-card: #FBFAF4; --fo-divider: rgba(34, 48, 44, 0.16); --fo-route: #B4B7B0;
  --sage: #1D5C50; --sage-deep: #16453D; --pine: #16453D; --emerald: #20763A;
  --brass: #7F5F12; --brass-fill: #AB8528;
  --brass-soft: rgba(176, 138, 46, 0.14); --brass-line: rgba(140, 109, 31, 0.38);
  --ink: #22302C; --slate: #3F4E47; --mute: #56635F;
  --clay: #A9502F; --clay-deep: #8A3D20; --clay-fill: #8A3D20; --clay-fill-hi: #A9502F;
  --field-line: #7E8B84;   /* LD7: #8A9890 one step darker, so a field's edge holds 3:1 on the cream card (it was 2.88:1) */
  --line: rgba(34, 48, 44, 0.16); --bg: #FBFAF4; --bg-soft: #F2F1E8; --surface: #FBFAF4;
  --sage-tint: #DFE8E2; --emerald-wash: #E1EEE0; --clay-tint: #F4E3D7;
  --line-strong: rgba(34, 48, 44, 0.3); --line-focus: rgba(34, 48, 44, 0.42); --focus: #1D5C50;
  --emerald-line: #BFDCC0; --clay-line: #E2C3AE; --sage-line: #BCCFC6;
  --steel: #3A5F85; --steel-deep: #2B4A6B; --steel-tint: #E1E8EF; --steel-line: #B9C8D8;
  --glass: rgba(251, 250, 244, 0.92);
  --sh-card: 0 1px 0 var(--line);
  --sh-lg: 0 1px 0 var(--line), 0 16px 40px -24px rgba(34, 48, 44, 0.35);
  --hm-surface: #FFFFFF; --hm-line: #E6E2D6; --hm-line-soft: #EEEBE2; --hm-track: var(--fo-track);   /* LD4: #E8E4D8 left Progress' empty weeks and bars at 1.2:1 */
  --hm-control-line: #D5D0C2; --hm-control-line-hover: #B9B3A3; --hm-row-hover: #F8F6F0; --hm-ghost-hover: #F6F4EE;
  --hm-ink: #15302E; --hm-text: #1F2A28; --hm-muted: #56635F; --hm-icon: #8A948F; --hm-accent: #1D5C50;
  --hm-hero: #15302E; --hm-on-ink: #F6F4EE; --hm-on-ink-muted: rgba(243, 241, 234, 0.72); --hm-on-ink-line: rgba(243, 241, 234, 0.45);
  --hm-primary: #F3F1EA; --hm-primary-hover: #FFFFFF; --hm-on-primary: #15302E;
  --st-seg-on: #DFE8E2;   /* #54: Settings' picked chip, --sage-tint */
}
/* LD7: Progress' one action (the empty page's "Answer a question") is the teal
   primary; its --hm-primary was the cream button of Home's ink hero, which on
   the page itself is 1.00:1. The Route and Progress are Home's heirs, so they
   take Home's white cards on the page; the Route's fields take the field line,
   3:1, as every field does in light. */
:root[data-skin="forest"][data-theme="light"] #screen-progress { --hm-primary: var(--sage); --hm-primary-hover: var(--sage-deep); --hm-on-primary: var(--bg); }
:root[data-skin="forest"][data-theme="light"] :is(#screen-master, #screen-progress) { --fo-card: var(--hm-surface); }
:root[data-skin="forest"][data-theme="light"] :is(.fo-picker, .fo-edit input, .fo-edit select) { border-color: var(--field-line); }
/* LD7: the room is the paper it was before Forest (--bg), its cards white, its
   rail and coach column the page's grey (--bg-soft). */
:root[data-skin="forest"][data-theme="light"] .rehearse { --fo-ground: var(--bg); --fo-card: var(--hm-surface); }
:root[data-skin="forest"][data-theme="light"] #rehearse :is(.rh-rail, .rh-panel) { background: var(--bg-soft); }
/* LD4: no rule set the fields' hint text, and the browser's light grey is
   4.1:1 on the field fill; the muted text is 5.5:1 and up. */
:root[data-skin="forest"][data-theme="light"] :is(input, textarea)::placeholder { color: var(--fo-muted); opacity: 1; }
/* F7 of the UI/UX review: a week with no answer on Progress is an empty mark,
   the one weight (the track's in light, as --hm-track was; 3:1 in dark); the
   bars' tracks keep --hm-track, the faint scale their fill is read against. */
[data-skin="forest"] #screen-progress .pg-weeks span.is-zero { background: var(--fo-empty); }

/* ---- FR4: the practice room (render 18) --------------------------------- */
[data-skin="forest"] .rehearse { background: var(--fo-ground); }
[data-skin="forest"] .rh-main { padding: 24px; }
[data-skin="forest"] .rh-top { flex-wrap: wrap; justify-content: flex-start; gap: 8px; }
/* NB1: every Back is this chip (.app-back); .rh-leave keeps the warm up's. */
[data-skin="forest"] .rh-leave, [data-skin="forest"] .app-back {
  color: var(--fo-text-2); font-size: 13px; padding: 6px 10px; border-radius: var(--fo-r-chip);
}
[data-skin="forest"] .rh-ctxwrap { margin-left: auto; font-family: var(--fo-mono); font-size: 12px; color: var(--fo-muted); }
.fo-crumb { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.fo-crumb[hidden] { display: none; }
.fo-crumb__n { font-family: var(--fo-mono); font-size: 12px; color: var(--fo-muted); }
/* UX review A2 (D19): the crumb's "<job> · <area>", in the counter's type
   beside it (.rh-ctxwrap), so the desktop's header reads one line: "Acme ·
   Job description  Question 3 of 35". Short of room the job gives way
   first (its ellipsis, then the whole job: beside a theme's pill, or under
   200 px; the bar's switcher names it), a theme's pill next (its ellipsis,
   gone under 200 px, never a sliver), the area last (gone under 64 px:
   from 1280 px the crumb gives way to Back, and the side list's head names
   the area); never the count. */
.fo-crumb__job, .fo-crumb__area { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-family: var(--fo-mono); font-size: 12px; }
.fo-crumb__job { flex: 0 1 auto; color: var(--fo-muted); }
.fo-crumb__area { flex: 0 0 auto; max-width: 100%; color: var(--fo-text-2); }
@container (max-width: 199px) {
  [data-skin="forest"] .fo-crumb__job, [data-skin="forest"] #rehearse .rh-top .fo-crumb > .fo-pill { display: none; }
}
@container (max-width: 63px) {
  [data-skin="forest"] .fo-crumb__area { display: none; }
}
.fo-essbar { display: flex; gap: 6px; height: 4px; margin-top: 12px; }
.fo-essbar[hidden] { display: none; }
.fo-essbar > span { flex: 1; border-radius: 2px; background: var(--fo-fill); }
.fo-essbar > span.on { background: var(--fo-accent); }
.fo-essbar > span.part { background: var(--fo-amber); }
.fo-essbar > span.cur { background: var(--fo-fill-strong); }
/* LD4: the same 1.16:1 empty part in light as the route's ticks; the track's weight. */
:root[data-theme="light"] .fo-essbar > span:not(.on):not(.part):not(.cur) { background: var(--fo-track); }
[data-skin="forest"] .rh-mode {
  padding: 3px; border-radius: var(--fo-r-btn); border: 1px solid var(--fo-border); background: var(--fo-ground); gap: 0;
}
[data-skin="forest"] .rh-mode button {
  height: 32px; padding: 0 14px; border-radius: var(--fo-r-chip); font-size: 13px; font-weight: 500; color: var(--fo-text-2);
}
[data-skin="forest"] .rh-mode button[aria-pressed="true"] { background: var(--fo-fill); color: var(--fo-text); font-weight: 600; }
/* LD4, LD7: the faint fill is 1.16:1 on cream; light marks the picked mode
   as the room did before Forest, the teal fill with cream words. */
:root[data-skin="forest"][data-theme="light"] .rh-mode button[aria-pressed="true"] {
  background: var(--fo-accent); color: var(--fo-on-accent);
}
/* The phone's one switch (#rh-alt, #21: an icon in the docked row, styled in
   the phone block) keeps its 22 px icon at every width: from 761 to 999 px
   it once showed with no size, a 700 px keyboard under the mic (POLISH-4,
   the ov-room lane's second pass; it shows only on a phone now). */
[data-skin="forest"] .rh-alt svg { width: 22px; height: 22px; }
.fo-qcard {
  display: flex; flex-direction: column; gap: 14px; margin-top: 16px; padding: 28px; box-sizing: border-box;
  background: var(--fo-card); border: 1px solid var(--fo-border); border-radius: var(--fo-r-card);
}
.fo-qcard .rh-eyebrow-row { margin: 0; }
[data-skin="forest"] .fo-qcard .rh-eyebrow { font-family: var(--fo-mono); font-size: 11px; letter-spacing: 0.06em; color: var(--fo-muted); }
[data-skin="forest"] .fo-qcard .rh-q { font-size: clamp(20px, 1.8vw, 26px); font-weight: 600; line-height: 1.35; letter-spacing: -0.01em; }
.fo-qcard__sub { margin: 0; font-size: 14px; color: var(--fo-text-2); }
/* PR5 of the UI/UX review (2026-11-09): on a short laptop, under 860 px of
   height, the question takes the phone's rules (no card, no sub-line, as
   render 23 below), so the answer box and Score this answer are on the first
   screen; the question list and the coach column stay. rhShortDesk is the
   same query, which keeps How to answer this closed there. */
@media (min-width: 1000px) and (max-height: 860px) {
  [data-skin="forest"] .fo-qcard { background: none; border: 0; padding: 12px 0 0; gap: 10px; margin-top: 0; }
  [data-skin="forest"] .fo-qcard__sub { display: none; }
}
[data-skin="forest"] .rh-card {
  margin-top: 16px; padding: 24px 28px; background: var(--fo-card); border: 1px solid var(--fo-border); border-radius: var(--fo-r-card);
}
[data-skin="forest"] .rh-ta {
  background: var(--fo-ground); border: 1px solid var(--fo-border); border-radius: var(--fo-r-btn);
  padding: 12px 14px; font-size: 15px; line-height: 1.5; color: var(--fo-text);
}
[data-skin="forest"] .rh-rec {
  width: 72px; height: 72px; background: var(--fo-primary-bg); color: var(--fo-primary-text);
  box-shadow: 0 0 0 8px var(--fo-accent-wash);
}
[data-skin="forest"] .rh-rec:not(.idle) { box-shadow: 0 0 0 8px var(--fo-accent-halo), 0 0 0 16px var(--fo-accent-halo-2); }
[data-skin="forest"] :is(.rh-primary, .rh-done, .rh-typescore, .login-btn, .iv-save) {
  background: var(--fo-primary-bg); color: var(--fo-primary-text); border: 0; border-radius: var(--fo-r-btn); font-weight: 600;
}
[data-skin="forest"] :is(.rh-done, .rh-typescore) { height: 44px; padding: 0 22px; font-size: 15px; }
[data-skin="forest"] .rh-sec {
  background: var(--fo-card); border: 1px solid var(--fo-border); color: var(--fo-text); border-radius: var(--fo-r-chip);
}
/* The coach column. */
[data-skin="forest"] .rh-panel { border-left: 1px solid var(--fo-divider); background: var(--fo-ground); }
[data-skin="forest"] .rh-tab[aria-selected="true"] { color: var(--fo-text); box-shadow: inset 0 -2px 0 var(--fo-accent); }
/* X4 of the UI/UX review: the 10/10 answer's steps wear the mock's rows (.mr-scoring li) */
[data-skin="forest"] .rh-idealsteps li { background: var(--fo-card); border-color: var(--fo-border); color: var(--fo-text-2); }
[data-skin="forest"] .rh-idealsteps li.on { color: var(--fo-text); border-color: var(--fo-accent-line); }
[data-skin="forest"] .rh-shead {
  align-items: flex-end; padding: 20px; margin-top: 12px; border: 1px solid var(--fo-border);
  background: var(--fo-card); border-radius: var(--fo-r-card);
}
[data-skin="forest"] .rh-snum {
  font-family: var(--fo-serif); font-weight: 500; font-size: 44px; line-height: 1; letter-spacing: -0.02em;
}
[data-skin="forest"] .rh-panel .rh-snum { font-size: 44px; }
/* UX review B1: a new best's climb, both numbers in the accent at the
   number's size; the kicker a headline in the accent; the area's count. */
[data-skin="forest"] .rh-sprev { font-family: var(--fo-serif); font-weight: 500; font-size: 44px; line-height: 1; letter-spacing: -0.02em; color: var(--fo-accent); }
[data-skin="forest"] .rh-scorecard .rh-shead.rh-climb .rh-snum { color: var(--fo-accent); }
[data-skin="forest"] .rh-scorecard .rh-newbest { color: var(--fo-accent); }
[data-skin="forest"] .rh-scorecard .rh-newbest.held { color: var(--fo-amber); }
[data-skin="forest"] .rh-areacount { color: var(--fo-text); }
[data-skin="forest"] :is(.rh-snum, .iv-snum).band-mid,
[data-skin="forest"] :is(.rh-snum, .iv-snum).band-low { color: var(--fo-amber); }
[data-skin="forest"] :is(.rh-snum, .iv-snum).band-high { color: var(--fo-accent); }
[data-skin="forest"] .rh-sof .of { font-family: var(--fo-serif); font-size: 18px; font-weight: 600; color: var(--fo-muted); }
[data-skin="forest"] .rh-verdict { font-size: 14px; font-weight: 400; line-height: 1.55; margin-top: 16px; }
[data-skin="forest"] .rh-why { font-size: 14px; color: var(--fo-text); }
[data-skin="forest"] .rh-meter .mlab { font-family: var(--fo-mono); font-size: 12px; }
[data-skin="forest"] .rh-meter .track { height: 6px; background: var(--fo-fill); }
/* LD4: the score card's empty rubric legs read 1.16:1 on the light card
   (dark's 1.31); they take the track's weight, as the route's meter does. */
:root[data-skin="forest"][data-theme="light"] .rh-meter .track { background: var(--fo-track); }
/* UX review S2: the four checks under the skin: a Strong mark and word in the
   accent, the lowest under Strong in the amber, the rest the second text. */
[data-skin="forest"] .rh-check { color: var(--fo-text); }
[data-skin="forest"] .rh-mark { color: var(--fo-text-2); }
[data-skin="forest"] .rh-mark--strong, [data-skin="forest"] .rh-check[data-v="2"] .rh-check__v { color: var(--fo-accent); }
[data-skin="forest"] .rh-check.low .rh-mark, [data-skin="forest"] .rh-check.low .rh-check__v { color: var(--fo-amber); }
[data-skin="forest"] .rh-mark--strong::after { border-color: var(--fo-on-accent); }
/* #17, #56: the card under the skin: the fix block, the target line (UX
   review S1: a sentence under the number, no longer a pill), the menu. */
[data-skin="forest"] .rh-fixblock { background: var(--fo-raised); border-color: var(--fo-border); border-radius: var(--fo-r-btn); }
[data-skin="forest"] .rh-fixblock__k { font-family: var(--fo-mono); font-size: 11px; color: var(--fo-accent); }
[data-skin="forest"] .rh-fixblock__t { color: var(--fo-text); font-size: 17px; font-weight: 600; line-height: 1.45; }   /* UX review S5: the biggest after the score */
[data-skin="forest"] .rh-keeps { font-family: var(--fo-sans); font-size: 14px; color: var(--fo-text-2); }
[data-skin="forest"] .rh-more-menu { background: var(--fo-card); border-color: var(--fo-border); border-radius: var(--fo-r-btn); }
[data-skin="forest"] .rh-more-item { color: var(--fo-text); }
[data-skin="forest"] .rh-more-item:hover, [data-skin="forest"] .rh-more-item:focus-visible { background: var(--fo-wash); }
@media (max-width: 999px) {
  [data-skin="forest"] .rehearse.scored-m .rh-session > .fo-qcard { display: flex; }
  [data-skin="forest"] .rehearse.scored-m .fo-qcard > :not(.rh-q) { display: none; }
}

/* ---- FR4: the mock interview and its debrief (renders 19, 20) ----------- */
[data-skin="forest"] .mockroom { background: var(--fo-ground); }
[data-skin="forest"] .mr-head { background: var(--fo-ground); border-bottom: 1px solid var(--fo-divider); padding: 14px 24px; }
[data-skin="forest"] .mr-badge {
  display: inline-flex; align-items: center; padding: 5px 10px; border-radius: 999px;
  background: var(--fo-wash-2); border: 1px solid var(--fo-hairline); color: var(--fo-text-2);
  font-family: var(--fo-mono); font-size: 11px; letter-spacing: 0.06em; text-transform: uppercase;
}
[data-skin="forest"] .mr-progress { font-family: var(--fo-mono); font-size: 12px; color: var(--fo-muted); }
[data-skin="forest"] .mr-exit {
  background: var(--fo-card); border: 1px solid var(--fo-border); color: var(--fo-text); border-radius: var(--fo-r-chip);
  font-family: var(--fo-sans);
}
[data-skin="forest"] .mr-end { border-color: var(--fo-red-line); color: var(--fo-red); }
[data-skin="forest"] .mr-kicker { font-family: var(--fo-mono); font-size: 11px; letter-spacing: 0.06em; color: var(--fo-muted); text-transform: uppercase; }
[data-skin="forest"] .mr-q { font-size: clamp(22px, 2vw, 30px); font-weight: 600; line-height: 1.3; letter-spacing: -0.01em; }
[data-skin="forest"] .mr-timer { font-family: var(--fo-mono); font-size: 28px; font-weight: 600; color: var(--fo-text); }
[data-skin="forest"] .mr-timer.over { color: var(--fo-amber); }
[data-skin="forest"] .mr-timer-of { font-family: var(--fo-mono); color: var(--fo-muted); }
/* UX review MR8: the pinned question keeps the room's ground under it; MR7: the fold's line. */
[data-skin="forest"] .mr-pin { background: var(--fo-ground); }
[data-skin="forest"] .mr-earlier > summary { color: var(--fo-accent); }
/* #18, #62: the focus bar, the steps, the transcript and the scoring list. */
[data-skin="forest"] .mr-title b { color: var(--fo-text); }
[data-skin="forest"] .mr-sub { font-family: var(--fo-mono); font-size: 11px; color: var(--fo-muted); }
/* UX review MR6: the steps are dots at every width (the phone's rule is the base now). */
[data-skin="forest"] .mr-step { border-color: var(--fo-border); font-size: 0; width: 10px; height: 10px; padding: 0; border-radius: 50%; }
[data-skin="forest"] .mr-step.done { background: var(--fo-accent); border-color: var(--fo-accent); }
[data-skin="forest"] .mr-step.current { border-color: var(--fo-text); box-shadow: 0 0 0 2px var(--fo-wash); }
/* F7 of the UI/UX review, review fix: a step not reached yet is an empty
   mark, the one weight: 3.7:1 on the head's ground in dark (the line read
   1.75:1); light keeps its line. */
[data-skin="forest"] .mr-step:not(.done):not(.current) { border-color: var(--fo-empty); }
:root[data-skin="forest"][data-theme="light"] .mr-step:not(.done):not(.current) { border-color: var(--fo-border); }
/* MOCK-2 of the overnight spec: a question passed on is a dashed ring in the accent. */
[data-skin="forest"] .mr-step.passed:not(.done):not(.current) { border-color: var(--fo-accent); border-style: dashed; }
:root[data-skin="forest"][data-theme="light"] .mr-step.passed:not(.done):not(.current) { border-color: var(--fo-accent); }
[data-skin="forest"] .mr-turn { background: var(--fo-card); border-color: var(--fo-border); }
[data-skin="forest"] .mr-turn__k { font-family: var(--fo-mono); font-size: 11px; color: var(--fo-muted); text-transform: uppercase; letter-spacing: 0.06em; }
[data-skin="forest"] .mr-turn__t, [data-skin="forest"] .mr-lead { color: var(--fo-text-2); }
[data-skin="forest"] .mr-turn__more { color: var(--fo-accent); }
[data-skin="forest"] .mr-scoring li { background: var(--fo-card); border-color: var(--fo-border); color: var(--fo-text-2); }
[data-skin="forest"] .mr-scoring li.on { color: var(--fo-text); border-color: var(--fo-accent-line); }
[data-skin="forest"] .mr-note { color: var(--fo-muted); }
[data-skin="forest"] .mr-setup, [data-skin="forest"] .mr-debrief .mock-memo {
  background: var(--fo-card); border: 1px solid var(--fo-border); border-radius: var(--fo-r-card); padding: 24px 28px;
}
[data-skin="forest"] .mr-setup .chip[aria-pressed="true"], [data-skin="forest"] .mr-setup .chip.on {
  border-color: var(--fo-accent); background: var(--fo-accent-wash); color: var(--fo-accent);
}
/* #37: the setup's radio groups and the one rule. */
[data-skin="forest"] .mr-setup [role="radio"][aria-checked="true"] {
  border-color: var(--fo-accent); background: var(--fo-accent-wash); color: var(--fo-accent);
}
[data-skin="forest"] .mr-setup .mr-opt__desc, [data-skin="forest"] .mr-setup .mr-opt__count,
[data-skin="forest"] .mr-setup .mr-opt__subs, [data-skin="forest"] .mr-lede { color: var(--fo-text-2); }
[data-skin="forest"] .mr-setup [role="radio"][aria-checked="true"] .mr-opt__desc,
[data-skin="forest"] .mr-setup [role="radio"][aria-checked="true"] .mr-opt__subs { color: var(--fo-text); }
[data-skin="forest"] .mr-setup .mr-sw[aria-checked="true"] { border-color: var(--fo-accent); color: var(--fo-accent); }
/* UX review M4: the sticky Start row spans the setup's card, on the card's ground. */
[data-skin="forest"] .mr-setup > .mr-go:last-child {
  margin: 0 -28px -24px; padding: 14px 28px calc(16px + env(safe-area-inset-bottom, 0px));
  background: var(--fo-card); border-top: 1px solid var(--fo-border); border-radius: 0 0 var(--fo-r-card) var(--fo-r-card);
}
[data-skin="forest"] .mr-go-pick { font-family: var(--fo-mono); font-size: 12px; color: var(--fo-text-2); }
/* #19 (F_NewPosition): the create page's title in the serif, the picked
   round in the accent wash, the drop zone on the ground with Choose a file
   raised, and the days line in the accent (a day gone by stays red). */
[data-skin="forest"] #iv-title.iv-title--create { font-family: var(--fo-serif); font-size: 36px; font-weight: 500; letter-spacing: -0.02em; line-height: 1.1; }
[data-skin="forest"] .iv-nf-chips [role="radio"][aria-checked="true"] { border-color: var(--fo-accent); background: var(--fo-accent-wash); color: var(--fo-accent); }
[data-skin="forest"] .iv-nf-drop { border-color: var(--fo-route); background: var(--fo-ground); }
[data-skin="forest"] .iv-nf-choose { background: var(--fo-raised); }
[data-skin="forest"] .st-form .iv-nf-days:not(.iv-nf-days--past) { color: var(--fo-accent); }
/* #61: the unfinished mock's card on top of the setup (the board's amber). */
[data-skin="forest"] .mr-unfinished {
  background: var(--fo-amber-wash); border: 1px solid var(--fo-amber-line); border-radius: var(--fo-r-card); padding: 14px 16px;
}
[data-skin="forest"] .mr-unfinished__k { color: var(--fo-text); }
[data-skin="forest"] .mr-unfinished__line { font-family: var(--fo-mono); font-size: 12px; color: var(--fo-text-2); }
[data-skin="forest"] .mr-composer { background: var(--fo-ground); border-top: 1px solid var(--fo-divider); }
[data-skin="forest"] .mr-composer .composer-box {
  background: var(--fo-card); border: 1px solid var(--fo-border); border-radius: var(--fo-r-card);
}
[data-skin="forest"] .mr-composer .send { background: var(--fo-primary-bg); }
[data-skin="forest"] .mr-composer .send svg { stroke: var(--fo-primary-text); }
[data-skin="forest"] .mr-debrief, [data-skin="forest"] .mr-card { gap: 16px; }   /* UX review D1, D2: the card as the room */
/* #12, #38: the read is the headline; tiles and the raise box on card tokens. */
[data-skin="forest"] .mr-dk { font-family: var(--fo-mono); font-size: 11px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--fo-muted); }
[data-skin="forest"] .mr-read { font-family: var(--fo-serif); font-size: clamp(40px, 5vw, 60px); font-weight: 500; color: var(--fo-text); }
[data-skin="forest"] .mr-move { color: var(--fo-text-2); font-size: 17px; }
/* UX review D1: the scale's heading as the tiles' and the raise box's labels. */
[data-skin="forest"] .mr-how__h { font-family: var(--fo-mono); color: var(--fo-muted); }
[data-skin="forest"] .mr-tiles__cap, [data-skin="forest"] .mr-said__sub { color: var(--fo-text-2); }
[data-skin="forest"] .mr-tile { background: var(--fo-card); border-color: var(--fo-border); border-radius: var(--fo-r-card); }
[data-skin="forest"] .mr-tile__k { font-family: var(--fo-mono); color: var(--fo-muted); }
[data-skin="forest"] .mr-tile__v { font-family: var(--fo-serif); color: var(--fo-text); }
[data-skin="forest"] .mr-raise__k { font-family: var(--fo-mono); color: var(--fo-muted); }
[data-skin="forest"] .mr-keptas { color: var(--fo-accent); }
[data-skin="forest"] .mr-chg-kept, [data-skin="forest"] .mr-chg-ready { color: var(--fo-text); }
/* #65: the Mocks section (F2_PastMocks) - the band in amber, a serif average, mono meta, card tokens. */
[data-skin="forest"] .mk-unfinished { background: var(--fo-amber-wash); border-color: var(--fo-amber-line); border-radius: var(--fo-r-card); }
[data-skin="forest"] .mk-unfinished__k { font-family: var(--fo-mono); font-size: 11px; letter-spacing: 0.06em; color: var(--fo-amber); }
[data-skin="forest"] .mk-unfinished__line { color: var(--fo-text); }
[data-skin="forest"] .mk-best, [data-skin="forest"] .mk-over, [data-skin="forest"] .mk-row__meta, [data-skin="forest"] .mk-avg__k, [data-skin="forest"] .mk-chg-day {
  font-family: var(--fo-mono); font-size: 12px; color: var(--fo-text-2);
}
[data-skin="forest"] .mk-avg__v { font-family: var(--fo-serif); font-weight: 500; color: var(--fo-text); }
[data-skin="forest"] .mk-avg__v.band-high { color: var(--fo-accent); }
[data-skin="forest"] .mk-avg__v.band-low { color: var(--fo-amber); }
[data-skin="forest"] .mk-q { background: var(--fo-card); border-color: var(--fo-border); color: var(--fo-text-2); }
[data-skin="forest"] .mk-q__s { color: var(--fo-text); }
[data-skin="forest"] .mk-open { color: var(--fo-accent); }
[data-skin="forest"] #iv-mocks .mr-changed, [data-skin="forest"] .mk-card {
  background: var(--fo-card); border-color: var(--fo-border); border-radius: var(--fo-r-card);
}
[data-skin="forest"] .mk-scale__row dt { color: var(--fo-text); }
[data-skin="forest"] .mk-scale__row dd, [data-skin="forest"] .mk-scale__note { color: var(--fo-text-2); }
[data-skin="forest"] .mk-scale__row.on dt, [data-skin="forest"] .mk-scale__row.on dd { color: var(--fo-accent); }
/* UX review D1: the debrief's scale row, its bars on the rings' track, this mock's in the accent. */
[data-skin="forest"] .mk-scale--row .mk-scale__row { border-top-color: var(--fo-track); }
[data-skin="forest"] .mk-scale--row .mk-scale__row.on { border-top-color: var(--fo-accent); }
[data-skin="forest"] .mr-debrief .rh-snum { font-size: 64px; }
[data-skin="forest"] .mr-debrief .mock-row {
  background: var(--fo-card); border: 1px solid var(--fo-border); border-radius: var(--fo-r-card); padding: 18px 20px;
}
/* UX review F11: the coach's paragraph in a plain card, the answer rows' own
   line: the accent border and ring read as "selected" (VH1 took them off
   Home's cards), and an outline means focus. */
[data-skin="forest"] .mr-debrief .mr-raise {
  margin: 0; padding: 18px 20px; border: 1px solid var(--fo-border); border-radius: var(--fo-r-card);
  background: var(--fo-card); font-size: 16px; color: var(--fo-text);
}
[data-skin="forest"] .mr-debrief .mr-theme { font-size: 17px; font-weight: 600; }
[data-skin="forest"] .mr-debrief .mr-dur { font-family: var(--fo-mono); font-size: 12px; color: var(--fo-muted); }

/* ---- FR4: sign in (render 17) -------------------------------------------- */
[data-skin="forest"] #screen-login { background: var(--fo-ground); }
[data-skin="forest"] .login-card {
  width: min(420px, 100%); padding: 36px 32px; gap: 14px;
  background: var(--fo-card); border: 1px solid var(--fo-border); border-radius: var(--fo-r-card); box-shadow: none;
}
[data-skin="forest"] .login-card .entry-mark {
  display: inline-grid; place-items: center; width: 52px; height: 52px; border-radius: 14px;
  background: var(--fo-node); border: 1px solid var(--fo-connector);
}
[data-skin="forest"] .login-card .entry-mark svg text { fill: var(--fo-text) !important; }
[data-skin="forest"] .login-card .entry-mark svg circle { fill: var(--fo-accent) !important; }
[data-skin="forest"] .wordmark-h { font-family: var(--fo-sans); font-size: 26px; font-weight: 700; letter-spacing: -0.02em; color: var(--fo-text); }
[data-skin="forest"] .wordmark-h b { color: var(--fo-accent); }
[data-skin="forest"] .login-ar { color: var(--fo-muted); }
/* LD7: sign in as it was before Forest: the name in the ink, the Arabic in
   the teal, the field cream (the tile is index.html's, it needs its literals) */
:root[data-skin="forest"][data-theme="light"] .login-card > .wordmark-h,
:root[data-skin="forest"][data-theme="light"] .login-card > .wordmark-h b { color: var(--ink); }
:root[data-skin="forest"][data-theme="light"] .login-card .login-ar { color: var(--sage); }
:root[data-skin="forest"][data-theme="light"] .login-input { background: var(--surface); }
[data-skin="forest"] .login-h { font-size: 18px; font-weight: 600; color: var(--fo-text); }
[data-skin="forest"] .login-card > p { color: var(--fo-text-2); font-size: 14px; line-height: 1.55; }
[data-skin="forest"] .login-google {
  background: var(--fo-ground); border: 1px solid var(--fo-border); color: var(--fo-text); border-radius: var(--fo-r-btn);
}
[data-skin="forest"] .login-or { color: var(--fo-muted); }
[data-skin="forest"] .login-input {
  background: var(--fo-ground); border: 1px solid var(--fo-border); border-radius: var(--fo-r-btn); color: var(--fo-text);
}
/* LD4: a field's edge in light is the field line the app's own inputs draw
   (3:1 on white); the card's border is 1.5:1. The landing's try card has
   its page tag on <html>, a guide's on its slot. */
:root[data-skin="forest"][data-theme="light"] :is(.login-input, .rh-ta),
:root[data-fo-page="landing"][data-theme="light"] .democard textarea,
:root[data-theme="light"] [data-fo-page="landing"] .democard textarea { border-color: var(--fo-connector); }
[data-skin="forest"] .login-cap { color: var(--fo-muted); font-size: 12px; }
[data-skin="forest"] .login-bash { color: var(--fo-text-2); font-size: 13px; }
[data-skin="forest"] .login-bash a { color: var(--fo-accent); }
[data-skin="forest"] .mr-composer .mic { background: var(--fo-primary-bg); color: var(--fo-primary-text); box-shadow: 0 0 0 8px var(--fo-accent-wash); }
[data-skin="forest"] .mr-debrief .mr-rows { display: flex; flex-direction: column; gap: 10px; align-items: stretch; text-align: left; }
[data-skin="forest"] .mr-debrief .mock-row { width: 100%; box-sizing: border-box; justify-content: flex-start; text-align: left; border-top: 1px solid var(--fo-border); }
[data-skin="forest"] .login-card .wordmark-h { font-size: 28px; margin: 4px 0 0; line-height: 1.1; }

/* ---- FR5: the landing (render 14) ---------------------------------------- */
/* landing.html's own tokens remapped, then its parts restyled; the try card
   keeps its DOM and script and stays in the hero, beside the headline (UX
   review L4; forest.js moves only its two chip rows, to the slot beside it). */
:root[data-fo-page="landing"],
:root[data-fo-page="landing"][data-theme="dark"] {
  --ground: #0f1f1b; --deep: #0c1a17; --card: #16302a; --card-hi: #16302a; --card-lo: #16302a;
  --line: #223c35; --border: #2b4a42; --border-hi: #3a5a51; --border-hover: #4e6c63;
  --ink: #f3efe4; --body: #f3efe4; --soft: #b9c4bf; --muted: #b9c4bf; --meta: #8a9a93;
  --faint: #8a9a93; --ghost: #8a9a93; --field: #4e6c63;
  --accent: #34d399; --accent-hover: #6ee7b7; --on-accent: #062016; --warn: #fbbf24;
  --wave-quiet: #2b4a42; --wave-mid: #3a5a51; --well: #0f1f1b; --shadow: rgba(0, 0, 0, 0.6);
  --mark: rgba(251, 191, 36, 0.2); --mark-good: rgba(52, 211, 153, 0.16);
  --r-m: 10px;
}
/* LD4: the landing's remap in light, token for token with the one above
   (its radius holds in both themes). guides.html's .g-try slot repeats these
   values as literals. */
:root[data-fo-page="landing"][data-theme="light"] {
  /* LD7: landing.html's own light values from before Forest. The landing
     carries the skin too, so the app's page and cards are set back to the
     public paper here (later in the sheet, the same weight). */
  --ground: #FBFAF4; --deep: #F2F1E8; --card: #FFFFFF; --card-hi: #FFFFFF; --card-lo: #FBFAF4;
  --line: rgba(34, 48, 44, 0.1); --border: rgba(34, 48, 44, 0.16); --border-hi: rgba(34, 48, 44, 0.3); --border-hover: rgba(29, 92, 80, 0.45);
  --ink: #22302C; --body: #2E3C37; --soft: #3F4E47; --muted: #4A5952; --meta: #56635F;
  --faint: #5C6B64; --ghost: #5C6B64; --field: #7E8B84;   /* #8A9890 a step darker: 3:1 on the well */
  --accent: #1D5C50; --accent-hover: #16453D; --on-accent: #FBFAF4; --warn: #7F5F12;
  --wave-quiet: #DCDED4; --wave-mid: #B8C6BE; --well: #F4F3EC; --shadow: rgba(34, 48, 44, 0.22);
  --mark: rgba(185, 138, 30, 0.22); --mark-good: rgba(29, 92, 80, 0.13);
  --fo-ground: #FBFAF4; --fo-ground-alt: #F2F1E8; --fo-card: #FFFFFF;
  --fo-divider: rgba(34, 48, 44, 0.1); --fo-route: rgba(34, 48, 44, 0.3);
}
[data-fo-page="landing"] body { background: var(--fo-ground); color: var(--fo-text); font-family: var(--fo-sans); }
[data-fo-page="landing"] main { display: flex; flex-direction: column; }
/* UX review L7 (2026-11-09): the screens stand in landing.html in the order they stand on screen,
   so no rule here moves them and a screen reader, the Tab key and the eye meet one order: the
   card beside the headline (L4), An honest score (L9), then the owner's order of 2026-10-30 (the
   roadmap, the job post, the resume, the mock, the name, the FAQs). */
[data-fo-page="landing"] :is(#how, #fields, #score, #ready, .hero-ready) { display: none !important; }
[data-fo-page="landing"] .fo-only { display: block; }
[data-fo-page="landing"] .fo-sec { padding: 88px clamp(16px, 3vw, 40px); border-top: 1px solid var(--fo-divider); }
[data-fo-page="landing"] .fo-wrap { max-width: 1200px; margin: 0 auto; }
[data-fo-page="landing"] .fo-two {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(min(420px, 100%), 1fr)); gap: 48px 40px; align-items: start;
}
[data-fo-page="landing"] .fo-center { max-width: 720px; margin: 0 auto 40px; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 16px; }
[data-fo-page="landing"] .fo-center-text { text-align: center; max-width: 900px; margin: 24px auto 0; }
.fo-eyebrow {
  display: inline-flex; align-items: center; gap: 10px; margin: 0;
  font-family: var(--fo-mono); font-size: 11px; font-weight: 500; letter-spacing: 0.06em; color: var(--fo-text-2); text-transform: uppercase;
}
.fo-eyebrow > span { display: inline-block; width: 18px; height: 2px; background: var(--fo-accent); }
[data-fo-page="landing"] .fo-eyebrow { display: inline-flex; }
.fo-h2 { margin: 0; font-family: var(--fo-serif); font-weight: 700; font-size: clamp(40px, 4.5vw, 60px); letter-spacing: -0.02em; line-height: 1.04; color: var(--fo-text); }
.fo-lede { margin: 0; font-size: 17px; line-height: 1.6; color: var(--fo-text-2); text-wrap: pretty; }
.fo-fine { margin: 0; font-size: 13px; color: var(--fo-muted); }
.fo-accent { color: var(--fo-accent); }
[data-fo-page="landing"] .fo-actions { display: flex; flex-wrap: wrap; gap: 12px; }
[data-fo-page="landing"] .fo-chiprow { display: flex; flex-wrap: wrap; gap: 8px; }

/* The nav. */
[data-fo-page="landing"] nav[aria-label="Main"] { background: var(--fo-glass); border-bottom: 1px solid var(--fo-divider); }
[data-fo-page="landing"] .wordmark { font-family: var(--fo-sans); font-weight: 700; letter-spacing: -0.02em; color: var(--fo-text); }
[data-fo-page="landing"] .wordmark b { color: var(--fo-accent); }
/* NAV-1 of the overnight spec (2026-11-18): the one public bar
   (src/webapp/public_bar.py): Home beside the word mark, then How it works,
   Guides, Questions and the button on the right. The page's own link wears
   the accent rule (aria-current="page", landing.html's rule). */
[data-fo-page="landing"] .navlinks { gap: 16px; }
[data-fo-page="landing"] .navrow .fo-navlink {
  display: inline-flex; padding: 8px 10px; border-radius: var(--fo-r-chip); color: var(--fo-text-2); font-size: 14px; font-weight: 500; text-decoration: none;
}
[data-fo-page="landing"] .navrow .fo-navlink:hover { background: var(--fo-wash); color: var(--fo-text); }
[data-fo-page="landing"] .navrow .fo-navlink[aria-current="page"] { color: var(--fo-text); border-radius: 0; }
/* LD7: the landing as it was before Forest: the teal name with its full stop
   in the ink, the ghost buttons' edge the ink at .30 */
:root[data-fo-page="landing"][data-theme="light"] .wordmark { color: var(--accent); }
:root[data-fo-page="landing"][data-theme="light"] .wordmark b { color: var(--ink); }
:root[data-fo-page="landing"][data-theme="light"] :is(.btn-ghost, .navlinks .signin) { border-color: var(--border-hi); }
:root[data-fo-page="landing"][data-theme="light"] :is(.btn-ghost, .navlinks .signin):hover { border-color: var(--accent); }
[data-fo-page="landing"] .navlinks .signin { border: 1px solid var(--fo-border); border-radius: var(--fo-r-btn); color: var(--fo-text); }
/* A member's initial beside Back to workspace (NAV-2), the app's avatar in Forest's colours. */
[data-fo-page="landing"] .navlinks .bar-avatar { border-color: var(--fo-accent-line); background: var(--fo-accent-wash); color: var(--fo-text); }
/* #47 of docs/specs/audit-fixes-2026-10-23.md (F2_TabletHeader), and NAV-1:
   from 840 px down the four pages fold into Menu and the button stays. A
   member's bar (the longer button and the initial) needs 736 px of row,
   which a 801 px window just holds; 840 leaves room to spare.
   The button and the panel ship hidden (#try-js shows the button); the
   panel hangs under the bar, full width, one 52 px row per page. */
[data-fo-page="landing"] .navrow { position: relative; }
[data-fo-page="landing"] .navlinks .fo-navmenu {
  display: none; align-items: center; gap: 8px; height: 40px; padding: 0 12px;
  border: 1px solid var(--fo-accent); border-radius: var(--fo-r-btn); background: var(--fo-accent-wash);
  color: var(--fo-text); font: inherit; font-size: 14px; font-weight: 600; line-height: 1; cursor: pointer;
}
[data-fo-page="landing"] .navlinks .fo-navmenu:hover { background: var(--fo-accent-line); }
[data-fo-page="landing"] .navlinks .fo-navmenu svg { display: none; }
[data-fo-page="landing"] .navlinks .fo-navmenu[aria-expanded="true"] svg { display: inline; }
[data-fo-page="landing"] .navlinks .fo-navpanel {
  display: none; position: absolute; top: 100%; left: 0; right: 0; flex-direction: column;
  background: var(--fo-card); border-bottom: 1px solid var(--fo-divider);
  max-height: calc(100dvh - 100%); overflow-y: auto;   /* a phone on its side: the panel scrolls; 100% is the bar's own height */
}
[data-fo-page="landing"] .navlinks .fo-navpanel a {
  display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 52px; padding: 0 24px;
  border-top: 1px solid var(--fo-divider); color: var(--fo-text); font-size: 17px; font-weight: 500; text-decoration: none; white-space: normal;
}
[data-fo-page="landing"] .navlinks .fo-navpanel a:first-child { border-top: 0; }
[data-fo-page="landing"] .navlinks .fo-navpanel a:hover { background: var(--fo-wash); }
/* The page's own row (NAV-1), as the bar marks its link. */
[data-fo-page="landing"] .navlinks .fo-navpanel a[aria-current="page"] { color: var(--fo-text); font-weight: 600; box-shadow: inset 3px 0 0 var(--fo-accent); }
[data-fo-page="landing"] .navlinks .fo-navpanel a span { color: var(--fo-text-2); }
[data-fo-page="landing"] .navlinks :is(.fo-navmenu, .fo-navpanel)[hidden] { display: none !important; }
@media (max-width: 840px) {
  [data-fo-page="landing"] .navrow .fo-navlink { display: none; }
  [data-fo-page="landing"] .navlinks .fo-navmenu { display: inline-flex; }
  [data-fo-page="landing"] .navlinks .fo-navpanel { display: flex; }
}
[data-fo-page="landing"] .navmenu .fo-navlink { display: none; }
/* The sweep of 2026-10-25: from 360 to 414 px the bar ran 20 px past the
   screen and cut Menu off. Under 480 px the button reads its short label
   (Sign in; a member's Workspace) and the bar's items sit closer. */
@media (max-width: 480px) {
  [data-fo-page="landing"] .navlinks { gap: 8px; }
  [data-fo-page="landing"] .navlinks .signin { padding: 0 14px; }
}

/* The hero (docs/specs/2026-10-forest-hero.md): the headline's two beats
   and the sub (LAND-1 of the overnight spec: the two lines, the note gone).
   The route moved to the roadmap screen (FH5). UX review L4 (the owner's
   pick of 2026-11-09): the try card stands beside the copy, so the copy
   reads from the left, as the card's own screen did; the two doors went (the
   card is the first screen's one action) and the readiness card moved to
   the roadmap screen (L3). */
[data-fo-page="landing"] .hero { padding: 72px clamp(16px, 3vw, 40px) 88px; }
[data-fo-page="landing"] .hero-grid {
  max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(460px, 100%), 1fr));
  gap: 48px 40px; align-items: center;
}
[data-fo-page="landing"] .hero-copy { display: flex; flex-direction: column; align-items: flex-start; gap: 22px; text-align: left; }
[data-fo-page="landing"] .hero-copy h1 {
  margin: 0; font-family: var(--fo-serif); font-weight: 700; font-size: clamp(44px, 5.2vw, 72px);
  line-height: 1.04; letter-spacing: -0.02em; color: var(--fo-text);
}
[data-fo-page="landing"] .hero-copy h1 > span { display: block; text-wrap: balance; }
[data-fo-page="landing"] .hero-copy h1 .fo-em { font-family: var(--fo-italic); font-style: normal; font-weight: 700; letter-spacing: inherit; color: var(--fo-accent); }
[data-fo-page="landing"] .hero-copy h1 b { color: var(--fo-text); }
/* LD8: in light a title is the teal and its second half the ink, as the
   landing's headline was before Forest ("the logo in the green", its words
   in two tones) */
:root[data-fo-page="landing"][data-theme="light"] :is(.hero-copy h1, .fo-h2) { color: var(--fo-accent); }
:root[data-fo-page="landing"][data-theme="light"] :is(.hero-copy h1, .fo-h2) > span + span,
:root[data-fo-page="landing"][data-theme="light"] .hero-copy h1 :is(.fo-em, b) { color: var(--fo-text); }
[data-fo-page="landing"] .hero-copy .sub { margin: 0; font-size: 18px; line-height: 1.55; color: var(--fo-text-2); max-width: 640px; text-wrap: pretty; }
/* PL6 of docs/specs/2026-11-landing-pillars.md (the owner's call of 2026-11-19): the first screen is
   production's (d0c4a53) again; these are its rules, word for word, notes and all. */
[data-fo-page="landing"] .hero-note { margin: -8px 0 0; max-width: none; font-size: 13px; line-height: 1.45; color: var(--fo-muted); text-wrap: balance; }
/* UX review L4: "See the roadmap", once a ghost button beside "Try a question", a quiet link.
   Its check: 24 px high, and on a touch screen the 44 px target of UX panel #14, as the page's
   other links (padding, so its chevron stays one space away under the one underline). */
[data-fo-page="landing"] .fo-hero-more { margin: 0; font-size: 15px; line-height: 1.5; }
[data-fo-page="landing"] .fo-hero-more a { display: inline-block; padding: 1px 0; color: var(--fo-accent); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
[data-fo-page="landing"] .fo-hero-more a:hover { color: var(--fo-text); }
@media (pointer: coarse) {
  [data-fo-page="landing"] .fo-hero-more a { padding: 11px 0; }
}
/* The owner's pick B of 2026-11-10: the readiness promise back on the first screen, one line under
   the three steps that leads into "See the roadmap". The link's size, a step softer than the steps;
   the shares in the accent, as the classic ladder has them ("the share is its payoff"). */
[data-fo-page="landing"] .fo-hero-more__ready { color: var(--fo-text-2); }
[data-fo-page="landing"] .fo-hero-more__ready b { color: var(--fo-accent); font-weight: 700; }
/* Under a finger the link keeps its 44 px target, which reaches over the lines around it rather
   than pushing the sentence's last line 22 px down where the link sits on it. */
@media (pointer: coarse) {
  [data-fo-page="landing"] .fo-hero-more__ready + a { margin: -11px 0; }
}
/* UX review L14 (the owner's pick of 2026-11-09): How Bashmo works, the app's three steps, a
   short numbered list under its label (the chip rows' label face) */
[data-fo-page="landing"] .fo-steps { display: flex; flex-direction: column; gap: 10px; }
[data-fo-page="landing"] .fo-steps__h { margin: 0; font-family: var(--fo-mono); font-size: 11px; letter-spacing: 0.06em; color: var(--fo-muted); text-transform: uppercase; }
[data-fo-page="landing"] .fo-steps ol { margin: 0; padding: 0 0 0 22px; font-size: 15px; line-height: 1.45; color: var(--fo-text); }
[data-fo-page="landing"] .fo-steps li { padding-left: 4px; text-wrap: pretty; }
[data-fo-page="landing"] .fo-steps li + li { margin-top: 6px; }
[data-fo-page="landing"] .fo-steps li::marker { color: var(--fo-accent); font-family: var(--fo-mono); font-size: 13px; font-weight: 600; }
/* The 40/60/90 line (the owner's pick B of 2026-11-10; the ask of 2026-10-13 that how few kept
   answers make you ready be "visible first"): the app's ladder in the app's words, a step softer
   than the words around it, the shares in the accent as the classic ladder has them ("the share
   is its payoff"), leading into "See the roadmap", a quiet link (UX review L4): 24 px high, and on
   a touch screen the 44 px target of UX panel #14, which reaches over the lines around it rather
   than pushing the sentence's last line down. LAND-1 and LAND-2 of the overnight spec took it off
   the first screen: it stands under the sign-up band on the landing and under the three steps on
   /how-it-works. */
[data-fo-page="landing"] .fo-ladder { margin: 0; font-size: 15px; line-height: 1.5; color: var(--fo-text-2); text-wrap: pretty; }
[data-fo-page="landing"] .fo-ladder b { color: var(--fo-accent); font-weight: 700; }
[data-fo-page="landing"] .fo-ladder a { display: inline-block; padding: 1px 0; color: var(--fo-accent); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
[data-fo-page="landing"] .fo-ladder a:hover { color: var(--fo-text); }
@media (pointer: coarse) {
  [data-fo-page="landing"] .fo-ladder a { padding: 11px 0; margin: -11px 0; }
}
/* LAND-1 of the overnight spec: How Bashmo works opens /how-it-works. UX review L14's three steps
   (the app's own words), a card each with its number in the accent's mono, three across from
   961 px and one column below; the 40/60/90 line under them, then the door to the card on "/". */
[data-fo-page="landing"] .fo-how .fo-wrap { display: flex; flex-direction: column; align-items: center; gap: 28px; }
[data-fo-page="landing"] #deck #fo-how .fo-center { margin: 0 auto; }   /* the column's gap is its spacing, the deck's 24 px too */
[data-fo-page="landing"] .fo-how-steps { list-style: none; margin: 0; padding: 0; width: 100%; display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; }
@media (min-width: 961px) {
  [data-fo-page="landing"] .fo-how-steps { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
}
[data-fo-page="landing"] .fo-how-steps li {
  display: flex; flex-direction: column; align-items: flex-start; gap: 14px; padding: 22px 24px; box-sizing: border-box;
  background: var(--fo-card); border: 1px solid var(--fo-border); border-radius: var(--fo-r-card);
  font-size: 17px; line-height: 1.45; color: var(--fo-text); text-wrap: pretty;
}
[data-fo-page="landing"] .fo-how-n {
  display: inline-flex; align-items: center; justify-content: center; width: 32px; height: 32px; border-radius: 50%;
  background: var(--fo-accent-wash); color: var(--fo-accent); font-family: var(--fo-mono); font-size: 14px; font-weight: 600;
}
[data-fo-page="landing"] .fo-how .fo-ladder { max-width: 760px; text-align: center; }
[data-fo-page="landing"] .fo-how-try { justify-content: center; margin: 0; }
/* LAND-2 of the overnight spec (the owner's go of 2026-11-17): the landing's second screen, under
   the card. Three highlight cards in one row from 961 px, where the hero takes two columns (one
   column below, as the job post's pair stacks since the mobile polish of 2026-11-12), each a
   title, one badge in the mono face and one line. Then the sign-up band, the page's one
   high-contrast block: the accent's ground and its own ink (teal and cream in light, mint and the
   deep green in dark: each theme's tokens), its button the two turned round, the email field and
   Google's door the card's white (light) or raised green (dark). Once a link is on its way, the
   band's own help line in the card's words, its "Use a different address" a button in the
   band's ink, underlined as a link (round 1 of the check). Then the 40/60/90 line. */
[data-fo-page="landing"] .fo-start .fo-wrap { display: flex; flex-direction: column; gap: 24px; }
[data-fo-page="landing"] .fo-hl-row { display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; }
@media (min-width: 640px) {
  [data-fo-page="landing"] .fo-hl-row { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
}
@media (min-width: 1024px) {
  [data-fo-page="landing"] .fo-hl-row { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
[data-fo-page="landing"] .fo-hl { gap: 10px; padding: 20px 22px; }
[data-fo-page="landing"] .fo-hl__t { margin: 0; font-family: var(--fo-serif); font-size: 22px; font-weight: 700; line-height: 1.2; letter-spacing: -0.01em; color: var(--fo-text); }
[data-fo-page="landing"] .fo-hl__b { margin: 0; }
[data-fo-page="landing"] .fo-hl__b .fo-chip {
  display: inline-block; padding: 4px 9px; border-color: var(--fo-accent-line); background: var(--fo-accent-wash);
  color: var(--fo-text); font-family: var(--fo-mono); font-size: 11.5px; font-weight: 500; line-height: 1.5;
}
[data-fo-page="landing"] .fo-hl__d { margin: 0; font-size: 15px; line-height: 1.5; color: var(--fo-text-2); text-wrap: pretty; }
[data-fo-page="landing"] .fo-band {
  display: flex; flex-direction: column; gap: 16px; padding: 26px 28px; border-radius: var(--fo-r-card);
  background: var(--fo-accent); color: var(--fo-on-accent);
}
[data-fo-page="landing"] .fo-band[hidden] { display: none; }
[data-fo-page="landing"] .fo-band__h {
  margin: 0; font-family: var(--fo-serif); font-size: clamp(24px, 2.4vw, 32px); font-weight: 700; line-height: 1.15;
  letter-spacing: -0.01em; color: inherit; text-wrap: balance;
}
[data-fo-page="landing"] .fo-band__doors { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
[data-fo-page="landing"] .fo-band__doors:not(:has(> :not([hidden]))) { display: none; }   /* a link on its way: no empty row */
[data-fo-page="landing"] .fo-band__form { display: flex; flex-wrap: wrap; gap: 10px; flex: 1 1 440px; min-width: 0; margin: 0; }
[data-fo-page="landing"] .fo-band__form[hidden] { display: none; }
[data-fo-page="landing"] .fo-band__form input {
  flex: 1 1 220px; min-width: 0; height: 44px; padding: 0 14px; box-sizing: border-box; border: 1px solid transparent;
  border-radius: var(--fo-r-btn); background: var(--fo-card); color: var(--fo-text); font: inherit; font-size: 16px;
}
[data-fo-page="landing"] .fo-band__form input::placeholder { color: var(--fo-muted); }
[data-fo-page="landing"] .fo-band :is(input, .fo-btn):focus-visible { outline: 2px solid var(--fo-on-accent); outline-offset: 2px; }
[data-fo-page="landing"] .fo-band__form .fo-btn { background: var(--fo-on-accent); color: var(--fo-accent); }
[data-fo-page="landing"] .fo-band__form .fo-btn:disabled { opacity: 0.7; }
[data-fo-page="landing"] .fo-band__google { background: var(--fo-card); color: var(--fo-text); }
[data-fo-page="landing"] .fo-band__google[hidden] { display: none; }
[data-fo-page="landing"] .fo-band__msg { margin: 0; font-size: 15px; line-height: 1.5; color: inherit; }
[data-fo-page="landing"] .fo-band__msg:empty { display: none; }
[data-fo-page="landing"] .fo-band__sent { margin: 0; font-size: 15px; line-height: 1.5; color: inherit; }
[data-fo-page="landing"] .fo-band__again {
  display: inline-block; padding: 1px 0; margin: 0; border: 0; background: none; color: inherit; font: inherit;
  font-weight: 600; text-decoration: underline; text-underline-offset: 3px; cursor: pointer;
}
[data-fo-page="landing"] .fo-band__again:focus-visible { outline: 2px solid var(--fo-on-accent); outline-offset: 2px; }
@media (pointer: coarse) {
  [data-fo-page="landing"] .fo-band__again { padding: 11px 0; margin: -11px 0; }
}
@media (max-width: 640px) {
  /* A step's number beside its words, so the three fit a phone's screen; the band's doors
     take the whole row, each a full-width target. */
  [data-fo-page="landing"] .fo-how-steps li { flex-direction: row; align-items: center; gap: 14px; padding: 16px 18px; font-size: 16px; }
  [data-fo-page="landing"] .fo-how-n { flex: none; }
  [data-fo-page="landing"] .fo-band { padding: 22px 20px; }
  [data-fo-page="landing"] :is(.fo-band__form .fo-btn, .fo-band__google) { flex: 1 1 100%; }
}

/* FH10: the readiness score in the finish line's place. The app's Readiness
   card (.fo-card.fo-ready and its .fo-meter, drawn 1 : 1 : 2 for 5, 10 and
   20 answers) at hero size, as an example at 10 answers: the first two
   parts full, each scale label under the end of its part. FH12: nothing
   under the card (the disclosure went by the owner's call of 2026-10-31).
   UX review L3 (the owner's pick of 2026-11-09): the card moved, unchanged,
   from the hero to the roadmap screen, under its key. */
[data-fo-page="landing"] .fo-hero-ready { width: 100%; max-width: 640px; margin: 0 auto; text-align: left; font-size: 13px; line-height: 1.45; color: var(--fo-muted); }
[data-fo-page="landing"] .fo-hero-ready .fo-card { gap: 14px; padding: 22px 26px; }
[data-fo-page="landing"] .fo-hero-ready .fo-card__head { flex-wrap: wrap; gap: 4px 16px; }
[data-fo-page="landing"] .fo-hero-ready .fo-card__note { font-family: var(--fo-mono); font-size: 11px; letter-spacing: 0.06em; text-transform: uppercase; }
[data-fo-page="landing"] .fo-hero-ready .fo-ready__big { gap: 6px 14px; }
[data-fo-page="landing"] .fo-hero-ready .fo-big { font-size: 56px; }
[data-fo-page="landing"] .fo-hero-ready .fo-ready__of { font-size: 17px; line-height: 1.35; }
[data-fo-page="landing"] .fo-hero-ready .fo-meter > span { border-radius: 999px; background: var(--fo-track); }
[data-fo-page="landing"] .fo-hero-ready .fo-meter > span > i { width: 0; transform-origin: left center; }
[data-fo-page="landing"] .fo-hero-ready .fo-meter > span:nth-child(-n+2) > i { width: 100%; }
[data-fo-page="landing"] .fo-hero-ready .fo-meter__scale { gap: 3px; font-family: inherit; font-size: 13px; white-space: nowrap; }
[data-fo-page="landing"] .fo-hero-ready .fo-meter__scale > span { flex: 1; text-align: right; }
[data-fo-page="landing"] .fo-hero-ready .fo-meter__scale > span:last-child { flex: 2; }
[data-fo-page="landing"] .fo-hero-ready .fo-card__line { margin: 0; font-size: 14px; line-height: 1.55; }
/* UX review L3: in the roadmap's left column the card says its short words,
   as on a phone, wherever it is narrower than its 500 px (423 to 499 px from
   961 to 1075 px wide, where "5 answers → 40%" took two lines) */
[data-fo-page="landing"] .fo-hero-ready { container-type: inline-size; }
@container (width < 500px) {
  .fo-hero-ready__wide { display: none; }
}
/* The meter fills as its screen comes into view: once on load, and, with the
   deck on, again each time the screen comes back (the owner's ask of
   2026-10-30, kept from the finish line). #deck-js puts .is-in on the screen
   in view and takes it off the ones left behind once the glide stops, out
   of sight, so the animation is off while the screen is away and starts over
   on its return (the roadmap screen's since UX review L3; the hero's until
   then). Without the deck (the plain page, a short screen) it runs once. */
@media (prefers-reduced-motion: no-preference) {
  [data-fo-page="landing"] .fo-hero-ready .fo-meter > span > i { animation: fo-fill 0.6s cubic-bezier(0.3, 0.1, 0.3, 1) both; }
  [data-fo-page="landing"] .fo-hero-ready .fo-meter > span:nth-child(1) > i { animation-delay: 0.3s; }
  [data-fo-page="landing"] .fo-hero-ready .fo-meter > span:nth-child(2) > i { animation-delay: 0.85s; }
  .deck-on #deck > section#fo-roadmap:not(.is-in) .fo-hero-ready .fo-meter > span > i { animation: none; }
}
@keyframes fo-fill { from { transform: scaleX(0); } }

/* FH5: the roadmap screen, the words left and the sample route right. */
[data-fo-page="landing"] .fo-roadmap-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 560px); gap: 48px 72px; align-items: center; }
[data-fo-page="landing"] .fo-roadmap-head { display: flex; flex-direction: column; align-items: flex-start; gap: 16px; max-width: 500px; }
[data-fo-page="landing"] .fo-roadmap-key { display: flex; flex-direction: column; gap: 10px; margin: 8px 0 0; padding: 16px 0 0; border-top: 1px solid var(--fo-divider); }
[data-fo-page="landing"] .fo-roadmap-key p { display: flex; align-items: center; gap: 10px; margin: 0; font-size: 13px; line-height: 1.45; color: var(--fo-text-2); }
[data-fo-page="landing"] .fo-roadmap-key .fo-pill { min-width: 84px; justify-content: center; }
[data-fo-page="landing"] .fo-roadmap-example { margin: 0 0 4px; }
/* RN1 of docs/specs/2026-11-ring-numbers.md: the numbers said in words, one
   italic line over the first ring; what they are bright, the goal softer.
   Tight margins: a 1366 x 768 laptop still fits the screen unscrolled. */
[data-fo-page="landing"] .fo-roadmap-note { margin: 0 0 8px; font-family: var(--fo-italic); font-style: normal; font-weight: 500; font-size: 16px; line-height: 1.35; color: var(--fo-text-2); text-wrap: balance; }
[data-fo-page="landing"] .fo-roadmap-note > span { color: var(--fo-text); }
[data-fo-page="landing"] .fo-roadmap-route { min-width: 0; }
.fo-roadmap-canvas { position: relative; width: 540px; height: 430px; margin: 0 auto; }
/* RN2: the cards start 16 px past the 56 px ring. */
.fo-roadmap-canvas .fo-stop { position: absolute; left: 72px; width: 440px; height: 48px; }
.fo-roadmap-canvas .fo-ring { position: absolute; left: 0; }
.fo-roadmap-canvas .fo-finish { position: absolute; left: 0; width: 504px; height: 50px; }
.fo-roadmap-canvas .fo-route-line { position: absolute; }
/* On a narrow screen a long stop title ends in an ellipsis before its pill. */
.fo-roadmap-canvas .fo-stop__title { overflow: hidden; text-overflow: ellipsis; }
@media (max-width: 960px) {
  [data-fo-page="landing"] .fo-roadmap-grid { grid-template-columns: minmax(0, 1fr); }
  [data-fo-page="landing"] .fo-roadmap-canvas { margin: 0; }
}
/* The review's check of L3 (2026-11-09): with the Readiness example under
   the key, from 961 to 1200 px wide the words had 271 to 496 px beside the
   560 px route and ran past the screen (the lede alone 11 lines at 961).
   There the route takes 440 px (its finish card's note on two lines, as on
   a phone, so the canvas grows to hold it) and the words the rest; the lede
   is 16 px, and on a screen 780 px high or less the key sits closer. From
   961 px, on a screen 900 px high or less, the screen's foot is the hero's
   24 px: the deck's arrows sit beside the route, under no words. */
@media (min-width: 961px) and (max-width: 1200px) {
  [data-fo-page="landing"] .fo-roadmap-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 440px); column-gap: 40px; }
  [data-fo-page="landing"] .fo-roadmap-canvas { height: 468px; }
  [data-fo-page="landing"] #fo-roadmap .fo-lede { font-size: 16px; }
}
@media (min-width: 961px) and (max-width: 1200px) and (max-height: 780px) {
  [data-fo-page="landing"] .fo-roadmap-key { margin-top: 4px; padding-top: 12px; }
}
@media (min-width: 961px) and (max-height: 900px) {
  .deck-js[data-fo-page="landing"] #deck > section#fo-roadmap { padding-bottom: 24px; }
}
@media (max-width: 640px) {
  [data-fo-page="landing"] .hero-copy { gap: 12px; }   /* read from the left at every width since UX review L4 */
  [data-fo-page="landing"] .hero-copy h1 { font-size: 36px; }   /* L12: the headline, the line, then the card */
  [data-fo-page="landing"] .hero-copy h1 > span { text-wrap: wrap; }
  [data-fo-page="landing"] .hero-copy .sub { font-size: 15px; line-height: 1.5; }
  [data-fo-page="landing"] .fo-hero-ready .fo-card { gap: 10px; padding: 16px; }
  [data-fo-page="landing"] .fo-hero-ready .fo-big { font-size: 44px; }
  [data-fo-page="landing"] .fo-hero-ready .fo-ready__of { font-size: 15px; }
  [data-fo-page="landing"] .fo-hero-ready .fo-meter__scale { font-size: 12px; }
  [data-fo-page="landing"] .fo-roadmap-note { font-size: 15px; }
  [data-fo-page="landing"] .fo-roadmap-canvas { height: 460px; }   /* RN2: the finish card's note takes two lines */
  .fo-hero-ready__wide { display: none; }
}

/* The card's two chip rows, in the slot beside it (forest.js moves them; the
   hero's since UX review L4, "Try one now."'s until then). */
[data-fo-page="landing"] .fo-try-chips { display: flex; flex-direction: column; gap: 18px; }
/* The review's check of L4: until forest.js has moved them (as soon as the
   page has the slot), the rows stay hidden inside the card, so its question,
   box and Score it never jump up when they leave. A one-question page keeps
   them on its card (.qpage). */
[data-fo-page="landing"] body:not(.qpage) #try > .try-when { display: none; }
@media (min-width: 961px) {
  [data-fo-page="landing"] body:not(.qpage) #try > :is(.try-fields, .try-when) { display: none; }
}
[data-fo-page="landing"] .fo-try-chips .try-fields,
[data-fo-page="landing"] .fo-try-chips .try-when { display: flex; flex-direction: column; gap: 10px; margin: 0; }
[data-fo-page="landing"] .fo-try-chips .try-when[hidden] { display: none; }
[data-fo-page="landing"] .fo-try-chips :is(#try-fields-h, #try-when-h) {
  font-family: var(--fo-mono); font-size: 11px; letter-spacing: 0.06em; color: var(--fo-muted); text-transform: uppercase;
}
[data-fo-page="landing"] .try-chips { display: flex; flex-wrap: wrap; gap: 8px; }
[data-fo-page="landing"] .try-chip {
  padding: 7px 12px; border-radius: var(--fo-r-chip); border: 1px solid var(--fo-border); background: var(--fo-card);
  color: var(--fo-text); font-family: var(--fo-sans); font-size: 13px; font-weight: 500;
}
[data-fo-page="landing"] .try-chip[aria-checked="true"] { border-color: var(--fo-accent); background: var(--fo-accent-wash); color: var(--fo-accent); font-weight: 600; }
/* LAND-3 of the overnight spec: the wait's guess line, its three words a
   check in the chips' look. */
[data-fo-page="landing"] .try-guess-pick button {
  border-radius: var(--fo-r-chip); border-color: var(--fo-border); background: var(--fo-card); color: var(--fo-text); font-family: var(--fo-sans);
}
[data-fo-page="landing"] .try-guess-pick button[aria-pressed="true"] { border-color: var(--fo-accent); background: var(--fo-accent-wash); color: var(--fo-accent); }
[data-fo-page="landing"] .try-guess-name { font-family: var(--fo-mono); color: var(--fo-muted); }
/* LD7: the try card as it was before Forest: the picked field the teal fill
   with cream words, the answer box a sunken well (the second form reaches a
   guide's .g-try slot) */
:is(:root[data-fo-page="landing"][data-theme="light"], :root[data-theme="light"] [data-fo-page="landing"]) .try-chip[aria-checked="true"] {
  background: var(--accent); border-color: var(--accent); color: var(--on-accent); font-weight: 700;
}
:is(:root[data-fo-page="landing"][data-theme="light"], :root[data-theme="light"] [data-fo-page="landing"]) .democard textarea { background: var(--well); }
[data-fo-page="landing"] .democard {
  background: var(--fo-card); border: 1px solid var(--fo-border); border-radius: var(--fo-r-card); padding: 28px;
  box-shadow: none; color: var(--fo-text);
}
[data-fo-page="landing"] .democard .tag { font-family: var(--fo-mono); font-size: 11px; letter-spacing: 0.06em; color: var(--fo-muted); text-transform: uppercase; }
[data-fo-page="landing"] .democard .q { font-family: var(--fo-sans); font-size: clamp(18px, 1.6vw, 22px); font-weight: 600; line-height: 1.35; color: var(--fo-text); }
[data-fo-page="landing"] .democard textarea {
  background: var(--fo-ground); border: 1px solid var(--fo-border); border-radius: var(--fo-r-btn); color: var(--fo-text); font-family: var(--fo-sans);
}
[data-fo-page="landing"] .democard .try-rubric .rb-name {
  padding: 5px 10px; border-radius: var(--fo-r-chip); border: 1px solid var(--fo-border); background: var(--fo-ground);
  font-family: var(--fo-mono); font-size: 12px; color: var(--fo-text-2);
}
[data-fo-page="landing"] .democard .try-count { font-family: var(--fo-mono); font-size: 12px; color: var(--fo-muted); }
[data-fo-page="landing"] :is(.btn-primary, .democard .btn-primary) {
  background: var(--fo-primary-bg); color: var(--fo-primary-text); border: 0; border-radius: var(--fo-r-btn); font-weight: 600;
}
[data-fo-page="landing"] .btn-ghost { background: var(--fo-raised); border: 1px solid var(--fo-border); color: var(--fo-text); border-radius: var(--fo-r-btn); }
[data-fo-page="landing"] .try-mic { background: var(--fo-primary-bg); color: var(--fo-primary-text); box-shadow: 0 0 0 8px var(--fo-accent-wash); }

/* The roadmap tiles. */
.fo-tiles { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr)); gap: 16px; }
.fo-tile-card {
  position: relative; display: flex; flex-direction: column; gap: 10px; padding: 22px 22px 28px; overflow: hidden;
  background: var(--fo-card); border: 1px solid var(--fo-border); border-radius: var(--fo-r-card);
}
.fo-tile-card b { font-size: 17px; font-weight: 600; color: var(--fo-text); }
.fo-tile-card > span:not(.fo-label) { font-size: 14px; line-height: 1.55; color: var(--fo-text-2); }   /* #24: no progress foot for a visitor */

/* An honest score: the pair of takes. */
.fo-pair { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(460px, 100%), 1fr)); gap: 20px; }
.fo-take { gap: 14px; padding: 24px; }
.fo-take p { margin: 0; }
.fo-take-k { display: flex; justify-content: space-between; gap: 12px; font-family: var(--fo-mono); font-size: 11px; letter-spacing: 0.06em; color: var(--fo-muted); text-transform: uppercase; }
.fo-take-q { font-size: 17px; font-weight: 600; line-height: 1.4; color: var(--fo-text); }
.fo-take-a { font-size: 14px; line-height: 1.6; color: var(--fo-text-2); }
.fo-take-s { font-family: var(--fo-serif); font-weight: 500; font-size: 40px; line-height: 1; letter-spacing: -0.02em; }
.fo-take-s small { font-size: 16px; color: var(--fo-muted); }
.fo-take-r { font-size: 14px; line-height: 1.55; color: var(--fo-text); }
/* UX review W3 (D12, S2): the four checks read as the app's scorecard does,
   under "What the coach checked": a mark and a word each, never 0 to 2. The
   mark is a full disc with a tick (Strong), half a disc (Thin) or a ring
   (Missing), aria-hidden: the word carries it; the lowest under Strong
   takes the amber, as the room's takes the brass. One line on a laptop. */
.fo-take-checks { display: flex; flex-direction: column; gap: 4px; }
.fo-take-cap { font-family: var(--fo-mono); font-size: 11px; line-height: 14px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--fo-muted); }
.fo-take-legs { display: flex; flex-wrap: wrap; gap: 4px 12px; }
.fo-check { display: inline-flex; align-items: center; gap: 5px; font-size: 13px; line-height: 20px; color: var(--fo-text-2); white-space: nowrap; }
.fo-check b { font-weight: 600; color: var(--fo-text); }
.fo-check[data-v="2"] b { color: var(--fo-accent); }
.fo-check.low b, .fo-check.low .fo-check__mk { color: var(--fo-amber); }
.fo-check__mk { position: relative; flex: none; width: 12px; height: 12px; box-sizing: border-box; border: 1.5px solid currentColor; border-radius: 50%; color: var(--fo-muted); }
.fo-check__mk--strong { color: var(--fo-accent); background: currentColor; }
.fo-check__mk--strong::after { content: ''; position: absolute; left: 3px; top: 0.5px; width: 2.5px; height: 6px; border: solid var(--fo-card); border-width: 0 1.5px 1.5px 0; transform: rotate(45deg); }
.fo-check__mk--thin { background: linear-gradient(90deg, currentColor 50%, transparent 50%); }
/* UX review W3, the review's check: a card with less room than the four
   take in one row (522 px, the four "Strong") stands them two and two in
   columns, never three and one: the cards side by side under 1239 px wide,
   and a phone's slide. Under 270 px, one under another. */
[data-fo-page="landing"] #fo-score .fo-take-checks { container-type: inline-size; }
@container (width < 522px) {
  [data-fo-page="landing"] #fo-score .fo-take-legs { display: grid; grid-template-columns: repeat(2, max-content); column-gap: 12px; }
}
@container (width < 270px) {
  [data-fo-page="landing"] #fo-score .fo-take-legs { grid-template-columns: max-content; }
}
/* UX review L9 (the owner's pick of 2026-11-09): each answer folds to about
   four lines, so the pair fits one screen at 1280 x 800, and "Read it all"
   (forest.js takeFold, shown only where the fold hides words) opens it, a
   text button tucked under the lines it opens: 24 px high, 44 px under a
   finger (UX panel #14). */
[data-fo-page="landing"] .fo-take-a.is-folded { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 4; line-clamp: 4; overflow: hidden; }
[data-fo-page="landing"] .fo-take-more {
  align-self: flex-start; margin: -8px 0 0; padding: 0; border: 0; background: none; cursor: pointer;
  color: var(--fo-accent); font: 600 14px/24px var(--fo-sans); text-decoration: underline; text-underline-offset: 3px;
}
[data-fo-page="landing"] .fo-take-more[hidden] { display: none; }
[data-fo-page="landing"] .fo-take-more:hover { color: var(--fo-text); }
[data-fo-page="landing"] .fo-take-more:focus-visible { outline: 2px solid var(--fo-accent); outline-offset: 2px; border-radius: 4px; }
/* the card that keeps the focus when Show less leaves nothing to open (inside its edge, so a slide never clips it) */
[data-fo-page="landing"] #fo-score .fo-take:focus-visible { outline: 2px solid var(--fo-accent); outline-offset: -2px; }
@media (pointer: coarse) {
  [data-fo-page="landing"] .fo-take-more { margin: -18px 0 -10px; padding: 10px 0; }
}
/* L9: the fold's fit, measured: 1280 x 800 had the pair 117 px past its
   screen and 35 px with the fold. From 1181 px wide, on a screen 900 px high
   or less, the screen's foot is the hero's 24 px (the line under the cards
   is 900 px at most, so the deck's arrows sit beside it, under no words, from
   1108 px); from 961 px, on a screen 860 px high or less, the head and the
   cards sit closer, so 1366 x 768 holds the pair too. UX review W3: the
   checks' caption costs a line, which the card's own gap and its top and
   bottom padding give back on those screens; under 1239 px wide the checks
   take a second row, which the block after these gives back. Measured
   against the build before W3, from 961 to 1440 wide at 700 to 900 px
   high: no screen 860 px high or less overflows more than it did, the
   laptops L9 named still hold the pair, and only 961 x 900 (the pair
   stacked there, already scrolling) runs 15 px further. */
@media (min-width: 1181px) and (max-height: 900px) {
  .deck-js[data-fo-page="landing"] #deck > section#fo-score { padding-bottom: 24px; }
}
@media (min-width: 961px) and (max-height: 860px) {
  [data-fo-page="landing"] #fo-score .fo-take { gap: 8px; padding: 20px 24px; }
  .deck-js[data-fo-page="landing"] #deck #fo-score .fo-center { gap: 12px; margin-bottom: 16px; }
}
/* UX review W3, the review's check: under 1239 px wide the checks take two
   rows (the grid above), so a screen 860 px high or less takes the second
   back from the card's gap and the checks' own spacing. */
@media (min-width: 961px) and (max-width: 1238px) and (max-height: 860px) {
  [data-fo-page="landing"] #fo-score .fo-take { gap: 7px; }
  [data-fo-page="landing"] #fo-score .fo-take-checks { gap: 2px; }
  [data-fo-page="landing"] #fo-score .fo-take-legs { row-gap: 2px; }
  [data-fo-page="landing"] #fo-score .fo-check { line-height: 18px; }
}
/* L9: on a phone the pair is two sideways slides, so the first card's head
   says both scores, the 9.5 never only behind a swipe; side by side, the
   cards say them. The line shows in the slides' own 760 px break
   (.fo-pair.slides, further down), the break it follows. */
[data-fo-page="landing"] .fo-take-both { display: none; }

/* The mock's debrief card and the plan card. */
.fo-debrief, .fo-plan { gap: 14px; padding: 24px; }
.fo-debrief p, .fo-plan p { margin: 0; font-size: 14px; line-height: 1.55; color: var(--fo-text-2); }
.fo-debrief p b, .fo-plan p b { color: var(--fo-text); }
.fo-debrief-h, .fo-plan-h, .fo-plan-k { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.fo-debrief-h b, .fo-plan-h b { font-size: 18px; }
.fo-debrief-h .fo-mono, .fo-plan-h .fo-mono, .fo-plan-k .fo-mono { font-size: 12px; color: var(--fo-muted); }
.fo-plan-bar { height: 8px; border-radius: 4px; background: var(--fo-wash); overflow: hidden; }
.fo-plan-bar i { display: block; width: 32%; height: 100%; background: var(--fo-accent); }
.fo-plan-next { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding-top: 12px; border-top: 1px solid var(--fo-divider); }
.fo-checks { list-style: none; padding: 0; margin: 20px 0; display: flex; flex-direction: column; gap: 12px; }
.fo-checks li { position: relative; padding-left: 28px; font-size: 15px; color: var(--fo-text); }
.fo-checks li::before { content: "✓"; position: absolute; left: 0; color: var(--fo-accent); font-weight: 700; }
/* docs/specs/2026-10-insights-triage.md: "Paste the job description. Get its
   questions." (the owner's words of 2026-11-02, RN3 of 2026-11-ring-numbers.md),
   right after the roadmap (the owner's order of 2026-10-30; in the file
   itself since UX review L7), and the resume screen's card: the job post's
   questions (three fields, drafts for now: forest-hero FH14) on the accent's
   rule, the resume's (the skeptical ones) on the amber's. */
/* RN3: the heading's two beats one per line, as the hero's are, so a phone
   360 px or wider never splits "Get its questions." */
[data-fo-page="landing"] :is(#fo-jd, #fo-resume) .fo-h2 > span { display: block; text-wrap: balance; }   /* LD8: the two halves, a line each */
.fo-jd-card { gap: 16px; padding: 24px; }
.fo-jd-card p { margin: 0; }
.fo-jd-qs { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 14px; }
.fo-jd-qs li { padding-left: 14px; border-left: 2px solid var(--fo-accent-line); font-size: 16px; line-height: 1.5; color: var(--fo-text); text-wrap: pretty; }
.fo-jd-card--resume .fo-jd-qs li { border-left-color: var(--fo-amber-line); }
/* The owner's ask of 2026-10-31: the job post card switches between three
   fields. The panels share one grid cell, so the card holds the tallest one's
   height and nothing below it moves; the one on show fades in. The tabs
   (forest.js jdRotate) sit at the foot; the chosen one's rule fills while it
   is on show, and the card moves on when the fill ends. */
.fo-jd-panels { display: grid; }
.fo-jd-panel { grid-area: 1 / 1; display: flex; flex-direction: column; gap: 16px; opacity: 0; visibility: hidden; transition: opacity 0.35s ease, visibility 0s linear 0.35s; }
.fo-jd-panel.is-on { opacity: 1; visibility: visible; transition: opacity 0.35s ease; }
.fo-jd-tabs { display: flex; flex-wrap: wrap; gap: 4px; margin: auto -10px -8px; padding-top: 4px; }
.fo-jd-tabs[hidden] { display: none; }
.fo-jd-tab {
  position: relative; min-height: 36px; padding: 8px 10px 12px; border: 0; border-radius: var(--fo-r-chip); background: none; cursor: pointer;
  font: 500 13px/1.2 var(--fo-sans); color: var(--fo-muted);
}
.fo-jd-tab:hover, .fo-jd-tab[aria-selected="true"] { color: var(--fo-text); }
.fo-jd-tab:focus-visible { outline: 2px solid var(--fo-accent); outline-offset: 0; }
.fo-jd-tab__bar { position: absolute; left: 10px; right: 10px; bottom: 5px; height: 2px; border-radius: 999px; background: var(--fo-track); overflow: hidden; }
.fo-jd-tab__bar::after { content: ""; position: absolute; inset: 0; background: var(--fo-accent); transform: scaleX(0); transform-origin: left center; }
.fo-jd-tab[aria-selected="true"] .fo-jd-tab__bar::after { transform: none; }
@media (prefers-reduced-motion: no-preference) {
  .fo-jd-rot.is-auto .fo-jd-tab[aria-selected="true"] .fo-jd-tab__bar::after { animation: fo-jd-run 6s linear both; }
  .fo-jd-rot.is-auto.is-paused .fo-jd-tab[aria-selected="true"] .fo-jd-tab__bar::after { animation-play-state: paused; }
}
@media (prefers-reduced-motion: reduce) {
  .fo-jd-panel, .fo-jd-panel.is-on { transition: none; }
}
@keyframes fo-jd-run { from { transform: scaleX(0); } to { transform: scaleX(1); } }
/* FH15, the owner's call of 2026-11-01: on a phone the card's head stacks,
   "From the job description" over the role, each whole, where side by side
   both halves broke in two. */
@media (max-width: 640px) {
  [data-fo-page="landing"] .fo-jd-rot .fo-take-k { flex-direction: column; gap: 4px; }
}
/* The resume screen (2026-10-30): the line from the resume, then the questions written from it; a land mine wears its label. */
[data-fo-page="landing"] .fo-resume-line { margin: 0 0 16px; padding: 12px 14px; border-radius: 10px; background: var(--fo-wash); color: var(--fo-text-2); font-size: 14px; line-height: 1.5; }
:root[data-fo-page="landing"][data-theme="light"] .fo-resume-line { background: var(--well); }   /* LD7: the paper's well, not a cool grey */
[data-fo-page="landing"] .fo-mine-k { display: block; margin-bottom: 4px; font-family: var(--fo-mono); font-size: 11px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--fo-amber); }
/* The job-post screen's second card (2026-10-30): the visitor's turn, a paste that happens in the app. */
[data-fo-page="landing"] .fo-jd-cta > p:not(.fo-take-k):not(.fo-actions) { margin: 0; font-size: 15px; line-height: 1.55; color: var(--fo-text-2); }
[data-fo-page="landing"] .fo-jd-cta .fo-actions { margin-top: auto; }
/* underlined: a link in a line of fine print is told apart by colour alone
   otherwise (axe link-in-text-block, the audit's T12 at 390 px) */
[data-fo-page="landing"] .fo-jd-more a { white-space: nowrap; text-decoration: underline; text-underline-offset: 3px; }
[data-fo-page="landing"] #fo-resume .fo-h2 { margin-bottom: 16px; }
[data-fo-page="landing"] #fo-mock .fo-lede, [data-fo-page="landing"] #fo-resume .fo-lede { margin: 16px 0 20px; }
[data-fo-page="landing"] #fo-mock .fo-h2 { margin-top: 16px; }

/* Why the name, the FAQ, the footer. */
[data-fo-page="landing"] #name { padding: 72px clamp(16px, 3vw, 40px); border-top: 1px solid var(--fo-divider); background: var(--fo-ground); text-align: center; }
[data-fo-page="landing"] #name .name-card { display: none; }
[data-fo-page="landing"] #name .name-grid { display: flex; justify-content: center; }
[data-fo-page="landing"] #name .name-copy { max-width: 720px; display: flex; flex-direction: column; align-items: center; gap: 16px; }
[data-fo-page="landing"] #name .eyebrow { font-family: var(--fo-mono); font-size: 11px; letter-spacing: 0.06em; color: var(--fo-text-2); text-transform: uppercase; }
[data-fo-page="landing"] #name .lede { font-size: 19px; line-height: 1.6; color: var(--fo-text); }
[data-fo-page="landing"] #faq { padding: 88px clamp(16px, 3vw, 40px); border-top: 1px solid var(--fo-divider); }
[data-fo-page="landing"] #faq .wrap { max-width: 760px; margin: 0 auto; display: flex; flex-direction: column; gap: 12px; }
[data-fo-page="landing"] #faq #faq-h { align-self: center; font-family: var(--fo-mono); font-size: 11px; letter-spacing: 0.06em; color: var(--fo-text-2); text-transform: uppercase; }
[data-fo-page="landing"] #faq .fo-faq-title { text-align: center; margin: 0 0 24px; }
[data-fo-page="landing"] .faq-q { background: var(--fo-card); border: 1px solid var(--fo-border); border-radius: var(--fo-r-card); padding: 4px 20px; }
[data-fo-page="landing"] .faq-q summary { font-size: 15px; font-weight: 600; color: var(--fo-text); padding: 14px 0; }
[data-fo-page="landing"] .faq-q p { color: var(--fo-text-2); }
/* docs/specs/2026-10-insights-triage.md: the founder's line, centered like
   the name's (docs/specs/2026-10-fullscreen-landing.md §3 moved it there). */
[data-fo-page="landing"] #name .faq-by { max-width: none; margin: 0; text-align: center; font-size: 14px; color: var(--fo-text-2); }
[data-fo-page="landing"] footer { border-top: 1px solid var(--fo-divider); background: var(--fo-ground); color: var(--fo-text-2); }
[data-fo-page="landing"] footer .mark { font-weight: 700; color: var(--fo-text); }
[data-fo-page="landing"] footer .mark b { color: var(--fo-accent); }
[data-fo-page="landing"] footer a { color: var(--fo-text-2); }

/* #69 of docs/specs/audit-fixes-2026-10-23.md (F2_TabletHeader): from 761 to
   1100 px the app bar shows each link's icon over a short label (the long
   one stays the accessible name), Practice now goes, the position switcher
   and the avatar stay; nothing wraps at 820 px. */
@media (min-width: 761px) and (max-width: 1100px) {
  [data-skin="forest"] .topbar .fo-nav-link { flex-direction: column; gap: 2px; padding: 4px 8px; font-size: 11px; line-height: 1.1; }
  [data-skin="forest"] .topbar .fo-nav-label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  [data-skin="forest"] .topbar .fo-nav-short { display: inline; }
  /* #15: the switcher's short label over the date and days, 220 px at most. */
  [data-skin="forest"] .topbar .js-top-pos { max-width: 220px; gap: 8px; padding: 0 10px 0 12px; }
  [data-skin="forest"] .topbar .tb-pos-lines { max-width: 172px; }
  [data-skin="forest"] .topbar .tb-pos-full, [data-skin="forest"] .topbar .tb-pos-round { display: none; }
  [data-skin="forest"] .topbar .tb-pos-short { display: block; font-size: 13px; font-weight: 600; }
}
/* ---- FR5: the phone (renders 21-23) -------------------------------------- */
[data-skin="forest"] .fo-tabs { display: none; }
@media (max-width: 760px) {
  [data-skin="forest"] .topbar .fo-nav-link { display: none !important; }
  /* #15 (F_MobileHome): brand, the switcher, the avatar; its short label over the date and days. */
  [data-skin="forest"] .topbar .js-top-pos { height: 40px; max-width: 52vw; gap: 8px; padding: 0 10px; }
  [data-skin="forest"] .topbar .tb-pos-lines { max-width: calc(52vw - 44px); line-height: 1.15; }
  [data-skin="forest"] .topbar .tb-pos-full, [data-skin="forest"] .topbar .tb-pos-round { display: none; }
  [data-skin="forest"] .topbar .tb-pos-short { display: block; max-width: none; font-size: 12px; font-weight: 600; }
  [data-skin="forest"] .topbar .tb-pos-when { font-size: 10px; }
  [data-skin="forest"] .topbar .js-top-pos .tb-chev { width: 14px; height: 14px; }
  /* The jobs pill is its dot here (its words stay its name; the popover and the route's strip say what is written). */
  [data-skin="forest"] .topbar .tb-jobs { font-size: 0; min-width: 44px; }
  [data-skin="forest"] .topbar .tb-jobs::before { content: ''; display: inline-block; width: 10px; height: 10px; margin: 0; border-radius: 50%; vertical-align: middle; background: var(--fo-muted); }
  [data-skin="forest"] .topbar .tb-jobs.live::before { background: var(--fo-accent); }
  /* RESIL-1 of the overnight spec: a list that did not finish (its words say "didn't finish") never reads as all done. */
  [data-skin="forest"] .topbar .tb-jobs.unfinished::before { background: var(--fo-amber); }
  [data-skin="forest"] { --fo-tabs-h: calc(70px + env(safe-area-inset-bottom, 0px)); }
  [data-skin="forest"] .fo-tabs[hidden] { display: none; }
  [data-skin="forest"] .fo-tabs {
    display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 70;
    padding: 8px 8px calc(8px + env(safe-area-inset-bottom, 0px)); background: var(--fo-ground); border-top: 1px solid var(--fo-divider);
  }
  [data-skin="forest"] .fo-tabs button {
    flex: 1; display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 6px 0;
    border: 0; background: none; color: var(--fo-text-2); font-family: var(--fo-sans); font-size: 12px; font-weight: 500; cursor: pointer;
  }
  [data-skin="forest"] #screen-master:not([hidden]) ~ .fo-tabs .js-fo-roadmap,
  [data-skin="forest"] #screen-progress:not([hidden]) ~ .fo-tabs .js-fo-progress { color: var(--fo-accent); }
  /* LD4: as the top bar's current link, on the node tint in light. */
  :root[data-skin="forest"][data-theme="light"] #screen-master:not([hidden]) ~ .fo-tabs .js-fo-roadmap,
  :root[data-skin="forest"][data-theme="light"] #screen-progress:not([hidden]) ~ .fo-tabs .js-fo-progress { background: var(--fo-node); border-radius: var(--fo-r-btn); }
  /* UX review NV2: under the practice room the tab is Practice's, marked as the bar's link is. */
  [data-skin="forest"] #rehearse:not([hidden]) ~ .fo-tabs .js-fo-practice { color: var(--fo-accent); }
  :root[data-skin="forest"][data-theme="light"] #rehearse:not([hidden]) ~ .fo-tabs .js-fo-practice { background: var(--fo-node); border-radius: var(--fo-r-btn); }
  [data-skin="forest"] .fo-route { flex-direction: column; flex-wrap: nowrap; padding-bottom: 84px; }
  /* #16: the position page's side column ends above the tab bar. */
  [data-skin="forest"] #screen-interview .doc { padding-bottom: var(--fo-tabs-h, 70px); }
  /* #59: a jump on the page (More's menu, a door's form) stops above the tab bar too. */
  [data-skin="forest"] #screen-interview .doc { scroll-padding-bottom: var(--fo-tabs-h, 70px); }
  /* VF-ROLES-3 of the lane ov-roles check: More's panel stays whole between
     the bar and the tab bar (Job settings… opened under the tab bar on a
     360x640 phone). Open, it paints over the sticky tab strip (z-index 8
     over 6), so the jump that brings it into view keeps clear only More
     above it: the button (44 px) and the panel's 6 px drop, 50 px (round 3:
     with no room kept the jump ran More under the top bar at 360x640 and
     320x568). Taller than the room left under More, the panel scrolls
     inside itself, as the switcher's panel does (#44). */
  [data-skin="forest"] #screen-interview .doc:has(#iv-menu:not([hidden])) { scroll-padding-top: 50px; }
  [data-skin="forest"] #screen-interview .iv-menu { max-height: calc(100vh - var(--topbar-h, 56px) - var(--fo-tabs-h, 70px) - 50px); max-height: calc(100dvh - var(--topbar-h, 56px) - var(--fo-tabs-h, 70px) - 50px); overflow-y: auto; }
  /* #54: Settings' last row clears the tab bar too, and the avatar (Settings'
     one door on a phone) keeps its place: the jobs pill gives way first (#15
     made that every width's rule, beside the switcher). */
  [data-skin="forest"] #screen-settings .doc { padding-bottom: var(--fo-tabs-h, 70px); }
  [data-skin="forest"] body:has(.fo-tabs:not([hidden])) .verify-bar { bottom: var(--fo-tabs-h, 70px); }
  /* The cross-lane check, wave 2 (w2-complete-10): a toast outside the rooms
     stands 12 px over the tab bar, never on it (Settings' "Your practice data
     has been cleared." hid Practice and Mock), and over what stands on the bar,
     the sign-in line, the build card and the return pills (--toast-lift, read
     by toastLiftSync in index.html). :where() adds no weight to the stack's
     own class, so the rooms' places win (R5, POLISH-4, OVR-7, the mock's). */
  :where([data-skin="forest"] body:has(.fo-tabs:not([hidden]))) .toasts { bottom: max(calc(var(--fo-tabs-h, 70px) + 12px), var(--toast-lift, 0px)); }
  [data-skin="forest"] body:has(#iv-buildpop:not([hidden])) .verify-bar { display: none; }
  [data-skin="forest"] .fo-map { padding: 20px 16px 8px; order: 1; flex: none; }
  [data-skin="forest"] .fo-map__scroll { justify-content: flex-start; padding-top: 20px; }
  [data-skin="forest"] .fo-map__title { font-family: var(--fo-sans); font-size: 22px; font-weight: 700; }
  [data-skin="forest"] .fo-side { display: contents; }
  /* DL1: the band has no box here either, so the phone reads as before:
     the Next step card (T2; HP1 not taken, D24), the map, then every card. */
  [data-skin="forest"] .fo-overview { display: contents; }
  [data-skin="forest"] .fo-overview > *, [data-skin="forest"] .fo-side > * { margin: 0 16px 12px; }
  [data-skin="forest"] .fo-overview > .fo-card { order: 2; }
  [data-skin="forest"] .fo-overview > .fo-next { order: 0; margin-top: 16px; }
  /* UW11a: the orientation leads the phone's Home, its button the row's width. */
  [data-skin="forest"] .fo-orient { padding: 16px 16px 0; }
  [data-skin="forest"] #fo-route:not(:has(#fo-route-overview .fo-btn--continue)) .fo-orient__go { display: flex; width: 100%; }
  [data-skin="forest"] .fo-side > .fo-card { order: 2; }
  /* The room on a phone (render 23): the bar clears the tab bar. */
  [data-skin="forest"] .rh-main { padding: 16px; }
  [data-skin="forest"] .fo-qcard { padding: 20px; }
  [data-skin="forest"] .rh-card { padding: 18px; }
  /* #21 of docs/specs/audit-fixes-2026-10-23.md (board F_MobilePractice):
     the app bar steps aside, the room ends above the tab bar (which hides
     only while answering), one 52px sticky header (back, the stop over its
     counts, Next), the question without a card, the mode switch and the
     scored card's actions docked at the bottom. */
  [data-skin="forest"] body:has(#rehearse:not([hidden])) .topbar { display: none; }
  /* The room takes the whole phone screen, as the mock room does: the
     under-construction banner steps aside with the bar. */
  [data-skin="forest"] body:has(#rehearse:not([hidden])) .uc-banner { display: none; }
  [data-skin="forest"] .mr-head { padding: 10px 16px; gap: 8px; }
  [data-skin="forest"] .rehearse { top: 0; height: calc(100dvh - var(--fo-tabs-h, 70px)); }
  [data-skin="forest"] .rehearse.answering { height: 100dvh; }
  [data-skin="forest"] .rh-main { padding: 0 16px 12px; }
  [data-skin="forest"] .rh-top {
    flex-wrap: nowrap; justify-content: space-between; align-items: center; gap: 8px; min-height: 52px;
    position: sticky; top: 0; z-index: 3; background: var(--fo-ground); border-bottom: 1px solid var(--fo-divider);
  }
  [data-skin="forest"] .rh-top .rh-mode, [data-skin="forest"] .rh-top .rh-ttstop { display: none !important; }
  /* NB2 of docs/specs/2026-11-tester-six-points.md: the word in #21's 44px
     box, not a lone chevron ("‹ Back"; "‹ Back to Home" whole, S10).
     Id-scoped: the room's one-face layer sets #rehearse .rh-leave to 14px. */
  [data-skin="forest"] #rehearse .app-back {
    height: 44px; min-width: 44px; padding: 0 8px; margin: 0 0 0 -8px; font-size: 15px; line-height: 44px; flex: none; color: var(--fo-text);
  }
  /* 641 to 760px is a phone here too, past the 640px rule that hides it */
  [data-skin="forest"] #rehearse .app-back-to:not(.home) { display: none; }
  [data-skin="forest"] .rh-top .fo-crumb { flex: 1 1 auto; min-width: 0; flex-direction: column; align-items: flex-start; gap: 2px; }
  [data-skin="forest"] .rh-top .fo-crumb .fo-pill, [data-skin="forest"] .rh-top .fo-crumb__n { display: none; }
  [data-skin="forest"] .rh-top :is(.fo-crumb__job, .fo-crumb__area) { display: none; }   /* A2: the desktop's; here the title and its sub-line say it */
  [data-skin="forest"] .rh-top .fo-crumb__title {
    display: block; max-width: 100%; font-family: var(--fo-sans); font-size: 15px; font-weight: 600; color: var(--fo-text);
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
  }
  [data-skin="forest"] .rh-top .fo-crumb__sub { display: block; font-family: var(--fo-mono); font-size: 11px; color: var(--fo-muted); }
  [data-skin="forest"] .rh-ctxwrap { margin-left: auto; flex: none; }
  [data-skin="forest"] .fo-essbar { display: none; }
  [data-skin="forest"] .fo-qcard { background: none; border: 0; padding: 12px 0 0; gap: 10px; margin-top: 0; }
  [data-skin="forest"] .fo-qcard__sub { display: none; }
  [data-skin="forest"] .rehearse.scored-m .rh-q { -webkit-line-clamp: unset; font-size: 20px; cursor: default; }
  [data-skin="forest"] .rehearse.scored-m .fo-qcard > :not(.rh-q):not(#rh-qshow):not(#rh-howrow):not(#rh-howpanel) { display: none; }
  [data-skin="forest"] .rehearse.scored-m .fo-qcard > #rh-howrow { display: flex; }
  [data-skin="forest"] .rehearse.scored-m .fo-qcard > #rh-howpanel:not([hidden]) { display: block; }
  [data-skin="forest"] .rehearse.scored-m .rh-session { max-height: 45%; }
  /* UW6 of docs/specs/2026-11-ux-walk-fixes.md: under a scorecard (.qfold,
     rhPlace) the question folds to one line beside "Show the question"
     (#rh-qshow, rhQFold), and How to answer this folds with it, so the fix
     is on the first screen. Open, the question is whole again with its help
     chip under it. Any other card (the 10/10 answer, Your takes) keeps the
     question whole, as above. */
  [data-skin="forest"] .rehearse.scored-m.qfold .rh-session > .fo-qcard {
    display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 0 12px; padding-top: 2px;
  }
  [data-skin="forest"] .rehearse.scored-m.qfold .rh-q { cursor: pointer; }
  [data-skin="forest"] .rehearse.scored-m.qfold .rh-q:not(.open) { display: block; font-size: 16px; white-space: nowrap; text-overflow: ellipsis; }
  [data-skin="forest"] .rehearse.scored-m.qfold .rh-q.open { grid-column: 1 / -1; padding-top: 8px; }
  [data-skin="forest"] .rehearse.scored-m.qfold .fo-qcard > #rh-qshow {
    display: inline-flex; align-items: center; min-height: 40px; font-size: 14px; white-space: nowrap; justify-self: start;
  }
  [data-skin="forest"] .rehearse.scored-m.qfold .fo-qcard > .rh-q:not(.open) ~ :is(#rh-howrow, #rh-howpanel) { display: none; }
  [data-skin="forest"] .rehearse.scored-m.qfold .fo-qcard > .rh-q.open ~ :is(#rh-howrow, #rh-howpanel) { grid-column: 1 / -1; }
  [data-skin="forest"] .rehearse.scored-m.qfold .fo-qcard > .rh-q.open ~ #rh-howpanel:not([hidden]) { margin-top: 10px; }
  [data-skin="forest"] .rehearse.scored-m.qfold .rh-scorewrap { margin-top: 0; }
  /* UW6: the score head in one row: the number at 56 px, "/ 10", and the
     keep line beside them (.rh-sside, rhHeadFit). A new best's pair
     ("6.5 → 9.5") keeps its lines under it where the row has no room. */
  [data-skin="forest"] .rehearse.scored-m .rh-scorecard .rh-shead {
    flex-wrap: nowrap; align-items: center; gap: 4px 10px; padding: 8px 14px; margin-top: 8px;
  }
  [data-skin="forest"] .rehearse.scored-m .rh-scorecard .rh-shead.rh-climb { flex-wrap: wrap; }
  [data-skin="forest"] .rehearse.scored-m .rh-scorecard .rh-shead :is(.rh-snum, .rh-sprev) { font-size: 56px; line-height: 0.9; }
  [data-skin="forest"] .rehearse.scored-m .rh-scorecard .rh-sof .of { padding-bottom: 0; }
  [data-skin="forest"] .rehearse.scored-m .rh-scorecard .rh-sside {
    flex: 1 1 140px; min-width: 0; display: flex; flex-direction: column; gap: 2px;
  }
  [data-skin="forest"] .rehearse.scored-m .rh-scorecard .rh-sside > * { font-size: 13px; line-height: 1.4; }
  [data-skin="forest"] .rehearse.scored-m .rh-scorecard .rh-smore { display: flex; flex-direction: column; gap: 6px; margin-top: 12px; }
  [data-skin="forest"] .rehearse.scored-m .rh-scorecard .rh-smore:empty { display: none; }
  [data-skin="forest"] .rehearse.scored-m .rh-scorecard .rh-newbest { padding-top: 10px; }
  [data-skin="forest"] .rehearse.scored-m .rh-scorecard .rh-fixblock { margin-top: 8px; padding: 10px 14px; }
  [data-skin="forest"] .rehearse.scored-m .rh-scorecard .rh-fixblock__t { line-height: 1.4; }
  /* UW6: where the row's buttons do not fit one line, the mic shares the
     first line with them (rhDockFit), so the dock is two lines, not three. */
  [data-skin="forest"] .rh-dock.rh-dock--tight .rh-actrow { display: contents; }
  [data-skin="forest"] #rehearse:not(.typing) .rh-controls .rh-alt { display: inline-grid; }
  [data-skin="forest"] .rh-alt {
    display: inline-grid; place-items: center; width: 48px; height: 48px; padding: 0; margin-left: auto; flex: none;
    border-radius: var(--fo-r-btn); background: var(--fo-card); border: 1px solid var(--fo-border); color: var(--fo-text); font-size: 0;
  }
  [data-skin="forest"] .rehearse.typing .rh-controls { flex-direction: row; flex-wrap: wrap; align-items: center; }
}
/* #21's dock (the scored card's row under the scroller, the mic first) is
   built wherever the page has no coach column, below 1000 px (rhPlace), so
   its rules hold there: from 761 to 999 px its mic was a bare 4x20 px
   button over the row (the cross-lane check, w2-complete-4). */
@media (max-width: 999px) {
  [data-skin="forest"] .rh-dock {
    display: flex; flex-wrap: wrap; align-items: center; gap: 10px; flex: none;
    padding: 12px 0 calc(12px + env(safe-area-inset-bottom, 0px)); background: var(--fo-ground); border-top: 1px solid var(--fo-divider);
  }
  [data-skin="forest"] .rh-dock .rh-actrow { flex: 1 1 auto; }
  [data-skin="forest"] .rh-dockmic {
    width: 48px; height: 48px; border-radius: 50%; border: 0; flex: none; display: inline-grid; place-items: center;
    background: var(--fo-accent); color: var(--fo-on-accent); cursor: pointer;
  }
  [data-skin="forest"] .rh-dockmic svg { width: 22px; height: 22px; }
}
@media (max-width: 760px) {
  [data-fo-page="landing"] .fo-sec { padding: 56px 16px; }
  [data-fo-page="landing"] .hero { padding: 40px 16px 56px; }
  [data-fo-page="landing"] .democard { padding: 20px; }
}
@media (max-width: 760px) {
  [data-skin="forest"] .topbar .brandname { display: inline !important; }
  [data-skin="forest"] .fo-route-list .fo-finish__note.fo-mono { font-size: 11px; }
  [data-skin="forest"] .fo-route-list { gap: 12px; }
  [data-skin="forest"] .fo-route-list::before { left: 26.5px; }
  [data-skin="forest"] .fo-stop-row { gap: 12px; }
  [data-skin="forest"] .fo-route-legend { padding-left: 68px; }   /* VH5: the cards' column at the phone's 12px gap */
  [data-skin="forest"] .fo-stop-row--finish { padding-left: 0; }
}

/* The sample route follows its column (no frame to scroll): the cards run
   from the ring to the column's edge, the finish card grows to its note.
   RN2's 56 px rings end the route 8 px lower: the finish card still ends
   by 452 on one line, and a phone (two lines) takes 460 above. */
.fo-roadmap-canvas { width: 100%; max-width: 560px; height: 452px; }
.fo-roadmap-canvas .fo-stop { width: auto; right: 0; }
.fo-roadmap-canvas .fo-finish { width: auto; right: 0; height: auto; min-height: 50px; padding: 10px 14px 10px 0; align-items: stretch; }
.fo-roadmap-canvas .fo-finish__flag { height: auto; align-self: stretch; }
.fo-roadmap-canvas .fo-finish__note { white-space: normal; font-size: 11px; line-height: 1.45; }

/* UX review L4 (the owner's pick of 2026-11-09, reversing FH6's one column):
   the old hero's named areas (and their media queries) give way to the card
   beside the copy. From 961 px two columns, as the card's own screen had
   them (.fo-two): the copy and the card's chip rows down the left, the card
   on the right; the last row takes the card's extra height, so the left
   column reads top-down with no gaps. Below 961 px one column: the copy
   first, then the card, then its chips. The card stays first in the markup
   (a shared question's page cuts the hero there), so this is grid
   placement; the hero's side padding is the other screens' (.fo-wrap's).
   LAND-1 of the overnight spec: the two lines and the card alone; L14's
   steps and the 40/60/90 line under them left for /how-it-works (.fo-how). */
[data-fo-page="landing"] body:not(.qpage) .hero > .wrap { padding-left: 0; padding-right: 0; }
[data-fo-page="landing"] body:not(.qpage) .hero-grid {
  grid-template-columns: minmax(0, 1fr); grid-template-areas: "copy" "card" "chips" "steps" "more"; grid-template-rows: none;
  max-width: 1200px; gap: 28px; align-items: start;
}
[data-fo-page="landing"] body:not(.qpage) .hero-grid > .hero-copy { grid-area: copy; }
[data-fo-page="landing"] body:not(.qpage) .hero-grid > #try { grid-area: card; }
[data-fo-page="landing"] body:not(.qpage) .hero-grid > .fo-try-chips { grid-area: chips; }
[data-fo-page="landing"] body:not(.qpage) .hero-grid > .fo-steps { grid-area: steps; }   /* L14 */
[data-fo-page="landing"] body:not(.qpage) .hero-grid > .fo-hero-more { grid-area: more; }
@media (min-width: 961px) {
  [data-fo-page="landing"] body:not(.qpage) .hero-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-areas: "copy card" "chips card" "steps card" "more card";
    grid-template-rows: auto auto auto 1fr; gap: 28px 40px;
  }
}
/* On a short desktop screen (a 768 px laptop) the hero tightens so the card
   and its Score it stay on the first screen (FH10's rule for the readiness
   card, which the roadmap screen holds since UX review L3). The hero's 24 px
   foot and its tighter gaps hold to 900 px high (the review's check of L4,
   2026-11-09): from 861 px the 64 px foot left the copy beside the card a
   few px taller than its box, and the deck's first wheel tick or arrow key
   scrolled the hero instead of moving on (canScroll in #deck-js). */
@media (min-width: 641px) and (max-height: 900px) {
  [data-fo-page="landing"] body:not(.qpage) .hero-grid { row-gap: 20px; }
  [data-fo-page="landing"] .hero-copy { gap: 16px; }
  .deck-js[data-fo-page="landing"] #deck > section.hero { padding-bottom: 24px; }
}
@media (min-width: 641px) and (max-height: 860px) {
  [data-fo-page="landing"] .hero-copy h1 { font-size: clamp(44px, min(5.2vw, 8.2vh), 72px); }
  [data-fo-page="landing"] .fo-hero-ready .fo-card { gap: 10px; padding: 16px 22px; }
  [data-fo-page="landing"] .fo-hero-ready .fo-big { font-size: 44px; }
  [data-fo-page="landing"] .fo-roadmap-head { gap: 12px; }   /* L3: the card under the key, inside a 1280 x 720 screen */
}
/* UX review L14: on a laptop 780 px high or less (1280 x 720, 1024 x 768) the copy and the chips
   beside the card tighten to stay on the first screen (the three steps and the readiness line
   stood there too until LAND-1 of the overnight spec took them to /how-it-works). */
@media (min-width: 961px) and (max-height: 780px) {
  [data-fo-page="landing"] body:not(.qpage) .hero-grid { row-gap: 12px; }
  [data-fo-page="landing"] body:not(.qpage) .hero .hero-copy { gap: 12px; }
  [data-fo-page="landing"] body:not(.qpage) .hero .fo-try-chips { gap: 14px; }
  [data-fo-page="landing"] body:not(.qpage) .hero .fo-steps { gap: 8px; }
  [data-fo-page="landing"] body:not(.qpage) .hero .fo-steps li + li { margin-top: 3px; }
}
/* Pick B's check: from 961 to 1180 px wide, where the six fields take two rows and the line's
   column is 432 to 535 px, a laptop 780 px high or less ran 12 to 17 px past the screen; there the
   copy, the rows and the chip rows sit closer still. So does every width under 720 px high (below
   the review's floor: a 1280 x 800 laptop's browser shows about 700), where the line ran 3 to
   11 px past a screen the hero had held. The narrow band keeps this to 800 px high (the lane's
   review): from 781 px the 20 px rows came back, and at 1143 x 781 the left column ran 0.67 px
   past the hero's box, a pixel from giving the deck's first wheel tick to the hero (canScroll);
   to 800 px it keeps 59 px to spare, and 19 px at 801. */
@media (min-width: 961px) and (max-width: 1180px) and (max-height: 800px), (min-width: 961px) and (max-height: 719px) {
  [data-fo-page="landing"] body:not(.qpage) .hero-grid { row-gap: 10px; }
  [data-fo-page="landing"] body:not(.qpage) .hero .hero-copy { gap: 10px; }
  [data-fo-page="landing"] body:not(.qpage) .hero .fo-try-chips { gap: 10px; }
}
/* On a phone the hero is the copy, then the card, then its chips: taller
   than a screen, it pages like any tall screen (t12-landing-widths). UX
   review L12 (the owner's pick of 2026-11-09): the card's two fine lines
   wait until they are needed, so Score it reaches a 390 x 844 phone's first
   screen. The five free are in the line above the card (L2); the speech
   line shows with the first Talk (the script hides it when that take ends;
   LS5 and UX panel #37 placed the two lines, and a wider screen keeps them). */
@media (max-width: 640px) {
  [data-fo-page="landing"] body:not(.qpage) .hero-grid { gap: 16px; }
  [data-fo-page="landing"] body:not(.qpage) .hero #try-limit { display: none; }
  [data-fo-page="landing"] body:not(.qpage) .hero .try-mic[aria-pressed="false"] + .try-mic-note { display: none; }
}

/* The card's chip rows: the two groups sit left, one under the other; the six
   fields stay on one line (they wrap only where the column cannot hold them). */
[data-fo-page="landing"] .fo-try-chips { align-items: flex-start; text-align: left; gap: 22px; }
[data-fo-page="landing"] .fo-try-chips :is(.try-fields, .try-when) { align-items: flex-start; text-align: left; width: 100%; }
[data-fo-page="landing"] .fo-try-chips :is(#try-fields-h, #try-when-h) { display: block; text-align: left; margin: 0; }
[data-fo-page="landing"] .fo-try-chips .try-chips { justify-content: flex-start; flex-wrap: nowrap; gap: 6px; }
[data-fo-page="landing"] .fo-try-chips .try-chip { padding: 6px 10px; font-size: 13px; white-space: nowrap; }
@media (max-width: 1180px) {
  [data-fo-page="landing"] .fo-try-chips .try-chips { flex-wrap: wrap; }
}
/* The review's check of L4 (2026-11-09): from 961 to 1180 px wide the two
   columns are 432 to 529 px, the sub and the six fields take more lines, and
   the left column ran past a 720 to 880 px high screen. There the headline
   follows its column, the sub is 16 px and the chips sit closer, so the four
   dates keep one line from 961 px. Beside the card the chip rows' labels
   take their own line height (the steps' label's), not the row's 24 px. */
@media (min-width: 961px) {
  [data-fo-page="landing"] .fo-try-chips :is(#try-fields-h, #try-when-h) { line-height: 1.5; }
}
@media (min-width: 961px) and (max-width: 1180px) {
  [data-fo-page="landing"] body:not(.qpage) .hero .hero-copy h1 { font-size: clamp(44px, min(4.6vw, 8.2vh), 72px); }
  [data-fo-page="landing"] body:not(.qpage) .hero .sub { font-size: 16px; }
  [data-fo-page="landing"] .fo-try-chips .try-chip { padding: 6px 7px; }
}
/* F4 of the UI/UX review (the owner's answers of 2026-11-10): under 720 px high (a 1366 x 768
   laptop's browser window is about 1366 x 657, a 1280 x 800 Mac's about 1280 x 689) the card
   scrolled inside itself (39 px at 1366 x 657) and the hero ran past its screen (31 px there).
   On a window that short, from 961 px wide, the card takes L12's phone rule: its limit line
   waits (the line above the card says the five free) and its speech line shows with the first
   Talk. The sub is 16 px (two lines from 1280 px wide), and the rows, the copy, the chip rows
   and the steps sit closer (after the 780 px and narrow blocks, so it wins where they meet);
   under 1280 px wide, where the sub keeps three lines, the headline follows the window's
   height too. The card and Score it are whole, unscrolled, from 640 to 719 px high, and so is
   the hero (where the six fields take two rows, with the band block after the next one). A
   landscape tablet that short (about 1024 x 700) takes it too, as a phone does. 720 px and up
   as before. */
@media (min-width: 961px) and (max-height: 719px) {
  [data-fo-page="landing"] body:not(.qpage) .hero #try-limit { display: none; }
  [data-fo-page="landing"] body:not(.qpage) .hero .try-mic[aria-pressed="false"] + .try-mic-note { display: none; }
  [data-fo-page="landing"] body:not(.qpage) .hero .sub { font-size: 16px; }
  [data-fo-page="landing"] body:not(.qpage) .hero-grid { row-gap: 8px; }
  [data-fo-page="landing"] body:not(.qpage) .hero .hero-copy { gap: 8px; }
  [data-fo-page="landing"] body:not(.qpage) .hero .fo-try-chips { gap: 8px; }
  [data-fo-page="landing"] body:not(.qpage) .hero .fo-try-chips :is(.try-fields, .try-when) { gap: 6px; }
  [data-fo-page="landing"] body:not(.qpage) .hero .fo-steps { gap: 6px; }
  [data-fo-page="landing"] body:not(.qpage) .hero .fo-steps li + li { margin-top: 2px; }
}
@media (min-width: 961px) and (max-width: 1279px) and (max-height: 719px) {
  [data-fo-page="landing"] body:not(.qpage) .hero .hero-copy h1 { font-size: clamp(44px, min(4.6vw, 7vh), 72px); }
}
/* The review's check of F4: from 961 to 1180 px wide, where the six fields take two rows, a
   window under 680 px high still had the left column up to 31 px past the hero's box (17 px
   at 1024 x 657, an old 1024 x 768 laptop's window), so the first wheel tick scrolled the hero.
   There the rows and the copy sit 6 px apart (the eyebrow that folded there too is the
   headline since LAND-1 of the overnight spec). */
@media (min-width: 961px) and (max-width: 1180px) and (max-height: 679px) {
  [data-fo-page="landing"] body:not(.qpage) .hero .hero-copy .fo-eyebrow { display: none; }
  [data-fo-page="landing"] body:not(.qpage) .hero-grid { row-gap: 6px; }
  [data-fo-page="landing"] body:not(.qpage) .hero .hero-copy { gap: 6px; }
}

/* The route's finish line in two rows: the title with its pill (or "Start
   the mock"), then the note across the card; the card grows to fit. */
.fo-route-list .fo-finish {
  flex: 1; min-width: 0; height: auto; min-height: 80px; padding: 14px 16px 14px 0;
  display: grid; grid-template-columns: 12px 24px minmax(0, 1fr) auto;
  grid-template-areas: "flag icon title pill" "flag icon note note";
  column-gap: 16px; row-gap: 4px; align-items: center;
}
.fo-route-list .fo-finish__flag { grid-area: flag; height: auto; align-self: stretch; margin: -14px 0; }
.fo-route-list .fo-finish__icon { grid-area: icon; }
.fo-route-list .fo-finish__text { display: contents; }
.fo-route-list .fo-finish__title { grid-area: title; }
.fo-route-list .fo-finish__note { grid-area: note; }
.fo-route-list .fo-finish > :is(.fo-pill, .fo-finish__go) { grid-area: pill; justify-self: end; }

/* The round's page under the skin: the strip back to the route; the page's
   own path map steps aside (the route is the path now), and so does the
   phone's "See the path ›" that opened it (#16). */
[data-skin="forest"] #iv-map, [data-skin="forest"] #iv-map-toggle { display: none !important; }
.fo-iv-strip {
  display: flex; flex-wrap: wrap; align-items: center; gap: 12px;
  margin: 0 0 18px; padding: 12px 16px; box-sizing: border-box;
  background: var(--fo-card); border: 1px solid var(--fo-border); border-radius: var(--fo-r-card);
}
.fo-iv-strip[hidden] { display: none; }
.fo-iv-strip__back { font-family: var(--fo-sans); margin-left: -10px; }   /* NB5: the Back's glyph on the strip's edge */
.fo-iv-strip__at { flex: 1 1 240px; min-width: 0; font-family: var(--fo-mono); font-size: 12px; color: var(--fo-text-2); }
/* UX review d3: a part of the line stays whole ("5 essentials left"), so it
   breaks only at a " · ", as .fo-next__meta does; one wider than the strip wraps in itself. */
.fo-iv-strip__at > span { display: inline-block; max-width: 100%; }
/* UX review N2 (D18): the take parked last, offered back under the strip,
   in its card family; Resume is a secondary button (the toolbar's Practice
   next question stays the page's one primary, Q2) */
.fo-iv-draft {
  display: flex; flex-wrap: wrap; align-items: center; gap: 12px;
  margin: 0 0 18px; padding: 10px 16px; box-sizing: border-box;
  background: var(--fo-card); border: 1px solid var(--fo-border); border-radius: var(--fo-r-card);
}
.fo-iv-draft[hidden] { display: none; }
.fo-iv-draft__at { flex: 1 1 240px; min-width: 0; font-size: 14px; color: var(--fo-text-2); }
.fo-iv-draft__at b { color: var(--fo-text); font-weight: 600; }
@media (pointer: coarse) { .fo-iv-draft__go { height: 44px; } }   /* HP2: 44 px under a finger */

/* ---- The Forest landing as the deck (docs/specs/2026-10-fullscreen-landing.md) ----
   landing.html's .deck-js rules make each section one screen high and snap
   them; here the sections' own padding becomes the room under the chrome
   (their rules at the top go: a screen's edge is the snap), every second
   screen takes a raised ground, the card beside its copy scrolls inside
   itself (on the first screen since UX review L4), and on a phone the pairs
   of cards are sideways slides. */
.deck-js[data-fo-page="landing"] #deck > section {
  padding: calc(var(--chrome-h) + 16px) clamp(16px, 3vw, 40px) var(--deck-pb); border-top: 0;
}
.deck-js[data-fo-page="landing"] #deck > section.fo-only { display: flex; flex-direction: column; }   /* a column: the footer joins the last screen under its content */
.deck-js[data-fo-page="landing"] #deck > section[hidden] { display: none; }
.deck-js[data-fo-page="landing"] #deck > section > :is(.fo-wrap, .wrap) { width: 100%; margin-top: auto; margin-bottom: auto; }
.deck-js[data-fo-page="landing"] #deck > section.screen--alt { background: var(--fo-ground-alt); }
/* LD4: on the alternate screens a secondary button is a white slab with the
   route line's edge (LD7: the landing's own ghost edge, the ink at .30). */
.deck-js[data-fo-page="landing"][data-theme="light"] #deck > section.screen--alt .fo-btn--secondary { background: var(--fo-card); border-color: var(--fo-route); }
.deck-js[data-fo-page="landing"] #deck .fo-center { margin-bottom: 24px; }
.deck-js[data-fo-page="landing"] #deck .fo-center-text { margin-top: 16px; }
/* UX review L4: the card's cap (§6.1) is its screen's box, under the chrome
   and above the hero's foot (24 px on a window up to 900 px high); a window
   500 px high or less is the plain long page, where the card grows. */
@media (min-width: 961px) and (min-height: 501px) {
  .deck-js[data-fo-page="landing"] #deck .hero .democard {
    max-height: calc(100dvh - var(--chrome-h) - 16px - var(--deck-pb)); overflow-y: auto; scrollbar-width: thin;
  }
}
@media (min-width: 961px) and (min-height: 501px) and (max-height: 900px) {
  .deck-js[data-fo-page="landing"] #deck .hero .democard { max-height: calc(100dvh - var(--chrome-h) - 16px - 24px); }
}
/* UW10 of docs/specs/2026-11-ux-walk-fixes.md: once a score is on the card (its stage shown: a
   score being written, a scored take, a sample's) the cap and the card's own scroll go, and the
   first screen scrolls as one piece (landing.html keeps its top padding and hides the arrows).
   Before a score, and from Next on, the card is capped as above. */
@media (min-width: 961px) and (min-height: 501px) {
  .deck-js[data-fo-page="landing"] #deck .hero .democard:has(#try-stage:not([hidden])) { max-height: none; overflow-y: visible; }
}
/* On a touch screen the deck flows (landing.html): the card grows with its screen. */
@media (pointer: coarse) {
  .deck-js[data-fo-page="landing"] #deck .hero .democard { max-height: none; overflow: visible; }
}
[data-fo-page="landing"] .fo-pair.slides { align-items: stretch; }
@media (max-width: 760px) {
  [data-fo-page="landing"] .fo-pair.slides { display: flex; gap: 0; }
  [data-fo-page="landing"] .fo-pair.slides > .slide { flex: 0 0 100%; }
  /* UX review L9: where the pair is two slides, the first card's head says both scores */
  [data-fo-page="landing"] .fo-take-both { display: block; font-size: 14px; line-height: 1.5; color: var(--fo-text-2); }
  [data-fo-page="landing"] .fo-take-both__n { font-family: var(--fo-serif); font-size: 24px; font-weight: 500; letter-spacing: -0.02em; }
}

/* ---- #66: paper (docs/specs/audit-fixes-2026-10-23.md) ------------------- */
/* ---- Question navigation, Option A (docs/specs/2026-10-31-question-navigation-build.md,
   steps 1 and 2): one list per room, one counter, Next in a fixed place ------ */
@media (min-width: 761px) {
  /* the phone's title and sub-line stay on phones */
  [data-skin="forest"] .rh-top .fo-crumb__title, [data-skin="forest"] .rh-top .fo-crumb__sub { display: none; }
  [data-skin="forest"] .rh-ctx .rh-ctx-n { color: var(--fo-text); font-weight: 600; }
  /* Next never moves: one row of fixed columns, the Back label and the
     theme pill capped with an ellipsis, so the counter and Next keep their
     place on every question, opened from the route or from the page */
  [data-skin="forest"] #rehearse .rh-top { display: grid; grid-template-columns: auto minmax(96px, 1fr) auto auto auto; align-items: center; column-gap: 10px; }
  [data-skin="forest"] #rehearse .rh-top > #rh-leave { grid-column: 1; max-width: 240px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  [data-skin="forest"] #rehearse .rh-top > #rh-fo-crumb { grid-column: 2; flex-wrap: nowrap; overflow: hidden; min-width: 0; }
  [data-skin="forest"] #rehearse .rh-top > #rh-fo-crumb[hidden] { display: none; }
  /* A2: the crumb measures itself, so its job, its pill and its area can
     give way in that order (the @container rules by .fo-crumb__job); a room
     off the route: the crumb names the set, so the counter does not again */
  [data-skin="forest"] #rh-fo-crumb { container-type: inline-size; }
  [data-skin="forest"] #rehearse .rh-top:has(> #rh-fo-crumb:not([hidden])) .rh-ctx-round { display: none; }
  [data-skin="forest"] #rehearse .rh-top .fo-pill { display: block; flex: 0 1 auto; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  /* the counter keeps its whole width ("Question 12 of 35 · take 1"): the
     crumb (its job, then its pill, then its area) and Back take the ellipsis */
  [data-skin="forest"] #rehearse .rh-top > .rh-ctxwrap { grid-column: 3; margin-left: 0; white-space: nowrap; min-width: max-content; }
  [data-skin="forest"] #rehearse .rh-top > #rh-tts-top { grid-column: 4; }
  [data-skin="forest"] #rehearse .rh-top > #rh-mode { grid-column: 5; }
}
/* UX review A2 and NB1: from 1280 px, in one row, the side list's head names
   the area, so the crumb gives way before Back: its 96 px floor goes, and
   Back keeps its words ("‹ Back to Home" whole; a job's name to its 240 px
   cap) before the crumb takes what is left (at 1280 to 1365 px, after
   "Question 1 of 10 · take 1", often nothing) */
@media (min-width: 1280px) {
  [data-skin="forest"] #rehearse .rh-top { grid-template-columns: auto minmax(0, 1fr) auto auto auto; }
}
/* 1000 to 1279 px: the side list and the coach column leave the header about
   300 px, so the counter and Next take a row of their own, at its end. F5 of
   the UI/UX review (the owner's answer of 2026-11-10): the crumb has no floor
   here either, as from 1280 px (A2), so it gives way before Back: at about
   1000 to 1060 px its 96 px left Back a bare "‹…" */
@media (min-width: 1000px) and (max-width: 1279px) {
  [data-skin="forest"] #rehearse .rh-top { grid-template-columns: auto minmax(0, 1fr) auto auto; row-gap: 6px; }
  [data-skin="forest"] #rehearse .rh-top > #rh-tts-top { grid-column: 3; grid-row: 1; }
  [data-skin="forest"] #rehearse .rh-top > #rh-mode { grid-column: 4; grid-row: 1; }
  [data-skin="forest"] #rehearse .rh-top > .rh-ctxwrap { grid-column: 1 / -1; grid-row: 2; justify-self: end; }
  /* RESP-1 of the overnight spec (the ov-room lane's second pass): the
     phone's frame here, the room's column 16 px a side (index.html gives the
     header, the strip and the session 16 px) and the answer card 18 px, so
     the typed box is about 310 px at 1000 px and 334 at 1024 (226 and 250
     before) and Score this answer keeps one line beside its hint. */
  [data-skin="forest"] #rehearse .rh-main { padding-inline: 16px; }
  [data-skin="forest"] #rehearse .rh-card { padding: 18px; }
}
/* X3 of the UI/UX review: while the 10/10 tab reads wide (index.html), under
   1464 px the main column has less than the 640 px a one-row header needs
   after a take, so the header takes the same two rows and Back keeps its word;
   F5: the crumb with no floor, as in the band above, so Back keeps its words. */
@media (min-width: 1280px) and (max-width: 1463px) {
  [data-skin="forest"] #rehearse:has(#rh-pane-ideal:not([hidden]) > #rh-idealslot:not([hidden])) .rh-top { grid-template-columns: auto minmax(0, 1fr) auto auto; row-gap: 6px; }
  [data-skin="forest"] #rehearse:has(#rh-pane-ideal:not([hidden]) > #rh-idealslot:not([hidden])) .rh-top > #rh-tts-top { grid-column: 3; grid-row: 1; }
  [data-skin="forest"] #rehearse:has(#rh-pane-ideal:not([hidden]) > #rh-idealslot:not([hidden])) .rh-top > #rh-mode { grid-column: 4; grid-row: 1; }
  [data-skin="forest"] #rehearse:has(#rh-pane-ideal:not([hidden]) > #rh-idealslot:not([hidden])) .rh-top > .rh-ctxwrap { grid-column: 1 / -1; grid-row: 2; justify-self: end; }
}
@media (max-width: 760px) {
  /* a routed room's count is the header's second line (rhNavSub) */
  [data-skin="forest"] .rehearse.fo-routed .rh-ctx { display: none; }
  /* UX review A2: so is a room off the route's, under its set's name
     (routeRoomPaint): "Question 10 of 12" never squeezes beside Next (the
     classic strip's 48% cap cut its total), and a long Back takes the
     crumb's room, not the row's */
  [data-skin="forest"] #rehearse .rh-top:has(> #rh-fo-crumb:not([hidden]) > .fo-crumb__sub) .rh-ctx { display: none; }
  /* NB2: the crumb gives way to the worded Back; max-width keeps its second
     line in the crumb's box (it ellipsizes there, never under Next) */
  [data-skin="forest"] #rehearse .fo-crumb__sub { max-width: 100%; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
}
/* the end of a stop: "Job description: 3 of 35 kept at 8" */
[data-skin="forest"] .rh-stopend-h { font-family: var(--fo-sans); font-size: 18px; font-weight: 600; color: var(--fo-text); margin: 6px 0; }
/* its two ways on: each keeps its label on one line, the second wraps under the first */
[data-skin="forest"] .rh-stopend .rh-secrow { flex-wrap: wrap; }
[data-skin="forest"] .rh-stopend .rh-secrow > button { white-space: nowrap; flex: none; padding: 10px 16px; }
[data-skin="forest"] .rehearse .fo-essbar { display: none; }

/* UX review A2: where a theme's pill shows (761 to 999 px, with no side list
   to name the theme) the crumb has no room for all three, so the job gives
   way whole, never a sliver: the bar's switcher names it */
@media (min-width: 761px) and (max-width: 999px) {
  [data-skin="forest"] #rehearse .rh-top .fo-crumb > .fo-crumb__job:has(~ .fo-pill) { display: none; }
}
/* A: the side list is back at 1000 px and wider (the base widths: 264 px,
   216 px below 1280), grouped by theme in the stop's order */
@media (min-width: 1000px) {
  [data-skin="forest"] #rehearse .rh-rail { background: var(--fo-ground); border-right: 1px solid var(--fo-divider); }
  /* A2: the crumb keeps the job and the area; the list's group names the theme */
  [data-skin="forest"] #rehearse .rh-top .fo-crumb > .fo-pill { display: none; }
  [data-skin="forest"] #rehearse .rh-ctx .rh-ctx-round { display: none; }
}
[data-skin="forest"] #rehearse .rh-rail-h { font-family: var(--fo-sans); font-size: 16px; font-weight: 600; color: var(--fo-text); }
[data-skin="forest"] #rehearse .rh-rail-sub { font-family: var(--fo-mono); font-size: 11px; font-weight: 400; letter-spacing: 0; text-transform: none; color: var(--fo-muted); margin-top: 6px; }
[data-skin="forest"] #rehearse .rh-surprise { color: var(--fo-accent); font-size: 13px; margin-top: 10px; align-self: flex-start; }
[data-skin="forest"] #rehearse .rh-lgbox, [data-skin="forest"] #rehearse .rh-lmore { display: flex; flex-direction: column; gap: 2px; }
[data-skin="forest"] #rehearse .rh-lgroup { display: flex; justify-content: space-between; gap: 8px; margin: 16px 6px 6px; font-family: var(--fo-mono); font-size: 10.5px; letter-spacing: .06em; text-transform: uppercase; color: var(--fo-muted); }
[data-skin="forest"] #rehearse .rh-lgbox:first-child > .rh-lgroup { margin-top: 4px; }
[data-skin="forest"] #rehearse .rh-lgroup .k { color: var(--fo-text-2); min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
[data-skin="forest"] #rehearse .rh-lgroup .c { flex: none; }
[data-skin="forest"] #rehearse .rh-lgroup.must .k, [data-skin="forest"] #rehearse .rh-lgroup.must .c { color: var(--fo-accent); }
/* FT3 and FT5 of docs/specs/2026-11-first-ten.md: the room's build line, the
   start pill and the reason line, and a pending source's place in the rail. */
[data-skin="forest"] #rehearse .rh-build { background: transparent; border-bottom: 0; color: var(--fo-text-2); font-family: var(--fo-mono); font-size: 11.5px; letter-spacing: .02em; }
[data-skin="forest"] #rehearse .rh-build.landed { color: var(--fo-accent); }
[data-skin="forest"] #rehearse .rh-pill.start { border-color: var(--fo-accent); color: var(--fo-accent); }
[data-skin="forest"] #rehearse .rh-startwhy { color: var(--fo-text-2); }
[data-skin="forest"] #rehearse .rh-lwait { font-family: var(--fo-mono); font-size: 10.5px; letter-spacing: .04em; color: var(--fo-muted); }
[data-skin="forest"] #rehearse .rh-lwait.live::before { background: var(--fo-accent); }
/* FT2: the start list on the position page, in the Forest's own tones.
   LD7: the names first written here (--fo-surface, --fo-line, and on the
   room's build line --fo-surface-2) are no tokens, so the browser drew the box
   see-through with a border in the text's colour, the build line bare, and the
   grey tags' edge in their own colour. Dark keeps that look, written out; light
   takes the box as the classic look draws it (index.html's .iv-start: the
   page's grey, the brass line). */
[data-skin="forest"] .iv-start { background: transparent; border-color: currentColor; }
:root[data-skin="forest"][data-theme="light"] .iv-start { background: var(--bg-soft); border-color: var(--brass-line); }
/* F7 of the UI/UX review, review fix: a tile's ring for a question not
   answered yet is an empty mark. In dark its source's colour at 45% read
   2.2 to 2.8:1 on the tile and on its own fill; at 70% it holds 3.1:1 or
   more on every source's tile (core, resume, posting, weak), its tint kept.
   Light keeps ST1's 45%. */
[data-skin="forest"] .st-tile-mark.is-ring i { border-color: color-mix(in srgb, var(--c) 70%, transparent); }
:root[data-skin="forest"][data-theme="light"] .st-tile-mark.is-ring i { border-color: color-mix(in srgb, var(--c) 45%, transparent); }
[data-skin="forest"] .st-h { font-family: var(--fo-serif, inherit); color: var(--fo-text); }
/* PRACTICE-1 of the overnight spec: the head's line after "Start here" ("· Top 5
   priority questions for Northwind"), one heading, set lighter than the name. */
[data-skin="forest"] .st-h .st-h-top { font-weight: 500; color: var(--fo-text-2); }
[data-skin="forest"] .st-tag { font-family: var(--fo-mono); color: var(--fo-accent); border-color: var(--fo-accent); }
[data-skin="forest"] .st-item[data-source="core"] .st-tag, [data-skin="forest"] .st-item[data-source="why"] .st-tag { color: var(--fo-muted); border-color: currentColor; }
[data-skin="forest"] .st-note, [data-skin="forest"] .st-why, [data-skin="forest"] .st-wait { color: var(--fo-text-2); }
[data-skin="forest"] .st-count, [data-skin="forest"] .st-elapsed { font-family: var(--fo-mono); font-size: 11px; letter-spacing: .04em; color: var(--fo-muted); }
[data-skin="forest"] .st-dot, [data-skin="forest"] .st-wait.live .st-dot { background: var(--fo-accent); }
/* LD4 of docs/specs/2026-11-light-default.md: the build pop-up is drawn in
   inverse (ink box, cream text), so the muted timer was 1.95:1 on it in light;
   it takes the pop-up's own text, about 10:1. */
:root[data-skin="forest"][data-theme="light"] .iv-buildpop .st-elapsed { color: inherit; }
/* LD4: a pending source's muted count and Queued line, dimmed to .85, were
   4.27:1 on the light ground; undimmed they are 6.00:1, and Queued still says
   it is waiting. */
:root[data-skin="forest"][data-theme="light"] #rehearse .rh-lpending { opacity: 1; }
[data-skin="forest"] #rehearse .rh-lmore-sum { margin: 10px 6px 4px; padding: 4px 0; font-family: var(--fo-mono); font-size: 10.5px; letter-spacing: .06em; text-transform: uppercase; color: var(--fo-text-2); cursor: pointer; border-radius: 6px; }
[data-skin="forest"] #rehearse .rh-lrow { color: var(--fo-text-2); border-radius: 10px; padding: 8px 10px; }
[data-skin="forest"] #rehearse .rh-lrow:hover { background: var(--fo-card); color: var(--fo-text); }
[data-skin="forest"] #rehearse .rh-lrow.cur { background: var(--fo-raised); color: var(--fo-text); box-shadow: inset 3px 0 0 var(--fo-accent); }
/* LD7: the row you are on takes the teal tint, as it did before Forest */
:root[data-skin="forest"][data-theme="light"] #rehearse .rh-lrow.cur { background: var(--fo-node); }
[data-skin="forest"] #rehearse .rh-lrow .n { font-family: var(--fo-mono); font-size: 12px; letter-spacing: 0; color: var(--fo-muted); width: 20px; }
[data-skin="forest"] #rehearse .rh-lrow .s { font-family: var(--fo-mono); font-size: 11px; font-weight: 400; letter-spacing: 0; text-transform: none; color: var(--fo-muted); }
/* on the current row's raised fill the muted grey is 4.18:1; text-2 is 6.88:1 */
[data-skin="forest"] #rehearse .rh-lrow.cur .n, [data-skin="forest"] #rehearse .rh-lrow.cur .s { color: var(--fo-text-2); }
[data-skin="forest"] #rehearse .rh-lrow.done .s, [data-skin="forest"] #rehearse .rh-lrow .s.band-high { color: var(--fo-accent); }
[data-skin="forest"] #rehearse .rh-lrow.needs .s, [data-skin="forest"] #rehearse .rh-lrow .s.master { color: var(--fo-amber); }
[data-skin="forest"] #rehearse .rh-lrow .s.kept { color: var(--fo-accent); }
[data-skin="forest"] #rehearse .rh-lrow .s.tried { color: var(--fo-amber); }

/* A: the numbered strip under the header, below 1000 px: one swipeable row,
   a gap between themes, the current box filled, kept green, tried amber
   (a take keeps its own small marks: #rehearse.taking) */
@media (max-width: 999px) {
  [data-skin="forest"] #rehearse:not(.taking) .rh-progress { display: block; margin: 0; padding: 8px 0; overflow-x: auto; scrollbar-width: none; border-bottom: 1px solid var(--fo-divider); }
  [data-skin="forest"] #rehearse:not(.taking) .rh-progress .qstrip { display: flex; flex-wrap: nowrap; margin: 0; gap: 6px; padding: 0; max-width: none; }
  [data-skin="forest"] #rehearse:not(.taking) .rh-progress .qseg { flex: none; min-width: 36px; height: 36px; border-radius: 10px; background: var(--fo-card); border: 1px solid var(--fo-border); color: var(--fo-text-2); font-family: var(--fo-mono); font-size: 13px; letter-spacing: 0; }
  [data-skin="forest"] #rehearse:not(.taking) .rh-progress .qseg.gstart { margin-left: 10px; }
  [data-skin="forest"] #rehearse:not(.taking) .rh-progress .qseg.done { border-color: var(--fo-accent); color: var(--fo-accent); }
  [data-skin="forest"] #rehearse:not(.taking) .rh-progress .qseg.needs { border-color: var(--fo-amber); color: var(--fo-amber); }
  [data-skin="forest"] #rehearse:not(.taking) .rh-progress .qseg.cur { background: var(--fo-text); border-color: var(--fo-text); color: var(--fo-ground); font-weight: 700; }
  /* LD7: in light the question you are on is the teal it was before Forest */
  :root[data-skin="forest"][data-theme="light"] #rehearse:not(.taking) .rh-progress .qseg.cur { background: var(--sage); border-color: var(--sage); color: var(--bg); }
}
@media (max-width: 760px) {
  [data-skin="forest"] #rehearse:not(.taking) .rh-progress { margin: 0 -16px; padding: 10px 16px; }
}

/* ---- WN3 of docs/specs/2026-11-whats-new.md: the What's new note --------- */
/* Forest's card on the scrim, in both themes from the tokens alone: the serif
   title (the skin's --serif is the sans), each release a mono date, a serif
   heading and its items, the lead in bold and the marker in the accent. On a
   phone the card is a full-width sheet from the bottom (index.html's media
   rule), over the tab bar. */
[data-skin="forest"] .pm-modal.wn-modal {
  background: var(--fo-card); border: 1px solid var(--fo-border); border-radius: var(--fo-r-card);
  color: var(--fo-text); padding: 22px 24px 20px;
}
[data-skin="forest"] .wn-modal .pm-title {
  font-family: var(--fo-serif); font-weight: 500; font-size: 26px; line-height: 1.15; letter-spacing: -0.01em; color: var(--fo-text);
}
[data-skin="forest"] .wn-rel + .wn-rel { border-top-color: var(--fo-divider); }
[data-skin="forest"] .wn-go { background: var(--fo-card); bottom: -20px; }
[data-skin="forest"] .wn-when {
  font-family: var(--fo-mono); font-size: 11px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--fo-muted);
}
[data-skin="forest"] .wn-rel-title {
  font-family: var(--fo-serif); font-weight: 500; font-size: 18px; line-height: 1.3; color: var(--fo-text);
}
[data-skin="forest"] .wn-items { color: var(--fo-text-2); gap: 10px; }
[data-skin="forest"] .wn-items b { color: var(--fo-text); font-weight: 600; }
[data-skin="forest"] .wn-items li::marker { color: var(--fo-accent); }
@media (max-width: 640px) {
  [data-skin="forest"] .pm-modal.wn-modal {
    border-radius: var(--fo-r-card) var(--fo-r-card) 0 0; border-bottom: 0;
    padding: 20px 18px calc(18px + env(safe-area-inset-bottom, 0px));
  }
  [data-skin="forest"] .wn-modal .pm-title { font-size: 24px; }
}

/* ---- Mobile landing UX polish (2026-11-12): native scroll rhythm, header
   hierarchy, inline field strip, single primary CTA, compact rubric, cohesive
   How Bashmo works card, full-text sample route, and stacked JD cards ---- */
[data-fo-page="landing"] body:not(.deck-page) nav[aria-label="Main"] { position: relative; z-index: 30; }
[data-fo-page="landing"] .navlinks .fo-navpanel:not([hidden]) { box-shadow: 0 18px 36px var(--shadow); }
[data-fo-page="landing"] body:has(nav[aria-label="Main"] #nav-menu-btn[aria-expanded="true"])::after {
  content: ""; position: fixed; inset: 0; z-index: 25; background: var(--shadow); pointer-events: none;
}
[data-fo-page="landing"] #fo-mock .fo-chiprow .fo-chip {
  background: var(--fo-fill); border-color: transparent; color: var(--fo-text-2);
  font-family: var(--fo-mono); font-size: 12px; padding: 6px 11px;
}
@media (pointer: coarse) {
  [data-fo-page="landing"] .navlinks .fo-navmenu { min-height: 44px; height: 44px; }
  [data-fo-page="landing"] .fo-jd-tab { min-height: 44px; display: inline-flex; align-items: center; }
  [data-fo-page="landing"] .fo-hero-ready .fo-meter > span > i { animation: none; }
}
@media (max-width: 960px) {
  [data-fo-page="landing"] .fo-try-chips { display: none; }
  [data-fo-page="landing"] body:not(.qpage) .hero-grid { grid-template-areas: "copy" "card" "steps" "more"; }
  [data-fo-page="landing"] body:not(.qpage) .hero-grid > .fo-steps {
    background: var(--fo-card); border: 1px solid var(--fo-border); border-bottom: 0;
    border-radius: var(--fo-r-card) var(--fo-r-card) 0 0; padding: 18px 18px 14px;
  }
  [data-fo-page="landing"] body:not(.qpage) .hero-grid > .fo-hero-more {
    margin-top: -28px; background: var(--fo-card); border: 1px solid var(--fo-border);
    border-top: 1px solid var(--fo-divider); border-radius: 0 0 var(--fo-r-card) var(--fo-r-card);
    padding: 12px 18px 16px;
  }
  [data-fo-page="landing"] body:not(.qpage) #try:not([data-q]):not(:has(.try-form[hidden])) > .try-fields:not([hidden]) {
    display: flex; flex-wrap: nowrap; align-items: center; gap: 8px; margin: 0;
    overflow-x: auto; scrollbar-width: none; padding: 2px 0;
  }
  [data-fo-page="landing"] body:not(.qpage) #try > .try-fields::-webkit-scrollbar { display: none; }
  [data-fo-page="landing"] body:not(.qpage) #try #try-fields-h {
    flex: none; font-family: var(--fo-mono); font-size: 11px; letter-spacing: 0.06em;
    color: var(--fo-muted); text-transform: uppercase;
  }
  [data-fo-page="landing"] body:not(.qpage) #try .try-chips { flex-wrap: nowrap; gap: 6px; }
  [data-fo-page="landing"] body:not(.qpage) #try .try-chip { flex: none; white-space: nowrap; }
  /* LAND-2 part 3 of the overnight spec (2026-11-18): after the first score
     the date row stands under the doors (forest.js moves it there from the
     hidden slot, where it waits before, so Score it keeps its first-screen
     place), its label over its four chips, which wrap. */
  [data-fo-page="landing"] body:not(.qpage) #try.try-scored > .try-when:not([hidden]) {
    display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 0;
  }
  [data-fo-page="landing"] body:not(.qpage) #try.try-scored > .try-when #try-when-h {
    flex: 1 1 100%; font-family: var(--fo-mono); font-size: 11px; letter-spacing: 0.06em; color: var(--fo-muted); text-transform: uppercase;
  }
  [data-fo-page="landing"] body:not(.qpage) #try.try-scored > .try-when .try-chips { flex-wrap: wrap; }
}
@media (max-width: 760px) {
  [data-fo-page="landing"] nav[aria-label="Main"] { background: var(--fo-ground); }
  [data-fo-page="landing"] .navlinks :is(.signin, .fo-navmenu) { height: 40px; min-height: 40px; }
  .deck-js[data-fo-page="landing"] #deck > section.hero {
    padding: calc(var(--chrome-h) + 10px) 16px 28px;
  }
  /* Every screen but the hero, LAND-2's highlights and band included (round 2 of LAND-1's
     check): an arrival at a screen's hash (/#fo-start, which the deck writes while the highlights
     are in view, so a shared or reloaded link) puts the screen's own room under the see-through
     banner and the bar, never the card's Score it from the screen above. */
  .deck-js[data-fo-page="landing"] #deck > section:not(.hero) {
    padding: calc(var(--chrome-h) + 16px) 16px 40px;
  }
  [data-fo-page="landing"] body:not(.qpage) .hero-copy { gap: 8px; }
  [data-fo-page="landing"] body:not(.qpage) .hero-copy h1 { font-size: clamp(30px, 8.4vw, 35px); line-height: 1.06; }
  [data-fo-page="landing"] body:not(.qpage) .hero-copy .sub { font-size: 14.5px; line-height: 1.45; }
  [data-fo-page="landing"] body:not(.qpage) .hero .democard { padding: 14px 16px; gap: 8px; }
  [data-fo-page="landing"] body:not(.qpage) .hero .democard :is(.try-form, .try-input) { gap: 8px; }
  [data-fo-page="landing"] body:not(.qpage) .hero .democard .q { font-size: 17px; line-height: 1.32; }
  [data-fo-page="landing"] body:not(.qpage) .hero .democard .try-ask { font-size: 13px; line-height: 1.4; }
  [data-fo-page="landing"] body:not(.qpage) .hero .democard textarea { min-height: 76px; padding: 10px 12px; }
  [data-fo-page="landing"] body:not(.qpage) .hero #try-who { display: none; }
  [data-fo-page="landing"] body:not(.qpage) #try .try-mic {
    background: var(--fo-accent-wash); color: var(--fo-accent);
    border: 1.5px solid var(--fo-accent-line); box-shadow: none;
  }
  [data-fo-page="landing"] body:not(.qpage) #try .try-mic .try-mic-ico { color: var(--fo-accent); }
  [data-fo-page="landing"] body:not(.qpage) #try .try-mic[aria-pressed="true"] {
    border-color: var(--fo-accent); color: var(--fo-accent);
  }
  [data-fo-page="landing"] body:not(.qpage) #try .try-mic[aria-pressed="true"] .try-mic-ico { color: var(--fo-amber); }
  [data-fo-page="landing"] body:not(.qpage) #try .try-mic[aria-pressed="true"] #try-mic-label::before { background: var(--fo-amber); }
  [data-fo-page="landing"] body:not(.qpage) .democard .try-rubric {
    display: flex; flex-wrap: wrap; align-items: center; gap: 2px 0;
  }
  [data-fo-page="landing"] body:not(.qpage) .democard .try-rubric::before {
    content: "Scored on:"; font-family: var(--fo-mono); font-size: 11px; color: var(--fo-muted); margin-right: 6px;
  }
  [data-fo-page="landing"] body:not(.qpage) .democard .try-rubric li {
    display: inline-flex; flex-direction: row; align-items: center; gap: 0; padding: 0; border: 0; background: none;
  }
  [data-fo-page="landing"] body:not(.qpage) .democard .try-rubric li + li::before {
    content: "·"; color: var(--fo-muted); margin: 0 5px; font-family: var(--fo-mono); font-size: 11px;
  }
  [data-fo-page="landing"] body:not(.qpage) .democard .try-rubric .rb-name {
    width: auto; min-height: 24px; padding: 2px 2px; border: 0; background: none;
    font-family: var(--fo-mono); font-size: 11.5px; color: var(--fo-text-2);
    text-decoration: underline dotted var(--fo-route); text-underline-offset: 3px;
  }
  [data-fo-page="landing"] body:not(.qpage) .democard .try-rubric .rb-tip {
    background: var(--fo-text); color: var(--fo-ground);
  }
  [data-fo-page="landing"] .fo-hero-ready .fo-meter > span > i { animation: none; }
  [data-fo-page="landing"] .fo-roadmap-canvas {
    display: grid; grid-template-columns: 56px minmax(0, 1fr); gap: 12px 14px; align-items: center;
    height: auto; max-width: 100%;
  }
  [data-fo-page="landing"] .fo-roadmap-canvas::before {
    content: ""; position: absolute; left: 27.5px; top: 28px; bottom: 28px; width: 1px; background: var(--fo-route);
  }
  [data-fo-page="landing"] .fo-roadmap-canvas .fo-route-line { display: none; }
  [data-fo-page="landing"] .fo-roadmap-canvas .fo-ring {
    position: relative; left: auto; top: auto !important; z-index: 1; background: var(--fo-ground); border-radius: 999px;
  }
  [data-fo-page="landing"] .fo-roadmap-canvas .fo-stop {
    position: relative; left: auto; right: auto; top: auto !important; width: auto; height: auto;
    min-height: 56px; padding: 11px 14px; border-radius: var(--fo-r-btn); overflow: hidden;
  }
  [data-fo-page="landing"] .fo-roadmap-canvas .fo-stop__title {
    white-space: normal; overflow: visible; text-overflow: clip; line-height: 1.28;
  }
  [data-fo-page="landing"] .fo-roadmap-canvas .fo-stop__sub {
    white-space: normal; overflow: visible; text-overflow: clip; line-height: 1.35;
  }
  [data-fo-page="landing"] .fo-roadmap-canvas .fo-stop > .fo-pill { flex-shrink: 0; }
  [data-fo-page="landing"] .fo-roadmap-canvas .fo-finish {
    position: relative; left: auto; right: auto; top: auto !important; grid-column: 1 / -1; z-index: 1;
  }
  [data-fo-page="landing"] #fo-jd .fo-pair.slides {
    display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; overflow: visible;
  }
  [data-fo-page="landing"] #fo-jd .fo-pair.slides > .slide { flex: initial; }
}
@media (pointer: coarse) and (max-width: 760px) {
  [data-fo-page="landing"] .navlinks :is(.signin, .fo-navmenu) { height: 44px; min-height: 44px; }
}
@media (max-width: 640px) {
  [data-fo-page="landing"] #fo-score .fo-take-k { flex-direction: column; align-items: flex-start; gap: 4px; }
}

/* ---- UX Remediation (docs/specs/2026-11-ux-remediation.md: TASK-1..TASK-8) ---- */
[data-skin="forest"] #iv-new-rmodes {
  width: fit-content;
  margin-left: auto;
  margin-bottom: -24px;
  position: relative;
  z-index: 1;
}
[data-skin="forest"] #iv-new-drop,
[data-skin="forest"] #iv-new-paste-wrap {
  clear: both;
}
[data-skin="forest"] .iv-nf-rmodes {
  display: inline-flex;
  background: var(--fo-ground-alt);
  border: 1px solid var(--fo-border);
  border-radius: var(--fo-r-chip);
  padding: 2px;
  gap: 2px;
}
[data-skin="forest"] .iv-nf-rmode {
  border: 0;
  background: transparent;
  color: var(--fo-muted);
  font-family: var(--fo-sans);
  font-size: 12px;
  font-weight: 600;
  padding: 5px 10px;
  border-radius: 6px;
  cursor: pointer;
  min-height: 30px;
}
[data-skin="forest"] .iv-nf-rmode.is-on {
  background: var(--fo-primary-bg);
  color: var(--fo-primary-text);
}
[data-skin="forest"] .iv-nf-paste-foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-top: 6px;
}
[data-skin="forest"] .pm-modal.rm-modal { max-width: 520px; }
[data-skin="forest"] .rm-sub {
  margin: 6px 0 12px;
  font-size: 13px;
  line-height: 1.5;
  color: var(--fo-text-2);
}
[data-skin="forest"] .rm-modes { width: 100%; margin-bottom: 12px; }
[data-skin="forest"] .rm-modes .iv-nf-rmode { flex: 1; text-align: center; padding: 7px 10px; }
[data-skin="forest"] .rm-actions { margin-top: 14px; display: flex; gap: 8px; justify-content: flex-end; }

/* TASK-2: First-Time Post-Login Welcome Intent Modal */
[data-skin="forest"] .pm-modal.wi-modal { max-width: 640px; padding: 24px; }
[data-skin="forest"] .wi-modal .pm-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
[data-skin="forest"] .wi-eyebrow {
  display: inline-block;
  font-family: var(--fo-mono);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 3px 8px;
  border-radius: 6px;
  background: var(--fo-accent-wash);
  color: var(--fo-accent);
  border: 1px solid var(--fo-accent-line);
}
[data-skin="forest"] .wi-title { margin: 10px 0 4px; font-size: 22px; }
[data-skin="forest"] .wi-sub { margin: 0 0 18px; font-size: 14px; color: var(--fo-text-2); }
[data-skin="forest"] .wi-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}
@media (max-width: 640px) {
  [data-skin="forest"] .wi-grid { grid-template-columns: 1fr; }
}
[data-skin="forest"] .wi-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 14px;
  padding: 16px;
  border-radius: 12px;
  background: var(--fo-card);
  border: 1px solid var(--fo-border);
}
[data-skin="forest"] .wi-card--primary {
  background: var(--fo-accent-wash);
  border: 1.5px solid var(--fo-accent-line);
}
[data-skin="forest"] .wi-tag {
  display: inline-block;
  font-family: var(--fo-mono);
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--fo-accent);
  margin-bottom: 6px;
}
[data-skin="forest"] .wi-tag--muted { color: var(--fo-muted); }
[data-skin="forest"] .wi-card-h {
  margin: 0 0 6px;
  font-family: var(--fo-serif);
  font-size: 17px;
  font-weight: 600;
  line-height: 1.3;
  color: var(--fo-text);
}
[data-skin="forest"] .wi-card-p {
  margin: 0;
  font-size: 13px;
  line-height: 1.5;
  color: var(--fo-text-2);
}
[data-skin="forest"] .wi-btn { width: 100%; justify-content: center; text-align: center; flex: none; }
/* ONBOARD-1 of the overnight spec: the dialogs' close (#wi-close, #rm-close)
   at the house sizes (HP2, D24): 32 px with a mouse, 44 under a finger and
   at 760 px and under. */
[data-skin="forest"] .pm-close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: none;
  width: 32px;
  height: 32px;
  padding: 0;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: var(--fo-text-2);
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
}
[data-skin="forest"] .pm-close:hover { background: var(--fo-accent-wash); color: var(--fo-text); }
@media (pointer: coarse), (max-width: 760px) {
  [data-skin="forest"] .pm-close { width: 44px; height: 44px; }
}
/* ONBOARD-1: a carried sign-up's job question, one quiet line at the top of
   the practice room (roomIntentBanner), never a card over the box. It keeps
   the column's own inline margins (the room's 900 px from 1000 px up). The
   band is its row; the line itself is the container its narrow form asks
   about (below). */
[data-skin="forest"] #rehearse .rh-intent {
  margin: 4px 0 0;
  container: rh-intent / inline-size;
}
@media (min-width: 1000px) {
  [data-skin="forest"] #rehearse .rh-intent { margin-inline: max(40px, calc((100% - 900px) / 2)); }
}
/* This morning's check, round 2 (F2-2): on a short screen the line sits under
   the answer area (roomIntentBanner), so the box keeps its first screen; it
   takes the session column's width there, a little apart from Score. */
[data-skin="forest"] #rehearse .rh-intent.rh-intent--under { margin: 12px 0 0; }
[data-skin="forest"] #rehearse .rh-intent-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0 14px;
  padding: 4px 14px;
  border: 1px solid var(--fo-accent-line);
  border-radius: 10px;
  background: var(--fo-accent-wash);
  color: var(--fo-text);
  font-size: 14px;
  line-height: 1.4;
}
[data-skin="forest"] #rehearse .rh-intent-q { font-weight: 600; }
[data-skin="forest"] #rehearse .rh-intent .linklike { min-height: 32px; font-weight: 600; }
@media (pointer: coarse), (max-width: 760px) {
  [data-skin="forest"] #rehearse .rh-intent .linklike { min-height: 44px; }
}
/* The round-2 check (R2-3): a narrow room column (the middle one of a 1024 px
   window, about 310 px) cannot hold the question and its two doors in one
   row, and a second row pushed Score this answer off the first screen. With
   a mouse the line keeps to one row there: the question leaves the row but
   stays the group's name (aria-labelledby); the two doors stay. A touch
   tablet held sideways (over 760 px) has the same narrow column: one row
   there too, its doors at the touch size. A phone keeps the whole line. */
@media (pointer: fine), (min-width: 761px) {
  @container rh-intent (max-width: 479px) {
    [data-skin="forest"] #rehearse .rh-intent-row { padding-block: 0; }
    [data-skin="forest"] #rehearse .rh-intent-q {
      position: absolute;
      width: 1px;
      height: 1px;
      margin: -1px;
      padding: 0;
      overflow: hidden;
      clip-path: inset(50%);
      white-space: nowrap;
      border: 0;
    }
  }
}

/* TASK-3: Start Here Resume Placeholder Card Affordance */
[data-skin="forest"] .st-tile--door[data-resume-door="1"] {
  cursor: pointer;
  transition: transform 0.16s ease, border-color 0.16s ease, box-shadow 0.16s ease;
}
[data-skin="forest"] .st-tile--door[data-resume-door="1"]:hover {
  transform: translateY(-2px);
  border-color: var(--fo-accent);
  box-shadow: var(--sh-card);
}
[data-skin="forest"] .st-open--resume {
  width: 100%;
  justify-content: center;
  text-align: center;
  margin-top: 8px;
  background: var(--fo-primary-bg);
  color: var(--fo-primary-text);
  border-color: transparent;
  font-weight: 600;
}
[data-skin="forest"] .st-open--resume:hover {
  background: var(--fo-primary-hover);
  color: var(--fo-primary-text);
}

/* TASK-4: Priority Clarity, Progress Pills & High-Likelihood Badges. PRACTICE-1
   of the overnight spec folded Start here's badge and pill into its head; the
   pill is a set's or a theme's "1 kept at 8", drawn once one is kept. */
[data-skin="forest"] .iv-kept-pill {
  font-family: var(--fo-mono);
  font-size: 12px;
  font-weight: 600;
  padding: 2px 9px;
  border-radius: 999px;
  border: 1px solid var(--fo-border);
  color: var(--fo-muted);
  background: var(--fo-ground-alt);
  white-space: nowrap;
}
[data-skin="forest"] .iv-kept-pill.is-kept {
  background: var(--fo-accent-wash);
  color: var(--fo-accent);
  border-color: var(--fo-accent-line);
}
[data-skin="forest"] .jr-subfilters {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  margin: 8px 0 4px;
}
[data-skin="forest"] .jr-prio-badge {
  display: inline-block;
  font-family: var(--fo-mono);
  font-size: 12px;
  font-weight: 600;
  padding: 1px 7px;
  border-radius: 5px;
  margin-right: 6px;
  background: var(--fo-amber-wash);
  color: var(--fo-amber);
  border: 1px solid var(--fo-amber-line);
  vertical-align: baseline;
}

/* TASK-5 & TASK-6: Previous Take Reference Bar & Post-8.0+ Celebration */
[data-skin="forest"] .rh-prevbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 8px 10px;
  margin: 6px 0 8px;
  border-radius: 8px;
  background: var(--fo-ground-alt);
  border: 1px solid var(--fo-border);
}
[data-skin="forest"] .rh-prevbar-meta {
  font-family: var(--fo-mono);
  font-size: 12px;
  font-weight: 600;
  color: var(--fo-text-2);
}
[data-skin="forest"] .rh-prevbar-acts {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
}
[data-skin="forest"] .rh-prevbtn {
  font-family: var(--fo-sans);
  font-size: 12px;
  font-weight: 600;
  padding: 5px 10px;
  border-radius: 7px;
  border: 1px solid var(--fo-border);
  background: var(--fo-card);
  color: var(--fo-text);
  cursor: pointer;
}
[data-skin="forest"] .rh-prevbtn--fill {
  background: var(--fo-primary-bg);
  color: var(--fo-primary-text);
  border-color: transparent;
}
[data-skin="forest"] .rh-prevbox {
  padding: 10px 12px;
  margin-bottom: 8px;
  border-radius: 8px;
  background: var(--fo-ground-alt);
  border: 1px solid var(--fo-divider);
  font-size: 13px;
  line-height: 1.55;
  color: var(--fo-text-2);
  white-space: pre-wrap;
  max-height: 160px;
  overflow-y: auto;
}
/* SCAFFOLD-1 of the overnight spec (ov-room): the outline's bar, on TASK-5's ground. */
[data-skin="forest"] .rh-scaf { background: var(--fo-ground-alt); border-color: var(--fo-border); }
[data-skin="forest"] .rh-scaf-head { border-bottom-color: var(--fo-divider); }
[data-skin="forest"] .rh-scaf-tab { font-family: var(--fo-sans); color: var(--fo-text-2); }
[data-skin="forest"] .rh-scaf-tab[aria-selected="true"] { color: var(--fo-text); border-bottom-color: var(--fo-accent); }
[data-skin="forest"] .rh-scaf-fold { font-family: var(--fo-sans); color: var(--fo-accent); }
[data-skin="forest"] .rh-scaf-beats, [data-skin="forest"] .rh-scaf-text { color: var(--fo-text); }
[data-skin="forest"] .rh-scaf-beat-k { font-family: var(--fo-mono); font-size: 11px; font-weight: 600; color: var(--fo-text-2); }
[data-skin="forest"] .rh-scaf-note { color: var(--fo-muted); }
/* RESIL-1 (ov-room): a restored draft's badge. */
[data-skin="forest"] .rh-restored { background: var(--fo-accent-wash); color: var(--fo-accent); font-family: var(--fo-sans); }
/* RESP-1 (ov-room): the keys' hint by the Score button. */
[data-skin="forest"] .rh-kbd { font-family: var(--fo-mono); font-size: 12px; color: var(--fo-muted); }
/* STORY-1 (ov-room): the 8+ pill beside Say it again. */
[data-skin="forest"] :is(.rh-actrow, .rh-dock) > .rh-storypill { border-radius: 999px; color: var(--fo-accent); border-color: var(--fo-accent-line); }
[data-skin="forest"] .rh-celebrate {
  margin-top: 10px;
  padding: 12px 14px;
  border-radius: 10px;
  background: var(--fo-accent-wash);
  border: 1.5px solid var(--fo-accent-line);
  display: grid;
  gap: 8px;
}
[data-skin="forest"] .rh-celebrate-h {
  margin: 0;
  font-family: var(--fo-serif);
  font-size: 15px;
  font-weight: 600;
  color: var(--fo-text);
}
[data-skin="forest"] .rh-celebrate-p {
  margin: 0;
  font-size: 13px;
  line-height: 1.45;
  color: var(--fo-text-2);
}
[data-skin="forest"] .rh-celebrate-acts {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

/* TASK-8: Disambiguated Role Header Action Links vs. Utility Dropdown */
[data-skin="forest"] .iv-doors {
  align-items: center;
  gap: 8px 18px;
}
[data-skin="forest"] .iv-doors:not(:has(> :not([hidden]))) {
  display: none;
}
[data-skin="forest"] .iv-edit-dd {
  position: relative;
  margin-left: auto;
}
[data-skin="forest"] .iv-edit-dd > summary {
  list-style: none;
  cursor: pointer;
  user-select: none;
}
[data-skin="forest"] .iv-edit-dd > summary::-webkit-details-marker { display: none; }
[data-skin="forest"] .iv-edit-panel {
  position: absolute;
  right: 0;
  top: calc(100% + 6px);
  z-index: 40;
  min-width: 220px;
  padding: 6px;
  border-radius: 10px;
  background: var(--fo-card);
  border: 1px solid var(--fo-border);
  box-shadow: var(--sh-lg);
  display: grid;
  gap: 2px;
}
[data-skin="forest"] .iv-edit-panel button.linklike {
  width: 100%;
  text-align: left;
  padding: 8px 10px;
  border-radius: 7px;
  text-decoration: none;
  color: var(--fo-text);
  font-size: 13px;
}
[data-skin="forest"] .iv-edit-panel button.linklike:hover {
  background: var(--fo-ground-alt);
}

/* The app's own print block (index.html) re-pins its tokens for paper, but
   the skin remaps the same tokens at a higher specificity and paints the body
   itself, so a printed sheet came out grey on dark green. Re-pinned here at
   the skin's own specificity, and the chrome taken off the page: the bar, the
   phone tabs, the Menu panel, the position strip ("‹ Back to Home"), the route
   map, the floating Practice next and the Delete link (the app's own print
   block drops the aside). Last in the file, after every screen rule it
   overrides. The colour scheme is the app block's too: the theme stamp sets
   color-scheme inline on <html> (dark under Forest's dark), and its print
   rule html,body{color-scheme:light !important} is what keeps the page
   margins white with "Background graphics" on. Paper is paper in both
   themes: the light selector is here so the light remap (0,3,0, LD4 of
   docs/specs/2026-11-light-default.md) does not outrank the sheet. */
@media print {
  :root[data-skin="forest"][data-theme="dark"],
  :root[data-skin="forest"][data-theme="light"],
  :root[data-skin="forest"] {
    --fo-ground: #fff; --fo-card: #fff; --fo-raised: #fff; --fo-border: #ccc; --fo-divider: #ddd;
    --fo-route: #999; --fo-connector: #999; --fo-node: #eee;
    --fo-text: #22302C; --fo-text-2: #3F4E47; --fo-muted: #56635F;
    --fo-accent: #1D5C50; --fo-amber: #7F5F12; --fo-red: #8A3D20;
    --fo-on-accent: #fff; --fo-primary-bg: #F3F1EA; --fo-primary-text: #15302E;
    --fo-track: #E8E4D8; --fo-empty: #E8E4D8; --fo-wash: transparent; --fo-accent-wash: transparent; --fo-accent-line: #B9C8D8;
    --fo-amber-wash: transparent; --fo-amber-line: #ddd;
    --ink: #22302C; --slate: #3F4E47; --mute: #56635F;
    --sage: #1D5C50; --sage-deep: #16453D; --pine: #16453D; --emerald: #20763A;
    --brass: #7F5F12; --brass-fill: #AB8528; --brass-soft: transparent; --brass-line: #ddd;
    --clay: #A9502F; --clay-deep: #8A3D20; --clay-fill: #A9502F; --clay-fill-hi: #A9502F;
    --field-line: #8A9890; --line: #ccc; --line-strong: #999; --line-focus: #999; --focus: #1D5C50;
    --bg: #fff; --bg-soft: #fff; --surface: #fff; --glass: #fff;
    --sage-tint: #DFE8E2; --emerald-wash: #E1EEE0; --clay-tint: #F4E3D7;
    --emerald-line: #B9C8D8; --clay-line: #ddd; --sage-line: #B9C8D8;
    --steel: #3A5F85; --steel-deep: #2B4A6B; --steel-tint: #E1E8EF; --steel-line: #B9C8D8;
    --sh-card: none; --sh-lg: none;
    --hm-surface: #fff; --hm-line: #E6E2D6; --hm-line-soft: #EEEBE2; --hm-track: #E8E4D8;
    --hm-control-line: #D5D0C2; --hm-control-line-hover: #D5D0C2; --hm-row-hover: #fff; --hm-ghost-hover: #fff;
    --hm-ink: #15302E; --hm-text: #1F2A28; --hm-muted: #56635F; --hm-icon: #8A948F; --hm-accent: #1D5C50;
    --hm-hero: #fff; --hm-on-ink: #15302E; --hm-on-ink-muted: #3F4E47; --hm-on-ink-line: #ccc;
    --hm-primary: #F3F1EA; --hm-primary-hover: #F3F1EA; --hm-on-primary: #15302E;
  }
  [data-skin="forest"] body { background: #fff; color: #22302C; }
  [data-skin="forest"] .topbar, [data-skin="forest"] .fo-tabs, [data-skin="forest"] .fo-navpanel,
  [data-skin="forest"] .fo-iv-strip, [data-skin="forest"] .fo-map, [data-skin="forest"] .iv-next,
  [data-skin="forest"] .iv-dangerfoot { display: none !important; }
  /* The under-construction banner is screen news, not part of the sheet. */
  .uc-banner { display: none !important; }
}

/* ---- UX Remediation Phase 3-5 polish ------------------------------------ */
/* MOCK-2 of the overnight spec (2026-11-17): Pass is a secondary button in
   Send's row now (rh-sec's look), never an underlined link under the box.
   Round 1 of the lane's check (OVM-7): on a phone, its words alone at the
   row's left, inside the box's rounded frame. */
.mockroom .mr-pass { flex: none; width: auto; font-size: 14px; }
@media (max-width: 560px) {
  [data-skin="forest"] .mockroom .mr-pass {
    flex: 1 1 64px; background: none; border: 0; border-radius: 0; color: var(--fo-accent);
    padding: 0 0 0 8px; font-weight: 600; text-decoration: underline; text-underline-offset: 3px;
  }
}
@media (max-width: 360px) { [data-skin="forest"] .mockroom .mr-pass { font-size: 13px; } }
#mr-pack [data-pack="landmines"][aria-disabled="true"] { cursor: pointer; opacity: 0.9; }
#mr-pack [data-pack="landmines"][aria-disabled="true"]:hover { border-color: var(--sage-line, var(--fo-accent)); }
#iv-mocks .mk-head { align-items: center; gap: 12px; }
#iv-mocks .iv-mocks-none { margin-top: 10px; line-height: 1.5; }
/* MOCK-5 of the overnight spec: the empty tab's card (the default mock). */
[data-skin="forest"] .mk-first__picks { color: var(--fo-text); }
[data-skin="forest"] .mk-first__line { color: var(--fo-text-2); }
/* MOCK-4: the setup's door to a resume reads as an action, in the accent. */
[data-skin="forest"] .mr-add-resume { color: var(--fo-accent); font-weight: 600; }
.rh-more { position: relative; }
.rh-more-menu { right: 0; left: auto; max-width: calc(100vw - 24px); z-index: 60; }
/* STORY-1 of the overnight spec (ov-room): opened where the foot has no room
   (a phone's dock, a short column), it opens upward (rhMoreFit). */
.rh-more-menu.up { top: auto; bottom: calc(100% + 6px); }
.iv-pack .pk-aud, [data-skin="forest"] .iv-pack .pk-aud { white-space: normal; overflow: visible; text-overflow: clip; line-height: 1.35; }
/* A set head's audience line (the job page's #iv-list; Home's list draws
   none) is never squeezed. index.html's flex:1 has a zero basis, so in the
   head's wrapping row the line always "fitted" beside a short name, in what
   the meter left: Core behavioral's broke one word a line, over "0 of 10
   answered". Its own one-line width is its basis now: the row's wrapping
   moves it, or the meter and pill after it, to a line of their own. It
   still grows into a line's free space and shrinks only alone on a line,
   where it wraps (STORY-6: never cut). text-wrap: pretty, where the browser
   has it, leaves fewer last lines of one word; it does not promise none.
   An empty line (Job related's why questions, Your own questions, a built
   From your notes) keeps a zero basis, as before: the row's spacer, which
   holds the meter, the pill and a build's state together at the right. */
[data-skin="forest"] .iv-pack > summary .pk-aud { flex: 1 1 auto; text-wrap: pretty; }
/* The meter and the pill (index.html's .pk-tail, no box of its own in the
   classic skin) wrap as one: where the line holds the meter but not the
   pill, both move down, never the pill alone at the head's left edge. It
   grows into a line's free space with its parts kept right, so a build's
   state after it on one line sits by the pill, never across a gap. Over
   640 px only (the bar's own breakpoint, index.html): on a phone the pair
   seldom fits a line, while the meter often fits beside the name, so there
   the two wrap apart as before.
   An empty line, the spacer, gives back the 10 px row gap before it (the
   head's gap, index.html): it still grows into the free space, but costs
   the pair no room, so the pair sits beside the name wherever the name, one
   gap and the pair fit. With the gap, Job related just made from the form
   and From your notes writing more took three rows where two fitted. A
   left margin keeps its box inside the head (a right one ran 10 px past). */
@media (min-width: 641px) {
  [data-skin="forest"] .iv-pack > summary > .pk-tail { display: inline-flex; flex: 1 0 auto; max-width: 100%; flex-wrap: wrap; align-items: center; justify-content: flex-end; gap: 10px; }
  [data-skin="forest"] .iv-pack > summary > .pk-aud:empty { margin-left: -10px; }
}
.qp-prompts li.qp-qrow { display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; }
.qp-try-q { flex-shrink: 0; white-space: nowrap; font-size: 12px; }
#screen-progress .pg-qrow > :not(.pg-row-main):not(.pg-row-text) { flex-shrink: 0; }
#screen-progress .pg-qrow .pg-row-main, #screen-progress .pg-qrow .pg-row-text { min-width: 0; flex: 1 1 auto; }
#screen-progress .pg-chart g { cursor: pointer; }

/* ---- Site-wide under-construction banner -------------------------------- */
.uc-banner {
  position: relative;
  z-index: 31;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 8px 16px;
  /* UW4 of docs/specs/2026-11-ux-walk-fixes.md: the wash over the page's own ground, so the
     banner is opaque wherever it stands and nothing that passes under it shows through. */
  background:
    linear-gradient(var(--fo-amber-wash, rgba(176, 138, 46, 0.14)), var(--fo-amber-wash, rgba(176, 138, 46, 0.14))),
    var(--fo-ground, #FBFAF4);
  border-bottom: 1px solid var(--fo-amber-line, rgba(140, 109, 31, 0.38));
  color: var(--fo-text, #22302C);
  font-family: var(--fo-sans, "Inter", system-ui, -apple-system, sans-serif);
  font-size: 13px;
  line-height: 1.4;
  text-align: center;
}
.uc-banner__dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--fo-amber, #7F5F12);
  flex: none;
}
.uc-banner p {
  margin: 0;
}
.uc-banner__link {
  color: var(--fo-amber, #7F5F12);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 2px;
  white-space: nowrap;
  background: none;
  border: 0;
  padding: 0;
  font: inherit;
  cursor: pointer;
}
.uc-banner__link:hover {
  opacity: 0.82;
}
.uc-banner__link:focus-visible {
  outline: 2px solid var(--fo-amber, #7F5F12);
  outline-offset: 2px;
  border-radius: 3px;
}
@media (max-width: 640px) {
  .uc-banner {
    justify-content: flex-start;
    text-align: left;
    align-items: flex-start;
    padding: 8px 14px;
    font-size: 12.5px;
  }
  .uc-banner__dot {
    margin-top: 6px;
  }
}
/* UW4: a page that carries both sentences (the landing) shows the short one at 640 px and under,
   two lines at 360 px with its feedback door, in a banner 4 px shorter. The app's banner carries
   one sentence and keeps its size. The short one ships hidden (the attribute), so a page served
   without this stylesheet says the long one alone. */
.uc-banner__short { display: none; }
@media (max-width: 640px) {
  .uc-banner__long { display: none; }
  .uc-banner__short { display: inline; }
  .uc-banner:has(.uc-banner__short) { padding-top: 6px; padding-bottom: 6px; }
  .uc-banner:has(.uc-banner__short) .uc-banner__dot { margin-top: 5px; }
}

/* ---- The landing's second screen and its FAQs (docs/specs/2026-11-landing-pillars.md) ---- */
/* PL3: each highlight card's eyebrow in the accent's mono, its door to the roadmap a quiet link
   (the 40/60/90 line's, 44 px under a finger), and its one row at the card's foot, so the four
   rows line up: steps in the accent's wash, the arrows and dots between them muted, the rough
   take's score in the warn colour and the strong one's on the accent. */
[data-fo-page="landing"] .fo-hl__k {
  margin: 0; font-family: var(--fo-mono); font-size: 11px; font-weight: 500; line-height: 1.4; letter-spacing: 0.06em;
  text-transform: uppercase; color: var(--fo-accent);
}
[data-fo-page="landing"] .fo-hl__a { margin: 0; font-size: 15px; line-height: 1.5; }
[data-fo-page="landing"] .fo-hl__a a { display: inline-block; padding: 1px 0; color: var(--fo-accent); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
[data-fo-page="landing"] .fo-hl__a a:hover { color: var(--fo-text); }
@media (pointer: coarse) {
  [data-fo-page="landing"] .fo-hl__a a { padding: 11px 0; margin: -11px 0; }
}
[data-fo-page="landing"] .fo-hl__v {
  margin: auto 0 0; padding-top: 6px; display: flex; flex-wrap: wrap; align-items: center; gap: 6px;
  font-family: var(--fo-mono); font-size: 11.5px; line-height: 1.35; color: var(--fo-muted);
}
[data-fo-page="landing"] .fo-hl__s {
  padding: 3px 8px; border: 1px solid var(--fo-accent-line); border-radius: var(--fo-r-chip);
  background: var(--fo-accent-wash); color: var(--fo-text);
}
/* an arrow or a dot leads the step after it, so a row that wraps starts its line with one */
[data-fo-page="landing"] .fo-hl__step { display: inline-flex; align-items: center; gap: 6px; }
[data-fo-page="landing"] .fo-hl__s.is-low { border-color: var(--fo-amber); background: transparent; color: var(--fo-amber); font-weight: 600; }
[data-fo-page="landing"] .fo-hl__s.is-high { border-color: var(--fo-accent); background: var(--fo-accent); color: var(--fo-on-accent); font-weight: 600; }
/* The band's sub-caption under its doors: what the sign-in is, in the band's ink. */
[data-fo-page="landing"] .fo-band__note { margin: 0; font-size: 14px; line-height: 1.5; color: inherit; }
/* PL4: the four FAQs above the footer, the FAQs' own folded rows in a 760 px column, the
   eyebrow over them and the way to the rest under them. */
[data-fo-page="landing"] .fo-faqs .fo-wrap { max-width: 760px; display: flex; flex-direction: column; gap: 12px; }
[data-fo-page="landing"] .fo-faqs__h {
  align-self: center; margin: 0 0 8px; font-family: var(--fo-mono); font-size: 11px; font-weight: 500; line-height: 1.4;
  letter-spacing: 0.06em; color: var(--fo-text-2); text-transform: uppercase;
}
[data-fo-page="landing"] .fo-faqs__more { margin: 4px 0 0; text-align: center; font-size: 15px; line-height: 1.5; }
[data-fo-page="landing"] .fo-faqs__more a { display: inline-block; padding: 1px 0; color: var(--fo-accent); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
[data-fo-page="landing"] .fo-faqs__more a:hover { color: var(--fo-text); }
@media (pointer: coarse) {
  [data-fo-page="landing"] .fo-faqs__more a { padding: 11px 0; margin: -11px 0; }
}
@media (max-width: 640px) {
  [data-fo-page="landing"] body:not(.qpage) .hero-grid > .fo-hero-more { margin-top: -16px; }
}

/* ---- The route in steps (MS1-MS4 of docs/specs/2026-11-milestones-points.md) ----
   Home's rail of steps, a card a step (the one she is on open), each
   question's points as a segment of the step's bar, and a tried answer's
   row with its movement. Drawn by forest.js's foMilestoneMap. */
.fo-ms { display: flex; flex-direction: column; gap: 16px; min-width: 0; width: 100%; align-self: stretch; }
.fo-ms-rail, .fo-ms-rail__scroll { min-width: 0; max-width: 100%; }
.fo-ms-rail { gap: 14px; padding: 20px 8px 16px; }
.fo-ms-rail__scroll { overflow-x: auto; padding: 6px 0 4px; }
.fo-ms-track { position: relative; display: grid; margin: 0; padding: 0; list-style: none; }
.fo-ms-track__line { position: absolute; top: 17px; height: 2px; background: var(--fo-route); }
.fo-ms-track__line > i { display: block; height: 100%; background: var(--fo-accent); }
.fo-ms-node { position: relative; display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 0 6px; text-align: center; min-width: 0; }
.fo-ms-node__name { font-size: 13px; font-weight: 600; line-height: 1.3; color: var(--fo-text-2); text-wrap: balance; }
.fo-ms-node--here .fo-ms-node__name, .fo-ms-node--done .fo-ms-node__name, .fo-ms-node--kept .fo-ms-node__name { color: var(--fo-text); }
.fo-ms-node--here .fo-ms-node__name { font-weight: 700; }
.fo-ms-node__meta { font-family: var(--fo-mono); font-size: 11px; line-height: 1.4; color: var(--fo-muted); }
.fo-ms-node--here .fo-ms-node__meta, .fo-ms-node--kept .fo-ms-node__meta { color: var(--fo-accent); }
.fo-ms-mark {
  display: inline-flex; align-items: center; justify-content: center; flex: 0 0 auto;
  width: 36px; height: 36px; box-sizing: border-box; border-radius: 50%;
  border: 2px solid var(--fo-connector); background: var(--fo-card);
  color: var(--fo-muted); font-size: 14px; font-weight: 600;
}
.fo-ms-mark--done { border-color: var(--fo-accent); color: var(--fo-accent); }
.fo-ms-mark--kept { border-color: var(--fo-accent); background: var(--fo-accent); color: var(--fo-on-accent); }
.fo-ms-mark--here { border-color: var(--fo-accent); color: var(--fo-accent); font-weight: 700; box-shadow: 0 0 0 5px var(--fo-accent-ring); }
.fo-ms-mark--sm { width: 18px; height: 18px; }
.fo-ms-mark--flag { border: 0; background: none; overflow: hidden; border-radius: 6px; }
.fo-ms-mark--flag .fo-finish__flag { width: 100%; height: 100%; }
.fo-ms-check { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.fo-ms-mark--sm .fo-ms-check { width: 10px; height: 10px; stroke-width: 4; }
.fo-ms-rail__key {
  display: flex; flex-wrap: wrap; gap: 8px 28px; margin: 0; padding: 14px 12px 0;
  border-top: 1px solid var(--fo-divider); font-size: 13px; line-height: 1.45; color: var(--fo-text-2);
}
.fo-ms-rail__key > span { display: inline-flex; align-items: center; gap: 8px; }
.fo-ms-rail__key strong { color: var(--fo-text); font-weight: 600; }

.fo-ms-list { display: flex; flex-direction: column; gap: 12px; margin: 0; padding: 0; list-style: none; }
.fo-ms-step {
  display: flex; flex-direction: column; gap: 18px; padding: 16px 20px; box-sizing: border-box; min-width: 0;
  background: var(--fo-card); border: 1px solid var(--fo-border); border-radius: var(--fo-r-card);
}
.fo-ms-step--here { padding: 22px; border: 2px solid var(--fo-accent); box-shadow: 0 0 0 4px var(--fo-accent-ring); }
.fo-ms-step__head { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px; }
.fo-ms-step--here > .fo-ms-step__head { align-items: flex-start; }
.fo-ms-step__text { flex: 1 1 300px; min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.fo-ms-step__title { margin: 0; font-family: var(--fo-sans); font-size: 15px; font-weight: 600; line-height: 1.35; color: var(--fo-text); }
.fo-ms-step--here .fo-ms-step__title { font-family: var(--fo-serif); font-size: 24px; font-weight: 700; line-height: 1.2; }
.fo-ms-step__here { color: var(--fo-accent); }
.fo-ms-step__line { font-size: 13px; line-height: 1.45; color: var(--fo-text-2); text-wrap: pretty; }
.fo-ms-step__meta { font-family: var(--fo-mono); font-size: 11px; line-height: 1.5; color: var(--fo-muted); }
.fo-ms-step__go { flex: 0 0 auto; min-width: 132px; justify-content: center; }
.fo-ms-points { display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; }
.fo-ms-points__n { font-family: var(--fo-serif); font-weight: 600; font-size: 34px; letter-spacing: -0.02em; line-height: 1; color: var(--fo-accent); }
.fo-ms-points__of { font-size: 15px; font-weight: 600; color: var(--fo-text); }
.fo-ms-step__body { display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.fo-ms-step__foot { margin: 0; font-size: 14px; line-height: 1.55; color: var(--fo-text-2); }
.fo-ms-step__foot strong { color: var(--fo-text); font-weight: 600; }

.fo-ms-bar { display: grid; grid-template-columns: minmax(0, 1fr); gap: 5px; }
.fo-ms-bar > span { height: 12px; border-radius: 999px; background: var(--fo-track); overflow: hidden; }
.fo-ms-bar > span > i { display: block; height: 100%; background: color-mix(in srgb, var(--fo-amber) 72%, var(--fo-card)); }
.fo-ms-bar > span > i.fo-ms-fill--kept { background: var(--fo-accent); }

.fo-ms-next {
  display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; padding: 14px 18px;
  background: var(--fo-ground-alt); border-radius: 12px;
}
.fo-ms-next__text { flex: 1 1 300px; min-width: 0; display: flex; flex-direction: column; gap: 4px; }
.fo-ms-next__q { font-size: 16px; font-weight: 600; line-height: 1.35; color: var(--fo-text); text-wrap: pretty; }
.fo-ms-next__go { flex: 0 0 auto; min-width: 132px; justify-content: center; }

.fo-ms-qs { display: flex; flex-direction: column; margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--fo-divider); }
.fo-ms-q { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; padding: 12px 0; border-bottom: 1px solid var(--fo-divider); }
.fo-ms-q__text { flex: 1 1 280px; min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.fo-ms-q__prompt { font-size: 14px; font-weight: 600; line-height: 1.4; color: var(--fo-text); text-wrap: pretty; }
.fo-ms-q__move { font-family: var(--fo-mono); font-size: 11px; line-height: 1.5; color: var(--fo-muted); }
.fo-ms-q__track { position: relative; flex: 1 1 160px; max-width: 240px; height: 22px; }
.fo-ms-q__track::before { content: ""; position: absolute; left: 0; right: 0; top: 7px; height: 8px; border-radius: 999px; background: var(--fo-track); }
.fo-ms-q__track > i { position: absolute; left: 0; top: 7px; height: 8px; border-radius: 999px; background: color-mix(in srgb, var(--fo-amber) 72%, var(--fo-card)); }
.fo-ms-q__track--kept > i { background: var(--fo-accent); }
.fo-ms-q__track > b { position: absolute; top: 8px; width: 6px; height: 6px; margin-left: -3px; border-radius: 50%; background: var(--fo-card); }
.fo-ms-q__track > u { position: absolute; left: 80%; top: 1px; width: 2px; height: 20px; background: var(--fo-text); }
.fo-ms-q__gap { flex: 0 0 auto; min-width: 72px; justify-content: center; box-sizing: border-box; }
.fo-ms-q__go { flex: 0 0 auto; min-width: 104px; justify-content: center; }
.fo-ms-key { margin: 0; font-family: var(--fo-mono); font-size: 11px; line-height: 1.6; color: var(--fo-muted); }

/* MS2: the week's points on the Readiness card, under the kept ladder. */
.fo-ready__week { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 8px; padding-top: 10px; border-top: 1px solid var(--fo-divider); }
.fo-ready__gain { font-family: var(--fo-serif); font-size: 22px; font-weight: 600; line-height: 1; color: var(--fo-accent); }
.fo-ready__weekof { font-size: 14px; color: var(--fo-text-2); }
.fo-ready__moved { flex: 1 1 100%; font-family: var(--fo-mono); font-size: 11px; line-height: 1.5; color: var(--fo-muted); }

@media (max-width: 760px) {
  .fo-ms-step { padding: 14px 16px; }
  .fo-ms-step--here { padding: 16px; }
  .fo-ms-step--here .fo-ms-step__title { font-size: 21px; }
  .fo-ms-step__go, .fo-ms-next__go, .fo-ms-q__go { flex: 1 1 100%; }
  .fo-ms-q__track { max-width: none; flex-basis: 100%; }
}
@media (forced-colors: active) {
  .fo-ms-bar > span, .fo-ms-q__track::before { border: 1px solid CanvasText; }
  .fo-ms-bar > span > i, .fo-ms-q__track > i, .fo-ms-track__line > i { background: Highlight; }
}

/* MS4: Home's switch between the route's steps and its areas. */
.fo-view { display: inline-flex; gap: 2px; margin-top: 12px; padding: 3px; border: 1px solid var(--fo-border); border-radius: var(--fo-r-btn); background: var(--fo-wash-2); }
.fo-view__b { min-height: 32px; padding: 0 14px; border: 0; border-radius: 7px; background: none; color: var(--fo-text-2); font: inherit; font-size: 13px; font-weight: 600; cursor: pointer; }
.fo-view__b[aria-pressed="true"] { background: var(--fo-card); color: var(--fo-text); box-shadow: 0 0 0 1px var(--fo-border); }
@media (pointer: coarse), (max-width: 760px) { .fo-view__b { min-height: 44px; } }
