/* ===================================================================
   情报雷达 · 行业全景页样式
   复用 theme.css 的设计令牌，暖调纸面 · 陶土橙主色
   =================================================================== */

.ind-controls {
  max-width: 1440px;
  margin: 0 auto;
  padding: 4px 24px 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.ind-ctrl-row {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.ind-ctrl-label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--muted);
  padding-top: 7px;
  min-width: 72px;
  flex-shrink: 0;
}

.ind-ctrl-row .chips { flex: 1; }

/* ---- 布局 ---- */
.ind-layout {
  max-width: 1440px;
  margin: 0 auto;
  padding: 20px 24px 60px;
  display: grid;
  grid-template-columns: 268px minmax(0, 1fr);
  gap: 22px;
  align-items: start;
}

@media (max-width: 1000px) {
  .ind-layout { grid-template-columns: 1fr; }
  .ind-side { position: static !important; }
}

/* ---- 侧栏产业域列表 ---- */
.sector-list {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.sector-row {
  display: grid;
  grid-template-columns: 22px 1fr auto;
  align-items: center;
  gap: 8px;
  padding: 6px 8px;
  border-radius: 8px;
  cursor: pointer;
  border: 1px solid transparent;
  transition: background .15s, border-color .15s;
}

.sector-row:hover { background: var(--panel-2); }
.sector-row.on {
  background: var(--accent-soft);
  border-color: var(--accent-ring);
}

.sector-row .ico { font-size: 14px; line-height: 1; }
.sector-row .nm {
  font-size: 13px;
  color: var(--text-2);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.sector-row.on .nm { color: var(--text); font-weight: 600; }
.sector-row .ct {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--muted);
  font-variant-numeric: tabular-nums;
}

.sector-bar {
  grid-column: 2 / 4;
  height: 3px;
  border-radius: 2px;
  background: var(--panel-3);
  overflow: hidden;
  margin-top: 3px;
}
.sector-bar > i {
  display: block;
  height: 100%;
  background: var(--accent);
  opacity: .55;
  border-radius: 2px;
}
.sector-row.on .sector-bar > i { opacity: 1; }

/* ---- 矩阵（行业 × 地区 热力） ---- */
.ind-matrix {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 18px 20px 20px;
  margin-bottom: 20px;
  box-shadow: var(--shadow-sm);
}

.ind-matrix h3 {
  margin: 0 0 4px;
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
  font-family: var(--font-sans);
}

.ind-matrix .sub {
  font-size: 12px;
  color: var(--muted);
  margin-bottom: 14px;
}

.mx-grid {
  display: grid;
  grid-template-columns: 150px repeat(auto-fit, minmax(58px, 1fr));
  gap: 3px;
  align-items: stretch;
}

.mx-cell {
  font-size: 11px;
  font-family: var(--font-mono);
  padding: 7px 2px;
  text-align: center;
  border-radius: 4px;
  color: var(--text-2);
  background: var(--panel-2);
  font-variant-numeric: tabular-nums;
  cursor: default;
  transition: transform .12s;
}
.mx-cell:hover { transform: scale(1.06); }
.mx-cell.hot { color: #fff; font-weight: 600; }
.mx-cell.zero { color: var(--muted-2); background: transparent; }
.mx-cell.head {
  background: transparent;
  color: var(--muted);
  font-family: var(--font-sans);
  font-size: 11px;
  letter-spacing: .02em;
}
.mx-cell.rowhead {
  background: transparent;
  color: var(--text-2);
  font-family: var(--font-sans);
  font-size: 12px;
  text-align: left;
  padding-left: 2px;
  cursor: pointer;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.mx-cell.rowhead:hover { color: var(--accent); }
.mx-cell.total { background: var(--panel-3); color: var(--text); font-weight: 600; }

/* ---- 细分赛道 chips ---- */
#vertical-chips .chip.on {
  background: var(--accent-soft);
  border-color: var(--accent-ring);
  color: var(--text);
}

/* ---- 说明文字 ---- */
.ind-note {
  font-size: 12px;
  line-height: 1.65;
  color: var(--muted);
  margin: 0;
}
.ind-note b { color: var(--text-2); font-weight: 600; }

/* ---- 情报条目 ---- */
.ind-main .feed-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin: 4px 0 12px;
  flex-wrap: wrap;
}
.ind-main .feed-title h2 {
  margin: 0;
  font-size: 18px;
  font-family: var(--font-display);
  color: var(--text);
}
.ind-main .feed { display: flex; flex-direction: column; gap: 10px; }

/* 分类徽标 */
.item-tax {
  display: inline-flex;
  gap: 5px;
  flex-wrap: wrap;
  align-items: center;
}
.tax-pill {
  font-size: 10.5px;
  font-family: var(--font-mono);
  padding: 1px 7px;
  border-radius: 999px;
  border: 1px solid var(--border-strong);
  color: var(--muted);
  background: var(--panel-2);
  white-space: nowrap;
}
.tax-pill.sector {
  border-color: var(--accent-ring);
  background: var(--accent-soft);
  color: var(--accent);
  font-weight: 600;
}
.tax-pill.region {
  border-color: var(--good-soft);
  background: var(--good-soft);
  color: var(--good);
}

/* 深色模式 */
[data-theme="dark"] .mx-cell.hot { color: #14171e; }
[data-theme="dark"] .ind-matrix { background: var(--panel); }
