#received-purchases-filter{padding-bottom:16px;border-bottom:1px solid #e2e8f0}
#received-purchases-filter .form-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
#received-purchases-filter .field:last-child{grid-column:span 2}
#received-purchases-filter .field small:empty{display:none}
#received-purchases-filter .actions{margin-top:12px}
.received-period{margin:16px 0;color:#163a63}
.received-totals{display:grid;grid-template-columns:repeat(auto-fit,minmax(190px,1fr));gap:12px;margin:16px 0}
.received-totals>div{background:#f5f7fa;border:1px solid #e2e8f0;border-radius:8px;padding:16px}
.received-totals small,.received-totals span{display:block;color:#64748b}
.received-totals strong{display:block;margin:8px 0;font-size:22px;color:#163a63}
.received-group{margin-top:24px;border:1px solid #e2e8f0;border-radius:8px;overflow:hidden}
.received-group h4,.received-group>.helper{margin:12px 16px}
.received-group .panel-head{gap:12px;flex-wrap:wrap;background:#f5f7fa}
.received-group summary{cursor:pointer;margin:16px;color:#2563a6;font-weight:600}
.received-group table{font-size:12px}
.received-group td{vertical-align:top}
.received-group .number{white-space:nowrap}
.received-calculation-note{color:#64748b;margin:12px 0}
.received-calculation-note summary{cursor:pointer}
@media(max-width:700px){#received-purchases-filter .form-grid{grid-template-columns:1fr}#received-purchases-filter .field:last-child{grid-column:auto}.received-totals{grid-template-columns:1fr}.received-group .panel-head{align-items:flex-start}}
