/* ==========================================================================
   VPNPF — deepdoc.css
   疑难解答手册(knowledge.html)专属样式:页头、正文表格、步骤列表微调、
   横向缓滚带载体、章节目录载体与结尾相关页面面板。
   颜色 / 圆角 / 字体一律引用 :root 令牌,不写死设计值。
   ========================================================================== */

/* ---- 页头 ---- */
.doc-intro { padding-top: 48px; padding-bottom: 32px; }
.doc-head { max-width: 860px; }
.doc-head h1 { margin-top: 14px; font-size: clamp(34px, 4.4vw, 52px); line-height: 1.08; }
.doc-head .lead { margin-top: 16px; }
.doc-meta { margin-top: 22px; display: flex; flex-wrap: wrap; gap: 10px; }
.doc-meta li { min-width: 0; }

/* ---- 横向缓滚带(ticker-loop 配方的载体;装饰性内容,正文另有等价说明)---- */
.ticker {
  overflow: hidden;
  max-width: 100%;
  padding: 13px 0;
  background: var(--bg-panel);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent);
}
.ticker-track { display: flex; align-items: center; gap: 34px; width: max-content; }
.ticker-item {
  font-family: var(--font-mono);
  font-size: 12.5px;
  color: var(--text-muted);
  white-space: nowrap;
}
.ticker.is-static { overflow-x: auto; }

/* ---- 正文列与章节目录载体 ---- */
.doc-body { max-width: 860px; }
.doc-body .prose { max-width: none; }
.doc-body .toc-tabs { margin-bottom: 32px; }
.doc-body .steps { padding-left: 0; list-style: none; }
.doc-body .steps h3 { margin-top: 0; }
.doc-body .table-scroll { margin-top: 20px; }

/* ---- 正文表格:列宽自适应,窄屏由 .table-scroll 横滑 ---- */
.doc-body table { width: 100%; }
.doc-body table th,
.doc-body table td {
  padding: 12px 16px;
  text-align: left;
  vertical-align: top;
  font-size: 14px;
  border-bottom: 1px solid var(--border);
}
.doc-body table thead th {
  background: var(--bg-panel2);
  color: var(--text-muted);
  font-weight: 500;
  font-size: 12.5px;
  letter-spacing: .04em;
  white-space: nowrap;
}
.doc-body table tbody th { font-weight: 500; color: var(--text); }
.doc-body table tbody td { color: var(--text-muted); }
.doc-body table tbody tr:last-child th,
.doc-body table tbody tr:last-child td { border-bottom: 0; }

/* ---- 结尾:相关页面面板 ---- */
.doc-next-panel h2 { margin-top: 10px; font-size: clamp(22px, 2.6vw, 30px); }
.doc-next-panel p { margin-top: 12px; font-size: 14.5px; color: var(--text-muted); }
.doc-next-links {
  margin-top: 18px;
  display: flex; flex-direction: column; align-items: flex-start; gap: 6px;
}
.doc-next-cta { margin-top: 22px; display: flex; flex-wrap: wrap; align-items: center; gap: 22px; }

@media (max-width: 768px) {
  .doc-intro { padding-top: 32px; padding-bottom: 24px; }
  .doc-head h1 { font-size: 36px; }
  .doc-next-links { gap: 10px; }
}

@media (max-width: 420px) {
  .doc-head h1 { font-size: 32px; }
}