.monthly-history-mobile{display:none}
@media(max-width:768px){
 .modal-overlay{box-sizing:border-box;padding:10px;align-items:center;justify-content:center}
 #user-finance-modal .modal-card,#company-filiais-modal .modal-card{box-sizing:border-box;width:calc(100vw - 20px)!important;max-width:100%!important;min-width:0;padding:16px 12px!important;margin:auto!important;max-height:calc(100dvh - 20px)!important;overflow:auto;overscroll-behavior:contain}
 #user-finance-content,#company-filiais-content{min-width:0;max-width:100%;overflow-wrap:anywhere;text-align:center}
 #user-finance-modal .modal-header,#company-filiais-modal .modal-header{gap:12px;text-align:center}
 .modal-header h3{flex:1;min-width:0;overflow-wrap:anywhere;line-height:1.4}
 .modal-header button{flex-shrink:0;min-width:44px;min-height:44px}
 #user-finance-content>div[style*="display:flex"]{justify-content:center!important}
 #user-finance-content>div[style*="display:flex"]>div{width:100%;min-width:0;justify-content:center!important}
 #user-finance-content .btn{min-height:44px;white-space:normal;max-width:100%}
 #user-finance-content>div[style*="display:flex"] .btn{width:100%}
 .monthly-history-desktop{display:none}
 .monthly-history-mobile{display:grid;gap:12px;margin:16px 0}
 .monthly-history-branch{min-width:0;border:1px solid #29415e;border-radius:12px;padding:10px;background:#0d192b}
 .monthly-history-branch h5{font-size:14px;line-height:1.4;margin:0 0 10px;color:#e2e8f0;overflow-wrap:anywhere}
 .monthly-history-months{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:5px}
 .monthly-history-month{min-width:0;border-radius:8px;padding:9px 2px;display:flex;flex-direction:column;gap:5px;align-items:center;justify-content:center;font-size:11px}
 .monthly-history-month>span{font-size:10px;font-weight:800;letter-spacing:.3px}.monthly-history-month strong{font-size:12px;white-space:nowrap}.monthly-history-month small{font-size:10px;line-height:1.3}
 .monthly-history-month.paid{background:#14532d;color:#bbf7d0}.monthly-history-month.debt{background:#7f1d1d;color:#fecaca}.monthly-history-month.no_charge{background:#1e3a8a;color:#bfdbfe}
 .sas-tabs-scroll{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr));white-space:normal!important;overflow:visible!important;gap:8px!important;justify-content:center}
 .sas-tabs-scroll button{margin:0!important;white-space:normal;min-height:44px}.sas-tabs-scroll button:last-child:nth-child(odd){grid-column:1/-1}
 .sas-modal-kpi-grid>div{text-align:center}.filiais-grid{grid-template-columns:minmax(0,1fr)!important;gap:12px!important}.filial-card{min-width:0;text-align:center}.filial-card>div{min-width:0;max-width:100%}.filial-card h4{overflow-wrap:anywhere}
 .company-dialog{text-align:center;padding:20px 14px;width:calc(100vw - 20px);max-height:calc(100dvh - 20px)}.company-dialog .dialog-footer{justify-content:center;flex-wrap:wrap}.company-dialog .dialog-footer button{flex:1;min-height:44px}
}
@media(max-width:768px){.premium-feedback{width:calc(100vw - 24px);padding:24px 18px;text-align:center;max-height:calc(100dvh - 24px)}.premium-feedback .pf-icon{margin-left:auto;margin-right:auto}.premium-feedback .pf-actions{justify-content:center}.premium-feedback .pf-actions button{min-height:44px;flex:1}.premium-feedback .pf-message{text-align:center}}
