:root {
  --ink: #242424;
  --muted: #6f6f6f;
  --line: #e6e6e3;
  --soft: #f5f5f2;
  --paper: #ffffff;
  --accent: #244c43;
  --accent-soft: #eaf1ee;
  --max-width: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  background: var(--paper);
  color: var(--ink);
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family:
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    "PingFang SC",
    "Hiragino Sans GB",
    "Microsoft YaHei",
    sans-serif;
  font-size: 16px;
  line-height: 1.8;
  text-rendering: optimizeLegibility;
}

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

a:hover {
  color: #16362f;
}

a:focus-visible,
.skip-link:focus-visible {
  outline: 3px solid #b47b17;
  outline-offset: 4px;
}

.skip-link {
  position: absolute;
  top: 0;
  left: 1rem;
  z-index: 10;
  padding: 0.5rem 0.75rem;
  background: var(--ink);
  color: #fff;
  transform: translateY(-150%);
}

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

.site-header {
  border-bottom: 1px solid var(--line);
  background: var(--soft);
}

.header-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 5.5rem 2rem 4.5rem;
}

.eyebrow,
.section-kicker,
.toc-title {
  margin: 0;
  color: var(--accent);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  line-height: 1.4;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  color: var(--ink);
  font-weight: 650;
  letter-spacing: -0.025em;
  line-height: 1.25;
}

h1 {
  max-width: 720px;
  margin: 1.25rem 0 1rem;
  font-size: clamp(2.35rem, 5vw, 4.5rem);
}

h2 {
  margin: 0.5rem 0 1.25rem;
  font-size: clamp(1.65rem, 3vw, 2.35rem);
}

h3 {
  margin: 2.1rem 0 0.65rem;
  font-size: 1.08rem;
}

p {
  margin: 0 0 1rem;
}

.header-lead {
  max-width: 620px;
  margin: 0;
  color: #4f4f4c;
  font-size: 1.1rem;
}

.meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.5rem;
  margin-top: 2rem;
  color: var(--muted);
  font-size: 0.88rem;
}

.page-shell {
  display: grid;
  grid-template-columns: minmax(180px, 230px) minmax(0, 760px);
  align-items: start;
  gap: clamp(3rem, 8vw, 8rem);
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 4.5rem 2rem 6rem;
}

.toc {
  position: sticky;
  top: 2rem;
}

.toc-title {
  padding-bottom: 0.8rem;
  border-bottom: 1px solid var(--line);
}

.toc ol {
  margin: 1rem 0 0;
  padding: 0;
  list-style: none;
}

.toc li {
  margin: 0;
}

.toc a {
  display: block;
  padding: 0.35rem 0;
  color: var(--muted);
  font-size: 0.84rem;
  line-height: 1.5;
  text-decoration: none;
}

.toc a:hover {
  color: var(--accent);
}

main {
  min-width: 0;
}

.summary-panel {
  margin-bottom: 4.5rem;
  padding: 2rem 2.25rem;
  border: 1px solid #d8e4df;
  background: var(--accent-soft);
}

.summary-panel h2 {
  margin-bottom: 1rem;
}

.summary-panel p:last-child {
  margin-bottom: 0;
}

.summary-panel code {
  padding: 0.1rem 0.3rem;
  border-radius: 0.2rem;
  background: rgba(255, 255, 255, 0.7);
  color: #173d34;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.9em;
}

.policy-section {
  scroll-margin-top: 2rem;
  padding-top: 1rem;
}

.policy-section + .policy-section {
  margin-top: 4.75rem;
  padding-top: 3.5rem;
  border-top: 1px solid var(--line);
}

.section-kicker {
  margin-bottom: 0.8rem;
}

.policy-section ul,
.policy-section ol {
  padding-left: 1.35rem;
}

.policy-section li + li {
  margin-top: 0.45rem;
}

.table-wrap {
  overflow-x: auto;
  margin: 2rem 0;
  border: 1px solid var(--line);
}

table {
  width: 100%;
  min-width: 650px;
  border-collapse: collapse;
  background: #fff;
  font-size: 0.92rem;
  line-height: 1.65;
}

caption {
  padding: 1rem 1.15rem;
  background: var(--soft);
  color: var(--muted);
  font-size: 0.82rem;
  text-align: left;
}

th,
td {
  padding: 1rem 1.1rem;
  border-top: 1px solid var(--line);
  vertical-align: top;
  text-align: left;
}

thead th {
  border-top: 0;
  background: var(--soft);
  color: #51514d;
  font-size: 0.8rem;
  font-weight: 700;
}

tbody th {
  width: 19%;
  font-weight: 650;
}

.notice {
  margin: 2rem 0;
  padding: 1.25rem 1.4rem;
  border-left: 3px solid var(--accent);
  background: var(--soft);
}

.notice h3 {
  margin-top: 0;
}

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

.definition-list {
  margin: 1.5rem 0;
}

.definition-list > div {
  padding: 1rem 0;
  border-top: 1px solid var(--line);
}

.definition-list > div:last-child {
  border-bottom: 1px solid var(--line);
}

.definition-list dt {
  font-weight: 700;
}

.definition-list dd {
  margin: 0.25rem 0 0;
  color: #555550;
}

.steps {
  margin-top: 1rem;
}

.contact-section address {
  margin: 1.5rem 0;
  padding: 1.25rem 1.4rem;
  border: 1px solid var(--line);
  background: var(--soft);
  font-style: normal;
}

.last-updated {
  color: var(--muted);
  font-size: 0.88rem;
}

.site-footer {
  padding: 1.75rem 2rem;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.82rem;
  text-align: center;
}

.site-footer p {
  margin: 0;
}

@media (max-width: 860px) {
  .header-inner {
    padding: 4rem 1.25rem 3rem;
  }

  .page-shell {
    display: block;
    padding: 2rem 1.25rem 4rem;
  }

  .toc {
    position: static;
    margin-bottom: 3rem;
    padding: 1.2rem 1.25rem;
    border: 1px solid var(--line);
    background: var(--soft);
  }

  .toc ol {
    columns: 2;
    column-gap: 1.5rem;
    margin-top: 0.75rem;
  }

  .toc li {
    break-inside: avoid;
  }

  .toc a {
    padding: 0.3rem 0;
  }

  .summary-panel {
    margin-bottom: 3rem;
    padding: 1.5rem;
  }

  .policy-section + .policy-section {
    margin-top: 3.5rem;
    padding-top: 2.5rem;
  }
}

@media (max-width: 720px) {
  .table-wrap {
    overflow: visible;
    border: 0;
  }

  table {
    display: block;
    min-width: 0;
  }

  caption {
    display: block;
    width: 100%;
    border: 1px solid var(--line);
  }

  thead,
  tbody {
    display: block;
  }

  thead {
    margin: 0.75rem 0;
  }

  thead tr {
    display: block;
    padding: 0.7rem 0.9rem;
    border: 1px solid var(--line);
    background: var(--soft);
  }

  thead th {
    display: inline;
    padding: 0;
    border: 0;
    background: transparent;
    color: var(--muted);
    font-size: 0.76rem;
  }

  thead th + th::before {
    content: " · ";
    color: #b1b1ad;
  }

  tbody tr {
    display: block;
    padding: 0.65rem 0.9rem;
    border: 1px solid var(--line);
    background: var(--paper);
  }

  tbody tr + tr {
    margin-top: 0.75rem;
  }

  tbody th,
  tbody td {
    display: grid;
    grid-template-columns: minmax(4.8rem, 5.4rem) minmax(0, 1fr);
    gap: 0.75rem;
    width: auto;
    padding: 0.75rem 0;
    border-top: 1px solid var(--line);
  }

  tbody tr > :first-child {
    border-top: 0;
  }

  tbody th::before,
  tbody td::before {
    color: var(--muted);
    font-size: 0.76rem;
    font-weight: 600;
    line-height: 1.65;
  }

  tbody th::before {
    content: "信息类别";
  }

  tbody td:nth-child(2)::before {
    content: "可能包括";
  }

  tbody td:nth-child(3)::before {
    content: "主要用途";
  }
}

@media (max-width: 560px) {
  body {
    font-size: 15px;
  }

  .header-inner {
    padding: 3rem 1rem 2.5rem;
  }

  h1 {
    font-size: 2.35rem;
  }

  .header-lead {
    font-size: 1rem;
  }

  .meta {
    display: block;
  }

  .meta span {
    display: block;
    margin-top: 0.35rem;
  }

  .page-shell {
    padding-right: 1rem;
    padding-left: 1rem;
  }

  .toc ol {
    columns: 1;
  }

  .summary-panel {
    padding: 1.25rem;
  }

  .policy-section + .policy-section {
    margin-top: 3rem;
    padding-top: 2.25rem;
  }

  .table-wrap {
    margin-right: -0.25rem;
    margin-left: -0.25rem;
  }

  .site-footer {
    padding-right: 1rem;
    padding-left: 1rem;
  }
}

@media print {
  @page {
    margin: 1.6cm;
  }

  html {
    scroll-behavior: auto;
  }

  body {
    color: #000;
    font-size: 10.5pt;
    line-height: 1.55;
  }

  .site-header {
    border-bottom: 1px solid #999;
    background: #fff;
  }

  .header-inner {
    padding: 0 0 1.2cm;
  }

  .eyebrow,
  .section-kicker,
  .toc-title {
    color: #000;
  }

  h1 {
    margin-top: 0.35cm;
    font-size: 28pt;
  }

  h2 {
    font-size: 17pt;
  }

  h3 {
    font-size: 11.5pt;
  }

  .page-shell {
    display: block;
    max-width: none;
    padding: 1cm 0 0;
  }

  .toc,
  .skip-link,
  .site-footer {
    display: none;
  }

  .summary-panel {
    margin-bottom: 1cm;
    border: 1px solid #999;
    background: #fff;
  }

  .policy-section,
  .policy-section + .policy-section {
    margin-top: 0.8cm;
    padding-top: 0;
    border-top: 0;
  }

  a {
    color: #000;
    text-decoration: none;
  }

  a[href^="http"]::after {
    content: " (" attr(href) ")";
    overflow-wrap: anywhere;
    font-size: 8pt;
  }

  .table-wrap {
    overflow: visible;
  }

  table {
    min-width: 0;
    font-size: 9pt;
  }

  tr,
  .notice,
  .definition-list > div,
  .contact-section address {
    break-inside: avoid;
  }
}
