/* ============================================================
   Complemento da Saúde do Sistema — Superadmin
   Mostra integrações/afiliados/vendas sincronizadas no dashboard.
   ============================================================ */
.tb-health-extra {
  margin-top: 1.25rem;
  display: grid;
  gap: 1rem;
}
.tb-health-extra__title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .75rem;
  flex-wrap: wrap;
  margin: .25rem 0 .15rem;
}
.tb-health-extra__title h2 {
  font-size: 1.25rem;
  line-height: 1.2;
  font-weight: 800;
  color: #0f172a;
  margin: 0;
}
.tb-health-extra__title p {
  margin: .25rem 0 0;
  color: #64748b;
  font-size: .925rem;
}
.tb-health-extra__badge {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  border-radius: 999px;
  padding: .45rem .75rem;
  font-weight: 800;
  font-size: .82rem;
  background: #dcfce7;
  color: #166534;
  border: 1px solid #bbf7d0;
}
.tb-health-extra__badge--warn {
  background: #fff7ed;
  color: #9a3412;
  border-color: #fed7aa;
}
.tb-health-extra__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 1rem;
}
.tb-health-extra__card {
  border: 1px solid #dbe3ef;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 12px 30px rgba(15, 23, 42, .055);
  padding: 1rem 1.1rem;
  min-width: 0;
  overflow: hidden;
}
.tb-health-extra__label {
  display: block;
  text-transform: uppercase;
  letter-spacing: .055em;
  color: #64748b;
  font-size: .74rem;
  font-weight: 900;
  margin-bottom: .55rem;
}
.tb-health-extra__value {
  font-size: clamp(1.35rem, 2.3vw, 2rem);
  font-weight: 900;
  line-height: 1.05;
  color: #020617;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.tb-health-extra__help {
  margin-top: .45rem;
  font-size: .84rem;
  color: #8090aa;
  overflow-wrap: anywhere;
}
.tb-health-extra__actions {
  display: flex;
  gap: .6rem;
  flex-wrap: wrap;
  margin-top: .25rem;
}
.tb-health-extra__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #cbd5e1;
  background: #fff;
  color: #0f172a;
  border-radius: 12px;
  padding: .7rem .9rem;
  font-weight: 800;
  text-decoration: none;
  box-shadow: 0 8px 18px rgba(15, 23, 42, .045);
}
.tb-health-extra__btn--primary {
  border-color: #2563eb;
  background: #2563eb;
  color: #fff;
}
@media (max-width: 640px) {
  .tb-health-extra { margin-top: 1rem; }
  .tb-health-extra__grid { grid-template-columns: 1fr; }
}
