.deepdoc-intro {
  padding-bottom: clamp(28px, 5vw, 64px);
}

.deepdoc-intro > :last-child {
  margin-bottom: 0;
}

.deepdoc-layout {
  padding-bottom: var(--section-space);
}

.deepdoc-layout .doc-chapter {
  border-top: 1px solid var(--border);
  padding-top: clamp(18px, 3vw, 32px);
}

.deepdoc-layout .doc-chapter > h2 {
  margin-top: .55em;
  text-wrap: pretty;
}

.deepdoc-layout :is(.table-scroll, .callout) {
  margin-block: 1.35em;
}

.deepdoc-layout .doc-chapter > :last-child {
  margin-bottom: 0;
}

/* 本页使用静态下载入口；共享页脚若另行注入入口，仅保留静态项。 */
body:has(#knowledge-download) .dl-fab:not(#knowledge-download) {
  display: none;
}