/* ==========================================================================
   天美精品 bidafun.com — 全站样式
   分组：base / layout / components / pages / responsive
   ========================================================================== */

/* --------------------------------------------------------------------------
   base：变量、重置、排版、通用元素
   -------------------------------------------------------------------------- */
:root {
  --ink: #25332b;
  --ink-strong: #173a27;
  --green: #1f4d34;
  --green-soft: #dce8d4;
  --wheat: #d9a441;
  --paper: #f6f1e6;
  --paper-deep: #efe7d6;
  --brown: #7b5b3a;
  --line: #d9cfba;
  --line-soft: #e7dfcc;
  --white: #fffdf8;
  --radius: 6px;
  --radius-sm: 4px;
  --shadow: 0 1px 2px rgba(37, 51, 43, 0.06);
  --font-serif: 'Noto Serif SC', 'Songti SC', 'STSong', serif;
  --font-sans: 'PingFang SC', 'Microsoft YaHei', 'Hiragino Sans GB', sans-serif;
  --font-mono: 'SFMono-Regular', Consolas, 'Liberation Mono', monospace;
  --wrap: 1180px;
  --gap: 32px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  margin: 0;
  background-color: var(--paper);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 17px;
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
h4 {
  font-family: var(--font-serif);
  color: var(--green);
  line-height: 1.35;
  margin: 0 0 0.5em;
  font-weight: 700;
}

h1 {
  font-size: 32px;
}

h2 {
  font-size: 24px;
}

h3 {
  font-size: 19px;
}

p {
  margin: 0 0 1em;
}

a {
  color: var(--green);
  text-decoration: none;
  text-underline-offset: 3px;
}

a:hover,
a:focus-visible {
  text-decoration: underline;
}

a:focus-visible,
button:focus-visible,
summary:focus-visible {
  outline: 2px solid var(--wheat);
  outline-offset: 2px;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

ul,
ol {
  margin: 0 0 1em;
  padding-left: 1.3em;
}

li {
  margin-bottom: 0.4em;
}

strong {
  color: var(--ink-strong);
}

figure {
  margin: 0;
}

figcaption {
  font-size: 13px;
  color: var(--brown);
  line-height: 1.6;
  margin-top: 8px;
}

table {
  border-collapse: collapse;
  width: 100%;
}

caption {
  text-align: left;
}

.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;
}

.skip-link {
  position: absolute;
  left: 12px;
  top: -60px;
  z-index: 60;
  background-color: var(--green);
  color: var(--white);
  padding: 10px 16px;
  border-radius: var(--radius-sm);
  transition: top 0.2s ease;
}

.skip-link:focus {
  top: 12px;
}

/* --------------------------------------------------------------------------
   layout：页头、导航、主容器、页脚骨架
   -------------------------------------------------------------------------- */
.site-header {
  background-color: var(--white);
  border-bottom: 1px solid var(--line);
  position: relative;
  z-index: 40;
}

.header-inner {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 24px;
  min-height: 68px;
  display: flex;
  align-items: center;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: baseline;
  gap: 10px;
  flex-shrink: 0;
  color: var(--green);
}

.brand:hover {
  text-decoration: none;
}

.brand-mark {
  font-family: var(--font-serif);
  font-size: 22px;
  font-weight: 700;
  color: var(--ink-strong);
  letter-spacing: 0.02em;
}

.brand-mark::before {
  content: '';
  display: inline-block;
  width: 10px;
  height: 10px;
  margin-right: 8px;
  background-color: var(--wheat);
  border-radius: 1px;
  transform: translateY(-2px);
}

.brand-slogan {
  font-size: 12px;
  color: var(--brown);
  font-family: var(--font-sans);
  letter-spacing: 0.04em;
}

.site-nav {
  margin-left: auto;
}

.nav-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px;
}

.nav-list li {
  margin: 0;
}

.nav-link {
  display: inline-block;
  padding: 8px 11px;
  font-size: 15px;
  color: var(--ink);
  border-radius: var(--radius-sm);
  border-bottom: 2px solid transparent;
}

.nav-link:hover {
  background-color: var(--green-soft);
  text-decoration: none;
}

.nav-link.is-current {
  color: var(--green);
  font-weight: 700;
  border-bottom-color: var(--wheat);
}

.nav-toggle {
  display: none;
  margin-left: auto;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background-color: var(--paper);
  cursor: pointer;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
}

.nav-toggle-bar {
  display: block;
  width: 20px;
  height: 2px;
  background-color: var(--green);
}

.mobile-nav {
  border-top: 1px solid var(--line);
  background-color: var(--white);
}

.mobile-nav[hidden] {
  display: none;
}

.mobile-nav-list {
  list-style: none;
  margin: 0;
  padding: 8px 24px 16px;
  display: flex;
  flex-direction: column;
}

.mobile-nav-list li {
  margin: 0;
}

.mobile-nav-list a {
  display: block;
  padding: 12px 4px;
  font-size: 16px;
  color: var(--ink);
  border-bottom: 1px solid var(--line-soft);
}

.mobile-nav-list a:hover {
  color: var(--green);
  text-decoration: none;
}

.site-main {
  display: block;
}

.inner-main {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 24px 56px;
}

.breadcrumb {
  font-size: 13px;
  color: var(--brown);
  padding: 18px 0 0;
}

.breadcrumb-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.breadcrumb-list li {
  margin: 0;
}

.breadcrumb-list li + li::before {
  content: '/';
  margin-right: 6px;
  color: var(--line);
}

.breadcrumb-sep {
  margin: 0 8px;
  color: var(--line);
}

.breadcrumb-current {
  color: var(--ink);
}

.breadcrumb a {
  color: var(--brown);
}

.breadcrumb a:hover {
  color: var(--green);
}

.page-header {
  padding: 14px 0 20px;
  border-bottom: 2px solid var(--green-soft);
  margin-bottom: 24px;
}

.page-title {
  font-size: 32px;
  font-weight: 700;
  color: var(--ink-strong);
  margin: 0;
}

.page-hero {
  background-color: var(--green-soft);
  border-radius: var(--radius);
  padding: 22px 26px;
  margin-bottom: 32px;
}

.page-hero-inner {
  max-width: 760px;
}

.page-kicker {
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.08em;
  color: var(--brown);
  margin: 0 0 6px;
}

.page-lead {
  margin: 0;
  font-size: 16px;
  color: var(--ink);
}

.page-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: var(--gap);
  align-items: start;
}

.page-layout.sidebar-left,
.sidebar-left .page-layout {
  grid-template-columns: 260px minmax(0, 1fr);
}

.content-main,
.content-body,
.layout-content,
.archive-body {
  min-width: 0;
}

.site-footer {
  background-color: var(--ink-strong);
  color: #d7e2d5;
  margin-top: 24px;
}

.footer-inner {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 44px 24px 28px;
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr) minmax(0, 1fr);
  gap: 36px;
}

.footer-col h3 {
  color: #f3ecd9;
  font-size: 16px;
  margin: 0 0 12px;
}

.footer-brand {
  font-family: var(--font-serif);
}

.footer-col p {
  font-size: 14px;
  line-height: 1.75;
  margin: 0 0 10px;
  color: #c4d3c0;
}

.footer-boundary {
  color: #9db39a;
}

.footer-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 4px 14px;
}

.footer-nav li {
  margin: 0;
}

.footer-nav a {
  color: #d7e2d5;
  font-size: 14px;
  display: inline-block;
  padding: 4px 0;
}

.footer-nav a:hover {
  color: var(--wheat);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  padding: 16px 24px;
  max-width: var(--wrap);
  margin: 0 auto;
}

.footer-bottom p {
  margin: 0;
  font-size: 13px;
  color: #9db39a;
}

/* --------------------------------------------------------------------------
   components：按钮、链接、表格、标签、折叠、侧栏、图片
   -------------------------------------------------------------------------- */
.btn {
  display: inline-block;
  padding: 11px 22px;
  font-size: 15px;
  font-family: var(--font-sans);
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
  cursor: pointer;
  transition: background-color 0.18s ease, color 0.18s ease, border-color 0.18s ease;
}

.btn:hover {
  text-decoration: none;
}

.btn-primary {
  background-color: var(--green);
  color: var(--white);
  border-color: var(--green);
}

.btn-primary:hover {
  background-color: var(--ink-strong);
  border-color: var(--ink-strong);
}

.btn-ghost {
  background-color: transparent;
  color: var(--green);
  border-color: var(--green);
}

.btn-ghost:hover {
  background-color: var(--green-soft);
}

.btn-outline {
  background-color: var(--white);
  color: var(--green);
  border-color: var(--line);
}

.btn-outline:hover {
  border-color: var(--green);
  background-color: var(--green-soft);
}

.text-link {
  font-size: 15px;
  color: var(--green);
  border-bottom: 1px solid var(--wheat);
  padding-bottom: 1px;
}

.text-link:hover {
  text-decoration: none;
  color: var(--ink-strong);
  border-bottom-color: var(--green);
}

.section-title {
  font-size: 24px;
  color: var(--ink-strong);
  margin: 0 0 8px;
  padding-left: 14px;
  border-left: 4px solid var(--wheat);
}

.section-lead,
.section-intro {
  color: var(--brown);
  font-size: 15px;
  margin: 0 0 22px;
  max-width: 780px;
}

.section-foot {
  margin: 18px 0 0;
  font-size: 15px;
}

.aside-title {
  font-size: 18px;
  color: var(--ink-strong);
  margin: 0 0 10px;
}

.aside-note {
  font-size: 14px;
  color: var(--brown);
  line-height: 1.7;
}

.batch-tag {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--ink-strong);
  background-color: var(--wheat);
  border-radius: 2px;
  padding: 1px 7px;
  margin-right: 8px;
  vertical-align: middle;
}

.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background-color: var(--white);
}

.data-table {
  min-width: 640px;
  font-size: 15px;
}

.data-table caption,
.table-caption {
  font-size: 13px;
  color: var(--brown);
  padding: 10px 14px 0;
  text-align: left;
}

.data-table th,
.data-table td {
  padding: 12px 14px;
  text-align: left;
  border-bottom: 1px solid var(--line-soft);
  vertical-align: top;
}

.data-table thead th {
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.06em;
  color: var(--green);
  background-color: var(--green-soft);
  font-weight: 600;
  white-space: nowrap;
}

.data-table tbody th {
  font-weight: 600;
  color: var(--ink-strong);
  background-color: var(--paper);
}

.data-table tbody tr:hover {
  background-color: #f1f6ec;
}

.data-table tbody tr:last-child th,
.data-table tbody tr:last-child td {
  border-bottom: none;
}

.faq-item {
  background-color: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  margin-bottom: 12px;
  overflow: hidden;
}

.faq-summary {
  cursor: pointer;
  padding: 14px 18px;
  font-size: 16px;
  font-weight: 600;
  color: var(--ink-strong);
  list-style: none;
  position: relative;
  padding-right: 44px;
}

.faq-summary::-webkit-details-marker {
  display: none;
}

.faq-summary::after {
  content: '+';
  position: absolute;
  right: 18px;
  top: 50%;
  transform: translateY(-50%);
  font-family: var(--font-mono);
  font-size: 18px;
  color: var(--green);
}

.faq-item[open] .faq-summary::after {
  content: '−';
}

.faq-item[open] .faq-summary {
  border-bottom: 1px solid var(--line-soft);
  background-color: var(--green-soft);
}

.faq-body {
  padding: 14px 18px 16px;
  font-size: 15px;
}

.entry-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.entry-item {
  margin: 0 0 12px;
  padding: 12px 14px;
  border-left: 3px solid var(--green-soft);
  background-color: var(--white);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}

.entry-item:last-child {
  margin-bottom: 0;
}

.entry-name {
  font-family: var(--font-serif);
  font-weight: 700;
  color: var(--ink-strong);
  margin: 0 0 4px;
  font-size: 16px;
}

.entry-meta {
  display: block;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--brown);
  letter-spacing: 0.04em;
  margin-bottom: 4px;
}

.entry-item p {
  margin: 0;
  font-size: 15px;
}

/* 侧栏通用 */
.tutorial-aside,
.sidebar,
.archive-index,
.batch-index,
.page-aside,
.content-aside {
  background-color: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px;
  min-width: 0;
}

.sidebar-right {
  position: relative;
}

.aside-figure {
  margin: 0 0 16px;
}

.aside-figure img,
.scene-figure img,
.archive-figure img,
.error-media-figure img,
.check-figure img,
.media-figure img,
.media-block img,
.dossier-media img,
.hero-media img {
  width: 100%;
  height: auto;
  border-radius: var(--radius-sm);
  object-fit: cover;
  background-color: var(--paper-deep);
}

.aside-block {
  border-top: 1px solid var(--line-soft);
  padding-top: 14px;
  margin-top: 14px;
}

.aside-block h3 {
  font-size: 16px;
  margin: 0 0 8px;
}

.aside-list {
  list-style: none;
  margin: 0 0 12px;
  padding: 0;
}

.aside-list li {
  margin: 0 0 6px;
  font-size: 14px;
}

.aside-list a {
  color: var(--ink);
}

.aside-list a:hover {
  color: var(--green);
}

.limit-list {
  list-style: none;
  margin: 0 0 14px;
  padding: 0;
}

.limit-list li {
  margin: 0 0 14px;
  padding-bottom: 12px;
  border-bottom: 1px dashed var(--line);
}

.limit-list li:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.limit-list h3 {
  font-size: 15px;
  margin: 0 0 4px;
}

.limit-list p {
  font-size: 14px;
  margin: 0;
  color: var(--ink);
}

.aside-lead {
  font-size: 14px;
  color: var(--brown);
}

/* 目录类列表 */
.toc-list,
.tutorial-list,
.batch-index-list {
  list-style: none;
  margin: 0 0 14px;
  padding: 0;
  counter-reset: toc;
}

.toc-list li,
.tutorial-list li,
.batch-index-list li {
  margin: 0 0 2px;
  counter-increment: toc;
}

.toc-list a,
.tutorial-list a,
.batch-index-list a {
  display: block;
  padding: 8px 6px 8px 30px;
  font-size: 14px;
  color: var(--ink);
  border-radius: var(--radius-sm);
  position: relative;
}

.toc-list a::before,
.tutorial-list a::before,
.batch-index-list a::before {
  content: counter(toc, decimal-leading-zero);
  position: absolute;
  left: 6px;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--wheat);
}

.toc-list a:hover,
.tutorial-list a:hover,
.batch-index-list a:hover {
  background-color: var(--green-soft);
  text-decoration: none;
}

.sidebar-title {
  font-size: 18px;
  margin: 0 0 12px;
}

.sidebar-note {
  font-size: 13px;
  color: var(--brown);
  margin: 0;
  line-height: 1.7;
}

/* --------------------------------------------------------------------------
   pages：首页
   -------------------------------------------------------------------------- */
.home-main {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 24px 64px;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  gap: 40px;
  align-items: center;
  padding: 48px 0 40px;
  border-bottom: 1px solid var(--line);
}

.hero-copy {
  min-width: 0;
}

.hero-eyebrow {
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.1em;
  color: var(--brown);
  margin: 0 0 12px;
}

.hero-copy h1 {
  font-size: 42px;
  line-height: 1.3;
  color: var(--ink-strong);
  margin: 0 0 16px;
}

.hero-lead {
  font-size: 17px;
  color: var(--ink);
  margin: 0 0 24px;
  max-width: 46em;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 16px;
}

.hero-note {
  font-size: 13px;
  color: var(--brown);
  margin: 0;
  padding-left: 12px;
  border-left: 2px solid var(--wheat);
}

.hero-media {
  margin: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 10px;
  background-color: var(--white);
}

.hero-media img {
  aspect-ratio: 4 / 3;
}

.hero-caption {
  margin-top: 8px;
}

.browse-band {
  padding: 44px 0 8px;
}

.browse-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.browse-item {
  background-color: var(--white);
  border: 1px solid var(--line);
  border-top: 3px solid var(--green);
  border-radius: var(--radius);
  padding: 20px 20px 18px;
  min-width: 0;
}

.browse-item h3 {
  font-size: 18px;
  margin: 0 0 8px;
}

.browse-item p {
  font-size: 15px;
  color: var(--ink);
  margin: 0 0 14px;
}

.quick-links {
  padding: 36px 0 8px;
}

.quick-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.quick-list li {
  margin: 0;
  min-width: 0;
}

.quick-list a {
  display: block;
  height: 100%;
  padding: 14px 16px;
  background-color: var(--green-soft);
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
}

.quick-list a:hover {
  text-decoration: none;
  border-color: var(--green);
  background-color: #d3e3c9;
}

.quick-label {
  display: block;
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: 16px;
  color: var(--ink-strong);
  margin-bottom: 2px;
}

.quick-desc {
  display: block;
  font-size: 13px;
  color: var(--brown);
  line-height: 1.6;
}

.home-two-col {
  padding: 44px 0 8px;
}

.home-col-main {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.start-panel,
.notice-panel {
  background-color: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px 24px;
}

.start-points {
  list-style: none;
  margin: 0 0 18px;
  padding: 0;
}

.start-points li {
  position: relative;
  padding-left: 20px;
  margin: 0 0 8px;
  font-size: 15px;
}

.start-points li::before {
  content: '';
  position: absolute;
  left: 2px;
  top: 12px;
  width: 7px;
  height: 7px;
  background-color: var(--wheat);
  border-radius: 1px;
}

.notice-intro {
  font-size: 15px;
  color: var(--brown);
  margin: 0 0 14px;
}

.notice-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.notice-list li {
  margin: 0 0 10px;
  padding-bottom: 10px;
  border-bottom: 1px dashed var(--line);
  font-size: 15px;
  line-height: 1.7;
}

.notice-list li:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: none;
}

.notice-list a {
  color: var(--ink);
}

.notice-list a:hover {
  color: var(--green);
}

.channel-overview,
.dossier-sample,
.check-chain,
.faq-summary {
  padding: 44px 0 8px;
}

.dossier-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: 28px;
  align-items: start;
}

.dossier-media {
  margin: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 10px;
  background-color: var(--white);
}

.dossier-media img {
  aspect-ratio: 3 / 4;
}

.dossier-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.dossier-list li {
  margin: 0 0 14px;
  padding: 14px 16px;
  background-color: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
}

.dossier-list li:last-child {
  margin-bottom: 0;
}

.dossier-list h3 {
  font-size: 17px;
  margin: 0 0 6px;
}

.dossier-list p {
  margin: 0;
  font-size: 15px;
}

.check-steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  counter-reset: checkstep;
}

.check-step {
  margin: 0;
  background-color: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px 16px;
  counter-increment: checkstep;
  min-width: 0;
}

.check-step h3 {
  font-size: 16px;
  margin: 0 0 8px;
  padding-top: 26px;
  position: relative;
}

.check-step h3::before {
  content: counter(checkstep, decimal-leading-zero);
  position: absolute;
  top: 0;
  left: 0;
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.08em;
  color: var(--white);
  background-color: var(--green);
  padding: 1px 8px;
  border-radius: 2px;
}

.check-step p {
  margin: 0;
  font-size: 14px;
  line-height: 1.7;
}

.faq-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr);
  gap: 28px;
  align-items: start;
}

.faq-list {
  min-width: 0;
}

.feedback-entry {
  background-color: var(--green-soft);
  border-radius: var(--radius);
  padding: 22px 22px 24px;
  border: 1px solid #cbdcbe;
}

.feedback-entry p {
  font-size: 15px;
  color: var(--ink);
}

/* --------------------------------------------------------------------------
   pages：内页通用模块
   -------------------------------------------------------------------------- */
.section {
  margin-bottom: 40px;
}

.section:last-child {
  margin-bottom: 0;
}

.media-intro {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 24px;
  align-items: start;
  margin-bottom: 40px;
}

.media-intro h2 {
  grid-column: 1 / -1;
  font-size: 22px;
  margin: 0 0 4px;
}

.media-figure {
  margin: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 8px;
  background-color: var(--white);
}

.media-figure img {
  aspect-ratio: 4 / 3;
}

.media-text {
  min-width: 0;
  font-size: 16px;
}

.media-text p:last-child {
  margin-bottom: 0;
}

/* 步骤条（start） */
.step-order {
  margin-bottom: 40px;
}

.step-item {
  background-color: var(--white);
  border: 1px solid var(--line);
  border-left: 4px solid var(--green);
  border-radius: var(--radius-sm);
  padding: 18px 20px;
  margin-bottom: 16px;
}

.step-item:last-child {
  margin-bottom: 0;
}

.step-order .step-index {
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.08em;
  color: var(--brown);
  margin: 0 0 4px;
}

.step-item h3 {
  font-size: 18px;
  margin: 0 0 8px;
}

.step-item > p {
  font-size: 15px;
  margin: 0 0 12px;
}

.step-fields {
  margin: 0;
  display: grid;
  grid-template-columns: 96px minmax(0, 1fr);
  gap: 6px 14px;
  font-size: 14px;
  border-top: 1px dashed var(--line);
  padding-top: 12px;
}

.step-fields dt {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--brown);
  padding-top: 2px;
}

.step-fields dd {
  margin: 0;
  color: var(--ink);
}

/* 术语表 */
.term-start {
  margin-bottom: 40px;
}

.term-table {
  background-color: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  font-size: 15px;
}

.term-table caption {
  font-size: 13px;
  color: var(--brown);
  padding: 0 0 8px;
}

.term-table th,
.term-table td {
  padding: 11px 14px;
  text-align: left;
  border-bottom: 1px solid var(--line-soft);
  vertical-align: top;
}

.term-table thead th {
  background-color: var(--green-soft);
  color: var(--green);
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.06em;
}

.term-table tbody th {
  width: 26%;
  color: var(--ink-strong);
  font-weight: 600;
}

.term-table tbody tr:last-child th,
.term-table tbody tr:last-child td {
  border-bottom: none;
}

.term-footnote {
  font-size: 13px;
  color: var(--brown);
  margin-top: 10px;
}

/* 下一站入口 */
.next-entry {
  margin-bottom: 40px;
}

.entry-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.next-entry .entry-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.next-entry .entry-item {
  margin: 0;
  background-color: var(--white);
  border: 1px solid var(--line);
  border-left: 3px solid var(--wheat);
  border-radius: var(--radius-sm);
  padding: 14px 16px;
}

.next-entry .entry-item h3 {
  font-size: 16px;
  margin: 0 0 6px;
}

.next-entry .entry-item p {
  margin: 0;
  font-size: 14px;
}

/* 停顿点 */
.pause-points {
  margin-bottom: 0;
}

.pause-list {
  margin: 0 0 12px;
  padding-left: 1.3em;
  font-size: 15px;
}

.pause-list li {
  margin-bottom: 8px;
}

.pause-footnote {
  font-size: 14px;
  color: var(--brown);
}

/* 字段卡片（channels / check） */
.field-section {
  margin-bottom: 40px;
}

.field-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.field-card {
  background-color: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 16px 18px;
  min-width: 0;
}

.field-card h3 {
  font-size: 16px;
  margin: 0 0 6px;
  color: var(--ink-strong);
}

.field-card p {
  margin: 0;
  font-size: 14px;
  line-height: 1.7;
}

/* 频道页示例 */
.example-section {
  margin-bottom: 40px;
}

.example-list {
  margin: 0;
  padding-left: 1.3em;
}

.example-item {
  margin-bottom: 16px;
}

.example-item h3 {
  font-size: 17px;
  margin: 0 0 6px;
}

.example-item p {
  margin: 0;
  font-size: 15px;
}

/* 相关链接块 */
.related-section {
  margin-bottom: 0;
}

.related-links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.related-links li {
  margin: 0;
}

.related-links a {
  display: block;
  padding: 12px 16px;
  background-color: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  font-size: 15px;
  color: var(--ink-strong);
}

.related-links a:hover {
  border-color: var(--green);
  background-color: var(--green-soft);
  text-decoration: none;
}

.related-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.related-list li {
  margin: 0 0 10px;
  padding-bottom: 10px;
  border-bottom: 1px dashed var(--line);
  font-size: 15px;
}

.related-list li:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: none;
}

.related-list a {
  color: var(--ink-strong);
}

/* 档案索引（dossiers） */
.index-group {
  margin-bottom: 16px;
}

.index-group:last-child {
  margin-bottom: 0;
}

.index-group-title {
  font-size: 14px;
  font-family: var(--font-mono);
  letter-spacing: 0.06em;
  color: var(--brown);
  margin: 0 0 6px;
  font-weight: 600;
}

.index-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.index-list li {
  margin: 0;
}

.index-list a {
  display: block;
  padding: 6px 4px;
  font-size: 14px;
  color: var(--ink);
  border-bottom: 1px solid var(--line-soft);
}

.index-list a:hover {
  color: var(--green);
  background-color: var(--green-soft);
  text-decoration: none;
}

.tag-scope {
  margin-bottom: 40px;
}

.tag-scope .section-title {
  margin-bottom: 16px;
}

.archive-figure {
  margin: 0 0 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 8px;
  background-color: var(--white);
}

.archive-figure img {
  aspect-ratio: 16 / 9;
}

.scope-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.scope-card {
  background-color: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 16px;
  min-width: 0;
}

.scope-title {
  font-size: 15px;
  margin: 0 0 6px;
  color: var(--ink-strong);
}

.scope-card p {
  margin: 0;
  font-size: 14px;
  line-height: 1.7;
}

.archive-years {
  margin-bottom: 40px;
}

.year-block {
  background-color: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px 20px;
  margin-bottom: 18px;
}

.year-block:last-child {
  margin-bottom: 0;
}

.year-title {
  font-size: 18px;
  margin: 0 0 6px;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 4px;
}

.year-desc {
  font-size: 15px;
  color: var(--ink);
  margin: 0 0 12px;
}

.archive-tags {
  margin-bottom: 40px;
}

.tag-group {
  background-color: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 16px 18px;
  margin-bottom: 14px;
}

.tag-group:last-child {
  margin-bottom: 0;
}

.tag-title {
  font-size: 16px;
  margin: 0 0 10px;
  color: var(--ink-strong);
}

.tag-entry-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 4px 18px;
}

.tag-entry-list li {
  margin: 0;
  font-size: 14px;
  padding: 5px 0;
  border-bottom: 1px dotted var(--line);
}

.project-table-section {
  margin-bottom: 40px;
}

.archive-table {
  background-color: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  font-size: 15px;
  min-width: 560px;
}

.archive-table th,
.archive-table td {
  padding: 12px 14px;
  text-align: left;
  border-bottom: 1px solid var(--line-soft);
  vertical-align: top;
}

.archive-table thead th {
  background-color: var(--green-soft);
  color: var(--green);
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.06em;
}

.archive-table tbody th {
  color: var(--ink-strong);
  font-weight: 600;
}

.archive-table tbody tr:last-child th,
.archive-table tbody tr:last-child td {
  border-bottom: none;
}

.project-table-section .table-wrap {
  overflow-x: auto;
}

.cross-links {
  margin-bottom: 0;
}

.cross-link-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.cross-link-item {
  margin: 0;
  background-color: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 16px;
  min-width: 0;
}

.cross-link-title {
  font-size: 16px;
  margin: 0 0 6px;
}

.cross-link-item p {
  font-size: 14px;
  margin: 0 0 10px;
}

.cross-link-item a {
  font-size: 14px;
  color: var(--green);
  border-bottom: 1px solid var(--wheat);
}

/* 观看核对（check） */
.checklist-section {
  margin-bottom: 40px;
}

.checklist-list {
  list-style: none;
  margin: 0;
  padding: 0;
  counter-reset: checklist;
}

.checklist-item {
  counter-increment: checklist;
  background-color: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px 20px;
  margin-bottom: 16px;
}

.checklist-item:last-child {
  margin-bottom: 0;
}

.checklist-head {
  font-family: var(--font-serif);
  font-size: 17px;
  font-weight: 700;
  color: var(--ink-strong);
  padding-left: 40px;
  position: relative;
  min-height: 28px;
  margin-bottom: 10px;
}

.checklist-head::before {
  content: counter(checklist, decimal-leading-zero);
  position: absolute;
  left: 0;
  top: 2px;
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.06em;
  color: var(--white);
  background-color: var(--green);
  padding: 2px 8px;
  border-radius: 2px;
}

.checklist-detail {
  margin: 0;
  display: grid;
  grid-template-columns: 88px minmax(0, 1fr);
  gap: 6px 14px;
  font-size: 14px;
  border-top: 1px dashed var(--line);
  padding-top: 12px;
}

.checklist-detail dt {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--brown);
  padding-top: 2px;
}

.checklist-detail dd {
  margin: 0;
}

.check-figure {
  margin: 22px 0 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 8px;
  background-color: var(--white);
}

.check-figure img {
  aspect-ratio: 16 / 9;
}

.nextstop-section {
  margin-bottom: 40px;
}

.nextstop-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.nextstop-card {
  background-color: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 16px 18px;
  min-width: 0;
}

.nextstop-card h3 {
  font-size: 16px;
  margin: 0 0 6px;
}

.nextstop-card p {
  font-size: 14px;
  margin: 0 0 12px;
}

.nextstop-link {
  font-size: 14px;
  color: var(--green);
  border-bottom: 1px solid var(--wheat);
}

/* 常见错误（errors） */
.error-index {
  margin-bottom: 40px;
}

.error-index-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.error-index-item {
  margin: 0;
  background-color: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 16px;
  min-width: 0;
}

.error-index-num {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--brown);
  background-color: var(--paper-deep);
  border-radius: 2px;
  padding: 1px 7px;
  margin-bottom: 8px;
}

.error-index-name {
  font-size: 16px;
  margin: 0 0 6px;
}

.error-index-desc {
  font-size: 14px;
  margin: 0 0 10px;
  line-height: 1.7;
}

.error-index-link {
  font-size: 14px;
  color: var(--green);
  border-bottom: 1px solid var(--wheat);
}

.error-media {
  margin-bottom: 40px;
}

.error-media-inner {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 24px;
  align-items: start;
}

.error-media-figure {
  margin: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 8px;
  background-color: var(--white);
}

.error-media-figure img {
  aspect-ratio: 4 / 3;
}

.error-media-text {
  min-width: 0;
  font-size: 16px;
}

.error-media-text p:last-child {
  margin-bottom: 0;
}

.error-faq {
  margin-bottom: 40px;
}

.faq-fields {
  margin: 0 0 10px;
  display: grid;
  grid-template-columns: 84px minmax(0, 1fr);
  gap: 6px 14px;
}

.faq-fields dt {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--brown);
  padding-top: 2px;
}

.faq-fields dd {
  margin: 0;
  font-size: 15px;
}

.faq-links {
  margin: 0;
  font-size: 14px;
  padding-top: 8px;
  border-top: 1px dashed var(--line);
}

.faq-links a {
  color: var(--green);
  border-bottom: 1px solid var(--wheat);
}

.error-precheck {
  margin-bottom: 40px;
}

.precheck-list {
  margin: 0;
  padding-left: 1.3em;
}

.precheck-item {
  margin-bottom: 14px;
}

.precheck-name {
  font-size: 16px;
  margin: 0 0 4px;
}

.precheck-item p {
  margin: 0;
  font-size: 15px;
}

.error-related {
  margin-bottom: 0;
}

.error-related .related-links {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.related-link {
  display: block;
  padding: 14px 16px;
  background-color: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
}

.related-link:hover {
  border-color: var(--green);
  background-color: var(--green-soft);
  text-decoration: none;
}

.related-link-name {
  display: block;
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: 16px;
  color: var(--ink-strong);
  margin-bottom: 2px;
}

.related-link-desc {
  display: block;
  font-size: 13px;
  color: var(--brown);
}

/* 更新记录（updates） */
.batch-scene {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: 24px;
  align-items: start;
  margin-bottom: 40px;
}

.scene-figure {
  margin: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 8px;
  background-color: var(--white);
}

.scene-figure img {
  aspect-ratio: 4 / 3;
}

.scene-text {
  min-width: 0;
}

.scene-text h2 {
  font-size: 22px;
  margin: 0 0 10px;
}

.scene-text p {
  font-size: 15px;
}

.scene-text p:last-child {
  margin-bottom: 0;
}

.batch-table-section {
  margin-bottom: 40px;
}

.batch-table {
  min-width: 620px;
  font-size: 15px;
}

.batch-table caption {
  font-size: 13px;
  color: var(--brown);
  padding: 10px 14px 0;
  text-align: left;
}

.batch-table th,
.batch-table td {
  padding: 12px 14px;
  text-align: left;
  border-bottom: 1px solid var(--line-soft);
  vertical-align: top;
}

.batch-table thead th {
  background-color: var(--green-soft);
  color: var(--green);
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.06em;
  white-space: nowrap;
}

.batch-table tbody th {
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.04em;
  color: var(--ink-strong);
  white-space: nowrap;
}

.batch-table tbody tr:last-child th,
.batch-table tbody tr:last-child td {
  border-bottom: none;
}

.impact-section {
  margin-bottom: 40px;
}

.impact-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.impact-item {
  background-color: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 16px 18px;
  min-width: 0;
}

.impact-item h3 {
  font-size: 16px;
  margin: 0 0 6px;
}

.impact-item p {
  margin: 0;
  font-size: 14px;
  line-height: 1.7;
}

.verify-section {
  margin-bottom: 40px;
}

.verify-steps {
  margin: 0;
  padding-left: 1.3em;
}

.verify-step {
  margin-bottom: 14px;
}

.verify-step h3 {
  font-size: 16px;
  margin: 0 0 4px;
}

.verify-step p {
  margin: 0;
  font-size: 15px;
}

.related-section .related-list li p {
  margin: 4px 0 0;
  font-size: 14px;
  color: var(--brown);
}

/* 反馈说明（feedback） */
.page-head {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 24px 24px 0;
}

.page-head .page-lead {
  font-size: 15px;
  color: var(--brown);
}

.feedback-layout {
  padding-bottom: 0;
}

.feedback-aside {
  order: 0;
}

.feedback-scope {
  margin-bottom: 40px;
}

.scope-columns {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.scope-col {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px 20px;
  background-color: var(--white);
  min-width: 0;
}

.scope-col h3 {
  font-size: 16px;
  margin: 0 0 10px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--green-soft);
}

.scope-accept h3 {
  border-bottom-color: var(--green);
}

.scope-reject h3 {
  border-bottom-color: var(--wheat);
}

.scope-list {
  margin: 0;
  padding-left: 1.2em;
  font-size: 15px;
}

.scope-list li {
  margin-bottom: 8px;
}

.scope-list li:last-child {
  margin-bottom: 0;
}

.feedback-prepare {
  margin-bottom: 40px;
}

.media-block {
  margin: 0 0 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 8px;
  background-color: var(--white);
}

.media-block img {
  aspect-ratio: 16 / 9;
}

.prepare-table {
  min-width: 560px;
}

.feedback-process {
  margin-bottom: 0;
}

.process-steps {
  list-style: none;
  margin: 0 0 28px;
  padding: 0;
  counter-reset: proc;
}

.process-step {
  counter-increment: proc;
  position: relative;
  background-color: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 16px 18px 16px 64px;
  margin-bottom: 14px;
  min-height: 64px;
}

.process-step:last-child {
  margin-bottom: 0;
}

.process-step .step-index {
  position: absolute;
  left: 18px;
  top: 16px;
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.06em;
  color: var(--white);
  background-color: var(--green);
  border-radius: 2px;
  padding: 2px 8px;
}

.process-step h3 {
  font-size: 16px;
  margin: 0 0 4px;
}

.process-step p {
  margin: 0;
  font-size: 15px;
}

.feedback-process .related-links {
  display: block;
  background-color: var(--green-soft);
  border-radius: var(--radius);
  padding: 18px 20px;
}

.feedback-process .related-links h3 {
  font-size: 16px;
  margin: 0 0 10px;
}

.link-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 6px 18px;
}

.link-list li {
  margin: 0;
  font-size: 15px;
}

.link-list a {
  color: var(--ink-strong);
  border-bottom: 1px solid var(--wheat);
}

/* 404 */
.error-main {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 64px 24px 72px;
}

.error-panel {
  max-width: 640px;
  border-left: 4px solid var(--wheat);
  padding-left: 24px;
}

.error-code {
  font-family: var(--font-mono);
  font-size: 14px;
  letter-spacing: 0.14em;
  color: var(--brown);
  margin: 0 0 8px;
}

.error-panel h1 {
  font-size: 32px;
  color: var(--ink-strong);
  margin: 0 0 14px;
}

.error-lead {
  font-size: 16px;
  margin: 0 0 8px;
}

.error-hint {
  font-size: 14px;
  color: var(--brown);
  margin: 0 0 24px;
}

.error-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.error-routes {
  margin-top: 48px;
  border-top: 1px solid var(--line);
  padding-top: 24px;
}

.error-routes h2 {
  font-size: 20px;
  margin: 0 0 14px;
}

.error-route-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.error-route-list li {
  margin: 0;
  min-width: 0;
}

.error-route-list a {
  display: block;
  padding: 14px 16px;
  background-color: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  font-size: 15px;
  color: var(--ink-strong);
}

.error-route-list a:hover {
  border-color: var(--green);
  background-color: var(--green-soft);
  text-decoration: none;
}

/* --------------------------------------------------------------------------
   responsive：960px 与 640px 断点
   -------------------------------------------------------------------------- */
@media (max-width: 960px) {
  .header-inner {
    flex-wrap: wrap;
    gap: 12px;
    padding: 0 18px;
    min-height: 60px;
  }

  .site-nav {
    display: none;
  }

  .nav-list {
    display: none;
  }

  .nav-toggle {
    display: flex;
  }

  .mobile-nav-list {
    padding: 6px 18px 14px;
  }

  .inner-main,
  .home-main,
  .page-head,
  .error-main {
    padding-left: 18px;
    padding-right: 18px;
  }

  .page-layout,
  .page-layout.sidebar-left,
  .sidebar-left .page-layout {
    grid-template-columns: minmax(0, 1fr);
    gap: 28px;
  }

  .page-layout.sidebar-left > .content-body,
  .page-layout.sidebar-left > .content-main,
  .page-layout.sidebar-left > .archive-body,
  .page-layout.sidebar-left > .layout-content {
    order: 1;
  }

  .page-layout.sidebar-left > .sidebar,
  .page-layout.sidebar-left > .archive-index,
  .page-layout.sidebar-left > .batch-index,
  .page-layout.sidebar-left > .page-aside {
    order: 2;
  }

  .page-layout > .content-main,
  .page-layout > .content-body,
  .page-layout > .archive-body,
  .page-layout > .layout-content {
    order: 1;
  }

  .page-layout > .content-aside {
    order: 2;
  }

  .hero {
    grid-template-columns: minmax(0, 1fr);
    gap: 28px;
    padding: 32px 0 28px;
  }

  .hero-copy h1 {
    font-size: 32px;
  }

  .browse-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .quick-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .check-steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .error-index-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .footer-inner {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 28px;
    padding: 36px 18px 24px;
  }

  .footer-about {
    grid-column: 1 / -1;
  }

  .footer-bottom {
    padding: 14px 18px;
  }
}

@media (max-width: 640px) {
  body {
    font-size: 16px;
  }

  h1,
  .page-title {
    font-size: 26px;
  }

  .brand-slogan {
    display: none;
  }

  .brand-mark {
    font-size: 19px;
  }

  .breadcrumb {
    padding-top: 14px;
    font-size: 12px;
  }

  .page-header {
    padding: 10px 0 16px;
    margin-bottom: 20px;
  }

  .page-hero {
    padding: 16px 18px;
    margin-bottom: 24px;
  }

  .page-lead {
    font-size: 15px;
  }

  .section-title {
    font-size: 20px;
    padding-left: 10px;
  }

  .hero {
    padding: 24px 0 24px;
  }

  .hero-copy h1 {
    font-size: 30px;
  }

  .hero-lead {
    font-size: 16px;
  }

  .hero-actions .btn {
    flex: 1 1 auto;
    text-align: center;
  }

  .hero-media img {
    aspect-ratio: 4 / 3;
  }

  .browse-band,
  .quick-links,
  .home-two-col,
  .channel-overview,
  .dossier-sample,
  .check-chain,
  .faq-summary {
    padding-top: 32px;
  }

  .browse-grid,
  .quick-list,
  .check-steps,
  .error-index-grid,
  .scope-grid,
  .cross-link-list,
  .nextstop-grid,
  .error-route-list,
  .field-grid,
  .impact-grid,
  .related-links,
  .error-related .related-links,
  .next-entry .entry-list,
  .tag-entry-list,
  .link-list {
    grid-template-columns: minmax(0, 1fr);
  }

  .dossier-layout,
  .faq-layout,
  .media-intro,
  .error-media-inner,
  .batch-scene,
  .scope-columns {
    grid-template-columns: minmax(0, 1fr);
    gap: 20px;
  }

  .media-intro h2 {
    grid-column: auto;
  }

  .dossier-media img {
    aspect-ratio: 16 / 9;
  }

  .step-fields,
  .checklist-detail,
  .faq-fields {
    grid-template-columns: 76px minmax(0, 1fr);
    gap: 6px 10px;
  }

  .checklist-head {
    padding-left: 0;
    padding-top: 30px;
  }

  .checklist-head::before {
    top: 0;
  }

  .process-step {
    padding: 46px 16px 16px;
  }

  .process-step .step-index {
    left: 16px;
    top: 14px;
  }

  .term-table,
  .archive-table,
  .data-table,
  .batch-table,
  .prepare-table {
    font-size: 14px;
  }

  .term-table th,
  .term-table td,
  .archive-table th,
  .archive-table td,
  .data-table th,
  .data-table td,
  .batch-table th,
  .batch-table td {
    padding: 10px 12px;
  }

  .footer-inner {
    grid-template-columns: minmax(0, 1fr);
    gap: 24px;
    padding: 32px 18px 20px;
  }

  .footer-about {
    grid-column: auto;
  }

  .footer-nav ul {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .error-main {
    padding: 40px 18px 56px;
  }

  .error-panel {
    padding-left: 16px;
  }

  .error-panel h1 {
    font-size: 26px;
  }

  .error-actions .btn {
    flex: 1 1 auto;
    text-align: center;
  }

  .feedback-process .related-links {
    padding: 16px;
  }
}

/* 程序验收反馈：移动端正文优先 */
@media (max-width: 768px) {
  .site-main :is(.page-content, .main-content, .content-main) {
    order: 1;
  }

  .site-main :is(aside, .sidebar) {
    order: 2;
  }
}
