
:root {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: #24272d;
  background: #fff;
  font-synthesis: none;
  --muted: #626975;
  --line: #e5e7eb;
  --subtle: #f7f8fa;
}
* { box-sizing: border-box; }
html { scroll-padding-top: 92px; }
body { margin: 0; font-size: 14px; line-height: 1.7; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
button:disabled { cursor: wait; opacity: .6; }
a, button, summary { touch-action: manipulation; }
a:focus-visible, button:focus-visible, summary:focus-visible, [tabindex]:focus-visible { outline: 2px solid #526cac; outline-offset: 4px; }
p { margin: 0 0 18px; color: #555e6b; }
p a, details a { text-decoration: underline; text-underline-offset: 3px; }
p strong { color: #303741; font-weight: 600; }
h1, h2, h3 { line-height: 1.3; color: #24272d; }
h1 { margin: 0 0 9px; font-size: 30px; font-weight: 650; letter-spacing: -.7px; }
h2 { margin: 0 0 18px; font-size: 21px; font-weight: 600; letter-spacing: -.35px; }
h3 { margin: 28px 0 12px; font-size: 13px; font-weight: 600; }
code, pre { font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace; }
code { font-size: .88em; }
p code, dd code { padding: 2px 4px; border-radius: 3px; background: #f1f3f5; color: #3c4553; overflow-wrap: anywhere; }
pre { margin: 0; overflow: auto; font-size: 12px; line-height: 1.85; tab-size: 2; }
pre code { font-size: inherit; }
.topbar { height: 64px; border-bottom: 1px solid var(--line); padding: 0 30px; display: flex; align-items: center; justify-content: space-between; position: sticky; top: 0; background: #fff; z-index: 10; }
.brand { display: flex; align-items: center; gap: 19px; font-size: 24px; font-weight: 700; letter-spacing: -.8px; }
.brand-divider { color: #c7cbd1; font-size: 21px; font-weight: 300; }
.brand-label { font-size: 13px; letter-spacing: 0; font-weight: 400; color: var(--muted); }
.spec-link { font-size: 12px; color: #555e6b; }
.spec-link span { margin-left: 6px; }
.spec-link:hover { color: #111; text-decoration: underline; }
.shell { display: grid; grid-template-columns: 220px minmax(0, 1fr); max-width: 1600px; margin: auto; }
.sidebar { border-right: 1px solid var(--line); padding: 32px 18px 22px; position: sticky; top: 64px; height: calc(100dvh - 64px); display: flex; flex-direction: column; overflow: auto; }
.nav-heading { font-size: 12px; font-weight: 600; padding: 0 12px; margin: 27px 0 10px; }
.nav-heading:first-child { margin-top: 0; }
.nav-link { display: flex; align-items: center; gap: 10px; border-radius: 5px; padding: 7px 12px; margin: 2px 0; color: var(--muted); font-size: 13px; }
.nav-link:hover { background: var(--subtle); color: #24272d; }
.nav-link.active { background: #f0f2f5; color: #24272d; font-weight: 500; }
.method-small { color: #247653; font: 10px Consolas, monospace; }
.resource-link span { margin-left: auto; font-size: 12px; color: #89909a; }
.sidebar-note { margin-top: auto; padding: 40px 12px 0; color: #747b85; font-size: 11px; display: flex; justify-content: space-between; gap: 12px; }
main { min-width: 0; padding: 42px 46px 0; }
.page-header { display: flex; justify-content: space-between; align-items: center; gap: 28px; scroll-margin-top: 25px; }
.page-header p { margin-bottom: 0; }
.base-url { width: 43%; max-width: 480px; border-bottom: 1px solid var(--line); padding: 11px 0; min-width: 0; }
.base-url span { display: block; color: var(--muted); font-size: 11px; margin-bottom: 2px; }
.base-url code { overflow-wrap: anywhere; font-size: 12px; }
.availability { margin: 26px 0 0; padding-bottom: 27px; color: var(--muted); font-size: 12px; }
.availability a { text-decoration: none; }
.reference-section { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 40px; border-top: 1px solid var(--line); padding: 34px 0 40px; }
.reference-description, .examples { min-width: 0; }
.heading-anchor { font-size: 16px; color: #a0a6b0; font-weight: 400; margin-left: 6px; opacity: 0; }
h2:hover .heading-anchor, .heading-anchor:focus-visible { opacity: 1; }
.endpoint { display: flex; align-items: center; gap: 10px; margin: 0 0 19px; }
.endpoint code { font-size: 13px; }
.method { background: #eaf5ee; color: #246642; border: 1px solid #d7e9dd; padding: 1px 6px; border-radius: 4px; font: 600 11px/1.8 Consolas, monospace; }
.request-details { margin: 22px 0; font-size: 12px; }
.request-details div { display: flex; gap: 16px; margin: 5px 0; }
.request-details dt { width: 115px; color: var(--muted); }
.request-details dd { margin: 0; }
.status-code { font-size: 11px; font-weight: 400; color: #26704d; margin-left: 9px; }
.field-list { margin: 0; }
.field-list > div { border-top: 1px solid var(--line); padding: 13px 0; }
.field-list dt { display: flex; align-items: baseline; gap: 12px; }
.field-list dt code { font-size: 12px; font-weight: 600; }
.field-list dt span { font-size: 11px; color: #737b88; }
.field-list dd { margin: 4px 0 0; font-size: 12px; color: var(--muted); }
.code-panel { min-width: 0; border-block: 1px solid var(--line); overflow: hidden; }
.code-toolbar { display: flex; align-items: center; gap: 13px; min-height: 42px; padding: 0 14px; border-bottom: 1px solid #e1e4e9; color: #626b79; font-size: 11px; }
.code-toolbar > span:first-child { color: #47515f; font-weight: 500; }
.code-panel pre { padding: 20px 17px; color: #3b475b; }
.code-tabs { display: flex; align-self: stretch; margin-left: auto; gap: 14px; }
.code-tabs button { padding: 0; border: 0; border-bottom: 2px solid transparent; background: transparent; color: #687180; font-size: 11px; }
.code-tabs button[aria-pressed=true] { border-bottom-color: #536783; color: #27364d; }
.copy-button { margin-left: auto; background: transparent; color: #636d7b; border: 0; padding: 4px 0 4px 7px; font-size: 11px; }
.copy-button:hover { color: #17273f; }
.code-tabs + .copy-button { margin-left: 0; }
.request-actions { border-top: 1px solid #e1e4e9; padding: 10px 13px; display: flex; justify-content: space-between; align-items: center; gap: 10px; background: #fff; }
.request-actions > span { font-size: 11px; color: #737b88; }
.run-button { padding: 5px 11px; border: 1px solid #cbd1da; border-radius: 5px; background: #fff; color: #344052; font-size: 11px; font-weight: 500; white-space: nowrap; }
.run-button:hover { background: #f2f4f7; }
.response-panel { margin-top: 16px; }
.response-status { margin-left: auto; color: #26704d; font-size: 11px; }
.response-status + .copy-button { margin-left: 0; }
.response-status.failed, .error-status { color: #a14237; }
.error-status { margin-left: auto; }
.caption { margin: 12px 0 0; font-size: 11px; color: #737b88; line-height: 1.8; }
.guide-section { padding: 34px 0 40px; border-top: 1px solid var(--line); }
.guide-section > p { max-width: 790px; }
.table-scroll { overflow-x: auto; margin: 24px 0; border-block: 1px solid var(--line); }
table { width: 100%; border-collapse: collapse; font-size: 12px; text-align: left; }
th { padding: 11px 15px; background: var(--subtle); font-weight: 600; color: #47515f; }
td { padding: 15px; border-top: 1px solid var(--line); vertical-align: top; color: var(--muted); }
td:first-child { width: 31%; color: #37404e; }
td:nth-child(2) { width: 23%; color: #37404e; }
details { padding: 13px 0; border-top: 1px solid var(--line); font-size: 13px; }
summary { cursor: pointer; font-weight: 500; color: #47515f; }
details p { max-width: 820px; margin: 14px 0 0; }
.inline-code { padding: 10px 0; margin: 0 0 18px; border-bottom: 1px solid var(--line); }
footer { padding: 22px 0 30px; border-top: 1px solid var(--line); display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 14px; color: #747b85; font-size: 11px; }
footer div { display: flex; gap: 18px; flex-wrap: wrap; }
footer a:hover { text-decoration: underline; }
.skip-link { position: fixed; top: -80px; left: 20px; padding: 10px; background: white; z-index: 20; }
.skip-link:focus { top: 10px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
@media (min-width: 1500px) { main { padding-left: 60px; padding-right: 60px; } .reference-section { gap: 56px; } }
@media (max-width: 1150px) {
  .shell { grid-template-columns: 200px minmax(0, 1fr); }
  main { padding: 32px 28px 0; }
  .reference-section { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .base-url { width: 45%; }
}
@media (max-width: 760px) {
  html { scroll-padding-top: 80px; }
  .topbar { height: 58px; padding: 0 20px; }
  .brand { font-size: 23px; gap: 10px; }
  .brand-label { font-size: 11px; }
  .brand-divider { font-size: 18px; }
  .spec-link { font-size: 11px; }
  .spec-link span { display: none; }
  .shell { display: block; }
  .sidebar { position: static; height: auto; border-right: 0; border-bottom: 1px solid var(--line); padding: 10px 15px; }
  .sidebar nav { display: flex; gap: 4px; overflow-x: auto; }
  .nav-heading, .sidebar-note, .resource-link { display: none; }
  .nav-link { white-space: nowrap; padding: 6px 10px; font-size: 12px; }
  main { padding: 28px 20px 0; }
  .page-header { display: block; }
  h1 { font-size: 27px; }
  h2 { font-size: 20px; }
  .base-url { width: 100%; margin-top: 20px; }
  .availability { margin-top: 17px; padding-bottom: 23px; }
  .reference-section, .guide-section { padding-top: 27px; padding-bottom: 30px; }
  .heading-anchor { opacity: 1; }
  table { min-width: 610px; }
  .code-toolbar { padding: 0 12px; gap: 10px; }
  .code-tabs { gap: 12px; }
  .code-panel pre { padding: 17px 14px; }
}
