/* V72.27 — ajustes visuais cirúrgicos */
@media (min-width: 981px){
 #aba-despesas .grid-2{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:12px!important}
 #aba-despesas .table-container{min-width:0!important;overflow:hidden!important}
 #aba-despesas .table-container>div{padding:12px!important}
 #aba-despesas .table-container h3{padding:12px!important;font-size:14px!important}
 #aba-despesas .input-group{min-width:0!important}
 #aba-despesas .input-group label{font-size:11px!important}
 #aba-despesas input,#aba-despesas select{min-width:0!important;width:100%!important;padding:8px 9px!important;font-size:12px!important;box-sizing:border-box!important}
 #aba-despesas table{width:100%!important;table-layout:fixed!important;font-size:11px!important}
 #aba-despesas th,#aba-despesas td{padding:7px 5px!important;overflow-wrap:anywhere!important}
 #aba-despesas th:nth-child(1),#aba-despesas td:nth-child(1){width:21%!important}
 #aba-despesas th:nth-child(2),#aba-despesas td:nth-child(2){width:19%!important}
 #aba-despesas th:nth-child(3),#aba-despesas td:nth-child(3){width:13%!important}
 #aba-despesas th:nth-child(4),#aba-despesas td:nth-child(4){width:12%!important}
 #aba-despesas th:nth-child(5),#aba-despesas td:nth-child(5){width:35%!important}
 #aba-despesas td button{padding:7px 8px!important;font-size:10px!important;margin:2px!important;white-space:normal!important}
}
#v62-parcerias .v60-pre-grid{grid-template-columns:minmax(230px,1.4fr) repeat(4,minmax(115px,.75fr))!important;align-items:end!important}
#v62-parcerias select{width:100%!important;min-width:0!important}
@media(max-width:1100px){#v62-parcerias .v60-pre-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}}
@media(max-width:620px){#v62-parcerias .v60-pre-grid{grid-template-columns:1fr!important}}

/* V72.30 — despesas: ações compactas sem corte lateral */
@media (min-width:981px){
 #aba-despesas .table-container td:last-child{white-space:normal!important;padding:5px!important}
 #aba-despesas .table-container td:last-child .btn-acao{display:block!important;width:100%!important;margin:3px 0!important;padding:6px 4px!important;font-size:9px!important;line-height:1.15!important}
 #aba-despesas th:nth-child(1),#aba-despesas td:nth-child(1){width:22%!important}
 #aba-despesas th:nth-child(2),#aba-despesas td:nth-child(2){width:18%!important}
 #aba-despesas th:nth-child(3),#aba-despesas td:nth-child(3){width:14%!important}
 #aba-despesas th:nth-child(4),#aba-despesas td:nth-child(4){width:13%!important}
 #aba-despesas th:nth-child(5),#aba-despesas td:nth-child(5){width:33%!important}
}
@media print{#flavia-local-test-banner{display:none!important}}
