:root {
  color-scheme: light;
  --canvas: #f8f8f6;
  --surface: #fff;
  --secondary: #efeeeb;
  --ink: #121212;
  --muted: #373734;
  --line: #e7e6e1;
  --clay: #d97757;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
  color: var(--ink);
  background: var(--canvas);
  font-synthesis: none;
}
* { box-sizing: border-box; }
body { margin: 0; font-size: 14px; line-height: 1.7; }
a { color: inherit; text-underline-offset: 4px; }
button { font: inherit; cursor: pointer; }
button, a, summary, [tabindex] { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 4px; }
[hidden] { display: none !important; }
::selection { background: var(--line); color: var(--ink); }
.skip-link { position: fixed; z-index: 20; top: -80px; left: 16px; padding: 10px 16px; background: var(--ink); color: var(--surface); }
.skip-link:focus { top: 8px; }
.topbar { position: sticky; z-index: 10; top: 0; display: flex; align-items: center; gap: 26px; min-height: 64px; padding: 0 max(28px, calc((100vw - 1264px) / 2)); border-bottom: 1px solid var(--line); background: var(--canvas); }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; white-space: nowrap; font-weight: 580; letter-spacing: -.3px; }
.brand-symbol { font: 30px/1 Georgia, "Times New Roman", serif; letter-spacing: -3px; padding-right: 4px; }
.brand-symbol span { color: var(--clay); }
.topbar-label { border-left: 1px solid var(--line); padding-left: 26px; color: var(--muted); font-size: 12px; }
.topbar-links { display: flex; align-items: center; gap: 24px; margin-left: auto; font-size: 13px; }
.topbar-links a { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; text-decoration: none; }
.topbar-links a:hover { text-decoration: underline; }
.docs-layout { display: grid; grid-template-columns: 224px minmax(0, 800px); gap: 76px; max-width: 1208px; margin: 0 auto; padding: 0 28px; }
.sidebar { align-self: start; position: sticky; top: 64px; max-height: calc(100dvh - 64px); overflow-y: auto; padding: 35px 0 24px; scrollbar-width: thin; }
.contents summary { display: none; }
.contents nav { padding-right: 12px; }
.nav-group { margin: 27px 0 8px 12px; font-size: 12px; font-weight: 580; }
.nav-group:first-child { margin-top: 0; }
.contents nav a { display: block; padding: 7px 12px; margin: 2px 0; border-left: 1px solid var(--line); color: var(--muted); text-decoration: none; font-size: 13px; line-height: 1.55; }
.contents nav a:hover { background: var(--secondary); color: var(--ink); }
.contents nav a[aria-current="location"] { border-left-color: var(--ink); color: var(--ink); background: var(--secondary); font-weight: 580; }
.sidebar-note { margin: 36px 12px 0; padding-top: 18px; border-top: 1px solid var(--line); font-size: 12px; color: var(--muted); }
.article { min-width: 0; padding: 0 0 28px; }
.article:focus { outline: none; }
.doc-section { padding: 36px 0 40px; border-bottom: 1px solid var(--line); scroll-margin-top: 88px; }
.doc-section.intro { padding-top: 43px; }
.section-kicker { display: flex; align-items: center; gap: 9px; color: var(--muted); font-size: 12px; margin-bottom: 15px; }
.decorative-dot { width: 5px; height: 5px; background: var(--clay); border-radius: 50%; }
h1, h2 { margin: 0 0 16px; font: 400 24px/30px Georgia, "Times New Roman", serif; letter-spacing: -.3px; }
h3 { margin: 26px 0 9px; font-size: 14px; font-weight: 580; line-height: 1.5; }
p { color: var(--muted); margin: 14px 0; }
strong { font-weight: 580; color: var(--ink); }
.lead { font-size: 15px; line-height: 1.8; }
.overview-strip { display: grid; grid-template-columns: 1fr 1fr 1.2fr; gap: 16px; margin: 27px 0; padding: 19px 0; border-block: 1px solid var(--line); }
.overview-strip div { display: grid; gap: 3px; }
.overview-strip span { color: var(--muted); font-size: 12px; }
.overview-strip strong { font-size: 14px; }
.note { padding: 14px 17px; margin: 23px 0; border-left: 2px solid var(--ink); background: var(--secondary); font-size: 13px; }
.setup-steps { counter-reset: setup; list-style: none; margin: 25px 0 30px; padding: 0; }
.setup-steps li { counter-increment: setup; display: grid; grid-template-columns: 28px minmax(0, 1fr); gap: 17px; padding: 0 0 21px; }
.setup-steps li:last-child { padding-bottom: 0; }
.setup-steps li::before { content: counter(setup); display: grid; place-items: center; width: 26px; height: 26px; border: 1px solid var(--line); border-radius: 50%; background: var(--surface); font-size: 12px; }
.setup-steps h3 { margin: 2px 0 6px; }
.setup-steps p { margin: 0; }
.plain-list { padding-left: 22px; color: var(--muted); }
.plain-list li { margin: 11px 0; padding-left: 3px; }
code, pre { font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace; font-size: 12px; font-variant-ligatures: none; }
p code, li code, td code, th code { overflow-wrap: anywhere; background: var(--secondary); padding: 1px 4px; border-radius: 2px; }
.code-block { overflow: hidden; margin: 21px 0; border: 1px solid var(--line); border-radius: 5px; background: var(--surface); }
.code-toolbar { display: flex; justify-content: space-between; gap: 12px; align-items: center; padding: 3px 7px 3px 17px; min-height: 43px; background: var(--secondary); border-bottom: 1px solid var(--line); font-size: 12px; color: var(--muted); }
.code-toolbar button { border: 1px solid transparent; background: transparent; color: var(--ink); padding: 5px 10px; min-width: 64px; min-height: 34px; font-size: 12px; border-radius: 3px; }
.code-toolbar button:hover { background: var(--surface); border-color: var(--line); }
.code-toolbar button:focus-visible { outline-offset: -2px; }
pre { overflow-x: auto; overscroll-behavior-x: contain; padding: 18px; margin: 0; line-height: 1.8; tab-size: 2; white-space: pre; }
pre:focus-visible { outline-offset: -3px; }
pre code { padding: 0; }
.caption { font-size: 12px; line-height: 1.75; }
.table-scroll { margin: 20px 0; overflow-x: auto; overscroll-behavior-x: contain; border: 1px solid var(--line); border-radius: 4px; background: var(--surface); }
table { border-collapse: collapse; width: 100%; text-align: left; font-size: 13px; line-height: 1.7; }
th { padding: 11px 14px; font-size: 12px; font-weight: 580; color: var(--ink); background: var(--secondary); border-bottom: 1px solid var(--line); }
td { padding: 12px 14px; vertical-align: top; border-bottom: 1px solid var(--line); color: var(--muted); }
td:first-child { min-width: 126px; }
tr:last-child td { border-bottom: 0; }
.endpoint { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-bottom: 17px; }
.endpoint > span:first-child { background: var(--secondary); color: var(--ink); border: 1px solid var(--line); padding: 2px 7px; border-radius: 3px; font: 580 11px/1.5 system-ui, sans-serif; }
.endpoint > code { overflow-wrap: anywhere; font-size: 13px; }
.endpoint-auth { font-size: 11px; color: var(--muted); margin-left: auto; }
.next-link { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 14px; align-items: center; margin-top: 28px; padding-top: 22px; border-top: 1px solid var(--line); font-size: 13px; }
.next-link > span { color: var(--muted); }
.next-link a { font-weight: 580; }
.article-footer { display: flex; justify-content: space-between; gap: 15px; padding-top: 24px; font-size: 12px; color: var(--muted); }
.screen-reader-only, .clipboard-buffer { position: fixed; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
@media (max-width: 1050px) {
  .docs-layout { grid-template-columns: 200px minmax(0, 1fr); gap: 38px; }
  .topbar { padding-inline: 28px; }
}
@media (max-width: 760px) {
  .topbar { min-height: 58px; gap: 12px; padding-inline: 20px; }
  .brand { font-size: 13px; gap: 7px; }
  .brand-symbol { font-size: 27px; }
  .topbar-label { display: none; }
  .topbar-links { gap: 15px; font-size: 12px; }
  .docs-layout { display: block; padding: 0 20px; }
  .sidebar { position: static; max-height: none; padding: 0; overflow: visible; border-bottom: 1px solid var(--line); }
  .contents summary { display: flex; justify-content: space-between; align-items: center; padding: 14px 0; cursor: pointer; list-style: none; font-size: 13px; }
  .contents summary::-webkit-details-marker { display: none; }
  .contents summary span { display: inline-block; font-size: 18px; line-height: 1; }
  .contents[open] summary span { transform: rotate(45deg); }
  .contents nav { padding: 8px 0 18px; }
  .contents nav a { min-height: 40px; padding-block: 10px; }
  .sidebar-note { display: none; }
  .doc-section { padding: 28px 0 30px; scroll-margin-top: 78px; }
  .doc-section.intro { padding-top: 28px; }
  .overview-strip { gap: 10px; margin-block: 23px; }
  .overview-strip strong { font-size: 13px; }
  .overview-strip span { font-size: 11px; }
  .lead { font-size: 14px; }
  .code-toolbar { padding-left: 12px; }
  .code-toolbar button { min-height: 40px; }
  pre { padding: 14px; }
  .table-scroll table { min-width: 450px; }
  .endpoint-auth { flex-basis: 100%; margin-left: 0; }
  .setup-steps li { gap: 12px; }
}
@media print {
  .topbar, .sidebar, .code-toolbar button, .skip-link, .article-footer { display: none; }
  .docs-layout { display: block; max-width: none; padding: 0; }
  body { background: #fff; font-size: 11px; }
  .doc-section { padding-block: 20px; }
  pre { white-space: pre-wrap; overflow-wrap: anywhere; }
  .table-scroll { overflow: visible; }
  .table-scroll table { min-width: 0; }
  h2, h3, .endpoint { break-after: avoid; }
}
