/* Chat Analyzer — design tokens (Chatgram / messenger-adjacent) */
:root {
  --font-sans: "Vazirmatn", Tahoma, "Segoe UI", sans-serif;
  --font-size-base: 16px;
  --line-height: 1.6;

  --color-bg: #0b0f14;
  --color-bg-elevated: #121820;
  --color-surface: #1a2332;
  --color-surface-hover: #243044;
  --color-border: #2a3548;
  --color-border-subtle: #1e293b;

  --color-text: #e7ecf3;
  --color-text-muted: #94a3b8;
  --color-text-faint: #64748b;

  --color-primary: #517da2;
  --color-primary-hover: #5f8fb8;
  --color-primary-muted: rgba(81, 125, 162, 0.18);
  --color-accent: #3d7eff;
  --color-success: #22c55e;
  --color-warning: #fbbf24;
  --color-danger: #ff8a80;

  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 14px;
  --radius-full: 999px;

  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.35);
  --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.35);
  --shadow-lg: 0 12px 40px rgba(0, 0, 0, 0.45);

  --space-xs: 0.25rem;
  --space-sm: 0.5rem;
  --space-md: 1rem;
  --space-lg: 1.5rem;
  --space-xl: 2rem;

  --sidebar-width: 260px;
  --topbar-height: 56px;
  --touch-min: 44px;

  --transition-fast: 150ms ease;
  --transition-normal: 220ms ease;

  --focus-ring: 0 0 0 3px rgba(81, 125, 162, 0.45);
}

@media (prefers-reduced-motion: reduce) {
  :root {
    --transition-fast: 0ms;
    --transition-normal: 0ms;
  }
}
