@font-face {
    font-family: 'IBM Plex Mono';
    src: url('./docs-labels.ttf') format('truetype');
    font-weight: 500;
    font-display: swap;
}
@font-face {
    font-family: 'Svift Wordmark';
    src: url('./brand-wordmark.woff2') format('woff2');
    font-weight: 400;
    font-display: swap;
}
:root {
    color-scheme: dark;
    --background: #080808;
    --surface: #111110;
    --docs-ease: cubic-bezier(0.23, 1, 0.32, 1);
    --text: #eeece6;
    --muted: #a7a7a0;
    --accent: #d9bd8b;
    --accent-rgb: 217 189 139;
    --accent-bright: #f1ddba;
    --gold: var(--accent);
    --border: #ffffff14;
    --header: 76px;
    --sidebar: 270px;
    font-family:
        -apple-system, BlinkMacSystemFont, 'Segoe UI', Arial, sans-serif;
    line-height: 1.65;
    color: var(--text);
    background: var(--background);
}
:root[data-docs-palette='green'] {
    --accent: #7bdfb5;
    --accent-rgb: 123 223 181;
    --accent-bright: #c8f4df;
}
* {
    box-sizing: border-box;
}
html {
    scroll-behavior: smooth;
    scroll-padding-top: 104px;
}
body {
    margin: 0;
    font-size: 16px;
    background:
        radial-gradient(
            ellipse at 82% 0,
            rgb(var(--accent-rgb) / 0.039),
            transparent 46%
        ),
        var(--background);
    -webkit-font-smoothing: antialiased;
}
button,
input {
    font: inherit;
}
button,
a,
input,
summary {
    -webkit-tap-highlight-color: transparent;
}
a {
    color: var(--gold);
    text-decoration: none;
}
a:hover {
    text-decoration: underline;
    text-underline-offset: 4px;
}
button {
    cursor: pointer;
    color: inherit;
}
button:focus-visible,
a:focus-visible,
input:focus-visible,
summary:focus-visible {
    outline: 2px solid var(--gold);
    outline-offset: 4px;
}
h1,
h2,
h3,
p {
    overflow-wrap: anywhere;
}
h1,
h2,
h3 {
    line-height: 1.25;
    letter-spacing: -0.025em;
    font-weight: 700;
}
h1 {
    font-size: clamp(30px, 3vw, 40px);
    margin: 14px 0 20px;
}
h2 {
    font-size: 23px;
    margin: 42px 0 18px;
}
h3 {
    font-size: 17px;
}
p {
    margin: 12px 0 20px;
}
code {
    font:
        13px/1.65 ui-monospace,
        SFMono-Regular,
        Consolas,
        monospace;
    background: #ffffff07;
    border: 1px solid #ffffff09;
    border-radius: 5px;
    padding: 2px 5px;
    overflow-wrap: anywhere;
}
pre {
    margin: 0;
    max-width: 100%;
    overflow: auto;
    tab-size: 2;
}
pre code {
    display: block;
    background: none;
    border: 0;
    padding: 20px;
    white-space: pre;
    overflow-wrap: normal;
    font-size: 13px;
    line-height: 1.7;
}
strong {
    font-weight: 700;
}
.muted {
    color: var(--muted);
}
.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;
}
.skip-link {
    position: fixed;
    z-index: 100;
    top: 8px;
    left: 16px;
    padding: 12px 20px;
    background: var(--surface);
    transform: translateY(-160%);
}
.skip-link:focus {
    transform: none;
}
.docs-header {
    height: var(--header);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 0 30px;
    position: sticky;
    top: 0;
    z-index: 30;
    background: linear-gradient(180deg, #ffffff08, transparent 45%), #090909e8;
    backdrop-filter: blur(18px) saturate(1.15);
    -webkit-backdrop-filter: blur(18px) saturate(1.15);
    border-bottom: 1px solid var(--border);
    box-shadow:
        inset 0 1px #ffffff12,
        0 8px 28px #0002;
}
.brand-row,
.brand,
.docs-header nav {
    display: flex;
    align-items: center;
    gap: 14px;
}
.brand {
    font-size: 18px;
    color: var(--text);
    white-space: nowrap;
    gap: 10px;
}
.brand:hover {
    text-decoration: none;
}
.brand strong {
    font:
        400 27px/1.2 'Svift Wordmark',
        system-ui,
        sans-serif;
    color: #efe3d1;
    letter-spacing: 0;
}
.brand-mark {
    width: 64px;
    height: 64px;
    margin: 0 -9px;
    object-fit: contain;
    flex: none;
}
.brand-divider {
    height: 20px;
    width: 1px;
    background: #ffffff29;
    margin: 0 2px;
}
.brand-context {
    color: var(--muted);
    font-size: 12px;
    letter-spacing: 0.025em;
}
.docs-header nav {
    gap: 22px;
    font-size: 13px;
}
.docs-header nav a {
    color: #b9b9b2;
    white-space: nowrap;
}
.docs-header nav .header-active {
    color: var(--text);
}
.header-active span {
    font:
        10px ui-monospace,
        monospace;
    margin-left: 6px;
    color: var(--muted);
}
.dashboard-link {
    padding: 9px 17px;
    border: 1px solid rgb(var(--accent-rgb) / 0.184);
    border-radius: 999px;
    background: linear-gradient(170deg, #ffffff0c, transparent 60%);
    box-shadow: inset 0 1px 1px #ffffff25;
}
.docs-header nav .palette-preview {
    font-size: 11px;
    color: var(--accent);
    border-right: 1px solid var(--border);
    padding-right: 20px;
}
.icon-button {
    width: 34px;
    height: 34px;
    border: 1px solid var(--border);
    border-radius: 10px;
    background: #ffffff06;
    font-size: 20px;
    line-height: 1;
}
.docs-header .icon-button {
    display: none;
}
.docs-sidebar {
    position: fixed;
    top: var(--header);
    bottom: 0;
    left: 0;
    width: var(--sidebar);
    padding: 24px 18px 0;
    border-right: 1px solid var(--border);
    display: flex;
    flex-direction: column;
    background: #090a09;
    z-index: 25;
}
.sidebar-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font:
        10px/1.4 ui-monospace,
        monospace;
    letter-spacing: 0.13em;
    color: #8d8e87;
    margin: 0 8px 16px;
}
.sidebar-close {
    display: none;
}
.search-box {
    display: flex;
    align-items: center;
    gap: 9px;
    padding: 10px 11px;
    border: 1px solid #ffffff1d;
    border-radius: 10px;
    background: #ffffff04;
    flex-shrink: 0;
    box-shadow: inset 0 1px 1px #ffffff08;
}
.search-box svg {
    width: 16px;
    height: 16px;
    fill: none;
    stroke: #a2a298;
    stroke-width: 1.6;
    flex-shrink: 0;
}
.search-box input {
    width: 100%;
    min-width: 0;
    padding: 0;
    background: none;
    border: 0;
    outline: none;
    color: var(--text);
    font-size: 12px;
}
.search-box:focus-within {
    border-color: rgb(var(--accent-rgb) / 0.549);
}
.search-box input:focus-visible {
    outline: none;
}
.search-box input::placeholder {
    color: #888a82;
}
.search-box kbd {
    font:
        9px/1 ui-monospace,
        monospace;
    color: #7c7f75;
    white-space: nowrap;
}
#nav-items {
    overflow-y: auto;
    overscroll-behavior: contain;
    padding: 4px 4px 28px;
    margin: 16px -4px 0;
    flex: 1;
    scrollbar-width: thin;
    scrollbar-color: #4f4c3f transparent;
}
.nav-caption {
    display: block;
    color: #74796e;
    font:
        10px/1.5 ui-monospace,
        monospace;
    letter-spacing: 0.09em;
    text-transform: uppercase;
    margin: 23px 10px 11px;
}
.guide-links {
    display: grid;
    gap: 3px;
}
.guide-links a,
.method-link {
    color: #babdb4;
    font-size: 13px;
    padding: 7px 11px;
    border-radius: 8px;
    transition:
        color 0.16s,
        background 0.16s;
}
.guide-links a:hover,
.method-link:hover {
    background: #ffffff06;
    text-decoration: none;
    color: #fff;
}
.guide-links a[aria-current],
.method-link[aria-current] {
    background: linear-gradient(
        100deg,
        rgb(var(--accent-rgb) / 0.082),
        rgb(var(--accent-rgb) / 0.02)
    );
    color: var(--gold);
    box-shadow: inset 2px 0 rgb(var(--accent-rgb) / 1);
}
.nav-group {
    margin-top: 6px;
}
.nav-group summary {
    list-style: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 7px 10px;
    color: #d0d1c8;
    font-size: 13px;
    font-weight: 700;
}
.nav-group summary::-webkit-details-marker {
    display: none;
}
.nav-group summary::after {
    content: '›';
    margin-left: auto;
    color: #7e8177;
    transform: rotate(0deg);
    transition: transform 0.18s;
}
.nav-group[open] summary::after {
    transform: rotate(90deg);
}
.nav-group small {
    font:
        9px ui-monospace,
        monospace;
    color: #8a8d81;
    border: 1px solid var(--border);
    border-radius: 4px;
    padding: 2px 4px;
}
.nav-group > div {
    display: grid;
    gap: 2px;
    padding: 2px 0 6px;
}
.method-link {
    display: flex;
    align-items: center;
    gap: 9px;
    padding-left: 11px;
    line-height: 1.4;
}
.method-link .method {
    font-size: 8px;
    width: 31px;
    min-width: 31px;
    padding: 1px 0;
    text-align: center;
    border: 0;
}
.method-link span:last-child {
    font-size: 12px;
}
.sidebar-footer {
    padding: 15px 9px 18px;
    border-top: 1px solid var(--border);
    font-size: 10px;
    color: #a7aa9f;
    flex-shrink: 0;
}
.sidebar-footer a {
    display: block;
    margin-top: 8px;
    font-size: 11px;
}
.status-dot {
    display: inline-block;
    width: 5px;
    height: 5px;
    background: var(--gold);
    border-radius: 50%;
    margin-right: 5px;
    box-shadow: 0 0 9px rgb(var(--accent-rgb) / 0.267);
}
.empty-search {
    font-size: 13px;
    color: var(--muted);
    padding: 0 10px;
}
#docs-main {
    margin-left: var(--sidebar);
    padding: 34px 42px 80px;
    min-height: calc(100svh - var(--header));
    outline: none;
}
.breadcrumb {
    display: flex;
    gap: 12px;
    font-size: 11px;
    color: #858a7e;
    margin-bottom: 28px;
}
.breadcrumb a {
    color: #aeb2a7;
}
.breadcrumb span:last-child {
    color: #bebfaf;
}
.guide-layout {
    display: grid;
    grid-template-columns: minmax(0, 800px) 190px;
    gap: 56px;
    max-width: 1160px;
    margin: auto;
}
.doc-article {
    min-width: 0;
    max-width: 820px;
    animation: doc-enter 200ms var(--docs-ease) both;
}
.doc-article h1:focus {
    outline: none;
}
/* A quiet liquid-light finish; readable text stays still. */
.doc-article h1 {
    color: var(--text);
    background: linear-gradient(
        112deg,
        #fff 6%,
        #eeece6 42%,
        var(--accent-bright) 79%,
        #fff 100%
    );
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 1px 18px rgb(var(--accent-rgb) / 0.06);
    font-weight: 650;
    letter-spacing: -0.035em;
}
.eyebrow {
    display: block;
    font:
        9px/1.7 ui-monospace,
        monospace;
    letter-spacing: 0.14em;
    color: var(--gold);
}
.lead {
    color: #b8bcb0;
    font-size: 17px;
    line-height: 1.8;
    max-width: 700px;
    margin-bottom: 28px;
}
.callout {
    border: 1px solid rgb(var(--accent-rgb) / 0.212);
    border-left: 2px solid rgb(var(--accent-rgb) / 0.478);
    border-radius: 12px;
    padding: 17px 21px;
    background: linear-gradient(
        120deg,
        rgb(var(--accent-rgb) / 0.125),
        #11111080 65%
    );
    box-shadow:
        inset 0 1px 0 #ffffff0d,
        0 8px 24px #00000014;
    margin: 28px 0;
    color: #c5c4b6;
}
.callout strong {
    color: var(--accent-bright);
    font-size: 14px;
}
.callout p {
    font-size: 13px;
    line-height: 1.8;
    margin: 7px 0 0;
}
.facts {
    border: 1px solid var(--border);
    border-radius: 14px;
    overflow: hidden;
    background: #ffffff02;
}
.facts > div {
    padding: 16px 20px;
    display: grid;
    grid-template-columns: 170px minmax(0, 1fr);
    gap: 15px;
    border-bottom: 1px solid var(--border);
    align-items: center;
    font-size: 13px;
}
.facts > div:last-child {
    border-bottom: 0;
}
.facts span {
    color: var(--muted);
}
.facts strong {
    font-size: 13px;
    font-weight: 400;
}
.facts code {
    background: none;
    border: 0;
    padding: 0;
    color: var(--accent-bright);
    font-size: 11px;
}
.steps {
    list-style: none;
    padding: 0;
    counter-reset: steps;
}
.steps li {
    counter-increment: steps;
    position: relative;
    padding: 8px 0 10px 48px;
}
.steps li::before {
    content: counter(steps, decimal-leading-zero);
    position: absolute;
    left: 0;
    top: 11px;
    font:
        11px ui-monospace,
        monospace;
    color: var(--gold);
    width: 30px;
    height: 30px;
    border: 1px solid rgb(var(--accent-rgb) / 0.161);
    border-radius: 9px;
    display: grid;
    place-content: center;
}
.steps p {
    font-size: 14px;
    color: var(--muted);
    margin: 6px 0 18px;
}
.link-cards {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 13px;
}
.link-cards a,
.downloads a {
    border: 1px solid #ffffff1b;
    border-radius: 16px;
    padding: 22px;
    color: var(--text);
    background: linear-gradient(150deg, #ffffff06, transparent 66%);
    box-shadow: inset 0 1px 0 #ffffff0a;
    transition:
        background 0.18s,
        border-color 0.18s;
}
.link-cards a:hover,
.downloads a:hover {
    border-color: rgb(var(--accent-rgb) / 0.388);
    background: rgb(var(--accent-rgb) / 0.031);
    text-decoration: none;
}
.link-cards strong {
    display: flex;
    justify-content: space-between;
    font-size: 14px;
}
.link-cards strong span {
    color: var(--gold);
}
.link-cards p {
    font-size: 13px;
    margin: 8px 0 0;
    color: var(--muted);
    line-height: 1.6;
}
.toc {
    position: sticky;
    top: 110px;
    align-self: start;
    border-left: 1px solid var(--border);
    padding-left: 17px;
}
.toc .nav-caption {
    margin: 0 0 16px;
    font-size: 9px;
}
.toc nav {
    display: grid;
    gap: 12px;
}
.toc a {
    font-size: 11px;
    color: #9fa596;
}
.toc a:hover {
    color: var(--gold);
}
.doc-footer {
    border-top: 1px solid var(--border);
    margin-top: 50px;
    padding-top: 24px;
    display: flex;
    gap: 25px;
    flex-wrap: wrap;
    font-size: 12px;
}
.endpoint-layout {
    display: grid;
    grid-template-columns: minmax(0, 760px) minmax(290px, 370px);
    gap: 36px;
    max-width: 1200px;
    margin: auto;
}
.endpoint {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 13px 15px;
    border: 1px solid rgb(var(--accent-rgb) / 0.149);
    border-radius: 11px;
    background: rgb(var(--accent-rgb) / 0.024);
    margin: 20px 0 25px;
    min-width: 0;
}
.endpoint code {
    background: none;
    border: 0;
    padding: 0;
    font-size: 12px;
    color: #d8d9cf;
    line-height: 1.8;
    min-width: 0;
}
.endpoint-description {
    font-size: 15px;
}
.method {
    display: inline-block;
    font:
        700 10px/1.7 ui-monospace,
        monospace;
    letter-spacing: 0.03em;
    border: 1px solid #b4d1ba30;
    border-radius: 4px;
    padding: 2px 7px;
    color: #a8d0b4;
    background: #80bf9a10;
    flex-shrink: 0;
}
.method--post {
    color: #dec18b;
    background: #d7b57813;
    border-color: #d7b5782b;
}
.method--put,
.method--patch {
    color: #b1c6e0;
    background: #87afe013;
    border-color: #87afe030;
}
.method--delete {
    color: #d6a4a0;
    background: #df918813;
    border-color: #df91882b;
}
.example-rail {
    position: sticky;
    top: 110px;
    align-self: start;
    min-width: 0;
}
.example-rail[data-fits-viewport='false'] {
    position: static;
}
.rail-card {
    border: 1px solid rgb(var(--accent-rgb) / 0.165);
    border-radius: 16px;
    background: linear-gradient(150deg, #24221d80, #111110eb 35%);
    box-shadow: inset 0 1px 1px #ffffff12;
    overflow: hidden;
}
.rail-label {
    padding: 19px 20px 6px;
    font:
        9px ui-monospace,
        monospace;
    letter-spacing: 0.1em;
    color: #aaa992;
}
.tabs {
    display: flex;
    gap: 4px;
    flex-wrap: wrap;
}
.tabs button {
    font-size: 12px;
    background: transparent;
    border: 1px solid transparent;
    padding: 7px 14px;
    border-radius: 7px;
    color: #929b89;
    transition:
        background 0.16s,
        color 0.16s;
}
.tabs button[aria-selected='true'] {
    color: var(--accent-bright);
    background: rgb(var(--accent-rgb) / 0.063);
    border-color: rgb(var(--accent-rgb) / 0.188);
}
.language-tabs {
    padding: 10px 14px 17px;
    border-bottom: 1px solid var(--border);
}
.rail-note {
    padding: 0 20px 19px;
    font-size: 12px;
    line-height: 1.65;
    color: #929b89;
    margin: 0;
}
.code-block {
    background: #0b0d0b;
    border: 1px solid var(--border);
    border-radius: 10px;
    margin: 18px 0;
    min-width: 0;
    overflow: hidden;
}
.rail-card .code-block {
    margin: 0 0 12px;
}
.code-heading {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 11px 17px;
    border-bottom: 1px solid #ffffff09;
    color: #7e8876;
    font:
        10px ui-monospace,
        monospace;
}
.code-heading button {
    padding: 3px 7px;
    border: 1px solid var(--border);
    border-radius: 5px;
    background: #ffffff04;
    font:
        10px Cruinn,
        system-ui;
    color: #bcbfae;
}
.token {
    color: var(--accent);
}
.rail-note-card {
    margin-top: 17px;
    padding: 15px 19px;
    border-left: 1px solid rgb(var(--accent-rgb) / 0.184);
}
.rail-note-card strong {
    font-size: 12px;
    font-weight: 400;
    color: #b8bda9;
}
.rail-note-card p {
    font-size: 11px;
    color: #87917b;
    line-height: 1.8;
    margin: 7px 0;
}
.content-type {
    display: inline-block;
    font:
        10px ui-monospace,
        monospace;
    padding: 6px 9px;
    border: 1px solid var(--border);
    border-radius: 6px;
    margin: 0 0 14px;
    color: #9fa892;
}
.schema {
    list-style: none;
    padding: 0;
    margin: 0;
}
.schema > li {
    padding: 16px 0;
    border-top: 1px solid var(--border);
}
.field-heading {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    align-items: baseline;
}
.field-heading code {
    font-size: 12px;
    color: #ddd5bd;
}
.type-label {
    color: #838e78;
    font:
        11px ui-monospace,
        monospace;
}
.required {
    color: var(--accent);
    font:
        9px ui-monospace,
        monospace;
    margin-left: auto;
    font-weight: 400;
    white-space: nowrap;
}
.optional {
    display: block;
    color: #77846c;
    font-size: 10px;
    margin-top: 6px;
}
.schema p {
    font-size: 13px;
    color: #a0ab94;
    line-height: 1.8;
    margin: 8px 0 0;
}
.enum code {
    display: inline-block;
    font-size: 10px;
    margin: 3px 4px 0 0;
    color: var(--accent);
}
.constraints {
    font:
        10px ui-monospace,
        monospace !important;
    overflow-wrap: anywhere;
}
.nested {
    margin-top: 10px;
    padding-left: 15px;
    border-left: 1px solid rgb(var(--accent-rgb) / 0.149);
}
.nested summary {
    font-size: 11px;
    color: #909d81;
    cursor: pointer;
}
.schema-array {
    padding-left: 12px;
    border-left: 1px solid var(--border);
}
.table-wrap {
    max-width: 100%;
    overflow-x: auto;
    margin: 15px 0 25px;
}
table {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
    font-size: 12px;
}
th {
    font-size: 10px;
    color: #848f78;
    font-weight: 400;
}
th,
td {
    padding: 14px 10px;
    border-bottom: 1px solid var(--border);
    vertical-align: top;
}
td p {
    margin: 0;
}
td:first-child {
    padding-left: 0;
}
td .required {
    display: block;
    margin-top: 7px;
}
td code {
    font-size: 10px;
}
td {
    overflow-wrap: anywhere;
}
.response-tabs {
    border-bottom: 1px solid var(--border);
    padding-bottom: 14px;
    margin-bottom: 20px;
}
.response-tabs button {
    font-family: ui-monospace, monospace;
    font-size: 11px;
}
.downloads {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin: 30px 0;
}
.downloads a {
    padding: 20px;
}
.downloads strong {
    display: block;
    font-size: 14px;
}
.downloads span {
    display: block;
    color: var(--muted);
    font-size: 12px;
    line-height: 1.65;
    margin-top: 7px;
}
.checklist {
    padding-left: 20px;
}
.checklist li {
    padding: 6px 0 10px;
    color: #bdc4b2;
}
.checklist li::marker {
    color: var(--gold);
}
.nav-backdrop[hidden] {
    display: none;
}
.nav-backdrop {
    display: none;
}
#docs-main > article {
    max-width: 800px;
    margin: auto;
}
body.menu-open {
    overflow: hidden;
}
@keyframes doc-enter {
    from {
        opacity: 0;
        transform: translateY(5px);
    }
    to {
        opacity: 1;
        transform: none;
    }
}
@media (min-width: 1700px) {
    :root {
        --sidebar: 290px;
    }
    #docs-main {
        padding-left: 64px;
        padding-right: 64px;
    }
    .endpoint-layout {
        gap: 54px;
    }
}
@media (max-width: 1250px) {
    .guide-layout {
        grid-template-columns: minmax(0, 1fr);
    }
    .toc {
        display: none;
    }
    #docs-main {
        padding: 30px 30px 70px;
    }
    .endpoint-layout {
        grid-template-columns: minmax(0, 1fr);
    }
    .example-rail {
        position: static;
        grid-row: 2;
    }
    .rail-card pre code {
        white-space: pre-wrap;
        overflow-wrap: anywhere;
    }
    .example-rail .rail-note-card {
        max-width: 650px;
    }
    .endpoint-description {
        max-width: 700px;
    }
}
@media (max-width: 959px) {
    :root {
        --header: 68px;
        --sidebar: 282px;
    }
    .docs-header {
        padding: 0 20px;
    }
    .docs-header .icon-button {
        display: block;
    }
    .docs-header nav {
        gap: 18px;
    }
    .docs-header nav > a:not(.header-active) {
        display: none;
    }
    .docs-header nav .header-active {
        font-size: 12px;
    }
    .docs-sidebar {
        top: 0;
        width: min(320px, 85vw);
        padding-top: 24px;
        transform: translateX(-105%);
        transition: transform 220ms var(--docs-ease);
        z-index: 50;
        box-shadow: 15px 0 70px #0006;
    }
    .menu-open .docs-sidebar {
        transform: none;
    }
    .sidebar-close {
        display: block;
    }
    .sidebar-top {
        margin-bottom: 20px;
    }
    .menu-open .nav-backdrop {
        display: block;
        position: fixed;
        inset: 0;
        z-index: 45;
        background: #0009;
        border: 0;
        backdrop-filter: blur(3px);
    }
    #docs-main {
        margin-left: 0;
        padding: 28px 26px 65px;
    }
    .guide-layout,
    .endpoint-layout {
        max-width: 800px;
    }
    .brand strong {
        font-size: 22px;
    }
    .brand-mark {
        width: 52px;
        height: 52px;
    }
    .brand {
        gap: 10px;
        font-size: 15px;
    }
    .brand-divider {
        margin: 0;
    }
    .breadcrumb {
        margin-bottom: 25px;
    }
    .facts > div {
        grid-template-columns: 150px minmax(0, 1fr);
    }
}
@media (max-width: 560px) {
    .docs-header {
        padding: 0 15px;
        gap: 12px;
    }
    .brand-row {
        gap: 11px;
    }
    .brand-mark {
        width: 46px;
        height: 46px;
        margin-inline: -7px;
    }
    .header-active span {
        display: none;
    }
    .brand-context,
    .brand-divider {
        display: none;
    }
    .brand strong {
        font-size: 22px;
    }
    #docs-main {
        padding: 26px 20px 60px;
    }
    h1 {
        font-size: 34px;
        margin-top: 12px;
    }
    h2 {
        font-size: 21px;
        margin-top: 34px;
    }
    .lead {
        font-size: 16px;
    }
    .eyebrow {
        font-size: 8px;
        letter-spacing: 0.09em;
    }
    .callout {
        padding: 16px;
    }
    .facts > div {
        display: block;
        padding: 14px 16px;
    }
    .facts span {
        display: block;
        font-size: 11px;
        margin-bottom: 6px;
    }
    .facts code {
        font-size: 10px;
        display: block;
    }
    .link-cards,
    .downloads {
        grid-template-columns: 1fr;
    }
    .link-cards a,
    .downloads a {
        padding: 20px;
    }
    .steps li {
        padding-left: 43px;
    }
    .endpoint {
        padding: 12px;
        gap: 9px;
    }
    .endpoint code {
        font-size: 10px;
    }
    .schema .required {
        margin-left: 0;
    }
    .table-wrap table {
        min-width: 0;
        table-layout: fixed;
    }
    .table-wrap th:first-child {
        width: 34%;
    }
    .table-wrap th:nth-child(2) {
        width: 24%;
    }
    .table-wrap th,
    .table-wrap td {
        padding: 12px 6px;
        overflow-wrap: anywhere;
    }
    .table-wrap th:first-child,
    .table-wrap td:first-child {
        padding-left: 0;
    }
    .table-wrap th:last-child,
    .table-wrap td:last-child {
        padding-right: 0;
    }
    .doc-footer {
        gap: 18px;
        font-size: 11px;
    }
    .response-tabs {
        gap: 3px;
    }
    .tabs button {
        padding: 7px 10px;
    }
    pre code {
        font-size: 11px;
    }
    .breadcrumb {
        font-size: 10px;
    }
    .sidebar-footer {
        padding-bottom: max(18px, env(safe-area-inset-bottom));
    }
}
@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
    *,
    *::before,
    *::after {
        animation: none !important;
        transition: none !important;
    }
}

/* Reading and wayfinding: shared controls keep their existing transitions. */
.guide-links a,
.method-link {
    font-size: 14px;
    padding: 9px 11px;
}
.search-box input {
    font-size: 14px;
}
.search-box kbd {
    font-size: 10px;
    color: #a7aaa0;
}
#docs-search-clear {
    border: 0;
    background: none;
    color: #b5b8ae;
    font-size: 20px;
    padding: 0 2px;
}
.search-count {
    font-size: 12px;
    color: var(--muted);
    padding: 9px 4px 0;
    min-height: 0;
}
.search-count:empty {
    display: none;
}
.search-path {
    display: block;
    font:
        10px/1.5 ui-monospace,
        monospace;
    color: #9aab91;
    overflow-wrap: anywhere;
    margin-top: 4px;
}
.nav-group summary .group-count {
    font:
        11px ui-monospace,
        monospace;
    color: #a1a99b;
    margin-left: auto;
    padding-right: 12px;
}
.nav-group summary > span:first-child {
    display: flex;
    align-items: center;
    gap: 7px;
}
.section-jumps {
    display: flex;
    flex-wrap: wrap;
    gap: 7px 20px;
    border-bottom: 1px solid var(--border);
    padding: 12px 0 20px;
    font-size: 13px;
    margin: 12px 0 24px;
}
.section-jumps a {
    color: #c6c9be;
}
.page-navigation {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
    margin: 44px 0 10px;
}
.page-navigation a {
    padding: 16px;
    border: 1px solid var(--border);
    border-radius: 12px;
    background: #ffffff03;
    color: var(--text);
    transition:
        border-color 0.16s,
        background 0.16s;
    min-width: 0;
}
.page-navigation a:hover {
    text-decoration: none;
    border-color: rgb(var(--accent-rgb) / 0.4);
    background: rgb(var(--accent-rgb) / 0.031);
}
.page-navigation small {
    display: block;
    color: var(--muted);
    font-size: 12px;
    margin-bottom: 7px;
}
.page-navigation strong {
    font-size: 14px;
    line-height: 1.5;
    display: block;
}
.page-navigation a:last-child {
    text-align: right;
}
.code-heading > div {
    display: flex;
    gap: 6px;
}
.code-heading button {
    font-size: 11px;
    min-height: 28px;
    padding: 4px 7px;
}
.code-heading [data-wrap][aria-pressed='true'] {
    color: var(--gold);
    border-color: rgb(var(--accent-rgb) / 0.2);
}
.code-wrap code {
    white-space: pre-wrap;
    overflow-wrap: anywhere;
}
.rail-card pre {
    max-height: 58vh;
    overscroll-behavior: contain;
    scrollbar-width: thin;
    scrollbar-color: #605641 transparent;
}
.language-tabs {
    gap: 4px;
    padding: 10px 12px 14px;
}
.language-tabs button {
    font-size: 12px;
    min-height: 34px;
    padding: 6px 9px;
}
.schema .required {
    margin-left: 5px;
}
h2 > .required {
    margin-left: 10px;
    vertical-align: middle;
    letter-spacing: normal;
}
.contract-note {
    font-size: 13px;
    color: var(--accent);
    padding: 12px 14px;
    border-left: 2px solid var(--accent);
    background: rgb(var(--accent-rgb) / 0.027);
}
.responsibility {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin: 24px 0;
}
.responsibility > div {
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 20px;
    background: #ffffff03;
}
.responsibility h3 {
    margin: 0 0 12px;
}
.responsibility ul {
    padding-left: 19px;
    color: var(--muted);
    font-size: 14px;
}
.flow {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
    margin: 24px 0;
}
.flow a {
    border: 1px solid rgb(var(--accent-rgb) / 0.2);
    background: rgb(var(--accent-rgb) / 0.031);
    border-radius: 8px;
    padding: 9px 12px;
    font-size: 13px;
}
.glossary dt {
    font-weight: 600;
    margin: 22px 0 5px;
}
.glossary dd {
    margin: 0;
    color: var(--muted);
}
@media (max-width: 560px) {
    .search-box input {
        font-size: 16px;
    }
    .responsibility {
        grid-template-columns: 1fr;
    }
    .page-navigation {
        gap: 8px;
    }
    .page-navigation a {
        padding: 12px;
    }
    .code-heading {
        padding: 10px;
    }
    .code-heading button {
        font-size: 10px;
    }
    .language-tabs button {
        min-height: 40px;
    }
    .rail-card pre {
        max-height: 65vh;
    }
}

.language-tabs {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
}
.language-tabs button {
    padding: 6px 3px;
    min-width: 0;
}
.rail-card pre {
    max-height: clamp(220px, calc(100dvh - 460px), 520px);
}
@media (max-width: 1250px) {
    .rail-card pre {
        max-height: 65vh;
    }
}

.tabs button,
.rail-note,
.content-type,
.schema p,
.table-wrap th {
    color: #a6aaa3;
}
.rail-label,
.code-heading {
    color: #a1a49d;
}
.code-heading button {
    font-family: inherit;
}
@media (forced-colors: active) {
    .doc-article h1 {
        background: none;
        -webkit-text-fill-color: CanvasText;
        text-shadow: none;
    }
}
.icon-button,
.tabs button,
.code-heading button {
    transition:
        transform 160ms var(--docs-ease),
        background-color 160ms var(--docs-ease),
        color 160ms var(--docs-ease);
}
@media (hover: hover) and (pointer: fine) {
    .docs-header nav a:hover {
        color: var(--accent-bright);
    }
}
@supports (interpolate-size: allow-keywords) {
    .nav-group {
        interpolate-size: allow-keywords;
    }
    .nav-group::details-content {
        block-size: 0;
        opacity: 0;
        overflow: clip;
        transition:
            block-size 180ms var(--docs-ease),
            opacity 180ms var(--docs-ease),
            content-visibility 180ms allow-discrete;
    }
    .nav-group[open]::details-content {
        block-size: auto;
        opacity: 1;
    }
}
@media (prefers-reduced-motion: reduce) {
    .icon-button,
    .tabs button,
    .code-heading button,
    .nav-group::details-content {
        transition: none;
    }
    .icon-button:active,
    .tabs button:active,
    .code-heading button:active {
        transform: none;
    }
}

/* Readable technical labels, shared across both documentation palettes. */
.sidebar-top,
.nav-caption,
.toc .nav-caption,
.eyebrow,
.rail-label {
    font-family: 'IBM Plex Mono', Consolas, ui-monospace, monospace;
    font-size: 12px;
    font-weight: 500;
    line-height: 1.5;
    letter-spacing: 0.025em;
    color: var(--muted);
}
.nav-group small {
    font:
        500 12px/1.5 'IBM Plex Mono',
        Consolas,
        monospace;
    white-space: normal;
}
