/* Readability layer (2026-11-10, user-approved rollout to all non-index pages).
   Marker highlights and colored terms for prose, keyed to each page's own
   accent variables (--accent / --accent-deep, set by the body accent class).
   Loaded last in <head> so it wins over text.css / theorem.css where they meet.
   Vocabulary: .hl amber = key result, .hl-g green = takeaway,
   .hl-r rose = caveat, .kn = key number/result in burnt orange. */

/* Defined terms take the page accent (was navy rgb(0,0,100) in text.css). */
.term { color: var(--accent-deep, #123B6D); }

/* Half-height marker swipes: the highlight sits behind the lower half of
   the glyphs, so the text itself stays full-contrast black. */
.hl   { background: linear-gradient(transparent 56%, rgba(253, 224, 71, .68) 56%); padding: 0 .1em; border-radius: .15em; }
.hl-g { background: linear-gradient(transparent 56%, rgba(134, 239, 172, .75) 56%); padding: 0 .1em; border-radius: .15em; }
.hl-r { background: linear-gradient(transparent 56%, rgba(253, 164, 175, .8) 56%); padding: 0 .1em; border-radius: .15em; }

/* Key numbers and headline results. */
.kn { color: #9A3412; font-weight: 700; }

/* Sub-headings pick up the page accent. (h3 already carries a 4px accent
   bar from navigation.css's body[class*="accent-"] h3 rule — more specific
   than anything here, and already the house style; not re-declared.) */
h4, h5 { color: var(--accent-deep, #115E59); }
