/* Self-contained documentation theme. No external fonts or UI dependencies. */
* { box-sizing: border-box; }
html { background: #fff; }
body { margin: 0; color: #424c60; font: 16px/1.75 -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif; }
a { color: #424dc5; text-decoration: underline; }
a:hover { color: #252f99; }
a:focus, button:focus, [tabindex]:focus { outline: 2px solid #5964dc; outline-offset: 4px; }
button { font: inherit; cursor: pointer; }
.icon { display: inline-block; flex: none; vertical-align: middle; fill: none; stroke: currentColor; stroke-width: 1.65; stroke-linecap: round; stroke-linejoin: round; }
.icon-definitions { position: absolute; overflow: hidden; }
.skip-link { position: fixed; top: -80px; left: 20px; z-index: 20; padding: 12px 20px; background: #fff; border: 2px solid #424dc5; border-radius: 6px; }
.skip-link:focus { top: 10px; }
.topbar { position: fixed; top: 0; right: 0; left: 0; z-index: 10; height: 72px; display: flex; align-items: center; justify-content: space-between; padding: 0 34px; border-bottom: 1px solid #e5e8ef; background: #fff; }
.brand { display: flex; align-items: center; text-decoration: none; color: #17213a; }
.brand:hover { color: #17213a; }
.brand-mark { display: flex; align-items: center; justify-content: center; width: 34px; height: 34px; margin-right: 12px; color: #fff; background: #454fc1; border-radius: 9px; }
.brand-mark .icon { width: 21px; height: 21px; }
.brand strong { font-size: 20px; font-weight: 700; letter-spacing: -0.6px; }
.brand-divider { height: 23px; width: 1px; margin: 0 18px; background: #dde1eb; transform: rotate(18deg); }
.brand-docs { font-size: 15px; color: #647087; }
.top-links { display: flex; align-items: center; }
.top-links a { margin-left: 28px; text-decoration: none; font-size: 13px; font-weight: 600; color: #515d72; }
.top-links a:hover { color: #424dc5; }
.top-links .icon { width: 14px; height: 14px; margin-left: 5px; }
.menu-toggle { min-height: 44px; display: none; align-items: center; padding: 8px 11px; color: #35415b; background: #fff; border: 1px solid #dce1eb; border-radius: 6px; font-size: 13px; font-weight: 600; }
.menu-toggle .icon { margin-right: 6px; width: 18px; height: 18px; }
.sidebar { position: fixed; left: 0; top: 72px; bottom: 0; width: 264px; padding: 34px 20px 24px; overflow-y: auto; background: #f8f9fc; border-right: 1px solid #e5e8ef; }
.sidebar a { text-decoration: none; }
.guide-title { display: flex; align-items: center; padding: 0 12px; font-size: 14px; font-weight: 600; color: #1d2942; }
.guide-title .icon { margin-right: 10px; color: #515ccd; }
.companion-guide { display: flex; align-items: center; margin: 12px 12px 0; color: #626e84; font-size: 12px; }
.companion-guide .icon { width: 16px; height: 16px; margin-right: 10px; }
.nav-group { margin: 30px 12px 10px; color: #626e84; font-size: 10px; font-weight: 700; letter-spacing: 1.35px; text-transform: uppercase; }
.sidebar ol { list-style: none; margin: 0; padding: 0; }
.sidebar li { margin: 3px 0; }
.sidebar li a { display: flex; align-items: center; padding: 9px 10px; border: 1px solid transparent; border-radius: 5px; color: #576278; font-size: 13px; line-height: 1.5; font-weight: 500; }
.sidebar li a:hover { color: #343f9c; background: #eff1f8; }
.sidebar li a[aria-current="location"] { color: #3943af; background: #eaedfc; border-color: #e0e4f8; font-weight: 600; }
.nav-number { margin-right: 12px; color: #626e84; font: 10px/1.5 Consolas, monospace; }
.sidebar a[aria-current="location"] .nav-number { color: #535dcb; }
.sidebar-footer { margin: 32px 12px 0; padding-top: 22px; border-top: 1px solid #e1e5ef; }
.reference-label { display: block; font-size: 11px; color: #626e84; }
.sidebar-footer a { display: block; margin-top: 8px; font-size: 12px; font-weight: 600; }
.sidebar-footer .icon { width: 15px; height: 15px; margin-left: 4px; }
.doc-content { max-width: 1080px; margin: 0 auto 0 264px; padding: 114px 72px 40px; }
.doc-content:focus { outline: none; }
#top { position: absolute; top: 0; }
.breadcrumb { display: flex; align-items: center; margin: 0 0 34px; font-size: 12px; color: #626e84; }
.breadcrumb a { text-decoration: none; color: #667187; }
.breadcrumb span { margin: 0 12px; color: #626e84; }
.eyebrow { margin: 0 0 12px; color: #505bc3; font-size: 10px; font-weight: 700; letter-spacing: 1.8px; text-transform: uppercase; }
h1, h2, h3 { color: #18233a; }
h1 { margin: 0 0 22px; font-size: 46px; font-weight: 700; line-height: 1.15; letter-spacing: -1.8px; }
.lead { max-width: 790px; margin: 0 0 25px; color: #606d83; font-size: 18px; line-height: 1.8; }
.doc-meta { display: flex; align-items: center; flex-wrap: wrap; color: #626e84; font-size: 11px; }
.meta-item { display: inline-flex; align-items: center; }
.meta-item .icon { width: 14px; height: 14px; margin-right: 6px; color: #447d70; }
.meta-item time { margin-left: 4px; }
.meta-divider { display: inline-block; height: 12px; width: 1px; margin: 0 14px; background: #d8deea; }
.overview-strip { display: flex; margin: 32px 0 12px; border: 1px solid #e0e5ef; border-radius: 8px; background: #fafbfe; }
.overview-strip > div { flex: 1; min-width: 0; padding: 20px; border-right: 1px solid #e0e5ef; }
.overview-strip > div:last-child { border-right: 0; }
.overview-strip dt { color: #27334e; font-size: 12px; font-weight: 600; }
.overview-strip dt .icon { width: 17px; height: 17px; color: #6975c8; margin-right: 8px; }
.overview-strip dd { margin: 7px 0 0; color: #68748a; font-size: 11px; }
.review-note { margin: 0; color: #626e84; font-size: 11px; }
.reference-intro { margin-top: 30px; padding: 22px 24px; background: #f8f9fc; border: 1px solid #e0e5ef; border-radius: 7px; font-size: 13px; }
.reference-intro h2 { font-size: 16px; letter-spacing: 0; }
.reference-intro p:last-child { margin-bottom: 0; }
section { position: relative; padding-top: 96px; margin-top: -24px; }
section[tabindex="-1"]:focus { outline: none; }
.section-heading { display: flex; align-items: baseline; margin-bottom: 24px; padding-bottom: 18px; border-bottom: 1px solid #e5e9f1; }
.section-number { flex: none; margin-right: 14px; color: #626e84; font: 12px/1.5 Consolas, monospace; }
h2 { margin: 0; font-size: 25px; line-height: 1.35; letter-spacing: -0.65px; font-weight: 600; }
.heading-link { margin-left: 12px; color: #626e84; text-decoration: none; opacity: 0; font-size: 20px; }
.section-heading:hover .heading-link, .heading-link:focus { opacity: 1; }
h3 { margin: 32px 0 12px; font-size: 17px; font-weight: 600; letter-spacing: -0.15px; }
p { margin: 16px 0; }
li { margin: 10px 0; }
ul, ol { padding-left: 22px; margin: 22px 0; }
.copy-status { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
strong { color: #2a3650; font-weight: 600; }
code, pre { font-family: Consolas, "Liberation Mono", monospace; }
code { padding: 2px 5px; border: 1px solid #e8eaf2; border-radius: 4px; color: #4d5596; background: #f5f6fb; font-size: 0.82em; word-wrap: break-word; }
.architecture-diagram { display: flex; align-items: stretch; margin: 26px 0; overflow: hidden; border: 1px solid #e0e5ef; border-radius: 8px; }
.figure-media { display: flex; align-items: center; flex: 1 1 64%; min-width: 0; padding: 24px 20px; background: #fff; }
.figure-media img { display: block; width: 100%; height: auto; }
figcaption { flex: 1 1 36%; min-width: 0; padding: 24px; background: #f8f9fc; border-left: 1px solid #e7eaf1; color: #626e84; font-size: 13px; line-height: 1.8; }
.figure-number { display: block; margin-bottom: 12px; color: #626e84; font: 9px/1.4 Consolas, monospace; text-transform: uppercase; letter-spacing: 1.6px; }
figcaption strong { display: block; margin-bottom: 8px; font-size: 14px; color: #33415d; }
.figure-link { display: inline-block; margin-top: 14px; font-size: 12px; text-decoration: none; font-weight: 600; }
.figure-link .icon { width: 12px; height: 12px; margin-left: 4px; }
.table-scroll { width: 100%; margin: 28px 0; overflow-x: auto; border: 1px solid #e0e5ef; border-radius: 7px; }
table { width: 100%; min-width: 530px; border-collapse: collapse; table-layout: fixed; font-size: 13px; line-height: 1.75; }
caption { padding: 13px 18px; color: #37425b; background: #fff; text-align: left; font-size: 12px; font-weight: 600; border-bottom: 1px solid #e5e9f1; }
th, td { text-align: left; vertical-align: top; padding: 16px 18px; border-bottom: 1px solid #e8ebf2; word-wrap: break-word; }
thead th { padding-top: 10px; padding-bottom: 10px; color: #626e84; background: #f8f9fc; font-size: 10px; font-weight: 600; letter-spacing: 0.3px; }
tbody th { color: #34405a; font-size: 12px; font-weight: 600; }
.two-column th:first-child { width: 31%; }
tbody tr:last-child th, tbody tr:last-child td { border-bottom: 0; }
tbody th code { padding: 0; border: 0; background: transparent; color: #49528e; font-size: 11px; }
.endpoint-table, .tools-table { min-width: 660px; }
.endpoint-table th:first-child { width: 34%; }
.endpoint-table th:nth-child(2) { width: 94px; }
.endpoint-table td:first-child code { padding: 0; border: 0; background: transparent; color: #49528e; font-size: 12px; }
.tools-table th:first-child { width: 24%; }
.tools-table th:nth-child(2) { width: 29%; }
.method { display: inline-block; padding: 3px 7px; border: 1px solid transparent; border-radius: 4px; font: 700 10px/1.5 Consolas, monospace; letter-spacing: 0.2px; white-space: nowrap; }
.method-get { color: #246b54; background: #ebf6ef; border-color: #cfe7d9; }
.method-post { color: #3b4aa0; background: #eff0fd; border-color: #dbe0f7; }
.method-put { color: #80611c; background: #fff6d9; border-color: #eedfb1; }
.method-ws { color: #6e429d; background: #f3edfb; border-color: #e3d7f2; }
.method-options { color: #536076; background: #edf0f4; border-color: #dce1e9; }
.code-panel { overflow: hidden; margin: 25px 0; background: #182239; border: 1px solid #222e48; border-radius: 8px; }
.code-toolbar { display: flex; align-items: center; justify-content: space-between; padding: 12px 18px; border-bottom: 1px solid #303a50; background: #202b42; color: #aab7d0; font-size: 11px; }
.code-toolbar > span { display: inline-flex; align-items: center; }
.code-toolbar .icon { width: 15px; height: 15px; margin-right: 9px; color: #8798bb; }
.copy-button { margin-left: 10px; padding: 4px 10px; border: 1px solid #485671; border-radius: 4px; background: transparent; color: #d6def0; font-size: 10px; line-height: 1.5; }
.copy-button:hover { background: #303d57; }
pre { margin: 0; padding: 22px; overflow-x: auto; font-size: 12px; line-height: 1.9; }
pre code { padding: 0; border: 0; color: #d4ddf0; background: transparent; font-size: inherit; word-wrap: normal; }
.steps { list-style: none; margin: 28px 0; padding: 0 0 0 14px; counter-reset: step; }
.steps > li { position: relative; margin: 0; padding: 0 0 28px 36px; border-left: 1px solid #dee3ef; counter-increment: step; }
.steps > li:last-child { padding-bottom: 0; border-left-color: transparent; }
.steps > li::before { content: counter(step); position: absolute; left: -14px; top: 0; width: 27px; height: 27px; border: 1px solid #dfe4f1; border-radius: 50%; color: #626db0; background: #f5f7fc; text-align: center; font: 11px/25px Consolas, monospace; }
.steps > li > strong:first-child { display: block; margin-bottom: 5px; }
.note { display: flex; align-items: flex-start; margin: 28px 0; padding: 20px 22px; background: #f2f4ff; border: 1px solid #e2e6fc; border-left: 3px solid #6b74ce; border-radius: 5px; color: #606b8b; font-size: 13px; }
.note > .icon { flex: none; margin: 2px 14px 0 0; color: #6c76c4; width: 18px; height: 18px; }
.note strong { display: block; margin-bottom: 6px; color: #414d88; }
.service-list { padding: 0; list-style: none; }
.service-list > li { position: relative; margin: 12px 0; padding: 22px 24px 22px 62px; border: 1px solid #e3e7f0; border-radius: 7px; font-size: 14px; }
.service-list > li > .icon { position: absolute; left: 23px; top: 26px; color: #6a75b2; }
.service-list > li > strong { display: block; margin-bottom: 6px; }
.source-list { list-style: none; padding: 0; margin-top: 24px; }
.source-list > li { padding: 16px 0 16px 18px; border-left: 2px solid #e2e6ef; margin: 0; font-size: 13px; }
.source-list > li:nth-child(even) { background: #fafbfe; }
.source-list code { font-size: 11px; }
.source-map { list-style: none; margin: 28px 0; padding: 0; border: 1px solid #e0e5ef; border-radius: 7px; overflow: hidden; }
.source-map > li { display: flex; margin: 0; padding: 24px; border-bottom: 1px solid #e5e9f1; }
.source-map > li:last-child { border-bottom: 0; }
.source-summary { flex: 0 0 32%; min-width: 0; padding-right: 28px; }
.source-summary h3 { margin: 0 0 8px; font-size: 15px; line-height: 1.5; }
.source-summary p { margin: 0; color: #626e84; font-size: 12px; line-height: 1.8; }
.source-details { flex: 1; min-width: 0; }
.source-label { display: block; margin: 14px 0 5px; color: #626e84; font-size: 10px; font-weight: 600; letter-spacing: 0.3px; }
.source-label:first-child { margin-top: 0; }
.source-path { display: block; margin: 3px 0; padding: 0; border: 0; background: transparent; color: #424c60; font-size: 11px; line-height: 1.8; word-wrap: break-word; }
.source-api { display: flex; flex-wrap: wrap; list-style: none; margin: 0 -12px -4px 0; padding: 0; }
.source-api > li { margin: 0 12px 4px 0; font-size: 12px; }
.source-api a { display: inline-block; padding: 3px 0; }
.source-api code { padding: 0; border: 0; background: transparent; color: inherit; font-size: 11px; }
@media (max-width: 1100px) {
    .source-map > li { display: block; }
    .source-summary { padding: 0 0 16px; }
}
.doc-footer { margin-top: 64px; padding-top: 30px; border-top: 1px solid #e5e9f1; }
.doc-footer .eyebrow { color: #626e84; }
.next-links { display: flex; margin: 16px -7px 30px; }
.next-links > a { flex: 1; min-width: 0; display: flex; align-items: center; margin: 0 7px; padding: 20px; border: 1px solid #e1e5f0; border-radius: 7px; text-decoration: none; }
.next-links > a:hover { background: #f8f9ff; border-color: #b9c1e5; }
.next-links > a > .icon:first-child { color: #838db6; margin-right: 14px; }
.next-links > a > .icon:last-child { margin-left: auto; width: 17px; height: 17px; }
.next-links small { display: block; color: #626e84; font-size: 10px; }
.next-links strong { color: #46528e; font-size: 12px; }
.footer-meta { display: flex; justify-content: space-between; color: #626e84; font-size: 11px; }
.footer-meta a { text-decoration: none; color: #626e84; }
@media (min-width: 1600px) {
    .doc-content { margin-left: auto; margin-right: auto; padding-left: 164px; padding-right: 40px; max-width: 1120px; }
}
@media (max-width: 1199px) {
    .sidebar { width: 232px; padding-right: 14px; padding-left: 14px; }
    .doc-content { margin-left: 232px; padding-right: 40px; padding-left: 40px; }
    .architecture-diagram { display: block; }
    .figure-media { padding: 28px; }
    .figure-media img { max-width: 580px; margin: 0 auto; }
    figcaption { border-left: 0; border-top: 1px solid #e7eaf1; padding: 20px 24px; font-size: 12px; }
    .figure-number { margin-bottom: 8px; }
    .figure-link { margin-top: 8px; font-size: 11px; }
    .overview-strip > div { padding: 16px 12px; }
}
@media (max-width: 850px) {
    .topbar { height: 64px; padding: 0 24px; }
    .top-links { display: none; }
    .js .menu-toggle { display: inline-flex; }
    .sidebar { position: static; width: auto; margin-top: 64px; padding: 24px; border-right: 0; border-bottom: 1px solid #dfe4ef; }
    .js .sidebar { display: none; position: fixed; z-index: 9; top: 64px; right: 0; bottom: auto; left: 0; max-height: calc(100vh - 64px); margin: 0; }
    .js.nav-open .sidebar { display: block; }
    .sidebar-footer { display: none; }
    .sidebar li a { padding: 12px; font-size: 14px; }
    .companion-guide { padding: 8px 0; font-size: 13px; }
    .nav-group { margin-top: 20px; }
    .doc-content { max-width: 800px; margin: 0 auto; padding: 40px 32px; }
    .js .doc-content { padding-top: 102px; }
    .breadcrumb { margin-bottom: 28px; }
    section { padding-top: 88px; }
    h1 { font-size: 40px; }
}
@media (max-width: 520px) {
    body { font-size: 15px; line-height: 1.8; }
    .topbar { padding: 0 18px; }
    .brand-mark { width: 30px; height: 30px; margin-right: 9px; }
    .brand strong { font-size: 18px; }
    .brand-divider { margin: 0 12px; height: 18px; }
    .brand-docs { font-size: 13px; }
    .menu-toggle { padding: 8px; font-size: 12px; }
    .menu-toggle .icon { margin-right: 5px; width: 16px; }
    .doc-content { padding-right: 22px; padding-left: 22px; }
    .js .doc-content { padding-top: 92px; }
    .breadcrumb { font-size: 11px; margin-bottom: 28px; }
    h1 { font-size: 36px; letter-spacing: -1.25px; }
    .lead { font-size: 16px; line-height: 1.85; }
    .doc-meta { display: block; font-size: 10px; }
    .meta-divider { display: none; }
    .meta-item { display: flex; margin-bottom: 6px; }
    .overview-strip { display: block; margin-top: 24px; }
    .overview-strip > div { display: flex; align-items: center; justify-content: space-between; padding: 13px 16px; border-right: 0; border-bottom: 1px solid #e0e5ef; }
    .overview-strip > div:last-child { border-bottom: 0; }
    .overview-strip dd { margin: 0 0 0 10px; font-size: 10px; }
    .overview-strip dt { font-size: 11px; }
    .overview-strip dt .icon { margin-right: 6px; width: 16px; }
    .review-note { font-size: 10px; line-height: 1.7; }
    .section-heading { align-items: flex-start; margin-bottom: 22px; padding-bottom: 16px; }
    .section-number { margin-right: 10px; margin-top: 4px; font-size: 10px; }
    h2 { font-size: 23px; letter-spacing: -0.55px; }
    .heading-link { display: none; }
    h3 { font-size: 16px; }
    .architecture-diagram { margin: 22px 0; }
    .figure-media { padding: 18px 12px; }
    figcaption { padding: 18px; font-size: 12px; }
    .figure-link { padding-top: 10px; padding-bottom: 10px; }
    .table-scroll { margin: 24px 0; }
    .steps > li { padding-left: 28px; }
    .note { padding: 18px 16px; font-size: 12px; }
    .note > .icon { margin-right: 10px; width: 16px; }
    .service-list > li { padding: 20px 18px 20px 48px; font-size: 13px; }
    .service-list > li > .icon { left: 16px; top: 24px; width: 17px; }
    .source-map > li { padding: 20px 18px; }
    .source-api a { padding-top: 10px; padding-bottom: 10px; }
    .code-toolbar { padding: 10px 14px; font-size: 10px; }
    pre { padding: 18px; font-size: 11px; }
    .copy-button { min-height: 44px; padding-right: 13px; padding-left: 13px; }
    .next-links { display: block; margin: 16px 0 28px; }
    .next-links > a { margin: 10px 0; }
}
@media print {
    .topbar, .sidebar, .skip-link, .heading-link, .copy-button, .figure-link { display: none !important; }
    body { color: #222; font-size: 11pt; }
    .doc-content, .js .doc-content { max-width: none; margin: 0; padding: 0; }
    .doc-header { padding-top: 0; }
    section { margin: 0; padding-top: 28px; }
    .section-heading, h3 { page-break-after: avoid; }
    .architecture-diagram, tr, .note { page-break-inside: avoid; }
    .source-map > li { page-break-inside: avoid; }
    .architecture-diagram { display: block; }
    .figure-media img { max-width: 450px; margin: 0 auto; }
    figcaption { border-left: 0; border-top: 1px solid #ddd; }
    .table-scroll { overflow: visible; }
    table { min-width: 0; }
    .endpoint-table, .tools-table { min-width: 0; }
    .code-panel, .code-toolbar { background: #f5f5f5; color: #222; border-color: #ccc; }
    pre { white-space: pre-wrap; word-wrap: break-word; }
    pre code, code, a { color: #222; }
    .doc-footer { margin-top: 30px; }
}
