/*
  Ledger theme tokens.

  Lime is the brand: the default backdrop the glass floats over (changeable in
  Settings), the highlight on whatever is selected, and as a fill or as text it
  means good (under plan, paid, funded, primary action).
  Red means bad. Neutrals carry no meaning.

  Glass layers: panel (the main glass) -> recessed (wells inside it) -> raised
  (chips, active pills). Text contrast is checked against the effective glass
  color, --glass-solid, which is what the glass reads as over the backdrop.
*/

:root {
  color-scheme: dark;

  /* Backdrop */
  --bg: #080a05;
  --blob-1: rgba(198, 244, 50, 0.78);
  --blob-2: rgba(150, 214, 20, 0.6);
  --blob-3: rgba(222, 255, 120, 0.4);

  /* Glass */
  --glass: rgba(14, 17, 10, 0.55);
  --glass-strong: rgba(12, 14, 9, 0.72);
  --card: rgba(26, 31, 18, 0.6);
  --card-shadow: 0 18px 44px rgba(0, 0, 0, 0.5), 0 2px 6px rgba(0, 0, 0, 0.35);
  --glass-solid: #1c230f;
  --glass-rim: rgba(255, 255, 255, 0.42);
  --glass-rim-soft: rgba(255, 255, 255, 0.08);
  --glass-sheen: rgba(255, 255, 255, 0.07);
  --glass-shadow: 0 24px 60px rgba(0, 0, 0, 0.5), 0 2px 8px rgba(0, 0, 0, 0.3);
  --recessed: rgba(0, 0, 0, 0.28);
  --raised: rgba(255, 255, 255, 0.1);
  --raised-strong: rgba(255, 255, 255, 0.18);
  --line: rgba(255, 255, 255, 0.08);
  --line-strong: rgba(255, 255, 255, 0.16);

  /* Text */
  --text: #f4f6f0;
  --text-2: #c2c8b6;
  --text-3: #8c9480;

  /* Selection — neutral, carries no meaning */
  --select: #c6f432;
  --select-ink: #0b0d08;

  /* Good — lime */
  --good: #c6f432;
  --good-ink: #0b0d08;
  --good-text: #c6f432;
  --good-soft: rgba(198, 244, 50, 0.16);
  --good-glass: rgba(198, 244, 50, 0.62);
  --select-glass: rgba(198, 244, 50, 0.24);
  --select-rim: rgba(198, 244, 50, 0.7);

  /* Bad — red */
  --bad: #ff5a4e;
  --bad-ink: #0b0d08;
  --bad-text: #ff7a70;
  --bad-soft: rgba(255, 90, 78, 0.16);

  /* The + */
  --action: #c6f432;
  --action-ink: #0b0d08;

  --scrim: rgba(0, 0, 0, 0.45);
  --focus: #c6f432;
}





:root {
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Segoe UI", system-ui, sans-serif;
  --fs-xs: 12px;
  --fs-sm: 13px;
  --fs-base: 15px;
  --fs-md: 17px;
  --fs-lg: 22px;
  --fs-xl: 30px;
  --fs-display: 40px;

  --sp-1: 4px;
  --sp-2: 8px;
  --sp-3: 12px;
  --sp-4: 16px;
  --sp-5: 24px;
  --sp-6: 32px;

  --r-sm: 12px;
  --r: 22px;
  --r-lg: 30px;
  --r-pill: 999px;

  --blur: blur(24px) saturate(180%);
  --dock-h: 68px;
}
