/* TIAG-Beacon design tokens: docs/ui.md §3, taken from tiag.ai main.css (2026-12-06).
   This is the ONLY stylesheet allowed to contain raw color values (Gate 3). */
:root {
  /* Canvas & surfaces */
  --tiag-bg: #ffffff;
  --tiag-surface: #ffffff;
  --tiag-surface-2: #f9fafb;        /* footer, card headers, table stripes */
  --tiag-hover-bg: #f3f4f6;         /* nav/link hover fill */

  /* Text */
  --tiag-heading: #111827;
  --tiag-text: #374151;
  --tiag-lead: #4b5563;
  --tiag-muted: #6b7280;
  --tiag-placeholder: #9ca3af;

  /* Accent (links, buttons, icons, metrics) */
  --tiag-accent: #2563eb;
  --tiag-hover: #1d4ed8;
  --tiag-accent-soft: rgba(37, 99, 235, 0.10);   /* active nav, icon chips */
  --tiag-accent-tint: rgba(37, 99, 235, 0.08);   /* outline-button hover */
  --tiag-accent-ring: rgba(37, 99, 235, 0.15);   /* input focus ring, ::selection */
  --tiag-beam: rgba(96, 165, 250, 0.95);         /* brand streak highlight */

  /* Borders */
  --tiag-border: #e5e7eb;
  --tiag-border-strong: #d1d5db;

  /* Status: solid (icons, borders, bars) / tint background / text on tint */
  --ok: #16a34a;      --ok-bg: rgba(22, 163, 74, 0.08);   --ok-text: #14532d;
  --warn: #d97706;    --warn-bg: rgba(217, 119, 6, 0.08); --warn-text: #78350f;
  --bad: #dc2626;     --bad-bg: rgba(220, 38, 38, 0.08);  --bad-text: #7f1d1d;
  --info: #2563eb;    --info-bg: rgba(37, 99, 235, 0.07); --info-text: #1e3a8a;
  --pqc: #10b981;     /* tiag.ai "text-company" emerald: PQC-ready highlights only */
  --platform: #7c3aed;/* tiag.ai "text-platform" purple: platform-admin areas only */

  /* Shape */
  --tiag-radius: 14px;      /* cards */
  --tiag-radius-sm: 10px;   /* buttons, inputs */
  --tiag-radius-xs: 7px;    /* badges/pills */
  --tiag-radius-lg: 18px;   /* auth card; modals use 16px */

  /* Elevation */
  --shadow-card: 0 1px 2px rgba(17, 24, 39, 0.04);
  --shadow-hover: 0 8px 24px rgba(37, 99, 235, 0.12);
  --shadow-auth: 0 4px 24px rgba(17, 24, 39, 0.06);

  /* Layout */
  --tiag-nav-h: 84px;
  --container: 1080px;      /* marketing/public pages (tiag.ai .container) */
  --container-app: 1280px;  /* authenticated app pages (data-dense tables) */
  --sidebar-w: 248px;

  /* Type */
  --font-sans: 'Roboto', system-ui, -apple-system, 'Segoe UI', Helvetica, Arial, sans-serif;
  --font-mono: ui-monospace, 'SFMono-Regular', Menlo, Consolas, 'Liberation Mono', monospace;

  /* Motion */
  --ease: ease;
  --t-fast: .18s;     /* links, buttons, nav */
  --t-card: .2s;      /* card hover lift */

  /* Derived tokens (Beacon additions; values from tiag.ai's nav, menu and dialog styles) */
  --white: #ffffff;
  --tiag-nav-bg: rgba(255, 255, 255, 0.85);      /* frosted nav */
  --tiag-menu-bg: rgba(255, 255, 255, 0.98);     /* mobile menu panel */
  --tiag-backdrop: rgba(17, 24, 39, 0.45);       /* <dialog> ::backdrop */
  --tiag-shadow-menu: 0 8px 24px rgba(17, 24, 39, 0.10);
  --tiag-platform-soft: rgba(124, 58, 237, 0.10);
  --tiag-beam-fade: rgba(96, 165, 250, 0);
}
