:root > * {
  --md-primary-fg-color: #1565c0;
  --md-primary-fg-color--light: #42a5f5;
  --md-primary-fg-color--dark: #0d47a1;
  --md-accent-fg-color: #2196f3;
}

.md-typeset table:not([class]) {
  font-size: 0.72rem;
}

.md-typeset .admonition.generated,
.md-typeset details.generated {
  border-color: #42a5f5;
}

/* Sidebar nav: indent level-2 items under their section label.
   Material pulls the section child nav left by -0.6rem and zeroes item
   padding (.md-nav__item--section > .md-nav) — undo that and nudge in. */
@media screen and (min-width: 76.25em) {
  .md-nav--primary .md-nav__item--section > .md-nav {
    margin-left: 0;
  }

  .md-nav--primary .md-nav__item--section > .md-nav > .md-nav__list {
    padding-left: 0.6rem;
  }
}

/* {{ story "…" }} snapshots — see scripts/docs/hooks.py */
.md-typeset figure.story-shot {
  margin: 1.2em auto;
  max-width: 640px;
  text-align: center;
}

.md-typeset figure.story-shot img {
  border-radius: 6px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.18);
}

.md-typeset figure.story-shot figcaption {
  margin-top: 0.4em;
  font-size: 0.7rem;
  opacity: 0.7;
}
