/* RUN:AM DS — Apple — generated from tokens.json */
/* v12: themes light | dark (+ Increase Contrast). The v11 ids dawn / daylight are DEPRECATED aliases (dawn = dark, daylight = light) kept so old markup still themes. */
:root, [data-theme="light"], [data-theme="daylight"] {
  --bubble-user: #6040f5; /* v12.17: the runner's chat bubble (bright Water, white text) */
  --on-bubble-user: #ffffff; /* v12.17: text and icons on bubble-user */
  --deck-shadow-front: 0 0 0 0.5px rgba(0,0,0,.05), 0 2px 6px rgba(0,0,0,.10), 0 8px 24px rgba(0,0,0,.16); /* v12.21 (owner): the front card of a stepped deck — layered and clearly visible (0 2 6 + 0 8 24), with a hairline edge */
  --deck-card: var(--surface-1); /* v12.21: the front deck card ground (Dark: one elevation step up from the page) */
  --deck-peek: var(--surface-1); /* v12.21: the cards behind (Dark: one step below the front card) */
  --deck-shadow-back: 0 0 0 0.5px rgba(0,0,0,.04), 0 2px 4px rgba(0,0,0,.06), 0 6px 14px rgba(0,0,0,.10); /* v12.21: the cards behind it, softer */
  --sheet-card-shadow: 0 1px 2px rgba(0,0,0,.06); /* v12.13: a hairline lift for cards on a sheet (Light only) */
  --sheet-bg: var(--bg); /* v12.13: a sheet's ground = the grouped page (Light #F2F2F7, Dark elevated #1C1C1E) */
  --sheet-card: var(--surface-1); /* v12.13: a Card in a Sheet = the grouped cell (Light white, Dark #2C2C2E) */
  --tile-blue: #007aff; /* v12.13: IconTile ground, iOS system blue */
  --tile-indigo: #5856d6; /* v12.13: IconTile ground, iOS system indigo */
  --tile-purple: #af52de; /* v12.13: IconTile ground, iOS system purple */
  --tile-pink: #ff2d55; /* v12.13: IconTile ground, iOS system pink */
  --tile-yellow: #ffcc00; /* v12.13: IconTile ground, iOS system yellow */
  --tile-teal: #30b0c7; /* v12.13: IconTile ground, iOS system teal */
  --tile-mint: #00c7be; /* v12.13: IconTile ground, iOS system mint */
  /* v12.8: workout step tags by step kind (v12.10: warm-up mint, work Water, recovery / easy grey, cool-down blue-cyan (v12.12: blue is free again), strides Water outline) */
  --step-warmup-bg: rgba(0,199,190,.16);
  --step-warmup-ink: #00665f;
  --step-work-bg: rgba(76,45,178,.12);
  --step-work-ink: #4c2db2;
  --step-recovery-bg: rgba(120,120,128,.16);
  --step-recovery-ink: #48484a;
  --step-cooldown-bg: rgba(10,132,255,.14);
  --step-cooldown-ink: #00509e;
  --on-target-bg: rgba(52,199,89,.16); /* v12.12 owner: "On target" in iOS system green (#34C759), tinted fill (owner, replaces blue) */
  --on-target-ink: #146b2c;
  --step-strides-bg: transparent;
  --step-strides-ink: #4c2db2;
  --galaxy: #08040a; /* Galaxy Black. */
  --dusty: #fdfef0; /* Dusty White. */
  --water: #4c2db2; /* Water. */
  --fire: #b70000; /* Fire. */
  --air: #f9e491; /* Air. */
  --sunrise: #ff6a00; /* Sun rises & sets. */
  --dawn-pink: #f2d5dd; /* Dawn Pink. */
  --earth: #33cc33; /* Earth. */
  --n-0: #000000; /* Neutral ramp, iOS system greys (v12: replaces the warm Galaxy → Dusty ramp; names kept). */
  --n-50: #1c1c1e; /* Neutral ramp, iOS system greys (v12: replaces the warm Galaxy → Dusty ramp; names kept). */
  --n-100: #2c2c2e; /* Neutral ramp, iOS system greys (v12: replaces the warm Galaxy → Dusty ramp; names kept). */
  --n-150: #3a3a3c; /* Neutral ramp, iOS system greys (v12: replaces the warm Galaxy → Dusty ramp; names kept). */
  --n-200: #48484a; /* Neutral ramp, iOS system greys (v12: replaces the warm Galaxy → Dusty ramp; names kept). */
  --n-300: #636366; /* Neutral ramp, iOS system greys (v12: replaces the warm Galaxy → Dusty ramp; names kept). */
  --n-400: #8e8e93; /* Neutral ramp, iOS system greys (v12: replaces the warm Galaxy → Dusty ramp; names kept). */
  --n-500: #aeaeb2; /* Neutral ramp, iOS system greys (v12: replaces the warm Galaxy → Dusty ramp; names kept). */
  --n-600: #c7c7cc; /* Neutral ramp, iOS system greys (v12: replaces the warm Galaxy → Dusty ramp; names kept). */
  --n-700: #d1d1d6; /* Neutral ramp, iOS system greys (v12: replaces the warm Galaxy → Dusty ramp; names kept). */
  --n-800: #e5e5ea; /* Neutral ramp, iOS system greys (v12: replaces the warm Galaxy → Dusty ramp; names kept). */
  --n-850: #f2f2f7; /* Neutral ramp, iOS system greys (v12: replaces the warm Galaxy → Dusty ramp; names kept). */
  --n-900: #ffffff; /* Neutral ramp, iOS system greys (v12: replaces the warm Galaxy → Dusty ramp; names kept). */
  --water-200: #c9bef5; /* Water ramp, step 200. */
  --water-300: #aa9af3; /* Water ramp, step 300. */
  --water-400: #8c76f2; /* Water ramp, step 400. */
  --water-600: #4c2db2; /* Water ramp, step 600. */
  --water-700: #3b2192; /* Water ramp, step 700. */
  --water-800: #2a176b; /* Water ramp, step 800. */
  --fire-300: #f0857a; /* Fire ramp, step 300. */
  --fire-400: #e0473a; /* Fire ramp, step 400. */
  --fire-500: #b70000; /* Fire ramp, step 500. */
  --air-100: #fcf5d6; /* Air ramp, step 100. */
  --air-300: #f9e491; /* Air ramp, step 300: the highlight. */
  --air-800: #6b5300; /* Air ramp, step 800. */
  --pos-300: #7fdb95; /* v12: deprecated (positive is the iOS system green). */
  --pos-600: #1a7a33; /* v12: deprecated (positive is the iOS system green). */
  --bg: var(--n-850); /* Screen ground: iOS systemGroupedBackground (#F2F2F7 / black). */
  --surface-1: var(--n-900); /* Card, grouped list, sheet: secondarySystemGroupedBackground (white / #1C1C1E). */
  --surface-2: #eeeef2; /* Fill inside a card: chip, inset, icon button, progress track (the spike's fill, #EEEEF2 / #2C2C2E). */
  --surface-3: var(--n-800); /* Pressed state, skeleton peak, the future pips (systemGray5 / systemGray4 dark). */
  --surface-inverse: var(--n-50); /* Toast. */
  --ink-1: var(--n-0); /* Primary text: label (black / white). */
  --ink-2: #6c6c70; /* Secondary text: the accessible secondaryLabel (6.0 : 1 on white, 6.6 : 1 on #1C1C1E). */
  --ink-3: #6c6c70; /* Meta, captions, placeholders. */
  --ink-4: #c4c4c7; /* Tertiary: chevrons, empty rings, decorative only (never readable text). */
  --ink-inverse: var(--n-900); /* Text on surface-inverse and on ink-1 fills (A race tag, secondary button). */
  --line: #e3e3e8; /* Separator: 0.5 px hairlines between rows and inside cards. */
  --line-soft: #e3e3e8; /* v12: same as line (iOS has one separator colour). */
  --line-strong: #c4c4c7; /* Outlines: dashed add card, filter chips, unchecked controls. */
  --accent: var(--water-600); /* The tint (Water): links, the primary action, the selected tab, this week, charts, the coach accent. */
  --accent-press: var(--water-700); /* Pressed primary; the deeper tint. */
  --accent-ink: var(--water-600); /* Tint-coloured text and icons (link buttons, accent eyebrow, chart labels). */
  --accent-soft: rgba(76,45,178,.12); /* Tinted ground: TODAY tag, tinted button, chip, chart area. */
  --accent-on-soft: var(--water-600); /* Tint text on accent-soft. */
  --accent-edge: rgba(76,45,178,.12); /* The 1.5 px inner ring of the current-week card. */
  --on-accent: var(--n-900); /* Text on accent fills. */
  --danger: var(--ios-red); /* Missed and skipped marks, destructive actions, error rings (iOS systemRed). */
  --danger-ink: #d70015; /* Danger text (iOS accessible red). */
  --danger-soft: rgba(255,59,48,.12); /* Danger button and chip ground. */
  --on-danger: var(--n-900); /* Glyphs on danger fills. */
  --positive: #248a3d; /* Improvement deltas (iOS accessible green text). */
  --highlight-fg: var(--n-0); /* Coach highlight text. */
  --highlight-bg: var(--air-300); /* Coach highlight ground: Air in Light, none in Dark. */
  --warning: #9a5b00; /* Off-zone / caution text and icon (always with words). */
  --warning-soft: #fff1cc; /* Warning chip ground. */
  --track: var(--n-800); /* Unfilled pips, switch track. */
  --disabled-bg: rgba(120,120,128,.12); /* Disabled control ground. */
  --disabled-ink: rgba(60,60,67,.30); /* Disabled control text (exempt from contrast). */
  --glass: rgba(255,255,255,.72); /* Floating chrome only (Liquid Glass): tab bar, Ask button, nav buttons, menus. */
  --glass-edge: rgba(255,255,255,.9); /* Hairline on glass. */
  --scrim: rgba(0,0,0,.35); /* Behind sheets. */
  --scrim-tour: rgba(0,0,0,.55); /* The app tour: around the lit part (v12.34). */
  --chart-planned: var(--ink-2); /* Planned volume and the planned line: dashed stroke, no fill. */
  --chart-actual: var(--accent); /* v12.15: the actual line, points and done volume = the Water tint (was ink-1: a black / white line, owner 2026-11-07) */
  --chart-current: var(--accent); /* This week's point in a chart. */
  --chart-future-edge: var(--ink-2); /* VolumeChart: the dashed line and hollow points of planned weeks. */
  --chart-target: var(--accent-soft); /* Target band behind reps, paces and zones. */
  --chart-area: var(--accent-soft); /* The fill under the tint line (VolumeChart, PaceChart accent). */
  --chart-grid: var(--line); /* Chart gridlines. */
  --chart-axis: var(--ink-2); /* Axis labels (10 px). */
  --zone-1: #079bed; /* v12.29 zone 1 (blue): the owner's reference ramp, Light value (OKLCH lightness lowered until >= 3:1 on surface-1). Fills, swatches and bars only; text stays ink. */
  --zone-2: #08a597; /* v12.29 zone 2 (aqua): the owner's reference ramp, Light value (OKLCH lightness lowered until >= 3:1 on surface-1). Fills, swatches and bars only; text stays ink. */
  --zone-3: #6ba404; /* v12.29 zone 3 (lime): the owner's reference ramp, Light value (OKLCH lightness lowered until >= 3:1 on surface-1). Fills, swatches and bars only; text stays ink. */
  --zone-4: #ee7003; /* v12.29 zone 4 (orange): the owner's reference ramp, Light value (OKLCH lightness lowered until >= 3:1 on surface-1). Fills, swatches and bars only; text stays ink. */
  --zone-5: #ff006c; /* v12.29 zone 5 (pink-red): the owner's reference ramp, Light value (OKLCH lightness lowered until >= 3:1 on surface-1). Fills, swatches and bars only; text stays ink. */
  --ios-green: #34c759; /* iOS systemGreen. */
  --ios-orange: #ff9500; /* iOS systemOrange. */
  --ios-red: #ff3b30; /* iOS systemRed. */
  --ios-yellow: #ffcc00; /* iOS systemYellow. */
  --ios-cyan: #32ade6; /* iOS systemCyan. */
  --current-bg: rgba(76,45,178,.10); /* v12: today / next-day row ground inside the week card. */
  --on-tile: #ffffff; /* v12: the white glyph on an IconTile (icons only, ≥ 3 : 1 on every tile). */
  --done: var(--ios-green); /* v12: the done mark (green check circle). */
  --next: var(--ios-orange); /* v12: the next-session mark (orange ring + dot). */
  --next-ink: #c93400; /* v12: Up Next eyebrow and NEXT tag text (iOS accessible orange). */
  --next-soft: rgba(255,149,0,.14); /* v12: NEXT tag ground. */
  --warning-band: #fff4d6; /* v12: the TopBand ground when it warns. */
  --glass-sel: rgba(0,0,0,.06); /* v12: the selected tab's pill on glass. */
  --tile-accent: var(--accent); /* v12: IconTile ground, the tint (coach, plan, run days). */
  --tile-green: var(--ios-green); /* v12: IconTile ground, green (fuel, terrain, improving). */
  --tile-orange: var(--ios-orange); /* v12: IconTile ground, orange (protein, illness). */
  --tile-red: var(--ios-red); /* v12: IconTile ground, red (heart, pain). */
  --tile-cyan: var(--ios-cyan); /* v12: IconTile ground, cyan (hydration). */
  --tile-gray: var(--n-400); /* v12: IconTile ground, grey (body details, edit). */
  --shadow-float: 0 8px 28px rgba(0,0,0,.16); /* Sheets and toasts. */
  --shadow-glass: 0 8px 30px rgba(0,0,0,.12); /* v12: floating glass tab bar and Ask button. */
  --shadow-glass-s: 0 2px 10px rgba(0,0,0,.08); /* v12: glass nav buttons. */
  --focus: 0 0 0 2px #f2f2f7, 0 0 0 4px #4c2db2; /* Keyboard focus ring: a bg gap then a 2px tint ring. */
  --share-ink-shadow: 0 1px 6px rgba(255,255,255,.25); /* Transparent share cards only. */
  color-scheme: light;
  --phase-general: #00a39b; /* v12.22 SeasonArc: the General phase (bars, line, dots). Decoration only, never text. */
  --phase-specific: var(--water-600); /* v12.22 SeasonArc: the Specific phase (the Water tint). */
  --phase-peak: #ff6a00; /* v12.22 SeasonArc: the Peak phase. Close to `next` orange: never put the two side by side. */
  --phase-taper: #e0457b; /* v12.22 SeasonArc: the Taper phase and race week. */
  --phase-base: #30b0c7; /* v12.22 SeasonArc: base training (no race) and recovery weeks. */
  --phase-general-soft: rgba(0,163,155,.16); /* v12.28.1 PhaseBadge ground (tint). Decoration only, never text. */
  --phase-specific-soft: rgba(76,45,178,.16); /* v12.28.1 PhaseBadge ground (tint). Decoration only, never text. */
  --phase-peak-soft: rgba(255,106,0,.16); /* v12.28.1 PhaseBadge ground (tint). Decoration only, never text. */
  --phase-taper-soft: rgba(224,69,123,.16); /* v12.28.1 PhaseBadge ground (tint). Decoration only, never text. */
  --phase-base-soft: rgba(48,176,199,.16); /* v12.28.1 PhaseBadge ground (tint). Decoration only, never text. */
  --phase-general-span: rgba(0,163,155,.40); /* v12.28.1 VolumeBar outline fill (span). Decoration only, never text. */
  --phase-specific-span: rgba(76,45,178,.40); /* v12.28.1 VolumeBar outline fill (span). Decoration only, never text. */
  --phase-peak-span: rgba(255,106,0,.40); /* v12.28.1 VolumeBar outline fill (span). Decoration only, never text. */
  --phase-taper-span: rgba(224,69,123,.40); /* v12.28.1 VolumeBar outline fill (span). Decoration only, never text. */
  --phase-base-span: rgba(48,176,199,.40); /* v12.28.1 VolumeBar outline fill (span). Decoration only, never text. */
  --chart-history: var(--n-600); /* v12.22 SeasonArc: weeks before the plan, from Apple Health / Strava. */
  --race-a: var(--fire-500); /* v12.22 A race badge ground (solid). The race day bar in race week. */
  --on-race-a: #ffffff; /* v12.22 Letter on race-a: 7.0 / 7.5 : 1 (IC 8.9 / 9.2). */
  --race-b: #0062cc; /* v12.22 B race badge ground (solid blue, owner 2026-11-13). */
  --on-race-b: #ffffff; /* v12.22 Letter on race-b: 5.8 / 7.4 : 1 (IC 7.7 / 9.5). */
  --race-c: var(--surface-3); /* v12.22 C race badge ground (quiet grey). */
  --on-race-c: var(--ink-1); /* v12.22 Letter on race-c (ink-1: ink-2 measured 4.2 / 4.0 : 1, under 4.5). */
}
[data-theme="dark"], [data-theme="dawn"] {
  --bubble-user: #6b4dff; /* v12.17: the runner's chat bubble (bright Water, white text) */
  --on-bubble-user: #ffffff; /* v12.17: text and icons on bubble-user */
  /* v12.15: alias tokens re-declared so var() resolves in this theme */
  --danger: var(--ios-red);
  --on-danger: var(--n-900);
  --chart-planned: var(--ink-2);
  --chart-current: var(--accent);
  --chart-future-edge: var(--ink-2);
  --chart-target: var(--accent-soft);
  --chart-area: var(--accent-soft);
  --chart-axis: var(--ink-2);
  --zone-1: #00a6ff;
  --zone-2: #00f4e0;
  --zone-3: #a8ff00;
  --zone-4: #ff7800;
  --zone-5: #ff006c;
  --done: var(--ios-green);
  --next: var(--ios-orange);
  --tile-accent: var(--accent);
  --tile-green: var(--ios-green);
  --tile-orange: var(--ios-orange);
  --tile-red: var(--ios-red);
  --tile-cyan: var(--ios-cyan);
  --chart-actual: var(--accent); /* v12.15: re-declared per theme so it resolves to this theme's tint */
  --deck-shadow-front: inset 0 0 0 0.5px rgba(255,255,255,.14), 0 2px 6px rgba(0,0,0,.60), 0 8px 24px rgba(0,0,0,.70); /* v12.21 (owner): the front card of a stepped deck — layered and clearly visible (0 2 6 + 0 8 24), with a hairline edge */
  --deck-card: #2c2c2e; /* v12.21: the front deck card ground (Dark: one elevation step up from the page) */
  --deck-peek: #1c1c1e; /* v12.21: the cards behind (Dark: one step below the front card) */
  --deck-shadow-back: inset 0 0 0 0.5px rgba(255,255,255,.08), 0 4px 12px rgba(0,0,0,.55); /* v12.21: the cards behind it, softer */
  --sheet-card-shadow: none; /* v12.13: a hairline lift for cards on a sheet (Light only) */
  --sheet-bg: var(--surface-1); /* v12.13: a sheet's ground = the grouped page (Light #F2F2F7, Dark elevated #1C1C1E) */
  --sheet-card: var(--surface-2); /* v12.13: a Card in a Sheet = the grouped cell (Light white, Dark #2C2C2E) */
  --tile-blue: #0a84ff; /* v12.13: IconTile ground, iOS system blue */
  --tile-indigo: #5e5ce6; /* v12.13: IconTile ground, iOS system indigo */
  --tile-purple: #bf5af2; /* v12.13: IconTile ground, iOS system purple */
  --tile-pink: #ff375f; /* v12.13: IconTile ground, iOS system pink */
  --tile-yellow: #ffd60a; /* v12.13: IconTile ground, iOS system yellow */
  --tile-teal: #40c8e0; /* v12.13: IconTile ground, iOS system teal */
  --tile-mint: #63e6e2; /* v12.13: IconTile ground, iOS system mint */
  /* v12.8: workout step tags by step kind (v12.10: warm-up mint, work Water, recovery / easy grey, cool-down blue-cyan (v12.12: blue is free again), strides Water outline) */
  --step-warmup-bg: rgba(99,230,226,.18);
  --step-warmup-ink: #63e6e2;
  --step-work-bg: rgba(140,118,242,.24);
  --step-work-ink: #c4b8ff;
  --step-recovery-bg: rgba(120,120,128,.32);
  --step-recovery-ink: #d1d1d6;
  --step-cooldown-bg: rgba(100,180,255,.20);
  --step-cooldown-ink: #8cc8ff;
  --on-target-bg: rgba(48,209,88,.20); /* v12.12 owner: "On target" in iOS system green (#30D158), tinted fill (owner, replaces blue) */
  --on-target-ink: #7ae894;
  --step-strides-bg: transparent;
  --step-strides-ink: #b3a3ff;
  --bg: var(--n-0);
  --surface-1: var(--n-50);
  --surface-2: var(--n-100);
  --surface-3: var(--n-150);
  --surface-inverse: var(--n-900);
  --ink-1: var(--n-900);
  --ink-2: #98989f;
  --ink-3: #98989f;
  --ink-4: #5a5a5e;
  --ink-inverse: var(--n-0);
  --line: #38383a;
  --line-soft: #38383a;
  --chart-grid: #2c2c2e; /* v12.7: behind the data, as Swift Charts in Dark (was the 0.5 px separator #38383a, too bright at 1 px) */
  --line-strong: #5a5a5e;
  --accent: var(--water-400);
  --accent-press: var(--water-300);
  --accent-ink: var(--water-400);
  --accent-soft: rgba(140,118,242,.18);
  --accent-on-soft: var(--water-400);
  --accent-edge: rgba(140,118,242,.18);
  --on-accent: var(--n-0);
  --danger-ink: #ff6961;
  --danger-soft: rgba(255,69,58,.18);
  --positive: #30d158;
  --highlight-fg: var(--air-300);
  --highlight-bg: #00000000;
  --warning: var(--ios-yellow);
  --warning-soft: rgba(255,214,10,.16);
  --track: var(--n-150);
  --disabled-bg: rgba(120,120,128,.24);
  --disabled-ink: rgba(235,235,245,.30);
  --glass: rgba(40,40,44,.62);
  --glass-edge: rgba(255,255,255,.14);
  --scrim: rgba(0,0,0,.6);
  --scrim-tour: rgba(0,0,0,.55);
  --ios-green: #30d158;
  --ios-orange: #ff9f0a;
  --ios-red: #ff453a;
  --ios-yellow: #ffd60a;
  --ios-cyan: #64d2ff;
  --current-bg: rgba(140,118,242,.12);
  --next-ink: #ffb340;
  --next-soft: rgba(255,159,10,.18);
  --warning-band: rgba(255,214,10,.14);
  --glass-sel: rgba(255,255,255,.10);
  --tile-gray: var(--n-300);
  --shadow-float: 0 8px 28px rgba(0,0,0,.5);
  --shadow-glass: 0 8px 32px rgba(0,0,0,.5);
  --shadow-glass-s: 0 2px 10px rgba(0,0,0,.4);
  --focus: 0 0 0 2px #000000, 0 0 0 4px #8c76f2;
  --share-ink-shadow: 0 1px 6px rgba(0,0,0,.35);
  color-scheme: dark;
  --phase-general: #34d1c6; /* v12.22 SeasonArc: the General phase (bars, line, dots). Decoration only, never text. */
  --phase-specific: var(--water-400); /* v12.22 SeasonArc: the Specific phase (the Water tint). */
  --phase-peak: #ff8a3d; /* v12.22 SeasonArc: the Peak phase. Close to `next` orange: never put the two side by side. */
  --phase-taper: #ff7aa2; /* v12.22 SeasonArc: the Taper phase and race week. */
  --phase-base: #5ac8e0; /* v12.22 SeasonArc: base training (no race) and recovery weeks. */
  --phase-general-soft: rgba(52,209,198,.24); /* v12.28.1 PhaseBadge ground (tint). Decoration only, never text. */
  --phase-specific-soft: rgba(140,118,242,.24); /* v12.28.1 PhaseBadge ground (tint). Decoration only, never text. */
  --phase-peak-soft: rgba(255,138,61,.24); /* v12.28.1 PhaseBadge ground (tint). Decoration only, never text. */
  --phase-taper-soft: rgba(255,122,162,.24); /* v12.28.1 PhaseBadge ground (tint). Decoration only, never text. */
  --phase-base-soft: rgba(90,200,224,.24); /* v12.28.1 PhaseBadge ground (tint). Decoration only, never text. */
  --phase-general-span: rgba(52,209,198,.45); /* v12.28.1 VolumeBar outline fill (span). Decoration only, never text. */
  --phase-specific-span: rgba(140,118,242,.45); /* v12.28.1 VolumeBar outline fill (span). Decoration only, never text. */
  --phase-peak-span: rgba(255,138,61,.45); /* v12.28.1 VolumeBar outline fill (span). Decoration only, never text. */
  --phase-taper-span: rgba(255,122,162,.45); /* v12.28.1 VolumeBar outline fill (span). Decoration only, never text. */
  --phase-base-span: rgba(90,200,224,.45); /* v12.28.1 VolumeBar outline fill (span). Decoration only, never text. */
  --chart-history: var(--n-200); /* v12.22 SeasonArc: weeks before the plan, from Apple Health / Strava. */
  --race-a: #ff6b5e; /* v12.22 A race badge ground (solid). The race day bar in race week. */
  --on-race-a: #000000; /* v12.22 Letter on race-a: 7.0 / 7.5 : 1 (IC 8.9 / 9.2). */
  --race-b: #409cff; /* v12.22 B race badge ground (solid blue, owner 2026-11-13). */
  --on-race-b: #000000; /* v12.22 Letter on race-b: 5.8 / 7.4 : 1 (IC 7.7 / 9.5). */
  --race-c: var(--surface-3); /* v12.22 C race badge ground (quiet grey). */
  --on-race-c: var(--ink-1); /* v12.22 Letter on race-c (ink-1: ink-2 measured 4.2 / 4.0 : 1, under 4.5). */
}
[data-theme="light-contrast"], [data-theme="daylight-contrast"] {
  --scrim-tour: rgba(0,0,0,.55);
  --bubble-user: #4a2bd6; /* v12.17: the runner's chat bubble (bright Water, white text) */
  --on-bubble-user: #ffffff; /* v12.17: text and icons on bubble-user */
  /* v12.15: alias tokens re-declared so var() resolves in this theme */
  --bg: var(--n-850);
  --surface-1: var(--n-900);
  --surface-3: var(--n-800);
  --surface-inverse: var(--n-50);
  --ink-1: var(--n-0);
  --ink-inverse: var(--n-900);
  --on-accent: var(--n-900);
  --danger: var(--ios-red);
  --on-danger: var(--n-900);
  --highlight-fg: var(--n-0);
  --highlight-bg: var(--air-300);
  --track: var(--n-800);
  --chart-planned: var(--ink-2);
  --chart-current: var(--accent);
  --chart-future-edge: var(--ink-2);
  --chart-target: var(--accent-soft);
  --chart-area: var(--accent-soft);
  --chart-grid: var(--line);
  --chart-axis: var(--ink-2);
  --zone-1: #037cbf;
  --zone-2: #02857a;
  --zone-3: #548300;
  --zone-4: #bf5902;
  --zone-5: #e70662;
  --done: var(--ios-green);
  --next: var(--ios-orange);
  --tile-accent: var(--accent);
  --tile-green: var(--ios-green);
  --tile-orange: var(--ios-orange);
  --tile-red: var(--ios-red);
  --tile-cyan: var(--ios-cyan);
  --tile-gray: var(--n-400);
  --chart-actual: var(--accent); /* v12.15: re-declared per theme so it resolves to this theme's tint */
  --deck-shadow-front: 0 0 0 0.5px rgba(0,0,0,.05), 0 2px 6px rgba(0,0,0,.10), 0 8px 24px rgba(0,0,0,.16); /* v12.21 (owner): the front card of a stepped deck — layered and clearly visible (0 2 6 + 0 8 24), with a hairline edge */
  --deck-card: var(--surface-1); /* v12.21: the front deck card ground (Dark: one elevation step up from the page) */
  --deck-peek: var(--surface-1); /* v12.21: the cards behind (Dark: one step below the front card) */
  --deck-shadow-back: 0 0 0 0.5px rgba(0,0,0,.04), 0 2px 4px rgba(0,0,0,.06), 0 6px 14px rgba(0,0,0,.10); /* v12.21: the cards behind it, softer */
  --sheet-card-shadow: 0 1px 2px rgba(0,0,0,.08); /* v12.13: a hairline lift for cards on a sheet (Light only) */
  --sheet-bg: var(--bg); /* v12.13: a sheet's ground = the grouped page (Light #F2F2F7, Dark elevated #1C1C1E) */
  --sheet-card: var(--surface-1); /* v12.13: a Card in a Sheet = the grouped cell (Light white, Dark #2C2C2E) */
  --tile-blue: #007aff; /* v12.13: IconTile ground, iOS system blue */
  --tile-indigo: #5856d6; /* v12.13: IconTile ground, iOS system indigo */
  --tile-purple: #af52de; /* v12.13: IconTile ground, iOS system purple */
  --tile-pink: #ff2d55; /* v12.13: IconTile ground, iOS system pink */
  --tile-yellow: #ffcc00; /* v12.13: IconTile ground, iOS system yellow */
  --tile-teal: #30b0c7; /* v12.13: IconTile ground, iOS system teal */
  --tile-mint: #00c7be; /* v12.13: IconTile ground, iOS system mint */
  /* v12.8: workout step tags by step kind (v12.10: warm-up mint, work Water, recovery / easy grey, cool-down blue-cyan (v12.12: blue is free again), strides Water outline) */
  --step-warmup-bg: rgba(0,199,190,.16);
  --step-warmup-ink: #00665f;
  --step-work-bg: rgba(76,45,178,.12);
  --step-work-ink: #4c2db2;
  --step-recovery-bg: rgba(120,120,128,.16);
  --step-recovery-ink: #48484a;
  --step-cooldown-bg: rgba(10,132,255,.14);
  --step-cooldown-ink: #00509e;
  --on-target-bg: rgba(52,199,89,.16); /* v12.12 owner: "On target" in iOS system green (#34C759), tinted fill (owner, replaces blue) */
  --on-target-ink: #146b2c;
  --step-strides-bg: transparent;
  --step-strides-ink: #4c2db2;
  --ink-2: #3a3a3c;
  --ink-3: #3a3a3c;
  --ink-4: #8e8e93;
  --line: #c7c7cc;
  --line-soft: #c7c7cc;
  --line-strong: #8e8e93;
  --accent: var(--water-700);
  --accent-press: var(--water-800);
  --accent-ink: var(--water-700);
  --accent-soft: rgba(59,33,146,.16);
  --accent-on-soft: var(--water-700);
  --accent-edge: rgba(59,33,146,.30);
  --current-bg: rgba(59,33,146,.12);
  --focus: 0 0 0 2px #f2f2f7, 0 0 0 4px #3b2192;
  color-scheme: light;
  --phase-general: #00807a; /* v12.22 SeasonArc: the General phase (bars, line, dots). Decoration only, never text. */
  --phase-specific: var(--water-700); /* v12.22 SeasonArc: the Specific phase (the Water tint). */
  --phase-peak: #e05a00; /* v12.22 SeasonArc: the Peak phase. Close to `next` orange: never put the two side by side. */
  --phase-taper: #c42e63; /* v12.22 SeasonArc: the Taper phase and race week. */
  --phase-base: #1f8fa3; /* v12.22 SeasonArc: base training (no race) and recovery weeks. */
  --phase-general-soft: rgba(0,128,122,.18); /* v12.28.1 PhaseBadge ground (tint). Decoration only, never text. */
  --phase-specific-soft: rgba(59,33,146,.18); /* v12.28.1 PhaseBadge ground (tint). Decoration only, never text. */
  --phase-peak-soft: rgba(224,90,0,.18); /* v12.28.1 PhaseBadge ground (tint). Decoration only, never text. */
  --phase-taper-soft: rgba(196,46,99,.18); /* v12.28.1 PhaseBadge ground (tint). Decoration only, never text. */
  --phase-base-soft: rgba(31,143,163,.18); /* v12.28.1 PhaseBadge ground (tint). Decoration only, never text. */
  --phase-general-span: rgba(0,128,122,.48); /* v12.28.1 VolumeBar outline fill (span). Decoration only, never text. */
  --phase-specific-span: rgba(59,33,146,.48); /* v12.28.1 VolumeBar outline fill (span). Decoration only, never text. */
  --phase-peak-span: rgba(224,90,0,.48); /* v12.28.1 VolumeBar outline fill (span). Decoration only, never text. */
  --phase-taper-span: rgba(196,46,99,.48); /* v12.28.1 VolumeBar outline fill (span). Decoration only, never text. */
  --phase-base-span: rgba(31,143,163,.48); /* v12.28.1 VolumeBar outline fill (span). Decoration only, never text. */
  --chart-history: var(--n-500); /* v12.22 SeasonArc: weeks before the plan, from Apple Health / Strava. */
  --race-a: #9a0000; /* v12.22 A race badge ground (solid). The race day bar in race week. */
  --on-race-a: #ffffff; /* v12.22 Letter on race-a: 7.0 / 7.5 : 1 (IC 8.9 / 9.2). */
  --race-b: #0050a8; /* v12.22 B race badge ground (solid blue, owner 2026-11-13). */
  --on-race-b: #ffffff; /* v12.22 Letter on race-b: 5.8 / 7.4 : 1 (IC 7.7 / 9.5). */
  --race-c: var(--surface-3); /* v12.22 C race badge ground (quiet grey). */
  --on-race-c: var(--ink-1); /* v12.22 Letter on race-c (ink-1: ink-2 measured 4.2 / 4.0 : 1, under 4.5). */
}
[data-theme="dark-contrast"], [data-theme="dawn-contrast"] {
  --bubble-user: #5533e8; /* v12.17: the runner's chat bubble (bright Water, white text) */
  --on-bubble-user: #ffffff; /* v12.17: text and icons on bubble-user */
  /* v12.15: alias tokens re-declared so var() resolves in this theme */
  --danger: var(--ios-red);
  --on-danger: var(--n-900);
  --chart-planned: var(--ink-2);
  --chart-current: var(--accent);
  --chart-future-edge: var(--ink-2);
  --chart-target: var(--accent-soft);
  --chart-area: var(--accent-soft);
  --chart-axis: var(--ink-2);
  --zone-1: #00a6ff;
  --zone-2: #00f4e0;
  --zone-3: #a8ff00;
  --zone-4: #ff7800;
  --zone-5: #ff186e;
  --done: var(--ios-green);
  --next: var(--ios-orange);
  --tile-accent: var(--accent);
  --tile-green: var(--ios-green);
  --tile-orange: var(--ios-orange);
  --tile-red: var(--ios-red);
  --tile-cyan: var(--ios-cyan);
  --chart-actual: var(--accent); /* v12.15: re-declared per theme so it resolves to this theme's tint */
  --deck-shadow-front: inset 0 0 0 0.5px rgba(255,255,255,.14), 0 2px 6px rgba(0,0,0,.60), 0 8px 24px rgba(0,0,0,.70); /* v12.21 (owner): the front card of a stepped deck — layered and clearly visible (0 2 6 + 0 8 24), with a hairline edge */
  --deck-card: #2c2c2e; /* v12.21: the front deck card ground (Dark: one elevation step up from the page) */
  --deck-peek: #1c1c1e; /* v12.21: the cards behind (Dark: one step below the front card) */
  --deck-shadow-back: inset 0 0 0 0.5px rgba(255,255,255,.08), 0 4px 12px rgba(0,0,0,.55); /* v12.21: the cards behind it, softer */
  --sheet-card-shadow: none; /* v12.13: a hairline lift for cards on a sheet (Light only) */
  --sheet-bg: var(--surface-1); /* v12.13: a sheet's ground = the grouped page (Light #F2F2F7, Dark elevated #1C1C1E) */
  --sheet-card: var(--surface-3); /* v12.13: a Card in a Sheet = the grouped cell (Light white, Dark #2C2C2E) */
  --tile-blue: #0a84ff; /* v12.13: IconTile ground, iOS system blue */
  --tile-indigo: #5e5ce6; /* v12.13: IconTile ground, iOS system indigo */
  --tile-purple: #bf5af2; /* v12.13: IconTile ground, iOS system purple */
  --tile-pink: #ff375f; /* v12.13: IconTile ground, iOS system pink */
  --tile-yellow: #ffd60a; /* v12.13: IconTile ground, iOS system yellow */
  --tile-teal: #40c8e0; /* v12.13: IconTile ground, iOS system teal */
  --tile-mint: #63e6e2; /* v12.13: IconTile ground, iOS system mint */
  /* v12.8: workout step tags by step kind (v12.10: warm-up mint, work Water, recovery / easy grey, cool-down blue-cyan (v12.12: blue is free again), strides Water outline) */
  --step-warmup-bg: rgba(99,230,226,.18);
  --step-warmup-ink: #63e6e2;
  --step-work-bg: rgba(140,118,242,.24);
  --step-work-ink: #c4b8ff;
  --step-recovery-bg: rgba(120,120,128,.32);
  --step-recovery-ink: #d1d1d6;
  --step-cooldown-bg: rgba(100,180,255,.20);
  --step-cooldown-ink: #8cc8ff;
  --on-target-bg: rgba(48,209,88,.20); /* v12.12 owner: "On target" in iOS system green (#30D158), tinted fill (owner, replaces blue) */
  --on-target-ink: #7ae894;
  --step-strides-bg: transparent;
  --step-strides-ink: #b3a3ff;
  --bg: var(--n-0);
  --surface-1: var(--n-50);
  --surface-2: var(--n-100);
  --surface-3: var(--n-150);
  --surface-inverse: var(--n-900);
  --ink-1: var(--n-900);
  --ink-2: #c7c7cc;
  --ink-3: #c7c7cc;
  --ink-4: #8e8e93;
  --ink-inverse: var(--n-0);
  --line: #545458;
  --line-soft: #545458;
  --chart-grid: #3a3a3c;
  --line-strong: #8e8e93;
  --accent: var(--water-300);
  --accent-press: var(--water-200);
  --accent-ink: var(--water-300);
  --accent-soft: rgba(170,154,243,.22);
  --accent-on-soft: var(--water-300);
  --accent-edge: rgba(170,154,243,.38);
  --on-accent: var(--n-0);
  --danger-ink: #ff6961;
  --danger-soft: rgba(255,69,58,.18);
  --positive: #30d158;
  --highlight-fg: var(--air-300);
  --highlight-bg: #00000000;
  --warning: var(--ios-yellow);
  --warning-soft: rgba(255,214,10,.16);
  --track: var(--n-150);
  --disabled-bg: rgba(120,120,128,.24);
  --disabled-ink: rgba(235,235,245,.30);
  --glass: rgba(40,40,44,.62);
  --glass-edge: rgba(255,255,255,.14);
  --scrim: rgba(0,0,0,.6);
  --scrim-tour: rgba(0,0,0,.55);
  --ios-green: #30d158;
  --ios-orange: #ff9f0a;
  --ios-red: #ff453a;
  --ios-yellow: #ffd60a;
  --ios-cyan: #64d2ff;
  --current-bg: rgba(170,154,243,.14);
  --next-ink: #ffb340;
  --next-soft: rgba(255,159,10,.18);
  --warning-band: rgba(255,214,10,.14);
  --glass-sel: rgba(255,255,255,.10);
  --tile-gray: var(--n-300);
  --shadow-float: 0 8px 28px rgba(0,0,0,.5);
  --shadow-glass: 0 8px 32px rgba(0,0,0,.5);
  --shadow-glass-s: 0 2px 10px rgba(0,0,0,.4);
  --focus: 0 0 0 2px #000000, 0 0 0 4px #aa9af3;
  --share-ink-shadow: 0 1px 6px rgba(0,0,0,.35);
  color-scheme: dark;
  --phase-general: #5ee0d6; /* v12.22 SeasonArc: the General phase (bars, line, dots). Decoration only, never text. */
  --phase-specific: var(--water-300); /* v12.22 SeasonArc: the Specific phase (the Water tint). */
  --phase-peak: #ffa060; /* v12.22 SeasonArc: the Peak phase. Close to `next` orange: never put the two side by side. */
  --phase-taper: #ff9bba; /* v12.22 SeasonArc: the Taper phase and race week. */
  --phase-base: #7fd6ea; /* v12.22 SeasonArc: base training (no race) and recovery weeks. */
  --phase-general-soft: rgba(94,224,214,.28); /* v12.28.1 PhaseBadge ground (tint). Decoration only, never text. */
  --phase-specific-soft: rgba(170,154,243,.28); /* v12.28.1 PhaseBadge ground (tint). Decoration only, never text. */
  --phase-peak-soft: rgba(255,160,96,.28); /* v12.28.1 PhaseBadge ground (tint). Decoration only, never text. */
  --phase-taper-soft: rgba(255,155,186,.28); /* v12.28.1 PhaseBadge ground (tint). Decoration only, never text. */
  --phase-base-soft: rgba(127,214,234,.28); /* v12.28.1 PhaseBadge ground (tint). Decoration only, never text. */
  --phase-general-span: rgba(94,224,214,.55); /* v12.28.1 VolumeBar outline fill (span). Decoration only, never text. */
  --phase-specific-span: rgba(170,154,243,.55); /* v12.28.1 VolumeBar outline fill (span). Decoration only, never text. */
  --phase-peak-span: rgba(255,160,96,.55); /* v12.28.1 VolumeBar outline fill (span). Decoration only, never text. */
  --phase-taper-span: rgba(255,155,186,.55); /* v12.28.1 VolumeBar outline fill (span). Decoration only, never text. */
  --phase-base-span: rgba(127,214,234,.55); /* v12.28.1 VolumeBar outline fill (span). Decoration only, never text. */
  --chart-history: var(--n-300); /* v12.22 SeasonArc: weeks before the plan, from Apple Health / Strava. */
  --race-a: #ff8a80; /* v12.22 A race badge ground (solid). The race day bar in race week. */
  --on-race-a: #000000; /* v12.22 Letter on race-a: 7.0 / 7.5 : 1 (IC 8.9 / 9.2). */
  --race-b: #6cb2ff; /* v12.22 B race badge ground (solid blue, owner 2026-11-13). */
  --on-race-b: #000000; /* v12.22 Letter on race-b: 5.8 / 7.4 : 1 (IC 7.7 / 9.5). */
  --race-c: var(--surface-3); /* v12.22 C race badge ground (quiet grey). */
  --on-race-c: var(--ink-1); /* v12.22 Letter on race-c (ink-1: ink-2 measured 4.2 / 4.0 : 1, under 4.5). */
}
/* v12.29: Dark and Dark IC show the reference zone ramp in Display P3 on P3 screens (Z5 in Dark only; Dark IC keeps its lifted sRGB Z5). */
@supports (color: color(display-p3 0 0 0)) {
  [data-theme="dark"], [data-theme="dawn"], [data-theme="dark-contrast"], [data-theme="dawn-contrast"] {
    --zone-1: color(display-p3 0.235 0.639 0.976);
    --zone-2: color(display-p3 0.263 0.941 0.878);
    --zone-3: color(display-p3 0.737 1 0);
    --zone-4: color(display-p3 0.996 0.506 0.039);
  }
  [data-theme="dark"], [data-theme="dawn"] {
    --zone-5: color(display-p3 1 0.047 0.431);
  }
}

:root {
  --s-1: 2px; /* Hairline gaps. */
  --s-2: 4px; /* The base unit. */
  --s-3: 8px; /* Icon-to-label gap, field label gap. */
  --s-4: 12px; /* Row padding, stacked-card gap. */
  --s-5: 16px; /* Card padding, input side padding. */
  --s-6: 20px; /* Screen margin, button side padding. */
  --s-7: 24px; /* Large button padding, sheet bottom. */
  --s-8: 32px; /* Before a section header. */
  --s-9: 40px; /* Large gaps. */
  --s-10: 56px; /* Largest gap. */
  --screen-margin: 16px; /* Cards sit 16 px from the screen edge (iOS inset grouped). */
  --card-pad: 16px; /* Alias of s-5: inside cards. */
  --stack-gap: 12px; /* Alias of s-4: between stacked cards. */
  --section-gap: 32px; /* Alias of s-8: before a section header. */
  --title-inset: 20px; /* v12: left inset of a section title above a grouped list. */
  --r-2xs: 4px; /* v12: pips, bar fills (zone, progress ends). */
  --r-xs: 6px; /* Tags (TODAY, NEXT, B, OUTLINE). */
  --r-s: 8px; /* Value chips, icon tiles, segmented thumb. */
  --r-inset: 14px; /* v12: insets inside a card (the fuel note), fields. */
  --r-m: 22px; /* Grouped lists, race cards, small cards. */
  --r-l: 26px; /* Cards and sheets (Apple grouped card). */
  --r-pill: 999px; /* Buttons (capsules), icon buttons, the tab bar, switches, filter chips. */
  --bw: 1px; /* Outlines (dashed add card). */
  --bw-hair: 0.5px; /* v12: separators (iOS hairline). */
  --bw-strong: 1.5px; /* Focus and error rings, the outline race tag, the current-card ring. */
  --hit: 44px; /* Minimum hit target; icon button, list row min height. */
  --ctl-s: 32px; /* Small button and small icon button height. */
  --ctl-m: 44px; /* Default button height. */
  --ctl-l: 52px; /* Large button height. */
  --icon-s: 16px; /* Small icons (Lucide). */
  --icon-m: 20px; /* Default icon size. */
  --icon-l: 24px; /* Large icons. */
  --icon-stroke: 2; /* Lucide stroke width (v12: 2, closer to SF Symbols regular). */
  --tile: 30px; /* v12: IconTile size (Settings style). */
  --mark-l: 22px; /* v12: StatusMark in a session row. */
  --nav-btn: 40px; /* v12: glass nav button. */
  --tab-h: 62px; /* v12: floating glass tab bar and Ask button height. */
  --glass-blur: blur(24px) saturate(180%); /* Backdrop filter for floating chrome (with glass / glass-edge). */
  --deco-opacity: 0.06; /* v10: decorative watermark opacity — the centred RUN:AM mark behind the onboarding / migration deck cards (SwipeDeck background="watermark"; the translucent card's show-through is this × .15). */
  --haptic-step: selection; /* A value steps: Slider, EffortScale, DayPill, Segmented, a deck card settling. */
  --haptic-commit: impact light; /* A choice is committed: Next on a deck card, a ChoiceTile tap, a match confirmed. */
  --haptic-success: success; /* A flow finishes: plan built, check-in sent, purchase done. */
  --haptic-warning: warning; /* Something needs a look: pain screener above threshold, a blocked swipe (rubber-band). */
  --bounce-settle: 0; /* Spring damping 'settle' (v11): bounce 0 = dampingFraction 1, no overshoot. */
  --bounce-physical: 0.15; /* Spring damping 'physical' (v11): bounce .15 = dampingFraction .85, a small bounce (owner 2026-11-03). */
  --bounce-momentum: 0.2; /* Spring damping 'momentum' (v11): bounce .2 = dampingFraction .8. */
  --spring-span: 1.5; /* v11: CSS runs a spring for spring-span × its response (--dur-N), its settle time (within 0.1 %), on a linear() curve sampled from the spring. */
  --rubber-c: 0.55; /* v11 rubber-band constant c in rb(x) = x·L·c / (L + c·|x|) (the apple-design formula): progressive resistance, firmer the further you pull (owner 2026-11-03). */
  --rubber-limit: 28px; /* v11 rubber-band limit L: the most a blocked card ever travels. */
  --font-ui: -apple-system, BlinkMacSystemFont, "SF Pro Text", "SF Pro", system-ui, sans-serif;
  --font-display: "SF Pro Expanded", "SF Pro Display", -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
  --font-system: -apple-system, BlinkMacSystemFont, "SF Pro Text", "SF Pro", system-ui, sans-serif;
  --font-brand: "Archivo", sans-serif;
  --text-display-1: 700 34px/41px var(--font-display);
  --text-display-2: 700 28px/34px var(--font-display);
  --text-display-3: 700 22px/28px var(--font-display);
  --text-display-4: 600 20px/25px var(--font-display);
  --text-large-title: 700 34px/41px var(--font-ui);
  --text-title-1: 700 28px/34px var(--font-ui);
  --text-title: 700 22px/28px var(--font-ui);
  --text-title-3: 600 20px/25px var(--font-ui);
  --text-heading: 600 17px/22px var(--font-ui);
  --text-voice: 400 17px/23px var(--font-ui);
  --text-body-l: 400 17px/22px var(--font-ui);
  --text-body: 400 15px/20px var(--font-ui);
  --text-body-s: 400 13px/18px var(--font-ui);
  --text-caption: 400 12px/16px var(--font-ui);
  --text-label: 600 13px/18px var(--font-ui);
  --text-micro: 700 11px/13px var(--font-ui);
  --text-num-l: 600 20px/25px var(--font-ui);
  --text-num-m: 600 17px/22px var(--font-ui);
  --text-num-s: 500 13px/18px var(--font-ui);
}
.display-1 {
  font-family: var(--font-display);
  font-size: 34px;
  line-height: 41px;
  font-weight: 700;
  letter-spacing: normal;
  font-stretch: expanded;
}
.display-2 {
  font-family: var(--font-display);
  font-size: 28px;
  line-height: 34px;
  font-weight: 700;
  letter-spacing: normal;
  font-stretch: expanded;
}
.display-3 {
  font-family: var(--font-display);
  font-size: 22px;
  line-height: 28px;
  font-weight: 700;
  letter-spacing: normal;
  font-stretch: expanded;
}
.display-4 {
  font-family: var(--font-display);
  font-size: 20px;
  line-height: 25px;
  font-weight: 600;
  letter-spacing: normal;
  font-stretch: expanded;
}
.large-title {
  font-family: var(--font-ui);
  font-size: 34px;
  line-height: 41px;
  font-weight: 700;
  letter-spacing: 0.4px;
}
.title-1 {
  font-family: var(--font-ui);
  font-size: 28px;
  line-height: 34px;
  font-weight: 700;
  letter-spacing: normal;
}
.title {
  font-family: var(--font-ui);
  font-size: 22px;
  line-height: 28px;
  font-weight: 700;
  letter-spacing: normal;
}
.title-3 {
  font-family: var(--font-ui);
  font-size: 20px;
  line-height: 25px;
  font-weight: 600;
  letter-spacing: normal;
}
.heading {
  font-family: var(--font-ui);
  font-size: 17px;
  line-height: 22px;
  font-weight: 600;
  letter-spacing: normal;
}
.voice {
  font-family: var(--font-ui);
  font-size: 17px;
  line-height: 23px;
  font-weight: 400;
  letter-spacing: normal;
}
.body-l {
  font-family: var(--font-ui);
  font-size: 17px;
  line-height: 22px;
  font-weight: 400;
  letter-spacing: normal;
}
.body {
  font-family: var(--font-ui);
  font-size: 15px;
  line-height: 20px;
  font-weight: 400;
  letter-spacing: normal;
}
.body-s {
  font-family: var(--font-ui);
  font-size: 13px;
  line-height: 18px;
  font-weight: 400;
  letter-spacing: normal;
}
.caption {
  font-family: var(--font-ui);
  font-size: 12px;
  line-height: 16px;
  font-weight: 400;
  letter-spacing: normal;
}
.label {
  font-family: var(--font-ui);
  font-size: 13px;
  line-height: 18px;
  font-weight: 600;
  letter-spacing: 0.2px;
}
.micro {
  font-family: var(--font-ui);
  font-size: 11px;
  line-height: 13px;
  font-weight: 700;
  letter-spacing: 0.3px;
}
.num-l {
  font-family: var(--font-ui);
  font-size: 20px;
  line-height: 25px;
  font-weight: 600;
  letter-spacing: normal;
}
.num-m {
  font-family: var(--font-ui);
  font-size: 17px;
  line-height: 22px;
  font-weight: 600;
  letter-spacing: normal;
}
.num-s {
  font-family: var(--font-ui);
  font-size: 13px;
  line-height: 18px;
  font-weight: 500;
  letter-spacing: normal;
}
:root {
  /* v12.18 / v12.19 (owner 2026-11-07): ShareOverlay ink, theme-independent (the overlay sits on the runner's own photo, never on the app ground) */
  --overlay-ink: #ffffff; /* Light ink: text and lockup. */
  --overlay-ink-2: rgba(255,255,255,.84); /* Light ink: labels, date line, units. */
  --overlay-tint: var(--water-300); /* Light ink: chart lines and bars, the lightest Water step that holds 3:1 on darker photos (D11). */
  --overlay-tint-soft: rgba(170,154,243,.28); /* Light ink: area under a line. */
  --overlay-band: rgba(255,255,255,.18); /* Light ink: rep target band (background only). */
  --overlay-shadow-1: 0 1px 1.5px rgba(0,0,0,.5); /* Light ink: soft shadow, tight (iOS photo caption). */
  --overlay-shadow-2: 0 0 10px rgba(0,0,0,.32); /* Light ink: soft shadow, wide halo. */
  --overlay-ink-dark: #1c1c1e; /* v12.19 Dark ink (bright photos): text and lockup. */
  --overlay-ink-dark-2: rgba(28,28,30,.72); /* v12.19 Dark ink: labels, date line, units. */
  --overlay-tint-dark: var(--water-600); /* v12.19 Dark ink: chart lines and bars (the Light tint, D11). */
  --overlay-tint-dark-soft: rgba(76,45,178,.18); /* v12.19 Dark ink: area under a line. */
  --overlay-band-dark: rgba(0,0,0,.10); /* v12.19 Dark ink: rep target band. */
  --overlay-halo-1: 0 0 1.5px rgba(255,255,255,.75); /* v12.19 Dark ink: soft light halo, tight. */
  --overlay-halo-2: 0 0 10px rgba(255,255,255,.45); /* v12.19 Dark ink: soft light halo, wide. */
}
