/* Santraca design tokens. Anthracite + red, dark theme, mobile-first. */
:root {
  /* surfaces */
  --bg:           #0B0F17;
  --surface:      #131A26;
  --surface-2:    #1A2230;
  --surface-3:    #232D3F;
  --overlay:      rgba(11, 15, 23, 0.72);

  /* borders */
  --border:        #1F2937;
  --border-strong: #334155;

  /* text */
  --text:         #F1F5F9;
  --text-muted:   #94A3B8;
  --text-dim:     #64748B;
  --text-inverse: #0B0F17;

  /* brand */
  --brand:        #DC2626;
  --brand-hover:  #B91C1C;
  --brand-soft:   rgba(220, 38, 38, 0.14);
  --brand-ring:   rgba(220, 38, 38, 0.32);

  /* status */
  --success:      #22C55E;
  --success-soft: rgba(34, 197, 94, 0.14);
  --warning:      #EAB308;
  --warning-soft: rgba(234, 179, 8, 0.14);
  --danger:       #EF4444;
  --danger-soft:  rgba(239, 68, 68, 0.14);
  --info:         #3B82F6;
  --info-soft:    rgba(59, 130, 246, 0.14);

  /* priority codes (André's signature feature) */
  --prio-green:   #22C55E;
  --prio-yellow:  #EAB308;
  --prio-red:     #EF4444;

  /* sizing + radii */
  --radius-sm: 6px;
  --radius:    10px;
  --radius-lg: 14px;
  --radius-xl: 20px;

  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 24px;
  --space-6: 32px;
  --space-7: 48px;
  --space-8: 64px;

  /* type */
  --font-sans: 'Inter', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  --font-mono: ui-monospace, 'SF Mono', 'Menlo', 'Consolas', monospace;
  --fs-xs:  12px;
  --fs-sm:  13px;
  --fs-base:14px;
  --fs-md:  15px;
  --fs-lg:  17px;
  --fs-xl:  20px;
  --fs-2xl: 24px;
  --fs-3xl: 30px;

  /* layout */
  --sidebar-w:  248px;
  --header-h:    56px;
  --content-max: 1280px;

  /* effects */
  --shadow-sm: 0 1px 2px rgba(0,0,0,0.4);
  --shadow:    0 6px 18px rgba(0,0,0,0.35);
  --shadow-lg: 0 20px 40px rgba(0,0,0,0.5);
  --ring:      0 0 0 3px var(--brand-ring);

  /* timing */
  --t-fast: 120ms;
  --t-base: 180ms;

  /* safe areas (iOS notch) */
  --safe-top:    env(safe-area-inset-top, 0px);
  --safe-bottom: env(safe-area-inset-bottom, 0px);
  --safe-left:   env(safe-area-inset-left, 0px);
  --safe-right:  env(safe-area-inset-right, 0px);
}
