/* ESS brand palette for every console page (Owner 2026-10-15: "update the color pallete through out all other
   pages"; 2026-10-14: "my colors are black, gold, white, mainly"). Loaded LAST on each page so it overrides the page's
   own blues without touching the page stylesheets. Black carries sidebars and primary buttons, dark gold the accents
   and links, light gold the tints; green / amber / red stay where they mean something (working, waiting, overdue). */
:root {
  --navy: #000000; --navy2: #1c1c1c;           /* sidebars */
  --blue: #9c7a35; --accent: #9c7a35;           /* accents and links: dark gold, readable on white */
  --violet: #9c7a35;                            /* "in review" / "released": gold, not violet */
  --gold: #c9a464;
  --bg: #f4f2ee; --line: #e8e4da; --fg: #111111;
  --ess-tint: #f7f0e1; --ess-tint-2: #faf6ec; --ess-gold-line: #e2cd98; --ess-gold-strong: #d9c085;
}

/* Sidebars on pages a non-admin sees (admins get shell.css): black with the gold active item. */
.side { background: #000 !important; }
body:not(.ess-shell) .side nav a.on { background: linear-gradient(90deg, #8f7140 0%, #a98855 60%, #9a7a47 100%) !important; color: #fff !important; }
body:not(.ess-shell) .side nav a:hover:not(.on) { background: #1c1c1c !important; }
.side .brand { color: #c9a464; }

/* Primary actions: black with white text. */
button.primary, .btn.primary, button[type="submit"], .chip.on, .seg button.on, .days .day.on,
#available td:last-child button, .panel .card .actions button:first-child, .cs-actions button.primary, .cc-claim {
  background: #111 !important; border-color: #111 !important; color: #fff !important;
}
.days .day.on .dn, .days .day.on small { color: #e2c793 !important; }
body dialog.ess-ask button.ok { background: #111; border-color: #111; color: #fff; }

/* Light blue tints -> light gold. */
.i-blue, .b-available, .b-ready, .badge:not([class*="b-"]), span.chip, .share .chip, .st-on-site .pill, .st-next .pill { background: var(--ess-tint); color: #7a5a1c; }
.time-panel .opt:hover, #reviews tr.row:hover { background: var(--ess-tint-2); }
#reviews tr.sel, #ready-table tr.sel { background: var(--ess-tint); }
.bulk { background: var(--ess-tint-2); border-color: var(--ess-gold-line); }
.pcard.sel { box-shadow: 0 0 0 2px var(--ess-gold-line); }
.timeline > li.sel { box-shadow: 0 0 0 2px var(--ess-gold-line); }

/* Inspector board: on site = black, next = gold, scheduled = warm grey. */
.st-on-site.b-block, .b-key.st-on-site i { background: #111; border-color: #111; color: #fff; }
.st-next.b-block, .b-key.st-next i { background: #f1e5c8; border-color: var(--ess-gold-strong); color: #5a4316; }
.st-scheduled.b-block, .b-key.st-scheduled i { background: #f6f3ec; border-color: #e2d8c0; color: #333; }
.board .b-block, .board .b-key i { border-color: #e2d8c0; }
.board .b-block.sel { box-shadow: 0 0 0 2px var(--ess-gold-strong); }
.st-next::before, .st-on-site::before { background: #111 !important; }
.days .day.today { border-color: var(--ess-gold-strong); }

/* "View All" (limit.js) and sorted column headings follow the accent. */
body .ess-viewall { color: #9c7a35; }
th.ess-sortable.sorted { color: #9c7a35; }
.i-violet { background: #f0efec; color: #111; }   /* purple icon tiles -> neutral */
a:not([class]) { color: #9c7a35; }   /* plain links (e.g. "Back to the ESS Console") - sidebar links keep their own colours */
