/* Code blocks (site-audit/unify_code_highlighter.py, 2026-09-28): <pre class="code-block"><code class="language-...">,
   coloured by highlight.js with its a11y-dark theme (sites/all/libraries/highlightjs-11.12.0/styles/a11y-dark.min.css:
   every token colour 7.12:1 or more on its #2b2b2b background, computed from that file). highlight.js names its
   token classes hljs-*, so the theme's .comment rules (for readers' comments) cannot reach a code comment.

   The theme lets pre and code wrap (style-l.css "pre, code { white-space: pre-wrap }" and "code { overflow-wrap:
   anywhere }"; fixed-width-fix.css below 980px). A line of code must not wrap: the block scrolls sideways within itself
   instead, as was decided for the old highlighter on 2026-09-27. The box looks the same before the script has run,
   or without it. */
pre.code-block {
  max-width: 100%;
  margin: .5em 0 1em;
  padding: 0;
  border: 0;
  background: none;
  white-space: pre;
}

pre.code-block > code {
  display: block;
  overflow-x: auto;
  padding: 1em;
  border-radius: .3em;
  background: #2b2b2b;
  color: #f8f8f2;
  font-family: Consolas, Monaco, "Andale Mono", "Ubuntu Mono", monospace;
  font-size: 1em;
  line-height: 1.5;
  white-space: pre;
  overflow-wrap: normal;
  word-wrap: normal;
  -moz-tab-size: 4;
  tab-size: 4;
}

/* On paper: black text on white, lines wrapped rather than cut at the page edge. */
@media print {
  pre.code-block > code,
  pre.code-block > code * {
    color: #000 !important;
    background: none !important;
  }
  pre.code-block > code {
    border: 1px solid #999;
    white-space: pre-wrap;
    overflow-wrap: anywhere;
  }
}
