/* ===== reporte2.css (pasteles + layout side-by-side) ===== */
#report2-container{
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 16px;
  margin-top: 20px;
}

#report2-container .panel-title{
  margin: 0 0 14px;
  font-size: 18px;
  color: var(--fg);
}

.report2-grid{
  display: grid;
  grid-template-columns: 1.2fr 1fr;   /* resumen | gráfico */
  gap: 18px;
  align-items: start;
}

.summary-col{ display: grid; gap: 12px; }

.card{
  background: #0e141b;
  border: 1px solid #1c2633;
  border-radius: 12px;
  padding: 12px;
}

.card h4{
  margin: 0 0 8px;
  font-size: 14px;
  color: #cbd5e1;
}

.badges{
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.badge{
  padding: 4px 8px;
  border-radius: 999px;
  font-size: 12px;
  line-height: 1;
  border: 1px solid rgba(255,255,255,.06);
  color: #e6edf5;
}

.chart-col{
  display: grid;
  gap: 10px;
  justify-items: center;
}

.chart-card{
  background: #0e141b;
  border: 1px solid #1c2633;
  border-radius: 12px;
  padding: 14px;
}

#report2-container canvas{
  display: block;
  background: #0b0f14;
  border: 1px solid var(--border);
  border-radius: 10px;
}

.legend{
  display: grid;
  gap: 6px;
  font-size: 12px;
}

.legend-row{
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--fg);
}

.legend-swatch{
  width: 12px; height: 12px; border-radius: 3px; display: inline-block;
}

/* responsive */
@media (max-width: 960px){
  .report2-grid{ grid-template-columns: 1fr; }
}
