/* Marca CanvasCast (tokens do painel: frontend/src/styles/tokens.css). */
:root {
  --md-primary-fg-color: #155e75;
  --md-primary-fg-color--light: #1b7a99;
  --md-primary-fg-color--dark: #124d61;
  --md-accent-fg-color: #e11d48;
}
[data-md-color-scheme="slate"] {
  --md-primary-fg-color: #124d61;
}

/* Padrão tipográfico único: mesma escala de títulos e mesma largura em todas as páginas. */
:root {
  --md-text-font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --cc-fs-base: 1rem;
  --cc-fs-h1: 2rem;
  --cc-fs-h2: 1.5rem;
  --cc-fs-h3: 1.2rem;
}
.md-typeset {
  font-size: var(--cc-fs-base);
  line-height: 1.65;
  -webkit-text-size-adjust: none;
}
.md-typeset h1, .md-typeset h2, .md-typeset h3 {
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: 0;
  color: var(--md-default-fg-color);
}
.md-typeset h1 { font-size: var(--cc-fs-h1); margin: 0 0 1.2rem; }
.md-typeset h2 { font-size: var(--cc-fs-h2); margin: 2.2rem 0 .8rem; }
.md-typeset h3 { font-size: var(--cc-fs-h3); margin: 1.8rem 0 .6rem; }
.md-typeset p, .md-typeset ul, .md-typeset ol { margin: .8rem 0; }
.md-typeset li { margin-bottom: .3rem; }
.md-typeset table:not([class]) { font-size: .9rem; display: table; width: 100%; }
.md-typeset code, .md-typeset kbd { font-size: .875em; }
.md-content__inner { max-width: 48rem; margin-left: auto; margin-right: auto; }
@media (max-width: 44.9375em) {
  :root { --cc-fs-h1: 1.65rem; --cc-fs-h2: 1.3rem; --cc-fs-h3: 1.1rem; }
}
