/* מקדמים כספים: the personality of this system on top of the kit (base.css + parts.css), the studio's structure kept (the
 * deep header panel, white rounded cards, Rubik). Amir, 2026-12-01: "the same line as the studio, colors that fit finance
 * and money (gold?)". So: a deep emerald-black header lit with gold, warm ivory pages, gold as the accent and the primary
 * button, one fixed color per partner everywhere (--p-*). */
:root {
  --bg: #f6f2e8; --surface: #ffffff; --surface-2: #faf6ec; --surface-3: #f1ead8; --ink: #1f1a10; --muted: #786d55; --line: #ebe2cc;
  --accent: #a2701a; --accent-soft: #f7ecd2; --mint: #f3d58a; --sky: #2f7fc1;
  --gold: linear-gradient(120deg, #8a5a12 0%, #c9952f 30%, #f3d58a 55%, #d3a23c 75%, #9a6716 100%);
  --gold-flat: #c9952f;
  --grad: linear-gradient(120deg, #9a6716 0%, #c9952f 40%, #e9c66f 70%, #c08a2a 100%);
  --grad-brand: var(--gold);
  --grad-deep: linear-gradient(150deg, #134236 0%, #0b2a22 55%, #061612 100%);
  --glow-1: rgba(243, 213, 138, .42); --glow-2: rgba(31, 157, 107, .12); --glow-3: rgba(201, 149, 47, .16);
  --good: #1d8a5a; --good-soft: #def3e8; --bad: #c0392b; --bad-soft: #fbe5e2; --warn: #a76a0c; --warn-soft: #fbefd6;
  --p-sup: #8d98a0; --p-staff: #e0607a; --p-reserve: #0f5563; --p-other: #b39b6b;
  --shadow: 0 1px 2px rgba(60, 44, 10, .05), 0 14px 34px -16px rgba(110, 80, 20, .26);
  --shadow-lift: 0 2px 4px rgba(60, 44, 10, .06), 0 26px 50px -20px rgba(110, 80, 20, .4);
  --r-admin: #0b2a22; --r-partner: #a2701a; --r-employee: #2f7fc1; --r-client: #786d55;
}
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) {
  --bg: #0b100d; --surface: #141b17; --surface-2: #19221d; --surface-3: #1f2a24; --ink: #f6f0e1; --muted: #b5a98c; --line: #27332c;
  --accent: #e7bd5e; --accent-soft: #2c2716; --mint: #e7bd5e;
  --glow-1: rgba(201, 149, 47, .12); --glow-2: rgba(31, 157, 107, .10); --glow-3: rgba(201, 149, 47, .08);
  --good: #4fd39b; --good-soft: #12382a; --bad: #ff8a80; --bad-soft: #3a1714; --warn: #f2c25a; --warn-soft: #3a2c10;
  --p-other: #cdb88a; --p-reserve: #3fa3b5; --shadow: 0 14px 34px -18px rgba(0, 0, 0, .7); --shadow-lift: 0 26px 50px -20px rgba(0, 0, 0, .8);
  --r-admin: #f3d58a; --r-partner: #e7bd5e; --r-employee: #6fb4f0; --r-client: #b5a98c;
  color-scheme: dark; } }
:root[data-theme="dark"] {
  --bg: #0b100d; --surface: #141b17; --surface-2: #19221d; --surface-3: #1f2a24; --ink: #f6f0e1; --muted: #b5a98c; --line: #27332c;
  --accent: #e7bd5e; --accent-soft: #2c2716; --mint: #e7bd5e;
  --glow-1: rgba(201, 149, 47, .12); --glow-2: rgba(31, 157, 107, .10); --glow-3: rgba(201, 149, 47, .08);
  --good: #4fd39b; --good-soft: #12382a; --bad: #ff8a80; --bad-soft: #3a1714; --warn: #f2c25a; --warn-soft: #3a2c10;
  --p-other: #cdb88a; --p-reserve: #3fa3b5; --shadow: 0 14px 34px -18px rgba(0, 0, 0, .7); --shadow-lift: 0 26px 50px -20px rgba(0, 0, 0, .8);
  --r-admin: #f3d58a; --r-partner: #e7bd5e; --r-employee: #6fb4f0; --r-client: #b5a98c;
  color-scheme: dark;
}
.boot-orb { background: radial-gradient(circle at 32% 28%, #fffbe8 0%, #f3d58a 30%, #c9952f 68%, #8a5a12 100%); }

/* the deep header: emerald with gold light */
.deep {
  --ink: #fff8e7; --muted: #d9cfa9; --surface: #134236; --surface-2: rgba(255, 240, 200, .08); --line: rgba(255, 240, 200, .16);
  --accent: #f3d58a; --accent-soft: rgba(243, 213, 138, .16); --good: #8ff0c4; --mint: #f3d58a;
  background:
    radial-gradient(circle at 10% -40%, rgba(243, 213, 138, .45) 0%, transparent 50%),
    radial-gradient(circle at 96% 140%, rgba(31, 157, 107, .45) 0%, transparent 46%), var(--grad-deep);
  box-shadow: 0 24px 48px -26px rgba(6, 40, 30, .75);
}
.deep::after { background: radial-gradient(circle at 35% 30%, #fffbe8 0%, #f3d58a 22%, #c9952f 48%, rgba(201, 149, 47, 0) 72%); opacity: .45; }
.deep::before { background: radial-gradient(circle at 35% 30%, #fffbe8 0%, #f3d58a 45%, rgba(243, 213, 138, 0) 72%); opacity: .5; }
.tab[aria-current="page"] { background: var(--gold); color: #2d1d02; box-shadow: 0 6px 16px -8px rgba(243, 213, 138, .9); }
.tab[aria-current="page"] svg { color: #2d1d02; }

/* gold, not teal: the primary button and the money's own marks */
.btn.primary { background: var(--grad); color: #2d1d02; box-shadow: 0 10px 22px -10px rgba(160, 110, 20, .85); }
.btn.primary:hover { filter: brightness(1.06); }
.coin-mark { width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; font-weight: 800; font-size: 14px; color: #4d3305;
  background: radial-gradient(circle at 32% 28%, #fffbe8 0%, #f3d58a 30%, #c9952f 68%, #8a5a12 100%);
  box-shadow: inset 0 -2px 4px rgba(90, 55, 5, .45), 0 4px 12px -4px rgba(243, 213, 138, .7); }
