:root {
  color-scheme: light;
  font-family: "Microsoft YaHei", "PingFang SC", system-ui, sans-serif;
  color: #22382e;
  background: #f8f8f2;
  line-height: 1.8;
}
* { box-sizing: border-box; }
body { margin: 0; }
main { max-width: 51rem; margin: auto; padding: 1.1rem clamp(1.15rem, 5vw, 3.5rem) 4rem; }
nav, footer { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .5rem 1.25rem; }
nav, footer, .version { font-size: .93rem; }
nav:first-child { padding-bottom: .8rem; border-bottom: 1px solid #ccd3c7; }
header { margin: 2rem 0 1.5rem; }
h1 { font-size: clamp(2rem, 5vw, 3rem); }
h1, h2, h3 { line-height: 1.4; text-wrap: balance; }
h2 { font-size: 1.4rem; margin: 2.1rem 0 .65rem; }
h3 { font-size: 1.08rem; margin: 1.4rem 0 .2rem; }
p { margin: .55rem 0; }
.version { color: #526358; }
a { color: #215e45; text-underline-offset: .2em; overflow-wrap: anywhere; }
a:hover { color: #123a28; }
a:focus-visible { outline: 2px solid currentColor; outline-offset: 3px; }
.contact, .contents { background: #edf2e9; padding: .75rem 1rem; border-radius: .4rem; }
.contact { display: grid; grid-template-columns: max-content 1fr; gap: .3rem 1rem; }
dt { font-weight: 650; }
dd { margin: 0; overflow-wrap: anywhere; }
.contents { justify-content: flex-start; margin: 1rem 0; }
.details dt { margin-top: .8rem; }
footer { margin-top: 2.2rem; padding-top: 1rem; border-top: 1px solid #ccd3c7; }
@media print {
  :root { color: black; background: white; }
  main { max-width: none; padding: 0; }
  nav, footer { display: none; }
  h2, h3, dt { break-after: avoid; }
}
