/* 开公司的具体流程 · 教学页视觉层 —— 对齐 STYLE_GUIDE.md（柔光植物工作台） */

/* 基础 */
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg, #f6f5f1);
  color: var(--ink, #24231f);
  font-family: var(--font-body, 'Inter', 'PingFang SC', 'Microsoft YaHei', system-ui, sans-serif);
  line-height: 1.7;
}
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: none; padding: 0; }
a { color: inherit; }

:focus-visible {
  outline: 2px solid var(--accent, #5f7c61);
  outline-offset: 2px;
  border-radius: var(--radius-small, 7px);
}

/* 页面外壳：让页脚沉底、结构纵向堆叠 */
.shell {
  position: relative;
  z-index: 1;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* 顶部品牌横条（规范 4.2） */
.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 72px;
  padding: 14px clamp(20px, 5vw, 72px);
  border-bottom: 1px solid var(--line, #e7e5dc);
}

/* 品牌标记：标准 36×36，防止 SVG 默认撑成 300×150 大图标 */
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; }
.brand__mark {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border-radius: var(--radius-control, 10px);
  box-shadow: var(--shadow-sm, 0 1px 2px rgba(36, 35, 31, 0.05));
  flex: none;
}
.brand__mark svg { width: 36px; height: 36px; display: block; }
.brand__word { display: flex; flex-direction: column; line-height: 1.15; }
.brand__word strong {
  font-family: var(--font-display, 'Space Grotesk', 'PingFang SC', 'Microsoft YaHei', sans-serif);
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.02em;
}
.brand__word small {
  margin-top: 4px;
  font-family: var(--font-mono, 'IBM Plex Mono', Consolas, monospace);
  font-size: 9px;
  letter-spacing: 0.14em;
  color: var(--muted, #6b685d);
}

.main {
  width: min(1120px, calc(100% - 40px));
  margin-inline: auto;
  padding-top: 40px;
  padding-bottom: 72px;
}

/* Hero */
.hero { margin-bottom: 20px; }
.eyebrow {
  display: inline-flex;
  align-items: baseline;
  gap: 10px;
  margin: 0 0 14px;
  color: var(--muted, #6b685d);
  font-family: var(--font-mono, 'IBM Plex Mono', Consolas, monospace);
  font-size: 12px;
  letter-spacing: 0.1em;
}
.eyebrow__rule {
  width: 22px;
  height: 2px;
  background: var(--accent, #5f7c61);
  align-self: center;
}
.hero__title {
  margin: 0 0 12px;
  font-family: var(--font-display, 'Space Grotesk', 'PingFang SC', 'Microsoft YaHei', sans-serif);
  font-size: clamp(25px, 5vw, 40px);
  font-weight: 700;
  color: var(--accent-deep, #42584a);
  line-height: 1.2;
}
.hero__lead {
  max-width: 720px;
  margin: 0;
  color: var(--ink-2, #56544c);
  font-size: 15px;
  line-height: 1.8;
}

/* Toolbox */
.toolbox { margin-top: 8px; }

/* 进度条 */
.progress-band {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 4px 0 24px;
  padding: 14px 18px;
  border: 1px solid var(--line, #e7e5dc);
  border-radius: var(--radius-panel, 18px);
  background: var(--surface, #fff);
  box-shadow: var(--shadow-sm, 0 1px 2px rgba(36, 35, 31, 0.05));
}
.progress-band__label {
  color: var(--ink-2, #56544c);
  font-size: 13px;
  font-weight: 500;
  white-space: nowrap;
}
.progress-band__track {
  flex: 1;
  height: 8px;
  border-radius: 999px;
  background: var(--surface-2, #eeede7);
  overflow: hidden;
}
.progress-band__fill {
  display: block;
  height: 100%;
  width: 0%;
  border-radius: 999px;
  background: var(--accent, #5f7c61);
  transition: width 220ms ease;
}
.progress-band__value {
  color: var(--accent-deep, #42584a);
  font-family: var(--font-mono, 'IBM Plex Mono', Consolas, monospace);
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
}

/* 布局：左侧章节目录 + 右侧内容 */
.guide-layout {
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  gap: 24px;
  align-items: start;
}

/* 章节目录 */
.chapters {
  position: sticky;
  top: 92px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 14px;
  border: 1px solid var(--line, #e7e5dc);
  border-radius: var(--radius-panel, 18px);
  background: var(--surface, #fff);
  box-shadow: var(--shadow-sm, 0 1px 2px rgba(36, 35, 31, 0.05));
}
.chapters__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  padding: 2px 6px 6px;
}
.chapters__title {
  color: var(--ink, #24231f);
  font-size: 13px;
  font-weight: 600;
}
.chapters__count {
  color: var(--muted, #6b685d);
  font-family: var(--font-mono, 'IBM Plex Mono', Consolas, monospace);
  font-size: 11px;
}
.chapter-nav { display: grid; gap: 4px; }
.chapter-btn {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  padding: 10px 12px;
  border: 1px solid transparent;
  border-radius: var(--radius-control, 10px);
  background: transparent;
  color: var(--ink-2, #56544c);
  text-align: left;
  cursor: pointer;
  transition: background 160ms ease, border-color 160ms ease, color 160ms ease;
}
.chapter-btn:hover { background: var(--surface-2, #eeede7); }
.chapter-btn.is-active {
  border-color: var(--accent, #5f7c61);
  background: var(--accent-soft, #e6ece1);
  color: var(--accent-deep, #42584a);
}
.chapter-btn__num {
  flex: none;
  color: var(--muted, #6b685d);
  font-family: var(--font-mono, 'IBM Plex Mono', Consolas, monospace);
  font-size: 11px;
}
.chapter-btn.is-active .chapter-btn__num { color: var(--accent, #5f7c61); }
.chapter-btn__label { flex: 1; font-size: 13px; line-height: 1.4; }
.chapter-btn__done {
  flex: none;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 1px solid var(--line-strong, #d9d6ca);
  display: grid;
  place-items: center;
  font-size: 11px;
}
.chapter-btn.is-done .chapter-btn__done {
  background: var(--accent, #5f7c61);
  border-color: var(--accent, #5f7c61);
  color: #fff;
}
.chapters__foot {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  padding-top: 8px;
  border-top: 1px solid var(--line, #e7e5dc);
}

/* 右侧内容 */
.guide-content { min-width: 0; }

/* 章节头 */
.chapter-head { margin-bottom: 20px; }
.chapter-head__num {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--muted, #6b685d);
  font-family: var(--font-mono, 'IBM Plex Mono', Consolas, monospace);
  font-size: 12px;
  letter-spacing: 0.08em;
}
.chapter-head__num::before {
  content: '';
  width: 18px;
  height: 2px;
  background: var(--accent, #5f7c61);
}
.chapter-head__title {
  margin: 8px 0 6px;
  font-family: var(--font-display, 'Space Grotesk', 'PingFang SC', 'Microsoft YaHei', sans-serif);
  font-size: 24px;
  font-weight: 700;
  color: var(--accent-deep, #42584a);
  line-height: 1.25;
}
.chapter-head__english {
  color: var(--muted, #6b685d);
  font-family: var(--font-mono, 'IBM Plex Mono', Consolas, monospace);
  font-size: 11px;
  letter-spacing: 0.12em;
}
.chapter-head__intro {
  margin: 12px 0 0;
  color: var(--ink-2, #56544c);
  font-size: 15px;
  line-height: 1.8;
}
.chapter-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}
.chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 10px;
  border: 1px solid var(--line, #e7e5dc);
  border-radius: 999px;
  color: var(--ink-2, #56544c);
  background: var(--surface, #fff);
  font-size: 12px;
  line-height: 1;
}
.chip strong { color: var(--accent-deep, #42584a); font-weight: 600; }

/* 步骤卡片 */
.step-list { display: grid; gap: 14px; }
.step-card {
  border: 1px solid var(--line, #e7e5dc);
  border-radius: var(--radius-panel, 18px);
  background: var(--surface, #fff);
  box-shadow: var(--shadow-sm, 0 1px 2px rgba(36, 35, 31, 0.05));
  overflow: hidden;
}
.step-card__head {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
}
.step-check {
  flex: none;
  width: 26px;
  height: 26px;
  border: 2px solid var(--line-strong, #d9d6ca);
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
  display: grid;
  place-items: center;
  color: transparent;
  transition: background 160ms ease, border-color 160ms ease;
}
.step-card.is-done .step-check {
  background: var(--accent, #5f7c61);
  border-color: var(--accent, #5f7c61);
  color: #fff;
}
.step-check svg { width: 15px; height: 15px; }
.step-card__title {
  flex: 1;
  margin: 0;
  font-size: 15px;
  font-weight: 600;
  color: var(--ink, #24231f);
  line-height: 1.45;
}
.step-card.is-done .step-card__title { color: var(--muted, #6b685d); text-decoration: line-through; text-decoration-thickness: 1px; }
.step-card__seq {
  flex: none;
  color: var(--muted, #6b685d);
  font-family: var(--font-mono, 'IBM Plex Mono', Consolas, monospace);
  font-size: 11px;
}
.step-card__body {
  padding: 0 16px 16px 54px;
  display: grid;
  gap: 10px;
}
.step-what { margin: 0; color: var(--ink-2, #56544c); font-size: 14px; line-height: 1.75; }
.step-fields {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.step-field {
  padding: 10px 12px;
  border: 1px solid var(--line, #e7e5dc);
  border-radius: var(--radius-control, 10px);
  background: var(--surface-2, #eeede7);
}
.step-field__label {
  display: block;
  margin-bottom: 3px;
  color: var(--muted, #6b685d);
  font-size: 11px;
  letter-spacing: 0.06em;
}
.step-field__value { color: var(--ink, #24231f); font-size: 13px; line-height: 1.5; }
.step-materials { grid-column: 1 / -1; }
.step-materials__label { color: var(--muted, #6b685d); font-size: 11px; letter-spacing: 0.06em; margin-bottom: 6px; display: block; }
.material-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.material-chip {
  padding: 5px 9px;
  border: 1px solid var(--line, #e7e5dc);
  border-radius: 999px;
  background: var(--surface, #fff);
  color: var(--ink-2, #56544c);
  font-size: 12px;
  line-height: 1;
}

/* 章节翻页 */
.chapter-pager {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-top: 22px;
}
.chapter-pager .btn:disabled { opacity: 0.45; cursor: not-allowed; }

/* 总览（第一个导航项） */
.overview { display: grid; gap: 20px; }
.kpi-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
.kpi {
  padding: 16px 18px;
  border: 1px solid var(--line, #e7e5dc);
  border-radius: var(--radius-panel, 18px);
  background: var(--surface, #fff);
  box-shadow: var(--shadow-sm, 0 1px 2px rgba(36, 35, 31, 0.05));
}
.kpi__value {
  font-family: var(--font-display, 'Space Grotesk', 'PingFang SC', 'Microsoft YaHei', sans-serif);
  font-size: 28px;
  font-weight: 700;
  color: var(--accent-deep, #42584a);
  line-height: 1.1;
}
.kpi__label { margin-top: 6px; color: var(--muted, #6b685d); font-size: 12px; }
.overview .btn--primary { align-self: flex-start; }
.btn--primary { background: var(--accent, #5f7c61); color: #fff; }
.btn--primary:hover { background: var(--accent-deep, #42584a); }

/* 面板 */
.panel {
  border: 1px solid var(--line, #e7e5dc);
  border-radius: var(--radius-panel, 18px);
  background: var(--surface, #fff);
  box-shadow: var(--shadow-sm, 0 1px 2px rgba(36, 35, 31, 0.05));
  overflow: hidden;
}
.panel__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 16px;
  border-bottom: 1px solid var(--line, #e7e5dc);
  background: var(--surface-2, #eeede7);
}
.panel__head h3 { margin: 0; font-size: 14px; font-weight: 600; color: var(--ink, #24231f); }
.panel__code { color: var(--muted, #6b685d); font-family: var(--font-mono, 'IBM Plex Mono', Consolas, monospace); font-size: 10px; letter-spacing: 0.1em; }
.panel__body { padding: 16px; }

/* 表格 */
.table-wrap { overflow-x: auto; }
.table { width: 100%; border-collapse: collapse; font-size: 13px; }
.table th, .table td { padding: 10px 12px; text-align: left; border-bottom: 1px solid var(--line, #e7e5dc); vertical-align: top; }
.table th { color: var(--muted, #6b685d); font-weight: 500; font-size: 12px; white-space: nowrap; }
.table td { color: var(--ink, #24231f); line-height: 1.5; }
.table .num { text-align: right; font-family: var(--font-mono, 'IBM Plex Mono', Consolas, monospace); }
.table tbody tr:last-child td { border-bottom: none; }
.td-strong { font-weight: 600; color: var(--ink, #24231f); }

/* 完整清单勾选 */
.checklist { display: grid; gap: 6px; }
.check-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 12px;
  border-radius: var(--radius-control, 10px);
  cursor: pointer;
  transition: background 140ms ease;
}
.check-row:hover { background: var(--surface-2, #eeede7); }
.check-row input { width: 17px; height: 17px; accent-color: var(--accent, #5f7c61); }
.check-row__label { flex: 1; font-size: 13px; color: var(--ink-2, #56544c); line-height: 1.4; }
.check-row.is-done .check-row__label { color: var(--muted, #6b685d); text-decoration: line-through; }
.check-row__tag { color: var(--muted, #6b685d); font-family: var(--font-mono, 'IBM Plex Mono', Consolas, monospace); font-size: 11px; }

/* 按钮 */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 40px;
  padding: 9px 16px;
  border: 1px solid var(--accent, #5f7c61);
  border-radius: var(--radius-control, 10px);
  background: var(--surface, #fff);
  color: var(--accent-deep, #42584a);
  font-size: 13px;
  font-weight: 500;
  line-height: 1;
  cursor: pointer;
  transition: background 160ms ease, border-color 160ms ease, color 160ms ease;
}
.btn:hover { background: var(--accent-soft, #e6ece1); }
.btn--ghost { border-color: var(--line-strong, #d9d6ca); background: transparent; color: var(--ink-2, #56544c); }
.btn--ghost:hover { border-color: var(--accent, #5f7c61); color: var(--accent-deep, #42584a); background: var(--accent-soft, #e6ece1); }
.btn--danger { border-color: var(--danger, #b0594b); color: var(--danger, #b0594b); }
.btn--danger:hover { background: rgba(176, 89, 75, 0.1); }
.btn .btn__note { font-size: 11px; color: inherit; opacity: 0.7; }

/* 折叠总览面板按钮 */
.summary-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 4px;
}

/* 页脚 */
.footer {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  width: min(1120px, calc(100% - 40px));
  margin-inline: auto;
  padding: 18px 0 40px;
  border-top: 1px solid var(--line, #e7e5dc);
  color: var(--muted, #6b685d);
  font-size: 12px;
}
.footer span:last-child { text-align: right; }

/* 响应式 */
@media (max-width: 900px) {
  .guide-layout { grid-template-columns: 1fr; }
  .chapters { position: static; }
  .chapter-nav { grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); }
  .kpi-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 720px) {
  .step-fields { grid-template-columns: 1fr; }
  .step-card__body { padding-left: 16px; }
  .main { width: min(1120px, calc(100% - 32px)); }
}
@media (max-width: 560px) {
  .kpi-grid { grid-template-columns: 1fr; }
  .chapter-nav { grid-template-columns: 1fr; }
  .progress-band { flex-wrap: wrap; }
  .footer { flex-direction: column; }
  .footer span:last-child { text-align: left; }
}

/* ---------------- 章节搜索 ---------------- */
.chapter-search {
  position: relative;
  display: flex;
  align-items: center;
  margin: 10px 12px 12px;
}
.chapter-search svg {
  position: absolute;
  left: 12px;
  width: 15px;
  height: 15px;
  color: var(--muted, #6b685d);
  pointer-events: none;
}
.chapter-search input {
  width: 100%;
  height: 38px;
  padding: 0 12px 0 34px;
  border: 1px solid var(--line-strong, #d9d6ca);
  border-radius: var(--radius-control, 10px);
  background: var(--surface, #ffffff);
  color: var(--ink, #24231f);
  font-size: 13px;
}
.chapter-search input:focus {
  outline: none;
  border-color: var(--accent, #5f7c61);
  box-shadow: 0 0 0 3px var(--accent-soft, #e6ece1);
}
.chapter-search input::-webkit-search-cancel-button { -webkit-appearance: searchfield-cancel-button; }

/* 搜索结果 */
.search-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}
.search-head__title { margin: 0; font-size: 16px; font-weight: 600; color: var(--accent-deep, #42584a); }
.search-head__count { color: var(--muted, #6b685d); font-family: var(--font-mono, 'IBM Plex Mono', Consolas, monospace); font-size: 12px; }
.search-list { display: grid; gap: 8px; }
.search-hit {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  border: 1px solid var(--line, #e7e5dc);
  border-radius: var(--radius-control, 10px);
  background: var(--surface, #ffffff);
}
.search-hit__tag {
  flex: none;
  min-width: 30px;
  text-align: center;
  padding: 3px 6px;
  border-radius: var(--radius-small, 7px);
  background: var(--accent-soft, #e6ece1);
  color: var(--accent-deep, #42584a);
  font-family: var(--font-mono, 'IBM Plex Mono', Consolas, monospace);
  font-size: 11px;
  font-weight: 500;
}
.search-hit__main { flex: 1; min-width: 0; display: grid; gap: 2px; }
.search-hit__title { font-size: 13px; color: var(--ink, #24231f); }
.search-hit__what {
  color: var(--muted, #6b685d);
  font-size: 12px;
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.search-hit__go { flex: none; }
.empty-tip { margin: 0; color: var(--muted, #6b685d); font-size: 13px; }
mark {
  background: var(--accent-soft, #e6ece1);
  color: var(--accent-deep, #42584a);
  border-radius: 3px;
  padding: 0 1px;
}

/* ---------------- 坑点面板 ---------------- */
.pitfall-panel, .step-card { scroll-margin-top: 90px; }
.pitfall-panel { margin-top: 18px; }
.pitfall-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.pitfall {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 10px 12px;
  border: 1px solid var(--line, #e7e5dc);
  border-left: 3px solid var(--warning, #a47735);
  border-radius: var(--radius-control, 10px);
  background: var(--surface, #ffffff);
}
.pitfall__body { flex: 1; min-width: 0; display: grid; gap: 3px; }
.pitfall__title { font-size: 13px; color: var(--ink, #24231f); }
.pitfall__desc { color: var(--ink-2, #56544c); font-size: 12px; line-height: 1.6; }
.pitfall__link {
  flex: none;
  align-self: center;
  color: var(--accent, #5f7c61);
  font-size: 12px;
  text-decoration: none;
  border-bottom: 1px dashed var(--accent, #5f7c61);
  white-space: nowrap;
}
.pitfall__link:hover { color: var(--accent-deep, #42584a); border-bottom-color: var(--accent-deep, #42584a); }
.pitfall-lead { margin: 0 0 10px; color: var(--ink-2, #56544c); font-size: 13px; font-weight: 500; }
.pitfall-lead--mt { margin-top: 16px; }
.pitfall-note { margin: 12px 0 0; color: var(--muted, #6b685d); font-size: 12px; line-height: 1.6; }
.pitfall-note code {
  font-family: var(--font-mono, 'IBM Plex Mono', Consolas, monospace);
  font-size: 11px;
  background: var(--surface-2, #eeede7);
  padding: 1px 5px;
  border-radius: var(--radius-small, 7px);
}
.pitfall-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.pitfall-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 12px;
  border: 1px solid var(--line, #e7e5dc);
  border-radius: 999px;
  background: var(--surface, #ffffff);
  cursor: pointer;
  transition: border-color 0.18s ease, background 0.18s ease;
}
.pitfall-chip strong { font-size: 12px; font-weight: 500; color: var(--ink, #24231f); }
.pitfall-chip span { color: var(--muted, #6b685d); font-size: 11px; }
.pitfall-chip:hover { border-color: var(--accent, #5f7c61); background: var(--accent-soft, #e6ece1); }

/* ---------------- 步骤折叠 ---------------- */
.step-fold {
  flex: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  margin-left: auto;
  border-radius: var(--radius-small, 7px);
  color: var(--muted, #6b685d);
  transition: background 0.18s ease, color 0.18s ease;
}
.step-fold:hover { background: var(--surface-2, #eeede7); color: var(--ink, #24231f); }
.step-fold svg { width: 16px; height: 16px; transition: transform 0.2s ease; }
.step-card.is-collapsed .step-fold svg { transform: rotate(-90deg); }
.step-card.is-collapsed .step-card__body { display: none; }
.step-card.is-collapsed .step-card__head { border-bottom: none; }
.step-card.is-flash { animation: step-flash 1.6s ease; }
@keyframes step-flash {
  0%, 60% { background: var(--accent-soft, #e6ece1); border-color: var(--accent, #5f7c61); }
  100% { background: var(--surface, #ffffff); }
}

/* ---------------- 章头操作 ---------------- */
.chip--action {
  cursor: pointer;
  font-size: 12px;
  color: var(--ink-2, #56544c);
  background: var(--surface, #ffffff);
  transition: border-color 0.18s ease, color 0.18s ease;
}
.chip--action:hover { border-color: var(--accent, #5f7c61); color: var(--accent-deep, #42584a); }
.doc-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 10px;
  border-radius: 999px;
  color: var(--accent, #5f7c61);
  font-size: 12px;
  text-decoration: none;
  border-bottom: 1px dashed var(--accent, #5f7c61);
}
.doc-link:hover { color: var(--accent-deep, #42584a); border-bottom-color: var(--accent-deep, #42584a); }

/* 完成日期 */
.check-row__date {
  flex: none;
  color: var(--success, #4f9d6b);
  font-family: var(--font-mono, 'IBM Plex Mono', Consolas, monospace);
  font-size: 11px;
}

/* 清单分组标题与表注 */
.checklist__group {
  margin: 12px 0 8px;
  color: var(--accent-deep, #42584a);
  font-size: 13px;
  font-weight: 600;
}
.note-muted {
  margin: 12px 0 0;
  color: var(--muted, #6b685d);
  font-size: 12px;
}

/* 打印（导出清单） */
@media print {
  body::after { display: none !important; }
  .topbar, .chapters, .chapter-pager, .summary-actions, .step-check,
  .chapter-search, .step-fold, .chip--action, .doc-link, .pitfall__link { display: none !important; }
  .step-card { break-inside: avoid; box-shadow: none; }
  .step-card.is-collapsed .step-card__body { display: block; }
  .pitfall { break-inside: avoid; }
  .main, .footer { width: 100%; }
  .guide-layout { grid-template-columns: 1fr; }
  .step-card.is-done .step-card__title { text-decoration: none; color: var(--ink); }
  .chapter-head__title { font-size: 20px; }
}
