/* REP-1B-R2 — UX compacto del periodo de consulta */
.opening-report-querybar{
  display:flex;flex-direction:column;align-items:stretch;gap:10px;
  background:#fff;border:1px solid #d9e2ee;border-radius:10px;padding:12px 14px;
}
.opening-report-query-title{display:flex;flex-direction:column;gap:3px;width:100%;min-width:0}
.opening-report-query-title small,.opening-report-section-label small{color:#66758a;font-size:11px;font-weight:400}
.opening-report-query-fields{display:flex;align-items:flex-end;gap:10px;flex-wrap:nowrap;width:100%}
.opening-report-query-fields .opening-report-date-field{flex:0 1 220px;min-width:180px;max-width:240px}
.opening-report-query-btn{min-height:36px;margin-bottom:0;flex:0 0 auto}
.opening-report-filter-card{background:#fff;border:1px solid #d9e2ee;border-radius:10px;padding:10px 12px}
.opening-report-section-label{display:flex;flex-direction:column;gap:2px;margin-bottom:8px}
.opening-report-kpis{
  display:grid;grid-template-columns:repeat(6,minmax(145px,1fr));gap:10px;margin-bottom:2px;
}
.opening-report-kpi{
  min-height:88px;background:#fff;border:1px solid #d9e2ee;border-radius:10px;padding:12px 14px;
  display:flex;flex-direction:column;justify-content:center;gap:4px;box-shadow:0 1px 2px rgba(15,23,42,.03);
}
.opening-report-kpi-label{font-size:11px;color:#5c6c81;font-weight:700;line-height:1.2}
.opening-report-kpi-value{font-size:21px;line-height:1.1;color:#10213b}
.opening-report-kpi-hint{font-size:10px;color:#718096;line-height:1.25}
.opening-report-info{
  display:flex;align-items:flex-start;gap:10px;background:#f0f7ff;border:1px solid #cfe4ff;border-radius:9px;
  padding:10px 12px;color:#28445f;font-size:12px;
}
.opening-report-info-icon{font-size:15px;line-height:1.2}
@media (max-width:1400px){.opening-report-kpis{grid-template-columns:repeat(3,minmax(160px,1fr))}}
@media (max-width:850px){
  .opening-report-query-fields{flex-wrap:wrap}
  .opening-report-query-fields .opening-report-date-field{flex:1 1 180px;max-width:none}
  .opening-report-query-btn{flex:0 0 auto}
  .opening-report-kpis{grid-template-columns:repeat(2,minmax(140px,1fr))}
}
@media (max-width:540px){
  .opening-report-query-fields{display:grid;grid-template-columns:1fr 1fr;width:100%}
  .opening-report-query-fields .opening-report-date-field{min-width:0;max-width:none}
  .opening-report-query-btn{grid-column:1/-1;width:100%}
  .opening-report-kpis{grid-template-columns:1fr}
}

/* REP-1C — acciones de exportación */
.opening-report-export-btn{white-space:nowrap;}
@media(max-width:760px){.opening-report-export-btn{flex:1 1 auto;}}
