:root {
  --nova-font-sans: 'Saans', 'Inter', system-ui, sans-serif;
  --nova-font-serif: 'Ionic Modern Micro', Georgia, serif;
  --nova-white: #FFFFFF;
  --nova-neutral-200: #F0ECE1;
  --nova-neutral-900: #232220;
  --nova-text-primary: #232220;
  --nova-chartreuse: #D6EE40;
  --nova-neutral-white: #FFFFFF;
  --nova-neutral-50: #FBFAF8;
  --nova-neutral-100: #F8F5F1;
  --nova-neutral-300: #E8E3D8;
  --nova-neutral-350: #E2DDCD;
  --nova-neutral-400: #D7CFBA;
  --nova-neutral-500: #9A9288;
  --nova-text-disabled: #9A9288;
  --nova-neutral-600: #7A7670;
  --nova-neutral-700: #5C5649;
  --nova-text-secondary: #5C5649;
  --nova-text-eyebrow: #5C5649;
  --nova-neutral-800: #2E2C2A;
  --nova-transient-violet: #7B16EE;
  --nova-transient-violet-70: #A35CF3;
  --nova-transient-violet-40: #CAA2F8;
  --nova-transient-violet-20: #E5D0FC;
  --nova-transient-violet-10: #F2E8FD;
  --nova-teal-green: #008080;
  --nova-teal-green-70: #4DA6A6;
  --nova-teal-green-40: #99CCCC;
  --nova-teal-green-20: #CCE6E6;
  --nova-teal-green-10: #E6F2F2;
  --nova-catalyst-marine: #0240B9;
  --nova-catalyst-marine-70: #4E79CE;
  --nova-catalyst-marine-40: #9AB3E3;
  --nova-catalyst-marine-20: #CCD9F1;
  --nova-catalyst-marine-10: #E6ECF8;
  --nova-ascent-amber: #FF8B25;
  --nova-ascent-amber-70: #FFAE66;
  --nova-ascent-amber-40: #FFD1A8;
  --nova-ascent-amber-20: #FFE8D3;
  --nova-ascent-amber-10: #FFF3E9;
  --nova-serif-display-large-size: 60px;
  --nova-serif-display-large-lh: 1.05;
  --nova-serif-display-large-weight: 400;
  --nova-serif-display-large-tracking: -0.04em;
  --nova-serif-display-small-size: 38px;
  --nova-serif-display-small-lh: 1.15;
  --nova-serif-display-small-weight: 300;
  --nova-serif-display-small-tracking: -0.035em;
  --nova-serif-headline-size: 34px;
  --nova-serif-headline-lh: 1.25;
  --nova-serif-headline-weight: 400;
  --nova-serif-headline-tracking: -0.03em;
  --nova-serif-title-size: 28px;
  --nova-serif-title-lh: 1.3;
  --nova-serif-title-weight: 300;
  --nova-serif-title-tracking: -0.03em;
  --nova-serif-numeral-size: 28px;
  --nova-serif-numeral-lh: 1;
  --nova-serif-numeral-weight: 300;
  --nova-serif-numeral-tracking: -0.03em;
  --nova-sans-headline-size: 28px;
  --nova-sans-headline-lh: 1.2;
  --nova-sans-headline-weight: 500;
  --nova-sans-headline-tracking: -0.03em;
  --nova-sans-title-large-size: 22px;
  --nova-sans-title-large-lh: 1.3;
  --nova-sans-title-large-weight: 500;
  --nova-sans-title-large-tracking: -0.02em;
  --nova-sans-title-medium-size: 18px;
  --nova-sans-title-medium-lh: 1.35;
  --nova-sans-title-medium-weight: 500;
  --nova-sans-title-medium-tracking: -0.02em;
  --nova-sans-body-large-size: 18px;
  --nova-sans-body-large-lh: 1.5;
  --nova-sans-body-large-weight: 400;
  --nova-sans-body-large-tracking: -0.02em;
  --nova-sans-body-size: 16px;
  --nova-sans-body-lh: 1.6;
  --nova-sans-body-weight: 400;
  --nova-sans-body-tracking: 0;
  --nova-sans-body-strong-size: 16px;
  --nova-sans-body-strong-lh: 1.6;
  --nova-sans-body-strong-weight: 500;
  --nova-sans-body-strong-tracking: 0;
  --nova-sans-label-size: 14px;
  --nova-sans-label-lh: 1.4;
  --nova-sans-label-weight: 500;
  --nova-sans-label-tracking: 0;
  --nova-sans-helper-size: 14px;
  --nova-sans-helper-lh: 1.5;
  --nova-sans-helper-weight: 400;
  --nova-sans-helper-tracking: 0;
  --nova-sans-caption-size: 13px;
  --nova-sans-caption-lh: 1.4;
  --nova-sans-caption-weight: 400;
  --nova-sans-caption-tracking: 0;
  --nova-sans-eyebrow-size: 11px;
  --nova-sans-eyebrow-lh: 1.2;
  --nova-sans-eyebrow-weight: 500;
  --nova-sans-eyebrow-tracking: 1.4px;
  --nova-space-2: 2px;
  --nova-space-4: 4px;
  --nova-space-8: 8px;
  --nova-space-10: 10px;
  --nova-space-12: 12px;
  --nova-space-16: 16px;
  --nova-space-20: 20px;
  --nova-space-24: 24px;
  --nova-space-32: 32px;
  --nova-space-40: 40px;
  --nova-space-48: 48px;
  --nova-radius-0: 0px;
  --nova-radius-xs: 4px;
  --nova-radius-sm: 8px;
  --nova-radius-md: 12px;
  --nova-radius-lg: 16px;
  --nova-radius-xl: 24px;
  --nova-radius-full: 999px;
  --nova-radius-selection: 4px;
  --nova-radius-control: 8px;
  --nova-radius-field: 12px;
  --nova-radius-container: 16px;
  --nova-radius-overlay: 16px;
  --nova-radius-surface: 24px;
  --nova-radius-pill: 999px;
  --nova-inset-hairline: inset 0 0 0 1px rgba(35,34,32,0.08);
  --nova-shadow-raised: 0 4px 12px rgba(51,40,18,0.10);
  --nova-shadow-floating: 0 1px 3px rgba(51,40,18,0.05), 0 8px 24px rgba(51,40,18,0.10);
  --nova-shadow-overlay: 0 2px 6px rgba(51,40,18,0.10), 0 12px 36px rgba(51,40,18,0.20);
  --nova-pad-box-v: 20px;
  --nova-pad-box-h: 24px;
  --nova-pad-box-compact-v: 12px;
  --nova-pad-box-compact-h: 16px;
  --nova-pad-pill-v: 12px;
  --nova-pad-pill-h: 24px;
  --nova-focus-border-rest: #9A9288;
  --nova-focus-border-rest-on-parchment: #7A7670;
  --nova-focus-border-hover: #7A7670;
  --nova-focus-border-hover-on-parchment: #5C5649;
  --nova-focus-border-focus: #5C5649;
  --nova-focus-border-focus-on-parchment: #232220;
  --nova-focus-ring: #E8E3D8;
  --nova-focus-ring-on-parchment: #D7CFBA;
  --nova-focus-ring-width: 3px;
  --nova-focus-on-dark-ring: rgba(214, 238, 64, 0.55);
  --nova-button-primary-rest-bg: #232220;
  --nova-button-primary-rest-label: #FFFFFF;
  --nova-button-primary-hover-bg: #454139;
  --nova-button-primary-pressed-bg: #232220;
  --nova-button-primary-pressed-scale: 0.99;
  --nova-button-secondary-rest-bg: #FFFFFF;
  --nova-button-secondary-rest-label: #232220;
  --nova-button-secondary-rest-border: #D7CFBA;
  --nova-button-secondary-hover-bg: #F0ECE1;
  --nova-button-secondary-hover-border: #7A7670;
  --nova-button-secondary-pressed-bg: #E2DDCD;
  --nova-button-secondary-pressed-border: #7A7670;
  --nova-button-secondary-pressed-scale: 0.99;
  --nova-button-tertiary-rest-bg: transparent;
  --nova-button-tertiary-rest-label: #5C5649;
  --nova-button-tertiary-hover-label: #232220;
  --nova-button-tertiary-hover-bg: #F0ECE1;
  --nova-button-tertiary-pressed-label: #232220;
  --nova-button-tertiary-pressed-bg: #E2DDCD;
  --nova-button-tertiary-pressed-scale: 0.99;
  --nova-button-destructive-solid-rest-bg: #A02828;
  --nova-button-destructive-solid-rest-label: #FFFFFF;
  --nova-button-destructive-solid-hover-bg: #7E2020;
  --nova-button-destructive-solid-pressed-bg: #661A1A;
  --nova-button-destructive-solid-pressed-scale: 0.99;
  --nova-button-destructive-subtle-rest-bg: transparent;
  --nova-button-destructive-subtle-rest-label: #A02828;
  --nova-button-destructive-subtle-hover-bg: #F6E4E4;
  --nova-button-destructive-subtle-hover-label: #A02828;
  --nova-button-destructive-subtle-pressed-bg: #EFD3D3;
  --nova-button-destructive-subtle-pressed-label: #A02828;
  --nova-button-destructive-subtle-pressed-scale: 0.99;
  --nova-button-light-fill-on-neutral100-hover-bg: #E8E3D8;
  --nova-button-light-fill-on-neutral100-pressed-bg: #D7CFBA;
  --nova-button-cta-on-dark-rest-bg: #D6EE40;
  --nova-button-cta-on-dark-rest-label: #232220;
  --nova-button-cta-on-dark-hover-bg: #C5DF2C;
  --nova-button-cta-on-dark-pressed-bg: #B6D11F;
  --nova-button-disabled-bg: #F0ECE1;
  --nova-button-disabled-label: #9A9288;
  --nova-button-focus-ring: #5C5649;
  --nova-button-focus-width: 1px;
  --nova-button-focus-offset: 2px;
  --nova-button-sizes-default: 44px;
  --nova-button-sizes-compact: 32px;
  --nova-button-press-scale: 0.99;
  --nova-button-icon-size: 16px;
  --nova-button-icon-gap: 8px;
}


/* Fonts, declared exactly as Nova's own src/index.css does (reference/index.css):
   Saans as one variable file; Ionic Modern Micro as its two licensed cuts, where
   the weight names the cut (TY5): 300 Light, 400 Regular. */
@font-face {
  font-family: 'Saans';
  font-display: swap;
  font-weight: 300 700;
  font-style: normal;
  src: url('/assets/fonts/SaansVFUprights.woff2?v=sha256%3Af95ac103daa449edfba46669fe838b7b7c17ae007bd3759f10b01d61088088ab') format('woff2');
}
@font-face {
  font-family: 'Ionic Modern Micro';
  src: url('/assets/fonts/IonicModern-Light.otf?v=sha256%3Af95ac103daa449edfba46669fe838b7b7c17ae007bd3759f10b01d61088088ab') format('opentype');
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Ionic Modern Micro';
  src: url('/assets/fonts/IonicModern-Regular.otf?v=sha256%3Af95ac103daa449edfba46669fe838b7b7c17ae007bd3759f10b01d61088088ab') format('opentype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

/* Ruled values nova.json does not carry as tokens. */
:root {
  --shell-marine-hover: #012A79;              /* B7: link hover */
  --shell-danger: #A02828;                    /* TS-2, ST1: error red */
  --shell-danger-ring: rgba(160,40,40,0.13);  /* SEL1: error ring, danger 13% */
  --shell-ink-divider: rgba(35,34,32,0.10);   /* DR6: a row's top divider, ink 10% */
  --shell-pill-hairline: rgba(35,34,32,0.14); /* T6: the status pill's permanent hairline */
  --shell-table-rule: rgba(35,34,32,0.06);    /* Tables: a row's bottom hairline, ink 6% */
  --shell-status-on-track-bg: #E7FEC8;        /* ST1: On track wash */
  --shell-status-on-track-label: #3F7000;     /* ST1: On track label, 5.50:1 */
  --shell-status-behind-bg: #FFDCDC;          /* ST1: Behind wash */
  --shell-rail-item: rgba(35,34,32,0.72);     /* nav-rail: item at rest, ink 72% */
  --shell-rail-hover: hsl(38 24% 87%);        /* nav-rail: item hover */
  --shell-rail-active: hsl(32 28% 88%);       /* nav-rail: the page peeking through */
  --shell-rail-width: 264px;                  /* nav-rail: R10 */
  --shell-on-dark-eyebrow: rgba(255,255,255,0.55); /* dark-stage: eyebrow, white 55% */
  --shell-on-dark-body: rgba(255,255,255,0.78);    /* dark-stage: body, white 78% */
  --shell-ghost-dark: rgba(255,255,255,0.10);       /* cta-pair-on-dark: ghost fill, white 10% */
  --shell-ghost-dark-hover: rgba(255,255,255,0.16); /* cta-pair-on-dark: ghost hover, white 16% */
  --shell-ghost-dark-border: rgba(255,255,255,0.20);/* cta-pair-on-dark: ghost border, white 20% */
  --shell-callout-ground: var(--nova-neutral-200); /* ST3: a callout's ground on the page; each white surface sets it again */
  /* B1/B13: a light-fill action's hover and press (secondary, tertiary, the back control) on
     the page's neutral-100 canvas. Every ground an action can sit on sets the pair again in the
     rule that paints it: B1's own on white and neutral-50, this one on a neutral-100 or
     neutral-200 field. surfaces.test.ts holds the list. */
  --shell-light-fill-hover: var(--nova-button-light-fill-on-neutral100-hover-bg);
  --shell-light-fill-pressed: var(--nova-button-light-fill-on-neutral100-pressed-bg);
}

*, *::before, *::after { box-sizing: border-box; }
/* Motion with intent (principle 7): a fill or border steps over 140ms as Nova's own
   controls do (reference/ds-demo.ts), declared on the hover and focus states only, so
   entering a state eases and nothing ever animates as a page loads. */
:is(.button, .link, .input, .disclosure > summary, a.rail__item, .stop__part-body):is(:hover, :focus) {
  transition: background-color 140ms ease, border-color 140ms ease, color 140ms ease, box-shadow 140ms ease;
}
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--nova-neutral-100);
  color: var(--nova-text-primary);
  font-family: var(--nova-font-sans);
  font-size: var(--nova-sans-body-size);
  line-height: var(--nova-sans-body-lh);
  font-weight: var(--nova-sans-body-weight);
  -webkit-font-smoothing: antialiased;
}
/* One focus colour on light surfaces (B11): neutral-700, 2px offset; unbordered
   controls take it at 2px, as Nova's own site does (DesignSystemLayout). */
:focus-visible { outline: 2px solid var(--nova-button-focus-ring); outline-offset: 2px; }
.main:focus { outline: none; }

.skip-link {
  position: absolute;
  left: var(--nova-space-8);
  top: -100px;
  z-index: 10;
  padding: var(--nova-space-8) var(--nova-space-16);
  border-radius: var(--nova-radius-pill);
  background: var(--nova-neutral-900);
  color: var(--nova-neutral-white);
  font-weight: var(--nova-sans-label-weight);
  text-decoration: none;
}
.skip-link:focus { top: var(--nova-space-8); }

/* ---------------------------------------------------------------- the shell */

/* Below 768 the rail does not exist (R14): a sticky 60px top bar instead.
   nova-provisional: no bottom tab bar below 768; the learner's journey is one linear path, so a progress strip under the top bar (step N of 8, linking to the overview) and each page's back control (B20) carry navigation there, and a tab bar of eight stages would not fit (2026-09-26) */
.app { min-height: 100vh; }
.topbar {
  position: sticky;
  top: 0;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--nova-space-12);
  height: 60px;
  padding: 0 var(--nova-space-16);
  background: var(--nova-neutral-50);
  --shell-light-fill-hover: var(--nova-button-tertiary-hover-bg);
  --shell-light-fill-pressed: var(--nova-button-tertiary-pressed-bg);
  border-bottom: 1px solid var(--nova-neutral-300);
}
.rail { display: none; }

@media (min-width: 768px) {
  .app {
    display: grid;
    grid-template-columns: calc(var(--shell-rail-width) + var(--nova-space-8)) minmax(0, 1fr);
    align-items: start;
  }
  .topbar { display: none; }
  /* nav-rail: 264 wide, neutral-50, a neutral-300 right hairline, radius/surface,
     padding 16/12/12/12, 8px in from the viewport, shadow/floating. */
  .rail {
    position: sticky;
    top: var(--nova-space-8);
    display: flex;
    flex-direction: column;
    gap: var(--nova-space-32);
    width: var(--shell-rail-width);
    height: calc(100vh - var(--nova-space-16));
    margin: var(--nova-space-8) 0 var(--nova-space-8) var(--nova-space-8);
    padding: var(--nova-space-16) var(--nova-space-12) var(--nova-space-12);
    overflow-y: auto;
    background: var(--nova-neutral-50);
    --shell-light-fill-hover: var(--nova-button-tertiary-hover-bg);
    --shell-light-fill-pressed: var(--nova-button-tertiary-pressed-bg);
    border-right: 1px solid var(--nova-neutral-300);
    border-radius: var(--nova-radius-surface);
    box-shadow: var(--nova-shadow-floating);
  }
  .rail > .lockup { margin: var(--nova-space-8) var(--nova-space-12) 0; }
}

/* The product lock-up, compact (reference/product-lockup.tsx): name Saans 20/500
   at -0.015em, the monogram at the name's cap height (x 0.725 = 14.5px) sitting on
   the baseline, a hairline in currentColor at 18% and 0.95 of the name size, gap 12. */
.lockup {
  display: inline-flex;
  align-items: baseline;
  gap: var(--nova-space-12);
  color: var(--nova-text-primary);
  text-decoration: none;
}
.lockup__mark-box { display: inline-block; vertical-align: baseline; }
.lockup__mark { display: block; }
.lockup__rule {
  display: inline-block;
  align-self: center;
  width: 1px;
  height: 19px;
  background: currentColor;
  opacity: 0.18;
}
.lockup__name { font-size: 20px; font-weight: 500; letter-spacing: -0.015em; line-height: 1; }

.rail__nav { display: grid; gap: var(--nova-space-24); }
/* The group heading is the eyebrow (widened to product-nav group headings, 16 Sept). */
.rail__heading {
  margin: 0 0 var(--nova-space-8);
  padding: 0 var(--nova-space-12);
  color: var(--nova-text-eyebrow);
  font-size: var(--nova-sans-eyebrow-size);
  line-height: var(--nova-sans-eyebrow-lh);
  font-weight: var(--nova-sans-eyebrow-weight);
  letter-spacing: var(--nova-sans-eyebrow-tracking);
  text-transform: uppercase;
}
.rail__items { display: grid; gap: var(--nova-space-2); margin: 0; padding: 0; list-style: none; }
/* nav-rail items: Saans 14/500, ink 72% at rest, 12px sides; hover and active are the two
   warm tints with solid ink; no rings, no borders.
   nova-provisional: item height is 36 (8px vertical padding around the 14/1.4 label), from Nova's own site nav, since the pattern's "24px vertical rhythm" does not fix a padding (2026-09-25) */
.rail__item {
  display: flex;
  align-items: center;
  gap: var(--nova-space-8);
  min-height: 36px;
  padding: var(--nova-space-8) var(--nova-space-12);
  border-radius: var(--nova-radius-control);
  color: var(--shell-rail-item);
  font-size: var(--nova-sans-label-size);
  line-height: var(--nova-sans-label-lh);
  font-weight: var(--nova-sans-label-weight);
  text-decoration: none;
}
a.rail__item:hover { background: var(--shell-rail-hover); color: var(--nova-text-primary); }
.rail__item--active, a.rail__item--active:hover { background: var(--shell-rail-active); color: var(--nova-text-primary); }
.rail__label { flex: 1 1 auto; min-width: 0; }
/* nova-provisional: a journey stage nobody can act on yet is plain text at text/secondary; a done one carries a 16px ink tick; the nav rail rules items, not stages (2026-09-25) */
.rail__item--static { color: var(--nova-text-secondary); }
.rail__item--done { color: var(--nova-text-primary); }
.rail__tick { width: 16px; height: 16px; flex: none; }
/* ST7: an attention dot is allowed on an interactive element that needs the person. */
.rail__dot { width: 8px; height: 8px; flex: none; border-radius: var(--nova-radius-full); background: var(--nova-neutral-900); }
.rail__foot {
  display: grid;
  gap: var(--nova-space-12);
  margin-top: auto;
  padding: var(--nova-space-16) var(--nova-space-12) var(--nova-space-4);
  border-top: 1px solid var(--shell-ink-divider);
}
.rail__person { display: grid; gap: var(--nova-space-8); justify-items: start; }
.rail__who {
  margin: 0;
  font-size: var(--nova-sans-label-size);
  line-height: var(--nova-sans-label-lh);
  font-weight: var(--nova-sans-label-weight);
  overflow-wrap: anywhere;
}
/* nova-provisional: the environment marker is one caption line in the rail foot, text/secondary at sans/helper, so it is present but quiet (2026-09-25) */
.rail__env {
  margin: 0;
  color: var(--nova-text-secondary);
  font-size: var(--nova-sans-helper-size);
  line-height: var(--nova-sans-helper-lh);
}
.signout { margin: 0; }
/* nova-provisional: the test persona switcher (non-production rigs only) sits in the rail foot, and below 768 in a strip under the top bar on the rail's own neutral-50 with its hairline: a label "Acting as" at sans/label, a 32px compact select on the field recipe beside a compact secondary "Switch" (one control height per row), then one helper line in text/secondary; Nova has no account or persona switcher ruling (2026-10-28) */
.personas { display: grid; gap: var(--nova-space-8); margin: 0; }
.personas__label {
  font-size: var(--nova-sans-label-size);
  line-height: var(--nova-sans-label-lh);
  font-weight: var(--nova-sans-label-weight);
}
.personas__row { display: flex; align-items: center; gap: var(--nova-space-8); }
.personas__select {
  flex: 1 1 auto;
  min-width: 0;
  min-height: var(--nova-button-sizes-compact);
  padding: 0 var(--nova-space-12);
  font-size: var(--nova-sans-label-size);
}
.personas__note {
  margin: 0;
  color: var(--nova-text-secondary);
  font-size: var(--nova-sans-helper-size);
  line-height: var(--nova-sans-helper-lh);
}
.persona-bar {
  padding: var(--nova-space-12) var(--nova-space-16);
  background: var(--nova-neutral-50);
  --shell-light-fill-hover: var(--nova-button-tertiary-hover-bg);
  --shell-light-fill-pressed: var(--nova-button-tertiary-pressed-bg);
  border-bottom: 1px solid var(--nova-neutral-300);
}
@media (min-width: 768px) { .persona-bar { display: none; } }

/* ---------------------------------------------------------- the page frame */

/* Page gutter ladder (R14): space/16 below 640, space/24 from 640, space/40 from 768. */
.main {
  min-width: 0;
  padding: var(--nova-space-24) var(--nova-space-16) var(--nova-space-48);
  container: main / inline-size;
}
@media (min-width: 640px) { .main { padding-inline: var(--nova-space-24); } }
/* From 768 a page scrolled to its end stops 8px above the screen's edge, as the rail does, at Alex's request (2026-11-02). */
@media (min-width: 768px) { .main { padding: var(--nova-space-40) var(--nova-space-40) var(--nova-space-8); } }

/* nova-provisional: page frames are capped (narrow 760, focus 1120, wide 1200) and centred below 768; from 768 they sit against the rail at the 40px gutter and spare width falls to the right, so the rail and the page read as one layout rather than two islands (2026-09-26) */
.page { margin-inline: auto; }
@media (min-width: 768px) { .page { margin-inline: 0; } }
.page--narrow { max-width: 760px; }
.page--focus { max-width: 1120px; }
.page--wide { max-width: 1200px; }

/* Focus frame: the task column and a context panel beside it. Two columns need
   768px of CONTENT width (R14), so the switch is a container query, not a viewport one. */
.focus { display: grid; gap: var(--nova-space-40); }
@container main (min-width: 880px) {
  .focus {
    grid-template-columns: minmax(0, 1fr) minmax(280px, 340px);
    column-gap: var(--nova-space-48);
    align-items: start;
  }
  .focus__aside { position: sticky; top: var(--nova-space-40); }
}
.focus__main { min-width: 0; }

/* A page's head: where you are, the page title, one line of context. Larger gaps
   between sections than within them: head to content is space/32. */
.page-head { margin: 0 0 var(--nova-space-32); }
.page-head > :last-child { margin-bottom: 0; }

/* Head to content is space/32 wherever a page title is followed straight by content. */
.headline + :is(.card, section, form, .stats, .notice, .dark-stage, dl),
.lede + :is(.card, section, form, .notice, .dark-stage) { margin-top: var(--nova-space-8); }
.stats + :is(.card, section) { margin-top: var(--nova-space-32); }

/* Stacks of cards and sections. */
.stack { display: grid; gap: var(--nova-space-16); }
.card + .card, .card + .section, .section + .card, .section + .section { margin-top: var(--nova-space-16); }
.section { margin-top: var(--nova-space-40); }

/* --------------------------------------------------------------- typography */

/* serif/headline 34 Regular: the page title, or a greeting that names the person. */
.headline {
  margin: 0 0 var(--nova-space-12);
  font-family: var(--nova-font-serif);
  font-size: var(--nova-serif-headline-size);
  line-height: var(--nova-serif-headline-lh);
  font-weight: var(--nova-serif-headline-weight);
  letter-spacing: var(--nova-serif-headline-tracking);
}
/* serif/title 28 Light: the subject of a section, or the question a screen asks. */
.question, .subject {
  margin: 0 0 var(--nova-space-12);
  font-family: var(--nova-font-serif);
  font-size: var(--nova-serif-title-size);
  line-height: var(--nova-serif-title-lh);
  font-weight: var(--nova-serif-title-weight);
  letter-spacing: var(--nova-serif-title-tracking);
}
.question label { cursor: default; }
.question-legend { padding: 0; margin: 0; }
/* sans/title-large 22: widget and card titles. */
.title {
  margin: 0 0 var(--nova-space-8);
  font-size: var(--nova-sans-title-large-size);
  line-height: var(--nova-sans-title-large-lh);
  font-weight: var(--nova-sans-title-large-weight);
  letter-spacing: var(--nova-sans-title-large-tracking);
}
/* sans/title-medium 18: a direct question, or a line that sets up an action. */
.prompt, .subtitle {
  margin: var(--nova-space-24) 0 var(--nova-space-8);
  font-size: var(--nova-sans-title-medium-size);
  line-height: var(--nova-sans-title-medium-lh);
  font-weight: var(--nova-sans-title-medium-weight);
  letter-spacing: var(--nova-sans-title-medium-tracking);
}
/* sans/body-large 18: context above a question or below a title. */
.lede {
  margin: 0 0 var(--nova-space-24);
  max-width: 640px;
  text-wrap: pretty;
  color: var(--nova-text-secondary);
  font-size: var(--nova-sans-body-large-size);
  line-height: var(--nova-sans-body-large-lh);
  letter-spacing: var(--nova-sans-body-large-tracking);
}
.body { margin: 0 0 var(--nova-space-16); text-wrap: pretty; }
.headline, .question, .subject, .title { text-wrap: balance; }
.body:last-child { margin-bottom: 0; }
/* Bold words inside running text (strong, b) are a true Saans 600, as Nova's weight rule
   (amended 8 Oct) rules; the Saans file is variable and declared 300 to 700, so 600 needs no
   new font. Emphasis on a label, title or name that stands on its own (a legend, a row's name,
   a staff tool's code) is .strong, which takes sans/label's weight, so it stays at the 500 cap
   if the emphasis token moves. Other buttons, titles and labels still read the emphasis token,
   and .draft__value reads it on purpose, as emphasis inside body. nova.md's "300/400/500 only"
   predates the 8 Oct amendment; the rulebook (llms.txt) wins.
   nova-provisional: the sans/body-strong token ("emphasis inside body") still says 500 where
   the rule says 600 for bold words in running text; the rule wins here, and the mismatch, with
   the rules that would move if the token did, is for #ask-nova (2026-10-29) */
.strong { font-weight: var(--nova-sans-label-weight); }
strong, b { font-weight: 600; }
/* sans/helper 14 in text/secondary: only what could be deleted (PL4). */
.helper, .hint, .source {
  display: block;
  margin: 0;
  color: var(--nova-text-secondary);
  font-size: var(--nova-sans-helper-size);
  line-height: var(--nova-sans-helper-lh);
}
.reference { margin-top: var(--nova-space-24); }
/* Where the person is: sans/label 14/500 in text/secondary. Sentence case, not an
   eyebrow: eyebrows are for reports and nav group headings only. */
.kicker {
  display: block;
  margin: 0 0 var(--nova-space-8);
  color: var(--nova-text-secondary);
  font-size: var(--nova-sans-label-size);
  line-height: var(--nova-sans-label-lh);
  font-weight: var(--nova-sans-label-weight);
}
.eyebrow {
  margin: 0 0 var(--nova-space-12);
  color: var(--nova-text-eyebrow);
  font-size: var(--nova-sans-eyebrow-size);
  line-height: var(--nova-sans-eyebrow-lh);
  font-weight: var(--nova-sans-eyebrow-weight);
  letter-spacing: var(--nova-sans-eyebrow-tracking);
  text-transform: uppercase;
}
.plain-list { margin: 0; padding-left: var(--nova-space-20); color: var(--nova-text-secondary); }
.steps { margin: 0 0 var(--nova-space-16); padding-left: var(--nova-space-24); }
.steps li { padding: var(--nova-space-4) 0; }
.divider { border: 0; border-top: 1px solid var(--shell-ink-divider); margin: var(--nova-space-24) 0; }

/* -------------------------------------------------------------------- cards */

/* A content card is borderless: white on the canvas, separated by tone alone
   (colour rule 8), radius/container 16 (R15), pad/box 20/24. */
.card {
  background: var(--nova-neutral-white);
  --shell-callout-ground: var(--nova-neutral-100);
  --shell-light-fill-hover: var(--nova-button-tertiary-hover-bg);
  --shell-light-fill-pressed: var(--nova-button-tertiary-pressed-bg);
  border-radius: var(--nova-radius-container);
  padding: var(--nova-pad-box-v) var(--nova-pad-box-h);
}
.card > :last-child { margin-bottom: 0; }
/* nova-provisional: the one task card on a single-focus screen pads space/32 from 640 up, one scale step past pad/box, because the brand reads airy (PL2) and pad/box reads cramped around a whole form (2026-09-25) */
@container main (min-width: 640px) { .card--task { padding: var(--nova-space-32); } }

/* A context panel beside the task: context that is merely true, so no card (DR7);
   sections sit on the canvas, divided by the ink-10% rule. */
.panel { display: grid; gap: 0; }
.panel__section { padding: var(--nova-space-20) 0; border-top: 1px solid var(--shell-ink-divider); }
.panel__section:first-child { padding-top: 0; border-top: 0; }
.panel__title {
  margin: 0 0 var(--nova-space-8);
  font-size: var(--nova-sans-body-strong-size);
  line-height: var(--nova-sans-body-strong-lh);
  font-weight: var(--nova-sans-body-strong-weight);
}
.panel .body { color: var(--nova-text-secondary); }

/* ------------------------------------------------------------------ buttons */

/* ds-demo.ts .demo-btn: Saans 16/500, a full pill, 44 high (32 compact), 24px sides,
   nowrap and never shrinking (B15), at least 120 wide (88 compact, B18), colour-step
   hover, press to the deepest fill at 0.99 (B12). */
.actions { display: flex; flex-wrap: wrap; gap: var(--nova-space-12); align-items: center; margin: var(--nova-space-24) 0 0; }
.actions:first-child { margin-top: 0; }
form.actions { margin-top: var(--nova-space-24); }
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--nova-button-icon-gap);
  flex-shrink: 0;
  min-width: 120px;
  height: var(--nova-button-sizes-default);
  padding: 0 var(--nova-pad-pill-h);
  border: 1px solid transparent;
  border-radius: var(--nova-radius-pill);
  font: inherit;
  font-size: var(--nova-sans-body-size);
  line-height: 1;
  font-weight: var(--nova-sans-body-strong-weight);
  white-space: nowrap;
  text-decoration: none;
  cursor: pointer;
  background: var(--nova-button-primary-rest-bg);
  color: var(--nova-button-primary-rest-label);
}
.button:hover { background: var(--nova-button-primary-hover-bg); }
.button:active { background: var(--nova-button-primary-pressed-bg); transform: scale(var(--nova-button-press-scale)); }
.button:focus-visible {
  outline: var(--nova-button-focus-width) solid var(--nova-button-focus-ring);
  outline-offset: var(--nova-button-focus-offset);
}
.button--secondary {
  background: var(--nova-button-secondary-rest-bg);
  color: var(--nova-button-secondary-rest-label);
  border-color: var(--nova-button-secondary-rest-border);
}
/* B1/B13: secondary and tertiary share one light-fill hover and press, which steps once further
   on a neutral-100 ground. The ground sets the pair (--shell-light-fill-hover and -pressed, see
   :root), so an action takes the right step wherever it sits. */
.button--secondary:hover { background: var(--shell-light-fill-hover); border-color: var(--nova-button-secondary-hover-border); }
.button--secondary:active { background: var(--shell-light-fill-pressed); border-color: var(--nova-button-secondary-pressed-border); }
.button--tertiary { background: var(--nova-button-tertiary-rest-bg); color: var(--nova-button-tertiary-rest-label); }
.button--tertiary:hover { background: var(--shell-light-fill-hover); color: var(--nova-button-tertiary-hover-label); }
.button--tertiary:active { background: var(--shell-light-fill-pressed); color: var(--nova-button-tertiary-pressed-label); }
.button--compact { min-width: 88px; height: var(--nova-button-sizes-compact); padding: 0 var(--nova-space-16); font-size: var(--nova-sans-label-size); }
.button:disabled { background: var(--nova-button-disabled-bg); color: var(--nova-button-disabled-label); border-color: transparent; cursor: default; transform: none; }
@media (prefers-reduced-motion: reduce) { .button:active { transform: none; } }
/* The CTA's chartreuse arrow: forward actions only, the only thing that marks a CTA, and it never moves. */
.button__arrow { width: var(--nova-button-icon-size); height: var(--nova-button-icon-size); color: var(--nova-chartreuse); flex: none; }
.button__icon { width: var(--nova-button-icon-size); height: var(--nova-button-icon-size); flex: none; }
/* BG3: below 640px of content width a group stacks, each action full width, primary on top. */
@container main (max-width: 639px) {
  .actions { flex-direction: column; align-items: stretch; }
  .actions > .button, .actions > form, .actions > form > .button { width: 100%; }
}

/* B20 page-level back control: a compact tertiary button (button button--tertiary
   button--compact, so B1's states on its ground, B11's ring, B12's press and B18's floor come
   from there) with a leading 16px arrow in the label colour (B6). Only what B20 adds is here:
   the arrow at the start, B17's padding (12 on the arrow side, 16 on the label side), and the
   hang by the arrow-side padding, so at rest the arrow sits on the content edge in line with the
   title below and the hover pill reaches into the margin. No border, so the arrow sits exactly
   12 in. Built by BackControl in layout.tsx. */
.back-link {
  justify-content: flex-start;
  margin: 0 0 var(--nova-space-24);
  margin-inline-start: calc(var(--nova-space-12) * -1);
  padding-block: 0;
  padding-inline: var(--nova-space-12) var(--nova-space-16);
  border-width: 0;
  font-weight: var(--nova-sans-label-weight);
}

/* dark-stage: flat ink, radius/surface, padding 44/44/40, content 560 (card 648);
   eyebrow white 55%; serif 28 Light in white; body 16/1.5 white 78%. Only for the
   exceptional (DR8): a milestone, never a routine step. */
.dark-stage {
  max-width: 648px;
  padding: 44px 44px 40px;
  border-radius: var(--nova-radius-surface);
  background: var(--nova-neutral-900);
  color: var(--nova-neutral-white);
}
@container main (max-width: 639px) { .dark-stage { padding: var(--nova-space-32) var(--nova-space-24); } }
.dark-stage .eyebrow { color: var(--shell-on-dark-eyebrow); }
.dark-stage__title {
  margin: 0 0 var(--nova-space-12);
  font-family: var(--nova-font-serif);
  font-size: var(--nova-serif-title-size);
  line-height: var(--nova-serif-title-lh);
  font-weight: var(--nova-serif-title-weight);
  letter-spacing: var(--nova-serif-title-tracking);
}
.dark-stage .body { color: var(--shell-on-dark-body); line-height: 1.5; }
/* cta-pair-on-dark: the one chartreuse fill, ink label and arrow; the ghost beside it. */
.button--on-dark { background: var(--nova-button-cta-on-dark-rest-bg); color: var(--nova-button-cta-on-dark-rest-label); }
.button--on-dark:hover { background: var(--nova-button-cta-on-dark-hover-bg); }
.button--on-dark:active { background: var(--nova-button-cta-on-dark-pressed-bg); }
.button--on-dark .button__arrow { color: currentColor; }
.button--ghost-dark { background: var(--shell-ghost-dark); color: var(--nova-neutral-white); border-color: var(--shell-ghost-dark-border); }
.button--ghost-dark:hover { background: var(--shell-ghost-dark-hover); }
.dark-stage .button:focus-visible, .dark-stage .link:focus-visible { outline: 2px solid var(--nova-focus-on-dark-ring); outline-offset: 2px; }
.dark-stage .link { color: var(--nova-neutral-white); }
.dark-stage .link:hover { color: var(--shell-on-dark-body); }

/* nova-provisional: the programme recommendation page, built to the Claude Design handoff v2 of
   2026-10-26 (high fidelity; v1 of 2026-10-22). Nova has no ruling on it; every colour, radius
   and font is a Nova token or the handoff's own value. Departures from Nova's text: the eyebrow
   is the handoff's 12px (Nova says 11); the handoff's second rule colour #E2DDCD is Nova's
   neutral-300 (no new hex is minted); the tabs, the tooltip and the Next button have no Nova
   ruling and are built from its tokens (2026-10-26). The programme pictures are not part of
   this: they follow Nova's programme imagery ruling (PI1), the card picture cover-fitted into
   the strip and the brown tile for a programme Nova has no picture for, never a blank box. The
   other programmes' tiles stay the handoff's 56px, where PI1 says 48px in a row (2026-10-29) */
.rec { display: flex; flex-direction: column; gap: var(--nova-space-32); }
.rec__head { display: flex; flex-direction: column; gap: 10px; }
.rec__title {
  margin: 0;
  font-family: var(--nova-font-serif);
  font-size: 44px;
  line-height: 1.05;
  font-weight: 400;
  letter-spacing: -0.035em;
}
.rec-eyebrow {
  margin: 0;
  color: var(--nova-text-secondary);
  font-size: 12px;
  line-height: 1.2;
  font-weight: 500;
  letter-spacing: 1.4px;
  text-transform: uppercase;
}
/* The card holds the tooltips, so it never clips: the picture rounds its own top corners. */
.rec-card { display: flex; flex-direction: column; border-radius: var(--nova-radius-surface); background: var(--nova-neutral-white); --shell-callout-ground: var(--nova-neutral-100); --shell-light-fill-hover: var(--nova-button-tertiary-hover-bg); --shell-light-fill-pressed: var(--nova-button-tertiary-pressed-bg); }
.rec-card, .rec-other { overflow-wrap: anywhere; }
.rec-card__picture {
  display: block;
  width: 100%;
  height: 200px;
  border-radius: var(--nova-radius-surface) var(--nova-radius-surface) 0 0;
  object-fit: cover;
}
.rec-identity { display: flex; flex-direction: column; gap: 16px; padding: 32px 40px; }
.rec-pill {
  align-self: flex-start;
  padding: 4px 10px;
  border-radius: var(--nova-radius-full);
  background: var(--nova-neutral-200);
  font-size: 12px;
  line-height: 1.2;
  font-weight: 500;
  letter-spacing: 1.4px;
  text-transform: uppercase;
}
.rec-identity__row { display: flex; flex-wrap: wrap; align-items: flex-start; justify-content: space-between; gap: 16px 24px; margin-top: -8px; }
.rec-identity__title { flex: 1 1 280px; min-width: 0; display: flex; flex-direction: column; gap: 8px; }
.rec-identity__action { flex: none; display: flex; flex-direction: column; gap: 12px; }
.rec-name {
  margin: 0;
  font-family: var(--nova-font-serif);
  font-size: 40px;
  line-height: 1.05;
  font-weight: 400;
  letter-spacing: -0.035em;
}
.rec-meta { margin: 0; color: var(--nova-text-secondary); font-size: 15px; }
.rec-chosen { margin: 0; font-size: 16px; line-height: 1.5; }
.rec-matchline { margin: 0; max-width: 680px; font-size: 18px; line-height: 1.55; text-wrap: pretty; }
/* The bar's bottom rule is an inset shadow, so the selected tab's 2px ink border sits over it
   and nothing overlaps the bar's edge (an overlap would make the bar scroll). */
.rec-tabs {
  display: flex;
  padding: 0 24px;
  border-top: 1px solid var(--nova-neutral-300);
  box-shadow: inset 0 -1px 0 var(--nova-neutral-300);
}
.rec-tab {
  appearance: none;
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin: 0;
  padding: 20px 16px 18px;
  border: 0;
  border-bottom: 2px solid transparent;
  background: none;
  color: inherit;
  font: inherit;
  text-align: left;
  cursor: pointer;
}
.rec-tab__num { color: var(--nova-text-secondary); font-size: 12px; font-weight: 500; letter-spacing: 1.4px; }
.rec-tab__label { color: var(--nova-text-secondary); font-size: 16px; line-height: 1.3; font-weight: 500; }
.rec-tab[aria-selected="true"] { border-bottom-color: var(--nova-text-primary); }
.rec-tab[aria-selected="true"] .rec-tab__label { color: var(--nova-text-primary); }
.rec-panel { display: flex; flex-direction: column; gap: 28px; padding: 36px 40px 40px; }
.rec-panel[hidden] { display: none; }
.rec-section, .rec-reading { display: flex; flex-direction: column; gap: 12px; }
.rec-reading { gap: 6px; }
.rec-words {
  margin: 0;
  font-family: var(--nova-font-serif);
  font-size: 28px;
  line-height: 1.35;
  letter-spacing: -0.025em;
  text-wrap: pretty;
}
.rec-words--goal { font-size: 30px; }
.rec-words--small { font-size: 22px; }
.rec-challenge { margin: 0; font-size: 22px; font-weight: 500; letter-spacing: -0.02em; }
.rec-definition { margin: 0; max-width: 600px; color: var(--nova-text-secondary); font-size: 16px; line-height: 1.55; }
.rec-lead {
  margin: 0;
  max-width: 640px;
  font-family: var(--nova-font-serif);
  font-size: 28px;
  line-height: 1.25;
  font-weight: 400;
  letter-spacing: -0.03em;
  text-wrap: pretty;
}
.rec-also { border-top: 1px solid var(--nova-neutral-300); border-bottom: 1px solid var(--nova-neutral-300); }
.rec-also + .rec-also { border-top: 0; }
.rec-also__summary, .rec-other__summary { list-style: none; cursor: pointer; }
.rec-also__summary::-webkit-details-marker, .rec-other__summary::-webkit-details-marker { display: none; }
.rec-also__summary { display: flex; align-items: center; gap: 16px; padding: 16px 0; }
.rec-also__text, .rec-other__text { flex: 1; display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.rec-also__title { font-size: 18px; font-weight: 500; letter-spacing: -0.015em; }
.rec-also__body { display: flex; flex-direction: column; gap: 16px; padding-bottom: 20px; }
.rec-chevron { flex: none; color: var(--nova-text-primary); transition: transform 200ms ease; }
details[open] > summary > .rec-chevron { transform: rotate(180deg); }
.rec-skills, .rec-projects { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 10px; }
.rec-skill {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 200px;
  gap: 24px;
  align-items: start;
  padding: 16px 20px;
  border-radius: var(--nova-radius-md);
  background: var(--nova-neutral-100);
}
.rec-skill__text { display: flex; flex-direction: column; gap: 6px; }
.rec-skill__name { margin: 0; font-size: 16px; font-weight: 500; }
.rec-skill__why { margin: 0; font-size: 16px; line-height: 1.5; text-wrap: pretty; }
.rec-skill__level { display: flex; flex-direction: column; gap: 6px; padding-top: 4px; }
.rec-skill__label { margin: 0; color: var(--nova-text-secondary); font-size: 14px; }
/* The level on the skill's 14px label line is a label's value, so its bold caps at 500. */
.rec-skill__label strong { color: var(--nova-text-primary); font-weight: var(--nova-sans-label-weight); }
.rec-level { display: flex; gap: 4px; }
.rec-level__segment { flex: 1; height: 6px; border-radius: var(--nova-radius-full); background: var(--nova-neutral-300); }
.rec-level__segment--on { background: var(--nova-transient-violet); }
/* The tooltip opens on hover, and on focus (a tap focuses the trigger too). */
.rec-tip { position: relative; align-self: flex-start; display: flex; }
.rec-tip__trigger {
  appearance: none;
  display: flex;
  align-items: center;
  gap: 6px;
  margin: -10px 0;
  padding: 10px 0;
  border: 0;
  background: none;
  color: inherit;
  font: inherit;
  font-size: 16px;
  font-weight: 500;
  text-align: left;
  cursor: help;
}
.rec-tip__trigger svg { flex: none; color: var(--nova-neutral-600); }
.rec-tip__bubble {
  display: none;
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  z-index: 10;
  width: 340px;
  max-width: calc(100vw - 64px);
  padding: 12px 14px;
  border-radius: var(--nova-radius-sm);
  background: var(--nova-text-primary);
  box-shadow: var(--nova-shadow-floating);
  color: var(--nova-neutral-white);
  font-size: 14px;
  font-weight: 400;
  line-height: 1.5;
  text-wrap: pretty;
}
.rec-tip:hover .rec-tip__bubble, .rec-tip:focus-within .rec-tip__bubble { display: block; }
/* Projects stack one to a row (PRE-1400, 2026-11-17). They sat two to a row, stretched to one
   height with the disclosure pinned to the card's foot, so opening one card moved the other
   card's "What you would do" out from under the pointer. The list's flex column comes from
   the shared .rec-skills, .rec-projects rule. */
/* nova-provisional: the 01/02 number in a 32px column beside the title, sans/label in
   text/secondary, so two stacked cards read as a set rather than a repeat (2026-11-17) */
.rec-project { display: grid; grid-template-columns: 32px minmax(0, 1fr); column-gap: 16px; padding: 24px 28px; border-radius: var(--nova-radius-md); background: var(--nova-neutral-100); --shell-light-fill-hover: var(--nova-button-light-fill-on-neutral100-hover-bg); --shell-light-fill-pressed: var(--nova-button-light-fill-on-neutral100-pressed-bg); }
.rec-project__number { color: var(--nova-text-secondary); font-size: 14px; font-weight: 500; line-height: calc(var(--nova-sans-title-large-size) * var(--nova-sans-title-large-lh)); font-variant-numeric: tabular-nums; }
.rec-project__body { min-width: 0; display: flex; flex-direction: column; gap: 8px; }
.rec-project__title { margin: 0; font-size: var(--nova-sans-title-large-size); line-height: var(--nova-sans-title-large-lh); font-weight: var(--nova-sans-title-large-weight); letter-spacing: var(--nova-sans-title-large-tracking); text-wrap: balance; }
.rec-project__why { margin: 0; max-width: 640px; font-size: 16px; line-height: 1.5; text-wrap: pretty; }
.rec-project__more { margin-top: 8px; border-top: 1px solid var(--nova-neutral-300); }
/* nova-provisional: the curriculum's project overviews are paragraphs, where the handoff drew a
   one-line description, so the overview sits behind a disclosure until short ones exist (2026-10-26) */
/* The disclosure is sans/body-strong in ink under a hairline; the 22px title above it is what
   leads. A 14px text/secondary control was tried and read too quiet (Alex, 2026-11-17). */
.rec-project__summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 0 4px; color: var(--nova-text-primary); font-size: 16px; font-weight: 500; line-height: 1.5; }
.rec-project__summary::-webkit-details-marker { display: none; }
/* The overview is content the learner reads, so it is sans/body (Nova PL4), not helper. */
.rec-project__overview { margin: 8px 0 0; max-width: 640px; color: var(--nova-text-primary); font-size: 16px; line-height: 1.6; text-wrap: pretty; }
.rec-closing { display: flex; flex-direction: column; gap: 16px; padding-top: 24px; border-top: 1px solid var(--nova-neutral-300); }
.rec-closing__line { margin: 0; max-width: 640px; font-size: 17px; line-height: 1.55; text-wrap: pretty; }
.rec-next {
  appearance: none;
  display: flex;
  align-items: center;
  gap: 16px;
  width: 100%;
  padding: 18px 24px;
  border: 0;
  border-radius: var(--nova-radius-md);
  background: var(--nova-neutral-100);
  --shell-light-fill-hover: var(--nova-button-light-fill-on-neutral100-hover-bg);
  --shell-light-fill-pressed: var(--nova-button-light-fill-on-neutral100-pressed-bg);
  color: inherit;
  font: inherit;
  text-align: left;
  cursor: pointer;
}
.rec-next:hover { background: var(--nova-neutral-200); }
.rec-next__text { flex: 1; display: flex; flex-direction: column; gap: 4px; }
.rec-next__label { color: var(--nova-text-secondary); font-size: 14px; }
.rec-next__teaser { font-size: 18px; line-height: 1.35; font-weight: 500; letter-spacing: -0.015em; }
.rec-next__arrow { flex: none; }
.rec-others { display: flex; flex-direction: column; gap: 12px; }
.rec-others__title { margin: 0; font-size: 18px; font-weight: 500; letter-spacing: -0.02em; }
/* nova-provisional: on the programme page a full-time programme's "Full time only" chip sits
   under its meta line at its own width, and the full-time group's note is a hint line under
   its heading, inside the group's 12px rhythm (ADR 20261106154230; 2026-11-11) */
.rec-full-time { align-self: flex-start; display: inline-flex; margin-top: var(--nova-space-4); }
.rec-others > .hint { margin: 0; }
/* nova-provisional: on the programme page, while the match is part time, the full-time group
   waits behind "Show full-time programmes", a secondary button that opens it in place (a
   details disclosure: nothing saved, everything already assessed) and then steps aside, one
   way, as on the browse list (ADR 20261106154230; 2026-11-11) */
.rec-full-time-reveal > summary { list-style: none; cursor: pointer; align-self: flex-start; width: fit-content; }
.rec-full-time-reveal > summary::-webkit-details-marker { display: none; }
.rec-full-time-reveal[open] > summary { display: none; }
.rec-full-time-reveal__body { display: flex; flex-direction: column; gap: var(--nova-space-32); }
/* nova-provisional: where no part-time programme fits, "Show full-time programmes" and "Stop your application" sit side by side, both secondary, as on the browse list; once shown, the list takes the row and the way out steps aside, as on the browse list (2026-11-11) */
.rec-none-fits > details[open] { flex-basis: 100%; }
.rec-none-fits:has(> details[open]) > .rec-none-fits__stop { display: none; }
.rec-other { border-radius: var(--nova-radius-lg); background: var(--nova-neutral-white); --shell-callout-ground: var(--nova-neutral-100); --shell-light-fill-hover: var(--nova-button-tertiary-hover-bg); --shell-light-fill-pressed: var(--nova-button-tertiary-pressed-bg); }
.rec-other__summary { display: flex; align-items: flex-start; gap: 16px; padding: 16px 24px 16px 16px; }
.rec-other__tile { flex: none; width: 56px; height: 56px; border-radius: var(--nova-radius-sm); object-fit: cover; display: block; }
.rec-other__name { font-size: 18px; font-weight: 500; letter-spacing: -0.02em; }
.rec-other__meta { color: var(--nova-text-secondary); font-size: 15px; }
.rec-other__framing { max-width: 600px; margin-top: 4px; font-size: 15px; line-height: 1.5; }
.rec-other__body { display: flex; flex-direction: column; gap: 20px; padding: 4px 24px 24px; }
.rec-other__section { display: flex; flex-direction: column; gap: 10px; }
.rec :is(summary, .button, .rec-tab, .rec-next, .rec-tip__trigger):focus-visible { outline: 2px solid var(--nova-button-focus-ring); outline-offset: 2px; }
@media (prefers-reduced-motion: reduce) { .rec-chevron { transition: none; } }
@container main (max-width: 639px) {
  .rec__title { font-size: 34px; }
  .rec-card__picture { height: 140px; }
  .rec-identity { padding: 24px; }
  .rec-name { font-size: 32px; }
  .rec-tabs { padding: 0 8px; overflow-x: auto; scrollbar-width: none; }
  .rec-tabs::-webkit-scrollbar { display: none; }
  .rec-tab { flex: none; min-width: 140px; }
  .rec-panel { padding: 28px 24px 32px; }
  .rec-words { font-size: 24px; }
  .rec-words--goal { font-size: 26px; }
  .rec-lead { font-size: 24px; }
  .rec-skill { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .rec-project { grid-template-columns: minmax(0, 1fr); row-gap: 4px; padding: 20px; }
  .rec-project__number { line-height: 1.4; }
  .rec-other__body { padding: 4px 16px 20px; }
}

/* -------------------------------------------------------------------- links */

/* B7: Catalyst Marine, a permanent 1px underline at 3px, hover steps colour only. */
.link {
  color: var(--nova-catalyst-marine);
  text-decoration: underline;
  text-decoration-color: currentColor;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
  cursor: pointer;
}
.link:hover { color: var(--shell-marine-hover); }

/* nova-provisional: a disclosure summary reads as an inline link (B7) with a leading 16px chevron that turns when open; Nova has no disclosure ruling (2026-09-25) */
.disclosure > summary {
  display: inline-flex;
  align-items: center;
  gap: var(--nova-space-4);
  list-style: none;
  color: var(--nova-catalyst-marine);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
  cursor: pointer;
}
/* A summary carrying a status pill underlines its title only: a parent's underline is drawn
   through its children and a child cannot turn it off, so it ran under the pill (2026-11-12). */
.disclosure > summary:has(> .pill) { text-decoration: none; }
.disclosure > summary:has(> .pill) > .row__title {
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}
.disclosure > summary::-webkit-details-marker { display: none; }
.disclosure > summary::before {
  content: '';
  width: 6px;
  height: 6px;
  margin: 0 var(--nova-space-4) 0 var(--nova-space-2);
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(-45deg);
  transition: transform 160ms ease;
}
.disclosure[open] > summary::before { transform: rotate(45deg); }
.disclosure > summary:hover { color: var(--shell-marine-hover); }
.disclosure[open] > summary { margin-bottom: var(--nova-space-12); }
/* A responsibility's row on the job page (learner/duties.tsx): its title in ink, not a link,
   the level pill at the right, the chevron and the pill centred on the title's first line
   (Alex Ross, on the design canvas, 2026-11-13). */
.duty-answer > summary,
.duty-answer > summary:hover { display: flex; align-items: flex-start; color: var(--nova-text-primary); }
.duty-answer > summary::before { flex: none; margin-top: calc(0.5lh - 3px); }
.duty-answer > summary > .row__title { flex: 1; min-width: 0; margin-right: var(--nova-space-16); }
.disclosure.duty-answer > summary:has(> .pill) > .row__title { text-decoration: none; }
.disclosure.duty-answer > summary:hover > .row__title { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
/* nova-provisional: a responsibility's row is its own box, a neutral-300 hairline at radius/field, space/16 inside and space/8 between boxes, the whole box the thing to open, with no hover fill (its title underlines), because a row reads more clearly as something to press when it is held in a box (Alex Ross, 2026-11-13) */
/* Only a related responsibility is boxed: the duty it hangs from stays a plain row, open or
   answered (Alex Ross, 2026-11-13). */
.stage-field[data-duty-field="related"]:has(> .duty-answer) { padding: 0; border-top: 0; }
.stage-field[data-duty-field="related"]:has(> .duty-answer) + .stage-field[data-duty-field="related"]:has(> .duty-answer) { margin-top: var(--nova-space-8); }
.hint + .stage-field[data-duty-field="related"]:has(> .duty-answer) { margin-top: var(--nova-space-12); }
[data-duty-field="related"] > .duty-answer { border: 1px solid var(--nova-neutral-300); border-radius: var(--nova-radius-field); }
[data-duty-field="related"] > .duty-answer > summary { padding: var(--nova-space-16); border-radius: calc(var(--nova-radius-field) - 1px); }
[data-duty-field="related"] > .duty-answer[open] { padding-bottom: var(--nova-space-16); }
[data-duty-field="related"] > .duty-answer[open] > summary { margin-bottom: 0; border-radius: calc(var(--nova-radius-field) - 1px) calc(var(--nova-radius-field) - 1px) 0 0; }
[data-duty-field="related"] > .duty-answer > :not(summary) { margin-inline: var(--nova-space-16); }
/* An open row's question says its title again under the row's own: kept for a screen reader,
   out of sight (Alex Ross, 2026-11-13). */
.duty-answer > fieldset.field > legend.field__label {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
/* The pill's own line is 13px, so its offset counts the title's body line, not 1lh. */
.duty-answer > summary > .pill { margin: calc((var(--nova-sans-body-size) * var(--nova-sans-body-lh) - 24px) / 2) 0 0 auto; }
/* Below a 640px column the pill drops under the title, in line with it past the chevron, as a
   card's pill does, so a long responsibility keeps the width. */
@container main (max-width: 639px) {
  .duty-answer > summary { flex-wrap: wrap; row-gap: var(--nova-space-8); }
  .duty-answer > summary > .row__title { flex-basis: calc(100% - 20px); margin-right: 0; }
  .duty-answer > summary > .pill { margin: 0 0 0 calc(12px + var(--nova-space-4)); }
}
.change { margin-top: var(--nova-space-16); }
.disclosure--inset { margin: var(--nova-space-4) 0 0 calc(18px + var(--nova-space-8)); }
.disclosure--inset summary { font-size: var(--nova-sans-label-size); }
.disclosure--inset .field__label { display: block; margin-bottom: var(--nova-space-4); }

/* -------------------------------------------------------------------- forms */

/* Field anatomy: label 14/500 ink 8px above the field; helper 14 neutral-700 6px
   below it; the error message below that (TS-2). Hints and errors come before the
   control in the markup (so they are read first); the column puts them below. */
.form { display: grid; gap: var(--nova-space-24); margin: var(--nova-space-16) 0 0; }
.field { display: flex; flex-direction: column; gap: var(--nova-space-8); margin: 0; padding: 0; border: 0; min-width: 0; }
.field > .hint { order: 2; margin-top: -2px; }
.field > .error-message { order: 3; margin-top: -2px; }
.field > .choices, .field > .choice-block { order: 1; }
fieldset.field > .hint, fieldset.field > .error-message { order: 0; margin-top: 0; }
.field__label {
  font-size: var(--nova-sans-label-size);
  line-height: var(--nova-sans-label-lh);
  font-weight: var(--nova-sans-label-weight);
}
/* nova-provisional: in a section of questions the question (a label or a legend) sits space/16 above its hint and answer, with space/12 between the hint and the answer, and the questions are space/32 apart, so a long answer does not crowd its question; Nova rules the controls, not the spacing between them (2026-10-09) */
.form--roomy { gap: var(--nova-space-32); }
.form--roomy .field { gap: var(--nova-space-12); }
.form--roomy fieldset.field > legend { padding: 0; margin-bottom: var(--nova-space-16); }
.form--roomy .field > .hint { margin-top: 0; }
/* nova-provisional: the filters over the buyer approver's review table sit in one row of fields, each at least 12rem, wrapping on a phone, with the Show button on their baseline, space/16 apart and space/24 above the table; Nova has no filter bar ruling (2026-11-19) */
.filters { display: flex; flex-wrap: wrap; gap: var(--nova-space-16); align-items: flex-end; margin: var(--nova-space-16) 0 var(--nova-space-24); }
.filters .field { flex: 1 1 12rem; }
.filters .actions { margin: 0; }
/* nova-provisional: follow-up questions revealed under the answer that asks for them sit space/24 in from the question's edge behind a 2px neutral-400 rule, space/32 apart like the questions above, so they read as part of that answer without a box; Nova has no conditional reveal ruling (2026-10-09) */
.reveal {
  display: grid;
  gap: var(--nova-space-32);
  padding-left: var(--nova-space-24);
  border-left: 2px solid var(--nova-neutral-400);
}
/* TS-7: the submit row sits space/32 below the last field, left-aligned. */
.actions--submit { margin-top: var(--nova-space-32); }

/* R2, the quiet input, surface-relative: on white rest neutral-500 (3.07:1), hover
   neutral-600, focus neutral-700 with a 3px neutral-300 ring; 1px in every state,
   radius/field 12, 44 high to share a row with 44px buttons (B19). */
.input {
  width: 100%;
  min-height: var(--nova-button-sizes-default);
  padding: var(--nova-space-8) var(--nova-space-16);
  border: 1px solid var(--nova-focus-border-rest);
  border-radius: var(--nova-radius-field);
  background: var(--nova-neutral-white);
  color: var(--nova-text-primary);
  font: inherit;
  line-height: 1.5;
}
.input::placeholder { color: var(--nova-neutral-600); }
.input:hover { border-color: var(--nova-focus-border-hover); }
.input:focus { outline: none; border-color: var(--nova-focus-border-focus); box-shadow: 0 0 0 var(--nova-focus-ring-width) var(--nova-focus-ring); }
/* On the parchment canvas every step moves one further down the ramp (R2, 6 Aug). */
.on-canvas .input { border-color: var(--nova-focus-border-rest-on-parchment); }
.on-canvas .input:hover { border-color: var(--nova-focus-border-hover-on-parchment); }
.on-canvas .input:focus { border-color: var(--nova-focus-border-focus-on-parchment); box-shadow: 0 0 0 var(--nova-focus-ring-width) var(--nova-focus-ring-on-parchment); }
.input:disabled { background: var(--nova-button-disabled-bg); color: var(--nova-button-disabled-label); border-color: var(--nova-neutral-300); }
textarea.input { min-height: 96px; padding-block: var(--nova-space-12); resize: vertical; line-height: var(--nova-sans-body-lh); }
select.input { appearance: auto; }
/* Field widths follow the answer they hold, so a short answer looks short. */
.input--2 { width: 5em; }
.input--4 { width: 6.5em; }
.input--5 { width: 7.5em; }
.input--10 { width: 10em; }
/* A month to choose, "September 2027" at its longest. */
.input--month { width: 14em; max-width: 100%; }
.input--full { width: 100%; }
.date-input { display: flex; flex-wrap: wrap; gap: var(--nova-space-16); order: 1; }
.date-input__item { display: grid; gap: var(--nova-space-8); }
.input-with-suffix { display: flex; align-items: center; gap: var(--nova-space-8); order: 1; }
.input-suffix { color: var(--nova-text-secondary); }
.field > .input, .field > textarea, .field > select { order: 1; }

/* TS-2 and SEL1: a red message with an icon below the field, a danger border and a
   3px danger-13% ring on the field; width never changes, so nothing moves. */
.error-message {
  display: flex;
  gap: var(--nova-space-8);
  align-items: flex-start;
  margin: 0;
  color: var(--shell-danger);
  font-size: var(--nova-sans-label-size);
  line-height: var(--nova-sans-helper-lh);
  font-weight: var(--nova-sans-label-weight);
}
.error-message__icon { width: 16px; height: 16px; flex: none; margin-top: 2.5px; }
.input--error, .input--error:hover, .on-canvas .input--error { border-color: var(--shell-danger); box-shadow: 0 0 0 var(--nova-focus-ring-width) var(--shell-danger-ring); }
.input--error:focus { border-color: var(--shell-danger); box-shadow: 0 0 0 var(--nova-focus-ring-width) var(--shell-danger-ring); }
.choices--error .choice input[type="radio"], .choices--error .choice input[type="checkbox"] { border-color: var(--shell-danger); }


/* Selection controls (SC1 to SC6): an 18px glyph in a 24px target; checked is an ink
   fill with a chartreuse mark; the label is sans/body 16, 8px away, the control centred
   on the label's first line: (25.6 - 18) / 2 = 3.8px.
   nova-provisional: the checkbox and radio edge rests on R2's field border (neutral-500 on white, 3.07:1; neutral-600 on the canvas, 4.15:1) and firms one step on hover, not SC1/SC2's neutral-400 (1.55:1 on white), because WCAG 1.4.11 asks 3:1 of a control's boundary; raised in #ask-nova (2026-09-25) */
/* nova-provisional: a group of radios or checkboxes is an unboxed fieldset, one option per line at space/12, the legend as the field label; Nova rules the controls, not the group (2026-09-25) */
.choices { display: grid; gap: var(--nova-space-12); margin: 0; padding: 0; border: 0; min-width: 0; }
.choices legend { padding: 0; margin-bottom: var(--nova-space-8); }
/* nova-provisional: groups of choices side by side, one column per group, as many as fit at 160px and stacking on a phone, space/24 between columns and rows, because a long list of short options (programme ids) reads faster across than down (2026-11-10) */
.choice-columns { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: var(--nova-space-24); align-items: start; }
.choice { display: flex; gap: var(--nova-space-8); align-items: flex-start; cursor: pointer; }
.choice label { cursor: pointer; }
.choice input[type="radio"], .choice input[type="checkbox"] {
  appearance: none;
  flex: none;
  display: grid;
  place-content: center;
  width: 18px;
  height: 18px;
  margin: calc((var(--nova-sans-body-size) * var(--nova-sans-body-lh) - 18px) / 2) 3px 0;
  border: 1px solid var(--nova-focus-border-rest);
  background: var(--nova-neutral-white);
  cursor: pointer;
}
.on-canvas .choice input[type="radio"], .on-canvas .choice input[type="checkbox"] { border-color: var(--nova-focus-border-rest-on-parchment); }
.choice input[type="radio"] { border-radius: var(--nova-radius-full); }
.choice input[type="checkbox"] { border-radius: var(--nova-radius-selection); }
.choice input[type="radio"]:hover, .choice input[type="checkbox"]:hover { border-color: var(--nova-focus-border-hover); }
.choice input[type="radio"]:checked, .choice input[type="checkbox"]:checked { background: var(--nova-neutral-900); border-color: var(--nova-neutral-900); }
.choice input[type="radio"]:checked::before { content: ''; width: 8px; height: 8px; border-radius: var(--nova-radius-full); background: var(--nova-chartreuse); }
.choice input[type="checkbox"]:checked::before {
  content: '';
  width: 9px;
  height: 5px;
  margin-top: -2px;
  border-left: 2px solid var(--nova-chartreuse);
  border-bottom: 2px solid var(--nova-chartreuse);
  transform: rotate(-45deg);
}
/* "That's right for all of these" (learner/duties.tsx, both stages): the one tick that confirms
   everything we heard, so it is the page's prominent act, drawn like the primary button.
   nova-provisional: a confirming checkbox as an ink pill with a white label, its box white and,
   once ticked, chartreuse with an ink tick, because it is the action the learner takes on the
   heard section and read as a footnote as plain text (Barry Goulding, 2026-11-04) */
.choice.choice--confirm {
  display: inline-flex;
  width: fit-content;
  max-width: 100%;
  align-items: center;
  gap: var(--nova-space-12);
  min-height: var(--nova-button-sizes-default);
  padding: var(--nova-space-8) var(--nova-pad-pill-h);
  border-radius: var(--nova-radius-pill);
  background: var(--nova-button-primary-rest-bg);
  color: var(--nova-button-primary-rest-label);
  font-weight: var(--nova-sans-body-strong-weight);
}
.choice.choice--confirm:hover { background: var(--nova-button-primary-hover-bg); }
.choice.choice--confirm input[type="checkbox"] { margin: 0; border-color: var(--nova-neutral-white); }
.choice.choice--confirm input[type="checkbox"]:checked { background: var(--nova-chartreuse); border-color: var(--nova-chartreuse); }
.choice.choice--confirm input[type="checkbox"]:checked::before { border-color: var(--nova-neutral-900); }
/* Its own room under the last card it confirms, not drawn against it (2026-11-04). A rule
   under it closes what we heard off from the section after it, set well apart (Alex Ross, on
   the design canvas, 2026-11-13). */
.stage-field:has(.choice--confirm) { margin-top: var(--nova-space-24); padding-bottom: var(--nova-space-32); }
.stage-field:has(.choice--confirm):has(+ .title) { border-bottom: 1px solid var(--shell-ink-divider); margin-bottom: var(--nova-space-24); }
.stage-field:has(.choice--confirm) + .title { margin-top: var(--nova-space-40); }
/* A duty's parts to tick, under its level (learner/duties.tsx, PartFields): set apart from the
   level above. nova-provisional: space/16 above, as between a card's parts (2026-11-04) */
[data-parts] { margin-top: var(--nova-space-16); }
.choice input:focus-visible { outline: var(--nova-button-focus-width) solid var(--nova-button-focus-ring); outline-offset: var(--nova-button-focus-offset); }
.choice-block { display: grid; gap: var(--nova-space-4); }
/* DR6: a list of options is divided, never boxed. */
.choices--ruled { gap: 0; }
.choices--ruled .choice-block { padding: var(--nova-space-16) 0; border-top: 1px solid var(--shell-ink-divider); }
.choices--ruled .choice-block:first-of-type { border-top: 0; padding-top: var(--nova-space-4); }
.finding { display: grid; gap: var(--nova-space-4); }

/* ST3 callout: radius 12, a 1px hairline, padding 16/20/20/20, compact-container leading 1.5,
   on a ground one tone darker than the surface it sits on (amended 2026-09-29). The surface
   sets the ground: --shell-callout-ground is neutral-200 on the page, and each white surface
   (a card, the sheet, a dialog, the inspector's columns, the recommendation's cards) sets
   neutral-100 in the same rule as its own white, so a callout that moves changes by itself.
   nova-provisional: Nova rules two grounds, on the page and inside a white surface; a tonal
   field inside a white surface (the sheet's bands, the decide bar, a project panel) sets none,
   so a callout there would take its white surface's ground, until one sits there and Nova is
   asked (2026-10-29).
   nova-provisional: every callout is ST3's 16px size, and none carries the 16px icon beside its
   title. The error summary in the sheet keeps 16 because the sheet is the page's own surface,
   not a card inside it; the 14px step for cards and side rails and the icon wait until a
   callout sits in a card or a rail, or needs an icon (2026-10-29) */
.notice, .error-summary {
  margin: 0 0 var(--nova-space-24);
  padding: var(--nova-space-16) var(--nova-space-20) var(--nova-space-20);
  border: 1px solid var(--nova-neutral-300);
  border-radius: var(--nova-radius-md);
  background: var(--shell-callout-ground);
  line-height: 1.5;
}
/* A callout's title is 16 like its body (ST3), at the label weight, the 500 every title caps at. */
.notice__title, .error-summary__title {
  margin: 0 0 var(--nova-space-4);
  font-size: var(--nova-sans-body-size);
  line-height: inherit;
  font-weight: var(--nova-sans-label-weight);
}
/* nova-provisional: the error summary is the callout (ST3), on the callout's ground, with the danger red as its 1px edge and title, first on the page and focused on load; Nova has no error summary, and the error colour for callouts is not decided (2026-09-25; on the callout's ground, not white, 2026-10-29) */
/* The error summary's edge and title are the danger red, after the shared rules so they win. */
.error-summary { border-color: var(--shell-danger); }
.error-summary__title { color: var(--shell-danger); }
/* Focused on load (tabindex -1) so it is read first; not a control, and its red edge already
   marks it, so no ring on top of the border. */
.error-summary:focus { outline: none; }
.error-summary__list { margin: 0; padding-left: var(--nova-space-20); }
.error-summary a { color: var(--shell-danger); text-decoration: underline; text-underline-offset: 3px; }

/* "Why we ask": context, in the panel beside the task (or under it on a phone). */
.why { margin-top: var(--nova-space-40); }
.focus__aside .why { margin-top: 0; }
.why__title {
  margin: 0 0 var(--nova-space-8);
  font-size: var(--nova-sans-body-strong-size);
  line-height: var(--nova-sans-body-strong-lh);
  font-weight: var(--nova-sans-body-strong-weight);
}
.why .body { color: var(--nova-text-secondary); }

/* ------------------------------------------------------- pills and badges */

/* ST1 status pill (reference/StatusPill.tsx): a wash and a label, never a dot, a
   permanent ink-14% hairline (T6), 13/500, 24 high. Completed spends no colour;
   Not started has no wash. */
.pill {
  display: inline-flex;
  align-items: center;
  flex: none;
  min-height: 24px;
  padding: 0 11px;
  border: 1px solid var(--shell-pill-hairline);
  border-radius: var(--nova-radius-pill);
  font-size: 13px;
  line-height: 1;
  font-weight: 500;
  white-space: nowrap;
}
/* nova-provisional: a level pill leads with its level as a domino face, 12px in ink: one pip in the middle, two and three on the diagonal, four at the corners, so each level has its own shape at a glance (Starting Out and Building Skills read alike as words alone); space/10 before the label (Alex Ross, 2026-11-13) */
.pill[data-pips]::before {
  content: '';
  flex: none;
  width: 12px;
  height: 12px;
  margin-right: var(--nova-space-10);
  background: currentColor;
  -webkit-mask: var(--pips) center / contain no-repeat;
  mask: var(--pips) center / contain no-repeat;
}
.pill[data-pips="1"] { --pips: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Ccircle cx='6' cy='6' r='2'/%3E%3C/svg%3E"); }
.pill[data-pips="2"] { --pips: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Ccircle cx='10' cy='2' r='2'/%3E%3Ccircle cx='2' cy='10' r='2'/%3E%3C/svg%3E"); }
.pill[data-pips="3"] { --pips: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Ccircle cx='10' cy='2' r='2'/%3E%3Ccircle cx='6' cy='6' r='2'/%3E%3Ccircle cx='2' cy='10' r='2'/%3E%3C/svg%3E"); }
.pill[data-pips="4"] { --pips: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Ccircle cx='2' cy='2' r='2'/%3E%3Ccircle cx='10' cy='2' r='2'/%3E%3Ccircle cx='2' cy='10' r='2'/%3E%3Ccircle cx='10' cy='10' r='2'/%3E%3C/svg%3E"); }
/* nova-provisional: the recommendation's challenge playback (ADR 20261020205052): a skill's
   name at sans weight 500 beside its level pill, its "why" as a hint beneath, 12 between
   skills; Nova has no ruling for a skills list with levels (2026-10-22) */
.pill--done { background: var(--nova-neutral-200); color: var(--nova-text-primary); }
.pill--current { background: var(--nova-catalyst-marine-20); color: var(--nova-text-primary); }
.pill--attention { background: var(--nova-ascent-amber-20); color: var(--nova-text-primary); }
.pill--idle { background: transparent; color: var(--nova-text-secondary); }
/* ST1 On track and Behind: the buyer approver's Approved and Rejected. */
.pill--on-track { background: var(--shell-status-on-track-bg); color: var(--shell-status-on-track-label); }
.pill--behind { background: var(--shell-status-behind-bg); color: var(--shell-danger); }

/* ST2 badge, neutral: neutral-200 fill, neutral-350 border, neutral-700 text, 24 high.
   nova-provisional: the badge label is 13/500, the status pill's reference size, since ST2 sizes the pill but not its label (2026-09-25) */
.chips { display: flex; flex-wrap: wrap; gap: var(--nova-space-8); padding: 0; margin: 0; list-style: none; }
.chip {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 0 11px;
  border: 1px solid var(--nova-neutral-350);
  border-radius: var(--nova-radius-pill);
  background: var(--nova-neutral-200);
  color: var(--nova-neutral-700);
  font-size: 13px;
  line-height: 1;
  font-weight: 500;
}
.chip--brand { border-color: var(--nova-neutral-900); background: var(--nova-neutral-900); color: var(--nova-neutral-white); }

/* ---------------------------------------------------- rows and ruled lists */

/* DR6 and white-utility-card: rows are divided, never enclosed. A 1px ink-10% divider
   on each row's top edge (the first row none), no border, radius or fill, rows at the
   card's own content edge. Below 640 a row carrying a control stacks (R14). */
.rows, .dev-principals, .journey, .known-list, .answer-list, .progress-list, .reason-list { margin: 0 0 var(--nova-space-16); padding: 0; list-style: none; }
.row, .dev-principal, .journey__stage, .answer-list__row, .progress-list__row, .answers__row {
  padding: var(--nova-space-16) 0;
  border-top: 1px solid var(--shell-ink-divider);
}
.row:first-child, .dev-principal:first-child, .journey__stage:first-child, .answer-list__row:first-child,
.progress-list__row:first-child, .answers__row:first-child { border-top: 0; padding-top: var(--nova-space-4); }
.row, .dev-principal, .journey__stage, .answer-list__row, .progress-list__row {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: var(--nova-space-8) var(--nova-space-16);
}
.row__main, .dev-principal__who, .journey__main, .answer-list__main, .progress-list__main {
  display: grid;
  gap: var(--nova-space-2);
  min-width: 0;
  flex: 1 1 240px;
}
.dev-principal__actions { display: flex; flex-wrap: wrap; gap: var(--nova-space-8); }
.row__title, .dev-principal__name, .journey__name { font-weight: var(--nova-sans-body-strong-weight); }
.row__value { overflow-wrap: anywhere; white-space: pre-line; }
.journey__description { color: var(--nova-text-secondary); }
.journey__stage--not_started .journey__name, .journey__stage--with_others .journey__name { color: var(--nova-text-secondary); }
.journey__stage--current .journey__name, .journey__stage--needs_you .journey__name { color: var(--nova-text-primary); }
.reason { position: relative; padding: var(--nova-space-4) 0 var(--nova-space-4) var(--nova-space-16); }
.reason::before { content: '–'; position: absolute; left: 0; color: var(--nova-text-secondary); }
.reviewed { margin: 0 0 var(--nova-space-8); }

/* A list of answers: what, the answer and where it came from, and a change link. */
.answers { margin: 0 0 var(--nova-space-16); }
.answers__row { display: grid; grid-template-columns: 1fr; gap: var(--nova-space-4); }
@container main (min-width: 640px) {
  .answers__row { grid-template-columns: minmax(0, 2fr) minmax(0, 3fr) auto; gap: var(--nova-space-16); }
}
.answers__key { font-weight: var(--nova-sans-body-strong-weight); }
.answers__value { margin: 0; display: grid; gap: var(--nova-space-2); overflow-wrap: anywhere; }
.answers__text { white-space: pre-line; }
.answers__missing { color: var(--nova-text-secondary); }
.answers__action { margin: 0; }

/* facts: a description list of key facts. */
.facts { margin: 0 0 var(--nova-space-24); display: grid; gap: var(--nova-space-16); }
.facts dt { color: var(--nova-text-secondary); font-size: var(--nova-sans-label-size); line-height: var(--nova-sans-label-lh); font-weight: var(--nova-sans-label-weight); }
.facts dd { margin: var(--nova-space-4) 0 0; }
.fact-quote { display: block; margin-top: var(--nova-space-4); }
.facts code { font-size: var(--nova-sans-body-size); }

/* ------------------------------------------------------------------- tables */

/* Tables anatomy (llms.txt): rows ruled, never boxed, by an ink-6% bottom hairline at
   14px 12px; the last row drops it. Scrolls sideways on a phone.
   nova-provisional: the table sits on the page with no shell outline and no row hover fill, its first and last columns flush with the page head, as asked for the buyer approver's review table; Nova's default shell is a radius-24 ink-8% outline (2026-10-07) */
.table-scroll { overflow-x: auto; }
.table { width: 100%; border-collapse: collapse; }
.table th, .table td {
  padding: 14px 12px;
  border-bottom: 1px solid var(--shell-table-rule);
  text-align: left;
  vertical-align: middle;
}
.table th:first-child, .table td:first-child { padding-left: 0; }
.table th:last-child, .table td:last-child { padding-right: 0; }
.table th {
  color: var(--nova-text-secondary);
  font-size: var(--nova-sans-label-size);
  line-height: var(--nova-sans-label-lh);
  font-weight: var(--nova-sans-label-weight);
  white-space: nowrap;
}
.table tbody tr:last-child td { border-bottom: none; }
.table td { white-space: nowrap; }
.table td.table__wrap { white-space: normal; }

/* ------------------------------------------------------------------ dialogs */

/* Dialogs anatomy (llms.txt DL2, DL3): centred and white, radius 16, 24px padding, the
   overlay shadow, over the one scrim (warm ink 40%); 640 wide for rich content, never
   taller than the viewport: header and footer stay put and only the body scrolls; the
   footer is dismiss left, decide right, 12px apart; enters in 180ms; the backdrop
   dismisses. Opened by its fragment (:target, or a target inside it), so no script.
   nova-provisional: previous and next chevrons in the dialog header step between the table's rows, as compact 32px tertiary circles; Nova has no ruling on stepping through records in a dialog (2026-10-07) */
.dialog {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 50;
  place-items: center;
  padding: var(--nova-space-24);
}
.dialog:target, .dialog:has(:target) { display: grid; }
.dialog__scrim { position: absolute; inset: 0; background: rgba(35,34,32,0.40); }
.dialog__surface {
  position: relative;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto;
  width: min(640px, 100%);
  max-height: calc(100dvh - 2 * var(--nova-space-24));
  border-radius: var(--nova-radius-overlay);
  background: var(--nova-neutral-white);
  --shell-callout-ground: var(--nova-neutral-100);
  --shell-light-fill-hover: var(--nova-button-tertiary-hover-bg);
  --shell-light-fill-pressed: var(--nova-button-tertiary-pressed-bg);
  box-shadow: var(--nova-shadow-overlay);
  animation: dialog-in 180ms cubic-bezier(0.2, 0, 0, 1);
}
@keyframes dialog-in { from { opacity: 0; transform: translateY(8px); } }
@media (prefers-reduced-motion: reduce) { .dialog__surface { animation: none; } }
.dialog__header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: var(--nova-space-16);
  padding: var(--nova-space-24) var(--nova-space-24) var(--nova-space-16);
}
.dialog__heading { display: grid; justify-items: start; gap: var(--nova-space-8); }
.dialog__heading .title { margin: 0; }
.dialog__steps { display: flex; gap: var(--nova-space-4); }
.dialog__step {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: var(--nova-button-sizes-compact);
  height: var(--nova-button-sizes-compact);
  border-radius: var(--nova-radius-pill);
  color: var(--nova-text-primary);
  background: var(--nova-button-tertiary-rest-bg);
}
a.dialog__step:hover { background: var(--shell-light-fill-hover); }
.dialog__step--inert { color: var(--nova-button-disabled-label); }
.dialog__body { overflow-y: auto; padding: 0 var(--nova-space-24) var(--nova-space-24); }
.dialog__body { display: grid; gap: var(--nova-space-16); align-content: start; }
.dialog__body > * { margin: 0; }
.dialog__footer {
  display: grid;
  justify-items: start;
  gap: var(--nova-space-12);
  padding: var(--nova-space-16) var(--nova-space-24) var(--nova-space-24);
  border-top: 1px solid var(--shell-table-rule);
}
.dialog__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--nova-space-12);
  justify-self: stretch;
}
.dialog__decide { display: flex; flex-wrap: wrap; gap: var(--nova-space-12); margin-left: auto; }
/* A reason box opens in the footer by its fragment, in place of the decision buttons.
   nova-provisional: a dialog footer that swaps its buttons for a short reason form, rather than a second dialog over the first; Nova rules one dialog at a time but not a step inside one (2026-10-07) */
.dialog__reason { display: none; gap: var(--nova-space-12); justify-self: stretch; }
.dialog__reason:target { display: grid; }
.dialog__reason .field { margin: 0; }
.dialog__footer:has(.dialog__reason:target) > .dialog__actions { display: none; }

/* A confirm dialog (Nova: Dialogs): 320 wide, warm ink at 40% behind it, radius/lg,
   shadow/overlay, a button group with the dismiss left and the confirm right, 12px apart,
   wrapping when the labels outgrow the width. A native <dialog>, opened by script: the job
   page asks before dropping changes the learner has not saved. */
.confirm-dialog {
  width: min(320px, calc(100% - 2 * var(--nova-space-24)));
  max-width: none;
  padding: 0;
  border: 0;
  border-radius: var(--nova-radius-overlay);
  background: var(--nova-neutral-white);
  --shell-callout-ground: var(--nova-neutral-100);
  --shell-light-fill-hover: var(--nova-button-tertiary-hover-bg);
  --shell-light-fill-pressed: var(--nova-button-tertiary-pressed-bg);
  color: var(--nova-text-primary);
  box-shadow: var(--nova-shadow-overlay);
}
.confirm-dialog[open] { animation: dialog-in 180ms cubic-bezier(0.2, 0, 0, 1); }
@media (prefers-reduced-motion: reduce) { .confirm-dialog[open] { animation: none; } }
.confirm-dialog::backdrop { background: rgba(35,34,32,0.40); }
.confirm-dialog__surface { display: grid; gap: var(--nova-space-12); padding: var(--nova-space-24); }
.confirm-dialog__surface > * { margin: 0; }
.confirm-dialog__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: var(--nova-space-12);
  margin-top: var(--nova-space-12);
}

/* ------------------------------------------------------------ the numbers */

/* Figures (months, hours) as a label and a Saans value: counts are not the addressing voice.
   nova-provisional: a statistic is sans/title-large 22/500 with tabular figures under a sans/label line, not the serif-numeral stat, so a sheet keeps one serif line (user decision, 2026-09-26) */
.stats { display: flex; flex-wrap: wrap; gap: var(--nova-space-16) var(--nova-space-48); margin: 0 0 var(--nova-space-24); }
.stat { display: flex; flex-direction: column; gap: var(--nova-space-4); margin: 0; }
.stat__label {
  margin: 0;
  color: var(--nova-text-secondary);
  font-size: var(--nova-sans-label-size);
  line-height: var(--nova-sans-label-lh);
  font-weight: var(--nova-sans-label-weight);
}
.stat__value {
  margin: 0;
  font-size: var(--nova-sans-title-large-size);
  line-height: var(--nova-sans-title-large-lh);
  font-weight: var(--nova-sans-title-large-weight);
  letter-spacing: var(--nova-sans-title-large-tracking);
  font-variant-numeric: tabular-nums;
}
.stat__unit { margin-left: 0; }

/* The HR manager's funnel figures, as the design canvas "Prescribe customer finalisation" has them.
   nova-provisional: a funnel figure is a stat block (radius/sm, white on the neutral-100 page like a card, where the design canvas has neutral-100 on a white page, padding 16) holding a sans/helper line in text/secondary, the serif-numeral stat at 34px (inside its 24-44 range) with tabular figures, in an auto-fit grid of 160px minimum columns 12 apart, because the funnel's numbers are the page's subject, not figures on a sheet (2026-11-20) */
.funnel-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 160px), 1fr)); gap: var(--nova-space-12); margin: 0 0 var(--nova-space-24); }
.funnel-stat {
  display: flex;
  flex-direction: column;
  gap: var(--nova-space-8);
  margin: 0;
  padding: var(--nova-space-16);
  border-radius: var(--nova-radius-sm);
  background: var(--nova-neutral-white);
  --shell-callout-ground: var(--nova-neutral-100);
  --shell-light-fill-hover: var(--nova-button-tertiary-hover-bg);
  --shell-light-fill-pressed: var(--nova-button-tertiary-pressed-bg);
}
.funnel-stat__label {
  margin: 0;
  color: var(--nova-text-secondary);
  font-size: var(--nova-sans-helper-size);
  line-height: var(--nova-sans-helper-lh);
}
.funnel-stat__value {
  margin: 0;
  font-family: var(--nova-font-serif);
  font-size: var(--nova-serif-headline-size);
  line-height: var(--nova-serif-numeral-lh);
  font-weight: var(--nova-serif-numeral-weight);
  letter-spacing: var(--nova-serif-numeral-tracking);
  font-variant-numeric: tabular-nums;
}

/* ---------------------------------------------------------- the overview */

/* The sheet (nova-provisional, 2026-09-26): a page's whole content on one white surface,
   radius/surface 24, so nothing sits orphaned on the canvas. Sections inside it are split
   by the ink-10% rule (DR6); the Next band is a tonal field across the sheet's full width,
   never a box inside it (principle 5). */
.sheet {
  max-width: 760px;
  margin-inline: auto;
  overflow: clip;
  border-radius: var(--nova-radius-surface);
  background: var(--nova-neutral-white);
  --shell-callout-ground: var(--nova-neutral-100);
  --shell-light-fill-hover: var(--nova-button-tertiary-hover-bg);
  --shell-light-fill-pressed: var(--nova-button-tertiary-pressed-bg);
}
.sheet__head, .sheet__band, .sheet__section, .sheet__foot { padding: var(--nova-space-24); }
@container main (min-width: 640px) {
  .sheet__head { padding: var(--nova-space-40) var(--nova-space-40) var(--nova-space-32); }
  .sheet__band, .sheet__section { padding: var(--nova-space-32) var(--nova-space-40); }
  .sheet__foot { padding: var(--nova-space-20) var(--nova-space-40); }
}
.sheet__head .headline { margin-bottom: var(--nova-space-8); }
.sheet__head .lede { margin: 0; }
/* A section heading inside the sheet is sans/title-medium 18, one step below the Next band's
   title (sans/title-large 22), so the task outranks the sections. */
.sheet__heading { margin-top: 0; }
/* The Next band: parchment (neutral-200) across the sheet; amber-10 when something needs
   the learner again; flat ink for a milestone (DR8), the dark stage's type on it.
   nova-provisional: the Next band's grounds are neutral-200, ascent-amber-10 and neutral-900 as full-width tonal fields inside the sheet (2026-09-26) */
/* nova-provisional: a light-fill action on a neutral-200 band or decide bar takes B1's
   on-neutral-100 pair, one step under the field, as on the canvas; B1 and B13 rule white and
   neutral-100 grounds only (2026-11-02) */
.sheet__band { background: var(--nova-neutral-200); --shell-light-fill-hover: var(--nova-button-light-fill-on-neutral100-hover-bg); --shell-light-fill-pressed: var(--nova-button-light-fill-on-neutral100-pressed-bg); }
.sheet__band .band__title { margin-bottom: var(--nova-space-8); }
/* Cards straight under a band's heading sit space/16 below it (the heading's 8 collapses into it), at Alex's request (2026-10-30). */
.sheet__band > .band__title + .vt-grid { margin-top: var(--nova-space-16); }
.sheet__band .actions { margin-top: var(--nova-space-24); }
.sheet__band--attention { background: var(--nova-ascent-amber-10); }
.sheet__band--milestone { background: var(--nova-neutral-900); color: var(--nova-neutral-white); }
.sheet__band--milestone .body { color: var(--shell-on-dark-body); }
.sheet__band--milestone .link { color: var(--nova-neutral-white); }
.sheet__band--milestone .button:focus-visible, .sheet__band--milestone .link:focus-visible { outline: 2px solid var(--nova-focus-on-dark-ring); outline-offset: 2px; }
.sheet__band .progress-list { margin-top: var(--nova-space-16); }
.sheet__section + .sheet__section, .sheet__band + .sheet__section { border-top: 1px solid var(--shell-ink-divider); }
.sheet__band + .sheet__section { border-top: 0; }
.sheet__foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--nova-space-12) var(--nova-space-24);
  border-top: 1px solid var(--shell-ink-divider);
}
.sheet__exit { margin: 0; color: var(--nova-text-secondary); }
/* A task page on the sheet: the bar opens it, the task is its head, and the context
   ("Why we ask") closes it under the ink-10% rule.
   nova-provisional: every learner page is one sheet, with its context as the sheet's last section instead of a panel on the canvas beside it, so nothing sits loose on the canvas and every learner page shares one frame and one left edge (2026-09-26) */
/* The sheet's bar: the back control (B20). Where the learner is lives with the journey (the rail, or the strip). */
.sheet__bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--nova-space-4) var(--nova-space-16);
  min-height: var(--nova-button-sizes-compact);
  padding: var(--nova-space-16) var(--nova-space-24) 0;
}
.sheet__bar .back-link { margin-bottom: 0; }
.sheet__bar + :is(.sheet__head, .sheet__section) { padding-top: var(--nova-space-16); }
@container main (min-width: 640px) {
  .sheet__bar { padding: var(--nova-space-24) var(--nova-space-40) 0; }
  .sheet__bar + :is(.sheet__head, .sheet__section) { padding-top: var(--nova-space-16); }
  .sheet__task { padding-bottom: var(--nova-space-40); }
}
/* nova-provisional: a line that needs the learner again ("You changed an answer, so please confirm again") is a full-width strip on ascent-amber-10 inside the sheet, the attention band's ground without its title, not a callout; a callout (ST3) inside the sheet is for something to read before acting, such as the error summary, and sits on the sheet's callout ground (2026-09-26; narrowed 2026-10-29) */
.sheet__notice { padding: var(--nova-space-16) var(--nova-space-24); background: var(--nova-ascent-amber-10); }
.sheet__notice .body { margin: 0; }
.sheet__notice .body + .body { margin-top: var(--nova-space-8); }
@container main (min-width: 640px) { .sheet__notice { padding: var(--nova-space-20) var(--nova-space-40); } }
/* Inside a section, a sub-heading is sans/body-strong 16/500: one step under the section's 18. */
.sheet__subheading {
  margin: var(--nova-space-24) 0 var(--nova-space-8);
  font-size: var(--nova-sans-body-strong-size);
  line-height: var(--nova-sans-body-strong-lh);
  font-weight: var(--nova-sans-body-strong-weight);
}
.sheet__heading + .sheet__subheading { margin-top: var(--nova-space-16); }
/* nova-provisional: the browse list's part-time and full-time groups (ADR 20261106154230) sit
   space/32 apart like the theme groups; each heading is the sheet__subheading at space/24 below
   the callout, and the full-time group's hint sits under its heading, both space/12 above the
   cards; Nova does not yet rule how a group heading is spaced in a list of cards (2026-11-10) */
.browse-group + .browse-group { margin-top: var(--nova-space-32); }
.browse-group > .sheet__subheading { margin-top: 0; }
.browse-group > .hint { margin: 0; }
.browse-group > :is(.sheet__subheading, .hint) + .vt-grid { margin-top: var(--nova-space-12); }
/* nova-provisional: a clear step between the theme groups of a question page, from the 32 space token; Nova does not yet rule how a group heading is spaced inside a form (2026-10-15) */
.theme-group + .theme-group { margin-top: var(--nova-space-32); }
/* nova-provisional: the experience question under a duty's answer sits space/16 below it, and its sub-questions space/8 above their options, so the reveal reads as the answer's own follow-up; Nova rules the controls, not the spacing between them (2026-10-15) */
.stage-field > .reveal { margin-top: var(--nova-space-16); }
.stage-field .reveal fieldset > legend { margin-bottom: var(--nova-space-8); }
.sheet__section > :last-child, .sheet__band > :last-child, .sheet__head > :last-child { margin-bottom: 0; }
.sheet__heading + :is(.answers, .answer-list, .reason-list, .progress-list, .known-list, .stats, .body, .handoffs, .parts) { margin-top: var(--nova-space-12); }
.sheet__band .body + .actions, .sheet__band .steps + .actions, .sheet__band .body + form.actions, .sheet__band .steps + .body { margin-top: var(--nova-space-24); }
.sheet__band .steps + .body { margin-top: var(--nova-space-16); }
.sheet__band .facts, .sheet__band .progress-list { margin-top: var(--nova-space-16); }
.sheet__head + .sheet__section { border-top: 1px solid var(--shell-ink-divider); }
.sheet__task .form { margin-top: 0; }
.sheet__aside .why { margin-top: 0; }
.sheet__aside .why__title {
  font-size: var(--nova-sans-title-medium-size);
  line-height: var(--nova-sans-title-medium-lh);
  font-weight: var(--nova-sans-title-medium-weight);
  letter-spacing: var(--nova-sans-title-medium-tracking);
}
.sheet__aside > .hint { margin-top: var(--nova-space-16); }
/* A draft to check sits on the Next band: where it came from, the value at sans/body-strong
   16/500, then the decision. */
.draft__intro { margin: 0 0 var(--nova-space-4); color: var(--nova-text-secondary); }
.draft__value { margin: 0 0 var(--nova-space-8); white-space: pre-line; overflow-wrap: anywhere; font-weight: var(--nova-sans-body-strong-weight); }
.sheet__band .draft__value { margin: 0; }
.sheet__band .disclosure { margin-top: var(--nova-space-12); }
.sheet__decision { margin-top: var(--nova-space-24); }
.sheet__decision .form { margin-top: var(--nova-space-4); }

/* A form section under the head (right to work): no rule between the lede and the field. */
.sheet__head + .sheet__form { border-top: 0; padding-top: 0; }
@container main (min-width: 640px) { .sheet__form { padding-bottom: var(--nova-space-40); } }
/* nova-provisional: a field's hint on a learner task (a question, a share code) is body 16 in text/secondary, not helper 14, because it says how to answer and so fails PL4's deletion test (2026-09-26) */
:is(.sheet__task, .sheet__form) .field > .hint { font-size: var(--nova-sans-body-size); line-height: var(--nova-sans-body-lh); }
/* About you: the part in view, its title at sans/title-large 22 (the page's serif line is its H1). */
.about__part .title { margin-bottom: var(--nova-space-4); }
.about__part .group__lead { margin: 0 0 var(--nova-space-20); }
/* About you, from the design handoff (2026-10-13). The facts row: labelled values directly under the title, 48px apart, wrapping. */
.about__facts { display: flex; flex-wrap: wrap; gap: var(--nova-space-16) var(--nova-space-48); margin: var(--nova-space-24) 0 0; }
.about__label { color: var(--nova-text-secondary); font-size: var(--nova-sans-label-size); line-height: var(--nova-sans-label-lh); font-weight: var(--nova-sans-label-weight); }
.about__facts dd { margin: var(--nova-space-4) 0 0; font-weight: var(--nova-sans-body-strong-weight); }
/* "What we heard" beside "In your words", one row per statement, the columns stacking when narrow. */
.about__part { padding-bottom: var(--nova-space-16); }
.about__part .lede { margin: 0 0 var(--nova-space-24); }
.about__cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: var(--nova-space-8) var(--nova-space-32); align-items: start; }
.about__heads { padding-bottom: var(--nova-space-12); }
.about__rows { margin: 0; padding: 0; list-style: none; }
.about__row { padding: var(--nova-space-16) 0; border-top: 1px solid var(--shell-ink-divider); }
.about__quotes { display: grid; gap: var(--nova-space-8); }
.about__note { margin: var(--nova-space-16) 0 0; padding-top: var(--nova-space-16); border-top: 1px solid var(--shell-ink-divider); }
.about__note p { margin: var(--nova-space-4) 0 0; overflow-wrap: anywhere; }
/* The teal strip after a note is saved: it says the note landed, under the title and above the first section. */
.sheet__notice--saved { background: var(--nova-teal-green-10); }
.about__flag .hint { margin: 0; }
.about__flag .hint { margin-top: var(--nova-space-8); }
.about__flag > .field { margin-top: var(--nova-space-16); }
.sheet__notice .sheet__heading { margin-bottom: var(--nova-space-8); }
.steps li .hint { display: block; }
/* The overview's closing line after who does what: the payoff, not another row. */
.sheet__payoff { margin-top: var(--nova-space-16); }
/* What a document says, read before signing it: body 16 in text/secondary (PL4). */
.document__about { color: var(--nova-text-secondary); }
.sheet__head .lede + .stats { margin-top: var(--nova-space-24); }
.sheet__band .form .body { margin: 0; }
.sheet__band .form .body + .actions { margin-top: 0; }
/* A hyphenated word in a heading ("AI-Powered") stays whole; the line breaks at a space. */
.nobreak { white-space: nowrap; }
/* A duty's optional note: a compact secondary summary; opened, its field takes the row. */
.note > summary { margin-bottom: 0; }
.note[open] > summary { margin-bottom: var(--nova-space-12); }

/* A long page's decision stays in reach: the band's buttons hold to the foot of the screen
   while the learner reads the page above, then settle at the end of the band.
   nova-provisional: every learner page is one 760 sheet and its decision is always under the content, in one column at every width; on a long task page (the eligibility, job and what-you-know stages) the band's actions are a sticky bar at the bottom of the viewport on the band's own ground, 16 above and 24 below (32 from 640), taking an ink-10% top rule only while stuck where the browser can tell; on a phone the tertiary action in it is compact so the bar stays near 120px. The same buttons either way, never a second copy (2026-09-27) */
.sheet__band--barred { padding-bottom: var(--nova-space-8); }
.sheet__decide {
  position: sticky;
  bottom: 0;
  z-index: 2;
  container-type: scroll-state;
  background: var(--nova-neutral-200);
  --shell-light-fill-hover: var(--nova-button-light-fill-on-neutral100-hover-bg);
  --shell-light-fill-pressed: var(--nova-button-light-fill-on-neutral100-pressed-bg);
}
.sheet__decide--attention { background: var(--nova-ascent-amber-10); }
.sheet__decide--milestone { background: var(--nova-neutral-900); color: var(--nova-neutral-white); }
.sheet__decide--milestone .button:focus-visible { outline: 2px solid var(--nova-focus-on-dark-ring); outline-offset: 2px; }
.sheet__decide-in { padding: var(--nova-space-16) var(--nova-space-24) var(--nova-space-24); border-top: 1px solid transparent; transition: border-color 140ms ease-out; }
.sheet__decide-in > .actions { margin: 0; }
.sheet__decide + .sheet__section { border-top: 0; }
@container main (min-width: 640px) {
  .sheet__decide-in { padding: var(--nova-space-16) var(--nova-space-40) var(--nova-space-32); }
}
@container main (max-width: 639px) {
  .sheet__decide-in { padding-bottom: var(--nova-space-16); }
  .sheet__decide .actions { gap: var(--nova-space-4); }
  .sheet__decide .actions > .button--tertiary { height: var(--nova-button-sizes-compact); }
}
@container scroll-state(stuck: bottom) {
  .sheet__decide-in { border-top-color: var(--shell-ink-divider); }
}

/* A stage of the form on one page: each question a divided row, its label at sans/title-medium
   18 so the questions read as the page's structure, the answer under it, "Why we ask" folded.
   nova-provisional: a stage page's questions are rows split by the ink-10% rule, 24px apart, the question at sans/title-medium 18/500 and its "Why we ask" a compact disclosure in text/secondary at sans/label 14 that opens to body 16; the form asks a whole stage at once because it is the fallback to the conversation (2026-09-26) */
.stage-form { display: grid; gap: 0; }
.stage-field { padding: var(--nova-space-24) 0; border-top: 1px solid var(--shell-ink-divider); }
.stage-form > .stage-field:first-of-type { border-top: 0; padding-top: 0; }
/* The job page's groups and areas are confirm cards inside the form: the form pads them
   already, so the card's chat padding goes; they take the form's width, 16 apart; inside a card
   the first question has no rule above it. */
.stage-form > .thread__card { padding: 0; }
.stage-form > .thread__card + .thread__card { margin-top: var(--nova-space-16); }
.stage-form .confirm-card { max-width: none; }
.confirm-card > .stage-field:first-of-type,
.confirm-card .stage-change > .stage-field:first-child { border-top: 0; padding-top: 0; }
.stage-field > .field > .field__label,
.stage-field > .field > legend.field__label,
.stage-field--shown > .field__label {
  font-size: var(--nova-sans-title-medium-size);
  line-height: var(--nova-sans-title-medium-lh);
  font-weight: var(--nova-sans-title-medium-weight);
  letter-spacing: var(--nova-sans-title-medium-tracking);
}
.stage-field--shown > .field__label { margin: 0 0 var(--nova-space-8); }
.stage-field legend.field__label { padding: 0; }
.stage-field--shown > .body { margin-bottom: var(--nova-space-4); }
.stage-field__source { margin: var(--nova-space-8) 0 0; }
.why-inline { margin: calc(var(--nova-space-4) * -1) 0 var(--nova-space-4); }
.why-inline > summary { color: var(--nova-text-secondary); font-size: var(--nova-sans-label-size); text-decoration: none; }
.why-inline > summary:hover { color: var(--nova-text-primary); }
.why-inline[open] > summary { margin-bottom: var(--nova-space-8); }
.why-inline > .body { color: var(--nova-text-secondary); }
.why-inline > .plain-list { font-size: var(--nova-sans-helper-size); }
/* A row of a pre-answered stage (ADR 0029): what the learner said, and their own note, fold
   under the answer as "Why we ask" folds under the question.
   nova-provisional: on a stage page a row's short choices (Yes / Some of it / Not yet) sit on one line, 12/24 apart, wrapping on a phone, so a page of twelve rows stays scannable; "What you told us" and "Add a note" are the compact text/secondary disclosure at sans/label 14, 12 below the answer, opening to the body-16 reason and the quote block (2026-09-26) */
.choices--inline { display: flex; flex-wrap: wrap; gap: var(--nova-space-12) var(--nova-space-24); }
.stage-field > :is(.evidence, .disclosure--quiet) { margin-top: var(--nova-space-12); }
.stage-field > .evidence + .disclosure--quiet { margin-top: var(--nova-space-8); }
:is(.evidence, .disclosure--quiet) > summary { color: var(--nova-text-secondary); font-size: var(--nova-sans-label-size); text-decoration: none; }
:is(.evidence, .disclosure--quiet) > summary:hover { color: var(--nova-text-primary); }
:is(.evidence, .disclosure--quiet)[open] > summary { margin-bottom: var(--nova-space-8); }
.evidence > .body { margin: 0; }
.disclosure--quiet > .field__label { display: block; margin-bottom: var(--nova-space-4); }

/* Who does what after that: rows, divided, never boxed; the party then what they do. */
.handoffs { margin: var(--nova-space-8) 0 0; padding: 0; list-style: none; }
.handoff {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: var(--nova-space-2) var(--nova-space-16);
  padding: var(--nova-space-12) 0;
  border-top: 1px solid var(--shell-ink-divider);
}
.handoff:first-child { border-top: 0; }
@container main (min-width: 640px) {
  .handoff { grid-template-columns: 15rem minmax(0, 1fr) auto; }
}
.handoff__who { font-weight: var(--nova-sans-body-strong-weight); }
.handoff__what { color: var(--nova-text-secondary); grid-column: 1; }
@container main (min-width: 640px) { .handoff__what { grid-column: auto; } }
.handoff > .pill { grid-row: 1; grid-column: -2 / -1; align-self: start; }
/* With a rail, the rail is the journey and holds the record link: the sheet does not repeat
   the learner's remaining stops or the record button. On a phone (no rail) it does. */
@media (min-width: 768px) {
  .handoff--phone, .sheet__record { display: none; }
  .handoff--phone + .handoff { border-top: 0; }
  .sheet__foot { justify-content: flex-end; }
  /* The sheet's top edge meets the rail's, so the two read as one layout. */
  .main:has(> .page > .sheet) { padding-top: var(--nova-space-8); }
}

/* ------------------------------------------------------- the journey rail */

/* The journey as a line of stops (nova-provisional, 2026-09-26): each stop a 24px mark on a
   1px ink-10% line. Done: the ink fill with a chartreuse tick (the checked-control recipe,
   SC). Now: a 2px ink ring. Later: the ink-14% hairline with its number. Rows follow the
   nav-rail item (14/500, 8px radius, the two warm tints for hover and the page you are on). */
.stops { margin: 0; padding: 0; list-style: none; }
.stop { position: relative; }
.stop::before {
  content: '';
  position: absolute;
  left: 23.5px;
  top: 34px;
  bottom: -6px;
  width: 1px;
  background: var(--shell-ink-divider);
}
.stop:last-child::before { display: none; }
/* The line is inked through completed stops, so the rail shows how far the learner has come. */
.stop--done::before { background: var(--nova-neutral-900); }
.stop__body {
  position: relative;
  display: grid;
  grid-template-columns: 24px minmax(0, 1fr);
  column-gap: var(--nova-space-12);
  align-items: start;
  padding: var(--nova-space-8) var(--nova-space-12);
  border-radius: var(--nova-radius-control);
  color: var(--shell-rail-item);
  text-decoration: none;
}
a.stop__body:hover { background: var(--shell-rail-hover); color: var(--nova-text-primary); }
.stop--active > .stop__body { background: var(--shell-rail-active); color: var(--nova-text-primary); }
.stop__mark {
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  border: 1px solid var(--shell-pill-hairline);
  border-radius: var(--nova-radius-full);
  background: var(--nova-neutral-50);
  color: var(--nova-text-secondary);
  font-size: var(--nova-sans-caption-size);
  line-height: 1;
  font-weight: var(--nova-sans-label-weight);
  font-variant-numeric: tabular-nums;
}
.sheet .stop__mark { background: var(--nova-neutral-white); }
.stop--done .stop__mark { background: var(--nova-neutral-900); border-color: var(--nova-neutral-900); color: var(--nova-chartreuse); }
.stop--now .stop__mark { border: 2px solid var(--nova-neutral-900); background: var(--nova-neutral-white); color: var(--nova-text-primary); }
.stop__text { display: grid; gap: var(--nova-space-2); padding-top: 2px; min-width: 0; }
.stop__name { font-size: var(--nova-sans-label-size); line-height: var(--nova-sans-label-lh); font-weight: var(--nova-sans-label-weight); }
.stop--done .stop__name, .stop--now .stop__name { color: var(--nova-text-primary); }
.stop__detail { color: var(--nova-text-secondary); font-size: var(--nova-sans-caption-size); line-height: var(--nova-sans-caption-lh); }
.stop--needs_you .stop__detail { color: var(--nova-text-primary); font-weight: var(--nova-sans-label-weight); }
/* The step in view lists its named parts under its stop, so the rail says which step and
   which part in one place.
   nova-provisional: a step's parts are nav-rail rows (14/400, 8px radius, the two warm tints) indented to the stop's name under the stop's line; the part in view takes the active tint at 500, a checked part an ink tick, a part answered "not right" the 8px attention dot (ST7), a part to check sits in text/secondary (2026-09-26) */
.stop__parts { margin: 0 0 var(--nova-space-4); padding: 0 0 0 36px; list-style: none; }
.stop__part-body {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--nova-space-8);
  padding: var(--nova-space-4) var(--nova-space-8) var(--nova-space-4) var(--nova-space-12);
  border-radius: var(--nova-radius-control);
  color: var(--nova-text-secondary);
  font-size: var(--nova-sans-label-size);
  line-height: var(--nova-sans-label-lh);
  text-decoration: none;
}
a.stop__part-body:hover { background: var(--shell-rail-hover); color: var(--nova-text-primary); }
.stop__part--done .stop__part-body, .stop__part--attention .stop__part-body { color: var(--shell-rail-item); }
.stop__part--now .stop__part-body { background: var(--shell-rail-active); color: var(--nova-text-primary); font-weight: var(--nova-sans-label-weight); }
.stop--active > .stop__body:has(+ .stop__parts) { background: transparent; }
.stop__part-tick { flex: none; width: 12px; height: 12px; color: var(--nova-text-primary); }
.stop__part-dot { flex: none; width: 8px; height: 8px; border-radius: var(--nova-radius-full); background: var(--nova-neutral-900); }

/* In the sheet (phone), the stops read at body size. */
.sheet .stop__name { font-size: var(--nova-sans-body-size); line-height: 1.4; }
.sheet .stop__detail { font-size: var(--nova-sans-helper-size); }
.sheet .stop__body { padding-inline: 0; }
.sheet .stop::before { left: 11.5px; }

/* The progress strip: the journey on a phone, under the top bar. A segment per stop:
   the rail's encoding: ink when done, an ink outline for now (the rail's ring), the ink-10%
   track later; no chartreuse (it stays on the tick and the CTA arrow). It opens into the
   rail's own navigation, so a phone reaches every stop the rail does.
   nova-provisional: a 4px segmented progress track encoded as the journey rail is (2026-09-26)
   nova-provisional: the strip is a disclosure; its summary ends in the disclosure's own 6px chevron in ink, turning when open, and the open panel is the rail's nav on the strip's paper, set off by the strip's hairline (2026-09-26) */
.progress-strip {
  background: var(--nova-neutral-50);
  --shell-light-fill-hover: var(--nova-button-tertiary-hover-bg);
  --shell-light-fill-pressed: var(--nova-button-tertiary-pressed-bg);
  border-bottom: 1px solid var(--nova-neutral-300);
  color: var(--nova-text-primary);
}
.progress-strip__summary {
  display: grid;
  gap: var(--nova-space-8);
  padding: var(--nova-space-12) var(--nova-space-16);
  list-style: none;
  cursor: pointer;
}
.progress-strip__summary::-webkit-details-marker { display: none; }
.progress-strip__summary:focus-visible { outline-offset: -2px; }
.progress-strip__line { display: flex; align-items: baseline; gap: var(--nova-space-12); }
/* nova-provisional: on a phone the strip's line ends with where the learner is within the step ("Part 3 of 6"), in text/secondary, so position is still stated once, with the journey (2026-09-26) */
.progress-strip__place { flex: none; margin-left: auto; color: var(--nova-text-secondary); font-size: var(--nova-sans-label-size); line-height: var(--nova-sans-label-lh); font-weight: var(--nova-sans-label-weight); font-variant-numeric: tabular-nums; }
.progress-strip__label { flex: 1 1 auto; min-width: 0; font-size: var(--nova-sans-label-size); line-height: var(--nova-sans-label-lh); font-weight: var(--nova-sans-label-weight); }
.progress-strip__place + .progress-strip__toggle { margin-left: 0; }
.progress-strip__toggle {
  align-self: center;
  flex: none;
  width: 7px;
  height: 7px;
  margin: 0 var(--nova-space-4) 3px auto;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg);
  transition: transform 160ms ease;
}
.progress-strip[open] .progress-strip__toggle { transform: translateY(3px) rotate(-135deg); }
.progress-strip__track { display: flex; gap: var(--nova-space-4); }
.progress-strip__segment { flex: 1 1 0; height: 4px; border-radius: var(--nova-radius-full); background: var(--shell-ink-divider); }
.progress-strip__segment--done { background: var(--nova-neutral-900); }
/* The others' stops follow a wider gap: the count above is the learner's own. */
.progress-strip__segment--then { margin-left: var(--nova-space-8); }
.progress-strip__segment--now { background: var(--nova-neutral-white); box-shadow: inset 0 0 0 1.5px var(--nova-neutral-900); }
.progress-strip__panel {
  padding: var(--nova-space-8) var(--nova-space-4) var(--nova-space-16);
  border-top: 1px solid var(--nova-neutral-300);
}
@media (prefers-reduced-motion: reduce) { .progress-strip__toggle { transition: none; } }
@media (min-width: 768px) { .progress-strip { display: none; } }

/* ------------------------------------------------ what we already know */

/* One part at a time: the part in a task card, every part listed in the panel. */
.group__lead { margin: 0 0 var(--nova-space-24); color: var(--nova-text-secondary); }
.known-list { display: grid; gap: var(--nova-space-24); margin: 0 0 var(--nova-space-8); }
.known { display: grid; gap: var(--nova-space-4); }
.known__text { overflow-wrap: anywhere; font-weight: var(--nova-sans-body-strong-weight); }
.known__detail { color: var(--nova-text-secondary); font-size: var(--nova-sans-helper-size); line-height: var(--nova-sans-helper-lh); }
/* nova-provisional: the learner's own words are a quote block: sans/body 16 in ink on the neutral-100 ground at radius/md, padding 12/16, under a sans/label "In your words" line; Nova has no quotation treatment, and serif cannot go below 24 (2026-09-25) */
.quote {
  display: block;
  margin: var(--nova-space-8) 0 0;
  padding: var(--nova-space-12) var(--nova-space-16);
  border-radius: var(--nova-radius-md);
  background: var(--nova-neutral-100);
  color: var(--nova-text-primary);
  line-height: 1.5;
}
.quote__by { display: block; margin-bottom: var(--nova-space-4); }
blockquote.quote { margin-left: 0; margin-right: 0; }
/* A quote's source line, and the line naming a group of the learner's quotes ("What you said"),
   are one voice: sans/label in text/secondary. The group's label sits flush, and the quote
   below it owns the gap. */
.quote__by, .quotes__label {
  color: var(--nova-text-secondary);
  font-size: var(--nova-sans-label-size);
  font-weight: var(--nova-sans-label-weight);
}
.quotes__label { margin: 0; line-height: var(--nova-sans-label-lh); }
/* The verdict: the primary and "Something's not right" side by side (BG1); opened, the
   correction takes the full row beneath them.
   nova-provisional: a disclosure that opens a form is a secondary button as its summary, not an inline link, because it sits beside a button and B7 keeps links inside prose (2026-09-26) */
.verdict__actions { display: flex; flex-wrap: wrap; gap: var(--nova-space-12); align-items: flex-start; }
.verdict__actions > form { margin: 0; }
.verdict__correct[open] { flex-basis: 100%; }
details[open] > summary.button { margin-bottom: var(--nova-space-12); }
summary.button { list-style: none; }
summary.button::-webkit-details-marker { display: none; }
@container main (max-width: 639px) {
  .verdict__actions { flex-direction: column; align-items: stretch; }
  .verdict__actions .button { width: 100%; }
  /* Stacked, an opened correction stays in the column: a 100% basis would wrap it into a second one. */
  .verdict__correct[open] { flex-basis: auto; }
}

/* The documents page (ADR 0031).
   nova-provisional: a file input is the native control, its button styled as a compact secondary button and its file name in body text, because Nova has no upload ruling and the native control keeps keyboard, screen reader and phone photo library for free (2026-09-27)
   nova-provisional: a document added is a ruled row (R14) holding its name, a graphite line of what was read, and a tertiary compact Remove, because a list with a remove action is only ruled as chips inside a field (2026-09-27)
   nova-provisional: an error on one file shows under the file field and in the error summary, the list kept, because TS-2 rules one field's error and a refused file is the field's (2026-09-27) */
.file-input {
  order: 1;
  max-width: 100%;
  font: inherit;
  font-size: var(--nova-sans-body-size);
  color: var(--nova-text-secondary);
}
.file-input::file-selector-button {
  margin-right: var(--nova-space-12);
  min-width: 88px;
  height: var(--nova-button-sizes-compact);
  padding: 0 var(--nova-space-16);
  border: 1px solid var(--nova-button-secondary-rest-border);
  border-radius: var(--nova-radius-pill);
  background: var(--nova-button-secondary-rest-bg);
  color: var(--nova-button-secondary-rest-label);
  font: inherit;
  font-size: var(--nova-sans-label-size);
  font-weight: var(--nova-sans-body-strong-weight);
  cursor: pointer;
}
.file-input::file-selector-button:hover { background: var(--nova-button-secondary-hover-bg); border-color: var(--nova-button-secondary-hover-border); }
.file-input:focus-visible { outline: var(--nova-button-focus-width) solid var(--nova-button-focus-ring); outline-offset: var(--nova-button-focus-offset); border-radius: var(--nova-radius-pill); }
.file-input--error::file-selector-button { border-color: var(--shell-danger); box-shadow: 0 0 0 var(--nova-focus-ring-width) var(--shell-danger-ring); }
.documents .row { align-items: center; flex-wrap: nowrap; }
/* The name takes the room and wraps; Remove keeps to the row's end, even on a phone. */
.documents .row__main { flex: 1 1 0; }
.documents__name { overflow-wrap: anywhere; }
.documents__read { color: var(--nova-text-secondary); font-size: var(--nova-sans-label-size); }
.documents .row > form { margin: 0; }
/* People with access (src/web/manage-employees.tsx): the documents list's row. The email takes the
   room with its ST1 pill on the line under it, so the pill never sits beside a button; the
   row's compact buttons keep to its end, 12 apart (button groups). */
.people .row { align-items: center; flex-wrap: nowrap; }
.people .row__main { flex: 1 1 0; gap: var(--nova-space-8); }
.people__email { overflow-wrap: anywhere; }
.people__status { display: flex; flex-wrap: wrap; align-items: center; gap: var(--nova-space-8); }
.people__detail { color: var(--nova-text-secondary); font-size: var(--nova-sans-label-size); }
.people__actions { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: var(--nova-space-12); }
.people__actions > form { margin: 0; }
/* A copy button waits hidden until /assets/copy.js finds the Clipboard API. */
.button[hidden] { display: none; }
/* nova-provisional: a copy button, just copied, holds its pressed fill and border and shows a 16px check centred where its label was; the label keeps its room, so the button never changes size, and it goes back after 2s. Nova has no copied-state ruling (2026-11-19) */
.button--copied, .button--copied:hover {
  position: relative;
  background: var(--shell-light-fill-pressed);
  border-color: var(--nova-button-secondary-pressed-border);
}
.button--copied > .button__label { visibility: hidden; }
.button--copied::after {
  content: '';
  position: absolute;
  inset: 0;
  margin: auto;
  width: 16px;
  height: 16px;
  background: currentColor;
  -webkit-mask: var(--copied-check) center / contain no-repeat;
  mask: var(--copied-check) center / contain no-repeat;
  --copied-check: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='black' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 8.5l3.25 3.25L13 5'/%3E%3C/svg%3E");
}
/* The count against the limit, beside the section's title. */
.documents__count {
  margin-left: var(--nova-space-8);
  color: var(--nova-text-secondary);
  font-size: var(--nova-sans-label-size);
  font-weight: var(--nova-sans-body-weight);
}
/* The add field: one white field on the field recipe (R2), its title, what helps, the
   formats. Without the script it holds the native control and "Add this file"; with it the
   whole field is the control (see the marker on DocumentsScreen). */
.documents__adder { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--nova-space-16); }
.documents__add { margin: 0; display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--nova-space-8); }
.dropzone {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: var(--nova-space-4);
  padding: var(--nova-space-24);
  border: 1px solid var(--nova-focus-border-rest);
  border-radius: var(--nova-radius-field);
  background: var(--nova-neutral-white);
  --shell-light-fill-hover: var(--nova-button-tertiary-hover-bg);
  --shell-light-fill-pressed: var(--nova-button-tertiary-pressed-bg);
}
.dropzone__title {
  font-size: var(--nova-sans-title-medium-size);
  line-height: var(--nova-sans-title-medium-lh);
  font-weight: var(--nova-sans-title-medium-weight);
  letter-spacing: var(--nova-sans-title-medium-tracking);
}
.dropzone__helps { margin: 0; }
.dropzone__hint { margin: 0; color: var(--nova-text-secondary); font-size: var(--nova-sans-helper-size); line-height: var(--nova-sans-helper-lh); }
.dropzone__drop { display: none; }
.dropzone__status { margin: 0; font-weight: var(--nova-sans-body-strong-weight); }
.dropzone__status:empty { display: none; }
.dropzone > .file-input { order: 0; margin-top: var(--nova-space-12); }
.dropzone__submit { margin-top: var(--nova-space-12); }
.documents__add--error .dropzone { border-color: var(--shell-danger); box-shadow: 0 0 0 var(--nova-focus-ring-width) var(--shell-danger-ring); }
/* Enhanced: the field is the control. Hover and focus follow the field's own steps (R2). */
.documents__add.is-enhanced .dropzone { cursor: pointer; }
.documents__add.is-enhanced .dropzone:hover { border-color: var(--nova-focus-border-hover); }
.documents__add.is-enhanced .dropzone:has(input:focus-visible) {
  border-color: var(--nova-focus-border-focus);
  box-shadow: 0 0 0 var(--nova-focus-ring-width) var(--nova-focus-ring);
}
.documents__add.is-enhanced .dropzone.is-dragging { border-color: var(--nova-focus-border-focus); background: var(--nova-neutral-100); }
.documents__add.is-enhanced .dropzone.is-busy { cursor: progress; }
.documents__add.is-enhanced .dropzone__drop { display: inline; }
.documents__add.is-enhanced .dropzone__submit { display: none; }
.documents__add.is-enhanced .file-input {
  position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
/* Paste is the other way in, so it is a quiet disclosure, not a third button. */
.documents__paste { margin: 0; }
.documents__paste[open] > summary { margin-bottom: var(--nova-space-12); }
/* Who reads them and what is not needed: small print at the field, where the choice is made. */
.documents__trust { display: grid; gap: var(--nova-space-4); color: var(--nova-text-secondary); font-size: var(--nova-sans-helper-size); line-height: var(--nova-sans-helper-lh); }
.documents__trust > p { margin: 0; }
/* The info session: the head runs on into body paragraphs, then the video, then the questions. */
.info-head .lede + .body { margin-top: var(--nova-space-16); }
.info-head .body + .actions { margin-top: var(--nova-space-8); }
.video { margin: 0; }
.video__frame {
  display: grid;
  place-items: center;
  aspect-ratio: 16 / 9;
  border-radius: var(--nova-radius-container);
  background: var(--nova-neutral-900);
}
video.video__frame { width: 100%; }
.video__play { width: 56px; height: 56px; }
.video__play circle { fill: var(--nova-neutral-white); }
.video__play path { fill: var(--nova-neutral-900); }
.video__caption { display: grid; gap: var(--nova-space-4); margin-top: var(--nova-space-12); }
.video__title { font-size: var(--nova-sans-title-medium-size); line-height: var(--nova-sans-title-medium-lh); font-weight: var(--nova-sans-title-medium-weight); }
.info-question + .info-question { margin-top: var(--nova-space-12); }
.info-question > .body { margin: 0 0 var(--nova-space-8); color: var(--nova-text-secondary); }
/* A suggestion beside a confirmed answer: a quiet line, the answer itself unchanged. */
.answers__suggestion { margin-top: var(--nova-space-4); }
/* B4, a button loading. The one spinner: a ring in the label's colour, a quarter of it at 40%.
   nova-provisional: the spinner is a ring in the label's colour, a quarter of it at 40%, turning once a second, and still under reduced motion, because B4 rules where the spinner sits but not how it looks (2026-09-27); in the arrow's slot it is the label's colour rather than the arrow's chartreuse, because chartreuse means "forward" and a waiting button cannot go forward yet (2026-11-02) */
.button--loading::after,
.button__spinner {
  border-radius: 50%;
  border: 2px solid currentColor;
  border-right-color: color-mix(in srgb, currentColor 40%, transparent);
  animation: button-spin 1s linear infinite;
}
@keyframes button-spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .button--loading::after, .button__spinner { animation: none; } }
/* Iconless: the label gives way to a centred 16px spinner, the width held (set in the script
   before the class goes on). The label is hidden, so the ring takes its colour on itself. */
.button--loading { position: relative; color: transparent !important; pointer-events: none; }
.button--loading::after {
  content: '';
  position: absolute;
  inset: 0;
  margin: auto;
  width: 16px;
  height: 16px;
  color: var(--nova-button-secondary-rest-label);
}
/* With a trailing arrow: the label stays and the spinner takes the arrow's slot, at its size. */
.button--waiting { pointer-events: none; cursor: default; }
.button__spinner {
  width: var(--nova-button-icon-size);
  height: var(--nova-button-icon-size);
  flex: none;
  box-sizing: border-box;
}
/* A wait with nothing to press: the one spinner before a short line saying what is under way.
   nova-provisional: where the page reloads by itself once done, the wait is the B4 spinner before a body line in text/secondary, gap 8, no button, because a button that can never be pressed promises an action that is not there (2026-11-03) */
.waiting {
  display: flex;
  align-items: center;
  gap: var(--nova-space-8);
  margin: var(--nova-space-24) 0 0;
  color: var(--nova-text-secondary);
}
/* In a choice card, the line is a button's height, so it centres on the next card's button. */
.vt-card__action .waiting { margin-top: 0; min-height: var(--nova-button-sizes-default); }

/* ------------------------------------------------- the skills interview */

/* The conversation (learner/interview.tsx): a log of turns, oldest first.
   nova-provisional: turns stack at space/10 (Nova's bubble stack); our turn is body text under a sans/label speaker line, the learner's turn sits on the quote block's ground (neutral-100, radius/md) at Nova's bubble padding space/16, so their own words read the same here as wherever they are quoted; Nova rules bubble spacing but not the turn (2026-10-16) */
.conversation { display: grid; gap: var(--nova-space-10); margin: 0; padding: 0; list-style: none; }
.turn { display: grid; gap: var(--nova-space-4); margin: 0; }
.turn + .turn { margin-top: var(--nova-space-8); }
.turn__by {
  margin: 0;
  color: var(--nova-text-secondary);
  font-size: var(--nova-sans-label-size);
  line-height: var(--nova-sans-label-lh);
  font-weight: var(--nova-sans-label-weight);
}
.turn__text { margin: 0; white-space: pre-line; overflow-wrap: anywhere; }
/* The assistant working (PendingTurns, learner/conversation.tsx):
   the words in text/secondary, with an ink band sweeping through them while motion is welcome, so
   the line shows the assistant is still at it. Only the words move; the turn around them stays
   still. The line is as wide as its words, so the band crosses them rather than the empty width
   beside.
   nova-provisional: Nova's AI-activity rule asks for "a shimmer in the words themselves" but gives no values, so the band takes the skeleton's sweep (ST6, 1.4s) and runs from text/secondary to ink, never lighter, so the words never fall below text/secondary's contrast; still under reduced motion and in forced colours, where the words stay text/secondary (2026-11-03) */
.turn__text--working { width: fit-content; color: var(--nova-text-secondary); }
@media (prefers-reduced-motion: no-preference) and (forced-colors: none) {
  .turn__text--working {
    background-image: linear-gradient(90deg, var(--nova-text-secondary) 40%, var(--nova-text-primary) 50%, var(--nova-text-secondary) 60%);
    background-size: 250% 100%;
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    animation: words-working 1.4s linear infinite;
  }
}
/* The band starts just left of the words and ends just right of them, so the loop never jumps. */
@keyframes words-working { from { background-position: 100% 0; } to { background-position: 0 0; } }
/* The learner's own words quoted back in the agent's turn (withQuotes, learner/thread-turn.tsx, where its nova-provisional note is). */
.turn__quote {
  color: var(--nova-text-primary);
  font-weight: var(--nova-sans-body-strong-weight);
}
/* What shows only while an answer is out, or after a failed one (learner/conversation.tsx):
   hidden until Datastar first sets its style, since the content security policy refuses an
   inline style attribute and data-show only removes the display it set itself. */
.thread__pending:not([style]) { display: none; }
.turn--learner .turn__text {
  padding: var(--nova-space-16);
  border-radius: var(--nova-radius-md);
  background: var(--nova-neutral-100);
}
/* The thread as a chat (learner/conversation.tsx), Nova's question and answer pairing.
   nova-provisional: in the thread, the assistant's turn is unboxed on the left in sans/body, its last question in sans/body-strong (16/500) on its own line, in the saved turn and in the live orientation card alike (Nova's pairing sets the question in sans/title-medium 18/500; at 18 it outweighs the body around it in a long exchange, and Diagnose does not set its questions apart at all), and the learner's turn is its answer bubble on the right (neutral-200 ground, no hairline, radius/sm, 10 by 16, 16/1.4); both are at most 564px wide so lines stay short and the two sides match (the learner's bubble also at most 90% of the log on a phone); who speaks is said to a screen reader, not shown, since the bubble is what tells the two apart; the log's own heading is for screen readers too; Nova rules the pairing, not which side each sits on (2026-10-22, the assistant's text from title-medium to body 2026-10-29, question and widths 2026-10-29) */
.conversation--chat .turn__by, #conversation:has(> .conversation--chat) > .sheet__heading {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
/* The assistant's turn states the body slot rather than inheriting it, so the slot the provisional names
   is pinned here (text-weights.test.ts). */
.conversation--chat .turn--ours .turn__text {
  max-width: 564px;
  font-size: var(--nova-sans-body-size);
  line-height: var(--nova-sans-body-lh);
  font-weight: var(--nova-sans-body-weight);
  letter-spacing: var(--nova-sans-body-tracking);
}
/* Where we're heading (learner/conversation.tsx, HeadingTurn): the recommendation page's card at thread width, without its picture or name, a step smaller. */
/* nova-provisional: an inset hairline (ink 8%, Nova's inset-hairline value) on this content card, since the thread can sit on white where tone alone does not separate it; the band paints over its top edge (Alex Ross, 2026-11-02) */
.rec-card--preview { max-width: 564px; margin-top: var(--nova-space-8); box-shadow: inset 0 0 0 1px rgba(35,34,32,0.08); }
.rec-card--preview .heading__line { margin: 0; font-size: 16px; line-height: 1.5; }
.rec-card--preview .rec-identity { gap: 12px; padding: 24px 28px 8px; }
.rec-card--preview .rec-matchline { font-size: 16px; }
.rec-card--preview .rec-panel { gap: 16px; padding: 16px 28px 28px; }
/* Its moving band (learner/expression-band.ts): a brand file, nothing over it; rounds its own top corners, as .rec-card__picture does. */
.heading-band { height: 120px; }
.heading-band__video {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: var(--nova-radius-surface) var(--nova-radius-surface) 0 0;
  object-fit: cover;
}
@container main (max-width: 639px) { .heading-band { height: 96px; } }
/* The last question of the turn (turnCopy, learner/thread-turn.tsx, and orientation's live card question, .prompt.turn__ask): sans/body-strong, overriding .prompt's title-medium. */
.conversation--chat .turn__ask, .conversation--chat .turn__ask .turn__quote {
  font-size: var(--nova-sans-body-strong-size);
  line-height: var(--nova-sans-body-strong-lh);
  font-weight: var(--nova-sans-body-strong-weight);
  letter-spacing: var(--nova-sans-body-strong-tracking);
}
.conversation--chat .turn--learner { justify-items: end; }
.conversation--chat .turn--learner .turn__text {
  max-width: 564px;
  padding: var(--nova-space-10) var(--nova-space-16);
  border-radius: var(--nova-radius-sm);
  background: var(--nova-neutral-200);
  line-height: 1.4;
}
@container main (max-width: 639px) {
  .conversation--chat .turn--learner .turn__text { max-width: 90%; }
}
/* The confirm card (learner/confirm-card.tsx; design handover 2026-10-29): what we inferred,
   played back in the thread for a yes or a change. Its provisionals are in the component.
   nova-provisional: the handover's 14px paddings, 12px label and #383633 evidence text are not on Nova's scale, so they take the nearest tokens: space/12 and space/16, sans/caption 13, text/primary (2026-10-29) */
.thread__card { padding: 0 var(--nova-space-24) var(--nova-space-24); }
@container main (min-width: 640px) {
  .thread__card { padding: 0 var(--nova-space-40) var(--nova-space-32); }
}
.thread__card-after { display: flex; flex-wrap: wrap; align-items: center; gap: var(--nova-space-8) var(--nova-space-16); max-width: 564px; margin-top: var(--nova-space-12); }
.thread__card-after .hint { flex-basis: 100%; margin: 0; }
.confirm-card {
  display: grid;
  gap: var(--nova-space-16);
  max-width: 564px;
  padding: var(--nova-space-20) var(--nova-space-20) var(--nova-space-24);
  border: 1px solid var(--nova-neutral-400);
  border-radius: var(--nova-radius-container);
  background: var(--nova-neutral-white);
  --shell-callout-ground: var(--nova-neutral-100);
  --shell-light-fill-hover: var(--nova-button-tertiary-hover-bg);
  --shell-light-fill-pressed: var(--nova-button-tertiary-pressed-bg);
}
/* sans/title-medium, a step above the handover's 16/500 (Alex, 2026-10-29). */
.confirm-card__title { margin: 0; font-size: var(--nova-sans-title-medium-size); line-height: var(--nova-sans-title-medium-lh); font-weight: var(--nova-sans-title-medium-weight); letter-spacing: var(--nova-sans-title-medium-tracking); color: var(--nova-text-primary); }
.confirm-card__items { display: grid; gap: var(--nova-space-8); margin: 0; padding: 0; list-style: none; }
.confirm-card__item { position: relative; padding-left: var(--nova-space-20); line-height: 1.5; }
.confirm-card__item::before { content: ''; position: absolute; left: var(--nova-space-4); top: calc(0.75em - 3px); width: 6px; height: 6px; border-radius: var(--nova-radius-full); background: var(--nova-neutral-900); }
.confirm-card__items--one .confirm-card__item { padding-left: 0; }
.confirm-card__items--one .confirm-card__item::before { display: none; }
.confirm-card__value { margin: 0; white-space: pre-line; overflow-wrap: anywhere; }
/* A value with where it stands beside it (a duty and its level on the job page). */
.confirm-card__value-row { display: flex; align-items: flex-start; justify-content: space-between; gap: var(--nova-space-12); }
.confirm-card__value-row > .pill { flex: none; }
/* nova-provisional: below a 640px column an item's pill drops under its text, so a long duty keeps the card's width instead of a narrow column beside "Not part of my role" (2026-11-02) */
@container main (max-width: 639px) {
  .confirm-card__value-row { flex-direction: column; gap: var(--nova-space-8); }
}
/* The parts behind an item, under the learner's words: a tick for one covered, a dashed ring
   for one not covered yet with why, a dot for a plain line.
   nova-provisional: an item's parts are a list in its evidence box, a 16px ink tick for covered, a dashed neutral-500 ring for not yet (its text secondary, why as a hint), a dot otherwise, because the parts are what the level rests on and the learner reads them only when they ask why (2026-11-02) */
.confirm-card__points { display: grid; gap: var(--nova-space-8); margin: var(--nova-space-8) 0 0; padding: 0; list-style: none; }
.confirm-card__point { position: relative; display: grid; gap: var(--nova-space-2); padding-left: var(--nova-space-24); line-height: 1.5; }
.confirm-card__point::before { content: ''; position: absolute; left: 5px; top: calc(0.75em - 3px); width: 6px; height: 6px; border-radius: var(--nova-radius-full); background: var(--nova-neutral-700); }
.confirm-card__point--covered::before { left: 3px; top: calc(0.75em - 6px); width: 10px; height: 5px; border-radius: 0; background: none; border-left: 1.5px solid var(--nova-neutral-900); border-bottom: 1.5px solid var(--nova-neutral-900); transform: rotate(-45deg); }
.confirm-card__point--missing::before { left: 2px; top: calc(0.75em - 6px); width: 12px; height: 12px; background: none; border: 1px dashed var(--nova-neutral-500); }
.confirm-card__point--missing > span:first-child { color: var(--nova-text-secondary); }
.confirm-card__point .hint { margin: 0; }
.confirm-card__detail { margin: var(--nova-space-4) 0 0; color: var(--nova-text-secondary); font-size: var(--nova-sans-helper-size); line-height: var(--nova-sans-helper-lh); }
.confirm-card__label { margin: 0; color: var(--nova-text-secondary); font-size: var(--nova-sans-label-size); line-height: var(--nova-sans-body-lh); }
/* Labelled items (the handover's field kind): label then value in two columns, no bullet, the
   evidence under both, matching the facts list above them. */
.confirm-card__item:has(> .confirm-card__label) { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); column-gap: var(--nova-space-16); padding-left: 0; }
.confirm-card__item:has(> .confirm-card__label)::before { display: none; }
.confirm-card__item:has(> .confirm-card__label) > .confirm-card__evidence { grid-column: 1 / -1; }
.confirm-card__item:has(> .confirm-card__label) > .confirm-card__evidence--plain { grid-column: 2; }
.confirm-edit__leave { margin-top: var(--nova-space-8); }
.confirm-card__fields { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); gap: var(--nova-space-8) var(--nova-space-16); margin: 0; }
.confirm-card__fields > div { display: contents; }
.confirm-card__fields dt { color: var(--nova-text-secondary); font-size: var(--nova-sans-label-size); line-height: var(--nova-sans-body-lh); }
.confirm-card__fields dd { margin: 0; overflow-wrap: anywhere; }
.confirm-card__evidence {
  display: none;
  gap: var(--nova-space-8);
  justify-items: start;
  margin-top: var(--nova-space-8);
  padding: var(--nova-space-12) var(--nova-space-16);
  border-radius: var(--nova-radius-md);
  background: var(--nova-neutral-100);
  --shell-light-fill-hover: var(--nova-button-light-fill-on-neutral100-hover-bg);
  --shell-light-fill-pressed: var(--nova-button-light-fill-on-neutral100-pressed-bg);
  color: var(--nova-text-primary);
  font-size: var(--nova-sans-helper-size);
  line-height: var(--nova-sans-helper-lh);
}
.confirm-card__quote, .confirm-card__evidence-lead { margin: 0; overflow-wrap: anywhere; }
/* A source on its own (a field's "Where these came from"): the label under the value, no box. */
.confirm-card__evidence--plain { margin-top: var(--nova-space-4); padding: 0; background: none; }
.confirm-card__evidence-lead { color: var(--nova-text-secondary); }
.confirm-card__source {
  display: inline-flex;
  align-items: center;
  height: 22px;
  padding: 0 var(--nova-space-8);
  border: 1px solid var(--nova-neutral-400);
  border-radius: var(--nova-radius-pill);
  background: var(--nova-neutral-white);
  color: var(--nova-text-secondary);
  font-size: var(--nova-sans-caption-size);
  line-height: 1;
}
/* Why we think this, open: each item over its own evidence, rows split by a hairline. */
.confirm-card:has(.confirm-card__why[open]) .confirm-card__evidence { display: grid; }
/* Why we think the items inferred from another (the job page's related duties): under the last
   of them, joined to them with no rule, and only while the evidence is open (2026-11-04). */
.confirm-card__reason { display: none; }
.confirm-card:has(.confirm-card__why[open]) .confirm-card__item.confirm-card__reason { display: block; padding-top: 0; border-top: 0; }
.confirm-card__reason > .confirm-card__evidence { margin-top: 0; }
.confirm-card:has(.confirm-card__why[open]) .confirm-card__items { gap: 0; }
.confirm-card:has(.confirm-card__why[open]) .confirm-card__item { padding: var(--nova-space-12) 0; border-top: 1px solid var(--nova-neutral-300); }
.confirm-card:has(.confirm-card__why[open]) .confirm-card__item:first-child { padding-top: 0; border-top: 0; }
.confirm-card:has(.confirm-card__why[open]) .confirm-card__item:last-child { padding-bottom: 0; }
.confirm-card:has(.confirm-card__why[open]) .confirm-card__item::before { display: none; }
.confirm-card:has(.confirm-card__why[open]) .confirm-card__items:not(.confirm-card__items--one) .confirm-card__value { font-weight: var(--nova-sans-body-strong-weight); }
/* The footer sits space/24 under what it answers (the card's space/16 and space/8 more), at Alex's request (2026-10-29). */
.confirm-card__foot { display: flex; flex-wrap: wrap; align-items: center; gap: var(--nova-space-8) var(--nova-space-12); margin-top: var(--nova-space-8); }
.confirm-card__foot > form { margin: 0; }
.confirm-card__foot .button { min-width: 0; }
.confirm-card__change > summary, .confirm-card__why > summary { list-style: none; }
.confirm-card__change > summary::-webkit-details-marker, .confirm-card__why > summary::-webkit-details-marker { display: none; }
.confirm-card__why { margin-left: auto; }
.confirm-card__why > summary { display: inline-flex; align-items: center; min-height: 32px; font-size: var(--nova-sans-label-size); font-weight: var(--nova-sans-label-weight); }
/* A tertiary button: its words line up with the card's right edge, its fill showing past them on hover. */
.confirm-card__why > summary.button--tertiary { margin-right: calc(var(--nova-space-16) * -1); }
.confirm-card__why-open, .confirm-card__why[open] .confirm-card__why-closed { display: none; }
.confirm-card__why[open] .confirm-card__why-open { display: inline; }
/* Change, open: each question at body-strong 16 with space/12 under it, its answers space/8
   apart, so the questions inside a card sit under the card's title (Alex Ross, on the design
   canvas, 2026-11-13). */
.stage-change .stage-field legend.field__label,
.confirm-card--form .stage-field legend.field__label {
  padding-bottom: var(--nova-space-12);
  font-size: var(--nova-sans-body-strong-size);
  line-height: var(--nova-sans-body-strong-lh);
  font-weight: var(--nova-sans-body-strong-weight);
  letter-spacing: var(--nova-sans-body-strong-tracking);
}
.stage-change .choices,
.confirm-card--form .choices { gap: var(--nova-space-8); }
/* What we still need, on its card: as Change, the first question under the card's title with no
   rule above it, each related responsibility its own box (as a row is), and their disclosure in
   ink, not a link (Alex Ross, 2026-11-13). */
.confirm-card--form [data-area] > .stage-field:first-child { border-top: 0; padding-top: 0; }
.confirm-card--form [data-area] > .stage-field:last-child { padding-bottom: 0; }
.related > .stage-field:not(:has(> .duty-answer)) {
  padding: var(--nova-space-16);
  border: 1px solid var(--nova-neutral-300);
  border-radius: var(--nova-radius-field);
}
.related > .stage-field + .stage-field { margin-top: var(--nova-space-8); }
.related > .hint + .stage-field { margin-top: var(--nova-space-12); }
.disclosure.related > summary,
.disclosure.related > summary:hover { color: var(--nova-text-primary); text-decoration: none; }
.disclosure.related > summary:hover { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
/* Change, open: the edit form takes the card's place under its heading; Cancel puts it back. */
.confirm-card__change[open] { flex-basis: 100%; }
.confirm-card:has(.confirm-card__change[open]) .confirm-card__foot { margin-top: 0; }
.confirm-card__change[open] > summary { display: none; }
.confirm-card:has(.confirm-card__change[open]) :is(.confirm-card__fields, .confirm-card__items, .vt-context--person, .confirm-card__foot > form, .confirm-card__why) { display: none; }
.confirm-card__change > .form { margin-top: 0; }
.confirm-card__lead { display: grid; gap: var(--nova-space-4); margin-top: calc(var(--nova-space-8) * -1); }
.confirm-card__lead .hint { margin: 0; }
.confirm-card--form > .form > .actions { margin-top: var(--nova-space-8); }
.confirm-card__change .actions { margin-top: var(--nova-space-16); }
.confirm-card__change > .form > .actions { margin-top: 0; }
/* Change, for a part's lines (the design's "Changing, from the evidence view"): each line an
   input over the learner's words, split by the same hairline as the evidence view. */
.confirm-card__evidence--shown { display: grid; }
.confirm-edit__hint { margin: 0; }
/* A value's words under its field while it changes, after Nova's hint and error. */
.field > .confirm-card__evidence { order: 4; margin-top: 0; }
/* What the assistant heard on the card: each part under a sans/body-strong heading, its lines a bulleted
   list, the part's hint under it, and its question over the footer in body. */
.confirm-card__parts { display: grid; gap: var(--nova-space-16); }
.confirm-card__part { display: grid; gap: var(--nova-space-4); }
.confirm-card__part-title { margin: 0; font-size: var(--nova-sans-body-strong-size); line-height: 1.5; font-weight: var(--nova-sans-body-strong-weight); color: var(--nova-text-primary); }
.confirm-card__part-lines { display: grid; gap: var(--nova-space-4); margin: 0; padding-left: var(--nova-space-20); }
.confirm-card__part-line, .confirm-card__ask, .confirm-card__part .hint { margin: 0; }
/* A reply that reads as a link (B7): "Skip to my programme" under a card. */
.link--button { padding: 0; border: 0; background: none; font: inherit; font-size: var(--nova-sans-label-size); }
.confirm-edit__fields { display: grid; gap: var(--nova-space-12); }
.confirm-edit__items { display: grid; margin: 0; padding: 0; list-style: none; }
.confirm-edit__item { padding: var(--nova-space-12) 0; border-top: 1px solid var(--nova-neutral-300); }
.confirm-edit__item:first-child { padding-top: 0; border-top: 0; }
/* Beats textarea.input's 96 floor: a line's box fits its words, as the design draws it. */
textarea.confirm-edit__input { display: block; min-height: 0; field-sizing: content; resize: vertical; }
.confirm-edit__add textarea.confirm-edit__input { min-height: 96px; }
.confirm-edit__add > summary { display: inline-flex; align-items: center; min-height: 32px; list-style: none; font-size: var(--nova-sans-label-size); font-weight: var(--nova-sans-label-weight); }
.confirm-edit__add > summary::-webkit-details-marker { display: none; }
.confirm-edit__add[open] > summary { margin-bottom: var(--nova-space-8); }
/* What an answered card leaves in the log. */
.turn--card { justify-items: start; }
.confirm-summary {
  width: 100%;
  max-width: 440px;
  border: 1px solid var(--nova-neutral-350);
  border-radius: var(--nova-radius-md);
  background: var(--nova-neutral-50);
  --shell-light-fill-hover: var(--nova-button-tertiary-hover-bg);
  --shell-light-fill-pressed: var(--nova-button-tertiary-pressed-bg);
  font-size: var(--nova-sans-label-size);
  line-height: 1.4;
}
.confirm-summary__line { display: flex; align-items: center; gap: var(--nova-space-8); min-height: 44px; padding: var(--nova-space-10) var(--nova-space-16); list-style: none; cursor: pointer; }
.confirm-summary__line::-webkit-details-marker { display: none; }
.confirm-summary__tick { flex: none; width: 16px; height: 16px; }
.confirm-summary__text { flex: 1; min-width: 0; }
.confirm-summary__topic { font-weight: var(--nova-sans-label-weight); }
.confirm-summary__view { flex: none; font-weight: var(--nova-sans-label-weight); }
.confirm-summary__view-open, .confirm-summary[open] .confirm-summary__view-closed { display: none; }
.confirm-summary[open] .confirm-summary__view-open { display: inline; }
.confirm-summary__items { display: grid; gap: var(--nova-space-4); margin: 0; padding: 0 var(--nova-space-16) var(--nova-space-12) calc(var(--nova-space-16) + 16px + var(--nova-space-8)); list-style: none; overflow-wrap: anywhere; }
.confirm-summary__label { color: var(--nova-text-secondary); }
/* Orientation as a chat the assistant steers (learner/orientation.tsx, ADR 20261028100000). Its topic
   list is a chip in the pinned header that opens the list, so the page keeps the sheet's
   width throughout. The nova-provisional notes are on the component. */
.thread__outline-trigger {
  display: inline-flex;
  align-items: center;
  gap: var(--nova-space-4);
  min-height: 34px;
  padding: 0 var(--nova-space-12);
  border: 1px solid var(--nova-neutral-350);
  border-radius: var(--nova-radius-pill);
  background: var(--nova-neutral-200);
  color: var(--nova-neutral-700);
  font-size: 13px;
  line-height: 1;
  font-weight: 500;
  white-space: nowrap;
  cursor: pointer;
  list-style: none;
}
.thread__outline-trigger::-webkit-details-marker { display: none; }
.thread__outline-trigger:hover, .thread__menu[open] > .thread__outline-trigger { background: var(--nova-neutral-300); }
.thread__menu[open] > .thread__outline-trigger .thread__outline-chevron { transform: rotate(180deg); }
/* Below a 640px column the list hangs from the header's right edge, not the chip's, so it
   stays inside the sheet, which clips. */
@container main (max-width: 639px) {
  .thread__menu:has(> .thread__popover--outline) { position: static; }
  .thread__head .thread__popover--outline { right: var(--nova-space-16); }
  .thread__outline-title { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
}
.thread__popover--outline { width: min(300px, calc(100vw - 32px)); padding: var(--nova-space-16); gap: var(--nova-space-2); }
.thread__popover--outline .hint { margin: 0; }
.orientation__parts { display: grid; gap: var(--nova-space-8); margin: var(--nova-space-12) 0 0; padding: 0; list-style: none; }
.orientation__part {
  display: grid;
  grid-template-columns: var(--nova-space-20) minmax(0, 1fr);
  gap: var(--nova-space-8);
  color: var(--nova-text-secondary);
}
.orientation__part[aria-current="step"] { color: var(--nova-text-primary); font-weight: var(--nova-sans-body-strong-weight); }
.orientation__mark { color: var(--nova-text-secondary); }
/* A step's content inside the assistant's turn: its parts, a value's check, the confirmation. */
.orientation__turn > .turn__text + * { margin-top: var(--nova-space-16); }
.orientation__turn .about__part + .about__part { margin-top: var(--nova-space-24); }
/* The question in the assistant's turn is .prompt (sans/title-medium); the turn sets its margin, and
   the compound selector wins over .prompt's own wherever this block sits. */
.prompt.turn__ask { margin: var(--nova-space-16) 0 0; }
.orientation__confirm .actions { margin-top: var(--nova-space-16); }
/* A typical week in the off-the-job topic's turn, as a card (WeekBody, where its nova-provisional note is):
   the assistant's opening above it, its close and the topic's close under it, each a paragraph apart. */
.orientation__week > .body { margin: 0; }
.orientation__week > .body + .body { margin-top: var(--nova-space-12); }
/* The at-a-glance card (orientation.tsx ConfirmBody): every essential topic as a row that opens.
   nova-provisional: the week card's outline, rows split by the ink hairline, a chevron that
   turns on open, the key point in text/secondary (2026-11-04). */
.glance-card {
  margin: var(--nova-space-16) 0;
  padding: var(--nova-pad-box-v) var(--nova-pad-box-h);
  border: 1px solid var(--shell-ink-divider);
  border-radius: var(--nova-radius-container);
}
.glance-card__title { margin: 0 0 var(--nova-space-8); font-size: inherit; line-height: inherit; font-weight: var(--nova-sans-body-strong-weight); }
.glance-card__rows { margin: 0; padding: 0; list-style: none; }
.glance-card__row + .glance-card__row { border-top: 1px solid var(--shell-ink-divider); }
.glance-card__summary { display: flex; align-items: flex-start; gap: var(--nova-space-12); padding: var(--nova-space-12) 0; cursor: pointer; list-style: none; }
.glance-card__summary::-webkit-details-marker { display: none; }
.glance-card__summary::after { content: ''; flex: none; width: 8px; height: 8px; margin: 8px var(--nova-space-4) 0 auto; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: rotate(45deg); transition: transform 150ms ease; }
.glance-card__item[open] > .glance-card__summary::after { transform: rotate(-135deg); }
@media (prefers-reduced-motion: reduce) { .glance-card__summary::after { transition: none; } }
.glance-card__summary:focus-visible { outline: 2px solid var(--nova-neutral-900); outline-offset: 2px; border-radius: var(--nova-radius-sm); }
.glance-card__head { display: grid; gap: var(--nova-space-4); min-width: 0; }
.glance-card__name { font-weight: var(--nova-sans-body-strong-weight); }
.glance-card__point { color: var(--nova-text-secondary); }
.glance-card__more { padding: 0 0 var(--nova-space-12); }
.glance-card__more > .body:first-child { margin-top: 0; }

/* Orientation's intro and the company's reasons (orientation-intro.tsx, PRE-1213).
   nova-provisional: the intro's greeting is serif/headline in the assistant's turn and its paragraphs
   body large; the two topics are a list with a 28px ink disc numbering each; the company card is
   neutral-100 at radius/xl with pad 32 and no shadow, its logo tile 56px white at radius/md with
   the ink hairline; the video card is white with the ink hairline at radius/xl with pad 24; a
   video inside either is at radius/lg; video titles and the lead statement are serif/title; the
   speaker row is a 36px neutral-200 avatar, the name label over its role in helper, the length
   a pill; "Prefer to read?" is ink body strong with a chevron, a neutral-350 hairline above it
   once open; skip is a form's button set as the B7 link (2026-11-09). */
.intro { display: flex; flex-direction: column; gap: var(--nova-space-24); }
.intro__greeting { margin: 0; }
.intro__line, .funding-lead {
  margin: 0;
  font-size: var(--nova-sans-body-large-size);
  line-height: var(--nova-sans-body-large-lh);
  letter-spacing: var(--nova-sans-body-large-tracking);
}
.intro__cover { display: flex; flex-direction: column; gap: var(--nova-space-16); }
.intro__topics { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: var(--nova-space-12); }
.intro__topic { display: flex; gap: var(--nova-space-12); align-items: flex-start; }
.intro__mark {
  flex-shrink: 0;
  width: 28px; height: 28px;
  border-radius: var(--nova-radius-full);
  background: var(--nova-neutral-900);
  color: var(--nova-neutral-white);
  font-size: var(--nova-sans-label-size);
  font-weight: var(--nova-sans-label-weight);
  display: flex; align-items: center; justify-content: center;
}
.intro__topic-text { display: flex; flex-direction: column; }
.intro__topic-title { font-weight: var(--nova-sans-body-strong-weight); line-height: var(--nova-sans-body-lh); }
.intro__topic-sub { font-size: var(--nova-sans-helper-size); line-height: var(--nova-sans-helper-lh); color: var(--nova-text-secondary); }
.funding { display: flex; flex-direction: column; gap: var(--nova-space-24); margin-top: var(--nova-space-16); }
.company-card {
  background: var(--nova-neutral-100);
  --shell-light-fill-hover: var(--nova-button-light-fill-on-neutral100-hover-bg);
  --shell-light-fill-pressed: var(--nova-button-light-fill-on-neutral100-pressed-bg);
  border-radius: var(--nova-radius-xl);
  padding: var(--nova-space-32);
  display: flex; flex-direction: column; gap: var(--nova-space-24);
  min-width: 0;
}
.company-card__head { display: flex; gap: var(--nova-space-16); align-items: center; min-width: 0; }
.company-card__logo {
  flex-shrink: 0;
  width: 56px; height: 56px;
  border-radius: var(--nova-radius-md);
  background: var(--nova-neutral-white);
  border: 1px solid var(--shell-ink-divider);
  display: flex; align-items: center; justify-content: center;
  font-size: var(--nova-sans-body-large-size);
  font-weight: var(--nova-sans-label-weight);
}
.company-card__who { display: flex; flex-direction: column; min-width: 0; }
.company-card__name {
  font-size: var(--nova-sans-body-large-size);
  line-height: var(--nova-sans-title-medium-lh);
  letter-spacing: var(--nova-sans-body-large-tracking);
  font-weight: var(--nova-sans-label-weight);
  overflow-wrap: anywhere;
}
.company-card__sub { font-size: var(--nova-sans-helper-size); line-height: var(--nova-sans-helper-lh); color: var(--nova-text-secondary); }
.company-card__words { margin: 0; display: flex; flex-direction: column; gap: var(--nova-space-16); }
.company-card__lead {
  margin: 0;
  font-family: var(--nova-font-serif);
  font-weight: var(--nova-serif-title-weight);
  letter-spacing: var(--nova-serif-title-tracking);
}
.company-card__lead--title { font-size: var(--nova-serif-title-size); line-height: var(--nova-serif-title-lh); }
.company-card__lead--small { font-size: 24px; line-height: var(--nova-sans-title-medium-lh); } /* nova-provisional: 24, the serif's floor, as the brief sets the lead inside the toggle; Nova has no 24 serif token (2026-11-09) */
.company-card__para { margin: 0; color: var(--nova-text-secondary); }
.company-card__para--title {
  font-size: var(--nova-sans-body-large-size);
  line-height: var(--nova-sans-body-large-lh);
  letter-spacing: var(--nova-sans-body-large-tracking);
}
.company-card__para--small { font-size: var(--nova-sans-body-size); line-height: var(--nova-sans-body-lh); }
.video-card {
  background: var(--nova-neutral-white);
  --shell-callout-ground: var(--nova-neutral-100);
  --shell-light-fill-hover: var(--nova-button-tertiary-hover-bg);
  --shell-light-fill-pressed: var(--nova-button-tertiary-pressed-bg);
  border: 1px solid var(--shell-ink-divider);
  border-radius: var(--nova-radius-xl);
  padding: var(--nova-space-24);
  display: flex; flex-direction: column; gap: var(--nova-space-20);
  min-width: 0;
}
.video-card__frame { border-radius: var(--nova-radius-lg); width: 100%; }
.video-card__text { display: flex; flex-direction: column; gap: var(--nova-space-8); }
.video-card__title {
  margin: 0;
  font-family: var(--nova-font-serif);
  font-size: var(--nova-serif-title-size);
  line-height: var(--nova-serif-title-lh);
  font-weight: var(--nova-serif-title-weight);
  letter-spacing: var(--nova-serif-title-tracking);
}
.video-card__why { margin: 0; color: var(--nova-text-secondary); }
.speaker { display: flex; gap: var(--nova-space-12); align-items: center; }
.speaker__avatar {
  flex-shrink: 0;
  width: 36px; height: 36px;
  border-radius: var(--nova-radius-full);
  background: var(--nova-neutral-200);
  color: var(--nova-text-secondary);
  display: flex; align-items: center; justify-content: center;
}
.speaker__who { display: flex; flex-direction: column; flex-grow: 1; min-width: 0; }
.speaker__name { font-size: var(--nova-sans-label-size); line-height: var(--nova-sans-label-lh); font-weight: var(--nova-sans-label-weight); }
.speaker__role { font-size: var(--nova-sans-label-size); line-height: var(--nova-sans-label-lh); color: var(--nova-text-secondary); }
.speaker__length {
  margin-left: auto;
  flex-shrink: 0;
  font-size: var(--nova-sans-label-size);
  font-weight: var(--nova-sans-label-weight);
  border: 1px solid var(--shell-ink-divider);
  border-radius: var(--nova-radius-full);
  padding: var(--nova-space-4) var(--nova-space-12);
}
.speaker__length--white { background: var(--nova-neutral-white); }
.speaker__length--neutral { background: var(--nova-neutral-100); }
.reasons-toggle { display: flex; flex-direction: column; gap: var(--nova-space-16); }
.reasons-toggle--open { border-top: 1px solid var(--nova-neutral-350); padding-top: var(--nova-space-8); }
.reasons-toggle__button {
  align-self: flex-start;
  display: inline-flex; align-items: center; gap: var(--nova-space-8);
  min-height: 44px;
  padding: var(--nova-space-10) 0;
  background: none; border: 0;
  font: inherit;
  font-weight: var(--nova-sans-body-strong-weight);
  color: var(--nova-neutral-900);
  cursor: pointer;
}
.reasons-toggle--open .reasons-toggle__chevron { transform: rotate(180deg); }
.reasons-toggle__words { display: flex; flex-direction: column; gap: var(--nova-space-16); }
.reasons-toggle:not(.reasons-toggle--open) .reasons-toggle__words,
.reasons-toggle:not(.reasons-toggle--open) .reasons-toggle__hide,
.reasons-toggle--open .reasons-toggle__show { display: none; }
.link-button { background: none; border: 0; padding: 0; font: inherit; }
/* nova-provisional: below 768 the cards keep their content wide, at pad 20 and 16 (2026-11-09) */
@media (max-width: 767px) {
  .company-card { padding: var(--nova-space-20); }
  .video-card { padding: var(--nova-space-16); }
}
.week-card {
  margin: var(--nova-space-16) 0;
  padding: var(--nova-pad-box-v) var(--nova-pad-box-h);
  border: 1px solid var(--shell-ink-divider);
  border-radius: var(--nova-radius-container);
}
.week-card__title { margin: 0 0 var(--nova-space-16); font-size: inherit; line-height: inherit; font-weight: var(--nova-sans-body-strong-weight); }
.week-card__body { display: grid; gap: var(--nova-space-16); align-items: center; }
@container main (min-width: 520px) {
  .week-card__body { grid-template-columns: minmax(0, 1fr) 120px; gap: var(--nova-space-32); }
}
.week-card__list { display: grid; gap: var(--nova-space-2); margin: 0; padding: 0; list-style: none; }
.week-card__part {
  display: flex;
  align-items: center;
  gap: var(--nova-space-8);
  margin-inline: calc(-1 * var(--nova-space-8));
  padding: var(--nova-space-4) var(--nova-space-8);
  border-radius: var(--nova-radius-sm);
  transition: background-color 150ms ease;
}
.week-card__key { flex: none; width: 12px; height: 12px; border-radius: var(--nova-radius-xs); background: var(--week-shade); }
.week-card__hours { margin-left: auto; padding-left: var(--nova-space-8); color: var(--nova-text-secondary); font-variant-numeric: tabular-nums; white-space: nowrap; }
.week-card__chart { display: block; width: 120px; height: 120px; justify-self: center; overflow: visible; }
.week-card__hit { fill: none; stroke: transparent; stroke-width: 26px; pointer-events: stroke; }
.week-card__segment { fill: none; stroke: var(--week-shade); stroke-width: 16px; pointer-events: none; transition: translate 150ms ease, stroke-width 150ms ease, opacity 150ms ease; }
.week-card:has(.week-card__slice:hover, .week-card__part:hover) .week-card__segment { opacity: 0.4; }
.week-pop--0 { --pop: 0.00px -4.00px; }
.week-pop--1 { --pop: 1.04px -3.86px; }
.week-pop--2 { --pop: 2.00px -3.46px; }
.week-pop--3 { --pop: 2.83px -2.83px; }
.week-pop--4 { --pop: 3.46px -2.00px; }
.week-pop--5 { --pop: 3.86px -1.04px; }
.week-pop--6 { --pop: 4.00px -0.00px; }
.week-pop--7 { --pop: 3.86px 1.04px; }
.week-pop--8 { --pop: 3.46px 2.00px; }
.week-pop--9 { --pop: 2.83px 2.83px; }
.week-pop--10 { --pop: 2.00px 3.46px; }
.week-pop--11 { --pop: 1.04px 3.86px; }
.week-pop--12 { --pop: 0.00px 4.00px; }
.week-pop--13 { --pop: -1.04px 3.86px; }
.week-pop--14 { --pop: -2.00px 3.46px; }
.week-pop--15 { --pop: -2.83px 2.83px; }
.week-pop--16 { --pop: -3.46px 2.00px; }
.week-pop--17 { --pop: -3.86px 1.04px; }
.week-pop--18 { --pop: -4.00px 0.00px; }
.week-pop--19 { --pop: -3.86px -1.04px; }
.week-pop--20 { --pop: -3.46px -2.00px; }
.week-pop--21 { --pop: -2.83px -2.83px; }
.week-pop--22 { --pop: -2.00px -3.46px; }
.week-pop--23 { --pop: -1.04px -3.86px; }
.week-card:has(.week-card__slice--1:hover, .week-card__part--1:hover) .week-card__slice--1 .week-card__segment { opacity: 1; translate: var(--pop); stroke-width: 20px; }
.week-card:has(.week-card__slice--1:hover, .week-card__part--1:hover) .week-card__part--1 { background-color: var(--nova-neutral-100); }
.week-card:has(.week-card__slice--2:hover, .week-card__part--2:hover) .week-card__slice--2 .week-card__segment { opacity: 1; translate: var(--pop); stroke-width: 20px; }
.week-card:has(.week-card__slice--2:hover, .week-card__part--2:hover) .week-card__part--2 { background-color: var(--nova-neutral-100); }
.week-card:has(.week-card__slice--3:hover, .week-card__part--3:hover) .week-card__slice--3 .week-card__segment { opacity: 1; translate: var(--pop); stroke-width: 20px; }
.week-card:has(.week-card__slice--3:hover, .week-card__part--3:hover) .week-card__part--3 { background-color: var(--nova-neutral-100); }
.week-card:has(.week-card__slice--4:hover, .week-card__part--4:hover) .week-card__slice--4 .week-card__segment { opacity: 1; translate: var(--pop); stroke-width: 20px; }
.week-card:has(.week-card__slice--4:hover, .week-card__part--4:hover) .week-card__part--4 { background-color: var(--nova-neutral-100); }
.week-card:has(.week-card__slice--5:hover, .week-card__part--5:hover) .week-card__slice--5 .week-card__segment { opacity: 1; translate: var(--pop); stroke-width: 20px; }
.week-card:has(.week-card__slice--5:hover, .week-card__part--5:hover) .week-card__part--5 { background-color: var(--nova-neutral-100); }
.week-card:has(.week-card__slice--6:hover, .week-card__part--6:hover) .week-card__slice--6 .week-card__segment { opacity: 1; translate: var(--pop); stroke-width: 20px; }
.week-card:has(.week-card__slice--6:hover, .week-card__part--6:hover) .week-card__part--6 { background-color: var(--nova-neutral-100); }
@media (prefers-reduced-motion: reduce) { .week-card__part, .week-card__segment { transition: none; } }

.learners {
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding-top: 8px;
  color: #232220;
  font-family: var(--nova-font-sans);
  font-size: 15px;
  line-height: 1.45;
}
.learners *, .learners *::before, .learners *::after { box-sizing: border-box; }
.learners :focus-visible { outline: 2px solid #232220; outline-offset: 2px; }
.learners__head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 16px; }
.learners__titles { display: flex; flex-direction: column; gap: 10px; }
.learners__h1 { margin: 0; font-family: var(--nova-font-serif); font-weight: 300; font-size: 44px; line-height: 1.02; letter-spacing: -0.02em; }
.learners__meta { font-size: 13px; color: #6B6761; }
.learners__sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* The views: the prototype's segmented control (.p-seg), as links. */
.learners__views { display: inline-flex; align-self: flex-start; max-width: 100%; overflow-x: auto; scrollbar-width: none; padding: 3px; gap: 2px; border-radius: 999px; background: #F0ECE1; }
.learners__view { position: relative; display: inline-flex; flex: none; align-items: center; white-space: nowrap; min-height: 30px; padding: 0 14px; border-radius: 999px; color: #383633; font-size: 13px; text-decoration: none; }
.learners__view::before { content: ""; position: absolute; inset: -3px 0; }
.learners__view:hover { color: #232220; }
.learners__view[aria-current="page"] { background: #FFFFFF; color: #232220; font-weight: 500; box-shadow: 0 1px 2px rgba(35, 34, 32, 0.12), 0 0 0 1px rgba(35, 34, 32, 0.06); }

.learners__card { display: flex; flex-direction: column; background: #FFFFFF; border: 1px solid rgba(35, 34, 32, 0.10); border-radius: 14px; }
.learners__toolbar { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; padding: 16px 20px; border-bottom: 1px solid rgba(35, 34, 32, 0.10); }
.learners__status { margin-left: auto; font-size: 13px; color: #6B6761; }
.learners__input, .learners__select { min-height: 40px; padding: 0 12px; border-radius: 8px; border: 1px solid rgba(35, 34, 32, 0.24); background: #FFFFFF; color: #232220; font: inherit; font-size: 14px; }
.learners__input:hover, .learners__select:hover { border-color: #6B6761; }
.learners__input:focus, .learners__select:focus { border-color: #232220; outline: none; box-shadow: 0 0 0 3px rgba(35, 34, 32, 0.12); }
.learners__search { width: 280px; max-width: 100%; }
.learners__select { width: 100%; -webkit-appearance: none; appearance: none; padding: 0 36px 0 12px; background: #FFFFFF url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23383633' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat right 12px center; cursor: pointer; }

/* Buttons: the prototype's .p-btn, v6 sizes. */
.learners__btn { position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 32px; padding: 0 14px; border-radius: 999px; border: 1px solid rgba(35, 34, 32, 0.24); background: #FFFFFF; color: #232220; font: inherit; font-size: 13px; font-weight: 500; line-height: 1; cursor: pointer; white-space: nowrap; text-decoration: none; }
.learners__btn::before { content: ""; position: absolute; inset: -4px 0; }
.learners__btn:hover { background: #F8F5F1; border-color: #232220; }
.learners__btn svg { width: 16px; height: 16px; flex: none; }
.learners__btn[aria-disabled="true"] { background: #ECE7DC; color: #A59E93; border-color: transparent; cursor: not-allowed; pointer-events: none; }
.learners__link { display: inline-flex; align-items: center; min-height: 32px; padding: 0 2px; color: #232220; font-size: 15px; font-weight: 500; text-decoration: underline; text-decoration-thickness: 1px; text-decoration-color: rgba(35, 34, 32, 0.24); text-underline-offset: 3px; }
.learners__link:hover { text-decoration-color: #232220; }

/* Filters: a panel the Filters button opens, open while any is applied. */
.learners__btn[aria-expanded="true"] { background: #F8F5F1; border-color: #232220; }
.learners__panel { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px 16px; padding: 16px 20px 18px; background: #F8F5F1; border-bottom: 1px solid rgba(35, 34, 32, 0.10); }
.learners__field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.learners__label { font-size: 13px; font-weight: 500; color: #383633; }
.learners__apply { display: flex; align-items: flex-end; gap: 12px; }
@media (max-width: 1180px) {
  .learners__panel { grid-template-columns: minmax(0, 1fr); }
}

/* The table: the prototype's role=table grid, scrolled inside the card on a narrow screen. */
.learners__scroll { overflow-x: auto; }
.learners__table { display: flex; flex-direction: column; min-width: 860px; font-size: 14px; }
.learners__row { display: grid; gap: 14px; align-items: center; padding: 8px 20px; min-height: 60px; border-bottom: 1px solid rgba(35, 34, 32, 0.10); }
.learners__row--head { min-height: 40px; font-size: 12px; color: #6B6761; border-bottom: 1px solid rgba(35, 34, 32, 0.24); }
.learners__table--in_progress .learners__row { grid-template-columns: minmax(180px, 1.3fr) minmax(170px, 1fr) minmax(190px, 1fr) minmax(200px, 1.1fr) 110px; }
.learners__table--ready .learners__row { grid-template-columns: minmax(180px, 1.3fr) minmax(200px, 1.2fr) 150px minmax(150px, 1fr); }
.learners__table--everyone .learners__row { grid-template-columns: minmax(180px, 1.3fr) minmax(170px, 1fr) minmax(200px, 1.1fr) minmax(190px, 1fr); }
.learners__cell { display: flex; flex-direction: column; align-items: flex-start; gap: 3px; min-width: 0; }
.learners__cell-meta { font-size: 12px; color: #6B6761; }
.learners__plain { display: flex; align-items: center; gap: 8px; }
.learners__name { max-width: 100%; overflow-wrap: anywhere; color: #232220; font-weight: 500; text-decoration: underline; text-decoration-color: rgba(35, 34, 32, 0.24); text-underline-offset: 3px; }
.learners__name:hover { text-decoration-color: #232220; }
.learners__name--static { text-decoration: none; }
.learners__tile { width: 18px; height: 18px; border-radius: 4px; flex: none; object-fit: cover; background-color: #E5D0FC; }
.learners__empty { padding: 36px 20px; text-align: center; font-size: 13px; color: #6B6761; }
.learners__foot { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 10px; padding: 12px 20px; }
.learners__pager { display: flex; gap: 8px; }

/* Status tags: the prototype's .p-tag, v6 pills with a dot. */
.learners__tag { display: inline-flex; align-items: center; gap: 6px; min-height: 24px; padding: 2px 10px; border-radius: 999px; background: #F0ECE1; color: #232220; font-size: 12px; font-weight: 500; line-height: 1.2; white-space: nowrap; }
.learners__tag::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--learners-dot, #6B6761); flex: none; }
.learners__tag--plain::before { display: none; }
.learners__tag--ok { background: #E7FEC8; --learners-dot: #529100; }
.learners__tag--warn { background: #FFE8D3; --learners-dot: #FF8B25; }
.learners__tag--info { background: #FFFFFF; box-shadow: inset 0 0 0 1px rgba(35, 34, 32, 0.24); }
.learners__tag--info::before { background: transparent; box-shadow: inset 0 0 0 1.5px #383633; }

@media (max-width: 760px) {
  .learners__h1 { font-size: 34px; }
  .learners__status { margin-left: 0; width: 100%; }
}

/* Nova's chart ramp on Transient Violet, by length: the longest darkest. */
.week-shade--1 { --week-shade: var(--nova-transient-violet); }
.week-shade--2 { --week-shade: var(--nova-transient-violet-70); }
.week-shade--3 { --week-shade: var(--nova-transient-violet-40); }
.week-shade--4 { --week-shade: var(--nova-transient-violet-20); }
/* The prompts above the composer: the step's replies, its suggested questions and the skip. */
.composer .prompts { gap: var(--nova-space-8); margin: 0 0 var(--nova-space-4); }
.composer .prompts > form { margin: 0; }
/* "Change it" opens its field under the prompts, the row's full width. */
.prompts__change > summary { list-style: none; }
.prompts__change > summary::-webkit-details-marker { display: none; }
.prompts__change[open] { flex-basis: 100%; }
.prompts__change[open] > summary { margin-bottom: var(--nova-space-12); }
.prompts__change .form { margin-top: 0; }
.composer .prompts .button {
  min-width: 0;
  height: auto;
  min-height: var(--nova-button-sizes-compact);
  padding: var(--nova-space-4) var(--nova-space-16);
  font-size: var(--nova-sans-label-size);
  line-height: var(--nova-sans-label-lh);
  white-space: normal;
  text-align: left;
}
/* nova-provisional: at the intro the way on is Nova's default CTA (44 high, body 16), the skip
   an inline link 24 after it, as the handover sets them (PRE-1213); after the intro it is the
   prompts row's pill again (Alex, 2026-11-09); a long company name wraps the CTA rather than
   overflow; the intro's hint sits 32 above the sheet's foot (2026-11-09) */
.composer .prompts--lead { gap: var(--nova-space-12) var(--nova-space-24); }
.composer:has(.prompts--lead) { padding-bottom: var(--nova-space-32); }
.composer .prompts--lead .button {
  min-height: var(--nova-button-sizes-default);
  padding: var(--nova-space-10) var(--nova-pad-pill-h);
  font-size: var(--nova-sans-body-size);
  line-height: var(--nova-sans-label-lh);
}
/* On a phone the prompts stay chips that wrap, not full-width rows. */
@container main (max-width: 639px) {
  .composer .prompts { flex-direction: row; align-items: center; }
  .composer .prompts > form, .composer .prompts > form > .button { width: auto; }
}
/* The composer held at the foot of the screen; the box itself is Nova's floating composer
   (Composer, learner/ui.tsx, where its nova-provisional note is). It never glows or pulses. */
.thread__composer { position: sticky; bottom: 0; z-index: 2; background: var(--nova-neutral-white); --shell-light-fill-hover: var(--nova-button-tertiary-hover-bg); --shell-light-fill-pressed: var(--nova-button-tertiary-pressed-bg); }
/* The conversation's pinned header (thread-head.tsx): the title and who the learner is
   talking to, "Save and exit", the info button and the More menu. It stays at the top of
   the screen (under the 60px top bar below 768) while the thread scrolls beneath it. */
.thread__head {
  position: sticky;
  top: 0;
  z-index: 4;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--nova-space-12);
  padding: var(--nova-space-16) var(--nova-space-24);
  background: var(--nova-neutral-white);
  --shell-callout-ground: var(--nova-neutral-100);
  --shell-light-fill-hover: var(--nova-button-tertiary-hover-bg);
  --shell-light-fill-pressed: var(--nova-button-tertiary-pressed-bg);
  border-bottom: 1px solid var(--nova-neutral-300);
}
@media (max-width: 767px) { .thread__head { top: 60px; } }
@container main (min-width: 640px) { .thread__head { padding: var(--nova-space-16) var(--nova-space-40); } }
/* The hairline shows once the thread scrolls under the header; where scroll-driven
   animation is not supported it stays on, Nova's defined base for a pinned header. */
@supports (animation-timeline: scroll()) {
  .thread__head { animation: thread-head-rule linear both; animation-timeline: scroll(root); animation-range: 0 24px; }
  @keyframes thread-head-rule { from { border-bottom-color: transparent; } to { border-bottom-color: var(--nova-neutral-300); } }
}
.thread__head-text { display: grid; gap: var(--nova-space-2); min-width: 0; }
/* The section in view: the chapter divider's "n of 4" chip, then its title, on one line. */
.thread__title-row { display: flex; align-items: center; gap: var(--nova-space-8); min-width: 0; }
/* Where scripts run, the section is the thread script's to name (thread-js.ts): the row shows
   once it has, so it never changes from the page's guess to the script's. Should the script
   not run, the page's own title shows after a moment. */
@media (scripting: enabled) {
  .thread__title-row:not([data-named]) { visibility: hidden; animation: thread-title-shown 0s 1.5s forwards; }
  @keyframes thread-title-shown { to { visibility: visible; } }
}
.thread__step { flex: none; margin: 0; }
.thread__step[hidden] { display: none; }
.thread__title {
  margin: 0;
  font-size: var(--nova-sans-title-large-size);
  line-height: var(--nova-sans-title-large-lh);
  font-weight: var(--nova-sans-title-large-weight);
  letter-spacing: var(--nova-sans-title-large-tracking);
}
.thread__persona { margin: 0; }
.thread__head-actions { display: flex; align-items: center; gap: var(--nova-space-4); flex: none; }
.thread__save--menu { display: none; }
/* A More menu holding only "Save and exit" (orientation) is a phone's alone. */
.thread__menu--save { display: none; }
@container main (max-width: 639px) {
  .thread__title {
    font-size: var(--nova-sans-title-medium-size);
    line-height: var(--nova-sans-title-medium-lh);
    font-weight: var(--nova-sans-title-medium-weight);
    letter-spacing: var(--nova-sans-title-medium-tracking);
  }
  .thread__head--menu .thread__save--bar { display: none; }
  .thread__saves { display: none; }
  .thread__head--menu .thread__save--menu { display: flex; }
  .thread__menu--save { display: block; }
}
.thread__errors { padding: var(--nova-space-16) var(--nova-space-24) 0; }
@container main (min-width: 640px) { .thread__errors { padding: var(--nova-space-16) var(--nova-space-40) 0; } }
/* Nova's action menu (SEL6) and popover (SEL2): a 34px icon trigger, transparent until its
   neutral-200 hover; a white popover at radius 12 with the hairline, the overlay shadow and
   6px padding; rows at radius 8 that fill neutral-200 on hover. */
.thread__menu { position: relative; }
/* Below 768 the popovers hang from the header's right edge, not their trigger's, so the
   320px about popover stays inside the sheet, which clips. */
@media (max-width: 767px) {
  .thread__menu { position: static; }
  .thread__head .thread__popover { right: var(--nova-space-16); }
}
.thread__trigger {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: var(--nova-radius-sm);
  color: var(--nova-neutral-700);
  cursor: pointer;
  list-style: none;
}
.thread__trigger::-webkit-details-marker { display: none; }
.thread__trigger:hover, .thread__menu[open] > .thread__trigger { background: var(--nova-neutral-200); }
.thread__trigger:focus-visible { outline: 1px solid var(--nova-neutral-900); outline-offset: 2px; }
.thread__popover {
  position: absolute;
  top: calc(100% + var(--nova-space-4));
  right: 0;
  z-index: 6;
  display: grid;
  min-width: 220px;
  padding: 6px;
  border: 1px solid var(--nova-neutral-300);
  border-radius: var(--nova-radius-md);
  background: var(--nova-neutral-white);
  --shell-callout-ground: var(--nova-neutral-100);
  --shell-light-fill-hover: var(--nova-button-tertiary-hover-bg);
  --shell-light-fill-pressed: var(--nova-button-tertiary-pressed-bg);
  box-shadow: var(--nova-shadow-overlay);
}
.thread__popover > form { margin: 0; }
.thread__popover .button {
  justify-content: flex-start;
  width: 100%;
  min-width: 0;
  height: auto;
  min-height: 36px;
  padding: var(--nova-space-8) var(--nova-space-12);
  border-radius: var(--nova-radius-sm);
  background: transparent;
  font-size: var(--nova-sans-label-size);
  text-align: left;
  white-space: nowrap;
}
.thread__popover .button:hover { background: var(--nova-neutral-200); }
.thread__popover--about { width: min(320px, calc(100vw - 32px)); padding: var(--nova-space-12) var(--nova-space-16); gap: var(--nova-space-4); }
.thread__popover-title { margin: 0; font-size: var(--nova-sans-body-size); font-weight: var(--nova-sans-label-weight); }
.thread__popover--about .body { margin: 0; }
.composer { display: grid; gap: var(--nova-space-8); padding: var(--nova-space-8) var(--nova-space-24) var(--nova-space-16); }
.composer__box {
  display: grid;
  gap: var(--nova-space-10);
  padding: var(--nova-space-16) var(--nova-space-12) var(--nova-space-12) var(--nova-space-20);
  border: 1px solid var(--nova-focus-border-rest);
  border-radius: var(--nova-radius-md);
  background: var(--nova-neutral-white);
  --shell-light-fill-hover: var(--nova-button-tertiary-hover-bg);
  --shell-light-fill-pressed: var(--nova-button-tertiary-pressed-bg);
  box-shadow: var(--nova-shadow-floating);
  transition: border-color 180ms ease, box-shadow 180ms ease;
}
.composer__box:hover { border-color: var(--nova-focus-border-hover); }
.composer__box:focus-within {
  border-color: var(--nova-focus-border-focus);
  box-shadow: 0 0 0 3px var(--nova-focus-ring), var(--nova-shadow-floating);
}
.composer__box--error, .composer__box--error:hover { border-color: var(--shell-danger); }
.composer__input {
  width: 100%;
  min-height: 1lh;
  max-height: 40vh;
  padding: 0;
  border: 0;
  outline: none;
  resize: none;
  background: transparent;
  font: inherit;
  font-size: var(--nova-sans-body-size);
  line-height: var(--nova-sans-body-lh);
  color: var(--nova-text-primary);
  field-sizing: content;
}
.composer__input::placeholder { color: var(--nova-neutral-600); }
.composer__foot { display: flex; justify-content: flex-end; }
.composer__send {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  padding: 0;
  border: 0;
  border-radius: var(--nova-radius-control);
  background: var(--nova-neutral-900);
  color: var(--nova-chartreuse);
  cursor: pointer;
}
.composer__send svg { width: 16px; height: 16px; }
.composer__box:has(.composer__input:placeholder-shown) .composer__send,
.composer__send[aria-disabled="true"] {
  background: var(--nova-button-disabled-bg);
  color: var(--nova-button-disabled-label);
}
/* While a send is out (Composer, learner/ui.tsx). */
.composer__send[aria-disabled="true"] { cursor: default; }
/* While a send is out (SENDING_MARK, learner/conversation.tsx), the buttons of every form that
   posts through the thread's guard (data-indicator="_busy") are hidden, the composer's send
   aside, which stays faded. Their room is kept, so the card does not move.
   nova-provisional: while a send is out, a thread card's buttons are hidden in place rather than greyed out, as the quick replies go, since greying flashed and the reply replaces the card anyway; its words and fields stay (2026-11-04) */
#thread[data-sending] form[data-indicator="_busy"] [type="submit"]:not(.composer__send) { visibility: hidden; }
.composer__meta { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--nova-space-4) var(--nova-space-16); padding-inline: var(--nova-space-12); }
.composer__aside { margin: 0; }
/* What else the composer's card holds under it (the challenges' "Change what you've said"), on the composer's edges. */
.thread__composer > .disclosure { padding: 0 var(--nova-space-24) var(--nova-space-16); }
.composer__hint, .composer__later {
  margin: 0;
  color: var(--nova-text-secondary);
  font-size: var(--nova-sans-label-size);
  line-height: var(--nova-sans-label-lh);
}
@container main (min-width: 640px) {
  .composer, .thread__composer > .disclosure { padding-inline: var(--nova-space-40); }
}
/* Dev only: a sample answer for the composer (learner/dev-answers.tsx). */
.composer__dev { display: flex; flex-wrap: wrap; align-items: center; gap: var(--nova-space-8); padding-inline: var(--nova-space-12); }
/* The interview's status is a status pill under the head's lede, stated once. */
.interview__status { margin: var(--nova-space-12) 0 0; }
.sheet__band .actions + .actions, .sheet__band form + .actions { margin-top: var(--nova-space-12); }
/* About you, played back in the thread (learner/conversation.tsx): the parts still to check in one band, each an about-you part with its own verdict.
   nova-provisional: in the thread's About you card each part (sans/title heading, the facts row, "What we heard" rows, its verdict actions) sits space/40 under the one before, with no rule of its own because its rows are ruled, and its rows start space/24 under the facts row, so the parts read as separate checks in one band (2026-10-19) */
.about-card .about__part + .about__part { margin-top: var(--nova-space-40); }
.about-card .about__facts + * { margin-top: var(--nova-space-24); }

/* Visual thread (plans/2026-10-23-a_visual_atlas_thread_picture_led_browse_progress) */

/* The pieces in learner/visuals.tsx, each with its nova-provisional note there. They are
   surface-relative: --vt-raised is the ground a tile or a timeline number takes, one step off
   the surface it sits on, and --vt-chip a chip's fill. On white (the default) they are
   neutral-100 and neutral-200; on the parchment band and the canvas both step up to white;
   inside a white card on parchment they step back down. Aliases of Nova tokens, nothing new. */
.sheet__band, .rec { --vt-raised: var(--nova-neutral-white); --vt-chip: var(--nova-neutral-white); }
.vt-card > *, .rec-card { --vt-raised: var(--nova-neutral-100); --vt-chip: var(--nova-neutral-200); }

.vt-icon { width: 16px; height: 16px; flex: none; }

/* Programme art: fills its box at its shape's ratio; a parchment block when there is none. */
.vt-art {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
  border-radius: var(--nova-radius-md);
  background: var(--nova-neutral-200);
}
.vt-art--card { aspect-ratio: 5 / 3; }
.vt-art--tile { aspect-ratio: 1 / 1; }
.vt-art--hero { aspect-ratio: 5 / 2; }
.sheet__band .vt-art--fallback { background: var(--nova-neutral-300); }
@container main (max-width: 639px) { .vt-art--hero { aspect-ratio: 5 / 3; } }

/* Fact chips: the ST2 neutral badge (.chips and .chip), its fill surface-relative. */
.vt-chip { background: var(--vt-chip, var(--nova-neutral-200)); }
.vt-chips { margin: var(--nova-space-12) 0 0; }
.vt-chips:first-child { margin-top: 0; }

/* Step progress: the progress strip's 4px segments, reached in ink. */
.vt-steps { margin: 0 0 var(--nova-space-16); }
.vt-steps__track { display: flex; gap: var(--nova-space-4); }
.vt-steps__segment { flex: 1 1 0; height: 4px; border-radius: var(--nova-radius-full); background: var(--shell-ink-divider); }
.vt-steps__segment--done { background: var(--nova-neutral-900); }

/* A chapter: the "4 of 5" chip over the title. */
/* A chapter opens space/24 more than the thread's gap after what came before (34 in all), and
   its title sits a little closer to the turn under it (22), at Alex's request (2026-10-30). */
.vt-chapter { display: grid; justify-items: start; gap: var(--nova-space-8); margin: var(--nova-space-24) 0 var(--nova-space-12); }
:first-child > .vt-chapter { margin-top: 0; }
.vt-chapter__step { margin: 0; }
.vt-chapter__title {
  margin: 0;
  font-size: var(--nova-sans-title-large-size);
  line-height: var(--nova-sans-title-large-lh);
  font-weight: var(--nova-sans-title-large-weight);
  letter-spacing: var(--nova-sans-title-large-tracking);
  text-wrap: balance;
}

/* Answer chips: the learner's turn, on the right, on the answer bubble's ground. */
.vt-answers { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: var(--nova-space-8); margin: 0; padding: 0; list-style: none; }
.vt-answer {
  display: inline-flex;
  align-items: center;
  gap: var(--nova-space-8);
  max-width: 100%;
  min-height: 32px;
  padding: var(--nova-space-4) var(--nova-space-12);
  border: 1px solid var(--nova-neutral-350);
  border-radius: var(--nova-radius-pill);
  background: var(--nova-neutral-200);
  color: var(--nova-text-primary);
  font-size: var(--nova-sans-label-size);
  line-height: var(--nova-sans-label-lh);
  font-weight: var(--nova-sans-label-weight);
  overflow-wrap: anywhere;
}

/* A meter: its label, then the violet bar on the ink-10% track (an SVG, so no inline style). */
.vt-meter { display: grid; gap: var(--nova-space-8); margin: 0 0 var(--nova-space-16); }
.vt-meter__label {
  margin: 0;
  font-size: var(--nova-sans-label-size);
  line-height: var(--nova-sans-label-lh);
  font-weight: var(--nova-sans-label-weight);
}
.vt-meter__bar { display: block; width: 100%; height: 8px; overflow: visible; }
.vt-meter__track { fill: var(--shell-ink-divider); }
.vt-meter__fill { fill: var(--nova-transient-violet); }

/* Cards in one column: two need 768px of CONTENT width (R14), and the thread's sheet is
   narrower than that at every viewport, so the grid never goes two-up. */
.vt-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--nova-space-16); margin: 0; padding: 0; list-style: none; }
.vt-grid > * { min-width: 0; }
/* The two ways to a programme: side by side where each gets 280px, stacked below that, at Alex's request (2026-10-30). */
.vt-grid--choices { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }

/* A choice card: one flat surface, the art flush across its top, the action at its foot. */
.vt-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  grid-template-rows: auto auto 1fr;
  grid-template-areas: "art" "head" "action";
  min-width: 0;
  overflow: clip;
  border-radius: var(--nova-radius-container);
  background: var(--nova-neutral-white);
  --shell-callout-ground: var(--nova-neutral-100);
  --shell-light-fill-hover: var(--nova-button-tertiary-hover-bg);
  --shell-light-fill-pressed: var(--nova-button-tertiary-pressed-bg);
}
:is(.sheet__head, .sheet__section, .rec-card, .conversation) .vt-card { background: var(--nova-neutral-100); --shell-callout-ground: var(--nova-neutral-200); --shell-light-fill-hover: var(--nova-button-light-fill-on-neutral100-hover-bg); --shell-light-fill-pressed: var(--nova-button-light-fill-on-neutral100-pressed-bg); }
:is(.sheet__head, .sheet__section, .rec-card, .conversation) .vt-card > * { --vt-raised: var(--nova-neutral-white); }
.vt-card__art { grid-area: art; }
/* The picture is a strip (Nova PI1): the card picture cover-fitted 120 tall across the card, so the card is about its text, at Alex's request (2026-10-30). */
.vt-card__art > :is(img, .vt-art) { width: 100%; height: 120px; aspect-ratio: auto; border-radius: 0; }
.vt-card__head { grid-area: head; display: grid; gap: var(--nova-space-4); padding: var(--nova-space-20) var(--nova-space-24) 0; min-width: 0; }
.vt-card--bare .vt-card__head { padding-top: var(--nova-space-24); }
.vt-card__head > * { margin: 0; }
.vt-card__title {
  margin: 0;
  font-size: var(--nova-sans-title-large-size);
  line-height: var(--nova-sans-title-large-lh);
  font-weight: var(--nova-sans-title-large-weight);
  letter-spacing: var(--nova-sans-title-large-tracking);
  text-wrap: balance;
}
.vt-card__title--serif {
  font-family: var(--nova-font-serif);
  font-size: var(--nova-serif-title-size);
  line-height: var(--nova-serif-title-lh);
  font-weight: var(--nova-serif-title-weight);
  letter-spacing: var(--nova-serif-title-tracking);
}
.vt-card__sub { color: var(--nova-text-secondary); }
.vt-card__action { grid-area: action; align-self: end; display: grid; gap: var(--nova-space-16); padding: var(--nova-space-16) var(--nova-space-24) var(--nova-space-24); min-width: 0; }
.vt-card__action > * { margin: 0; }
.vt-card__action > .actions { margin: 0; }
@media (max-width: 767px) {
  .vt-card {
    grid-template-columns: minmax(0, 1fr) 72px;
    grid-template-rows: auto auto;
    grid-template-areas: "head art" "action action";
    column-gap: var(--nova-space-16);
    padding: var(--nova-space-20) var(--nova-space-24) var(--nova-space-24);
  }
  .vt-card--bare { grid-template-columns: minmax(0, 1fr); grid-template-areas: "head" "action"; }
  .vt-card__art { align-self: start; width: 72px; overflow: clip; border-radius: var(--nova-radius-sm); }
  .vt-card__art > :is(img, .vt-art) { aspect-ratio: 1 / 1; height: 100%; }
  .vt-card__head, .vt-card--bare .vt-card__head { padding: 0; }
  .vt-card__action { padding: var(--nova-space-16) 0 0; }
}

/* The context bar: the programme in hand as a compact row. */
.vt-context { display: flex; flex-wrap: wrap; align-items: center; gap: var(--nova-space-4) var(--nova-space-12); margin: 0 0 var(--nova-space-16); }
.vt-context__art { flex: none; width: 48px; border-radius: var(--nova-radius-sm); }
/* A person (the line manager card's): the initials sit level with the name's top, not centred on the lines under it, at Alex's request (2026-10-30). */
.vt-context--person { align-items: flex-start; }
.vt-context__text { display: grid; gap: var(--nova-space-2); flex: 1 1 160px; min-width: 0; }
.vt-context__eyebrow {
  margin: 0;
  color: var(--nova-text-eyebrow);
  font-size: var(--nova-sans-eyebrow-size);
  line-height: var(--nova-sans-eyebrow-lh);
  font-weight: var(--nova-sans-eyebrow-weight);
  letter-spacing: var(--nova-sans-eyebrow-tracking);
  text-transform: uppercase;
}
.vt-context__name {
  margin: 0;
  font-size: var(--nova-sans-title-medium-size);
  line-height: var(--nova-sans-title-medium-lh);
  font-weight: var(--nova-sans-title-medium-weight);
  letter-spacing: var(--nova-sans-title-medium-tracking);
  overflow-wrap: anywhere;
}
.vt-context__aside {
  flex: none;
  margin: 0 0 0 auto;
  color: var(--nova-text-secondary);
  font-size: var(--nova-sans-label-size);
  line-height: var(--nova-sans-label-lh);
}
@container main (max-width: 639px) {
  .vt-context__aside { flex: 1 1 100%; margin-left: calc(48px + var(--nova-space-12)); }
}

/* Tiles: small flat blocks, as many 160px columns as fit. */
.vt-tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 160px), 1fr)); gap: var(--nova-space-8); margin: 0; padding: 0; list-style: none; }
/* nova-provisional: tiles that hold the learner's own sentences sit one per row at the full width, not in 160px columns, so a paragraph is read as a paragraph (2026-11-04) */
.vt-tiles--stacked { grid-template-columns: minmax(0, 1fr); }
.vt-tile {
  display: grid;
  align-content: start;
  gap: var(--nova-space-4);
  min-width: 0;
  padding: var(--nova-space-12) var(--nova-space-16);
  border-radius: var(--nova-radius-md);
  background: var(--vt-raised, var(--nova-neutral-100));
  line-height: 1.5;
  overflow-wrap: anywhere;
}
.vt-tile > * { margin: 0; }
.vt-tile__title { font-weight: var(--nova-sans-body-strong-weight); }
.vt-tile__meta { color: var(--nova-text-secondary); font-size: var(--nova-sans-helper-size); line-height: var(--nova-sans-helper-lh); }

/* The read-back: a white band of parts, each a heading with its Change over hairline rows. */
/* nova-provisional: the read-back's band is neutral-white rather than the thread band's neutral-200, and its rows are a three-column table (short name in secondary text, value in body, a neutral chip for an answer from elsewhere) divided by the shell's ink divider, because a record reads as a table (Alex Ross, 2026-11-06) */
.sheet__band--record { background: var(--nova-neutral-white); --vt-chip: var(--nova-neutral-200); --shell-callout-ground: var(--nova-neutral-100); --shell-light-fill-hover: var(--nova-button-tertiary-hover-bg); --shell-light-fill-pressed: var(--nova-button-tertiary-pressed-bg); }
/* A part opened or saved is jumped to by its id: land it clear of the pinned thread header (about 85px, 60px lower again under the mobile top bar). */
.record-section { margin-top: var(--nova-space-32); scroll-margin-top: calc(var(--nova-space-48) * 2 + var(--nova-space-8)); }
@media (max-width: 767px) { .record-section { scroll-margin-top: calc(var(--nova-space-48) * 3 + var(--nova-space-16)); } }
.record-section__head { display: flex; align-items: baseline; justify-content: space-between; gap: var(--nova-space-16); padding-bottom: var(--nova-space-12); border-bottom: 1px solid var(--shell-ink-divider); }
.record-section__head .title { margin: 0; }
.record-section > .body { margin: var(--nova-space-12) 0; }
.record-rows { margin: 0; padding: 0; list-style: none; }
.record-row { display: grid; grid-template-columns: minmax(0, 14rem) minmax(0, 1fr) auto; column-gap: var(--nova-space-24); align-items: baseline; padding: var(--nova-space-12) 0; border-bottom: 1px solid var(--shell-ink-divider); line-height: 1.5; overflow-wrap: anywhere; }
.record-row p { margin: 0; }
.record-row__label { color: var(--nova-text-secondary); }
.record-row__note { color: var(--nova-text-secondary); font-size: var(--nova-sans-helper-size); line-height: var(--nova-sans-helper-lh); }
.record-row__aside { display: flex; align-items: baseline; justify-content: flex-end; gap: var(--nova-space-16); white-space: nowrap; }
.record-row__aside .chip { margin: 0; }
.record-edit { padding-top: var(--nova-space-24); }
/* The open part's first question sits one step under its heading, not three: the nested roomy forms' own top margins are dropped. */
.record-edit > .form, .record-edit > .form > .form:first-child { margin-top: 0; }
@container main (max-width: 639px) {
  .record-row { grid-template-columns: minmax(0, 1fr); row-gap: var(--nova-space-4); }
  .record-row__aside { justify-content: flex-start; flex-wrap: wrap; white-space: normal; }
}

/* A timeline: numbered steps down a 1px line. */
.vt-timeline { display: grid; gap: 0; margin: 0; padding: 0; list-style: none; }
.vt-timeline__step { position: relative; display: grid; grid-template-columns: 24px minmax(0, 1fr); column-gap: var(--nova-space-12); padding-bottom: var(--nova-space-16); }
.vt-timeline__step:last-child { padding-bottom: 0; }
.vt-timeline__step:not(:last-child)::before {
  content: '';
  position: absolute;
  top: 28px;
  bottom: var(--nova-space-4);
  left: 12px;
  width: 1px;
  background: var(--nova-neutral-400);
}
.vt-avatar {
  display: grid;
  flex: none;
  place-items: center;
  width: 40px;
  height: 40px;
  border: 1px solid var(--nova-neutral-350);
  border-radius: var(--nova-radius-full);
  background: var(--vt-chip, var(--nova-neutral-200));
  font-size: 16px;
  line-height: 1;
  font-weight: 500;
}
.vt-timeline__number {
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  border: 1px solid var(--nova-neutral-350);
  border-radius: var(--nova-radius-full);
  background: var(--vt-chip, var(--nova-neutral-200));
  font-size: 13px;
  line-height: 1;
  font-weight: 500;
  font-variant-numeric: tabular-nums;
}
.vt-timeline__text { min-width: 0; line-height: 1.5; }

/* A chip that posts: a secondary pill in its own form; its label may wrap on a phone. */
.vt-chiprow { display: flex; flex-wrap: wrap; gap: var(--nova-space-8); margin: 0; padding: 0; list-style: none; }
.vt-chipform { display: inline-flex; max-width: 100%; margin: 0; }
.vt-chipform__button {
  max-width: 100%;
  height: auto;
  min-height: var(--nova-button-sizes-compact);
  padding-block: var(--nova-space-4);
  white-space: normal;
  line-height: var(--nova-sans-label-lh);
  text-align: left;
}
.vt-chipform__button:not(.button--compact) { min-height: var(--nova-button-sizes-default); padding-block: var(--nova-space-8); }

/* A fold: a quiet row on the ink-10% rule, its chevron turning when open. */
.vt-fold { border-top: 1px solid var(--shell-ink-divider); border-bottom: 1px solid var(--shell-ink-divider); }
.vt-fold + .vt-fold { border-top: 0; }
.vt-fold__summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--nova-space-12);
  min-height: var(--nova-button-sizes-default);
  padding: var(--nova-space-10) 0;
  list-style: none;
  cursor: pointer;
  color: var(--nova-text-primary);
  font-weight: var(--nova-sans-body-strong-weight);
}
.vt-fold__summary::-webkit-details-marker { display: none; }
.vt-fold__summary:hover .vt-fold__label { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.vt-fold__label { min-width: 0; }
.vt-fold__chevron { transition: transform 160ms ease; }
.vt-fold[open] > .vt-fold__summary .vt-fold__chevron { transform: rotate(180deg); }
.vt-fold__body { padding: 0 0 var(--nova-space-16); }
.vt-fold__body > :first-child { margin-top: 0; }
.vt-fold__body > :last-child { margin-bottom: 0; }
@media (prefers-reduced-motion: reduce) { .vt-fold__chevron { transition: none; } }

/* --------------------------------------------- the staff graph inspector */

/* The inspector (staff-graph.tsx): Multiverse staff only, on dev and test rigs.
   nova-provisional: the inspector is a header over a three-column grid (conversation, graph, processing), each column a white card at radius/container with pad/box, space/16 apart, stacking in that order below 960 of content width, with the focused skill's lineage as a full-width card under the grid; Nova rules the bento spread, not a three-pane inspector (2026-10-19) */
.inspector { display: grid; gap: var(--nova-space-16); }
.inspector__head { display: grid; gap: var(--nova-space-16); }
.inspector__status { display: flex; flex-wrap: wrap; align-items: center; gap: var(--nova-space-8); margin: 0; }
.inspector__facts { display: flex; flex-wrap: wrap; gap: var(--nova-space-12) var(--nova-space-32); margin: 0; }
.inspector__facts dt {
  color: var(--nova-text-secondary);
  font-size: var(--nova-sans-label-size);
  line-height: var(--nova-sans-label-lh);
  font-weight: var(--nova-sans-label-weight);
}
.inspector__facts dd { margin: var(--nova-space-2) 0 0; overflow-wrap: anywhere; }
.inspector__seat { display: block; }
.inspector__counts { margin: 0; }
.inspector__grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--nova-space-16); align-items: start; }
@container main (min-width: 960px) {
  .inspector__grid { grid-template-columns: minmax(0, 5fr) minmax(0, 4fr) minmax(0, 4fr); }
}
.inspector__col, .inspector__lineage {
  min-width: 0;
  padding: var(--nova-pad-box-v) var(--nova-pad-box-h);
  border-radius: var(--nova-radius-container);
  background: var(--nova-neutral-white);
  --shell-callout-ground: var(--nova-neutral-100);
  --shell-light-fill-hover: var(--nova-button-tertiary-hover-bg);
  --shell-light-fill-pressed: var(--nova-button-tertiary-pressed-bg);
}
.inspector__heading {
  margin: var(--nova-space-24) 0 var(--nova-space-8);
  font-size: var(--nova-sans-body-strong-size);
  line-height: var(--nova-sans-body-strong-lh);
  font-weight: var(--nova-sans-body-strong-weight);
}
.inspector__col > .title + .inspector__heading, .inspector__col > .title + .inspector__duty > .inspector__heading { margin-top: var(--nova-space-8); }
.inspector__why, .inspector__meta {
  margin: 0;
  font-size: var(--nova-sans-helper-size);
  line-height: var(--nova-sans-helper-lh);
}
.inspector__why { color: var(--nova-text-secondary); }
.inspector__evidence { margin-top: var(--nova-space-8); }
.inspector__revisions { display: grid; gap: var(--nova-space-12); margin: 0; padding: 0; list-style: none; }
/* A revision hangs off a 2px rule: ink while effective, neutral-400 once superseded or withheld. */
.inspector__revision { display: grid; gap: var(--nova-space-4); padding-left: var(--nova-space-12); border-left: 2px solid var(--nova-neutral-400); }
.inspector__revision--effective { border-left-color: var(--nova-neutral-900); }
.inspector__revision--superseded .inspector__content { color: var(--nova-text-secondary); }
.inspector__content { margin: 0; white-space: pre-line; overflow-wrap: anywhere; }
/* nova-provisional: a span the classifier or the Notary located in the learner's words is a <mark> on transient-violet-20 in ink at radius/xs, because violet is Nova's AI category and its 20% tint is the matched category tint (ink 11.17:1); never chartreuse, which is for actions (2026-10-19) */
.inspector__mark { border-radius: var(--nova-radius-xs); background: var(--nova-transient-violet-20); color: var(--nova-text-primary); }
.inspector__list {
  display: grid;
  gap: var(--nova-space-8);
  margin: var(--nova-space-4) 0 0;
  padding: 0;
  list-style: none;
  font-size: var(--nova-sans-helper-size);
  line-height: var(--nova-sans-helper-lh);
}
.inspector__pills { display: flex; flex-wrap: wrap; align-items: center; gap: var(--nova-space-8); }
.inspector__skill--selected { padding-left: var(--nova-space-12); box-shadow: inset 2px 0 0 var(--nova-neutral-900); }
.inspector__quote { margin: var(--nova-space-4) 0 0; }
.inspector__assessment { display: grid; gap: var(--nova-space-4); padding-top: var(--nova-space-12); border-top: 1px solid var(--shell-ink-divider); }
.inspector__assessment:first-child { padding-top: 0; border-top: 0; }
.inspector__id { overflow-wrap: anywhere; }
.inspector__failed { color: var(--shell-danger); }
.inspector__attempts { margin-bottom: var(--nova-space-16); }
.inspector__live { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--nova-space-12); margin-bottom: var(--nova-space-16); }
.inspector__live-controls { display: flex; flex-wrap: wrap; align-items: center; gap: var(--nova-space-12); }
.inspector__live-controls[hidden] { display: none; }
/* nova-provisional: a work lane is the work's kind in body strong beside its state as a status pill (Running and Settling as In progress, Retrying as At risk, Failed as Behind, Queued as Not started, Done as Completed) over its items as ruled rows (DR6) at space/8, each with its attempts, due and retry times and failure code on a helper line; Nova has no queue pattern (2026-10-19) */
.lane + .lane { margin-top: var(--nova-space-16); }
.lane__head { display: flex; align-items: center; gap: var(--nova-space-8); margin: 0 0 var(--nova-space-4); }
.lane__items, .inspector__calls { margin: 0; padding: 0; list-style: none; }
.lane__item { display: grid; gap: var(--nova-space-2); padding: var(--nova-space-8) 0; border-top: 1px solid var(--shell-ink-divider); }
.lane__item:first-child { border-top: 0; }
.inspector__call { display: grid; gap: var(--nova-space-2); padding: var(--nova-space-12) 0; border-top: 1px solid var(--shell-ink-divider); }
.inspector__call:first-child { padding-top: 0; border-top: 0; }
/* nova-provisional: a stored request or response body is pre-wrapped Saans caption 13/1.4 on neutral-100 at radius/sm with space/12 padding, scrolling inside 320px; Nova carries no mono token, so the code is set in Saans (2026-10-19) */
.inspector__body pre {
  max-height: 320px;
  margin: 0;
  padding: var(--nova-space-12);
  overflow: auto;
  border-radius: var(--nova-radius-sm);
  background: var(--nova-neutral-100);
  font-family: var(--nova-font-sans);
  font-size: var(--nova-sans-caption-size);
  line-height: var(--nova-sans-caption-lh);
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
/* The lineage (staff-graph-lineage.tsx; its nova-provisional note is there): one row of
   eight nodes at its natural size, scrolling sideways when the card is narrower. */
.lineage-scroll { margin: var(--nova-space-12) 0; overflow-x: auto; }
.lineage { display: block; max-width: none; font-family: var(--nova-font-sans); }
.lineage__box { fill: var(--nova-neutral-white); stroke: var(--nova-neutral-900); stroke-width: 1.5; }
.lineage__node--pending .lineage__box { stroke: var(--nova-neutral-600); stroke-dasharray: 4 3; }
.lineage__node--absent .lineage__box { fill: var(--nova-neutral-100); stroke: var(--nova-neutral-500); stroke-dasharray: 4 3; }
.lineage__accent { fill: var(--nova-transient-violet); }
.lineage__label { fill: var(--nova-text-primary); font-size: var(--nova-sans-caption-size); font-weight: 500; text-anchor: middle; }
.lineage__node--absent .lineage__label { fill: var(--nova-text-secondary); }
.lineage__state { fill: var(--nova-text-secondary); font-size: var(--nova-sans-caption-size); text-anchor: middle; }
.lineage__node:focus-visible { outline: none; }
.lineage__node:hover .lineage__box { stroke-width: 2.5; }
.lineage__node:focus-visible .lineage__box { stroke: var(--nova-catalyst-marine); stroke-width: 3; }
.lineage__edge line { stroke: var(--nova-neutral-700); stroke-width: 1; }
.lineage__edge--waiting line { stroke-dasharray: 4 3; }
.lineage__edge-label { fill: var(--nova-text-secondary); font-size: var(--nova-sans-eyebrow-size); text-anchor: middle; }
.lineage__arrow { fill: var(--nova-neutral-700); }

/* --------------------------------------------------- the tuning studio */

/* The tuning studio (staff-tuning.tsx): Multiverse staff only, on dev and test rigs. Its
   three nova-provisional notes (the tab bar, the prompt preview and the diff list) are
   there, at the components; the recipes are here. Everything else is the card, field,
   button, table and inspector-facts recipes already ruled or marked above. */
/* The tab bar: compact buttons, the tab in view primary, the rest tertiary, wrapping. */
.tuning-tabs { margin: var(--nova-space-16) 0; }
.tuning-tabs__list { display: flex; flex-wrap: wrap; gap: var(--nova-space-8); margin: 0; padding: 0; list-style: none; }
.tuning-status { display: grid; gap: var(--nova-space-12); }
.tuning-status__actions { display: flex; flex-wrap: wrap; gap: var(--nova-space-8); }
.tuning-fieldset { display: grid; gap: var(--nova-space-24); min-width: 0; margin: 0 0 var(--nova-space-24); padding: 0; border: 0; }
/* A form beside its preview from 960 of content width; stacked below. */
.tuning-split { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--nova-space-16); align-items: start; }
@container main (min-width: 960px) {
  .tuning-split { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
}
.tuning-split > .card + .card, .tuning-split .stack > .card + .card { margin-top: 0; }
/* The prompt preview and a diff's two sides: the inspector's stored-body recipe. */
.tuning-preview__facts { margin: var(--nova-space-12) 0; }
.tuning-preview__text, .tuning-value pre {
  margin: 0;
  padding: var(--nova-space-12);
  overflow: auto;
  border-radius: var(--nova-radius-sm);
  background: var(--nova-neutral-100);
  font-family: var(--nova-font-sans);
  font-size: var(--nova-sans-caption-size);
  line-height: var(--nova-sans-caption-lh);
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
.tuning-preview__text { max-height: 480px; }
.tuning-value pre { max-height: 240px; }
/* What the draft adds: a block on white behind a 2px ink rule inside the released text. */
.tuning-preview__tuned {
  display: block;
  margin: var(--nova-space-12) 0;
  padding: var(--nova-space-8) var(--nova-space-12);
  border-left: 2px solid var(--nova-neutral-900);
  border-radius: 0 var(--nova-radius-xs) var(--nova-radius-xs) 0;
  background: var(--nova-neutral-white);
  color: var(--nova-text-primary);
}
/* A duty: its released wording beside the override form from 768; stacked below. */
.tuning-duty__head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--nova-space-8); }
.tuning-duty__head .subtitle { margin: 0; }
.tuning-duty__cols { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--nova-space-24); margin-top: var(--nova-space-16); }
@container main (min-width: 768px) {
  .tuning-duty__cols { grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); }
}
.tuning-duty__list { margin: var(--nova-space-4) 0 0; padding-left: var(--nova-space-20); }
.tuning-duty__cols .helper + .body { margin-top: var(--nova-space-4); }
/* The draft's changes: ruled rows (DR6), the two sides apart from 640. */
.tuning-diff { margin: var(--nova-space-16) 0 0; padding: 0; list-style: none; }
.tuning-diff__row { display: grid; gap: var(--nova-space-4); padding: var(--nova-space-16) 0; border-top: 1px solid var(--shell-ink-divider); }
.tuning-diff__row:first-child { padding-top: 0; border-top: 0; }
.tuning-diff__row > p { margin: 0; }
.tuning-diff__sides { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--nova-space-12); margin-top: var(--nova-space-8); }
@container main (min-width: 640px) {
  .tuning-diff__sides { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
}
.tuning-value { display: grid; gap: var(--nova-space-4); min-width: 0; }
.tuning-conflict .disclosure { margin-top: var(--nova-space-12); }
.tuning-conflict .tuning-value + .tuning-value { margin-top: var(--nova-space-12); }
.tuning-actions { display: grid; gap: var(--nova-space-24); margin-top: var(--nova-space-24); padding-top: var(--nova-space-24); border-top: 1px solid var(--shell-ink-divider); }
@container main (min-width: 960px) {
  .tuning-actions { grid-template-columns: minmax(0, 3fr) minmax(0, 2fr); align-items: end; }
}
/* Whether the active version reaches new interviews here: a status pill beside one body line. */
.tuning-reach { display: flex; flex-wrap: wrap; align-items: center; gap: var(--nova-space-8); margin: 0; }
.tuning-reach .body { margin: 0; }

/* The playground (staff-tuning-run.tsx; its two nova-provisional notes, the comparison
   columns and the differences strip, are there at the components). */
.tuning-choice__hint { display: block; }
.tuning-skills { margin-top: var(--nova-space-12); }
.tuning-skills__duty { display: grid; gap: var(--nova-space-8); }
.tuning-skills__duty + .tuning-skills__duty { margin-top: var(--nova-space-8); }
.tuning-skills__duty > .helper { margin: 0; }
/* The comparison: the inspector's column cards, two across from 960, one when not compared. */
@container main (min-width: 960px) {
  .tuning-run__grid.tuning-run__grid--2 { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .tuning-run__grid.tuning-run__grid--1 { grid-template-columns: minmax(0, 1fr); }
}
.tuning-run__head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--nova-space-8); margin-bottom: var(--nova-space-12); }
.tuning-run__head .title { margin: 0; }
.tuning-run__answer { display: grid; gap: var(--nova-space-4); padding: var(--nova-space-12) 0; border-top: 1px solid var(--shell-ink-divider); }
.tuning-run__answer:first-of-type { padding-top: 0; border-top: 0; }
.tuning-run__question { margin: var(--nova-space-4) 0 var(--nova-space-12); }
.tuning-run__steps { margin-top: var(--nova-space-24); }
.tuning-run__transcript {
  max-height: 320px;
  margin: var(--nova-space-12) 0 0;
  padding: var(--nova-space-12);
  overflow: auto;
  border-radius: var(--nova-radius-sm);
  background: var(--nova-neutral-100);
  font-family: var(--nova-font-sans);
  font-size: var(--nova-sans-caption-size);
  line-height: var(--nova-sans-caption-lh);
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
/* The differences between two finished runs: the ST3 callout over ruled rows (DR6). The list
   sits 8 under the title; its top margin collapses with the title's 4, so it states the whole 8. */
.tuning-differences .notice__title + .tuning-differences__list { margin-top: var(--nova-space-8); }
.tuning-differences__list { margin: 0; padding: 0; list-style: none; }
.tuning-differences__list li { padding: var(--nova-space-8) 0; border-top: 1px solid var(--shell-ink-divider); overflow-wrap: anywhere; }
.tuning-differences__list li:first-child { padding-top: 0; border-top: 0; }

.visually-hidden {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
