/* Material 3 roles. Fallback = baseline scheme from an indigo seed; replaced by the phone's
   dynamic (wallpaper) palette on Android 12+ via #dyn below. */
:root {
  --primary: #3a4db8;
  --on-primary: #ffffff;
  --primary-container: #dee0ff;
  --on-primary-container: #00105c;
  --secondary-container: #e0e1f9;
  --on-secondary-container: #181a2c;
  --tertiary-container: #ffd7f1;
  --on-tertiary-container: #2d1228;
  --surface: #fbf8ff;
  --surface-low: #f5f2fa;
  --surface-container: #efedf4;
  --surface-high: #e9e7ef;
  --surface-highest: #e4e1e9;
  --on-surface: #1b1b21;
  --on-surface-variant: #45464f;
  --outline: #767680;
  --outline-variant: #c6c5d0;
  --spent: #ba1a1a;
  --spent-container: #ffdad6;
  --on-spent-container: #410002;
  --got: #146c2e;
  --got-container: #a3f5a8;
  --on-got-container: #002106;
  --minus-bg: #fadcdd;
  --minus-fg: #9a4550;
  --plus-bg: #d3f0dc;
  --plus-fg: #2f6b45;
  --loan-bg: #e9ddff;
  --loan-fg: #4f2d8f;
  --lend-bg: #d4ecfb;
  --lend-fg: #0b5a86;
  --xfer: #1565c0;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --primary: #bac3ff;
    --on-primary: #08218a;
    --primary-container: #293ca0;
    --on-primary-container: #dee0ff;
    --secondary-container: #424659;
    --on-secondary-container: #e0e1f9;
    --tertiary-container: #5c3d56;
    --on-tertiary-container: #ffd7f1;
    --surface: #131318;
    --surface-low: #1b1b21;
    --surface-container: #1f1f25;
    --surface-high: #2a292f;
    --surface-highest: #35343a;
    --on-surface: #e4e1e9;
    --on-surface-variant: #c6c5d0;
    --outline: #90909a;
    --outline-variant: #45464f;
    --spent: #ffb4ab;
    --spent-container: #93000a;
    --on-spent-container: #ffdad6;
    --got: #88d990;
    --got-container: #005320;
    --on-got-container: #a3f5a8;
    --minus-bg: #4a3236;
    --minus-fg: #f6c1c6;
    --plus-bg: #2a4133;
    --plus-fg: #b5e4c1;
    --loan-bg: #382f4f;
    --loan-fg: #d8c8ff;
    --lend-bg: #1f3a4c;
    --lend-fg: #b6ddf6;
    --xfer: #9ecaff;
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --primary: #bac3ff;
  --on-primary: #08218a;
  --primary-container: #293ca0;
  --on-primary-container: #dee0ff;
  --secondary-container: #424659;
  --on-secondary-container: #e0e1f9;
  --tertiary-container: #5c3d56;
  --on-tertiary-container: #ffd7f1;
  --surface: #131318;
  --surface-low: #1b1b21;
  --surface-container: #1f1f25;
  --surface-high: #2a292f;
  --surface-highest: #35343a;
  --on-surface: #e4e1e9;
  --on-surface-variant: #c6c5d0;
  --outline: #90909a;
  --outline-variant: #45464f;
  --spent: #ffb4ab;
  --spent-container: #93000a;
  --on-spent-container: #ffdad6;
  --got: #88d990;
  --got-container: #005320;
  --on-got-container: #a3f5a8;
  --minus-bg: #4a3236;
  --minus-fg: #f6c1c6;
  --plus-bg: #2a4133;
  --plus-fg: #b5e4c1;
  --loan-bg: #382f4f;
  --loan-fg: #d8c8ff;
  --lend-bg: #1f3a4c;
  --lend-fg: #b6ddf6;
  --xfer: #9ecaff;
  color-scheme: dark;
}
