@media(max-width:760px){
 .page-heading{flex-direction:column;align-items:stretch;gap:14px;margin-bottom:18px;min-width:0}
 .page-heading>div:first-child{width:100%;min-width:0}
 .page-heading h2{margin-bottom:6px}
 .page-heading p{max-width:none;overflow-wrap:anywhere}
 .page-heading .heading-buttons{width:100%;max-width:none;justify-content:flex-start;align-items:center;gap:8px;flex-wrap:wrap}
 .page-heading .heading-buttons:empty{display:none}
 .heading-buttons .btn{flex:0 1 auto;max-width:100%;min-height:36px;height:36px;padding:0 11px;gap:6px;font-size:11px}
 .heading-buttons .btn svg{width:15px;height:15px;flex-shrink:0}
 .filters{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));align-items:start;gap:13px 10px;padding:15px}
 .filters>label,.filters>label.search{width:100%;max-width:100%;min-width:0;flex:initial;margin:0}
 .filters>label.search:has(#merchant-search){grid-column:1/-1;width:100%;min-width:0;flex:initial}
 .filters>label input,.filters>label select{width:100%;max-width:100%;min-width:0;box-sizing:border-box}
 .filters>.filter-actions{grid-column:1/-1;justify-content:flex-end;align-items:center;flex-wrap:wrap;gap:8px;width:100%;margin:1px 0 0}
 .filters>.filter-actions .btn{min-height:36px;height:36px;padding:0 13px}
 .filters>.btn{margin-top:0;align-self:end}
 .modal-footer{flex-wrap:wrap;justify-content:flex-end;gap:8px}
 .modal-footer>.btn{min-width:0;max-width:100%;flex-shrink:0}
 .card-actions{justify-content:flex-start;gap:7px}
 .card-actions .btn{max-width:100%}
}
@media(max-width:360px){
 .heading-buttons .btn{padding:0 9px;gap:5px}
 .filters{padding:13px;gap:12px 8px}
 .modal-footer{padding-left:16px;padding-right:16px}
}
