/* ==========================================================================
   bzhl.org — 站点样式表
   分组：base / layout / components / pages / responsive
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. base — 变量、重置、排版基线
   -------------------------------------------------------------------------- */

:root {
  --canvas: #f2f3f0;
  --surface: #ffffff;
  --surface-alt: #f7f8f5;
  --ink: #161a1d;
  --ink-soft: #4f5b62;
  --ink-faint: #6d7a80;
  --line: #ccd4cf;
  --line-strong: #b3beb8;
  --accent: #275c63;
  --accent-soft: #e3ece9;
  --state-open: #176b4d;
  --state-open-bg: #e4efe8;
  --state-jump: #8a5a00;
  --state-jump-bg: #f6ecd9;
  --state-stop: #963b34;
  --state-stop-bg: #f6e4e1;
  --radius: 3px;
  --radius-lg: 4px;
  --container: 1120px;
  --read-width: 760px;
  --gutter: 28px;
  --font-body: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", "Hiragino Sans GB", sans-serif;
  --font-mono: ui-monospace, SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace;
  --shadow-soft: 0 1px 2px rgba(22, 26, 29, 0.06);
  --shadow-lift: 0 4px 14px rgba(22, 26, 29, 0.08);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  margin: 0;
  background-color: var(--canvas);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.75;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
h4 {
  margin: 0;
  color: var(--ink);
  font-weight: 650;
  line-height: 1.3;
}

h2 {
  font-size: 24px;
  line-height: 1.35;
}

h3 {
  font-size: 18px;
  line-height: 1.45;
}

p {
  margin: 0;
}

ul,
ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

dl,
dd,
dt {
  margin: 0;
}

figure {
  margin: 0;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: var(--accent);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}

button,
summary {
  font-family: inherit;
}

code {
  font-family: var(--font-mono);
  font-size: 0.88em;
  background-color: var(--surface-alt);
  border: 1px solid var(--line);
  border-radius: 2px;
  padding: 1px 5px;
  color: var(--ink);
  word-break: break-word;
}

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

/* --------------------------------------------------------------------------
   2. layout — 全站骨架：容器、页头、主区、面包屑、页标题、页脚
   -------------------------------------------------------------------------- */

.container {
  width: 100%;
  max-width: var(--container);
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--gutter);
  padding-right: var(--gutter);
}

.site-header {
  position: relative;
  z-index: 40;
  background-color: var(--surface);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 64px;
  padding-top: 10px;
  padding-bottom: 10px;
}

.brand {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--ink);
  font-size: 17px;
  font-weight: 650;
  line-height: 1.3;
  letter-spacing: 0;
}

.brand:hover {
  color: var(--accent);
  text-decoration: none;
}

.site-main {
  display: block;
  padding-bottom: 12px;
}

.inner-main {
  padding-top: 0;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  max-width: var(--container);
  margin: 0 auto;
  padding: 18px var(--gutter) 0;
  font-family: var(--font-mono);
  font-size: 12.5px;
  line-height: 1.6;
  color: var(--ink-soft);
}

.breadcrumb a {
  color: var(--ink-soft);
  display: inline-flex;
  align-items: center;
  min-height: 24px;
}

.breadcrumb a:hover {
  color: var(--accent);
}

.breadcrumb-sep {
  color: var(--line-strong);
}

.breadcrumb-current {
  color: var(--ink);
}

.page-header {
  max-width: var(--container);
  margin: 0 auto;
  padding: 14px var(--gutter) 0;
}

.page-title {
  margin: 0;
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 36px;
  line-height: 1.22;
  font-weight: 650;
  letter-spacing: 0;
}

.page-title.container {
  padding-left: var(--gutter);
  padding-right: var(--gutter);
}

/* 内页统一页标题区（标签 / 导语 / 口径说明） */
.inner-main .page-title {
  display: block;
  max-width: var(--read-width);
  margin: 0 auto;
  padding: 16px var(--gutter) 0;
}

.inner-main .page-title .page-tag,
.inner-main .page-title .page-kicker {
  margin: 0 0 10px;
  font-family: var(--font-mono);
  font-size: 12px;
  line-height: 1.6;
  letter-spacing: 0;
  text-transform: none;
  color: var(--accent);
}

.inner-main .page-title .page-lead {
  margin: 14px 0 0;
  font-size: 18px;
  line-height: 1.7;
  color: var(--ink);
}

.inner-main .page-title .page-note,
.inner-main .page-title .page-meta,
.inner-main .page-title .page-scope {
  margin: 12px 0 0;
  font-size: 14px;
  line-height: 1.7;
  color: var(--ink-soft);
  border-left: 2px solid var(--line-strong);
  padding-left: 12px;
}

/* 内页各 section 统一纵向节奏 */
.inner-main > section,
.inner-main > div.container > section {
  padding-top: 36px;
}

.inner-main > section.container,
.inner-main > div.container > section.container {
  padding-left: var(--gutter);
  padding-right: var(--gutter);
}

.inner-main section > h2,
.inner-main section > .section-intro,
.inner-main section > .section-lead {
  max-width: var(--read-width);
  margin-left: auto;
  margin-right: auto;
}

.inner-main section > h2 {
  margin-top: 0;
  margin-bottom: 10px;
}

.inner-main section > .section-intro,
.inner-main section > .section-lead {
  margin-top: 0;
  margin-bottom: 20px;
  color: var(--ink-soft);
  font-size: 15.5px;
  line-height: 1.75;
}

.site-footer {
  margin-top: 56px;
  background-color: var(--surface);
  border-top: 1px solid var(--line);
  padding-top: 32px;
  padding-bottom: 28px;
}

.footer-inner {
  display: block;
}

.footer-intro {
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
}

.footer-brand {
  margin: 0;
  font-size: 17px;
  font-weight: 650;
  line-height: 1.4;
  color: var(--ink);
}

.footer-slogan {
  margin: 4px 0 0;
  font-size: 14px;
  line-height: 1.7;
  color: var(--ink-soft);
}

.footer-table-wrap {
  margin-top: 20px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.footer-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
  line-height: 1.6;
}

.footer-table caption {
  caption-side: top;
  text-align: left;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--ink-faint);
  padding-bottom: 8px;
}

.footer-table th,
.footer-table td {
  text-align: left;
  padding: 9px 12px 9px 0;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}

.footer-table thead th {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
  color: var(--ink-faint);
  border-bottom: 1px solid var(--line-strong);
}

.footer-table tbody th {
  font-weight: 600;
  color: var(--ink);
  white-space: nowrap;
}

.footer-table tbody td {
  color: var(--ink-soft);
}

.footer-table tbody td:first-child {
  font-family: var(--font-mono);
  font-size: 12.5px;
  color: var(--ink-faint);
  width: 44px;
}

.footer-table tbody td a {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  color: var(--accent);
}

.footer-bottom {
  margin-top: 18px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
  justify-content: space-between;
  align-items: baseline;
}

.footer-domain,
.footer-note {
  margin: 0;
  font-family: var(--font-mono);
  font-size: 12px;
  line-height: 1.7;
  color: var(--ink-faint);
}

.footer-domain {
  color: var(--ink-soft);
}

/* --------------------------------------------------------------------------
   3. components — 全站目录、按钮、表格、字段、状态、链接、FAQ
   -------------------------------------------------------------------------- */

/* 全站目录（details / summary） */
.site-index {
  position: relative;
}

.index-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 16px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  background-color: var(--surface);
  color: var(--ink);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.2;
  cursor: pointer;
  list-style: none;
  user-select: none;
}

.index-toggle::-webkit-details-marker {
  display: none;
}

.index-toggle::after {
  content: "";
  display: inline-block;
  width: 7px;
  height: 7px;
  margin-left: 9px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: translateY(-2px) rotate(45deg);
  transition: transform 0.18s ease;
}

.site-index[open] .index-toggle {
  border-color: var(--accent);
  color: var(--accent);
}

.site-index[open] .index-toggle::after {
  transform: translateY(2px) rotate(-135deg);
}

.index-panel {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  width: min(420px, calc(100vw - 36px));
  background-color: var(--surface);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lift);
  padding: 18px;
  z-index: 60;
}

.index-nav {
  display: block;
}

.index-list {
  display: block;
}

.index-list li {
  border-bottom: 1px solid var(--line);
}

.index-list li:last-child {
  border-bottom: 0;
}

.index-list a {
  display: flex;
  align-items: center;
  min-height: 44px;
  padding: 0 4px;
  font-size: 15px;
  color: var(--ink);
}

.index-list a:hover {
  color: var(--accent);
}

.index-list a.is-current {
  color: var(--accent);
  font-weight: 650;
}

.index-list a.is-current::after {
  content: "当前页";
  margin-left: auto;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--accent);
  border: 1px solid var(--accent);
  border-radius: 2px;
  padding: 1px 5px;
}

.index-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid var(--line);
}

.index-actions a {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  font-family: var(--font-mono);
  font-size: 12.5px;
  color: var(--ink-soft);
}

.index-actions a:hover {
  color: var(--accent);
}

/* 跳过链接 */
.skip-link {
  position: absolute;
  left: 12px;
  top: -60px;
  z-index: 80;
  padding: 10px 16px;
  background-color: var(--surface);
  border: 1px solid var(--accent);
  border-radius: var(--radius);
  color: var(--accent);
  font-size: 14px;
  transition: top 0.16s ease;
}

.skip-link:focus {
  top: 10px;
  text-decoration: none;
}

/* 按钮 */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 20px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-size: 15px;
  font-weight: 600;
  line-height: 1.2;
  text-align: center;
}

.btn:hover {
  text-decoration: none;
}

.btn-primary {
  background-color: var(--accent);
  border-color: var(--accent);
  color: #ffffff;
}

.btn-primary:hover {
  background-color: #1e4a50;
  border-color: #1e4a50;
}

.btn-ghost {
  background-color: var(--surface);
  border-color: var(--line-strong);
  color: var(--ink);
}

.btn-ghost:hover {
  border-color: var(--accent);
  color: var(--accent);
}

/* 正文文字链接 */
.text-link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-size: 14.5px;
  font-weight: 600;
  color: var(--accent);
  border-bottom: 1px solid transparent;
}

.text-link::after {
  content: "→";
  margin-left: 6px;
  font-family: var(--font-mono);
  font-size: 13px;
}

.text-link:hover {
  border-bottom-color: var(--accent);
  text-decoration: none;
}

/* 表格通用 */
.table-scroll,
.table-wrap,
.field-table-wrap {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  background-color: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
}

.data-table,
.compare-table,
.status-table,
.field-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14.5px;
  line-height: 1.65;
}

.data-table caption,
.compare-table caption,
.status-table caption,
.field-table caption {
  caption-side: top;
  text-align: left;
  padding: 12px 16px;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--ink-faint);
  border-bottom: 1px solid var(--line);
}

.data-table thead th,
.compare-table thead th,
.status-table thead th,
.field-table thead th {
  text-align: left;
  padding: 11px 16px;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
  color: var(--ink-faint);
  background-color: var(--surface-alt);
  border-bottom: 1px solid var(--line-strong);
  white-space: nowrap;
}

.data-table tbody th,
.compare-table tbody th,
.status-table tbody th,
.field-table tbody th {
  text-align: left;
  padding: 13px 16px;
  font-weight: 650;
  color: var(--ink);
  border-bottom: 1px solid var(--line);
  vertical-align: top;
  white-space: nowrap;
}

.data-table tbody td,
.compare-table tbody td,
.status-table tbody td,
.field-table tbody td {
  padding: 13px 16px;
  color: var(--ink-soft);
  border-bottom: 1px solid var(--line);
  vertical-align: top;
  min-width: 96px;
}

.data-table tbody tr:last-child th,
.data-table tbody tr:last-child td,
.compare-table tbody tr:last-child th,
.compare-table tbody tr:last-child td,
.status-table tbody tr:last-child th,
.status-table tbody tr:last-child td,
.field-table tbody tr:last-child th,
.field-table tbody tr:last-child td {
  border-bottom: 0;
}

.data-table tbody tr:hover,
.compare-table tbody tr:hover {
  background-color: var(--surface-alt);
}

.data-table tbody td a,
.compare-table tbody td a,
.status-table tbody td a {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  font-weight: 600;
}

.section-lead {
  margin-top: 0;
  margin-bottom: 18px;
  color: var(--ink-soft);
  font-size: 15.5px;
  line-height: 1.75;
}

.section-note {
  margin-top: 12px;
  font-size: 14px;
  line-height: 1.7;
  color: var(--ink-soft);
}

/* 字段定义列表 */
.field-list {
  display: grid;
  grid-template-columns: minmax(96px, 0.36fr) minmax(0, 1fr);
  gap: 0;
  margin: 0;
  border-top: 1px solid var(--line);
}

.field-list dt {
  padding: 10px 14px 10px 0;
  border-bottom: 1px solid var(--line);
  font-family: var(--font-mono);
  font-size: 12.5px;
  line-height: 1.6;
  color: var(--ink-faint);
}

.field-list dd {
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
  font-size: 14.5px;
  line-height: 1.7;
  color: var(--ink);
  min-width: 0;
}

.field-list-compact {
  grid-template-columns: minmax(88px, 0.34fr) minmax(0, 1fr);
}

.field-list .field-row {
  display: contents;
}

.field-list .field-item {
  display: contents;
}

/* 状态标记 */
.status,
.status-mark,
.item-state,
.status-badge,
.state-tag {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-family: var(--font-mono);
  font-size: 11.5px;
  line-height: 1.4;
  font-weight: 500;
  padding: 2px 7px;
  border-radius: 2px;
  border: 1px solid transparent;
  white-space: nowrap;
}

.status::before,
.status-mark::before,
.item-state::before,
.status-badge::before,
.state-tag::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: currentColor;
  flex: none;
}

.status-open,
.is-open,
.status-pass {
  color: var(--state-open);
  background-color: var(--state-open-bg);
  border-color: #bcd9c9;
}

.status-jump,
.is-jump,
.status-warn {
  color: var(--state-jump);
  background-color: var(--state-jump-bg);
  border-color: #e2cd9f;
}

.status-stop,
.is-pause,
.state-pause {
  color: var(--state-stop);
  background-color: var(--state-stop-bg);
  border-color: #e2bcb6;
}

/* 紧凑条目列表（首页与频道目录共用基础） */
.compact-list {
  display: block;
  border-top: 1px solid var(--line);
}

.compact-row,
.compact-item {
  display: grid;
  align-items: center;
  gap: 4px 12px;
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
}

.compact-num,
.item-no {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--ink-faint);
  font-variant-numeric: tabular-nums;
}

.compact-body {
  min-width: 0;
}

.compact-body a {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  font-size: 15px;
  font-weight: 600;
  color: var(--ink);
}

.compact-body a:hover {
  color: var(--accent);
}

.compact-meta {
  margin: 2px 0 0;
  font-size: 13px;
  line-height: 1.6;
  color: var(--ink-soft);
}

.compact-meta .status {
  margin-left: 6px;
}

/* 交叉入口 / 相关入口列表 */
.cross-list,
.related-list,
.diversion-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 28px;
  border-top: 1px solid var(--line);
}

.cross-list > li,
.related-list > li,
.diversion-list > li {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
  min-width: 0;
}

.cross-list a,
.related-list a,
.diversion-list a {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  font-size: 15px;
  font-weight: 600;
  color: var(--ink);
}

.cross-list a:hover,
.related-list a:hover,
.diversion-list a:hover {
  color: var(--accent);
}

.cross-list span,
.related-list span,
.diversion-list p {
  margin: 0;
  font-size: 13.5px;
  line-height: 1.65;
  color: var(--ink-soft);
}

/* FAQ 折叠（原生 disclosure） */
.faq-list {
  display: block;
  border-top: 1px solid var(--line);
}

.faq-item {
  border-bottom: 1px solid var(--line);
}

.faq-item > summary {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 52px;
  padding: 10px 0;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.55;
  color: var(--ink);
  cursor: pointer;
  list-style: none;
}

.faq-item > summary::-webkit-details-marker {
  display: none;
}

.faq-item > summary::before {
  content: "+";
  flex: none;
  width: 22px;
  height: 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line-strong);
  border-radius: 2px;
  font-family: var(--font-mono);
  font-size: 14px;
  font-weight: 500;
  color: var(--ink-soft);
  line-height: 1;
}

.faq-item[open] > summary {
  color: var(--accent);
}

.faq-item[open] > summary::before {
  content: "−";
  border-color: var(--accent);
  color: var(--accent);
}

.faq-item > summary:hover {
  color: var(--accent);
}

.faq-answer,
.faq-a {
  padding: 0 0 16px 32px;
  max-width: var(--read-width);
}

.faq-answer p,
.faq-a p {
  margin: 0 0 8px;
  font-size: 15px;
  line-height: 1.78;
  color: var(--ink-soft);
}

.faq-answer p:last-child,
.faq-a p:last-child {
  margin-bottom: 0;
}

.faq-answer a,
.faq-a a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* 图片容器基础 */
.hero-figure,
.focus-media,
.media-figure,
.checklist-figure-media,
.duty-figure,
.routing-media,
.path-overview-media {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background-color: var(--surface-alt);
}

.hero-figure img,
.focus-media img,
.media-figure img,
.checklist-figure-media img,
.duty-figure img,
.routing-media img,
.path-overview-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

figcaption {
  padding: 9px 12px;
  font-size: 12.5px;
  line-height: 1.6;
  color: var(--ink-faint);
  background-color: var(--surface);
  border-top: 1px solid var(--line);
}

/* --------------------------------------------------------------------------
   4. pages — 各页面内部业务模块
   -------------------------------------------------------------------------- */

/* ---------- 4.1 首页 index.html ---------- */

.home-main .section-title {
  margin: 0 0 8px;
  font-size: 24px;
  line-height: 1.35;
}

.home-main > section {
  padding-top: 44px;
}

/* 首屏 */
.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 40px;
  align-items: start;
  padding-top: 44px;
}

.hero-text {
  min-width: 0;
}

.hero-slogan {
  margin: 0 0 12px;
  font-family: var(--font-mono);
  font-size: 12.5px;
  line-height: 1.6;
  color: var(--accent);
}

.hero-text h1 {
  margin: 0;
  font-size: 36px;
  line-height: 1.24;
  font-weight: 650;
  color: var(--ink);
}

.hero-lead {
  margin: 16px 0 0;
  font-size: 17px;
  line-height: 1.75;
  color: var(--ink-soft);
  max-width: 560px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.hero-figure {
  margin: 0;
  display: flex;
  flex-direction: column;
}

.hero-figure img {
  aspect-ratio: 16 / 11;
}

/* 浏览方式 + 当前频道 */
.browse-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 28px;
  margin-top: 18px;
}

.browse-steps,
.browse-channels {
  background-color: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 22px 24px;
  min-width: 0;
}

.browse-steps h3,
.browse-channels h3,
.focus-list h3 {
  margin: 0 0 14px;
  font-size: 16px;
  line-height: 1.5;
  color: var(--ink);
}

.step-list {
  display: block;
}

.step-item {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  gap: 12px;
  padding: 12px 0;
  border-top: 1px solid var(--line);
}

.step-item:first-child {
  border-top: 0;
  padding-top: 0;
}

.step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border: 1px solid var(--line-strong);
  border-radius: 2px;
  font-family: var(--font-mono);
  font-size: 12.5px;
  color: var(--accent);
}

.step-body {
  min-width: 0;
}

.step-name {
  display: block;
  font-size: 15px;
  font-weight: 650;
  line-height: 1.5;
  color: var(--ink);
}

.step-body p {
  margin: 4px 0 0;
  font-size: 14px;
  line-height: 1.7;
  color: var(--ink-soft);
}

.channel-entry-list {
  display: block;
}

.channel-entry {
  border-top: 1px solid var(--line);
}

.channel-entry:first-child {
  border-top: 0;
}

.channel-entry a {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 2px 10px;
  min-height: 44px;
  padding: 8px 0;
  color: var(--ink);
}

.channel-entry a:hover {
  color: var(--accent);
  text-decoration: none;
}

.channel-name {
  font-size: 15px;
  font-weight: 650;
  line-height: 1.5;
}

.channel-hint {
  font-size: 13px;
  line-height: 1.6;
  color: var(--ink-soft);
}

/* 焦点条目 + 紧凑列表 */
.focus-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 28px;
  margin-top: 18px;
  align-items: start;
}

.focus-item {
  background-color: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 20px 22px 18px;
  min-width: 0;
}

.focus-media {
  margin: 0 0 16px;
  display: flex;
  flex-direction: column;
}

.focus-media img {
  aspect-ratio: 16 / 9;
}

.focus-item h3 {
  margin: 0 0 6px;
  font-size: 19px;
  line-height: 1.45;
}

.focus-channel {
  margin: 0 0 12px;
  font-family: var(--font-mono);
  font-size: 12.5px;
  line-height: 1.6;
  color: var(--accent);
}

.focus-points {
  display: block;
  margin-bottom: 8px;
}

.focus-points li {
  position: relative;
  padding: 6px 0 6px 16px;
  font-size: 14.5px;
  line-height: 1.7;
  color: var(--ink-soft);
  border-top: 1px solid var(--line);
}

.focus-points li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 15px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background-color: var(--line-strong);
}

.focus-list {
  background-color: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 20px 22px;
  min-width: 0;
}

.focus-list .compact-row {
  grid-template-columns: 26px minmax(0, 1fr);
}

/* 频道比较总表 */
.channel-table .section-lead {
  max-width: var(--read-width);
}

.channel-table .table-scroll {
  margin-top: 4px;
}

/* 专题片单 */
.collections .section-lead {
  max-width: var(--read-width);
}

.collections-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: 24px;
  margin-top: 4px;
  align-items: start;
}

.collection-main {
  background-color: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 24px 26px;
  min-width: 0;
}

.collection-tag {
  margin: 0 0 10px;
  font-family: var(--font-mono);
  font-size: 12px;
  line-height: 1.6;
  color: var(--accent);
}

.collection-main h3 {
  margin: 0 0 10px;
  font-size: 20px;
  line-height: 1.4;
}

.collection-scope {
  margin: 0 0 14px;
  font-size: 15px;
  line-height: 1.75;
  color: var(--ink-soft);
}

.collection-preview {
  display: block;
  margin-bottom: 10px;
  border-top: 1px solid var(--line);
}

.collection-preview li {
  padding: 9px 0 9px 26px;
  position: relative;
  border-bottom: 1px solid var(--line);
  font-size: 14.5px;
  line-height: 1.7;
  color: var(--ink);
}

.collection-preview li::before {
  counter-increment: none;
  content: "·";
  position: absolute;
  left: 8px;
  color: var(--accent);
  font-weight: 700;
}

.collection-side {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 20px;
  min-width: 0;
}

.collection-sub {
  background-color: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 18px 20px;
  min-width: 0;
}

.collection-sub h3 {
  margin: 0 0 10px;
  font-size: 17px;
  line-height: 1.45;
}

.collection-sub .field-list {
  border-top: 1px solid var(--line);
}

/* 观看路径四阶段 */
.watch-path .section-lead {
  max-width: var(--read-width);
}

.watch-path .path-steps {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  margin-top: 4px;
}

.watch-path .path-step {
  background-color: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 20px 22px;
  min-width: 0;
}

.path-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 30px;
  height: 26px;
  padding: 0 7px;
  margin-bottom: 10px;
  border: 1px solid var(--line-strong);
  border-radius: 2px;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--accent);
}

.watch-path .path-step h3 {
  margin: 0 0 8px;
  font-size: 17px;
  line-height: 1.45;
}

.watch-path .path-step p {
  margin: 0 0 8px;
  font-size: 14.5px;
  line-height: 1.72;
  color: var(--ink-soft);
}

.watch-path .path-step .path-check {
  font-family: var(--font-mono);
  font-size: 12.5px;
  line-height: 1.65;
  color: var(--ink);
  background-color: var(--surface-alt);
  border-left: 2px solid var(--accent);
  padding: 7px 10px;
}

.watch-path .path-step .text-link {
  margin-top: 4px;
}

/* 入口状态表 */
.entry-status .section-lead {
  max-width: var(--read-width);
}

/* 编务与边界双栏 */
.editorial-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  margin-top: 4px;
}

.editorial-col {
  background-color: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 22px 24px;
  min-width: 0;
}

.editorial-col h3 {
  margin: 0 0 12px;
  font-size: 17px;
  line-height: 1.45;
}

.plain-list {
  display: block;
  margin-bottom: 6px;
}

.plain-list li {
  position: relative;
  padding: 8px 0 8px 16px;
  border-top: 1px solid var(--line);
  font-size: 14.5px;
  line-height: 1.7;
  color: var(--ink-soft);
}

.plain-list li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 17px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background-color: var(--line-strong);
}

/* 首页 FAQ */
.faq .faq-list {
  max-width: var(--read-width);
  margin-top: 4px;
}

/* 首页交叉入口 */
.cross-links .cross-list {
  margin-top: 4px;
}

/* ---------- 4.2 频道目录 channel-directory.html ---------- */

.channel-positioner {
  padding-top: 30px;
}

.channel-positioner > h2 {
  margin: 0 0 8px;
  font-size: 20px;
  line-height: 1.4;
}

.channel-anchors {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 16px;
  max-width: var(--container);
}

.anchor-chip {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 14px;
  border: 1px solid var(--line-strong);
  border-radius: 2px;
  background-color: var(--surface);
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
  white-space: nowrap;
}

.anchor-chip:hover {
  border-color: var(--accent);
  color: var(--accent);
  text-decoration: none;
}

.context-bar {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background-color: var(--surface);
  overflow: hidden;
}

.context-cell {
  padding: 14px 18px;
  border-left: 1px solid var(--line);
  min-width: 0;
}

.context-cell:first-child {
  border-left: 0;
}

.context-label {
  margin: 0 0 4px;
  font-family: var(--font-mono);
  font-size: 11.5px;
  line-height: 1.5;
  color: var(--ink-faint);
}

.context-value {
  margin: 0;
  font-size: 14.5px;
  line-height: 1.65;
  color: var(--ink);
}

.channel-compare > h2 {
  margin: 0 0 8px;
  font-size: 20px;
  line-height: 1.4;
}

.channel-compare .table-wrap {
  margin-top: 4px;
}

.focus-channel > h2 {
  margin: 0 0 8px;
  font-size: 20px;
  line-height: 1.4;
}

.focus-channel .focus-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: 24px;
  align-items: start;
  margin-top: 4px;
}

.focus-panel {
  background-color: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 20px 22px;
  min-width: 0;
}

.focus-panel .focus-media {
  margin: 0 0 16px;
  display: flex;
  flex-direction: column;
}

.focus-panel .focus-media img {
  aspect-ratio: 16 / 9;
}

.focus-panel h3 {
  margin: 0 0 8px;
  font-size: 19px;
  line-height: 1.45;
}

.focus-panel > p {
  margin: 0 0 14px;
  font-size: 14.5px;
  line-height: 1.75;
  color: var(--ink-soft);
}

.focus-panel .field-list {
  border-top: 1px solid var(--line);
}

.compact-list-block {
  background-color: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 20px 22px;
  min-width: 0;
}

.compact-list-block h3 {
  margin: 0 0 12px;
  font-size: 16px;
  line-height: 1.5;
}

.compact-list-block .compact-item {
  grid-template-columns: 26px minmax(0, 1fr) auto auto auto;
  gap: 6px 12px;
}

.item-title {
  font-size: 14.5px;
  font-weight: 600;
  line-height: 1.6;
  color: var(--ink);
  min-width: 0;
}

.item-channel {
  font-family: var(--font-mono);
  font-size: 12px;
  line-height: 1.5;
  color: var(--ink-faint);
  white-space: nowrap;
}

.item-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 32px;
  padding: 0 10px;
  border: 1px solid var(--line-strong);
  border-radius: 2px;
  font-size: 13px;
  font-weight: 600;
  color: var(--accent);
  white-space: nowrap;
}

.item-link:hover {
  border-color: var(--accent);
  text-decoration: none;
  background-color: var(--accent-soft);
}

.section-jump > h2,
.related-links > h2 {
  margin: 0 0 8px;
  font-size: 20px;
  line-height: 1.4;
}

.jump-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0 24px;
  border-top: 1px solid var(--line);
}

.jump-list li {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
  min-width: 0;
}

.jump-list a {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  font-size: 15px;
  font-weight: 600;
  color: var(--ink);
}

.jump-list a:hover {
  color: var(--accent);
}

.jump-list span {
  font-size: 13.5px;
  line-height: 1.65;
  color: var(--ink-soft);
}

/* ---------- 4.3 专题片单 special-collections.html ---------- */

.dimension-block {
  max-width: var(--read-width);
  margin-left: auto;
  margin-right: auto;
}

.dimension-block > h2 {
  margin: 0 0 10px;
  font-size: 20px;
  line-height: 1.4;
}

.dimension-block .field-list {
  background-color: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 4px 20px;
}

.collection-list {
  max-width: var(--container);
}

.collection-list > h2 {
  margin: 0 0 10px;
  font-size: 20px;
  line-height: 1.4;
}

.collection-item {
  background-color: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 22px 24px;
  margin-top: 18px;
  min-width: 0;
}

.collection-featured {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 26px;
  align-items: start;
  padding: 22px 24px;
}

.collection-media {
  min-width: 0;
}

.collection-media .media-figure {
  display: flex;
  flex-direction: column;
}

.collection-media .media-figure img {
  aspect-ratio: 4 / 3;
}

.collection-body {
  min-width: 0;
}

.collection-no {
  margin: 0 0 6px;
  font-family: var(--font-mono);
  font-size: 12px;
  line-height: 1.6;
  color: var(--accent);
}

.collection-body h3 {
  margin: 0 0 8px;
  font-size: 19px;
  line-height: 1.45;
}

.collection-desc {
  margin: 0 0 12px;
  font-size: 14.5px;
  line-height: 1.75;
  color: var(--ink-soft);
}

.collection-body .field-list {
  border-top: 1px solid var(--line);
  margin-bottom: 6px;
}

.collection-link {
  margin: 6px 0 0;
}

.collection-preview > h2 {
  margin: 0 0 10px;
  font-size: 20px;
  line-height: 1.4;
}

.preview-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: 24px;
  align-items: start;
  background-color: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 22px 24px;
}

.preview-summary {
  min-width: 0;
}

.preview-label {
  margin: 0 0 8px;
  font-family: var(--font-mono);
  font-size: 12px;
  line-height: 1.6;
  color: var(--accent);
}

.preview-summary > p {
  margin: 0 0 12px;
  font-size: 14.5px;
  line-height: 1.75;
  color: var(--ink-soft);
}

.preview-list {
  display: block;
  border-top: 1px solid var(--line);
  min-width: 0;
}

.preview-row {
  display: grid;
  grid-template-columns: 26px minmax(0, 1fr) auto;
  gap: 4px 12px;
  align-items: center;
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
}

.preview-no {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--ink-faint);
  font-variant-numeric: tabular-nums;
}

.preview-title {
  font-size: 14.5px;
  font-weight: 600;
  line-height: 1.6;
  color: var(--ink);
  min-width: 0;
}

.preview-type {
  font-family: var(--font-mono);
  font-size: 11.5px;
  line-height: 1.4;
  color: var(--ink-soft);
  border: 1px solid var(--line);
  border-radius: 2px;
  padding: 1px 6px;
  white-space: nowrap;
}

.collection-limits > h2 {
  margin: 0 0 10px;
  font-size: 20px;
  line-height: 1.4;
}

.limit-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.limit-item {
  background-color: var(--surface);
  border: 1px solid var(--line);
  border-left: 3px solid var(--state-jump);
  border-radius: var(--radius-lg);
  padding: 16px 18px;
  min-width: 0;
}

.limit-item h3 {
  margin: 0 0 6px;
  font-size: 16px;
  line-height: 1.45;
}

.limit-item p {
  margin: 0;
  font-size: 14px;
  line-height: 1.72;
  color: var(--ink-soft);
}

.related-entry > h2 {
  margin: 0 0 10px;
  font-size: 20px;
  line-height: 1.4;
}

/* ---------- 4.4 观看路径 watch-path.html ---------- */

.path-overview {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 28px;
  align-items: start;
}

.path-overview-media {
  min-width: 0;
}

.path-overview-media .media-figure {
  display: flex;
  flex-direction: column;
}

.path-overview-media .media-figure img {
  aspect-ratio: 4 / 3;
}

.path-overview-text {
  min-width: 0;
}

.path-overview-text h2 {
  margin: 0 0 10px;
  font-size: 22px;
  line-height: 1.4;
}

.path-overview-text > p {
  margin: 0 0 16px;
  font-size: 15px;
  line-height: 1.78;
  color: var(--ink-soft);
}

.stage-tags {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.stage-tag {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  padding: 8px 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background-color: var(--surface);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.5;
  color: var(--ink);
  min-width: 0;
}

.stage-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: none;
  width: 24px;
  height: 24px;
  border: 1px solid var(--line-strong);
  border-radius: 2px;
  font-family: var(--font-mono);
  font-size: 11.5px;
  color: var(--accent);
}

/* 四阶段步骤 — 单列纵向块，标题与字段都在同一容器内 */
.path-steps {
  display: block;
  max-width: var(--read-width);
  margin-left: auto;
  margin-right: auto;
}

.path-steps > h2 {
  margin: 0 0 10px;
  font-size: 22px;
  line-height: 1.4;
}

.path-steps > .section-intro {
  margin: 0 0 20px;
  font-size: 15px;
  line-height: 1.75;
  color: var(--ink-soft);
}

.step-block {
  display: block;
  background-color: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 20px 22px;
  margin-top: 16px;
  min-width: 0;
}

.step-block:first-of-type {
  margin-top: 0;
}

.step-block h3 {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 14px;
  font-size: 17px;
  line-height: 1.45;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
}

.step-index {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: none;
  min-width: 30px;
  height: 26px;
  padding: 0 7px;
  border: 1px solid var(--line-strong);
  border-radius: 2px;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
  color: var(--accent);
}

.step-fields {
  display: grid;
  grid-template-columns: minmax(88px, 0.28fr) minmax(0, 1fr);
  gap: 0;
}

.step-fields dt {
  padding: 9px 14px 9px 0;
  border-bottom: 1px solid var(--line);
  font-family: var(--font-mono);
  font-size: 12.5px;
  line-height: 1.65;
  color: var(--ink-faint);
}

.step-fields dd {
  padding: 9px 0;
  border-bottom: 1px solid var(--line);
  font-size: 14.5px;
  line-height: 1.75;
  color: var(--ink);
  min-width: 0;
}

.step-fields dt:last-of-type,
.step-fields dd:last-of-type {
  border-bottom: 0;
}

.step-link {
  margin: 12px 0 0;
}

/* 状态标记说明 */
.status-legend {
  max-width: var(--read-width);
  margin-left: auto;
  margin-right: auto;
}

.status-legend > h2 {
  margin: 0 0 10px;
  font-size: 22px;
  line-height: 1.4;
}

.status-legend .status-table {
  background-color: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

/* 无脚本与离线可读 */
.noscript-read {
  max-width: var(--read-width);
  margin-left: auto;
  margin-right: auto;
}

.noscript-read > h2 {
  margin: 0 0 10px;
  font-size: 22px;
  line-height: 1.4;
}

.read-list {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 0;
  border-top: 1px solid var(--line);
}

.read-item {
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}

.read-item h3 {
  margin: 0 0 4px;
  font-size: 16px;
  line-height: 1.5;
}

.read-item p {
  margin: 0;
  font-size: 14.5px;
  line-height: 1.75;
  color: var(--ink-soft);
}

/* 异常分流 */
.path-diversion {
  max-width: var(--read-width);
  margin-left: auto;
  margin-right: auto;
}

.path-diversion > h2 {
  margin: 0 0 10px;
  font-size: 22px;
  line-height: 1.4;
}

.path-diversion .diversion-list {
  grid-template-columns: minmax(0, 1fr);
}

/* ---------- 4.5 入口核验 entry-check.html ---------- */

.checklist-figure {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 28px;
  align-items: start;
}

.checklist-col {
  min-width: 0;
}

.checklist-col > h2 {
  margin: 0 0 8px;
  font-size: 22px;
  line-height: 1.4;
}

.checklist-col > .section-lead {
  margin: 0 0 16px;
}

.checklist-list {
  display: block;
  border-top: 1px solid var(--line);
}

.checklist-list > li {
  padding: 13px 0;
  border-bottom: 1px solid var(--line);
  min-width: 0;
}

.checklist-list h3 {
  margin: 0 0 4px;
  font-size: 15.5px;
  line-height: 1.5;
}

.checklist-list p {
  margin: 0;
  font-size: 14px;
  line-height: 1.72;
  color: var(--ink-soft);
  overflow-wrap: break-word;
}

.checklist-figure-media {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.checklist-figure-media img {
  aspect-ratio: 4 / 3;
}

.status-table-section {
  max-width: var(--read-width);
  margin-left: auto;
  margin-right: auto;
}

.status-table-section > h2 {
  margin: 0 0 8px;
  font-size: 22px;
  line-height: 1.4;
}

.status-table-section .table-wrap {
  margin-top: 4px;
}

.status-table-section .section-note {
  margin-top: 12px;
}

.record-section {
  max-width: var(--read-width);
  margin-left: auto;
  margin-right: auto;
}

.record-section > h2 {
  margin: 0 0 8px;
  font-size: 22px;
  line-height: 1.4;
}

.record-section .field-list {
  background-color: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 4px 20px;
}

.recheck-section {
  max-width: var(--read-width);
  margin-left: auto;
  margin-right: auto;
}

.recheck-section > h2 {
  margin: 0 0 8px;
  font-size: 22px;
  line-height: 1.4;
}

.recheck-list {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 0;
  border-top: 1px solid var(--line);
}

.recheck-list > li {
  padding: 13px 0;
  border-bottom: 1px solid var(--line);
}

.recheck-list h3 {
  margin: 0 0 4px;
  font-size: 16px;
  line-height: 1.5;
}

.recheck-list h3 a {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  color: var(--accent);
}

.recheck-list p {
  margin: 0;
  font-size: 14.5px;
  line-height: 1.75;
  color: var(--ink-soft);
}

/* ---------- 4.6 编务与边界 editorial-notes.html ---------- */

.editorial-body {
  display: block;
}

.editorial-duty {
  padding-top: 36px;
}

.duty-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 28px;
  align-items: start;
}

.duty-text {
  min-width: 0;
}

.duty-text > h2 {
  margin: 0 0 10px;
  font-size: 22px;
  line-height: 1.4;
}

.duty-text > p {
  margin: 0 0 14px;
  font-size: 15px;
  line-height: 1.78;
  color: var(--ink-soft);
}

.duty-list {
  display: block;
  border-top: 1px solid var(--line);
}

.duty-item {
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
  font-size: 14.5px;
  line-height: 1.75;
  color: var(--ink);
}

.duty-figure {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.duty-figure img {
  aspect-ratio: 4 / 3;
}

.editorial-fields,
.editorial-boundary,
.editorial-division,
.editorial-review {
  max-width: var(--read-width);
  margin-left: auto;
  margin-right: auto;
}

.editorial-fields > h2,
.editorial-boundary > h2,
.editorial-division > h2,
.editorial-review > h2 {
  margin: 0 0 10px;
  font-size: 22px;
  line-height: 1.4;
}

.editorial-fields > p,
.editorial-boundary > p,
.editorial-division > p,
.editorial-review > p {
  margin: 0 0 16px;
  font-size: 15px;
  line-height: 1.78;
  color: var(--ink-soft);
}

.field-table-wrap {
  margin-top: 4px;
}

.field-table tbody td {
  min-width: 120px;
}

.boundary-list {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 0;
  border-top: 1px solid var(--line);
}

.boundary-item {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 6px;
  padding: 13px 0;
  border-bottom: 1px solid var(--line);
  min-width: 0;
}

.boundary-item .state-tag {
  justify-self: start;
}

.boundary-item p {
  margin: 0;
  font-size: 14.5px;
  line-height: 1.75;
  color: var(--ink-soft);
}

.division-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
  align-items: start;
}

.division-col {
  background-color: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 18px 20px;
  min-width: 0;
}

.division-col h3 {
  margin: 0 0 10px;
  font-size: 16.5px;
  line-height: 1.45;
}

.division-list {
  display: block;
  margin-bottom: 8px;
}

.division-list li {
  position: relative;
  padding: 7px 0 7px 16px;
  border-top: 1px solid var(--line);
  font-size: 14px;
  line-height: 1.72;
  color: var(--ink-soft);
}

.division-list li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 15px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background-color: var(--line-strong);
}

.division-link {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 16px;
  margin: 4px 0 0;
}

.division-link a {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--accent);
}

.review-list {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 0;
  border-top: 1px solid var(--line);
}

.review-item {
  padding: 13px 0;
  border-bottom: 1px solid var(--line);
}

.review-item h3 {
  margin: 0 0 4px;
  font-size: 16px;
  line-height: 1.5;
}

.review-item p {
  margin: 0;
  font-size: 14.5px;
  line-height: 1.75;
  color: var(--ink-soft);
}

.editorial-body .cross-links {
  max-width: var(--read-width);
  margin-left: auto;
  margin-right: auto;
}

.editorial-body .cross-links > h2 {
  margin: 0 0 10px;
  font-size: 22px;
  line-height: 1.4;
}

.cross-item {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
  min-width: 0;
}

.cross-item a {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  font-size: 15px;
  font-weight: 600;
  color: var(--ink);
}

.cross-item a:hover {
  color: var(--accent);
}

.cross-item span {
  font-size: 13.5px;
  line-height: 1.65;
  color: var(--ink-soft);
}

/* ---------- 4.7 观看问答 viewing-faq.html ---------- */

.faq-routing {
  padding-top: 32px;
}

.routing-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: 28px;
  align-items: start;
}

.routing-media {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.routing-media img {
  aspect-ratio: 4 / 3;
}

.routing-body {
  min-width: 0;
}

.routing-body > h2 {
  margin: 0 0 10px;
  font-size: 22px;
  line-height: 1.4;
}

.routing-body > p {
  margin: 0 0 14px;
  font-size: 15px;
  line-height: 1.78;
  color: var(--ink-soft);
}

.routing-links {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 0;
  border-top: 1px solid var(--line);
}

.routing-links li {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
  min-width: 0;
}

.routing-links a {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  font-size: 15px;
  font-weight: 600;
  color: var(--ink);
}

.routing-links a:hover {
  color: var(--accent);
}

.routing-links span {
  font-size: 13.5px;
  line-height: 1.65;
  color: var(--ink-soft);
}

.faq-group {
  max-width: var(--read-width);
  margin-left: auto;
  margin-right: auto;
}

.group-head {
  margin-bottom: 4px;
}

.group-index {
  margin: 0 0 4px;
  font-family: var(--font-mono);
  font-size: 12px;
  line-height: 1.6;
  color: var(--accent);
}

.group-head h2 {
  margin: 0 0 6px;
  font-size: 21px;
  line-height: 1.4;
}

.group-lead {
  margin: 0 0 12px;
  font-size: 14.5px;
  line-height: 1.72;
  color: var(--ink-soft);
}

.faq-group .faq-q {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  min-height: 52px;
  padding: 12px 0;
  font-size: 15.5px;
  font-weight: 600;
  line-height: 1.6;
  color: var(--ink);
  cursor: pointer;
  list-style: none;
}

.faq-group .faq-q::-webkit-details-marker {
  display: none;
}

.faq-group .faq-q::before {
  content: "+";
  flex: none;
  width: 22px;
  height: 22px;
  margin-top: 1px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line-strong);
  border-radius: 2px;
  font-family: var(--font-mono);
  font-size: 14px;
  font-weight: 500;
  line-height: 1;
  color: var(--ink-soft);
}

.faq-group .faq-item[open] .faq-q {
  color: var(--accent);
}

.faq-group .faq-item[open] .faq-q::before {
  content: "−";
  border-color: var(--accent);
  color: var(--accent);
}

.faq-group .faq-q:hover {
  color: var(--accent);
}

.faq-group .faq-a {
  padding: 0 0 16px 32px;
  max-width: none;
}

.faq-group .faq-a p {
  margin: 0 0 8px;
  font-size: 14.5px;
  line-height: 1.78;
  color: var(--ink-soft);
}

.faq-group .faq-a p:last-child {
  margin-bottom: 0;
}

.faq-group .faq-a a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.viewing-faq .cross-links {
  max-width: var(--read-width);
  margin-left: auto;
  margin-right: auto;
}

.viewing-faq .cross-links > h2 {
  margin: 0 0 8px;
  font-size: 21px;
  line-height: 1.4;
}

.viewing-faq .cross-links > p {
  margin: 0 0 12px;
  font-size: 14.5px;
  line-height: 1.72;
  color: var(--ink-soft);
}

/* ---------- 4.8 404.html ---------- */

.error-main {
  padding-top: 40px;
  padding-bottom: 20px;
}

.error-panel {
  max-width: var(--read-width);
  margin: 0 auto;
  background-color: var(--surface);
  border: 1px solid var(--line);
  border-left: 3px solid var(--state-stop);
  border-radius: var(--radius-lg);
  padding: 26px 28px;
}

.error-code {
  margin: 0 0 8px;
  font-family: var(--font-mono);
  font-size: 13px;
  line-height: 1.6;
  color: var(--state-stop);
}

.error-panel h1 {
  margin: 0 0 10px;
  font-size: 30px;
  line-height: 1.25;
  font-weight: 650;
  color: var(--ink);
}

.error-panel .page-lead {
  margin: 0;
  font-size: 15.5px;
  line-height: 1.75;
  color: var(--ink-soft);
}

.error-path,
.error-note {
  max-width: var(--read-width);
  margin-left: auto;
  margin-right: auto;
  padding-top: 32px;
}

.error-path h2,
.error-note h2 {
  margin: 0 0 8px;
  font-size: 20px;
  line-height: 1.4;
}

.error-path > p,
.error-note > p {
  margin: 0 0 12px;
  font-size: 14.5px;
  line-height: 1.75;
  color: var(--ink-soft);
}

.error-links {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 24px;
  border-top: 1px solid var(--line);
}

.error-links li {
  border-bottom: 1px solid var(--line);
}

.error-links a {
  display: flex;
  align-items: center;
  min-height: 44px;
  font-size: 15px;
  font-weight: 600;
  color: var(--ink);
}

.error-links a:hover {
  color: var(--accent);
}

.error-home {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 20px;
  border: 1px solid var(--accent);
  border-radius: var(--radius);
  background-color: var(--accent);
  color: #ffffff;
  font-size: 15px;
  font-weight: 600;
}

.error-home:hover {
  background-color: #1e4a50;
  text-decoration: none;
}

/* --------------------------------------------------------------------------
   5. responsive — 960 / 720 / 480
   -------------------------------------------------------------------------- */

@media (max-width: 960px) {
  :root {
    --gutter: 22px;
  }

  .hero {
    grid-template-columns: minmax(0, 1fr) minmax(0, 0.85fr);
    gap: 28px;
  }

  .hero-text h1 {
    font-size: 32px;
  }

  .browse-grid,
  .focus-grid,
  .collections-grid,
  .watch-path .path-steps,
  .editorial-grid,
  .checklist-figure,
  .duty-grid,
  .routing-grid,
  .preview-layout,
  .focus-channel .focus-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .collection-side {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .context-bar {
    grid-template-columns: minmax(0, 1fr);
  }

  .context-cell {
    border-left: 0;
    border-top: 1px solid var(--line);
  }

  .context-cell:first-child {
    border-top: 0;
  }

  .limit-list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .division-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .jump-list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .compact-list-block .compact-item {
    grid-template-columns: 26px minmax(0, 1fr) auto;
  }

  .item-channel {
    grid-column: 2 / 3;
  }

  .item-state {
    grid-column: 2 / 3;
    justify-self: start;
  }

  .item-link {
    grid-column: 3 / 4;
    grid-row: 1 / 3;
  }
}

@media (max-width: 720px) {
  :root {
    --gutter: 18px;
  }

  body {
    font-size: 15.5px;
  }

  .page-title,
  .hero-text h1 {
    font-size: 28px;
    line-height: 1.28;
  }

  .inner-main .page-title {
    padding-top: 14px;
  }

  .inner-main .page-title .page-lead {
    font-size: 16.5px;
  }

  h2,
  .home-main .section-title,
  .inner-main section > h2 {
    font-size: 21px;
  }

  .hero {
    grid-template-columns: minmax(0, 1fr);
    gap: 22px;
    padding-top: 30px;
  }

  .hero-figure {
    order: 2;
  }

  .hero-figure img {
    aspect-ratio: 16 / 10;
  }

  .hero-actions {
    margin-top: 20px;
  }

  .hero-actions .btn {
    flex: 1 1 160px;
  }

  .home-main > section {
    padding-top: 34px;
  }

  .browse-grid,
  .focus-grid,
  .collections-grid,
  .editorial-grid,
  .watch-path .path-steps,
  .collection-side,
  .limit-list,
  .division-grid,
  .jump-list,
  .cross-list,
  .related-list,
  .error-links {
    grid-template-columns: minmax(0, 1fr);
  }

  .collection-featured {
    grid-template-columns: minmax(0, 1fr);
    gap: 18px;
  }

  .stage-tags {
    grid-template-columns: minmax(0, 1fr);
  }

  .channel-anchors {
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 6px;
    margin-bottom: 14px;
  }

  .anchor-chip {
    flex: none;
  }

  .compact-list-block .compact-item {
    grid-template-columns: 24px minmax(0, 1fr);
    align-items: start;
  }

  .item-channel,
  .item-state,
  .item-link {
    grid-column: 2 / 3;
    justify-self: start;
  }

  .item-link {
    grid-row: auto;
    margin-top: 2px;
  }

  .step-fields {
    grid-template-columns: minmax(0, 1fr);
  }

  .step-fields dt {
    padding: 8px 0 0;
    border-bottom: 0;
  }

  .step-fields dd {
    padding: 2px 0 10px;
  }

  .field-list,
  .field-list-compact {
    grid-template-columns: minmax(0, 1fr);
  }

  .field-list dt {
    padding: 8px 0 0;
    border-bottom: 0;
  }

  .field-list dd {
    padding: 2px 0 10px;
  }

  .data-table thead,
  .compare-table thead,
  .status-table thead,
  .field-table thead {
    display: none;
  }

  .data-table,
  .compare-table,
  .status-table,
  .field-table,
  .data-table tbody,
  .compare-table tbody,
  .status-table tbody,
  .field-table tbody,
  .data-table tbody tr,
  .compare-table tbody tr,
  .status-table tbody tr,
  .field-table tbody tr {
    display: block;
    width: 100%;
  }

  .data-table tbody tr,
  .compare-table tbody tr,
  .status-table tbody tr,
  .field-table tbody tr {
    border-bottom: 1px solid var(--line-strong);
    padding: 6px 0;
  }

  .data-table tbody tr:last-child,
  .compare-table tbody tr:last-child,
  .status-table tbody tr:last-child,
  .field-table tbody tr:last-child {
    border-bottom: 0;
  }

  .data-table tbody th,
  .compare-table tbody th,
  .status-table tbody th,
  .field-table tbody th {
    display: block;
    border-bottom: 0;
    padding: 8px 16px 4px;
    white-space: normal;
    font-size: 15px;
  }

  .data-table tbody td,
  .compare-table tbody td,
  .status-table tbody td,
  .field-table tbody td {
    display: block;
    border-bottom: 0;
    padding: 5px 16px;
    min-width: 0;
    font-size: 14px;
  }

  .data-table tbody td::before,
  .compare-table tbody td::before,
  .status-table tbody td::before,
  .field-table tbody td::before {
    display: block;
    font-family: var(--font-mono);
    font-size: 11px;
    line-height: 1.5;
    color: var(--ink-faint);
    margin-bottom: 1px;
  }

  .data-table tbody td:nth-of-type(1)::before {
    content: "覆盖范围";
  }

  .data-table tbody td:nth-of-type(2)::before {
    content: "条目形态";
  }

  .data-table tbody td:nth-of-type(3)::before {
    content: "适合谁";
  }

  .data-table tbody td:nth-of-type(4)::before {
    content: "核对重点";
  }

  .data-table tbody td:nth-of-type(5)::before {
    content: "入口";
  }

  .compare-table tbody td:nth-of-type(1)::before {
    content: "覆盖题材";
  }

  .compare-table tbody td:nth-of-type(2)::before {
    content: "条目形态";
  }

  .compare-table tbody td:nth-of-type(3)::before {
    content: "适合谁";
  }

  .compare-table tbody td:nth-of-type(4)::before {
    content: "核对重点";
  }

  .compare-table tbody td:nth-of-type(5)::before {
    content: "入口";
  }

  .status-table tbody td:nth-of-type(1)::before {
    content: "判断依据";
  }

  .status-table tbody td:nth-of-type(2)::before {
    content: "下一步动作";
  }

  .status-table tbody td:nth-of-type(3)::before {
    content: "对应入口";
  }

  .footer-table thead {
    display: none;
  }

  .footer-table,
  .footer-table tbody,
  .footer-table tbody tr {
    display: block;
    width: 100%;
  }

  .footer-table tbody tr {
    padding: 10px 0;
    border-bottom: 1px solid var(--line);
  }

  .footer-table tbody tr:last-child {
    border-bottom: 0;
  }

  .footer-table tbody td,
  .footer-table tbody th {
    display: block;
    border-bottom: 0;
    padding: 2px 0;
    white-space: normal;
  }

  .footer-table tbody td:first-child {
    width: auto;
  }

  .footer-table tbody th {
    font-size: 15px;
  }

  .footer-table tbody td a {
    min-height: 44px;
    font-size: 14px;
  }

  .index-panel {
    width: calc(100vw - 36px);
    right: 0;
    padding: 14px;
  }

  .faq-item > summary {
    font-size: 15px;
    align-items: flex-start;
  }

  .faq-answer,
  .faq-a,
  .faq-group .faq-a {
    padding-left: 0;
  }

  .faq-group .faq-q {
    font-size: 15px;
  }

  .error-panel {
    padding: 20px 18px;
  }

  .error-panel h1 {
    font-size: 24px;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 4px;
  }
}

@media (max-width: 480px) {
  :root {
    --gutter: 16px;
  }

  .page-title,
  .hero-text h1 {
    font-size: 25px;
    line-height: 1.3;
  }

  .header-inner {
    min-height: 58px;
    gap: 10px;
  }

  .brand {
    font-size: 16px;
  }

  .index-toggle {
    padding: 0 12px;
    font-size: 13px;
  }

  .browse-steps,
  .browse-channels,
  .focus-item,
  .focus-list,
  .collection-main,
  .collection-sub,
  .editorial-col,
  .focus-panel,
  .compact-list-block,
  .collection-item,
  .step-block,
  .division-col {
    padding: 16px;
  }

  .preview-layout {
    padding: 16px;
  }

  .step-item {
    grid-template-columns: 30px minmax(0, 1fr);
    gap: 10px;
  }

  .step-num {
    width: 26px;
    height: 26px;
    font-size: 12px;
  }

  .preview-row {
    grid-template-columns: 24px minmax(0, 1fr);
  }

  .preview-type {
    grid-column: 2 / 3;
    justify-self: start;
  }

  .compact-list-block .compact-item {
    grid-template-columns: 22px minmax(0, 1fr);
  }

  .hero-actions .btn {
    flex: 1 1 100%;
  }

  .text-link,
  .index-actions a,
  .division-link a {
    min-height: 44px;
  }

  .limit-item {
    padding: 14px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}
