:root {
  color-scheme: light;
  --page-bg: #f6f7f9;
  --surface: #ffffff;
  --text: #1f2937;
  --heading: #111827;
  --muted: #667085;
  --line: #e5e7eb;
  --line-strong: #d0d5dd;
  --accent: #2563eb;
  --accent-soft: #eff6ff;
  --notice: #475467;
  --max-width: 880px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  min-width: 320px;
  margin: 0;
  background: var(--page-bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC",
    "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  font-size: 16px;
  line-height: 1.8;
  letter-spacing: 0;
}

a {
  color: var(--accent);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

a:hover {
  text-decoration-thickness: 2px;
}

a:focus-visible {
  outline: 3px solid rgba(37, 99, 235, 0.28);
  outline-offset: 3px;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 20;
  padding: 8px 12px;
  transform: translateY(-160%);
  background: var(--heading);
  color: #ffffff;
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.96);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(100% - 40px, var(--max-width));
  min-height: 68px;
  margin: 0 auto;
  gap: 24px;
}

.brand {
  display: flex;
  align-items: baseline;
  gap: 10px;
  color: var(--heading);
  text-decoration: none;
  white-space: nowrap;
}

.brand__name {
  font-size: 20px;
  font-weight: 700;
}

.brand__context {
  color: var(--muted);
  font-size: 13px;
  font-weight: 500;
}

.document-nav {
  display: flex;
  align-items: stretch;
  align-self: stretch;
  gap: 24px;
}

.document-nav a {
  display: inline-flex;
  align-items: center;
  border-bottom: 2px solid transparent;
  color: var(--muted);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
}

.document-nav a[aria-current="page"] {
  border-bottom-color: var(--accent);
  color: var(--accent);
}

.language-switch {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--muted);
  font-size: 13px;
  white-space: nowrap;
}

.language-switch a {
  color: inherit;
  text-decoration: none;
}

.language-switch a[aria-current="true"] {
  color: var(--heading);
  font-weight: 650;
}

.document-shell {
  width: min(100% - 40px, var(--max-width));
  margin: 40px auto 72px;
  padding: 48px 56px;
  border: 1px solid var(--line);
  background: var(--surface);
}

.document-heading {
  padding-bottom: 32px;
}

.document-heading h1 {
  margin: 0;
  color: var(--heading);
  font-size: 36px;
  line-height: 1.3;
  font-weight: 750;
}

.document-heading__summary {
  max-width: 720px;
  margin: 16px 0 0;
  color: var(--muted);
  font-size: 17px;
}

.document-meta {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 28px 0 0;
  padding: 18px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  gap: 20px;
}

.document-meta div {
  min-width: 0;
}

.document-meta dt {
  margin: 0 0 3px;
  color: var(--muted);
  font-size: 13px;
}

.document-meta dd {
  margin: 0;
  color: var(--heading);
  font-size: 14px;
  font-weight: 600;
  overflow-wrap: anywhere;
}

.document-notice {
  margin: 0 0 32px;
  padding: 18px 20px;
  border-left: 3px solid var(--accent);
  background: var(--accent-soft);
  color: var(--notice);
}

.document-notice strong {
  color: var(--heading);
}

.table-of-contents {
  margin: 0 0 32px;
  padding: 24px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.table-of-contents h2 {
  margin: 0 0 12px;
  font-size: 17px;
}

.table-of-contents ol {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin: 0;
  padding-left: 22px;
  column-gap: 36px;
}

.table-of-contents li {
  padding: 3px 0;
  color: var(--muted);
}

.table-of-contents a {
  color: inherit;
  text-decoration: none;
}

.table-of-contents a:hover {
  color: var(--accent);
  text-decoration: underline;
}

.legal-section {
  padding: 30px 0 4px;
  border-top: 1px solid var(--line);
  scroll-margin-top: 20px;
}

.table-of-contents + .legal-section {
  border-top: 0;
}

.legal-section h2 {
  margin: 0 0 14px;
  color: var(--heading);
  font-size: 22px;
  line-height: 1.45;
}

.legal-section h3 {
  margin: 24px 0 10px;
  color: var(--heading);
  font-size: 17px;
  line-height: 1.55;
}

.legal-section p {
  margin: 0 0 14px;
}

.legal-section ul,
.legal-section ol {
  margin: 0 0 16px;
  padding-left: 24px;
}

.legal-section li {
  margin: 6px 0;
}

.legal-section strong {
  color: var(--heading);
}

.table-scroll {
  width: 100%;
  margin: 18px 0 22px;
  overflow-x: auto;
  border: 1px solid var(--line);
  -webkit-overflow-scrolling: touch;
}

table {
  width: 100%;
  min-width: 680px;
  border-collapse: collapse;
  background: #ffffff;
  font-size: 14px;
  line-height: 1.65;
}

th,
td {
  padding: 13px 14px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

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

tr:last-child td {
  border-bottom: 0;
}

th {
  background: #f9fafb;
  color: var(--heading);
  font-weight: 650;
}

.contact-list {
  margin: 16px 0 0;
  padding: 0;
  list-style: none;
}

.contact-list li {
  display: grid;
  grid-template-columns: 112px minmax(0, 1fr);
  padding: 9px 0;
  border-bottom: 1px solid var(--line);
  gap: 16px;
}

.contact-list span:first-child {
  color: var(--muted);
}

.site-footer {
  padding: 26px 20px 34px;
  border-top: 1px solid var(--line);
  background: var(--surface);
  color: var(--muted);
  text-align: center;
  font-size: 13px;
}

.site-footer p {
  margin: 4px 0;
}

.site-footer a {
  color: inherit;
}

@media (max-width: 720px) {
  body {
    background: var(--surface);
    font-size: 15px;
  }

  .site-header__inner {
    display: flex;
    flex-wrap: wrap;
    width: 100%;
    min-height: 0;
    gap: 0;
  }

  .brand {
    flex: 1 1 auto;
    padding: 16px 20px 11px;
  }

  .document-nav {
    flex: 1 0 100%;
    width: 100%;
    height: 44px;
    padding: 0 20px;
    border-top: 1px solid var(--line);
    gap: 24px;
  }

  .document-nav a {
    font-size: 13px;
  }

  .language-switch {
    min-height: 44px;
    padding: 0 20px 0 8px;
  }

  .document-shell {
    width: 100%;
    margin: 0;
    padding: 32px 20px 48px;
    border: 0;
  }

  .document-heading {
    padding-bottom: 26px;
  }

  .document-heading h1 {
    font-size: 29px;
  }

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

  .document-meta {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .document-meta div {
    display: grid;
    grid-template-columns: 88px minmax(0, 1fr);
    gap: 12px;
  }

  .table-of-contents ol {
    grid-template-columns: 1fr;
  }

  .legal-section {
    padding-top: 26px;
  }

  .legal-section h2 {
    font-size: 20px;
  }

  .contact-list li {
    grid-template-columns: 88px minmax(0, 1fr);
    gap: 10px;
  }

  .site-footer {
    padding-right: 20px;
    padding-left: 20px;
  }
}

@media (max-width: 390px) {
  .brand__context {
    display: none;
  }

  .document-nav {
    justify-content: space-between;
    gap: 12px;
  }

  .document-notice {
    padding: 16px;
  }
}

@media print {
  body {
    background: #ffffff;
  }

  .site-header,
  .table-of-contents,
  .skip-link {
    display: none;
  }

  .document-shell {
    width: 100%;
    margin: 0;
    padding: 0;
    border: 0;
  }

  a {
    color: inherit;
  }
}
