/**
 * tokens.css — IndicGovBench Design System Tokens
 */
:root {
  /* Colors - Functional & Brand */
  --bg-app: #ffffff;
  --bg-surface: #ffffff;
  --bg-surface-elevated: #f8fafc;
  --bg-pane: #ffffff;
  --bg-card: #ffffff;
  --bg-card-hover: #f8fafc;
  --bg-input: #ffffff;
  
  /* Text */
  --text-main: #0f172a;
  --text-muted: #475569;
  --text-faint: #94a3b8;
  --text-inverse: #ffffff;

  /* Borders */
  --border-subtle: #e2e8f0;
  --border-strong: #cbd5e1;
  --border-focus: #2563eb;

  /* Accent & Interaction */
  --accent: #2563eb;
  --accent-hover: #1d4ed8;
  --accent-light: #eff6ff;

  /* Alert / Badge Fills */
  --green-bg: #dcfce7;
  --green-text: #166534;
  --amber-bg: #fef3c7;
  --amber-text: #92400e;
  --red-bg: #fee2e2;
  --red-text: #991b1b;
  --purple-bg: #f3e8ff;
  --purple-text: #6b21a8;

  /* Semantic Diff Colors (§3.5 in specs) - High-contrast accessible light theme */
  --diff-raw-bg: transparent;
  --diff-raw-text: #0f172a;
  --diff-subs-bg: #fef3c7;
  --diff-subs-border: #f59e0b;
  --diff-subs-text: #92400e;
  --diff-missing-bg: #fee2e2;
  --diff-missing-border: #ef4444;
  --diff-missing-text: #991b1b;
  --diff-extra-bg: #f3e8ff;
  --diff-extra-border: #a855f7;
  --diff-extra-text: #6b21a8;
  --diff-matched-bg: #dcfce7;
  --diff-matched-border: #22c55e;
  --diff-matched-text: #166534;

  /* Bounding Box Overlay Colors */
  --bbox-gt-stroke: #0284c7;
  --bbox-gt-fill: rgba(2, 132, 199, 0.12);
  --bbox-table-stroke: #059669;
  --bbox-table-fill: rgba(5, 150, 105, 0.12);
  --bbox-gt-active: #d97706;
  --bbox-selected-stroke: #2563eb;
  --bbox-selected-fill: rgba(37, 99, 235, 0.14);
  --bbox-pred-stroke: #ea580c;
  --bbox-pred-fill: rgba(234, 88, 12, 0.12);
  --bbox-word-stroke: #ca8a04;
  --bbox-word-fill: rgba(202, 138, 4, 0.14);

  /* Status Chips */
  --status-saved-bg: #dcfce7;
  --status-saved-text: #166534;
  --status-stale-bg: #fef3c7;
  --status-stale-text: #92400e;
  --status-saving-bg: #e0f2fe;
  --status-saving-text: #0369a1;

  /* Typography */
  --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --font-indic: "Nirmala UI", "Mukta", "Yantramanav", "Gargi", sans-serif;
  --font-mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;

  /* Sizing & Spacing */
  --header-height: 48px;
  --command-row-height: 44px;
  --radius-sm: 4px;
  --radius-md: 6px;
  --radius-lg: 8px;
  --radius-full: 9999px;

  /* Shadows - Light Theme */
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.08), 0 2px 4px -2px rgba(0, 0, 0, 0.05);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.08), 0 4px 6px -4px rgba(0, 0, 0, 0.04);
}
