html { scroll-padding-top: calc(var(--site-header-height, 64px) + 32px); }
.docs-document[hidden], .docs-nav-group[hidden], .docs-nav-link[hidden], .docs-search-empty[hidden] { display: none; }
.docs-document:not([hidden]) ~ .docs-document:not([hidden]) { margin-top: 56px; }
.docs-layout { display: grid; grid-template-columns: 232px minmax(0, 1fr) 154px; column-gap: 36px; width: calc(100% - 96px); max-width: 1440px; min-height: calc(100vh - var(--site-header-height, 64px)); margin-inline: auto; }
.docs-sidebar { position: sticky; top: var(--site-header-height, 64px); display: flex; flex-direction: column; height: calc(100vh - var(--site-header-height, 64px)); padding-block: 28px 20px; padding-right: 22px; border-right: 1px solid var(--line); }
.docs-sidebar-content { display: contents; }
.docs-navigation-toggle { display: none; }
.docs-sidebar-top h2 { font-size: 18px; font-weight: 650; }
.docs-search-wrap { display: flex; align-items: center; gap: 8px; height: 38px; margin-top: 20px; padding: 0 10px; background: #f8f9fb; border: 1px solid #e6e9ee; border-radius: 7px; }
.docs-search-wrap:focus-within { border-color: #ff9e89; background: #fff; box-shadow: 0 0 0 3px #fff0eb; }
.docs-search-wrap > .icon { width: 16px; height: 16px; color: #8a94a2; }
.docs-search-wrap input { min-width: 0; width: 100%; border: 0; outline: 0; background: transparent; color: var(--ink); font: inherit; font-size: 12px; }
.docs-search-wrap input::placeholder { color: #929ba7; }
.docs-search-empty { margin: 12px 10px; color: #8b94a1; font-size: 12px; line-height: 1.7; }
.docs-navigation { margin-top: 24px; min-height: 0; flex: 1; overflow-y: auto; scrollbar-width: thin; scrollbar-color: #d9dde4 transparent; padding-right: 5px; }
.docs-nav-group { margin-bottom: 22px; }
.docs-nav-group h3 { display: flex; align-items: center; gap: 9px; margin: 0 0 9px; padding: 10px 11px; border: 1px solid #e9ecf1; border-radius: 6px; color: #354153; background: #f3f5f8; font-size: 13px; font-weight: 700; }
.docs-nav-group h3 .icon { width: 16px; height: 16px; color: #748296; }
.docs-nav-items { margin-left: 13px; padding-left: 9px; border-left: 1px solid #e1e6ed; }
.docs-nav-link { display: flex; align-items: center; gap: 8px; position: relative; margin: 3px 0; padding: 8px 11px; border-radius: 6px; color: #536070; font-size: 13px; line-height: 1.5; transition: color .15s ease, background .15s ease; }
.docs-nav-link:hover { color: var(--accent); background: #fff7f3; }
.docs-nav-link[aria-current="page"] { color: #e54a2f; background: #fff0e9; font-weight: 650; }
.docs-sidebar-links { display: grid; gap: 12px; margin-top: 16px; padding: 18px 10px 0; border-top: 1px solid var(--line); font-size: 13px; }
.docs-sidebar-links a { display: flex; align-items: center; justify-content: space-between; color: #7d8795; }
.docs-sidebar-links a:first-child { color: var(--accent); font-weight: 600; }
.docs-sidebar-links a:hover { color: var(--accent); }
.docs-sidebar-links .icon { width: 16px; height: 16px; }
.docs-main { min-width: 0; padding-block: 26px 80px; }
.docs-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 18px; min-height: 32px; margin-bottom: 26px; }
.docs-breadcrumb { display: flex; align-items: center; gap: 10px; color: #929ba7; font-size: 12px; }
.docs-breadcrumb > span:last-child { color: #626f80; }
.docs-copy-link { display: inline-flex; align-items: center; gap: 6px; padding: 6px 0 6px 8px; border: 0; background: transparent; color: #7d8795; white-space: nowrap; font-size: 12px; }
.docs-copy-link:hover { color: var(--accent); }
.docs-copy-link .icon { width: 15px; height: 15px; }
.docs-content { min-width: 0; font-size: 15px; color: #455160; line-height: 1.85; overflow-wrap: break-word; }
.docs-content .doc-title, .docs-content h1 { margin: 0 0 15px; color: var(--ink); font-size: 32px; font-weight: 750; letter-spacing: -.6px; line-height: 1.4; }
.docs-content h2 { margin: 36px 0 15px; color: var(--ink); font-size: 23px; font-weight: 650; }
.docs-content h3 { margin: 32px 0 14px; color: #243142; font-size: 19px; font-weight: 650; }
.docs-content h4 { margin: 25px 0 10px; color: #334155; font-size: 16px; font-weight: 650; }
.docs-content p { margin: 12px 0; }
.docs-content .docs-lead { margin-bottom: 23px; color: #778292; font-size: 15px; }
.docs-notes { counter-reset: note; }
.docs-content .docs-notes h2 { display: flex; align-items: center; gap: 10px; margin: 26px 0 9px; font-size: 18px; }
.docs-notes h2:before { counter-increment: note; content: counter(note); display: inline-flex; align-items: center; justify-content: center; width: 24px; height: 24px; flex-shrink: 0; border-radius: 6px; background: #fff0e9; color: var(--accent); font-size: 12px; font-weight: 650; }
.docs-content .docs-notes p { margin: 0; padding-left: 34px; font-size: 14px; line-height: 1.9; }
.docs-content ul, .docs-content ol { margin: 14px 0; padding-left: 23px; }
.docs-content ul { list-style: disc; }
.docs-content ol { list-style: decimal; }
.docs-content li { margin-block: 6px; padding-left: 3px; }
.docs-content strong { color: #253140; font-weight: 650; }
.docs-content a { color: #df4f34; text-decoration: underline; text-decoration-color: #ffcfbf; text-underline-offset: 4px; }
.docs-content a:hover { text-decoration-color: currentColor; }
.docs-content code { padding: 3px 5px; border-radius: 4px; background: #f4f5f7; color: #a6533d; font-family: ui-monospace, 'Cascadia Code', Consolas, monospace; font-size: 13px; overflow-wrap: anywhere; }
.docs-table-wrap { overflow-x: auto; margin: 18px 0 28px; border: 1px solid #e3e7ed; border-radius: 8px; }
.docs-content table { width: 100%; min-width: 600px; border-collapse: collapse; font-size: 13px; line-height: 1.8; }
.docs-content th { background: #f7f8fa; color: #5c6879; font-weight: 600; white-space: nowrap; }
.docs-content th, .docs-content td { padding: 12px 13px; border-bottom: 1px solid #e9ecf1; text-align: left; vertical-align: top; }
.docs-content td + td, .docs-content th + th { border-left: 1px solid #f0f2f5; }
.docs-content tr:last-child td { border-bottom: 0; }
.docs-content tbody tr:hover { background: #fffcfa; }
.docs-content td:first-child { min-width: 100px; }
.docs-content td code { padding: 2px 4px; color: #4b5a6d; font-size: 12px; white-space: nowrap; overflow-wrap: normal; }
.docs-code-block { overflow: hidden; margin: 18px 0 26px; border: 1px solid #e1e5eb; border-radius: 8px; background: #f8f9fb; }
.docs-code-header { display: flex; align-items: center; justify-content: space-between; gap: 15px; padding: 9px 15px; border-bottom: 1px solid #e7eaf0; color: #7c8795; font-size: 12px; }
.docs-code-language { color: #758191; font-weight: 600; }
.docs-copy-code { padding: 3px 8px; border: 1px solid #e2e6ec; border-radius: 4px; color: #677487; background: #fff; font-size: 12px; }
.docs-copy-code:hover { color: var(--accent); border-color: #ffb5a4; }
.docs-content pre { overflow-x: auto; margin: 0; padding: 18px 20px; color: #344356; line-height: 1.85; tab-size: 4; }
.docs-content pre code { padding: 0; border-radius: 0; color: inherit; background: transparent; font-size: 13px; white-space: pre; overflow-wrap: normal; }
.docs-content hr { margin: 30px 0; border: 0; border-top: 1px solid var(--line); }
.docs-endpoint { display: flex; align-items: baseline; gap: 13px; margin: 15px 0 24px; padding: 15px 17px; border: 1px solid #e2e7ed; border-radius: 7px; background: #fafbfc; }
.docs-method { flex-shrink: 0; padding: 2px 7px; border-radius: 4px; background: #fff0e7; color: #c16943; font-size: 11px; font-weight: 700; line-height: 1.7; }
.docs-method.is-get { color: #368572; background: #eaf7f1; }
.docs-endpoint > code { padding: 0; background: transparent; color: #4a5b70; }
.docs-content .docs-auth-note { margin-top: -12px; margin-bottom: 25px; color: #778292; font-size: 12px; }
.docs-auth-note code { font-size: 12px; }
.docs-outline-sidebar { position: sticky; top: var(--site-header-height, 64px); align-self: start; max-height: calc(100vh - var(--site-header-height, 64px)); overflow-y: auto; padding-block: 35px; scrollbar-width: thin; }
.docs-outline-sidebar h2 { margin-bottom: 16px; color: #87919e; font-size: 12px; font-weight: 600; }
.docs-outline { display: grid; border-left: 1px solid var(--line); }
.docs-outline-link { margin-left: -1px; padding: 8px 0 8px 15px; border-left: 2px solid transparent; color: #7a8593; font-size: 12px; line-height: 1.5; }
.docs-outline-link:hover { color: var(--accent); }
.docs-outline-link[aria-current="location"], .docs-outline-link.is-active { border-left-color: var(--accent); color: var(--accent); }
.docs-outline-link[data-level="4"], .docs-outline-link.is-nested { padding-left: 25px; }
.docs-error, .docs-loading { padding: 44px 20px; color: #7b8695; text-align: center; }
.docs-error button { display: block; margin: 18px auto 0; padding: 7px 18px; border: 1px solid #ffb8a7; border-radius: 6px; color: var(--accent); background: #fff; }
.docs-live { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
@media (prefers-reduced-motion: reduce) {
    .docs-nav-link { transition: none; }
}

@media (max-width: 1100px) {
    .docs-layout { grid-template-columns: 208px minmax(0, 1fr); column-gap: 26px; width: calc(100% - 48px); }
    .docs-sidebar { padding-right: 18px; }
    .docs-outline-sidebar { display: none; }
}
@media (max-width: 768px) {
    html { scroll-padding-top: calc(var(--site-header-height, 64px) + 76px); }
    .docs-layout { display: block; width: calc(100% - 32px); min-height: calc(100vh - var(--site-header-height, 64px)); }
    .docs-sidebar { z-index: 15; height: auto; padding: 0; border-right: 0; background: #fff; }
    .docs-navigation-toggle { display: flex; align-items: center; gap: 12px; width: 100%; min-height: 56px; padding: 12px 0; border: 0; border-bottom: 1px solid var(--line); background: #fff; text-align: left; font-size: 14px; font-weight: 600; }
    .docs-mobile-current { min-width: 0; flex: 1; overflow: hidden; color: #778292; text-overflow: ellipsis; white-space: nowrap; font-size: 13px; font-weight: 400; }
    .docs-navigation-toggle .icon { width: 18px; height: 18px; color: #778292; transition: transform .18s ease; }
    .docs-navigation-toggle[aria-expanded="true"] .icon { transform: rotate(180deg); }
    .docs-sidebar-content { position: absolute; top: 100%; left: 0; right: 0; display: none; max-height: calc(100vh - var(--site-header-height, 64px) - 72px); max-height: calc(100dvh - var(--site-header-height, 64px) - 72px); padding: 18px 16px 16px; border: 1px solid var(--line); border-radius: 0 0 10px 10px; background: #fff; box-shadow: 0 12px 28px #18223012; }
    .docs-sidebar.is-navigation-open .docs-sidebar-content { display: flex; flex-direction: column; }
    .docs-sidebar-top h2 { font-size: 16px; }
    .docs-search-wrap { height: 44px; margin-top: 12px; }
    .docs-search-wrap input { font-size: 16px; }
    .docs-navigation { flex: 1 1 auto; margin-top: 16px; padding-right: 4px; overscroll-behavior: contain; }
    .docs-nav-group { margin-bottom: 16px; }
    .docs-nav-link { min-height: 42px; padding-block: 10px; font-size: 14px; }
    .docs-sidebar-links { flex-shrink: 0; gap: 10px; margin-top: 10px; padding-top: 12px; }
    .docs-main { padding-block: 20px 56px; }
    .docs-toolbar { flex-wrap: wrap; gap: 10px; margin-bottom: 22px; }
    .docs-breadcrumb { min-width: 0; flex: 1; gap: 7px; }
    .docs-breadcrumb > span:last-child { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
    .docs-copy-link { min-height: 36px; padding-left: 0; }
    .docs-content { font-size: 14px; line-height: 1.85; }
    .docs-content .doc-title, .docs-content h1 { margin-bottom: 12px; font-size: 26px; letter-spacing: -.3px; }
    .docs-content h2 { margin-top: 30px; font-size: 21px; }
    .docs-content h3 { margin-top: 28px; font-size: 18px; }
    .docs-content .docs-lead { font-size: 14px; }
    .docs-content .docs-notes h2 { align-items: flex-start; font-size: 17px; }
    .docs-notes h2:before { margin-top: 3px; }
    .docs-content .docs-notes p { padding-left: 0; }
    .docs-table-wrap { max-width: 100%; margin: 16px 0 24px; overscroll-behavior-x: contain; }
    .docs-content table { min-width: 560px; }
    .docs-content th, .docs-content td { padding: 10px 12px; }
    .docs-code-block { max-width: 100%; margin: 16px 0 24px; }
    .docs-code-header { gap: 10px; padding: 9px 12px; }
    .docs-copy-code { min-height: 32px; flex-shrink: 0; }
    .docs-content pre { max-width: 100%; padding: 14px; overscroll-behavior-x: contain; }
    .docs-endpoint { gap: 8px; padding: 12px; }
    .docs-endpoint > code { min-width: 0; flex: 1; overflow-wrap: anywhere; }
    .docs-content .docs-auth-note { line-height: 1.9; }
}
@media (max-width: 768px) and (max-height: 560px) {
    .docs-sidebar-content { overflow-y: auto; overscroll-behavior: contain; }
    .docs-sidebar-top { flex-shrink: 0; }
    .docs-navigation { flex: none; overflow-y: visible; }
}
