:root {
    --docs-accent: #be0025;
    --docs-accent-dark: #98001e;
    --docs-accent-soft: #fff2f4;
    --docs-bg: #ffffff;
    --docs-bg-subtle: #f7f7f8;
    --docs-bg-muted: #efeff1;
    --docs-border: #e4e4e7;
    --docs-border-strong: #d4d4d8;
    --docs-code: #111216;
    --docs-code-border: #292b33;
    --docs-code-muted: #9ca3af;
    --docs-green: #08783e;
    --docs-green-soft: #eaf8f0;
    --docs-orange: #a64b00;
    --docs-orange-soft: #fff7e8;
    --docs-purple: #6647c7;
    --docs-text: #202124;
    --docs-text-muted: #66676d;
    --docs-text-soft: #8a8b91;
    --docs-topbar-height: 70px;
    --docs-sidebar-width: 292px;
    --docs-radius-sm: 8px;
    --docs-radius: 12px;
    --docs-radius-lg: 18px;
    --docs-shadow: 0 18px 48px rgba(20, 20, 24, 0.1);
}

* {
    box-sizing: border-box;
}

html {
    min-width: 320px;
    scroll-behavior: smooth;
    scroll-padding-top: calc(var(--docs-topbar-height) + 24px);
}

body.docs-page {
    min-width: 320px;
    min-height: 100vh;
    margin: 0;
    overflow-x: hidden;
    background: var(--docs-bg);
    color: var(--docs-text);
    font-family:
        Inter,
        ui-sans-serif,
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        sans-serif;
    font-size: 15px;
    line-height: 1.65;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
}

button,
input,
select,
textarea {
    font: inherit;
}

button,
select {
    cursor: pointer;
}

a {
    color: var(--docs-accent);
    text-decoration: none;
}

a:hover {
    color: var(--docs-accent-dark);
}

img {
    display: block;
    max-width: 100%;
}

.sr-only {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
}

.docs-copy-fallback {
    position: fixed;
    opacity: 0;
    pointer-events: none;
}

.docs-skip-link {
    position: fixed;
    z-index: 200;
    top: 10px;
    left: 12px;
    padding: 10px 14px;
    border-radius: var(--docs-radius-sm);
    background: var(--docs-code);
    color: #fff;
    transform: translateY(-150%);
    transition: transform 0.16s ease;
}

.docs-skip-link:focus {
    color: #fff;
    transform: translateY(0);
}

:focus-visible {
    outline: 3px solid rgba(190, 0, 37, 0.28);
    outline-offset: 2px;
}

.docs-topbar {
    position: fixed;
    z-index: 80;
    top: 0;
    right: 0;
    left: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: var(--docs-topbar-height);
    padding: 0 28px;
    border-bottom: 1px solid var(--docs-border);
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(16px);
}

.docs-topbar__brand,
.docs-topbar__links,
.docs-brand {
    display: flex;
    align-items: center;
}

.docs-topbar__brand {
    min-width: 0;
    gap: 14px;
}

.docs-brand {
    flex: 0 0 auto;
    gap: 13px;
    color: var(--docs-text);
}

.docs-brand:hover {
    color: var(--docs-text);
}

.docs-brand__logo {
    width: 186px;
    height: 19px;
}

.docs-brand__divider {
    width: 1px;
    height: 25px;
    background: var(--docs-border-strong);
}

.docs-brand__label {
    font-size: 14px;
    font-weight: 700;
    letter-spacing: -0.01em;
}

.docs-version-badge {
    display: inline-flex;
    align-items: center;
    height: 28px;
    padding: 0 10px;
    border: 1px solid #e8b5bf;
    border-radius: 999px;
    background: var(--docs-accent-soft);
    color: var(--docs-accent-dark);
    font-family: ui-monospace, "SFMono-Regular", Consolas, monospace;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.03em;
    white-space: nowrap;
}

.docs-topbar__links {
    gap: 24px;
    font-size: 13px;
    font-weight: 650;
}

.docs-topbar__links a {
    color: #4a4b50;
}

.docs-topbar__links a:hover {
    color: var(--docs-accent);
}

.docs-status {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: var(--docs-text-muted);
    font-size: 12px;
    white-space: nowrap;
}

.docs-status > span {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #23a35a;
    box-shadow: 0 0 0 4px rgba(35, 163, 90, 0.11);
}

.docs-icon-button {
    display: none;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    padding: 0;
    border: 0;
    border-radius: var(--docs-radius-sm);
    background: transparent;
}

.docs-menu-button {
    flex-direction: column;
    gap: 4px;
}

.docs-menu-button span {
    display: block;
    width: 19px;
    height: 2px;
    border-radius: 2px;
    background: var(--docs-text);
    transition: transform 0.16s ease, opacity 0.16s ease;
}

body.is-nav-open .docs-menu-button span:nth-child(1) {
    transform: translateY(6px) rotate(45deg);
}

body.is-nav-open .docs-menu-button span:nth-child(2) {
    opacity: 0;
}

body.is-nav-open .docs-menu-button span:nth-child(3) {
    transform: translateY(-6px) rotate(-45deg);
}

.docs-shell {
    min-height: 100vh;
    padding-top: var(--docs-topbar-height);
}

.docs-sidebar {
    position: fixed;
    z-index: 60;
    top: var(--docs-topbar-height);
    bottom: 0;
    left: 0;
    width: var(--docs-sidebar-width);
    border-right: 1px solid var(--docs-border);
    background: #fbfbfc;
}

.docs-sidebar__inner {
    display: flex;
    flex-direction: column;
    height: 100%;
    padding: 22px 18px 18px;
    overflow: hidden auto;
    scrollbar-color: #cacacf transparent;
    scrollbar-width: thin;
}

.docs-search {
    position: relative;
    display: flex;
    align-items: center;
    flex: 0 0 auto;
    margin-bottom: 20px;
}

.docs-search input {
    width: 100%;
    height: 42px;
    padding: 0 42px 0 38px;
    border: 1px solid var(--docs-border);
    border-radius: 10px;
    background: #fff;
    color: var(--docs-text);
    font-size: 13px;
    transition: border-color 0.16s ease, box-shadow 0.16s ease;
}

.docs-search input::placeholder {
    color: #929399;
}

.docs-search input:focus {
    border-color: #cb7c8c;
    outline: 0;
    box-shadow: 0 0 0 3px rgba(190, 0, 37, 0.08);
}

.docs-search__icon {
    position: absolute;
    z-index: 1;
    left: 14px;
    width: 14px;
    height: 14px;
    border: 1.8px solid #77787e;
    border-radius: 50%;
    pointer-events: none;
}

.docs-search__icon::after {
    position: absolute;
    right: -4px;
    bottom: -3px;
    width: 6px;
    height: 2px;
    border-radius: 2px;
    background: #77787e;
    content: "";
    transform: rotate(45deg);
}

.docs-search kbd {
    position: absolute;
    right: 11px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    border: 1px solid var(--docs-border);
    border-radius: 5px;
    background: var(--docs-bg-subtle);
    color: var(--docs-text-soft);
    font-family: inherit;
    font-size: 11px;
    line-height: 1;
    pointer-events: none;
}

.docs-nav {
    padding: 0;
    margin: 0;
    list-style: none;
}

.docs-nav__item {
    margin: 2px 0;
}

.docs-nav__link {
    position: relative;
    display: flex;
    align-items: center;
    min-height: 38px;
    padding: 8px 12px;
    border-radius: 8px;
    color: #55565c;
    font-size: 13px;
    font-weight: 520;
    line-height: 1.35;
    transition: background 0.14s ease, color 0.14s ease;
}

.docs-nav__link:hover {
    background: #f0f0f2;
    color: var(--docs-text);
}

.docs-nav__link[aria-current="page"] {
    background: var(--docs-accent-soft);
    color: var(--docs-accent);
    font-weight: 750;
}

.docs-nav__link[aria-current="page"]::before {
    position: absolute;
    top: 9px;
    bottom: 9px;
    left: 0;
    width: 3px;
    border-radius: 0 3px 3px 0;
    background: var(--docs-accent);
    content: "";
}

.docs-nav__item--group {
    margin-top: 14px;
}

.docs-nav__item--group:first-child {
    margin-top: 2px;
}

.docs-nav details > summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 8px 10px 7px 12px;
    color: #83848a;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.075em;
    line-height: 1.3;
    list-style: none;
    text-transform: uppercase;
    user-select: none;
}

.docs-nav details > summary::-webkit-details-marker {
    display: none;
}

.docs-nav__chevron {
    width: 7px;
    height: 7px;
    border-right: 1.5px solid #94959a;
    border-bottom: 1.5px solid #94959a;
    transform: rotate(45deg) translateY(-2px);
    transition: transform 0.15s ease;
}

.docs-nav details:not([open]) .docs-nav__chevron {
    transform: rotate(-45deg);
}

.docs-nav--depth-1 {
    margin-top: 3px;
}

.docs-nav__label {
    display: block;
    padding: 8px 12px;
    color: var(--docs-text-soft);
    font-size: 12px;
    font-weight: 700;
}

.docs-nav__item[hidden] {
    display: none;
}

.docs-sidebar__footer {
    display: flex;
    flex-direction: column;
    gap: 2px;
    margin-top: auto;
    padding: 22px 12px 2px;
    color: var(--docs-text-soft);
    font-size: 11px;
}

.docs-sidebar__footer a {
    font-size: 12px;
    font-weight: 750;
}

.docs-main {
    min-width: 0;
    min-height: calc(100vh - var(--docs-topbar-height));
    margin-left: var(--docs-sidebar-width);
}

.docs-main__inner {
    width: 100%;
    max-width: 1480px;
    min-height: calc(100vh - 170px);
    padding: 38px 56px 80px;
    margin: 0 auto;
}

.docs-breadcrumbs {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 26px;
    color: var(--docs-text-soft);
    font-size: 12px;
}

.docs-breadcrumbs a {
    color: var(--docs-text-muted);
    font-weight: 650;
}

.docs-breadcrumbs span:last-child {
    max-width: 55ch;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.docs-page-header {
    max-width: 800px;
    padding: 18px 0 34px;
    border-bottom: 1px solid var(--docs-border);
}

.docs-page-header h1,
.docs-endpoint-hero h1 {
    margin: 5px 0 0;
    color: #171719;
    font-size: clamp(32px, 4vw, 48px);
    font-weight: 760;
    letter-spacing: -0.04em;
    line-height: 1.08;
}

.docs-eyebrow {
    color: var(--docs-accent);
    font-size: 11px;
    font-weight: 850;
    letter-spacing: 0.11em;
    text-transform: uppercase;
}

.docs-endpoint-hero {
    padding: 17px 0 30px;
    border-bottom: 1px solid var(--docs-border);
}

.docs-endpoint-hero__heading {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 24px;
}

.docs-endpoint-hero__badges {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 8px;
    padding-top: 8px;
}

.docs-pill {
    display: inline-flex;
    align-items: center;
    min-height: 28px;
    padding: 4px 10px;
    border: 1px solid var(--docs-border);
    border-radius: 999px;
    background: var(--docs-bg-subtle);
    color: var(--docs-text-muted);
    font-size: 11px;
    font-weight: 750;
    white-space: nowrap;
}

.docs-pill--auth {
    border-color: #d9d0f5;
    background: #f5f1ff;
    color: var(--docs-purple);
}

.docs-pill--public,
.docs-pill--safe {
    border-color: #bce4cb;
    background: var(--docs-green-soft);
    color: var(--docs-green);
}

.docs-pill--retired {
    border-color: #efc58f;
    background: var(--docs-orange-soft);
    color: var(--docs-orange);
}

.docs-route {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    max-width: 900px;
    min-height: 52px;
    padding: 6px;
    margin-top: 24px;
    overflow: hidden;
    border: 1px solid var(--docs-border);
    border-radius: var(--docs-radius);
    background: var(--docs-bg-subtle);
}

.docs-route code {
    min-width: 0;
    padding: 0 14px;
    overflow: hidden;
    color: #3e3f44;
    font-family: ui-monospace, "SFMono-Regular", Consolas, monospace;
    font-size: 13px;
    font-weight: 650;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.docs-method {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 60px;
    height: 38px;
    padding: 0 10px;
    border-radius: 8px;
    font-family: ui-monospace, "SFMono-Regular", Consolas, monospace;
    font-size: 11px;
    font-weight: 900;
    letter-spacing: 0.04em;
}

.docs-method--get {
    background: #e5f7ed;
    color: #08783e;
}

.docs-method--post {
    background: #fff1e6;
    color: #a34500;
}

.docs-method--put,
.docs-method--patch {
    background: #edf1ff;
    color: #3d54b4;
}

.docs-method--delete {
    background: #ffeaed;
    color: #ad1230;
}

.docs-copy-button,
.docs-code-copy {
    height: 34px;
    padding: 0 12px;
    border: 1px solid var(--docs-border);
    border-radius: 7px;
    background: #fff;
    color: var(--docs-text-muted);
    font-size: 11px;
    font-weight: 750;
}

.docs-copy-button:hover,
.docs-code-copy:hover {
    border-color: var(--docs-border-strong);
    color: var(--docs-text);
}

.docs-callout {
    max-width: 900px;
    padding: 16px 18px;
    margin-top: 28px;
    border: 1px solid var(--docs-border);
    border-radius: var(--docs-radius);
    background: var(--docs-bg-subtle);
}

.docs-callout--warning {
    border-color: #edcc9f;
    background: var(--docs-orange-soft);
    color: #67411e;
}

.docs-callout strong {
    margin-right: 4px;
}

.docs-content-grid {
    max-width: 900px;
    padding-top: 38px;
}

.docs-content-grid--reference {
    display: grid;
    grid-template-columns: minmax(0, 760px) minmax(320px, 410px);
    max-width: none;
    gap: clamp(40px, 5vw, 72px);
}

.docs-article {
    min-width: 0;
}

.markdown-body {
    color: #424349;
    font-size: 15px;
}

.markdown-body > *:first-child {
    margin-top: 0 !important;
}

.markdown-body > *:last-child {
    margin-bottom: 0 !important;
}

.markdown-body h2,
.markdown-body h3,
.markdown-body h4,
.markdown-body h5,
.markdown-body h6 {
    color: #202124;
    font-weight: 740;
    letter-spacing: -0.02em;
    line-height: 1.25;
}

.markdown-body h2 {
    padding-top: 26px;
    margin: 40px 0 16px;
    border-top: 1px solid var(--docs-border);
    font-size: 25px;
}

.markdown-body h3 {
    margin: 32px 0 13px;
    font-size: 20px;
}

.markdown-body h4,
.markdown-body h5 {
    margin: 30px 0 12px;
    color: #292a2f;
    font-size: 16px;
}

.markdown-body h6 {
    margin: 24px 0 10px;
    font-size: 14px;
}

.markdown-body p {
    max-width: 76ch;
    margin: 0 0 16px;
}

.markdown-body ul,
.markdown-body ol {
    max-width: 76ch;
    padding-left: 24px;
    margin: 0 0 20px;
}

.markdown-body li {
    padding-left: 3px;
    margin: 6px 0;
}

.markdown-body a {
    color: var(--docs-accent);
    font-weight: 590;
    text-decoration: underline;
    text-decoration-color: rgba(190, 0, 37, 0.3);
    text-underline-offset: 3px;
}

.markdown-body a:hover {
    text-decoration-color: currentColor;
}

.markdown-body strong {
    color: #26272b;
    font-weight: 750;
}

.markdown-body code {
    padding: 2px 6px;
    border: 1px solid #e3e3e7;
    border-radius: 5px;
    background: #f5f5f6;
    color: #393a40;
    font-family: ui-monospace, "SFMono-Regular", Consolas, monospace;
    font-size: 0.85em;
    font-weight: 650;
    overflow-wrap: anywhere;
}

.markdown-body pre {
    position: relative;
    max-width: 100%;
    padding: 20px;
    margin: 20px 0 26px;
    overflow: auto;
    border: 1px solid var(--docs-code-border);
    border-radius: var(--docs-radius);
    background: var(--docs-code);
    color: #e5e7eb;
    scrollbar-color: #4b4d55 var(--docs-code);
}

.markdown-body pre code {
    padding: 0;
    border: 0;
    background: transparent;
    color: inherit;
    font-size: 12px;
    font-weight: 500;
    line-height: 1.65;
    white-space: pre;
}

.docs-pre-copy {
    position: absolute;
    top: 8px;
    right: 8px;
    height: 29px;
    padding: 0 9px;
    border: 1px solid #353741;
    border-radius: 6px;
    background: #1c1e24;
    color: #aeb2bd;
    font-size: 10px;
    font-weight: 700;
}

.docs-pre-copy:hover {
    border-color: #4b4e59;
    color: #fff;
}

.markdown-body blockquote {
    padding: 16px 18px;
    margin: 22px 0;
    border: 1px solid #d9d0f5;
    border-left: 4px solid var(--docs-purple);
    border-radius: 0 var(--docs-radius) var(--docs-radius) 0;
    background: #f8f6ff;
    color: #4f456d;
}

.markdown-body blockquote p:last-child {
    margin-bottom: 0;
}

.markdown-body hr {
    height: 1px;
    margin: 36px 0;
    border: 0;
    background: var(--docs-border);
}

.docs-table-wrap {
    width: 100%;
    max-width: 100%;
    margin: 18px 0 32px;
    overflow: auto;
    border: 1px solid var(--docs-border);
    border-radius: var(--docs-radius);
    scrollbar-color: #c5c6ca transparent;
}

.markdown-body table {
    width: 100%;
    min-width: 620px;
    margin: 0;
    border: 0;
    border-collapse: separate;
    border-spacing: 0;
}

.markdown-body th,
.markdown-body td {
    padding: 13px 15px;
    border-right: 1px solid var(--docs-border);
    border-bottom: 1px solid var(--docs-border);
    text-align: left;
    vertical-align: top;
}

.markdown-body th:last-child,
.markdown-body td:last-child {
    border-right: 0;
}

.markdown-body tbody tr:last-child td {
    border-bottom: 0;
}

.markdown-body th {
    background: var(--docs-bg-subtle);
    color: #4b4c51;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.045em;
    text-transform: uppercase;
}

.markdown-body td {
    min-width: 110px;
    background: #fff;
    color: #55565c;
    font-size: 13px;
}

.markdown-body tbody tr:nth-child(even) td {
    background: #fcfcfd;
}

.docs-code-column {
    min-width: 0;
}

.docs-code-panel {
    position: sticky;
    top: calc(var(--docs-topbar-height) + 24px);
    overflow: hidden;
    border: 1px solid var(--docs-code-border);
    border-radius: var(--docs-radius-lg);
    background: var(--docs-code);
    box-shadow: 0 20px 50px rgba(17, 18, 22, 0.16);
    color: #e5e7eb;
}

.docs-code-panel__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 64px;
    padding: 12px 14px 12px 18px;
    border-bottom: 1px solid var(--docs-code-border);
}

.docs-code-panel__header > div {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
}

.docs-code-panel__label {
    color: #f1f3f5;
    font-size: 12px;
    font-weight: 750;
    white-space: nowrap;
}

.docs-server-select select {
    max-width: 125px;
    height: 30px;
    padding: 0 28px 0 9px;
    border: 1px solid #353741;
    border-radius: 7px;
    background: #1b1d23;
    color: #aeb2bd;
    font-size: 11px;
}

.docs-code-copy {
    flex: 0 0 auto;
    border-color: #353741;
    background: #1c1e24;
    color: #bfc2ca;
}

.docs-code-copy:hover {
    border-color: #4b4e59;
    color: #fff;
}

.docs-code-tabs {
    display: flex;
    gap: 2px;
    padding: 9px 12px 0;
    border-bottom: 1px solid var(--docs-code-border);
}

.docs-code-tabs button {
    position: relative;
    height: 38px;
    padding: 0 10px;
    border: 0;
    background: transparent;
    color: #898e9b;
    font-size: 11px;
    font-weight: 700;
}

.docs-code-tabs button[aria-selected="true"] {
    color: #fff;
}

.docs-code-tabs button[aria-selected="true"]::after {
    position: absolute;
    right: 8px;
    bottom: -1px;
    left: 8px;
    height: 2px;
    border-radius: 2px 2px 0 0;
    background: #e34060;
    content: "";
}

.docs-code-block {
    min-height: 300px;
    max-height: min(58vh, 560px);
    padding: 22px 20px;
    margin: 0;
    overflow: auto;
    background: var(--docs-code);
    color: #d7dae0;
    font-family: ui-monospace, "SFMono-Regular", Consolas, monospace;
    font-size: 11.5px;
    line-height: 1.7;
    scrollbar-color: #454751 var(--docs-code);
    white-space: pre;
}

.docs-code-panel__footer {
    padding: 12px 18px 14px;
    border-top: 1px solid var(--docs-code-border);
    color: #818692;
    font-size: 10.5px;
}

.docs-spec-card {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    gap: 14px 12px;
    padding: 18px;
    margin-top: 18px;
    border: 1px solid var(--docs-border);
    border-radius: var(--docs-radius);
    background: var(--docs-bg-subtle);
}

.docs-spec-card__icon {
    display: flex;
    grid-row: span 2;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 9px;
    background: #ece9f8;
    color: var(--docs-purple);
    font-family: ui-monospace, "SFMono-Regular", Consolas, monospace;
    font-size: 12px;
    font-weight: 800;
}

.docs-spec-card strong,
.docs-spec-card span {
    display: block;
}

.docs-spec-card strong {
    color: #292a2f;
    font-size: 13px;
}

.docs-spec-card span {
    margin-top: 2px;
    color: var(--docs-text-muted);
    font-size: 11px;
    line-height: 1.45;
}

.docs-spec-card > a {
    grid-column: 2;
    font-size: 11px;
    font-weight: 750;
}

.docs-try-it {
    padding-top: 34px;
    margin-top: 48px;
    border-top: 1px solid var(--docs-border);
}

.docs-section-heading {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 20px;
}

.docs-section-heading h2 {
    margin: 4px 0 0;
    color: #202124;
    font-size: 26px;
    letter-spacing: -0.03em;
    line-height: 1.2;
}

.docs-try-it__empty {
    padding: 18px;
    border: 1px dashed var(--docs-border-strong);
    border-radius: var(--docs-radius);
    background: var(--docs-bg-subtle);
    color: var(--docs-text-muted);
}

.docs-console {
    overflow: hidden;
    border: 1px solid var(--docs-border);
    border-radius: var(--docs-radius-lg);
    background: #fff;
}

.docs-console__notice {
    padding: 13px 16px;
    border-bottom: 1px solid var(--docs-border);
    background: #f8f8f9;
    color: var(--docs-text-muted);
    font-size: 11px;
}

.docs-console__grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
    padding: 20px;
}

.docs-field {
    display: flex;
    min-width: 0;
    flex-direction: column;
    gap: 7px;
}

.docs-field > span {
    display: flex;
    align-items: center;
    gap: 7px;
    color: #4f5055;
    font-size: 11px;
    font-weight: 700;
}

.docs-field > span b {
    color: var(--docs-accent);
    font-size: 9px;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.docs-field > span code {
    padding: 1px 4px;
    border-radius: 4px;
    background: #f1f1f3;
    font-family: ui-monospace, "SFMono-Regular", Consolas, monospace;
    font-size: 10px;
}

.docs-field input,
.docs-field select,
.docs-field textarea {
    width: 100%;
    min-height: 42px;
    padding: 9px 11px;
    border: 1px solid var(--docs-border-strong);
    border-radius: 8px;
    background: #fff;
    color: var(--docs-text);
    font-size: 12px;
    line-height: 1.4;
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.docs-field textarea {
    min-height: 64px;
    resize: vertical;
}

.docs-field input:focus,
.docs-field select:focus,
.docs-field textarea:focus {
    border-color: #c77a89;
    outline: 0;
    box-shadow: 0 0 0 3px rgba(190, 0, 37, 0.08);
}

.docs-secret-field {
    position: relative;
}

.docs-secret-field input {
    padding-right: 58px;
}

.docs-secret-field button {
    position: absolute;
    top: 5px;
    right: 5px;
    height: 32px;
    padding: 0 9px;
    border: 0;
    border-radius: 6px;
    background: var(--docs-bg-subtle);
    color: var(--docs-text-muted);
    font-size: 10px;
    font-weight: 700;
}

.docs-console__actions {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px 20px;
    border-top: 1px solid var(--docs-border);
    background: #fafafb;
}

.docs-send-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 42px;
    padding: 0 17px;
    border: 0;
    border-radius: 9px;
    background: var(--docs-accent);
    color: #fff;
    font-size: 12px;
    font-weight: 780;
    transition: background 0.15s ease, transform 0.15s ease;
}

.docs-send-button:hover {
    background: var(--docs-accent-dark);
}

.docs-send-button:active {
    transform: translateY(1px);
}

.docs-send-button:disabled {
    cursor: wait;
    opacity: 0.65;
}

.docs-console__warning {
    color: var(--docs-orange);
    font-size: 10.5px;
    line-height: 1.45;
}

.docs-response {
    border-top: 1px solid var(--docs-border);
    background: var(--docs-code);
    color: #e7e9ee;
}

.docs-response__meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 44px;
    padding: 0 16px;
    border-bottom: 1px solid var(--docs-code-border);
    color: var(--docs-code-muted);
    font-size: 11px;
}

.docs-response__meta strong,
.docs-response__meta strong.is-success {
    color: #8ce3ae;
}

.docs-response__meta strong.is-error {
    color: #ff9dad;
}

.docs-response pre {
    max-height: 520px;
    padding: 18px;
    margin: 0;
    overflow: auto;
    color: #d9dce3;
    font-family: ui-monospace, "SFMono-Regular", Consolas, monospace;
    font-size: 11px;
    line-height: 1.65;
    white-space: pre-wrap;
    overflow-wrap: anywhere;
}

.docs-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 78px;
    padding: 20px 56px;
    border-top: 1px solid var(--docs-border);
    color: var(--docs-text-soft);
    font-size: 11px;
}

.docs-footer nav {
    display: flex;
    gap: 20px;
}

.docs-footer a {
    color: var(--docs-text-muted);
    font-weight: 650;
}

.docs-sidebar-overlay {
    display: none;
}

.docs-toast {
    position: fixed;
    z-index: 140;
    right: 22px;
    bottom: 22px;
    max-width: min(360px, calc(100vw - 44px));
    padding: 11px 14px;
    border: 1px solid #34363d;
    border-radius: 9px;
    background: #1b1c21;
    box-shadow: var(--docs-shadow);
    color: #fff;
    font-size: 12px;
    opacity: 0;
    pointer-events: none;
    transform: translateY(10px);
    transition: opacity 0.16s ease, transform 0.16s ease;
}

.docs-toast.is-visible {
    opacity: 1;
    transform: translateY(0);
}

@media (max-width: 1240px) {
    .docs-main__inner {
        padding-right: 38px;
        padding-left: 38px;
    }

    .docs-content-grid--reference {
        grid-template-columns: minmax(0, 1fr) minmax(300px, 360px);
        gap: 38px;
    }
}

@media (max-width: 1080px) {
    .docs-content-grid--reference {
        display: block;
        max-width: 850px;
    }

    .docs-code-column {
        margin-top: 44px;
    }

    .docs-code-panel {
        position: relative;
        top: auto;
    }

    .docs-code-block {
        min-height: 230px;
        max-height: 480px;
    }
}

@media (max-width: 900px) {
    :root {
        --docs-topbar-height: 62px;
    }

    body.is-nav-open {
        overflow: hidden;
    }

    .docs-topbar {
        padding: 0 18px 0 12px;
    }

    .docs-icon-button {
        display: flex;
    }

    .docs-brand__divider,
    .docs-brand__label {
        display: none;
    }

    .docs-topbar__links a:not(:first-child),
    .docs-status {
        display: none;
    }

    .docs-topbar__links {
        gap: 12px;
    }

    .docs-sidebar {
        z-index: 100;
        width: min(336px, calc(100vw - 44px));
        box-shadow: var(--docs-shadow);
        transform: translateX(-105%);
        transition: transform 0.2s ease;
    }

    body.is-nav-open .docs-sidebar {
        transform: translateX(0);
    }

    .docs-sidebar-overlay {
        position: fixed;
        z-index: 90;
        top: var(--docs-topbar-height);
        right: 0;
        bottom: 0;
        left: 0;
        display: block;
        visibility: hidden;
        border: 0;
        background: rgba(19, 20, 24, 0.38);
        opacity: 0;
        transition: opacity 0.2s ease, visibility 0.2s ease;
    }

    body.is-nav-open .docs-sidebar-overlay {
        visibility: visible;
        opacity: 1;
    }

    .docs-main,
    .docs-footer {
        margin-left: 0;
    }

    .docs-main__inner {
        padding: 32px 32px 68px;
    }

    .docs-footer {
        padding-right: 32px;
        padding-left: 32px;
    }
}

@media (max-width: 640px) {
    .docs-topbar {
        padding-right: 12px;
    }

    .docs-topbar__brand {
        gap: 8px;
    }

    .docs-brand__logo {
        width: 132px;
        height: auto;
    }

    .docs-version-badge {
        height: 25px;
        padding: 0 8px;
        font-size: 10px;
    }

    .docs-topbar__links {
        display: none;
    }

    .docs-main__inner {
        padding: 24px 20px 56px;
    }

    .docs-breadcrumbs {
        margin-bottom: 18px;
    }

    .docs-breadcrumbs span:last-child {
        max-width: 46vw;
    }

    .docs-page-header,
    .docs-endpoint-hero {
        padding-top: 8px;
    }

    .docs-page-header h1,
    .docs-endpoint-hero h1 {
        font-size: 32px;
    }

    .docs-endpoint-hero__heading {
        display: block;
    }

    .docs-endpoint-hero__badges {
        justify-content: flex-start;
        padding-top: 16px;
    }

    .docs-route {
        grid-template-columns: auto minmax(0, 1fr);
    }

    .docs-route code {
        padding-right: 8px;
        font-size: 11px;
    }

    .docs-copy-button {
        grid-column: 1 / -1;
        width: 100%;
        margin-top: 5px;
    }

    .docs-content-grid {
        padding-top: 30px;
    }

    .markdown-body {
        font-size: 14px;
    }

    .markdown-body h2 {
        font-size: 22px;
    }

    .markdown-body table {
        margin-right: 0;
        margin-left: 0;
    }

    .docs-code-column {
        margin-top: 36px;
    }

    .docs-code-panel__header {
        align-items: flex-start;
    }

    .docs-code-panel__header > div {
        align-items: flex-start;
        flex-direction: column;
        gap: 7px;
    }

    .docs-code-block {
        min-height: 220px;
        padding: 18px 16px;
        font-size: 10.5px;
    }

    .docs-section-heading {
        align-items: flex-start;
        flex-direction: column;
        gap: 10px;
    }

    .docs-console__grid {
        grid-template-columns: 1fr;
        padding: 16px;
    }

    .docs-console__actions {
        align-items: stretch;
        flex-direction: column;
        padding: 16px;
    }

    .docs-send-button {
        width: 100%;
    }

    .docs-footer {
        align-items: flex-start;
        flex-direction: column;
        gap: 10px;
        padding: 20px;
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        transition-duration: 0.01ms !important;
    }
}

@media print {
    .docs-topbar,
    .docs-sidebar,
    .docs-code-column,
    .docs-try-it,
    .docs-footer,
    .docs-sidebar-overlay,
    .docs-toast {
        display: none !important;
    }

    .docs-shell {
        padding: 0;
    }

    .docs-main {
        margin: 0;
    }

    .docs-main__inner {
        max-width: none;
        padding: 0;
    }

    .docs-content-grid--reference {
        display: block;
    }
}
