:root { color-scheme: light; --ink: #20252e; --muted: #576270; --line: #e2e6ec; --blue: #2864dc; --green: #14765c; }
* { box-sizing: border-box; letter-spacing: 0; }
html { scroll-padding-top: 92px; }
body { margin: 0; color: var(--ink); background: #fff; font: 16px/1.7 -apple-system, BlinkMacSystemFont, "Segoe UI", "Noto Sans SC", "Microsoft YaHei", sans-serif; }
a { color: var(--blue); text-decoration: none; }
a:hover { text-decoration: underline; }
button, select { font: inherit; color: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 3px solid #92b3f4; outline-offset: 3px; }
.sr-only, .skip-link:not(:focus) { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip-link:focus { position: fixed; z-index: 100; top: 8px; left: 8px; padding: 8px; background: white; }
.site-header { position: sticky; top: 0; z-index: 10; display: flex; align-items: center; gap: 28px; height: 68px; padding: 0 max(24px, calc((100% - 1320px) / 2)); border-bottom: 1px solid var(--line); background: white; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--ink); font-size: 16px; font-weight: 650; white-space: nowrap; }
.brand img { flex-shrink: 0; }
.site-header nav { display: flex; align-items: center; gap: 24px; margin-left: auto; font-size: 14px; }
.site-header nav a:not([aria-current]) { color: var(--muted); }
.support-link { padding: 0; border: 0; background: none; color: var(--blue); }
.locale-label select { font-size: 13px; padding: 6px 8px; border: 1px solid var(--line); border-radius: 4px; background: #fff; min-width: 86px; }
.docs-layout { display: grid; grid-template-columns: 240px minmax(0, 1fr); max-width: 1320px; margin: auto; }
.docs-sidebar { position: sticky; top: 68px; align-self: start; height: calc(100dvh - 68px); overflow: auto; padding: 30px 20px 100px; border-right: 1px solid var(--line); }
.docs-sidebar summary { padding: 0 10px 12px; font-size: 14px; font-weight: 650; list-style: none; pointer-events: none; }
.docs-sidebar nav { display: flex; flex-direction: column; gap: 3px; }
.nav-label { margin: 16px 10px 7px; font-size: 12px; color: var(--muted); font-weight: 600; }
.docs-sidebar a { color: var(--muted); padding: 6px 10px; border-radius: 4px; font-size: 14px; line-height: 1.5; }
.docs-sidebar a[aria-current] { background: #edf3ff; color: var(--blue); font-weight: 600; }
.docs-sidebar a:hover { background: #f4f6f9; text-decoration: none; }
main { min-width: 0; padding: 40px 56px 0; }
.doc-meta { display: flex; justify-content: space-between; gap: 20px; font-size: 12px; color: var(--muted); }
h1 { margin: 12px 0 10px; font-size: 32px; line-height: 1.25; font-weight: 700; }
.lead { margin: 0 0 24px; color: var(--muted); font-size: 17px; }
h2 { display: flex; align-items: center; gap: 10px; margin: 0 0 16px; font-size: 22px; line-height: 1.4; }
h2 code { white-space: normal; overflow-wrap: anywhere; font-size: 18px; background: none; padding: 0; }
h3 { margin: 0 0 8px; font-size: 17px; font-weight: 650; }
p { margin: 0 0 16px; }
section { padding: 36px 0; border-bottom: 1px solid var(--line); }
.account-note { padding: 16px 20px; border-left: 3px solid var(--green); background: #f0f8f5; font-size: 14px; }
.account-note strong { display: block; margin-bottom: 5px; }
.account-note p { margin-bottom: 10px; }
.account-note a { display: inline-block; margin-right: 22px; }
.steps { margin: 20px 0; padding-left: 26px; }
.steps > li { padding-left: 10px; margin-bottom: 28px; }
.steps > li::marker { color: var(--blue); font-weight: 700; }
code { font: 13px/1.7 "Cascadia Code", "SFMono-Regular", Consolas, "Liberation Mono", monospace; background: #f2f4f7; padding: 2px 4px; border-radius: 3px; overflow-wrap: anywhere; }
pre { margin: 0 0 16px; padding: 20px; background: #f5f6f8; border: 1px solid var(--line); border-radius: 6px; overflow: auto; scrollbar-width: thin; tab-size: 4; }
pre code { display: block; padding: 0; background: none; color: #273341; line-height: 1.8; border-radius: 0; white-space: pre; overflow-wrap: normal; }
.code-example { margin: 18px 0; }
.code-example pre { border-radius: 0 0 6px 6px; margin: 0; }
.code-label { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 7px 14px; background: #fff; border: 1px solid var(--line); border-bottom: 0; border-radius: 6px 6px 0 0; font-size: 12px; color: var(--muted); }
.copy-code { min-width: 58px; height: 28px; border: 0; border-radius: 4px; background: #edf3ff; color: var(--blue); font-size: 12px; }
.copy-code:hover { background: #dfeaff; }
.python-example { margin-top: 20px; }
.python-example summary { cursor: pointer; font-size: 15px; font-weight: 600; color: var(--blue); padding: 8px 0; }
.python-example p { margin-top: 12px; }
.base-address { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding: 12px 16px; background: #f5f6f8; border-left: 3px solid var(--blue); margin-bottom: 16px; }
.base-address span { font-size: 12px; color: var(--green); }
.workflow { display: flex; flex-wrap: wrap; gap: 18px 30px; padding-left: 20px; }
.workflow li { font-size: 14px; }
.workflow strong, .workflow code { display: block; }
.method { flex-shrink: 0; min-width: 48px; padding: 4px 7px; border-radius: 4px; font: 600 11px/1.5 Consolas, monospace; text-align: center; }
.post { color: var(--blue); background: #edf3ff; }
.get { color: var(--green); background: #eaf5f0; }
.table-scroll { max-width: 100%; overflow: auto; margin-bottom: 18px; }
table { width: 100%; border-collapse: collapse; font-size: 14px; text-align: left; }
th { font-size: 12px; color: var(--muted); font-weight: 600; background: #f5f6f8; }
td, th { padding: 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
td:first-child { min-width: 110px; }
.inline-action { display: inline-block; margin-bottom: 16px; font-weight: 600; font-size: 14px; }
.guidance { padding-left: 22px; }
.guidance li { margin-bottom: 14px; }
.next-links { display: flex; flex-wrap: wrap; gap: 24px; font-size: 14px; }
.docs-footer { display: flex; flex-wrap: wrap; gap: 20px; font-size: 13px; padding: 28px 0 88px; color: var(--muted); }
body .geo-support-trigger { border-radius: 6px; box-shadow: 0 3px 10px #20252e12; }
body .geo-support-panel { border-radius: 8px; }
@media (max-width: 900px) { main { padding: 32px 28px 0; } .docs-layout { grid-template-columns: 210px minmax(0, 1fr); } .site-header nav { gap: 16px; } }
@media (max-width: 680px) {
  .site-header { height: auto; min-height: 68px; flex-wrap: wrap; gap: 10px 16px; padding: 12px 18px; }
  .brand { flex: 1; } .locale-label { order: 1; } .site-header nav { order: 2; width: 100%; justify-content: space-between; gap: 10px; margin: 0; font-size: 13px; }
  .docs-layout { display: block; } .docs-sidebar { position: static; height: auto; padding: 16px 18px; border: 0; border-bottom: 1px solid var(--line); }
  .docs-sidebar summary { cursor: pointer; pointer-events: auto; list-style: disclosure-closed; padding: 0; }
  .docs-sidebar details[open] summary { list-style: disclosure-open; }
  .docs-sidebar nav { padding-top: 10px; } main { padding: 26px 18px 0; } .doc-meta { flex-wrap: wrap; gap: 6px 12px; }
  h1 { font-size: 28px; } h2 { font-size: 21px; } h2 code { font-size: 15px; } .lead { font-size: 16px; }
  section { padding: 28px 0; } .steps { padding-left: 22px; } .steps > li { padding-left: 3px; } pre { padding: 14px; }
  .account-note { padding: 14px; } td, th { padding: 10px; } html { scroll-padding-top: 125px; }
  .workflow { display: block; } .workflow li { margin-bottom: 12px; } .docs-footer { padding-bottom: 100px; }
}
