/* Use the same monochrome palette and type scale as the product website. */
:root {
  color-scheme: light dark;
  --font-family: "Anonymous Pro", monospace;
  --text-color: #000;
  --text-color-alt: #666;
  --background-color: #fff;
  --background-color-alt: #ddd;
  --line-height: 1.2rem;
  font-size: 20px;
}
@media (prefers-color-scheme: dark) {
  :root {
    --text-color: #fff;
    --text-color-alt: #aaa;
    --background-color: #000;
    --background-color-alt: #111;
  }
}
*, *::before, *::after { box-sizing: border-box; }
html { background: var(--background-color); color: var(--text-color); }
body {
  width: 100%; max-width: calc(min(100ch, round(down, 100%, 1ch)));
  margin: 0 auto; padding: var(--line-height) 2ch 3.6rem;
  font-family: var(--font-family); line-height: var(--line-height);
}
.site-branding { padding: 0; color: inherit; background: transparent; font-size: inherit; }
.site-branding .docs-nav { margin-bottom: calc(var(--line-height) * 2); }
a { color: var(--text-color-alt); text-decoration: none; }
a:hover { text-decoration: underline; }
a:focus-visible { outline: 2px solid currentColor; outline-offset: 4px; }
.content { min-width: 0; }
h1 { margin: 0 0 var(--line-height); font-size: 1.6rem; line-height: 1.5; }
h2 {
  font-size: 1.1rem; line-height: 1.5; margin: 2.4rem 0 1.2rem;
  padding-top: 1.2rem; border-top: 2px solid; scroll-margin-top: 1.2rem;
}
h3 { font-size: 1rem; margin: 1.2rem 0 .6rem; }
p { margin: 0 0 var(--line-height); }
.endpoint-hdr { display: flex; align-items: baseline; flex-wrap: wrap; gap: 1ch; margin-bottom: .6rem; }
.badge, .status-pill, .req-badge, .opt-badge {
  display: inline-block; border: 1px solid currentColor; padding: 0 .5ch;
  font-size: .8rem; font-weight: normal; line-height: 1.2rem;
}
.badge { font-weight: bold; }
.endpoint-path { font-size: 1rem; overflow-wrap: anywhere; }
.endpoint-path .param { font-style: italic; }
.desc { margin-bottom: 1.2rem; }
table {
  display: block; max-width: 100%; width: 100%; overflow-x: auto;
  border-collapse: collapse; margin: .6rem 0 1.2rem; font-size: .8rem;
}
th, td { border: 1px solid currentColor; padding: .3rem 1ch; text-align: left; vertical-align: top; }
th { font-weight: bold; background: var(--background-color-alt); }
.field-name { font-weight: bold; white-space: nowrap; }
.field-type { color: var(--text-color-alt); white-space: nowrap; }
.req-badge, .opt-badge { font-size: .65rem; margin-left: .5ch; }
.opt-badge { color: var(--text-color-alt); }
pre {
  overflow-x: auto; border: 1px solid currentColor;
  background: var(--background-color-alt); padding: .6rem 1ch;
  margin: .6rem 0 1.2rem; font-size: .8rem; line-height: 1.2rem;
}
code { font-family: var(--font-family); font-size: .8rem; }
p code, li code, td code { background: var(--background-color-alt); padding: 0 .25ch; overflow-wrap: anywhere; }
.status-row { display: flex; flex-wrap: wrap; gap: .5rem 1ch; margin-bottom: .6rem; }
.note, .warn {
  border-left: 2px solid; padding: .6rem 1ch; margin: 0 0 1.2rem;
  background: var(--background-color-alt); font-size: .8rem;
}
.note a, .warn a { color: inherit; text-decoration: underline; }
.div { border-top: 2px solid; margin: 2.4rem 0; }
.doc-footer { margin-top: 2.4rem; padding-top: 1.2rem; border-top: 2px solid; font-size: .8rem; }
@media (max-width: 799px) {
  :root { font-size: 16px; }
  body { padding-right: 1ch; padding-left: 1ch; }
}

