/* Lunch Money — palette. Loaded AFTER the inline <style> in index.html, so
   whatever's here wins. The inline block holds the same values as a fallback,
   which means a failed load degrades to the same look instead of no colours.
   To restyle the app, edit this file only — nothing else needs to change.

   Roles:
     --mint*   positive / the jar / "saved"      (soft aqua)
     --brass*  tokens, snacks, the small pot     (lavender)
     --punch   over budget — the only loud state (dusty rose)
*/

:root{
  --bg:#F2F4F8; --bg-deep:#E8EBF2;
  --card:#FFFFFF; --ink:#1D2233; --ink-soft:#5C6479; --muted:#99A1B5;
  --brass:#B0A2E8; --brass-hi:#C9BFF2; --brass-lo:#6B5CB8;
  --punch:#C9445F; --mint:#5FBCD3; --mint-deep:#22758C;
  --paper-line:#E2E6EF; --panel:#EDF0F6; --field:#FFFFFF;
  --tint:rgba(95,188,211,.14);        /* today / selected day */
  --tint-warm:rgba(176,162,232,.20);  /* backdating a spend */
  --edge-raid:rgba(201,68,95,.55);
  --scrim:rgba(23,26,38,.82);
}

@media (prefers-color-scheme: dark){
  :root{
    --bg:#171A26; --bg-deep:#11131D;
    --card:#232838; --ink:#EDEFF7; --ink-soft:#A6ADC2; --muted:#6E7691;
    --brass:#A99BE8; --brass-hi:#C0B4F0; --brass-lo:#B3A6EE;
    --punch:#F0899F; --mint:#6BC7DC; --mint-deep:#79D0E2;
    --paper-line:#333A50; --panel:#2B3145; --field:#2F3648;
    --tint:rgba(107,199,220,.16);
    --tint-warm:rgba(169,155,232,.22);
    --edge-raid:rgba(240,137,159,.55);
    --scrim:rgba(9,11,17,.86);
  }
}
