/* /css/highlight.css (plan 0003). New file: no existing CSS is
   edited. The marketing accent, "read this first" (ADR 0004).

   Every use of the token falls back to transparent, so a stale tokens.css
   (no --color-accent) shows today's look, never a black fill. */

/* The highlighter stroke behind a phrase of two or more words.
   Square ends (no radius), hugging the text: it can never read as a
   filled, rounded, label-sized button. Only ink text sits on it. */
.hl {
  background-color: var(--color-accent, transparent);
  color: var(--color-ink);
  padding-inline: 0.12em;
  margin-inline: -0.12em;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}

/* The marked flow step's miniature: a square-ended block lies behind the
   whole drawing, bleeding a little past it on every side (viewBox
   x=-8 y=-8 w=96 h=112). The drawn sheet is filled paper, so the stroke shows only
   outside the sheet and never fills a depicted control or the sheet's
   interior. The stroke overflows the miniature's box into the column gap
   and the band padding; it paints, it does not take space. */
.flow__mini--marked { overflow: visible; }
.flow__mini--marked .flow__sheet { fill: var(--color-paper); }
.flow__mini--marked .flow__stroke {
  fill: var(--color-accent, transparent);
  stroke: none;
}

/* Forced colors: the text highlight drops with the backgrounds, which is
   acceptable; the miniature stroke is removed outright. */
@media (forced-colors: active) {
  .flow__mini--marked .flow__stroke { display: none; }
}

/* Print: the text highlight is a background, so browsers drop it by
   default (nothing sets print-color-adjust). An SVG fill is NOT dropped,
   so the miniature stroke is removed explicitly to match. */
@media print {
  .flow__mini--marked .flow__stroke { display: none; }
}
