/* The docs use the site-wide layout and theme. */
.docs-page h1 { margin-top: 1rem; }
.docs-page h2 { font-size: 1.25rem; margin-top: 2rem; }
.docs-page h3 { font-size: 1.0625rem; margin-top: 1.5rem; }
.docs-page :is(h2, h3, h4) { scroll-margin-top: 1rem; }
/* comrak's heading anchor, an empty link after the heading's text: a # shown on hover or focus. */
.docs-page .anchor { margin-left: 0.4rem; text-decoration: none; }
.docs-page .anchor::before { content: "#"; color: var(--muted); opacity: 0; }
.docs-page :is(h1, h2, h3, h4):hover .anchor::before, .docs-page .anchor:focus::before { opacity: 1; }

.docs-page pre { background: var(--card); }
.docs-page blockquote {
  margin: 1rem 0;
  padding: 0.25rem 1rem;
  border-left: 3px solid var(--warn);
  background: var(--card);
  border-radius: 0 var(--radius) var(--radius) 0;
}
/* The docs' tables hold prose, so their cells wrap; .scroll lets a wide one, such as the settings table, scroll
   on a phone rather than widen the page. */
.docs-page .scroll { margin: 1rem 0; }
.docs-page table { min-width: 36rem; font-size: 0.9375rem; }
.docs-page td code { white-space: nowrap; }

.docs-source { margin-top: 2.5rem; font-size: 0.875rem; }
