/* css/tokens.css — design tokens (DRE-6 extends this set) */

:root {
  /* Core palette */
  --color-bg:        #faf9f7;
  --color-surface:   #ffffff;
  --color-primary:     #6366f1;
  --color-primary-50:  #eef2ff;
  --color-primary-100: #e0e7ff;
  --color-secondary:   #14b8a6;
  --color-accent:      #f59e0b;
  --color-text:        #1e1b4b;
  --color-muted:       #6b7280;
  --color-border:      #e5e7eb;
  --color-danger:    #dc2626;

  /* Typography */
  --font-sans:  'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
  --font-thai:  'Sarabun', 'Inter', sans-serif;

  /* Extended tokens — DRE-8 */
  --color-surface-2:       #f3f4f6;
  --color-primary-light:   #e0e7ff;
  --color-secondary-light: #ccfbf1;
  --color-success:         #10b981;
  --color-success-light:   #d1fae5;
  --color-success-dark:    #065f46;
  --color-danger-light:    #fee2e2;
  --color-danger-dark:     #991b1b;
  --color-warning-bg:      #fef3c7;
  --color-text-muted:      #6b7280;
  --text-base: 1rem;
  --text-sm:   0.875rem;
  --text-lg:   1.125rem;
  --text-xl:   1.25rem;
  --text-2xl:  1.5rem;
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.06);
  --shadow-md: 0 4px 12px rgba(0,0,0,0.08);
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-6: 24px;
  --space-8: 32px;
}
