/* ==========================================================================
   星空影院 · 全站样式
   分组：base / layout / components / pages / responsive / print
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. base
   -------------------------------------------------------------------------- */

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  margin: 0;
  background: #f4f7fa;
  color: #172033;
  font-family: "Noto Sans SC", "PingFang SC", "Microsoft YaHei", "Hiragino Sans GB", sans-serif;
  font-size: 15.5px;
  line-height: 1.75;
  font-variant-numeric: tabular-nums;
}

h1,
h2,
h3,
h4,
p,
ul,
ol,
figure,
blockquote {
  margin: 0;
}

ul,
ol {
  padding: 0;
  list-style: none;
}

h1 {
  font-size: 34px;
  font-weight: 700;
  line-height: 1.3;
  color: #172033;
}

h2 {
  font-size: 22px;
  font-weight: 650;
  line-height: 1.4;
  color: #172033;
}

h3 {
  font-size: 17px;
  font-weight: 600;
  line-height: 1.5;
  color: #172033;
}

p {
  color: #172033;
}

a {
  color: #0f6b78;
  text-decoration: none;
  transition: color 0.18s ease, border-color 0.18s ease, background-color 0.18s ease;
}

a:hover {
  color: #0b4f59;
  text-decoration: underline;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

button {
  font-family: inherit;
  font-size: inherit;
  color: inherit;
  cursor: pointer;
}

:focus-visible {
  outline: 2px solid #0f6b78;
  outline-offset: 2px;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -60px;
  z-index: 60;
  padding: 10px 18px;
  background: #0f6b78;
  color: #ffffff;
  border-radius: 6px;
  font-size: 14px;
}

.skip-link:focus {
  top: 12px;
  color: #ffffff;
  text-decoration: none;
}

/* --------------------------------------------------------------------------
   2. layout — 页头 / 主容器 / 面包屑 / 页标题 / 页脚
   -------------------------------------------------------------------------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: #ffffff;
  border-bottom: 1px solid #d7e0e8;
}

.header-inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px;
  min-height: 64px;
  display: flex;
  align-items: center;
  gap: 28px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
  color: #172033;
  font-weight: 700;
}

.brand:hover {
  text-decoration: none;
  color: #172033;
}

.brand-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 6px;
  background: #0f6b78;
  color: #ffffff;
  font-size: 13px;
  font-weight: 700;
  line-height: 1;
}

.brand-mark::before {
  content: "星空";
}

.brand-tag {
  font-size: 17px;
  font-weight: 700;
  color: #172033;
  white-space: nowrap;
}

.site-nav {
  flex: 1 1 auto;
  min-width: 0;
}

.nav-list {
  display: flex;
  align-items: center;
  gap: 4px;
  flex-wrap: nowrap;
}

.nav-link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 10px;
  border-radius: 6px;
  font-size: 14.5px;
  color: #5b6878;
  white-space: nowrap;
}

.nav-link:hover {
  color: #0f6b78;
  background: #edf6f7;
  text-decoration: none;
}

.nav-link.is-current {
  color: #0f6b78;
  font-weight: 600;
  background: #edf6f7;
}

.header-tools {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.print-btn {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 0 14px;
  border: 1px solid #d7e0e8;
  border-radius: 6px;
  background: #ffffff;
  color: #5b6878;
  font-size: 13.5px;
  line-height: 1;
  white-space: nowrap;
}

.print-btn::before {
  content: "打印本页";
}

.print-btn:hover {
  border-color: #0f6b78;
  color: #0f6b78;
  background: #edf6f7;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 4px;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid #d7e0e8;
  border-radius: 6px;
  background: #ffffff;
}

.nav-toggle-bar {
  display: block;
  width: 18px;
  height: 2px;
  border-radius: 1px;
  background: #172033;
}

.site-main {
  display: block;
}

.inner-main {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px 72px;
}

.breadcrumb {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
  padding: 20px 0 4px;
  font-size: 13.5px;
  color: #5b6878;
}

.breadcrumb a {
  color: #5b6878;
}

.breadcrumb a:hover {
  color: #0f6b78;
}

.breadcrumb-sep {
  color: #a9b6c2;
}

.breadcrumb-current {
  color: #172033;
  font-weight: 500;
}

.breadcrumb-list {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 13.5px;
  color: #5b6878;
}

.breadcrumb-list li {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.breadcrumb-list li + li::before {
  content: "/";
  color: #a9b6c2;
}

.breadcrumb-list a {
  color: #5b6878;
}

.breadcrumb-list a:hover {
  color: #0f6b78;
}

.page-header {
  padding: 10px 0 22px;
}

.page-title {
  font-size: 34px;
  font-weight: 700;
  line-height: 1.3;
  color: #172033;
  max-width: 900px;
}

/* 页脚 */

.site-footer {
  margin-top: 0;
  background: #ffffff;
  border-top: 1px solid #d7e0e8;
}

.footer-inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 44px 24px 32px;
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  gap: 40px;
}

.footer-logo {
  font-size: 17px;
  font-weight: 700;
  color: #172033;
}

.footer-desc {
  margin-top: 10px;
  max-width: 460px;
  font-size: 14px;
  line-height: 1.8;
  color: #5b6878;
}

.footer-nav {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px;
}

.footer-col h2 {
  font-size: 14px;
  font-weight: 600;
  color: #172033;
  margin-bottom: 12px;
}

.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-col a {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  font-size: 14px;
  color: #5b6878;
}

.footer-col a:hover {
  color: #0f6b78;
}

.footer-bottom {
  max-width: 1120px;
  margin: 0 auto;
  padding: 18px 24px 28px;
  border-top: 1px solid #d7e0e8;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px 24px;
}

.footer-bottom p {
  font-size: 13px;
  line-height: 1.7;
  color: #5b6878;
}

.footer-copy {
  color: #5b6878;
}

/* --------------------------------------------------------------------------
   3. components — 通用按钮 / 链接 / 表格 / 流程节点 / FAQ / 标签
   -------------------------------------------------------------------------- */

.btn,
.btn-primary,
.btn-ghost,
.btn-plain {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border-radius: 6px;
  font-size: 14.5px;
  font-weight: 500;
  line-height: 1.2;
  text-align: center;
  border: 1px solid transparent;
}

.btn-primary {
  background: #0f6b78;
  border-color: #0f6b78;
  color: #ffffff;
}

.btn-primary:hover {
  background: #0b4f59;
  border-color: #0b4f59;
  color: #ffffff;
  text-decoration: none;
}

.btn-ghost {
  background: #ffffff;
  border-color: #d7e0e8;
  color: #172033;
}

.btn-ghost:hover {
  border-color: #0f6b78;
  color: #0f6b78;
  text-decoration: none;
}

.btn-plain {
  background: transparent;
  border-color: transparent;
  color: #0f6b78;
  padding: 0 6px;
}

.btn-plain:hover {
  color: #0b4f59;
  text-decoration: underline;
}

.text-link {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  font-size: 14.5px;
  font-weight: 500;
  color: #0f6b78;
}

.text-link::after {
  content: "→";
  margin-left: 6px;
  font-size: 13px;
}

.text-link:hover {
  color: #0b4f59;
  text-decoration: none;
}

/* 区块标题组 */

.section-head {
  margin-bottom: 20px;
  max-width: 780px;
}

.section-head h2 {
  margin-bottom: 8px;
}

.section-head p {
  font-size: 14.5px;
  line-height: 1.8;
  color: #5b6878;
}

.section-intro,
.section-lead,
.section-desc {
  margin-bottom: 18px;
  max-width: 820px;
  font-size: 14.5px;
  line-height: 1.8;
  color: #5b6878;
}

/* 表格 */

.table-wrap {
  width: 100%;
  overflow-x: auto;
  background: #ffffff;
  border: 1px solid #d7e0e8;
  border-radius: 8px;
}

table.data-table,
table.compare-table,
table.check-table,
table.output-table,
table.tag-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
  line-height: 1.65;
}

table caption,
.table-caption {
  padding: 14px 18px;
  text-align: left;
  font-size: 13px;
  font-weight: 500;
  color: #5b6878;
  border-bottom: 1px solid #d7e0e8;
  background: #f4f7fa;
}

table thead th {
  padding: 12px 16px;
  text-align: left;
  font-size: 13px;
  font-weight: 600;
  color: #172033;
  background: #edf6f7;
  border-bottom: 1px solid #d7e0e8;
  white-space: nowrap;
}

table tbody th {
  padding: 13px 16px;
  text-align: left;
  font-size: 14px;
  font-weight: 600;
  color: #172033;
  vertical-align: top;
  border-bottom: 1px solid #d7e0e8;
}

table tbody td {
  padding: 13px 16px;
  color: #5b6878;
  vertical-align: top;
  border-bottom: 1px solid #d7e0e8;
}

table tbody tr:last-child th,
table tbody tr:last-child td {
  border-bottom: 0;
}

table tbody tr:hover th,
table tbody tr:hover td {
  background: #f7fbfb;
}

table tbody td a {
  color: #0f6b78;
  font-weight: 500;
}

/* 流程 / 步骤节点 */

.step-list {
  display: grid;
  gap: 12px;
}

.step-node,
.step-item,
.method-step,
.route-node {
  position: relative;
  background: #ffffff;
  border: 1px solid #d7e0e8;
  border-radius: 8px;
  padding: 16px 18px;
}

.step-node h3,
.step-item h3,
.method-step h3,
.route-node h3 {
  margin-bottom: 6px;
}

.step-node p,
.step-item p,
.method-step p,
.route-node p {
  font-size: 14px;
  line-height: 1.75;
  color: #5b6878;
}

.step-num,
.route-num,
.step-index {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 26px;
  height: 26px;
  margin-bottom: 8px;
  padding: 0 6px;
  border-radius: 6px;
  background: #edf6f7;
  color: #0f6b78;
  font-size: 12.5px;
  font-weight: 600;
  line-height: 1;
}

/* FAQ */

.faq-item {
  background: #ffffff;
  border: 1px solid #d7e0e8;
  border-radius: 8px;
  overflow: hidden;
}

.faq-item + .faq-item {
  margin-top: 10px;
}

.faq-item summary {
  position: relative;
  display: block;
  padding: 15px 46px 15px 18px;
  font-size: 15px;
  font-weight: 600;
  color: #172033;
  cursor: pointer;
  list-style: none;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  position: absolute;
  right: 18px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 18px;
  font-weight: 400;
  color: #0f6b78;
  line-height: 1;
}

.faq-item[open] summary::after {
  content: "−";
}

.faq-item summary:hover {
  background: #f7fbfb;
}

.faq-item > p,
.faq-answer {
  padding: 14px 18px 16px;
  font-size: 14.5px;
  line-height: 1.8;
  color: #5b6878;
  border-top: 1px solid #eef2f6;
}

.faq-answer p + p {
  margin-top: 10px;
}

/* 标签 */

.term-tags,
.topic-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}

.term-tag,
.topic-tags li {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 12px;
  border-radius: 6px;
  background: #edf6f7;
  color: #0f6b78;
  font-size: 13px;
  font-weight: 500;
}

/* 内页页头（标题 + 图） */

.page-head {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: 32px;
  align-items: start;
  padding: 8px 0 34px;
  border-bottom: 1px solid #d7e0e8;
  margin-bottom: 34px;
}

.page-head .page-title {
  margin-bottom: 12px;
}

.eyebrow,
.page-kicker {
  display: inline-block;
  margin-bottom: 10px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: #0f6b78;
  text-transform: uppercase;
}

.page-lead {
  font-size: 15px;
  line-height: 1.8;
  color: #5b6878;
  max-width: 620px;
}

.page-note,
.page-meta {
  margin-top: 10px;
  font-size: 13.5px;
  line-height: 1.7;
  color: #5b6878;
}

.page-figure,
.summary-figure,
.note-head-figure {
  margin: 0;
  background: #ffffff;
  border: 1px solid #d7e0e8;
  border-radius: 8px;
  overflow: hidden;
}

.page-figure img,
.summary-figure img,
.note-head-figure img {
  width: 100%;
  height: 240px;
  object-fit: cover;
}

.page-figure figcaption,
.summary-figure figcaption,
.note-head-figure figcaption {
  padding: 10px 14px;
  font-size: 12.5px;
  line-height: 1.6;
  color: #5b6878;
  border-top: 1px solid #eef2f6;
}

/* 锚点链接 */

.anchor-links,
.page-anchors {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}

.anchor-links a,
.page-anchors a {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 12px;
  border: 1px solid #d7e0e8;
  border-radius: 6px;
  background: #ffffff;
  font-size: 13.5px;
  color: #5b6878;
}

.anchor-links a:hover,
.page-anchors a:hover {
  border-color: #0f6b78;
  color: #0f6b78;
  text-decoration: none;
}

/* 相关入口 */

.related-links {
  margin-top: 44px;
}

.related-grid,
.related-groups,
.link-groups,
.exit-groups,
.index-groups {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.related-item,
.related-group,
.link-group,
.exit-group,
.index-group {
  background: #ffffff;
  border: 1px solid #d7e0e8;
  border-radius: 8px;
  padding: 18px;
  min-width: 0;
}

.related-item h3,
.related-group h3,
.link-group h3,
.exit-group h3,
.index-group h3 {
  margin-bottom: 8px;
  font-size: 15.5px;
}

.related-item p,
.related-group p,
.link-group p,
.exit-group p {
  margin-bottom: 10px;
  font-size: 14px;
  line-height: 1.75;
  color: #5b6878;
}

.related-item a,
.related-group a,
.exit-group a {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  font-size: 14px;
  font-weight: 500;
  color: #0f6b78;
}

.link-group ul,
.index-group ul {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.link-group a,
.index-group a {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  font-size: 14px;
  color: #0f6b78;
}

.related-links-label {
  display: block;
  margin-bottom: 8px;
  font-size: 13px;
  color: #5b6878;
}

/* 内页底部横向相关导航 */

nav.related-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-top: 32px;
  padding: 14px 18px;
  background: #ffffff;
  border: 1px solid #d7e0e8;
  border-radius: 8px;
}

nav.related-links .related-links-label {
  margin-bottom: 0;
  font-weight: 600;
  color: #172033;
}

.related-links-item {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 0 12px;
  border-radius: 6px;
  background: #edf6f7;
  font-size: 13.5px;
  color: #0f6b78;
}

.related-links-item:hover {
  background: #dceef0;
  text-decoration: none;
}

/* --------------------------------------------------------------------------
   4. pages
   -------------------------------------------------------------------------- */

/* ---------- 首页 ---------- */

.home-main {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px 72px;
}

.hero-dense {
  padding: 34px 0 0;
}

.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 36px;
  align-items: center;
}

.hero-copy {
  min-width: 0;
}

.hero-eyebrow {
  display: inline-block;
  margin-bottom: 12px;
  padding: 4px 10px;
  border-radius: 6px;
  background: #edf6f7;
  color: #0f6b78;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.05em;
}

.hero-copy h1 {
  margin-bottom: 14px;
}

.hero-lead {
  max-width: 560px;
  font-size: 15.5px;
  line-height: 1.8;
  color: #5b6878;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 22px;
}

.hero-visual {
  margin: 0;
  background: #ffffff;
  border: 1px solid #d7e0e8;
  border-radius: 8px;
  overflow: hidden;
}

.hero-visual img {
  width: 100%;
  height: 300px;
  object-fit: cover;
}

.channel-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 28px;
  padding: 16px 0;
  border-top: 1px solid #d7e0e8;
  border-bottom: 1px solid #d7e0e8;
}

.channel-tag {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 0 14px;
  border: 1px solid #d7e0e8;
  border-radius: 6px;
  background: #ffffff;
  font-size: 13.5px;
  color: #172033;
}

.channel-tag span {
  display: inline-block;
}

.channel-tag:hover {
  border-color: #0f6b78;
  color: #0f6b78;
  background: #edf6f7;
  text-decoration: none;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  margin-top: 20px;
  background: #d7e0e8;
  border: 1px solid #d7e0e8;
  border-radius: 8px;
  overflow: hidden;
}

.hero-stats li {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 14px 16px;
  background: #ffffff;
  min-width: 0;
}

.hero-stats strong {
  font-size: 20px;
  font-weight: 700;
  color: #0f6b78;
  line-height: 1.2;
  font-variant-numeric: tabular-nums;
}

.hero-stats span {
  font-size: 13px;
  color: #5b6878;
}

/* 频道对照表 */

.channel-compare {
  padding: 52px 0 0;
}

/* 专题档案结构预览 */

.topic-flow {
  padding: 52px 0 0;
}

.topic-inner {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: 32px;
  align-items: start;
}

.topic-copy {
  min-width: 0;
}

.topic-copy h2 {
  margin-bottom: 12px;
}

.topic-copy p {
  margin-bottom: 12px;
  font-size: 14.5px;
  line-height: 1.8;
  color: #5b6878;
}

.topic-copy .text-link {
  margin-top: 4px;
}

.topic-steps {
  min-width: 0;
}

.topic-steps .step-list {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.topic-steps .step-node:last-child {
  grid-column: 1 / -1;
}

.topic-figure {
  margin: 26px 0 0;
  background: #ffffff;
  border: 1px solid #d7e0e8;
  border-radius: 8px;
  overflow: hidden;
}

.topic-figure img {
  width: 100%;
  height: 260px;
  object-fit: cover;
}

.topic-figure figcaption {
  padding: 10px 16px;
  font-size: 12.5px;
  line-height: 1.6;
  color: #5b6878;
  border-top: 1px solid #eef2f6;
}

/* 从频道到访问的四段路径 */

.route-flow {
  padding: 52px 0 0;
}

.route-track {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.route-node {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.route-check {
  display: inline-block;
  margin-top: auto;
  padding-top: 10px;
  font-size: 12.5px;
  line-height: 1.6;
  color: #b45309;
}

/* 观看前检查摘要 */

.guide-brief {
  padding: 52px 0 0;
}

.guide-inner {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: 32px;
  align-items: start;
  background: #ffffff;
  border: 1px solid #d7e0e8;
  border-radius: 8px;
  padding: 28px;
}

.check-intro {
  min-width: 0;
}

.check-intro h2 {
  margin-bottom: 12px;
}

.check-intro p {
  margin-bottom: 16px;
  font-size: 14.5px;
  line-height: 1.8;
  color: #5b6878;
}

.check-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  min-width: 0;
}

.check-item {
  padding: 14px 16px;
  border: 1px solid #d7e0e8;
  border-radius: 8px;
  background: #f9fbfc;
  min-width: 0;
}

.check-item h3 {
  margin-bottom: 6px;
  font-size: 15px;
}

.check-item p {
  font-size: 13.5px;
  line-height: 1.7;
  color: #5b6878;
}

.check-pass {
  display: inline-block;
  margin-top: 8px;
  padding: 2px 8px;
  border-radius: 4px;
  background: #fdf3e3;
  color: #b45309;
  font-size: 12.5px;
  line-height: 1.6;
}

/* 使用边界说明 */

.boundary-note {
  padding: 52px 0 0;
}

.boundary-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.boundary-item {
  padding: 18px;
  background: #ffffff;
  border: 1px solid #d7e0e8;
  border-left: 3px solid #b45309;
  border-radius: 8px;
  min-width: 0;
}

.boundary-item h3 {
  margin-bottom: 8px;
  font-size: 15.5px;
}

.boundary-item p {
  font-size: 14px;
  line-height: 1.75;
  color: #5b6878;
}

/* 常见问题摘要 */

.faq-brief {
  padding: 52px 0 0;
}

.faq-list {
  display: grid;
  gap: 0;
}

.faq-brief .faq-item p a {
  font-weight: 500;
}

.faq-more {
  margin-top: 16px;
}

/* 站内入口索引 */

.index-links {
  padding: 52px 0 0;
}

/* ---------- 频道图谱 ---------- */

.page-channel-map .channel-table,
.page-channel-map .form-matrix,
.page-channel-map .channel-combo,
.page-channel-map .channel-boundary {
  padding: 34px 0 0;
}

.page-channel-map .channel-table {
  padding-top: 0;
}

.page-channel-map .compare-table {
  background: #ffffff;
  border: 1px solid #d7e0e8;
  border-radius: 8px;
  overflow: hidden;
}

.page-channel-map .compare-table thead th {
  white-space: nowrap;
}

.matrix-list {
  display: grid;
  gap: 12px;
}

.matrix-row {
  display: grid;
  grid-template-columns: minmax(0, 0.32fr) minmax(0, 1fr);
  gap: 6px 24px;
  align-items: start;
  padding: 16px 18px;
  background: #ffffff;
  border: 1px solid #d7e0e8;
  border-radius: 8px;
}

.matrix-row h3 {
  grid-row: 1 / span 2;
  font-size: 15.5px;
}

.matrix-row p {
  font-size: 14px;
  line-height: 1.75;
  color: #5b6878;
}

.matrix-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.matrix-tags a {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 10px;
  border-radius: 6px;
  background: #edf6f7;
  font-size: 12.5px;
  color: #0f6b78;
}

.matrix-tags a:hover {
  background: #dceef0;
  text-decoration: none;
}

.combo-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.combo-item {
  display: flex;
  flex-direction: column;
  padding: 18px;
  background: #ffffff;
  border: 1px solid #d7e0e8;
  border-radius: 8px;
  min-width: 0;
}

.combo-item h3 {
  margin-bottom: 8px;
  font-size: 15.5px;
}

.combo-task {
  margin-bottom: 8px;
  font-size: 13px;
  font-weight: 500;
  color: #b45309;
}

.combo-item > p {
  font-size: 14px;
  line-height: 1.75;
  color: #5b6878;
}

.combo-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: auto;
  padding-top: 12px;
}

.combo-links a {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 0 12px;
  border: 1px solid #d7e0e8;
  border-radius: 6px;
  font-size: 13.5px;
  color: #0f6b78;
}

.combo-links a:hover {
  border-color: #0f6b78;
  text-decoration: none;
}

.boundary-list {
  display: grid;
  gap: 12px;
}

.boundary-row {
  padding: 16px 18px;
  background: #ffffff;
  border: 1px solid #d7e0e8;
  border-left: 3px solid #b45309;
  border-radius: 8px;
}

.boundary-row h3 {
  margin-bottom: 6px;
  font-size: 15.5px;
}

.boundary-row p {
  margin-bottom: 8px;
  font-size: 14px;
  line-height: 1.75;
  color: #5b6878;
}

.boundary-row a {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  font-size: 13.5px;
}

/* ---------- 专题档案 ---------- */

.page-topic-archive .topic-summary,
.page-topic-archive .topic-questions,
.page-topic-archive .topic-method,
.page-topic-archive .topic-progress,
.page-topic-archive .topic-outputs {
  padding: 34px 0 0;
}

.page-topic-archive .topic-summary {
  padding-top: 0;
}

.topic-summary {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: 32px;
  align-items: start;
  background: #ffffff;
  border: 1px solid #d7e0e8;
  border-radius: 8px;
  padding: 26px;
}

.summary-text {
  min-width: 0;
}

.summary-text h2 {
  margin-bottom: 12px;
}

.summary-text p {
  margin-bottom: 12px;
  font-size: 14.5px;
  line-height: 1.8;
  color: #5b6878;
}

.page-topic-archive .summary-figure img {
  height: 260px;
}

.question-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.question-item {
  padding: 16px 18px;
  background: #ffffff;
  border: 1px solid #d7e0e8;
  border-radius: 8px;
  min-width: 0;
}

.question-item h3 {
  margin-bottom: 6px;
  font-size: 15.5px;
}

.question-item p {
  font-size: 14px;
  line-height: 1.75;
  color: #5b6878;
}

.question-tag {
  margin-top: 10px;
}

.question-tag a {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 10px;
  border-radius: 6px;
  background: #edf6f7;
  font-size: 12.5px;
  color: #0f6b78;
}

.question-tag a:hover {
  background: #dceef0;
  text-decoration: none;
}

.method-steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.method-step {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.method-step .step-index {
  margin-bottom: 10px;
}

.step-rule {
  margin-top: auto;
  padding-top: 10px;
  font-size: 12.5px;
  line-height: 1.65;
  color: #b45309;
}

.progress-list {
  display: grid;
  gap: 10px;
}

.progress-item {
  display: grid;
  grid-template-columns: minmax(0, 0.3fr) minmax(0, 1fr);
  gap: 4px 24px;
  padding: 16px 18px;
  background: #ffffff;
  border: 1px solid #d7e0e8;
  border-radius: 8px;
}

.progress-item h3 {
  grid-row: 1 / span 2;
  font-size: 15.5px;
  color: #0f6b78;
}

.progress-item p {
  font-size: 14px;
  line-height: 1.75;
  color: #5b6878;
}

.progress-next {
  font-size: 13px;
  color: #b45309;
}

.page-topic-archive .output-table {
  background: #ffffff;
  border: 1px solid #d7e0e8;
  border-radius: 8px;
  overflow: hidden;
}

.page-topic-archive .output-table caption {
  caption-side: top;
}

/* ---------- 编排手记 ---------- */

.page-editorial-notes .page-header {
  padding-bottom: 14px;
}

.page-editorial-notes .breadcrumb-list {
  max-width: 1120px;
  margin: 0 auto;
  padding: 20px 24px 4px;
}

.page-layout {
  display: grid;
  grid-template-columns: 240px minmax(0, 1fr);
  gap: 32px;
  align-items: start;
}

.note-toc {
  position: sticky;
  top: 84px;
  align-self: start;
  padding: 18px;
  background: #ffffff;
  border: 1px solid #d7e0e8;
  border-radius: 8px;
  min-width: 0;
}

.toc-title {
  margin-bottom: 12px;
  font-size: 14px;
  font-weight: 600;
  color: #172033;
}

.toc-list {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.toc-link {
  display: flex;
  align-items: center;
  min-height: 38px;
  padding: 0 10px;
  border-radius: 6px;
  font-size: 13.5px;
  color: #5b6878;
}

.toc-link:hover {
  background: #f4f7fa;
  color: #0f6b78;
  text-decoration: none;
}

.toc-link.is-current {
  background: #edf6f7;
  color: #0f6b78;
  font-weight: 600;
}

.toc-note {
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid #eef2f6;
  font-size: 13px;
  line-height: 1.7;
  color: #5b6878;
}

.toc-note a {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  font-weight: 500;
}

.note-body {
  min-width: 0;
}

.note-head {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 28px;
  align-items: start;
  padding-bottom: 26px;
  border-bottom: 1px solid #d7e0e8;
}

.note-head-copy {
  min-width: 0;
}

.note-lead {
  font-size: 15px;
  line-height: 1.8;
  color: #5b6878;
}

.note-hint {
  margin-top: 12px;
  padding: 10px 14px;
  border-radius: 6px;
  background: #fdf3e3;
  color: #b45309;
  font-size: 13.5px;
  line-height: 1.7;
}

.note-head-figure img {
  height: 220px;
}

.note-section {
  padding: 30px 0 0;
}

.note-section h2 {
  margin-bottom: 12px;
}

.note-section > p {
  margin-bottom: 16px;
  max-width: 760px;
  font-size: 14.5px;
  line-height: 1.8;
  color: #5b6878;
}

.flow-track {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
}

.flow-node {
  padding: 14px;
  background: #ffffff;
  border: 1px solid #d7e0e8;
  border-top: 3px solid #0f6b78;
  border-radius: 8px;
  min-width: 0;
}

.flow-node h3 {
  margin-bottom: 8px;
  font-size: 14.5px;
}

.flow-input,
.flow-output {
  font-size: 12.5px;
  line-height: 1.65;
  color: #5b6878;
}

.flow-output {
  margin-top: 6px;
  color: #0f6b78;
}

.note-cross {
  margin-top: 16px;
  font-size: 14px;
}

.note-cross a {
  font-weight: 500;
}

.tag-table {
  background: #ffffff;
  border: 1px solid #d7e0e8;
  border-radius: 8px;
  overflow: hidden;
}

.review-list {
  display: grid;
  gap: 10px;
}

.review-item {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  gap: 2px 14px;
  padding: 14px 16px;
  background: #ffffff;
  border: 1px solid #d7e0e8;
  border-radius: 8px;
}

.review-num {
  grid-row: 1 / span 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 6px;
  background: #edf6f7;
  color: #0f6b78;
  font-size: 12.5px;
  font-weight: 600;
  line-height: 1;
}

.review-text {
  font-size: 14px;
  line-height: 1.75;
  color: #172033;
}

.review-pass {
  font-size: 12.5px;
  line-height: 1.65;
  color: #b45309;
}

.print-columns {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.print-col {
  padding: 16px 18px;
  background: #ffffff;
  border: 1px solid #d7e0e8;
  border-radius: 8px;
  min-width: 0;
}

.print-col h3 {
  margin-bottom: 8px;
  font-size: 15px;
}

.print-col p {
  font-size: 13.5px;
  line-height: 1.75;
  color: #5b6878;
}

.print-col p + p {
  margin-top: 8px;
}

/* ---------- 观看前检查 ---------- */

.page-watch-guide .path-steps,
.page-watch-guide .entry-check,
.page-watch-guide .device-notes,
.page-watch-guide .page-prompts {
  padding: 34px 0 0;
}

.page-watch-guide .path-steps {
  padding-top: 0;
}

.page-watch-guide .step-list {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.step-item {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.step-action {
  margin-bottom: 6px;
}

.step-check {
  margin-top: auto;
  padding-top: 10px;
  font-size: 12.5px;
  line-height: 1.65;
  color: #b45309;
}

.page-watch-guide .check-table {
  background: #ffffff;
  border: 1px solid #d7e0e8;
  border-radius: 8px;
  overflow: hidden;
}

.note-grid,
.prompt-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.note-item,
.prompt-item {
  padding: 16px 18px;
  background: #ffffff;
  border: 1px solid #d7e0e8;
  border-radius: 8px;
  min-width: 0;
}

.note-title,
.prompt-title {
  margin-bottom: 8px;
  font-size: 15px;
}

.note-case {
  font-size: 13.5px;
  line-height: 1.7;
  color: #5b6878;
}

.note-fix {
  margin-top: 8px;
  font-size: 13.5px;
  line-height: 1.7;
  color: #0f6b78;
}

.prompt-desc {
  margin-bottom: 10px;
  font-size: 14px;
  line-height: 1.75;
  color: #5b6878;
}

.page-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

/* ---------- 答疑台 ---------- */

.page-faq .faq-categories {
  padding: 0 0 8px;
}

.page-faq .section-title {
  margin-bottom: 14px;
  font-size: 20px;
}

.faq-cat-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.faq-cat-link {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 16px 18px;
  background: #ffffff;
  border: 1px solid #d7e0e8;
  border-radius: 8px;
  min-width: 0;
}

.faq-cat-link:hover {
  border-color: #0f6b78;
  background: #f7fbfb;
  text-decoration: none;
}

.faq-cat-name {
  font-size: 15px;
  font-weight: 600;
  color: #172033;
}

.faq-cat-desc {
  font-size: 13px;
  line-height: 1.65;
  color: #5b6878;
}

.page-faq .faq-content {
  padding: 34px 0 0;
}

.page-faq .faq-item summary {
  font-size: 15.5px;
}

.page-faq .faq-exit {
  padding: 40px 0 0;
}

.page-faq .exit-groups {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

/* ---------- 站点说明 ---------- */

.page-about .site-position,
.page-about .scope-table,
.page-about .boundary-table,
.page-about .feedback-note,
.page-about .site-links {
  padding: 34px 0 0;
}

.page-about .site-position {
  padding-top: 0;
}

.site-position h2 {
  margin-bottom: 12px;
}

.site-position p {
  margin-bottom: 12px;
  max-width: 820px;
  font-size: 15px;
  line-height: 1.8;
  color: #5b6878;
}

.page-about .data-table {
  background: #ffffff;
  border: 1px solid #d7e0e8;
  border-radius: 8px;
  overflow: hidden;
}

.page-about .data-table tbody th {
  width: 32%;
  white-space: nowrap;
}

.feedback-steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.feedback-step {
  padding: 16px 18px;
  background: #ffffff;
  border: 1px solid #d7e0e8;
  border-radius: 8px;
  min-width: 0;
}

.feedback-step h3 {
  margin-bottom: 8px;
  font-size: 15px;
}

.feedback-step p {
  font-size: 13.5px;
  line-height: 1.75;
  color: #5b6878;
}

/* ---------- 404 ---------- */

.error-main {
  max-width: 1120px;
  margin: 0 auto;
  padding: 72px 24px 96px;
}

.error-inner {
  max-width: 720px;
}

.error-code {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: #0f6b78;
}

.error-title {
  margin: 10px 0 14px;
  font-size: 32px;
  font-weight: 700;
  line-height: 1.3;
  color: #172033;
}

.error-desc {
  max-width: 620px;
  font-size: 15px;
  line-height: 1.8;
  color: #5b6878;
}

.error-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.error-tips {
  margin-top: 44px;
  padding: 22px 24px;
  background: #ffffff;
  border: 1px solid #d7e0e8;
  border-radius: 8px;
}

.error-tips h2 {
  margin-bottom: 12px;
  font-size: 18px;
}

.error-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.error-list li {
  position: relative;
  padding-left: 18px;
  font-size: 14px;
  line-height: 1.75;
  color: #5b6878;
}

.error-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 10px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #0f6b78;
}

/* --------------------------------------------------------------------------
   5. responsive
   -------------------------------------------------------------------------- */

@media (max-width: 960px) {
  .header-inner {
    flex-wrap: wrap;
    gap: 12px;
    padding: 10px 20px;
    min-height: 0;
  }

  .brand {
    flex: 1 1 auto;
  }

  .nav-toggle {
    display: flex;
  }

  .site-nav {
    order: 3;
    flex: 1 1 100%;
    width: 100%;
  }

  .nav-list {
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    padding: 8px 0 4px;
    border-top: 1px solid #eef2f6;
  }

  .nav-list.is-open {
    display: flex;
  }

  .nav-link {
    justify-content: flex-start;
    min-height: 44px;
    padding: 0 12px;
    font-size: 15px;
  }

  .inner-main,
  .home-main {
    padding-left: 20px;
    padding-right: 20px;
  }

  .page-title,
  h1 {
    font-size: 28px;
  }

  .hero-inner {
    grid-template-columns: minmax(0, 1fr);
    gap: 24px;
  }

  .hero-visual img {
    height: 260px;
  }

  .hero-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .page-head {
    grid-template-columns: minmax(0, 1fr);
    gap: 22px;
    padding-bottom: 28px;
    margin-bottom: 28px;
  }

  .page-figure img {
    height: 220px;
  }

  .topic-inner {
    grid-template-columns: minmax(0, 1fr);
    gap: 22px;
  }

  .topic-steps .step-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .route-track {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .guide-inner {
    grid-template-columns: minmax(0, 1fr);
    gap: 22px;
    padding: 22px;
  }

  .check-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .boundary-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .boundary-grid .boundary-item:last-child {
    grid-column: 1 / -1;
  }

  .related-grid,
  .related-groups,
  .link-groups,
  .exit-groups,
  .index-groups {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .combo-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .combo-grid .combo-item:last-child {
    grid-column: 1 / -1;
  }

  .topic-summary {
    grid-template-columns: minmax(0, 1fr);
    gap: 22px;
    padding: 22px;
  }

  .question-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .method-steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .page-layout {
    grid-template-columns: minmax(0, 1fr);
    gap: 20px;
  }

  .note-toc {
    position: static;
  }

  .toc-list {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 6px;
  }

  .toc-link {
    min-height: 40px;
    padding: 0 12px;
    border: 1px solid #d7e0e8;
  }

  .note-head {
    grid-template-columns: minmax(0, 1fr);
    gap: 20px;
  }

  .flow-track {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .flow-track .flow-node:last-child {
    grid-column: 1 / -1;
  }

  .print-columns {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .print-columns .print-col:last-child {
    grid-column: 1 / -1;
  }

  .page-watch-guide .step-list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .note-grid,
  .prompt-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .note-grid .note-item:last-child,
  .prompt-grid .prompt-item:last-child {
    grid-column: 1 / -1;
  }

  .faq-cat-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .faq-cat-list li:last-child {
    grid-column: 1 / -1;
  }

  .page-faq .exit-groups {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .feedback-steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .footer-inner {
    grid-template-columns: minmax(0, 1fr);
    gap: 28px;
    padding: 36px 20px 26px;
  }

  .footer-bottom {
    padding: 16px 20px 26px;
  }
}

@media (max-width: 640px) {
  body {
    font-size: 15px;
  }

  h1,
  .page-title {
    font-size: 26px;
  }

  h2 {
    font-size: 20px;
  }

  .header-inner {
    padding: 8px 16px;
    gap: 10px;
  }

  .brand-mark {
    width: 30px;
    height: 30px;
    font-size: 12px;
  }

  .brand-tag {
    font-size: 16px;
  }

  .print-btn {
    min-height: 40px;
    padding: 0 10px;
    font-size: 12.5px;
  }

  .print-btn::before {
    content: "打印";
  }

  .inner-main,
  .home-main {
    padding-left: 16px;
    padding-right: 16px;
    padding-bottom: 56px;
  }

  .breadcrumb {
    padding-top: 16px;
    font-size: 13px;
  }

  .breadcrumb-list {
    padding: 16px 16px 4px;
  }

  .page-header {
    padding: 8px 0 18px;
  }

  .hero-dense {
    padding-top: 24px;
  }

  .hero-copy h1 {
    margin-bottom: 12px;
  }

  .hero-lead {
    font-size: 15px;
  }

  .hero-actions {
    margin-top: 18px;
  }

  .hero-actions .btn {
    flex: 1 1 140px;
  }

  .hero-visual img {
    height: 200px;
  }

  .channel-strip {
    margin-top: 22px;
    padding: 14px 0;
  }

  .channel-tag {
    min-height: 40px;
    padding: 0 12px;
    font-size: 13px;
  }

  .hero-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin-top: 18px;
  }

  .hero-stats li {
    padding: 12px 14px;
  }

  .channel-compare,
  .topic-flow,
  .route-flow,
  .guide-brief,
  .boundary-note,
  .faq-brief,
  .index-links {
    padding-top: 40px;
  }

  .topic-steps .step-list {
    grid-template-columns: minmax(0, 1fr);
  }

  .topic-steps .step-node:last-child {
    grid-column: auto;
  }

  .topic-figure img {
    height: 190px;
  }

  .route-track {
    grid-template-columns: minmax(0, 1fr);
  }

  .guide-inner {
    padding: 18px;
  }

  .check-list {
    grid-template-columns: minmax(0, 1fr);
  }

  .boundary-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .boundary-grid .boundary-item:last-child {
    grid-column: auto;
  }

  .index-groups,
  .related-grid,
  .related-groups,
  .link-groups,
  .exit-groups,
  .page-faq .exit-groups {
    grid-template-columns: minmax(0, 1fr);
  }

  .combo-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .combo-grid .combo-item:last-child {
    grid-column: auto;
  }

  .matrix-row {
    grid-template-columns: minmax(0, 1fr);
    gap: 6px;
  }

  .matrix-row h3 {
    grid-row: auto;
  }

  .progress-item {
    grid-template-columns: minmax(0, 1fr);
  }

  .progress-item h3 {
    grid-row: auto;
  }

  .page-head {
    padding-bottom: 24px;
    margin-bottom: 24px;
  }

  .page-figure img {
    height: 190px;
  }

  .topic-summary {
    padding: 18px;
  }

  .page-topic-archive .summary-figure img {
    height: 200px;
  }

  .question-list {
    grid-template-columns: minmax(0, 1fr);
  }

  .method-steps {
    grid-template-columns: minmax(0, 1fr);
  }

  .note-toc {
    padding: 14px;
  }

  .toc-list {
    flex-direction: column;
    flex-wrap: nowrap;
  }

  .toc-link {
    border: 0;
    min-height: 42px;
    padding: 0 10px;
  }

  .flow-track {
    grid-template-columns: minmax(0, 1fr);
  }

  .flow-track .flow-node:last-child {
    grid-column: auto;
  }

  .print-columns {
    grid-template-columns: minmax(0, 1fr);
  }

  .print-columns .print-col:last-child {
    grid-column: auto;
  }

  .page-watch-guide .step-list {
    grid-template-columns: minmax(0, 1fr);
  }

  .note-grid,
  .prompt-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .note-grid .note-item:last-child,
  .prompt-grid .prompt-item:last-child {
    grid-column: auto;
  }

  .faq-cat-list {
    grid-template-columns: minmax(0, 1fr);
  }

  .faq-cat-list li:last-child {
    grid-column: auto;
  }

  .feedback-steps {
    grid-template-columns: minmax(0, 1fr);
  }

  .page-about .data-table tbody th {
    width: auto;
    white-space: normal;
  }

  .error-main {
    padding: 48px 16px 72px;
  }

  .error-title {
    font-size: 26px;
  }

  .error-actions .btn-primary,
  .error-actions .btn-plain {
    flex: 1 1 140px;
  }

  .footer-nav {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
  }

  .footer-bottom {
    flex-direction: column;
    padding: 16px 16px 24px;
  }

  table.data-table,
  table.compare-table,
  table.check-table,
  table.output-table,
  table.tag-table {
    font-size: 13.5px;
  }

  table thead th,
  table tbody th,
  table tbody td {
    padding: 11px 12px;
  }

  table caption,
  .table-caption {
    padding: 12px 14px;
  }

  .faq-item summary {
    padding: 14px 42px 14px 14px;
    font-size: 14.5px;
  }

  .faq-item > p,
  .faq-answer {
    padding: 12px 14px 14px;
  }
}

/* --------------------------------------------------------------------------
   6. print
   -------------------------------------------------------------------------- */

@media print {
  .site-header,
  .nav-toggle,
  .print-btn,
  .breadcrumb,
  .breadcrumb-list,
  .note-toc,
  .related-links,
  .site-footer {
    display: none !important;
  }

  body {
    background: #ffffff;
    color: #000000;
    font-size: 12pt;
  }

  .inner-main,
  .home-main,
  .error-main {
    max-width: none;
    padding: 0;
  }

  a {
    color: #000000;
    text-decoration: none;
  }

  .faq-item {
    border: 1px solid #999999;
    page-break-inside: avoid;
  }

  .faq-item[open] summary::after,
  .faq-item summary::after {
    display: none;
  }

  .page-layout {
    display: block;
  }
}
