/* Keep the ASCII-art diagrams in how-treeweave-works aligned in the browser.
 *
 * Alignment breaks when the box-drawing glyphs (┌─┬┐│└┘┼), • and → come from a
 * different font than the ASCII cells: a per-glyph fallback whose advance width
 * differs from the ASCII cell makes the boxes drift. So the whole code block
 * must render from ONE font that carries all of them at cell width. We do NOT
 * pull a webfont here: Google Fonts subsets JetBrains Mono and drops the
 * box-drawing block (U+2500–257F) and →, which reintroduces the split. Every
 * font below covers the full box-drawing block on its platform. */
.rst-content pre,
.rst-content pre.literal-block,
.rst-content div[class^="highlight"] pre,
.rst-content code,
.rst-content tt,
code,
pre,
kbd,
samp {
  font-family: ui-monospace, "DejaVu Sans Mono", "Liberation Mono",
               "Cascadia Mono", Menlo, Consolas, monospace !important;
  /* Box-art relies on a fixed grid: kill ligatures and inherited spacing. */
  font-variant-ligatures: none;
  font-feature-settings: "liga" 0, "calt" 0;
  letter-spacing: 0;
}

/* A consistent line-height keeps the vertical box edges (│) continuous between
 * rows; the RTD theme's default leaves faint gaps between stacked verticals. */
.rst-content pre,
.rst-content div[class^="highlight"] pre {
  line-height: 1.3;
}
