/* PRISM — generated from tokens.json */
:root, [data-theme="dark"] {
  --pr-surface-page: #0a0c10; /* Page background behind tiles and cards. Dark value is fixed by the preserved surfaces. */
  --pr-surface-card: #12151c; /* Cards, tiles, tables, the sidebar. Dark value fixed. */
  --pr-surface-nested: #1a1e28; /* Inputs, nested panels, the department chip, table header rows. Dark value fixed. */
  --pr-surface-elevated: #222836; /* Popovers, menus, toasts; pair with pr-shadow-elevated. Dark value fixed. */
  --pr-surface-hover: #2a303e; /* Hover and pressed background on rows, quiet buttons, menu items. Dark value fixed. */
  --pr-surface-inverse: #f8fafc; /* Tooltip ground; text on it is pr-text-on-inverse. */
  --pr-scrim: rgba(0,0,0,0.62); /* Backdrop behind dialogs, sheets and slide-in panels. */
  --pr-text-primary: #f8fafc; /* Values, titles, body text on every surface. Dark value fixed. */
  --pr-text-secondary: #94a3b8; /* Labels, secondary stats, table cells of lesser weight, on page, card, nested and elevated. Dark value fixed. */
  --pr-text-muted: #64748b; /* PRESERVED SURFACES ONLY (tile captions, axis text as today). Dark value is fixed and misses 4.5:1 on card (see Color roles: fixed misses). New components use pr-text-caption. */
  --pr-text-caption: #8b97aa; /* Small captions, help text, table headers in new components; 4.5:1 on page, card, nested and elevated in both themes. */
  --pr-text-disabled: #566176; /* Disabled labels only; exempt from contrast targets, never used for information. */
  --pr-text-on-brand: #ffffff; /* Label on pr-brand-fill and pr-danger-fill. */
  --pr-text-on-inverse: #0a0c10; /* Text on pr-surface-inverse (tooltips). */
  --pr-text-link: #8ab4ff; /* Links and quiet brand-colored actions on page, card, nested, elevated. Always underlined in running text. */
  --pr-border-subtle: rgba(255,255,255,0.06); /* Card and tile border, row dividers. Decorative; never the only boundary of a control. Dark fixed. */
  --pr-border-default: rgba(255,255,255,0.10); /* Tile border on hover, section dividers. Dark fixed. */
  --pr-border-strong: rgba(255,255,255,0.15); /* Popover and menu outline. Dark fixed. */
  --pr-border-control: #6f7b90; /* Boundary of inputs, checkboxes, toggles, secondary buttons: 3:1 on card and nested. */
  --pr-brand-fill: #2563eb; /* Primary button, checked checkbox and toggle, selected tab underline, progress. Label on it: pr-text-on-brand. */
  --pr-brand-fill-hover: #1f5ad6; /* Hover of pr-brand-fill. */
  --pr-brand-text: #8ab4ff; /* Brand-colored text and icons on page, card, nested, elevated: active nav item outside department pages, running status. */
  --pr-brand-tint: rgba(59,119,242,0.16); /* Selected row, active nav item ground, selected chip. */
  --pr-focus-ring: #bcd4ff; /* The 2px focus ring, always drawn with a 2px gap in the surface color so it never touches the component. */
  --pr-dept-ops-fill: #f59e0b; /* Operations: top rule, sparkline, chart line, icon. Dark fixed. */
  --pr-dept-ops-text: #fbbf24; /* Operations as text on card and on its own 10-15% tint. */
  --pr-dept-maint-fill: #8b5cf6; /* Maintenance: top rule, sparkline, chart line, icon. Dark fixed. */
  --pr-dept-maint-text: #a78bfa; /* Maintenance as text on card and on its own tint. */
  --pr-dept-mkt-fill: #06b6d4; /* Marketing/Support: top rule, sparkline, chart line, icon. Dark fixed. */
  --pr-dept-mkt-text: #22d3ee; /* Marketing/Support as text on card and on its own tint. */
  --pr-dept-hr-fill: #10b981; /* Human Resources: top rule, sparkline, chart line, icon. Dark fixed. */
  --pr-dept-hr-text: #34d399; /* Human Resources as text on card and on its own tint. */
  --pr-dept-none-fill: #64748b; /* Top rule and icon of a tile with no department. Neutral, never red. */
  --pr-dept-none-text: #94a3b8; /* Text for no-department accents. */
  --pr-dept-ops-comp-fill: #fde2b3; /* Operations companion: the second measure in a paired tile. Same hue, stepped further from the surface. Always with its cue: ring marker, 2px line with point markers. */
  --pr-dept-ops-comp-text: #fde2b3; /* Operations companion as text on card. */
  --pr-dept-maint-comp-fill: #d6c8fd; /* Maintenance companion fill. */
  --pr-dept-maint-comp-text: #d6c8fd; /* Maintenance companion as text on card. */
  --pr-dept-mkt-comp-fill: #b9ecf5; /* Marketing/Support companion fill. */
  --pr-dept-mkt-comp-text: #b9ecf5; /* Marketing/Support companion as text on card. */
  --pr-dept-hr-comp-fill: #b4ecd6; /* Human Resources companion fill. */
  --pr-dept-hr-comp-text: #b4ecd6; /* Human Resources companion as text on card. */
  --pr-dept-none-comp-fill: #cbd5e1; /* Companion for a paired tile with no department. */
  --pr-dept-none-comp-text: #cbd5e1; /* No-department companion as text on card. */
  --pr-split-tick: var(--pr-text-primary); /* Split bar: the prior-period tick core, 2px, drawn as two dashes. */
  --pr-split-tick-halo: var(--pr-surface-card); /* Split bar: 1.5px halo each side of the tick, so it holds 3:1 against a filled share and the hollow remainder alike. */
  --pr-delta-fav: #22c55e; /* Favorable change: pill text and solid arrow, on pr-delta-fav-tint. Dark fixed. */
  --pr-delta-fav-tint: rgba(34,197,94,0.10); /* Favorable pill ground; ribbon uses the chart tokens. */
  --pr-delta-unfav: #ef4444; /* Unfavorable change: pill text, hollow arrow and inset ring, on pr-delta-unfav-tint. Dark fixed; misses 4.5:1 by a hair on the tint (see fixed misses). */
  --pr-delta-unfav-tint: rgba(239,68,68,0.10); /* Unfavorable pill ground. */
  --pr-delta-neutral: #94a3b8; /* No change (0.0%): bar glyph and text, in pills and tables alike. */
  --pr-delta-neutral-tint: rgba(148,163,184,0.10); /* Neutral pill ground. */
  --pr-success-text: #4ade80; /* Success message text and icon on card or pr-success-tint. */
  --pr-success-fill: #22c55e; /* Success icon disc, progress complete. */
  --pr-success-tint: rgba(34,197,94,0.12); /* Success callout ground. */
  --pr-warning-text: #fbbf24; /* Warning text and triangle icon on card or pr-warning-tint; late/overdue status. */
  --pr-warning-fill: #f59e0b; /* Warning icon fill, restricted-tile border. */
  --pr-warning-tint: rgba(245,158,11,0.12); /* Warning callout and banner ground. */
  --pr-danger-text: #f87171; /* Error text and icon on card or pr-danger-tint; failed status; quiet destructive action. */
  --pr-danger-fill: #dc2626; /* Solid destructive button, error icon disc. Label on it: pr-text-on-brand. Never used for a data point. */
  --pr-danger-fill-hover: #c11f1f; /* Hover of pr-danger-fill. */
  --pr-danger-tint: rgba(239,68,68,0.12); /* Error callout ground, field-error ground. */
  --pr-info-text: #94a3b8; /* Info message icon and title. Info is neutral, not blue: blue is the brand, indigo is Calculated. */
  --pr-info-tint: rgba(148,163,184,0.12); /* Info callout ground. */
  --pr-status-quiet: var(--pr-text-caption); /* Healthy, current, active: a hollow dot and caption text. Healthy rows carry no color. */
  --pr-status-running: var(--pr-brand-text); /* Running, generating, queued, refreshing: arc glyph. */
  --pr-status-late: var(--pr-warning-text); /* Overdue, later than expected, partial, expiring soon, rate-limited: clock or triangle glyph. */
  --pr-status-failed: var(--pr-danger-text); /* Failed, stuck, rejected, revoked, expired: octagon glyph. */
  --pr-status-off: var(--pr-text-caption); /* Switched off, paused, disabled, never run, not configured: slashed or dashed circle. */
  --pr-type-source: #34d399; /* Source Metric badge text on pr-type-source-tint. Dark fixed. */
  --pr-type-source-tint: rgba(52,211,153,0.15); /* Source badge ground. */
  --pr-type-calc: #818cf8; /* Calculated Metric badge text; coming-soon chip. Dark fixed. */
  --pr-type-calc-tint: rgba(129,140,248,0.15); /* Calculated badge and coming-soon chip ground. */
  --pr-type-global: #fbbf24; /* Global Metric badge text. Dark fixed. */
  --pr-type-global-tint: rgba(251,191,36,0.15); /* Global badge ground. */
  --pr-chart-prior: #64748b; /* Prior-period series: 2px dashed line. Dark fixed. */
  --pr-chart-ribbon-fav: rgba(34,197,94,0.20); /* Ribbon where current beats prior: solid tint. */
  --pr-chart-ribbon-unfav: rgba(239,68,68,0.20); /* Ribbon where current trails prior: tint plus 45-degree hatch in pr-chart-ribbon-unfav-hatch. */
  --pr-chart-ribbon-unfav-hatch: rgba(239,68,68,0.55); /* Hatch lines over the unfavorable ribbon; the non-color cue. */
  --pr-chart-grid: rgba(255,255,255,0.06); /* Grid lines. */
  --pr-chart-axis: #8b97aa; /* Axis labels and legend text (new charts). Preserved charts keep pr-text-muted in dark. */
  --pr-chart-target: #e2e8f0; /* Target or budget line: 1.5px, dash 8 3 2 3, with an end flag. */
  --pr-chart-band: rgba(148,163,184,0.16); /* Expected-range band: neutral, no border. */
  --pr-chart-anomaly: #f8fafc; /* Anomaly marker: 10px hollow diamond, 2px stroke, surface-colored center. */
  --pr-chart-pin: #8ab4ff; /* Annotation pin: flag on the x axis with a 1px vertical guide. */
  --pr-chart-rest: #475569; /* Unselected series under the many-series rule; 1.5px. */
  --pr-chart-brush: rgba(59,119,242,0.18); /* Zoom and brush selection fill; edge in pr-brand-text. */
  --pr-chart-gap-fill: rgba(148,163,184,0.14); /* Paired chart: the space between the two current-period lines. Neutral, with a dot pattern in pr-chart-gap-dot. */
  --pr-chart-gap-dot: rgba(203,213,225,0.55); /* Dot pattern over the gap shading (1.5px dots on a 6px grid); the non-color cue. */
  --pr-chart-gap-line: #e2e8f0; /* Gap lane: the current gap as a 2px solid line; the prior gap uses pr-chart-prior, dashed. */
  --pr-chart-cat-1: #338ced; /* Categorical 1 (blue). */
  --pr-chart-cat-2: #e76624; /* Categorical 2 (orange). */
  --pr-chart-cat-3: #00a888; /* Categorical 3 (aqua). */
  --pr-chart-cat-4: #d28e05; /* Categorical 4 (yellow). */
  --pr-chart-cat-5: #e24d8b; /* Categorical 5 (magenta). */
  --pr-chart-cat-6: #0aac23; /* Categorical 6 (green). */
  --pr-chart-cat-7: #9887ef; /* Categorical 7 (violet). */
  --pr-chart-cat-8: #eb6263; /* Categorical 8 (red). Assign in order, never cycle; a ninth series is never a new hue. */
  --pr-seq-complete-4: #3f7fd6; /* Completeness 100%: full step. */
  --pr-seq-complete-3: #30609f; /* Completeness 75-99%. */
  --pr-seq-complete-2: #27466f; /* Completeness 25-74%. */
  --pr-seq-complete-1: #1e2f47; /* Completeness 1-24%. */
  --pr-seq-complete-0: #12151c; /* No data: surface-colored cell with a dashed pr-border-control outline and a center dot. */
  --pr-seq-demand-1: #182236; /* Demand grid step 1 (lowest). */
  --pr-seq-demand-2: #1f3559; /* Demand grid step 2. */
  --pr-seq-demand-3: #27498a; /* Demand grid step 3. */
  --pr-seq-demand-4: #2f63c4; /* Demand grid step 4. */
  --pr-seq-demand-5: #5f95f5; /* Demand grid step 5. */
  --pr-seq-demand-6: #a9c8ff; /* Demand grid step 6 (highest). */
  --pr-shadow-low: 0 1px 2px rgba(0,0,0,0.30); /* Level 0.5: buttons and chips that need a hint of lift. The old --shadow-sm. */
  --pr-shadow-raised: 0 4px 12px rgba(0,0,0,0.40); /* Level 1: tile hover lift, sticky save bar. */
  --pr-shadow-elevated: 0 12px 40px rgba(0,0,0,0.50); /* Level 2: popovers, menus, toasts. In dark the lighter pr-surface-elevated does most of the work; in light the shadow does. */
  --pr-shadow-overlay: 0 24px 48px rgba(0,0,0,0.60); /* Level 3: dialogs, sheets, slide-in panels. */
}
[data-theme="light"] {
  --pr-surface-page: #eef1f6;
  --pr-surface-card: #ffffff;
  --pr-surface-nested: #f3f5f9;
  --pr-surface-elevated: #ffffff;
  --pr-surface-hover: #e6eaf1;
  --pr-surface-inverse: #0f172a;
  --pr-scrim: rgba(15,23,42,0.42);
  --pr-text-primary: #0f172a;
  --pr-text-secondary: #475569;
  --pr-text-muted: #5d6b7e;
  --pr-text-caption: #5d6b7e;
  --pr-text-disabled: #94a0b2;
  --pr-text-on-brand: #ffffff;
  --pr-text-on-inverse: #f8fafc;
  --pr-text-link: #1d4ed8;
  --pr-border-subtle: rgba(15,23,42,0.08);
  --pr-border-default: rgba(15,23,42,0.13);
  --pr-border-strong: rgba(15,23,42,0.20);
  --pr-border-control: #78859a;
  --pr-brand-fill: #2563eb;
  --pr-brand-fill-hover: #1d55d3;
  --pr-brand-text: #1d4ed8;
  --pr-brand-tint: rgba(37,99,235,0.10);
  --pr-focus-ring: #1746c4;
  --pr-dept-ops-fill: #c2700a;
  --pr-dept-ops-text: #9a5300;
  --pr-dept-maint-fill: #7c3aed;
  --pr-dept-maint-text: #6d28d9;
  --pr-dept-mkt-fill: #0891b2;
  --pr-dept-mkt-text: #0b6b82;
  --pr-dept-hr-fill: #059669;
  --pr-dept-hr-text: #04694d;
  --pr-dept-none-fill: #64748b;
  --pr-dept-none-text: #475569;
  --pr-dept-ops-comp-fill: #6b3d05;
  --pr-dept-ops-comp-text: #6b3d05;
  --pr-dept-maint-comp-fill: #3b1a8a;
  --pr-dept-maint-comp-text: #3b1a8a;
  --pr-dept-mkt-comp-fill: #0a4a5c;
  --pr-dept-mkt-comp-text: #0a4a5c;
  --pr-dept-hr-comp-fill: #064a37;
  --pr-dept-hr-comp-text: #064a37;
  --pr-dept-none-comp-fill: #334155;
  --pr-dept-none-comp-text: #334155;
  --pr-split-tick: var(--pr-text-primary);
  --pr-split-tick-halo: var(--pr-surface-card);
  --pr-delta-fav: #166534;
  --pr-delta-fav-tint: rgba(22,163,74,0.12);
  --pr-delta-unfav: #b91c1c;
  --pr-delta-unfav-tint: rgba(220,38,38,0.09);
  --pr-delta-neutral: #475569;
  --pr-delta-neutral-tint: rgba(71,85,105,0.09);
  --pr-success-text: #166534;
  --pr-success-fill: #16a34a;
  --pr-success-tint: rgba(22,163,74,0.10);
  --pr-warning-text: #9a5300;
  --pr-warning-fill: #c2700a;
  --pr-warning-tint: rgba(217,119,6,0.10);
  --pr-danger-text: #b91c1c;
  --pr-danger-fill: #dc2626;
  --pr-danger-fill-hover: #c11f1f;
  --pr-danger-tint: rgba(220,38,38,0.08);
  --pr-info-text: #475569;
  --pr-info-tint: rgba(71,85,105,0.08);
  --pr-status-quiet: var(--pr-text-caption);
  --pr-status-running: var(--pr-brand-text);
  --pr-status-late: var(--pr-warning-text);
  --pr-status-failed: var(--pr-danger-text);
  --pr-status-off: var(--pr-text-caption);
  --pr-type-source: #04694d;
  --pr-type-source-tint: rgba(5,150,105,0.12);
  --pr-type-calc: #4338ca;
  --pr-type-calc-tint: rgba(79,70,229,0.10);
  --pr-type-global: #9a5300;
  --pr-type-global-tint: rgba(217,119,6,0.12);
  --pr-chart-prior: #64748b;
  --pr-chart-ribbon-fav: rgba(22,163,74,0.18);
  --pr-chart-ribbon-unfav: rgba(220,38,38,0.14);
  --pr-chart-ribbon-unfav-hatch: rgba(185,28,28,0.50);
  --pr-chart-grid: rgba(15,23,42,0.08);
  --pr-chart-axis: #5d6b7e;
  --pr-chart-target: #1e293b;
  --pr-chart-band: rgba(71,85,105,0.12);
  --pr-chart-anomaly: #0f172a;
  --pr-chart-pin: #1d4ed8;
  --pr-chart-rest: #aab4c3;
  --pr-chart-brush: rgba(37,99,235,0.12);
  --pr-chart-gap-fill: rgba(71,85,105,0.10);
  --pr-chart-gap-dot: rgba(51,65,85,0.45);
  --pr-chart-gap-line: #1e293b;
  --pr-chart-cat-1: #257de0;
  --pr-chart-cat-2: #d4530c;
  --pr-chart-cat-3: #008f72;
  --pr-chart-cat-4: #a67100;
  --pr-chart-cat-5: #d6468a;
  --pr-chart-cat-6: #008a17;
  --pr-chart-cat-7: #6a4ce2;
  --pr-chart-cat-8: #dc3a3b;
  --pr-seq-complete-4: #1f5fc0;
  --pr-seq-complete-3: #5a8fdc;
  --pr-seq-complete-2: #9dbdeb;
  --pr-seq-complete-1: #d5e2f6;
  --pr-seq-complete-0: #ffffff;
  --pr-seq-demand-1: #e6eefb;
  --pr-seq-demand-2: #bcd3f5;
  --pr-seq-demand-3: #8fb4ee;
  --pr-seq-demand-4: #5a8fdc;
  --pr-seq-demand-5: #2b6bd0;
  --pr-seq-demand-6: #163f8f;
  --pr-shadow-low: 0 1px 2px rgba(15,23,42,0.06);
  --pr-shadow-raised: 0 4px 12px rgba(15,23,42,0.10);
  --pr-shadow-elevated: 0 12px 40px rgba(15,23,42,0.16);
  --pr-shadow-overlay: 0 24px 48px rgba(15,23,42,0.22);
}
:root {
  --pr-space-2xs: 2px; /* Hairline gaps inside glyph pairs. */
  --pr-space-xs: 4px; /* Pill vertical padding; icon-to-text gap in pills. */
  --pr-space-sm: 8px; /* Pill horizontal padding; gaps inside controls. */
  --pr-space-md: 12px; /* Dense table cell padding; gaps in form rows. */
  --pr-space-lg: 16px; /* Standard cell padding, card padding on phones, page gutter on phones. */
  --pr-space-xl: 24px; /* Tile padding, grid gap, card padding on desktop. */
  --pr-space-2xl: 32px; /* Between page sections. */
  --pr-space-3xl: 48px; /* Page top margin on desktop, empty-state padding. */
  --pr-radius-xs: 4px; /* Department chip, checkbox, matrix cell. */
  --pr-radius-sm: 6px; /* Icon chip, buttons, inputs, badges. */
  --pr-radius-md: 10px; /* Popovers, menus, callouts, nested panels. */
  --pr-radius-lg: 16px; /* Tiles, cards, dialogs, sheets (top corners). */
  --pr-radius-pill: 20px; /* Delta pill, status chips, toggles. */
  --pr-z-content: 0; /* Page content. */
  --pr-z-sticky: 10; /* Sticky table headers and first columns, the save bar. */
  --pr-z-sidebar: 20; /* Sidebar and app header. */
  --pr-z-phone-nav: 30; /* Phone bottom tab bar and top bar. */
  --pr-z-popover: 40; /* Popovers, menus, tooltips (also in the top layer via the popover attribute). */
  --pr-z-panel: 50; /* Slide-in panels and bottom sheets. */
  --pr-z-dialog: 60; /* Dialogs. Native dialog also sits in the top layer, so nothing in the page can cover it. */
  --pr-z-toast: 70; /* Toasts. */
  --pr-z-banner: 80; /* Persistent banners (in page flow above the shell; the index only matters while sticky). */
  --pr-bp-phone: 768px; /* At and below: phone shell, tap on a tile opens the detail page. */
  --pr-bp-tablet: 1024px; /* Up to here: desktop shell with the sidebar collapsed to its 60px rail by default. */
  --pr-bp-desktop: 1280px; /* Minimum checked desktop width. */
  --pr-bp-wide: 1440px; /* Design width for desktop boards. */
  --pr-border-hairline: 1px; /* All borders and dividers. */
  --pr-border-focus: 2px; /* Focus ring width and its gap. */
  --pr-border-rule: 3px; /* Tile top rule. */
  --pr-border-accent-bar: 6px; /* Detail-page hero left accent bar. */
  --pr-sidebar-width: 260px; /* Expanded sidebar. */
  --pr-sidebar-rail: 60px; /* Collapsed sidebar rail. */
  --pr-header-height: 70px; /* App header. */
  --pr-tile-min-width: 281px; /* Minimum tile cell: grid repeat(auto-fit, minmax(281px, 1fr)). Fixed. */
  --pr-tile-gap: 24px; /* Gap between tiles. Fixed. */
  --pr-density-standard-row: 48px; /* Insight density: table row height. */
  --pr-density-standard-pad: 16px; /* Insight density: cell padding. */
  --pr-density-standard-control: 40px; /* Insight density: control height. */
  --pr-density-dense-row: 36px; /* Administration density: table row height (desktop only; phones always use 44px or more). */
  --pr-density-dense-pad: 12px; /* Administration density: cell padding. */
  --pr-density-dense-control: 32px; /* Administration density: control height. */
  --pr-touch-target: 44px; /* Minimum hit area at phone width. */
  --font-sans: "IBM Plex Sans", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  --text-pr-hero-value: 700 2.25rem/1.2 var(--font-sans); /* Detail-page current-period value. Tabular figures. */
  --text-pr-tile-value: 700 2rem/1.2 var(--font-sans); /* Collapsed tile value. Tabular figures. */
  --text-pr-hero-title: 700 1.75rem/1.2 var(--font-sans); /* Detail-page title (1.35rem on phones). Also the page title of new record pages. */
  --text-pr-stat: 700 1.5rem/1.2 var(--font-sans); /* Expanded-tile value, hero secondary stats. */
  --text-pr-stat-prior: 600 1.25rem/1.2 var(--font-sans); /* Prior-period value in the expanded tile. */
  --text-pr-pair-value: 700 1.5rem/1.2 var(--font-sans); /* Paired tile: each of the two values. Tabular figures. Same step as pr-stat. */
  --text-pr-pair-label: 500 0.75rem/1.2 var(--font-sans); /* Paired tile: the short label above each value, with its square or ring marker. pr-text-secondary. */
  --text-pr-change: 500 0.75rem/1.2 var(--font-sans); /* Secondary change figure under a paired value: 10px glyph plus signed text in pr-text-secondary. */
  --text-pr-tile-label: 500 0.85rem/1.4 var(--font-sans); /* Tile label. */
  --text-pr-pill: 600 0.75rem/1.2 var(--font-sans); /* Delta pill, badges, chips. */
  --text-pr-dept-chip: 600 0.65rem/1.2 var(--font-sans); /* PRESERVED ONLY: the uppercase department chip on dashboard tiles. Below the 12px floor; never used in a new component. */
  --text-pr-heading-lg: 600 1.25rem/1.3 var(--font-sans); /* Section and dialog titles. */
  --text-pr-heading-md: 600 1.125rem/1.35 var(--font-sans); /* Card titles, sheet titles. */
  --text-pr-body: 400 1rem/1.5 var(--font-sans); /* Body copy; every input on phones (16px stops iOS zoom). */
  --text-pr-body-sm: 400 0.85rem/1.45 var(--font-sans); /* Secondary copy, menu items, desktop inputs. */
  --text-pr-form-label: 500 0.85rem/1.4 var(--font-sans); /* Form labels, button labels. */
  --text-pr-help: 400 0.75rem/1.4 var(--font-sans); /* Help text, field errors, captions, the permission why-line. */
  --text-pr-table-cell: 400 0.85rem/1.3 var(--font-sans); /* Table cells at both densities. Numeric cells add tabular figures and right alignment. */
  --text-pr-table-header: 600 0.75rem/1.3 var(--font-sans); /* Table headers, sentence case, pr-text-caption. */
  --text-pr-mono-id: 400 0.85rem/1.4 var(--font-mono); /* Identifiers, keys, URLs, version stamp. */
  --text-pr-code: 400 0.85rem/1.6 var(--font-mono); /* SQL editor and code blocks. */
}
.pr-hero-value {
  font-family: var(--font-sans);
  font-size: 2.25rem;
  line-height: 1.2;
  font-weight: 700;
  letter-spacing: 0;
}
.pr-tile-value {
  font-family: var(--font-sans);
  font-size: 2rem;
  line-height: 1.2;
  font-weight: 700;
  letter-spacing: 0;
}
.pr-hero-title {
  font-family: var(--font-sans);
  font-size: 1.75rem;
  line-height: 1.2;
  font-weight: 700;
  letter-spacing: 0;
}
.pr-stat {
  font-family: var(--font-sans);
  font-size: 1.5rem;
  line-height: 1.2;
  font-weight: 700;
  letter-spacing: 0;
}
.pr-stat-prior {
  font-family: var(--font-sans);
  font-size: 1.25rem;
  line-height: 1.2;
  font-weight: 600;
  letter-spacing: 0;
}
.pr-pair-value {
  font-family: var(--font-sans);
  font-size: 1.5rem;
  line-height: 1.2;
  font-weight: 700;
  letter-spacing: 0;
}
.pr-pair-label {
  font-family: var(--font-sans);
  font-size: 0.75rem;
  line-height: 1.2;
  font-weight: 500;
  letter-spacing: 0;
}
.pr-change {
  font-family: var(--font-sans);
  font-size: 0.75rem;
  line-height: 1.2;
  font-weight: 500;
  letter-spacing: 0;
}
.pr-tile-label {
  font-family: var(--font-sans);
  font-size: 0.85rem;
  line-height: 1.4;
  font-weight: 500;
  letter-spacing: 0;
}
.pr-pill {
  font-family: var(--font-sans);
  font-size: 0.75rem;
  line-height: 1.2;
  font-weight: 600;
  letter-spacing: 0;
}
.pr-dept-chip {
  font-family: var(--font-sans);
  font-size: 0.65rem;
  line-height: 1.2;
  font-weight: 600;
  letter-spacing: 0.05em;
}
.pr-heading-lg {
  font-family: var(--font-sans);
  font-size: 1.25rem;
  line-height: 1.3;
  font-weight: 600;
  letter-spacing: 0;
}
.pr-heading-md {
  font-family: var(--font-sans);
  font-size: 1.125rem;
  line-height: 1.35;
  font-weight: 600;
  letter-spacing: 0;
}
.pr-body {
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.5;
  font-weight: 400;
  letter-spacing: 0;
}
.pr-body-sm {
  font-family: var(--font-sans);
  font-size: 0.85rem;
  line-height: 1.45;
  font-weight: 400;
  letter-spacing: 0;
}
.pr-form-label {
  font-family: var(--font-sans);
  font-size: 0.85rem;
  line-height: 1.4;
  font-weight: 500;
  letter-spacing: 0;
}
.pr-help {
  font-family: var(--font-sans);
  font-size: 0.75rem;
  line-height: 1.4;
  font-weight: 400;
  letter-spacing: 0;
}
.pr-table-cell {
  font-family: var(--font-sans);
  font-size: 0.85rem;
  line-height: 1.3;
  font-weight: 400;
  letter-spacing: 0;
}
.pr-table-header {
  font-family: var(--font-sans);
  font-size: 0.75rem;
  line-height: 1.3;
  font-weight: 600;
  letter-spacing: 0.02em;
}
.pr-mono-id {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  line-height: 1.4;
  font-weight: 400;
  letter-spacing: 0;
}
.pr-code {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  line-height: 1.6;
  font-weight: 400;
  letter-spacing: 0;
}
