:root {
    --accent: #e94c3a;
    --accent-dark: #c7392a;
    --accent-soft: #fff1ee;
    --ink: #202633;
    --muted: #7d8593;
    --line: #e9ecf0;
    --sidebar: 280px;
    --header: 72px;
    --mono: ui-monospace,SFMono-Regular,Consolas,"Liberation Mono",monospace;
}
* {
    box-sizing: border-box;
}
html {
    scroll-padding-top: 96px;
}
body {
    margin: 0;
    color: var(--ink);
    background: #fff;
    font: 14px/1.7 -apple-system,BlinkMacSystemFont,"Segoe UI","PingFang SC","Microsoft YaHei",sans-serif;
}
button,input {
    font: inherit;
}
a {
    color: inherit;
    text-decoration: none;
}
button,a,input,summary {
    -webkit-tap-highlight-color: transparent;
}
button {
    cursor: pointer;
}
button:focus-visible,a:focus-visible,input:focus-visible,summary:focus-visible {
    outline: 3px solid #ef9b8f;
    outline-offset: 3px;
}
[hidden] {
    display: none!important;
}
code,pre {
    font-family: var(--mono);
}
code {
    font-size: .88em;
}
p {
    margin: 12px 0;
}
h1,h2,h3,h4 {
    line-height: 1.45;
}
h1 {
    font-size: 28px;
    letter-spacing: -.6px;
}
h2 {
    font-size: 19px;
}
h3 {
    font-size: 17px;
}
h4 {
    font-size: 14px;
}
svg {
    flex-shrink: 0;
}
.site-header {
    height: var(--header);
    position: fixed;
    inset: 0 0 auto;
    z-index: 40;
    background: #ffffffed;
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--line);
    display: flex;
    align-items: center;
    padding: 0 32px;
    gap: 56px;
}
.brand {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 20px;
    font-weight: 750;
    letter-spacing: -.6px;
    white-space: nowrap;
}
.brand-symbol {
    display: grid;
    place-items: center;
    width: 32px;
    height: 34px;
    background: var(--accent);
    border-radius: 9px;
    color: white;
    font-size: 30px;
    line-height: 1;
    letter-spacing: -3px;
    padding-right: 4px;
}
.brand-symbol span {
    color: #ffc7bf;
}
.brand-divider {
    color: #cbd0d8;
    margin: 0 13px;
    font-weight: 400;
}
.brand-subtitle {
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 0;
    color: #7a8290;
}
.header-nav {
    align-self: stretch;
    display: flex;
    gap: 30px;
    align-items: stretch;
}
.header-nav>a {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    color: #6a7280;
    position: relative;
}
.header-nav .is-current {
    color: var(--accent);
    font-weight: 600;
}
.header-nav .is-current:after {
    content: "";
    height: 2px;
    background: var(--accent);
    position: absolute;
    bottom: 0;
    inset-inline: 0;
}
.header-actions {
    margin-left: auto;
    display: flex;
    gap: 24px;
    align-items: center;
}
.version-label {
    font: 11px var(--mono);
    color: #818896;
    border: 1px solid var(--line);
    padding: 5px 9px;
    border-radius: 6px;
}
.console-link,.primary-button {
    background: var(--accent);
    color: #fff;
    border: 1px solid var(--accent);
    border-radius: 8px;
    padding: 9px 16px;
    font-weight: 600;
    font-size: 13px;
    display: inline-flex;
    gap: 24px;
    align-items: center;
    justify-content: center;
}
.primary-button:hover,.console-link:hover {
    background: var(--accent-dark);
}
.secondary-button {
    display: inline-flex;
    align-items: center;
    gap: 24px;
    padding: 9px 16px;
    border: 1px solid #e2e5ea;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 600;
    background: white;
}
.secondary-button:hover {
    border-color: #c4c9d2;
}
.icon-button {
    border: 0;
    background: transparent;
    color: #8a929f;
    display: grid;
    place-items: center;
    width: 30px;
    height: 30px;
    border-radius: 5px;
    flex-shrink: 0;
    font-size: 19px;
}
.icon-button:hover {
    color: var(--accent);
    background: var(--accent-soft);
}
.mobile-menu {
    display: none;
}
.docs-sidebar {
    position: fixed;
    inset: var(--header) auto 0 0;
    width: var(--sidebar);
    border-right: 1px solid var(--line);
    background: #fcfcfd;
    display: flex;
    flex-direction: column;
    z-index: 30;
}
.sidebar-top {
    padding: 27px 22px 17px;
}
.sidebar-title {
    font-size: 17px;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 10px;
}
.sidebar-title>span {
    font: 10px var(--mono);
    color: var(--accent);
    background: var(--accent-soft);
    padding: 2px 6px;
    border-radius: 4px;
}
.base-url {
    margin-top: 15px;
    padding: 10px 11px;
    border: 1px solid var(--line);
    border-radius: 7px;
    background: #fff;
    display: flex;
    flex-direction: column;
    gap: 3px;
}
.base-url>span {
    font: 9px var(--mono);
    letter-spacing: 1px;
    color: #9299a5;
}
.base-url code {
    font-size: 11px;
    color: #596474;
    overflow-wrap: anywhere;
}
.search-box {
    margin-top: 18px;
    display: flex;
    align-items: center;
    gap: 8px;
    border: 1px solid #e3e6eb;
    background: white;
    border-radius: 7px;
    height: 37px;
    padding: 0 10px;
    color: #9ba1ad;
}
.search-box:focus-within {
    border-color: #ef9b8f;
}
.search-box input {
    width: 100%;
    min-width: 0;
    border: none;
    outline: none;
    background: transparent;
    color: var(--ink);
    font-size: 12px;
}
.search-box input::placeholder {
    color: #9299a5;
}
.search-box kbd {
    font: 11px var(--mono);
    border: 1px solid #e8eaf0;
    border-radius: 3px;
    line-height: 18px;
    padding: 0 4px;
}
.sidebar-nav {
    padding: 0 13px 20px;
    overflow: auto;
    flex: 1;
    scrollbar-width: thin;
    scrollbar-color: #dde1e7 transparent;
}
.nav-caption {
    font-size: 10px;
    letter-spacing: 1px;
    color: #959ca8;
    font-weight: 600;
    padding: 9px 10px;
    display: block;
}
.nav-caption>span {
    font-size: 10px;
    letter-spacing: 0;
    float: right;
    font-weight: 400;
}
.api-caption {
    margin-top: 22px;
}
.nav-guide {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 12px;
    padding: 9px 12px;
    border-radius: 6px;
    margin: 2px 0;
    color: #616b7b;
}
.nav-guide>span:first-child {
    font-size: 16px;
    color: #8992a2;
    line-height: 1;
}
.nav-guide .guide-arrow {
    margin-left: auto;
    color: var(--accent);
    font-size: 13px;
}
.nav-guide.active {
    color: var(--accent);
    background: var(--accent-soft);
    font-weight: 600;
}
.nav-group {
    margin-top: 6px;
}
.nav-group summary {
    display: flex;
    gap: 7px;
    align-items: center;
    padding: 10px;
    font-weight: 600;
    color: #4c5667;
    font-size: 12px;
    cursor: pointer;
    list-style: none;
}
.nav-group summary::-webkit-details-marker {
    display: none;
}
.nav-group summary:before {
    content: "›";
    font-size: 17px;
    font-weight: 400;
    color: #9ba3b0;
    line-height: 1;
    transform: rotate(0);
    transition: transform .15s;
}
.nav-group[open] summary:before {
    transform: rotate(90deg);
}
.group-count {
    font: 10px var(--mono);
    color: #a1a8b4;
    margin-left: auto;
}
.nav-endpoints {
    padding: 0 0 3px;
}
.nav-endpoint {
    display: flex;
    gap: 9px;
    align-items: flex-start;
    margin: 2px 0;
    padding: 9px 10px 9px 16px;
    border: 1px solid transparent;
    border-radius: 6px;
    font-size: 11px;
    line-height: 1.7;
    color: #6c7585;
}
.nav-endpoint>span:last-child {
    overflow-wrap: anywhere;
}
.nav-endpoint:hover,.nav-guide:hover {
    background: #f0f2f5;
}
.nav-endpoint.active {
    background: var(--accent-soft);
    border-color: #f7d9d3;
    color: var(--accent-dark);
    font-weight: 600;
}
.method {
    font-family: var(--mono);
    font-size: 10px;
    line-height: 19px;
    min-width: 34px;
    flex-shrink: 0;
    text-align: center;
    font-weight: 700;
    color: #238c6c;
    background: #e9f6f0;
    border-radius: 4px;
    padding: 0 4px;
}
.method-post {
    color: #b87b24;
    background: #fff4de;
}
.method-put,.method-patch {
    color: #527bbb;
    background: #edf4ff;
}
.method-delete {
    color: #cc5151;
    background: #fff0ee;
}
.sidebar-footer {
    border-top: 1px solid var(--line);
    padding: 14px 22px 17px;
    background: #fcfcfd;
}
.sidebar-footer .nav-caption {
    padding: 0 0 7px;
}
.sidebar-footer>div {
    display: flex;
    gap: 18px;
    font: 11px var(--mono);
    color: #636d7e;
}
.sidebar-footer a>span {
    color: #a3aab5;
    margin-left: 5px;
}
.sidebar-footer a:hover {
    color: var(--accent);
}
.sidebar-footer small {
    font-size: 10px;
    color: #a2a8b2;
    margin-top: 10px;
    display: block;
}
.search-empty {
    padding: 22px 10px;
    text-align: center;
    color: #687384;
    font-size: 12px;
}
.search-empty span {
    font-size: 10px;
    color: #959ca8;
}
.docs-main {
    margin-left: var(--sidebar);
    padding: var(--header) 0 0;
    min-height: 100vh;
}
.doc-page {
    padding: 28px 40px 60px;
    max-width: 1600px;
    margin: auto;
}
.docs-ready .doc-page {
    display: none;
}
.docs-ready .doc-page.active {
    display: block;
}
.breadcrumb {
    font-size: 11px;
    color: #9299a5;
    margin-bottom: 30px;
    display: flex;
    align-items: center;
    gap: 10px;
}
.breadcrumb>span {
    color: #cbd0d8;
}
.eyebrow {
    font: 10px/1.5 var(--mono);
    letter-spacing: 1.7px;
    color: #9a7e76;
    display: flex;
    align-items: center;
    gap: 9px;
}
.eyebrow>span:not(.status-dot) {
    color: var(--accent);
    background: var(--accent-soft);
    font-size: 9px;
    padding: 2px 6px;
    border-radius: 4px;
    letter-spacing: 0;
}
.status-dot {
    display: inline-block;
    width: 6px;
    height: 6px;
    background: #e96c58;
    border-radius: 50%;
    flex-shrink: 0;
}
.overview-heading {
    padding: 16px 0 36px;
    position: relative;
    background: radial-gradient(ellipse at 85% 40%,#fff3ed 0,transparent 58%);
}
.overview-heading h1 {
    font-size: clamp(32px,3.3vw,50px);
    font-weight: 700;
    line-height: 1.4;
    letter-spacing: -1.5px;
    margin: 20px 0 14px;
}
.overview-heading h1>span {
    color: var(--accent);
}
.overview-heading>p {
    color: #7a8391;
    font-size: 14px;
    line-height: 1.9;
}
.hero-actions {
    display: flex;
    gap: 12px;
    margin: 26px 0 24px;
}
.hero-meta {
    display: flex;
    align-items: center;
    gap: 24px;
    font: 10px var(--mono);
    color: #8d95a2;
}
.hero-meta>span {
    display: flex;
    gap: 7px;
    align-items: center;
}
.hero-meta>span+span:before {
    content: "";
    width: 1px;
    height: 10px;
    background: #e2e5eb;
    margin-right: 2px;
}
.hero-meta .status-dot {
    background: #63a58c;
}
.overview-cards {
    display: grid;
    grid-template-columns: repeat(3,minmax(0,1fr));
    gap: 16px;
    margin: 12px 0 42px;
}
.overview-cards>a {
    border: 1px solid var(--line);
    border-radius: 10px;
    padding: 20px;
    position: relative;
    transition: border-color .15s,transform .15s;
    background: #fff;
}
.overview-cards>a:hover {
    border-color: #f0b6aa;
    transform: translateY(-2px);
}
.feature-icon {
    display: grid;
    place-items: center;
    width: 31px;
    height: 31px;
    background: #faf3ef;
    color: #c78972;
    border-radius: 8px;
    font-size: 19px;
    margin-bottom: 16px;
}
.overview-cards strong {
    font-size: 13px;
    font-weight: 600;
    display: block;
}
.overview-cards p {
    font-size: 11px;
    color: #8a929f;
    margin: 8px 0 0;
}
.card-arrow {
    position: absolute;
    right: 19px;
    top: 22px;
    color: #afb5bf;
    font-size: 16px;
}
.prose {
    font-size: 13px;
    color: #636d7c;
    line-height: 1.9;
}
.prose h1,.prose h2,.prose h3 {
    color: #273142;
    font-weight: 650;
    letter-spacing: 0;
}
.prose h1 {
    font-size: 23px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--line);
    margin: 0 0 24px;
}
.prose h3 {
    margin: 32px 0 14px;
}
.prose code,.endpoint-details code:not(.endpoint-url code) {
    background: #f4f5f7;
    border: 1px solid #eceef2;
    border-radius: 4px;
    padding: 2px 5px;
    color: #566377;
    overflow-wrap: anywhere;
    hyphens: none;
}
.prose table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    border: 1px solid var(--line);
    border-radius: 8px;
    overflow: hidden;
    margin: 20px 0;
    font-size: 12px;
    table-layout: fixed;
}
.prose th,.prose td {
    padding: 12px 14px;
    text-align: left;
    border-bottom: 1px solid var(--line);
    overflow-wrap: anywhere;
    vertical-align: top;
}
.prose th {
    font-weight: 600;
    color: #5a6474;
    background: #f8f9fb;
}
.prose tr:last-child td {
    border-bottom: 0;
}
.prose table code {
    white-space: normal!important;
    word-break: break-word!important;
}
.prose table th:first-child {
    width: 23%;
}
.prose aside {
    border: 1px solid #e7eaf0;
    background: #fafbfc;
    border-radius: 7px;
    padding: 12px 16px;
}
.prose li {
    padding: 4px 0;
}
.prose a {
    color: var(--accent);
}
.guide-content {
    border-top: 1px solid var(--line);
    padding-top: 30px;
}
.auth-page {
    max-width: 1050px;
    min-height: calc(100vh - 145px);
}
.auth-page .eyebrow {
    margin: 45px 0 18px;
}
.auth-page .prose {
    padding-bottom: 26px;
}
.endpoint-layout {
    display: grid;
    grid-template-columns: minmax(0,1.18fr) minmax(0,1fr);
    align-items: start;
    gap: 30px;
}
.endpoint-heading h1 {
    text-wrap: balance;
    margin: 13px 0 17px;
    font-size: 25px;
}
.endpoint-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    margin-bottom: 16px;
}
.soft-badge {
    border: 1px solid #f6ded7;
    background: #fff7f3;
    color: #b48067;
    border-radius: 5px;
    font-size: 10px;
    padding: 2px 7px;
}
.soft-badge.neutral {
    background: #f7f8fa;
    border-color: #e9ecf0;
    color: #8992a2;
}
.soft-badge.warning {
    background: #fff9e8;
    color: #ae8739;
    border-color: #f1e7c7;
}
.endpoint-description {
    font-size: 12px;
    color: #7b8593;
    line-height: 1.9;
}
.endpoint-url {
    display: flex;
    gap: 10px;
    align-items: center;
    background: #f8f9fb;
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: 13px 12px;
    margin-top: 22px;
}
.endpoint-url code {
    overflow-wrap: anywhere;
    font-size: 11px;
    color: #5d687a;
    min-width: 0;
    flex: 1;
    line-height: 1.7;
}
.auth-notice {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 18px;
    background: #fffbf8;
    border: 1px solid #f3e6dc;
    border-radius: 9px;
    margin: 22px 0 30px;
}
.notice-icon {
    color: #c09477;
    font-size: 22px;
    line-height: 1.3;
}
.auth-notice strong {
    font-size: 13px;
    font-weight: 600;
    color: #a47459;
}
.auth-notice p {
    font-size: 11px;
    color: #998b83;
    line-height: 1.9;
    margin: 6px 0 8px;
}
.auth-notice code {
    background: #faf1eb!important;
    border: 0!important;
    color: #b28365!important;
}
.auth-notice a {
    color: var(--accent);
    font-size: 11px;
    font-weight: 600;
}
.endpoint-details form {
    margin: 24px 0 0;
}
.endpoint-details form>h3 {
    font-size: 16px;
    border-bottom: 1px solid var(--line);
    padding-bottom: 16px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 5px;
}
.endpoint-details form>p {
    background: #fafbfc;
    padding: 10px;
    border: 1px solid var(--line);
    border-radius: 6px;
    font-size: 11px;
    overflow-wrap: anywhere;
}
.badge {
    display: inline-block;
    border-radius: 4px;
    padding: 1px 6px;
    font: 10px var(--mono);
    background: #e9f6f0;
    color: #238c6c;
    margin-right: 5px;
}
.badge-darkred {
    background: #fff4de;
    color: #b87b24;
}
.endpoint-details form>h3 button {
    font-size: 11px!important;
    padding: 5px 10px!important;
    border: 1px solid #f2ccc4!important;
    border-radius: 6px!important;
    background: var(--accent-soft)!important;
    color: var(--accent-dark);
    font-weight: 600;
    white-space: nowrap;
}
.endpoint-details form>h3 button[type=submit] {
    background: var(--accent)!important;
    color: white;
}
.endpoint-details h4 {
    margin: 26px 0 0;
    padding: 12px;
    background: #f7f8fa;
    border: 1px solid var(--line);
    border-radius: 7px 7px 0 0;
    font-size: 12px;
    color: #667184;
}
.parameter-row,.endpoint-details form>div {
    padding: 13px 12px!important;
    border: 1px solid var(--line);
    border-top: 0;
    margin: 0!important;
}
.field-meta {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    min-width: 0;
}
.field-meta b {
    line-height: 1.4;
}
.field-meta b code {
    background: none!important;
    border: 0!important;
    padding: 0!important;
    color: #3d4d66!important;
    font-size: 11px;
}
.field-meta small {
    font: 10px var(--mono);
    color: #9ba3af;
}
.field-required {
    font-size: 9px;
    color: #a6adb8;
    margin-left: auto;
}
.field-required.is-required {
    color: #dc7f6e;
}
.field-description {
    font-size: 11px;
    color: #8b94a2;
    line-height: 1.9;
    overflow-wrap: anywhere;
}
.field-description>p {
    margin: 7px 0 0;
}
.field-description ul {
    padding-left: 20px;
}
.field-description input:not([type=radio]),.field-description select {
    width: 100%;
    border: 1px solid #d9dfe8;
    padding: 7px 9px;
    border-radius: 5px;
    font: 11px var(--mono);
    margin-top: 9px;
    background: white;
    color: var(--ink);
}
.field-description label {
    margin-top: 8px;
}
.endpoint-details details {
    font-size: 12px;
}
.endpoint-details summary {
    cursor: pointer;
}
.endpoint-examples {
    min-width: 0;
}
.invoke-card {
    border: 1px solid var(--line);
    border-radius: 10px;
    padding: 20px 22px;
    background: #fff;
    margin-bottom: 20px;
}
.invoke-card .eyebrow {
    color: #a0a8b5;
    font-size: 9px;
}
.invoke-card h2 {
    font-size: 14px;
    margin: 8px 0 14px;
}
.invoke-card ol {
    padding-left: 17px;
    font-size: 11px;
    color: #8a93a0;
    line-height: 2.3;
    margin: 0;
}
.invoke-card p {
    font-size: 10px;
    color: #b1a297;
    padding-top: 12px;
    border-top: 1px solid #f0ebe7;
    margin: 14px 0 0;
}
.examples-card {
    background: #1b202b;
    border: 1px solid #252b38;
    border-radius: 10px;
    overflow: hidden;
    color: #abb4c5;
    box-shadow: 0 5px 20px #17203109;
}
.examples-heading {
    padding: 19px 18px 10px;
    font-size: 12px;
    color: #eef0f5;
    display: flex;
    align-items: center;
    gap: 9px;
    font-weight: 500;
}
.examples-heading>span:last-child {
    margin-left: auto;
    font-size: 9px;
    color: #737f94;
    font-weight: 400;
}
.example-language-tabs {
    display: flex;
    gap: 20px;
    padding: 0 18px;
    border-bottom: 1px solid #323846;
    margin: 5px 0 8px;
    overflow: auto;
}
.example-language-tabs button {
    border: 0;
    border-bottom: 2px solid transparent;
    border-radius: 0;
    background: transparent;
    color: #8792a6;
    font: 11px var(--mono);
    padding: 10px 0;
}
.example-language-tabs button[aria-pressed=true] {
    color: #f1c6bb;
    border-color: #e9957f;
}
.examples-card>span {
    display: block;
}
.examples-card blockquote {
    margin: 0;
    padding: 14px 18px 8px;
    font: 10px/1.7 var(--mono);
    color: #9da8bd;
    border-top: 1px solid #2a3140;
}
.examples-card blockquote:first-child {
    border-top: 0;
}
.examples-card blockquote p {
    margin: 0;
}
.examples-card pre {
    margin: 0 12px 14px;
    position: relative;
    border: 1px solid #303748;
    border-radius: 6px;
    background: #141923;
    font-size: 10px;
    line-height: 1.9;
    overflow: hidden;
    padding-top: 30px;
    white-space: pre;
}
.examples-card pre code {
    display: block;
    overflow: auto;
    max-height: 470px!important;
    background: transparent!important;
    color: #bec9db;
    padding: 0 14px 14px;
    font: 10px/1.9 var(--mono);
    scrollbar-width: thin;
    scrollbar-color: #404a5b transparent;
}
.examples-card .hljs {
    background: transparent;
}
.code-copy {
    position: absolute;
    right: 7px;
    top: 4px;
    border: 0;
    background: #202735;
    color: #8f9db4;
    font-size: 9px;
    border-radius: 4px;
    padding: 2px 8px;
    z-index: 1;
}
.code-copy:hover {
    color: #fff;
    background: #344056;
}
.code-language {
    position: absolute;
    left: 13px;
    top: 6px;
    font: 8px var(--mono);
    letter-spacing: 1px;
    color: #647188;
}
.examples-card .annotation {
    font-size: 10px;
    padding: 8px 18px;
}
.main-footer {
    border-top: 1px solid var(--line);
    margin: 0 40px;
    padding: 20px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 11px;
    color: #929ba8;
}
.main-footer>span {
    font-weight: 600;
    color: #727c8d;
}
.main-footer>span>span {
    font: 10px var(--mono);
    color: #abb1bc;
    margin-left: 9px;
}
.main-footer a:hover {
    color: var(--accent);
}
.copy-toast {
    position: fixed;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    background: #273142;
    color: white;
    font-size: 12px;
    border-radius: 7px;
    padding: 9px 18px;
    z-index: 60;
    opacity: 0;
    pointer-events: none;
    transition: opacity .2s;
}
.copy-toast.visible {
    opacity: 1;
}
.skip-link {
    position: fixed;
    left: 15px;
    top: -100px;
    background: white;
    border: 1px solid var(--accent);
    padding: 8px 14px;
    z-index: 100;
}
.skip-link:focus {
    top: 12px;
}
.mobile-break {
    display: none;
}
.sidebar-backdrop {
    display: none;
}
@media(min-width:1600px) {
    :root {
        --sidebar: 300px;
    }
    .doc-page {
        padding-inline: 55px;
    }
    .endpoint-layout {
        gap: 44px;
    }
    .endpoint-heading h1 {
        font-size: 29px;
    }
    .endpoint-url code {
        font-size: 12px;
    }
    .endpoint-description,.prose {
        font-size: 14px;
    }
    .nav-endpoint {
        font-size: 12px;
    }
    .examples-card pre code {
        font-size: 11px;
    }
}
@media(max-width:1190px) {
    :root {
        --sidebar: 250px;
    }
    .site-header {
        gap: 30px;
        padding-inline: 24px;
    }
    .doc-page {
        padding-inline: 28px;
    }
    .endpoint-layout {
        gap: 22px;
        grid-template-columns: minmax(0,1fr) minmax(0,.95fr);
    }
    .endpoint-heading h1 {
        font-size: 23px;
    }
    .brand-subtitle,.brand-divider {
        display: none;
    }
    .header-actions {
        gap: 14px;
    }
    .overview-cards {
        gap: 12px;
    }
    .overview-cards>a {
        padding: 16px;
    }
}
@media(max-width:1000px) {
    .endpoint-layout {
        grid-template-columns: minmax(0,1fr);
    }
    .endpoint-examples {
        display: grid;
        grid-template-columns: minmax(0,1fr);
        margin-top: 12px;
    }
    .invoke-card {
        display: none;
    }
    .examples-card pre code {
        max-height: 450px!important;
        font-size: 11px;
    }
    .overview-cards {
        grid-template-columns: minmax(0,1fr);
    }
    .overview-cards>a {
        padding: 18px 18px 18px 70px;
        min-height: 83px;
    }
    .feature-icon {
        position: absolute;
        top: 22px;
        left: 19px;
        margin: 0;
    }
    .overview-cards p {
        margin-top: 3px;
    }
    .card-arrow {
        top: 28px;
    }
    .overview-heading {
        padding-top: 8px;
    }
    .hero-meta {
        gap: 12px;
        font-size: 9px;
    }
    .hero-meta>span+span:before {
        margin-right: 0;
    }
    .overview-heading h1 {
        font-size: 35px;
    }
}
@media(max-width:760px) {
    :root {
        --header: 60px;
        --sidebar: 280px;
    }
    .site-header {
        padding-inline: 18px;
        gap: 0;
    }
    .brand {
        font-size: 18px;
    }
    .brand-symbol {
        width: 28px;
        height: 29px;
        font-size: 26px;
    }
    .header-nav,.version-label {
        display: none;
    }
    .header-actions {
        gap: 14px;
    }
    .console-link {
        font-size: 11px;
        padding: 6px 10px;
        gap: 8px;
    }
    .mobile-menu {
        display: grid;
        color: #556072;
    }
    .docs-sidebar {
        transform: translateX(-100%);
        transition: transform .2s;
        width: var(--sidebar);
        box-shadow: 12px 0 32px #1720310a;
    }
    .menu-open .docs-sidebar {
        transform: translateX(0);
    }
    .sidebar-backdrop:not([hidden]) {
        display: block;
        position: fixed;
        inset: var(--header) 0 0;
        z-index: 25;
        background: #20263366;
        border: 0;
    }
    .menu-open {
        overflow: hidden;
    }
    .docs-main {
        margin-left: 0;
    }
    .doc-page {
        padding: 24px 20px 38px;
    }
    .breadcrumb {
        margin-bottom: 26px;
        font-size: 10px;
        overflow-wrap: anywhere;
    }
    .overview-heading {
        background: radial-gradient(ellipse at 95% 25%,#fff1e8 0,transparent 65%);
        padding-top: 6px;
        padding-bottom: 22px;
    }
    .overview-heading h1 {
        font-size: 36px;
        margin-top: 22px;
    }
    .overview-heading>p {
        font-size: 12px;
    }
    .mobile-break {
        display: block;
    }
    .hero-actions {
        margin: 23px 0;
    }
    .hero-meta {
        flex-wrap: wrap;
        gap: 15px;
        font-size: 9px;
    }
    .hero-meta>span+span:before {
        display: none;
    }
    .overview-cards {
        margin-top: 8px;
        margin-bottom: 30px;
        gap: 10px;
    }
    .prose {
        font-size: 12px;
    }
    .prose table {
        font-size: 10px;
    }
    .prose th,.prose td {
        padding: 10px 8px;
    }
    .prose table th:first-child {
        width: 29%;
    }
    .prose h1 {
        font-size: 21px;
    }
    .prose h3 {
        font-size: 15px;
    }
    .prose ol {
        padding-left: 20px;
    }
    .endpoint-heading h1 {
        font-size: 24px;
    }
    .endpoint-url {
        padding: 12px 10px;
        gap: 8px;
    }
    .endpoint-url code {
        font-size: 10px;
    }
    .endpoint-description {
        font-size: 12px;
    }
    .endpoint-heading .eyebrow {
        font-size: 9px;
    }
    .auth-notice {
        padding: 16px 13px;
    }
    .examples-heading {
        padding-top: 16px;
    }
    .main-footer {
        margin-inline: 20px;
        font-size: 10px;
    }
    .main-footer>span>span {
        display: none;
    }
    .primary-button,.secondary-button {
        padding: 9px 14px;
        font-size: 12px;
    }
    .auth-page .eyebrow {
        margin-top: 24px;
    }
}
@media(prefers-reduced-motion:reduce) {
    *,*:before,*:after {
        transition: none!important;
        scroll-behavior: auto!important;
    }
}
@media print {
    .site-header,.docs-sidebar,.header-actions,.main-footer,.code-copy,.example-language-tabs,.sidebar-backdrop,.copy-toast {
        display: none!important;
    }
    .docs-main {
        margin: 0;
        padding: 0;
    }
    .docs-ready .doc-page {
        display: block!important;
        padding: 20px 0;
        break-before: page;
    }
    .endpoint-layout {
        display: block;
    }
    .examples-card {
        color: #222;
        background: #f6f6f6;
    }
    .examples-card pre,.examples-card pre code {
        background: #f6f6f6!important;
        color: #222;
        max-height: none!important;
        white-space: pre-wrap;
    }
    .endpoint-details input,.endpoint-details button {
        display: none!important;
    }
    .doc-page {
        max-width: none;
    }
    .prose table {
        break-inside: avoid;
    }
}

/* The business hierarchy uses the same three levels as the console. */
.resource-hierarchy {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 24px 0;
}
.resource-hierarchy > div {
    flex: 1;
    min-width: 0;
    padding: 18px;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: #fafbfc;
}
.resource-hierarchy span, .resource-hierarchy strong, .resource-hierarchy small { display: block; }
.resource-hierarchy span { color: var(--accent-dark); font-size: 12px; font-weight: 600; }
.resource-hierarchy strong { margin: 6px 0; font: 600 19px var(--mono); overflow-wrap: anywhere; }
.resource-hierarchy small { color: #626b79; font-size: 12px; }
.resource-hierarchy > b { color: var(--muted); font: 11px var(--mono); white-space: nowrap; }
@media (max-width: 1000px) {
    .resource-hierarchy { align-items: stretch; flex-direction: column; gap: 8px; }
    .resource-hierarchy > b { text-align: center; }
}
