/* v10.277 - unified responsive formatting for every internal mobile screen. */
@media (max-width:800px){
  :root{--mobile-gap:10px;--mobile-radius:13px;--mobile-control:46px}
  body.wp-mobile-ready{font-size:14px!important;background:#f3f7fa!important}
  body.wp-mobile-ready #app-main{box-sizing:border-box!important;width:100%!important;max-width:100%!important;padding:12px 10px 58px!important}
  body.wp-mobile-ready #app-main>*{max-width:100%!important;min-width:0!important}

  body.wp-mobile-ready .page-head{display:block!important;margin:0 0 10px!important;padding:5px 2px 10px!important}
  body.wp-mobile-ready .page-head>div{padding-right:10px!important;border-right-width:3px!important}
  body.wp-mobile-ready .page-head h1{margin:0!important;font-size:20px!important;line-height:1.25!important}
  body.wp-mobile-ready .page-head p{margin:4px 0 0!important;font-size:12px!important;line-height:1.45!important}
  body.wp-mobile-ready h2{font-size:18px!important;line-height:1.3!important}
  body.wp-mobile-ready h3{font-size:16px!important;line-height:1.3!important}

  body.wp-mobile-ready .card,
  body.wp-mobile-ready .legacy-transaction-detail,
  body.wp-mobile-ready .legacy-transaction-section,
  body.wp-mobile-ready .legacy-movement-card{
    box-sizing:border-box!important;width:100%!important;max-width:100%!important;min-width:0!important;
    margin:0 0 11px!important;padding:13px 11px!important;border-radius:var(--mobile-radius)!important;
    overflow:visible!important;box-shadow:0 3px 12px rgba(18,63,115,.07)!important
  }

  body.wp-mobile-ready label{display:grid!important;gap:6px!important;width:100%!important;min-width:0!important;font-size:12.5px!important;line-height:1.3!important}
  body.wp-mobile-ready input:not([type=checkbox]):not([type=radio]):not([type=file]),
  body.wp-mobile-ready select,
  body.wp-mobile-ready textarea{
    box-sizing:border-box!important;display:block!important;width:100%!important;max-width:100%!important;min-width:0!important;
    height:var(--mobile-control)!important;min-height:var(--mobile-control)!important;padding:9px 11px!important;
    border:1px solid #c9d8e4!important;border-radius:10px!important;background:#fff!important;
    color:#173b5d!important;font-size:16px!important;line-height:1.25!important
  }
  body.wp-mobile-ready textarea{height:auto!important;min-height:92px!important;resize:vertical!important}
  body.wp-mobile-ready input[type=file]{box-sizing:border-box!important;width:100%!important;max-width:100%!important;font-size:13px!important}
  body.wp-mobile-ready input[type=checkbox],body.wp-mobile-ready input[type=radio]{width:21px!important;height:21px!important;min-height:21px!important;margin:0!important;flex:0 0 21px!important}

  body.wp-mobile-ready button,
  body.wp-mobile-ready .btn-small,
  body.wp-mobile-ready a.btn-small,
  body.wp-mobile-ready input[type=submit]{
    box-sizing:border-box!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;
    min-height:44px!important;height:auto!important;max-width:100%!important;padding:9px 12px!important;
    border-radius:10px!important;font-size:14px!important;line-height:1.2!important;white-space:normal!important;text-align:center!important
  }
  body.wp-mobile-ready button.small,body.wp-mobile-ready .btn-small.small,body.wp-mobile-ready .small{min-height:40px!important}

  body.wp-mobile-ready form,
  body.wp-mobile-ready .form-grid,
  body.wp-mobile-ready .filter-grid,
  body.wp-mobile-ready .device-filters,
  body.wp-mobile-ready .search,
  body.wp-mobile-ready .dialog-grid,
  body.wp-mobile-ready .legacy-movement-grid,
  body.wp-mobile-ready .corporate-install-grid,
  body.wp-mobile-ready .reference-select-grid{
    box-sizing:border-box!important;max-width:100%!important;min-width:0!important
  }
  body.wp-mobile-ready .form-grid,
  body.wp-mobile-ready .filter-grid,
  body.wp-mobile-ready .device-filters,
  body.wp-mobile-ready .dialog-grid,
  body.wp-mobile-ready .legacy-movement-grid,
  body.wp-mobile-ready .corporate-install-grid,
  body.wp-mobile-ready .reference-select-grid{
    display:grid!important;grid-template-columns:minmax(0,1fr)!important;gap:var(--mobile-gap)!important
  }
  body.wp-mobile-ready .search,
  body.wp-mobile-ready .toolbar,
  body.wp-mobile-ready .legacy-toolbar,
  body.wp-mobile-ready .legacy-movement-toolbar,
  body.wp-mobile-ready .device-action-row,
  body.wp-mobile-ready .legacy-transaction-actions,
  body.wp-mobile-ready .approve-actions,
  body.wp-mobile-ready .inline-actions{
    display:flex!important;flex-wrap:wrap!important;align-items:stretch!important;gap:8px!important;
    width:100%!important;max-width:100%!important;min-width:0!important;padding:9px!important
  }
  body.wp-mobile-ready .search>*,
  body.wp-mobile-ready .toolbar>*,
  body.wp-mobile-ready .legacy-toolbar>*,
  body.wp-mobile-ready .legacy-movement-toolbar>*{flex:1 1 145px!important;min-width:0!important;max-width:100%!important}
  body.wp-mobile-ready .toolbar form,body.wp-mobile-ready .legacy-toolbar form{display:contents!important}

  body.wp-mobile-ready .filter-one-row,
  body.wp-mobile-ready .stock-filter-form,
  body.wp-mobile-ready .device-filter-form,
  body.wp-mobile-ready .network-filter-form,
  body.wp-mobile-ready .warehouse-name-filter{
    display:grid!important;grid-template-columns:minmax(0,1fr)!important;gap:8px!important;width:100%!important;max-width:100%!important
  }
  body.wp-mobile-ready .filter-one-row>*,
  body.wp-mobile-ready .stock-filter-form>*,
  body.wp-mobile-ready .device-filter-form>*,
  body.wp-mobile-ready .network-filter-form>*,
  body.wp-mobile-ready .warehouse-name-filter>*{width:100%!important;max-width:100%!important;min-width:0!important}

  body.wp-mobile-ready .request-line,
  body.wp-mobile-ready .transfer-line,
  body.wp-mobile-ready .movement-line,
  body.wp-mobile-ready .legacy-add-line-row,
  body.wp-mobile-ready .legacy-material-quantity-row{
    box-sizing:border-box!important;width:100%!important;max-width:100%!important;min-width:0!important;gap:8px!important
  }
  body.wp-mobile-ready .legacy-add-line-row,
  body.wp-mobile-ready .legacy-material-quantity-row{display:grid!important;grid-template-columns:minmax(0,1fr)!important}
  body.wp-mobile-ready .legacy-add-line-row>*,body.wp-mobile-ready .legacy-material-quantity-row>*{width:100%!important;max-width:100%!important;min-width:0!important}

  body.wp-mobile-ready .item-picker,
  body.wp-mobile-ready .line-picker,
  body.wp-mobile-ready .movement-item-picker,
  body.wp-mobile-ready .stock-item-picker,
  body.wp-mobile-ready .branch-material-picker,
  body.wp-mobile-ready .approval-item-picker{display:block!important;width:100%!important;max-width:100%!important;min-width:0!important}
  body.wp-mobile-ready .item-results.open,
  body.wp-mobile-ready .movement-item-results.open,
  body.wp-mobile-ready .approval-item-results.open,
  body.wp-mobile-ready .autocomplete-results.open{
    left:0!important;right:0!important;width:100%!important;max-width:100%!important;max-height:42vh!important
  }
  body.wp-mobile-ready .item-results button{justify-content:flex-start!important;text-align:right!important;font-size:13px!important;overflow-wrap:anywhere!important}

  body.wp-mobile-ready .table-wrap,
  body.wp-mobile-ready .legacy-movement-lines{
    display:block!important;width:100%!important;max-width:100%!important;min-width:0!important;
    overflow-x:auto!important;overflow-y:visible!important;border-radius:10px!important;-webkit-overflow-scrolling:touch!important
  }
  body.wp-mobile-ready table{width:max-content!important;min-width:100%!important;font-size:12px!important}
  body.wp-mobile-ready th,body.wp-mobile-ready td{padding:8px 7px!important;font-size:12px!important;white-space:nowrap!important}
  body.wp-mobile-ready td input,body.wp-mobile-ready td select{min-width:115px!important;height:38px!important;min-height:38px!important;font-size:13px!important}
  body.wp-mobile-ready td button,body.wp-mobile-ready td .btn-small{min-height:36px!important;padding:7px 9px!important;font-size:12px!important}

  body.wp-mobile-ready .cards-list{display:grid!important;grid-template-columns:minmax(0,1fr)!important;gap:11px!important;width:100%!important}
  body.wp-mobile-ready .cards-list>.card{width:100%!important;margin:0!important;padding:13px 12px!important}
  body.wp-mobile-ready .section-title{display:flex!important;flex-wrap:wrap!important;align-items:center!important;justify-content:space-between!important;gap:8px!important}
  body.wp-mobile-ready .status{max-width:100%!important;padding:5px 9px!important;border-radius:999px!important;font-size:12px!important;overflow-wrap:anywhere!important}

  body.wp-mobile-ready .legacy-transaction-summary{display:grid!important;grid-template-columns:minmax(0,1fr)!important;gap:8px!important}
  body.wp-mobile-ready .legacy-transaction-summary>*,body.wp-mobile-ready .movement-document-summary>*{width:100%!important;max-width:100%!important;min-width:0!important;height:auto!important;min-height:58px!important}
  body.wp-mobile-ready .network-status-tabs-single-row{display:flex!important;width:100%!important;max-width:100%!important;overflow-x:auto!important;gap:7px!important;-webkit-overflow-scrolling:touch!important}
  body.wp-mobile-ready .network-status-tabs-single-row .status-tab{flex:0 0 104px!important}

  body.wp-mobile-ready dialog{
    box-sizing:border-box!important;width:calc(100vw - 20px)!important;max-width:calc(100vw - 20px)!important;
    max-height:calc(100dvh - 24px)!important;margin:auto!important;padding:12px!important;border-radius:14px!important;overflow-x:hidden!important;overflow-y:auto!important
  }
  body.wp-mobile-ready dialog form{display:grid!important;grid-template-columns:minmax(0,1fr)!important;gap:9px!important;padding:0!important;overflow:visible!important}
  body.wp-mobile-ready dialog .dialog-title{position:sticky!important;top:-12px!important;z-index:3!important;margin:-12px -12px 10px!important;padding:12px!important;background:#fff!important;border-bottom:1px solid #dce6ee!important}

  body.wp-mobile-ready .notice{box-sizing:border-box!important;width:100%!important;max-width:100%!important;margin:0 0 10px!important;padding:10px!important;border-radius:10px!important;overflow-wrap:anywhere!important}
  body.wp-mobile-ready .legacy-pagination{display:flex!important;flex-wrap:wrap!important;gap:6px!important;width:100%!important;justify-content:center!important}
  body.wp-mobile-ready .pagination-summary{flex-basis:100%!important;text-align:center!important}
}

@media (max-width:420px){
  body.wp-mobile-ready #app-main{padding-right:8px!important;padding-left:8px!important}
  body.wp-mobile-ready .card,body.wp-mobile-ready .legacy-movement-card{padding-right:10px!important;padding-left:10px!important}
  body.wp-mobile-ready .search>*,body.wp-mobile-ready .toolbar>*,body.wp-mobile-ready .legacy-toolbar>*{flex-basis:100%!important}
}
