/*
 * SPDX-License-Identifier: Apache-2.0
 * SPDX-FileCopyrightText: Copyright 2026 avatarsd LLC
 *
 * Light, restrained touches layered on the stock furo theme. Furo's own palette
 * and typography are left untouched — links, headings, and body text keep the
 * theme's defaults (so visited/unvisited links stay consistent and legible in
 * both light and dark). We only tune a few things that genuinely help a
 * system-library reference: tabular figures in tables, softly-framed code and
 * diagram blocks, and a monospace stack for inline/inline-block code.
 */

/* ---- monospace stack for code (does not touch body/heading fonts) --------- */
:root {
  --font-stack--monospace: "SF Mono", "JetBrains Mono", "IBM Plex Mono",
    ui-monospace, Menlo, Consolas, monospace;
}

/* ---- code blocks: a soft frame, comfortable line-height ------------------- */
.highlight pre,
div[class*="highlight-"] pre {
  border-radius: 8px;
  line-height: 1.6;
}

/* ---- tables: dense, tabular figures --------------------------------------- */
.content table.docutils td,
.content table.docutils th {
  font-variant-numeric: tabular-nums;
}

/* ---- Breathe / Doxygen API signatures embedded in the pages --------------- */
/* Keep the generated C++ declarations reading as a tidy signature block, using
   furo's own secondary background + border tokens (theme-adaptive). */
dl.cpp > dt {
  background: var(--color-background-secondary);
  border-radius: 6px;
  padding: 0.4rem 0.7rem;
}

/* ---- mermaid diagrams: centre them, give a little breathing room ---------- */
.mermaid, div.mermaid {
  margin: 1.4rem 0;
  text-align: center;
}
