/* ==========================================================================
   天美视频 caomeibook.com — 站点样式表
   分组：base / layout / components / pages / responsive
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. base — 变量、重置、排版基线
   -------------------------------------------------------------------------- */
:root {
  --ink: #1f2a2e;
  --ink-soft: #5f6f72;
  --teal: #123c43;
  --teal-deep: #0d2e33;
  --orange: #c96a2b;
  --orange-soft: #e8a878;
  --cream: #f5f2ea;
  --panel: #ffffff;
  --mist: #dfe6e6;
  --line: #d8d2c4;
  --brick: #a8432e;
  --brick-bg: #fbf0ec;
  --radius: 6px;
  --radius-sm: 4px;
  --shadow-sm: 0 1px 2px rgba(18, 60, 67, 0.06);
  --shadow-md: 0 4px 14px rgba(18, 60, 67, 0.08);
  --container: 1180px;
  --gap-section: 40px;
  --gap-section-m: 28px;
  --font-sans: "PingFang SC", "Microsoft YaHei", "Source Han Sans SC", "Noto Sans CJK SC", sans-serif;
  --font-mono: "SFMono-Regular", Consolas, "Liberation Mono", Menlo, monospace;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.75;
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1,
h2,
h3,
h4 {
  margin: 0;
  font-weight: 700;
  line-height: 1.35;
  color: var(--teal);
}

p {
  margin: 0;
}

ul,
ol,
dl {
  margin: 0;
  padding: 0;
  list-style: none;
}

dl {
  list-style: none;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: var(--teal);
  text-decoration: none;
  transition: color 0.18s ease, border-color 0.18s ease, background-color 0.18s ease;
}

a:hover {
  color: var(--orange);
}

button {
  font-family: inherit;
  font-size: inherit;
  color: inherit;
  cursor: pointer;
}

figure {
  margin: 0;
}

figcaption {
  font-size: 13px;
  color: var(--ink-soft);
  line-height: 1.6;
}

table {
  border-collapse: collapse;
  width: 100%;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

/* --------------------------------------------------------------------------
   2. layout — 容器、页头、导航、页脚、主容器、面包屑、页标题区
   -------------------------------------------------------------------------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

.site-main {
  display: block;
  padding-bottom: 56px;
}

.inner-main {
  padding-top: 8px;
}

/* ---- 页头与主导航 ---- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--panel);
  border-bottom: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
  min-height: 76px;
  transition: min-height 0.2s ease;
}

.site-header.is-scrolled .header-inner {
  min-height: 58px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
  color: var(--teal);
  min-height: 44px;
}

.brand:hover {
  color: var(--teal);
}

.brand-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: var(--radius-sm);
  background: var(--teal);
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0;
  flex-shrink: 0;
}

.brand-mark::before {
  content: "天";
}

.brand-slogan {
  font-size: 16px;
  font-weight: 700;
  color: var(--teal);
  white-space: nowrap;
}

/* ---- 导航 ---- */
.primary-nav.site-nav {
  display: flex;
  align-items: center;
}

.nav-list {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-item {
  display: block;
}

.nav-item > a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 12px;
  font-size: 15px;
  color: var(--ink);
  border-bottom: 2px solid transparent;
  border-radius: var(--radius-sm);
}

.nav-item > a:hover {
  color: var(--orange);
  background: #fbf7ef;
}

.nav-item.is-current > a,
.nav-item > a.is-current {
  color: var(--orange);
  font-weight: 600;
  border-bottom-color: var(--orange);
}

/* ---- 移动端菜单按钮 ---- */
.nav-toggle {
  display: none;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  min-width: 44px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--panel);
  color: var(--teal);
}

.nav-toggle:hover {
  border-color: var(--orange);
  color: var(--orange);
}

.nav-toggle-icon {
  position: relative;
  display: inline-block;
  width: 18px;
  height: 2px;
  background: currentColor;
  border-radius: 1px;
}

.nav-toggle-icon::before,
.nav-toggle-icon::after {
  content: "";
  position: absolute;
  left: 0;
  width: 18px;
  height: 2px;
  background: currentColor;
  border-radius: 1px;
}

.nav-toggle-icon::before {
  top: -6px;
}

.nav-toggle-icon::after {
  top: 6px;
}

.nav-toggle-text {
  font-size: 14px;
  font-weight: 600;
}

/* ---- 面包屑 ---- */
.breadcrumb {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
  max-width: var(--container);
  margin: 0 auto;
  padding: 20px 24px 0;
  font-size: 13px;
  color: var(--ink-soft);
}

.breadcrumb a {
  color: var(--ink-soft);
  padding: 2px 0;
}

.breadcrumb a:hover {
  color: var(--orange);
}

.breadcrumb-sep {
  color: var(--line);
}

.breadcrumb-current {
  color: var(--teal);
  font-weight: 600;
}

/* ---- 页标题区 ---- */
.page-header {
  max-width: var(--container);
  margin: 0 auto;
  padding: 14px 24px 20px;
  border-bottom: 1px solid var(--line);
}

.page-title {
  font-size: 34px;
  font-weight: 700;
  color: var(--teal);
  line-height: 1.3;
}

/* ---- 页脚 ---- */
.site-footer {
  background: var(--teal-deep);
  color: #cfd9d9;
  margin-top: 24px;
}

.site-footer .container {
  max-width: var(--container);
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 32px;
  padding-top: 40px;
  padding-bottom: 28px;
}

.footer-col {
  min-width: 0;
}

.footer-title {
  font-size: 15px;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 12px;
  letter-spacing: 0;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.footer-links li {
  display: block;
}

.footer-links a {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 2px 0;
  font-size: 14px;
  color: #cfd9d9;
}

.footer-links a:hover {
  color: var(--orange-soft);
}

.footer-about p {
  font-size: 14px;
  line-height: 1.8;
  color: #b7c4c4;
  margin-bottom: 10px;
  max-width: 40ch;
}

.footer-bottom {
  padding-top: 16px;
  padding-bottom: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.footer-bottom p {
  font-size: 13px;
  color: #97a6a6;
  line-height: 1.7;
}

/* --------------------------------------------------------------------------
   3. components — 通用按钮、标签、面板、折叠、步骤、警示、表格、卡片
   -------------------------------------------------------------------------- */

/* ---- 按钮 ---- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 20px;
  font-size: 15px;
  font-weight: 600;
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
  text-align: center;
  line-height: 1.3;
  transition: background-color 0.18s ease, color 0.18s ease, border-color 0.18s ease;
}

.btn-primary {
  background: var(--teal);
  color: #ffffff;
  border-color: var(--teal);
}

.btn-primary:hover {
  background: var(--orange);
  border-color: var(--orange);
  color: #ffffff;
}

.btn-ghost {
  background: transparent;
  color: var(--teal);
  border-color: var(--line);
}

.btn-ghost:hover {
  border-color: var(--orange);
  color: var(--orange);
  background: #fbf7ef;
}

.btn-outline {
  background: var(--panel);
  color: var(--teal);
  border-color: var(--teal);
}

.btn-outline:hover {
  background: var(--teal);
  color: #ffffff;
}

/* ---- 链接强调 ---- */
.link-strong {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 600;
  color: var(--orange);
  border-bottom: 1px solid transparent;
  padding: 2px 0;
}

.link-strong::after {
  content: "→";
  font-size: 13px;
}

.link-strong:hover {
  color: var(--teal);
  border-bottom-color: var(--teal);
}

.text-link {
  color: var(--teal);
  font-weight: 600;
  font-size: 14px;
  border-bottom: 1px solid var(--line);
}

.text-link:hover {
  color: var(--orange);
  border-bottom-color: var(--orange);
}

/* ---- 标签 ---- */
.tag {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 2px 10px;
  font-size: 13px;
  color: var(--teal);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--panel);
  line-height: 1.4;
}

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.tag-row .tag {
  cursor: default;
}

.tag-row .tag.is-active {
  background: var(--orange);
  color: #ffffff;
  border-color: var(--orange);
}

/* ---- 章节标题 ---- */
.section-head {
  margin-bottom: 20px;
}

.section-head h2 {
  font-size: 24px;
  color: var(--teal);
  margin-bottom: 6px;
}

.section-head p {
  font-size: 14px;
  color: var(--ink-soft);
  line-height: 1.7;
  max-width: 68ch;
}

.section-title {
  font-size: 24px;
  color: var(--teal);
  margin-bottom: 6px;
}

.section-desc {
  font-size: 14px;
  color: var(--ink-soft);
  line-height: 1.7;
  max-width: 68ch;
  margin-bottom: 18px;
}

.section-note {
  font-size: 14px;
  color: var(--ink-soft);
  line-height: 1.7;
  margin-bottom: 16px;
  max-width: 68ch;
}

/* ---- 面板 / 摘要 ---- */
.summary-list {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.summary-list li {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  padding: 9px 0;
  border-bottom: 1px dashed var(--line);
  font-size: 14px;
}

.summary-list li:last-child {
  border-bottom: none;
}

.summary-key {
  color: var(--ink-soft);
  flex-shrink: 0;
}

.summary-val {
  color: var(--teal);
  font-weight: 600;
  text-align: right;
  min-width: 0;
}

/* ---- 折叠 FAQ ---- */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.faq-item {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 0;
  overflow: hidden;
}

.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 48px;
  padding: 12px 16px;
  font-size: 15px;
  font-weight: 600;
  color: var(--teal);
  cursor: pointer;
  list-style: none;
  line-height: 1.5;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 17px;
  font-weight: 400;
  color: var(--orange);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  line-height: 1;
}

.faq-item[open] summary {
  border-bottom: 1px solid var(--line);
  background: #fbf8f1;
}

.faq-item[open] summary::after {
  content: "−";
  background: var(--orange);
  color: #ffffff;
  border-color: var(--orange);
}

.faq-item summary:hover {
  color: var(--orange);
}

.faq-item summary:focus-visible {
  outline: 2px solid var(--orange);
  outline-offset: -2px;
}

.faq-answer {
  padding: 14px 16px 16px;
  font-size: 14px;
  color: var(--ink);
  line-height: 1.75;
}

.faq-answer p {
  margin-bottom: 8px;
}

.faq-answer p:last-child {
  margin-bottom: 0;
}

.faq-answer a {
  color: var(--orange);
  border-bottom: 1px solid var(--orange-soft);
}

.faq-answer a:hover {
  color: var(--teal);
  border-bottom-color: var(--teal);
}

/* ---- 步骤条（通用） ---- */
.step-list {
  display: grid;
  gap: 14px;
}

.step-item {
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr);
  gap: 14px;
  align-items: start;
  padding: 16px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.step-no {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: var(--radius-sm);
  background: var(--orange);
  color: #ffffff;
  font-family: var(--font-mono);
  font-size: 15px;
  font-weight: 700;
  line-height: 1;
}

.step-body {
  min-width: 0;
}

.step-name {
  font-size: 16px;
  color: var(--teal);
  margin-bottom: 4px;
}

.step-desc,
.step-text {
  font-size: 14px;
  color: var(--ink);
  line-height: 1.7;
  margin-bottom: 6px;
}

.step-check {
  font-size: 13px;
  color: var(--ink-soft);
  line-height: 1.7;
  padding-left: 10px;
  border-left: 2px solid var(--mist);
}

.step-hint {
  font-size: 13px;
  color: var(--ink-soft);
  line-height: 1.7;
  margin-top: 4px;
}

.step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: var(--radius-sm);
  background: var(--teal);
  color: #ffffff;
  font-family: var(--font-mono);
  font-size: 14px;
  font-weight: 700;
}

/* ---- 警示条 ---- */
.warning-bar {
  padding: 12px 16px;
  background: var(--brick-bg);
  border-left: 4px solid var(--brick);
  border-radius: var(--radius-sm);
  font-size: 14px;
  color: var(--brick);
  line-height: 1.7;
  margin: 18px 0;
}

/* ---- 表格 ---- */
.table-wrap {
  width: 100%;
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
}

.data-table {
  width: 100%;
  min-width: 520px;
  font-size: 14px;
}

.data-table thead th {
  background: var(--teal);
  color: #ffffff;
  font-weight: 600;
  text-align: left;
  padding: 12px 14px;
  font-size: 14px;
  white-space: nowrap;
}

.data-table tbody th,
.data-table tbody td {
  padding: 12px 14px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
  line-height: 1.65;
  color: var(--ink);
}

.data-table tbody tr:last-child th,
.data-table tbody tr:last-child td {
  border-bottom: none;
}

.data-table tbody th {
  color: var(--teal);
  font-weight: 600;
  white-space: nowrap;
}

.data-table tbody tr:nth-child(even) {
  background: #fbf9f4;
}

/* ---- 定义列表 ---- */
.field-defs {
  display: grid;
  gap: 0;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 6px 18px;
}

.field-def {
  padding: 12px 0;
  border-bottom: 1px dashed var(--line);
}

.field-def:last-child {
  border-bottom: none;
}

.field-def dt {
  font-size: 15px;
  font-weight: 700;
  color: var(--teal);
  margin-bottom: 4px;
}

.field-def dd {
  margin: 0;
  font-size: 14px;
  color: var(--ink);
  line-height: 1.75;
}

/* ---- 相关任务卡 ---- */
.task-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.task-card {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 16px 18px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  min-height: 88px;
  transition: border-color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
}

.task-card:hover {
  border-color: var(--orange);
  box-shadow: var(--shadow-md);
  transform: translateY(-1px);
  color: var(--teal);
}

.task-name,
.task-title {
  font-size: 16px;
  font-weight: 700;
  color: var(--teal);
  line-height: 1.4;
}

.task-scene,
.task-desc {
  font-size: 13px;
  color: var(--ink-soft);
  line-height: 1.7;
}

/* ---- 相关链接行 ---- */
.related-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 18px;
  max-width: var(--container);
  margin: 0 auto;
  padding: 18px 24px 4px;
  border-top: 1px solid var(--line);
}

.related-links-label {
  font-size: 13px;
  color: var(--ink-soft);
  font-weight: 600;
}

.related-links-item {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  font-size: 14px;
  color: var(--teal);
  border-bottom: 1px solid var(--line);
}

.related-links-item:hover {
  color: var(--orange);
  border-bottom-color: var(--orange);
}

/* ---- 侧栏卡 ---- */
.aside-card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px 18px 20px;
  margin-bottom: 16px;
}

.aside-card:last-child {
  margin-bottom: 0;
}

.aside-title {
  font-size: 17px;
  color: var(--teal);
  margin-bottom: 12px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--line);
}

.aside-links {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.aside-links li {
  display: block;
}

.aside-links a {
  display: flex;
  align-items: center;
  min-height: 40px;
  padding: 6px 0;
  font-size: 14px;
  color: var(--teal);
  border-bottom: 1px dashed var(--line);
  line-height: 1.5;
}

.aside-links li:last-child a {
  border-bottom: none;
}

.aside-links a:hover {
  color: var(--orange);
  padding-left: 4px;
}

/* --------------------------------------------------------------------------
   4. pages — 首页与各内页业务模块
   -------------------------------------------------------------------------- */

/* ===== 首页 ===== */
.home-main {
  padding-bottom: 40px;
}

/* ---- 首屏 ---- */
.hero {
  padding: 32px 0 8px;
  background: var(--cream);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: 32px;
  align-items: start;
}

.hero-focus {
  min-width: 0;
}

.hero-eyebrow {
  display: inline-block;
  font-size: 13px;
  font-weight: 600;
  color: var(--orange);
  padding: 3px 10px;
  border: 1px solid var(--orange-soft);
  border-radius: var(--radius-sm);
  background: #fdf6ef;
  margin-bottom: 14px;
}

.hero-focus h1 {
  font-size: 34px;
  line-height: 1.28;
  color: var(--teal);
  margin-bottom: 12px;
}

.hero-lead {
  font-size: 16px;
  line-height: 1.75;
  color: var(--ink);
  max-width: 60ch;
  margin-bottom: 18px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 22px;
}

.hero-media {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--panel);
}

.hero-media img {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  display: block;
}

.hero-media figcaption {
  padding: 10px 14px;
  background: var(--panel);
  border-top: 1px solid var(--line);
}

/* 首页目录摘要面板 */
.catalog-summary {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px;
  box-shadow: var(--shadow-sm);
}

.panel-title {
  font-size: 18px;
  color: var(--teal);
  margin-bottom: 8px;
}

.panel-intro {
  font-size: 14px;
  color: var(--ink-soft);
  line-height: 1.7;
  margin-bottom: 12px;
}

.summary-links {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
}

/* ---- 频道选择台 ---- */
.selector {
  padding: var(--gap-section) 0 0;
}

.selector-grid {
  display: grid;
  grid-template-columns: minmax(0, 4fr) minmax(0, 8fr);
  gap: 24px;
  align-items: start;
}

.filter-rail {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 16px 16px 18px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.filter-group {
  min-width: 0;
}

.filter-title {
  font-size: 14px;
  font-weight: 700;
  color: var(--teal);
  margin-bottom: 8px;
  padding-bottom: 6px;
  border-bottom: 1px dashed var(--line);
}

.match-results {
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-width: 0;
}

.match-item {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 16px 18px;
  transition: border-color 0.18s ease, box-shadow 0.18s ease;
}

.match-item:hover {
  border-color: var(--orange);
  box-shadow: var(--shadow-sm);
}

.match-name {
  font-size: 17px;
  color: var(--teal);
  margin-bottom: 4px;
}

.match-scene {
  font-size: 13px;
  color: var(--orange);
  font-weight: 600;
  margin-bottom: 6px;
}

.match-desc {
  font-size: 14px;
  color: var(--ink);
  line-height: 1.7;
  margin-bottom: 8px;
}

/* ---- 本期专题焦点 ---- */
.topic-focus {
  padding: var(--gap-section) 0 0;
}

.topic-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.topic-entry {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 0;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}

.topic-media {
  width: 100%;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}

.topic-media img {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  display: block;
}

.topic-copy {
  padding: 16px 18px 18px;
  min-width: 0;
}

.topic-tag {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  color: var(--orange);
  padding: 2px 8px;
  border: 1px solid var(--orange-soft);
  border-radius: var(--radius-sm);
  background: #fdf6ef;
  margin-bottom: 8px;
}

.topic-copy h3 {
  font-size: 18px;
  color: var(--teal);
  margin-bottom: 8px;
}

.topic-copy > p {
  font-size: 14px;
  color: var(--ink);
  line-height: 1.75;
  margin-bottom: 10px;
}

.topic-points {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-bottom: 12px;
}

.topic-points li {
  position: relative;
  padding-left: 16px;
  font-size: 14px;
  color: var(--ink-soft);
  line-height: 1.7;
}

.topic-points li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 0.72em;
  width: 6px;
  height: 6px;
  border-radius: 1px;
  background: var(--orange);
}

/* ---- 内容目录摘要 ---- */
.directory-brief {
  padding: var(--gap-section) 0 0;
}

.channel-brief-list {
  display: flex;
  flex-direction: column;
  border-top: 1px solid var(--line);
}

.channel-brief {
  display: grid;
  grid-template-columns: minmax(120px, 180px) minmax(0, 1fr) auto;
  gap: 16px;
  align-items: center;
  padding: 14px 4px;
  border-bottom: 1px solid var(--line);
}

.channel-brief-name {
  font-size: 16px;
  color: var(--teal);
  margin: 0;
}

.channel-brief-scope {
  font-size: 14px;
  color: var(--ink-soft);
  line-height: 1.7;
  min-width: 0;
}

.channel-brief .link-strong {
  white-space: nowrap;
}

/* ---- 观看前检查带 ---- */
.precheck {
  padding: var(--gap-section) 0 0;
}

.precheck-steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.precheck-step {
  background: var(--mist);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 16px;
  min-width: 0;
}

.precheck-step .step-no {
  margin-bottom: 10px;
}

.precheck-step .step-title {
  font-size: 16px;
  color: var(--teal);
  margin-bottom: 6px;
}

.precheck-step .step-text {
  font-size: 14px;
  color: var(--ink);
  line-height: 1.7;
}

.precheck-actions {
  margin-top: 16px;
}

/* ---- 维护批次摘要 ---- */
.batch-brief {
  padding: var(--gap-section) 0 0;
}

.batch-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.batch-item {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 14px;
  align-items: center;
  padding: 14px 16px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.batch-tag {
  display: inline-flex;
  align-items: center;
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 700;
  color: var(--teal);
  background: var(--mist);
  padding: 3px 9px;
  border-radius: var(--radius-sm);
  white-space: nowrap;
}

.batch-text {
  font-size: 14px;
  color: var(--ink);
  line-height: 1.7;
  min-width: 0;
}

.batch-item .link-strong {
  white-space: nowrap;
}

/* ---- 首页使用问答 ---- */
.home-faq {
  padding: var(--gap-section) 0 0;
}

/* ---- 相关任务带 ---- */
.task-band {
  padding: var(--gap-section) 0 0;
}

.task-band h2 {
  font-size: 24px;
  color: var(--teal);
  margin-bottom: 18px;
}

/* ===== 内页通用 ===== */
.inner-main > .breadcrumb {
  padding-top: 20px;
}

.inner-main > .page-header {
  padding-bottom: 18px;
  margin-bottom: 24px;
}

.page-layout {
  display: grid;
  grid-template-columns: minmax(0, 8fr) minmax(0, 4fr);
  gap: 32px;
  align-items: start;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px 8px;
}

.layout-main,
.content-main {
  min-width: 0;
}

.layout-aside,
.content-aside {
  min-width: 0;
}

.section {
  margin-bottom: 32px;
}

.section:last-child {
  margin-bottom: 0;
}

.section > h2 {
  font-size: 22px;
  color: var(--teal);
  margin-bottom: 8px;
}

/* ===== 内容目录页 ===== */
.page-head {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px 20px;
}

.page-lead {
  font-size: 16px;
  color: var(--ink);
  line-height: 1.75;
  max-width: 68ch;
  margin-bottom: 16px;
}

.field-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding-top: 12px;
  border-top: 1px dashed var(--line);
}

.legend-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: var(--ink-soft);
}

.legend-key {
  display: inline-flex;
  align-items: center;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  color: var(--teal);
  background: var(--mist);
  padding: 2px 8px;
  border-radius: var(--radius-sm);
}

.page-content-directory .layout-shell {
  display: grid;
  grid-template-columns: minmax(0, 8fr) minmax(0, 4fr);
  gap: 32px;
  align-items: start;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px 8px;
}

.intro-grid {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: 20px;
  align-items: start;
}

.intro-media {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--panel);
}

.intro-media img {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  display: block;
}

.intro-copy {
  min-width: 0;
}

.intro-copy p {
  font-size: 15px;
  color: var(--ink);
  line-height: 1.8;
  margin-bottom: 10px;
}

.intro-points {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-top: 10px;
}

.intro-points li {
  position: relative;
  padding-left: 16px;
  font-size: 14px;
  color: var(--ink-soft);
  line-height: 1.7;
}

.intro-points li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 0.72em;
  width: 6px;
  height: 6px;
  border-radius: 1px;
  background: var(--teal);
}

.link-note {
  font-size: 13px;
  color: var(--ink-soft);
  line-height: 1.7;
  margin-top: 10px;
}

.summary-card .summary-list li {
  padding: 8px 0;
}

.summary-row {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  align-items: baseline;
}

.summary-foot {
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid var(--line);
}

/* ===== 专题档案页 ===== */
.page-topics .page-hero {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px 22px;
}

.page-topics .page-hero .page-lead {
  margin-bottom: 12px;
}

.topic-tags {
  margin-top: 4px;
}

.page-topics .page-layout {
  padding-top: 0;
}

.topic-intro-grid {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: 20px;
  align-items: start;
}

.topic-cover {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--panel);
}

.topic-cover img {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  display: block;
}

.topic-cover figcaption {
  padding: 8px 12px;
  border-top: 1px solid var(--line);
}

.topic-lead {
  min-width: 0;
}

.topic-lead p {
  font-size: 15px;
  color: var(--ink);
  line-height: 1.8;
  margin-bottom: 10px;
}

.lead-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-top: 8px;
}

.lead-list li {
  position: relative;
  padding-left: 16px;
  font-size: 14px;
  color: var(--ink-soft);
  line-height: 1.7;
}

.lead-list li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 0.72em;
  width: 6px;
  height: 6px;
  border-radius: 1px;
  background: var(--orange);
}

/* 时间线 */
.timeline-list {
  display: flex;
  flex-direction: column;
  gap: 0;
  border-left: 2px solid var(--mist);
  padding-left: 20px;
  margin-left: 4px;
}

.timeline-item {
  position: relative;
  padding: 0 0 18px;
}

.timeline-item:last-child {
  padding-bottom: 0;
}

.timeline-item::before {
  content: "";
  position: absolute;
  left: -27px;
  top: 6px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--panel);
  border: 2px solid var(--orange);
}

.timeline-stage {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  color: var(--orange);
  background: #fdf6ef;
  border: 1px solid var(--orange-soft);
  padding: 1px 8px;
  border-radius: var(--radius-sm);
  margin-bottom: 6px;
}

.timeline-item p {
  font-size: 14px;
  color: var(--ink);
  line-height: 1.75;
  margin-bottom: 4px;
}

.timeline-jump {
  font-size: 13px;
  color: var(--teal);
  border-bottom: 1px dashed var(--line);
}

.timeline-jump:hover {
  color: var(--orange);
  border-bottom-color: var(--orange);
}

/* 片单 */
.playlist-item {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: 18px;
  align-items: start;
  padding: 16px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  margin-bottom: 14px;
}

.playlist-item:last-child {
  margin-bottom: 0;
}

.playlist-media {
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: var(--cream);
}

.playlist-media img {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  display: block;
}

.playlist-copy {
  min-width: 0;
}

.playlist-copy h3 {
  font-size: 17px;
  color: var(--teal);
  margin-bottom: 6px;
}

.playlist-copy > p {
  font-size: 14px;
  color: var(--ink);
  line-height: 1.75;
  margin-bottom: 8px;
}

.playlist-lines {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-bottom: 8px;
}

.playlist-lines li {
  position: relative;
  padding-left: 16px;
  font-size: 14px;
  color: var(--ink-soft);
  line-height: 1.7;
}

.playlist-lines li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 0.72em;
  width: 6px;
  height: 6px;
  border-radius: 1px;
  background: var(--teal);
}

.playlist-hint {
  font-size: 13px;
  color: var(--ink-soft);
  line-height: 1.7;
  padding-top: 8px;
  border-top: 1px dashed var(--line);
}

/* 关键资料 */
.material-list {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 6px 18px;
}

.material-list dt {
  font-size: 15px;
  font-weight: 700;
  color: var(--teal);
  padding-top: 12px;
}

.material-list dd {
  margin: 0;
  padding: 4px 0 12px;
  font-size: 14px;
  color: var(--ink);
  line-height: 1.75;
  border-bottom: 1px dashed var(--line);
}

.material-list dd:last-child {
  border-bottom: none;
}

/* 复制链接 */
.aside-share > p {
  font-size: 14px;
  color: var(--ink-soft);
  line-height: 1.7;
  margin-bottom: 12px;
}

.copy-link-btn {
  width: 100%;
  margin-bottom: 10px;
}

.copy-status {
  font-size: 13px;
  line-height: 1.7;
  color: var(--teal);
  margin-bottom: 8px;
  min-height: 0;
}

.copy-status:empty {
  display: none;
}

.copy-manual {
  font-size: 13px;
  color: var(--ink-soft);
  line-height: 1.7;
  padding: 10px 12px;
  background: var(--cream);
  border: 1px dashed var(--line);
  border-radius: var(--radius-sm);
  word-break: break-all;
}

/* ===== 观看条件页 ===== */
.page-viewing-conditions .page-head {
  padding-bottom: 22px;
}

.page-note {
  font-size: 14px;
  color: var(--ink-soft);
  line-height: 1.7;
  padding-left: 12px;
  border-left: 3px solid var(--orange);
}

.page-viewing-conditions .section {
  padding: 0 24px;
  max-width: var(--container);
  margin-left: auto;
  margin-right: auto;
}

.condition-intro-grid {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: 24px;
  align-items: start;
}

.condition-media {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--panel);
}

.condition-media img {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  display: block;
}

.condition-media figcaption {
  padding: 8px 12px;
  border-top: 1px solid var(--line);
}

.condition-copy {
  min-width: 0;
}

.condition-copy p {
  font-size: 15px;
  color: var(--ink);
  line-height: 1.8;
  margin-bottom: 10px;
}

.condition-scope-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-top: 10px;
}

.condition-scope-list li {
  position: relative;
  padding-left: 16px;
  font-size: 14px;
  color: var(--ink-soft);
  line-height: 1.7;
}

.condition-scope-list li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 0.72em;
  width: 6px;
  height: 6px;
  border-radius: 1px;
  background: var(--orange);
}

/* 检查清单 */
.checklist {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.checklist-item {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 16px;
  min-width: 0;
}

.checklist-title {
  font-size: 16px;
  color: var(--teal);
  margin-bottom: 6px;
  padding-bottom: 6px;
  border-bottom: 1px dashed var(--line);
}

.checklist-action {
  font-size: 14px;
  color: var(--ink);
  line-height: 1.7;
  margin-bottom: 6px;
}

.checklist-standard {
  font-size: 13px;
  color: var(--ink-soft);
  line-height: 1.7;
  padding-left: 10px;
  border-left: 2px solid var(--orange-soft);
}

/* 限制说明 */
.alert-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.alert-item {
  background: var(--brick-bg);
  border: 1px solid #e9c9bf;
  border-left: 4px solid var(--brick);
  border-radius: var(--radius-sm);
  padding: 14px 16px;
}

.alert-title {
  font-size: 15px;
  color: var(--brick);
  margin-bottom: 6px;
}

.alert-item > p {
  font-size: 14px;
  color: var(--ink);
  line-height: 1.7;
  margin-bottom: 6px;
}

.alert-action {
  font-size: 13px;
  color: var(--brick) !important;
  font-weight: 600;
  line-height: 1.7;
  padding-top: 6px;
  border-top: 1px dashed #e0b8ac;
}

.related-tasks {
  margin-top: 8px;
}

/* ===== 入口自查页 ===== */
.page-hero {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px 20px;
}

.page-hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: 24px;
  align-items: start;
}

.page-hero-copy {
  min-width: 0;
}

.page-kicker {
  display: inline-block;
  font-size: 13px;
  font-weight: 600;
  color: var(--orange);
  background: #fdf6ef;
  border: 1px solid var(--orange-soft);
  padding: 2px 10px;
  border-radius: var(--radius-sm);
  margin-bottom: 10px;
}

.page-hero-media {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--panel);
}

.page-hero-media img {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  display: block;
}

.media-caption {
  padding: 8px 12px;
  border-top: 1px solid var(--line);
}

.page-meta-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 20px;
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px dashed var(--line);
}

.page-meta-item {
  font-size: 13px;
  color: var(--ink);
  display: flex;
  align-items: center;
  gap: 6px;
}

.meta-label {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  color: var(--teal);
  background: var(--mist);
  padding: 2px 8px;
  border-radius: var(--radius-sm);
}

/* 问题分类 */
.issue-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.issue-col {
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-width: 0;
}

.issue-card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 14px 16px;
}

.issue-name {
  font-size: 16px;
  color: var(--teal);
  margin-bottom: 4px;
}

.issue-desc {
  font-size: 14px;
  color: var(--ink);
  line-height: 1.7;
  margin-bottom: 6px;
}

.issue-hint {
  font-size: 13px;
  color: var(--ink-soft);
  line-height: 1.7;
  padding-left: 10px;
  border-left: 2px solid var(--mist);
}

/* 步骤 */
.steps-section .step-list {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

/* 警示 */
.warning-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.warning-item {
  background: var(--brick-bg);
  border: 1px solid #e9c9bf;
  border-left: 4px solid var(--brick);
  border-radius: var(--radius-sm);
  padding: 14px 16px;
}

.warning-name {
  font-size: 15px;
  color: var(--brick);
  margin-bottom: 6px;
}

.warning-desc {
  font-size: 14px;
  color: var(--ink);
  line-height: 1.7;
  margin-bottom: 6px;
}

.warning-action {
  font-size: 13px;
  color: var(--brick);
  line-height: 1.7;
  padding-top: 6px;
  border-top: 1px dashed #e0b8ac;
}

.action-label {
  display: inline-block;
  font-weight: 700;
  margin-right: 4px;
}

.warning-note {
  margin-top: 14px;
  font-size: 13px;
  color: var(--ink-soft);
  line-height: 1.7;
}

/* 相关列表 */
.related-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.related-item {
  min-width: 0;
}

.related-item > a {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 14px 16px;
  min-height: 88px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: border-color 0.18s ease, box-shadow 0.18s ease;
}

.related-item > a:hover {
  border-color: var(--orange);
  box-shadow: var(--shadow-sm);
}

.related-name,
.related-title {
  font-size: 15px;
  font-weight: 700;
  color: var(--teal);
  line-height: 1.4;
}

.related-desc {
  font-size: 13px;
  color: var(--ink-soft);
  line-height: 1.7;
}

/* ===== 维护记录页 ===== */
.page-maintenance .page-head {
  padding-bottom: 22px;
}

.page-head-inner {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: 24px;
  align-items: start;
}

.page-head-copy {
  min-width: 0;
}

.page-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-top: 10px;
}

.meta-note {
  font-size: 13px;
  color: var(--ink-soft);
  line-height: 1.6;
}

.page-head-media {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--panel);
}

.page-head-media img {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  display: block;
}

.page-head-media figcaption {
  padding: 8px 12px;
  border-top: 1px solid var(--line);
}

.maintenance-shell {
  display: block;
  max-width: 900px;
  padding: 0 24px 8px;
}

.batch-current,
.batch-history,
.batch-impact-note,
.page-maintenance .related-tasks {
  margin-bottom: 28px;
}

.batch-current > h2,
.batch-history > h2,
.batch-impact-note > h2,
.page-maintenance .related-tasks > h2 {
  font-size: 22px;
  color: var(--teal);
  margin-bottom: 8px;
}

.batch-panel {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  margin-bottom: 12px;
  overflow: hidden;
}

.batch-panel:last-child {
  margin-bottom: 0;
}

.batch-summary {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  min-height: 48px;
  padding: 12px 16px;
  cursor: pointer;
  list-style: none;
  font-size: 15px;
  color: var(--teal);
  font-weight: 600;
  background: #fbf8f1;
}

.batch-summary::-webkit-details-marker {
  display: none;
}

.batch-summary::after {
  content: "＋";
  margin-left: auto;
  font-size: 15px;
  font-weight: 400;
  color: var(--orange);
}

.batch-panel[open] > .batch-summary::after {
  content: "－";
}

.batch-summary:hover {
  color: var(--orange);
}

.batch-summary:focus-visible {
  outline: 2px solid var(--orange);
  outline-offset: -2px;
}

.batch-scope {
  font-size: 14px;
  color: var(--ink-soft);
  font-weight: 400;
}

.batch-panel > .batch-list {
  padding: 8px 16px 14px;
  gap: 0;
}

.batch-panel .batch-item {
  display: block;
  padding: 12px 0;
  border: none;
  border-bottom: 1px dashed var(--line);
  border-radius: 0;
  background: transparent;
}

.batch-panel .batch-item:last-child {
  border-bottom: none;
}

.batch-item-title {
  font-size: 15px;
  color: var(--teal);
  margin-bottom: 4px;
}

.batch-item > p {
  font-size: 14px;
  color: var(--ink);
  line-height: 1.7;
  margin-bottom: 4px;
}

.batch-impact {
  font-size: 13px;
  color: var(--ink-soft);
  line-height: 1.7;
}

.flag-important {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  color: #ffffff;
  background: var(--brick);
  padding: 1px 6px;
  border-radius: 3px;
  margin-left: 6px;
  vertical-align: 2px;
  letter-spacing: 0;
}

.batch-impact-note > p {
  font-size: 15px;
  color: var(--ink);
  line-height: 1.8;
  margin-bottom: 12px;
}

.impact-checklist {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.impact-checklist li {
  position: relative;
  padding-left: 18px;
  font-size: 14px;
  color: var(--ink);
  line-height: 1.75;
}

.impact-checklist li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 0.72em;
  width: 7px;
  height: 7px;
  border-radius: 1px;
  background: var(--orange);
}

/* ===== 使用问答页 ===== */
.page-faq .page-hero {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: 24px;
  align-items: start;
}

.page-faq .page-hero-copy {
  min-width: 0;
}

.hero-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 6px;
}

.page-faq .page-hero-media img {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  display: block;
}

.page-faq .page-hero-media figcaption {
  padding: 8px 12px;
  border-top: 1px solid var(--line);
}

.faq-group {
  margin-bottom: 28px;
}

.faq-group:last-of-type {
  margin-bottom: 0;
}

.faq-group .section-head {
  margin-bottom: 14px;
}

.faq-group .section-head h2 {
  font-size: 21px;
}

.feedback-note {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px;
  margin-top: 8px;
}

.feedback-note .section-head {
  margin-bottom: 10px;
}

.feedback-body p {
  font-size: 14px;
  color: var(--ink);
  line-height: 1.75;
  margin-bottom: 8px;
}

.feedback-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 20px;
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px dashed var(--line);
}

.feedback-links a {
  font-size: 14px;
  color: var(--orange);
  font-weight: 600;
  border-bottom: 1px solid var(--orange-soft);
  padding: 2px 0;
}

.feedback-links a:hover {
  color: var(--teal);
  border-bottom-color: var(--teal);
}

.page-faq .layout-aside .aside-card > p {
  font-size: 14px;
  color: var(--ink-soft);
  line-height: 1.75;
  margin-bottom: 10px;
}

.page-faq .layout-aside .aside-card > p:last-child {
  margin-bottom: 0;
}

/* ===== 404 ===== */
.site-error .error-main {
  padding: 48px 24px 60px;
}

.error-panel {
  max-width: 720px;
  margin: 0 auto;
  padding: 32px 28px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  text-align: left;
}

.error-code {
  font-family: var(--font-mono);
  font-size: 44px;
  font-weight: 700;
  color: var(--orange);
  line-height: 1;
  margin-bottom: 8px;
}

.error-panel h1 {
  font-size: 28px;
  color: var(--teal);
  margin-bottom: 10px;
}

.error-lead {
  font-size: 15px;
  color: var(--ink);
  line-height: 1.8;
  margin-bottom: 20px;
  max-width: 60ch;
}

.error-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 22px;
}

.error-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  padding-top: 16px;
  border-top: 1px dashed var(--line);
}

.error-links a {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  font-size: 14px;
  color: var(--teal);
  border-bottom: 1px solid var(--line);
}

.error-links a:hover {
  color: var(--orange);
  border-bottom-color: var(--orange);
}

/* --------------------------------------------------------------------------
   5. responsive — 960px 与 640px 断点
   -------------------------------------------------------------------------- */
@media (max-width: 960px) {
  .header-inner {
    min-height: 64px;
    gap: 12px;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .primary-nav.site-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    display: block;
    background: var(--panel);
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-md);
    padding: 8px 16px 14px;
  }

  .nav-list {
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
  }

  .nav-list.is-open {
    display: flex;
  }

  .nav-item > a {
    display: flex;
    width: 100%;
    min-height: 46px;
    padding: 0 12px;
    border-bottom: 1px solid var(--line);
    border-radius: var(--radius-sm);
    font-size: 15px;
  }

  .nav-item.is-current > a,
  .nav-item > a.is-current {
    border-bottom-color: var(--line);
    background: #fdf6ef;
    border-left: 3px solid var(--orange);
  }

  .hero-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 24px;
  }

  .selector-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 18px;
  }

  .filter-rail {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 16px 24px;
  }

  .filter-group {
    flex: 1 1 200px;
  }

  .topic-list {
    grid-template-columns: minmax(0, 1fr);
  }

  .channel-brief {
    grid-template-columns: minmax(110px, 160px) minmax(0, 1fr);
    row-gap: 6px;
  }

  .channel-brief .link-strong {
    grid-column: 2;
    justify-self: start;
  }

  .precheck-steps {
    grid-template-columns: minmax(0, 1fr);
  }

  .batch-item {
    grid-template-columns: auto minmax(0, 1fr);
    row-gap: 6px;
  }

  .batch-item .link-strong {
    grid-column: 2;
    justify-self: start;
  }

  .task-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .page-layout,
  .page-content-directory .layout-shell {
    grid-template-columns: minmax(0, 1fr);
    gap: 24px;
  }

  .intro-grid,
  .topic-intro-grid,
  .condition-intro-grid,
  .page-hero-inner,
  .page-faq .page-hero,
  .page-head-inner {
    grid-template-columns: minmax(0, 1fr);
    gap: 18px;
  }

  .playlist-item {
    grid-template-columns: minmax(0, 1fr);
  }

  .checklist {
    grid-template-columns: minmax(0, 1fr);
  }

  .issue-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .steps-section .step-list {
    grid-template-columns: minmax(0, 1fr);
  }

  .related-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
  }

  .footer-about {
    grid-column: 1 / -1;
  }
}

@media (max-width: 640px) {
  body {
    font-size: 15px;
  }

  .container,
  .header-inner,
  .breadcrumb,
  .page-header,
  .page-head,
  .page-hero,
  .page-layout,
  .page-content-directory .layout-shell,
  .maintenance-shell,
  .related-links {
    padding-left: 16px;
    padding-right: 16px;
  }

  .page-viewing-conditions .section {
    padding-left: 16px;
    padding-right: 16px;
  }

  .brand-slogan {
    font-size: 15px;
  }

  .brand-mark {
    width: 30px;
    height: 30px;
    font-size: 14px;
  }

  .hero {
    padding-top: 20px;
  }

  .hero-focus h1 {
    font-size: 26px;
  }

  .hero-lead {
    font-size: 15px;
  }

  .hero-actions {
    gap: 8px;
  }

  .hero-actions .btn {
    flex: 1 1 auto;
  }

  .page-title {
    font-size: 26px;
  }

  .section-head h2,
  .section-title,
  .task-band h2,
  .batch-current > h2,
  .batch-history > h2,
  .batch-impact-note > h2,
  .page-maintenance .related-tasks > h2 {
    font-size: 20px;
  }

  .section > h2 {
    font-size: 19px;
  }

  .faq-group .section-head h2 {
    font-size: 18px;
  }

  .catalog-summary {
    padding: 16px;
  }

  .summary-list li {
    flex-wrap: wrap;
    gap: 2px;
  }

  .summary-val {
    text-align: left;
  }

  .match-item {
    padding: 14px;
  }

  .topic-copy {
    padding: 14px;
  }

  .channel-brief {
    grid-template-columns: minmax(0, 1fr);
    gap: 4px;
    padding: 12px 2px;
  }

  .channel-brief .link-strong {
    grid-column: 1;
  }

  .precheck-step {
    padding: 14px;
  }

  .batch-item {
    grid-template-columns: minmax(0, 1fr);
    padding: 12px 14px;
  }

  .batch-item .link-strong {
    grid-column: 1;
  }

  .task-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .step-item {
    grid-template-columns: 34px minmax(0, 1fr);
    gap: 12px;
    padding: 14px;
  }

  .step-no {
    width: 30px;
    height: 30px;
    font-size: 14px;
  }

  .timeline-list {
    padding-left: 16px;
    margin-left: 2px;
  }

  .timeline-item::before {
    left: -23px;
  }

  .playlist-item {
    padding: 12px;
  }

  .related-list {
    grid-template-columns: minmax(0, 1fr);
  }

  .footer-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 20px;
    padding-top: 28px;
    padding-bottom: 20px;
  }

  .footer-about {
    grid-column: auto;
  }

  .footer-about p {
    max-width: none;
  }

  .error-panel {
    padding: 24px 18px;
  }

  .error-code {
    font-size: 36px;
  }

  .error-panel h1 {
    font-size: 22px;
  }

  .error-actions .btn {
    flex: 1 1 auto;
  }

  .data-table {
    min-width: 480px;
  }

  .field-defs,
  .material-list {
    padding-left: 14px;
    padding-right: 14px;
  }

  .aside-card {
    padding: 16px;
  }

  .feedback-note {
    padding: 14px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }
}
