/* ═══════════════════════════════════════════════════════════════════
   DESIGN TOKENS 1.5.0 — the agentic design system (Foundations)
   Generated by scripts/gen-tokens.py. Do not edit by hand: change the script.

   Tier 1  primitives  --o-color-<hue>-<step>     what a colour IS. Never use in a component.
   Tier 2  roles       --o-<role>, --o-<role>-foreground   what it is FOR. Set once per theme.
   Tier 3  components  --o-<component>-<part>-<property>   built from roles.
   Theme:   [data-theme="light|dark"] or .dark on any element; light is the base.
   Persona: [data-persona="nova|orbitron|flow|comply|asset"] on any element, independent of theme.
            These values are frozen CSS hooks, not names: brand.personaField maps each
            persona onto one (home: nova, persona A: comply, B: flow, C: asset; orbitron
            is the platform field).
   Old names keep working as deprecated aliases at the foot of this file.

   Format the design-system page relies on:
     /* @group <tier> <Name> | <what the group is for> *\/
     --o-name: value; /* description *\/
   ═══════════════════════════════════════════════════════════════════ */

:root {
  /* @group primitive Neutral | The warm neutral ramp. Every control is drawn from it. */
  --o-color-neutral-0: #FAF6F2; /* Paper, light */
  --o-color-neutral-50: #F4F1EC; /* Ink, dark */
  --o-color-neutral-100: #F1ECE6; /* Raise, light */
  --o-color-neutral-200: #E2DCD3; /* Hair, light */
  --o-color-neutral-300: #B3AEA6; /* Ink 2, dark */
  --o-color-neutral-400: #928D85; /* Ink 3, dark */
  --o-color-neutral-500: #6B6760; /* Ink 3, light */
  --o-color-neutral-700: #27272C; /* Hair, dark */
  --o-color-neutral-800: #1B1B1F; /* Sunk, dark */
  --o-color-neutral-850: #141417; /* Raise, dark */
  --o-color-neutral-900: #0B0B0D; /* Ink */
  --o-color-neutral-950: #0B0B0D; /* Paper, dark */

  /* @group primitive Status hues | Allowed only for status, never decoration. */
  --o-color-red-500: #E2373F; /* Failure, urgent */
  --o-color-green-500: #22c55e; /* Success */
  --o-color-amber-500: #f59e0b; /* Pending */
  --o-color-green-700: #15803D; /* Success fill, light */
  --o-color-orange-700: #B34700; /* Pending text, light */
  --o-color-orange-400: #FB923C; /* Pending text, dark */
  --o-color-red-700: #C62A31; /* Failure fill, light */
  --o-color-red-800: #991B1B; /* Failure text, light */
  --o-color-green-800: #166534; /* Success text, light */
  --o-color-orange-800: #9A3412; /* Pending text, light */
  --o-color-white: #FFFFFF; /* Light panels */
  --o-color-red-400: #FF646B; /* Failure text, dark */

  /* @group primitive Persona | One family each: identity, alt and deep. */
  --o-color-rose: #EC3F7A; /* Platform field */
  --o-color-crimson: #E2373F; /* Platform field alt */
  --o-color-wine: #330B1C; /* Platform field deep */
  --o-color-pale-lime: #BDEB8A; /* Persona B field alt */
  --o-color-lime: #8EDB4F; /* Persona B field */
  --o-color-forest: #0E2A14; /* Persona B field deep */
  --o-color-cyan: #22C3D9; /* Persona A field (second product) */
  --o-color-deep-cyan: #0A8FA6; /* Persona A field alt */
  --o-color-petrol: #04262E; /* Persona A field deep */
  --o-color-periwinkle: #7D92FF; /* Persona C field alt */
  --o-color-cobalt: #3354FF; /* Persona C field */
  --o-color-navy: #0B1452; /* Persona C field deep */
  --o-color-slate: #8B98AC; /* Home persona field */
  --o-color-ice: #E4ECFF; /* Light end of every field */
  --o-color-space-slate: #2A2F38; /* Home persona field deep */

  /* @group primitive Type | Alexandria for words, Doto for large numbers. */
  --o-font-sans: "Alexandria", system-ui, sans-serif; /* Product face */
  --o-font-mono: ui-monospace, "SF Mono", Menlo, monospace; /* Code, tool calls */
  --o-font-num: "Doto", ui-monospace, monospace; /* Large figures only, ROND 100, weight 800 */
  --o-font-size-xs: 11.5px; /* Caps captions */
  --o-font-size-sm: 13px; /* Secondary */
  --o-font-size-md: 14px; /* Body */
  --o-font-size-lg: 15px; /* Card titles */
  --o-font-size-xl: 17px; /* Panel titles */
  --o-font-size-2xl: 22px; /* Product name */
  --o-font-size-display: 52px; /* Hero */
  --o-font-weight-display: 200; /* Display */
  --o-font-weight-light: 300; /* Headings, body */
  --o-font-weight-regular: 400; /* Interface */
  --o-font-weight-medium: 500; /* Labels, caps */
  --o-font-weight-semibold: 500; /* Deprecated: use medium */
  --o-font-weight-bold: 500; /* Deprecated: use medium */
  --o-line-height-tight: 1.15; /* Headlines */
  --o-line-height-body: 1.5; /* Running text */
  --o-letter-spacing-caps: .14em; /* Uppercase captions */
  --o-letter-spacing-display: -.04em; /* Large headlines */

  /* @group primitive Radius | Grows with the object. */
  --o-radius-xs: 6px; /* Kbd */
  --o-radius-sm: 10px; /* Rows, inputs */
  --o-radius-md: 12px; /* Cards, buttons */
  --o-radius-lg: 14px; /* Menus, nodes */
  --o-radius-xl: 16px; /* Panels */
  --o-radius-pill: 999px; /* Chips, tabs, pills */

  /* @group primitive Space | 4px base. Lay out with gap, not margins. */
  --o-space-0: 0px; /* None */
  --o-space-1: 4px; /* Icon to label */
  --o-space-2: 8px; /* Inside chips */
  --o-space-3: 12px; /* Between cards */
  --o-space-4: 16px; /* Card padding */
  --o-space-5: 20px; /* Group gap */
  --o-space-6: 24px; /* Panel padding */
  --o-space-8: 32px; /* Section gap */
  --o-space-12: 48px; /* Page block */

  /* @group primitive Motion | One strong ease-out carries almost everything. */
  --o-duration-press: .14s; /* Press feedback */
  --o-duration-fast: .16s; /* Hover colour, menus */
  --o-duration-base: .22s; /* Cards entering */
  --o-duration-slow: .34s; /* Panels, brand swap */
  --o-ease-out: cubic-bezier(.23, 1, .32, 1); /* Enter, press, menus */
  --o-ease-out-soft: cubic-bezier(.22, 1, .36, 1); /* Rail, layout */
  --o-ease-in-out: cubic-bezier(.77, 0, .175, 1); /* On-screen movement */
  --o-stagger: 35ms; /* Between siblings entering */
  --o-press-scale: .97; /* Buttons, chips */
  --o-press-scale-card: .985; /* Cards, rows */

  /* @group primitive Layers | Semantic z-index, never arbitrary numbers. */
  --o-blur-glass: 16px; /* Glass panels */
  --o-z-base: 0; /* Page */
  --o-z-sticky: 10; /* Sticky headers, fixed tabs */
  --o-z-menu: 30; /* Dropdowns, pickers */
  --o-z-overlay: 50; /* Scrims, palettes, dialogs */
  --o-z-toast: 60; /* Toasts */

}

/* @group semantic Roles | Light is the base. Dark is set once, below. */
:where(:root, [data-theme="light"]) {
  --o-background: #FAF6F2;
  --o-foreground: #0B0B0D;
  --o-card: #F1ECE6;
  --o-card-foreground: #0B0B0D;
  --o-popover: #F1ECE6;
  --o-popover-foreground: #0B0B0D;
  --o-primary: #0B0B0D;
  --o-primary-foreground: #FAF6F2;
  --o-secondary: #F1ECE6;
  --o-secondary-foreground: #0B0B0D;
  --o-muted: #F1ECE6;
  --o-muted-foreground: #6B6760;
  --o-accent: #F1ECE6;
  --o-accent-foreground: #0B0B0D;
  --o-border: #E2DCD3;
  --o-input: #E2DCD3;
  --o-ring: #928D85;
  --o-chart-1: #0B0B0D;
  --o-chart-2: #4F4C47;
  --o-chart-3: #6B6760;
  --o-chart-4: #928D85;
  --o-chart-5: #B3AEA6;
  --o-sidebar: #F1ECE6;
  --o-sidebar-foreground: #0B0B0D;
  --o-sidebar-primary: #0B0B0D;
  --o-sidebar-primary-foreground: #FAF6F2;
  --o-sidebar-accent: #F1ECE6;
  --o-sidebar-accent-foreground: #0B0B0D;
  --o-sidebar-border: #E2DCD3;
  --o-sidebar-ring: #928D85;
  --o-border-strong: #B3AEA6;
  --o-fill-hover: #0B0B0D0b;
  --o-fill-subtle: #0B0B0D08;
  --o-fill-selected: #0B0B0D14;
  --o-overlay: #0B0B0D73;
  --o-focus-ring: 0 0 0 3px #0B0B0D1f;
  --o-shadow-sm: 0 1px 2px #0B0B0D0d;
  --o-shadow-md: 0 6px 24px -12px #0B0B0D2e;
  --o-shadow-lg: 0 20px 60px -26px #0B0B0D4d;
  --o-success: #15803D;
  --o-success-foreground: #FAF6F2;
  --o-success-text: #166534;
  --o-success-dot: #15803D;
  --o-warning: #B34700;
  --o-warning-foreground: #FAF6F2;
  --o-warning-text: #9A3412;
  --o-warning-dot: #B34700;
  --o-destructive: #C62A31;
  --o-destructive-foreground: #FAF6F2;
  --o-destructive-text: #991B1B;
  --o-destructive-dot: #C62A31;
  --o-info: #6B6760;
  --o-info-foreground: #FAF6F2;
  --o-info-text: var(--o-info);
  --o-info-dot: var(--o-info);
  --o-success-5: color-mix(in srgb, var(--o-success) 5%, transparent);
  --o-success-10: color-mix(in srgb, var(--o-success) 10%, transparent);
  --o-success-20: color-mix(in srgb, var(--o-success) 20%, transparent);
  --o-success-30: color-mix(in srgb, var(--o-success) 30%, transparent);
  --o-success-40: color-mix(in srgb, var(--o-success) 40%, transparent);
  --o-success-50: color-mix(in srgb, var(--o-success) 50%, transparent);
  --o-success-60: color-mix(in srgb, var(--o-success) 60%, transparent);
  --o-warning-5: color-mix(in srgb, var(--o-warning) 5%, transparent);
  --o-warning-10: color-mix(in srgb, var(--o-warning) 10%, transparent);
  --o-warning-20: color-mix(in srgb, var(--o-warning) 20%, transparent);
  --o-warning-30: color-mix(in srgb, var(--o-warning) 30%, transparent);
  --o-warning-40: color-mix(in srgb, var(--o-warning) 40%, transparent);
  --o-warning-50: color-mix(in srgb, var(--o-warning) 50%, transparent);
  --o-warning-60: color-mix(in srgb, var(--o-warning) 60%, transparent);
  --o-destructive-5: color-mix(in srgb, var(--o-destructive) 5%, transparent);
  --o-destructive-10: color-mix(in srgb, var(--o-destructive) 10%, transparent);
  --o-destructive-20: color-mix(in srgb, var(--o-destructive) 20%, transparent);
  --o-destructive-30: color-mix(in srgb, var(--o-destructive) 30%, transparent);
  --o-destructive-40: color-mix(in srgb, var(--o-destructive) 40%, transparent);
  --o-destructive-50: color-mix(in srgb, var(--o-destructive) 50%, transparent);
  --o-destructive-60: color-mix(in srgb, var(--o-destructive) 60%, transparent);
  --o-info-5: color-mix(in srgb, var(--o-info) 5%, transparent);
  --o-info-10: color-mix(in srgb, var(--o-info) 10%, transparent);
  --o-info-20: color-mix(in srgb, var(--o-info) 20%, transparent);
  --o-info-30: color-mix(in srgb, var(--o-info) 30%, transparent);
  --o-info-40: color-mix(in srgb, var(--o-info) 40%, transparent);
  --o-info-50: color-mix(in srgb, var(--o-info) 50%, transparent);
  --o-info-60: color-mix(in srgb, var(--o-info) 60%, transparent);
  --o-foreground-5: color-mix(in srgb, var(--o-foreground) 5%, transparent);
  --o-foreground-10: color-mix(in srgb, var(--o-foreground) 10%, transparent);
  --o-foreground-20: color-mix(in srgb, var(--o-foreground) 20%, transparent);
  --o-foreground-30: color-mix(in srgb, var(--o-foreground) 30%, transparent);
  --o-foreground-40: color-mix(in srgb, var(--o-foreground) 40%, transparent);
  --o-foreground-50: color-mix(in srgb, var(--o-foreground) 50%, transparent);
  --o-foreground-60: color-mix(in srgb, var(--o-foreground) 60%, transparent);
}

:where([data-theme="dark"], .dark:not([data-theme="light"])) {
  --o-background: #0B0B0D;
  --o-foreground: #F4F1EC;
  --o-card: #141417;
  --o-card-foreground: #F4F1EC;
  --o-popover: #141417;
  --o-popover-foreground: #F4F1EC;
  --o-primary: #F4F1EC;
  --o-primary-foreground: #0B0B0D;
  --o-secondary: #1B1B1F;
  --o-secondary-foreground: #F4F1EC;
  --o-muted: #1B1B1F;
  --o-muted-foreground: #928D85;
  --o-accent: #1B1B1F;
  --o-accent-foreground: #F4F1EC;
  --o-border: #27272C;
  --o-input: #27272C;
  --o-ring: #6B6760;
  --o-chart-1: #F4F1EC;
  --o-chart-2: #B3AEA6;
  --o-chart-3: #928D85;
  --o-chart-4: #6B6760;
  --o-chart-5: #4F4C47;
  --o-sidebar: #141417;
  --o-sidebar-foreground: #F4F1EC;
  --o-sidebar-primary: #F4F1EC;
  --o-sidebar-primary-foreground: #0B0B0D;
  --o-sidebar-accent: #1B1B1F;
  --o-sidebar-accent-foreground: #F4F1EC;
  --o-sidebar-border: #27272C;
  --o-sidebar-ring: #6B6760;
  --o-border-strong: #3a3a3a;
  --o-fill-hover: #F4F1EC12;
  --o-fill-subtle: #F4F1EC0a;
  --o-fill-selected: #F4F1EC1a;
  --o-overlay: #0009;
  --o-focus-ring: 0 0 0 3px #F4F1EC1f;
  --o-shadow-sm: 0 1px 2px #0006;
  --o-shadow-md: 0 6px 24px -12px #0009;
  --o-shadow-lg: 0 20px 60px -26px #000000b3;
  --o-success: #15803D;
  --o-success-foreground: #FAF6F2;
  --o-success-text: #22C55E;
  --o-success-dot: #22C55E;
  --o-warning: #B34700;
  --o-warning-foreground: #FAF6F2;
  --o-warning-text: #FB923C;
  --o-warning-dot: #F59E0B;
  --o-destructive: #C62A31;
  --o-destructive-foreground: #FAF6F2;
  --o-destructive-text: #FF646B;
  --o-destructive-dot: #E2373F;
  --o-info: #928D85;
  --o-info-foreground: #0B0B0D;
  --o-info-text: var(--o-info);
  --o-info-dot: var(--o-info);
  --o-success-5: color-mix(in srgb, var(--o-success) 5%, transparent);
  --o-success-10: color-mix(in srgb, var(--o-success) 10%, transparent);
  --o-success-20: color-mix(in srgb, var(--o-success) 20%, transparent);
  --o-success-30: color-mix(in srgb, var(--o-success) 30%, transparent);
  --o-success-40: color-mix(in srgb, var(--o-success) 40%, transparent);
  --o-success-50: color-mix(in srgb, var(--o-success) 50%, transparent);
  --o-success-60: color-mix(in srgb, var(--o-success) 60%, transparent);
  --o-warning-5: color-mix(in srgb, var(--o-warning) 5%, transparent);
  --o-warning-10: color-mix(in srgb, var(--o-warning) 10%, transparent);
  --o-warning-20: color-mix(in srgb, var(--o-warning) 20%, transparent);
  --o-warning-30: color-mix(in srgb, var(--o-warning) 30%, transparent);
  --o-warning-40: color-mix(in srgb, var(--o-warning) 40%, transparent);
  --o-warning-50: color-mix(in srgb, var(--o-warning) 50%, transparent);
  --o-warning-60: color-mix(in srgb, var(--o-warning) 60%, transparent);
  --o-destructive-5: color-mix(in srgb, var(--o-destructive) 5%, transparent);
  --o-destructive-10: color-mix(in srgb, var(--o-destructive) 10%, transparent);
  --o-destructive-20: color-mix(in srgb, var(--o-destructive) 20%, transparent);
  --o-destructive-30: color-mix(in srgb, var(--o-destructive) 30%, transparent);
  --o-destructive-40: color-mix(in srgb, var(--o-destructive) 40%, transparent);
  --o-destructive-50: color-mix(in srgb, var(--o-destructive) 50%, transparent);
  --o-destructive-60: color-mix(in srgb, var(--o-destructive) 60%, transparent);
  --o-info-5: color-mix(in srgb, var(--o-info) 5%, transparent);
  --o-info-10: color-mix(in srgb, var(--o-info) 10%, transparent);
  --o-info-20: color-mix(in srgb, var(--o-info) 20%, transparent);
  --o-info-30: color-mix(in srgb, var(--o-info) 30%, transparent);
  --o-info-40: color-mix(in srgb, var(--o-info) 40%, transparent);
  --o-info-50: color-mix(in srgb, var(--o-info) 50%, transparent);
  --o-info-60: color-mix(in srgb, var(--o-info) 60%, transparent);
  --o-foreground-5: color-mix(in srgb, var(--o-foreground) 5%, transparent);
  --o-foreground-10: color-mix(in srgb, var(--o-foreground) 10%, transparent);
  --o-foreground-20: color-mix(in srgb, var(--o-foreground) 20%, transparent);
  --o-foreground-30: color-mix(in srgb, var(--o-foreground) 30%, transparent);
  --o-foreground-40: color-mix(in srgb, var(--o-foreground) 40%, transparent);
  --o-foreground-50: color-mix(in srgb, var(--o-foreground) 50%, transparent);
  --o-foreground-60: color-mix(in srgb, var(--o-foreground) 60%, transparent);
}

/* @group primitive Brand colours | The names the brand guidelines use. Same values as the primitives above. */
:root {
  --space: #07080D; /* Dark ground */
  --ink: #0B0B0D; /* Type and logos */
  --graphite: #2A2F38; /* Dark panels */
  --steel: #8B98AC; /* Quiet accents, lines */
  --limestone: #FAF6F2; /* Light ground */
  --white: #FFFFFF; /* Light panels */
  --ice: #E4ECFF; /* Light end of every field */
  --orbitron: #EC3F7A; /* Platform field (frozen name) */
  --crimson: #E2373F; /* Platform field alt */
  --wine: #330B1C; /* Platform field deep */
  --pale-lime: #BDEB8A; /* Persona B field alt */
  --flow: #8EDB4F; /* Persona B field (frozen name) */
  --forest: #0E2A14; /* Persona B field deep */
  --comply: #22C3D9; /* Persona A field, the second product (frozen name) */
  --deep-cyan: #0A8FA6; /* Persona A field alt */
  --petrol: #04262E; /* Persona A field deep */
  --periwinkle: #7D92FF; /* Persona C field alt */
  --asset: #3354FF; /* Persona C field (frozen name) */
  --navy: #0B1452; /* Persona C field deep */
}
/* Surfaces, lines and text: light is the base, dark follows the theme. Use the token, never a literal. */
:where(:root, [data-theme="light"]) { --paper: #FAF6F2; --raise: #F1ECE6; --sunk: #E8E2DA; --hair: #E2DCD3; --ink-2: #4F4C47; --ink-3: #6B6760; }
:where([data-theme="dark"], .dark:not([data-theme="light"])) { --paper: #0B0B0D; --raise: #141417; --sunk: #1B1B1F; --hair: #27272C; --ink-2: #B3AEA6; --ink-3: #928D85; }

/* @group semantic Persona | Independent of theme. Background field or small accent, never text. */
:where(:root) {
  --o-persona: var(--o-color-slate);
  --o-persona-alt: var(--o-color-ice);
  --o-persona-deep: var(--o-color-space-slate);
  --o-persona-foreground: var(--o-color-neutral-900);
  --o-persona-foreground-muted: #2B2E35;
  --o-persona-alt-foreground: var(--o-color-neutral-900);
  --o-persona-deep-foreground: var(--o-color-neutral-0);
  --o-persona-5: color-mix(in srgb, var(--o-persona) 5%, transparent);
  --o-persona-10: color-mix(in srgb, var(--o-persona) 10%, transparent);
  --o-persona-20: color-mix(in srgb, var(--o-persona) 20%, transparent);
  --o-persona-30: color-mix(in srgb, var(--o-persona) 30%, transparent);
  --o-persona-40: color-mix(in srgb, var(--o-persona) 40%, transparent);
  --o-persona-50: color-mix(in srgb, var(--o-persona) 50%, transparent);
  --o-persona-60: color-mix(in srgb, var(--o-persona) 60%, transparent);
}
:where([data-persona="nova"]) {
  --o-persona: var(--o-color-slate);
  --o-persona-alt: var(--o-color-ice);
  --o-persona-deep: var(--o-color-space-slate);
  --o-persona-foreground: var(--o-color-neutral-900);
  --o-persona-foreground-muted: #2B2E35;
  --o-persona-alt-foreground: var(--o-color-neutral-900);
  --o-persona-deep-foreground: var(--o-color-neutral-0);
  --o-persona-5: color-mix(in srgb, var(--o-persona) 5%, transparent);
  --o-persona-10: color-mix(in srgb, var(--o-persona) 10%, transparent);
  --o-persona-20: color-mix(in srgb, var(--o-persona) 20%, transparent);
  --o-persona-30: color-mix(in srgb, var(--o-persona) 30%, transparent);
  --o-persona-40: color-mix(in srgb, var(--o-persona) 40%, transparent);
  --o-persona-50: color-mix(in srgb, var(--o-persona) 50%, transparent);
  --o-persona-60: color-mix(in srgb, var(--o-persona) 60%, transparent);
}
:where([data-persona="orbitron"]) {
  --o-persona: var(--o-color-rose);
  --o-persona-alt: var(--o-color-crimson);
  --o-persona-deep: var(--o-color-wine);
  --o-persona-foreground: var(--o-color-neutral-900);
  --o-persona-foreground-muted: #2D131D;
  --o-persona-alt-foreground: var(--o-color-neutral-900);
  --o-persona-deep-foreground: var(--o-color-neutral-0);
  --o-persona-5: color-mix(in srgb, var(--o-persona) 5%, transparent);
  --o-persona-10: color-mix(in srgb, var(--o-persona) 10%, transparent);
  --o-persona-20: color-mix(in srgb, var(--o-persona) 20%, transparent);
  --o-persona-30: color-mix(in srgb, var(--o-persona) 30%, transparent);
  --o-persona-40: color-mix(in srgb, var(--o-persona) 40%, transparent);
  --o-persona-50: color-mix(in srgb, var(--o-persona) 50%, transparent);
  --o-persona-60: color-mix(in srgb, var(--o-persona) 60%, transparent);
}
:where([data-persona="flow"]) {
  --o-persona: var(--o-color-lime);
  --o-persona-alt: var(--o-color-pale-lime);
  --o-persona-deep: var(--o-color-forest);
  --o-persona-foreground: var(--o-color-neutral-900);
  --o-persona-foreground-muted: #395424;
  --o-persona-alt-foreground: var(--o-color-neutral-900);
  --o-persona-deep-foreground: var(--o-color-neutral-0);
  --o-persona-5: color-mix(in srgb, var(--o-persona) 5%, transparent);
  --o-persona-10: color-mix(in srgb, var(--o-persona) 10%, transparent);
  --o-persona-20: color-mix(in srgb, var(--o-persona) 20%, transparent);
  --o-persona-30: color-mix(in srgb, var(--o-persona) 30%, transparent);
  --o-persona-40: color-mix(in srgb, var(--o-persona) 40%, transparent);
  --o-persona-50: color-mix(in srgb, var(--o-persona) 50%, transparent);
  --o-persona-60: color-mix(in srgb, var(--o-persona) 60%, transparent);
}
:where([data-persona="comply"]) {
  --o-persona: var(--o-color-cyan);
  --o-persona-alt: var(--o-color-deep-cyan);
  --o-persona-deep: var(--o-color-petrol);
  --o-persona-foreground: var(--o-color-neutral-900);
  --o-persona-foreground-muted: #134B54;
  --o-persona-alt-foreground: var(--o-color-neutral-900);
  --o-persona-deep-foreground: var(--o-color-neutral-0);
  --o-persona-5: color-mix(in srgb, var(--o-persona) 5%, transparent);
  --o-persona-10: color-mix(in srgb, var(--o-persona) 10%, transparent);
  --o-persona-20: color-mix(in srgb, var(--o-persona) 20%, transparent);
  --o-persona-30: color-mix(in srgb, var(--o-persona) 30%, transparent);
  --o-persona-40: color-mix(in srgb, var(--o-persona) 40%, transparent);
  --o-persona-50: color-mix(in srgb, var(--o-persona) 50%, transparent);
  --o-persona-60: color-mix(in srgb, var(--o-persona) 60%, transparent);
}
:where([data-persona="asset"]) {
  --o-persona: var(--o-color-cobalt);
  --o-persona-alt: var(--o-color-periwinkle);
  --o-persona-deep: var(--o-color-navy);
  --o-persona-foreground: var(--o-color-neutral-0);
  --o-persona-foreground-muted: #F0EEF3;
  --o-persona-alt-foreground: var(--o-color-neutral-900);
  --o-persona-deep-foreground: var(--o-color-neutral-0);
  --o-persona-5: color-mix(in srgb, var(--o-persona) 5%, transparent);
  --o-persona-10: color-mix(in srgb, var(--o-persona) 10%, transparent);
  --o-persona-20: color-mix(in srgb, var(--o-persona) 20%, transparent);
  --o-persona-30: color-mix(in srgb, var(--o-persona) 30%, transparent);
  --o-persona-40: color-mix(in srgb, var(--o-persona) 40%, transparent);
  --o-persona-50: color-mix(in srgb, var(--o-persona) 50%, transparent);
  --o-persona-60: color-mix(in srgb, var(--o-persona) 60%, transparent);
}

/* @group semantic Status | Hue only for outcomes. Fill for dots and badges, -text for words, -10 for the tint. */
:root {
  --o-dot-size: 7px; /* Dot diameter */
  --o-dot-live: var(--o-success); /* Live */
}

/* @group component Button | Button, pn-btn */
:root {
  --o-button-height: 36px; /* Default height */
  --o-button-radius: var(--o-radius-md); /* Corner */
  --o-button-padding-x: var(--o-space-4); /* Side padding */
  --o-button-font: var(--o-font-weight-semibold) var(--o-font-size-sm) / 1 var(--o-font-sans); /* Label */
  --o-button-primary-bg: var(--o-primary); /* Primary fill */
  --o-button-primary-fg: var(--o-primary-foreground); /* Primary label */
  --o-button-ghost-bg: var(--o-fill-hover); /* Ghost fill */
  --o-button-ghost-fg: var(--o-foreground); /* Ghost label */

  /* @group component Chip | Quick-start chips, filter chips */
  --o-chip-height: 34px; /* Height */
  --o-chip-radius: var(--o-radius-pill); /* Corner */
  --o-chip-bg: var(--o-card); /* Resting fill */
  --o-chip-border: var(--o-border); /* Resting border */
  --o-chip-selected-bg: var(--o-foreground); /* Selected fill (inverted) */
  --o-chip-selected-fg: var(--o-background); /* Selected label */

  /* @group component Tag | Persona tag, badge */
  --o-tag-height: 22px; /* Height */
  --o-tag-radius: var(--o-radius-pill); /* Corner */
  --o-tag-bg: var(--o-fill-hover); /* Fill */
  --o-tag-fg: var(--o-foreground); /* Label */
  --o-tag-font-size: var(--o-font-size-xs); /* Label size */

  /* @group component Tabs | Segmented tabs (Work / Conversations) */
  --o-tabs-bg: var(--o-card); /* Track */
  --o-tabs-border: var(--o-border); /* Track border */
  --o-tabs-height: 38px; /* Tab height */
  --o-tabs-active-bg: var(--o-foreground); /* Active tab fill */
  --o-tabs-active-fg: var(--o-background); /* Active tab label */
  --o-tabs-tracking: var(--o-letter-spacing-caps); /* Caps tracking */

  /* @group component Input | Inputs, textarea, composer */
  --o-input-height: 38px; /* Single line height */
  --o-input-radius: var(--o-radius-sm); /* Corner */
  --o-input-bg: transparent; /* Fill */
  --o-input-border: var(--o-border); /* Border */
  --o-input-border-focus: var(--o-border-strong); /* Border on focus */
  --o-input-placeholder: var(--o-muted-foreground); /* Placeholder */
  --o-composer-radius: var(--o-radius-xl); /* Composer corner */

  /* @group component Card | Cards, recommendation steps, KPI tiles */
  --o-card-bg: var(--o-card); /* Fill */
  --o-card-border: var(--o-border); /* Border */
  --o-card-radius: var(--o-radius-md); /* Corner */
  --o-card-padding: var(--o-space-4); /* Padding */
  --o-card-hover-border: var(--o-border-strong); /* Hover border */

  /* @group component Menu | Dropdowns, pickers, switchers, palette */
  --o-menu-bg: var(--o-popover); /* Fill */
  --o-menu-border: var(--o-border); /* Border */
  --o-menu-radius: var(--o-radius-lg); /* Corner */
  --o-menu-shadow: var(--o-shadow-lg); /* Shadow */
  --o-menu-item-height: 38px; /* Row height */
  --o-menu-item-selected: var(--o-fill-hover); /* Selected row */

  /* @group component Panel | Side panels, run panel, boards */
  --o-panel-bg: var(--o-card); /* Fill */
  --o-panel-radius: var(--o-radius-xl); /* Corner */
  --o-panel-padding: var(--o-space-6); /* Padding */

  /* @group component Kbd | Keyboard hint */
  --o-kbd-radius: var(--o-radius-xs); /* Kbd corner */
}


/* ═══ Deprecated aliases: every name the app used before. Removed in 2.0.0. ═══
   Declared on :root and both theme attributes so they out-rank the older sheets. */
:root,
:root[data-theme='light'],
:root[data-theme='dark'] {
  --ds-background: var(--o-background);
  --ds-foreground: var(--o-foreground);
  --ds-card: var(--o-card);
  --ds-card-foreground: var(--o-card-foreground);
  --ds-popover: var(--o-popover);
  --ds-popover-foreground: var(--o-popover-foreground);
  --ds-primary: var(--o-primary);
  --ds-primary-foreground: var(--o-primary-foreground);
  --ds-secondary: var(--o-secondary);
  --ds-secondary-foreground: var(--o-secondary-foreground);
  --ds-muted: var(--o-muted);
  --ds-muted-foreground: var(--o-muted-foreground);
  --ds-accent: var(--o-accent);
  --ds-accent-foreground: var(--o-accent-foreground);
  --ds-destructive: var(--o-destructive);
  --ds-border: var(--o-border);
  --ds-input: var(--o-input);
  --ds-ring: var(--o-ring);
  --ds-sidebar: var(--o-sidebar);
  --ds-sidebar-foreground: var(--o-sidebar-foreground);
  --ds-sidebar-border: var(--o-sidebar-border);
  --o-bg: var(--o-background);
  --o-surface: var(--o-card);
  --o-surface-sunken: var(--o-muted);
  --o-surface-raised: var(--o-popover);
  --o-text: var(--o-foreground);
  --o-text-muted: var(--o-muted-foreground);
  --o-text-on-action: var(--o-primary-foreground);
  --o-action-primary-bg: var(--o-primary);
  --o-action-primary-fg: var(--o-primary-foreground);
  --o-action-secondary-bg: var(--o-fill-hover);
  --o-action-secondary-fg: var(--o-foreground);
  --o-status-live: var(--o-success);
  --o-status-attention: var(--o-foreground);
  --ds-hover: var(--o-fill-hover);
  --ds-success: var(--o-success-text);
  --ds-warning: var(--o-warning-text);
  --ds-info: var(--o-info-text);
  --o-status-danger: var(--o-destructive-text);
  --o-red-500: var(--o-color-red-500);
  --o-red-600: var(--o-color-red-500);
  --o-green-500: var(--o-color-green-500);
  --o-amber-500: var(--o-color-amber-500);
  --o-neutral-0: var(--o-color-neutral-0);
  --o-neutral-50: var(--o-color-neutral-50);
  --o-neutral-100: var(--o-color-neutral-100);
  --o-neutral-200: var(--o-color-neutral-200);
  --o-neutral-300: var(--o-color-neutral-300);
  --o-neutral-400: var(--o-color-neutral-400);
  --o-neutral-500: var(--o-color-neutral-500);
  --o-neutral-700: var(--o-color-neutral-700);
  --o-neutral-800: var(--o-color-neutral-800);
  --o-neutral-850: var(--o-color-neutral-850);
  --o-neutral-900: var(--o-color-neutral-900);
  --o-neutral-950: var(--o-color-neutral-950);
  --o-text-xs: var(--o-font-size-xs);
  --o-text-sm: var(--o-font-size-sm);
  --o-text-md: var(--o-font-size-md);
  --o-text-lg: var(--o-font-size-lg);
  --o-text-xl: var(--o-font-size-xl);
  --o-text-2xl: var(--o-font-size-2xl);
  --o-text-display: var(--o-font-size-display);
  --o-weight-regular: var(--o-font-weight-regular);
  --o-weight-medium: var(--o-font-weight-medium);
  --o-weight-semibold: var(--o-font-weight-semibold);
  --o-weight-bold: var(--o-font-weight-bold);
  --o-leading-tight: var(--o-line-height-tight);
  --o-leading-body: var(--o-line-height-body);
  --o-tracking-caps: var(--o-letter-spacing-caps);
  --o-tracking-display: var(--o-letter-spacing-display);
  --ds-success-bg: var(--o-success-10);
  --ds-warning-bg: var(--o-warning-10);
  --ds-info-bg: var(--o-info-10);
  --ds-destructive-bg: var(--o-destructive-10);
  --o-status-danger-bg: var(--o-destructive-10);
  --ds-canvas: var(--o-muted);
  --ds-hover-2: var(--o-fill-subtle);
  --ds-shadow: var(--o-shadow-sm);
  --ds-shadow-md: var(--o-shadow-md);
  --ds-shadow-lg: var(--o-shadow-lg);
  --ds-data: var(--o-chart-2);
  --ds-data-soft: var(--o-chart-4);
}
