/* ── Image sizing ─────────────────────────────────────────── */
/* Constrain all images to content width, prevent overflow */
.md-content img {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 1rem auto;
  border-radius: 4px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
}

/* Inline images in tables stay small */
.md-typeset table img {
  max-width: 200px;
  margin: 0;
  box-shadow: none;
}

/* ── Table improvements ──────────────────────────────────── */
.md-typeset table:not([class]) {
  font-size: 0.82rem;
  display: table;
  width: 100%;
  overflow: auto;
}

.md-typeset table:not([class]) th {
  white-space: nowrap;
}

/* ── Code block improvements ─────────────────────────────── */
.md-typeset pre {
  max-width: 100%;
  overflow-x: auto;
}

.md-typeset code {
  font-size: 0.82em;
}

/* ── Admonition polish ───────────────────────────────────── */
.md-typeset .admonition,
.md-typeset details {
  font-size: 0.85rem;
}

/* ── Content width ───────────────────────────────────────── */
.md-content {
  max-width: 960px;
}

/* ── Navigation polish ───────────────────────────────────── */
.md-nav__link {
  font-size: 0.82rem;
}
