:root {
	--chart-1: #365d49;
	--chart-2: #7b9966;
	--chart-3: #b4c78c;
	--chart-4: #d9b97d;
	--chart-5: #8aada6;
	--chart-debt: #d4ad85;
	--chart-negative: #b67160;
	--chart-income: #cedcc4;
	--chart-remaining: #e4c791;
	--chart-track: #edf1e7;
}
[data-bs-theme="dark"] {
	color-scheme: dark;
	--ink: #e1e9df;
	--muted: #a7b6a6;
	--green: #a9ceac;
	--surface: #1a2721;
	--canvas: #101a16;
	--line: #334439;
	--bs-body-color: #e1e9df;
	--bs-body-bg: #101a16;
	--bs-border-color: #3f5144;
	--bs-secondary-color: #afbcad;
	--bs-heading-color: #e1e9df;
	--chart-1: #81b99a;
	--chart-2: #a8bd82;
	--chart-3: #c9d79b;
	--chart-4: #dbb77f;
	--chart-5: #83b5b1;
	--chart-debt: #d4ad85;
	--chart-negative: #dd9383;
	--chart-income: #657e60;
	--chart-remaining: #d7bc85;
	--chart-track: #2b3b30;
	--budget-slice-lightness: 65%;
}
[data-bs-theme="dark"] .sidebar { background: #15211b; }
[data-bs-theme="dark"] .brand { color: #bdd6b4; }
[data-bs-theme="dark"] .sidebar nav a { color: #b4c2ad; }
[data-bs-theme="dark"] .sidebar nav a:hover { background: #25382a; }
[data-bs-theme="dark"] .sidebar nav a.active { background: #30462f; color: #dfebd2; }
[data-bs-theme="dark"] .workspace-label,
[data-bs-theme="dark"] .nav-label,
[data-bs-theme="dark"] .eyebrow { color: #a8b99a; }
[data-bs-theme="dark"] .avatar { background: #344b31; color: #d3e2bd; }
[data-bs-theme="dark"] .sidebar-bottom small,
[data-bs-theme="dark"] .icon-button { color: #b0bda5; }
[data-bs-theme="dark"] .topbar { background: #15211bbd; color: #aab8a4; }
[data-bs-theme="dark"] .summary-card,
[data-bs-theme="dark"] .panel,
[data-bs-theme="dark"] .empty-state,
[data-bs-theme="dark"] .modal-content { background: var(--surface); color: var(--ink); }
[data-bs-theme="dark"] .summary-card.highlight { background: #31543f; border-color: #547358; color: #fff; }
[data-bs-theme="dark"] .summary-label,
[data-bs-theme="dark"] .summary-caption,
[data-bs-theme="dark"] .subtle-note,
[data-bs-theme="dark"] .empty-state p,
[data-bs-theme="dark"] .loading-state { color: #acb9a2; }
[data-bs-theme="dark"] .summary-card.highlight .summary-label,
[data-bs-theme="dark"] .summary-card.highlight .summary-caption { color: #d7e4ce; }
[data-bs-theme="dark"] .btn-primary {
	--bs-btn-bg: #9bbd91; --bs-btn-color: #17251a; --bs-btn-border-color: #9bbd91;
	--bs-btn-hover-bg: #b3d4a7; --bs-btn-hover-color: #17251a; --bs-btn-hover-border-color: #b3d4a7;
	--bs-btn-active-bg: #b3d4a7; --bs-btn-active-color: #17251a; --bs-btn-active-border-color: #b3d4a7;
	--bs-btn-disabled-bg: #6e8867; --bs-btn-disabled-color: #17251a; --bs-btn-disabled-border-color: #6e8867;
}
[data-bs-theme="dark"] .btn-light { background: #2b3d2e; border-color: #41543c; color: #d4e0c7; }
[data-bs-theme="dark"] .btn-light:hover { background: #3c5039; }
[data-bs-theme="dark"] .record-count,
[data-bs-theme="dark"] .chart-badge { background: #2a3b2c; color: #bac9a7; }
[data-bs-theme="dark"] .finance-table { --bs-table-bg: var(--surface); }
[data-bs-theme="dark"] .finance-table th { background: #233227; color: #b2c0a8; }
[data-bs-theme="dark"] .finance-table td { color: #c2cfb7; border-color: var(--line); }
[data-bs-theme="dark"] .finance-table .record-name { color: #e1e9d8; }
[data-bs-theme="dark"] .table-actions button { background: #26392a; color: #c5d8b7; border-color: #42583c; }
[data-bs-theme="dark"] .table-actions button:hover { background: #344c35; }
[data-bs-theme="dark"] .table-actions .delete-action,
[data-bs-theme="dark"] .negative { color: #efa591 !important; }
[data-bs-theme="dark"] .breakdown-row { border-color: var(--line); }
[data-bs-theme="dark"] .budget-total,
[data-bs-theme="dark"] .notice-banner { background: #273c29; border-color: #3c5737; color: #c4d6af; }
[data-bs-theme="dark"] .budget-total strong { color: #c4dca9; }
[data-bs-theme="dark"] footer,
[data-bs-theme="dark"] .privacy-note { color: #a3b097; }
[data-bs-theme="dark"] .auth-page { background: var(--canvas); }
[data-bs-theme="dark"] .auth-story { background: #203326; }
[data-bs-theme="dark"] .auth-story:after { border-color: #415c3d; }
[data-bs-theme="dark"] .auth-story p,
[data-bs-theme="dark"] .auth-story small { color: #b0c19f; }
[data-bs-theme="dark"] .form-control,
[data-bs-theme="dark"] .form-select { background-color: #142119; color: #e2ecda; border-color: #46583e; }
[data-bs-theme="dark"] .form-control:focus,
[data-bs-theme="dark"] .form-select:focus { border-color: #9bbd91; box-shadow: 0 0 0 .2rem #9bbd9126; }
[data-bs-theme="dark"] .chart-subtitle,
[data-bs-theme="dark"] .chart-note,
[data-bs-theme="dark"] .chart-row-heading,
[data-bs-theme="dark"] .flow-track-row > span,
[data-bs-theme="dark"] .flow-income > span,
[data-bs-theme="dark"] .flow-legend > div { color: #acbba1; }
[data-bs-theme="dark"] .chart-legend-item { color: #c3d0b8; border-color: var(--line); }
[data-bs-theme="dark"] .chart-legend-item:hover,
[data-bs-theme="dark"] .chart-legend-item:focus-visible { background: #2c402c; }
[data-bs-theme="dark"] .legend-values small,
[data-bs-theme="dark"] .ring-center > span,
[data-bs-theme="dark"] .ring-center small { color: #a8bb97; }
[data-bs-theme="dark"] .comparison-track { background: repeating-linear-gradient(90deg,transparent 0,transparent calc(25% - 1px),#42533b calc(25% - 1px),#42533b 25%),#293b29; }
[data-bs-theme="dark"] .chart-row-heading strong,
[data-bs-theme="dark"] .flow-legend strong,
[data-bs-theme="dark"] .chart-total strong,
[data-bs-theme="dark"] .chart-buffer strong { color: #d2e2c1; }
[data-bs-theme="dark"] .chart-insight { background: #2c402a; color: #bfd1ad; }
[data-bs-theme="dark"] .insight-symbol { color: #b7d39e; }
[data-bs-theme="dark"] .flow-track { background: #293b29; }
[data-bs-theme="dark"] .flow-segment { border-color: var(--surface); }
[data-bs-theme="dark"] .chart-buffer,
[data-bs-theme="dark"] .chart-total { border-color: var(--line); color: #b3c6a0; }
[data-bs-theme="dark"] .chart-buffer.over-budget,
[data-bs-theme="dark"] .chart-buffer.over-budget strong { color: #efa591; }
[data-bs-theme="dark"] .progress { background: #31462e; }
[data-bs-theme="dark"] .progress-label { color: #bdd0a9; }
