/* highlight.css — row highlights (grid-highlight.js). The marks are colored by --bc-hl, --bc-hl-rgb and
   --bc-hl-soft when a look sets them (a per-item highlight color), else by the accent tokens (brand.js
   sets --wuwm-gold, -rgb and -soft), so with neither set every pixel is as it always was. The focus
   ring stays the accent's, as on every other control.
     shared  the row tinted, a bar on its left edge, the control filled
     mine    the row tinted, and a ring and dot on the control (ink, or white on a dark fill); no bar,
             so it reads apart from, and stays visible on top of, a shared one
   Both kinds of tint beat the look's stripes and the row hover (later, and no less specific).
   The control is one button (click: for me; right-click or long-press: for everyone), so a long-press
   must not start a text selection or the touch callout. */

.bc-hl-btn{border:0;background:none;cursor:pointer;padding:4px;margin:0;vertical-align:middle;line-height:0;border-radius:5px;color:var(--ink-2,#6B6258);
  -webkit-touch-callout:none;-webkit-user-select:none;user-select:none;touch-action:manipulation}
.bc-hl-btn:focus-visible{outline:none;box-shadow:0 0 0 3px rgba(var(--wuwm-gold-rgb,30,122,76),.45)}
.bc-hl-mark{position:relative;display:inline-block;width:12px;height:12px;box-sizing:border-box;border-radius:3px;
  border:1.5px solid currentColor;opacity:.4}
.bc-hl-btn:hover .bc-hl-mark{opacity:1}

.bc-grid tbody tr.bc-hl-shared td,.bc-grid tbody tr.bc-hl-mine td{background:var(--bc-hl-soft,var(--wuwm-gold-soft,#FFF4D2))}
.bc-grid tbody tr.bc-hl-shared td:first-child{box-shadow:inset 4px 0 0 var(--bc-hl,var(--wuwm-gold,#FFC20E))}
.bc-grid tbody tr.bc-hl-shared .bc-hl-mark{background:var(--bc-hl,var(--wuwm-gold,#FFC20E));border-color:var(--bc-hl,var(--wuwm-gold,#FFC20E));opacity:1}
/* A selected (mosaic-linked) row that is also highlighted: both read, the selection a shade deeper. */
.bc-grid tbody tr.bc-hl-shared.bc-row-selected td,.bc-grid tbody tr.bc-hl-mine.bc-row-selected td{background:rgba(var(--bc-hl-rgb,var(--wuwm-gold-rgb,255,194,14)),.34)}

.bc-grid tbody tr.bc-hl-mine .bc-hl-mark{border:2px solid var(--ink,#231F20);opacity:1}
.bc-grid tbody tr.bc-hl-mine .bc-hl-mark::after{content:"";position:absolute;left:50%;top:50%;width:4px;height:4px;
  margin:-2px 0 0 -2px;border-radius:50%;background:var(--ink,#231F20)}
/* On a shared row the control is filled with the highlight color, so the ring and dot are whichever
   of white and ink reads on that fill (--bc-hl-on, brand.js); ink when neither color is set. */
.bc-grid tbody tr.bc-hl-shared.bc-hl-mine .bc-hl-mark{border-color:var(--bc-hl-on,var(--ink,#231F20))}
.bc-grid tbody tr.bc-hl-shared.bc-hl-mine .bc-hl-mark::after{background:var(--bc-hl-on,var(--ink,#231F20))}
