/* Minimal MkDocs Material overrides (avoid full layout changes) */
:root {
  /* Accent aligns with existing palette */
  --accent-rgb: 125, 211, 252;
}

/* Mermaid diagrams: subtle background only in light mode */
.mermaid {
  background: var(--md-default-bg-color);
  padding: 0.5rem 0.75rem;
  border-radius: 6px;
  border: 1px solid rgba(0, 0, 0, 0.06);
}
[data-md-color-scheme="slate"] .mermaid {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

/* Improve table readability */
.md-typeset table:not([class]) th,
.md-typeset table:not([class]) td {
  vertical-align: top;
}

/* Code blocks: slightly reduce saturation for dark mode */
[data-md-color-scheme="slate"] pre code {
  filter: brightness(0.95);
}

/* Inline code: soft background for contrast */
.md-typeset code:not(pre code) {
  background: rgba(var(--accent-rgb), 0.15);
  padding: 2px 5px;
  border-radius: 4px;
}

/* Admonition titles: emphasize */
.md-typeset .admonition > .admonition-title,
.md-typeset details > summary {
  font-weight: 600;
}
