/* AVELYO V0.6 — source de vérité du design system. Noms techniques ORVIAN conservés.
   Autonome, sans ressource distante. Importable aussi via /branding/tokens.css. */
:root,
[data-theme='light'] {
  --orvian-slate: #0F2D46;
  --orvian-blue: #1E6EB7;
  --orvian-green: #2E7D32;
  --orvian-copper: #E67E22;
  --orvian-gray: #F4F6F8;
  --orvian-white: #FFFFFF;
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --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;
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 14px;
  --radius-xl: 18px;
  --background: #F7F8F4;
  --surface: #FFFFFF;
  --surface-soft: #F6F8FA;
  --surface-hover: #F0F3F5;
  --text: #0F2D46;
  --muted: #586D7E;
  --subtle: #627384;
  --border: #E3E8EC;
  --border-strong: #7D8F9F;
  --accent: #1E6EB7;
  --accent-ink: #FFFFFF;
  --accent-readable: #1E6EB7;
  --accent-soft: #EDF4FB;
  --positive: #286A2D;
  --positive-soft: #EEF6EE;
  --warning: #9B4D11;
  --warning-soft: #FFF3E7;
  --slate-soft: #EDF2F5;
  --navy: #0F2D46;
  --sidebar-bg: #102D43;
  --sidebar-text: #B9C9D4;
  --sidebar-muted: #9CB2C2;
  --shadow-sm: 0 2px 5px #0F2D4604, 0 1px 2px #0F2D4604;
  --shadow-md: 0 8px 28px #0F2D460A;
  --shadow-float: 0 18px 60px #0F2D4629;
  --motion-fast: 160ms;
  --motion-normal: 240ms;
  color-scheme: light;
}

[data-theme='dark'] {
  --background: #101B24;
  --surface: #172732;
  --surface-soft: #1C2E3C;
  --surface-hover: #223846;
  --text: #EBF1F5;
  --muted: #ACBCC8;
  --subtle: #9CACBA;
  --border: #2C414F;
  --border-strong: #607989;
  --accent-readable: #85BDF0;
  --accent-soft: #1E384E;
  --positive: #9BC99A;
  --positive-soft: #1E392C;
  --warning: #F2B77E;
  --warning-soft: #3B2E23;
  --slate-soft: #273B49;
  --sidebar-bg: #0C202E;
  --shadow-sm: 0 2px 5px #0000000D;
  --shadow-md: 0 8px 28px #00000018;
  --shadow-float: 0 18px 60px #00000055;
  color-scheme: dark;
}

/* Public AVELYO aliases; legacy token names remain compatible. */
:root { --avelyo-night: var(--orvian-slate); --avelyo-blue: var(--orvian-blue); --avelyo-green: var(--orvian-green); --avelyo-copper: var(--orvian-copper); --avelyo-gray: var(--orvian-gray); --avelyo-white: var(--orvian-white); }
