:root {
  color-scheme: light;
  --ink: #172b24;
  --muted: #50655b;
  --green: #075a3d;
  --line: #d6e2db;
  --surface: #ffffff;
  --background: #f5f8f6;
}
* { box-sizing: border-box; }
html { font-size: 100%; scroll-padding-top: 1.5rem; }
body {
  margin: 0;
  background: var(--background);
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", sans-serif;
  font-size: 1rem;
  line-height: 1.85;
  overflow-wrap: anywhere;
}
a { color: var(--green); text-underline-offset: .22em; }
a:hover { text-decoration-thickness: .13em; }
a:focus-visible { outline: 3px solid var(--green); outline-offset: 5px; border-radius: 2px; }
.wrap { width: min(56rem, calc(100% - 2rem)); margin-inline: auto; }
.site-header { background: var(--green); color: white; }
.header-inner { min-height: 4.5rem; display: flex; gap: 1rem; align-items: center; justify-content: space-between; flex-wrap: wrap; padding-block: .8rem; }
.brand { font-size: 1.125rem; font-weight: 700; text-decoration: none; }
.site-header a { color: white; }
.site-header a:focus-visible { outline-color: white; }
.header-label { font-size: .875rem; }
main { padding-block: 2rem 3.5rem; }
.doc { background: var(--surface); border: 1px solid var(--line); border-radius: .75rem; padding: clamp(1.25rem, 4vw, 3rem); }
h1 { font-size: clamp(1.85rem, 5vw, 2.5rem); line-height: 1.35; margin: .25rem 0 .75rem; letter-spacing: -.02em; }
h2 { font-size: 1.3rem; line-height: 1.55; margin: 0 0 .9rem; color: var(--green); }
h3 { font-size: 1.05rem; margin: 1.25rem 0 .35rem; }
p { margin: .7rem 0; }
ul, ol { padding-left: 1.4rem; margin: .75rem 0; }
li + li { margin-top: .55rem; }
.meta { font-size: .875rem; color: var(--muted); margin: .3rem 0; }
.notice { padding: 1rem 1.15rem; margin: 1.5rem 0; background: #eef6f1; border-left: 3px solid var(--green); border-radius: 0 .4rem .4rem 0; }
.notice p:first-child { margin-top: 0; }
.notice p:last-child { margin-bottom: 0; }
.toc { border-block: 1px solid var(--line); padding-block: 1.1rem; margin-block: 1.5rem; }
.toc h2 { font-size: 1rem; margin-bottom: .7rem; }
.toc ol { columns: 2; column-gap: 2rem; margin: 0; }
.toc li { break-inside: avoid; margin-block: .3rem; }
section { margin-top: 2.25rem; }
section + section { border-top: 1px solid var(--line); padding-top: 2rem; }
.details { display: grid; grid-template-columns: 5.5rem minmax(0, 1fr); gap: .35rem 1rem; margin-block: .8rem 1.2rem; }
.details dt { color: var(--muted); }
.details dd { margin: 0; }
.site-footer { border-top: 1px solid var(--line); padding-block: 1.5rem; color: var(--muted); font-size: .875rem; }
.footer-inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .75rem; }
.skip-link { position: absolute; left: 1rem; top: -8rem; padding: .65rem 1rem; background: white; z-index: 2; }
.skip-link:focus { top: 1rem; }
@media (max-width: 38rem) {
  .toc ol { columns: 1; }
  .doc { border-radius: .5rem; }
  main { padding-top: 1rem; }
  .details { grid-template-columns: 1fr; gap: 0; }
  .details dd { margin-bottom: .6rem; }
}
@media print {
  body { background: white; color: black; font-size: 11pt; }
  .site-header, .site-footer, .toc, .skip-link { display: none; }
  .wrap { width: 100%; }
  main { padding: 0; }
  .doc { border: 0; padding: 0; }
  section { break-inside: auto; }
  h2, h3 { break-after: avoid; }
  a { color: inherit; }
}
