/*
 * SurfaceLens documentation theme.
 *
 * Colour values come from the product's design tokens
 * (packages/surfacelens-design, r1 palette): warm graphite neutrals (OKLCH hue 75,
 * near-zero chroma) and the single accent family (OKLCH hue 264). State tones are
 * used only for HTTP methods and the required marker.
 * Type: IBM Plex Sans and IBM Plex Mono, self-hosted (SIL OFL, see fonts/OFL.txt).
 */

@font-face { font-family: "Plex"; font-weight: 400; font-style: normal; font-display: swap; src: url("fonts/ibm-plex-sans-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Plex"; font-weight: 400; font-style: italic; font-display: swap; src: url("fonts/ibm-plex-sans-latin-400-italic.woff2") format("woff2"); }
@font-face { font-family: "Plex"; font-weight: 500; font-style: normal; font-display: swap; src: url("fonts/ibm-plex-sans-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Plex"; font-weight: 600; font-style: normal; font-display: swap; src: url("fonts/ibm-plex-sans-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Plex Mono"; font-weight: 400; font-style: normal; font-display: swap; src: url("fonts/ibm-plex-mono-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Plex Mono"; font-weight: 500; font-style: normal; font-display: swap; src: url("fonts/ibm-plex-mono-latin-500-normal.woff2") format("woff2"); }

/* ------------------------------------------------------------------ tokens */

:root,
[data-md-color-scheme="default"] {
  --sl-bg: #fefcf9;
  --sl-bg-sunken: #f6f4f1;
  --sl-bg-code: #f6f4f1;
  --sl-bg-raised: #ffffff;
  --sl-fg: #1f1e1c;
  --sl-fg-2: #4e4d4b;
  --sl-fg-3: #6a6966;
  --sl-fg-4: #a09e9c;
  --sl-line: rgba(4, 3, 3, 0.12);
  --sl-line-soft: rgba(4, 3, 3, 0.075);
  --sl-line-strong: rgba(4, 3, 3, 0.2);
  --sl-wash: rgba(4, 3, 3, 0.04);
  --sl-accent: #3363d2;
  --sl-accent-fg: #2b59c8;
  --sl-accent-wash: rgba(51, 99, 210, 0.09);
  --sl-get: #007129;
  --sl-post: #2b59c8;
  --sl-put: #8e5400;
  --sl-delete: #a12623;
  --sl-req: var(--sl-fg-2);
  --sl-hl-string: #2f6b3f;
  --sl-hl-number: #8e5400;
  --sl-hl-key: #1f1e1c;
  --sl-hl-keyword: #2b59c8;
  --sl-hl-comment: #8a8885;
  --sl-hl-punct: #6a6966;
  --sl-diagram-fill: #ffffff;
  color-scheme: light;
}

[data-md-color-scheme="slate"] {
  --sl-bg: #100f0d;
  --sl-bg-sunken: #0c0b09;
  --sl-bg-code: #161412;
  --sl-bg-raised: #1c1b19;
  --sl-fg: #ebe9e6;
  --sl-fg-2: #b4b2af;
  --sl-fg-3: #9d9b98;
  --sl-fg-4: #5c5a58;
  --sl-line: rgba(255, 255, 255, 0.105);
  --sl-line-soft: rgba(255, 255, 255, 0.065);
  --sl-line-strong: rgba(255, 255, 255, 0.17);
  --sl-wash: rgba(255, 255, 255, 0.045);
  --sl-accent: #6f93e8;
  --sl-accent-fg: #94b7fe;
  --sl-accent-wash: rgba(65, 109, 207, 0.2);
  --sl-get: #79cd91;
  --sl-post: #94b7fe;
  --sl-put: #fdbc6f;
  --sl-delete: #fb988d;
  --sl-req: var(--sl-fg-2);
  --sl-hl-string: #9fd3ae;
  --sl-hl-number: #f2c48d;
  --sl-hl-key: #ebe9e6;
  --sl-hl-keyword: #94b7fe;
  --sl-hl-comment: #7d7b78;
  --sl-hl-punct: #9d9b98;
  --sl-diagram-fill: #161412;
  color-scheme: dark;
}

:root,
[data-md-color-scheme] {
  --sl-sans: "Plex", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --sl-mono: "Plex Mono", ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  --sl-measure: 44rem;
  --sl-radius: 6px;
  --sl-header-h: 56px;

  --md-text-font: "Plex";
  --md-code-font: "Plex Mono";
  --md-text-font-family: var(--sl-sans);
  --md-code-font-family: var(--sl-mono);
  --md-default-bg-color: var(--sl-bg);
  --md-default-bg-color--light: var(--sl-bg);
  --md-default-bg-color--lighter: var(--sl-bg);
  --md-default-bg-color--lightest: var(--sl-bg);
  --md-default-fg-color: var(--sl-fg);
  --md-default-fg-color--light: var(--sl-fg-2);
  --md-default-fg-color--lighter: var(--sl-fg-3);
  --md-default-fg-color--lightest: var(--sl-line);
  --md-primary-fg-color: var(--sl-bg);
  --md-primary-fg-color--light: var(--sl-bg);
  --md-primary-fg-color--dark: var(--sl-bg);
  --md-primary-bg-color: var(--sl-fg);
  --md-primary-bg-color--light: var(--sl-fg-2);
  --md-accent-fg-color: var(--sl-accent-fg);
  --md-accent-fg-color--transparent: var(--sl-accent-wash);
  --md-accent-bg-color: var(--sl-bg);
  --md-typeset-color: var(--sl-fg);
  --md-typeset-a-color: var(--sl-accent-fg);
  --md-code-bg-color: var(--sl-bg-code);
  --md-code-bg-color--light: var(--sl-bg-code);
  --md-code-bg-color--lighter: var(--sl-bg-code);
  --md-code-fg-color: var(--sl-fg);
  --md-code-hl-color: var(--sl-accent-wash);
  --md-code-hl-color--light: var(--sl-accent-wash);
  --md-code-hl-string-color: var(--sl-hl-string);
  --md-code-hl-number-color: var(--sl-hl-number);
  --md-code-hl-keyword-color: var(--sl-hl-keyword);
  --md-code-hl-constant-color: var(--sl-hl-keyword);
  --md-code-hl-function-color: var(--sl-fg);
  --md-code-hl-name-color: var(--sl-hl-key);
  --md-code-hl-operator-color: var(--sl-hl-punct);
  --md-code-hl-punctuation-color: var(--sl-hl-punct);
  --md-code-hl-comment-color: var(--sl-hl-comment);
  --md-code-hl-generic-color: var(--sl-fg-2);
  --md-code-hl-variable-color: var(--sl-fg);
  --md-code-hl-special-color: var(--sl-hl-keyword);
  --md-shadow-z1: none;
  --md-shadow-z2: 0 0 0 1px var(--sl-line), 0 8px 24px rgba(0, 0, 0, 0.08);
  --md-shadow-z3: 0 0 0 1px var(--sl-line), 0 12px 32px rgba(0, 0, 0, 0.12);
}

/* ------------------------------------------------------------------ base */

html {
  font-size: 125%;
}

body {
  background: var(--sl-bg);
  color: var(--sl-fg);
  font-family: var(--sl-sans);
  font-feature-settings: "kern";
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

::selection {
  background: var(--sl-accent-wash);
}

:focus-visible {
  outline: 2px solid var(--sl-accent);
  outline-offset: 2px;
}

/* ------------------------------------------------------------------ header */

.md-header.sl-header {
  position: sticky;
  top: 0;
  height: var(--sl-header-h);
  background: color-mix(in srgb, var(--sl-bg) 92%, transparent);
  -webkit-backdrop-filter: saturate(1.4) blur(10px);
  backdrop-filter: saturate(1.4) blur(10px);
  color: var(--sl-fg);
  box-shadow: inset 0 -1px 0 var(--sl-line-soft);
  border: 0;
}

.sl-header__inner {
  display: flex;
  align-items: center;
  gap: 4px;
  height: var(--sl-header-h);
  max-width: none;
  padding: 0 20px;
}

.sl-header__menu {
  display: none;
  margin: 0 4px 0 -8px;
  color: var(--sl-fg-2);
}

.sl-brand {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--sl-fg);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -0.01em;
  white-space: nowrap;
}

.sl-brand:hover {
  color: var(--sl-fg);
}

.sl-mark {
  display: block;
  color: var(--sl-fg);
}

.sl-brand__section {
  color: var(--sl-fg-3);
  font-weight: 400;
  padding-left: 9px;
  border-left: 1px solid var(--sl-line);
}

.sl-preview {
  margin-left: 14px;
  padding: 2px 8px;
  border: 1px solid var(--sl-line);
  border-radius: 999px;
  color: var(--sl-fg-3);
  font: 500 11.5px/18px var(--sl-mono);
  letter-spacing: 0.01em;
  white-space: nowrap;
}

.sl-preview:hover {
  color: var(--sl-fg);
  border-color: var(--sl-line-strong);
}

.sl-header__spacer {
  flex: 1;
}

.sl-header__links {
  display: flex;
  gap: 4px;
  margin-right: 8px;
}

.sl-header__links a {
  padding: 6px 10px;
  border-radius: var(--sl-radius);
  color: var(--sl-fg-2);
  font-size: 14px;
}

.sl-header__links a:hover {
  color: var(--sl-fg);
  background: var(--sl-wash);
}

.sl-header .md-header__button.md-icon {
  color: var(--sl-fg-3);
  padding: 6px;
  margin: 0;
}

.sl-header .md-header__button.md-icon:hover {
  color: var(--sl-fg);
  opacity: 1;
}

.sl-header .md-header__button.md-icon svg {
  width: 18px;
  height: 18px;
}

.sl-header .md-header__option {
  margin: 0;
}

/* Search trigger */
.sl-header .md-search {
  margin: 0 6px 0 0;
}

.sl-header .md-search__button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: 220px;
  height: 32px;
  padding: 0 10px;
  border: 1px solid var(--sl-line);
  border-radius: var(--sl-radius);
  background: var(--sl-bg-raised);
  color: var(--sl-fg-3);
  font: 400 13.5px var(--sl-sans);
  text-align: left;
  box-shadow: none;
  cursor: pointer;
}

.sl-header .md-search__button::before {
  content: "";
  width: 14px;
  height: 14px;
  flex: none;
  background: currentColor;
  -webkit-mask: var(--md-search-icon) center / contain no-repeat;
  mask: var(--md-search-icon) center / contain no-repeat;
}

.sl-header .md-search__button::after {
  content: "/";
  margin-left: auto;
  padding: 0 5px;
  border: 1px solid var(--sl-line);
  border-radius: 4px;
  font: 11px/16px var(--sl-mono);
  color: var(--sl-fg-3);
}

.sl-header .md-search__button:hover {
  border-color: var(--sl-line-strong);
  color: var(--sl-fg-2);
}

@media screen and (max-width: 76.234375em) {
  .sl-header__menu {
    display: inline-flex;
  }
  .sl-header__links {
    display: none;
  }
}

@media screen and (max-width: 44.984375em) {
  .sl-header__inner {
    padding: 0 12px;
  }
  .sl-preview {
    display: none;
  }
  .sl-header .md-search__button {
    width: 32px;
    padding: 0;
    justify-content: center;
    font-size: 0;
  }
  .sl-header .md-search__button::after {
    display: none;
  }
}

/* ------------------------------------------------------------------ layout */

.md-container {
  padding-top: 0;
}

.md-main__inner.md-grid {
  max-width: 1440px;
  margin-top: 0;
  padding: 0 8px;
}

.md-main__inner {
  height: auto;
}

.md-content__inner {
  margin: 0 40px 64px;
  padding-top: 40px;
}

.md-content__inner > :first-child {
  margin-top: 0;
}

/* Prose pages keep a readable measure. */
.md-content__inner.md-typeset > * {
  max-width: var(--sl-measure);
}

/* ---- primary sidebar */

.md-sidebar {
  top: var(--sl-header-h);
  padding: 28px 0 24px;
}

.md-sidebar--primary {
  width: 248px;
}

.md-sidebar__scrollwrap {
  margin: 0;
  scrollbar-width: thin;
  scrollbar-color: var(--sl-line) transparent;
}

@media screen and (min-width: 76.25em) {
  .md-sidebar--primary {
    border-right: 1px solid var(--sl-line-soft);
    height: calc(100vh - var(--sl-header-h));
  }
  .md-sidebar--primary .md-sidebar__scrollwrap {
    height: 100%;
  }
}

.md-nav {
  font-size: 14px;
  line-height: 1.4;
}

.md-sidebar--primary .md-nav__title {
  display: none;
}

.md-nav__list {
  padding: 0;
}

.md-sidebar--primary .md-nav--primary > .md-nav__list {
  padding: 0 16px 0 20px;
}

.md-nav__item {
  padding: 0;
}

.md-nav__link {
  margin: 0;
  padding: 5px 10px;
  border-radius: 5px;
  color: var(--sl-fg-2);
  transition: none;
}

.md-nav__link:hover,
.md-nav__link:focus {
  color: var(--sl-fg);
  background: var(--sl-wash);
}

.md-nav__link--active,
.md-nav__item .md-nav__link--active {
  color: var(--sl-fg);
  font-weight: 500;
  background: var(--sl-wash);
}

.md-nav__link--active::before {
  display: none;
}

/* Section titles */
.md-nav--primary .md-nav__item--section {
  margin: 22px 0 0;
}

.md-nav--primary .md-nav__item--section > .md-nav__link,
.md-nav--primary .md-nav__item--section > label.md-nav__link {
  padding: 0 10px 6px;
  color: var(--sl-fg);
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.01em;
  background: none;
  pointer-events: none;
}

.md-nav--primary .md-nav__item--section > .md-nav__link .md-nav__icon {
  display: none;
}

.md-nav--primary .md-nav__item--section > .md-nav {
  margin: 0;
}

.md-nav--primary .md-nav__item--section > .md-nav > .md-nav__list {
  padding: 0;
  border: 0;
}

.md-nav__item--nested > .md-nav {
  border: 0;
  margin: 0;
}

.md-nav--primary .md-nav__item--section .md-nav__item {
  margin: 0;
}

/* ---- table of contents */

.md-sidebar--secondary {
  width: 232px;
}

.md-sidebar--secondary .md-nav__title {
  display: block;
  padding: 0 0 8px 12px;
  background: none;
  box-shadow: none;
  color: var(--sl-fg);
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.01em;
  text-transform: none;
}

.md-sidebar--secondary .md-nav__title .md-nav__icon {
  display: none;
}

.md-sidebar--secondary .md-nav {
  font-size: 13px;
}

.md-sidebar--secondary .md-nav__list {
  border-left: 1px solid var(--sl-line-soft);
}

.md-sidebar--secondary .md-nav__link {
  margin-left: -1px;
  padding: 4px 12px;
  border-left: 1px solid transparent;
  border-radius: 0;
  color: var(--sl-fg-3);
  background: none;
}

.md-sidebar--secondary .md-nav__link:hover {
  color: var(--sl-fg);
  background: none;
}

.md-sidebar--secondary .md-nav__link--active {
  color: var(--sl-fg);
  font-weight: 400;
  border-left-color: var(--sl-fg);
  background: none;
}

.md-sidebar--secondary .md-nav .md-nav .md-nav__link {
  padding-left: 24px;
}

.md-sidebar--secondary .md-nav .md-nav .md-nav__list {
  border-left: 0;
}

.md-sidebar-button__wrapper {
  display: none;
}

/* Mobile drawer */
@media screen and (max-width: 76.234375em) {
  [dir] .md-sidebar--primary {
    top: 0;
    width: 300px;
    height: 100%;
    left: -300px;
    padding: 0;
    border-radius: 0;
    background: var(--sl-bg);
    box-shadow: 1px 0 0 var(--sl-line);
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
  }
  [data-md-toggle="drawer"]:checked ~ .md-container .md-sidebar--primary {
    transform: translateX(300px);
  }
  .md-sidebar--primary .md-sidebar__scrollwrap {
    height: 100%;
    padding: 20px 0;
  }
  .md-sidebar--primary .md-nav--primary > .md-nav__title {
    display: none;
  }
  .md-nav--primary .md-nav__item--section > .md-nav {
    display: block;
    position: static;
    transform: none;
    visibility: visible;
    opacity: 1;
    background: none;
  }
  .md-nav--primary .md-nav__item--section > .md-nav__link {
    pointer-events: none;
  }
  .md-overlay {
    background: rgba(0, 0, 0, 0.35);
  }
}

/* ---- footer */

.md-footer {
  background: var(--sl-bg);
  color: var(--sl-fg-2);
  border-top: 1px solid var(--sl-line-soft);
}

.md-footer__inner {
  max-width: 1440px;
  padding: 20px 28px;
}

.md-footer__link {
  padding: 0;
  opacity: 1;
  color: var(--sl-fg-2);
}

.md-footer__link:hover {
  color: var(--sl-fg);
}

.md-footer__title {
  font-size: 15px;
  font-weight: 500;
}

.md-footer__direction {
  font-size: 12.5px;
  color: var(--sl-fg-3);
  opacity: 1;
}

.md-footer__button {
  display: none;
}

.md-footer-meta {
  background: var(--sl-bg);
  border-top: 1px solid var(--sl-line-soft);
}

.md-footer-meta__inner {
  max-width: 1440px;
  padding: 0 28px;
}

.sl-footer {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  width: 100%;
  padding: 18px 0;
  color: var(--sl-fg-3);
  font-size: 13px;
}

.sl-footer p {
  margin: 0;
}

.sl-footer a,
.md-footer-meta.md-typeset .sl-footer a {
  color: var(--sl-fg-2);
}

.sl-footer a:hover,
.md-footer-meta.md-typeset .sl-footer a:hover {
  color: var(--sl-fg);
}

.md-copyright {
  width: 100%;
  margin: 0;
}

/* ------------------------------------------------------------------ typography */

.md-typeset {
  font-size: 16px;
  line-height: 1.65;
  letter-spacing: 0;
  color: var(--sl-fg);
}

.md-typeset p,
.md-typeset ul,
.md-typeset ol,
.md-typeset dl {
  margin: 0 0 1.1em;
}

.md-typeset h1,
.md-typeset h2,
.md-typeset h3,
.md-typeset h4,
[data-md-color-scheme="slate"] .md-typeset h1,
[data-md-color-scheme="slate"] .md-typeset h2,
[data-md-color-scheme="slate"] .md-typeset h3,
[data-md-color-scheme="slate"] .md-typeset h4 {
  color: var(--sl-fg);
  font-family: var(--sl-sans);
}

.md-typeset h1 {
  margin: 0 0 16px;
  font-size: 34px;
  line-height: 1.18;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.md-typeset h2 {
  margin: 56px 0 14px;
  font-size: 23px;
  line-height: 1.3;
  font-weight: 600;
  letter-spacing: -0.012em;
}

.md-typeset h3 {
  margin: 36px 0 10px;
  font-size: 18px;
  line-height: 1.4;
  font-weight: 600;
  letter-spacing: -0.006em;
}

.md-typeset h4 {
  margin: 28px 0 8px;
  font-size: 15px;
  line-height: 1.4;
  font-weight: 600;
}

.md-typeset .headerlink {
  color: var(--sl-fg-4);
  font-weight: 400;
  margin-left: 0.35em;
}

.md-typeset .headerlink:hover,
.md-typeset [id]:target .headerlink {
  color: var(--sl-accent-fg);
}

.md-typeset a {
  color: var(--sl-accent-fg);
  text-decoration: none;
}

.md-typeset a:hover {
  color: var(--sl-accent-fg);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.md-typeset strong {
  font-weight: 600;
}

.md-typeset .lede {
  margin: 0 0 28px;
  color: var(--sl-fg-2);
  font-size: 19px;
  line-height: 1.55;
  letter-spacing: -0.004em;
}

.md-typeset ul li,
.md-typeset ol li {
  margin-bottom: 0.4em;
}

.md-typeset ol li,
.md-typeset ul li {
  margin-left: 1.2em;
}

.md-typeset hr {
  border-bottom: 1px solid var(--sl-line-soft);
  margin: 48px 0;
}

.md-typeset kbd {
  font-family: var(--sl-mono);
  font-size: 0.8em;
  box-shadow: inset 0 -1px 0 var(--sl-line-strong);
  background: var(--sl-bg-code);
  color: var(--sl-fg);
}

/* Inline code */
.md-typeset code {
  font-family: var(--sl-mono);
  font-size: 0.86em;
  padding: 0.12em 0.36em;
  border-radius: 4px;
  background: var(--sl-bg-code);
  box-shadow: inset 0 0 0 1px var(--sl-line-soft);
  color: var(--sl-fg);
  word-break: normal;
}

.md-typeset a code {
  color: inherit;
}

/* Tables */
.md-typeset table:not([class]) {
  display: table;
  width: 100%;
  font-size: 14.5px;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  background: none;
}

.md-typeset table:not([class]) th {
  min-width: 0;
  padding: 8px 16px 8px 0;
  font-weight: 600;
  font-size: 13px;
  color: var(--sl-fg-2);
  background: none;
  border-bottom: 1px solid var(--sl-line);
}

.md-typeset table:not([class]) td {
  padding: 10px 16px 10px 0;
  border-top: 0;
  border-bottom: 1px solid var(--sl-line-soft);
  vertical-align: top;
}

.md-typeset table:not([class]) tbody tr:hover {
  background: none;
  box-shadow: none;
}

.md-typeset__scrollwrap,
.md-typeset__table {
  margin: 0 0 1.4em;
  padding: 0;
}

/* ------------------------------------------------------------------ code blocks */

.md-typeset pre {
  margin: 0;
}

.md-typeset .highlight,
.md-typeset pre > code {
  border-radius: var(--sl-radius);
}

.md-typeset div.highlight {
  position: relative;
  margin: 0 0 1.4em;
  border: 1px solid var(--sl-line);
  border-radius: var(--sl-radius);
  background: var(--sl-bg-code);
}

.md-typeset pre > code {
  padding: 14px 16px;
  font-size: 13.25px;
  line-height: 1.65;
  background: none;
  box-shadow: none;
  border: 0;
  scrollbar-width: thin;
  scrollbar-color: var(--sl-line-strong) transparent;
}

.md-typeset .highlight span.filename {
  display: block;
  margin: 0;
  padding: 7px 16px;
  border-bottom: 1px solid var(--sl-line);
  background: none;
  color: var(--sl-fg-3);
  font: 500 12.5px/1.5 var(--sl-mono);
}

.md-typeset .highlight span.filename::before {
  display: none;
}

.md-typeset .highlight .hll {
  background: var(--sl-accent-wash);
  margin: 0 -16px;
  padding: 0 16px;
}

/* Token colours: few, quiet. */
.highlight .s, .highlight .s1, .highlight .s2, .highlight .sb, .highlight .sd,
.highlight .se, .highlight .sh, .highlight .si, .highlight .sx, .highlight .sa,
.highlight .sc, .highlight .dl { color: var(--sl-hl-string); }
.highlight .m, .highlight .mi, .highlight .mf, .highlight .mh, .highlight .mo,
.highlight .il { color: var(--sl-hl-number); }
.highlight .k, .highlight .kc, .highlight .kd, .highlight .kn, .highlight .kp,
.highlight .kr, .highlight .kt, .highlight .ow { color: var(--sl-hl-keyword); }
.highlight .nt, .language-json .highlight .nt { color: var(--sl-hl-key); }
.highlight .c, .highlight .c1, .highlight .cm, .highlight .ch, .highlight .cs,
.highlight .cp { color: var(--sl-hl-comment); font-style: normal; }
.highlight .p, .highlight .o { color: var(--sl-hl-punct); }
.highlight .nv, .highlight .nb, .highlight .nx, .highlight .n, .highlight .na,
.highlight .nf, .highlight .fm, .highlight .bp, .highlight .nc, .highlight .nn,
.highlight .vc, .highlight .vg, .highlight .vi { color: var(--sl-fg); }
.highlight .gp { color: var(--sl-fg-3); user-select: none; }
.highlight .go { color: var(--sl-fg-2); }

/* Copy button */
.md-typeset .md-code__nav {
  top: 7px;
  right: 7px;
  padding: 0;
  background: none;
}

.md-typeset .md-code__button,
.md-typeset .md-clipboard {
  width: 28px;
  height: 28px;
  border-radius: 5px;
  color: var(--sl-fg-3);
  background: var(--sl-bg-code);
  opacity: 0;
  transition: opacity 0.12s;
}

.md-typeset .highlight:hover .md-code__button,
.md-typeset .highlight:hover .md-clipboard,
.md-typeset .md-code__button:focus-visible,
.md-typeset .md-clipboard:focus-visible {
  opacity: 1;
}

.md-typeset .md-code__button:hover,
.md-typeset .md-clipboard:hover {
  color: var(--sl-fg);
  background: var(--sl-wash);
}

.md-typeset .md-code__button::after,
.md-typeset .md-clipboard::after {
  width: 15px;
  height: 15px;
  background-color: currentColor;
}

@media (hover: none) {
  .md-typeset .md-code__button,
  .md-typeset .md-clipboard {
    opacity: 1;
  }
}

/* ---- language tabs */

.md-typeset .tabbed-set {
  margin: 0 0 1.4em;
  border: 1px solid var(--sl-line);
  border-radius: var(--sl-radius);
  background: var(--sl-bg-code);
}

.md-typeset .tabbed-labels {
  display: flex;
  gap: 2px;
  padding: 0 8px;
  border-bottom: 1px solid var(--sl-line);
  box-shadow: none;
  overflow-x: auto;
  scrollbar-width: none;
}

.md-typeset .tabbed-labels > label {
  margin: 0;
  padding: 9px 8px 8px;
  border-bottom: 2px solid transparent;
  color: var(--sl-fg-3);
  font: 500 12.5px/1.4 var(--sl-sans);
  letter-spacing: 0.005em;
  white-space: nowrap;
  cursor: pointer;
  width: auto;
}

.md-typeset .tabbed-labels > label:hover {
  color: var(--sl-fg);
}

.md-typeset .tabbed-labels::before {
  background: var(--sl-fg);
  height: 1.5px;
  bottom: -1px;
}

.md-typeset .tabbed-set > input:checked + label,
.md-typeset .tabbed-alternate > input:nth-child(1):checked ~ .tabbed-labels > :nth-child(1),
.md-typeset .tabbed-alternate > input:nth-child(2):checked ~ .tabbed-labels > :nth-child(2),
.md-typeset .tabbed-alternate > input:nth-child(3):checked ~ .tabbed-labels > :nth-child(3),
.md-typeset .tabbed-alternate > input:nth-child(4):checked ~ .tabbed-labels > :nth-child(4) {
  color: var(--sl-fg);
}

.md-typeset .tabbed-content {
  box-shadow: none;
}

.md-typeset .tabbed-block > div.highlight,
.md-typeset .tabbed-block > .highlight {
  margin: 0;
  border: 0;
  border-radius: 0 0 var(--sl-radius) var(--sl-radius);
  background: none;
}

.md-typeset .tabbed-block > p:last-child,
.md-typeset .tabbed-block > :last-child {
  margin-bottom: 0;
}

.md-typeset .tabbed-block > p {
  margin: 14px 16px;
  font-size: 15px;
}

.md-typeset .tabbed-control {
  display: none;
}

/* ------------------------------------------------------------------ admonitions */

.md-typeset .admonition,
.md-typeset details {
  margin: 1.6em 0;
  padding: 0 0 0 18px;
  border: 0;
  border-left: 2px solid var(--sl-line-strong);
  border-radius: 0;
  background: none;
  box-shadow: none;
  font-size: 15px;
  color: var(--sl-fg-2);
}

.md-typeset .admonition > .admonition-title,
.md-typeset details > summary {
  margin: 0 0 4px;
  padding: 0;
  background: none;
  border: 0;
  color: var(--sl-fg);
  font-weight: 600;
  font-size: 15px;
}

.md-typeset .admonition-title::before,
.md-typeset summary::before {
  display: none;
}

.md-typeset .admonition > :last-child {
  margin-bottom: 0;
}

.md-typeset .admonition.preview {
  border-left-color: var(--sl-accent);
}

/* ------------------------------------------------------------------ reference */

.md-typeset .ref-head {
  max-width: var(--sl-measure);
}

.md-typeset .endpoint-index {
  margin: 0 0 8px;
  padding: 6px 0;
  list-style: none;
  border: 1px solid var(--sl-line);
  border-radius: var(--sl-radius);
  font-size: 13.5px;
}

.md-typeset .endpoint-index li {
  margin: 0;
}

.md-typeset .endpoint-index a {
  display: flex;
  gap: 14px;
  align-items: baseline;
  padding: 4px 14px;
  color: var(--sl-fg-2);
}

.md-typeset .endpoint-index a:hover {
  background: var(--sl-wash);
  color: var(--sl-fg);
  text-decoration: none;
}

.md-typeset .endpoint-index code {
  padding: 0;
  background: none;
  box-shadow: none;
  color: inherit;
  font-size: 13px;
}

.md-typeset .endpoint-index .method {
  width: 48px;
  flex: none;
}

.md-typeset .method {
  font: 600 11.5px/1 var(--sl-mono);
  letter-spacing: 0.02em;
}

.method-get { color: var(--sl-get); }
.method-post { color: var(--sl-post); }
.method-put, .method-patch { color: var(--sl-put); }
.method-delete { color: var(--sl-delete); }

.md-typeset.md-content__inner > .op,
.md-typeset .op {
  max-width: none;
}

.md-typeset .op {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 48px;
  margin: 0 0 24px;
  padding-bottom: 40px;
  border-bottom: 1px solid var(--sl-line-soft);
}

.md-typeset h2 + .op {
  margin-top: 0;
}

.md-typeset .op-doc {
  min-width: 0;
  font-size: 15px;
}

.md-typeset .op-code {
  min-width: 0;
  position: sticky;
  top: calc(var(--sl-header-h) + 20px);
  align-self: start;
}

.md-typeset .op-code .tabbed-set {
  margin-bottom: 16px;
}

.md-typeset .op-line {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin: 0 0 16px;
  font-size: 14px;
}

.md-typeset .op-path {
  padding: 0;
  background: none;
  box-shadow: none;
  font-size: 14px;
  color: var(--sl-fg);
  word-break: break-all;
}

.md-typeset .op-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 14px;
  margin: 0 0 8px;
  color: var(--sl-fg-3);
  font-size: 13.5px;
}

.md-typeset .op-meta code {
  font-size: 12.5px;
}

.md-typeset .release {
  padding: 1px 8px;
  border: 1px solid var(--sl-line);
  border-radius: 999px;
  color: var(--sl-fg-3);
  font: 500 11.5px/18px var(--sl-mono);
}

.md-typeset .release:hover {
  text-decoration: none;
  color: var(--sl-fg);
  border-color: var(--sl-line-strong);
}

.md-typeset .op-h {
  margin: 28px 0 0;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--sl-line);
  font-size: 13px;
  font-weight: 600;
  color: var(--sl-fg);
  letter-spacing: 0.01em;
}

.md-typeset dl.fields {
  margin: 0;
}

.md-typeset dl.fields > dt {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 4px 10px;
  margin: 0;
  padding: 12px 0 0;
  border-top: 1px solid var(--sl-line-soft);
  font-weight: 400;
}

.md-typeset dl.fields > dt:first-child {
  border-top: 0;
}

.md-typeset dl.fields > dd {
  margin: 2px 0 0;
  padding: 0 0 12px;
  color: var(--sl-fg-2);
  font-size: 14.5px;
  line-height: 1.6;
}

.md-typeset dl.fields > dd:empty {
  padding-bottom: 8px;
}

.md-typeset .f-name {
  padding: 0;
  background: none;
  box-shadow: none;
  font-size: 13.5px;
  font-weight: 500;
  color: var(--sl-fg);
}

.md-typeset .f-type {
  color: var(--sl-fg-3);
  font-size: 12.5px;
}

.md-typeset .f-req {
  color: var(--sl-req);
  font-size: 12px;
  font-weight: 500;
}

.md-typeset dl.fields dd code {
  font-size: 12.5px;
}

.md-typeset details.f-children {
  margin: 10px 0 0;
  padding: 0;
  border: 1px solid var(--sl-line);
  border-radius: var(--sl-radius);
  font-size: 14px;
}

.md-typeset details.f-children > summary {
  margin: 0;
  padding: 6px 12px;
  color: var(--sl-fg-2);
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  list-style: none;
}

.md-typeset details.f-children > summary::-webkit-details-marker {
  display: none;
}

.md-typeset details.f-children > summary::after {
  content: "+";
  float: right;
  position: static;
  width: auto;
  height: auto;
  background: none;
  -webkit-mask: none;
  mask: none;
  color: var(--sl-fg-3);
  font-family: var(--sl-mono);
  transform: none;
}

.md-typeset details.f-children[open] > summary::after {
  content: "−";
}

.md-typeset details.f-children[open] > summary {
  border-bottom: 1px solid var(--sl-line-soft);
}

.md-typeset details.f-children > dl.fields,
.md-typeset details.f-children > .variants {
  padding: 0 12px;
}

.md-typeset .variant-title {
  margin: 12px 0 0;
  font: 500 12.5px var(--sl-mono);
  color: var(--sl-fg-2);
}

.md-typeset .op-status {
  margin: 12px 0 8px;
  font-size: 14.5px;
  color: var(--sl-fg-2);
}

.md-typeset .op-status .status,
.md-typeset .code-caption code {
  padding: 1px 6px;
  font-size: 12px;
  color: var(--sl-fg);
}

.md-typeset .code-caption {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 8px;
  color: var(--sl-fg-3);
  font-size: 12.5px;
  font-weight: 500;
}

.md-typeset .op-code div.highlight pre > code {
  max-height: 560px;
}

.md-typeset .op-object .op-code div.highlight pre > code {
  max-height: 640px;
}

/* Reference pages use the full width and drop the right-hand table of contents. */
:root:has(meta[name="sl-layout"][content="wide"]) .md-content__inner.md-typeset > * {
  max-width: none;
}

:root:has(meta[name="sl-layout"][content="wide"]) .md-content__inner.md-typeset > .ref-head,
:root:has(meta[name="sl-layout"][content="wide"]) .md-content__inner.md-typeset > p,
:root:has(meta[name="sl-layout"][content="wide"]) .md-content__inner.md-typeset > ul,
:root:has(meta[name="sl-layout"][content="wide"]) .md-content__inner.md-typeset > ol {
  max-width: var(--sl-measure);
}

@media screen and (max-width: 75em) {
  .md-typeset .op {
    grid-template-columns: minmax(0, 1fr);
    gap: 20px;
  }
  .md-typeset .op-code {
    position: static;
  }
}

/* ------------------------------------------------------------------ components for prose pages */

/* Numbered steps */
.md-typeset .steps {
  counter-reset: step;
  margin: 32px 0;
  padding: 0;
  list-style: none;
}

.md-typeset .steps > h2,
.md-typeset .steps > h3 {
  counter-increment: step;
  position: relative;
  margin-top: 44px;
  padding-left: 40px;
}

.md-typeset .steps > h2::before,
.md-typeset .steps > h3::before {
  content: counter(step);
  position: absolute;
  left: 0;
  top: 0.1em;
  width: 24px;
  height: 24px;
  border: 1px solid var(--sl-line-strong);
  border-radius: 50%;
  color: var(--sl-fg-2);
  font: 500 12.5px/22px var(--sl-mono);
  text-align: center;
}

.md-typeset .steps > :not(h2):not(h3) {
  margin-left: 40px;
}

/* Two-column prose: text beside code. */
.md-typeset .split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  gap: 40px;
  align-items: start;
  max-width: none;
}

@media screen and (max-width: 60em) {
  .md-typeset .split {
    grid-template-columns: minmax(0, 1fr);
    gap: 8px;
  }
}

/* Key–value definitions in prose */
.md-typeset dl.terms {
  display: grid;
  grid-template-columns: max-content 1fr;
  gap: 0 24px;
  margin: 0 0 1.4em;
  font-size: 15px;
}

.md-typeset dl.terms dt {
  padding: 10px 0;
  border-top: 1px solid var(--sl-line-soft);
  font-weight: 500;
}

.md-typeset dl.terms dd {
  margin: 0;
  padding: 10px 0;
  border-top: 1px solid var(--sl-line-soft);
  color: var(--sl-fg-2);
}

@media screen and (max-width: 44.984375em) {
  .md-typeset dl.terms {
    grid-template-columns: 1fr;
  }
  .md-typeset dl.terms dd {
    border-top: 0;
    padding-top: 0;
  }
}

/* Diagrams */
.md-typeset figure.diagram {
  margin: 32px 0 36px;
  max-width: none;
}

.md-typeset figure.diagram svg {
  display: block;
  width: 100%;
  height: auto;
  overflow: visible;
}

.md-typeset figure.diagram figcaption {
  max-width: var(--sl-measure);
  margin: 14px 0 0;
  color: var(--sl-fg-3);
  font-size: 13.5px;
  font-style: normal;
  text-align: left;
}

.diagram .d-box { fill: var(--sl-diagram-fill); stroke: var(--sl-line-strong); stroke-width: 1; }
.diagram .d-core { fill: var(--sl-accent-wash); stroke: var(--sl-accent); stroke-width: 1.25; }
.diagram .d-line { stroke: var(--sl-fg-4); stroke-width: 1; fill: none; }
.diagram .d-line-accent { stroke: var(--sl-accent); stroke-width: 1.25; fill: none; }
.diagram .d-line-dashed { stroke: var(--sl-fg-4); stroke-width: 1; fill: none; stroke-dasharray: 3 4; }
.diagram .d-dot { fill: var(--sl-accent); }
.diagram .d-dot-muted { fill: var(--sl-fg-4); }
.diagram text { font-family: var(--sl-sans); fill: var(--sl-fg); font-size: 13px; }
.diagram .d-label { fill: var(--sl-fg); font-size: 13px; font-weight: 500; }
.diagram .d-sub { fill: var(--sl-fg-3); font-size: 11.5px; }
.diagram .d-mono { font-family: var(--sl-mono); fill: var(--sl-fg-2); font-size: 11.5px; }
.diagram .d-head { fill: var(--sl-fg-3); font-size: 11px; font-weight: 600; letter-spacing: 0.06em; }
.diagram .d-core-label { fill: var(--sl-fg); font-size: 15px; font-weight: 600; }

/* ------------------------------------------------------------------ landing */

:root:has(meta[name="sl-layout"][content="home"]) .md-sidebar--secondary {
  display: none;
}

:root:has(meta[name="sl-layout"][content="home"]) .md-content__inner {
  max-width: 1040px;
}

:root:has(meta[name="sl-layout"][content="home"]) .md-content__inner.md-typeset > * {
  max-width: none;
}

.md-typeset .home-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
  gap: 48px;
  align-items: start;
  padding: 16px 0 48px;
  border-bottom: 1px solid var(--sl-line-soft);
}

.md-typeset .home-hero h1 {
  margin-bottom: 18px;
  font-size: 40px;
  letter-spacing: -0.025em;
  line-height: 1.12;
}

.md-typeset .home-hero .lede {
  font-size: 18px;
  margin-bottom: 28px;
}

.md-typeset .actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0;
}

.md-typeset .button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 36px;
  padding: 0 14px;
  border: 1px solid var(--sl-line-strong);
  border-radius: var(--sl-radius);
  color: var(--sl-fg);
  font-size: 14.5px;
  font-weight: 500;
}

.md-typeset .button:hover {
  text-decoration: none;
  color: var(--sl-fg);
  background: var(--sl-wash);
}

.md-typeset .button.primary {
  border-color: var(--sl-fg);
  background: var(--sl-fg);
  color: var(--sl-bg);
}

.md-typeset .button.primary:hover {
  background: var(--sl-fg-2);
  border-color: var(--sl-fg-2);
  color: var(--sl-bg);
}

.md-typeset .preview-note {
  margin: 28px 0 0;
  padding: 12px 0 0;
  border-top: 1px solid var(--sl-line-soft);
  color: var(--sl-fg-3);
  font-size: 13.5px;
  line-height: 1.55;
}

.md-typeset .preview-note strong {
  color: var(--sl-fg-2);
  font-weight: 500;
}

.md-typeset .home-section {
  padding: 48px 0;
  border-bottom: 1px solid var(--sl-line-soft);
}

.md-typeset .home-section:last-child {
  border-bottom: 0;
}

.md-typeset .home-section > h2 {
  margin-top: 0;
}

.md-typeset .eyebrow {
  margin: 0 0 8px;
  color: var(--sl-fg-3);
  font: 500 12px/1.4 var(--sl-mono);
  letter-spacing: 0.02em;
}

.md-typeset ol.path {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
  counter-reset: path;
  border-top: 1px solid var(--sl-line);
}

.md-typeset ol.path > li {
  counter-increment: path;
  margin: 0;
  padding: 20px 24px 4px 0;
}

.md-typeset ol.path > li + li {
  padding-left: 24px;
  border-left: 1px solid var(--sl-line-soft);
}

.md-typeset ol.path > li::before {
  content: "0" counter(path);
  display: block;
  margin-bottom: 10px;
  color: var(--sl-fg-3);
  font: 500 12px var(--sl-mono);
}

.md-typeset ol.path h3 {
  margin: 0 0 6px;
  font-size: 16px;
}

.md-typeset ol.path p {
  margin: 0 0 10px;
  color: var(--sl-fg-2);
  font-size: 14.5px;
}

.md-typeset ol.path .time {
  color: var(--sl-fg-3);
  font-size: 13px;
}

.md-typeset .index-cols {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 32px;
}

.md-typeset .index-cols h3 {
  margin: 0 0 10px;
  font-size: 13px;
  color: var(--sl-fg);
}

.md-typeset .index-cols ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.md-typeset .index-cols li {
  margin: 0 0 6px;
  font-size: 14.5px;
}

.md-typeset .index-cols a {
  color: var(--sl-fg-2);
}

.md-typeset .index-cols a:hover {
  color: var(--sl-fg);
}

.md-typeset .facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 32px;
  margin: 28px 0 0;
}

.md-typeset .facts p {
  margin: 0;
  color: var(--sl-fg-2);
  font-size: 14.5px;
}

.md-typeset .facts strong {
  display: block;
  margin-bottom: 4px;
  color: var(--sl-fg);
  font-size: 15px;
}

@media screen and (max-width: 60em) {
  .md-typeset .home-hero {
    grid-template-columns: minmax(0, 1fr);
    gap: 32px;
  }
  .md-typeset .home-hero h1 {
    font-size: 32px;
  }
  .md-typeset ol.path,
  .md-typeset .facts {
    grid-template-columns: minmax(0, 1fr);
  }
  .md-typeset ol.path > li + li {
    padding-left: 0;
    border-left: 0;
    border-top: 1px solid var(--sl-line-soft);
  }
  .md-typeset .index-cols {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media screen and (max-width: 44.984375em) {
  .md-content__inner {
    margin: 0 18px 48px;
    padding-top: 28px;
  }
  .md-typeset h1 {
    font-size: 28px;
  }
  .md-typeset .lede {
    font-size: 17px;
  }
  .md-typeset .steps > h2,
  .md-typeset .steps > h3 {
    padding-left: 34px;
  }
  .md-typeset .steps > :not(h2):not(h3) {
    margin-left: 0;
  }
}

/* ------------------------------------------------------------------ search dialog */

.md-search__overlay {
  background: rgba(0, 0, 0, 0.3);
}

/* Utility */
.md-typeset .muted {
  color: var(--sl-fg-3);
}

.md-typeset .diagram-scroll {
  overflow-x: auto;
  scrollbar-width: thin;
}

.md-typeset .diagram-scroll > svg {
  min-width: 720px;
}

/* ------------------------------------------------------------------ specificity fixes over the base theme */

:root,
[data-md-color-scheme] {
  --sl-measure: 700px;
}

.sl-header .md-search__button::before {
  position: static;
  top: auto;
  left: auto;
  width: 14px;
  height: 14px;
  background-color: currentColor;
}

.sl-header .md-search__button::after {
  position: static;
  right: auto;
  left: auto;
}

.md-sidebar--primary .md-nav__link,
.md-sidebar--primary .md-nav__item .md-nav__link {
  margin: 0;
  padding: 5px 10px;
  font-size: 14px;
  line-height: 1.4;
  color: var(--sl-fg-2);
  font-weight: 400;
}

.md-sidebar--primary .md-nav__link:hover,
.md-sidebar--primary .md-nav--primary .md-nav__link[href]:hover:not(.md-nav__link--active) {
  color: var(--sl-fg);
  background: var(--sl-wash);
}

.md-sidebar--primary .md-nav__link.md-nav__link--active,
.md-sidebar--primary .md-nav__item .md-nav__link.md-nav__link--active {
  color: var(--sl-fg);
  background: var(--sl-wash);
  font-weight: 500;
}

.md-sidebar--primary .md-nav--primary .md-nav__item--section > .md-nav__link {
  padding: 0 10px 6px;
  color: var(--sl-fg);
  font-size: 12.5px;
  font-weight: 600;
  background: none;
}

.md-sidebar--primary .md-nav--primary > .md-nav__list > .md-nav__item:first-child {
  margin-top: 0;
}

.md-sidebar--secondary .md-nav__link,
.md-sidebar--secondary .md-nav__item .md-nav__link {
  font-size: 13px;
  padding: 4px 12px;
  margin: 0 0 0 -1px;
}

.md-typeset .tabbed-set .tabbed-labels > label {
  padding: 9px 8px 8px;
  font-size: 12.5px;
  font-weight: 500;
  border-radius: 0;
}

.md-typeset dl.fields dd code,
.md-typeset .op-meta code {
  padding: 0;
  background: none;
  box-shadow: none;
  color: var(--sl-fg);
}

:root:has(meta[name="sl-layout"][content="home"]) .md-main__inner.md-grid {
  max-width: 1120px;
}

:root:has(meta[name="sl-layout"][content="home"]) .md-content__inner {
  margin-left: auto;
  margin-right: auto;
  padding-top: 56px;
}

.md-typeset .index-cols ul li {
  margin-left: 0;
}

.language-bash .m,
.language-bash .mi,
.language-bash .mf {
  color: inherit;
}

/* A request and its response shown as one panel. */
.md-typeset .pair > div.highlight:first-child {
  margin: 0;
  border-bottom-left-radius: 0;
  border-bottom-right-radius: 0;
}

.md-typeset .pair > .pair-caption {
  margin: 0;
  padding: 7px 16px;
  border: 1px solid var(--sl-line);
  border-top: 0;
  background: var(--sl-bg-code);
  color: var(--sl-fg-3);
  font: 500 12.5px/1.5 var(--sl-mono);
}

.md-typeset .pair > div.highlight:last-child {
  border-top: 0;
  border-top-left-radius: 0;
  border-top-right-radius: 0;
}

.md-typeset .tabbed-set > .tabbed-labels {
  align-items: stretch;
  height: 37px;
}

.md-typeset .tabbed-set > .tabbed-labels > label {
  display: flex;
  align-items: center;
  height: 36px;
  padding: 0 8px;
  line-height: 1;
}

/* Prose pages: content then table of contents, no stretched gutter. */
:root:not(:has(meta[name="sl-layout"])) .md-content {
  flex-grow: 0;
  flex-basis: 800px;
}

:root:not(:has(meta[name="sl-layout"])) .md-sidebar--secondary {
  margin-left: 8px;
}

@media screen and (min-width: 60em) {
  .md-typeset .home-hero {
    grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  }
}

.md-typeset .home-hero pre > code {
  font-size: 12.5px;
}

/* Endpoint index: align with the text column, wrap long paths on small screens. */
[dir] .md-typeset ul.endpoint-index {
  margin-left: 0;
  margin-right: 0;
}

.md-typeset .endpoint-index code {
  min-width: 0;
  overflow-wrap: anywhere;
}
