:root {
  --md-text-font: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --md-code-font: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
}

[data-md-color-scheme="default"] {
  --md-primary-fg-color: #185bd5;
  --md-accent-fg-color: #1047b0;
  --md-default-fg-color: #202937;
  --md-default-fg-color--light: #536174;
  --md-code-bg-color: #f4f6f9;
}

[data-md-color-scheme="slate"] {
  --md-primary-fg-color: #8bb9ff;
  --md-accent-fg-color: #b1d1ff;
  --md-default-bg-color: #0d141d;
  --md-default-fg-color: #e8edf4;
  --md-default-fg-color--light: #a8b6c8;
  --md-code-bg-color: #141e2b;
}

.md-typeset { font-size: .82rem; line-height: 1.7; }
.md-typeset h1 { color: var(--md-default-fg-color); font-weight: 650; letter-spacing: -.035em; line-height: 1.18; }
.md-typeset h2 { font-weight: 600; letter-spacing: -.02em; margin-top: 2em; }
.md-typeset code { font-size: .83em; }
.md-typeset pre > code { font-size: .75rem; line-height: 1.65; }
.md-typeset .intro { font-size: 1.12rem; line-height: 1.5; color: var(--md-default-fg-color--light); }
.md-typeset .edition { font-size: .66rem; font-weight: 650; letter-spacing: .07em; text-transform: uppercase; color: var(--md-primary-fg-color); margin-bottom: .7rem; }
.md-typeset .edition + h1 { margin-top: 0; }
.md-typeset a:not(.md-button):hover { text-decoration: underline; text-underline-offset: .16em; }
:focus-visible { outline: 3px solid var(--md-primary-fg-color); outline-offset: 4px; }
.md-typeset :is(h1, h2, h3, h4, [id]) { scroll-margin-top: 5rem; }
.md-typeset .doc-signature { overflow-x: auto; }
.md-typeset .doc-label { opacity: 1; }
.md-typeset .doc-labels code { color: var(--md-default-fg-color--light); }
.md-typeset .md-code__button { color: var(--md-default-fg-color--light); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}
