/* Shared by the Rust discovery, mortgage and investment interface.
   Based on BugZero's public light theme; semantic data colors stay distinct. */
:root {
  color-scheme: light;
  --font-sans: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --color-bg: #f8fafc;
  --color-surface: #ffffff;
  --color-surface-muted: #f1f5f9;
  --color-text: #0f172a;
  --color-muted: #475569;
  --color-subtle: #64748b;
  --color-border: #e2e8f0;
  --color-control-border: #cbd5e1;
  --color-accent: #9333ea;
  --color-accent-hover: #7e22ce;
  --color-accent-soft: #f3e8ff;
  --color-accent-border: #d8b4fe;
  --color-on-accent: #ffffff;
  --color-summary: #0f172a;
  --color-summary-muted: #cbd5e1;
  --color-summary-border: #334155;
  --color-success: #15803d;
  --color-success-soft: #f0fdf4;
  --color-success-border: #bbf7d0;
  --color-danger: #b91c1c;
  --color-danger-soft: #fef2f2;
  --color-danger-border: #fecaca;
  --color-warning: #92400e;
  --color-warning-soft: #fffbeb;
  --color-warning-border: #fcd34d;
  --color-chart-cash: #9333ea;
  --color-chart-interest: #1e293b;
  --color-chart-principal: #a855f7;
  --shadow-card: 0 1px 3px rgb(15 23 42 / 0.05), 0 4px 14px rgb(15 23 42 / 0.025);
  --radius-card: 12px;
  --radius-control: 8px;
}
