/* Read modes: the switcher bar and the blocks it toggles. See /assets/js/read-modes.js.
   Generalised from the six-sigma lexicon entry's .ss-modes (3 Nov 2026). Blocks are shown and
   hidden with the `hidden` attribute, so no mode names live in this file. */
.rm[hidden]{display:none}
.rm-bar{position:sticky;top:var(--rm-head,72px);z-index:20;display:flex;align-items:center;gap:.35rem;flex-wrap:wrap;margin:0 0 2rem;padding:.55rem 0;
  background:var(--bg);background:color-mix(in srgb,var(--bg) 92%,transparent);backdrop-filter:blur(10px);-webkit-backdrop-filter:blur(10px);border-bottom:1px solid var(--border)}
.rm-l{font-family:var(--font-mono);font-size:13px;letter-spacing:.12em;text-transform:uppercase;color:var(--ink-3);margin-right:.35rem}
.rm-bar button{font-family:var(--font-mono);font-size:13px;letter-spacing:.06em;background:none;color:var(--ink-2);border:1px solid var(--border-strong);border-radius:100px;padding:.38rem .8rem;cursor:pointer;transition:color 200ms,background 200ms,border-color 200ms}
.rm-bar button:hover{color:var(--red);border-color:var(--red)}
.rm-bar button[aria-pressed="true"]{background:var(--red);border-color:var(--red);color:#fff}
.rm-bar button:focus-visible{outline:2px solid var(--red);outline-offset:3px}
@media (max-width:400px){.rm-l{width:100%}.rm-bar button{padding:.34rem .62rem}}
@media (prefers-reduced-motion:no-preference){.rm{animation:rmFade 380ms var(--easing)}}
@keyframes rmFade{from{opacity:0;transform:translateY(4px)}to{opacity:1;transform:none}}
