/* Ajustes de leitura para consulta rápida (Material for MkDocs) */
:root {
  --md-text-font: "Inter", system-ui, sans-serif;
}

/* Área de leitura mais larga em telas grandes */
.md-grid { max-width: 78rem; }

/* Títulos de seção com separação visual clara (facilita achar o bloco na hora) */
.md-typeset h2 {
  margin-top: 2.2em;
  padding-bottom: .25em;
  border-bottom: 2px solid var(--md-primary-fg-color);
  font-weight: 600;
}
.md-typeset h3 { margin-top: 1.7em; font-weight: 600; }

/* Tabelas: largura total, linhas alternadas e cabeçalho destacado */
.md-typeset table:not([class]) {
  display: table;
  width: 100%;
  font-size: .82rem;
  border-radius: .3rem;
  overflow: hidden;
}
.md-typeset table:not([class]) th {
  background: var(--md-primary-fg-color);
  color: var(--md-primary-bg-color);
  font-weight: 600;
}
.md-typeset table:not([class]) tbody tr:nth-child(even) {
  background: var(--md-default-fg-color--lightest);
}

/* Caixas de definição: destaque suave, sem competir com o texto */
.md-typeset .admonition.info,
.md-typeset details.info {
  border-width: 0 0 0 .3rem;
  border-radius: .2rem;
}

/* Siglas com dica: sublinhado pontilhado discreto */
.md-typeset abbr[title] { text-decoration-color: var(--md-accent-fg-color); }

/* Código mais legível */
.md-typeset code { font-size: .85em; }
.md-typeset pre > code { font-size: .8rem; line-height: 1.5; }

/* Cartões da página "Cola rápida" */
.md-typeset .grid.cards > ul > li { border-radius: .4rem; }

/* Mermaid: permite rolar diagramas largos */
.md-typeset .mermaid { overflow-x: auto; }
