:root {
  color-scheme: light;
  --ink: #20251f;
  --muted: #666c63;
  --paper: #fcfcfa;
  --line: #e3e6df;
  --lime: #b2e744;
  --green: #3d5d13;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC",
    "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
}
* { box-sizing: border-box; }
html { scroll-padding-top: 28px; }
body { margin: 0; background: var(--paper); color: var(--ink); line-height: 1.8; }
h1, h2, h3, p { margin-top: 0; }
a { color: var(--green); text-underline-offset: 5px; overflow-wrap: anywhere; }
a:hover { text-decoration-thickness: 2px; }
a:focus-visible, summary:focus-visible, [tabindex]:focus-visible {
  outline: 2px solid var(--green);
  outline-offset: 5px;
}
::selection { background: var(--lime); color: var(--ink); }
.skip-link { position: absolute; top: -100px; left: 24px; padding: 10px 16px; z-index: 10; background: var(--lime); }
.skip-link:focus { top: 12px; }
.wrap { width: min(1040px, calc(100% - 64px)); margin-inline: auto; }
.site-header { border-bottom: 1px solid var(--line); }
.header-inner { min-height: 88px; display: flex; align-items: center; justify-content: space-between; gap: 32px; }
.brand { display: inline-flex; align-items: center; gap: 12px; color: var(--ink); text-decoration: none; flex-shrink: 0; }
.brand img { display: block; width: 44px; height: 44px; border-radius: 10px; }
.brand strong { font-size: 17px; font-weight: 650; }
.site-nav { display: flex; gap: 30px; }
.site-nav a { display: flex; align-items: center; min-height: 48px; color: var(--muted); font-size: 14px; text-decoration: none; }
.site-nav a:hover { color: var(--ink); }
.site-nav a[aria-current="page"] { color: var(--ink); text-decoration: underline; text-decoration-color: var(--lime); text-decoration-thickness: 3px; text-underline-offset: 9px; }
h1 { margin-bottom: 20px; font-size: clamp(30px, 4vw, 40px); line-height: 1.5; letter-spacing: -.035em; font-weight: 650; }
.hero { margin-bottom: 0; padding-block: 42px 34px; border-bottom: 1px solid var(--line); }
.document-layout { display: grid; grid-template-columns: 184px minmax(0, 1fr); gap: 64px; padding-block: 40px 72px; align-items: start; }
.toc { position: sticky; top: 28px; font-size: 13px; }
.toc-label { color: var(--ink); font-size: 13px; font-weight: 600; margin-bottom: 14px; }
.toc ol { padding: 0; list-style: none; margin: 0; }
.toc a { display: block; padding-block: 8px; color: var(--muted); text-decoration: none; }
.toc a:hover { color: var(--ink); text-decoration: underline; }
.toc .aside-link { margin-top: 20px; color: var(--green); }
.document { min-width: 0; font-size: 15px; line-height: 1.95; }
.document section { padding-block: 32px; border-bottom: 1px solid var(--line); }
.document section:first-of-type { padding-top: 0; }
.document section:last-of-type { border-bottom: 0; }
.document h2 { margin-bottom: 18px; font-size: 21px; font-weight: 600; line-height: 1.5; }
.document h2 .section-number { color: var(--muted); font-size: 13px; margin-right: 12px; font-weight: 400; font-variant-numeric: tabular-nums; }
.document h3 { font-size: 16px; margin-block: 22px 8px; }
.document p { margin-bottom: 16px; }
.document p:last-child { margin-bottom: 0; }
.document ul, .document ol { margin-block: 14px; padding-left: 22px; }
.document li { padding-left: 3px; margin-block: 8px; }
.document strong { font-weight: 600; }
.table-scroll { overflow-x: auto; margin-block: 24px; }
table { width: 100%; border-collapse: collapse; text-align: left; font-size: 13px; }
caption { text-align: left; margin-bottom: 12px; font-weight: 600; font-size: 14px; }
th, td { padding: 14px; border-bottom: 1px solid var(--line); vertical-align: top; min-width: 110px; }
th { color: var(--ink); font-weight: 600; background: #f1f3ed; }
td:first-child { font-weight: 550; width: 20%; }
.fine-print { color: var(--muted); font-size: 13px; }
.faq { border-bottom: 1px solid var(--line); }
.faq:last-child { border-bottom: 0; }
.faq summary { cursor: pointer; padding-block: 18px; font-size: 15px; font-weight: 550; list-style: none; display: flex; align-items: baseline; justify-content: space-between; gap: 20px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--muted); font-size: 20px; font-weight: 400; line-height: 1; flex-shrink: 0; }
.faq[open] summary::after { content: "−"; }
.faq .answer { padding: 0 28px 22px 0; color: #4c5349; font-size: 14px; }
.site-footer { border-top: 1px solid var(--line); padding-block: 26px; }
.footer-inner { display: flex; justify-content: space-between; gap: 16px 32px; align-items: center; }
.footer-note { color: var(--muted); font-size: 12px; margin-bottom: 0; }
.footer-links { display: flex; flex-wrap: wrap; gap: 4px 24px; }
.footer-links a { display: inline-flex; align-items: center; min-height: 44px; font-size: 12px; color: var(--muted); text-decoration: none; }
.footer-links a:hover { color: var(--ink); text-decoration: underline; }
.back-top { display: inline-flex; align-items: center; min-height: 44px; margin-top: 22px; font-size: 13px; }
@media (max-width: 860px) {
  .document-layout { grid-template-columns: 172px minmax(0, 1fr); gap: 32px; }
  .footer-inner { align-items: flex-start; }
}
@media (max-width: 640px) {
  .wrap { width: calc(100% - 48px); }
  .header-inner { min-height: 0; flex-direction: column; align-items: flex-start; gap: 8px; padding-top: 20px; }
  .brand img { width: 40px; height: 40px; border-radius: 9px; }
  .brand strong { font-size: 16px; }
  .site-nav { width: 100%; justify-content: space-between; gap: 16px; }
  .site-nav a { font-size: 13px; min-height: 50px; }
  .hero { padding-block: 26px 28px; }
  .document-layout { display: block; padding-block: 28px 44px; }
  .toc { position: static; margin-bottom: 32px; padding-bottom: 24px; border-bottom: 1px solid var(--line); }
  .toc-label { margin-bottom: 10px; }
  .toc ol { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 16px; }
  .toc a { padding-block: 10px; font-size: 12px; }
  .toc .aside-link { display: none; }
  .document { font-size: 15px; }
  .document h2 { font-size: 19px; }
  .document section { padding-block: 28px; }
  .faq .answer { padding-right: 0; }
  th, td { padding: 12px; }
  table { min-width: 550px; }
  .footer-inner { flex-direction: column; gap: 8px; }
  .footer-links { gap: 0 20px; }
}
@media print {
  :root { --paper: white; --ink: black; --muted: #444; }
  body { font-size: 11pt; }
  .site-header, .toc, .site-footer, .back-top, .skip-link { display: none; }
  .wrap { width: 100%; }
  .hero { padding-block: 0 20px; }
  .document-layout { display: block; padding-block: 20px 0; }
  .document h2, .document h3 { break-after: avoid; }
  table { min-width: 0; }
  .table-scroll { overflow: visible; }
  a { color: black; }
}
