@font-face {
  font-family: "Mona Sans"; src: url("/assets/mona-sans-5ea37406.woff2") format("woff2");
  font-weight: 200 900; font-stretch: 75% 125%; font-display: swap;
}
@font-face {
  font-family: "Fragment Mono"; src: url("/assets/fragment-mono-44c4e39b.woff2") format("woff2");
  font-weight: 400; font-display: swap;
}
@font-face {
  font-family: "Mona Sans Fallback"; src: local("Arial"), local("Liberation Sans");
  size-adjust: 125.28%; ascent-override: 87.00%; descent-override: 25.54%; line-gap-override: 0.00%;
}
@font-face {
  font-family: "Fragment Mono Fallback"; src: local("Courier New"), local("Liberation Mono");
  size-adjust: 102.98%; ascent-override: 92.25%; descent-override: 24.28%; line-gap-override: 0.00%;
}
:root {
  color-scheme: light;
  --bg: #F6F7FB; --surface: #FFFFFF; --surface-2: #ECEFF8; --ink: #0A0F2C; --muted: #4A5274;
  --line: #DCE1EF; --line-strong: #7C84A3; --brand: #1B2FD8; --on-brand: #FFFFFF; --brand-ink: #1B2FD8;
  --accent-ink: #0D6578; --warning-ink: #8A4A00; --warning-bg: #FCEFD9; --danger-ink: #B42318; --danger-bg: #FDECEA;
  --success-ink: #0F6B46; --success-bg: #E2F4EC; --focus: #1B2FD8;
  --font-body: "Mona Sans", "Mona Sans Fallback", system-ui, sans-serif;
  --font-mono: "Fragment Mono", "Fragment Mono Fallback", monospace;
}
[data-theme="dark"] {
  color-scheme: dark;
  --bg: #04081C; --surface: #0A1030; --surface-2: #111A42; --ink: #EAEEFF; --muted: #A2AACB;
  --line: #1D2758; --line-strong: #5E6799; --brand: #3550F2; --brand-ink: #93A7FF;
  --accent-ink: #6FD6E8; --warning-ink: #F5B65C; --warning-bg: #2A1E0C; --danger-ink: #FF9A8F; --danger-bg: #2E1420;
  --success-ink: #66D9A3; --success-bg: #0B2420; --focus: #93A7FF;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme]) {
    color-scheme: dark;
    --bg: #04081C; --surface: #0A1030; --surface-2: #111A42; --ink: #EAEEFF; --muted: #A2AACB;
    --line: #1D2758; --line-strong: #5E6799; --brand: #3550F2; --brand-ink: #93A7FF;
    --accent-ink: #6FD6E8; --warning-ink: #F5B65C; --warning-bg: #2A1E0C; --danger-ink: #FF9A8F; --danger-bg: #2E1420;
    --success-ink: #66D9A3; --success-bg: #0B2420; --focus: #93A7FF;
  }
}
* { box-sizing: border-box; }
html { background: var(--bg); }
.js:not(.fonts-ready) body { display: none; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 1rem/1.55 var(--font-body); font-stretch: 100%; }
a { color: var(--brand-ink); text-underline-offset: .2em; }
a:hover { text-decoration-thickness: 2px; }
button, input { font: inherit; color: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button { cursor: pointer; }
button, .icon-button, .contents-toggle { transition: color 200ms, background-color 200ms; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; }
[id] { scroll-margin-top: 76px; }
:target { outline: 3px solid var(--focus); outline-offset: 5px; animation: target-ring 1s step-end forwards; }
@keyframes target-ring { to { outline-color: transparent; } }
h1, h2, h3 { font-stretch: 125%; line-height: 1.25; text-wrap: balance; }
h1 { margin: 0 0 20px; font-size: 2.125rem; font-weight: 700; letter-spacing: -.015em; }
h2 { margin: 40px 0 18px; font-size: 1.375rem; font-weight: 650; }
h3 { margin: 28px 0 16px; font-size: 1.3125rem; font-weight: 650; }
h4 { margin: 26px 0 12px; font-size: 1rem; font-weight: 650; }
p { margin: 0 0 16px; }
ul, ol { padding-left: 24px; }
li + li { margin-top: 6px; }
code, pre, kbd { font-family: var(--font-mono); font-size: .875rem; font-weight: 400; font-variant-numeric: tabular-nums; }
code { overflow-wrap: anywhere; }
.prose code, td code { color: var(--ink); }
.skip { position: fixed; left: 20px; top: -100px; z-index: 20; padding: 12px 18px; background: var(--surface); border: 1px solid var(--line-strong); border-radius: 8px; }
.skip:focus { top: 8px; }
.top { transform: translateZ(0); position: sticky; top: 0; height: 60px; z-index: 5; border-bottom: 1px solid var(--line); background: color-mix(in srgb, var(--bg) 96%, transparent); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); }
.top-inner { max-width: 1376px; height: 100%; margin: auto; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 0 24px; }
.brand { transform: translateZ(0); position: relative; z-index: 1; display: flex; align-items: center; gap: 12px; color: var(--muted); text-decoration: none; font-size: .875rem; font-weight: 600; }
.logo { width: 127px; height: 28px; object-fit: contain; }
.logo-dark { display: none; }
[data-theme="dark"] .logo-light { display: none; }
[data-theme="dark"] .logo-dark { display: block; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme]) .logo-light { display: none; }
  :root:not([data-theme]) .logo-dark { display: block; }
}
.top-actions { display: flex; align-items: center; gap: 20px; }
.back { color: var(--muted); font-size: .875rem; }
.login { display: inline-flex; align-items: center; min-height: 38px; padding: 0 20px; border-radius: 999px; color: var(--on-brand); background: var(--brand); text-decoration: none; font-size: .875rem; font-weight: 600; }
.icon-button, .contents-toggle { min-width: 42px; min-height: 42px; border: 1px solid var(--line); border-radius: 12px; display: inline-flex; align-items: center; justify-content: center; background: var(--surface); color: var(--ink); }
.icon-button:hover, .contents-toggle:hover, .copy:hover { background: var(--surface-2); }
.contents-toggle, .contents-close { display: none; }
.layout { max-width: 1376px; margin: 0 auto; display: grid; grid-template-columns: 272px minmax(0,1fr); align-items: start; }
nav#contents { position: sticky; top: 60px; max-height: calc(100dvh - 60px); overflow-y: auto; padding: 28px 20px 40px; border-right: 1px solid var(--line); background: var(--bg); scrollbar-width: thin; }
.filter { margin-bottom: 24px; }
.filter label { display: flex; justify-content: space-between; color: var(--muted); margin-bottom: 8px; font-size: .8125rem; font-weight: 500; }
kbd { font-size: .75rem; }
input[type="search"] { width: 100%; min-width: 0; min-height: 42px; padding: 8px 12px; border: 1px solid var(--line-strong); border-radius: 10px; background: var(--surface); font-size: .875rem; }
input::placeholder { color: var(--muted); }
#filter-count { margin: 10px 0 0; color: var(--muted); font-size: .8125rem; }
.nav-group { margin-top: 24px; }
.nav-group a { display: flex; align-items: start; gap: 8px; padding: 7px 8px; margin: 2px 0; border-left: 2px solid transparent; border-radius: 0 8px 8px 0; text-decoration: none; color: var(--muted); font-size: .8125rem; font-weight: 500; line-height: 1.5; }
.nav-group a span:last-child { min-width: 0; overflow-wrap: anywhere; }
.nav-group .nav-title { margin: 0 0 4px; padding-left: 10px; color: var(--ink); font-size: .9375rem; font-weight: 600; }
.nav-group a:hover { background: var(--surface-2); color: var(--ink); }
.nav-group a[aria-current] { color: var(--brand-ink); border-left-color: var(--brand-ink); background: color-mix(in srgb, var(--brand-ink) 8%, var(--surface)); }
main { min-width: 0; padding: 44px 32px 64px; }
.intro { padding-bottom: 24px; }
.meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; margin-bottom: 28px; color: var(--muted); font-size: .8125rem; }
.meta > span { border: 1px solid var(--line); border-radius: 999px; padding: 3px 10px; }
.prose { overflow-wrap: anywhere; }
.prose > :first-child { margin-top: 0; }
.prose a { text-decoration: underline; }
.tag, #objects { border-top: 1px solid var(--line); padding-top: 4px; margin-top: 40px; }
.tag > h2, #objects > h2 { margin-top: 28px; }
[data-reference-group] > summary { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 44px; list-style: none; cursor: pointer; border-radius: 12px; }
[data-reference-group] > summary::-webkit-details-marker { display: none; }
[data-reference-group] > summary h2 { margin: 28px 0 18px; }
[data-reference-group] > summary svg { flex: none; color: var(--muted); }
[data-reference-group][open] > summary svg { transform: rotate(180deg); }
.operation { padding: 28px 0 36px; border-bottom: 1px solid var(--line); }
.operation:last-child { border-bottom: 0; }
.operation > h3 { margin-top: 0; }
.path { display: flex; align-items: center; gap: 12px; min-width: 0; margin-bottom: 20px; }
.path > code { min-width: 0; }
.path .copy { margin-left: auto; }
.m { display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; height: 22px; min-width: 44px; padding: 0 8px; border-radius: 999px; font-family: var(--font-body); font-size: .75rem; font-weight: 600; font-stretch: 100%; line-height: 1; }
.m-get { color: var(--accent-ink); background: color-mix(in srgb, var(--accent-ink) 12%, var(--surface)); }
.m-post, .m-put { color: var(--brand-ink); background: color-mix(in srgb, var(--brand-ink) 10%, var(--surface)); }
.m-patch { color: var(--warning-ink); background: var(--warning-bg); }
.m-delete { color: var(--danger-ink); background: var(--danger-bg); }
.dep { color: var(--warning-ink); font: 500 .75rem/1.5 var(--font-body); }
.op-grid { display: grid; grid-template-columns: minmax(0,1fr) 440px; gap: 28px; align-items: start; }
.op-detail, .sample { min-width: 0; }
.sample { position: sticky; top: 76px; }
.sample > h4:first-child { margin-top: 0; }
.scroll { max-width: 100%; overflow-x: auto; margin: 12px 0 24px; border: 1px solid var(--line); border-radius: 12px; scrollbar-width: thin; }
table { width: 100%; min-width: 520px; border-collapse: collapse; font-size: .875rem; text-align: left; }
.properties { min-width: 680px; }
th { color: var(--muted); font-weight: 600; white-space: nowrap; }
.article-prose td[align="right"] { white-space: nowrap; }
.responses .status-code { font-family: var(--font-mono); font-variant-numeric: tabular-nums; white-space: nowrap; }
td code { overflow-wrap: normal; }
td:first-child code { white-space: nowrap; }
th, td { padding: 12px; vertical-align: top; border-bottom: 1px solid var(--line); }
tr:last-child td { border-bottom: 0; }
td p { margin: 0; }
td p + p { margin-top: 8px; }
tr.fields td { padding-top: 0; }
tr.fields .properties { min-width: 0; }
tr:has(+ tr.fields) td { border-bottom: 0; }
tr.fields .scroll { margin: 0 0 4px; }
.table-label { margin: 12px 0 4px; color: var(--muted); font-size: .875rem; }
.code { max-width: 100%; margin: 16px 0 24px; border: 1px solid var(--line); border-radius: 16px; background: var(--surface-2); }
.code-h { min-height: 48px; padding: 2px 10px 2px 18px; display: flex; align-items: center; justify-content: space-between; gap: 12px; border-bottom: 1px solid var(--line); color: var(--muted); font-size: .8125rem; }
.copy { flex-shrink: 0; min-height: 44px; min-width: 44px; padding: 6px 8px; border: 0; border-radius: 8px; color: var(--muted); background: transparent; font-size: .8125rem; }
pre { max-width: 100%; margin: 0; padding: 18px; overflow: auto; line-height: 1.5; tab-size: 2; border-radius: 0 0 16px 16px; }
pre code { white-space: pre; overflow-wrap: normal; }
.j-k, .s-v { color: var(--brand-ink); }
.j-s, .s-s { color: var(--success-ink); }
.j-n, .j-b, .j-0 { color: var(--warning-ink); }
.s-c { color: var(--muted); }
.object { margin-top: 32px; padding-bottom: 28px; border-bottom: 1px solid var(--line); }
footer { max-width: 1376px; margin: auto; padding: 28px 32px 40px 304px; display: flex; flex-wrap: wrap; gap: 16px 28px; border-top: 1px solid var(--line); font-size: .875rem; }
@media (max-width: 1179px) {
  .layout { display: block; max-width: 760px; }
  main { padding: 36px 24px 60px; }
  .op-grid { display: block; }
  .sample { position: static; margin-top: 28px; }
  .contents-toggle { display: inline-flex; gap: 6px; padding: 0 10px; font-size: .8125rem; text-decoration: none; }
  nav#contents { position: static; max-height: none; border: 0; border-bottom: 1px solid var(--line); }
  html.js nav#contents:not([data-open]) { display: none; }
  html.js nav#contents[data-open] { position: fixed; top: 60px; bottom: 0; left: 0; width: min(100%,420px); max-height: calc(100dvh - 60px); z-index: 6; padding: 24px 24px 40px; border-right: 1px solid var(--line); box-shadow: 16px 0 40px color-mix(in srgb, var(--ink) 12%, transparent); }
  html.js .contents-close { display: block; min-height: 44px; margin-top: 12px; padding: 6px 12px; background: var(--surface); border: 1px solid var(--line-strong); border-radius: 10px; font-size: .875rem; }
  footer { max-width: 760px; padding-left: 24px; }
}
@media (max-width: 759px) {
  .top-inner { padding: 0 20px; }
  .top-actions { gap: 8px; }
  .top-actions .back, .top-actions .login { display: none; }
  main { padding: 32px 20px 48px; }
  th, td { padding: 10px; }
  footer { padding: 24px 20px 32px; }
}
@media (max-width: 390px) {
  h1 { font-size: 1.75rem; }
  .brand { gap: 8px; }
  .contents-toggle span { display: none; }
  .contents-toggle { padding: 0; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; scroll-behavior: auto !important; animation: none !important; }
}
@media print {
  .top, nav#contents, .copy, .skip { display: none !important; }
  .layout, .op-grid { display: block; }
  main, footer { padding: 0; }
  .sample { position: static; }
  .scroll, pre { overflow: visible; }
  pre code { white-space: pre-wrap; }
  .code, .operation { break-inside: avoid; }
}

/* Shared documentation pages. Existing reference rules remain the foundation. */
.docs-page { padding-top: 52px; }
.docs-page > .intro { max-width: 760px; padding-bottom: 8px; }
.docs-page > .intro h1 { font-size: clamp(32px, 3.4vw, 48px); line-height: 1.12; letter-spacing: -.03em; font-weight: 750; }
.page-lead { font-size: 1.25rem; line-height: 1.55; color: var(--muted); max-width: 42em; text-wrap: pretty; }
.article-layout { display: grid; grid-template-columns: minmax(0, 1fr); gap: 36px; }
.article-prose { min-width: 0; max-width: 76ch; }
.article-prose h2 { font-size: 1.5rem; margin-top: 44px; }
.article-prose h3 { font-size: 1.125rem; }
.article-prose > p { max-width: 65ch; }
.page-toc { display: none; }
.tabs { display: none; flex-wrap: wrap; gap: 4px; border-bottom: 1px solid var(--line); margin-bottom: 12px; }
.js .tabs { display: flex; }
.tabs button { min-height: 44px; border: 0; border-radius: 999px; padding: 8px 12px; background: transparent; color: var(--muted); font-size: .8125rem; font-weight: 600; }
.tabs button[aria-selected="true"] { background: var(--surface-2); color: var(--brand-ink); }
.tabs button:hover { color: var(--ink); }
.language-samples { min-width: 0; margin: 20px 0 24px; }
.language-samples > section { margin: 0; padding: 0; }
.language-samples .code { margin-top: 0; }
.js[data-language="curl"] [role="tabpanel"]:not([data-lang="curl"]),
.js[data-language="node"] [role="tabpanel"]:not([data-lang="node"]),
.js[data-language="python"] [role="tabpanel"]:not([data-lang="python"]),
.js[data-language="php"] [role="tabpanel"]:not([data-lang="php"]),
.js[data-language="go"] [role="tabpanel"]:not([data-lang="go"]) { display: none; }
.op-facts { display: flex; flex-wrap: wrap; gap: 8px 18px; font-size: .8125rem; color: var(--muted); }
.workflow { position: relative; isolation: isolate; overflow: hidden; background: var(--brand); color: var(--on-brand); padding: 32px; border-radius: 24px; margin: 20px 0 48px; }
.workflow h2 { color: inherit; font-size: clamp(26px, 3vw, 36px); line-height: 1.15; margin: 0 0 16px; max-width: 17ch; }
.workflow > p { max-width: 48ch; }
.workflow-states { display: flex; flex-wrap: wrap; gap: 10px; margin: 22px 0 28px; padding: 0; list-style: none; }
.workflow-states li { margin: 0; padding: 7px 12px; border: 1px solid color-mix(in srgb, var(--on-brand) 60%, transparent); border-radius: 999px; font-size: .8125rem; }
.workflow .start-link { position: relative; display: inline-flex; gap: 16px; align-items: center; min-height: 46px; border-radius: 999px; padding: 10px 20px; background: var(--on-brand); color: var(--brand); font-weight: 600; text-decoration: none; }
.workflow-tide { position: absolute; z-index: -1; pointer-events: none; width: 100%; bottom: -10px; left: 0; opacity: .2; }
.docs-home .article-prose { max-width: none; }
.home-start > h2 { margin-top: 0; }
.guide-links { margin-top: 44px; }
.guide-link { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 96px; padding: 20px 0; border-top: 1px solid var(--line); text-decoration: none; }
.guide-link strong { display: block; font-size: 1.125rem; font-stretch: 125%; font-weight: 650; color: var(--ink); }
.guide-link span span { display: block; color: var(--muted); margin-top: 5px; font-size: .9375rem; }
.guide-link:hover strong { color: var(--brand-ink); }
.reference-link { margin-top: 24px; padding: 12px 0 20px; border-top: 1px solid var(--line); }
.error-row { padding: 24px 0; border-top: 1px solid var(--line); }
.error-row h3 { margin-top: 10px; }
.error-row h3 code { color: var(--ink); font-size: .9375rem; }
.error-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; color: var(--muted); font-size: .8125rem; }
.status-code { display: inline-block; border: 1px solid var(--line-strong); border-radius: 999px; padding: 2px 10px; font-variant-numeric: tabular-nums; }
.recovery { color: var(--muted); margin-bottom: 0; }
.num { font-variant-numeric: tabular-nums; }
@media (min-width: 1400px) {
  .article-layout:has(.page-toc) { grid-template-columns: minmax(0, 1fr) 156px; }
  .page-toc { display: block; position: sticky; top: 92px; font-size: .8125rem; }
  .page-toc p { color: var(--ink); font-weight: 600; }
  .page-toc a { display: block; color: var(--muted); padding: 6px 0; text-decoration: none; }
}
@media (max-width: 759px) {
  .docs-page { padding-top: 32px; }
  .workflow { padding: 24px 20px; border-radius: 20px; }
  .workflow-states { gap: 8px; }
  .workflow-states li { padding-inline: 10px; font-size: .75rem; }
  .tabs { gap: 0; }
  .tabs button { padding-inline: 11px; }
}
@media print { .tabs, .page-toc, .workflow-tide { display: none !important; } [role="tabpanel"][hidden] { display: block !important; } .workflow { border: 1px solid var(--line-strong); background: transparent; color: var(--ink); } }
