:root { color-scheme: light; --ink: #18302b; --muted: #65716b; --accent: #117d6b; --line: #dfe5df; --paper: #fcfcf8; }
* { box-sizing: border-box; }
html { scroll-padding-top: 96px; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 16px/1.85 "Segoe UI", "Microsoft YaHei", "PingFang SC", sans-serif; overflow-wrap: anywhere; }
a { color: var(--accent); text-underline-offset: 4px; }
a:hover { color: #075345; }
a:focus-visible, summary:focus-visible, [tabindex]:focus-visible { outline: 3px solid #117d6b; outline-offset: 5px; }
.skip-link { position: fixed; top: -100px; left: 20px; z-index: 50; padding: 8px 16px; background: white; }
.skip-link:focus { top: 12px; }
.site-header { position: sticky; top: 0; z-index: 10; background: var(--paper); border-bottom: 1px solid var(--line); }
.header-inner { max-width: 1180px; min-height: 76px; padding: 14px 28px; margin: auto; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); font-size: 17px; font-weight: 750; text-decoration: none; white-space: nowrap; }
.brand span { padding-left: 14px; margin-left: 4px; border-left: 1px solid var(--line); font-size: 13px; font-weight: 400; color: var(--muted); }
.brand img { border-radius: 8px; }
.header-links { display: flex; align-items: center; gap: 25px; font-size: 13px; }
.header-links > a:first-child { color: var(--muted); text-decoration: none; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 46px; padding: 10px 20px; border-radius: 6px; background: var(--accent); color: white; text-decoration: none; font-size: 14px; font-weight: 600; line-height: 1.5; }
.button:hover { background: #096653; color: white; }
.button.small { min-height: 40px; padding: 9px 16px; font-size: 13px; }
.layout { display: grid; grid-template-columns: minmax(0, 770px) 220px; gap: 80px; max-width: 1180px; padding: 62px 28px 80px; margin: auto; }
article, section { min-width: 0; }
.eyebrow { margin: 0 0 18px; color: var(--accent); font-size: 12px; font-weight: 700; letter-spacing: .1em; }
h1 { margin: 0; font-size: clamp(34px, 4.5vw, 54px); line-height: 1.25; letter-spacing: -.035em; font-weight: 750; }
.intro { max-width: 650px; margin: 24px 0; color: var(--muted); font-size: 18px; line-height: 1.9; }
.meta { display: flex; flex-wrap: wrap; gap: 7px 20px; color: var(--muted); font-size: 12px; }
.quick-answer { margin-top: 32px; padding: 20px 24px; border-left: 3px solid var(--accent); background: #edf3eb; font-size: 14px; }
.quick-answer p { margin: 5px 0 0; }
section { margin-top: 48px; padding-top: 36px; border-top: 1px solid var(--line); }
.section-number { margin: 0 0 10px; color: var(--accent); font-size: 11px; letter-spacing: .1em; font-weight: 700; }
h2 { margin: 0 0 20px; font-size: 27px; line-height: 1.5; letter-spacing: -.02em; }
h3 { margin: 30px 0 12px; font-size: 19px; }
p { margin: 15px 0; }
ul, ol { padding-left: 25px; }
li { padding-left: 5px; margin: 12px 0; }
.checklist { list-style-type: square; }
code { padding: 2px 5px; border-radius: 3px; background: #eef0e9; color: #205c4d; font: .87em/1.7 Consolas, "Courier New", monospace; overflow-wrap: anywhere; }
.table-scroll { width: 100%; overflow-x: auto; margin: 24px 0; border: 1px solid var(--line); border-radius: 6px; }
table { width: 100%; border-collapse: collapse; text-align: left; font-size: 14px; }
th { background: #eef2ea; color: #476052; font-size: 12px; font-weight: 600; }
td, th { padding: 14px 16px; vertical-align: top; }
td { border-top: 1px solid var(--line); }
td:first-child { width: 27%; }
.note { padding: 15px 18px; color: #636a52; background: #f2f1e6; border-radius: 4px; font-size: 13px; }
.inline-cta { display: flex; align-items: center; justify-content: space-between; gap: 22px; margin-top: 28px; padding: 22px 24px; border: 1px solid #cfded2; border-radius: 6px; background: #f0f5ec; }
.inline-cta strong { font-size: 15px; }
.inline-cta p { margin: 4px 0 0; color: var(--muted); font-size: 13px; }
.inline-cta .button { flex-shrink: 0; }
.code-heading { padding: 10px 18px; margin-top: 22px; border-radius: 6px 6px 0 0; background: #30463d; color: #c8d9ca; font: 12px/1.6 Consolas, "Microsoft YaHei", monospace; }
pre { margin: 0 0 22px; padding: 22px; border-radius: 0 0 6px 6px; background: #1c3029; overflow-x: auto; }
pre code { padding: 0; background: none; color: #e1eddf; font-size: 13px; white-space: pre; overflow-wrap: normal; }
details { padding: 18px 0; border-bottom: 1px solid var(--line); }
summary { cursor: pointer; font-weight: 600; font-size: 15px; }
details p { color: var(--muted); font-size: 14px; }
.closing-cta { padding: 32px; border: 1px solid #cfded2; border-radius: 8px; background: #edf3e9; }
.closing-cta h2 { font-size: 25px; }
.closing-cta > p:not(.eyebrow) { color: var(--muted); font-size: 14px; }
.cta-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 20px; margin-top: 24px; font-size: 13px; }
.sidebar { padding-top: 12px; }
.toc { position: sticky; top: 116px; padding-left: 24px; border-left: 1px solid var(--line); }
.toc .eyebrow { margin-bottom: 15px; font-size: 11px; }
.toc nav { display: flex; flex-direction: column; gap: 13px; }
.toc nav a { color: var(--muted); text-decoration: none; font-size: 13px; }
.toc nav a:hover { color: var(--accent); }
.sidebar-help { margin-top: 32px; padding-top: 24px; border-top: 1px solid var(--line); font-size: 13px; }
.sidebar-help p { margin: 8px 0 12px; color: var(--muted); font-size: 12px; }
.site-footer { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; max-width: 1124px; margin: auto; padding: 25px 0 35px; border-top: 1px solid var(--line); color: var(--muted); font-size: 12px; }
@media (max-width: 1000px) { .layout { gap: 40px; grid-template-columns: minmax(0, 1fr) 180px; } .site-footer { margin: 0 28px; } }
@media (max-width: 760px) { .layout { display: flex; flex-direction: column; padding-top: 36px; gap: 28px; } .sidebar { order: -1; padding: 0; } .toc { position: static; padding: 0; border: 0; } .toc .eyebrow, .sidebar-help { display: none; } .toc nav { flex-direction: row; flex-wrap: wrap; gap: 8px 18px; padding-bottom: 22px; border-bottom: 1px solid var(--line); } .toc nav a { font-size: 12px; } .header-links > a:first-child { display: none; } .intro { font-size: 16px; } .inline-cta { align-items: flex-start; flex-direction: column; } h2 { font-size: 23px; } .closing-cta { padding: 24px; } }
@media (max-width: 420px) { .header-inner { padding: 14px 18px; gap: 12px; } .brand { font-size: 15px; gap: 7px; } .brand span { display: none; } .layout { padding-right: 20px; padding-left: 20px; } .quick-answer { padding: 18px; } td, th { padding: 12px 10px; } table { font-size: 12px; } pre { padding: 16px; } .site-footer { margin: 0 20px; } }
