/* ═══════════════════════════════════════════════════════════════
   3.2.4「产业振兴」拟新增视觉（用户 approved 2026-08-15）
   纪律：仅 ind-*/eb 前缀类，全部复用 theme.css 既有变量，零新色；
        三段占比条天然 0~100 尺度，无需 barPos 映射；文案禁 emoji。
   ═══════════════════════════════════════════════════════════════ */

/* —— 产业结构概览卡（政务页企业管理段）—— */
.ind-struct-card {
  background: var(--bg-card);
  border-radius: var(--radius-xs);
  padding: 10px 14px;
  margin: 4px 0 8px;
  box-shadow: var(--shadow-xs);
}
/* 三段占比条：整体轨道 */
.ind-struct-bar {
  display: flex;
  width: 100%;
  height: 10px;
  border-radius: 5px;
  overflow: hidden;
  background: var(--separator-light);
  margin: 2px 0 8px;
}
/* 段：宽度由 JS 映射占比（0~100% → 条内），颜色复用既有语义变量 */
.ind-struct-seg { height: 100%; transition: width .45s ease; min-width: 0; }
.ind-struct-seg.s1 { background: var(--green); }
.ind-struct-seg.s2 { background: var(--accent); }
.ind-struct-seg.s3 { background: var(--orange); }
/* 图例：段名 + 百分比，窄屏自动换行 */
.ind-struct-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 12px;
  font-size: 11px;
  color: var(--text-2);
}
.legend-item { display: inline-flex; align-items: center; gap: 5px; }
.legend-dot { width: 8px; height: 8px; border-radius: 3px; display: inline-block; }
.legend-dot.s1 { background: var(--green); }
.legend-dot.s2 { background: var(--accent); }
.legend-dot.s3 { background: var(--orange); }

/* —— 企业景气度卡（政务页统计卡区，与旁边统计卡容器一致：separator-light 底、无边框）—— */
.ind-vitality-card {
  flex: 1;
  min-width: 64px;
  padding: 6px;
  border-radius: var(--radius-xs);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  background: var(--separator-light);
}
.ind-vitality-dot { width: 8px; height: 8px; border-radius: 50%; display: inline-block; }
.ind-vitality-dot.low  { background: var(--red); }
.ind-vitality-dot.cool { background: var(--orange); }
.ind-vitality-dot.flat { background: var(--green); }
.ind-vitality-dot.warm { background: var(--teal); }
.ind-vitality-dot.hot  { background: var(--orange); }
.ind-vitality-word { font-size: 13px; font-weight: 600; color: var(--text); }
.ind-vitality-sub { font-size: 9px; color: var(--text-3); display: block; }

/* —— 企业状态标签（卡片/详情，生命周期+规模）—— */
.eb {
  font-size: 10px;
  padding: 1px 8px;
  border-radius: var(--radius-pill, 20px);
  background: var(--separator-light);
  color: var(--text-2);
}
.eb.grow    { background: var(--green-light); color: var(--green); }
.eb.mature  { background: var(--teal-light); color: var(--teal); }
.eb.decline { background: var(--orange-light); color: var(--orange); }
.eb.risk    { background: var(--red-light); color: var(--red); }
.eb.scale   { background: var(--accent-light); color: var(--accent); }

/* —— 3.2.4-alpha 招商谈判：条件卡（复用事件弹窗 showModal 容器）—— */
.neg-cond {
  background: var(--bg-card);
  border: 1px solid var(--separator);
  border-radius: var(--radius-xs);
  padding: 9px 10px;
  cursor: pointer;
  transition: all .15s;
}
.neg-cond.sel {
  border-color: var(--accent);
  background: var(--accent-light);
  box-shadow: 0 0 0 1px var(--accent);
}
