.dashboard-title-row {
  gap: 16px;
}

.dashboard-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.dashboard-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(320px, 1fr);
  gap: 18px;
  padding: 22px 24px;
  border-radius: 18px;
  border: 1px solid rgba(24, 144, 255, 0.14);
  background:
    radial-gradient(circle at top right, rgba(24, 144, 255, 0.16), transparent 30%),
    radial-gradient(circle at bottom left, rgba(19, 194, 194, 0.12), transparent 28%),
    linear-gradient(135deg, #ffffff 0%, #f7fbff 100%);
  box-shadow: var(--shadow-sm);
}

.dashboard-hero-copy h2 {
  margin: 8px 0 10px;
  font-size: 28px;
  line-height: 1.15;
  letter-spacing: -0.03em;
  color: #0f172a;
}

.dashboard-hero-copy p {
  max-width: 760px;
  color: var(--text-secondary);
  font-size: 14px;
  line-height: 1.7;
}

.dashboard-hero-tag {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 12px;
  border-radius: 999px;
  background: rgba(24, 144, 255, 0.12);
  color: #0958d9;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.dashboard-hero-facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.dashboard-fact {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  min-height: 74px;
  padding: 14px 16px;
  border-radius: 14px;
  border: 1px solid var(--border-color);
  background: rgba(255, 255, 255, 0.76);
}

.dashboard-fact .k {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #64748b;
}

.dashboard-fact .v {
  font-size: 14px;
  font-weight: 700;
  color: #0f172a;
}

.health-chip-row {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.health-chip {
  min-height: 82px;
  padding: 14px 16px;
  border-radius: 14px;
  border: 1px solid transparent;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.health-chip.good {
  background: rgba(82, 196, 26, 0.08);
  border-color: rgba(82, 196, 26, 0.18);
}

.health-chip.warn {
  background: rgba(250, 140, 22, 0.08);
  border-color: rgba(250, 140, 22, 0.18);
}

.health-chip.bad {
  background: rgba(245, 34, 45, 0.08);
  border-color: rgba(245, 34, 45, 0.18);
}

.health-chip-label {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #0f172a;
}

.health-chip-detail {
  font-size: 13px;
  line-height: 1.5;
  color: var(--text-secondary);
}

.dashboard-kpi-row {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.dashboard-primary-split {
  grid-template-columns: minmax(0, 1.45fr) minmax(360px, 1fr);
}

.dashboard-secondary-split,
.dashboard-log-split {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.pipeline-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.pipeline-card {
  border-radius: 14px;
  padding: 14px 14px 12px;
  border: 1px solid var(--border-color);
  background: #f8fafc;
}

.pipeline-card.blue { background: linear-gradient(180deg, rgba(24, 144, 255, 0.08), rgba(24, 144, 255, 0.03)); }
.pipeline-card.teal { background: linear-gradient(180deg, rgba(19, 194, 194, 0.08), rgba(19, 194, 194, 0.03)); }
.pipeline-card.green { background: linear-gradient(180deg, rgba(82, 196, 26, 0.08), rgba(82, 196, 26, 0.03)); }
.pipeline-card.orange { background: linear-gradient(180deg, rgba(250, 140, 22, 0.08), rgba(250, 140, 22, 0.03)); }
.pipeline-card.violet { background: linear-gradient(180deg, rgba(114, 46, 209, 0.08), rgba(114, 46, 209, 0.03)); }
.pipeline-card.slate { background: linear-gradient(180deg, rgba(71, 85, 105, 0.08), rgba(71, 85, 105, 0.03)); }
.pipeline-card.rose { background: linear-gradient(180deg, rgba(244, 63, 94, 0.08), rgba(244, 63, 94, 0.03)); }
.pipeline-card.cyan { background: linear-gradient(180deg, rgba(14, 165, 233, 0.08), rgba(14, 165, 233, 0.03)); }

.pipeline-card-title {
  font-size: 13px;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 10px;
}

.pipeline-card-body {
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.pipeline-row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  font-size: 12px;
}

.pipeline-row .k {
  color: #64748b;
}

.pipeline-row .v {
  color: #0f172a;
  font-weight: 700;
  text-align: right;
}

.signal-stack {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.signal-section {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.signal-title {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #64748b;
}

.signal-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.signal-item,
.signal-empty {
  min-height: 44px;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid var(--border-color);
  background: #f8fafc;
  font-size: 13px;
  line-height: 1.5;
  color: #334155;
}

.signal-item.problem {
  background: rgba(245, 34, 45, 0.08);
  border-color: rgba(245, 34, 45, 0.18);
}

.signal-item.warning {
  background: rgba(250, 140, 22, 0.08);
  border-color: rgba(250, 140, 22, 0.18);
}

.signal-item.fact {
  background: rgba(24, 144, 255, 0.05);
  border-color: rgba(24, 144, 255, 0.12);
}

.signal-empty {
  color: #64748b;
}

.reading-cell .rc-ts {
  font-size: 11px;
  color: var(--text-light);
  margin-top: 8px;
}

.topic-rank {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 46px;
  height: 24px;
  padding: 0 8px;
  border-radius: 999px;
  background: rgba(24, 144, 255, 0.1);
  color: #0958d9;
  font-size: 11px;
  font-weight: 700;
}

@media (max-width: 1280px) {
  .health-chip-row,
  .dashboard-kpi-row,
  .pipeline-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 960px) {
  .dashboard-actions,
  .dashboard-primary-split,
  .dashboard-secondary-split,
  .dashboard-log-split,
  .dashboard-hero {
    grid-template-columns: 1fr;
  }

  .dashboard-title-row {
    align-items: flex-start;
  }

  .dashboard-actions {
    width: 100%;
    justify-content: flex-start;
  }

  .dashboard-hero-facts,
  .health-chip-row,
  .dashboard-kpi-row,
  .pipeline-grid {
    grid-template-columns: 1fr;
  }
}
