@charset "UTF-8";
:root { color-scheme: light; --paper:#f6f8fc; --surface:#fff; --ink:#172437; --muted:#627188; --line:#dce5f0; --blue:#0868d6; --wash:#edf4fe; --shadow:0 20px 60px #1b45700a; }
:root[data-theme="dark"] { color-scheme:dark; --paper:#0b1420; --surface:#132236; --ink:#e6edf8; --muted:#a9b9cd; --line:#2c415b; --blue:#8fc4ff; --wash:#1b314d; --shadow:none; }
* { box-sizing:border-box; }
html { scroll-behavior:smooth; scroll-padding-top:100px; }
body { margin:0; color:var(--ink); background:var(--paper); font-family:-apple-system,BlinkMacSystemFont,"Segoe UI","PingFang SC","Hiragino Sans GB","Microsoft YaHei",sans-serif; line-height:1.8; }
a { color:var(--blue); text-decoration:none; }
a:hover { text-decoration:underline; }
button,input,summary { font:inherit; }
button,a,summary { -webkit-tap-highlight-color:transparent; }
:focus-visible { outline:3px solid var(--blue); outline-offset:4px; }
[hidden] { display:none!important; }
.skip { position:fixed; top:-100px; left:20px; z-index:50; padding:10px; background:var(--surface); }
.skip:focus { top:10px; }
.reader-header { position:sticky; top:0; z-index:20; background:var(--surface); border-bottom:1px solid var(--line); }
.reader-nav { max-width:1280px; margin:auto; min-height:76px; padding:12px 36px; display:flex; align-items:center; gap:24px; }
.reader-brand { display:flex; align-items:center; gap:18px; color:var(--ink); font-size:13px; }
.reader-brand img { width:84px; height:36px; }
:root[data-theme="dark"] .reader-brand img { filter:brightness(0) invert(1); }
.reader-brand span { padding-left:18px; border-left:1px solid var(--line); }
.reader-nav .home { margin-left:auto; color:var(--muted); font-size:14px; }
.theme-button { background:none; border:1px solid var(--line); border-radius:24px; min-height:42px; padding:4px 15px; color:var(--ink); cursor:pointer; font-size:13px; }
.reader-hero { max-width:1208px; margin:0 auto; padding:60px 0 44px; display:grid; grid-template-columns:1.3fr 1fr; align-items:center; gap:70px; }
.eyebrow { color:var(--blue); font-size:11px; letter-spacing:.15em; font-weight:650; margin:0 0 16px; }
.reader-hero h1 { font-size:clamp(32px,4.2vw,54px); letter-spacing:-.045em; line-height:1.22; margin:0 0 20px; font-weight:650; }
.reader-hero h1 span { color:var(--blue); }
.hero-copy { color:var(--muted); margin:0; font-size:15px; }
.guide-tags { display:flex; flex-wrap:wrap; gap:10px; margin-top:22px; font-size:12px; color:var(--muted); }
.guide-tags span { border:1px solid var(--line); border-radius:20px; padding:4px 12px; }
.download-card { background:var(--surface); border:1px solid var(--line); border-radius:20px; padding:26px 28px; box-shadow:var(--shadow); }
.download-card h2 { font-size:19px; margin:0 0 4px; }
.download-card p { font-size:13px; color:var(--muted); margin:0 0 16px; }
.download-actions { display:flex; flex-wrap:wrap; gap:10px; }
.action { display:inline-flex; justify-content:center; align-items:center; min-height:46px; padding:10px 18px; border:1px solid var(--line); border-radius:9px; color:var(--ink); font-size:13px; font-weight:550; }
.action.primary { color:white; background:#0868d6; border-color:#0868d6; }
.action:hover { text-decoration:none; filter:brightness(.95); }
.download-card .file-note { margin:13px 0 0; font-size:11px; }
.reader-layout { max-width:1208px; margin:0 auto 70px; display:grid; grid-template-columns:278px minmax(0,1fr); gap:38px; align-items:start; }
.toc { position:sticky; top:96px; border:1px solid var(--line); border-radius:14px; background:var(--surface); overflow:hidden; }
.toc>summary { padding:17px 19px; font-weight:600; cursor:pointer; list-style:none; display:flex; justify-content:space-between; font-size:15px; }
.toc>summary::after { content:'−'; color:var(--muted); }
.toc:not([open])>summary::after { content:'+'; }
.toc-body { padding:0 13px 16px; }
.toc label { display:block; font-size:11px; color:var(--muted); margin:0 6px 6px; }
.toc input { width:100%; border:1px solid var(--line); color:var(--ink); background:var(--paper); padding:9px 12px; border-radius:7px; font-size:13px; min-height:42px; }
.toc-tree { margin-top:14px; max-height:calc(100dvh - 282px); overflow:auto; overscroll-behavior:contain; scrollbar-width:thin; }
.toc-group { border-top:1px solid var(--line); padding:7px 0; }
.toc-group summary { cursor:pointer; font-size:13px; padding:7px 4px; font-weight:550; }
.toc a { display:block; color:var(--muted); font-size:12px; padding:6px 10px; border-radius:6px; overflow-wrap:anywhere; }
.toc a:hover,.toc a[aria-current="location"] { color:var(--blue); background:var(--wash); text-decoration:none; }
.toc a[data-depth="3"] { padding-left:20px; }
.toc a[data-depth="4"],.toc a[data-depth="5"] { padding-left:28px; }
.search-status { padding:8px 5px 0; font-size:12px; color:var(--muted); }
.article { min-width:0; border:1px solid var(--line); border-radius:18px; padding:36px 44px; background:var(--surface); box-shadow:var(--shadow); font-size:15px; overflow-wrap:anywhere; }
.article h2 { font-size:27px; line-height:1.5; margin:50px 0 22px; letter-spacing:-.025em; border-top:1px solid var(--line); padding-top:30px; }
.article h2:first-child { border:0; padding:0; margin:0 0 24px; font-size:22px; }
.article h3 { font-size:20px; line-height:1.55; margin:32px 0 14px; }
.article h4 { font-size:17px; line-height:1.65; margin:24px 0 12px; }
.article h5,.article h6 { font-size:15px; line-height:1.65; margin:24px 0 10px; }
.article [id] { scroll-margin-top:100px; }
.article p { margin:12px 0 18px; }
.article li { margin:7px 0; }
.article ul,.article ol { padding-left:24px; }
.article strong { font-weight:650; }
.article a { text-decoration:underline; text-underline-offset:3px; }
.article code { font: .88em ui-monospace,SFMono-Regular,Consolas,monospace; background:var(--wash); border-radius:4px; padding:2px 5px; }
.article pre { white-space:pre-wrap; }
.article figure { margin:22px 0 28px; break-inside:avoid; }
.article figure a { display:block; cursor:zoom-in; border-radius:10px; overflow:hidden; border:1px solid var(--line); background:#fff; }
.article figure img { display:block; max-width:100%; width:auto; max-height:620px; height:auto; margin:auto; }
.article figcaption { color:var(--muted); font-size:11px; line-height:1.65; margin-top:8px; }
.pending-image { border:1px dashed #9caec5; border-radius:10px; background:var(--wash); min-height:200px; display:flex; flex-direction:column; justify-content:center; text-align:center; padding:24px; }
.pending-image strong { font-size:16px; }
.pending-image p { font-size:12px; margin:6px 0; color:var(--muted); }
.pending-image figcaption { margin-top:12px; }
.reader-end { margin-top:48px; border-top:1px solid var(--line); padding-top:24px; color:var(--muted); font-size:13px; }
.reader-footer { max-width:1208px; margin:0 auto 35px; font-size:12px; color:var(--muted); display:flex; justify-content:space-between; gap:20px; }
.back-top { position:fixed; bottom:22px; right:22px; background:var(--surface); border:1px solid var(--line); border-radius:24px; padding:10px 16px; font-size:12px; box-shadow:var(--shadow); }
.image-dialog { border:0; border-radius:14px; background:var(--surface); color:var(--ink); padding:18px; max-width:96vw; max-height:96dvh; }
.image-dialog::backdrop { background:#07111edb; }
.image-dialog img { display:block; max-width:90vw; max-height:80dvh; object-fit:contain; }
.image-dialog button { float:right; border:1px solid var(--line); color:var(--ink); background:var(--surface); padding:6px 15px; min-height:42px; border-radius:8px; cursor:pointer; margin-bottom:12px; }
.image-dialog p { font-size:12px; color:var(--muted); }
.print-toc,.original-title { display:none; }
@media(max-width:1280px) { .reader-hero,.reader-layout,.reader-footer { margin-left:36px; margin-right:36px; } }
@media(max-width:900px) { .reader-hero { gap:30px; }.reader-layout { grid-template-columns:220px minmax(0,1fr); gap:22px; }.article { padding:28px; }.reader-hero h1 { font-size:39px; } }
@media(max-width:700px) { .reader-nav { min-height:64px; padding:10px 18px; gap:12px; }.reader-brand span { display:none; }.reader-nav .home { font-size:12px; }.theme-button { font-size:12px; padding-inline:10px; }.reader-hero,.reader-layout,.reader-footer { margin-left:18px; margin-right:18px; }.reader-hero { display:block; padding:36px 0 24px; }.reader-hero h1 { font-size:38px; }.hero-copy { font-size:14px; }.download-card { margin-top:26px; padding:22px; border-radius:14px; }.reader-layout { display:block; }.toc { position:static; margin-bottom:20px; }.toc-tree { max-height:52dvh; }.article { padding:24px 20px; font-size:15px; border-radius:13px; }.article h2 { font-size:24px; }.article h3 { font-size:19px; }.reader-footer { display:block; padding-bottom:44px; }.back-top { bottom:15px; right:15px; }.pending-image { padding:20px 12px; } }
@media(prefers-reduced-motion:reduce) { html { scroll-behavior:auto; } }
@media print {
  :root { color-scheme:light; --paper:#fff; --surface:#fff; --ink:#172437; --muted:#566579; --line:#dce5f0; --blue:#0868d6; --wash:#edf4fe; }
  @page { size:A4; margin:18mm 17mm 20mm; }
  body { background:#fff; font-size:10.5pt; -webkit-print-color-adjust:exact; print-color-adjust:exact; }
  .reader-header,.toc,.download-card,.back-top,.reader-footer,.reader-end,.image-dialog,.skip { display:none!important; }
  .reader-hero { display:block; margin:0; padding:30mm 0 18mm; }
  .reader-hero h1 { font-size:36pt; }.hero-copy { font-size:12pt; }.guide-tags { font-size:9pt; }.original-title { display:block; font-size:10pt; margin-top:26pt; color:var(--muted); }
    .print-toc { display:block; break-before:page; }
  .print-toc h2 { font-size:20pt; }.print-toc ul { list-style:none; margin:0; padding:0; columns:2; column-gap:24pt; }
  .print-toc li { font-size:10pt; margin:4pt 0; }.print-toc li[data-depth="1"] { margin-top:15pt; font-weight:600; font-size:12pt; }
  .print-toc li[data-depth="2"] { padding-left:14pt; }
  .reader-layout { display:block; margin:0; }.article { border:0; padding:0; border-radius:0; box-shadow:none; font-size:10.5pt; }
  .article h2 { break-before:page; border:0; padding-top:0; margin:0 0 16pt; font-size:21pt; }
  .article h2:first-child { display:none; }.article h3 { font-size:15pt; margin-top:18pt; }.article h4 { font-size:12pt; }.article h5,.article h6 { font-size:10.5pt; }
  .article h2,.article h3,.article h4,.article h5,.article h6 { break-after:avoid; }
  .article p,.article li { orphans:3; widows:3; }
  .article figure { margin:12pt 0 18pt; }.article figure img { max-height:190mm; width:auto; max-width:100%; }
  .article figcaption { font-size:8pt; }.article figure a { border:0; }
  .pending-image { min-height:42mm; }.pending-image strong { font-size:12pt; }.pending-image p { font-size:9pt; }
  a { color:#0868d6; } .article a { text-decoration:none; }
}

/* 代码及系统路径表格：在线、离线和 PDF 使用同一内容。 */
.article pre { padding:16px; border:1px solid var(--line); border-radius:8px; background:var(--wash); overflow-wrap:anywhere; }
.article pre code { display:block; padding:0; background:none; font-size:13px; line-height:1.65; font-variant-ligatures:none; }
.article table { border-collapse:collapse; width:100%; margin:18px 0; font-size:.9em; }
.article th,.article td { border:1px solid var(--line); padding:10px 12px; text-align:left; overflow-wrap:anywhere; }
.article th { background:var(--wash); }
@media print { .article pre { padding:10pt; }.article pre code { font-size:8pt; }.article table { font-size:9pt; } }
