/* Praxis/AI design tokens. Same palette as the public lobby (site/lobby/styles/tokens.css),
   plus the solid surfaces, semantic colours and input tokens the portal needs.
   Contrast: every text token below clears WCAG AA (4.5:1) on every surface token; every
   border token clears 3:1. --fg-dim is decoration only and is never used for text. */

:root {
  color-scheme: dark;
  accent-color: #5ad9ff;

  /* Background and surfaces */
  --bg-0:        #03060d;   /* page */
  --bg-1:        #06091a;
  --surface:     #081220;   /* panels, cards, table body */
  --surface-2:   #0b1828;   /* raised rows, table head, code */
  --bg-panel:    rgba(8, 18, 32, 0.62);   /* scene pages only (glass) */
  --bg-panel-2:  rgba(10, 22, 38, 0.76);

  /* Brand */
  --cyan:        #5ad9ff;
  --cyan-dim:    #3a9bc6;
  --blue:        #1d6fa8;
  --blue-deep:   #0c3a5e;
  --gold:        #e8b96b;

  /* Text */
  --fg-strong:   #f3f8ff;
  --fg:          #cfeaff;
  --fg-muted:    #6f9fc0;
  --fg-dim:      #4a708a;   /* decoration only — fails AA as text */

  /* Semantic */
  --ok:          #6ee7a8;
  --warn:        #e8b96b;
  --error:       #ff9d8f;
  --info:        #5ad9ff;
  --tint-ok:     rgba(110, 231, 168, 0.10);
  --tint-warn:   rgba(232, 185, 107, 0.10);
  --tint-error:  rgba(255, 157, 143, 0.10);
  --tint-info:   rgba(90, 217, 255, 0.10);
  --tint-cyan:   rgba(90, 217, 255, 0.12);
  --tint-cyan-2: rgba(90, 217, 255, 0.20);
  --tint-quiet:  rgba(111, 159, 192, 0.12);

  /* Lines */
  --border:        #3a7190;   /* panels, tiles, table rules */
  --border-strong: #4d7f9e;   /* buttons and other control edges */
  --border-input:  #3f7696;
  --border-faint:  #1b3446;   /* inside-panel hairlines, decoration only */

  /* Inputs */
  --input-bg:      #050b16;

  /* Type */
  --font-display: "Fraunces", "Iowan Old Style", "Times New Roman", serif;
  --font-body:    "Inter Tight", system-ui, -apple-system, "Helvetica Neue", sans-serif;
  --font-mono:    "JetBrains Mono", "SF Mono", ui-monospace, Menlo, monospace;

  --tracking-eyebrow: 0.28em;
  --tracking-ui:      0.16em;
  --tracking-display: -0.01em;

  /* Spacing */
  --space-1:  4px;
  --space-2:  8px;
  --space-3:  12px;
  --space-4:  16px;
  --space-5:  20px;
  --space-6:  24px;
  --space-8:  32px;
  --space-10: 40px;
  --space-12: 48px;
  --space-16: 64px;
  --space-20: 80px;

  --radius-sm: 4px;
  --radius:    6px;
  --radius-lg: 12px;

  /* Effects */
  --glow-cyan:   0 0 24px rgba(90, 217, 255, 0.35);
  --glow-soft:   0 0 18px rgba(90, 217, 255, 0.22);
  --blur:        blur(12px) saturate(140%);

  /* Layout */
  --max-w: 1100px;
}
