:root {
  --document-ink: #172033;
  --document-line: #e7eaf0;
  --document-background: #ffffff;
  color: var(--document-ink);
  background: var(--document-background);
  color-scheme: light;
  font-family:
    -apple-system, BlinkMacSystemFont, "SF Pro Text", "PingFang SC",
    "Microsoft YaHei", "Segoe UI", sans-serif;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
}

* {
  box-sizing: border-box;
}

html {
  min-width: 320px;
  background: var(--document-background);
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  min-height: 100vh;
  min-height: 100dvh;
  margin: 0;
  background: var(--document-background);
  -webkit-tap-highlight-color: transparent;
}

a {
  color: inherit;
  text-decoration: none;
  touch-action: manipulation;
}

a:focus-visible {
  border-radius: 4px;
  outline: 3px solid rgba(51, 112, 255, 0.28);
  outline-offset: 4px;
}

.document-page {
  display: grid;
  min-height: 100vh;
  min-height: 100dvh;
  grid-template-columns: minmax(0, 1fr);
  grid-template-rows: auto 1fr auto;
}

.document-header,
.document-main,
.site-footer {
  min-width: 0;
}

.document-header {
  border-bottom: 1px solid var(--document-line);
  background: rgba(255, 255, 255, 0.96);
  padding:
    env(safe-area-inset-top, 0px)
    calc(28px + env(safe-area-inset-right, 0px))
    0
    calc(28px + env(safe-area-inset-left, 0px));
}

.document-header__inner {
  width: min(960px, 100%);
  margin-inline: auto;
}

.document-header__inner {
  display: flex;
  min-height: 70px;
  align-items: center;
  gap: 15px;
}

.document-brand {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  gap: 8px;
  color: #0b172b;
  font-size: 16px;
  font-weight: 720;
  white-space: nowrap;
}

.document-brand img {
  display: block;
  width: 30px;
  height: 30px;
  border-radius: 6px;
}

.document-header__title {
  overflow: hidden;
  color: rgba(0, 0, 0, 0.36);
  font-size: 16px;
  font-weight: 400;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.document-main {
  width: min(876px, 100%);
  margin-inline: auto;
  padding:
    45px
    16px
    46px;
}

.document-heading {
  padding: 0;
}

.document-heading h1 {
  margin: 0;
  color: var(--document-ink);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0;
  line-height: 58px;
}

.document-content {
  min-height: clamp(320px, 48vh, 640px);
  padding-top: 0;
  color: #343d4c;
  font-size: 14px;
  line-height: 1.82;
  overflow-wrap: anywhere;
}

.document-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 2px 22px;
  margin: -8px 0 26px;
  color: #778195;
  font-size: 12px;
  line-height: 1.7;
}

.document-intro {
  margin-bottom: 28px;
}

.document-content h2,
.document-content h3 {
  color: #202735;
  letter-spacing: 0;
}

.document-content h2 {
  margin: 34px 0 12px;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.65;
}

.document-content h3 {
  margin: 22px 0 8px;
  font-size: 14px;
  font-weight: 650;
  line-height: 1.65;
}

.document-content p {
  margin: 0 0 12px;
}

.document-content ul,
.document-content ol {
  margin: 8px 0 14px;
  padding-left: 1.55em;
}

.document-content li + li {
  margin-top: 5px;
}

.document-content strong {
  color: #273143;
  font-weight: 650;
}

.document-content a {
  color: #245eea;
  text-decoration: underline;
  text-decoration-color: rgba(36, 94, 234, 0.32);
  text-underline-offset: 3px;
}

.document-note {
  margin: 18px 0 24px;
  border-left: 3px solid #4d7ff5;
  background: #f6f8fc;
  padding: 12px 15px;
  color: #414c5f;
}

.document-note p:last-child {
  margin-bottom: 0;
}

.document-table-wrap {
  width: 100%;
  margin: 14px 0 22px;
  overflow-x: auto;
  border: 1px solid #dfe4ec;
  border-radius: 4px;
  background: #ffffff;
  -webkit-overflow-scrolling: touch;
}

.document-table {
  width: 100%;
  min-width: 720px;
  border-collapse: collapse;
  border-spacing: 0;
  color: #3c4658;
  font-size: 12.5px;
  line-height: 1.6;
  text-align: left;
}

.document-table--sdk {
  min-width: 1120px;
}

.document-table th,
.document-table td {
  padding: 10px 12px;
  border-right: 1px solid #dfe4ec;
  border-bottom: 1px solid #dfe4ec;
  vertical-align: top;
}

.document-table th {
  background: #f6f8fb;
  color: #263143;
  font-weight: 650;
  white-space: nowrap;
}

.document-table th:last-child,
.document-table td:last-child {
  border-right: 0;
}

.document-table tbody tr:last-child td {
  border-bottom: 0;
}

.document-table__nowrap {
  white-space: nowrap;
}

.document-empty-state {
  margin: 12px 0 24px;
  border: 1px solid #dfe4ec;
  border-radius: 4px;
  padding: 18px;
  background: #fafbfc;
  color: #4d586b;
}

.site-footer {
  display: grid;
  width: min(1280px, 100%);
  justify-items: center;
  gap: 8px;
  margin-inline: auto;
  padding:
    0
    calc(28px + env(safe-area-inset-right, 0px))
    calc(24px + env(safe-area-inset-bottom, 0px))
    calc(28px + env(safe-area-inset-left, 0px));
  color: #657185;
  font-size: 13px;
  line-height: 1.4;
  text-align: center;
}

.legal-links,
.filing-info {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 5px 18px;
}

.legal-links a,
.legal-links span,
.filing-info a {
  min-height: 23px;
  color: #4d5a6d;
}

.legal-links a,
.filing-info a {
  text-decoration: underline;
  text-decoration-color: rgba(77, 90, 109, 0.28);
  text-underline-offset: 3px;
}

.filing-info > span,
.filing-info > a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1.4;
}

.public-security-filing {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  white-space: nowrap;
}

.public-security-filing img {
  display: block;
  width: 14px;
  height: 16px;
  flex: 0 0 auto;
  object-fit: contain;
}

@media (max-width: 640px) {
  .document-header {
    padding:
      env(safe-area-inset-top, 0px)
      calc(18px + env(safe-area-inset-right, 0px))
      0
      calc(18px + env(safe-area-inset-left, 0px));
  }

  .document-header__inner {
    min-height: 60px;
    gap: 10px;
  }

  .document-brand {
    font-size: 15px;
  }

  .document-brand img {
    width: 28px;
    height: 28px;
    border-radius: 5px;
  }

  .document-header__title {
    font-size: 14px;
  }

  .document-main {
    padding:
      32px
      calc(20px + env(safe-area-inset-right, 0px))
      64px
      calc(20px + env(safe-area-inset-left, 0px));
  }

  .document-heading h1 {
    font-size: 14px;
    line-height: 50px;
  }

  .document-content {
    min-height: 46vh;
    padding-top: 0;
    font-size: 13px;
    line-height: 1.78;
  }

  .document-meta {
    gap: 0 14px;
    margin-bottom: 22px;
    font-size: 11px;
  }

  .document-content h2 {
    margin-top: 30px;
    font-size: 14px;
  }

  .document-content h3 {
    margin-top: 20px;
    font-size: 13px;
  }

  .document-note {
    padding: 11px 13px;
  }

  .document-table {
    font-size: 12px;
  }

  .site-footer {
    gap: 3px;
    padding:
      0
      calc(20px + env(safe-area-inset-right, 0px))
      calc(16px + env(safe-area-inset-bottom, 0px))
      calc(20px + env(safe-area-inset-left, 0px));
    font-size: 11px;
  }

  .legal-links,
  .filing-info {
    gap: 2px 11px;
  }

  .legal-links a,
  .legal-links span,
  .filing-info a {
    min-height: 20px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}
