:root { color-scheme: light; --ink: #172f30; --muted: #657477; --teal: #14665e; --line: #dfe7e5; --paper: #f6f8f7; --sidebar: 254px; font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif; }
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; }
body { margin: 0; color: var(--ink); background: #fff; font-size: 14px; line-height: 1.7; }
a { color: var(--teal); text-decoration: none; }
button, input { font: inherit; }
button, summary { cursor: pointer; }
button { border: 1px solid var(--line); background: #fff; color: var(--ink); border-radius: 7px; padding: 6px 12px; }
button:hover { background: #edf5f2; }
input { min-width: 0; }
:focus-visible { outline: 3px solid #55a69b; outline-offset: 3px; }
[hidden] { display: none !important; }
.skip-link { position: fixed; top: -60px; z-index: 10; background: #fff; padding: 12px 20px; }
.skip-link:focus { top: 6px; }
.sidebar { width: var(--sidebar); background: #f4f7f6; border-right: 1px solid var(--line); position: fixed; inset: 0 auto 0 0; display: flex; flex-direction: column; padding: 30px 22px 22px; overflow-y: auto; z-index: 4; }
.brand { display: flex; gap: 12px; align-items: center; font-size: 20px; font-weight: 750; color: var(--ink); line-height: 1.3; margin-bottom: 42px; }
.brand-icon { display: grid; place-items: center; width: 40px; height: 42px; border-radius: 8px 13px 13px 8px; background: var(--teal); color: #fff; font-family: Georgia, serif; font-size: 29px; box-shadow: inset 4px 0 #458b80; }
.brand small { display: block; color: var(--muted); font-size: 9px; letter-spacing: 2px; font-weight: 600; margin-top: 6px; }
.sidebar-label { font-size: 11px; font-weight: 650; color: #84918f; letter-spacing: 1.3px; margin: 0 10px 10px; }
.nav-heading { display: flex; justify-content: space-between; margin-top: 30px; }
.nav-link, .group-link { display: flex; width: 100%; align-items: center; justify-content: space-between; text-align: left; padding: 10px 12px; margin: 3px 0; border: 0; border-radius: 7px; color: #536362; background: transparent; }
.group-link span { font: 11px ui-monospace, monospace; color: #84938e; }
.nav-link:hover, .group-link:hover { background: #e7efeb; }
.group-link[aria-pressed="true"] { background: #dfede6; color: #12594f; font-weight: 650; }
.sidebar-footer { margin-top: auto; padding-top: 48px; font-size: 12px; color: #61706c; }
.sidebar-footer p { color: #82908b; font-size: 11px; }
.status-dot { display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: #3e936c; margin-right: 6px; }
.workspace { margin-left: var(--sidebar); }
.topbar { position: sticky; top: 0; z-index: 3; height: 66px; padding: 0 48px; border-bottom: 1px solid var(--line); background: rgba(255,255,255,.97); display: flex; align-items: center; justify-content: space-between; }
.breadcrumb { color: #6e7a79; font-size: 12px; }.breadcrumb span { margin: 0 14px; color: #b1bdb8; }
.version-badge { color: var(--teal); background: #ecf5ef; font: 11px ui-monospace, monospace; padding: 5px 10px; border-radius: 5px; }
.menu-button { display: none; }
main { max-width: 1270px; margin: 0 auto; padding: 48px 48px 24px; }
.hero { padding-bottom: 37px; border-bottom: 1px solid var(--line); }
.eyebrow { color: var(--teal); font-size: 10px; font-weight: 750; letter-spacing: 2px; margin-bottom: 14px; }
h1 { font-size: clamp(27px,3vw,40px); line-height: 1.35; letter-spacing: -1.1px; margin: 0 0 14px; font-weight: 730; }
.mobile-break { display: none; }
.hero-copy { color: var(--muted); max-width: 690px; line-height: 1.9; margin: 0 0 24px; }
.hero-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 28px; font-size: 12px; color: var(--muted); }.hero-meta b { color: var(--ink); font-size: 17px; margin-right: 4px; }.live-state { border-left: 1px solid var(--line); padding-left: 28px; }
.section-heading { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 18px; }.section-heading h2 { font-size: 19px; margin: 0; letter-spacing: -.4px; }.section-heading > span { font-size: 11px; color: #87928f; }
.workflow { padding: 30px 0; }.flow-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 12px; }.flow-grid a { border: 1px solid var(--line); border-radius: 9px; padding: 16px; transition: border-color .15s, background .15s; }.flow-grid a:hover { border-color: #6da496; background: #f5faf7; }.flow-grid i { font-size: 10px; font-style: normal; color: #8b9b93; display: block; letter-spacing: 1px; margin-bottom: 12px; }.flow-grid strong { color: var(--ink); display: block; font-size: 14px; }.flow-grid span { font-size: 10px; color: var(--muted); display: block; margin-top: 5px; }.caption { font-size: 11px; color: #7c8985; margin: 14px 0 0; }
.connection { padding: 24px; border: 1px solid var(--line); background: #fbfcfb; border-radius: 10px; }.connection-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; margin-bottom: 20px; }label { font-size: 12px; font-weight: 650; display: block; }.base-input { display: flex; align-items: center; border: 1px solid #cdd9d3; border-radius: 6px; background: #fff; margin-top: 8px; padding: 0 12px; gap: 9px; }.base-input input { border: 0; width: 100%; padding: 10px 0; background: transparent; font: 12px ui-monospace, monospace; color: var(--ink); }#base-hint, .security-note p { font-size: 11px; color: var(--muted); margin-bottom: 0; }.security-note { border-left: 3px solid #cfa65a; padding-left: 16px; }.security-note strong { font-size: 12px; color: #796033; }.security-note p { line-height: 1.9; margin-top: 6px; }.guide-detail { border-top: 1px solid var(--line); padding: 12px 0; font-size: 12px; }.guide-detail:last-child { padding-bottom: 0; }summary { list-style: none; }summary::-webkit-details-marker { display: none; }.guide-detail summary { font-weight: 600; }.guide-detail summary::before { content: "+"; margin-right: 9px; color: var(--teal); }details[open].guide-detail summary::before { content: "−"; }.guide-detail p { color: #62726c; }.guide-columns { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }.error-list { padding: 0; list-style: none; }.error-list li { padding: 7px 0; color: var(--muted); }.error-list b { display: inline-block; min-width: 102px; color: #7e533d; }
.reference { padding-top: 38px; }.search-wrap { display: flex; gap: 12px; align-items: center; border: 1px solid var(--line); border-radius: 8px; padding: 0 14px; margin-bottom: 25px; background: #fafcfb; }.search-wrap > span { font-size: 25px; color: #7d9489; }.search-wrap input { flex: 1; background: transparent; border: 0; height: 48px; font-size: 12px; }.search-wrap kbd { color: #93a29a; border: 1px solid var(--line); border-radius: 4px; padding: 0 7px; font-size: 11px; }.search-wrap button { font-size: 11px; padding: 3px 8px; }.active-filter { color: var(--muted); margin: -10px 0 20px; font-size: 12px; }.active-filter button { margin-left: 10px; padding: 2px 8px; font-size: 11px; }
.endpoint-group { margin-bottom: 30px; }.group-heading { display: flex; align-items: baseline; gap: 12px; margin-bottom: 12px; }.group-heading h3 { margin: 0; font-size: 16px; }.group-heading p { margin: 0; font-size: 11px; color: var(--muted); }.endpoint { border: 1px solid var(--line); border-radius: 8px; margin: 9px 0; overflow: hidden; background: #fff; }.endpoint > summary { padding: 15px 17px; display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }.endpoint > summary:hover { background: #f8fbf9; }.endpoint > summary::after { content: "+"; margin-left: auto; color: #83938b; }.endpoint[open] > summary::after { content: "−"; }.endpoint-title { font-weight: 650; font-size: 12px; }.endpoint-path { font-size: 11px; color: #6b7c74; overflow-wrap: anywhere; }.method { display: inline-block; min-width: 48px; padding: 2px 6px; text-align: center; font: 10px/1.7 ui-monospace, monospace; border-radius: 4px; color: #246b55; background: #e7f3ed; font-weight: 700; }.method.post { color: #8b621e; background: #fbf1dc; }.method.patch { color: #6552a1; background: #efebfb; }.endpoint-body { border-top: 1px solid var(--line); padding: 22px; background: #fdfefd; }.endpoint-description { color: #50665b; margin: 0 0 16px; }.notes { color: #738178; font-size: 12px; padding-left: 18px; }.notes li { margin: 5px 0; }.endpoint-body h4 { font-size: 13px; margin: 24px 0 10px; }.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 6px; }table { width: 100%; border-collapse: collapse; text-align: left; font-size: 11px; }th { background: #f2f6f3; padding: 9px 11px; color: #6b7c72; white-space: nowrap; }td { padding: 9px 11px; border-top: 1px solid #e8eeea; vertical-align: top; color: #566a5f; }td:first-child { font-family: ui-monospace, monospace; min-width: 115px; color: #215b49; overflow-wrap: anywhere; }td code { overflow-wrap: anywhere; }.required { color: #ac684a; font-size: 10px; }.optional { color: #94a39a; font-size: 10px; }.constraints { display: block; color: #8b9790; margin-top: 3px; font-size: 10px; }.examples { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }.examples > div { min-width: 0; }.code-shell { position: relative; border: 1px solid #dce6df; border-radius: 7px; background: #f0f5f2; overflow: hidden; }pre { margin: 0; padding: 17px; overflow: auto; font: 11px/1.8 ui-monospace, SFMono-Regular, Consolas, monospace; color: #355549; tab-size: 2; }.code-shell pre { padding-top: 40px; max-height: 340px; }.copy-button { position: absolute; top: 7px; right: 8px; font-size: 10px; padding: 2px 8px; z-index: 1; }.example-tabs { display: flex; gap: 8px; align-items: center; }.example-tabs button { border: 0; background: transparent; padding: 2px 5px; color: #88958c; font-size: 11px; }.example-tabs button[aria-pressed="true"] { background: #e3eee6; color: #24624c; }.endpoint-caption { font-size: 11px; color: #87958c; }.schema-detail { margin-top: 14px; }.schema-detail > summary { font-size: 12px; color: var(--teal); padding: 6px 0; }.load-error, .empty-state { padding: 28px; border: 1px dashed #d5dfd8; border-radius: 8px; color: var(--muted); }.error-text { color: #ac4c3a; font-size: 12px; }.loading { padding: 30px 0; color: #829187; }.page-footer { display: flex; flex-wrap: wrap; gap: 10px; justify-content: space-between; margin-top: 46px; padding-top: 20px; border-top: 1px solid var(--line); font-size: 10px; color: #8b978f; }.toast { position: fixed; bottom: 24px; left: 50%; transform: translateX(-50%); color: #fff; background: #214f3e; border-radius: 7px; padding: 9px 20px; z-index: 8; font-size: 12px; }.copy-fallback { position: fixed; top: 0; left: -9999px; }
@media (min-width: 1450px) { .endpoint-path { margin-left: auto; }.endpoint > summary::after { margin-left: 4px; } }
@media (max-width: 1180px) { :root { --sidebar: 224px; } main { padding: 36px 28px 22px; }.topbar { padding: 0 28px; }.flow-grid { grid-template-columns: repeat(2,1fr); }.examples { grid-template-columns: 1fr; } }
@media (max-width: 780px) { :root { --sidebar: 250px; }.sidebar { transform: translateX(-100%); transition: transform .18s; box-shadow: 8px 0 30px #173a2514; top: 58px; }.sidebar.is-open { transform: translateX(0); }.workspace { margin-left: 0; }.topbar { height: 58px; padding: 0 18px; gap: 14px; }.menu-button { display: block; padding: 2px 8px; }.breadcrumb { flex: 1; font-size: 11px; }.breadcrumb span { margin: 0 6px; }main { padding: 30px 18px 20px; }.hero { padding-bottom: 25px; }.hero-meta { gap: 10px 17px; }.live-state { border-left: 0; padding-left: 0; width: 100%; }.connection { padding: 18px; }.connection-grid, .guide-columns { grid-template-columns: 1fr; gap: 18px; }.security-note { margin-bottom: 5px; }.endpoint > summary { gap: 8px; padding: 13px; }.endpoint-path { order: 3; width: 100%; font-size: 10px; }.endpoint-body { padding: 16px 12px; }.group-heading { display: block; }.group-heading p { margin-top: 3px; }.search-wrap kbd { display: none; }.section-heading > span { font-size: 10px; }.flow-grid a { padding: 12px; }.flow-grid span { font-size: 10px; }.hero-copy { font-size: 12px; }.page-footer { margin-top: 28px; } }
@media (max-width: 420px) { .mobile-break { display: block; }.hero-meta { font-size: 11px; }.flow-grid { gap: 8px; }.flow-grid span { line-height: 1.7; }.version-badge { padding: 4px 7px; } }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }

.topbar-actions { display: flex; align-items: center; gap: 14px; }
.site-tabs { display: flex; gap: 2px; padding: 3px; border: 1px solid var(--line); border-radius: 7px; background: #f4f7f6; }
.site-tabs a { padding: 4px 10px; border-radius: 5px; color: #687873; font-size: 11px; line-height: 1.5; white-space: nowrap; }
.site-tabs a[aria-current="page"] { color: #12594f; background: #fff; box-shadow: 0 1px 4px #173a2514; font-weight: 650; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.primary-button, .secondary-button { display: inline-flex; align-items: center; min-height: 34px; padding: 6px 13px; border-radius: 7px; font-size: 12px; font-weight: 600; }
.primary-button { color: #fff; background: var(--teal); border: 1px solid var(--teal); }
.primary-button:hover { color: #fff; background: #0f574f; }
.secondary-button { color: var(--teal); border: 1px solid #bcd2ca; background: #fff; }
.secondary-button:hover { background: #edf5f2; }
.feature-main { max-width: 1120px; }
.feature-hero { background: linear-gradient(125deg, #fbfdfc 0%, #f1f7f4 58%, #edf5f2 100%); margin: -48px -48px 0; padding: 58px 48px 38px; }
.feature-page .nav-link span { min-width: 22px; color: #91a19b; font: 10px ui-monospace, monospace; }
.feature-page #feature-nav .nav-link { justify-content: flex-start; gap: 8px; line-height: 1.45; }
.guide-notice { display: flex; gap: 14px; align-items: baseline; margin: 26px 0 8px; padding: 13px 16px; border: 1px solid #d8e5df; border-radius: 8px; background: #f5faf7; color: var(--muted); font-size: 12px; }
.guide-notice strong { flex: 0 0 auto; color: var(--teal); }
.guide-content { padding-top: 18px; font-size: 14px; }
.guide-content h2 { scroll-margin-top: 88px; margin: 52px 0 18px; padding-top: 22px; border-top: 1px solid var(--line); font-size: 23px; line-height: 1.4; letter-spacing: -.5px; }
.guide-content h2:first-child { margin-top: 22px; border-top: 0; padding-top: 0; }
.guide-content h3 { scroll-margin-top: 88px; margin: 32px 0 12px; font-size: 16px; }
.guide-content p { margin: 12px 0; color: #526660; line-height: 1.95; }
.guide-content ul, .guide-content ol { margin: 10px 0 18px; padding-left: 24px; color: #526660; }
.guide-content li { margin: 6px 0; line-height: 1.85; }
.guide-content li > ul, .guide-content li > ol { margin: 7px 0 2px; }
.guide-content code { padding: 1px 5px; border: 1px solid #dce7e1; border-radius: 4px; background: #f1f6f3; color: #245a4b; font: 11px/1.6 ui-monospace, SFMono-Regular, Consolas, monospace; overflow-wrap: anywhere; }
.guide-content .guide-code { margin: 18px 0 24px; padding: 19px; border: 1px solid #d7e3dd; border-radius: 8px; background: #f2f7f4; }
.guide-content .guide-code code { padding: 0; border: 0; background: transparent; color: #31574a; font-size: 12px; line-height: 1.8; }
.guide-content blockquote { margin: 18px 0; padding: 2px 16px; border-left: 3px solid #b7cfc6; color: var(--muted); }
.guide-table-wrap { margin: 18px 0 26px; overflow-x: auto; border: 1px solid var(--line); border-radius: 7px; }
.guide-content table { min-width: 620px; font-size: 12px; }
.guide-content th { padding: 10px 12px; }
.guide-content td { padding: 10px 12px; line-height: 1.75; }
.guide-content td:first-child { min-width: 0; color: #526660; font-family: inherit; }
.guide-content strong { color: var(--ink); }
@media (max-width: 1180px) { .feature-hero { margin: -36px -28px 0; padding: 48px 28px 34px; } }
@media (max-width: 780px) {
  .topbar .breadcrumb { display: none; }
  .topbar-actions { margin-left: auto; gap: 8px; }
  .topbar-actions .version-badge { display: none; }
  .site-tabs a { padding: 4px 8px; }
  .feature-hero { margin: -30px -18px 0; padding: 38px 18px 26px; }
  .guide-notice { display: block; line-height: 1.8; }
  .guide-notice strong { display: block; margin-bottom: 3px; }
  .guide-content h2 { margin-top: 40px; font-size: 20px; }
  .guide-content { font-size: 13px; }
  .hero-actions { margin-top: 18px; }
}
