/* ==========================================================================
   stuobao.com — 天美传媒企业服务官网
   高密度控制台风：表格行、字段标签、状态徽标构成主要视觉
   分组：base / layout / components / pages / responsive
   ========================================================================== */

/* --------------------------------------------------------------------------
   base — 变量、重置、字体、基础元素
   -------------------------------------------------------------------------- */
:root {
  --c-bg: #f4f6f7;
  --c-panel: #ffffff;
  --c-ink: #1b2733;
  --c-ink-2: #5b6b7a;
  --c-line: #dde3e8;
  --c-ok: #0f6f64;
  --c-open: #b7791f;
  --c-out: #8a8f98;
  --shell: 1120px;
  --radius: 4px;
  --font: "PingFang SC", "Source Han Sans SC", "Noto Sans SC", "Microsoft YaHei", "Hiragino Sans GB", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
  --font-mono: ui-monospace, SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body,
h1, h2, h3, h4,
p, figure, figcaption,
dl, dd, dt,
ul, ol,
table, caption, th, td {
  margin: 0;
  padding: 0;
}

ul, ol {
  list-style: none;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
  cursor: pointer;
}

table {
  border-collapse: collapse;
  border-spacing: 0;
  width: 100%;
}

.site-body {
  font-family: var(--font);
  font-size: 14px;
  line-height: 1.7;
  color: var(--c-ink);
  background: var(--c-bg);
  font-variant-numeric: tabular-nums;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.site-body :focus-visible {
  outline: 2px solid var(--c-ok);
  outline-offset: 2px;
}

.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;
}

.skip-link {
  position: absolute;
  left: 12px;
  top: -60px;
  z-index: 60;
  padding: 10px 16px;
  background: var(--c-ink);
  color: #fff;
  border-radius: var(--radius);
  font-size: 13px;
  transition: top 0.15s ease;
}

.skip-link:focus {
  top: 12px;
}

/* 通用文字层级 */
.field-label {
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--c-ink-2);
  font-weight: 500;
}

.section-title,
.related-title,
.aside-title,
.sidebar-title {
  font-size: 18px;
  font-weight: 600;
  color: var(--c-ink);
  line-height: 1.5;
}

.section-desc,
.section-note,
.aside-desc,
.block-note,
.block-desc {
  font-size: 13px;
  color: var(--c-ink-2);
  line-height: 1.7;
}

/* --------------------------------------------------------------------------
   layout — 页头、导航、主容器、面包屑、页脚外壳
   -------------------------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: var(--c-panel);
  border-bottom: 1px solid var(--c-line);
}

.header-inner {
  max-width: var(--shell);
  margin: 0 auto;
  padding: 0 20px;
  height: 58px;
  display: flex;
  align-items: center;
  gap: 24px;
}

.brand {
  flex: 0 0 auto;
  font-size: 17px;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--c-ink);
  white-space: nowrap;
}

.brand::before {
  content: "";
  display: inline-block;
  width: 8px;
  height: 8px;
  margin-right: 8px;
  background: var(--c-ok);
  border-radius: 1px;
  vertical-align: 2px;
}

/* 主导航 */
.site-nav {
  flex: 1 1 auto;
  min-width: 0;
}

.nav-list {
  display: flex;
  align-items: center;
  gap: 2px;
  flex-wrap: nowrap;
}

.nav-list > li {
  flex: 0 0 auto;
}

.nav-link {
  display: block;
  padding: 0 11px;
  height: 58px;
  line-height: 58px;
  font-size: 13px;
  color: var(--c-ink-2);
  border-bottom: 2px solid transparent;
  white-space: nowrap;
}

.nav-link:hover {
  color: var(--c-ink);
}

.nav-link.is-current {
  color: var(--c-ink);
  font-weight: 600;
  border-bottom-color: var(--c-ok);
}

/* 页头右侧命令按钮 */
.header-command {
  flex: 0 0 auto;
  width: 34px;
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--c-line);
  border-radius: var(--radius);
  background: var(--c-bg);
  color: var(--c-ink);
}

.header-command:hover {
  border-color: var(--c-ok);
  color: var(--c-ok);
}

.command-icon {
  position: relative;
  width: 14px;
  height: 14px;
  display: block;
}

.command-icon::before,
.command-icon::after {
  content: "";
  position: absolute;
  background: currentColor;
}

.command-icon::before {
  left: 0;
  right: 0;
  top: 3px;
  height: 1.5px;
  box-shadow: 0 6px 0 currentColor;
}

.command-icon::after {
  left: 0;
  right: 0;
  bottom: 0;
  height: 1.5px;
}

/* 汉堡按钮 */
.nav-toggle {
  display: none;
  flex: 0 0 auto;
  width: 40px;
  height: 40px;
  margin-left: auto;
  border: 1px solid var(--c-line);
  border-radius: var(--radius);
  background: var(--c-panel);
  padding: 0;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 4px;
}

.nav-toggle-bar {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--c-ink);
  border-radius: 1px;
}

/* 移动端导航（默认收起） */
.mobile-nav {
  display: none;
  border-top: 1px solid var(--c-line);
  background: var(--c-panel);
}

.mobile-nav-list {
  padding: 6px 0;
}

.mobile-nav-list > li {
  border-bottom: 1px solid var(--c-line);
}

.mobile-nav-list > li:last-child {
  border-bottom: 0;
}

.mobile-nav-list a {
  display: flex;
  align-items: center;
  min-height: 48px;
  padding: 0 20px;
  font-size: 14px;
  color: var(--c-ink);
}

.mobile-nav-list a.is-current {
  color: var(--c-ok);
  font-weight: 600;
}

/* 主内容 */
.site-main {
  flex: 1 1 auto;
  width: 100%;
}

.inner-main {
  max-width: var(--shell);
  margin: 0 auto;
  padding: 20px 20px 56px;
}

.home-main {
  padding-bottom: 0;
}

/* 面包屑 */
.breadcrumb {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
  font-size: 12px;
  color: var(--c-ink-2);
  margin-bottom: 14px;
}

.breadcrumb a {
  color: var(--c-ink-2);
}

.breadcrumb a:hover {
  color: var(--c-ok);
}

.breadcrumb-sep {
  color: var(--c-line);
}

.breadcrumb-current {
  color: var(--c-ink);
}

/* 页面标题区（全站统一） */
.page-header {
  margin-bottom: 22px;
}

.page-title {
  font-size: 28px;
  font-weight: 600;
  line-height: 1.35;
  color: var(--c-ink);
}

/* 页脚 */
.site-footer {
  background: var(--c-bg);
  border-top: 1px solid var(--c-line);
  padding: 26px 20px 22px;
  margin-top: auto;
}

.footer-top {
  max-width: var(--shell);
  margin: 0 auto 20px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--c-line);
}

.footer-return {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 20px;
}

.footer-return a {
  font-size: 13px;
  color: var(--c-ink-2);
}

.footer-return a:hover {
  color: var(--c-ok);
}

.footer-columns {
  max-width: var(--shell);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
}

.footer-col-title {
  font-size: 13px;
  font-weight: 600;
  color: var(--c-ink);
  margin-bottom: 10px;
}

.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.footer-col a {
  font-size: 13px;
  color: var(--c-ink-2);
}

.footer-col a:hover {
  color: var(--c-ok);
}

.footer-bottom {
  max-width: var(--shell);
  margin: 22px auto 0;
  padding-top: 14px;
  border-top: 1px solid var(--c-line);
  display: flex;
  flex-wrap: wrap;
  gap: 6px 18px;
  font-size: 12px;
  color: var(--c-ink-2);
}

.footer-brand {
  font-weight: 600;
  color: var(--c-ink);
}

/* --------------------------------------------------------------------------
   components — 徽标、标签、列表、表格、折叠项、入口行
   -------------------------------------------------------------------------- */
.status-badge {
  display: inline-block;
  padding: 2px 8px;
  font-size: 12px;
  line-height: 1.6;
  border-radius: 2px;
  border: 1px solid currentColor;
  white-space: nowrap;
}

.status-ok {
  color: var(--c-ok);
}

.status-open {
  color: var(--c-open);
}

.status-check {
  color: var(--c-open);
}

.status-out,
.status-closed {
  color: var(--c-out);
}

/* 分类标签按钮 */
.filter-tag,
.tag {
  padding: 5px 12px;
  min-height: 32px;
  font-size: 13px;
  color: var(--c-ink-2);
  background: var(--c-panel);
  border: 1px solid var(--c-line);
  border-radius: 2px;
  white-space: nowrap;
}

.filter-tag:hover,
.tag:hover {
  color: var(--c-ink);
  border-color: var(--c-ink-2);
}

.filter-tag.is-on,
.tag.is-active {
  color: #fff;
  background: var(--c-ink);
  border-color: var(--c-ink);
}

/* 语义链接 */
.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 13px;
  color: var(--c-ok);
}

.link-arrow::after {
  content: "→";
  font-size: 12px;
}

.link-arrow:hover {
  text-decoration: underline;
}

/* 字段列表 */
.status-list,
.entry-fields,
.step-detail,
.glossary-list,
.solution-map,
.field-tags {
  display: block;
}

.status-row,
.entry-field,
.step-detail-row,
.glossary-item {
  display: flex;
  gap: 8px;
  align-items: baseline;
}

.status-row dt,
.entry-field dt,
.step-detail-row dt,
.glossary-item dt {
  flex: 0 0 auto;
}

.status-value {
  font-size: 20px;
  font-weight: 600;
  color: var(--c-ink);
}

.field-value {
  font-size: 13px;
  color: var(--c-ink);
}

/* 状态徽标行（首页面板） */
.status-row {
  justify-content: space-between;
  padding: 10px 0;
  border-bottom: 1px solid var(--c-line);
}

.status-row:last-child {
  border-bottom: 0;
}

/* 数据表格 */
.data-table {
  width: 100%;
  background: var(--c-panel);
  border: 1px solid var(--c-line);
  font-size: 13px;
}

.data-table caption {
  text-align: left;
  font-size: 12px;
  color: var(--c-ink-2);
  padding-bottom: 8px;
}

.data-table th {
  text-align: left;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.05em;
  color: var(--c-ink);
  background: var(--c-bg);
  padding: 10px 14px;
  border-bottom: 1px solid var(--c-line);
  white-space: nowrap;
}

.data-table td {
  padding: 11px 14px;
  border-bottom: 1px solid var(--c-line);
  color: var(--c-ink);
  vertical-align: top;
}

.data-table tbody tr:last-child td {
  border-bottom: 0;
}

.data-table tbody tr:hover {
  background: #fafbfb;
}

/* 折叠问答 */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.faq-item {
  background: var(--c-panel);
  border: 1px solid var(--c-line);
  border-radius: var(--radius);
}

.faq-item summary {
  cursor: pointer;
  list-style: none;
  padding: 13px 40px 13px 16px;
  font-size: 14px;
  font-weight: 600;
  color: var(--c-ink);
  position: relative;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 16px;
  font-weight: 400;
  color: var(--c-ink-2);
}

.faq-item[open] summary::after {
  content: "−";
}

.faq-item p,
.faq-answer {
  padding: 0 16px 14px;
  font-size: 13px;
  color: var(--c-ink-2);
  line-height: 1.75;
}

.faq-item[open] summary {
  border-bottom: 1px solid var(--c-line);
  margin-bottom: 12px;
}

/* 相关入口行 */
.related-links,
.related-section {
  margin-top: 32px;
  padding-top: 18px;
  border-top: 1px solid var(--c-line);
}

.related-list,
.related-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
  margin-top: 10px;
}

.related-list a,
.related-row a,
.related-links > a {
  font-size: 13px;
  color: var(--c-ok);
}

.related-list a:hover,
.related-row a:hover,
.related-links > a:hover {
  text-decoration: underline;
}

/* 图片容器 */
figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--radius);
}

figcaption {
  font-size: 12px;
  color: var(--c-ink-2);
  margin-top: 8px;
  line-height: 1.6;
}

/* --------------------------------------------------------------------------
   pages — 首页
   -------------------------------------------------------------------------- */
.hero {
  background: var(--c-panel);
  border-bottom: 1px solid var(--c-line);
}

.hero-layout {
  max-width: var(--shell);
  margin: 0 auto;
  padding: 40px 20px 32px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 40px;
  align-items: start;
}

.hero-eyebrow {
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--c-ink-2);
  margin-bottom: 12px;
}

.hero-lead h1 {
  font-size: 28px;
  font-weight: 600;
  line-height: 1.4;
  color: var(--c-ink);
  margin-bottom: 14px;
}

.hero-text {
  font-size: 14px;
  color: var(--c-ink-2);
  max-width: 620px;
  margin-bottom: 20px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 26px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 20px;
  font-size: 14px;
  border-radius: var(--radius);
  border: 1px solid transparent;
}

.btn-primary {
  background: var(--c-ink);
  color: #fff;
  border-color: var(--c-ink);
}

.btn-primary:hover {
  background: #0f1820;
}

.btn-ghost {
  background: var(--c-panel);
  color: var(--c-ink);
  border-color: var(--c-line);
}

.btn-ghost:hover {
  border-color: var(--c-ink-2);
}

.hero-figure {
  margin: 0;
  border: 1px solid var(--c-line);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--c-bg);
}

.hero-figure img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-radius: 0;
}

.hero-figure figcaption {
  padding: 10px 14px;
  margin: 0;
  border-top: 1px solid var(--c-line);
}

.hero-panel {
  background: var(--c-bg);
  border: 1px solid var(--c-line);
  border-radius: var(--radius);
  padding: 18px;
}

.panel-title {
  font-size: 15px;
  font-weight: 600;
  color: var(--c-ink);
  margin-bottom: 12px;
}

.panel-note {
  font-size: 12px;
  color: var(--c-ink-2);
  line-height: 1.7;
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid var(--c-line);
}

.boundary-bar {
  max-width: var(--shell);
  margin: 0 auto;
  padding: 0 20px 26px;
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.boundary-tag {
  flex: 0 0 auto;
  padding: 2px 8px;
  font-size: 12px;
  color: var(--c-out);
  border: 1px solid var(--c-out);
  border-radius: 2px;
}

.boundary-bar p {
  font-size: 13px;
  color: var(--c-ink-2);
  line-height: 1.7;
}

/* 首页通用 section */
.section {
  max-width: var(--shell);
  margin: 0 auto;
  padding: 34px 20px;
  border-bottom: 1px solid var(--c-line);
}

.section-head {
  margin-bottom: 18px;
}

.section-head h2 {
  font-size: 18px;
  font-weight: 600;
  color: var(--c-ink);
  margin-bottom: 6px;
}

.section-head p {
  font-size: 13px;
  color: var(--c-ink-2);
}

.section-foot {
  margin-top: 16px;
}

/* 服务矩阵概览 */
.filter-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 16px;
}

.entry-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.entry-row {
  display: grid;
  grid-template-columns: minmax(200px, 240px) minmax(0, 1fr) auto;
  gap: 18px;
  align-items: center;
  background: var(--c-panel);
  border: 1px solid var(--c-line);
  border-radius: var(--radius);
  padding: 14px 16px;
}

.entry-row:hover {
  border-color: var(--c-ink-2);
  background: #fbfcfc;
}

.entry-main {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.entry-name {
  font-size: 14px;
  font-weight: 600;
  color: var(--c-ink);
  line-height: 1.5;
}

.entry-tag {
  align-self: flex-start;
  font-size: 12px;
  color: var(--c-ink-2);
  border: 1px solid var(--c-line);
  border-radius: 2px;
  padding: 1px 7px;
}

.entry-fields {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.entry-field {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.entry-field dd {
  font-size: 13px;
  color: var(--c-ink);
}

/* 行业方案入口 */
.sector-list {
  display: flex;
  flex-direction: column;
  gap: 0;
  background: var(--c-panel);
  border: 1px solid var(--c-line);
  border-radius: var(--radius);
  overflow: hidden;
}

.sector-row {
  display: grid;
  grid-template-columns: 160px minmax(0, 1fr) auto;
  gap: 18px;
  align-items: center;
  padding: 14px 16px;
  border-bottom: 1px solid var(--c-line);
}

.sector-row:last-child {
  border-bottom: 0;
}

.sector-row:hover {
  background: #fbfcfc;
}

.sector-name {
  font-size: 14px;
  font-weight: 600;
  color: var(--c-ink);
}

.sector-issue {
  font-size: 13px;
  color: var(--c-ink-2);
}

/* 合作四步步骤条 */
.step-row {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.step-block {
  background: var(--c-panel);
  border: 1px solid var(--c-line);
  border-top: 3px solid var(--c-ok);
  border-radius: var(--radius);
  padding: 16px;
}

.step-index {
  display: block;
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--c-ok);
  margin-bottom: 8px;
}

.step-name {
  font-size: 15px;
  font-weight: 600;
  color: var(--c-ink);
  margin-bottom: 8px;
}

.step-output {
  font-size: 13px;
  color: var(--c-ink-2);
  line-height: 1.7;
}

/* 交付标准与不承接方向 */
.split-columns {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px;
}

.split-col {
  background: var(--c-panel);
  border: 1px solid var(--c-line);
  border-radius: var(--radius);
  padding: 18px;
}

.split-title {
  font-size: 15px;
  font-weight: 600;
  color: var(--c-ink);
  margin-bottom: 12px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--c-line);
}

.check-list {
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.check-list li {
  position: relative;
  padding-left: 18px;
  font-size: 13px;
  color: var(--c-ink-2);
  line-height: 1.7;
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  width: 6px;
  height: 6px;
  border: 1px solid var(--c-ink-2);
  border-radius: 1px;
}

/* 常见问题精选 */
.faq-preview .section-head {
  margin-bottom: 14px;
}

/* 对接准备清单摘要 */
.prep-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 18px;
}

.prep-item {
  background: var(--c-panel);
  border: 1px solid var(--c-line);
  border-radius: var(--radius);
  padding: 14px 16px;
}

.prep-label {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  cursor: pointer;
  margin-bottom: 8px;
}

.prep-check {
  flex: 0 0 auto;
  width: 16px;
  height: 16px;
  margin-top: 3px;
  accent-color: var(--c-ok);
}

.prep-text {
  font-size: 14px;
  font-weight: 600;
  color: var(--c-ink);
  line-height: 1.5;
}

.prep-desc {
  font-size: 13px;
  color: var(--c-ink-2);
  line-height: 1.7;
}

.prep-figure {
  margin: 0;
  border: 1px solid var(--c-line);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--c-panel);
}

.prep-figure img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 0;
}

.prep-figure figcaption {
  padding: 10px 14px;
  margin: 0;
  border-top: 1px solid var(--c-line);
}

/* --------------------------------------------------------------------------
   pages — 内页通用模块
   -------------------------------------------------------------------------- */
.page-head {
  margin-bottom: 28px;
}

.page-lead,
.page-intro-text,
.page-hero-lead {
  font-size: 14px;
  color: var(--c-ink-2);
  line-height: 1.75;
  max-width: 760px;
}

.page-meta,
.page-meta-tags,
.field-status {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  margin-top: 14px;
}

.meta-item,
.field-status-item {
  display: flex;
  align-items: baseline;
  gap: 6px;
  font-size: 12px;
  color: var(--c-ink-2);
}

.meta-value,
.field-value {
  color: var(--c-ink);
}

.meta-tag {
  font-size: 12px;
  color: var(--c-ink-2);
  border: 1px solid var(--c-line);
  background: var(--c-panel);
  border-radius: 2px;
  padding: 2px 9px;
}

.page-intro {
  margin-bottom: 26px;
}

.field-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}

.field-tag {
  font-size: 12px;
  color: var(--c-ink-2);
  border: 1px solid var(--c-line);
  background: var(--c-panel);
  border-radius: 2px;
  padding: 2px 9px;
}

.page-title-block {
  margin-bottom: 26px;
}

/* 双栏布局：默认主内容在前，aside 在后 */
.page-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 40px;
  align-items: start;
}

/* 左侧栏布局：aside 在 DOM 中位于主内容之前 */
.page-layout.sidebar-left {
  grid-template-columns: 240px minmax(0, 1fr);
}

.layout-shell {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 40px;
  align-items: start;
}

.layout-shell.sidebar-left {
  grid-template-columns: 240px minmax(0, 1fr);
}

.layout-main,
.page-content,
.page-main {
  min-width: 0;
}

.layout-aside,
.page-sidebar {
  min-width: 0;
}

/* 侧栏块 */
.aside-block {
  background: var(--c-panel);
  border: 1px solid var(--c-line);
  border-radius: var(--radius);
  padding: 16px;
  margin-bottom: 14px;
}

.aside-title,
.sidebar-title {
  font-size: 15px;
  margin-bottom: 10px;
  padding-bottom: 9px;
  border-bottom: 1px solid var(--c-line);
}

.aside-desc {
  margin-bottom: 12px;
}

.glossary-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.glossary-item {
  flex-direction: column;
  gap: 3px;
}

.aside-link-list,
.method-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.aside-link-list a,
.method-item {
  font-size: 13px;
  color: var(--c-ink-2);
}

.aside-link-list a:hover {
  color: var(--c-ok);
}

/* 侧栏锚点导航 */
.sidebar-nav-list,
.step-nav-list {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.sidebar-nav-list a,
.step-nav-item a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  min-height: 40px;
  padding: 8px 10px;
  font-size: 13px;
  color: var(--c-ink-2);
  border-left: 2px solid transparent;
  border-radius: 0 var(--radius) var(--radius) 0;
}

.sidebar-nav-list a:hover,
.step-nav-item a:hover {
  background: var(--c-bg);
  color: var(--c-ink);
}

.step-nav-item.is-current a {
  color: var(--c-ink);
  font-weight: 600;
  border-left-color: var(--c-ok);
  background: var(--c-bg);
}

.sidebar-nav-count {
  font-size: 12px;
  color: var(--c-ink-2);
}

.step-nav-num {
  display: inline-block;
  min-width: 22px;
  font-size: 12px;
  color: var(--c-ok);
}

/* 内容区块 */
.content-block,
.content-section {
  background: var(--c-panel);
  border: 1px solid var(--c-line);
  border-radius: var(--radius);
  padding: 20px;
  margin-bottom: 16px;
}

.content-block h2,
.content-section h2 {
  font-size: 18px;
  font-weight: 600;
  color: var(--c-ink);
  margin-bottom: 8px;
}

.content-block .block-note,
.content-section .section-note {
  margin-bottom: 14px;
}

.step-detail {
  display: flex;
  flex-direction: column;
  gap: 0;
  border-top: 1px solid var(--c-line);
}

.step-detail-row {
  flex-direction: column;
  gap: 3px;
  padding: 11px 0;
  border-bottom: 1px solid var(--c-line);
}

.step-detail-row:last-child {
  border-bottom: 0;
}

.step-detail-row dd {
  font-size: 13px;
  color: var(--c-ink);
  line-height: 1.7;
}

/* 内容图片 */
.content-figure,
.content-media,
.media-figure,
.block-media {
  margin: 0 0 16px;
  border: 1px solid var(--c-line);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--c-panel);
}

.content-figure img,
.content-media img,
.media-figure img,
.block-media img {
  width: 100%;
  height: 240px;
  object-fit: cover;
  border-radius: 0;
}

.content-figure figcaption,
.content-media figcaption,
.media-figure figcaption,
.block-media figcaption {
  padding: 10px 14px;
  margin: 0;
  border-top: 1px solid var(--c-line);
}

/* 普通列表 */
.plain-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.plain-list li {
  font-size: 13px;
  color: var(--c-ink-2);
  line-height: 1.75;
  padding-left: 16px;
  position: relative;
}

.plain-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 9px;
  width: 5px;
  height: 5px;
  background: var(--c-ink-2);
  border-radius: 50%;
}

.plain-list strong {
  color: var(--c-ink);
  font-weight: 600;
}

/* --------------------------------------------------------------------------
   pages — 服务总览
   -------------------------------------------------------------------------- */
.page-hero {
  background: var(--c-panel);
  border-bottom: 1px solid var(--c-line);
}

.page-hero-inner {
  max-width: var(--shell);
  margin: 0 auto;
  padding: 26px 20px 22px;
}

.page-hero-lead {
  margin-bottom: 4px;
}

.filter-section {
  margin-bottom: 24px;
}

.filter-section .section-title,
.entries-section .section-title {
  font-size: 18px;
  font-weight: 600;
  color: var(--c-ink);
  margin-bottom: 6px;
}

.filter-section .section-desc,
.entries-section .section-desc {
  margin-bottom: 16px;
}

.filter-group {
  margin-bottom: 12px;
}

.filter-group .field-label {
  display: block;
  margin-bottom: 7px;
}

.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.entries-section .media-figure {
  margin-bottom: 18px;
}

.entries-section .entry-list {
  counter-reset: entry;
}

.entries-section .entry-row {
  grid-template-columns: minmax(0, 1fr) auto;
  grid-template-areas:
    "head badge"
    "fields fields";
  gap: 12px 18px;
  align-items: start;
}

.entry-head {
  grid-area: head;
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 10px;
}

.entry-head .entry-name {
  font-size: 14px;
  font-weight: 600;
  color: var(--c-ink);
}

.entries-section .entry-fields {
  grid-area: fields;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  padding-top: 12px;
  border-top: 1px solid var(--c-line);
}

.entries-section .status-badge {
  grid-area: badge;
  align-self: start;
}

/* 侧栏字段释义 */
.glossary-item dd {
  font-size: 13px;
  color: var(--c-ink-2);
  line-height: 1.7;
}

/* --------------------------------------------------------------------------
   pages — 行业方案
   -------------------------------------------------------------------------- */
.usage-guide {
  padding-top: 0;
}

.guide-hints {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 14px;
}

.guide-hint {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 8px;
  font-size: 13px;
  color: var(--c-ink-2);
  padding: 11px 14px;
  background: var(--c-panel);
  border: 1px solid var(--c-line);
  border-left: 3px solid var(--c-ok);
  border-radius: var(--radius);
}

.industry-block {
  max-width: var(--shell);
  margin: 0 auto;
  padding: 30px 20px;
  border-bottom: 1px solid var(--c-line);
}

.industry-head {
  margin-bottom: 18px;
}

.industry-title {
  font-size: 18px;
  font-weight: 600;
  color: var(--c-ink);
  margin-bottom: 6px;
}

.industry-note {
  font-size: 13px;
  color: var(--c-ink-2);
}

.industry-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px;
  align-items: start;
}

.industry-col {
  min-width: 0;
}

.col-title {
  font-size: 15px;
  font-weight: 600;
  color: var(--c-ink);
  margin-bottom: 12px;
  padding-bottom: 9px;
  border-bottom: 1px solid var(--c-line);
}

.problem-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.problem-list li {
  position: relative;
  padding-left: 16px;
  font-size: 13px;
  color: var(--c-ink-2);
  line-height: 1.75;
}

.problem-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 9px;
  width: 5px;
  height: 5px;
  border: 1px solid var(--c-ink-2);
  border-radius: 1px;
}

.solution-map {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.solution-map dt {
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--c-ink-2);
  margin-top: 12px;
}

.solution-map dt:first-child {
  margin-top: 0;
}

.solution-map dd {
  font-size: 13px;
  color: var(--c-ink);
  line-height: 1.75;
}

.solution-map dd a {
  display: inline-block;
  margin: 4px 14px 0 0;
  font-size: 13px;
  color: var(--c-ok);
}

.solution-map dd a:hover {
  text-decoration: underline;
}

/* --------------------------------------------------------------------------
   pages — 合作流程
   -------------------------------------------------------------------------- */
.page-intro {
  margin-bottom: 26px;
}

.data-table td a {
  color: var(--c-ok);
}

/* --------------------------------------------------------------------------
   pages — 交付标准
   -------------------------------------------------------------------------- */
.scope-note {
  background: var(--c-panel);
  border: 1px solid var(--c-line);
  border-left: 3px solid var(--c-open);
  border-radius: var(--radius);
  padding: 18px 20px;
  margin-bottom: 22px;
}

.scope-note h2 {
  font-size: 15px;
  font-weight: 600;
  color: var(--c-ink);
  margin-bottom: 8px;
}

.scope-note p {
  font-size: 13px;
  color: var(--c-ink-2);
  line-height: 1.75;
}

.scope-status {
  margin-top: 12px;
}

.standard-block {
  background: var(--c-panel);
  border: 1px solid var(--c-line);
  border-radius: var(--radius);
  padding: 20px;
  margin-bottom: 16px;
}

.block-head {
  margin-bottom: 14px;
}

.block-head h2 {
  font-size: 18px;
  font-weight: 600;
  color: var(--c-ink);
  margin-bottom: 6px;
}

.block-media {
  margin-bottom: 16px;
}

.block-media img {
  height: 220px;
}

.deliverable-table td:first-child {
  width: 34%;
  font-weight: 600;
  color: var(--c-ink);
}

.exclusion-table td:first-child {
  width: 34%;
  font-weight: 600;
  color: var(--c-ink);
}

.change-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.change-item {
  font-size: 13px;
  color: var(--c-ink-2);
  line-height: 1.75;
  padding-left: 16px;
  position: relative;
}

.change-item::before {
  content: "";
  position: absolute;
  left: 0;
  top: 9px;
  width: 5px;
  height: 5px;
  background: var(--c-ink-2);
  border-radius: 50%;
}

/* --------------------------------------------------------------------------
   pages — 常见问题
   -------------------------------------------------------------------------- */
.faq-section .media-figure {
  margin-bottom: 16px;
}

.faq-question {
  display: block;
}

.caliber-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.caliber-item {
  font-size: 13px;
  color: var(--c-ink-2);
  line-height: 1.75;
  padding-left: 16px;
  position: relative;
}

.caliber-item::before {
  content: "";
  position: absolute;
  left: 0;
  top: 9px;
  width: 5px;
  height: 5px;
  border: 1px solid var(--c-ok);
  border-radius: 1px;
}

.caliber-item a {
  color: var(--c-ok);
}

.caliber-item a:hover {
  text-decoration: underline;
}

/* --------------------------------------------------------------------------
   pages — 合作对接
   -------------------------------------------------------------------------- */
.coop-media {
  margin-bottom: 24px;
}

.coop-media .media-figure {
  margin: 0;
}

.coop-checklist,
.coop-rhythm,
.coop-preread {
  margin-bottom: 26px;
}

.coop-checklist h2,
.coop-rhythm h2,
.coop-preread h2 {
  font-size: 18px;
  font-weight: 600;
  color: var(--c-ink);
  margin-bottom: 6px;
}

.coop-checklist .section-note,
.coop-rhythm .section-note,
.coop-preread .section-note {
  margin-bottom: 16px;
}

.checklist {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.checklist-item {
  background: var(--c-panel);
  border: 1px solid var(--c-line);
  border-radius: var(--radius);
  padding: 14px 16px;
}

.checklist-label {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  cursor: pointer;
  margin-bottom: 7px;
}

.checklist-box {
  flex: 0 0 auto;
  width: 16px;
  height: 16px;
  margin-top: 3px;
  accent-color: var(--c-ok);
}

.checklist-name {
  font-size: 14px;
  font-weight: 600;
  color: var(--c-ink);
  line-height: 1.5;
}

.checklist-desc {
  font-size: 13px;
  color: var(--c-ink-2);
  line-height: 1.7;
}

.checklist-hint {
  margin-top: 14px;
  padding: 11px 14px;
  font-size: 13px;
  color: var(--c-open);
  background: var(--c-panel);
  border: 1px solid var(--c-line);
  border-left: 3px solid var(--c-open);
  border-radius: var(--radius);
}

.preread-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.preread-item {
  background: var(--c-panel);
  border: 1px solid var(--c-line);
  border-radius: var(--radius);
  padding: 14px 16px;
}

.preread-item a {
  display: inline-block;
  font-size: 14px;
  font-weight: 600;
  color: var(--c-ok);
  margin-bottom: 6px;
}

.preread-item a:hover {
  text-decoration: underline;
}

.preread-desc {
  font-size: 13px;
  color: var(--c-ink-2);
  line-height: 1.7;
}

/* --------------------------------------------------------------------------
   pages — 404
   -------------------------------------------------------------------------- */
.error-main {
  max-width: var(--shell);
  margin: 0 auto;
  padding: 56px 20px 64px;
}

.error-panel {
  background: var(--c-panel);
  border: 1px solid var(--c-line);
  border-radius: var(--radius);
  padding: 32px;
  margin-bottom: 22px;
}

.error-code {
  font-family: var(--font-mono);
  font-size: 40px;
  font-weight: 600;
  line-height: 1.1;
  color: var(--c-ink-2);
  margin-bottom: 12px;
}

.error-panel h1 {
  font-size: 24px;
  font-weight: 600;
  color: var(--c-ink);
  margin-bottom: 10px;
}

.error-text {
  font-size: 14px;
  color: var(--c-ink-2);
  max-width: 620px;
  margin-bottom: 20px;
}

.error-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.error-home-link,
.error-more-link {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 0 20px;
  font-size: 14px;
  border-radius: var(--radius);
  border: 1px solid var(--c-line);
}

.error-home-link {
  background: var(--c-ink);
  color: #fff;
  border-color: var(--c-ink);
}

.error-more-link {
  background: var(--c-panel);
  color: var(--c-ink);
}

.error-more-link:hover {
  border-color: var(--c-ink-2);
}

.error-guide {
  background: var(--c-panel);
  border: 1px solid var(--c-line);
  border-radius: var(--radius);
  padding: 22px;
}

.error-guide h2 {
  font-size: 15px;
  font-weight: 600;
  color: var(--c-ink);
  margin-bottom: 12px;
}

.error-guide-list {
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.error-guide-list a {
  font-size: 13px;
  color: var(--c-ok);
}

.error-guide-list a:hover {
  text-decoration: underline;
}

/* --------------------------------------------------------------------------
   responsive — 1024px 与 720px 断点
   -------------------------------------------------------------------------- */
@media (max-width: 1024px) {
  .hero-layout {
    grid-template-columns: minmax(0, 1fr);
    gap: 26px;
  }

  .hero-panel {
    order: 2;
  }

  .page-layout,
  .layout-shell,
  .page-layout.sidebar-left,
  .layout-shell.sidebar-left {
    grid-template-columns: minmax(0, 1fr);
    gap: 22px;
  }

  /* 手机端：H1 与核心内容必须排在辅助侧栏之前 */
  .page-layout.sidebar-left .page-sidebar,
  .layout-shell.sidebar-left .page-sidebar {
    order: 2;
  }

  .page-layout.sidebar-left .page-content,
  .layout-shell.sidebar-left .page-main,
  .layout-shell.sidebar-left .page-content {
    order: 1;
  }

  .step-nav-list,
  .sidebar-nav-list {
    flex-direction: row;
    flex-wrap: nowrap;
    overflow-x: auto;
    gap: 6px;
    padding-bottom: 4px;
    -webkit-overflow-scrolling: touch;
  }

  .sidebar-nav-list > li,
  .step-nav-list > li {
    flex: 0 0 auto;
  }

  .sidebar-nav-list a,
  .step-nav-item a {
    min-height: 44px;
    border-left: 0;
    border-bottom: 2px solid transparent;
    border-radius: var(--radius);
    background: var(--c-panel);
    border: 1px solid var(--c-line);
    padding: 8px 12px;
  }

  .step-nav-item.is-current a {
    border-color: var(--c-ok);
    background: var(--c-panel);
  }

  .industry-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 22px;
  }

  .step-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .footer-columns {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  .header-inner {
    gap: 12px;
    padding: 0 16px;
    height: 54px;
  }

  .primary-nav {
    display: none;
  }

  .nav-toggle {
    display: flex;
  }

  .site-nav {
    display: none;
  }

  .mobile-nav.is-open {
    display: block;
  }

  .mobile-nav:not([hidden]) {
    display: block;
  }

  .header-command {
    margin-left: 0;
  }

  .inner-main {
    padding: 16px 16px 44px;
  }

  .hero-layout {
    padding: 26px 16px 22px;
  }

  .hero-lead h1 {
    font-size: 22px;
  }

  .hero-figure img {
    height: 190px;
  }

  .boundary-bar {
    flex-direction: column;
    gap: 8px;
    padding: 0 16px 22px;
  }

  .section {
    padding: 26px 16px;
  }

  .page-title {
    font-size: 22px;
  }

  .entry-row {
    grid-template-columns: minmax(0, 1fr);
    gap: 12px;
  }

  .entry-fields,
  .entries-section .entry-fields {
    grid-template-columns: minmax(0, 1fr);
    gap: 10px;
  }

  .entries-section .entry-row {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas:
      "head"
      "badge"
      "fields";
  }

  .entries-section .status-badge {
    justify-self: start;
  }

  .sector-row {
    grid-template-columns: minmax(0, 1fr);
    gap: 6px;
  }

  .step-row {
    grid-template-columns: minmax(0, 1fr);
  }

  .split-columns {
    grid-template-columns: minmax(0, 1fr);
    gap: 16px;
  }

  .prep-list {
    grid-template-columns: minmax(0, 1fr);
  }

  .checklist,
  .preread-list {
    grid-template-columns: minmax(0, 1fr);
  }

  .filter-row,
  .tag-row {
    flex-wrap: nowrap;
    overflow-x: auto;
    padding-bottom: 4px;
    -webkit-overflow-scrolling: touch;
  }

  .content-figure img,
  .content-media img,
  .media-figure img,
  .block-media img {
    height: 200px;
  }

  .industry-block {
    padding: 24px 16px;
  }

  .error-main {
    padding: 34px 16px 44px;
  }

  .error-panel {
    padding: 22px;
  }

  .error-code {
    font-size: 32px;
  }

  .footer-columns {
    grid-template-columns: minmax(0, 1fr);
    gap: 20px;
  }

  .footer-return {
    gap: 6px 16px;
  }

  /* 表格在窄屏允许横向滚动，避免压缩到不可读 */
  .data-table {
    display: block;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  .data-table thead,
  .data-table tbody,
  .data-table tr {
    display: table;
    width: 100%;
    table-layout: fixed;
  }

  .data-table th,
  .data-table td {
    padding: 9px 10px;
    white-space: normal;
    word-break: break-word;
  }
}

/* 程序验收反馈：移动端正文优先 */
@media (max-width: 768px) {
  .site-main :is(.page-content, .main-content, .content-main) {
    order: 1;
  }

  .site-main :is(aside, .sidebar) {
    order: 2;
  }
}
