/* tokens.css — Fresh & bright kitchen theme (single source of truth) */
:root {
  /* Backgrounds */
  --color-bg:             #FFFDF8;   /* soft warm white */
  --color-surface:        #f5f7f0;   /* faint sage-tinted panel */
  --color-surface-raised: #ffffff;
  --color-border:         #e9e7dd;
  --color-control:        #f3f5ee;
  --color-menu:           #ffffff;
  --color-menu-item:      #f6f8f2;
  --color-hover:          #eef2e9;

  /* Text */
  --color-text:           #2E2A26;
  --color-text-muted:     #6f6a62;

  /* Brand / interactive */
  --color-primary:        #5E9C76;   /* sage green */
  --color-primary-hover:  #4d8463;
  --color-accent:         #E8A33D;   /* honey */
  --color-accent-soft:    #fbf0db;
  --color-danger:         #c2553f;   /* warm terracotta-red */
  --color-success:        #5E9C76;
  --color-warning:        #E8A33D;

  /* Legacy budget tokens kept so shared components don't break (unused visually) */
  --color-budget-ok:      #5E9C76;
  --color-budget-warn:    #E8A33D;
  --color-budget-over:    #c2553f;
  --color-income:         #5E9C76;
  --color-spending:       #c2553f;
  --color-investment:     #7a8b6f;
  --color-transfer:       #5E9C76;

  /* Spacing (4px base) */
  --space-1: 4px;  --space-2: 8px;  --space-3: 12px;
  --space-4: 16px; --space-6: 24px; --space-8: 32px; --space-10: 40px; --space-12: 48px;

  /* Typography — Quicksand for display/titles, a readable sans for body */
  --font-display: 'Quicksand', system-ui, -apple-system, sans-serif;
  --font-sans: system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --font-mono: ui-monospace, 'JetBrains Mono', monospace;
  --text-xs:   0.72rem;
  --text-sm:   0.875rem;
  --text-base: 1rem;
  --text-lg:   1.125rem;
  --text-xl:   1.3rem;
  --text-2xl:  1.6rem;
  --text-3xl:  2.1rem;

  /* Shadows — soft, sage-tinted */
  --shadow-sm: 0 1px 2px rgba(94,156,118,.08);
  --shadow-md: 0 8px 20px rgba(94,156,118,.12);
  --shadow-lg: 0 16px 32px rgba(60,80,60,.16);

  /* Border radii — rounded & friendly */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 18px;
  --radius-xl: 24px;
  --radius-pill: 999px;

  /* Transitions */
  --transition-fast: 150ms ease;
  --transition-base: 250ms ease;
}

/* Single light theme — no dark mode for this site. */
