:root { color-scheme: light; --ink: #182924; --muted: #586660; --green: #146d53; --line: #dce4df; }
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: #fff; color: var(--ink); font: 16px/1.8 "Microsoft YaHei", "PingFang SC", Arial, sans-serif; letter-spacing: 0; }
a { color: var(--green); text-underline-offset: 4px; overflow-wrap: anywhere; }
a:focus-visible { outline: 3px solid #deaa35; outline-offset: 4px; }
.skip-link { position: fixed; top: -70px; left: 12px; z-index: 20; padding: 10px; background: white; }
.skip-link:focus { top: 8px; }
.topbar { position: sticky; top: 0; z-index: 10; display: flex; align-items: center; gap: 24px; padding: 12px 32px; border-bottom: 1px solid var(--line); background: #fffffff5; }
.brand { display: flex; align-items: center; gap: 10px; flex-shrink: 0; color: var(--ink); font-weight: 700; line-height: 1.3; text-decoration: none; }
.brand small { display: block; margin-top: 4px; font-size: 11px; font-weight: 400; color: var(--muted); }
.document-nav { display: flex; flex: 1; justify-content: center; gap: 24px; min-width: 0; }
.document-nav a { display: flex; align-items: center; padding: 10px 0; border-bottom: 2px solid transparent; text-decoration: none; color: var(--muted); font-size: 14px; text-align: center; line-height: 1.4; }
.document-nav a[aria-current] { border-color: var(--green); color: var(--green); font-weight: 700; }
.download { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 42px; padding: 8px 14px; border: 1px solid var(--line); border-radius: 6px; text-decoration: none; font-size: 14px; flex-shrink: 0; }
.download svg, .support-link svg { width: 18px; height: 18px; flex-shrink: 0; }
.document-heading { max-width: 1200px; margin: 0 auto; padding: 40px 30px 30px; border-bottom: 1px solid var(--line); }
.eyebrow { font-size: 12px; font-weight: 700; color: var(--green); margin: 0 0 8px; }
h1 { margin: 0 0 10px; font-size: 34px; line-height: 1.4; }
.document-heading > p:not(.eyebrow) { margin: 0; color: var(--muted); }
.document-meta { display: flex; gap: 10px 24px; flex-wrap: wrap; margin-top: 18px; font-size: 12px; color: var(--muted); }
.layout { display: grid; grid-template-columns: 230px minmax(0,1fr); gap: 40px; max-width: 1200px; padding: 0 30px; margin: auto; }
.toc { position: sticky; top: 95px; align-self: start; padding-top: 30px; max-height: calc(100vh - 100px); overflow-y: auto; }
.toc h2 { font-size: 13px; margin: 0 0 12px; }
.toc ol { margin: 0; padding-left: 21px; font-size: 13px; }
.toc li { padding: 6px 0 6px 2px; color: var(--muted); }
.toc a { color: var(--muted); text-decoration: none; }
.toc a.active { color: var(--green); font-weight: 700; }
.support-link { display: inline-flex; align-items: center; gap: 8px; margin-top: 24px; padding-top: 16px; border-top: 1px solid var(--line); font-size: 13px; }
main { min-width: 0; }
.chapter { padding: 34px 0; border-bottom: 1px solid var(--line); scroll-margin-top: 90px; overflow-wrap: anywhere; }
.chapter-kicker { margin-bottom: 8px; color: var(--green); font-size: 11px; font-weight: 700; }
h2 { font-size: 24px; line-height: 1.5; margin: 0 0 20px; }
h3 { font-size: 17px; line-height: 1.6; margin: 22px 0 8px; }
p { margin: 10px 0; }
ol, ul { margin: 10px 0 18px; padding-left: 24px; }
li { padding-left: 4px; margin: 7px 0; }
li::marker { color: var(--green); font-weight: 700; }
.lead { color: #344b41; font-size: 17px; }
.note, .warning { margin: 16px 0; padding: 10px 15px; border-left: 3px solid var(--green); background: #f1f7f4; font-size: 14px; }
.warning { border-color: #b4504c; background: #fcf3f2; }
.note strong, .warning strong { margin-right: 7px; }
.small { font-size: 12px; color: var(--muted); }
figure { margin: 20px 0; break-inside: avoid; }
.screenshot-link { display: block; line-height: 0; }
figure img { display: block; width: 100%; height: auto; border: 1px solid #dce4df; border-radius: 4px; }
figure.medium { max-width: 620px; margin-left: auto; margin-right: auto; }
figcaption { font-size: 12px; line-height: 1.65; color: var(--muted); margin-top: 8px; }
.figure-pair { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 22px; max-width: 570px; margin: 0 auto 18px; }
.figure-pair figure { margin: 8px 0; }
table { width: 100%; border-collapse: collapse; table-layout: fixed; margin: 16px 0; font-size: 14px; }
th { text-align: left; background: #f3f5f4; }
th, td { padding: 10px 12px; border: 1px solid var(--line); vertical-align: top; overflow-wrap: anywhere; }
th:first-child, td:first-child { width: 27%; }
.report-template { border-top: 2px solid var(--green); border-bottom: 1px solid var(--line); padding: 12px 0; }
.report-template p { margin: 10px 0; }
.chapter-footer { display: none; }
.document-footer { padding: 28px 0 45px; font-size: 13px; color: var(--muted); }
@media (min-width: 1600px) { .layout, .document-heading { max-width: 1320px; } }
@media (max-width: 900px) {
  .topbar { flex-wrap: wrap; gap: 6px 16px; padding: 10px 18px 0; }
  .brand { margin-right: auto; }
  .document-nav { order: 3; flex-basis: 100%; justify-content: flex-start; gap: 26px; }
  .layout { grid-template-columns: minmax(0,1fr); gap: 0; padding: 0 22px; }
  .toc { position: static; max-height: none; padding: 20px 0; border-bottom: 1px solid var(--line); }
  .toc ol { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); column-gap: 26px; }
  .toc .support-link { display: none; }
  .document-heading { padding: 28px 22px 22px; }
  .chapter { scroll-margin-top: 122px; }
}
@media (max-width: 480px) {
  body { font-size: 15px; }
  .topbar { padding-left: 14px; padding-right: 14px; }
  .brand { font-size: 14px; }
  .brand img { width: 30px; height: 30px; }
  .download { padding: 8px 10px; font-size: 12px; }
  .document-nav { justify-content: space-between; gap: 8px; }
  .document-nav a { font-size: 12px; }
  .document-heading, .layout { padding-left: 16px; padding-right: 16px; }
  h1 { font-size: 28px; }
  h2 { font-size: 21px; }
  h3 { font-size: 16px; }
  .toc ol { display: block; }
  .chapter { padding: 26px 0; }
  .lead { font-size: 16px; }
  .note, .warning { font-size: 13px; }
  table { font-size: 12px; }
  th, td { padding: 7px; }
  .figure-pair { gap: 10px; }
}
@media print {
  @page { size: A4; margin: 13mm 15mm; }
  html { scroll-behavior: auto; }
  body { font-size: 10pt; line-height: 1.7; color: #17251f; print-color-adjust: exact; -webkit-print-color-adjust: exact; }
  .topbar, .toc, .document-heading, .document-footer, .skip-link { display: none !important; }
  .layout { display: block; max-width: none; padding: 0; margin: 0; }
  .chapter { position: relative; padding: 0; border: 0; break-after: page; }
  .chapter:last-of-type { break-after: auto; }
  .chapter-kicker { font-size: 9pt; margin-bottom: 3mm; padding-bottom: 2mm; border-bottom: 1px solid #dce4df; }
  h2 { font-size: 19pt; margin: 0 0 4mm; break-after: avoid; }
  h3 { font-size: 11pt; margin: 4mm 0 1.5mm; break-after: avoid; }
  p { margin: 2.5mm 0; }
  .lead { font-size: 11pt; }
  ol, ul { margin: 2mm 0 3mm; padding-left: 5mm; }
  li { margin: 1.8mm 0; padding-left: 1mm; }
  .note, .warning { font-size: 9pt; margin: 3mm 0; padding: 2.5mm 3mm; break-inside: avoid; }
  .small { font-size: 8pt; }
  figure { margin: 3mm 0; }
  figure img { max-height: 102mm; object-fit: contain; background: #fff; }
  figure.medium { max-width: 150mm; }
  figure.medium img { max-height: 90mm; }
  figcaption { font-size: 8pt; margin-top: 1.5mm; }
  .figure-pair { max-width: 130mm; gap: 8mm; margin-bottom: 3mm; }
  .figure-pair img { max-height: 94mm; }
  table { font-size: 9pt; margin: 3mm 0; }
  th, td { padding: 2mm 2.5mm; }
  tr { break-inside: avoid; }
  .report-template { padding: 2mm 0; }
  .report-template p { margin: 2.4mm 0; }
  .chapter-footer { display: flex; justify-content: space-between; margin-top: 4mm; padding-top: 2mm; border-top: 1px solid #dce4df; font-size: 8pt; color: #65736b; break-inside: avoid; }
  a { color: inherit; text-decoration: none; }
}
