/* Centro de Control Ejecutivo — Sprint 4 */
#pg-exec.exec-serio-v1 {
  background: var(--superficie-pagina, #e8edf4);
}
#pg-exec .exec-hub-hero {
  background: linear-gradient(165deg, #0f172a 0%, #1e293b 55%, #334155 100%);
  color: #f8fafc;
  border-radius: var(--manto-serio-radius, 5px);
  padding: 14px 16px;
  margin-bottom: 10px;
  border: 1px solid #475569;
}
#pg-exec .exec-hub-hero__title {
  font-size: 18px;
  font-weight: 900;
  margin: 0;
}
#pg-exec .exec-hub-hero-kpis {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin-top: 10px;
}
@media (min-width: 520px) {
  #pg-exec .exec-hub-hero-kpis {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}
#pg-exec .exec-hub-hero-kpi {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  padding: 8px;
}
#pg-exec .exec-hub-hero-kpi-lbl {
  font-size: 10px;
  opacity: 0.85;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
#pg-exec .exec-hub-hero-kpi-val {
  font-size: 16px;
  font-weight: 800;
}
#pg-exec .exec-hub-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  margin: 10px 0;
}
#pg-exec .exec-hub-progress {
  height: 3px;
  background: #e2e8f0;
  border-radius: 2px;
  overflow: hidden;
  margin-bottom: 8px;
}
#pg-exec .exec-hub-progress--on::after {
  content: "";
  display: block;
  height: 100%;
  width: 40%;
  background: #475569;
  animation: execHubProg 1s ease-in-out infinite;
}
@keyframes execHubProg {
  0% {
    transform: translateX(-100%);
  }
  100% {
    transform: translateX(350%);
  }
}
#pg-exec .exec-hub-pg-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}
@media (min-width: 640px) {
  #pg-exec .exec-hub-pg-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}
#pg-exec .exec-hub-pg-tile {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
  padding: 10px;
  border: var(--manto-serio-panel-borde, 1px solid #cbd5e1);
  border-radius: 10px;
  background: #fff;
  text-align: left;
  cursor: pointer;
  min-height: 72px;
}
#pg-exec .exec-hub-panel-slot {
  margin-top: 10px;
}
#pg-exec .exec-hub-error {
  background: #fef2f2;
  border: 1px solid #fecaca;
  color: #991b1b;
  padding: 10px;
  border-radius: 8px;
  margin-bottom: 8px;
}
#pg-exec .exec-hub-skel-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}
#pg-exec .exec-hub-skel-card,
#pg-exec .exec-hub-skel-block {
  min-height: 64px;
  border-radius: 8px;
  background: linear-gradient(90deg, #f1f5f9 25%, #e2e8f0 50%, #f1f5f9 75%);
  background-size: 200% 100%;
  animation: execHubSkel 1.2s ease infinite;
}
@keyframes execHubSkel {
  0% {
    background-position: 100% 0;
  }
  100% {
    background-position: -100% 0;
  }
}
