/* Scoped to screens hosted inside the Android mobile shell; desktop layout is unchanged. */
.finest-barcode-camera{display:inline-flex!important;align-items:center;justify-content:center;gap:5px;min-height:44px;white-space:nowrap;margin:4px;font-size:12px!important}
.finest-barcode-camera svg{flex-shrink:0}
html.finest-mobile-embedded,html.finest-mobile-embedded body{min-width:0!important;background:#f4f7fa!important}
.finest-mobile-embedded .erp-sidebar,.finest-mobile-embedded .erp-sidebar-overlay,.finest-mobile-embedded .erp-top-header{display:none!important}
.finest-mobile-embedded .erp-layout{display:block!important;grid-template-columns:1fr!important;min-height:100dvh!important;height:auto!important}
.finest-mobile-embedded .erp-main-workspace{margin:0!important;margin-inline:0!important;width:100%!important;max-width:100%!important;min-width:0!important;height:auto!important}
.finest-mobile-embedded .erp-content-scroll{padding:12px!important;height:auto!important;overflow:visible!important;min-width:0!important}
.finest-mobile-embedded :is(input:not([type=checkbox]):not([type=radio]),select,.form-control,.form-select){min-height:44px!important;font-size:16px!important;border-radius:10px!important}
.finest-mobile-embedded :is(button,.btn){min-height:40px;touch-action:manipulation}
.finest-mobile-embedded :is(.table-responsive,.report-table-wrap,.list-workspace-table,.table-wrap){max-width:100%;overflow-x:auto!important;-webkit-overflow-scrolling:touch}
.finest-mobile-embedded table{font-size:13px!important}
.finest-mobile-embedded :is(th,td){padding:10px 9px!important;vertical-align:middle!important}
.finest-mobile-embedded .modal-dialog{margin:10px!important;max-width:calc(100% - 20px)!important}
.finest-mobile-embedded .modal-content{border-radius:18px!important;max-height:calc(100dvh - 20px);overflow:auto}
.finest-mobile-embedded :is(.card,.crud-editor,.erp-editor-shell){border-radius:15px!important}
@media(max-width:600px){
 .finest-mobile-embedded :is(.col-md-3,.col-md-4,.col-md-6,.col-lg-3,.col-lg-4,.col-lg-6){flex:0 0 100%!important;max-width:100%!important}
 .finest-mobile-embedded :is(.form-grid,.master-form-grid,.crud-editor-grid){grid-template-columns:minmax(0,1fr)!important}
 .finest-mobile-embedded :is(.workspace-hero,.module-hero,.dashboard-hero){padding:16px!important}
 .finest-mobile-embedded :is(h1,.display-4){font-size:23px!important}
 .finest-mobile-embedded .table-responsive table{min-width:600px}
 .finest-mobile-embedded :is(.btn-group,.crud-toolbar,.list-actions){flex-wrap:wrap;gap:6px}
 .finest-mobile-embedded form .border-top.pt-3.d-flex.justify-content-between{flex-direction:column;align-items:stretch!important;gap:12px}
 .finest-mobile-embedded form .border-top.pt-3.d-flex.justify-content-between>div.d-flex{flex-wrap:wrap}
 .finest-mobile-embedded form .border-top.pt-3.d-flex.justify-content-between>div.d-flex>button{flex:1 1 auto;white-space:nowrap}
 .finest-mobile-embedded .finest-mobile-barcode{display:flex;flex-wrap:wrap!important;gap:7px}
 .finest-mobile-embedded .finest-mobile-barcode>.input-group-text{display:none}
 .finest-mobile-embedded .finest-mobile-barcode>input[data-finest-barcode]{flex:1 1 100%!important;width:100%!important;min-width:0;order:0;margin:0!important}
 .finest-mobile-embedded .finest-mobile-barcode>button{flex:1 1 calc(50% - 7px);order:1;min-width:0;margin:0!important;padding-inline:8px!important;border-radius:9px!important;font-size:13px!important;white-space:nowrap}
}
