/* Luma owns this file. Batch 5 look (Nov 18 2026). Colour and hairlines only; no layout, no motion. Link after batch5-motion.css.
   Item 7: dark-mode hovers that went white now take a light teal tint (from the mock's teal family on --bg-card).
           Found by a scan of every :hover rule on all 41 pages in dark mode: a.card.tile, tr.rowlink td, .people-list button.
           Tint #283C3F (14% #5FA8A8 over #1F2A2E): ink #E8EEEC 9.88:1, muted #B7C3BF 6.40:1, link #9FCBC7 6.55:1.
   Item 17: 1px low-contrast hairlines on Bolt's hooks .progress-bar (.bar tracks), .stage-bar (Orders by stage) and the
           separators inside .inner-block, same weight in light and dark. Drawn with an inset shadow or by recolouring
           an existing 1px border, so nothing moves (no layout shift).
   A14 (Nov 18, v31 bugs): the last near-white pieces in dark mode now sit in the dark teal family. Colour only.
           Feedback pill #2E464A, text #E8EEEC 8.55:1, edge #5E9DA0 (4.76:1 on cards, 5.72:1 on the page) so it is
           still easy to find; hover #345257 7.18:1. "?" tips #33454B, "?" #E8EEEC 8.54:1, 1px #4E8A8F ring 3.75:1
           on cards; their bubble #26353A + ring. Run bar fill #5FA8A8 on the #26353A track 4.63:1. */

html {
  --b5-hair: rgba(31, 42, 46, 0.10);        /* about #E4E6E6 on white */
  --b5-hair-strong: #DDE2DF;                /* = --line, the section card edge */
}
html[data-theme="dark"] {
  --b5-hair: rgba(220, 227, 224, 0.11);     /* about #3A4447 on #1F2A2E */
  --b5-hair-strong: #33454B;                /* = dark --line */
  --b5-tint: #283C3F;                       /* hover: 14% #5FA8A8 over #1F2A2E */
  --b5-tint-on: #2E464A;                    /* selected: 22% */
}

/* ---------- item 7: dark hover = light teal tint, never white ---------- */
html[data-theme="dark"] a.card.tile:hover,
html[data-theme="dark"] a.card.tile:focus-visible {
  background: var(--b5-tint);
}
html[data-theme="dark"] tr.rowlink:hover td {
  background: var(--b5-tint);
}
html[data-theme="dark"] .people-list button {
  color: var(--ink);                        /* was #1F2A2E (dark on dark) */
}
html[data-theme="dark"] .people-list button:hover {
  background: var(--b5-tint);
}
html[data-theme="dark"] .people-list button.on {
  background: var(--b5-tint-on);
}

/* ---------- item 17: hairlines ---------- */
/* progress bar tracks: an inner 1px edge drawn above the fill (the dark track matched the card, so it vanished) */
.progress-bar { position: relative; }
.progress-bar::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  box-shadow: inset 0 0 0 1px var(--b5-hair);
  pointer-events: none;
}
/* Orders by stage: the existing 1px border, now the same hairline as the section edge in both themes */
.stage-bar:not(.late) { border-color: var(--b5-hair-strong); }
/* separators already inside inner blocks (score stack, stage-order list) were #EEF1EF, a bright line in dark */
.score-stack .score.inner-block,
.stage-order.inner-block,
.stage-order { border-bottom-color: var(--b5-hair); }
html[data-theme="dark"] .score-stack .score { border-bottom-color: var(--b5-hair); }

/* ---------- A14: dark mode, no near-white pieces ---------- */
html[data-theme="dark"] .fb-float {
  background: #2E464A;
  color: #E8EEEC;
  border-color: #5E9DA0;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
}
html[data-theme="dark"] .fb-float:hover { background: #345257; }
html[data-theme="dark"] .tip {
  background: #33454B;
  color: #E8EEEC;
  box-shadow: inset 0 0 0 1px #4E8A8F;
}
html[data-theme="dark"] .tip::after {
  background: #26353A;
  color: #E8EEEC;
  box-shadow: 0 0 0 1px #4E8A8F, 0 6px 16px rgba(0, 0, 0, 0.35);
}
html[data-theme="dark"] .cp-today-fill { background: #5FA8A8; }
