/* Encabezados y barras de consulta compartidos por todos los módulos. */
.filters.table-search>label:first-child,.report-query>label:first-child{max-width:340px}
.filters.live-search>label:first-child:has([name=q]),.live-search .report-query>label:first-child{flex:0 1 300px}
.live-search-status{flex:1 0 100%;font-size:10px;line-height:1.3;color:#435b4b}
.live-search-status:empty{display:none}
.live-results[aria-busy=true]{opacity:.65}
.authenticated .main{padding-top:18px;padding-left:28px;padding-right:28px}
.topbar{margin-bottom:16px}
.heading{margin-bottom:12px;gap:12px;align-items:center}
.heading h1,.main>h1{font-size:24px;line-height:1.2;margin:3px 0 6px}
.heading .eyebrow{font-size:9px;line-height:1.2;margin:0 0 4px}
.heading .muted,.main>p.muted{font-size:12px;line-height:1.4;margin:3px 0 8px}
.heading>div{min-width:0}.heading>.button{flex-shrink:0}
.filters{display:flex;flex-wrap:wrap;align-items:flex-end;gap:10px 12px;padding:12px 14px;margin:12px 0;border-radius:11px}
.filters>label{flex:1 1 150px;min-width:0;font-size:11px;line-height:1.25;margin:0}
.filters input,.filters select{display:block;height:40px;margin:5px 0 0;padding:8px 10px;font-size:13px}
.filters>label:has([name=per_page]){flex:0 0 94px}
.filters.table-search>label:first-child{flex:1 1 240px}
.filters .filter-actions{flex:0 0 auto;grid-column:auto;gap:8px;align-items:center;align-self:flex-end;margin:0;min-height:40px}
.filters .filter-actions .export{margin-left:0!important}
.filters .filter-help{flex:1 0 100%;font-size:10px;line-height:1.35;margin:0}
.report-query{display:flex;flex:1 0 100%;align-items:flex-end;gap:12px;min-width:0;flex-wrap:wrap}
.report-query>label{flex:1 1 180px;font-size:11px;line-height:1.25;min-width:0;margin:0}
.report-query>label:has([name=per_page]){flex:0 0 94px}
.metrics{gap:12px;margin:14px 0}.metrics .card{padding:16px}.metrics strong{font-size:26px;margin-top:6px}
.main>.text-link{margin-bottom:8px}
@media(min-width:1101px){.filters:not(.table-search)>label:has([name=q]){flex-basis:220px}.filters:not(.table-search)>label:has([name=estado]),.filters:not(.table-search)>label:has([name=sucursal]){flex-basis:190px}}
@media(max-width:1100px){.authenticated .main{padding-left:20px;padding-right:20px}}
@media(max-width:600px){
 .authenticated .main{padding:12px 12px calc(86px + env(safe-area-inset-bottom))}
 .topbar{margin-bottom:14px}.heading{flex-direction:row;align-items:center;gap:10px;margin-bottom:10px}.heading .button{align-self:center}
 .heading h1,.main>h1{font-size:22px}.heading .muted,.main>p.muted{font-size:11px;line-height:1.4}
 .filters{padding:10px;gap:9px;margin:10px 0}
 .filters>label{flex:1 1 140px}.filters.table-search>label:first-child{flex-basis:100%}
 .filters>label:has([name=per_page]){flex:0 0 88px}
 .report-query{gap:9px}.report-query>label:first-child{flex-basis:100%}.report-query>label:has([name=per_page]){flex-basis:88px}
 .filters input,.filters select{height:44px;font-size:16px;padding:8px}
 .filters .filter-actions{gap:7px;min-height:44px}
 .filters .filter-help{font-size:10px}
 .metrics .card{padding:13px}.metrics strong{font-size:24px}.metrics{gap:8px;margin:12px 0}
}
