/* ============================================
   FDE Analysis Page · 独立样式
   全部基于 CSS 变量 + flex/grid + SVG,无 JS
   ============================================ */

/* ---------- Hero ---------- */
.analysis-hero {
  padding: 3.5rem 0 2.5rem;
  text-align: left;
  border-bottom: 1px solid var(--border);
}
.analysis-hero .hero-eyebrow {
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .14em;
  color: var(--accent-deep);
  margin-bottom: 1rem;
}
.analysis-hero .hero-title {
  font-family: var(--font-body);
  font-size: 2.8rem;
  font-weight: 600;
  letter-spacing: -.02em;
  margin: 0 0 1rem;
  line-height: 1.15;
}
.analysis-hero .hero-lead {
  font-size: 1.1rem;
  color: var(--text-sub);
  margin: 0 0 1.5rem;
  max-width: 720px;
}
.analysis-hero .hero-meta {
  font-size: .9rem;
  color: var(--text-muted);
}
.analysis-hero .hero-link {
  color: var(--text);
  text-decoration: none;
  border-bottom: 1px solid var(--border-strong);
  padding-bottom: 1px;
}
.analysis-hero .hero-link:hover {
  border-color: var(--accent-deep);
}
.analysis-hero .hero-divider {
  margin: 0 .8rem;
  color: var(--text-faint);
}

/* ---------- Section 框架 ---------- */
.analysis-section {
  padding: 3.5rem 0 4rem;
  border-bottom: 1px solid var(--border);
}
.analysis-eyebrow {
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .14em;
  color: var(--accent-deep);
  margin-bottom: .25rem;
}
.analysis-h2 {
  font-family: var(--font-body);
  font-size: 2rem;
  font-weight: 600;
  margin: 0 0 .35rem;
  letter-spacing: -.01em;
}
.analysis-lead {
  font-size: .92rem;
  color: var(--text-sub);
  margin: 0 0 2.2rem;
  max-width: 640px;
}

/* ---------- SECTION 05: 三种团队模式对比 ---------- */
.hero-callout {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  padding: 1rem 1.2rem;
  background: linear-gradient(135deg, #fff8ee, #fdf4e6);
  border-left: 4px solid var(--accent-deep);
  border-radius: 6px;
  margin-bottom: 2rem;
}
.hero-callout-tag {
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--accent-deep);
  background: rgba(107, 83, 68, .12);
  padding: .3rem .6rem;
  border-radius: 3px;
  flex-shrink: 0;
  line-height: 1.4;
  font-family: var(--font-body);
}
.hero-callout-text {
  font-size: .92rem;
  line-height: 1.65;
  color: var(--text);
}

.team-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-bottom: 2rem;
}
.team-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 1.2rem 1rem;
  position: relative;
}
.team-card--fde {
  border-color: var(--accent-deep);
  border-width: 2px;
  box-shadow: 0 4px 16px rgba(107, 83, 68, .12);
}
.team-card-tag {
  font-size: .68rem;
  font-weight: 600;
  color: var(--text-muted);
  letter-spacing: .04em;
  margin-bottom: .5rem;
  text-transform: uppercase;
  font-family: var(--font-body);
}
.team-card--fde .team-card-tag { color: var(--accent-deep); }
.team-card-name {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: .35rem;
  font-family: var(--font-body);
}
.team-card-line {
  font-size: .8rem;
  color: var(--text-sub);
  margin-bottom: .9rem;
  line-height: 1.55;
}
.team-card-list {
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: .78rem;
  line-height: 1.65;
}
.team-card-list li {
  margin-bottom: .35rem;
  color: var(--text-sub);
}
.team-card-list .pros { font-weight: 600; color: var(--text); margin-right: .15em; }
.team-card-list .cons { font-weight: 600; color: var(--text-muted); margin-right: .15em; }
.team-card-list .fit { font-weight: 600; color: var(--accent-deep); margin-right: .15em; }

/* 5.2 多维对比表 */
.cmp-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  font-size: .82rem;
  font-family: var(--font-body);
  table-layout: fixed;
}
.cmp-table col.cmp-col-dim { width: 40%; }
.cmp-table col.cmp-col-cell { width: 20%; }
.cmp-table thead th {
  background: rgba(0,0,0,.04);
  font-weight: 600;
  padding: .55rem .8rem;
  text-align: center;
  border-bottom: 2px solid var(--border);
  font-size: .78rem;
}
.cmp-table thead th.cmp-dim { text-align: left; }
.cmp-table tbody td {
  padding: .45rem .8rem;
  border-bottom: 1px solid var(--border);
  text-align: center;
  font-feature-settings: 'tnum';
  font-size: .95rem;
}
.cmp-table tbody td:first-child {
  text-align: left;
  color: var(--text-sub);
  font-size: .82rem;
}
.cmp-table .s1 { color: #999; }
.cmp-table .s2 { color: #888; }
.cmp-table .s3 { color: var(--text-sub); }
.cmp-table .s4 { color: var(--accent-deep); font-weight: 600; }
.cmp-table .s5 { color: var(--accent-deep); font-weight: 700; }
.cmp-table .cmp-total td {
  background: rgba(0,0,0,.03);
  border-top: 2px solid var(--border);
  border-bottom: none;
  font-size: .9rem !important;
}
.cmp-fde-total {
  color: var(--accent-deep) !important;
  font-size: 1.05rem !important;
}

/* 5.3 量化指标对比 */
.kpi-compare {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}
.kpi-cmp-row {
  display: grid;
  grid-template-columns: 170px 1fr 1fr 1fr;
  align-items: center;
  gap: .6rem;
}
.kpi-cmp-label {
  font-size: .78rem;
  color: var(--text-sub);
  font-weight: 600;
  font-family: var(--font-body);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.kpi-cmp-bar {
  background: rgba(0,0,0,.04);
  border-radius: 4px;
  height: 36px;
  position: relative;
  overflow: hidden;
}
.kpi-cmp-fill {
  height: 100%;
  width: var(--w, 0);
  border-radius: 4px;
  padding: .2rem .5rem;
  color: var(--white);
  font-size: .68rem;
  font-family: var(--font-body);
  display: flex;
  align-items: center;
  justify-content: flex-start;
  white-space: nowrap;
  line-height: 1.2;
  min-width: 80px;
  transition: width .4s ease;
  overflow: hidden;
  text-overflow: ellipsis;
  gap: .3em;
}
.kpi-cmp-fill b {
  font-size: .8rem;
  font-weight: 700;
  flex-shrink: 0;
}
.kpi-cmp-row--head {
  margin-bottom: .25rem;
}
.kpi-cmp-label--head {
  font-size: .72rem;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--text-muted);
  font-weight: 600;
  font-family: var(--font-body);
}
.kpi-cmp-head {
  font-size: .72rem;
  font-weight: 600;
  font-family: var(--font-body);
  letter-spacing: .04em;
  text-transform: uppercase;
  padding: .35rem .7rem;
  border-radius: 3px;
  text-align: center;
}
.kpi-cmp-head--in { color: #6c7077; background: rgba(154, 160, 166, .12); }
.kpi-cmp-head--out { color: #555; background: rgba(108, 112, 119, .14); }
.kpi-cmp-head--fde { color: var(--accent-deep); background: rgba(214, 163, 116, .18); }

/* 5.4 场景案例 */
.scn-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}
.scn-card {
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 1rem;
  background: var(--white);
}
.scn-tag {
  font-size: .68rem;
  color: var(--accent-deep);
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  margin-bottom: .35rem;
  font-family: var(--font-body);
}
.scn-title {
  font-size: .95rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: .5rem;
  font-family: var(--font-body);
}
.scn-need {
  font-size: .78rem;
  color: var(--text-sub);
  line-height: 1.55;
  margin-bottom: .7rem;
  padding-bottom: .7rem;
  border-bottom: 1px dashed var(--border);
}
.scn-out {
  display: flex;
  flex-direction: column;
  gap: .35rem;
}
.scn-out-row {
  display: flex;
  gap: .6rem;
  font-size: .76rem;
  line-height: 1.55;
  padding: .35rem .55rem;
  border-radius: 4px;
  align-items: baseline;
}
.scn-out-row span {
  flex-shrink: 0;
  width: 60px;
  font-weight: 600;
  font-family: var(--font-body);
}
.scn-out-row b {
  color: var(--text);
  font-weight: 500;
}
.scn-out--in { background: rgba(154, 160, 166, .08); }
.scn-out--in span { color: #6c7077; }
.scn-out--out { background: rgba(108, 112, 119, .08); }
.scn-out--out span { color: #555; }
.scn-out--fde { background: rgba(214, 163, 116, .14); }
.scn-out--fde span { color: var(--accent-deep); }

/* 5.5 限定条件 */
.limit-list {
  display: flex;
  flex-direction: column;
  gap: .8rem;
}
.limit-item {
  display: flex;
  gap: .8rem;
  padding: .7rem .9rem;
  background: rgba(0,0,0,.02);
  border-left: 3px solid var(--accent-warm);
  border-radius: 4px;
  align-items: flex-start;
}
.limit-icon {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--accent-warm);
  color: var(--white);
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: .82rem;
  font-family: var(--font-body);
}
.limit-text {
  font-size: .82rem;
  color: var(--text-sub);
  line-height: 1.6;
}
.limit-text b {
  color: var(--text);
  font-weight: 600;
}

/* ---------- KPI 概览卡片 (6 个) ---------- */
.kpi-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: .8rem;
  margin-bottom: 2.5rem;
}
.kpi-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 1.1rem 1rem;
  text-align: left;
  transition: border-color .2s ease, transform .2s ease;
  display: flex;
  flex-direction: column;
  min-height: 130px;
}
.kpi-card:hover {
  border-color: var(--border-strong);
  transform: translateY(-2px);
}
.kpi-value {
  font-family: var(--font-body);
  font-size: 2rem;
  font-weight: 600;
  color: var(--text);
  line-height: 1;
  margin-bottom: .35rem;
  white-space: nowrap;
  min-height: 2.4rem;
  display: flex;
  align-items: flex-end;
}
.kpi-value--sm {
  font-size: 1.4rem;
  letter-spacing: -.01em;
}
.kpi-label {
  font-size: .8rem;
  font-weight: 600;
  color: var(--text-sub);
  margin-bottom: .25rem;
  min-height: 1.5rem;
  display: flex;
  align-items: flex-start;
}
.kpi-note {
  font-size: .68rem;
  color: var(--text-muted);
  line-height: 1.4;
  display: flex;
  align-items: flex-start;
}

/* ---------- 4 张图 grid ---------- */
.chart-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
.chart-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1.5rem;
  min-height: 380px;
  display: flex;
  flex-direction: column;
}
.chart-head {
  margin-bottom: 1.2rem;
  padding-bottom: .8rem;
  border-bottom: 1px solid var(--border);
}
.chart-num {
  display: inline-block;
  font-size: .65rem;
  font-weight: 700;
  letter-spacing: .14em;
  color: var(--accent-deep);
  margin-bottom: .4rem;
}
.chart-title {
  font-family: var(--font-body);
  font-size: 1.2rem;
  font-weight: 600;
  margin: 0 0 .25rem;
}
.chart-sub {
  font-size: .8rem;
  color: var(--text-muted);
}
.chart-body {
  flex: 1;
  display: flex;
  flex-direction: column;
}
.chart-body--center {
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 2rem;
}

/* ---------- 横向条形图(行业) ---------- */
.hbar-list {
  display: flex;
  flex-direction: column;
  /* gap: .5rem; */
  flex: 1;
  justify-content: space-between;
}
.hbar-row {
  display: grid;
  grid-template-columns: 80px 1fr 30px;
  gap: .5rem;
  align-items: center;
  font-size: .82rem;
  margin-bottom: 6px;
}
.hbar-label {
  color: var(--text-sub);
  text-align: right;
}
.hbar-track {
  height: 14px;
  background: rgba(0,0,0,.04);
  border-radius: 3px;
  overflow: hidden;
  position: relative;
}
.hbar-fill {
  height: 100%;
  width: var(--fill, 0);
  background: #5ba66b;
  border-radius: 3px;
  transition: width .4s ease;
}
.hbar-fill--alt {
  background: #e88fa8;
}
.hbar-value {
  color: var(--text);
  font-weight: 600;
  font-family: var(--font-body);
  text-align: left;
  font-feature-settings: 'tnum';
}

/* ---------- 环形图(规模) ---------- */
.donut-svg {
  width: 180px;
  height: 180px;
  flex-shrink: 0;
}
.donut-num {
  font-family: var(--font-body);
  font-size: 28px;
  font-weight: 600;
  fill: var(--text);
}
.donut-label {
  font-size: 11px;
  fill: var(--text-muted);
}
.donut-legend {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: .5rem;
  font-size: .82rem;
}
.donut-legend li {
  display: flex;
  align-items: center;
  gap: .5rem;
  color: var(--text-sub);
}
.donut-legend b {
  color: var(--text);
  font-weight: 600;
  margin: 0 .25rem;
}
.lg-dot {
  display: inline-block;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  flex-shrink: 0;
}

/* ---------- 地区分布 ---------- */
.region-list {
  display: flex;
  flex-direction: column;
  gap: .55rem;
  flex: 1;
  justify-content: center;
  padding: 1rem 0;
}
.region-row {
  display: grid;
  grid-template-columns: 60px 1fr;
  gap: .6rem;
  align-items: center;
  font-size: .88rem;
  margin-bottom: 8px;
}
.region-label {
  color: var(--text-sub);
  font-weight: 500;
}
.region-bar {
  height: 22px;
  background: rgba(0,0,0,.04);
  border-radius: 4px;
  position: relative;
  overflow: hidden;
}
.region-bar::before {
  content: "";
  position: absolute;
  inset: 0;
  width: var(--w, 0);
  background: #e88fa8;
  border-radius: 4px;
}
.region-num {
  position: absolute;
  right: 8px;
  top: 50%;
  transform: translateY(-50%);
  font-size: .82rem;
  font-weight: 600;
  color: var(--text);
  z-index: 1;
}
.region-foot {
  list-style: none;
  margin: 1rem 0 0;
  padding: .8rem 0 0;
  border-top: 1px solid var(--border);
  display: flex;
  flex-wrap: wrap;
  gap: .8rem;
  font-size: .78rem;
  color: var(--text-sub);
}
.region-foot b {
  color: var(--text);
  font-weight: 600;
  margin-left: .15rem;
}

/* ---------- 时间线 ---------- */
.timeline-wrap {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: .5rem 0;
}
.timeline-svg {
  width: 100%;
  height: auto;
  max-height: 220px;
}
.t-lbl {
  font-size: 10px;
  fill: var(--text-muted);
  font-family: var(--font-body);
}
.t-ylbl {
  font-size: 9px;
  fill: var(--text-muted);
  font-family: var(--font-body);
  font-feature-settings: tnum;
}
.t-year {
  font-size: 14px;
  font-weight: 600;
  fill: var(--text-sub);
  font-family: var(--font-body);
}
.t-note {
  font-size: 10px;
  fill: var(--text-muted);
  font-family: var(--font-body);
}

/* ---------- 响应式 ---------- */
@media (max-width: 1100px) {
  .kpi-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 800px) {
  .analysis-hero .hero-title { font-size: 2rem; }
  .analysis-h2 { font-size: 1.5rem; }
  .chart-grid { grid-template-columns: 1fr; }
  .kpi-grid { grid-template-columns: repeat(2, 1fr); }
  .chart-body--center { flex-direction: column; }
}

/* ============================================
   Section 2 · 商业结果
   ============================================ */
.chart-card--wide {
  grid-column: span 2;
}

/* ---------- 2.1 核心 KPI 速览(横向条形) ---------- */
.kpi-list {
  display: flex;
  flex-direction: column;
  gap: .35rem;
  flex: 1;
  padding: .3rem 0;
}
.kpi-row {
  display: grid;
  grid-template-columns: 24px 80px 1fr 90px 100px;
  gap: .5rem;
  align-items: center;
  font-size: .78rem;
  margin-bottom: 4px;
  padding: .15rem 0;
}
.kpi-rank {
  font-family: var(--font-body);
  font-size: .9rem;
  font-weight: 600;
  color: var(--accent-deep);
  text-align: center;
}
.kpi-name {
  color: var(--text);
  font-weight: 500;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.kpi-bar-track {
  height: 8px;
  background: rgba(0,0,0,.04);
  border-radius: 3px;
  overflow: hidden;
}
.kpi-bar-fill {
  height: 100%;
  width: var(--fill, 0);
  background: var(--accent-deep);
  border-radius: 3px;
  min-width: 2px;
  transition: width .4s ease;
}
.kpi-num {
  color: var(--text);
  font-weight: 600;
  font-feature-settings: 'tnum';
  text-align: right;
}
.kpi-desc {
  color: var(--text-muted);
  font-size: .72rem;
  text-align: left;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.kpi-note-bar {
  font-size: .7rem;
  color: var(--text-muted);
  padding-top: .6rem;
  margin-top: .6rem;
  border-top: 1px dashed var(--border);
  line-height: 1.4;
}

/* ---------- 2.2 顶级 KPI 大数字 ---------- */
.bigkpi-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: .8rem;
  flex: 1;
  padding: .5rem 0;
}
.bigkpi {
  background: linear-gradient(135deg, rgba(191,171,144,.08), rgba(200,154,110,.04));
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 1.1rem .9rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
  transition: transform .2s ease, border-color .2s ease;
}
.bigkpi:hover {
  transform: translateY(-2px);
  border-color: var(--accent);
}
.bigkpi-num {
  font-family: var(--font-body);
  font-size: 2.2rem;
  font-weight: 600;
  color: var(--text);
  line-height: 1;
  margin-bottom: .35rem;
}
.bigkpi-unit {
  font-size: 1.1rem;
  color: var(--accent-deep);
  margin-left: .1rem;
}
.bigkpi-label {
  font-size: .8rem;
  font-weight: 600;
  color: var(--text-sub);
  margin-bottom: .15rem;
}
.bigkpi-sub {
  font-size: .68rem;
  color: var(--text-muted);
}

/* ---------- 2.3 行业 × 模式热度矩阵 ---------- */
.heatmap-wrap {
  display: flex;
  flex-direction: column;
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: 6px;
  overflow: hidden;
  font-size: .78rem;
}
.heatmap-row {
  display: grid;
  grid-template-columns: 100px repeat(5, 1fr);
  background: var(--white);
}
.heatmap-head, .heatmap-foot {
  background: rgba(0,0,0,.02);
  font-weight: 600;
}
.heatmap-cell {
  padding: .55rem .6rem;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 32px;
  border-right: 1px solid var(--border);
}
.heatmap-row .heatmap-cell:last-child {
  border-right: none;
}
.heatmap-label {
  justify-content: flex-start;
  color: var(--text);
  font-weight: 500;
  font-size: .8rem;
}
.heatmap-col {
  color: var(--text-sub);
  font-size: .75rem;
  font-weight: 600;
  background: rgba(0,0,0,.02);
}
.heatmap-v {
  background: rgba(107, 83, 68, calc(var(--intensity, 0) * 0.65));
  color: var(--text);
  font-weight: 600;
  font-feature-settings: 'tnum';
  transition: background .3s ease;
}
.heatmap-v:hover {
  background: rgba(107, 83, 68, calc(var(--intensity, 0) * 0.65 + 0.1));
}
.heatmap-v--total {
  background: rgba(0,0,0,.05);
}
.heatmap-v--hot {
  /* (热力高亮边框已移除,用户反馈无用处) */
}
.heatmap-v--grand {
  background: var(--accent-deep);
  color: var(--white);
  font-weight: 700;
}
.heatmap-legend {
  display: flex;
  align-items: center;
  gap: .35rem;
  margin-top: .8rem;
  font-size: .72rem;
  color: var(--text-muted);
}
.heatmap-leg-label {
  margin-right: .3rem;
}
.heatmap-leg-cell {
  padding: .2rem .55rem;
  background: rgba(107, 83, 68, calc(var(--intensity) * 0.65));
  color: var(--text);
  border-radius: 3px;
  font-size: .68rem;
  font-weight: 600;
  font-feature-settings: 'tnum';
}

/* ---------- 2.4 行业 KPI 排名 ---------- */
.rank-list {
  display: flex;
  flex-direction: column;
  gap: .4rem;
  flex: 1;
  padding: .3rem 0;
  overflow-y: auto;
}
.rank-row {
  display: grid;
  grid-template-columns: 22px 80px 1fr 60px;
  gap: .5rem;
  align-items: center;
  font-size: .76rem;
  margin-bottom: 4px;
}
.rank-pos {
  font-family: var(--font-body);
  font-size: .8rem;
  font-weight: 600;
  color: var(--accent-deep);
  text-align: center;
}
.rank-name {
  color: var(--text);
  font-weight: 500;
  white-space: nowrap;
}
.rank-bar-track {
  height: 8px;
  background: rgba(0,0,0,.04);
  border-radius: 3px;
  overflow: hidden;
}
.rank-bar-fill {
  height: 100%;
  width: var(--fill, 0);
  background: var(--accent-deep);
  border-radius: 3px;
  min-width: 1px;
}
.rank-val {
  color: var(--text);
  font-weight: 600;
  text-align: right;
  font-feature-settings: 'tnum';
  font-size: .72rem;
}
.rank-note {
  font-size: .68rem;
  color: var(--text-muted);
  padding-top: .5rem;
  margin-top: .5rem;
  border-top: 1px dashed var(--border);
  line-height: 1.4;
}

/* ---------- 响应式补充 ---------- */
@media (max-width: 1100px) {
  .chart-card--wide { grid-column: span 1; }
  .bigkpi-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 800px) {
  .kpi-row { grid-template-columns: 20px 60px 1fr 70px 80px; font-size: .7rem; }
  .bigkpi-grid { grid-template-columns: 1fr 1fr; }
  .bigkpi-num { font-size: 1.7rem; }
}

/* ============================================
   Section 3 · 技术架构
   ============================================ */

/* ---------- 3.2 五步闭环进度条 ---------- */
.stage-list {
  display: flex;
  flex-direction: column;
  gap: .55rem;
  flex: 1;
  padding: .5rem 0;
}
.stage-row {
  display: grid;
  grid-template-columns: 24px 80px 1fr 50px 50px;
  gap: .5rem;
  align-items: center;
  font-size: .82rem;
  margin-bottom: 4px;
}
.stage-num {
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  color: var(--accent-deep);
  text-align: center;
}
.stage-name {
  color: var(--text);
  font-weight: 500;
  font-size: .85rem;
}
.stage-track {
  height: 22px;
  background: rgba(0,0,0,.04);
  border-radius: 4px;
  overflow: hidden;
  position: relative;
}
.stage-fill {
  height: 100%;
  width: var(--w, 0);
  background: #d6a374;
  border-radius: 4px;
  min-width: 2px;
  transition: width .4s ease;
  position: relative;
}
.stage-fill::after {
  content: "";
  position: absolute;
  right: 0;
  top: 0;
  bottom: 0;
  width: 1px;
  background: rgba(255,255,255,.3);
}
.stage-pct {
  color: var(--text-muted);
  font-size: .72rem;
  text-align: right;
  font-feature-settings: 'tnum';
}
.stage-pct2 {
  color: var(--text);
  font-weight: 600;
  text-align: right;
  font-feature-settings: 'tnum';
}
.stage-note {
  font-size: .72rem;
  color: var(--text-muted);
  padding-top: .6rem;
  margin-top: .6rem;
  border-top: 1px dashed var(--border);
  line-height: 1.5;
}

/* ---------- 3.4 行业对比表 ---------- */
.table-wrap {
  flex: 1;
  overflow-x: auto;
  border: 1px solid var(--border);
  border-radius: 6px;
  background: var(--white);
}
.ov-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  font-size: .82rem;
}
.ov-table th,
.ov-table td {
  padding: .55rem .8rem;
  text-align: left;
  border-bottom: 1px solid var(--border);
}
.ov-table thead th {
  background: var(--white);
  color: var(--text-sub);
  font-weight: 600;
  font-size: .72rem;
  letter-spacing: .04em;
  text-transform: uppercase;
  position: sticky;
  top: 0;
  z-index: 3;
  box-shadow: inset 0 -1px 0 var(--border);
}
.ov-table tbody tr:hover {
  background: rgba(191, 171, 144, .06);
}
.ov-table tbody tr:last-child td {
  border-bottom: none;
}
.ov-table tfoot tr {
  background: rgba(191, 171, 144, .08);
  font-weight: 600;
}
.ov-table tfoot td {
  border-top: 2px solid var(--accent-warm);
  border-bottom: none;
}
.t-num {
  text-align: right;
  font-feature-settings: 'tnum';
  font-weight: 600;
  color: var(--text);
}
.t-pct {
  text-align: right;
  font-feature-settings: 'tnum';
  color: var(--text-muted);
  font-size: .78rem;
}
.table-note {
  font-size: .7rem;
  color: var(--text-muted);
  padding-top: .6rem;
  margin-top: .5rem;
  line-height: 1.5;
}

/* ---------- 响应式补充 ---------- */
@media (max-width: 800px) {
  .stage-row { grid-template-columns: 20px 60px 1fr 40px 40px; font-size: .72rem; }
  .ov-table { font-size: .72rem; }
  .ov-table th, .ov-table td { padding: .4rem .5rem; }
}

/* ============================================
   Section 4 · 增强可视化
   ============================================ */

/* ---------- 4.1 趋势线 ---------- */
.trend-wrap {
  flex: 1;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: .5rem;
}
.trend-svg {
  width: 100%;
  height: auto;
  display: block;
}
.trend-axis {
  font-size: 10px;
  fill: var(--text-muted);
  font-family: var(--font-body);
}
.trend-legend {
  display: flex;
  gap: 1.2rem;
  margin-top: .8rem;
  font-size: .75rem;
  color: var(--text-sub);
  flex-wrap: wrap;
}
.trend-leg-item {
  display: flex;
  align-items: center;
  gap: .4rem;
}
.trend-leg-line {
  display: inline-block;
  width: 18px;
  height: 2px;
  background: var(--c, #999);
  border-radius: 1px;
}

/* ---------- 4.3 详表 ---------- */
.table-filters {
  display: flex;
  gap: .8rem;
  align-items: center;
  margin-bottom: 1rem;
  flex-wrap: wrap;
  font-size: .8rem;
}
.filter-lbl {
  display: flex;
  align-items: center;
  gap: .35rem;
  color: var(--text-sub);
  font-weight: 500;
}
.filter-sel {
  padding: .35rem .6rem;
  border: 1px solid var(--border);
  border-radius: 4px;
  background: var(--white);
  color: var(--text);
  font-family: var(--font-body);
  font-size: .78rem;
  cursor: pointer;
  transition: border-color .2s ease;
}
.filter-sel:hover, .filter-sel:focus {
  border-color: var(--accent);
  outline: none;
}
.filter-count {
  margin-left: auto;
  color: var(--text-muted);
  font-size: .75rem;
  font-weight: 500;
}
.table-wrap--scroll {
  max-height: 520px;
  overflow: auto;
}
.case-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  font-size: .78rem;
  table-layout: fixed;
}
.case-table col.case-col-num { width: 36px; }
.case-table col.case-col-name { width: 220px; }
.case-table col.case-col-cat { width: 60px; }
.case-table col.case-col-region { width: 52px; }
.case-table col.case-col-scale { width: 95px; }
.case-table col.case-col-time { width: 70px; }
.case-table col.case-col-kpi { width: 150px; }
.case-table col.case-col-go { width: 60px; }
.case-table th,
.case-table td {
  padding: .5rem .7rem;
  text-align: left;
  border-bottom: 1px solid var(--border);
}
.case-table thead th {
  background: #fdfcf9;
  color: var(--text-sub);
  font-weight: 600;
  font-size: .7rem;
  letter-spacing: .04em;
  text-transform: uppercase;
  /* 在 wrap 内 sticky,这样 wrap.scrollTop>0 时,th 的 rect.top 总是 wrapTop */
  position: sticky;
  top: 0;
  box-shadow: inset 0 -1px 0 var(--border);
}
.case-table thead {
  position: sticky;
  top: 0;
}
.thead-clone {
  /* 克隆的悬浮 thead,由 JS 控制位置 */
  font-size: .7rem;
  letter-spacing: .04em;
  text-transform: uppercase;
  background: #fdfcf9;
  box-shadow: 0 1px 0 var(--border);
}
.thead-clone th {
  background: #fdfcf9;
  color: var(--text-sub);
  font-weight: 600;
  padding: .5rem .7rem;
  text-align: left;
  border-bottom: 1px solid var(--border);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.case-table th.t-sort {
  cursor: pointer;
  user-select: none;
}
.case-table th.t-sort:hover {
  background: rgba(191, 171, 144, .1);
}
.case-table th.t-sort::after {
  content: ' ↕';
  color: var(--text-faint);
  font-size: .65rem;
  margin-left: .25rem;
}
.case-table tbody tr {
  transition: background .15s ease;
}
.case-table tbody tr:hover {
  background: rgba(191, 171, 144, .06);
}
.case-link {
  color: var(--text);
  text-decoration: none;
  font-weight: 500;
  border-bottom: 1px dotted var(--border-strong);
  padding-bottom: 1px;
}
.case-link:hover {
  color: var(--accent-deep);
  border-color: var(--accent-deep);
}
.case-go {
  color: var(--accent-deep);
  text-decoration: none;
  font-size: .72rem;
  font-weight: 500;
}
.case-go:hover {
  text-decoration: underline;
}

/* ---------- 响应式补充 ---------- */
@media (max-width: 800px) {
  .case-table { font-size: .7rem; }
  .case-table th, .case-table td { padding: .35rem .4rem; }
}

/* ============================================
   (hero-lead 沿用 main.css 默认,本文件不再扩展)
   ============================================ */
