:root {
    color-scheme: light; --glow: 0; --themeIcon: "\eaf8";
    --accent: #8a1c3b;
    --accentDim: #c27b8f;
    --expense: #8a1c3b;
    --income: #2f5d6e;
    --bgCard: #fbf9f2;
    --bgCard2: #fffefa;
    --bgHeader: #f6f2e8;
    --bgMain: #f2eddf;
    --bgPopup: #fffefa;
    --border: #c9bd99;
    --borderHi: #9c8f66;
    --danger: #c4361c;
    --good: #4d6a1c;
    --textDim: #6e6247;
    --textPri: #2b1a1d;
    --textSec: #4f4130;
    --warn: #9a5c00;
    --radius: 10px;
    --radiusLg: 16px;
    --radiusSm: 6px;
    --paddingLg: 16px;
    --paddingMd: 10px;
    --paddingSm: 8px;
    --fontSizeLg: 21px;
    --fontSizeMd: 15px;
    --fontSizeSm: 13px;
    --fontSizeXl: 25px;
    --fontSizeXxl: 32px;
    --fontSizeXs: 12px;
    --fontSizeXxs: 11px;
}

:root[data-theme="dark"] {
    color-scheme: dark; --glow: 0; --themeIcon: "\ea38";
    --accent: #b3bf63;
    --accentDim: #6f7a3a;
    --expense: #d65a72;
    --income: #84b8c9;
    --bgCard: #231f14;
    --bgCard2: #2c2719;
    --bgHeader: #1c1910;
    --bgMain: #17140d;
    --bgPopup: #1f1c12;
    --border: #4d4532;
    --borderHi: #73684a;
    --danger: #ff7a5c;
    --good: #7fc79a;
    --textDim: #8f8365;
    --textPri: #f3ecd9;
    --textSec: #c9bc98;
    --warn: #e8b04a;
    --radius: 10px;
    --radiusLg: 16px;
    --radiusSm: 6px;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    color-scheme: dark; --glow: 0; --themeIcon: "\ea38";
    --accent: #b3bf63;
    --accentDim: #6f7a3a;
    --expense: #d65a72;
    --income: #84b8c9;
    --bgCard: #231f14;
    --bgCard2: #2c2719;
    --bgHeader: #1c1910;
    --bgMain: #17140d;
    --bgPopup: #1f1c12;
    --border: #4d4532;
    --borderHi: #73684a;
    --danger: #ff7a5c;
    --good: #7fc79a;
    --textDim: #8f8365;
    --textPri: #f3ecd9;
    --textSec: #c9bc98;
    --warn: #e8b04a;
    --radius: 10px;
    --radiusLg: 16px;
    --radiusSm: 6px;
  }
}

:root[data-theme="cyberpunk"] {
    color-scheme: dark; --glow: 1; --themeIcon: "\eb30";
    --accent: #00e5ff;
    --accentDim: #007a8a;
    --expense: #ff8c42;
    --income: #4d9fff;
    --bgCard: #0c0e18;
    --bgCard2: #111828;
    --bgHeader: #08090f;
    --bgMain: #06070b;
    --bgPopup: #05060a;
    --border: #1e3358;
    --borderHi: #2a4a80;
    --danger: #ff3350;
    --good: #00e676;
    --textDim: #5f84a8;
    --textPri: #e8f6ff;
    --textSec: #7d9cbd;
    --warn: #ffaa00;
    --radius: 6px;
    --radiusLg: 12px;
    --radiusSm: 3px;
}
