/* Shared Barq Global API documentation. */
@font-face {font-family:"Manrope";src:url("fonts/manrope-latin-variable.938c6e8019b6.woff2") format("woff2");font-weight:200 800;font-display:swap}
@font-face {font-family:"JetBrains Mono";src:url("fonts/jetbrains-mono-400-latin.d3439c4bd57f.woff2") format("woff2");font-weight:400 500;font-display:swap}
@font-face {font-family:"JetBrains Mono";src:url("fonts/jetbrains-mono-700-latin.227e2ae1c9b1.woff2") format("woff2");font-weight:600 800;font-display:swap}

:root {
  --accent:#AA2C2F; --accent-dark:#942629; --accent-tint:#F9EDED;
  --ink:#2B2B2B; --ink-2:#3A3A3C; --muted:#6E6E73; --muted-2:#5C5C61;
  --line:rgba(43,43,43,.12); --line-soft:rgba(60,60,67,.1); --warm:#F3F1EE; --panel:#F7F7F9; --white:#FFFFFF;
  --navy:#01235C; --navy-dark:#011A45; --green:#267255; --green-tint:#E5F2EB;
  --info-bg:#EEF3FB; --info-ink:#1D3557; --warn-bg:#FBEFF0; --warn-ink:#7B2023;
  --code-bg:#16181D; --code-line:#2A2D35; --code-text:#E6E8EE; --code-muted:#A9AEB9;
  --sans:-apple-system,BlinkMacSystemFont,"Manrope","Segoe UI",Roboto,Arial,sans-serif;
  --mono:"JetBrains Mono",ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;
  --sidebar:244px; --header:64px; --radius:8px;
}
* {box-sizing:border-box}
[hidden] {display:none!important}
html {scroll-padding-top:calc(var(--header) + 12px);-webkit-text-size-adjust:100%}
body {margin:0;background:var(--white);color:var(--ink);font:14px/1.55 var(--sans);-webkit-font-smoothing:antialiased;min-height:100vh;display:flex;flex-direction:column}
button,input {font:inherit;color:inherit}
button {cursor:pointer}
button:disabled {cursor:wait;opacity:.6}
a {color:var(--navy);text-decoration:none}
a:hover {color:var(--navy-dark);text-decoration:underline}
:focus-visible {outline:3px solid rgba(170,44,47,.45);outline-offset:2px;border-radius:6px}
svg {width:16px;height:16px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round;flex-shrink:0}
h1,h2,h3,p {margin-top:0}
h1 {font-size:32px;line-height:1.2;font-weight:800;letter-spacing:-.8px;margin-bottom:12px}
h2 {font-size:22px;line-height:1.3;font-weight:800;letter-spacing:-.35px;margin-bottom:12px}
h3 {font-size:15px;line-height:1.4;font-weight:700;margin:22px 0 10px}
p {margin-bottom:12px}
code {font-family:var(--mono);font-size:13px;overflow-wrap:anywhere}
p code,li code,td code,.field-description code,.note code,.card code,.hero-meta code {background:var(--warm);padding:1px 6px;border-radius:5px}
.barq-accent {color:var(--accent)}
.visually-hidden {position:absolute!important;width:1px!important;height:1px!important;overflow:hidden!important;clip:rect(0 0 0 0)!important;white-space:nowrap!important}
.skip-link {position:fixed;top:8px;left:16px;z-index:80;padding:8px 14px;background:var(--white);border-radius:8px;transform:translateY(-200%)}
.skip-link:focus {transform:none}

/* Header */
.topbar {position:sticky;top:0;z-index:40;display:grid;grid-template-columns:auto auto minmax(160px,1fr) auto;grid-template-areas:"brand nav search actions";align-items:center;gap:10px 18px;padding:12px 20px;background:var(--white);border-bottom:1px solid var(--line);min-height:64px}
.brand {grid-area:brand;display:flex;align-items:center;gap:8px;color:var(--ink);white-space:nowrap;min-width:0}
.brand:hover {text-decoration:none;color:var(--ink)}
.brand img {width:26px;height:26px;object-fit:contain}
.brand-name {font-size:15px;font-weight:800;letter-spacing:-.3px}
.brand-section {padding-left:10px;margin-left:2px;border-left:1px solid var(--line);font-size:13px;font-weight:600;color:var(--muted-2)}
.version-pill {height:20px;padding:0 6px;border-radius:5px;background:var(--panel);color:var(--muted-2);font:500 11px var(--mono);display:inline-flex;align-items:center;border:1px solid var(--line-soft)}
.docs-nav {grid-area:nav;display:flex;align-items:center;gap:2px;min-width:0}
.docs-nav a {height:32px;padding:0 8px;border-radius:6px;font-size:13px;font-weight:600;color:var(--ink-2);display:flex;align-items:center;gap:6px;white-space:nowrap}
.docs-nav a:hover {background:var(--warm);color:var(--ink);text-decoration:none}
.docs-nav a[aria-current=page] {background:var(--warm);color:var(--ink);font-weight:700}
.status-dot {width:7px;height:7px;border-radius:50%;background:var(--green);display:inline-block;flex-shrink:0}
.docs-nav .api-status-link {background:var(--green-tint);color:#1C6345;margin-left:4px;border:1px solid #CBE4D5}
.docs-nav .api-status-link:hover,.docs-nav .api-status-link[aria-current=page] {background:#D7EEDF;color:#174F39}
.docs-search {grid-area:search;min-width:0;width:100%;max-width:420px;justify-self:center;height:34px;display:flex;align-items:center;gap:8px;padding:0 9px 0 11px;border:1px solid var(--line);border-radius:6px;background:var(--panel);color:var(--muted)}
.docs-search input {flex:1;min-width:0;border:0;outline:0;background:transparent;font-size:14px;color:var(--ink)}
.docs-search input::placeholder {color:var(--muted)}
.docs-search input::-webkit-search-cancel-button {cursor:pointer}
.docs-search:focus-within {outline:3px solid rgba(170,44,47,.35);outline-offset:1px}
.docs-search kbd {font:11px var(--mono);border:1px solid var(--line);border-radius:4px;padding:0 5px;color:var(--muted);background:var(--white)}
.topbar-actions {grid-area:actions;display:flex;align-items:center;justify-content:flex-end;gap:8px;min-width:0}
.action-stack {display:flex;align-items:center;gap:8px}
.action-stack .button {height:32px;min-height:32px;padding:0 11px;font-size:12px}
.action-label-short {display:none}
.admin-link {font-size:14px;font-weight:700}
.menu-toggle {grid-area:toggle;display:none;width:32px;height:32px;border:0;border-radius:6px;background:transparent;align-items:center;justify-content:center;color:var(--ink)}
.menu-toggle svg {width:22px;height:22px}
.menu-toggle:hover {background:var(--warm)}
.account-menu {position:relative}
.account-menu summary {list-style:none;cursor:pointer;height:32px;display:flex;align-items:center;gap:7px;padding:0 10px;border-radius:6px;border:1px solid var(--line);font-size:13px;font-weight:700;max-width:170px;overflow:hidden;white-space:nowrap}
.account-name {overflow:hidden;text-overflow:ellipsis}
.account-menu summary::-webkit-details-marker {display:none}
.account-panel {position:absolute;top:calc(100% + 8px);right:0;z-index:60;width:240px;max-width:85vw;padding:10px;border:1px solid var(--line);border-radius:12px;background:var(--white);box-shadow:0 10px 30px rgba(0,0,0,.12);overflow-wrap:anywhere}
.account-panel strong {display:block;padding:6px 8px;font-size:14px}
.account-panel a {display:flex;align-items:center;min-height:40px;padding:6px 8px;border-radius:8px;font-size:14px;font-weight:600}
.account-panel a:hover {background:var(--warm);text-decoration:none}

/* Buttons */
.button {display:inline-flex;align-items:center;justify-content:center;gap:7px;min-height:40px;padding:8px 16px;border-radius:8px;border:1.5px solid transparent;font-size:14px;font-weight:700;line-height:1.2;white-space:nowrap;text-decoration:none;cursor:pointer}
.button:hover {text-decoration:none}
.button-primary {background:var(--accent);border-color:var(--accent);color:var(--white)}
.button-primary:hover {background:var(--accent-dark);border-color:var(--accent-dark);color:var(--white)}
.button-navy {background:var(--white);border-color:var(--navy);color:var(--navy)}
.button-navy:hover {background:#F1F4FA;color:var(--navy)}
.button-quiet {background:var(--white);border:1px solid var(--line);color:var(--ink)}
.button-quiet:hover {background:var(--warm);color:var(--ink)}
.button-large {min-height:48px;padding:0 20px;font-size:16px;border-radius:10px}
.icon-button {display:inline-flex;align-items:center;justify-content:center;width:40px;height:40px;border:0;border-radius:8px;background:transparent;color:var(--muted);font-size:24px}
.icon-button:hover {background:var(--warm);color:var(--ink)}

/* Layout */
.docs-layout {flex:1 0 auto;display:flex;align-items:stretch;min-width:0;background:linear-gradient(to right,transparent calc(var(--sidebar) - 1px),var(--line-soft) calc(var(--sidebar) - 1px),var(--line-soft) var(--sidebar),transparent var(--sidebar))}
.sidebar {flex:0 0 var(--sidebar);width:var(--sidebar);position:sticky;top:var(--header);align-self:flex-start;height:calc(100vh - var(--header));overflow-y:auto;overscroll-behavior:contain;padding:18px 12px 14px;background:transparent;display:flex;flex-direction:column;font-size:13px}
.sidebar nav {flex:1}
.nav-group-label {padding:0 10px 6px;margin-top:20px;font-size:11px;font-weight:800;color:var(--ink);text-transform:uppercase;letter-spacing:.8px}
.nav-group-label:first-child {margin-top:4px}
.nav-link {display:flex;align-items:center;gap:8px;padding:6px 9px;margin:1px 0;border-radius:6px;color:var(--ink);line-height:1.35}
.nav-link:hover {background:var(--warm);color:var(--ink);text-decoration:none}
.nav-link.active,.nav-link[aria-current] {background:var(--accent-tint);color:var(--accent);font-weight:700}
.nav-method {flex-shrink:0;width:48px;height:20px;border-radius:5px;font:500 10px/20px var(--mono);text-align:center;background:var(--method-bg,var(--warm));color:var(--method-color,var(--muted))}
.search-status {font-size:13px;color:var(--muted);padding:0 10px;min-height:0}
.search-status:not(:empty) {margin-bottom:8px}
.empty-state {font-size:14px;color:var(--muted);padding:10px}
.sidebar-footer {margin-top:16px;padding:14px 10px 4px;border-top:1px solid var(--line-soft);font-size:12px;color:var(--muted)}
.sidebar-footer>div {display:flex;align-items:center;gap:6px}
.sidebar-footer a {display:inline-block;margin-top:6px;font-weight:600}
.reference {flex:1;min-width:0;display:flex;flex-direction:column;outline:0}
.reference:focus {outline:0}
.reference-toolbar {display:flex;flex-direction:column;gap:8px;padding:0 4px 14px;margin-bottom:6px;border-bottom:1px solid var(--line-soft)}
.reference-toolbar .button {min-height:36px;font-size:13px;width:100%}
.nav-overlay {position:fixed;inset:var(--header) 0 0;z-index:29;border:0;background:rgba(43,43,43,.35)}

/* Reference sections */
#sections {flex:1 0 auto}
.doc-section {display:grid;grid-template-columns:minmax(0,1.06fr) minmax(0,1fr);border-bottom:1px solid var(--line-soft);scroll-margin-top:8px}
.doc-content {min-width:0;padding:28px 30px}
.doc-example {min-width:0;padding:28px 24px;background:var(--panel);border-left:1px solid var(--line-soft)}
.example-stack {position:sticky;top:calc(var(--header) + 20px);display:flex;flex-direction:column;gap:14px;min-width:0}
.example-stack>* {min-width:0;max-width:100%}
.doc-content>*,.page-body>* {max-width:760px}
.doc-content>:last-child,.example-stack>:last-child {margin-bottom:0}
.eyebrow {display:block;margin-bottom:8px;font-size:11px;font-weight:700;color:var(--accent);letter-spacing:.8px;text-transform:uppercase}
.lead {font-size:15px;line-height:1.65;color:var(--ink-2)}
.intro-section h1 {margin-bottom:14px}
.quickstart-title {font-size:21px;margin:22px 0 10px}
.quickstart-steps {margin:18px 0}
.quickstart-steps>li {margin-bottom:18px}
.quickstart-steps h3 {font-size:15px}
.quickstart-steps p {font-size:14px;line-height:1.6}
.endpoint-heading {display:flex;align-items:flex-start;gap:10px}
.endpoint-heading h1,.endpoint-heading h2 {flex:1}
.anchor-link {font:18px var(--mono);color:var(--muted);opacity:0;padding-top:2px}
.doc-section:hover .anchor-link,.anchor-link:focus-visible {opacity:1}
.anchor-link:hover {color:var(--accent);text-decoration:none}
.endpoint-path {display:flex;align-items:center;flex-wrap:wrap;gap:10px;margin:2px 0 18px}
.endpoint-path code {font-size:14px;color:var(--ink)}
.method-pill {height:24px;padding:0 8px;border-radius:6px;font:500 13px/24px var(--mono);background:var(--method-bg,var(--warm));color:var(--method-color,var(--ink));flex-shrink:0}
.method-get {--method-bg:#E3F4EA;--method-color:#17663E}
.method-post {--method-bg:#FDF0DC;--method-color:#8A4B00}
.method-patch {--method-bg:#E8EEFA;--method-color:#01235C}
.method-put {--method-bg:#EFE8FA;--method-color:#4B2A85}
.method-delete {--method-bg:#FBE9EA;--method-color:#8F2427}
.version-pill.method-get {background:var(--method-bg);color:var(--method-color);font:500 11px/20px var(--mono);height:20px;padding:0 7px;border-radius:5px}
.endpoint-description {font-size:15px;color:var(--ink-2)}
.prose-lines p {margin-bottom:10px}
.small-heading {display:flex;align-items:center;gap:8px;font-size:13px;font-weight:700;color:var(--ink);margin:0}
.small-note {font-size:14px;line-height:1.6;color:var(--muted-2)}
.example-caption {font-size:12px;line-height:1.5;color:var(--muted);margin:-6px 0 0}
.intro-links,.hero-actions {display:flex;flex-wrap:wrap;gap:10px;margin:6px 0 22px}
.guide-list {padding-left:20px;font-size:15px;color:var(--ink-2)}
.guide-list li {margin:8px 0}
.overview-facts {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;margin:20px 0}
.overview-facts>div {padding:0 0 12px;border-bottom:1px solid var(--line-soft)}
.overview-facts strong {display:block;font-size:13px;margin-bottom:4px}
.overview-facts span {display:block;font-size:13px;line-height:1.55;color:var(--muted-2)}
.base-url {display:flex;align-items:center;gap:8px;border:1px solid var(--line);border-radius:10px;background:var(--white);padding:6px 6px 6px 14px}
.base-url code {flex:1;min-width:0;font-size:13px}
.base-url .copy-button {color:var(--ink);border-color:var(--line)}
.base-url .copy-button:hover {background:var(--warm)}

/* Notes */
.note {border-radius:var(--radius);background:var(--info-bg);color:var(--info-ink);padding:14px 16px;font-size:14px;line-height:1.5;margin:20px 0;border-left:4px solid var(--navy)}
.note strong {font-weight:800}
.note p {margin:4px 0 0}
.note p:first-child {margin-top:0}
.note-warning,.command-warning {background:var(--warn-bg);color:var(--warn-ink);border-left-color:var(--accent)}

/* Code */
.code-card {position:relative;border-radius:var(--radius);background:var(--code-bg);color:var(--code-text);overflow:visible;margin:0 0 4px;min-width:0;max-width:100%}
.code-toolbar {display:flex;align-items:center;gap:8px;min-height:44px;padding:6px 8px 6px 14px;border-bottom:1px solid var(--code-line);font-size:12px;font-weight:600;color:var(--code-muted)}
.code-toolbar .status-ok {color:#4ADE80;font-weight:700}
.code-tabs {display:flex;gap:4px;flex:1;min-width:0;overflow-x:auto}
.code-tab {height:30px;padding:0 10px;border:0;border-radius:7px;background:transparent;color:var(--code-muted);font-size:13px;font-weight:600;white-space:nowrap}
.code-tab:hover {color:var(--white)}
.code-tab[aria-selected=true] {background:var(--code-line);color:var(--white);font-weight:700}
.copy-button {position:relative;margin-left:auto;height:28px;padding:0 10px;border-radius:7px;border:1px solid #3A3E48;background:transparent;color:#D6D9E0;font-size:12px;font-weight:600;display:inline-flex;align-items:center;gap:6px;flex-shrink:0}
.copy-button svg {width:13px;height:13px}
.copy-button:hover {background:var(--code-line);color:var(--white)}
.copied-pop {position:absolute;top:50%;right:calc(100% + 8px);transform:translateY(-50%);z-index:5;padding:5px 11px;border-radius:8px;background:var(--ink);color:var(--white);font-size:13px;font-weight:600;white-space:nowrap;display:flex;align-items:center;gap:6px;box-shadow:0 6px 18px rgba(0,0,0,.18);animation:barqCopied 1.6s ease forwards;pointer-events:none}
.copied-pop svg {width:14px;height:14px;stroke:#4ADE80;stroke-width:2.4}
@keyframes barqCopied {0%{opacity:0;transform:translate(6px,-50%)}12%{opacity:1;transform:translate(0,-50%)}75%{opacity:1}100%{opacity:0}}
.code-card pre {margin:0;padding:18px;max-height:420px;overflow:auto;font:13px/1.65 var(--mono);color:var(--code-text);tab-size:2;border-radius:0 0 var(--radius) var(--radius);scrollbar-color:#3A3E48 var(--code-bg);scrollbar-width:thin}
.code-card pre code {font:inherit;white-space:pre;overflow-wrap:normal;background:none;padding:0}
.code-card pre:focus-visible {outline-offset:-3px}
.json-key {color:#F0A6A8}
.json-string {color:#E6D9A8}
.json-number {color:#9ED7CF}
.json-literal {color:#C8B6F0}

/* Fields and tables */
.field-list {border:1px solid var(--line);border-radius:var(--radius);margin:0 0 20px;overflow:hidden}
.field {padding:12px 16px;border-top:1px solid var(--line-soft)}
.field:first-child {border-top:0}
.field-title {display:flex;align-items:baseline;flex-wrap:wrap;gap:6px 12px;font-size:12px;color:var(--muted)}
.field-title code {font-size:13px;font-weight:500;color:var(--ink);min-width:120px}
.field-title .required {color:var(--accent);font-weight:700}
.field-description {margin-top:4px;font-size:14px;line-height:1.55;color:var(--ink-2)}
.field-description>:last-child,.response-table td>:last-child,.endpoint-description>:last-child {margin-bottom:0}
.response-variant {margin:10px 0;border:1px solid var(--line);border-radius:var(--radius);overflow:hidden}
.response-variant>summary {padding:10px 12px;background:var(--panel);cursor:pointer;font-size:13px;font-weight:700;color:var(--ink)}
.response-variant[open]>summary {border-bottom:1px solid var(--line-soft)}
.response-variant>.field-list {border:0;margin:0;border-radius:0}
.response-examples {display:grid;grid-template-columns:minmax(0,1fr);gap:12px;min-width:0;max-width:100%}
.response-examples>* {min-width:0;max-width:100%}
.response-examples>details>summary {cursor:pointer;font-size:13px;font-weight:600;color:var(--ink);padding:10px 12px;border:1px solid var(--line);border-radius:var(--radius);background:var(--white)}
.response-examples>details[open]>summary {margin-bottom:10px}
.no-content-card .example-caption {padding:16px;margin:0;font-size:13px;color:var(--code-muted)}
.field-extra {display:block;margin-top:4px;font:12px/1.6 var(--mono);color:var(--muted)}
.nested-fields {margin:10px 0 0;padding-left:14px;border-left:2px solid var(--warm)}
.nested-fields .field {padding:8px 0;border-top:0}
.response-table {width:100%;border-collapse:separate;border-spacing:0;border:1px solid var(--line);border-radius:var(--radius);overflow:hidden;margin:0 0 20px;font-size:14px}
.response-table th {text-align:left;padding:10px 16px;background:var(--warm);font-size:12px;font-weight:700;color:var(--muted);text-transform:uppercase;letter-spacing:.6px}
.response-table td {padding:10px 16px;border-top:1px solid var(--line-soft);vertical-align:top;color:var(--ink-2);line-height:1.55}
.response-table td:first-child {width:72px;font-family:var(--mono);font-size:13px;color:var(--ink)}
.response-table .status-success {color:#17663E}
.response-description {font-size:14px;color:var(--muted)}

/* Read forms and dialog */
.read-tools {margin-top:8px;padding-top:16px;border-top:1px solid var(--line)}
.read-form {margin-top:14px}
.read-form fieldset {border:0;padding:0;margin:0}
.read-form legend {font-size:14px;font-weight:700;margin-bottom:6px}
.read-input {margin:10px 0}
.input-label {display:block;margin-bottom:6px;font-size:13px;font-weight:700}
.input-label small {margin-left:6px;color:var(--muted);font-weight:500}
.text-input {display:block;width:100%;height:44px;padding:0 12px;border:1px solid rgba(43,43,43,.25);border-radius:10px;background:var(--white);font:13px var(--mono);color:var(--ink)}
.text-input:focus {outline:3px solid rgba(170,44,47,.3);border-color:var(--accent)}
.form-error {font-size:13px;color:var(--accent);margin:8px 0}
.live-result {margin-top:16px;display:flex;flex-direction:column;gap:10px}
.live-result .small-heading {color:var(--accent)}
.loading-panel,.schema-error {padding:56px 40px;max-width:680px}
.schema-error .button {margin-right:14px}
.auth-dialog {width:calc(100% - 32px);max-width:460px;padding:26px;border:0;border-radius:18px;color:var(--ink);box-shadow:0 24px 80px rgba(0,0,0,.25)}
.auth-dialog::backdrop {background:rgba(43,43,43,.45)}
.dialog-heading {display:flex;justify-content:space-between;align-items:flex-start;gap:16px}
.dialog-heading h2 {font-size:22px}
.auth-dialog p {font-size:14px;color:var(--muted-2)}
.auth-dialog .button-quiet#token-visibility {margin-top:8px;min-height:36px}
.dialog-actions {display:flex;flex-wrap:wrap;justify-content:flex-end;gap:10px;margin-top:18px}
.copy-toast {position:fixed;bottom:22px;left:50%;transform:translateX(-50%);z-index:90;padding:9px 15px;border-radius:10px;background:var(--ink);color:var(--white);font-size:14px;box-shadow:0 6px 18px rgba(0,0,0,.18)}
.preview-note {display:flex;gap:10px;align-items:flex-start;border-radius:var(--radius);background:var(--info-bg);color:var(--info-ink);padding:12px 14px;font-size:14px;margin-bottom:20px}

/* Resource pages */
.resource-main {flex:1 0 auto}
.page-body {width:100%;max-width:1000px;margin:0 auto;padding:30px 30px 40px}
.page-narrow {max-width:1000px}
.page-narrow>* {max-width:900px}
.page-wide {max-width:1240px}
.page-wide>* {max-width:none}
.docs-guides .page-body {margin:0;max-width:1180px}
.docs-commands .page-body {margin:0;max-width:1180px}
.command-guide-section {padding-bottom:24px;margin-bottom:24px;border-bottom:1px solid var(--line-soft);scroll-margin-top:12px;min-width:0;}
.command-guide-section:last-child {border-bottom:0;padding-bottom:0;margin-bottom:0;}
.command-guide-section p,.command-guide-section li {overflow-wrap:anywhere;}
.command-summary {display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:24px 0;}
.command-summary > div {padding:16px;border:1px solid var(--line);border-radius:12px;background:var(--panel);}
.command-summary strong,.command-summary span {display:block;}
.command-summary strong {font-size:14px;margin-bottom:6px;}
.command-summary span {font-size:13px;line-height:1.5;color:var(--muted-2);}
.command-example-panel {padding:20px;border:1px solid var(--line);border-radius:var(--radius);background:var(--panel);margin:24px 0;}
.command-example-heading {display:flex;align-items:center;justify-content:space-between;gap:16px;flex-wrap:wrap;margin-bottom:14px;}
.command-example-heading h3 {margin:0;}
.command-example-heading .eyebrow {font-size:11px;margin-bottom:5px;}
.docs-commands .table-wrap {overflow-x:auto;max-width:100%;margin-bottom:20px;}
.docs-commands .response-table {margin-bottom:0;}
.docs-commands .response-table caption {text-align:left;font:700 14px var(--sans);margin-bottom:12px;color:var(--ink);}
.docs-commands .response-table td:first-child {width:auto;min-width:100px;}
.docs-commands .response-table td {overflow-wrap:anywhere;}
.docs-commands .code-card {min-width:0;max-width:100%;}
.docs-commands .docs-footer {max-width:none;}
@media (max-width:700px) {
  .command-summary {grid-template-columns:1fr;gap:8px;}
  .command-example-panel {padding:14px;}
  .docs-commands .response-table th,.docs-commands .response-table td {padding:10px;}
  .docs-commands .help-band .button {white-space:normal;}
}
.card-grid {display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:14px;margin:6px 0 40px}
.card-grid-3 {grid-template-columns:repeat(auto-fit,minmax(260px,1fr))}
.card {display:flex;flex-direction:column;gap:6px;padding:18px;border:1px solid var(--line);border-radius:var(--radius);background:var(--white);color:var(--ink)}
a.card:hover {border-color:rgba(43,43,43,.3);box-shadow:0 6px 18px rgba(0,0,0,.06);text-decoration:none;color:var(--ink)}
.card strong {font-size:17px;font-weight:700;line-height:1.3}
.card span {font-size:14px;line-height:1.5;color:var(--muted-2)}
.card .more-link {margin-top:auto;padding-top:6px}
.more-link {display:inline-flex;align-items:center;gap:4px;font-size:14px;font-weight:700;color:var(--navy)}
.more-link::after {content:"→"}
.notes-grid .note {margin:0}
.guide {padding-top:34px;margin-top:8px;border-top:1px solid var(--line)}
.guide>p,.guide>.note {max-width:760px}
.steps {list-style:none;counter-reset:step;padding:0;margin:20px 0}
.steps>li {counter-increment:step;position:relative;padding-left:46px;margin-bottom:22px}
.steps>li::before {content:counter(step);position:absolute;left:0;top:0;width:30px;height:30px;border-radius:50%;background:var(--accent);color:var(--white);font-size:14px;font-weight:800;display:flex;align-items:center;justify-content:center}
.steps h3 {margin:3px 0 6px}
.steps p {color:var(--ink-2);margin-bottom:10px}
.steps .code-card {max-width:830px}
.hero {background:var(--warm);border-bottom:1px solid var(--line-soft)}
.hero-inner {max-width:1240px;margin:0 auto;padding:36px 30px;display:flex;flex-wrap:wrap;align-items:center;gap:28px}
.hero-copy {flex:1 1 460px;min-width:0}
.hero-copy h1 {font-size:40px;letter-spacing:-1.1px}
.hero-kicker {font-size:15px;font-weight:700;margin-bottom:12px}
.hero-meta {font-size:13px;color:var(--muted-2);margin:0}
.hero-code {flex:1 1 420px;min-width:0;display:flex;flex-direction:column;gap:12px}
.help-band {display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:16px 24px;padding:28px;border-radius:18px;background:var(--ink);color:var(--white);margin-top:40px}
.help-band h2 {font-size:20px;margin-bottom:4px}
.help-band p {margin:0;color:#E6E3DF}
.help-band .barq-accent {color:#F0A6A8}
.status-banner {display:flex;align-items:center;gap:16px;padding:22px 24px;border-radius:18px;margin:4px 0 22px}
.status-banner h1 {font-size:24px;letter-spacing:-.3px;margin:0 0 2px}
.status-banner p {margin:0;font-size:14px}
.status-banner-ok {background:var(--green-tint);color:#1C5440}
.status-banner-down {background:var(--warn-bg);color:var(--warn-ink)}
.status-icon {width:40px;height:40px;border-radius:50%;display:flex;align-items:center;justify-content:center;flex-shrink:0;color:var(--white);font-weight:800;font-size:20px}
.status-banner-ok .status-icon {background:var(--green)}
.status-banner-down .status-icon {background:var(--accent)}
.status-icon svg {width:20px;height:20px;stroke-width:2.6}
.table-card {border:1px solid var(--line);border-radius:var(--radius);overflow:hidden;margin-bottom:18px}
.table-card-head {padding:12px 18px;background:var(--warm);font-size:13px;font-weight:700;color:var(--muted);text-transform:uppercase;letter-spacing:.6px}
.status-row {display:flex;justify-content:space-between;align-items:center;gap:12px;flex-wrap:wrap;padding:12px 18px;border-top:1px solid var(--line-soft);font-weight:700}
.status-value {display:inline-flex;align-items:center;gap:8px;font-size:14px}
.status-ok {color:var(--green)}
.status-down {color:var(--accent)}
.status-down .status-dot {background:var(--accent)}
.changelog {list-style:none;padding:0;margin:28px 0 0;border-top:1px solid var(--line)}
.changelog li {display:flex;flex-wrap:wrap;gap:6px 24px;padding:20px 0;border-bottom:1px solid var(--line)}
.changelog time {flex:0 0 150px;font-size:14px;font-weight:700;color:var(--muted);padding-top:3px}
.changelog li>div {flex:1 1 420px;min-width:0}
.changelog h2 {display:flex;align-items:center;flex-wrap:wrap;gap:10px;font-size:18px;letter-spacing:-.2px;margin-bottom:6px}
.changelog p {margin:0;color:var(--ink-2);font-size:15px}
.tag {display:inline-flex;align-items:center;height:22px;padding:0 9px;border-radius:11px;font-size:12px;font-weight:700;letter-spacing:0}
.tag-new {background:var(--green-tint);color:#17663E}
.tag-improved {background:#E8EEFA;color:var(--navy)}

/* Footer */
.docs-footer {width:100%;max-width:1240px;margin:auto auto 0;padding:10px 16px 14px;border-top:1px solid #E3DED6;text-align:center;font-size:12px;line-height:1.5;color:var(--muted)}
.docs-footer p {margin:0}
.docs-footer a {color:var(--accent);font-weight:600}
.docs-reference .docs-footer,.docs-guides .docs-footer {max-width:none}

/* Responsive */
@media (max-width:1650px) {
  .account-name {display:none}
  .account-menu summary {width:32px;padding:0;justify-content:center}
}
@media (max-width:1350px) {
  .topbar {grid-template-columns:auto minmax(160px,1fr) auto;grid-template-areas:"brand search actions" "nav nav nav";gap:8px 16px;padding:10px 20px}
  .docs-nav {overflow-x:auto;scrollbar-width:none}
  .docs-nav::-webkit-scrollbar {display:none}
}
@media (max-width:1100px) {
  .doc-section {grid-template-columns:minmax(0,1fr)}
  .doc-example {border-left:0;border-top:1px solid var(--line-soft)}
  .example-stack {position:static}
  .action-label-full {display:none}
  .action-label-short {display:inline}
  .account-name {display:none}
  .account-menu summary {width:32px;padding:0;justify-content:center}
}
@media (max-width:900px) {
  .page-body,.hero-inner {padding-left:24px;padding-right:24px}
  .doc-content {padding:26px 24px}
  .doc-example {padding:24px}
  .hero-copy h1 {font-size:40px}
}
@media (max-width:700px) {
  :root {--sidebar:min(300px,calc(100vw - 48px))}
  h1 {font-size:30px;letter-spacing:-.7px}
  h2 {font-size:22px}
  .topbar {grid-template-columns:32px minmax(0,1fr) auto;grid-template-areas:"toggle brand brand" "search search actions" "nav nav nav";gap:8px;padding:8px 12px}
  .menu-toggle {display:inline-flex}
  .brand-name {font-size:15px}
  .brand-section {font-size:12px}
  .topbar-actions {gap:5px}
  .action-stack {gap:5px}
  .action-stack .button {padding:0 8px;font-size:11px}
  .docs-search {max-width:none;height:34px}
  .docs-search kbd {display:none}
  .docs-nav a {font-size:12px;padding:0 8px}
  .docs-layout {display:block;background:none}
  .sidebar {background:var(--white)}
  .sidebar {position:fixed;top:var(--header);left:0;bottom:0;z-index:30;height:calc(100vh - var(--header));height:calc(100dvh - var(--header));max-height:calc(100dvh - var(--header));min-height:0;align-self:auto;width:var(--sidebar);transform:translateX(-105%);transition:transform .18s ease;box-shadow:0 12px 40px rgba(0,0,0,.18)}
  .sidebar.is-open {transform:none}
  .doc-content {padding:24px 18px}
  .doc-example {padding:20px 16px}
  .page-body,.hero-inner {padding:24px 18px 32px}
  .hero-inner {gap:24px}
  .hero-copy h1 {font-size:34px;letter-spacing:-1px}
  .lead {font-size:15px}
  .steps>li {padding-left:40px}
  .code-card pre {font-size:12px;padding:14px}
  .changelog time {flex-basis:100%}
  .help-band {padding:22px}
}
@media (max-width:460px) {
  .version-pill:not(.method-get) {display:none}
  .brand {gap:7px}
  .brand-section {padding-left:8px}
  .docs-search input {font-size:12px}
  .docs-search {padding-left:8px;gap:5px}
}
@media (prefers-reduced-motion:reduce) {*,*::before,*::after {animation:none!important;transition:none!important}}
@media print {.topbar,.sidebar,.nav-overlay,.read-tools,.auth-dialog,.copy-toast,.anchor-link,.copy-button,.reference-toolbar {display:none!important}.doc-section {display:block}.example-stack {position:static}.code-card pre {max-height:none;white-space:pre-wrap}}
.quickstart-fold > summary {list-style:none;cursor:pointer;}
.quickstart-fold > summary::-webkit-details-marker {display:none;}
