/* ==========================================================================
   香蕉视频 · 站点样式
   分组：base / layout / components / pages / responsive
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. base
   -------------------------------------------------------------------------- */

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: #f6f8fa;
  color: #16212b;
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", "Hiragino Sans GB", sans-serif;
  font-size: 16px;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
h4 {
  margin: 0;
  color: #16212b;
  font-weight: 600;
  line-height: 1.35;
}

p {
  margin: 0;
}

ul,
ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

figure {
  margin: 0;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: #0e6e68;
  text-decoration: none;
  transition: color 0.18s ease;
}

a:hover {
  color: #0b5651;
  text-decoration: underline;
}

a:focus-visible,
button:focus-visible,
summary:focus-visible {
  outline: 2px solid #1d6fd0;
  outline-offset: 2px;
}

button {
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
  cursor: pointer;
}

table {
  border-collapse: collapse;
  width: 100%;
}

summary {
  cursor: pointer;
}

.mono {
  font-family: ui-monospace, "SF Mono", Menlo, Consolas, "Liberation Mono", monospace;
  font-size: 13px;
  letter-spacing: 0.02em;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

/* --------------------------------------------------------------------------
   2. layout：全站骨架
   -------------------------------------------------------------------------- */

.site-body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.site-main {
  flex: 1 0 auto;
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 40px;
}

/* 页头 */

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: #ffffff;
  border-bottom: 1px solid #dde4ea;
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 24px;
  max-width: 1160px;
  min-height: 64px;
  margin: 0 auto;
  padding: 0 40px;
}

.brand {
  display: inline-flex;
  align-items: baseline;
  gap: 8px;
  flex: 0 0 auto;
  color: #16212b;
  font-weight: 700;
  font-size: 18px;
  letter-spacing: 0.01em;
  text-decoration: none;
}

.brand:hover {
  color: #0e6e68;
  text-decoration: none;
}

.brand-mark {
  display: inline-block;
  width: 10px;
  height: 10px;
  border-radius: 2px;
  background: #0e6e68;
  transform: translateY(-1px);
}

.brand-sub {
  font-size: 13px;
  font-weight: 500;
  color: #5a6b7a;
}

/* 主导航 */

.site-nav {
  margin-left: auto;
}

.nav-list {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-list > li {
  display: flex;
}

.nav-link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 12px;
  border-radius: 6px;
  color: #5a6b7a;
  font-size: 15px;
  text-decoration: none;
}

.nav-link:hover {
  color: #0e6e68;
  background: #edf2f5;
  text-decoration: none;
}

.nav-link.is-current {
  color: #0e6e68;
  font-weight: 600;
  background: #edf2f5;
}

.version-badge {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  height: 24px;
  padding: 0 8px;
  border: 1px solid #dde4ea;
  border-radius: 4px;
  background: #f6f8fa;
  color: #5a6b7a;
  font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  font-size: 12px;
  letter-spacing: 0.02em;
  white-space: nowrap;
}

/* 汉堡按钮 */

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 0 10px;
  border: 1px solid #dde4ea;
  border-radius: 6px;
  background: #ffffff;
}

.nav-toggle-bar {
  display: block;
  width: 100%;
  height: 2px;
  border-radius: 1px;
  background: #16212b;
}

/* 移动导航面板：桌面隐藏 */

.mobile-nav {
  border-top: 1px solid #dde4ea;
  background: #ffffff;
}

.mobile-nav[hidden] {
  display: none;
}

.mobile-nav-list {
  max-width: 1160px;
  margin: 0 auto;
  padding: 8px 20px 16px;
}

.mobile-nav-list > li + li {
  border-top: 1px solid #edf2f5;
}

.mobile-nav-list a {
  display: flex;
  align-items: center;
  min-height: 48px;
  color: #16212b;
  font-size: 16px;
  text-decoration: none;
}

.mobile-nav-list a:hover {
  color: #0e6e68;
  text-decoration: none;
}

/* 面包屑 */

.breadcrumb {
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  padding: 20px 40px 0;
}

.breadcrumb-list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  color: #5a6b7a;
  font-size: 13px;
  line-height: 1.6;
}

.breadcrumb-list a {
  color: #5a6b7a;
  text-decoration: none;
}

.breadcrumb-list a:hover {
  color: #0e6e68;
  text-decoration: underline;
}

.breadcrumb-sep {
  color: #9aa9b6;
}

.breadcrumb-current {
  color: #16212b;
}

/* 页脚 */

.site-footer {
  margin-top: 64px;
  background: #ffffff;
  border-top: 1px solid #dde4ea;
}

.footer-inner {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 32px;
  max-width: 1160px;
  margin: 0 auto;
  padding: 40px 40px 32px;
}

.footer-col {
  min-width: 0;
}

.footer-brand {
  margin-bottom: 8px;
  color: #16212b;
  font-size: 16px;
  font-weight: 700;
}

.footer-desc {
  color: #5a6b7a;
  font-size: 13px;
  line-height: 1.7;
}

.footer-title {
  margin-bottom: 12px;
  color: #16212b;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: none;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-links a {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  color: #5a6b7a;
  font-size: 14px;
  text-decoration: none;
}

.footer-links a:hover {
  color: #0e6e68;
  text-decoration: underline;
}

.footer-source p {
  color: #5a6b7a;
  font-size: 13px;
  line-height: 1.7;
}

.footer-source .mono {
  color: #16212b;
}

.footer-bottom {
  border-top: 1px solid #dde4ea;
}

.footer-bottom p {
  max-width: 1160px;
  margin: 0 auto;
  padding: 16px 40px;
  color: #5a6b7a;
  font-size: 13px;
  line-height: 1.7;
}

/* --------------------------------------------------------------------------
   3. components：通用组件
   -------------------------------------------------------------------------- */

/* 按钮 */

.btn-primary,
.btn-secondary,
.btn-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 20px;
  border-radius: 6px;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
}

.btn-primary {
  background: #0e6e68;
  border: 1px solid #0e6e68;
  color: #ffffff;
}

.btn-primary:hover {
  background: #0b5651;
  border-color: #0b5651;
  color: #ffffff;
  text-decoration: none;
}

.btn-secondary {
  background: #ffffff;
  border: 1px solid #dde4ea;
  color: #16212b;
}

.btn-secondary:hover {
  border-color: #0e6e68;
  color: #0e6e68;
  text-decoration: none;
}

.btn-ghost {
  background: transparent;
  border: 1px solid #dde4ea;
  color: #16212b;
}

.btn-ghost:hover {
  border-color: #0e6e68;
  color: #0e6e68;
  text-decoration: none;
}

/* 文本链接 */

.text-link {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  color: #0e6e68;
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
}

.text-link::after {
  content: "→";
  margin-left: 6px;
  font-size: 13px;
}

.text-link:hover {
  text-decoration: underline;
}

/* 小标 / 导语 */

.eyebrow,
.section-kicker,
.section-label,
.section-eyebrow {
  margin-bottom: 10px;
  color: #0e6e68;
  font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  font-size: 13px;
  letter-spacing: 0.06em;
}

.section-intro,
.section-desc {
  max-width: 760px;
  margin-top: 10px;
  color: #5a6b7a;
  font-size: 15px;
  line-height: 1.75;
}

.section-foot {
  margin-top: 16px;
}

.note-line {
  margin-top: 12px;
  color: #5a6b7a;
  font-size: 13px;
}

/* 标签 */

.tag {
  display: inline-flex;
  align-items: center;
  height: 22px;
  padding: 0 8px;
  border-radius: 4px;
  background: #edf2f5;
  color: #5a6b7a;
  font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  font-size: 12px;
  letter-spacing: 0.02em;
  white-space: nowrap;
}

.tag-primary {
  background: #e2f0ef;
  color: #0e6e68;
}

.tag-time {
  background: #e7eefb;
  color: #1d6fd0;
}

.tag-topic {
  background: #f6ebdd;
  color: #b4650a;
}

.tag-c1 {
  background: #e2f0ef;
  color: #0e6e68;
}

.tag-c2 {
  background: #e7eefb;
  color: #1d6fd0;
}

.tag-c3 {
  background: #f6ebdd;
  color: #b4650a;
}

.tag-c4 {
  background: #e9f5ee;
  color: #1e8e5a;
}

.tag-c5 {
  background: #edf2f5;
  color: #5a6b7a;
}

/* 状态 */

.status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  font-size: 12px;
  letter-spacing: 0.02em;
}

.status::before {
  content: "";
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
}

.status-green {
  color: #1e8e5a;
}

.status-blue {
  color: #1d6fd0;
}

/* 表格 */

.table-wrap {
  margin-top: 20px;
  overflow-x: auto;
  border: 1px solid #dde4ea;
  border-radius: 6px;
  background: #ffffff;
  -webkit-overflow-scrolling: touch;
}

.data-table {
  font-size: 14px;
  line-height: 1.6;
}

.data-table caption {
  text-align: left;
}

.data-table thead th {
  padding: 12px 16px;
  background: #f6f8fa;
  border-bottom: 1px solid #dde4ea;
  color: #5a6b7a;
  font-size: 13px;
  font-weight: 600;
  text-align: left;
  white-space: nowrap;
}

.data-table tbody th {
  padding: 12px 16px;
  border-bottom: 1px solid #edf2f5;
  color: #16212b;
  font-weight: 600;
  text-align: left;
  vertical-align: top;
}

.data-table tbody td {
  padding: 12px 16px;
  border-bottom: 1px solid #edf2f5;
  color: #16212b;
  vertical-align: top;
}

.data-table tbody tr:last-child th,
.data-table tbody tr:last-child td {
  border-bottom: 0;
}

.data-table tbody tr:hover {
  background: #edf2f5;
}

.data-table td.mono {
  color: #0e6e68;
  white-space: nowrap;
}

.table-caption {
  padding: 10px 16px;
  border-bottom: 1px solid #dde4ea;
  background: #f6f8fa;
  color: #5a6b7a;
  font-size: 13px;
}

/* 折叠 */

.faq-list {
  margin-top: 20px;
  border: 1px solid #dde4ea;
  border-radius: 6px;
  background: #ffffff;
  overflow: hidden;
}

.faq-item + .faq-item {
  border-top: 1px solid #dde4ea;
}

.faq-question {
  display: flex;
  align-items: center;
  min-height: 52px;
  padding: 12px 20px 12px 44px;
  position: relative;
  color: #16212b;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.6;
}

.faq-question::before {
  content: "+";
  position: absolute;
  left: 18px;
  top: 50%;
  transform: translateY(-50%);
  color: #0e6e68;
  font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  font-size: 18px;
  font-weight: 400;
}

.faq-item[open] .faq-question::before {
  content: "−";
}

.faq-question:hover {
  background: #edf2f5;
}

.faq-answer {
  padding: 0 20px 16px 44px;
  color: #5a6b7a;
  font-size: 14px;
  line-height: 1.75;
}

/* 编号步骤 */

.step-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  margin-top: 20px;
}

.step-item {
  padding: 20px;
  border: 1px solid #dde4ea;
  border-radius: 6px;
  background: #ffffff;
}

.step-num {
  display: inline-block;
  margin-bottom: 8px;
  color: #0e6e68;
  font-size: 13px;
}

.step-item h3 {
  margin-bottom: 6px;
  font-size: 16px;
}

.step-item p {
  color: #5a6b7a;
  font-size: 14px;
  line-height: 1.7;
}

/* 下一步入口 */

.next-links {
  margin-top: 20px;
}

.next-links-title {
  margin-bottom: 10px;
  font-size: 16px;
}

.next-links-list,
.next-list,
.next-step-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
}

.next-links-list a,
.next-list a,
.next-step-list a {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  font-size: 14px;
  color: #0e6e68;
  text-decoration: none;
}

.next-links-list a::before,
.next-list a::before,
.next-step-list a::before {
  content: "·";
  margin-right: 6px;
  color: #9aa9b6;
}

.next-links-list a:hover,
.next-list a:hover,
.next-step-list a:hover {
  text-decoration: underline;
}

.next-step-block {
  margin-top: 28px;
  padding: 20px;
  border: 1px solid #dde4ea;
  border-radius: 6px;
  background: #ffffff;
}

.next-step-block h3 {
  margin-bottom: 10px;
  font-size: 16px;
}

/* --------------------------------------------------------------------------
   4. pages：首页
   -------------------------------------------------------------------------- */

.home-main {
  padding-top: 0;
}

/* 首屏 */

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 460px);
  gap: 40px;
  align-items: start;
  padding: 48px 0 56px;
  border-bottom: 1px solid #dde4ea;
}

.hero-copy {
  min-width: 0;
}

.hero-copy h1 {
  margin: 0 0 16px;
  font-size: 34px;
  line-height: 1.3;
  font-weight: 700;
}

.hero-lead {
  max-width: 620px;
  color: #5a6b7a;
  font-size: 16px;
  line-height: 1.8;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.hero-visual {
  min-width: 0;
}

.hero-figure {
  border: 1px solid #dde4ea;
  border-radius: 6px;
  overflow: hidden;
  background: #ffffff;
}

.hero-figure img {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.hero-figure figcaption {
  padding: 10px 14px;
  border-top: 1px solid #dde4ea;
  color: #5a6b7a;
  font-size: 13px;
  line-height: 1.6;
}

.prep-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 16px;
}

.prep-list li {
  display: flex;
  gap: 10px;
  padding: 10px 14px;
  border: 1px solid #dde4ea;
  border-radius: 6px;
  background: #ffffff;
  color: #16212b;
  font-size: 14px;
  line-height: 1.65;
}

.prep-num {
  flex: 0 0 auto;
  color: #0e6e68;
  font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  font-size: 12px;
  padding-top: 2px;
}

/* 站点结构速览 */

.structure-overview {
  padding: 40px 0;
  border-bottom: 1px solid #dde4ea;
}

.structure-overview h2 {
  font-size: 24px;
}

.structure-list {
  margin-top: 20px;
  border: 1px solid #dde4ea;
  border-radius: 6px;
  background: #ffffff;
  overflow: hidden;
}

.structure-row {
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr);
  gap: 16px;
  align-items: start;
  padding: 16px 20px;
}

.structure-row + .structure-row {
  border-top: 1px solid #edf2f5;
}

.structure-num {
  color: #0e6e68;
  font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  font-size: 13px;
  padding-top: 3px;
}

.structure-body {
  min-width: 0;
}

.structure-body h3 {
  font-size: 16px;
  margin-bottom: 4px;
}

.structure-body h3 a {
  color: #16212b;
  text-decoration: none;
}

.structure-body h3 a:hover {
  color: #0e6e68;
  text-decoration: underline;
}

.structure-body p {
  color: #5a6b7a;
  font-size: 14px;
  line-height: 1.7;
}

/* 频道矩阵预览 */

.channel-preview {
  padding: 40px 0;
  border-bottom: 1px solid #dde4ea;
}

.channel-preview h2 {
  font-size: 24px;
}

.channel-table {
  min-width: 640px;
}

/* 专题档案预览 */

.topic-preview {
  padding: 40px 0;
  border-bottom: 1px solid #dde4ea;
}

.topic-preview h2 {
  font-size: 24px;
}

.topic-figure {
  margin-top: 20px;
  border: 1px solid #dde4ea;
  border-radius: 6px;
  overflow: hidden;
  background: #ffffff;
}

.topic-figure img {
  width: 100%;
  height: auto;
  aspect-ratio: 21 / 9;
  object-fit: cover;
}

.topic-figure figcaption {
  padding: 10px 14px;
  border-top: 1px solid #dde4ea;
  color: #5a6b7a;
  font-size: 13px;
  line-height: 1.6;
}

.topic-timeline {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-top: 20px;
  border-left: 2px solid #dde4ea;
  padding-left: 20px;
}

.topic-node {
  position: relative;
  padding: 0 0 20px 0;
}

.topic-node:last-child {
  padding-bottom: 0;
}

.topic-node::before {
  content: "";
  position: absolute;
  left: -27px;
  top: 8px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #0e6e68;
  border: 2px solid #f6f8fa;
}

.topic-date {
  display: block;
  margin-bottom: 4px;
  color: #5a6b7a;
  font-size: 12px;
}

.topic-body {
  min-width: 0;
}

.topic-body h3 {
  margin-bottom: 4px;
  font-size: 16px;
}

.topic-body p {
  color: #5a6b7a;
  font-size: 14px;
  line-height: 1.7;
}

.topic-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 8px;
}

/* 条目字段示意 */

.field-preview {
  padding: 40px 0;
  border-bottom: 1px solid #dde4ea;
}

.field-preview h2 {
  font-size: 24px;
}

.field-layout {
  display: grid;
  grid-template-columns: minmax(0, 320px) minmax(0, 1fr);
  gap: 32px;
  align-items: start;
  margin-top: 20px;
}

.field-card-col {
  min-width: 0;
}

.field-table-col {
  min-width: 0;
}

.entry-card {
  border: 1px solid #dde4ea;
  border-radius: 6px;
  background: #ffffff;
  overflow: hidden;
}

.entry-thumb {
  margin: 0;
  background: #edf2f5;
}

.entry-thumb img {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.entry-meta {
  padding: 14px 16px;
}

.entry-title {
  margin-bottom: 8px;
  font-size: 16px;
  line-height: 1.4;
}

.entry-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 10px;
}

.entry-status {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 13px;
  color: #5a6b7a;
}

.entry-status .status {
  color: #1e8e5a;
}

.field-note {
  margin-top: 12px;
  color: #5a6b7a;
  font-size: 13px;
  line-height: 1.7;
}

.field-table {
  min-width: 100%;
}

.field-table tbody th {
  font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  font-size: 13px;
  color: #0e6e68;
  white-space: nowrap;
}

/* 读前准备三步 */

.prep-steps {
  padding: 40px 0;
  border-bottom: 1px solid #dde4ea;
}

.prep-steps h2 {
  font-size: 24px;
}

/* 异常对照摘要 */

.trouble-preview {
  padding: 40px 0;
  border-bottom: 1px solid #dde4ea;
}

.trouble-preview h2 {
  font-size: 24px;
}

/* 版本摘要与下一步分流 */

.version-brief {
  padding: 40px 0 0;
}

.version-brief h2 {
  font-size: 24px;
}

.version-line {
  margin-top: 12px;
  color: #5a6b7a;
  font-size: 15px;
  line-height: 1.75;
}

.version-line .mono {
  color: #16212b;
  font-weight: 600;
}

.next-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 24px;
}

.next-card {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-height: 44px;
  padding: 18px 20px;
  border: 1px solid #dde4ea;
  border-radius: 6px;
  background: #ffffff;
  color: #16212b;
  text-decoration: none;
  transition: border-color 0.18s ease, background 0.18s ease;
}

.next-card:hover {
  border-color: #0e6e68;
  background: #edf2f5;
  color: #16212b;
  text-decoration: none;
}

.next-label {
  color: #0e6e68;
  font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  font-size: 12px;
  letter-spacing: 0.04em;
}

.next-title {
  font-size: 16px;
  font-weight: 600;
}

.next-desc {
  color: #5a6b7a;
  font-size: 13px;
  line-height: 1.65;
}

/* --------------------------------------------------------------------------
   5. pages：内页通用外壳
   -------------------------------------------------------------------------- */

.site-inner {
  display: block;
}

.inner-main {
  min-width: 0;
  padding-top: 8px;
  padding-bottom: 8px;
}

.page-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 40px;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 40px;
}

.page-layout.sidebar-left {
  grid-template-columns: 260px minmax(0, 1fr);
}

/* 侧栏在前 */

.page-layout.sidebar-left > .side-toc,
.page-layout.sidebar-left > .page-sidebar,
.page-layout.sidebar-left > .page-toc,
.page-layout.sidebar-left > .page-aside,
.page-layout.sidebar-left > .toc {
  order: 1;
}

.page-layout.sidebar-left > .site-main {
  order: 2;
  max-width: none;
  padding: 0;
}

/* 侧栏目录 */

.side-toc,
.page-sidebar,
.page-toc,
.page-aside,
.toc {
  position: sticky;
  top: 88px;
  align-self: start;
  max-height: calc(100vh - 104px);
  overflow-y: auto;
  padding: 16px 16px 16px 0;
  border-right: 1px solid #dde4ea;
}

.toc-title,
.sidebar-title {
  margin-bottom: 10px;
  color: #5a6b7a;
  font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  font-size: 12px;
  letter-spacing: 0.06em;
}

.toc-list {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.toc-list a,
.toc-link {
  display: flex;
  align-items: center;
  min-height: 36px;
  padding: 4px 10px 4px 12px;
  border-left: 2px solid transparent;
  color: #5a6b7a;
  font-size: 14px;
  line-height: 1.5;
  text-decoration: none;
  transition: color 0.15s ease, border-color 0.15s ease, background 0.15s ease;
}

.toc-list a:hover,
.toc-link:hover,
.toc-list a.is-active,
.toc-link.is-active {
  color: #0e6e68;
  border-left-color: #0e6e68;
  background: #edf2f5;
  text-decoration: none;
}

.sidebar-note {
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid #dde4ea;
  color: #5a6b7a;
  font-size: 12px;
  line-height: 1.7;
}

.toc-mobile {
  display: none;
}

.toc-mobile-summary {
  display: flex;
  align-items: center;
  min-height: 44px;
  padding: 0 14px;
  border: 1px solid #dde4ea;
  border-radius: 6px;
  background: #ffffff;
  color: #16212b;
  font-size: 14px;
  font-weight: 600;
}

.toc-mobile[open] .toc-mobile-summary {
  border-bottom-left-radius: 0;
  border-bottom-right-radius: 0;
}

.toc-mobile .toc-list {
  padding: 8px 0;
  border: 1px solid #dde4ea;
  border-top: 0;
  border-bottom-left-radius: 6px;
  border-bottom-right-radius: 6px;
  background: #ffffff;
}

.toc-desktop {
  display: block;
}

/* 页面标题区 */

.page-header {
  padding: 8px 0 0;
}

.page-title {
  margin: 0;
  color: #16212b;
  font-size: 34px;
  font-weight: 700;
  line-height: 1.3;
}

.page-title-area,
.page-head,
.page-hero,
.page-title {
  padding: 12px 0 0;
}

.page-title-area .section-kicker,
.page-head .section-kicker,
.page-hero .eyebrow,
.page-title .section-eyebrow {
  margin-bottom: 8px;
}

.page-lead,
.page-lede {
  max-width: 760px;
  color: #5a6b7a;
  font-size: 16px;
  line-height: 1.8;
}

.page-head-inner,
.page-hero-inner,
.page-title-inner {
  max-width: 760px;
}

/* 内容区块 */

.content-block,
.content-section,
.section {
  padding: 32px 0;
  border-top: 1px solid #dde4ea;
}

.content-block:first-of-type,
.content-section:first-of-type,
.section:first-of-type {
  margin-top: 24px;
}

.content-block h2,
.content-section h2,
.section h2 {
  font-size: 24px;
  line-height: 1.35;
}

.content-block > p,
.content-section > p,
.section > p {
  max-width: 760px;
  margin-top: 10px;
  color: #16212b;
  font-size: 15px;
  line-height: 1.8;
}

.content-block > p a,
.content-section > p a,
.section > p a {
  color: #0e6e68;
}

.content-block h3,
.content-section h3,
.section h3 {
  margin-top: 20px;
  font-size: 18px;
  line-height: 1.4;
}

.content-block h3 + p,
.content-section h3 + p,
.section h3 + p {
  margin-top: 6px;
}

/* --------------------------------------------------------------------------
   6. pages：频道矩阵
   -------------------------------------------------------------------------- */

.channel-detail {
  margin-top: 0;
}

.channel-detail-grid {
  display: grid;
  grid-template-columns: minmax(0, 260px) minmax(0, 1fr);
  gap: 28px;
  align-items: start;
}

.channel-figure {
  border: 1px solid #dde4ea;
  border-radius: 6px;
  overflow: hidden;
  background: #ffffff;
}

.channel-figure img {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.channel-figure figcaption {
  padding: 8px 12px;
  border-top: 1px solid #dde4ea;
  color: #5a6b7a;
  font-size: 12px;
  line-height: 1.6;
}

.channel-text {
  min-width: 0;
}

.channel-code {
  margin-bottom: 4px;
  color: #0e6e68;
  font-size: 13px;
}

.channel-text h2 {
  margin-bottom: 12px;
  font-size: 24px;
}

.channel-text h3 {
  margin-top: 16px;
  margin-bottom: 4px;
  color: #16212b;
  font-size: 16px;
}

.channel-text p {
  color: #5a6b7a;
  font-size: 15px;
  line-height: 1.8;
}

.channel-link {
  margin-top: 16px;
}

.channel-link a {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  color: #0e6e68;
  font-size: 14px;
  font-weight: 500;
}

.channel-link a::after {
  content: "→";
  margin-left: 6px;
  font-size: 13px;
}

/* 频道选择建议 */

.guide-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 16px;
}

.guide-item {
  padding: 14px 18px;
  border: 1px solid #dde4ea;
  border-radius: 6px;
  background: #ffffff;
}

.guide-situation {
  margin-bottom: 4px;
  color: #16212b;
  font-size: 15px;
  font-weight: 600;
}

.guide-target {
  color: #5a6b7a;
  font-size: 14px;
  line-height: 1.7;
}

.guide-target a {
  color: #0e6e68;
}

.guide-target a + a::before {
  content: " / ";
  color: #9aa9b6;
}

/* --------------------------------------------------------------------------
   7. pages：专题档案
   -------------------------------------------------------------------------- */

.timeline {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-top: 20px;
  padding-left: 24px;
  border-left: 2px solid #dde4ea;
}

.timeline-node {
  position: relative;
  padding: 0 0 24px 0;
}

.timeline-node:last-child {
  padding-bottom: 0;
}

.timeline-node::before {
  content: "";
  position: absolute;
  left: -31px;
  top: 6px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #ffffff;
  border: 2px solid #0e6e68;
}

.timeline-date {
  display: block;
  margin-bottom: 4px;
  color: #5a6b7a;
  font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  font-size: 12px;
  letter-spacing: 0.02em;
}

.timeline-body {
  min-width: 0;
}

.timeline-name {
  margin-bottom: 4px;
  font-size: 16px;
}

.timeline-summary {
  color: #5a6b7a;
  font-size: 14px;
  line-height: 1.7;
}

.timeline-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 8px;
}

/* 专题摘要条目 */

.topic-digest {
  display: grid;
  grid-template-columns: minmax(0, 220px) minmax(0, 1fr);
  gap: 24px;
  align-items: start;
  padding: 24px 0;
  border-top: 1px solid #edf2f5;
}

.topic-digest:first-of-type {
  border-top: 0;
  padding-top: 20px;
}

.digest-media {
  border: 1px solid #dde4ea;
  border-radius: 6px;
  overflow: hidden;
  background: #ffffff;
}

.digest-media img {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.digest-media figcaption {
  padding: 8px 12px;
  border-top: 1px solid #dde4ea;
  color: #5a6b7a;
  font-size: 12px;
  line-height: 1.6;
}

.digest-text {
  min-width: 0;
}

.digest-date {
  margin-bottom: 4px;
  color: #5a6b7a;
  font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  font-size: 12px;
}

.digest-name {
  margin-bottom: 10px;
  font-size: 18px;
}

.digest-text h4 {
  margin-top: 12px;
  margin-bottom: 4px;
  color: #16212b;
  font-size: 14px;
  font-weight: 600;
}

.digest-text p {
  color: #5a6b7a;
  font-size: 14px;
  line-height: 1.75;
}

/* 续看顺序 */

.sequence-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 16px;
}

.sequence-item {
  padding: 14px 18px;
  border: 1px solid #dde4ea;
  border-radius: 6px;
  background: #ffffff;
}

.sequence-item h3 {
  margin: 0 0 4px;
  font-size: 15px;
}

.sequence-item p {
  color: #5a6b7a;
  font-size: 14px;
  line-height: 1.7;
}

.section-next {
  padding-bottom: 0;
}

/* --------------------------------------------------------------------------
   8. pages：条目说明
   -------------------------------------------------------------------------- */

.entry-figure {
  margin-top: 16px;
  border: 1px solid #dde4ea;
  border-radius: 6px;
  overflow: hidden;
  background: #ffffff;
}

.entry-figure img {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.entry-figure figcaption {
  padding: 10px 14px;
  border-top: 1px solid #dde4ea;
  color: #5a6b7a;
  font-size: 13px;
  line-height: 1.6;
}

.entry-demo-grid {
  display: grid;
  grid-template-columns: minmax(0, 320px) minmax(0, 1fr);
  gap: 28px;
  align-items: start;
  margin-top: 20px;
}

.entry-card {
  min-width: 0;
}

.entry-body {
  padding: 14px 16px;
}

.entry-source {
  margin-top: 8px;
  color: #5a6b7a;
  font-size: 13px;
  line-height: 1.6;
}

.field-marker-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-width: 0;
}

.field-marker {
  display: grid;
  grid-template-columns: 32px minmax(0, 1fr);
  gap: 12px;
  align-items: start;
  padding: 12px 16px;
  border: 1px solid #dde4ea;
  border-radius: 6px;
  background: #ffffff;
}

.marker-index {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border-radius: 4px;
  background: #e2f0ef;
  color: #0e6e68;
  font-size: 12px;
}

.field-marker p {
  color: #5a6b7a;
  font-size: 14px;
  line-height: 1.7;
}

/* 阅读顺序 */

.order-steps {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 16px;
}

.order-step {
  padding: 16px 20px;
  border: 1px solid #dde4ea;
  border-radius: 6px;
  background: #ffffff;
}

.order-step .step-num {
  margin-bottom: 4px;
}

.order-step h3 {
  margin: 0 0 4px;
  font-size: 16px;
}

.order-step p {
  color: #5a6b7a;
  font-size: 14px;
  line-height: 1.7;
}

.order-step p a {
  color: #0e6e68;
}

/* --------------------------------------------------------------------------
   9. pages：异常对照
   -------------------------------------------------------------------------- */

.media-figure {
  margin-top: 16px;
  border: 1px solid #dde4ea;
  border-radius: 6px;
  overflow: hidden;
  background: #ffffff;
}

.media-figure img {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.media-figure figcaption {
  padding: 10px 14px;
  border-top: 1px solid #dde4ea;
  color: #5a6b7a;
  font-size: 13px;
  line-height: 1.6;
}

/* 自查步骤：使用 article.step-item 结构 */

.troubleshooting-shell .step-list,
#self-check .step-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

#self-check .step-item {
  padding: 18px 20px;
  border: 1px solid #dde4ea;
  border-radius: 6px;
  background: #ffffff;
}

#self-check .step-item .step-num {
  margin-bottom: 6px;
  color: #0e6e68;
  font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  font-size: 13px;
}

#self-check .step-item h3 {
  margin: 0 0 6px;
  font-size: 16px;
}

#self-check .step-item p {
  color: #5a6b7a;
  font-size: 14px;
  line-height: 1.7;
}

/* 等待修复情形 */

.wait-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 16px;
}

.wait-list li {
  padding: 14px 18px;
  border: 1px solid #dde4ea;
  border-radius: 6px;
  background: #ffffff;
}

.wait-list h3 {
  margin: 0 0 4px;
  font-size: 15px;
}

.wait-list p {
  color: #5a6b7a;
  font-size: 14px;
  line-height: 1.7;
}

/* --------------------------------------------------------------------------
   10. pages：版本记录
   -------------------------------------------------------------------------- */

.version-summary {
  display: grid;
  grid-template-columns: minmax(0, 180px) minmax(0, 1fr);
  gap: 24px;
  align-items: stretch;
  margin-top: 20px;
  border: 1px solid #dde4ea;
  border-radius: 6px;
  background: #ffffff;
  overflow: hidden;
}

.version-summary-badge {
  padding: 20px;
  background: #f6f8fa;
  border-right: 1px solid #dde4ea;
}

.version-number {
  color: #0e6e68;
  font-size: 20px;
  font-weight: 700;
  line-height: 1.3;
}

.version-date {
  margin-top: 4px;
  color: #5a6b7a;
  font-size: 13px;
}

.version-summary-body {
  padding: 20px;
  min-width: 0;
}

.summary-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.summary-list li {
  position: relative;
  padding-left: 18px;
  color: #16212b;
  font-size: 14px;
  line-height: 1.7;
}

.summary-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 10px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #0e6e68;
}

/* 变更条目 */

.change-list {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-top: 20px;
  border: 1px solid #dde4ea;
  border-radius: 6px;
  background: #ffffff;
  overflow: hidden;
}

.change-item {
  padding: 18px 20px;
}

.change-item + .change-item {
  border-top: 1px solid #edf2f5;
}

.change-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-bottom: 8px;
}

.change-head .version-badge {
  background: #e2f0ef;
  border-color: #c8e2e0;
  color: #0e6e68;
  font-weight: 600;
}

.change-date {
  color: #5a6b7a;
  font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  font-size: 12px;
}

.change-body {
  min-width: 0;
}

.change-body h3 {
  margin: 0 0 4px;
  font-size: 16px;
}

.change-body p {
  color: #5a6b7a;
  font-size: 14px;
  line-height: 1.75;
}

/* 影响范围 */

.version-figure {
  margin-top: 16px;
  border: 1px solid #dde4ea;
  border-radius: 6px;
  overflow: hidden;
  background: #ffffff;
}

.version-figure img {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.version-figure figcaption {
  padding: 10px 14px;
  border-top: 1px solid #dde4ea;
  color: #5a6b7a;
  font-size: 13px;
  line-height: 1.6;
}

.scope-table {
  margin-top: 20px;
  border: 1px solid #dde4ea;
  border-radius: 6px;
  background: #ffffff;
  overflow: hidden;
  font-size: 14px;
  line-height: 1.6;
}

.scope-table caption {
  padding: 10px 16px;
  border-bottom: 1px solid #dde4ea;
  background: #f6f8fa;
  color: #5a6b7a;
  font-size: 13px;
  text-align: left;
}

.scope-table thead th {
  padding: 12px 16px;
  background: #f6f8fa;
  border-bottom: 1px solid #dde4ea;
  color: #5a6b7a;
  font-size: 13px;
  font-weight: 600;
  text-align: left;
}

.scope-table tbody td {
  padding: 12px 16px;
  border-bottom: 1px solid #edf2f5;
  color: #16212b;
  vertical-align: top;
}

.scope-table tbody tr:last-child td {
  border-bottom: 0;
}

.scope-table tbody tr:hover {
  background: #edf2f5;
}

.section-note {
  margin-top: 16px;
  color: #5a6b7a;
  font-size: 14px;
  line-height: 1.75;
}

.section-note a {
  color: #0e6e68;
}

/* --------------------------------------------------------------------------
   11. pages：404
   -------------------------------------------------------------------------- */

.error-main {
  max-width: 1160px;
  padding-top: 48px;
  padding-bottom: 48px;
}

.error-panel {
  padding: 32px 0 40px;
  border-bottom: 1px solid #dde4ea;
}

.error-code {
  margin-bottom: 12px;
  color: #0e6e68;
  font-size: 14px;
  letter-spacing: 0.06em;
}

.error-panel h1 {
  margin-bottom: 12px;
  font-size: 34px;
  line-height: 1.3;
}

.error-lead {
  max-width: 620px;
  color: #5a6b7a;
  font-size: 16px;
  line-height: 1.8;
}

.error-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.error-routes {
  padding-top: 32px;
}

.error-routes h2 {
  margin-bottom: 16px;
  font-size: 22px;
}

.error-route-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
}

.error-route {
  padding: 18px 20px;
  border: 1px solid #dde4ea;
  border-radius: 6px;
  background: #ffffff;
}

.error-route h3 {
  margin: 0 0 6px;
  font-size: 16px;
}

.error-route p {
  margin-bottom: 8px;
  color: #5a6b7a;
  font-size: 14px;
  line-height: 1.7;
}

.error-route a {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  color: #0e6e68;
  font-size: 14px;
  font-weight: 500;
}

.error-route a::after {
  content: "→";
  margin-left: 6px;
  font-size: 13px;
}

/* --------------------------------------------------------------------------
   12. responsive
   -------------------------------------------------------------------------- */

/* 1080px 收窄侧栏 */

@media (max-width: 1080px) {
  .page-layout.sidebar-left {
    grid-template-columns: 220px minmax(0, 1fr);
    gap: 28px;
  }

  .hero {
    grid-template-columns: minmax(0, 1fr) minmax(0, 380px);
    gap: 32px;
  }

  .field-layout {
    grid-template-columns: minmax(0, 280px) minmax(0, 1fr);
    gap: 24px;
  }

  .entry-demo-grid {
    grid-template-columns: minmax(0, 280px) minmax(0, 1fr);
    gap: 24px;
  }

  .footer-inner {
    grid-template-columns: 1.4fr 1fr 1fr;
  }

  .footer-source {
    grid-column: 1 / -1;
    padding-top: 16px;
    border-top: 1px solid #edf2f5;
  }
}

/* 860px 切单列、启用汉堡 */

@media (max-width: 860px) {
  body {
    font-size: 15px;
  }

  .site-main,
  .header-inner,
  .breadcrumb,
  .page-layout {
    padding-left: 20px;
    padding-right: 20px;
  }

  .header-inner {
    gap: 12px;
    min-height: 60px;
  }

  .site-nav {
    display: none;
  }

  .nav-toggle {
    display: inline-flex;
    margin-left: auto;
  }

  .version-badge {
    order: -1;
    margin-left: 0;
  }

  .brand {
    order: 0;
  }

  .header-inner .version-badge {
    order: 2;
  }

  .header-inner .nav-toggle {
    order: 3;
  }

  .mobile-nav {
    display: block;
  }

  /* 首屏 */

  .hero {
    grid-template-columns: minmax(0, 1fr);
    gap: 24px;
    padding: 32px 0 40px;
  }

  .hero-copy h1 {
    font-size: 26px;
  }

  /* 内页外壳 */

  .page-layout,
  .page-layout.sidebar-left {
    grid-template-columns: minmax(0, 1fr);
    gap: 20px;
  }

  .page-layout.sidebar-left > .side-toc,
  .page-layout.sidebar-left > .page-sidebar,
  .page-layout.sidebar-left > .page-toc,
  .page-layout.sidebar-left > .page-aside,
  .page-layout.sidebar-left > .toc {
    order: 2;
    position: static;
    max-height: none;
    overflow: visible;
    padding: 0;
    border-right: 0;
  }

  .page-layout.sidebar-left > .site-main {
    order: 1;
  }

  /* 侧栏目录在移动端折叠 */

  .side-toc,
  .page-sidebar,
  .page-toc,
  .page-aside,
  .toc {
    display: none;
  }

  .toc-mobile {
    display: block;
  }

  .toc-desktop {
    display: none;
  }

  .page-title {
    font-size: 26px;
  }

  .content-block h2,
  .content-section h2,
  .section h2,
  .channel-text h2,
  .structure-overview h2,
  .channel-preview h2,
  .topic-preview h2,
  .field-preview h2,
  .prep-steps h2,
  .trouble-preview h2,
  .version-brief h2 {
    font-size: 20px;
  }

  /* 首页模块 */

  .structure-row {
    grid-template-columns: 40px minmax(0, 1fr);
    gap: 12px;
    padding: 14px 16px;
  }

  .field-layout,
  .entry-demo-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 20px;
  }

  .step-list,
  #self-check .step-list {
    grid-template-columns: minmax(0, 1fr);
    gap: 12px;
  }

  .next-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  /* 频道详情 */

  .channel-detail-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 16px;
  }

  .channel-figure img {
    aspect-ratio: 16 / 9;
  }

  /* 专题摘要 */

  .topic-digest {
    grid-template-columns: minmax(0, 1fr);
    gap: 14px;
  }

  .digest-media img {
    aspect-ratio: 16 / 9;
  }

  /* 版本摘要 */

  .version-summary {
    grid-template-columns: minmax(0, 1fr);
  }

  .version-summary-badge {
    border-right: 0;
    border-bottom: 1px solid #dde4ea;
  }

  /* 页脚 */

  .footer-inner {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 24px;
    padding: 32px 20px 24px;
  }

  .footer-about {
    grid-column: 1 / -1;
  }

  .footer-source {
    grid-column: 1 / -1;
  }

  .footer-bottom p {
    padding: 14px 20px;
  }

  /* 表格：移动端横向滚动 */

  .table-wrap {
    margin-left: -20px;
    margin-right: -20px;
    border-left: 0;
    border-right: 0;
    border-radius: 0;
  }

  .channel-table {
    min-width: 600px;
  }

  .scope-table {
    display: block;
    overflow-x: auto;
    white-space: nowrap;
  }

  /* 404 */

  .error-main {
    padding-top: 32px;
    padding-bottom: 32px;
  }

  .error-panel h1 {
    font-size: 26px;
  }
}

/* 560px 压缩内边距 */

@media (max-width: 560px) {
  .site-main,
  .header-inner,
  .breadcrumb,
  .page-layout {
    padding-left: 16px;
    padding-right: 16px;
  }

  .hero {
    padding: 24px 0 32px;
  }

  .hero-copy h1 {
    font-size: 24px;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-actions .btn-primary,
  .hero-actions .btn-secondary {
    width: 100%;
  }

  .page-title {
    font-size: 24px;
  }

  .content-block,
  .content-section,
  .section {
    padding: 24px 0;
  }

  .structure-row {
    grid-template-columns: 32px minmax(0, 1fr);
    padding: 12px 14px;
  }

  .footer-inner {
    grid-template-columns: minmax(0, 1fr);
    gap: 20px;
    padding: 24px 16px 20px;
  }

  .footer-bottom p {
    padding: 12px 16px;
  }

  .table-wrap {
    margin-left: -16px;
    margin-right: -16px;
  }

  .error-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .error-actions .btn-primary,
  .error-actions .btn-ghost {
    width: 100%;
  }
}

/* --------------------------------------------------------------------------
   13. 打印样式
   -------------------------------------------------------------------------- */

@media print {
  .site-header,
  .mobile-nav,
  .nav-toggle,
  .side-toc,
  .page-sidebar,
  .page-toc,
  .page-aside,
  .toc,
  .breadcrumb,
  .next-grid,
  .next-links,
  .next-step-block,
  .next-links-list,
  .next-list,
  .next-step-list,
  .error-actions {
    display: none !important;
  }

  body {
    background: #ffffff;
    color: #000000;
    font-size: 12pt;
  }

  .site-main,
  .page-layout,
  .header-inner,
  .footer-inner,
  .footer-bottom p {
    max-width: 100%;
    padding: 0;
  }

  .page-layout,
  .page-layout.sidebar-left {
    display: block;
  }

  .hero {
    display: block;
  }

  .site-footer {
    border-top: 1px solid #999999;
    margin-top: 24px;
  }

  a {
    color: #000000;
    text-decoration: underline;
  }
}
