/* The vendor API page: one plain page, light and dark. */
* { box-sizing: border-box; }
body.integration-page { margin: 0; background: var(--canvas); color: var(--text); font: 15px/1.6 var(--ui-font); }
[hidden] { display: none !important; }
a { color: var(--accent-text); text-underline-offset: 3px; }
:focus-visible { outline: 2px solid var(--accent-text); outline-offset: 3px; }
.skip-link { position: absolute; inset-inline-start: 12px; top: 6px; z-index: 2; transform: translateY(-160%); padding: 10px 14px; background: var(--panel); }
.skip-link:focus { transform: none; }
.site-header { border-bottom: 1px solid var(--rule); background: var(--panel); }
.header-inner, main { width: min(880px, 100%); margin-inline: auto; padding-inline: max(20px, env(safe-area-inset-left)); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 64px; }
.header-inner .brand { display: inline-flex; align-items: center; min-height: 44px; }
.header-inner .brand img { display: block; width: 124px; height: auto; }
/* One logo per theme (appearance.css): this page's own rule above would show both. */
.header-inner .brand .brand-on-dark, [data-theme="dark"] .header-inner .brand .brand-on-light { display: none; }
[data-theme="dark"] .header-inner .brand .brand-on-dark { display: block; }
.route-actions { display: flex; align-items: center; gap: 12px; }
.workspace-back { display: inline-flex; align-items: center; min-height: 44px; color: var(--quiet); font-size: 14px; text-decoration: none; }
.workspace-back:hover { color: var(--accent-text); text-decoration: underline; }
main { padding-block: 32px 56px; }
h1 { margin: 0 0 6px; font-size: clamp(30px, 5vw, 42px); line-height: 1.15; letter-spacing: -0.045em; }
h2 { margin: 40px 0 8px; font-size: 22px; line-height: 1.25; letter-spacing: -0.03em; }
h3 { margin: 22px 0 6px; font-size: 16px; }
p, li { color: var(--quiet); }
p { margin: 6px 0 12px; }
strong, code, th { color: var(--text); }
ol, ul { padding-inline-start: 22px; }
li { margin: 4px 0; }
code { font: 0.92em ui-monospace, SFMono-Regular, Consolas, monospace; overflow-wrap: anywhere; }
pre { margin: 10px 0 16px; padding: 14px 16px; overflow-x: auto; border: 1px solid var(--rule); border-radius: var(--radius); background: var(--panel); line-height: 1.5; }
pre code { overflow-wrap: normal; white-space: pre; }
.lead { font-size: 17px; }
.table-scroll { overflow-x: auto; margin: 10px 0 16px; border: 1px solid var(--rule); border-radius: var(--radius); background: var(--panel); }
table { width: 100%; border-collapse: collapse; font-size: 14px; }
th, td { padding: 9px 12px; border-bottom: 1px solid var(--rule); text-align: start; vertical-align: top; }
tr:last-child > * { border-bottom: 0; }
thead th { color: var(--quiet); font-weight: 600; }
td code, th code { white-space: nowrap; }
.toc { display: flex; flex-wrap: wrap; gap: 4px 16px; margin: 14px 0 0; padding: 0; list-style: none; }
.toc a { display: inline-flex; align-items: center; min-height: 44px; }
