/* REPORTS PAGE */
.report-filters { margin-bottom:20px; }
.report-filter-grid { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:12px; }
.report-filter-grid .form-field { display:grid; gap:7px; min-width:0; }
.report-filter-grid label { font-size:13px; font-weight:600; color:#51416f; }
.report-filter-grid input, .report-filter-grid select { width:100%; min-width:0; min-height:42px; padding:10px; border:1px solid #ddd9e7; border-radius:5px; background:#fff; color:#292638; font:inherit; font-size:13px; }
.report-actions { display:flex; gap:10px; flex-wrap:wrap; margin-top:15px; }
.report-summary-grid { margin-top:20px; }
.report-table { min-width:760px; }
.report-table th, .report-table td { white-space:nowrap; }
.report-note { margin:0 0 22px; padding:14px 16px; border-left:4px solid #8065a9; border-radius:5px; background:#f0edf6; color:#5d566b; font-size:12px; line-height:1.6; }
.report-note strong { color:#403257; }
#report-filter-message { margin-top:10px; }
#report-filter-message.report-error { color:#a33; font-weight:600; }
@media(max-width:900px) { .report-filter-grid { grid-template-columns:repeat(2,minmax(0,1fr)); } }
@media(max-width:600px) {
  .report-filter-grid { grid-template-columns:1fr; }
  .report-actions { flex-direction:column; }
  .report-actions button { width:100%; min-height:42px; }
  .report-summary-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .report-summary-grid .summary-card { padding:16px 12px; }
  .report-summary-grid .summary-card h2 { font-size:18px; overflow-wrap:anywhere; }
}
@media print {
  .sidebar, .topbar, .report-filters, .report-actions { display:none !important; }
  .main-content { padding:0 !important; }
  body, .page { background:#fff !important; }
  .page { display:block !important; }
  .record-panel, .summary-card { break-inside:avoid; box-shadow:none !important; }
  .table-wrapper { overflow:visible !important; }
  .report-table { min-width:0; font-size:9px; }
  .report-note { break-inside:avoid; }
}
