.pdd-dashboard {
  width: min(1220px, calc(100% - 24px));
  margin: 24px auto;
}

.pdd-dashboard h2,
.pdd-dashboard h3 {
  margin-top: 0;
}

.pdd-kpis,
.pdd-grid {
  display: grid;
  gap: 12px;
}

.pdd-kpis {
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  margin: 14px 0;
}

.pdd-card,
.pdd-panel {
  background: #fff;
  border: 1px solid var(--axiona-border);
  border-radius: 8px;
  padding: 14px;
}

.pdd-card span {
  display: block;
  color: var(--axiona-muted);
  font-size: 13px;
}

.pdd-card strong {
  display: block;
  margin-top: 6px;
  font-size: 26px;
}

.pdd-grid {
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.9fr);
  align-items: stretch;
}

.pdd-chart-box {
  min-height: 270px;
}

.pdd-tabla-wrap {
  margin-top: 14px;
  overflow: auto;
  background: #fff;
  border: 1px solid var(--axiona-border);
  border-radius: 8px;
}

.pdd-tabla {
  width: 100%;
  border-collapse: collapse;
  min-width: 920px;
}

.pdd-tabla th,
.pdd-tabla td {
  padding: 10px;
  border-bottom: 1px solid var(--axiona-border);
  text-align: left;
  vertical-align: top;
  font-size: 13px;
}

.pdd-estado {
  display: inline-flex;
  padding: 5px 8px;
  border-radius: 999px;
  color: #fff;
  font-weight: 800;
  font-size: 12px;
}

.pdd-estado.ACORDE { background: #16a34a; }
.pdd-estado.RIESGO { background: #f59e0b; color: #172033; }
.pdd-estado.CRITICO { background: #dc2626; }

@media (max-width: 900px) {
  .pdd-grid {
    grid-template-columns: 1fr;
  }
}