:root { color-scheme: light; --paper: #f6f7f3; --ink: #243020; --green: #34542c; --muted: #56624f; --line: #d6dece; --panel: #fff; }
* { box-sizing: border-box; }
html { scroll-padding-top: 1rem; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "PingFang TC", "Microsoft YaHei", sans-serif; font-size: 16px; line-height: 1.8; overflow-wrap: anywhere; }
a { color: var(--green); text-underline-offset: .2em; }
a:hover { text-decoration-thickness: 2px; }
a:focus-visible, summary:focus-visible { outline: 3px solid var(--green); outline-offset: 4px; border-radius: 3px; }
.skip { position: absolute; left: 1rem; top: -6rem; background: white; padding: .5rem 1rem; z-index: 2; }
.skip:focus { top: 1rem; }
.shell { width: min(100% - 40px, 760px); margin-inline: auto; }
.site-header { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px; padding-block: 26px 20px; border-bottom: 1px solid var(--line); }
.brand { text-decoration: none; font-size: 1.3rem; font-weight: 760; letter-spacing: -.035em; }
.brand-mark { display: inline-grid; place-items: center; width: 30px; height: 30px; margin-right: 9px; border-radius: 9px; background: var(--green); color: var(--paper); font-size: 1rem; }
.languages { display: flex; flex-wrap: wrap; gap: 4px 8px; font-size: .875rem; }
.languages a { display: inline-block; padding: 7px 10px; min-height: 40px; border-radius: 20px; text-decoration: none; }
.languages [aria-current="page"] { background: var(--green); color: white; }
main { padding-block: 32px 42px; }
.eyebrow { color: var(--green); font-size: .78rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; margin: 0 0 8px; }
h1 { font-size: clamp(2rem, 6vw, 2.7rem); letter-spacing: -.04em; line-height: 1.25; margin: 0 0 18px; }
h2 { font-size: 1.25rem; line-height: 1.5; margin: 0 0 12px; letter-spacing: -.015em; }
p { margin: 0 0 14px; }
.meta { color: var(--muted); font-size: .875rem; margin-bottom: 24px; }
.intro { font-size: 1.05rem; }
.notice { padding: 16px 20px; margin: 20px 0; border: 1px solid #9c6a2e; border-radius: 14px; background: #fff5df; color: #603e16; }
.toc { background: #eaf0e4; border: 1px solid var(--line); border-radius: 16px; padding: 18px 22px; margin: 28px 0 32px; }
.toc summary { cursor: pointer; font-weight: 700; color: var(--green); }
.toc ol { padding-left: 1.4rem; margin: 12px 0 0; }
.toc a { display: inline-block; padding: 3px 0; }
section { padding-block: 6px 22px; margin-bottom: 20px; border-bottom: 1px solid var(--line); }
section:last-of-type { margin-bottom: 0; }
ul { padding-left: 1.35rem; margin: 0 0 16px; }
li { padding-left: .15rem; margin-bottom: 9px; }
code { background: #eaf0e4; padding: 2px 5px; border-radius: 4px; font-size: .88em; }
.muted, small { color: var(--muted); }
.site-footer { border-top: 1px solid var(--line); padding-block: 22px 36px; color: var(--muted); font-size: .875rem; }
.footer-links { display: flex; flex-wrap: wrap; gap: 12px 24px; margin-bottom: 12px; }
.footer-links a { min-height: 36px; display: inline-flex; align-items: center; }
.cards { display: grid; gap: 18px; margin-top: 28px; }
.card { background: var(--panel); border: 1px solid var(--line); border-radius: 18px; padding: 24px; margin: 0; }
.card nav { display: flex; flex-wrap: wrap; gap: 12px 26px; }
.card nav a { display: inline-flex; min-height: 44px; align-items: center; }
@media (max-width: 420px) { .shell { width: calc(100% - 32px); } .site-header { align-items: flex-start; } .languages { width: 100%; } main { padding-top: 26px; } .toc { padding: 16px 18px; } }
@media print { body { background: white; color: black; font-size: 11pt; } .shell { width: 100%; max-width: none; } .skip, .languages, .toc, .footer-links { display: none; } main { padding-block: 16px; } section { break-inside: avoid; } h2 { break-after: avoid; } a { color: inherit; } .site-header { padding-top: 0; } }
