/* Spongram documentation — theme overrides.
   No external resource: fonts are the system stack (theme.font: false). */
:root {
  --md-primary-fg-color: #5b4fff;
  --md-primary-fg-color--light: #6e63ff;
  --md-primary-fg-color--dark: #4a3fe0;
  --md-accent-fg-color: #6e63ff;
}
[data-md-color-scheme="slate"] {
  --md-primary-fg-color: #4a3fe0;
  --md-accent-fg-color: #968bff;
  --md-typeset-a-color: #a39bff;
}

/* Wider content column: the architecture diagrams and the reference tables
   need the room. */
.md-grid {
  max-width: 82rem;
}

/* Embedded archify diagrams (standalone HTML files under assets/diagrams/). */
.diagram-frame {
  margin: 1.2em 0 0.4em;
  border: 1px solid var(--md-default-fg-color--lightest);
  border-radius: 0.6rem;
  overflow: hidden;
  background: #070b17;
}
.diagram-frame iframe {
  display: block;
  width: 100%;
  height: 46rem;
  border: 0;
}
.diagram-caption {
  margin-top: 0;
  font-size: 0.72rem;
  color: var(--md-default-fg-color--light);
}

.md-typeset table:not([class]) th {
  white-space: nowrap;
}
.tagline {
  font-size: 1.05rem;
  font-style: italic;
  color: var(--md-default-fg-color--light);
}
