/*
 * Spend Lens colour tokens. Served from public/ rather than bundled so the stored theme
 * still paints correctly if the app's bundles are slow or fail to load.
 */
:root {
  color-scheme: dark;
  --background: #0a0b0d;
  --foreground: #e6e8eb;
  --card: #111317;
  --card-foreground: #e6e8eb;
  --muted: #171a1f;
  --muted-foreground: #8f97a3;
  --border: #22262d;
  --accent: #2ee6a6;
  --accent-foreground: #0a0b0d;
  --ring: #2ee6a6;
  --destructive: #ff6b6b;
  --warning: #f5b54a;
  --over-budget: #ff6b6b;
  --chart-budgeted: #4a525e;
  --chart-spent: #2ee6a6;
}

:root[data-theme='light'] {
  color-scheme: light;
  --background: #f7f8fa;
  --foreground: #0f1115;
  --card: #ffffff;
  --card-foreground: #0f1115;
  --muted: #eef0f3;
  --muted-foreground: #565e6b;
  --border: #dfe2e7;
  --accent: #047857;
  --accent-foreground: #ffffff;
  --ring: #047857;
  --destructive: #b42318;
  --warning: #8a4b00;
  --over-budget: #b42318;
  --chart-budgeted: #a3abb7;
  --chart-spent: #047857;
}

html,
body {
  background-color: var(--background);
  color: var(--foreground);
}
