/*
  Nima style guide v2 (direction A2 "The Paper"): canonical tokens.
  Derived from design-mockups/phase-2/a/tokens.css + a2/paper.css + a/platform-ios.css, on the runtime names of
  apps/web/src/index.css and apps/mobile/src/shared/theme/tokens.json so Tailwind and the native theme can adopt
  it without renaming. tokens.json carries the same values (parity rule: README.md). Edit both or neither.

  HOW TO READ
  - Colours are RGB triplets ("r g b") so they compose with alpha: rgb(var(--color-accent) / 0.16).
    Never write a hex literal in a component. A new colour ships with its measured ratio (guide section 03).
  - Light is :root; dark is [data-theme="dark"]. The app picks one (system default, in-app override); a
    consumer that wants prefers-color-scheme sets data-theme from it. Only colour, shadow and glass edge differ.
  - Sizes that differ on compact widths (phone, iPad compact) have a "-compact" twin. Components switch them with
    a container query on the content column, never with a viewport media query (section 01, section 08).

  MOCKUP NAME -> TOKEN NAME (the mockup CSS used short names; they are not tokens)
    --bg --surface --raised   -> --color-bg --color-surface --color-surface-raised
    --text --muted            -> --color-text --color-text-muted
    --hair                    -> --color-border          (row separators, ledger rules, sparkline gridlines)
    --line                    -> --color-border-control  (control edges, notice box, rail when quiet)
    --faint                   -> --color-text-faint      (non-text only; value raised, see below)
    --accent --on-accent      -> --color-accent --color-accent-foreground
    --thread --on-thread      -> --color-brand-thread --color-brand-thread-foreground
    --sans --serif            -> --font-sans --font-serif
    --r-ctl --r-sheet         -> --radius-control --radius-container
    --shadow-1 --shadow-2     -> --shadow-popover --shadow-modal
    --dur-fast --dur --dur-slow -> --motion-micro --motion-state --motion-sheet

  RESOLVED INCONSISTENCIES (mockup vs mockup, or mockup vs v1). Rule used: take the approved mockup value unless
  it fails a contrast floor or contradicts a live runtime value for no reason; then take the runtime/v1 value.
  1. Control border: mockup --line #8C8272 (140 130 114) is 3.17:1 on bg and drops under 3:1 on the darkest paper
     grain pixel; v1 border-control 127 116 100 is 3.63:1 on that pixel. v1 kept. Dark: v1 129 147 170 kept.
  2. Hairline: mockup --hair (214 203 184 / 46 66 90) differs from v1 border (221 211 196 / 54 72 97). The A2 page is
     built from hairlines and rules, and the approved renders use the mockup value, so --color-border takes it.
     (Light is a touch darker, dark a touch dimmer than the live app; both are separators with no contrast floor.)
  3. text-faint: v1 158 152 141 is 2.40:1 on bg (fails even the 3:1 non-text floor). Value raised to the control
     border value (127 116 100 / 129 147 170). It stays non-text only (disabled glyphs, decorative marks) and has no
     new uses; delete it when the last decorative call site is gone.
  4. Shadows: v1 names (popover, modal) kept because native shadows.ts consumes them; values are the mockup's
     (two stacked layers, no 1 px ring).
  5. Radius: 10 (v1 container) -> 12 (mockup sheets/dialogs). 4 (segmented thumb) is derived, see --radius-inset.
  6. Motion: the mockups used three durations; the full v1 set (120/200/280/320/160, signal 1400) is kept, plus
     two loop durations for the A2 lead (travel, pulse).
  7. Letter-spacing: the mockups used .06/.08/.10/.12/.14em on 11-12 px labels. One value now: 0.12em, one style
     (caps), used by kickers, section labels, the masthead date and sub-labels.
  8. Hero tracking: -0.03em on both platforms (the phone mockup used -0.025em).
  9. Double rule: the mockup drew 2 px + 1 px with no gap (a 3 px slab). The spec (2 px + 1 px, 3 px apart) is
     implemented: 2 px rule, 3 px gap, 1 px rule = 6 px tall.
 10. Lead height: the mockup used 366 (web) and 324 (phone); the nine lead states need 354 on phone (Stale's byline
     wraps to two lines at 358 px). Pages share the tallest page's height: no fixed minimum.
 11. Focus ring: v1 accent at 75 % alpha (3.29:1); now solid accent (5.16:1 light, 8.56:1 dark).
 12. Large title: the mockup set the iOS large title at weight 700. Weight 700 does not exist in Nima. The OS draws
     the real large title; specimens set it at 600.
 13. Post gutter: the mockup used a 16 px gap between mark and column (12 on phone); the v1 signature is 32 + 12, kept.
 14. Alfred mark: the mockups drew the 48-unit brand path at stroke 3 (1.25 px at 20 px, thinner than the 2 px rail);
     the guide draws the 24-unit avatar path at stroke 2, so the mark is visibly heavier at 20 px and matches the rail.
 15. Ledger header rule: the mockup used the control colour; now --color-border-strong (the v1 job).
 16. Phone ledger text: the mockup used 12.5 px (off the scale); now 12/16 (caption).
 17. Status tags: tinted 6-10 % fills fail on the canvas (4.46:1 at 8 % on bg, 4.24 on a grain pixel); now outlined, no fill.
 18. Segmented control and period control: aria-pressed buttons (mockup) become one radio group (role=radiogroup/radio,
     aria-checked, roving tabindex, arrow keys).
 19. Carousel: pages become tabpanels (aria-roledescription=slide), dots get aria-controls, non-current pages are inert, and
     the arrows move into the dots row under the pages (they sat over the hero on web).
 20. Render hacks dropped: the 96 px gap before the first section and the "tightened" lead overrides existed to clear the glass tab
     bar in a screenshot. The rule is now: content scrolls under the bar; bottom inset = bar + offset (--inset-bottom-ios).
 21. Carousel indicator: the dots (tabs, 8 px) become the segmented scroll indicator of the 2026-10-20 feed work (3 px bars, radius 2,
     gap 4, max 28, track border, fill text-faint via --fill, decorative). One indicator for every lateral strip. No new tokens.
 22. Grouped-post tiles: the committed feed mockup draws date tiles at radius 10; v2 has no 10, so tiles use --radius-container (12).
*/

:root,
[data-theme="light"] {   /* [data-theme="light"] forces a light subtree inside a dark page (guide pairs, probes) */
  color-scheme: light;

  /* ---------------------------------------------------------------- colour: light (deeper beige paper) */
  --color-bg: 241 234 223;              /* page canvas; carries the paper grain (bg only, never on surfaces) */
  --color-surface: 247 240 229;         /* opaque content surface: ledgers, sheets, dialogs, glass tint base */
  --color-surface-raised: 251 245 235;  /* hover rows, sidebar active item, popovers, near-opaque glass lens */
  --color-border: 214 203 184;          /* row separators, ledger rules, sparkline gridlines. Separates, no contrast floor */
  --color-border-strong: 199 186 167;   /* table header rule, approval container edge, sheet grabber, benchmark dash */
  --color-border-control: 127 116 100;  /* edge of every control, the notice box, the quiet rail. Must be >= 3:1 */
  --color-text: 36 35 33;               /* primary ink: figures, labels, section rules, the double rule */
  --color-text-muted: 74 69 61;         /* secondary ink: metadata, captions, timestamps, disclosures. The only "quiet text" */
  --color-text-faint: 127 116 100;      /* NON-TEXT ONLY: disabled glyphs, decoration, the scroll-indicator fill, the own-move segment of split bars. Never for anything read (item 3 above) */
  --color-accent: 0 108 118;            /* teal: the six interaction jobs only (guide section 03). Never gain/loss, never identity */
  --color-accent-foreground: 255 255 255; /* label on an accent fill (primary button, selected segment) */
  --color-success: 4 114 82;            /* signed gain text, with arrow + sign as the second cue */
  --color-danger: 180 35 24;            /* signed loss text, errors, destructive. Never identity */
  --color-danger-foreground: 255 255 255; /* label on a danger fill (destructive confirm). New: v1 web used white at 2.23:1 in dark */
  --color-warning: 146 64 14;           /* caution text and outline (partial data, stale FX). Not a delta colour */
  --color-brand-thread: 159 48 72;      /* THREAD: identity only. Mark, rail, count badge, notice dot, working signal. Never danger */
  --color-brand-thread-foreground: 255 255 255; /* count on a thread badge */
  --color-scrim: 36 35 33;              /* modal scrim base; alpha is --alpha-scrim. No blur on the scrim */

  /* chart series: fills and lines only, never text. chart-1 is the portfolio's own series */
  --chart-1: 0 108 118;
  --chart-2: 174 57 8;
  --chart-3: 27 175 122;
  --chart-4: 237 161 0;
  --chart-5: 232 123 164;
  --chart-6: 38 135 191;
  --chart-7: 119 67 191;
  --chart-8: 134 91 67;

  /* paper grain: static 128 px seamless tile, painted on --color-bg only. Opacity lives in the SVG (2.5 % light, 3.5 % dark) */
  --paper-grain: url('paper-grain-light.svg');
  --paper-grain-size: 128px;

  /* elevation: a shadow is a claim about z-order. Overlays only (popover, tooltip, modal, sheet). Never on content */
  --shadow-popover: 0 1px 2px rgb(36 35 33 / 0.10), 0 4px 12px rgb(36 35 33 / 0.08);
  --shadow-modal: 0 2px 4px rgb(36 35 33 / 0.12), 0 24px 56px rgb(36 35 33 / 0.22);
  --alpha-scrim: 0.5;

  /* glass: iOS 27 chrome only (tab bar, nav-bar buttons, sidebar, update chip). Never on content.
     Recipe: 60 % surface tint, blur 20, saturate 1.4, 1 px inner edge + 1 px top rim, --shadow-popover.
     Reduce Transparency, or [data-glass="off"] for review: opaque surface, no blur (see the end of this file). */
  --glass-tint-alpha: 0.6;
  --glass-blur: 20px;
  --glass-saturate: 1.4;
  --glass-bg: rgb(var(--color-surface) / var(--glass-tint-alpha));
  --glass-filter: blur(var(--glass-blur)) saturate(var(--glass-saturate));
  --glass-edge: rgb(255 255 255 / 0.6);  /* inner 1 px ring */
  --glass-rim: rgb(255 255 255 / 0.8);   /* top highlight */
  --glass-selected: color-mix(in srgb, rgb(var(--color-accent)) 7%, rgb(var(--color-surface-raised) / 0.85)); /* selected lens: near-opaque so accent text stays >= 4.5:1 on any backdrop */

  /* ---------------------------------------------------------------- type: families */
  --font-sans: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", system-ui, sans-serif; /* data face: figures, labels, UI, product voice. SF Pro / Roboto / system-ui */
  --font-serif: ui-serif, "New York", "Iowan Old Style", Georgia, serif; /* voice face: Alfred's words ONLY. New York / Noto Serif / Georgia */

  /* ---------------------------------------------------------------- type: scale. size / line-height in px, weight, tracking in em.
     "-compact" = phone and any content column < 640 px. Max weight 600. Nothing below 11 px. Tabular figures everywhere (set on the root). */
  /* data face: figures */
  --type-hero-size: 72px;           --type-hero-line: 76px;          --type-hero-weight: 600; --type-hero-tracking: -0.03em;  /* the largest thing on every page */
  --type-hero-size-compact: 48px;   --type-hero-line-compact: 52px;
  --type-display-size: 32px;        --type-display-line: 36px;       --type-display-weight: 600; --type-display-tracking: -0.02em; /* a secondary figure, income pages */
  --type-title-size: 22px;          --type-title-line: 28px;         --type-title-weight: 600; --type-title-tracking: -0.01em;  /* page title where no hero exists */
  --type-figure-side-size: 22px;    --type-figure-side-line: 28px;   --type-figure-side-weight: 600; --type-figure-side-tracking: -0.01em; /* the two sides of a pair: FX dates, comparison figures */
  --type-figure-side-size-compact: 17px; --type-figure-side-line-compact: 22px;
  --type-figure-gap-size: 32px;     --type-figure-gap-line: 36px;    --type-figure-gap-weight: 600; --type-figure-gap-tracking: -0.02em;  /* the move or gap between a pair's sides */
  --type-figure-gap-size-compact: 28px; --type-figure-gap-line-compact: 32px;
  --type-delta-lead-size: 18px;     --type-delta-lead-line: 24px;    --type-delta-lead-weight: 500; --type-delta-lead-tracking: 0; /* the two deltas under the hero */
  --type-delta-lead-size-compact: 16px; --type-delta-lead-line-compact: 22px;
  --type-fact-size: 20px;           --type-fact-line: 26px;          --type-fact-weight: 500; --type-fact-tracking: 0;          /* value in the facts grid */
  --type-fact-size-compact: 18px;   --type-fact-line-compact: 24px;
  /* data face: product UI */
  --type-section-size: 15px;        --type-section-line: 20px;       --type-section-weight: 600; --type-section-tracking: 0;    /* ledger caption, panel heading */
  --type-body-size: 15px;           --type-body-line: 22px;          --type-body-weight: 400; --type-body-tracking: 0;
  --type-body-strong-size: 15px;    --type-body-strong-line: 22px;   --type-body-strong-weight: 500; --type-body-strong-tracking: 0; /* row value, nav item, ticker is 600 */
  --type-table-size: 14px;          --type-table-line: 20px;         --type-table-weight: 400; --type-table-tracking: 0;
  --type-control-size: 14px;        --type-control-line: 20px;       --type-control-weight: 500; --type-control-tracking: 0;   /* button, chip, link */
  --type-label-size: 13px;          --type-label-line: 18px;         --type-label-weight: 500; --type-label-tracking: 0;       /* sentence case. metadata, status line, segmented, byline */
  --type-caption-size: 12px;        --type-caption-line: 16px;       --type-caption-weight: 400; --type-caption-tracking: 0;   /* axis dates, legend, phone ledger */
  --type-caption-strong-size: 12px; --type-caption-strong-line: 16px; --type-caption-strong-weight: 500; --type-caption-strong-tracking: 0; /* table header, evidence term, fact term */
  --type-badge-size: 12px;          --type-badge-line: 16px;         --type-badge-weight: 600; --type-badge-tracking: 0;       /* tag and count badge, sentence case */
  --type-caps-size: 11px;           --type-caps-line: 16px;          --type-caps-weight: 600; --type-caps-tracking: 0.12em;    /* UPPERCASE: kicker, section label, masthead date, sub-label. The only uppercase */
  --type-chart-label-size: 11px;    --type-chart-label-line: 14px;   --type-chart-label-weight: 500; --type-chart-label-tracking: 0; /* y-axis labels */
  /* data face: product voice in the lead (status text; never serif, because Alfred did not write it) */
  --type-lead-status-size: 24px;    --type-lead-status-line: 30px;   --type-lead-status-weight: 500; --type-lead-status-tracking: -0.01em;
  --type-lead-status-size-compact: 20px; --type-lead-status-line-compact: 26px;
  --type-lead-status-deck-size: 16px; --type-lead-status-deck-line: 24px; --type-lead-status-deck-weight: 400; --type-lead-status-deck-tracking: 0;
  --type-lead-status-deck-size-compact: 15px; --type-lead-status-deck-line-compact: 22px;
  /* voice face: Alfred's words (verbatim; the client never cuts, splits or restyles them) */
  --type-standfirst-size: 28px;     --type-standfirst-line: 34px;    --type-standfirst-weight: 500; --type-standfirst-tracking: -0.01em; /* headline of the lead, max 24ch */
  --type-standfirst-size-compact: 22px; --type-standfirst-line-compact: 28px;
  --type-deck-size: 17px;           --type-deck-line: 26px;          --type-deck-weight: 400; --type-deck-tracking: 0;          /* summary under the standfirst, <= 160 characters */
  --type-deck-size-compact: 16px;   --type-deck-line-compact: 24px;
  --type-headline-size: 20px;       --type-headline-line: 26px;      --type-headline-weight: 500; --type-headline-tracking: -0.005em; /* brief item headline */
  --type-headline-size-compact: 18px; --type-headline-line-compact: 24px;
  --type-headline-quiet-size: 17px; --type-headline-quiet-line: 24px; --type-headline-quiet-weight: 500; --type-headline-quiet-tracking: 0; /* older briefs without a link */
  --type-question-size: 18px;       --type-question-line: 26px;      --type-question-weight: 400; --type-question-tracking: 0;  /* the notice question */
  --type-question-size-compact: 17px; --type-question-line-compact: 24px;
  --type-prose-size: 16px;          --type-prose-line: 25px;         --type-prose-weight: 400; --type-prose-tracking: 0;        /* post body in full */
  --type-note-size: 14px;           --type-note-line: 20px;          --type-note-weight: 400; --type-note-tracking: 0;          /* one-line Alfred line on a transaction row. Not used on Home rows */

  /* ---------------------------------------------------------------- space: 4 pt base, 8 pt rhythm */
  --space-1: 4px;  --space-2: 8px;  --space-3: 12px;  --space-4: 16px;  --space-5: 24px;  --space-6: 32px;  --space-7: 48px;  --space-8: 64px;
  --space-section: 56px;            /* gap between sections, web and iPad regular */
  --space-section-compact: 40px;    /* gap between sections, phone and compact */
  --gutter: 32px;                   /* minimum side gutter of the content column on web */
  --gutter-compact: 16px;           /* screen gutter on phone (matches the platform default) */

  /* ---------------------------------------------------------------- layout */
  --layout-sidebar: 248px;          /* web sidebar */
  --layout-content-max: 1120px;     /* content column, web. Two-column lead only inside it */
  --layout-lead-gap: 64px;          /* gap between lead text (7fr) and notice / position facts (5fr) on web */
  --layout-lead-gap-split: 48px;    /* the same at column widths 800 to 999 */
  --layout-sheet-dialog-min: 640px; /* dialog at or above this viewport width, sheet below */
  /* content-column width bands (container queries cannot read variables; these are the literal values):
       compact  < 640   phone composition (also iPad / Android tablet in compact width)
       stacked  640-799 lead is one column, notice under it
       split    800-999 lead 7/5, gap 48
       wide     >= 1000 lead 7/5, gap 64                                                                   */
  --inset-bottom-ios: 96px;         /* content bottom padding above the glass tab bar: bar 62 + offset 24 + 10. Content scrolls UNDER the bar */
  --inset-bottom-android: 104px;    /* Material navigation bar 80 + 24 gesture inset */
  --plot-h: 220px;                  /* value chart height, wide and split */
  --plot-h-compact: 150px;          /* value chart height, compact */

  /* ---------------------------------------------------------------- shape: two radii, two shadows, hairlines */
  --radius-control: 6px;            /* buttons, chips, inputs, segmented container, notice box, tags */
  --radius-container: 12px;         /* sheets, dialogs, popovers, the Android FAB. NOT cards: content has none */
  --radius-inset: 4px;              /* derived: control radius minus the segmented control's 2 px padding. Used nowhere else */
  --radius-full: 9999px;            /* avatars, count badges, carousel dots and arrows, chart end point, glass circles */
  --border-hairline: 1px;           /* separators, control edges. One device pixel is the intent; 1 css px is the token */
  --rule-heavy: 2px;                /* upper rule of the double rule; the thread rail */
  --rule-light: 1px;                /* lower rule of the double rule; section rule */
  --rule-gap: 3px;                  /* gap inside the double rule */
  --focus-ring-width: 2px;
  --focus-ring-offset: 2px;         /* ring = solid accent. Defined once, no component overrides it */

  /* ---------------------------------------------------------------- targets */
  --target-web: 32px;               /* minimum pointer target on web */
  --target-touch: 44px;             /* phone and iPad (pt) */
  --target-android: 48px;           /* Android phone and tablet (dp) */

  /* ---------------------------------------------------------------- motion: feedback, never choreography */
  --motion-micro: 120ms;            /* hover, press colour step */
  --motion-state: 200ms;            /* value cross-fade, collapse, selected segment, nav indicator */
  --motion-nav: 280ms;              /* push to a drill-down (16 pt slide + opacity) */
  --motion-sheet: 320ms;            /* sheet in */
  --motion-exit: 160ms;             /* every exit; always faster than its entrance */
  --motion-signal: 1400ms;          /* thread mark pendulum, each way, only while real work runs */
  --motion-travel: 2400ms;          /* thread segment along the double rule, only while the lead is Working */
  --motion-pulse: 1600ms;           /* skeleton bars */
  --ease-enter: cubic-bezier(0.2, 0, 0, 1);
  --ease-exit: cubic-bezier(0.3, 0, 1, 1);
  /* carousel snap: scroll-snap-type x mandatory, one page per viewport, no timing token (the engine owns it).
     Count-up is banned: values cross-fade over --motion-state, never on first paint. */

  /* ---------------------------------------------------------------- chart */
  --chart-line-width: 1.5px;        /* value line, chart-1, round joins and caps */
  --chart-cost-width: 1px;          /* cost line, text-muted, dashed 4 4 */
  --chart-cost-dash: 4 4;
  --chart-grid-width: 1px;          /* two hairlines only, --color-border */
  --chart-end-size: 8px;            /* end point on the main chart */
  --chart-gutter: 44px;             /* right gutter holding the y-axis labels */
  --rowchart-w: 88px;  --rowchart-h: 28px;            /* row chart, web */
  --rowchart-w-compact: 72px;  --rowchart-h-compact: 24px; /* row chart, phone */
  --rowchart-dash: 3 3;
  --rowchart-end-r: 2px;
  --mark-size: 32px;                /* Alfred avatar slot in a post */
  --mark-size-sm: 20px;             /* mark in a byline or brief source line */

  /* ---------------------------------------------------------------- z-index (semantic; no raw numbers in components) */
  --z-base: 0;
  --z-raised: 1;                    /* carousel arrow buttons, thread signal on the double rule */
  --z-sticky: 10;                   /* sidebar, tab bar, glass chrome, masthead if pinned */
  --z-overlay: 20;                  /* scrim, popover */
  --z-modal: 30;                    /* dialog, sheet */
  --z-toast: 40;                    /* toast, snackbar, update chip */
  --z-skip: 50;                     /* skip-to-content link */
}

[data-theme="dark"] {
  color-scheme: dark;

  /* colour: dark (matte navy paper, white ink) */
  --color-bg: 16 27 43;
  --color-surface: 25 40 60;
  --color-surface-raised: 35 52 74;
  --color-border: 46 66 90;
  --color-border-strong: 83 103 130;
  --color-border-control: 129 147 170;
  --color-text: 255 255 255;
  --color-text-muted: 197 211 227;
  --color-text-faint: 129 147 170;
  --color-accent: 66 200 206;
  --color-accent-foreground: 16 27 43;
  --color-success: 52 211 153;
  --color-danger: 255 139 156;
  --color-danger-foreground: 16 27 43;
  --color-warning: 251 191 36;
  --color-brand-thread: 231 137 152;
  --color-brand-thread-foreground: 16 27 43;
  --color-scrim: 0 0 0;

  --chart-1: 66 200 206;
  --chart-2: 255 151 58;
  --chart-3: 25 158 112;
  --chart-4: 201 133 0;
  --chart-5: 213 81 129;
  --chart-6: 112 123 223;
  --chart-7: 165 157 242;
  --chart-8: 198 181 128;

  --paper-grain: url('paper-grain-dark.svg');

  --shadow-popover: 0 1px 2px rgb(0 0 0 / 0.4), 0 4px 12px rgb(0 0 0 / 0.3);
  --shadow-modal: 0 2px 4px rgb(0 0 0 / 0.5), 0 24px 56px rgb(0 0 0 / 0.55);
  --alpha-scrim: 0.6;

  --glass-edge: rgb(255 255 255 / 0.16);
  --glass-rim: rgb(255 255 255 / 0.28);
  --glass-selected: color-mix(in srgb, rgb(var(--color-accent)) 14%, rgb(var(--color-surface) / 0.9));
}

/* Android: Roboto is the data face, Noto Serif the voice face. Set by the native theme, shown here for the web specimens. */
[data-platform="android"] {
  --font-sans: Roboto, system-ui, sans-serif;
  --font-serif: "Noto Serif", ui-serif, Georgia, serif;
}

/* Reduce Transparency (OS) or [data-glass="off"] (review): every glass surface becomes opaque surface with a hairline edge, no blur. */
@media (prefers-reduced-transparency: reduce) {
  :root { --glass-tint-alpha: 1; --glass-filter: none; --glass-edge: rgb(var(--color-border)); --glass-rim: transparent; --glass-selected: color-mix(in srgb, rgb(var(--color-accent)) 12%, rgb(var(--color-surface))); }
}
:root[data-glass="off"] { --glass-tint-alpha: 1; --glass-filter: none; --glass-edge: rgb(var(--color-border)); --glass-rim: transparent; --glass-selected: color-mix(in srgb, rgb(var(--color-accent)) 12%, rgb(var(--color-surface))); }

/* Reduced motion: every duration collapses; slides become a cross-fade or nothing, value changes become instant swaps,
   the carousel snaps instantly, the thread signal is static, skeletons do not pulse. Count-up stays banned regardless. */
@media (prefers-reduced-motion: reduce) {
  :root { --motion-micro: 0.01ms; --motion-state: 0.01ms; --motion-nav: 0.01ms; --motion-sheet: 0.01ms; --motion-exit: 0.01ms; }
}
