:root {
  --ink: #202322;
  --muted: #6f7673;
  --line: #e7eae8;
  --surface: #f6f8f7;
  --accent: #24755b;
  --header: 72px;
  --sidebar: 242px;
  font-family:
    Inter,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    "PingFang TC",
    "Noto Sans TC",
    sans-serif;
  color: var(--ink);
  background: #fff;
  font-synthesis: none;
  -webkit-font-smoothing: antialiased;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  font-size: 15px;
  line-height: 1.85;
}
a {
  color: inherit;
  text-decoration: none;
}
button,
input {
  font: inherit;
}
button,
a,
input {
  touch-action: manipulation;
}
button {
  cursor: pointer;
}
button:disabled {
  cursor: default;
}
a:focus-visible,
button:focus-visible,
input:focus-visible,
[tabindex]:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 4px;
}
button {
  color: inherit;
}
svg {
  flex-shrink: 0;
  vertical-align: middle;
}
button svg {
  pointer-events: none;
}
[hidden] {
  display: none !important;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.skip-link {
  position: fixed;
  top: -100px;
  left: 20px;
  z-index: 20;
  padding: 10px 18px;
  background: var(--ink);
  color: white;
}
.skip-link:focus {
  top: 10px;
}
.header {
  height: var(--header);
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
  padding: 0 30px;
  gap: 48px;
  position: sticky;
  top: 0;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(14px);
  z-index: 10;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  white-space: nowrap;
  font-size: 17px;
  letter-spacing: -0.5px;
  font-weight: 500;
}
.brand-name {
  font-size: 29px;
  font-weight: 700;
  letter-spacing: -1.5px;
  line-height: 1;
}
.brand-divider {
  font-size: 24px;
  font-weight: 300;
  color: #b9bfbb;
}
.top-nav {
  display: flex;
  align-items: center;
  gap: 30px;
  align-self: stretch;
  margin-left: 24px;
  font-size: 14px;
}
.top-nav a {
  display: flex;
  align-items: center;
  position: relative;
  color: var(--muted);
}
.top-nav a.active {
  color: var(--ink);
}
.top-nav a.active:after {
  content: "";
  position: absolute;
  bottom: -1px;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--ink);
}
.header-actions {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 12px;
}
.search-trigger {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  display: flex;
  gap: 10px;
  align-items: center;
  color: var(--muted);
  font-size: 13px;
  height: 36px;
  padding: 0 10px;
  min-width: 209px;
}
.search-trigger kbd {
  margin-left: auto;
  font-family: inherit;
  font-size: 11px;
  border: 1px solid #dce1de;
  border-radius: 4px;
  background: white;
  line-height: 20px;
  padding: 0 5px;
  color: #7f8782;
}
.icon-button {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border: 0;
  background: transparent;
  border-radius: 8px;
}
.icon-button:hover {
  background: var(--surface);
}
.mobile-menu {
  display: none;
}
.site-layout {
  max-width: 1680px;
  margin: 0 auto;
}
.sidebar {
  position: fixed;
  top: var(--header);
  bottom: 0;
  width: var(--sidebar);
  padding: 33px 20px 24px 24px;
  overflow: auto;
  border-right: 1px solid var(--line);
  display: flex;
  flex-direction: column;
}
.sidebar-label {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 10px;
  letter-spacing: 1.4px;
  color: #929994;
  font-weight: 600;
  margin: 0 0 22px 10px;
  white-space: nowrap;
}
.beta-badge {
  padding: 1px 5px;
  border: 1px solid #dce8df;
  border-radius: 4px;
  background: #f0f6f2;
  color: #547661;
  font-size: 9px;
  font-weight: 500;
  line-height: 1.5;
  letter-spacing: 0;
}
.nav-group {
  margin-bottom: 24px;
}
.nav-group h2 {
  font-size: 12px;
  color: #343b37;
  font-weight: 600;
  letter-spacing: 0.2px;
  margin: 0 10px 9px;
}
.nav-group a {
  display: block;
  padding: 6px 12px;
  font-size: 13px;
  line-height: 1.75;
  color: #656c68;
  border-radius: 6px;
  margin: 2px 0;
}
.nav-group a:hover {
  background: var(--surface);
  color: var(--ink);
}
.nav-group a[aria-current="page"] {
  background: #edf5f0;
  color: #216346;
  font-weight: 600;
}
.sidebar-download {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: var(--muted);
  border-top: 1px solid var(--line);
  padding: 18px 8px 0;
  margin-top: auto;
}
.sidebar-download span {
  font:
    10px ui-monospace,
    monospace;
  margin-left: auto;
  padding: 2px 5px;
  background: var(--surface);
  border-radius: 4px;
}
.reading-layout {
  margin-left: var(--sidebar);
  display: grid;
  grid-template-columns: minmax(0, 800px) 170px;
  justify-content: center;
  gap: 56px;
  padding: 43px 40px 0 56px;
}
main {
  min-width: 0;
  outline: none !important;
}
.eyebrow {
  color: var(--accent);
  font-size: 12px;
  font-weight: 500;
  margin-bottom: 8px;
}
h1 {
  font-size: 34px;
  line-height: 1.4;
  letter-spacing: -0.85px;
  font-weight: 650;
  margin: 0 0 11px;
}
.subtitle {
  font-size: 17px;
  line-height: 1.75;
  color: var(--muted);
  margin: 0 0 30px;
}
p {
  margin: 14px 0 18px;
  color: #535b56;
}
.lead {
  font-size: 15px;
  max-width: 720px;
  margin-top: 0;
}
.hero-actions {
  display: flex;
  align-items: center;
  gap: 25px;
  margin: 25px 0;
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
  padding: 10px 19px;
  border-radius: 7px;
  font-size: 13px;
  font-weight: 500;
  line-height: 1.5;
}
.primary {
  background: var(--ink);
  color: white;
}
.primary:hover {
  background: #3b443f;
}
.text-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 13px;
  color: #4e5752;
}
.text-link:hover {
  color: var(--accent);
}
.contract-notice {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 11px;
  color: #6c786f;
  line-height: 1.7;
  margin: 20px 0 34px;
}
.status-dot {
  height: 5px;
  width: 5px;
  border-radius: 50%;
  background: #9da99f;
  margin-top: 7px;
  flex-shrink: 0;
}
section {
  margin-top: 38px;
}
h2 {
  font-size: 20px;
  line-height: 1.5;
  letter-spacing: -0.3px;
  font-weight: 620;
  margin: 0 0 15px;
  scroll-margin-top: calc(var(--header) + 28px);
}
.heading-anchor {
  font-size: 16px;
  color: #a5b0a8;
  opacity: 0;
  margin-left: 8px;
}
.heading-anchor:focus-visible,
h2:hover .heading-anchor {
  opacity: 1;
}
main p a,
main li a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 4px;
  text-decoration-color: #c2d8cb;
}
main p a:hover {
  color: #154b35;
}
.cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}
.doc-card {
  display: block;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 19px 17px 16px;
  transition:
    border-color 0.15s,
    background 0.15s;
}
.doc-card:hover {
  border-color: #acc1b4;
  background: #fafcfb;
}
.card-icon {
  display: flex;
  align-items: center;
  color: #719682;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1px;
  margin-bottom: 19px;
}
.doc-card strong {
  font-size: 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 5px;
  font-weight: 600;
}
.doc-card strong svg {
  width: 15px;
  height: 15px;
  color: #98a19b;
}
.doc-card p {
  font-size: 12px;
  line-height: 1.8;
  margin: 10px 0 0;
  color: var(--muted);
}
.flow {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border: 1px solid var(--line);
  background: #fbfcfb;
  border-radius: 10px;
  padding: 20px 22px;
  gap: 12px;
}
.flow > div {
  display: flex;
  flex-direction: column;
}
.flow > svg {
  color: #b1b9b4;
  width: 19px;
}
.flow span {
  font-size: 10px;
  color: #7d8b81;
}
.flow strong {
  font-size: 14px;
  font-weight: 550;
  margin: 2px 0;
}
.flow small {
  font-size: 11px;
  color: #6d7971;
}
.table-scroll {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 8px;
  margin: 17px 0 22px;
  max-width: 100%;
}
table {
  border-collapse: collapse;
  width: 100%;
  font-size: 13px;
  line-height: 1.85;
  text-align: left;
}
th {
  background: #f7f9f7;
  color: #536258;
  font-size: 11px;
  font-weight: 600;
  white-space: nowrap;
}
th,
td {
  padding: 12px 16px;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}
td {
  color: #5d6660;
}
td:first-child {
  color: #2e3932;
}
tr:last-child td {
  border-bottom: 0;
}
td:first-child {
  min-width: 110px;
}
.toc {
  position: sticky;
  top: calc(var(--header) + 44px);
  align-self: start;
  font-size: 12px;
  padding-top: 4px;
}
.toc-label {
  font-size: 10px;
  letter-spacing: 0.8px;
  color: #758177;
  display: block;
  margin: 0 0 14px 15px;
}
.toc nav a {
  display: block;
  border-left: 1px solid var(--line);
  padding: 6px 0 6px 14px;
  color: #68746b;
  line-height: 1.75;
}
.toc nav a:hover {
  color: var(--ink);
}
.toc nav a[aria-current="location"] {
  color: var(--accent);
  border-color: var(--accent);
}
.toc-download {
  display: flex;
  align-items: center;
  gap: 7px;
  margin: 23px 0 0 14px;
  font-size: 11px;
  color: #727e75;
}
.toc-download svg {
  width: 14px;
  height: 14px;
}
code {
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  font-size: 0.85em;
  background: #f2f5f3;
  border: 1px solid #e8ece9;
  border-radius: 4px;
  padding: 1px 4px;
  overflow-wrap: anywhere;
}
.code-block {
  border: 1px solid #e3e8e5;
  border-radius: 9px;
  background: #f7f9f8;
  overflow: hidden;
  margin: 17px 0 22px;
}
.code-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  min-height: 42px;
  padding: 4px 16px;
  border-bottom: 1px solid #e6ebe8;
  font-size: 11px;
  color: #68796e;
}
.copy-code {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 10px;
  line-height: 1.5;
  padding: 7px 2px;
  flex-shrink: 0;
  border: 0;
  background: transparent;
  color: #7d8981;
}
.copy-code svg {
  width: 13px;
  height: 13px;
}
.copy-code:hover {
  color: var(--accent);
}
.copy-code.copied {
  color: var(--accent);
}
pre {
  overflow: auto;
  margin: 0;
  padding: 19px 20px 21px;
  font-size: 12px;
  line-height: 1.95;
  tab-size: 2;
}
pre code {
  background: transparent;
  border: 0;
  padding: 0;
  font-size: inherit;
  color: #52675b;
  overflow-wrap: normal;
}
.token-key {
  color: #33483e;
}
.token-string {
  color: #387d5f;
}
.token-number {
  color: #a26335;
}
.note {
  border-left: 2px solid #6f9d80;
  background: #f4f8f5;
  padding: 16px 19px;
  margin: 25px 0;
  border-radius: 0 7px 7px 0;
  font-size: 13px;
}
.note strong {
  font-size: 13px;
  color: #3f5b47;
  font-weight: 550;
}
.note p {
  margin: 5px 0 0;
  color: #617167;
}
.caption {
  font-size: 12px;
  color: #7a887f;
}
.endpoint {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  border-bottom: 1px solid var(--line);
  padding: 13px 0 16px;
  margin-bottom: 20px;
}
.endpoint code {
  background: none;
  border: 0;
  font-size: 13px;
  color: #59665e;
}
.method {
  font-family: ui-monospace, monospace;
  font-weight: 600;
  font-size: 10px;
  border-radius: 4px;
  line-height: 23px;
  padding: 0 7px;
  letter-spacing: 0.3px;
}
.get {
  background: #eaf4ee;
  color: #327f57;
}
.post {
  background: #eaf0fb;
  color: #4876ac;
}
.patch {
  background: #fbf3e3;
  color: #8c652d;
}
main table a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 4px;
  text-decoration-color: #c2d8cb;
}
.steps-inline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  font-size: 12px;
  gap: 7px;
  padding: 20px 17px;
}
.steps-inline b {
  color: #a3aea5;
  font-weight: 400;
}
.next-callout {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 17px 20px;
  font-size: 13px;
  color: var(--accent);
  margin: 24px 0;
}
.next-callout:hover {
  background: var(--surface);
}
ul,
ol {
  color: #58635b;
  padding-left: 23px;
  margin: 16px 0;
}
li {
  padding-left: 5px;
  margin-bottom: 12px;
}
.resource-links {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
  margin: 23px 0 30px;
}
.code-tabs [role="tablist"] {
  display: flex;
  gap: 4px;
  padding: 4px;
  background: #f2f5f3;
  width: fit-content;
  border-radius: 7px;
  margin: 20px 0 0;
}
.code-tabs [role="tab"] {
  border: 0;
  background: transparent;
  font-size: 12px;
  line-height: 1.5;
  color: #879189;
  padding: 5px 14px;
  border-radius: 4px;
}
.code-tabs [aria-selected="true"] {
  background: white;
  box-shadow: 0 1px 3px #13291b15;
  color: #394a3f;
}
.code-tabs .code-block {
  margin-top: 13px;
}
.deliverables {
  list-style: none;
  padding: 0;
  counter-reset: delivery;
  border: 1px solid var(--line);
  border-radius: 9px;
}
.deliverables li {
  counter-increment: delivery;
  position: relative;
  margin: 0;
  padding: 18px 18px 18px 60px;
  border-bottom: 1px solid var(--line);
}
.deliverables li:last-child {
  border: 0;
}
.deliverables li:before {
  content: counter(delivery);
  position: absolute;
  left: 21px;
  top: 22px;
  width: 23px;
  height: 23px;
  display: grid;
  place-items: center;
  border: 1px solid #dde5df;
  border-radius: 50%;
  font:
    11px ui-monospace,
    monospace;
  color: #698774;
}
.deliverables strong {
  display: block;
  color: #3b493f;
  font-size: 14px;
  font-weight: 550;
}
.deliverables span {
  font-size: 13px;
  display: block;
  margin-top: 4px;
}
.page-navigation {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin: 52px 0 0;
  border-top: 1px solid var(--line);
  padding-top: 25px;
}
.page-link {
  display: flex;
  flex-direction: column;
  gap: 4px;
  align-items: flex-start;
}
.page-link.next {
  align-items: flex-end;
  text-align: right;
}
.page-link > span {
  font-size: 10px;
  color: #758178;
}
.page-link strong {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 13px;
  font-weight: 500;
}
.page-link:hover strong {
  color: var(--accent);
}
.page-link svg {
  width: 15px;
  height: 15px;
}
.page-link.previous svg {
  order: -1;
  transform: rotate(180deg);
}
footer {
  display: flex;
  justify-content: space-between;
  font-size: 10px;
  color: #a0a79f;
  margin: 40px 0 25px;
}
dialog {
  border: 1px solid #e3e8e4;
  padding: 0;
  color: var(--ink);
  box-shadow: 0 28px 110px #17281c26;
}
dialog::backdrop {
  background: #1b2b2145;
  backdrop-filter: blur(4px);
}
#search-dialog {
  width: min(620px, calc(100vw - 32px));
  max-height: 80dvh;
  border-radius: 14px;
  margin: 14vh auto auto;
}
.search-field {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 17px 20px;
  border-bottom: 1px solid var(--line);
}
.search-field > svg {
  color: #819487;
}
.search-field input {
  border: 0;
  background: transparent;
  outline: none;
  min-width: 0;
  width: 100%;
  font-size: 15px;
  color: var(--ink);
}
.search-field input::-webkit-search-cancel-button {
  cursor: pointer;
}
.dialog-close {
  border: 1px solid var(--line);
  border-radius: 5px;
  font: 10px inherit;
  padding: 2px 7px;
  color: #8d978f;
  background: white;
}
.search-results {
  padding: 10px;
  overflow: auto;
  max-height: 48dvh;
}
.search-result {
  display: block;
  padding: 12px 15px;
  border-radius: 7px;
}
.search-result:hover,
.search-result.selected {
  background: #eef5f0;
}
.search-result > span {
  display: block;
  font-size: 10px;
  color: #74907c;
  margin-bottom: 2px;
}
.search-result strong {
  display: block;
  font-size: 14px;
  font-weight: 550;
}
.search-result p {
  font-size: 12px;
  line-height: 1.7;
  color: #6d7c71;
  margin: 3px 0 0;
}
.search-footer {
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  padding: 10px 20px;
  font-size: 10px;
  color: #94a096;
}
.key-separator {
  margin-left: 12px;
}
.search-empty {
  text-align: center;
  padding: 35px 20px;
  color: #738279;
  font-size: 13px;
}
#menu-dialog {
  height: 100dvh;
  max-height: 100dvh;
  width: min(330px, 88vw);
  max-width: 100vw;
  margin: 0;
  border: 0;
  border-right: 1px solid var(--line);
  padding: 18px 20px 30px;
  overflow: auto;
}
.menu-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 25px;
}
.menu-heading strong {
  font-size: 15px;
  font-weight: 550;
}
#menu-dialog .nav-group a {
  font-size: 15px;
  padding: 9px 12px;
}
#menu-dialog .nav-group h2 {
  font-size: 12px;
}
#menu-dialog .sidebar-download {
  margin-top: 20px;
}
@media (min-width: 1680px) {
  .sidebar {
    left: calc((100vw - 1680px) / 2);
  }
}
@media (max-width: 1240px) {
  :root {
    --sidebar: 220px;
  }
  .reading-layout {
    grid-template-columns: minmax(0, 760px);
    padding: 38px 44px 0;
    gap: 0;
  }
  .toc {
    display: none;
  }
  .header {
    gap: 25px;
    padding: 0 24px;
  }
  .top-nav {
    margin-left: 10px;
  }
}
@media (max-width: 860px) {
  :root {
    --header: 64px;
  }
  .sidebar,
  .top-nav {
    display: none;
  }
  .reading-layout {
    margin-left: 0;
    display: block;
    max-width: 820px;
    margin-inline: auto;
    padding: 32px 30px 0;
  }
  .mobile-menu {
    display: flex;
  }
  .header {
    padding: 0 24px;
  }
  .brand {
    font-size: 15px;
    gap: 9px;
  }
  .brand-name {
    font-size: 26px;
  }
  .search-trigger {
    min-width: 0;
    width: 36px;
    padding: 0;
    justify-content: center;
    background: none;
    border: 0;
  }
  .search-trigger span,
  .search-trigger kbd {
    display: none;
  }
  .header-actions {
    gap: 4px;
  }
  .cards {
    gap: 10px;
  }
  .toc {
    display: none;
  }
  h1 {
    font-size: 31px;
  }
}
@media (max-width: 540px) {
  body {
    font-size: 14px;
    line-height: 1.85;
  }
  .header {
    padding: 0 18px;
    gap: 10px;
  }
  .reading-layout {
    padding: 27px 22px 0;
  }
  .eyebrow {
    font-size: 11px;
  }
  h1 {
    font-size: 28px;
  }
  .subtitle {
    font-size: 15px;
    margin-bottom: 24px;
  }
  .lead {
    font-size: 14px;
  }
  .hero-actions {
    gap: 20px;
    flex-wrap: wrap;
  }
  .button {
    padding: 11px 17px;
  }
  .text-link {
    font-size: 12px;
  }
  .contract-notice {
    font-size: 10px;
    margin-bottom: 28px;
  }
  .cards {
    grid-template-columns: 1fr;
    gap: 10px;
  }
  .doc-card {
    position: relative;
    padding: 16px 17px 16px 49px;
  }
  .card-icon {
    position: absolute;
    top: 20px;
    left: 17px;
    margin: 0;
  }
  .doc-card strong {
    font-size: 14px;
  }
  .doc-card p {
    font-size: 12px;
    margin-top: 5px;
  }
  .flow {
    flex-direction: column;
    align-items: stretch;
    padding: 17px 20px;
    gap: 9px;
  }
  .flow > div {
    display: grid;
    grid-template-columns: 52px 1fr;
    align-items: center;
    gap: 0 12px;
  }
  .flow small {
    grid-column: 2;
  }
  .flow > svg {
    transform: rotate(90deg);
    align-self: center;
    width: 15px;
    height: 15px;
  }
  .flow span {
    grid-row: span 2;
    font-size: 11px;
  }
  .flow strong {
    font-size: 13px;
  }
  .flow small {
    font-size: 11px;
  }
  section {
    margin-top: 32px;
  }
  h2 {
    font-size: 19px;
    margin-bottom: 14px;
  }
  .table-scroll {
    margin: 16px 0 20px;
  }
  th,
  td {
    padding: 11px 13px;
  }
  table {
    font-size: 12px;
    min-width: 480px;
  }
  pre {
    font-size: 11px;
    padding: 15px;
    line-height: 1.9;
  }
  .code-heading {
    padding: 5px 13px;
    font-size: 10px;
  }
  .copy-code {
    font-size: 10px;
  }
  .code-block {
    margin: 15px 0 20px;
  }
  .endpoint code {
    font-size: 11px;
  }
  .note {
    padding: 14px 16px;
    font-size: 12px;
  }
  .steps-inline {
    flex-wrap: wrap;
    font-size: 11px;
    padding: 15px 12px;
    gap: 7px;
  }
  .steps-inline span {
    white-space: nowrap;
  }
  .resource-links {
    gap: 15px;
  }
  .page-navigation {
    margin-top: 36px;
  }
  .search-field {
    padding: 14px;
    gap: 10px;
  }
  .search-field input {
    font-size: 14px;
  }
  .search-footer {
    padding: 10px 14px;
  }
  .deliverables li {
    padding-left: 51px;
  }
  .deliverables li:before {
    left: 16px;
  }
  .deliverables span {
    font-size: 12px;
  }
  .next-callout {
    font-size: 12px;
    padding: 15px;
  }
  .heading-anchor {
    opacity: 0.6;
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *:before,
  *:after {
    transition: none !important;
    scroll-behavior: auto !important;
  }
}
@media print {
  .header,
  .sidebar,
  .toc,
  .page-navigation,
  dialog,
  .copy-code {
    display: none;
  }
  .reading-layout {
    display: block;
    margin: 0;
    padding: 0;
  }
  section {
    break-inside: avoid;
  }
  .code-block,
  table {
    break-inside: avoid;
  }
}

html {
  scrollbar-gutter: stable;
}
body:has(dialog[open]) {
  overflow: hidden;
}

.full-example pre {
  max-height: 520px;
}
.field-reference {
  border-bottom: 1px solid #e3e8e5;
  scroll-margin-top: 90px;
}
.field-reference summary {
  display: grid;
  grid-template-columns: 12px minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  padding: 18px 0;
  list-style: none;
  cursor: pointer;
}
.field-reference summary::-webkit-details-marker {
  display: none;
}
.field-reference summary::before {
  content: "›";
  font-size: 20px;
  color: var(--accent);
}
.field-reference[open] > summary::before {
  transform: rotate(90deg);
}
.field-heading {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-width: 0;
  gap: 5px;
}
.field-heading strong {
  font-size: 14px;
  font-weight: 550;
}
.field-heading code {
  font-size: 11px;
  max-width: 100%;
}
.field-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 11px;
  color: #68796e;
}
.field-requirement {
  background: #eef5f0;
  border-radius: 4px;
  padding: 2px 6px;
  white-space: nowrap;
}
.field-content {
  padding: 0 0 14px 24px;
  font-size: 13px;
}
.field-content > p {
  margin: 7px 0;
}
.field-content .table-scroll {
  margin: 14px 0;
}
@media (max-width: 700px) {
  .field-reference summary {
    grid-template-columns: 12px minmax(0, 1fr);
    gap: 8px 10px;
  }
  .field-meta {
    grid-column: 2;
    flex-wrap: wrap;
  }
  .field-content {
    padding-left: 0;
  }
}

.field-group {
  border: 1px solid #e3e8e5;
  border-radius: 8px;
  margin: 12px 0;
  scroll-margin-top: 90px;
}
.field-group > summary {
  cursor: pointer;
  padding: 17px 20px;
  font-size: 14px;
  font-weight: 550;
}
.field-group-content {
  padding: 0 20px 12px;
}
.field-group-content .field-reference:last-child {
  border-bottom: 0;
}
