:root {
      color-scheme: light;
      --page: #f7faf7;
      --surface: #fff;
      --ink: #102a2a;
      --muted: #607675;
      --line: #dfe8e4;
      --mint: #17a983;
      --mint-dark: #0c8a6a;
      --accent: #087e61;
      --soft: #e8f7f1;
      --code: #173430;
      --focus: var(--mint-dark);
      --mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
    }
    * { box-sizing: border-box; }
    html { scroll-behavior: smooth; }
    body {
      margin: 0;
      background: radial-gradient(ellipse 440px 420px at 0 220px, var(--soft), transparent), var(--page);
      color: var(--ink);
      font-family: Inter, "SF Pro Display", "PingFang SC", "Microsoft YaHei", system-ui, sans-serif;
      font-size: 16px;
      line-height: 1.7;
      -webkit-font-smoothing: antialiased;
    }
    a { color: var(--accent); text-underline-offset: .18em; }
    button { font: inherit; }
    :focus-visible { outline: 2px solid var(--focus); outline-offset: 4px; }
    .shell { width: min(1120px, calc(100% - 48px)); margin-inline: auto; }
    .skip-link {
      position: absolute;
      z-index: 1;
      top: 8px;
      left: 12px;
      padding: 8px 12px;
      background: var(--surface);
      border-radius: 6px;
      transform: translateY(-160%);
    }
    .skip-link:focus { transform: none; }
    .site-header { border-bottom: 1px solid var(--line); background: rgba(255, 255, 255, .9); }
    .header-inner, .page-footer {
      display: flex;
      flex-wrap: wrap;
      justify-content: space-between;
      align-items: center;
      gap: 12px 20px;
    }
    .header-inner { min-height: 74px; padding-block: 10px; }
    .brand { display: flex; align-items: center; direction: ltr; color: var(--ink); font-size: 20px; font-weight: 760; letter-spacing: -.03em; text-decoration: none; }
    .brand b { color: var(--mint); }
    .brand-mark { width: 30px; height: 30px; margin-right: 10px; border: 1.5px solid #afc5be; border-radius: 9px; display: grid; place-items: center; position: relative; transform: rotate(-8deg); }
    .brand-mark span { width: 11px; height: 5px; position: absolute; border: 1.7px solid var(--mint); border-radius: 5px; }
    .brand-mark span:first-child { transform: translate(-3px, -2px) rotate(-35deg); }
    .brand-mark span:last-child { transform: translate(3px, 2px) rotate(-35deg); }
    .brand-copy { display: flex; flex-direction: column; align-items: flex-start; line-height: 1; }
    .brand-name { display: flex; align-items: baseline; font-size: 21px; font-weight: 780; }
    .brand-copy small { margin-top: 4px; color: #78908a; font-size: 7.5px; font-weight: 800; line-height: 1; letter-spacing: .17em; white-space: nowrap; }
    .header-links, .footer-links { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; font-size: .88rem; }
    .footer-links { gap: 16px; }
    .footer-links a { text-decoration: none; }
    .footer-links a:hover { text-decoration: underline; }
    .header-links { gap: 8px; }
    .doc-action {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      gap: 8px;
      min-inline-size: 102px;
      min-block-size: 38px;
      padding: 6px 13px;
      border: 1px solid #cddbd6;
      border-radius: 999px;
      background: var(--surface);
      color: var(--ink);
      font-size: .8125rem;
      font-weight: 600;
      line-height: 1.35;
      text-decoration: none;
      white-space: nowrap;
      transition: background-color 170ms ease, border-color 170ms ease, box-shadow 170ms ease;
    }
    .doc-action:hover { border-color: var(--mint); background: var(--soft); }
    .doc-action:active { box-shadow: inset 0 0 0 1px var(--mint); }
    .doc-action--primary { border-color: var(--accent); background: var(--accent); color: var(--surface); }
    .doc-action--primary:hover { border-color: var(--accent); background: var(--accent); box-shadow: 0 4px 12px rgba(18, 146, 114, .2); }
    .doc-action--primary:active { box-shadow: inset 0 0 0 2px var(--mint-dark); }
    .action-arrow { position: relative; flex: 0 0 12px; block-size: 12px; transition: transform 170ms ease; }
    .action-arrow::before { content: ""; position: absolute; top: 5px; left: 1px; width: 9px; border-top: 1.4px solid currentColor; }
    .action-arrow::after { content: ""; position: absolute; top: 3px; left: 5px; width: 5px; height: 5px; border: solid currentColor; border-width: 1.4px 1.4px 0 0; transform: rotate(45deg); }
    .doc-action:hover .action-arrow { transform: translateX(2px); }
    .layout {
      display: grid;
      grid-template-columns: 202px minmax(0, 1fr);
      column-gap: clamp(24px, 4.4vw, 56px);
      align-items: start;
      padding-block: 44px 54px;
    }
    .toc { position: sticky; z-index: 2; top: 24px; padding: 12px; min-width: 0; border: 1px solid var(--line); border-radius: 15px; background: var(--surface); box-shadow: 0 8px 25px rgba(30, 75, 64, .045); }
    .toc strong { display: block; padding: 4px 10px 8px; color: var(--ink); font-size: .9rem; }
    .toc-list { position: relative; display: grid; gap: 3px; isolation: isolate; }
    .toc a {
      position: relative;
      display: flex;
      align-items: center;
      min-height: 42px;
      padding: 7px 10px 7px 13px;
      color: #48615f;
      text-decoration: none;
      font-size: .91rem;
      font-weight: 560;
      border-radius: 8px;
      transition: color 170ms ease, background-color 170ms ease;
    }
    .toc a:hover { background: rgba(232, 247, 241, .64); color: var(--accent); }
    .toc a[aria-current="location"] { color: var(--accent); font-weight: 700; }
    .toc-list:not([data-ready]) a[aria-current="location"] { background: var(--soft); }
    .toc a:focus-visible { outline-offset: -2px; }
    .toc-indicator { position: absolute; z-index: -1; top: 0; left: 0; width: 0; height: 0; opacity: 0; border-radius: 8px; background: var(--soft); pointer-events: none; }
    .toc-list[data-ready] .toc-indicator { opacity: 1; }
    .toc-list[data-animate] .toc-indicator { transition: transform 250ms cubic-bezier(.2, .75, .25, 1), width 250ms cubic-bezier(.2, .75, .25, 1), height 250ms cubic-bezier(.2, .75, .25, 1); }
    .toc-indicator::before { content: ""; position: absolute; inset: 9px auto 9px 0; width: 3px; border-radius: 3px; background: var(--mint); }
    main { min-width: 0; }
    .intro, .section { padding: clamp(20px, 4vw, 38px); border: 1px solid var(--line); border-radius: 18px; }
    .intro { background: linear-gradient(115deg, var(--soft), #fff 87%); }
    h1, h2, h3 { line-height: 1.3; text-wrap: balance; }
    h1 { margin: 0 0 12px; font-size: clamp(2rem, 5vw, 3.25rem); letter-spacing: -.04em; }
    h2 { margin: 0 0 12px; font-size: clamp(1.35rem, 2.7vw, 1.75rem); }
    h3 { margin: 24px 0 9px; font-size: 1.05rem; }
    p { margin: 0 0 12px; }
    .intro p { max-width: 46em; color: var(--muted); }
    .intro p:last-child, .section > :last-child { margin-bottom: 0; }
    .section { margin-top: 18px; background: var(--surface); scroll-margin-top: 34px; }
    .plans { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-top: 22px; }
    .plan { border: 1px solid var(--line); border-radius: 12px; padding: 15px 16px; background: rgba(255, 255, 255, .82); }
    .plan h2 { margin: 0 0 6px; font-size: 1rem; }
    .plan p { margin-bottom: 0; font-size: .9rem; }
    .endpoint { display: flex; flex-wrap: wrap; align-items: center; gap: 7px 10px; margin: 14px 0; }
    .method { background: var(--soft); color: var(--accent); padding: 3px 8px; border-radius: 6px; font: 700 .82rem/1.6 var(--mono); }
    code { font-family: var(--mono); font-size: .92em; overflow-wrap: anywhere; }
    :not(pre) > code { background: var(--page); padding: .1em .22em; border-radius: 4px; }
    .endpoint > code { background: transparent; }
    .codebox { min-width: 0; margin: 14px 0 16px; overflow: hidden; border-radius: 11px; background: var(--code); color: #edf8f2; }
    .codehead {
      display: flex;
      justify-content: space-between;
      align-items: center;
      gap: 12px;
      padding: 7px 12px 7px 15px;
      border-bottom: 1px solid #41615a;
      font-size: .82rem;
      color: #cee5db;
    }
    .copy {
      background: #294941;
      color: #fff;
      border: 1px solid #6a887e;
      border-radius: 6px;
      min-height: 36px;
      padding: 3px 9px;
      cursor: pointer;
    }
    .copy:hover { background: #3c5e54; }
    .copy:focus-visible { outline-color: white; outline-offset: 2px; }
    pre { margin: 0; padding: 15px; overflow-x: auto; tab-size: 2; font: .86rem/1.65 var(--mono); }
    pre code { font: inherit; overflow-wrap: normal; }
    table { width: 100%; border-collapse: collapse; table-layout: fixed; font-size: .93rem; }
    th, td { padding: 9px 8px; text-align: start; vertical-align: top; border-bottom: 1px solid var(--line); overflow-wrap: anywhere; }
    thead { background: var(--page); }
    col.key { width: 27%; }
    col.type { width: 20%; }
    col.status { width: 19%; }
    .note { padding: 11px 14px; margin: 14px 0; border-left: 3px solid var(--mint-dark); background: var(--soft); font-size: .93rem; }
    ol, ul { margin: 6px 0 13px; padding-inline-start: 1.35em; }
    li + li { margin-top: 5px; }
    .page-footer { border-top: 1px solid var(--line); padding-block: 15px 28px; color: var(--muted); font-size: .88rem; }
    .sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
    @media (max-width: 740px) {
      .shell { width: min(1120px, calc(100% - 28px)); }
      .layout { grid-template-columns: minmax(0, 1fr); padding-top: 18px; row-gap: 12px; }
      .toc { top: 8px; padding: 5px; }
      .toc strong { display: none; }
      .toc-list { display: flex; gap: 3px; overflow-x: auto; scrollbar-width: thin; overscroll-behavior-x: contain; }
      .toc a { flex: 0 0 auto; padding-inline: 12px; white-space: nowrap; }
      .toc-indicator::before { inset: auto 12px 2px; width: auto; height: 2px; }
      .section { scroll-margin-top: 86px; }
    }
    @media (max-width: 720px) {
      .brand-mark { flex: 0 0 30px; }
      .brand-name { font-size: 19px; }
      .brand-copy small { font-size: 7px; letter-spacing: .13em; }
    }
    @media (max-width: 440px) {
      .plans { grid-template-columns: minmax(0, 1fr); }
      .header-inner { gap: 8px 10px; }
      .brand-mark { width: 28px; height: 28px; flex-basis: 28px; margin-right: 8px; }
      .brand-name { font-size: 18px; }
      .brand-copy small { font-size: 6.5px; letter-spacing: .1em; }
      .header-links { gap: 6px; }
      .doc-action { min-inline-size: 0; padding-inline: 10px; gap: 6px; }
      .section, .intro { padding: 17px 14px; }
      th, td { padding-inline: 5px; }
      col.key { width: 28%; }
      col.type { width: 19%; }
    }
    @media (max-width: 350px) {
      .brand-copy small { display: none; }
    }
    @media (pointer: coarse) {
      .doc-action { min-block-size: 44px; }
    }
    @media (prefers-reduced-motion: reduce) {
      html { scroll-behavior: auto; }
      .doc-action, .action-arrow, .toc a, .toc-list[data-animate] .toc-indicator { transition: none; }
    }
    @media print {
      .toc, .header-links, .copy { display: none; }
      .layout { display: block; padding-block: 0; }
      .section, .intro { margin-top: 10px; padding: 15px; }
      pre { white-space: pre-wrap; }
      .codebox { color: black; background: white; border: 1px solid #ddd; }
      .codehead { color: black; }
    }
    pre, .endpoint code { direction: ltr; text-align: left; }
    code { unicode-bidi: isolate; }
    [dir="rtl"] .toc a { padding-inline: 13px 10px; }
    [dir="rtl"] .toc-indicator::before { inset: 9px 0 9px auto; }
    .doc-language { display: flex; align-items: center; gap: 8px; }
    .doc-language select { max-width: 11em; padding: 6px; border: 1px solid var(--line); border-radius: 8px; color: var(--ink); background: var(--surface); font: inherit; }
    .reading-list { display: grid; gap: 9px; }
    .report-status { text-align: start; }
    @media (max-width: 740px) {
      .toc-list { direction: ltr; }
      [dir="rtl"] .toc a { padding-inline: 12px; }
      [dir="rtl"] .toc-indicator::before { inset: auto 12px 2px; }
    }


    .codehead { min-inline-size: 0; }
    .codehead > span { min-inline-size: 0; overflow-wrap: anywhere; }
    .codehead .copy { flex: 0 0 auto; max-inline-size: 65%; overflow-wrap: anywhere; }
    .section table th, .section table td { overflow-wrap: anywhere; }
    @media (max-width: 440px) {
      .section table { font-size: .85rem; }
      .codehead { padding-inline: 10px; gap: 7px; }
      .codehead .copy { min-height: 38px; }
    }
    @media (pointer: coarse) {
      .codehead .copy { min-height: 44px; }
    }
