/* ==========================================================================
   天美mv免费观看完整版 · 全站样式
   base → layout → components → pages → responsive
   ========================================================================== */

/* --------------------------------------------------------------------------
   base：变量、重置、排版基线
   -------------------------------------------------------------------------- */

:root {
  --bg: #FBF9F6;
  --ink: #1B1A18;
  --ink-soft: #6B655D;
  --line: #E6E0D7;
  --wash: #F3EFE8;
  --accent: #A63A24;
  --accent-dark: #8A2F1D;
  --shell: 1120px;
  --col-main: 720px;
  --col-side: 240px;
  --gap: 40px;
  --radius: 6px;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC",
    "Hiragino Sans GB", "Source Han Sans SC", "Noto Sans CJK SC",
    "Microsoft YaHei", "Heiti SC", sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.75;
  font-variant-numeric: tabular-nums;
}

h1,
h2,
h3,
h4,
p,
figure,
blockquote,
ol,
ul,
dl {
  margin: 0;
}

ol,
ul {
  padding: 0;
  list-style: none;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

a:hover,
a:focus-visible {
  color: var(--accent);
}

button {
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
  padding: 0;
  cursor: pointer;
}

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.skip-link {
  position: absolute;
  left: 12px;
  top: -60px;
  z-index: 40;
  padding: 10px 16px;
  background: var(--ink);
  color: #fff;
  border-radius: var(--radius);
  transition: top .18s ease;
}

.skip-link:focus {
  top: 12px;
  color: #fff;
}

/* --------------------------------------------------------------------------
   layout：外壳、页头、导航、主容器、页脚
   -------------------------------------------------------------------------- */

.site-body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  background: var(--bg);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  width: 100%;
  max-width: var(--shell);
  margin: 0 auto;
  padding: 0 24px;
  min-height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  color: var(--ink);
  flex: 0 0 auto;
}

.brand-mark {
  width: 10px;
  height: 10px;
  background: var(--accent);
  border-radius: 2px;
  flex: 0 0 auto;
}

.brand-text {
  font-size: 17px;
  font-weight: 600;
  line-height: 1.3;
  white-space: nowrap;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  flex: 0 0 auto;
}

.nav-toggle-bar {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--ink);
}

.primary-nav {
  flex: 1 1 auto;
  display: flex;
  justify-content: flex-end;
}

.nav-list {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 4px 22px;
}

.nav-link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-size: 15px;
  color: var(--ink-soft);
  border-bottom: 2px solid transparent;
  transition: color .16s ease, border-color .16s ease;
}

.nav-link:hover,
.nav-link:focus-visible {
  color: var(--accent);
}

.nav-link.is-current {
  color: var(--accent);
  border-bottom-color: var(--accent);
}

.site-main {
  width: 100%;
  max-width: var(--shell);
  margin: 0 auto;
  padding: 0 24px;
  flex: 1 0 auto;
}

/* 内页通用骨架 */
.breadcrumb {
  padding: 22px 0 0;
  font-size: 13px;
  color: var(--ink-soft);
}

.breadcrumb-list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  line-height: 1.6;
}

.breadcrumb-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.breadcrumb-item + .breadcrumb-item::before,
.breadcrumb-list > .breadcrumb-item + .breadcrumb-item::before {
  content: "/";
  color: var(--line);
}

.breadcrumb-item.is-current {
  color: var(--ink);
}

.breadcrumb-sep {
  color: #C4BCB1;
}

.breadcrumb-current {
  color: var(--ink);
}

.page-title {
  width: 100%;
  border-bottom: 1px solid var(--line);
  padding: 28px 0 26px;
  margin-bottom: 0;
}

.page-title-inner {
  max-width: 100%;
}

.page-kicker {
  font-size: 13px;
  letter-spacing: .04em;
  color: var(--ink-soft);
  margin-bottom: 10px;
}

.site-brand-heading {
  font-size: clamp(28px, 4vw, 40px);
  line-height: 1.25;
  font-weight: 700;
  color: var(--ink);
}

.page-lead,
.page-intro,
.page-desc {
  margin-top: 12px;
  max-width: 66ch;
  color: var(--ink-soft);
  font-size: 15px;
  line-height: 1.8;
}

.page-meta {
  margin-top: 14px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 10px;
  font-size: 13px;
  color: var(--ink-soft);
}

.page-meta-label,
.page-meta-date,
.page-date,
.page-owner,
.page-section-tag,
.page-meta-tag {
  font-size: 13px;
  color: var(--ink-soft);
}

.page-meta-tag,
.page-section-tag {
  padding: 2px 8px;
  background: var(--wash);
  border-radius: 3px;
  letter-spacing: .04em;
}

.page-meta-sep {
  color: #C4BCB1;
}

/* 内页主栏标题区（正文内 H1 容器） */
.page-header {
  padding: 26px 0 6px;
}

.page-header .page-title {
  border: 0;
  padding: 0;
  margin: 0;
  font-size: clamp(26px, 3.4vw, 34px);
  line-height: 1.28;
  font-weight: 700;
  color: var(--ink);
}

/* 页脚 */
.site-footer {
  margin-top: 72px;
  border-top: 1px solid var(--line);
  background: var(--bg);
}

.footer-inner {
  width: 100%;
  max-width: var(--shell);
  margin: 0 auto;
  padding: 40px 24px 32px;
  display: grid;
  grid-template-columns: minmax(220px, 1fr) minmax(0, 1.6fr);
  gap: 32px 48px;
  align-items: start;
}

.footer-brand {
  min-width: 0;
}

.footer-name {
  font-size: 16px;
  font-weight: 600;
  color: var(--ink);
}

.footer-slogan {
  margin-top: 8px;
  font-size: 14px;
  color: var(--ink-soft);
  max-width: 30ch;
}

.footer-nav {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.footer-heading {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .04em;
  color: var(--ink-soft);
  margin-bottom: 10px;
}

.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.footer-col a {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  font-size: 14px;
  color: var(--ink);
  border-bottom: 1px solid transparent;
  transition: color .16s ease, border-color .16s ease;
}

.footer-col a:hover,
.footer-col a:focus-visible {
  color: var(--accent);
  border-bottom-color: var(--accent);
}

.footer-notice,
.footer-meta {
  grid-column: 1 / -1;
  font-size: 13px;
  color: var(--ink-soft);
  line-height: 1.7;
}

.footer-notice {
  padding-top: 20px;
  border-top: 1px solid var(--line);
}

.footer-meta {
  padding-top: 4px;
}

/* --------------------------------------------------------------------------
   components：按钮、标签、列表、折叠、步骤、主题树、路径条
   -------------------------------------------------------------------------- */

.btn-primary,
.btn-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 22px;
  font-size: 15px;
  font-weight: 500;
  border-radius: var(--radius);
  transition: background-color .16s ease, color .16s ease, border-color .16s ease;
}

.btn-primary {
  background: var(--accent);
  color: #fff;
  border: 1px solid var(--accent);
}

.btn-primary:hover,
.btn-primary:focus-visible {
  background: var(--accent-dark);
  border-color: var(--accent-dark);
  color: #fff;
}

.btn-ghost {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--line);
}

.btn-ghost:hover,
.btn-ghost:focus-visible {
  color: var(--accent);
  border-color: var(--accent);
}

.tag {
  display: inline-block;
  padding: 2px 8px;
  font-size: 13px;
  letter-spacing: .04em;
  color: var(--ink-soft);
  background: var(--wash);
  border-radius: 3px;
  line-height: 1.6;
}

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 10px;
}

.section-title {
  font-size: 24px;
  line-height: 1.35;
  font-weight: 700;
  color: var(--ink);
}

.section-lead,
.section-intro {
  margin-top: 10px;
  max-width: 62ch;
  font-size: 15px;
  color: var(--ink-soft);
  line-height: 1.8;
}

.section-heading {
  font-size: 24px;
  line-height: 1.35;
  font-weight: 700;
  color: var(--ink);
}

.section-text {
  margin-top: 12px;
  font-size: 16px;
  color: var(--ink);
  max-width: 62ch;
}

.section-footnote,
.section-note {
  margin-top: 20px;
  font-size: 14px;
  color: var(--ink-soft);
  display: flex;
  flex-wrap: wrap;
  gap: 6px 16px;
}

/* 折叠问答 */
.faq-item {
  border-bottom: 1px solid var(--line);
}

.faq-item summary {
  position: relative;
  padding: 16px 34px 16px 0;
  font-size: 16px;
  font-weight: 500;
  color: var(--ink);
  cursor: pointer;
  list-style: none;
  min-height: 44px;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  position: absolute;
  right: 4px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 18px;
  color: var(--ink-soft);
}

.faq-item[open] summary::after {
  content: "–";
}

.faq-item summary:hover {
  color: var(--accent);
}

.faq-item p {
  padding: 0 34px 18px 0;
  font-size: 15px;
  color: var(--ink-soft);
  line-height: 1.8;
}

/* 主题树（内页左侧） */
.topic-tree {
  min-width: 0;
  align-self: start;
}

.topic-tree-toggle {
  display: none;
  width: 100%;
  min-height: 44px;
  padding: 0 14px;
  text-align: left;
  font-size: 14px;
  color: var(--ink);
  background: var(--wash);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.topic-tree-body {
  min-width: 0;
}

.topic-tree-heading {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .04em;
  color: var(--ink-soft);
  margin-bottom: 8px;
}

.topic-tree-heading + .topic-tree-list {
  margin-bottom: 22px;
}

.topic-tree-list {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.topic-tree-list a,
.topic-tree-link {
  display: block;
  padding: 6px 0 6px 12px;
  font-size: 14px;
  line-height: 1.6;
  color: var(--ink-soft);
  border-left: 2px solid transparent;
  transition: color .16s ease, border-color .16s ease;
}

.topic-tree-list a:hover,
.topic-tree-list a:focus-visible,
.topic-tree-link:hover,
.topic-tree-link:focus-visible {
  color: var(--accent);
  border-left-color: var(--accent);
}

.topic-tree-link.is-current {
  color: var(--accent);
  border-left-color: var(--accent);
}

.topic-tree-group {
  min-width: 0;
}

.topic-tree-related {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

/* 主题路径条 */
.topic-path {
  margin-top: 40px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
}

.topic-path-heading,
.topic-path-title,
.topic-path-label,
.path-heading {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .04em;
  color: var(--ink-soft);
  margin-bottom: 12px;
}

.topic-path-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
}

.topic-path-list a {
  font-size: 14px;
  color: var(--ink);
  border-bottom: 1px solid var(--line);
  padding-bottom: 2px;
  transition: color .16s ease, border-color .16s ease;
}

.topic-path-list a:hover,
.topic-path-list a:focus-visible {
  color: var(--accent);
  border-bottom-color: var(--accent);
}

/* 图片容器统一约束 */
figure {
  margin: 0;
  min-width: 0;
}

figure img {
  width: 100%;
  height: auto;
  object-fit: cover;
  border-radius: var(--radius);
  background: var(--wash);
}

figcaption,
.figure-caption {
  margin-top: 10px;
  font-size: 13px;
  line-height: 1.7;
  color: var(--ink-soft);
}

.section-figure,
.block-figure,
.sample-figure {
  margin: 20px 0 0;
  min-width: 0;
}

.section-figure img,
.block-figure img,
.sample-figure img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

/* --------------------------------------------------------------------------
   pages：首页
   -------------------------------------------------------------------------- */

.home-main {
  padding-top: 0;
}

/* 首屏焦点区 */
.hero {
  padding: 48px 0 44px;
  border-bottom: 1px solid var(--line);
}

.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.86fr);
  gap: 48px;
  align-items: center;
}

.hero-copy {
  min-width: 0;
}

.hero-eyebrow {
  font-size: 13px;
  letter-spacing: .04em;
  color: var(--ink-soft);
  margin-bottom: 14px;
}

.hero-copy h1 {
  font-size: clamp(28px, 4vw, 40px);
  line-height: 1.25;
  font-weight: 700;
  color: var(--ink);
}

.hero-lead {
  margin-top: 16px;
  max-width: 34em;
  font-size: 16px;
  line-height: 1.8;
  color: var(--ink-soft);
}

.hero-actions {
  margin-top: 24px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.hero-note {
  margin-top: 16px;
  font-size: 13px;
  color: var(--ink-soft);
}

.hero-media {
  min-width: 0;
}

.hero-media img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

/* 按需求分流条 */
.demand-bar {
  padding: 36px 0 40px;
  border-bottom: 1px solid var(--line);
}

.demand-list {
  margin-top: 20px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}

.demand-item {
  min-width: 0;
  background: var(--bg);
}

.demand-item a {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-height: 44px;
  padding: 16px 18px;
  transition: background-color .16s ease;
}

.demand-item a:hover,
.demand-item a:focus-visible {
  background: var(--wash);
}

.demand-goal {
  font-size: 15px;
  font-weight: 600;
  color: var(--ink);
}

.demand-item a:hover .demand-goal,
.demand-item a:focus-visible .demand-goal {
  color: var(--accent);
}

.demand-desc {
  font-size: 13px;
  line-height: 1.65;
  color: var(--ink-soft);
}

/* 页面主列 + 右侧摘要栏 */
.page-layout {
  width: 100%;
  display: grid;
  grid-template-columns: minmax(0, 1fr) var(--col-side);
  gap: var(--gap);
  align-items: start;
  padding-top: 8px;
}

.main-column {
  min-width: 0;
}

.home-main .main-column > section {
  padding: 40px 0;
  border-bottom: 1px solid var(--line);
}

.home-main .main-column > section:last-child {
  border-bottom: 0;
}

/* 三分区服务站 */
.triage-grid {
  margin-top: 22px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
}

.triage-col {
  min-width: 0;
  padding-left: 16px;
  border-left: 1px solid var(--line);
}

.triage-heading {
  font-size: 19px;
  line-height: 1.4;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 12px;
}

.triage-links {
  display: flex;
  flex-direction: column;
}

.triage-links li {
  min-width: 0;
}

.triage-links a {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-height: 44px;
  padding: 8px 0;
  font-size: 14px;
  color: var(--ink);
  border-bottom: 1px solid var(--line);
  transition: color .16s ease;
}

.triage-links a:hover,
.triage-links a:focus-visible {
  color: var(--accent);
}

.triage-hint {
  display: block;
  font-size: 13px;
  line-height: 1.6;
  color: var(--ink-soft);
}

.triage-recent {
  display: block;
  font-size: 13px;
  color: var(--ink-soft);
}

/* 频道结构速览 */
.channel-list {
  margin-top: 20px;
  display: flex;
  flex-direction: column;
  border-top: 1px solid var(--line);
}

.channel-row {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr) auto;
  align-items: start;
  gap: 16px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
  transition: background-color .16s ease;
}

.channel-row:hover {
  background: var(--wash);
}

.channel-no {
  font-size: 13px;
  letter-spacing: .04em;
  color: var(--ink-soft);
  line-height: 1.9;
}

.channel-body {
  min-width: 0;
}

.channel-name {
  font-size: 16px;
  font-weight: 600;
  line-height: 1.5;
  color: var(--ink);
}

.channel-range,
.channel-desc {
  margin-top: 4px;
  font-size: 14px;
  line-height: 1.7;
  color: var(--ink-soft);
}

.channel-link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding-left: 12px;
  font-size: 14px;
  color: var(--accent);
  white-space: nowrap;
}

.channel-link::after {
  content: "→";
  margin-left: 6px;
}

.channel-link:hover,
.channel-link:focus-visible {
  color: var(--accent-dark);
}

/* 主题特辑预览 */
.feature-list {
  margin-top: 22px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.feature-item {
  display: grid;
  grid-template-columns: 200px minmax(0, 1fr);
  gap: 24px;
  align-items: start;
  min-width: 0;
}

.feature-media {
  min-width: 0;
}

.feature-media img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.feature-body {
  min-width: 0;
}

.feature-name {
  font-size: 19px;
  font-weight: 600;
  line-height: 1.4;
  color: var(--ink);
}

.feature-desc {
  margin-top: 8px;
  font-size: 15px;
  line-height: 1.8;
  color: var(--ink-soft);
}

.feature-rule {
  margin-top: 10px;
  font-size: 14px;
  line-height: 1.7;
  color: var(--ink-soft);
}

.feature-link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  margin-top: 6px;
  font-size: 14px;
  color: var(--accent);
}

.feature-link::after {
  content: "→";
  margin-left: 6px;
}

.feature-link:hover,
.feature-link:focus-visible {
  color: var(--accent-dark);
}

/* 条目字段解读 */
.fields-grid {
  margin-top: 22px;
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(0, 1fr);
  gap: 32px;
  align-items: start;
}

.fields-figure {
  min-width: 0;
}

.fields-figure img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
}

.fields-list {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.field-item {
  min-width: 0;
  display: grid;
  grid-template-columns: 32px minmax(0, 1fr);
  gap: 12px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
}

.field-item:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.field-no {
  font-size: 13px;
  letter-spacing: .04em;
  color: var(--ink-soft);
  line-height: 1.9;
}

.field-name {
  font-size: 16px;
  font-weight: 600;
  line-height: 1.5;
  color: var(--ink);
}

.field-desc,
.field-text {
  margin-top: 4px;
  font-size: 15px;
  line-height: 1.8;
  color: var(--ink-soft);
  min-width: 0;
}

.field-item .field-desc,
.field-item .field-name {
  grid-column: 2;
}

.field-item .field-desc {
  margin-top: 0;
}

/* 使用与核对摘要 */
.guide-steps {
  margin-top: 22px;
  display: flex;
  flex-direction: column;
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}

.guide-step {
  min-width: 0;
  background: var(--bg);
  padding: 18px 20px;
}

.step-no {
  display: block;
  font-size: 13px;
  letter-spacing: .04em;
  color: var(--ink-soft);
  margin-bottom: 6px;
}

.step-name {
  font-size: 19px;
  font-weight: 600;
  line-height: 1.4;
  color: var(--ink);
}

.step-desc {
  margin-top: 6px;
  font-size: 15px;
  line-height: 1.8;
  color: var(--ink-soft);
}

.guide-more {
  margin-top: 18px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  font-size: 14px;
}

.guide-more a {
  color: var(--accent);
  border-bottom: 1px solid transparent;
  padding-bottom: 2px;
  min-height: 32px;
  display: inline-flex;
  align-items: center;
}

.guide-more a:hover,
.guide-more a:focus-visible {
  border-bottom-color: var(--accent);
}

/* 编辑准则摘要 */
.principle-list {
  margin-top: 22px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.principle-item {
  min-width: 0;
  padding-top: 14px;
  border-top: 2px solid var(--ink);
}

.principle-name {
  font-size: 16px;
  font-weight: 600;
  line-height: 1.5;
  color: var(--ink);
}

.principle-desc {
  margin-top: 8px;
  font-size: 14px;
  line-height: 1.8;
  color: var(--ink-soft);
}

.principles-more {
  margin-top: 20px;
  font-size: 14px;
}

.principles-more a {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  color: var(--accent);
  border-bottom: 1px solid transparent;
}

.principles-more a:hover,
.principles-more a:focus-visible {
  border-bottom-color: var(--accent);
}

/* 常见问题 */
.faq-list {
  margin-top: 18px;
  border-top: 1px solid var(--line);
}

/* 右侧摘要栏 */
.page-summary {
  min-width: 0;
  align-self: start;
  position: sticky;
  top: 88px;
  padding: 20px 18px;
  background: var(--wash);
  border-radius: var(--radius);
}

.summary-title {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .04em;
  color: var(--ink-soft);
  margin-bottom: 12px;
}

.summary-list {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.summary-list a {
  display: block;
  min-height: 32px;
  padding: 4px 0;
  font-size: 14px;
  line-height: 1.6;
  color: var(--ink);
  border-bottom: 1px solid transparent;
  transition: color .16s ease;
}

.summary-list a:hover,
.summary-list a:focus-visible {
  color: var(--accent);
}

.summary-links {
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}

.summary-subtitle {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .04em;
  color: var(--ink-soft);
  margin-bottom: 8px;
}

.summary-links ul {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.summary-links a {
  display: flex;
  align-items: center;
  min-height: 32px;
  font-size: 14px;
  color: var(--accent);
}

.summary-links a:hover,
.summary-links a:focus-visible {
  color: var(--accent-dark);
}

/* --------------------------------------------------------------------------
   pages：内页（左树右文）
   -------------------------------------------------------------------------- */

.inner-main {
  min-width: 0;
  padding-bottom: 8px;
}

.inner-main .breadcrumb {
  padding-top: 18px;
}

.inner-main .page-header {
  padding-top: 18px;
}

.section {
  padding: 36px 0;
  border-bottom: 1px solid var(--line);
}

.section:last-of-type {
  border-bottom: 0;
}

.content-section,
.content-block {
  padding: 32px 0;
  border-bottom: 1px solid var(--line);
}

.content-section:last-of-type,
.content-block:last-of-type {
  border-bottom: 0;
}

.content-section h2,
.content-block h2 {
  font-size: 24px;
  line-height: 1.35;
  font-weight: 700;
  color: var(--ink);
}

.content-section h3,
.content-block h3 {
  font-size: 19px;
  line-height: 1.4;
  font-weight: 600;
  color: var(--ink);
}

.content-section > p,
.content-block > p {
  margin-top: 12px;
  font-size: 16px;
  line-height: 1.8;
  color: var(--ink);
  max-width: 38em;
}

.content-section > p a,
.content-block > p a {
  color: var(--accent);
  border-bottom: 1px solid var(--line);
}

.content-section > p a:hover,
.content-block > p a:hover {
  border-bottom-color: var(--accent);
}

/* 内页左树右文布局：aside 在前，main 在后 */
.page-layout.sidebar-left {
  grid-template-columns: var(--col-side) minmax(0, 1fr);
  gap: var(--gap);
  padding-top: 8px;
}

.page-layout.sidebar-left .topic-tree {
  padding-top: 26px;
}

.page-layout.sidebar-left .inner-main {
  min-width: 0;
}

/* 频道一览（内容版图） */
.section-channels .channel-list {
  margin-top: 18px;
  display: flex;
  flex-direction: column;
  border-top: 1px solid var(--line);
}

.section-channels .channel-row {
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr) auto;
  gap: 14px;
  align-items: start;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}

.section-channels .channel-index {
  font-size: 13px;
  letter-spacing: .04em;
  color: var(--ink-soft);
  line-height: 1.9;
}

.section-channels .channel-body {
  min-width: 0;
}

.section-channels .channel-name {
  font-size: 16px;
  font-weight: 600;
  line-height: 1.5;
}

/* 条目字段说明 */
.field-list {
  margin-top: 18px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.section-fields .field-item {
  display: block;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
}

.section-fields .field-item:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.section-fields .field-name {
  font-size: 16px;
  font-weight: 600;
  color: var(--ink);
}

.section-fields .field-text {
  margin-top: 6px;
  font-size: 15px;
  line-height: 1.8;
  color: var(--ink);
}

.section-fields .field-note {
  margin-top: 6px;
  font-size: 14px;
  line-height: 1.75;
  color: var(--ink-soft);
  padding-left: 12px;
  border-left: 2px solid var(--line);
}

/* 样例条目解读 */
.sample-notes {
  margin-top: 22px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
}

.sample-note {
  min-width: 0;
  padding-top: 12px;
  border-top: 1px solid var(--line);
}

.sample-index {
  font-size: 13px;
  letter-spacing: .04em;
  color: var(--ink-soft);
  margin-bottom: 4px;
}

.sample-title {
  font-size: 16px;
  font-weight: 600;
  line-height: 1.5;
  color: var(--ink);
}

.sample-text {
  margin-top: 6px;
  font-size: 14px;
  line-height: 1.75;
  color: var(--ink-soft);
}

/* 频道关联路径 */
.path-list {
  margin-top: 18px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.path-item {
  min-width: 0;
  padding: 14px 16px;
  background: var(--wash);
  border-radius: var(--radius);
}

.path-title {
  font-size: 16px;
  font-weight: 600;
  line-height: 1.5;
  color: var(--ink);
}

.path-text {
  margin-top: 6px;
  font-size: 14px;
  line-height: 1.75;
  color: var(--ink-soft);
}

/* 主题特辑：横向特辑条目 */
.feature-row {
  display: grid;
  grid-template-columns: 200px minmax(0, 1fr);
  gap: 24px;
  align-items: start;
  padding: 24px 0;
  border-bottom: 1px solid var(--line);
  min-width: 0;
}

.feature-row:first-of-type {
  padding-top: 18px;
}

.feature-row:last-of-type {
  border-bottom: 0;
}

.feature-cover {
  min-width: 0;
}

.feature-cover img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.feature-row .feature-body {
  min-width: 0;
}

.feature-row .feature-body h3 {
  font-size: 19px;
  font-weight: 600;
  line-height: 1.4;
  color: var(--ink);
}

.feature-row .feature-desc {
  margin-top: 8px;
  font-size: 15px;
  line-height: 1.8;
  color: var(--ink-soft);
}

.feature-row .feature-rule {
  margin-top: 10px;
  font-size: 14px;
  line-height: 1.7;
  color: var(--ink-soft);
}

/* 单个特辑结构：步骤列表 */
.step-list {
  margin-top: 20px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.step-item {
  min-width: 0;
}

.section-structure .step-item {
  display: grid;
  grid-template-columns: 36px minmax(0, 1fr);
  gap: 14px;
  align-items: start;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
}

.section-structure .step-item:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.step-num {
  font-size: 13px;
  letter-spacing: .04em;
  color: var(--ink-soft);
  line-height: 1.9;
}

.step-body {
  min-width: 0;
}

.step-body h3 {
  font-size: 17px;
  font-weight: 600;
  line-height: 1.5;
  color: var(--ink);
}

.step-body p {
  margin-top: 4px;
  font-size: 15px;
  line-height: 1.8;
  color: var(--ink-soft);
}

/* 特辑与频道交叉关系：两列对照 */
.cross-grid {
  margin-top: 20px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px;
}

.cross-col {
  min-width: 0;
  padding-left: 16px;
  border-left: 2px solid var(--line);
}

.cross-heading {
  font-size: 16px;
  font-weight: 600;
  line-height: 1.5;
  color: var(--ink);
  margin-bottom: 10px;
}

.cross-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.cross-list li {
  font-size: 14px;
  line-height: 1.7;
  color: var(--ink-soft);
  padding-bottom: 8px;
  border-bottom: 1px solid var(--line);
}

.cross-list li:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

/* 增加与撤下规则 */
.section-rules .rule-list {
  margin-top: 20px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.section-rules .rule-item {
  min-width: 0;
  padding: 14px 16px;
  background: var(--wash);
  border-radius: var(--radius);
}

.section-rules .rule-item h3 {
  font-size: 16px;
  font-weight: 600;
  line-height: 1.5;
  color: var(--ink);
}

.section-rules .rule-item p {
  margin-top: 6px;
  font-size: 14px;
  line-height: 1.75;
  color: var(--ink-soft);
}

/* 使用说明：三步自查 */
.section-check .step-list {
  margin-top: 20px;
  display: flex;
  flex-direction: column;
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}

.section-check .step-item {
  background: var(--bg);
  padding: 18px 20px;
}

.step-index {
  display: block;
  font-size: 13px;
  letter-spacing: .04em;
  color: var(--ink-soft);
  margin-bottom: 6px;
}

.step-title {
  font-size: 17px;
  font-weight: 600;
  line-height: 1.5;
  color: var(--ink);
}

.step-text {
  margin-top: 6px;
  font-size: 15px;
  line-height: 1.8;
  color: var(--ink-soft);
}

.step-next {
  margin-top: 8px;
  font-size: 14px;
  line-height: 1.7;
  color: var(--ink);
  padding-left: 12px;
  border-left: 2px solid var(--accent);
}

/* 来源核对依据 */
.source-list {
  margin-top: 20px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.source-item {
  min-width: 0;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
}

.source-item:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.source-title {
  font-size: 16px;
  font-weight: 600;
  line-height: 1.5;
  color: var(--ink);
}

.source-text {
  margin-top: 4px;
  font-size: 15px;
  line-height: 1.8;
  color: var(--ink-soft);
}

/* 常见现象对照表 */
.symptom-table {
  margin-top: 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}

.symptom-row {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.4fr);
  border-bottom: 1px solid var(--line);
}

.symptom-row:last-child {
  border-bottom: 0;
}

.symptom-head {
  background: var(--wash);
}

.symptom-cell {
  min-width: 0;
  padding: 12px 16px;
  font-size: 14px;
  line-height: 1.7;
  color: var(--ink-soft);
}

.symptom-cell + .symptom-cell {
  border-left: 1px solid var(--line);
}

.symptom-head .symptom-cell {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .04em;
  color: var(--ink);
}

.symptom-cell-key {
  color: var(--ink);
  font-weight: 500;
}

/* 打印与离线查看 */
.print-list {
  margin-top: 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.print-item {
  font-size: 15px;
  line-height: 1.8;
  color: var(--ink-soft);
  padding-left: 16px;
  position: relative;
}

.print-item::before {
  content: "";
  position: absolute;
  left: 0;
  top: .72em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--line);
}

/* 继续阅读条 */
.path-bar {
  margin-top: 36px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
}

.path-bar .path-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
}

.path-bar .path-item a {
  font-size: 14px;
  color: var(--ink);
  border-bottom: 1px solid var(--line);
  padding-bottom: 2px;
}

.path-bar .path-item a:hover,
.path-bar .path-item a:focus-visible {
  color: var(--accent);
  border-bottom-color: var(--accent);
}

/* 编辑准则：收录与排除两栏 */
.split-columns {
  margin-top: 20px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px;
}

.split-col {
  min-width: 0;
  padding-left: 16px;
  border-left: 2px solid var(--line);
}

.split-col h3 {
  font-size: 16px;
  font-weight: 600;
  line-height: 1.5;
  color: var(--ink);
  margin-bottom: 10px;
}

.split-col .rule-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.split-col .rule-list li {
  font-size: 14px;
  line-height: 1.75;
  color: var(--ink-soft);
  padding-bottom: 8px;
  border-bottom: 1px solid var(--line);
}

.split-col .rule-list li:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

/* 字段填写规则 */
.field-rule-list {
  margin-top: 20px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.field-rule-list li {
  min-width: 0;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line);
}

.field-rule-list li:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.field-rule-list h3 {
  font-size: 16px;
  font-weight: 600;
  line-height: 1.5;
  color: var(--ink);
}

.field-rule-list p {
  margin-top: 6px;
  font-size: 15px;
  line-height: 1.8;
  color: var(--ink-soft);
}

/* 不确定信息标注 */
.uncertain-list {
  margin-top: 20px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.uncertain-item {
  min-width: 0;
  padding: 14px 16px;
  background: var(--wash);
  border-radius: var(--radius);
}

.uncertain-item h3 {
  font-size: 16px;
  font-weight: 600;
  line-height: 1.5;
  color: var(--ink);
}

.uncertain-item p {
  margin-top: 6px;
  font-size: 14px;
  line-height: 1.75;
  color: var(--ink-soft);
}

/* 修订记录 */
.history-list {
  margin-top: 18px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.history-list li {
  min-width: 0;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
}

.history-list li:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.history-list h3 {
  font-size: 15px;
  font-weight: 600;
  line-height: 1.5;
  color: var(--ink);
}

.history-list p {
  margin-top: 4px;
  font-size: 14px;
  line-height: 1.75;
  color: var(--ink-soft);
}

/* 内容核对：核对前确认 */
.check-list {
  margin-top: 20px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.check-item {
  min-width: 0;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line);
}

.check-item:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.check-item h3 {
  font-size: 16px;
  font-weight: 600;
  line-height: 1.5;
  color: var(--ink);
}

.check-item p {
  margin-top: 6px;
  font-size: 15px;
  line-height: 1.8;
  color: var(--ink-soft);
}

.check-note {
  padding-left: 12px;
  border-left: 2px solid var(--line);
}

/* 判断顺序 */
.section-order .step-item,
.content-block .step-item {
  min-width: 0;
}

#order .step-list {
  display: flex;
  flex-direction: column;
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  margin-top: 20px;
}

#order .step-item {
  background: var(--bg);
  padding: 18px 20px;
}

#order .step-item h3 {
  font-size: 17px;
  font-weight: 600;
  line-height: 1.5;
  color: var(--ink);
}

#order .step-item p {
  margin-top: 6px;
  font-size: 15px;
  line-height: 1.8;
  color: var(--ink-soft);
}

.step-fallback {
  padding-left: 12px;
  border-left: 2px solid var(--accent);
  color: var(--ink);
}

/* 正常差异 */
.normal-grid {
  margin-top: 20px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.normal-item {
  min-width: 0;
  padding-top: 12px;
  border-top: 2px solid var(--line);
}

.normal-item h3 {
  font-size: 16px;
  font-weight: 600;
  line-height: 1.5;
  color: var(--ink);
}

.normal-item p {
  margin-top: 6px;
  font-size: 14px;
  line-height: 1.75;
  color: var(--ink-soft);
}

/* 书面整理清单 */
.checklist {
  margin-top: 18px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  counter-reset: checklist;
}

.checklist-item {
  min-width: 0;
  counter-increment: checklist;
  padding: 12px 16px 12px 44px;
  position: relative;
  background: var(--wash);
  border-radius: var(--radius);
}

.checklist-item::before {
  content: counter(checklist, decimal-leading-zero);
  position: absolute;
  left: 16px;
  top: 14px;
  font-size: 13px;
  letter-spacing: .04em;
  color: var(--ink-soft);
}

.checklist-item h3 {
  font-size: 16px;
  font-weight: 600;
  line-height: 1.5;
  color: var(--ink);
}

.checklist-item p {
  margin-top: 4px;
  font-size: 14px;
  line-height: 1.75;
  color: var(--ink-soft);
}

/* 站务说明：两栏定位与边界 */
.two-col-block {
  margin-top: 20px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px;
}

.col-block {
  min-width: 0;
  padding-left: 16px;
  border-left: 2px solid var(--line);
}

.col-block h3 {
  font-size: 16px;
  font-weight: 600;
  line-height: 1.5;
  color: var(--ink);
  margin-bottom: 10px;
}

.plain-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.plain-list li {
  font-size: 14px;
  line-height: 1.75;
  color: var(--ink-soft);
  padding-left: 14px;
  position: relative;
}

.plain-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .7em;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--line);
}

.rights-list li {
  color: var(--ink);
}

/* 内容范围块 */
.range-block {
  margin-top: 20px;
  min-width: 0;
}

.range-block + .range-block {
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}

.range-block h3 {
  font-size: 16px;
  font-weight: 600;
  line-height: 1.5;
  color: var(--ink);
  margin-bottom: 10px;
}

/* 页面结构与阅读方式 */
.read-list {
  margin-top: 18px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.read-item {
  min-width: 0;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
}

.read-item:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.read-item h3 {
  font-size: 16px;
  font-weight: 600;
  line-height: 1.5;
  color: var(--ink);
}

.read-item p {
  margin-top: 4px;
  font-size: 15px;
  line-height: 1.8;
  color: var(--ink-soft);
}

/* 相关入口 */
.entry-links {
  margin-top: 18px;
  display: flex;
  flex-direction: column;
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}

.entry-link-item {
  min-width: 0;
  background: var(--bg);
  padding: 14px 18px;
}

.entry-link-item a {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  font-size: 16px;
  font-weight: 600;
  color: var(--accent);
}

.entry-link-item a:hover,
.entry-link-item a:focus-visible {
  color: var(--accent-dark);
}

.entry-link-item p {
  margin-top: 4px;
  font-size: 14px;
  line-height: 1.75;
  color: var(--ink-soft);
}

/* --------------------------------------------------------------------------
   pages：404
   -------------------------------------------------------------------------- */

.error-main {
  padding-top: 56px;
  padding-bottom: 56px;
}

.error-block {
  max-width: 620px;
  padding-bottom: 40px;
  border-bottom: 1px solid var(--line);
}

.error-code {
  font-size: 13px;
  letter-spacing: .08em;
  color: var(--ink-soft);
  margin-bottom: 12px;
}

.error-block h1 {
  font-size: clamp(28px, 4vw, 40px);
  line-height: 1.25;
  font-weight: 700;
  color: var(--ink);
}

.error-lead {
  margin-top: 14px;
  font-size: 16px;
  line-height: 1.8;
  color: var(--ink-soft);
  max-width: 40em;
}

.error-block .btn-primary {
  margin-top: 24px;
}

.error-paths {
  padding-top: 32px;
}

.error-paths h2 {
  font-size: 19px;
  font-weight: 600;
  line-height: 1.4;
  color: var(--ink);
  margin-bottom: 14px;
}

.error-path-list {
  display: flex;
  flex-direction: column;
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  max-width: 620px;
}

.error-path-list li {
  background: var(--bg);
}

.error-path-list a {
  display: flex;
  align-items: center;
  min-height: 48px;
  padding: 10px 18px;
  font-size: 15px;
  color: var(--ink);
  transition: background-color .16s ease, color .16s ease;
}

.error-path-list a:hover,
.error-path-list a:focus-visible {
  background: var(--wash);
  color: var(--accent);
}

/* --------------------------------------------------------------------------
   responsive：1080px 与 720px 两档
   -------------------------------------------------------------------------- */

@media (max-width: 1080px) {
  :root {
    --gap: 32px;
    --col-side: 220px;
  }

  .hero-inner {
    gap: 36px;
  }

  .nav-list {
    gap: 4px 16px;
  }

  .nav-link {
    font-size: 14px;
  }

  .demand-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .triage-grid {
    gap: 22px;
  }

  .page-layout {
    grid-template-columns: minmax(0, 1fr) 220px;
  }

  .page-layout.sidebar-left {
    grid-template-columns: 200px minmax(0, 1fr);
  }

  .feature-item,
  .feature-row {
    grid-template-columns: 170px minmax(0, 1fr);
    gap: 20px;
  }
}

@media (max-width: 900px) {
  .header-inner {
    flex-wrap: wrap;
    gap: 8px;
    padding-top: 8px;
    padding-bottom: 8px;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .primary-nav {
    flex: 1 1 100%;
    order: 3;
    justify-content: flex-start;
    display: block;
  }

  .nav-list {
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 8px 0 12px;
    border-top: 1px solid var(--line);
  }

  .nav-list.is-open {
    display: flex;
  }

  .nav-list li {
    min-width: 0;
  }

  .nav-link {
    display: flex;
    width: 100%;
    min-height: 44px;
    padding: 8px 4px;
    font-size: 15px;
    border-bottom: 1px solid var(--line);
  }

  .nav-link.is-current {
    border-bottom-color: var(--line);
    border-left: 2px solid var(--accent);
    padding-left: 10px;
  }
}

@media (max-width: 720px) {
  :root {
    --gap: 24px;
  }

  .header-inner,
  .site-main,
  .footer-inner {
    padding-left: 16px;
    padding-right: 16px;
  }

  .brand-text {
    font-size: 16px;
    white-space: normal;
  }

  /* 首页首屏：文案在前，主图在后 */
  .hero {
    padding: 30px 0 32px;
  }

  .hero-inner {
    grid-template-columns: minmax(0, 1fr);
    gap: 24px;
  }

  .hero-media {
    order: 2;
  }

  .hero-media img {
    aspect-ratio: 16 / 10;
  }

  .demand-bar {
    padding: 28px 0 30px;
  }

  .demand-list {
    grid-template-columns: minmax(0, 1fr);
  }

  /* 首页主列与摘要栏：正文在前，摘要栏折叠到正文之后 */
  .page-layout {
    grid-template-columns: minmax(0, 1fr);
  }

  .page-summary {
    position: static;
    top: auto;
    margin-top: 28px;
  }

  .home-main .main-column > section {
    padding: 30px 0;
  }

  .triage-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 20px;
  }

  .triage-col {
    padding-left: 14px;
  }

  .channel-row {
    grid-template-columns: 34px minmax(0, 1fr);
    gap: 10px;
  }

  .channel-link {
    grid-column: 2;
    padding-left: 0;
    min-height: 36px;
  }

  .feature-item,
  .feature-row {
    grid-template-columns: minmax(0, 1fr);
    gap: 14px;
  }

  .feature-media img,
  .feature-cover img {
    aspect-ratio: 16 / 9;
  }

  .fields-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 24px;
  }

  .fields-figure img {
    aspect-ratio: 16 / 10;
  }

  .principle-list {
    grid-template-columns: minmax(0, 1fr);
    gap: 18px;
  }

  /* 内页：侧栏在 DOM 中位于正文之前，移动端下移并折叠 */
  .page-layout.sidebar-left {
    grid-template-columns: minmax(0, 1fr);
    gap: 0;
  }

  .page-layout.sidebar-left .topic-tree {
    order: 2;
    margin-top: 28px;
    padding-top: 20px;
    border-top: 1px solid var(--line);
  }

  .page-layout.sidebar-left .inner-main {
    order: 1;
  }

  .topic-tree-toggle {
    display: block;
  }

  .topic-tree-body {
    display: none;
    padding-top: 14px;
  }

  .topic-tree-body.is-open {
    display: block;
  }

  .topic-tree-heading {
    margin-top: 14px;
  }

  .topic-tree-heading:first-child {
    margin-top: 0;
  }

  .section {
    padding: 28px 0;
  }

  .content-section,
  .content-block {
    padding: 26px 0;
  }

  .section-channels .channel-row {
    grid-template-columns: 30px minmax(0, 1fr);
    gap: 10px;
  }

  .section-channels .channel-link {
    grid-column: 2;
    padding-left: 0;
    min-height: 36px;
  }

  .sample-notes {
    grid-template-columns: minmax(0, 1fr);
  }

  .cross-grid,
  .split-columns,
  .two-col-block {
    grid-template-columns: minmax(0, 1fr);
    gap: 20px;
  }

  .normal-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 16px;
  }

  .symptom-row {
    grid-template-columns: minmax(0, 1fr);
  }

  .symptom-cell + .symptom-cell {
    border-left: 0;
    border-top: 1px solid var(--line);
  }

  .symptom-head {
    display: none;
  }

  .symptom-cell-key {
    background: var(--wash);
    font-weight: 600;
  }

  .topic-path-list,
  .path-bar .path-list {
    flex-direction: column;
    gap: 6px;
  }

  .topic-path-list li a,
  .path-bar .path-item a {
    display: inline-flex;
    align-items: center;
    min-height: 36px;
  }

  .footer-inner {
    grid-template-columns: minmax(0, 1fr);
    gap: 26px;
    padding-top: 32px;
    padding-bottom: 26px;
  }

  .footer-nav {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
  }

  .footer-col a {
    min-height: 40px;
  }

  .site-footer {
    margin-top: 48px;
  }

  .error-main {
    padding-top: 36px;
    padding-bottom: 40px;
  }
}

@media (max-width: 420px) {
  .footer-nav {
    grid-template-columns: minmax(0, 1fr);
  }

  .demand-item a {
    padding: 14px 14px;
  }

  .guide-step,
  .section-check .step-item,
  #order .step-item {
    padding: 16px 14px;
  }
}

/* --------------------------------------------------------------------------
   打印：只保留品牌、页面地址与版权行
   -------------------------------------------------------------------------- */

@media print {
  .site-header,
  .nav-toggle,
  .primary-nav,
  .footer-nav,
  .topic-tree,
  .page-summary,
  .topic-path,
  .path-bar,
  .skip-link,
  .hero-actions,
  .demand-bar {
    display: none !important;
  }

  body {
    background: #fff;
    color: #000;
    font-size: 12pt;
  }

  .site-main,
  .footer-inner {
    max-width: 100%;
    padding: 0;
  }

  .page-layout,
  .page-layout.sidebar-left {
    display: block;
  }

  a {
    color: #000;
    text-decoration: underline;
  }

  .site-footer {
    border-top: 1px solid #000;
    margin-top: 24px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    transition-duration: .01ms !important;
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
  }
}

/* 程序验收反馈：移动端正文优先 */
@media (max-width: 768px) {
  .site-main :is(.page-content, .main-content, .content-main) {
    order: 1;
  }

  .site-main :is(aside, .sidebar) {
    order: 2;
  }
}
