/*
 * jfdi staff theme colors, one file for every place that wears them (Alex, Oct 30).
 * - jfdi staff pages: bundled through resources/js/components/staff/StaffPage.tsx (scoped to .ih).
 * - letters.indyhall.org: links https://jfdi.indyhall.org/ih-theme-tokens.css and sets
 *   class="ih-public" + data-theme on <html> (~/mailroom/segments-site/src/letters-render.ts).
 * Change colors here only; both follow after the jfdi build.
 */
.ih, .ih-public {
  /* Warm neutrals from the old staff sites (Alex, Oct 30): borders, table header and hovers match the background. */
  --bg:#faf8f5;--surface:#fff;--text:#1d1b19;--muted:#6b665f;--border:#e6e1da;
  --hover:#f1eee9;--subtle:#f6f3ee;--row-hover:#f3efe8;
  /* --primary is jfdi's yellow-500, for marks and fills. Text never uses it at rest; --link-hover is
     yellow-600 so hovered text stays readable on white. */
  --primary:#eab308;--primary-soft:#fefce8;--link-hover:#ca8a04;--ring:rgba(234,179,8,.35);
  --ok-bg:#dcfce7;--ok-fg:#15803d;--warn-bg:#fef3c7;--warn-fg:#b45309;--bad-bg:#fee2e2;--bad-fg:#b91c1c;
  --radius:10px;--shadow:0 1px 3px rgba(0,0,0,.08),0 1px 2px rgba(0,0,0,.04);
}
.dark .ih, .ih-public[data-theme=dark] {
  /* jfdi's deep slate (Alex, Oct 30). */
  --bg:#080c16;--surface:#0e1320;--text:#f1f5f9;--muted:#7588a3;--border:#1d283a;
  --hover:#18212f;--subtle:#0b0f19;--row-hover:#151c29;
  --primary:#eab308;--primary-soft:rgba(234,179,8,.12);--link-hover:#eab308;--ring:rgba(234,179,8,.35);
  --ok-bg:#12321f;--ok-fg:#6fd69a;--warn-bg:#3a2c0f;--warn-fg:#f2c36b;--bad-bg:#3a1414;--bad-fg:#f39a9a;
  --shadow:0 1px 3px rgba(0,0,0,.4);
}
/* Stacking the Bricks pages swap the yellow for pink (Alex, Wed Nov 25: "only be on stacking the bricks apps").
   StaffPage adds .ih-stb when a page passes brand="stb". Indy Hall pages keep the yellow. Status colors stay as they are. */
.ih.ih-stb {
  --primary:#ec4899;--primary-soft:#fdf2f8;--link-hover:#db2777;--ring:rgba(236,72,153,.35);
}
.dark .ih.ih-stb {
  --primary:#ec4899;--primary-soft:rgba(236,72,153,.14);--link-hover:#f472b6;--ring:rgba(236,72,153,.35);
}
