.page-head:has(+ .report-control-card) { margin-bottom:10px; }
.page-head:has(+ .report-control-card) p { margin-top:0; font-size:12px; }
.report-control-card { display:grid; grid-template-columns:minmax(0,1fr) auto; margin-bottom:12px; overflow:hidden; border:1px solid #d9e1ec; border-radius:14px; background:#fff; box-shadow:0 6px 18px rgba(8,38,95,.05); }
.report-control-heading { grid-column:1/-1; display:flex; align-items:center; justify-content:space-between; gap:16px; padding:10px 18px 8px; border-bottom:1px solid #eadba8; background:linear-gradient(135deg,#fff9e5,#fffdf6); }
.report-control-heading small { color:#8b6800; font-size:9px; font-weight:950; letter-spacing:.13em; }
.report-control-heading h3 { margin:1px 0; color:var(--navy); font-size:16px; line-height:1.15; }
.report-control-heading p { margin:0; color:#66758d; font-size:10px; line-height:1.25; }
.report-control-heading>span { flex:0 0 auto; padding:5px 9px; border-radius:99px; background:var(--navy); color:#fff; font-size:9px; font-weight:850; }
.report-filter-grid { display:flex; align-items:end; gap:9px; padding:9px 18px 10px; background:#fff; }
.report-filter-grid>label,.report-custom-dates label { display:grid; gap:5px; min-width:0; color:#52617a; font-size:10px; font-weight:850; }
.report-filter-grid select,.report-filter-grid input { min-height:34px; padding:6px 10px; border-color:#d8e0eb; font-size:11px; }
.report-filter-grid > #report-clear-filters { min-height:34px; align-self:end; padding:0 12px; border-color:#d5deea; background:#f7f9fc; font-size:10px; white-space:nowrap; }
.report-filter-grid>label:first-child { width:190px; }.report-filter-grid>label:nth-last-child(2){width:175px}.report-filter-grid>label:last-child{width:180px}
.report-custom-dates { display:flex; align-items:end; gap:8px; }.report-custom-dates label{width:145px}
.report-control-footer { display:flex; grid-template-columns:none; align-items:end; justify-content:flex-end; gap:8px; margin:0; padding:9px 14px 10px; border-top:0; border-left:1px solid #e7ebf1; background:#fff; color:var(--navy); }
.report-control-footer .button { min-height:32px; padding:0 12px; font-size:10px; }
.report-export-group { display:flex; align-items:center; gap:7px; }.report-export-group>span{display:none}.report-export-group .button.dark{min-width:116px}
.report-stat-grid { margin-top:0; margin-bottom:13px; }.report-stat-grid .stat{border-color:#dce3ed;background:linear-gradient(145deg,#fff,#f7f9fc);box-shadow:0 5px 16px rgba(8,38,95,.045)}.report-stat-grid .stat strong{font-size:24px}.report-stat-grid .stat small{display:block;margin-top:4px}
.report-content-grid{align-items:start}.report-payment-card,.report-selection-card{border-color:#dde4ed;box-shadow:0 5px 18px rgba(8,38,95,.04)}
@media(max-width:1200px){.report-control-card{grid-template-columns:1fr}.report-control-heading{grid-column:1}.report-control-footer{justify-content:space-between;border-top:1px solid #e7ebf1;border-left:0;background:#f8fafc}.report-filter-grid{flex-wrap:wrap}.report-filter-grid>label,.report-filter-grid>label:first-child,.report-filter-grid>label:nth-last-child(2),.report-filter-grid>label:last-child{flex:1 1 180px;width:auto}.report-custom-dates{flex:1 1 300px}.report-custom-dates label{flex:1;width:auto}}
@media(max-width:650px){.report-control-heading,.report-control-footer{align-items:flex-start;flex-direction:column}.report-filter-grid{display:grid;grid-template-columns:1fr}.report-filter-grid>label,.report-custom-dates{width:100%!important}.report-custom-dates{display:grid;grid-template-columns:1fr 1fr}.report-export-group{width:100%;flex-wrap:wrap}.report-export-group .button{flex:1}.report-export-group>span{width:100%}}
