:root {
  color-scheme: light;
  --bg: #f5f6f2;
  --panel: #fff;
  --line: #dde3da;
  --text: #243c33;
  --muted: #58685c;
  --accent: #286348;
  --accent-deep: #204f3c;
}
.api-docs { margin: 0; background: var(--bg); color: var(--text); font: 15px/1.8 -apple-system, BlinkMacSystemFont, "Segoe UI", "Microsoft YaHei", "PingFang SC", sans-serif; -webkit-font-smoothing: antialiased; }
.api-docs *, .api-docs *::before, .api-docs *::after { box-sizing: border-box; }
.api-docs [hidden] { display: none !important; }
.api-docs a { color: var(--accent); text-underline-offset: 4px; }
.api-docs a:hover { color: #173e2c; }
.api-docs button, .api-docs input { font: inherit; }
.api-docs button { cursor: pointer; }
.api-docs button:disabled { opacity: .55; cursor: wait; }
.api-docs :focus-visible { outline: 3px solid #5a9c76; outline-offset: 4px; }
.api-docs h1, .api-docs h2, .api-docs h3, .api-docs p { margin-top: 0; }
.api-docs h1, .api-docs h2, .api-docs h3 { line-height: 1.45; }
.api-docs h2 { font-size: clamp(21px, 2.4vw, 27px); letter-spacing: -.03em; margin-bottom: 18px; }
.api-docs h3 { font-size: 15px; margin-bottom: 10px; }
.api-docs p { margin-bottom: 18px; }
.api-docs code { font-family: "Cascadia Code", Consolas, "SFMono-Regular", monospace; font-size: .88em; overflow-wrap: anywhere; }
.api-docs p code, .api-docs td code, .api-docs .notice code { padding: 2px 5px; border-radius: 4px; background: #eaf0e7; }
.api-docs pre { margin: 18px 0; padding: 22px 24px; overflow: auto; background: #f0f3ed; border: 1px solid var(--line); border-radius: 10px; line-height: 1.85; tab-size: 2; }
.api-docs pre code { padding: 0; background: transparent; overflow-wrap: normal; font-size: 12px; }
.api-docs .docs-shell { width: min(1192px, calc(100% - 64px)); margin: 0 auto; }
.api-docs .skip-link { position: absolute; z-index: 2; top: -80px; padding: 12px; background: white; }
.api-docs .skip-link:focus { top: 12px; }
.api-docs .docs-header { display: flex; justify-content: space-between; align-items: center; gap: 24px; min-height: 110px; border-bottom: 1px solid var(--line); }
.api-docs .brand { display: flex; flex-direction: column; text-decoration: none; color: var(--text); line-height: 1.4; }
.api-docs .brand > span { font-size: 9px; letter-spacing: .16em; color: var(--muted); }
.api-docs .brand strong { font-size: 23px; letter-spacing: -.04em; }
.api-docs .brand i { color: #7a9b6a; font-style: normal; }
.api-docs .docs-header nav { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.api-docs .docs-header nav a { padding: 8px 12px; border-radius: 7px; text-decoration: none; font-size: 13px; }
.api-docs .docs-header nav a:hover, .api-docs .docs-header nav .current { background: #e5eee6; }
.api-docs .docs-hero { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(290px, 1fr); align-items: center; gap: 65px; padding: 64px 0 60px; }
.api-docs .eyebrow, .api-docs .small-label, .api-docs .section-number { color: var(--muted); font-size: 10px; font-weight: 600; letter-spacing: .1em; }
.api-docs .eyebrow { margin-bottom: 24px; }
.api-docs .eyebrow span { color: #a7b5a7; margin: 0 10px; }
.api-docs h1 { font-size: clamp(29px, 3.8vw, 44px); line-height: 1.5; letter-spacing: -.06em; font-weight: 700; margin-bottom: 20px; }
.api-docs .hero-description { max-width: 37em; font-size: 14px; color: var(--muted); line-height: 1.95; }
.api-docs .hero-links { display: flex; align-items: center; flex-wrap: wrap; gap: 24px; margin-top: 28px; font-size: 13px; }
.api-docs .button { display: inline-flex; gap: 24px; align-items: center; justify-content: center; padding: 11px 20px; min-height: 45px; background: var(--accent); color: #fff; border: 1px solid var(--accent); border-radius: 8px; text-decoration: none; font-size: 13px; font-weight: 600; }
.api-docs .button:hover { color: #fff; background: var(--accent-deep); }
.api-docs .connection-card { padding: 28px; border-radius: 14px; background: #edf2e8; border: 1px solid #d7e2d1; }
.api-docs .connection-card .small-label { margin-bottom: 8px; }
.api-docs #apiBase { display: block; font-size: 13px; padding-bottom: 24px; line-height: 1.8; }
.api-docs .connection-card dl { margin: 0; padding-top: 13px; border-top: 1px solid #d7e2d1; }
.api-docs .connection-card dl > div { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 6px 0; font-size: 12px; }
.api-docs .connection-card dt { color: var(--muted); flex-shrink: 0; }
.api-docs .connection-card dd { margin: 0; text-align: right; }
.api-docs .connection-status { color: var(--muted); font-size: 11px; padding-top: 18px; margin: 16px 0 0; border-top: 1px solid #d7e2d1; }
.api-docs .docs-layout { display: grid; grid-template-columns: 185px minmax(0, 1fr); gap: 55px; border-top: 1px solid var(--line); }
.api-docs .docs-sidebar { position: sticky; top: 24px; align-self: start; padding-top: 35px; }
.api-docs .docs-sidebar nav { display: grid; gap: 3px; }
.api-docs .docs-sidebar nav a { text-decoration: none; padding: 7px 0; color: var(--muted); font-size: 13px; }
.api-docs .docs-sidebar nav a:hover { color: var(--accent); }
.api-docs .docs-sidebar > p:last-child { font-size: 11px; line-height: 1.9; color: var(--muted); margin-top: 26px; }
.api-docs main { min-width: 0; }
.api-docs .docs-section { padding: 37px 0 42px; border-bottom: 1px solid var(--line); scroll-margin-top: 20px; }
.api-docs .docs-section > p { color: var(--muted); font-size: 13px; line-height: 1.95; }
.api-docs .docs-section > .section-number { color: var(--muted); font-size: 10px; margin-bottom: 13px; }
.api-docs .docs-section > h3 { margin-top: 28px; }
.api-docs .scope-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin: 25px 0; }
.api-docs .scope-grid > div { padding: 20px; border: 1px solid var(--line); border-radius: 10px; background: var(--panel); }
.api-docs .scope-grid p { color: var(--muted); font-size: 12px; margin: 0; }
.api-docs .notice { margin: 22px 0 0; padding: 16px 20px; border-left: 3px solid #91ac83; background: #edf2e8; color: #50654f; font-size: 12px; border-radius: 0 8px 8px 0; }
.api-docs .notice strong { color: var(--accent-deep); }
.api-docs .code-card { border: 1px solid var(--line); border-radius: 10px; overflow: hidden; margin: 20px 0; background: #f0f3ed; }
.api-docs .code-heading { display: flex; justify-content: space-between; align-items: center; gap: 15px; padding: 12px 20px; border-bottom: 1px solid var(--line); }
.api-docs .code-heading h3 { font-size: 12px; margin: 0; font-weight: 600; }
.api-docs .copy-button, .api-docs .text-button { padding: 4px 8px; border: 0; color: var(--accent); font-size: 12px; background: transparent; border-radius: 4px; }
.api-docs .copy-button:hover, .api-docs .text-button:hover { background: #e1eadc; }
.api-docs .code-card pre { margin: 0; border: 0; border-radius: 0; }
.api-docs .example-details { border-top: 1px solid var(--line); padding: 15px 0; }
.api-docs .example-details summary { cursor: pointer; color: var(--accent-deep); font-size: 13px; }
.api-docs .example-details > p { color: var(--muted); font-size: 12px; }
.api-docs .table-scroll { overflow: auto; margin: 20px 0; border: 1px solid var(--line); border-radius: 10px; background: white; }
.api-docs table { width: 100%; text-align: left; border-collapse: collapse; font-size: 12px; line-height: 1.8; }
.api-docs th { color: var(--muted); background: #edf2e8; font-weight: 600; }
.api-docs th, .api-docs td { padding: 13px 16px; border-bottom: 1px solid var(--line); vertical-align: top; }
.api-docs tr:last-child td { border-bottom: 0; }
.api-docs td:first-child { min-width: 125px; }
.api-docs .method { display: inline-block; font-size: 9px; font-weight: 700; color: var(--accent); min-width: 30px; letter-spacing: .04em; }
.api-docs .error-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 24px; }
.api-docs .error-grid > div { border: 1px solid var(--line); padding: 18px; border-radius: 9px; background: white; }
.api-docs .error-grid strong { font: 600 18px/1.5 "Cascadia Code", Consolas, monospace; }
.api-docs .error-grid p { margin: 8px 0 0; font-size: 12px; color: var(--muted); }
.api-docs .query-mode { display: flex; flex-wrap: wrap; gap: 4px 20px; margin: 24px 0 0; padding: 10px 14px; min-width: 0; border: 1px solid var(--line); border-radius: 9px; }
.api-docs .query-mode legend { padding: 0 6px; font-size: 12px; font-weight: 600; }
.api-docs .query-mode label { display: inline-flex; align-items: center; gap: 7px; min-height: 44px; font-size: 13px; cursor: pointer; }
.api-docs .query-mode input { accent-color: var(--accent); width: 17px; height: 17px; margin: 0; }
.api-docs .try-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 27px; }
.api-docs .try-fields label { display: flex; flex-direction: column; gap: 7px; min-width: 0; font-size: 12px; }
.api-docs .try-fields small { color: var(--muted); font-size: 10px; margin-left: 6px; }
.api-docs .field-hint { color: var(--muted); font-size: 12px; }
.api-docs .field-wide { grid-column: 1 / -1; }
.api-docs .try-fields input { width: 100%; min-height: 44px; padding: 10px 12px; border: 1px solid #cfd9cb; border-radius: 7px; color: var(--text); background: #fff; line-height: 1.4; }
.api-docs .try-fields input:disabled { background: #edf0e9; color: var(--muted); }
.api-docs .try-fields input::placeholder { color: var(--muted); font-size: 12px; opacity: 1; }
.api-docs .try-actions { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; margin-top: 23px; }
.api-docs .try-actions > .small-label { margin-left: auto; letter-spacing: .04em; font-size: 9px; }
.api-docs .inline-status { font-size: 12px; min-height: 1.8em; color: var(--muted); margin: 14px 0 0; overflow-wrap: anywhere; }
.api-docs .inline-status[data-error="true"] { color: #98532e; }
.api-docs .try-result { min-height: 100px; max-height: 450px; }
.api-docs .docs-footer { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; color: var(--muted); font-size: 11px; padding: 30px 0; }
@media (max-width: 1000px) {
  .api-docs .docs-shell { width: calc(100% - 40px); }
  .api-docs .docs-hero { gap: 32px; }
  .api-docs .docs-layout { grid-template-columns: 150px minmax(0, 1fr); gap: 28px; }
  .api-docs .error-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 720px) {
  .api-docs .docs-shell { width: calc(100% - 32px); }
  .api-docs .docs-header { align-items: flex-start; flex-direction: column; gap: 14px; padding: 22px 0 18px; }
  .api-docs .docs-header nav { gap: 2px; }
  .api-docs .docs-header nav a { font-size: 12px; padding: 7px 10px; }
  .api-docs .docs-header nav a:first-child { padding-left: 0; }
  .api-docs .docs-hero { grid-template-columns: 1fr; gap: 30px; padding: 34px 0; }
  .api-docs .eyebrow { margin-bottom: 18px; }
  .api-docs .connection-card { padding: 23px; }
  .api-docs .docs-layout { display: block; }
  .api-docs .docs-sidebar { position: static; padding-top: 22px; padding-bottom: 20px; border-bottom: 1px solid var(--line); }
  .api-docs .docs-sidebar nav { display: flex; flex-wrap: wrap; gap: 4px 18px; }
  .api-docs .docs-sidebar nav a { font-size: 12px; padding: 3px 0; }
  .api-docs .docs-sidebar > p:last-child { display: none; }
  .api-docs .docs-section { padding: 30px 0; }
  .api-docs .scope-grid { grid-template-columns: 1fr; gap: 10px; }
  .api-docs pre { padding: 18px 16px; }
  .api-docs th, .api-docs td { padding: 11px 12px; }
  .api-docs .error-grid { gap: 10px; }
  .api-docs .error-grid > div { padding: 15px; }
  .api-docs .try-fields { grid-template-columns: 1fr; }
  .api-docs .try-fields input { font-size: 16px; }
  .api-docs .try-actions > .small-label { width: 100%; margin: 0; }
  .api-docs .docs-footer { flex-direction: column; gap: 7px; }
}
@media (prefers-reduced-motion: no-preference) {
  html:has(.api-docs) { scroll-behavior: smooth; }
}
