.api-docs-page {
    --doc-bg: #ffffff;
    --doc-soft: #f7f9fc;
    --doc-soft-blue: #f1f7ff;
    --doc-card: #ffffff;
    --doc-border: #e3e9f2;
    --doc-border-strong: #d6deea;
    --doc-ink: #101828;
    --doc-muted: #667085;
    --doc-subtle: #98a2b3;
    --doc-code: #0a1220;
    --doc-blue: #0879fa;
    --doc-green: #079455;
    --doc-orange: #dc6803;
    background: var(--doc-bg);
    color: var(--doc-ink);
}

[data-bs-theme="dark"] .api-docs-page,
.dark-mode .api-docs-page {
    --doc-bg: #0d1421;
    --doc-soft: #131d2d;
    --doc-soft-blue: #12223a;
    --doc-card: #111a29;
    --doc-border: rgba(148, 163, 184, .16);
    --doc-border-strong: rgba(148, 163, 184, .25);
    --doc-ink: #f3f6fb;
    --doc-muted: #a6b1c3;
    --doc-subtle: #748199;
    --doc-code: #070c15;
    background: var(--doc-bg);
}

.docs-hero {
    padding: 3.6rem 0 4rem;
    overflow: hidden;
    border-bottom: 1px solid var(--doc-border);
    background:
        linear-gradient(rgba(8, 121, 250, .035) 1px, transparent 1px),
        linear-gradient(90deg, rgba(8, 121, 250, .035) 1px, transparent 1px),
        radial-gradient(circle at 86% 16%, rgba(0, 191, 166, .16), transparent 27%),
        radial-gradient(circle at 12% 5%, rgba(8, 121, 250, .14), transparent 28%),
        linear-gradient(180deg, var(--doc-soft), var(--doc-bg));
    background-size: 40px 40px, 40px 40px, auto, auto, auto;
}

.docs-version-bar {
    display: flex;
    align-items: center;
    gap: 9px;
    margin-bottom: 2.2rem;
    color: var(--doc-blue);
    font-size: .82rem;
    font-weight: 800;
}

.docs-version-bar > span:first-child {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    margin-right: 4px;
}

.version-chip,
.live-chip {
    padding: 5px 9px;
    border: 1px solid var(--doc-border);
    border-radius: 999px;
    background: color-mix(in srgb, var(--doc-card) 86%, transparent);
    color: var(--doc-muted);
    font-size: .68rem;
    letter-spacing: .04em;
}

.live-chip { display: inline-flex; align-items: center; gap: 6px; }
.live-chip i { width: 6px; height: 6px; border-radius: 50%; background: #12b76a; box-shadow: 0 0 0 4px rgba(18, 183, 106, .1); }

.docs-hero h1 {
    max-width: 760px;
    margin: 0 0 1.15rem;
    font-size: clamp(2.45rem, 5vw, 4.2rem);
    line-height: 1.06;
    letter-spacing: -.035em;
}

.docs-hero .col-lg-7 > p {
    max-width: 740px;
    margin: 0;
    color: var(--doc-muted);
    font-size: 1.1rem;
    line-height: 1.8;
}

.docs-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 1.65rem;
}

.docs-hero-actions .btn {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    border-radius: 11px;
    font-size: .94rem;
    font-weight: 750;
}

.hero-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 18px;
    margin-top: 1.5rem;
    color: var(--doc-muted);
    font-size: .78rem;
    font-weight: 650;
}

.hero-meta span { display: inline-flex; align-items: center; gap: 6px; }
.hero-meta i { color: var(--doc-blue); }

.docs-terminal {
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, .1);
    border-radius: 18px;
    background: #0a1220;
    color: #d9e4f2;
    box-shadow: 0 30px 80px rgba(15, 23, 42, .24);
    transform: perspective(900px) rotateY(-2deg) rotateX(1deg);
}

.docs-terminal-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 45px;
    padding: 0 16px;
    border-bottom: 1px solid rgba(255, 255, 255, .08);
    background: rgba(255, 255, 255, .025);
}

.docs-terminal-head > div { display: flex; gap: 6px; }
.docs-terminal-head > div span { width: 8px; height: 8px; border-radius: 50%; background: #f97066; }
.docs-terminal-head > div span:nth-child(2) { background: #fdb022; }
.docs-terminal-head > div span:nth-child(3) { background: #32d583; }
.docs-terminal-head small { color: #8290a6; font: 11px/1 ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace; }

.terminal-request {
    display: grid;
    grid-template-columns: 26px 1fr;
    row-gap: 11px;
    padding: 24px 22px;
    font: 12px/1.5 ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
}

.terminal-line-number { color: #43516a; text-align: right; }
.terminal-request code { color: #c9d5e5; white-space: nowrap; }
.terminal-request b { color: #69a8ff; }
.terminal-request em { color: #fdb022; font-style: normal; }
.terminal-request mark { padding: 0; background: transparent; color: #6ce9c6; }

.terminal-response {
    padding: 16px 22px 18px 48px;
    border-top: 1px solid rgba(18, 183, 106, .14);
    background: rgba(18, 183, 106, .055);
}

.terminal-response span { display: flex; align-items: center; gap: 7px; margin-bottom: 9px; color: #6ce9a6; font-size: .68rem; font-weight: 800; }
.terminal-response span i { width: 6px; height: 6px; border-radius: 50%; background: #32d583; }
.terminal-response code { color: #a9b9cc; font-size: .72rem; }

.docs-layout {
    display: grid;
    grid-template-columns: 282px minmax(0, 860px) 190px;
    justify-content: center;
    gap: 44px;
    width: 100%;
    max-width: 1510px;
    margin: 0 auto;
    padding: 0 26px;
}

.docs-sidebar {
    position: sticky;
    top: 72px;
    align-self: start;
    height: calc(100vh - 78px);
    overflow-y: auto;
    padding: 28px 10px 30px 0;
    scrollbar-width: thin;
    scrollbar-color: var(--doc-border-strong) transparent;
}

.sidebar-brand-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 14px;
}

.sidebar-brand-row strong { font-size: .92rem; }
.sidebar-brand-row span { padding: 3px 7px; border-radius: 6px; background: rgba(8, 121, 250, .1); color: var(--doc-blue); font: 700 10px/1.3 ui-monospace, monospace; }

.docs-search { position: relative; display: block; margin-bottom: 20px; }
.docs-search > i { position: absolute; z-index: 1; left: 12px; top: 50%; transform: translateY(-50%); color: var(--doc-subtle); font-size: .85rem; }
.docs-search input { width: 100%; height: 42px; padding: 7px 38px 7px 34px; border: 1px solid var(--doc-border); border-radius: 9px; outline: 0; background: var(--doc-soft); color: var(--doc-ink); font-size: .8rem; }
.docs-search input:focus { border-color: var(--doc-blue); box-shadow: 0 0 0 3px rgba(8, 121, 250, .1); }
.docs-search kbd { position: absolute; right: 9px; top: 50%; transform: translateY(-50%); padding: 2px 6px; border: 1px solid var(--doc-border); border-radius: 5px; background: var(--doc-card); color: var(--doc-subtle); box-shadow: none; font-size: .65rem; }

.docs-nav-static {
    display: flex;
    flex-direction: column;
    gap: 2px;
    padding-bottom: 17px;
    margin-bottom: 17px;
    border-bottom: 1px solid var(--doc-border);
}

.docs-nav-static a {
    display: flex;
    align-items: center;
    gap: 9px;
    padding: 8px 10px;
    border-radius: 7px;
    color: var(--doc-muted);
    font-size: .81rem;
    font-weight: 650;
    text-decoration: none;
}

.docs-nav-static a:hover,
.docs-nav-static a.active { background: rgba(8, 121, 250, .07); color: var(--doc-blue); }

.sidebar-section-label {
    display: flex;
    justify-content: space-between;
    padding: 0 8px;
    margin-bottom: 10px;
    color: var(--doc-subtle);
    font-size: .64rem;
    font-weight: 800;
    letter-spacing: .1em;
    text-transform: uppercase;
}

.sidebar-section-label b { padding: 1px 5px; border-radius: 5px; background: var(--doc-soft); }

.docs-nav-folder { margin: 2px 0; }
.docs-nav-folder > summary { display: grid; grid-template-columns: minmax(0, 1fr) auto 14px; align-items: center; gap: 7px; padding: 8px 8px; border-radius: 7px; cursor: pointer; list-style: none; color: var(--doc-ink); font-size: .79rem; font-weight: 750; }
.docs-nav-folder > summary::-webkit-details-marker { display: none; }
.docs-nav-folder > summary:hover { background: var(--doc-soft); }
.docs-nav-folder > summary > span { display: flex; align-items: center; gap: 8px; min-width: 0; }
.docs-nav-folder > summary > span > i { color: var(--doc-blue); }
.docs-nav-folder > summary b { color: var(--doc-subtle); font-size: .61rem; }
.folder-chevron { color: var(--doc-subtle); font-size: .68rem; transition: transform .18s ease; }
.docs-nav-folder[open] > summary .folder-chevron { transform: rotate(90deg); }
.docs-nav-level-2 > summary { padding-left: 17px; color: var(--doc-muted); font-weight: 700; }
.docs-nav-children { padding-left: 8px; }
.docs-nav-level-2 > .docs-nav-children { margin-left: 17px; border-left: 1px solid var(--doc-border); }

.docs-endpoint-link {
    display: grid;
    grid-template-columns: 35px minmax(0, 1fr);
    align-items: center;
    gap: 7px;
    padding: 7px 8px;
    border-radius: 6px;
    color: var(--doc-muted);
    font-size: .73rem;
    text-decoration: none;
}

.docs-endpoint-link > span:last-child { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.docs-endpoint-link:hover,
.docs-endpoint-link.active { background: var(--doc-soft-blue); color: var(--doc-blue); }
.docs-endpoint-link.active { box-shadow: inset 2px 0 var(--doc-blue); }

.mini-method { font: 800 8px/1 ui-monospace, monospace; letter-spacing: -.02em; }
.mini-get { color: var(--doc-green); }
.mini-post { color: var(--doc-blue); }

.sidebar-footer-card {
    display: flex;
    gap: 10px;
    padding: 13px;
    margin-top: 22px;
    border: 1px solid var(--doc-border);
    border-radius: 10px;
    background: var(--doc-soft);
}

.sidebar-footer-card > i { color: var(--doc-blue); }
.sidebar-footer-card strong { display: block; margin-bottom: 3px; font-size: .73rem; }
.sidebar-footer-card a { font-size: .68rem; font-weight: 650; text-decoration: none; }

.docs-main { min-width: 0; padding: 58px 0 85px; }
.docs-main section,
.endpoint-card,
.reference-divider { scroll-margin-top: 94px; }

.getting-started,
.docs-guide-section {
    padding: 0 0 58px;
    margin: 0 0 58px;
    border-bottom: 1px solid var(--doc-border);
}

.content-eyebrow,
.guide-heading span,
.reference-divider > span,
.api-group-heading span,
.docs-support-card > div > span {
    color: var(--doc-blue);
    font-size: .67rem;
    font-weight: 850;
    letter-spacing: .11em;
}

.getting-started h2,
.docs-guide-section h2,
.reference-divider h2 { margin: .45rem 0 1rem; font-size: clamp(1.8rem, 4vw, 2.35rem); }
.collection-description,
.docs-guide-section > p,
.reference-divider > p { color: var(--doc-muted); font-size: .95rem; line-height: 1.8; }
.collection-description p { margin-bottom: 1rem; }
.collection-description h3 { margin: 1.4rem 0 .65rem; color: var(--doc-ink); font-size: 1rem; }
.collection-description a { font-weight: 700; text-decoration: none; }

.postman-option-card {
    display: grid;
    grid-template-columns: 42px minmax(0, 1fr) auto;
    align-items: center;
    gap: 14px;
    padding: 16px;
    margin-top: 1.35rem;
    border: 1px solid rgba(255, 108, 55, .24);
    border-radius: 12px;
    background: linear-gradient(135deg, rgba(255, 108, 55, .08), rgba(255, 108, 55, .025));
}

.postman-option-icon {
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    border-radius: 10px;
    background: #ff6c37;
    color: #fff;
    box-shadow: 0 8px 18px rgba(255, 108, 55, .18);
}

.postman-option-card strong {
    display: block;
    margin-bottom: 3px;
    color: var(--doc-ink);
    font-size: .86rem;
}

.postman-option-card p {
    margin: 0;
    color: var(--doc-muted);
    font-size: .75rem;
    line-height: 1.55;
}

.postman-option-card .btn-postman {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 9px 13px;
    border: 1px solid #ff6c37;
    border-radius: 8px;
    background: #ff6c37;
    color: #fff;
    font-size: .72rem;
    font-weight: 750;
    white-space: nowrap;
}

.postman-option-card .btn-postman:hover {
    border-color: #e85d2a;
    background: #e85d2a;
    color: #fff;
}

.api-fact-grid {
    display: grid;
    grid-template-columns: 1.8fr repeat(3, 1fr);
    gap: 10px;
    margin-top: 1.7rem;
}

.api-fact {
    position: relative;
    display: grid;
    grid-template-columns: 26px 1fr;
    align-content: center;
    min-height: 88px;
    padding: 15px;
    border: 1px solid var(--doc-border);
    border-radius: 11px;
    background: var(--doc-soft);
}

.api-fact > i { grid-row: 1 / 3; align-self: center; color: var(--doc-blue); font-size: 1rem; }
.api-fact > span { color: var(--doc-subtle); font-size: .62rem; font-weight: 750; text-transform: uppercase; }
.api-fact > strong,
.api-fact > code { margin-top: 4px; color: var(--doc-ink); font-size: .78rem; }
.api-fact button { position: absolute; right: 11px; bottom: 12px; border: 0; background: transparent; color: var(--doc-subtle); }

.guide-heading { display: flex; align-items: center; gap: 14px; margin-bottom: 1.2rem; }
.guide-number { display: grid; place-items: center; width: 42px; height: 42px; border: 1px solid rgba(8, 121, 250, .18); border-radius: 11px; background: rgba(8, 121, 250, .08); color: var(--doc-blue); font: 800 12px/1 ui-monospace, monospace; }
.guide-heading h2 { margin: 3px 0 0; font-size: 1.55rem; }

.security-callout {
    display: flex;
    gap: 14px;
    padding: 17px;
    margin: 1.4rem 0;
    border: 1px solid rgba(8, 121, 250, .18);
    border-left: 3px solid var(--doc-blue);
    border-radius: 10px;
    background: rgba(8, 121, 250, .055);
}

.security-callout > i { color: var(--doc-blue); font-size: 1.1rem; }
.security-callout strong { display: block; margin-bottom: 4px; font-size: .86rem; }
.security-callout p { margin: 0; color: var(--doc-muted); font-size: .8rem; line-height: 1.65; }

.status-grid { display: grid; grid-template-columns: repeat(5, 1fr); overflow: hidden; margin-top: 1.5rem; border: 1px solid var(--doc-border); border-radius: 11px; background: var(--doc-border); gap: 1px; }
.status-grid div { padding: 14px 11px; background: var(--doc-soft); }
.status-grid b { display: grid; place-items: center; width: 25px; height: 25px; margin-bottom: 8px; border-radius: 7px; background: rgba(8, 121, 250, .1); color: var(--doc-blue); font-size: .7rem; }
.status-grid span { color: var(--doc-muted); font-size: .68rem; line-height: 1.4; }

.reference-divider { padding: 12px 0 35px; }
.reference-divider h2 { margin-bottom: .55rem; }
.reference-divider > p { margin: 0; }

.api-group-section { padding: 0 0 54px; }
.resource-group-section { padding: 20px 0 8px; }
.api-group-heading { display: flex; align-items: center; gap: 13px; margin-bottom: 20px; }
.api-group-icon { display: grid; place-items: center; width: 43px; height: 43px; flex: 0 0 43px; border-radius: 11px; background: linear-gradient(135deg, rgba(8, 121, 250, .13), rgba(0, 191, 166, .1)); color: var(--doc-blue); }
.api-group-heading h2 { margin: 2px 0 0; font-size: 1.42rem; }
.api-group-heading p { margin: 2px 0 0; color: var(--doc-subtle); font-size: .68rem; }
.resource-group-section > .api-group-heading { margin: 0 0 14px; }
.resource-group-section > .api-group-heading .api-group-icon { width: 35px; height: 35px; flex-basis: 35px; border-radius: 9px; }
.resource-group-section > .api-group-heading h2 { font-size: 1.1rem; }
.group-endpoint-stack { position: relative; }

.endpoint-card {
    padding: 26px;
    margin-bottom: 24px;
    border: 1px solid var(--doc-border);
    border-radius: 14px;
    background: var(--doc-card);
    box-shadow: 0 10px 32px rgba(16, 24, 40, .035);
}

.endpoint-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; margin-bottom: 17px; }
.endpoint-breadcrumb { margin-bottom: 5px; color: var(--doc-subtle); font-size: .66rem; }
.endpoint-heading h3 { margin: 0; font-size: 1.24rem; }
.endpoint-heading-actions { display: flex; align-items: center; gap: 7px; }
.auth-badge { display: inline-flex; align-items: center; gap: 5px; padding: 5px 8px; border: 1px solid var(--doc-border); border-radius: 7px; background: var(--doc-soft); color: var(--doc-muted); font-size: .63rem; font-weight: 700; white-space: nowrap; }
.auth-badge i { color: var(--doc-orange); }
.endpoint-anchor { color: var(--doc-subtle); font-size: 1rem; }
.endpoint-anchor:hover { color: var(--doc-blue); }

.endpoint-url {
    display: flex;
    align-items: center;
    gap: 0;
    min-height: 48px;
    overflow: hidden;
    padding: 6px;
    border: 1px solid var(--doc-border-strong);
    border-radius: 9px;
    background: var(--doc-soft);
}

.method-badge { min-width: 50px; padding: 8px 9px; border-radius: 6px; text-align: center; font: 850 9px/1 ui-monospace, monospace; }
.method-get { background: rgba(18, 183, 106, .12); color: var(--doc-green); }
.method-post { background: rgba(8, 121, 250, .12); color: var(--doc-blue); }
.base-part { margin-left: 12px; color: var(--doc-subtle); font: 11px/1.3 ui-monospace, monospace; white-space: nowrap; }
.endpoint-url > code { overflow-x: auto; padding: 8px 0; color: var(--doc-ink); font: 11px/1.3 ui-monospace, monospace; white-space: nowrap; scrollbar-width: none; }
.copy-button { display: inline-flex; align-items: center; gap: 5px; margin-left: auto; padding: 7px 8px; border: 0; border-left: 1px solid var(--doc-border); background: transparent; color: var(--doc-subtle); font-size: .66rem; }
.copy-button:hover,
.copy-button.is-copied { color: var(--doc-blue); }

.postman-description { margin-top: 22px; color: var(--doc-muted); font-size: .84rem; line-height: 1.7; }
.postman-description > p:first-child { margin-top: 0; }
.postman-description h2,
.postman-description h3,
.postman-description h4,
.postman-description h5 { margin: 1.6rem 0 .75rem; color: var(--doc-ink); font-family: inherit !important; font-size: .96rem; font-weight: 750; }
.postman-description ul,
.postman-description ol { padding-left: 1.3rem; }
.postman-description li { margin: .35rem 0; }
.postman-description code { padding: 2px 5px; border-radius: 4px; background: var(--doc-soft); color: var(--doc-blue); font-size: .75rem; }
.postman-description pre { overflow-x: auto; padding: 14px; border-radius: 8px; background: var(--doc-code); color: #d7e2ef; }
.postman-description table { width: 100%; margin: 1rem 0; border-collapse: separate; border-spacing: 0; overflow: hidden; border: 1px solid var(--doc-border); border-radius: 9px; font-size: .78rem; }
.postman-description th { padding: 10px 12px; background: var(--doc-soft); color: var(--doc-ink); text-align: left; font-size: .69rem; }
.postman-description td { padding: 10px 12px; border-top: 1px solid var(--doc-border); color: var(--doc-muted); vertical-align: top; }
.postman-description td + td,
.postman-description th + th { border-left: 1px solid var(--doc-border); }
.postman-description blockquote { padding: 12px 15px; margin: 1rem 0; border-left: 3px solid var(--doc-blue); background: rgba(8, 121, 250, .05); }

.no-description-note,
.no-example-note { display: flex; align-items: center; gap: 8px; padding: 12px 14px; margin-top: 17px; border: 1px dashed var(--doc-border-strong); border-radius: 8px; background: var(--doc-soft); color: var(--doc-subtle); font-size: .73rem; }

.docs-detail-block { padding-top: 22px; margin-top: 22px; border-top: 1px solid var(--doc-border); }
.docs-detail-block > h4,
.detail-title-row h4 { margin: 0 0 11px; color: var(--doc-ink); font: 750 .83rem/1.4 inherit !important; }
.docs-detail-block > h4 span { margin-left: 5px; padding: 2px 5px; border-radius: 4px; background: var(--doc-soft); color: var(--doc-subtle); font-size: .58rem; }
.detail-title-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 11px; }
.detail-title-row h4 { margin: 0; }
.detail-title-row > span { color: var(--doc-subtle); font-size: .64rem; }

.docs-table-wrap { overflow-x: auto; border: 1px solid var(--doc-border); border-radius: 9px; }
.docs-table { width: 100%; min-width: 560px; border-collapse: collapse; background: var(--doc-card); font-size: .75rem; }
.docs-table th { padding: 9px 12px; background: var(--doc-soft); color: var(--doc-subtle); text-align: left; font-size: .62rem; letter-spacing: .05em; text-transform: uppercase; }
.docs-table td { padding: 10px 12px; border-top: 1px solid var(--doc-border); color: var(--doc-muted); }
.docs-table code { color: var(--doc-blue); font-size: .7rem; }

.parameter-list { overflow: hidden; border: 1px solid var(--doc-border); border-radius: 9px; }
.parameter-list > div { display: grid; grid-template-columns: 1fr 70px 1.5fr; gap: 12px; padding: 10px 12px; border-top: 1px solid var(--doc-border); font-size: .73rem; }
.parameter-list > div:first-child { border-top: 0; }
.parameter-list code { color: var(--doc-blue); font-weight: 750; }
.parameter-list span { color: var(--doc-subtle); font-size: .65rem; }
.parameter-list strong { overflow: hidden; color: var(--doc-muted); font: 500 .68rem/1.4 ui-monospace, monospace; text-overflow: ellipsis; white-space: nowrap; }

.code-panel { overflow: hidden; border: 1px solid rgba(255, 255, 255, .08); border-radius: 10px; background: var(--doc-code); box-shadow: 0 9px 25px rgba(16, 24, 40, .08); }
.code-panel-head { display: flex; align-items: center; justify-content: space-between; min-height: 39px; padding: 0 12px 0 15px; border-bottom: 1px solid rgba(255, 255, 255, .08); color: #7f8da2; font: 750 9px/1 ui-monospace, monospace; letter-spacing: .08em; text-transform: uppercase; }
.code-copy { display: inline-flex; align-items: center; gap: 5px; border: 0; background: transparent; color: #8c9bb0; font: 650 10px/1 sans-serif; letter-spacing: 0; text-transform: none; }
.code-copy:hover,
.code-copy.is-copied { color: #fff; }
.code-panel pre { max-height: 580px; overflow: auto; margin: 0; padding: 17px; color: #d7e2ef; white-space: pre; font: 11.5px/1.7 ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace; }

.code-tabs { display: flex; gap: 3px; margin-bottom: -1px; padding: 0 5px; }
.code-tabs button { padding: 8px 11px; border: 1px solid transparent; border-bottom: 0; border-radius: 7px 7px 0 0; background: transparent; color: var(--doc-subtle); font-size: .7rem; font-weight: 750; }
.code-tabs button:hover { color: var(--doc-blue); }
.code-tabs button.active { border-color: var(--doc-border); background: var(--doc-code); color: #d7e2ef; }
.code-tab-panel { display: none; }
.code-tab-panel.active { display: block; }
.code-tab-panel .code-panel { border-top-left-radius: 0; }

.response-list { display: flex; flex-direction: column; gap: 8px; }
.response-example { overflow: hidden; border: 1px solid var(--doc-border); border-radius: 9px; background: var(--doc-soft); }
.response-example > summary { display: grid; grid-template-columns: 8px minmax(0, 1fr) auto 15px; align-items: center; gap: 9px; padding: 11px 13px; cursor: pointer; list-style: none; }
.response-example > summary::-webkit-details-marker { display: none; }
.response-dot { width: 7px; height: 7px; border-radius: 50%; background: #12b76a; box-shadow: 0 0 0 3px rgba(18, 183, 106, .1); }
.response-example summary strong { overflow: hidden; color: var(--doc-ink); font-size: .74rem; text-overflow: ellipsis; white-space: nowrap; }
.response-meta { color: var(--doc-subtle); font: 650 .62rem/1 ui-monospace, monospace; }
.response-example summary > i { color: var(--doc-subtle); font-size: .7rem; transition: transform .18s ease; }
.response-example[open] summary > i { transform: rotate(180deg); }
.response-example-body { padding: 0 8px 8px; }
.response-example-body .code-panel { border-radius: 7px; }

.docs-support-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 25px;
    padding: 32px;
    margin-top: 22px;
    border-radius: 15px;
    background: linear-gradient(135deg, #0879fa, #0069df 55%, #00a991);
    color: #fff;
}
.docs-support-card > div > span { color: rgba(255,255,255,.72); }
.docs-support-card h2 { margin: 6px 0; color: #fff; font-size: 1.55rem; }
.docs-support-card p { margin: 0; color: rgba(255,255,255,.78); font-size: .84rem; }
.docs-support-card .btn { display: inline-flex; align-items: center; gap: 8px; flex: 0 0 auto; border-radius: 10px; color: var(--doc-blue); font-size: .84rem; font-weight: 750; }

.docs-empty-state { padding: 80px 20px; text-align: center; color: var(--doc-muted); }
.docs-empty-state > i { color: var(--doc-blue); font-size: 2rem; }
.docs-empty-state h2 { margin: 12px 0 5px; font-size: 1.45rem; }
.docs-empty-state p { font-size: .83rem; }
.is-search-hidden { display: none !important; }

.docs-rail {
    position: sticky;
    top: 92px;
    align-self: start;
    display: flex;
    flex-direction: column;
    gap: 13px;
    padding-top: 58px;
}

.rail-card { padding: 14px; border: 1px solid var(--doc-border); border-radius: 10px; background: var(--doc-soft); }
.rail-title { display: block; margin-bottom: 9px; color: var(--doc-subtle); font-size: .62rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.rail-card > a { display: block; padding: 5px 0; color: var(--doc-muted); font-size: .7rem; font-weight: 650; text-decoration: none; }
.rail-card > a:hover { color: var(--doc-blue); }
.rail-server > div { display: flex; align-items: center; gap: 6px; margin-bottom: 8px; color: var(--doc-green); font-size: .68rem; font-weight: 700; }
.rail-server > div i { width: 6px; height: 6px; border-radius: 50%; background: #12b76a; }
.rail-server code { display: block; overflow: hidden; margin-bottom: 10px; color: var(--doc-ink); font-size: .66rem; text-overflow: ellipsis; }
.rail-server button { width: 100%; padding: 7px; border: 1px solid var(--doc-border); border-radius: 6px; background: var(--doc-card); color: var(--doc-muted); font-size: .64rem; }
.rail-meta p { margin: 0 0 4px; color: var(--doc-muted); font-size: .7rem; }
.rail-meta p b { color: var(--doc-blue); }
.rail-meta small { color: var(--doc-subtle); font-size: .6rem; }

.docs-mobile-toolbar,
.docs-backdrop { display: none; }

@media (max-width: 1279.98px) {
    .docs-layout { grid-template-columns: 272px minmax(0, 860px); gap: 38px; max-width: 1220px; }
    .docs-rail { display: none; }
}

@media (max-width: 991.98px) {
    .docs-hero { padding: 3.2rem 0; }
    .docs-terminal { transform: none; }

    .docs-mobile-toolbar {
        position: sticky;
        top: 59px;
        z-index: 1015;
        display: flex;
        border-bottom: 1px solid var(--doc-border);
        background: color-mix(in srgb, var(--doc-card) 94%, transparent);
        backdrop-filter: blur(12px);
    }
    .docs-mobile-toolbar button { flex: 1; padding: 11px; border: 0; border-right: 1px solid var(--doc-border); background: transparent; color: var(--doc-ink); font-size: .78rem; font-weight: 750; }

    .docs-layout { display: block; padding: 0 20px; }
    .docs-sidebar { position: fixed; z-index: 1045; top: 0; left: 0; width: min(340px, 89vw); height: 100vh; padding: 24px 18px; background: var(--doc-card); box-shadow: 22px 0 60px rgba(2, 6, 23, .22); transform: translateX(-105%); transition: transform .22s ease; }
    .docs-sidebar.is-open { transform: translateX(0); }
    .docs-backdrop { position: fixed; z-index: 1040; inset: 0; background: rgba(2, 6, 23, .5); }
    .docs-backdrop.is-open { display: block; }
    .docs-main { padding-top: 42px; }
}

@media (max-width: 767.98px) {
    .docs-hero h1 { font-size: 2.45rem; }
    .docs-hero .col-lg-7 > p { font-size: .98rem; }
    .docs-version-bar { flex-wrap: wrap; margin-bottom: 1.6rem; }
    .docs-hero-actions .btn { width: 100%; justify-content: center; }
    .hero-meta { gap: 11px; }
    .docs-terminal { border-radius: 13px; }
    .terminal-request { overflow-x: auto; padding: 19px 14px; font-size: 10px; }
    .terminal-response { padding-left: 40px; }

    .docs-layout { padding: 0 12px; }
    .api-fact-grid { grid-template-columns: 1fr 1fr; }
    .api-fact-wide { grid-column: 1 / -1; }
    .postman-option-card { grid-template-columns: 42px minmax(0, 1fr); }
    .postman-option-card .btn-postman { grid-column: 1 / -1; justify-content: center; width: 100%; }
    .status-grid { grid-template-columns: 1fr 1fr; }
    .status-grid div:last-child { grid-column: 1 / -1; }

    .endpoint-card { padding: 19px 14px; border-radius: 11px; }
    .endpoint-heading { flex-direction: column; gap: 10px; }
    .endpoint-heading-actions { width: 100%; justify-content: space-between; }
    .endpoint-url { flex-wrap: wrap; }
    .base-part { display: none; }
    .endpoint-url > code { order: 3; width: 100%; padding: 10px 4px 4px; border-top: 1px solid var(--doc-border); }
    .postman-description { overflow-x: auto; }
    .postman-description table { min-width: 560px; }
    .parameter-list > div { grid-template-columns: 1fr auto; }
    .parameter-list strong { grid-column: 1 / -1; }
    .code-panel pre { padding: 14px; font-size: 10px; }
    .code-tabs { overflow-x: auto; }
    .detail-title-row { align-items: flex-start; flex-direction: column; gap: 3px; }

    .docs-support-card { align-items: flex-start; flex-direction: column; padding: 24px 20px; }
    .docs-support-card .btn { width: 100%; justify-content: center; }
}

@media (prefers-reduced-motion: reduce) {
    .docs-sidebar,
    .folder-chevron,
    .response-example summary > i { transition: none; }
}
