/* Tighter tables (inventory/ports get wide) */
.md-typeset table:not([class]) {
  font-size: 0.78rem;
}

.md-typeset table:not([class]) th,
.md-typeset table:not([class]) td {
  padding: 0.4em 0.6em;
}

/* Mermaid blocks centered + subtle border in light mode */
.mermaid {
  display: flex;
  justify-content: center;
  margin: 1.2em 0;
}

[data-md-color-scheme="default"] .mermaid svg {
  border: 1px solid var(--md-default-fg-color--lightest);
  border-radius: 4px;
  padding: 0.5em;
}

/* Code blocks slightly smaller for runbook density */
.md-typeset pre > code {
  font-size: 0.78rem;
}

/* Admonition tweak: warning a bit louder */
.md-typeset .admonition.warning,
.md-typeset details.warning {
  border-left-width: 4px;
}

/* Make the landing-page grid cards have consistent height */
.md-typeset .grid.cards > ul > li {
  min-height: 9rem;
}
