:root {
    --bg-dark: #ffffff;
    --bg-card: #f8fafc;
    --bg-card-hover: #f1f5f9;
    --text-primary: #182230;
    --text-secondary: #526071;
    --text-muted: #8490a0;
    --border-color: #e6e9ef;
    --docs-accent: #6553d9;
    --docs-soft: #f3f0ff;
}
body { background: #fff; color: var(--text-primary); }
.navbar-custom, .navbar-custom.scrolled {
    background: rgba(255,255,255,.96);
    border-bottom: 1px solid var(--border-color);
    box-shadow: none;
}
.nav-link-custom.active { color: var(--docs-accent) !important; }
.footer { background: #fafbfc; border-top: 1px solid var(--border-color); }
.docs-icons { position: absolute; width: 0; height: 0; overflow: hidden; }
.docs-icon { width: 18px; height: 18px; flex: 0 0 auto; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.docs-shell { max-width: 1480px; margin: 0 auto; padding: 100px 32px 0; display: grid; grid-template-columns: 236px minmax(0,1fr) 210px; align-items: start; }
.docs-shell [hidden], .docs-toast[hidden] { display: none !important; }
.docs-shell button, .docs-copy-dialog button { font: inherit; cursor: pointer; }
.docs-shell a { text-decoration: none; }
.docs-shell :focus-visible, .docs-copy-dialog :focus-visible { outline: 2px solid var(--docs-accent); outline-offset: 4px; border-radius: 4px; }
.docs-sidebar { position: sticky; top: 100px; max-height: calc(100dvh - 116px); min-height: min(760px,calc(100dvh - 116px)); padding: 7px 22px 16px 0; border-right: 1px solid var(--border-color); display: flex; flex-direction: column; }
.docs-sidebar-heading { display: flex; align-items: center; gap: 9px; padding: 0 8px 20px; }
.docs-sidebar-heading .docs-icon { color: var(--docs-accent); }
.docs-sidebar-heading h1 { margin: 0; font-size: 15px; font-weight: 650; }
.docs-version { font-family: Consolas,monospace; font-size: 10px; line-height: 1.8; background: #f0f2f6; color: #737e90; border: 1px solid #e8ebf0; border-radius: 5px; padding: 0 6px; }
.docs-sidebar-heading .docs-version { margin-left: auto; }
.docs-search { display: flex; align-items: center; gap: 7px; padding: 9px 10px; background: #f9fafb; border: 1px solid #e5e8ef; border-radius: 8px; margin: 0 0 18px; color: #8a94a3; }
.docs-search:focus-within { border-color: #b5a9ee; box-shadow: 0 0 0 3px var(--docs-soft); }
.docs-search input { width: 100%; min-width: 0; border: 0; outline: none !important; padding: 0; font: inherit; font-size: 12px; color: var(--text-primary); background: transparent; }
.docs-search input::placeholder { color: #8a94a3; }
.docs-search kbd { white-space: nowrap; font-size: 9px; padding: 2px 4px; border: 1px solid #e6e9ed; background: white; border-radius: 4px; color: #949ba8; }
.docs-search-status { margin: -6px 8px 12px; font-size: 12px; color: var(--text-secondary); line-height: 1.7; }
.docs-navigation { overflow-y: auto; scrollbar-width: thin; flex: 1; padding-right: 3px; }
.docs-nav-group { margin-bottom: 20px; }
.docs-nav-group h2 { font-size: 11px; letter-spacing: .04em; font-weight: 600; color: #919aaa; padding: 0 10px; margin: 0 0 7px; }
.docs-nav-group a { display: flex; align-items: center; justify-content: space-between; gap: 4px; color: #5b6576; font-size: 13px; line-height: 1.5; border-radius: 6px; padding: 8px 10px; margin: 2px 0; transition: background .15s,color .15s; }
.docs-nav-group a:hover { background: #f6f7fa; color: #222c3c; }
.docs-nav-group a.is-active { background: var(--docs-soft); color: var(--docs-accent); font-weight: 600; }
.docs-nav-badge { font-size: 9px; font-weight: 600; font-family: Consolas,monospace; color: var(--docs-accent); background: #eee9ff; padding: 1px 4px; border-radius: 3px; }
.docs-sidebar-footer { display: grid; grid-template-columns: 18px 1fr; column-gap: 9px; padding: 16px 10px 0; border-top: 1px solid var(--border-color); margin-top: 12px; }
.docs-sidebar-footer > .docs-icon { color: var(--docs-accent); margin-top: 2px; }
.docs-sidebar-footer strong { font-size: 11.5px; font-weight: 600; }
.docs-sidebar-footer p { font-size: 10.5px; color: #8a93a3; margin: 4px 0 11px; }
.docs-copy-all { grid-column: 1/-1; display: flex; align-items: center; justify-content: center; gap: 7px; padding: 8px; font-size: 11px !important; color: #5e50c4; border: 1px solid #e0dafa; background: #faf8ff; border-radius: 6px; }
.docs-copy-all:hover { background: var(--docs-soft); }
.docs-copy-all .docs-icon { width: 13px; height: 13px; }
.docs-main { min-width: 0; padding: 7px 42px 45px; }
.docs-article { scroll-margin-top: 110px; margin-bottom: 46px; }
.docs-article-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 24px; }
.docs-breadcrumb { display: flex; align-items: center; gap: 9px; font-size: 11px; white-space: nowrap; color: #8791a1; }
.docs-breadcrumb > span:last-child { color: #636d7c; }
.docs-article-actions { display: flex; align-items: center; gap: 3px; }
.docs-copy-page { display: flex; align-items: center; gap: 6px; background: white; color: #6a7283; border: 1px solid #e4e7ed; border-radius: 6px; padding: 6px 9px; font-size: 12px !important; white-space: nowrap; }
.docs-copy-page:hover { color: var(--docs-accent); border-color: #c6bcef; background: #fcfbff; }
.docs-copy-page .docs-icon { width: 13px; height: 13px; }
.docs-md-label { font-family: Consolas,monospace; font-size: 9px; padding-left: 6px; border-left: 1px solid #e6e9ee; color: #9a91bd; }
.docs-more-actions { position: relative; }
.docs-more-actions summary { display: flex; align-items: center; justify-content: center; list-style: none; cursor: pointer; width: 28px; height: 29px; border-radius: 5px; color: #8a91a0; }
.docs-more-actions summary::-webkit-details-marker { display: none; }
.docs-more-actions summary:hover, .docs-more-actions[open] summary { background: #f4f2fc; color: var(--docs-accent); }
.docs-actions-menu { position: absolute; z-index: 30; top: calc(100% + 7px); right: 0; min-width: 206px; padding: 5px; border: 1px solid var(--border-color); border-radius: 9px; background: white; box-shadow: 0 10px 35px rgba(22,28,45,.1); }
.docs-actions-menu a, .docs-actions-menu button { display: flex; align-items: center; gap: 9px; width: 100%; padding: 9px 10px; color: #5d6678; background: none; border: 0; font-size: 12px; border-radius: 5px; white-space: nowrap; text-align: left; }
.docs-actions-menu a:hover, .docs-actions-menu button:hover { background: #f7f5ff; color: var(--docs-accent); }
.docs-actions-menu .docs-icon { width: 14px; height: 14px; }
.docs-title { color: #17212f; font-size: clamp(27px,2.45vw,35px); font-weight: 650; letter-spacing: -.025em; line-height: 1.3; margin: 0 0 18px; border: 0; }
.docs-tags { display: flex; gap: 14px; flex-wrap: wrap; font-size: 10px; color: #8390a0; margin: -3px 0 22px; }
.docs-tags span { display: flex; align-items: center; gap: 5px; }
.docs-tags i { width: 5px; height: 5px; background: #57ab84; border-radius: 50%; }
.docs-base-url { display: flex; align-items: center; gap: 13px; padding: 12px 14px; border: 1px solid #e6e8ef; border-radius: 8px; background: #fafbfc; margin: 0 0 24px; min-width: 0; }
.docs-base-url > span { font-size: 9px; font-weight: 600; color: #8791a1; letter-spacing: .045em; white-space: nowrap; }
.docs-base-url code { color: #534782; font-family: Consolas,'SFMono-Regular',monospace; font-size: 11px; word-break: break-all; }
.docs-copy-url { background: none; color: #929aae; border: 0; padding: 2px; margin-left: auto; display: flex; }
.docs-copy-url .docs-icon { width: 13px; height: 13px; }
.docs-endpoint { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border: 1px solid var(--border-color); border-radius: 8px; background: #fafbfc; margin-bottom: 24px; min-width: 0; }
.docs-method { font-family: Consolas,monospace; font-size: 10px; font-weight: bold; padding: 3px 6px; border-radius: 4px; }
.docs-method-get { background: #e9f6ef; color: #278a5c; }
.docs-method-post { background: #f0ecfc; color: #7757c5; }
.docs-endpoint code { color: #536072; font-size: 12px; overflow-wrap: anywhere; }
.docs-body { color: #536072; font-size: 14.5px; line-height: 1.95; overflow-wrap: break-word; }
.docs-body > p:first-child { font-size: 15px; line-height: 1.9; color: #717b8b; margin-bottom: 26px; }
.docs-body p { margin: 0 0 15px; }
.docs-body h3, .docs-body h4 { color: #283445; font-weight: 600; scroll-margin-top: 115px; }
.docs-body h3 { font-size: 17px; margin: 31px 0 14px; line-height: 1.6; }
.docs-body h4 { font-size: 15px; margin: 24px 0 12px; }
.docs-body strong { font-weight: 600; color: #384559; }
.docs-body a { color: var(--docs-accent); text-underline-offset: 3px; }
.docs-body a:hover { text-decoration: underline; }
.docs-body ul, .docs-body ol { margin-bottom: 18px; padding-left: 21px; }
.docs-body li { padding-left: 3px; margin: 5px 0; }
.docs-body :not(pre) > code { font-family: Consolas,'SFMono-Regular',monospace; font-size: .9em; color: #69508d; background: #f5f3f9; padding: 2px 5px; border: 1px solid #efedf4; border-radius: 4px; overflow-wrap: anywhere; }
.docs-body blockquote { background: #f8f7ff; border: 1px solid #eeeafb; border-left: 3px solid #b4a5ee; border-radius: 6px; padding: 14px 17px; margin: 20px 0; font-size: 12.5px; }
.docs-body blockquote > :last-child { margin-bottom: 0; }
.docs-body pre { padding: 17px 19px; margin: 18px 0; border: 1px solid #e5e8ef; border-radius: 8px; background: #f8f9fc; color: #435168; font-size: 12.5px; line-height: 1.9; overflow-x: auto; tab-size: 4; }
.docs-body pre code { font-family: Consolas,'SFMono-Regular',monospace; padding: 0; background: transparent; color: inherit; border: 0; font-size: inherit; white-space: pre; overflow-wrap: normal; word-break: normal; }
.docs-code-block { border: 1px solid #e5e8ef; border-radius: 8px; overflow: hidden; background: #f8f9fc; margin: 18px 0 23px; }
.docs-code-header { display: flex; justify-content: space-between; align-items: center; border-bottom: 1px solid #e5e8ef; padding: 7px 14px; background: #f3f5f9; color: #7c8798; font-family: Consolas,monospace; font-size: 10px; }
.docs-code-header button { display: flex; align-items: center; gap: 5px; background: none; border: 0; font-size: 10px; color: #8791a2; padding: 2px 0 2px 8px; }
.docs-code-header button:hover { color: var(--docs-accent); }
.docs-code-header .docs-icon { width: 12px; height: 12px; }
.docs-code-block pre { margin: 0; border: 0; border-radius: 0; }
.docs-table-wrap { overflow-x: auto; border: 1px solid #e6e9ef; border-radius: 8px; margin: 18px 0 24px; }
.docs-body table { width: 100%; font-size: 12.5px; line-height: 1.8; border-collapse: collapse; margin-bottom: 20px; }
.docs-table-wrap table { margin: 0; }
.docs-body th { padding: 11px 13px; background: #f7f8fb; font-weight: 500; color: #677184; border-bottom: 1px solid #e6e9ef; white-space: nowrap; text-align: left; }
.docs-body td { padding: 11px 13px; color: #5c687a; border-bottom: 1px solid #eef0f4; vertical-align: top; min-width: 80px; }
.docs-body tr:last-child td { border-bottom: 0; }
.docs-body td code { font-size: 11.5px; }
.docs-capabilities { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 12px; margin-top: 28px; }
.docs-capabilities a { position: relative; display: grid; grid-template-columns: 22px 1fr; column-gap: 10px; padding: 18px; border: 1px solid #e6e9ef; border-radius: 8px; color: #656e83; transition: border-color .15s,background .15s; }
.docs-capabilities a:hover { border-color: #cfc5f4; background: #fcfbff; }
.docs-capabilities a > .docs-icon:first-child { color: #8b7db8; width: 20px; height: 20px; margin-top: 1px; }
.docs-capabilities strong { font-size: 12px; color: #374256; font-weight: 600; }
.docs-capabilities p { grid-column: 2; font-size: 10.5px; color: #959dad; margin: 5px 0 0; }
.docs-card-arrow { position: absolute; top: 20px; right: 16px; width: 13px; height: 13px; color: #a5aaba; }
.docs-pagination { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 14px; margin-top: 35px; border-top: 1px solid #e9ebf1; padding-top: 25px; }
.docs-pagination a { padding: 15px 17px; border: 1px solid #e6e9ef; border-radius: 8px; display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.docs-pagination a:hover { border-color: #cfc5f4; background: #fcfbff; }
.docs-pagination span { color: #98a0af; font-size: 10px; }
.docs-pagination strong { font-size: 12px; font-weight: 500; color: #6a58a8; overflow-wrap: anywhere; }
.docs-page-next { grid-column: 2; text-align: right; }
.docs-bottom-note { color: #a8aebc; font-size: 10px; margin-top: 30px; text-align: center; line-height: 1.7; }
.docs-toc { position: sticky; top: 107px; padding: 0 0 30px 20px; border-left: 1px solid var(--border-color); font-size: 12px; max-height: calc(100dvh - 120px); overflow-y: auto; scrollbar-width: thin; }
.docs-toc h2 { font-size: 12px; font-weight: 600; color: #535f72; margin: 0 0 14px; }
.docs-toc nav { margin-bottom: 34px; }
.docs-toc nav a { color: #8b94a4; display: block; padding: 6px 0; line-height: 1.7; border-left: 2px solid transparent; padding-left: 10px; margin-left: -1px; }
.docs-toc nav a:hover, .docs-toc nav a.is-active { color: var(--docs-accent); border-left-color: #a898e9; }
.docs-toc nav a.docs-toc-child { padding-left: 20px; font-size: 11px; }
.docs-agent-card { background: #faf9fd; border: 1px solid #eae6f5; border-radius: 8px; padding: 16px 13px; }
.docs-agent-card-icon { width: 29px; height: 29px; background: #f0ebfc; color: #8a74bd; border-radius: 7px; display: flex; align-items: center; justify-content: center; margin-bottom: 13px; }
.docs-agent-card h2 { color: #675485; font-size: 12px; margin-bottom: 8px; }
.docs-agent-card p { color: #8b849c; font-size: 11.5px; line-height: 1.9; margin: 0 0 15px; }
.docs-agent-card button { display: flex; align-items: center; justify-content: space-between; width: 100%; font-size: 11.5px; font-weight: 500; color: #755caa; padding: 0; background: none; border: 0; }
.docs-agent-card button .docs-icon { width: 13px; height: 13px; }
.docs-agent-card > a { display: flex; align-items: center; gap: 5px; font-size: 10px; color: #94869e; margin-top: 13px; }
.docs-agent-card > a:hover { color: var(--docs-accent); }
.docs-agent-card > a .docs-icon { width: 10px; height: 10px; }
.docs-console-link { display: flex; align-items: center; gap: 7px; color: #929cad; font-size: 10px; margin: 20px 4px 0; }
.docs-console-link:hover { color: var(--docs-accent); }
.docs-console-link .docs-icon { width: 11px; height: 11px; }
.docs-shell .is-copied { color: #248258 !important; }
.docs-toast { position: fixed; z-index: 1200; bottom: 30px; left: 50%; transform: translateX(-50%); width: max-content; max-width: calc(100vw - 32px); padding: 12px 20px; background: #273244; color: #fff; border-radius: 9px; box-shadow: 0 8px 28px rgba(15,23,42,.16); font-size: 12px; text-align: center; }
.docs-copy-dialog { margin: auto; width: min(760px,calc(100vw - 32px)); max-height: 85dvh; padding: 24px; border: 1px solid #e5e8ee; border-radius: 12px; background: #fff; box-shadow: 0 18px 70px rgba(15,23,42,.2); color: #536072; }
.docs-copy-dialog::backdrop { background: rgba(25,31,49,.32); }
.docs-dialog-heading { display: flex; justify-content: space-between; align-items: center; margin-bottom: 15px; }
.docs-dialog-heading h2 { font-size: 18px; margin: 0; color: #273244; }
.docs-dialog-heading button { border: 0; background: #f2f4f8; border-radius: 6px; padding: 1px 10px; color: #667185; font-size: 23px; }
.docs-copy-dialog p { font-size: 13px; margin-bottom: 16px; }
.docs-copy-dialog textarea { display: block; width: 100%; height: 42dvh; padding: 14px; font: 12px/1.8 Consolas,monospace; color: #435168; background: #f8f9fc; border: 1px solid #e5e8ee; border-radius: 7px; resize: vertical; }
.docs-dialog-download { display: inline-block; color: var(--docs-accent); font-size: 12px; margin-top: 16px; }
.docs-mobile-bar { display: none; }
@media (min-width: 1600px) {
    .docs-main { padding-left: 58px; padding-right: 58px; }
}
@media (max-width: 1180px) {
    .docs-shell { grid-template-columns: 218px minmax(0,1fr); max-width: 1080px; padding-left: 24px; padding-right: 24px; }
    .docs-main { padding-left: 32px; padding-right: 8px; }
    .docs-toc { display: none; }
}
@media (max-width: 760px) {
    .docs-shell { display: block; padding: 82px 20px 0; }
    .docs-mobile-bar { display: flex; align-items: center; justify-content: space-between; gap: 10px; position: sticky; top: 65px; z-index: 950; background: rgba(255,255,255,.98); padding: 10px 0; border-bottom: 1px solid var(--border-color); margin-bottom: 22px; }
    .docs-mobile-toggle { display: flex; align-items: center; gap: 6px; border: 0; background: transparent; padding: 3px 0; font-size: 11px !important; color: #5f687a; }
    .docs-mobile-toggle .docs-icon { width: 15px; height: 15px; }
    #docs-mobile-title { font-size: 11px; color: #939bab; margin-left: auto; max-width: 46%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
    .docs-sidebar { display: none; position: fixed; z-index: 960; top: 116px; left: 0; right: 0; height: calc(100dvh - 116px); max-height: none; min-height: 0; padding: 18px 22px; background: #fff; border: 0; box-shadow: 0 12px 28px rgba(20,28,45,.1); }
    .docs-sidebar.is-open { display: flex; }
    .docs-navigation { overscroll-behavior: contain; }
    .docs-nav-group a { font-size: 13px; padding: 9px 11px; }
    .docs-sidebar-footer { flex-shrink: 0; }
    .docs-main { padding: 0 0 35px; }
    .docs-article-top { margin-bottom: 21px; gap: 8px; }
    .docs-breadcrumb { font-size: 10px; gap: 7px; }
    .docs-copy-page { font-size: 10px !important; padding: 6px 8px; gap: 5px; }
    .docs-title { font-size: 29px; }
    .docs-body { font-size: 14px; line-height: 1.95; }
    .docs-body > p:first-child { font-size: 14px; }
    .docs-body h3 { font-size: 16px; scroll-margin-top: 130px; }
    .docs-body pre { font-size: 11.5px; padding: 15px; }
    .docs-base-url { gap: 9px; padding: 11px 12px; }
    .docs-base-url code { font-size: 10px; }
    .docs-capabilities a { padding: 14px; column-gap: 6px; }
    .docs-capabilities p { font-size: 10px; }
    .docs-card-arrow { right: 10px; top: 17px; width: 11px; }
    .docs-article { scroll-margin-top: 130px; }
    .docs-copy-dialog { padding: 18px; }
}
@media (max-width: 380px) {
    .docs-shell { padding-left: 15px; padding-right: 15px; }
    .docs-md-label { display: none; }
    .docs-capabilities { grid-template-columns: 1fr; }
    .docs-base-url > span { font-size: 8px; }
}
@media (prefers-reduced-motion: reduce) {
    .docs-shell * { scroll-behavior: auto !important; transition: none !important; }
}
@media print {
    .navbar-custom, .docs-sidebar, .docs-toc, .docs-mobile-bar, .docs-article-actions, .docs-code-header button, .docs-copy-url, .docs-capabilities, .docs-pagination, .docs-bottom-note, .footer, .docs-toast, .docs-copy-dialog { display: none !important; }
    .docs-shell, .docs-main { display: block; padding: 0; margin: 0; }
    .docs-shell .docs-article[hidden] { display: block !important; }
    .docs-body pre { white-space: pre-wrap; overflow-wrap: anywhere; }
    .docs-body pre code { white-space: pre-wrap; }
}

