:root { color-scheme: light; }
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: #f4f5f7; color: #1f2329; font: 15px/1.7 -apple-system, "PingFang SC", "Microsoft YaHei", "Noto Sans SC", sans-serif; }
.doc { max-width: 760px; margin: 0 auto; padding: 20px 16px 48px; background: #fff; min-height: 100vh; overflow-wrap: anywhere; }
h1 { font-size: 22px; line-height: 1.4; margin: 8px 0 12px; }
h2 { font-size: 18px; line-height: 1.45; margin: 28px 0 8px; }
h3 { font-size: 16px; line-height: 1.5; margin: 20px 0 6px; }
p { margin: 8px 0; }
ul, ol { margin: 8px 0; padding-left: 1.4em; }
li { margin: 4px 0; }
strong { font-weight: 600; }
a { color: #245bdb; }
hr { border: 0; border-top: 1px solid #e3e5e9; margin: 20px 0; }
.table { overflow-x: auto; margin: 12px 0; }
table { border-collapse: collapse; width: 100%; font-size: 13px; line-height: 1.55; }
th, td { border: 1px solid #e3e5e9; padding: 6px 8px; text-align: left; vertical-align: top; }
th { background: #f2f3f5; font-weight: 600; }
.index li { margin: 10px 0; font-size: 16px; }
.foot { margin-top: 32px; color: #6b7079; font-size: 12px; }
@media (prefers-color-scheme: dark) {
  :root { color-scheme: dark; }
  body { background: #111317; color: #e6e8eb; }
  .doc { background: #1a1d22; }
  a { color: #7ea6ff; }
  hr, th, td { border-color: #33373e; }
  th { background: #23272e; }
  .foot { color: #9aa0a8; }
}