/* Servis Takip V4 pilot - only scoped mobile layout, no API/JS changes */
@media (max-width:767px) {
 html,body{max-width:100%;overflow-x:clip}
 body .main,body main.main,body .content,body .sale-v5-exact{min-width:0;max-width:100%;box-sizing:border-box}
 body .main{padding-left:12px!important;padding-right:12px!important}
 body .panel,body .card,body .banner,body .top-banner,body .sale-body,body .sale-workspace{min-width:0;max-width:100%;box-sizing:border-box}
 body .stats,body .kpis{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:8px!important}
 body .stats>*,body .kpis>*{min-width:0!important}
 body .filters,body .filterbar,body .toolbar,body .workspace-toolbar,body .sale-top-actions{max-width:100%;min-width:0;flex-wrap:wrap!important;gap:8px!important}
 body .filters input,body .filters select,body .filterbar input,body .filterbar select,body .toolbar input,body .toolbar select{min-width:0!important;max-width:100%!important}
 body .formgrid,body .ff-grid,body .pay-grid,body .grid{grid-template-columns:minmax(0,1fr)!important}
 body .tablewrap,body .tableWrap,body .listwrap,body .items-scroller,body .ff-table,body .stock-dialog{max-width:100%;overflow-x:auto!important;-webkit-overflow-scrolling:touch}
 body .tablewrap table,body .tableWrap table,body .listwrap table,body .items-scroller table,body .ff-table table{width:max-content;min-width:100%}
 body .head,body .top,body .sale-top,body .detailhead,body .sectionHead{flex-wrap:wrap!important;gap:10px!important}
 body .sale-financial,body .sale-bottom,body .bottom-actions{max-width:100%;flex-wrap:wrap!important}
 body .tabs{max-width:100%;overflow-x:auto;-webkit-overflow-scrolling:touch}
 body button,body .btn{touch-action:manipulation}
}
@media(max-width:420px){body .stats,body .kpis{grid-template-columns:minmax(0,1fr)!important}}
