@font-face {
  font-family: "Alibaba PuHuiTi 3.0";
  src: url("/AlibabaPuHuiTi-3-65-Medium.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

:root { color-scheme: light; }
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 86px; }
body { margin: 0; color: #172033; background: #fff; font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif; letter-spacing: 0; }
a { color: inherit; }
.docs-header { position: sticky; top: 0; z-index: 20; height: 68px; border-bottom: 1px solid #e4eaf0; background: rgba(255,255,255,.97); }
.docs-header-inner { width: min(1440px, 100%); height: 100%; margin: auto; padding: 0 28px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.docs-brand { display: inline-flex; align-items: center; gap: 10px; min-width: 0; text-decoration: none; }
.docs-brand img { width: 34px; height: 34px; object-fit: contain; }
.docs-brand-name { font-family: "Alibaba PuHuiTi 3.0", sans-serif; font-size: 19px; font-weight: 500; color: #101a2d; white-space: nowrap; }
.docs-brand-divider { height: 23px; width: 1px; margin: 0 2px; background: #dce3eb; }
.docs-brand-section { color: #536176; font-size: 15px; font-weight: 650; white-space: nowrap; }
.docs-workbench { color: #3467c3; font-size: 13px; font-weight: 650; text-decoration: none; white-space: nowrap; }
.docs-workbench:hover, .docs-sidebar a:hover, .docs-toc a:hover, .docs-next a:hover { color: #1557d1; }
.docs-shell { width: min(1440px, 100%); min-height: calc(100dvh - 68px); margin: 0 auto; display: grid; grid-template-columns: 250px minmax(0, 1fr) 180px; }
.docs-sidebar { position: sticky; top: 68px; height: calc(100dvh - 68px); overflow-y: auto; padding: 34px 18px 40px 28px; border-right: 1px solid #e7ebf0; }
.docs-sidebar-heading { display: flex; align-items: center; gap: 10px; min-height: 28px; margin: 0 11px 14px; color: #202b3c; font-size: 17px; line-height: 1.4; font-weight: 750; }
.docs-sidebar-heading img, .docs-sidebar-heading svg { flex: none; width: 22px; height: 22px; object-fit: contain; }
.docs-sidebar nav { display: grid; gap: 3px; }
.docs-sidebar a { min-height: 39px; padding: 9px 11px; border-radius: 6px; color: #536176; font-size: 14px; line-height: 1.5; text-decoration: none; }
.docs-sidebar a.active { color: #1557d1; background: #edf4ff; font-weight: 700; }
.docs-sidebar-heading--references { margin-top: 36px; }
.docs-article { min-width: 0; width: 100%; max-width: 980px; padding: 42px clamp(25px, 4vw, 62px) 84px; }
.docs-breadcrumb { margin: 0 0 16px; color: #758297; font-size: 12px; }
.docs-breadcrumb a { color: #526b91; text-decoration: none; }
.docs-article h1 { margin: 0; color: #121a2a; font-size: 32px; line-height: 1.35; font-weight: 750; }
.docs-lead { max-width: 760px; margin: 13px 0 28px; color: #56657b; font-size: 15px; line-height: 1.8; }
.docs-section { margin-top: 38px; scroll-margin-top: 90px; }
.docs-section h2 { margin: 0 0 14px; color: #1a2638; font-size: 21px; line-height: 1.4; font-weight: 730; }
.docs-section h3 { margin: 23px 0 7px; color: #2c3b51; font-size: 15px; line-height: 1.5; font-weight: 700; }
.docs-section p { margin: 9px 0; color: #4d5c70; font-size: 14px; line-height: 1.85; }
.docs-figure { min-width: 0; max-width: 100%; margin: 20px 0 30px; }
.docs-figure a { display: flex; align-items: center; justify-content: center; width: 100%; min-width: 0; max-width: 100%; padding: 8px; overflow: hidden; border: 1px solid #e1e7ef; border-radius: 6px; background: #f8fafc; cursor: zoom-in; }
.docs-figure a:hover { border-color: #7ca9ed; }
.docs-figure img { display: block; flex: 0 1 auto; min-width: 0; width: auto; height: auto; max-width: min(100%, var(--figure-max-width)); max-height: min(68dvh, 700px); object-fit: contain; }
.docs-figure figcaption { margin-top: 8px; color: #718097; font-size: 12px; line-height: 1.6; text-align: center; }
.docs-note { padding: 14px 17px; border-left: 3px solid #3683d8; background: #f1f7ff; color: #35506e; font-size: 14px; line-height: 1.8; }
.docs-table-wrap { overflow-x: auto; }
.docs-table { width: 100%; border-collapse: collapse; table-layout: fixed; font-size: 14px; line-height: 1.75; }
.docs-table th, .docs-table td { padding: 13px 14px; border-bottom: 1px solid #e5eaf0; vertical-align: top; text-align: left; overflow-wrap: anywhere; }
.docs-table thead th { border-top: 1px solid #dce4ed; color: #2a3546; background: #f7f9fc; font-size: 13px; font-weight: 700; }
.docs-table tbody th { color: #27364c; font-weight: 680; }
.docs-table tbody td { color: #516075; }
.docs-table tbody tr:hover { background: #fafcff; }
.docs-table--metrics th:first-child { width: 20%; }
.docs-table--metrics th:nth-child(2) { width: 42%; }
.docs-table--glossary th:first-child { width: 26%; }
.docs-table--scope th:first-child { width: 25%; }
.docs-toc { position: sticky; top: 68px; height: calc(100dvh - 68px); padding: 42px 14px 30px 17px; border-left: 1px solid #e7ebf0; }
.docs-toc strong { display: block; margin-bottom: 17px; color: #536176; font-size: 12px; }
.docs-toc a { display: block; padding: 7px 0; color: #66748a; font-size: 12px; line-height: 1.5; text-decoration: none; }
.docs-next { display: flex; align-items: center; justify-content: space-between; gap: 15px; margin-top: 50px; padding-top: 18px; border-top: 1px solid #e5eaf0; }
.docs-next a { color: #3568bd; font-size: 14px; font-weight: 650; text-decoration: none; }
.docs-home-links { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin-top: 26px; }
.docs-home-links a { display: block; min-height: 135px; padding: 21px; border: 1px solid #dfe7f0; border-radius: 6px; text-decoration: none; }
.docs-home-links a:hover { border-color: #7ca9ed; background: #f8fbff; }
.docs-home-links strong { display: block; margin-bottom: 9px; color: #1c2d45; font-size: 17px; }
.docs-home-links span { display: block; color: #647188; font-size: 13px; line-height: 1.7; }
.docs-home-links--manual { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.docs-home-links--manual a { min-height: 112px; }
.docs-home-links--references { margin-top: 16px; }
.docs-steps { padding-left: 21px; color: #4d5c70; font-size: 14px; line-height: 1.9; }
.docs-steps li { padding: 3px 0; }

@media (max-width: 1100px) {
  .docs-shell { grid-template-columns: 220px minmax(0, 1fr); }
  .docs-toc { display: none; }
}
@media (max-width: 720px) {
  .docs-header { height: 62px; }
  .docs-header-inner { padding: 0 16px; }
  .docs-brand img { width: 30px; height: 30px; }
  .docs-brand-name { font-size: 16px; }
  .docs-brand-section { font-size: 13px; }
  .docs-workbench { font-size: 12px; }
  .docs-shell { display: block; }
  .docs-sidebar { position: sticky; top: 62px; z-index: 10; width: 100%; height: auto; padding: 0 13px; border-right: 0; border-bottom: 1px solid #e7ebf0; background: #fff; }
  .docs-sidebar-heading { min-height: 27px; gap: 6px; margin: 8px 6px 1px; font-size: 13px; }
  .docs-sidebar-heading img, .docs-sidebar-heading svg { width: 18px; height: 18px; }
  .docs-sidebar-heading--references { width: 100%; margin: 4px 6px 0; padding: 5px 0 0; border: 0; font-size: 13px; }
  .docs-sidebar { max-height: 156px; overflow-y: auto; }
  .docs-sidebar nav { display: flex; gap: 1px; overflow-x: auto; }
  .docs-sidebar a { flex: none; display: flex; align-items: center; min-height: 45px; padding: 8px 6px; border-radius: 0; font-size: 12px; }
  .docs-sidebar a.active { border-bottom: 2px solid #1557d1; background: transparent; }
  .docs-article { padding: 28px 17px 55px; }
  .docs-article h1 { font-size: 26px; }
  .docs-lead { font-size: 14px; }
  .docs-home-links { grid-template-columns: 1fr; }
  .docs-figure { margin: 17px 0 25px; }
  .docs-figure a { padding: 4px; }
  .docs-table thead { display: none; }
  .docs-table, .docs-table tbody, .docs-table tr, .docs-table th, .docs-table td { display: block; width: 100%; }
  .docs-table tr { padding: 12px 0; border-top: 1px solid #e5eaf0; }
  .docs-table th, .docs-table td { padding: 4px 0; border: 0; }
  .docs-table td::before { display: block; color: #778396; font-size: 11px; font-weight: 700; content: attr(data-label); }
  .docs-section { scroll-margin-top: 185px; }
}

@media (max-width: 720px) {
  html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
  .docs-header-inner { gap: 10px; padding-inline: 12px; }
  .docs-brand { gap: 7px; }
  .docs-brand-divider { margin-inline: 0; }
  .docs-brand-section { font-size: 12px; }
  .docs-workbench { min-height: 44px; display: inline-flex; align-items: center; }
  .docs-sidebar a { font-size: 13px; padding-inline: 10px; }
  .docs-section p, .docs-steps { font-size: 15px; line-height: 1.85; }
  .docs-article { overflow-wrap: anywhere; }
  .docs-next { flex-wrap: wrap; }
}
@media (max-width: 359px) {
  .docs-brand-divider, .docs-brand-section { display: none; }
}
