/* =========================================================
   SWC PMO · health.css — Sprint 12
   Dashboard executivo + drill-down de saúde.
========================================================= */

/* ── Executive KPIs (6 cols) ──────────────────────── */
.exec-kpis {
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
}

/* ── Top risks list ───────────────────────────────── */
.exec-risk-list {
  list-style: none;
  margin: 0;
  padding: 14px 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.exec-risk {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  background: rgba(255, 255, 255, .025);
  border-radius: 10px;
  border-left: 4px solid var(--c, #94a3b8);
}
.exec-risk__icon {
  font-size: 22px;
  width: 32px;
  text-align: center;
}
.exec-risk__main { flex: 1; }
.exec-risk__main strong { display: block; color: #f1f5f9; font-weight: 800; font-size: 13.5px; }
.exec-risk__main small  { color: #8892a4; font-size: 12px; }
.exec-risk__link { white-space: nowrap; }

/* ── Score em tabela (badge circular) ─────────────── */
.exec-table .num { text-align: right; font-variant-numeric: tabular-nums; }
.exec-score {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  height: 30px;
  padding: 0 10px;
  border-radius: 99px;
  background: rgba(255, 255, 255, .03);
  border: 1px solid var(--c, transparent);
  font-weight: 900;
  font-size: 14px;
  letter-spacing: -.01em;
}

/* ════════════════════════════════════════════════════
   DRILL-DOWN (health)
════════════════════════════════════════════════════ */

.health-hero {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 24px;
  align-items: center;
  padding: 20px 24px;
  margin: 16px 0;
  background: linear-gradient(160deg, rgba(255, 255, 255, .03), transparent 60%), #161b27;
  border: 1px solid #252d3d;
  border-left: 6px solid var(--c, #60a5fa);
  border-radius: 16px;
}
.health-hero__left {
  text-align: center;
}
.health-hero__score {
  font-size: 64px;
  font-weight: 950;
  letter-spacing: -.04em;
  line-height: 1;
}
.health-hero__sem {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--c, #60a5fa);
  margin-top: 6px;
}
.health-hero__right h1 {
  font-size: 22px;
  font-weight: 900;
  letter-spacing: -.02em;
  margin: 0 0 10px;
  color: #f1f5f9;
}
.health-hero__chips {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 8px;
}
.health-hero__right .muted {
  font-size: 13px;
  line-height: 1.55;
  margin: 0;
}

/* ── Grid de cards de indicador ──────────────────── */
.health-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 12px;
  padding: 14px 16px;
}
.health-card {
  background: #161b27;
  border: 1px solid #252d3d;
  border-radius: 12px;
  border-left: 3px solid var(--c, #94a3b8);
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.health-card__hd {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
}
.health-card__hd strong {
  font-size: 12.5px;
  font-weight: 800;
  color: #f1f5f9;
  letter-spacing: -.01em;
}
.health-card__score {
  font-size: 30px;
  font-weight: 950;
  letter-spacing: -.03em;
  line-height: 1;
  margin: 4px 0;
}
.health-card__sub {
  font-size: 11.5px;
  color: #8892a4;
  line-height: 1.45;
}
.health-card__bar {
  height: 6px;
  background: rgba(255, 255, 255, .05);
  border-radius: 99px;
  overflow: hidden;
  margin-top: 4px;
}
.health-card__bar i {
  display: block;
  height: 100%;
  border-radius: 99px;
  transition: width .35s ease;
}
.health-card__contrib {
  font-size: 11px;
  color: var(--c, #94a3b8);
  font-weight: 700;
  letter-spacing: .02em;
  margin-top: 4px;
}

/* ── Links rápidos ───────────────────────────────── */
.health-links {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 8px;
  padding: 14px 16px;
}
.health-link {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  background: rgba(255, 255, 255, .03);
  border: 1px solid rgba(255, 255, 255, .06);
  border-radius: 10px;
  color: #cbd5e1;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  transition: .15s;
}
.health-link:hover {
  background: rgba(251, 191, 36, .08);
  border-color: rgba(251, 191, 36, .25);
  color: #f1f5f9;
  transform: translateY(-1px);
}
.health-link span { color: inherit; }
