/* Stock workspace phone layout: all rules require the current workspace or its owned dialog. */
body.mobile-ui-active .msw-page{font-size:13px;line-height:19px;color:#203b5b;min-width:0;}
body.mobile-ui-active .msw-page .issue-workspace-toolbar{padding:0 0 6px;margin:0 0 6px;gap:0;border:0;}
body.mobile-ui-active .msw-page .issue-workspace-hint{display:none;}
body.mobile-ui-active .msw-page .issue-workspace-tabs{gap:20px;margin:0;}
body.mobile-ui-active .msw-page .issue-workspace-tabs button{min-height:36px;padding:6px 0;margin:0;font-size:14px;line-height:22px;width:auto;}
body.mobile-ui-active .msw-page .issue-workspace-actions:empty{display:none;}
body.mobile-ui-active .msw-page .issue-context-note{margin:5px 0;padding:6px 8px;font-size:12px;line-height:18px;}
body.mobile-ui-active .msw-page :is(.ai-list,.mr-record-panel,.mr-tab-header){border:0;background:transparent;box-shadow:none;padding:0!important;margin:0!important;min-height:0;}
body.mobile-ui-active .msw-page .ai-workspace{gap:0;}
body.mobile-ui-active .msw-page .ai-record-bar{padding:0;border:0;gap:5px;}
body.mobile-ui-active .msw-page .ai-record-bar>.ai-tabs{width:auto;flex:1 1 auto;margin:0;gap:12px;}
body.mobile-ui-active .msw-page .ai-record-bar .ai-toolbar{display:flex;flex:0 1 auto;width:auto;gap:5px;margin:0;}
body.mobile-ui-active .msw-page .ai-record-bar .ai-tabs button{font-size:13px;min-height:34px;padding:5px 0;}
body.mobile-ui-active .msw-page :is(.ai-toolbar>button,.mr-tab-header>button){font-size:12px;line-height:20px;min-height:32px;height:auto;padding:5px 8px;margin:0;width:auto;}
body.mobile-ui-active .msw-page .mr-tab-header{display:flex;align-items:center;justify-content:space-between;gap:6px;}
body.mobile-ui-active .msw-page .mr-record-tabs{gap:12px;}
body.mobile-ui-active .msw-page .mr-record-tabs button{font-size:13px;line-height:20px;min-height:34px;padding:5px 0;margin:0;}
body.mobile-ui-active .msw-page :is(.ai-filters,.material-filter-strip){display:flex!important;align-items:center;flex-wrap:nowrap;gap:5px;margin:7px 0!important;padding:0;}
body.mobile-ui-active .msw-page .ai-filters>label:first-child{display:block;flex:1 1 0;min-width:0!important;margin:0;padding:0;}
body.mobile-ui-active .msw-page .ai-filters>label:first-child>span{display:none;}
body.mobile-ui-active .msw-page .material-filter-strip>input:first-child{flex:1 1 0;min-width:0;width:0;}
body.mobile-ui-active .msw-page :is(.ai-filters input,.material-filter-strip>input){box-sizing:border-box;min-height:34px;height:34px;padding:5px 7px;margin:0;font-size:12px;font-weight:400;border-radius:6px;}
body.mobile-ui-active .msw-page .ai-filter-actions{flex:0 0 auto;margin:0;}
body.mobile-ui-active .msw-page .ai-filter-actions>button{min-height:34px;height:34px;padding:5px 8px;font-size:12px;margin:0;}
body.mobile-ui-active .msw-page .material-filter-summary{display:flex;gap:5px;flex-wrap:wrap;margin:4px 0 6px;padding:0;font-size:11px;}
body.mobile-ui-active .msw-page .material-filter-summary .page-chip{min-height:0;border:0;padding:0 6px 0 0;background:transparent;font-size:11px;line-height:18px;}
body.mobile-ui-active .msw-popup{position:static;margin:0;padding:0;}
body.mobile-ui-active .msw-popup>summary{list-style:none;cursor:pointer;min-height:34px;padding:5px 8px;box-sizing:border-box;border:1px solid #d6e0ef;border-radius:6px;background:#fff;color:#175dcc;font-size:12px;line-height:22px;white-space:nowrap;}
body.mobile-ui-active .msw-popup>summary::-webkit-details-marker{display:none;}
body.mobile-ui-active :is(.msw-popup>.msw-popup-body,.msw-page .mad-extra>.mad-extra-body){position:fixed!important;z-index:1850;box-sizing:border-box;padding:10px;background:#fff;border:1px solid #d6e0ef;border-radius:8px;box-shadow:0 7px 22px #203b5b26;overflow:auto;color:#203b5b;text-align:left;}
body.mobile-ui-active .msw-popup:not([open])>.msw-popup-body{display:none;}
body.mobile-ui-active .msw-popup-body :is(label,.business-list-sort-inline,.app-list-sort-summary){display:block!important;min-width:0!important;margin:0 0 8px!important;padding:0!important;}
body.mobile-ui-active .msw-popup-body :is(select,input){box-sizing:border-box;max-width:100%;width:100%!important;min-height:36px;height:auto;margin:3px 0 0!important;padding:6px 8px;font-size:13px;line-height:20px;font-weight:400;}
body.mobile-ui-active .msw-popup-body :is(button,.tiny){width:100%!important;min-height:36px;padding:6px 8px;margin:3px 0;font-size:13px;line-height:20px;white-space:normal;}
body.mobile-ui-active .msw-popup-body .mr-date-filter{display:grid!important;grid-template-columns:1fr;gap:3px;white-space:normal;}
body.mobile-ui-active .msw-info-field{margin:0 0 8px;font-size:12px;line-height:19px;}
body.mobile-ui-active .msw-info-label{display:block;color:#708198;font-size:11px;line-height:17px;}
body.mobile-ui-active .msw-info-value{overflow-wrap:anywhere;}
body.mobile-ui-active .msw-page :is(.ai-table-wrap,.customer-fixed-list-scroll){overflow:visible!important;height:auto!important;max-height:none!important;min-height:0!important;}
body.mobile-ui-active .msw-page .ai-table,body.mobile-ui-active .msw-page .ai-table tbody{display:block;width:100%;min-width:0!important;}
body.mobile-ui-active .msw-page .ai-table thead{display:none;}
body.mobile-ui-active .msw-page .ai-table .msw-ai-row{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:1px 7px;margin:0 0 6px;padding:7px 8px;border:1px solid #dce6f3;border-radius:8px;background:#fff;}
body.mobile-ui-active .msw-page .msw-ai-row>td{display:block;min-width:0;position:static!important;z-index:auto!important;padding:0!important;border:0;box-shadow:none;font-size:12px;line-height:18px;}
body.mobile-ui-active .msw-page .msw-ai-row>td:nth-child(3),body.mobile-ui-active .msw-page .msw-ai-row>td:nth-child(4){display:none;}
body.mobile-ui-active .msw-page .msw-ai-current>td:first-child{grid-column:1;grid-row:1;}
body.mobile-ui-active .msw-page .msw-ai-current>td:nth-child(2){grid-column:2;grid-row:1;justify-self:end;}
body.mobile-ui-active .msw-page .msw-ai-row strong{font-size:14px;line-height:20px;font-weight:600;}
body.mobile-ui-active .msw-page .msw-ai-row small{display:block;font-size:11px;line-height:17px;margin:1px 0 0;}
body.mobile-ui-active .msw-page .ai-status{padding:1px 5px;font-size:11px;line-height:17px;}
body.mobile-ui-active .msw-page .msw-ai-history>td:first-child{display:none;}
body.mobile-ui-active .msw-page .msw-ai-history>td:nth-child(2){grid-column:1/-1;grid-row:1;font-size:14px;line-height:20px;font-weight:600;}
body.mobile-ui-active .msw-page .msw-ai-history>td:nth-child(2)>small{font-weight:400;}
body.mobile-ui-active .msw-page .msw-ai-row>.msw-ai-bottom{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:0 6px;grid-column:1/-1;grid-row:2;}
body.mobile-ui-active .msw-page .msw-ai-meta{min-width:0;font-size:11px;line-height:17px;flex:1 1 110px;}
body.mobile-ui-active .msw-page .msw-ai-bottom .ai-actions{gap:0 8px;margin-left:auto;}
body.mobile-ui-active .msw-page .msw-ai-bottom :is(button,summary){width:auto!important;min-height:28px;padding:4px 0;margin:0;border:0;border-radius:0;background:transparent!important;color:#175dcc!important;font-size:12px;line-height:20px;}
body.mobile-ui-active #content .msw-page .mr-record-panel tbody>.msw-material-row{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:1px 6px;padding:7px 8px;margin:0 0 6px;}
body.mobile-ui-active #content .msw-page .mr-record-panel tbody>.msw-material-row>td{position:static!important;z-index:auto!important;padding:0!important;}
body.mobile-ui-active #content .msw-page .mr-record-panel tbody>.msw-material-row>.mad-title{grid-row:1;grid-column:1;}
body.mobile-ui-active #content .msw-page .mr-record-panel tbody>.msw-material-row>.mad-status{grid-row:1;grid-column:2;}
body.mobile-ui-active #content .msw-page .mr-record-panel tbody>.msw-material-row>.mad-project{grid-row:2;grid-column:1/-1;}
body.mobile-ui-active #content .msw-page .mr-record-panel tbody>.msw-material-row>td:nth-child(3) .cell-main{font-size:11px;line-height:17px;}
body.mobile-ui-active #content .msw-page .mr-record-panel tbody>.msw-material-row>td:nth-child(6){display:none;}
body.mobile-ui-active #content .msw-page .mr-record-panel tbody>.msw-material-row>.msw-material-bottom{display:flex;grid-row:3;grid-column:2;flex-wrap:wrap;align-items:center;justify-content:flex-end;gap:0 7px;}
body.mobile-ui-active .msw-page .msw-material-quantity{flex:1 1 130px;min-width:0;font-size:12px;line-height:18px;}
body.mobile-ui-active .msw-page .msw-material-bottom .table-action-group{display:flex;gap:0 7px;}
body.mobile-ui-active .msw-page .msw-material-bottom :is(button,summary){width:auto!important;min-height:28px!important;padding:4px 0!important;margin:0;border:0;background:transparent!important;color:#175dcc!important;font-size:12px;line-height:20px;}
body.mobile-ui-active .msw-page :is(.msw-ai-row,.msw-material-row).customer-page-hidden,body.mobile-ui-active .msw-page :is(.msw-ai-row,.msw-material-row).list-page-hidden,body.mobile-ui-active .msw-page :is(.msw-ai-row,.msw-material-row).hidden{display:none!important;}
body.mobile-ui-active .msw-page .list-pager{display:flex;align-items:center;justify-content:center;gap:5px;flex-wrap:nowrap;padding:7px 0;margin:0;font-size:11px;}
body.mobile-ui-active .msw-page .list-pager :is(.list-pager-summary,.list-pager-jump){display:none!important;}
body.mobile-ui-active .msw-page .list-pager :is(.list-pager-controls,.list-pager-main){display:flex;align-items:center;gap:5px;flex-wrap:nowrap;margin:0;}
body.mobile-ui-active .msw-page .list-pager :is(button,select){width:auto;min-height:30px;margin:0;padding:4px 7px;font-size:11px;line-height:20px;}
body.mobile-ui-active .msw-page .list-pager .list-pager-size>span{display:none;}
body.mobile-ui-active .msw-scope.bf-modal{position:fixed!important;inset:auto 0 auto!important;top:var(--msw-vv-top,0px)!important;height:var(--msw-vv-height,100dvh)!important;max-height:var(--msw-vv-height,100dvh)!important;padding:8px!important;z-index:1900!important;display:flex;align-items:flex-start;justify-content:center;}
body.mobile-ui-active .msw-scope.bf-modal>.bf-shell{display:flex;flex-direction:column;width:100%!important;height:auto;max-height:calc(var(--msw-vv-height,100dvh) - 16px)!important;min-height:0;box-sizing:border-box;margin:0;border-radius:8px;background:#fff;overflow:hidden;}
body.mobile-ui-active .msw-scope .bf-header{display:flex;align-items:center;gap:8px;padding:8px 10px;flex:none;}
body.mobile-ui-active .msw-scope .bf-header>div{min-width:0;flex:1;}
body.mobile-ui-active .msw-scope .bf-header h2{font-size:14px;line-height:20px;margin:0;}
body.mobile-ui-active .msw-scope .bf-header>[data-action=close]{order:-1;width:auto!important;min-height:36px;padding:6px 9px;margin:0;flex:none;font-size:13px;line-height:22px;background:#fff;color:#175dcc;border:1px solid #d6e0ef;}
body.mobile-ui-active .msw-scope .bf-content{padding:9px 10px;min-height:0;overflow:auto;font-size:13px;line-height:19px;}
body.mobile-ui-active .msw-scope .workflow-message:empty{display:none;}
body.mobile-ui-active .msw-scope .workflow-message:not(:empty){padding:7px 9px;margin:0 0 7px;font-size:12px;line-height:18px;}
body.mobile-ui-active .msw-scope.ai-operation-modal .bf-content{display:flex;flex-direction:column;overflow:hidden;padding:0;}
body.mobile-ui-active .msw-scope.ai-operation-modal .workflow-body{display:flex;flex-direction:column;min-height:0;overflow:hidden;}
body.mobile-ui-active .msw-operation-form{display:flex;flex-direction:column;min-height:0;margin:0;overflow:hidden;}
body.mobile-ui-active .msw-form-scroll{min-height:0;overflow:auto;padding:9px 10px;overscroll-behavior:contain;}
body.mobile-ui-active .msw-scope .ai-return-summary{padding:0;border:0;background:transparent;gap:8px;margin:0 0 7px;}
body.mobile-ui-active .msw-scope .ai-return-summary h3{font-size:14px;line-height:20px;}
body.mobile-ui-active .msw-scope .ai-return-summary p{font-size:11px;line-height:17px;}
body.mobile-ui-active .msw-scope .ai-return-facts{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:5px 9px;margin:0 0 7px;}
body.mobile-ui-active .msw-scope .ai-return-facts :is(dt,dd){font-size:12px;line-height:18px;margin:0;}
body.mobile-ui-active .msw-scope .ai-return-context{padding:6px 8px;margin:0 0 7px;font-size:12px;line-height:18px;}
body.mobile-ui-active .msw-scope [data-ai-draft-status]{padding:5px 7px;font-size:11px;line-height:17px;margin:0 0 7px;}
body.mobile-ui-active .msw-scope .ai-return-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin:0;padding:0;border:0;}
body.mobile-ui-active .msw-scope .ai-return-fields label{display:grid;gap:4px;margin:0;font-size:12px;line-height:18px;min-width:0;}
body.mobile-ui-active .msw-scope .ai-return-fields label:has(textarea){grid-column:1/-1;}
body.mobile-ui-active .msw-scope .ai-return-fields :is(input,select,textarea){box-sizing:border-box;width:100%;min-width:0;min-height:36px;margin:0;padding:6px 8px;font-size:13px;line-height:20px;font-weight:400;}
body.mobile-ui-active .msw-scope .ai-return-fields textarea{min-height:64px;resize:vertical;}
body.mobile-ui-active .msw-scope .ai-return-actions{display:flex;flex-wrap:nowrap;gap:6px;align-items:center;border-top:1px solid #dce6f3;margin:0;padding:7px 10px;background:#fff;flex:none;}
body.mobile-ui-active .msw-scope .ai-return-secondary{width:auto;flex:none;}
body.mobile-ui-active .msw-scope .ai-return-primary{display:flex;flex:1;width:auto;margin:0;}
body.mobile-ui-active .msw-scope .ai-return-primary>[data-ai=close]{display:none;}
body.mobile-ui-active .msw-scope .ai-return-primary>button[type=submit]{flex:1;width:auto;min-height:36px;padding:6px 9px;margin:0;background:#175dcc;color:#fff;border:1px solid #175dcc;line-height:22px;font-size:13px;}
body.mobile-ui-active .msw-scope .ai-return-discard-confirm{flex:none;margin:0;padding:8px 10px;font-size:12px;line-height:18px;}
body.mobile-ui-active .msw-scope .ai-detail-title{gap:8px;margin:0 0 8px;}
body.mobile-ui-active .msw-scope .ai-detail-title h3{font-size:14px;line-height:20px;}
body.mobile-ui-active .msw-scope .ai-detail-title p{font-size:11px;line-height:17px;}
body.mobile-ui-active .msw-scope .ai-detail-section{border:0;border-top:1px solid #dce6f3;margin:7px 0 0;border-radius:0;overflow:visible;}
body.mobile-ui-active .msw-scope .ai-detail-section>h3{padding:6px 0;background:transparent;border:0;font-size:13px;line-height:19px;}
body.mobile-ui-active .msw-scope .ai-detail-facts{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:5px 9px;padding:5px 0;}
body.mobile-ui-active .msw-scope .ai-detail-facts :is(dt,dd){font-size:12px;line-height:18px;margin:0;}
body.mobile-ui-active .msw-scope .ai-detail-facts>div:has(dd:nth-child(2)){min-width:0;}
body.mobile-ui-active .msw-scope .ai-detail-facts>div:last-child{grid-column:1/-1;}
body.mobile-ui-active .msw-scope .ai-detail-note{font-size:12px;line-height:18px;padding:7px 0;margin:0;}
body.mobile-ui-active .msw-scope .ai-detail-related{margin:0 0 6px;gap:5px;}
body.mobile-ui-active .msw-scope .ai-detail-related button{width:auto;min-height:30px;padding:4px 7px;margin:0;font-size:12px;line-height:20px;}
body.mobile-ui-active .msw-scope .msw-section-toggle>summary{padding:8px 0;font-size:13px;line-height:19px;font-weight:600;color:#203b5b;}
body.mobile-ui-active .msw-scope .msw-original-heading{display:none!important;}
body.mobile-ui-active .msw-scope .ai-detail-table tr{padding:5px 0;}
body.mobile-ui-active .msw-scope .ai-detail-table td{padding:2px 0 2px 86px;min-height:22px;font-size:12px;line-height:18px;}
body.mobile-ui-active .msw-scope .ai-detail-table td:before{width:80px;font-size:11px;line-height:18px;top:2px;}
body.mobile-ui-active .msw-scope .ai-detail-table small{font-size:11px;line-height:17px;margin:1px 0 0;}
body.mobile-ui-active .msw-scope .mr-record-title{margin:0 0 8px;font-size:12px;}
body.mobile-ui-active .msw-scope .mr-record-title strong{font-size:14px;line-height:20px;}
body.mobile-ui-active .msw-scope .mr-detail-fields{grid-template-columns:repeat(2,minmax(0,1fr));gap:5px 9px;font-size:12px;line-height:18px;}
body.mobile-ui-active .msw-scope .mr-detail-fields>div{display:block;}
body.mobile-ui-active .msw-scope .mr-detail-fields>div:is(:first-child,:nth-child(2),:nth-child(5),:nth-child(6),:nth-child(n+10)){grid-column:1/-1;display:flex;}
body.mobile-ui-active .msw-scope .mr-detail-fields dt{flex:0 0 76px;}
body.mobile-ui-active .msw-scope .mr-quantity-summary{margin:7px 0;padding:7px 8px;font-size:12px;line-height:18px;}
body.mobile-ui-active .msw-scope .mr-detail-section{margin:7px 0 0;padding:0;}
body.mobile-ui-active .msw-scope .mr-review-form{margin:7px 0 0;}
body.mobile-ui-active .msw-scope .mr-dialog-actions{margin:7px 0 0;}
body.mobile-ui-active .msw-scope .mr-dialog-actions button{min-height:36px;width:auto;min-width:100px;padding:6px 10px;margin:0;font-size:13px;line-height:22px;}
body.mobile-ui-active .msw-scope .mr-related table{table-layout:fixed;min-width:0;width:100%;font-size:11px;}
body.mobile-ui-active .msw-scope .mr-related :is(th,td){padding:5px 4px;font-size:11px;line-height:17px;overflow-wrap:anywhere;}
body.mobile-ui-active dialog.material-issue-dialog.msw-scope{position:fixed!important;inset:auto!important;top:calc(var(--msw-vv-top,0px) + 8px)!important;left:8px!important;width:calc(100% - 16px)!important;max-width:none!important;height:calc(var(--msw-vv-height,100dvh) - 16px);max-height:calc(var(--msw-vv-height,100dvh) - 16px)!important;margin:0!important;padding:0;box-sizing:border-box;overflow:hidden;}
body.mobile-ui-active dialog.material-issue-dialog.msw-scope>header{display:flex;align-items:center;gap:8px;flex:none;padding:8px 10px;}
body.mobile-ui-active dialog.material-issue-dialog.msw-scope>header>strong{font-size:14px;line-height:20px;flex:1;min-width:0;}
body.mobile-ui-active dialog.material-issue-dialog.msw-scope>header>button{order:-1;width:auto;min-height:36px;padding:6px 9px;margin:0;line-height:22px;font-size:13px;}
body.mobile-ui-active dialog.material-issue-dialog.msw-scope>.material-issue-dialog-body{max-height:calc(var(--msw-vv-height,100dvh) - 70px);overflow:auto;padding:9px 10px 55px;}
body.mobile-ui-active dialog.material-issue-dialog.msw-scope .panel{padding:0!important;border:0;margin:0!important;}
body.mobile-ui-active dialog.material-issue-dialog.msw-scope form{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:8px!important;padding:0!important;margin:0!important;}
body.mobile-ui-active dialog.material-issue-dialog.msw-scope form :is(input,select,textarea){box-sizing:border-box;min-width:0;width:100%;font-size:13px;line-height:20px;font-weight:400;min-height:36px;margin:0;padding:6px 8px;}
body.mobile-ui-active dialog.material-issue-dialog.msw-scope form>label{margin:0;font-size:12px;line-height:18px;}
body.mobile-ui-active dialog.material-issue-dialog.msw-scope :is(.form-static-field,.material-return-summary,.mr-return-projection,.mr-return-read-status,.mr-return-pending){font-size:12px;line-height:18px;padding:7px 8px;}
body.mobile-ui-active dialog.material-issue-dialog.msw-scope #returnForm>:is(.return-usage-search-select,.material-return-summary,.mr-return-projection,.mr-return-read-status,.mr-return-pending,.approval-fields,.material-submit-state){grid-column:1/-1;}
body.mobile-ui-active dialog.material-issue-dialog.msw-scope form>button[type=submit]{position:fixed!important;left:18px;right:18px;top:calc(var(--msw-vv-top,0px) + var(--msw-vv-height,100dvh) - 51px);width:calc(100% - 36px)!important;min-height:36px;margin:0;padding:6px 9px;font-size:13px;line-height:22px;z-index:5;box-shadow:0 -7px 0 7px #fff;}
body.mobile-ui-active dialog.material-return-switch-dialog.msw-scope{top:calc(var(--msw-vv-top,0px) + 8px);max-height:calc(var(--msw-vv-height,100dvh) - 16px);overflow:auto;}
body.mobile-ui-active .cw-modal.msw-scope{display:flex!important;position:fixed!important;inset:auto 0!important;top:var(--msw-vv-top,0px)!important;height:var(--msw-vv-height,100dvh)!important;padding:8px;align-items:stretch;z-index:1900;box-sizing:border-box;}
body.mobile-ui-active .cw-modal.msw-scope .cw-shell{display:flex;flex-direction:column;background:#fff;color:#18324d;width:100%;height:100%;max-height:100%;min-height:0;border-radius:9px;overflow:hidden;box-shadow:0 16px 48px #10283c40;}
body.mobile-ui-active .cw-modal.msw-scope .cw-header{display:flex;align-items:center;justify-content:flex-start;flex:none;padding:7px 10px;gap:8px;background:#fff;border-bottom:1px solid #dce5ef;}
body.mobile-ui-active .cw-modal.msw-scope .cw-header>div{min-width:0;}
body.mobile-ui-active .cw-modal.msw-scope .cw-header h2{font-size:14px;line-height:20px;margin:0;}
body.mobile-ui-active .cw-modal.msw-scope .cw-kicker{display:none;}
body.mobile-ui-active .cw-modal.msw-scope .cw-header>[data-cw-action=close]{order:-1;flex:none;min-height:36px;}
body.mobile-ui-active .cw-modal.msw-scope button{width:auto;font-size:12px;line-height:18px;min-height:34px;padding:5px 8px;margin:0;background:#fff;color:#175cc3;border:1px solid #d7e3f3;border-radius:6px;font-weight:400;}
body.mobile-ui-active .cw-modal.msw-scope button:disabled{opacity:.5;}
body.mobile-ui-active .cw-modal.msw-scope .cw-message{padding:0 10px;font-size:12px;line-height:18px;white-space:pre-wrap;color:#216a4a;flex:none;}
body.mobile-ui-active .cw-modal.msw-scope .cw-message:not(:empty){padding:6px 10px;border-bottom:1px solid #e5ebf3;}
body.mobile-ui-active .cw-modal.msw-scope .cw-error{color:#b42318;background:#fff5f3;}
body.mobile-ui-active .cw-modal.msw-scope .cw-body{padding:10px;min-height:0;flex:1;overflow:auto;font-size:12px;line-height:18px;}
body.mobile-ui-active .cw-modal.msw-scope .cw-body:has(>.msw-workflow-form){display:flex;flex-direction:column;overflow:hidden;}
body.mobile-ui-active .cw-modal.msw-scope .msw-workflow-form{display:flex;flex-direction:column;min-height:0;flex:1;margin:0;overflow:hidden;}
body.mobile-ui-active .cw-modal.msw-scope .msw-workflow-form>.cw-form{display:grid;flex:1;min-height:0;overflow:auto;overscroll-behavior:contain;grid-template-columns:repeat(2,minmax(0,1fr));grid-auto-rows:max-content;gap:8px;align-content:start;align-items:start;padding:0 2px 8px;}
body.mobile-ui-active .cw-modal.msw-scope :is(.msw-form-extra,.cw-wide){grid-column:1/-1;}
body.mobile-ui-active .cw-modal.msw-scope .cw-footer{display:flex;position:static;flex:none;flex-wrap:wrap;gap:6px;margin:0 -10px -10px;padding:7px 10px;background:#fff;border-top:1px solid #dce5ef;}
body.mobile-ui-active .cw-modal.msw-scope .cw-footer>button{flex:1;min-height:36px;margin:0;padding:6px;font-size:12px;}
body.mobile-ui-active .cw-modal.msw-scope .cw-footer button[type=submit]{background:#175dcc;border-color:#175dcc;color:#fff;}
body.mobile-ui-active .cw-modal.msw-scope .cw-field{display:flex;flex-direction:column;min-width:0;font-size:12px;line-height:18px;margin:0;gap:3px;}
body.mobile-ui-active .cw-modal.msw-scope .cw-field>span{font-weight:600;}
body.mobile-ui-active .cw-modal.msw-scope .cw-field :is(input,select,textarea){width:100%;min-width:0;font-weight:400;font-size:12px;line-height:18px;min-height:36px;padding:5px 7px;}
body.mobile-ui-active .cw-modal.msw-scope .cw-field input[type=checkbox]{width:16px;min-height:16px;height:16px;}
body.mobile-ui-active .cw-modal.msw-scope .cw-field input[type=file]{max-width:100%;padding:4px 0;}
body.mobile-ui-active .cw-modal.msw-scope .cw-actions{display:flex;flex-wrap:wrap;align-items:center;gap:6px;margin-bottom:7px;}
body.mobile-ui-active .cw-modal.msw-scope .cw-actions>button{width:auto;min-height:32px;padding:5px 8px;margin:0;font-size:12px;}
body.mobile-ui-active .cw-modal.msw-scope .cw-filters{display:flex;flex-wrap:nowrap;gap:5px;margin-bottom:6px;}
body.mobile-ui-active .cw-modal.msw-scope .cw-filters>input{flex:1;min-width:0;width:0;font-size:12px;min-height:34px;padding:5px 7px;}
body.mobile-ui-active .cw-modal.msw-scope .cw-filters>button{width:auto;min-height:34px;padding:5px 8px;}
body.mobile-ui-active .cw-modal.msw-scope .cw-filters>.msw-filter{flex:none!important;min-width:0;}
body.mobile-ui-active .cw-modal.msw-scope .cw-muted{font-size:11px;line-height:17px;margin:5px 0;color:#667e99;}
body.mobile-ui-active .cw-modal.msw-scope .cw-detail{display:grid;grid-template-columns:1fr;gap:4px;margin:8px 0;}
body.mobile-ui-active .cw-modal.msw-scope .cw-detail>div{display:grid;grid-template-columns:88px minmax(0,1fr);gap:7px;padding:4px 0;border-bottom:1px solid #edf1f5;}
body.mobile-ui-active .cw-modal.msw-scope .cw-detail>div.cw-wide{display:block;}
body.mobile-ui-active .cw-modal.msw-scope .cw-detail :is(dt,dd){font-size:12px;line-height:18px;margin:0;min-width:0;overflow-wrap:anywhere;}
body.mobile-ui-active .cw-modal.msw-scope .cw-detail dt{color:#667e99;}
body.mobile-ui-active .cw-modal.msw-scope .cw-body h3{font-size:14px;line-height:20px;margin:6px 0;}
body.mobile-ui-active .cw-modal.msw-scope .cw-files{display:flex;flex-direction:column;gap:5px;}
body.mobile-ui-active .cw-modal.msw-scope .cw-files small{font-size:11px;line-height:17px;font-weight:400;}
body.mobile-ui-active .cw-modal.msw-scope .cw-table-wrap{overflow:visible;}
body.mobile-ui-active .cw-modal.msw-scope .cw-table-wrap:has(.msw-cw-row) :is(table,tbody){display:block;min-width:0!important;width:100%;}
body.mobile-ui-active .cw-modal.msw-scope .cw-table-wrap:has(.msw-cw-row) thead{display:none;}
body.mobile-ui-active .cw-modal.msw-scope .msw-cw-row{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:1px 6px;padding:7px 8px;margin:0 0 6px;border:1px solid #dce6f3;border-radius:8px;background:#fff;}
body.mobile-ui-active .cw-modal.msw-scope .msw-cw-row.customer-page-hidden,body.mobile-ui-active .cw-modal.msw-scope .msw-cw-row.list-page-hidden{display:none!important;}
body.mobile-ui-active .cw-modal.msw-scope .msw-cw-row>td{display:block;position:static!important;z-index:auto!important;min-width:0;padding:0!important;border:0;box-shadow:none;font-size:11px;line-height:17px;}
body.mobile-ui-active .cw-modal.msw-scope .msw-cw-row>td:first-child{grid-column:1;grid-row:1;font-size:14px;line-height:20px;}
body.mobile-ui-active .cw-modal.msw-scope .msw-cw-row>td:first-child>strong{display:block;font-size:14px;line-height:20px;font-weight:600;overflow-wrap:anywhere;}
body.mobile-ui-active .cw-modal.msw-scope .msw-cw-row small{display:block;font-size:11px;line-height:17px;margin:0;}
body.mobile-ui-active .cw-modal.msw-scope .msw-cw-row>td:nth-child(2){grid-column:2;grid-row:1;justify-self:end;}
body.mobile-ui-active .cw-modal.msw-scope .msw-cw-row>td:nth-child(3){display:none;}
body.mobile-ui-active .cw-modal.msw-scope .msw-cw-row>td:nth-child(4){grid-column:1;grid-row:2;align-self:end;}
body.mobile-ui-active .cw-modal.msw-scope .msw-cw-row>td:nth-child(5){display:flex;flex-wrap:wrap;gap:0 8px;justify-content:flex-end;align-items:end;grid-column:2;grid-row:2;}
body.mobile-ui-active .cw-modal.msw-scope .msw-cw-row>td:nth-child(5) :is(button,summary){width:auto;min-height:28px;padding:4px 0;border:0;background:transparent;font-size:12px;line-height:20px;margin:0;}
body.mobile-ui-active .cw-modal.msw-scope .cw-status{display:inline-block;border-radius:5px;background:#eaf1fa;color:#37639b;font-size:11px;line-height:17px;padding:1px 5px;}
body.mobile-ui-active .cw-modal.msw-scope .msw-duplicate-return{display:none!important;}
body.mobile-ui-active .cw-modal.msw-scope .mobile-return-row{margin:0 0 7px;flex:none;}
body.mobile-ui-active .cw-modal.msw-scope .msw-workflow-form:not(:has(>.cw-form)){display:block;overflow:auto;overscroll-behavior:contain;}
body.mobile-ui-active .cw-modal.msw-scope .msw-workflow-form:not(:has(>.cw-form))>.cw-footer{position:sticky;bottom:-10px;}
body.mobile-ui-active .cw-modal.msw-scope .cw-body:has(>.cw-detail)>.mobile-return-row{display:inline-flex!important;width:auto!important;margin:0 6px 7px 0!important;vertical-align:top;}
body.mobile-ui-active .cw-modal.msw-scope .cw-body:has(>.cw-detail)>.cw-actions{display:inline-flex;vertical-align:top;}
body.mobile-ui-active .cw-modal.msw-scope .msw-workflow-history{margin:8px 0 0;border-top:1px solid #dce6f3;}
body.mobile-ui-active .cw-modal.msw-scope .msw-workflow-history>summary{padding:8px 0;font-size:13px;line-height:19px;font-weight:600;}
body.mobile-ui-active .cw-modal.msw-scope .msw-original-heading{display:none!important;}
body.mobile-ui-active .cw-modal.msw-scope .cw-history{margin:4px 0;padding-left:20px;font-size:12px;line-height:18px;}
body.mobile-ui-active .cw-modal.msw-scope .cw-history li{margin:0 0 7px;}
body.mobile-ui-active .cw-modal.msw-scope .cw-history p{margin:3px 0;}
body.mobile-ui-active .bf-modal.msw-scope{top:var(--msw-vv-top,0px)!important;height:var(--msw-vv-height,100dvh)!important;bottom:auto!important;z-index:2100;}





body.mobile-ui-active #content .msw-page .mr-record-panel tbody>.msw-material-row>td:nth-child(4){display:block;grid-row:3;grid-column:1;min-width:0;font-size:12px;line-height:18px;}


body.mobile-ui-active .msw-page .material-filter-strip>.msw-filter{flex:none;width:auto!important;min-width:0;}
body.mobile-ui-active .msw-page .material-filter-strip>input:first-child{flex:1 1 0!important;max-width:none!important;}
body.mobile-ui-active #content .msw-page :is(#material-usage-table-section,#material-return-table-section).mr-record-panel tbody>.msw-material-row{grid-template-columns:minmax(0,1fr) auto;gap:1px 6px;}
body.mobile-ui-active #content .msw-page :is(#material-usage-table-section,#material-return-table-section).mr-record-panel tbody>.msw-material-row>.mad-title{grid-row:1;grid-column:1;}
body.mobile-ui-active #content .msw-page :is(#material-usage-table-section,#material-return-table-section).mr-record-panel tbody>.msw-material-row>.mad-status{grid-row:1;grid-column:2;max-width:112px;}
body.mobile-ui-active #content .msw-page :is(#material-usage-table-section,#material-return-table-section).mr-record-panel tbody>.msw-material-row>.mad-project{grid-row:2;grid-column:1/-1;}
body.mobile-ui-active #content .msw-page :is(#material-usage-table-section,#material-return-table-section).mr-record-panel tbody>.msw-material-row>td:nth-child(4){display:block;grid-row:3;grid-column:1;font-size:12px;line-height:18px;}
body.mobile-ui-active #content .msw-page :is(#material-usage-table-section,#material-return-table-section).mr-record-panel tbody>.msw-material-row>td:nth-child(6){display:none;}
body.mobile-ui-active #content .msw-page :is(#material-usage-table-section,#material-return-table-section).mr-record-panel tbody>.msw-material-row>.msw-material-bottom{display:flex;grid-row:3;grid-column:2;}
body.mobile-ui-active :is(.msw-page,.msw-scope) .customer-fixed-pagination{padding:3px 0;margin:0;min-height:0;}
body.mobile-ui-active :is(.msw-page,.msw-scope) .customer-fixed-pagination>[data-page-summary],body.mobile-ui-active :is(.msw-page,.msw-scope) .list-page-jump,body.mobile-ui-active :is(.msw-page,.msw-scope) .list-page-size>span{display:none!important;}
body.mobile-ui-active :is(.msw-page,.msw-scope) .list-pagination-controls{display:flex;flex-wrap:nowrap;gap:5px;align-items:center;}
body.mobile-ui-active :is(.msw-page,.msw-scope) .list-page-turns{display:flex;flex-wrap:nowrap;gap:5px;align-items:center;}
body.mobile-ui-active :is(.msw-page,.msw-scope) .customer-fixed-pagination :is(button,select){width:auto;min-height:30px;margin:0;padding:4px 7px;font-size:11px;line-height:20px;}
body.mobile-ui-active .msw-page .ai-footnote{font-size:11px;line-height:17px;margin:6px 0 0;}
body.mobile-ui-active #content .msw-page :is(#material-usage-table-section,#material-return-table-section).mr-record-panel tbody>.msw-material-row>.mad-title{grid-row:1!important;grid-column:1!important;}
body.mobile-ui-active #content .msw-page :is(#material-usage-table-section,#material-return-table-section).mr-record-panel tbody>.msw-material-row>.mad-status{grid-row:1!important;grid-column:2!important;}
body.mobile-ui-active #content .msw-page :is(#material-usage-table-section,#material-return-table-section).mr-record-panel tbody>.msw-material-row>td:nth-child(6){display:none!important;}
body.mobile-ui-active dialog.material-issue-dialog.msw-scope{height:auto;}
body.mobile-ui-active dialog.material-issue-dialog.msw-scope #returnForm>.mr-return-field{grid-column:auto!important;}
body.mobile-ui-active dialog.material-issue-dialog.msw-scope #returnForm>.form-static-field{grid-column:auto!important;display:block;min-height:0;gap:3px;border:0;background:transparent;padding:0;}
body.mobile-ui-active dialog.material-issue-dialog.msw-scope #returnForm>.form-static-field .form-static-label{font-size:11px;line-height:17px;color:#708198;}
body.mobile-ui-active dialog.material-issue-dialog.msw-scope #returnForm>.form-static-field .form-static-value{font-size:12px;line-height:18px;font-weight:400;}
body.mobile-ui-active dialog.material-issue-dialog.msw-scope form>button[type=submit]{top:var(--msw-submit-top);background:#175dcc!important;color:#fff!important;border:1px solid #175dcc;}
body.mobile-ui-active dialog.material-issue-dialog.msw-scope form>button[type=submit]:disabled{opacity:.55;}
body.mobile-ui-active .msw-page .mr-record-panel .customer-fixed-table{border:0!important;border-radius:0;padding:0!important;background:transparent;box-shadow:none;}
body.mobile-ui-active .msw-page .msw-material-row td:nth-child(4) .cell-main{font-size:12px;line-height:18px;font-weight:400;}
body.mobile-ui-active .msw-page .msw-material-row .mad-status .cell-main{font-size:11px;line-height:17px;font-weight:400;}
body.mobile-ui-active dialog.material-issue-dialog.msw-scope>.material-issue-dialog-body{scroll-padding-bottom:55px;}
body.mobile-ui-active #content .msw-page :is(#material-usage-table-section,#material-return-table-section).mr-record-panel tbody>.msw-material-row>.mad-title{grid-column:1/-1!important;padding-right:68px!important;}
body.mobile-ui-active #content .msw-page :is(#material-usage-table-section,#material-return-table-section).mr-record-panel tbody>.msw-material-row>.mad-status{display:contents!important;}
body.mobile-ui-active #content .msw-page :is(#material-usage-table-section,#material-return-table-section).mr-record-panel tbody>.msw-material-row>.mad-status>.cell-main{grid-row:1;grid-column:2;justify-self:end;align-self:start;max-width:64px;white-space:normal;}
body.mobile-ui-active #content .msw-page :is(#material-usage-table-section,#material-return-table-section).mr-record-panel tbody>.msw-material-row .msw-state-meta{grid-row:3;grid-column:1/-1;min-width:0;font-size:11px;line-height:17px;}
body.mobile-ui-active .msw-page .msw-state-meta .cell-sub{display:inline;margin:0 5px 0 0;font-size:11px;line-height:17px;}
body.mobile-ui-active #content .msw-page :is(#material-usage-table-section,#material-return-table-section).mr-record-panel tbody>.msw-material-row>td:nth-child(4),body.mobile-ui-active #content .msw-page :is(#material-usage-table-section,#material-return-table-section).mr-record-panel tbody>.msw-material-row>.msw-material-bottom{grid-row:4!important;}
body.mobile-ui-active dialog.material-issue-dialog.msw-scope #returnForm>.form-static-field{grid-column:1/-1!important;display:flex;align-items:baseline;gap:8px;min-width:0;}
body.mobile-ui-active dialog.material-issue-dialog.msw-scope #returnForm>.form-static-field .form-static-label{flex:0 0 58px;}
body.mobile-ui-active dialog.material-issue-dialog.msw-scope #returnForm>.form-static-field .form-static-value{flex:1;min-width:0;max-width:100%;white-space:normal!important;overflow:visible!important;overflow-wrap:anywhere;text-overflow:clip;}
body.mobile-ui-active .msw-scope .mr-detail-fields>.msw-duplicate-state{display:none!important;}
body.mobile-ui-active .msw-page .msw-state-meta .cell-sub{display:inline!important;margin:0 5px 0 0!important;}
/* Inventory-specific list and the original material dialogs. */
body.mobile-ui-active #content.msw-page>.stock-workspace-heading{margin:0 0 6px;padding:0;}
body.mobile-ui-active #content.msw-page .stock-workspace-tabs{margin:0;gap:18px;}
body.mobile-ui-active #content.msw-page .stock-workspace-tabs button{font-size:14px;line-height:22px;min-height:36px;padding:5px 0;margin:0;}
body.mobile-ui-active #content.msw-page #material-stock-table-section{padding:0!important;border:0!important;background:transparent;margin:0!important;box-shadow:none;}
body.mobile-ui-active #content.msw-page .material-table-head{display:flex;align-items:center;gap:5px;flex-wrap:wrap;margin:0 0 6px;padding:0;}
body.mobile-ui-active #content.msw-page .material-table-head>h3{display:none;}
body.mobile-ui-active #content.msw-page .material-table-head>button{width:auto!important;min-height:34px;margin:0;padding:5px 8px;font-size:12px;line-height:22px;}
body.mobile-ui-active #content.msw-page #materialCreateToggle{background:#175dcc;color:#fff;border-color:#175dcc;}
body.mobile-ui-active #content.msw-page #material-todo-section{flex:1;min-width:0;margin:0;padding:0;border:0;background:transparent;box-shadow:none;}
body.mobile-ui-active #content.msw-page .msw-todos>summary{padding:5px 0;border:0;background:transparent;white-space:normal;font-size:11px;line-height:17px;display:flex;align-items:center;}
body.mobile-ui-active #content.msw-page .msw-todos .section-head{display:none;}
body.mobile-ui-active #content.msw-page .material-todo-grid{display:grid;grid-template-columns:1fr;gap:6px;margin:0;}
body.mobile-ui-active #content.msw-page .material-todo-card{padding:7px 8px;display:grid;grid-template-columns:1fr auto;gap:0 8px;min-height:0;margin:0;}
body.mobile-ui-active #content.msw-page .material-todo-card-top{gap:7px;}
body.mobile-ui-active #content.msw-page .material-todo-card-top strong{font-size:14px;}
body.mobile-ui-active #content.msw-page .material-todo-card small{grid-column:1;font-size:11px;line-height:17px;}
body.mobile-ui-active #content.msw-page .material-todo-card button{grid-column:2;grid-row:1/3;width:auto!important;margin:0;min-height:30px;font-size:12px;padding:4px 7px;align-self:center;}
body.mobile-ui-active #content.msw-page .material-a-table-scroll{overflow:visible!important;min-height:0!important;border:0!important;padding:0!important;background:transparent;}
body.mobile-ui-active #content.msw-page .material-inventory-table,body.mobile-ui-active #content.msw-page .material-inventory-table>tbody{display:block;width:100%;min-width:0!important;border:0;}
body.mobile-ui-active #content.msw-page .material-inventory-table>thead{display:none;}
body.mobile-ui-active #content.msw-page .material-inventory-table .msw-stock-row{display:grid!important;grid-template-columns:minmax(0,1fr) auto;gap:1px 6px;padding:7px 9px;margin:0 0 6px;border:1px solid #dce6f3;border-radius:8px;background:#fff;}
body.mobile-ui-active #content.msw-page .material-inventory-table .msw-stock-row>td{display:block;position:static!important;z-index:auto!important;min-width:0;width:auto!important;max-width:none!important;border:0;padding:0!important;font-size:12px;line-height:18px;overflow:visible;white-space:normal;}
body.mobile-ui-active #content.msw-page .material-inventory-table .msw-stock-row>td::before{display:none;}
body.mobile-ui-active #content.msw-page .msw-stock-row>td:nth-child(1){grid-column:1;grid-row:1/3;}
body.mobile-ui-active #content.msw-page .msw-stock-row>td:nth-child(1)>.cell-main{font-size:14px;line-height:20px;font-weight:600;overflow-wrap:anywhere;display:block;}
body.mobile-ui-active #content.msw-page .msw-stock-row .cell-sub{font-size:11px;line-height:17px;color:#647b99;margin:0;}
body.mobile-ui-active #content.msw-page .msw-stock-row>td:nth-child(2){display:none;}
body.mobile-ui-active #content.msw-page .msw-stock-row>td:nth-child(3){grid-column:1;grid-row:3;align-self:end;}
body.mobile-ui-active #content.msw-page .msw-stock-row>td:nth-child(3)>.cell-main{display:inline;font-size:12px;line-height:18px;}
body.mobile-ui-active #content.msw-page .msw-stock-row>td:nth-child(4){grid-column:2;grid-row:1;justify-self:end;font-size:11px;line-height:17px;color:#2e7966;background:#edf6f3;border-radius:4px;padding:0 4px!important;}
body.mobile-ui-active #content.msw-page .msw-stock-row>td:nth-child(5){grid-column:1;grid-row:4;}
body.mobile-ui-active #content.msw-page .msw-stock-row>td:nth-child(5)>.cell-main{display:inline;font-size:12px;line-height:18px;}
body.mobile-ui-active #content.msw-page .msw-stock-row>td:nth-child(6){grid-column:2;grid-row:3/5;align-self:end;}
body.mobile-ui-active #content.msw-page .msw-stock-row .material-action-group{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:0 8px;max-width:170px;}
body.mobile-ui-active #content.msw-page .msw-stock-row .material-action-group>:is(button,details)>summary,body.mobile-ui-active #content.msw-page .msw-stock-row .material-action-group>button{font-size:12px;line-height:20px;min-height:28px;padding:4px 0;margin:0;width:auto!important;border:0;color:#175dcc;background:transparent;}
body.mobile-ui-active #content.msw-page .msw-stock-row :is(.material-use-current,.material-detail-toggle){font-weight:600;}
body.mobile-ui-active #content.msw-page .msw-stock-row:is(.hidden,.list-page-hidden,.customer-page-hidden){display:none!important;}
body.mobile-ui-active #content.msw-page .msw-quantity-label{color:#71849c;font-size:11px;}
body.mobile-ui-active #content.msw-page .ai-heading{display:flex;align-items:center;justify-content:space-between;gap:8px;margin:0;padding:0;border:0;}
body.mobile-ui-active #content.msw-page .ai-heading h3{display:none;}
body.mobile-ui-active #content.msw-page .ai-heading p{margin:0;font-size:11px;line-height:17px;}
body.mobile-ui-active #content.msw-page .ai-toolbar{flex:none;width:auto;gap:5px;}
body.mobile-ui-active .msw-page .msw-ai-bottom{z-index:auto!important;}
body.mobile-ui-active dialog.material-workspace-dialog.msw-scope{position:fixed!important;inset:auto!important;top:calc(var(--msw-vv-top,0px) + 8px)!important;left:8px!important;width:calc(100% - 16px)!important;max-width:none!important;height:auto;max-height:calc(var(--msw-vv-height,100dvh) - 16px)!important;margin:0!important;padding:0;box-sizing:border-box;overflow:hidden;border:1px solid #dce6f3;border-radius:8px;color:#203b5b;}
body.mobile-ui-active dialog.material-workspace-dialog.msw-scope>header{display:flex;align-items:center;gap:8px;padding:8px 10px;border-bottom:1px solid #e4eaf3;}
body.mobile-ui-active dialog.material-workspace-dialog.msw-scope>header>strong{flex:1;min-width:0;font-size:14px;line-height:20px;}
body.mobile-ui-active dialog.material-workspace-dialog.msw-scope>header>button{order:-1;width:auto;min-height:36px;padding:6px 9px;margin:0;font-size:13px;line-height:22px;}
body.mobile-ui-active dialog.material-workspace-dialog.msw-scope>.material-dialog-body{overflow:auto;max-height:calc(var(--msw-vv-height,100dvh) - 74px);padding:9px 10px;font-size:13px;line-height:19px;}
body.mobile-ui-active .msw-scope #material-create-section{padding:0!important;margin:0!important;border:0;}
body.mobile-ui-active .msw-scope #material-create-section>h3{display:none;}
body.mobile-ui-active .msw-scope #materialForm,body.mobile-ui-active .msw-scope .msw-edit-scroll{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;padding:0;margin:0;}
body.mobile-ui-active .msw-scope :is(#materialForm,.msw-edit-scroll)>:is(label,.a-operation-field){display:grid;margin:0!important;gap:3px;min-width:0;}
body.mobile-ui-active .msw-scope :is(#materialForm,.msw-edit-scroll)>label:has([name=name]),body.mobile-ui-active .msw-scope .msw-edit-scroll>:is([name=costAdjustmentReason],.form-span-2){grid-column:1/-1;}
body.mobile-ui-active .msw-scope :is(#materialForm,.msw-edit-scroll) :is(input,select,textarea){box-sizing:border-box;width:100%;min-width:0;min-height:36px;font-size:13px;line-height:20px;font-weight:400;margin:0;padding:6px 8px;}
body.mobile-ui-active .msw-scope :is(#materialForm,.msw-edit-scroll) .a-operation-caption{font-size:12px;line-height:18px;font-weight:600;}
body.mobile-ui-active .msw-scope #materialForm>button[type=submit]{grid-column:1/-1;width:100%;min-height:36px;margin:0;padding:6px 9px;background:#175dcc;color:#fff;border-color:#175dcc;font-size:13px;line-height:22px;}
body.mobile-ui-active #materialEditModal.msw-scope,body.mobile-ui-active #materialArrivalModal.msw-scope{position:fixed!important;inset:auto 0!important;top:var(--msw-vv-top,0px)!important;height:var(--msw-vv-height,100dvh)!important;z-index:2100!important;padding:8px!important;display:flex;align-items:flex-start;justify-content:center;box-sizing:border-box;}
body.mobile-ui-active :is(#materialEditModal,#materialArrivalModal).msw-scope.hidden{display:none!important;}
body.mobile-ui-active #materialEditModal.msw-scope>.preview-modal-card,body.mobile-ui-active #materialArrivalModal.msw-scope>.preview-modal-card{display:flex;flex-direction:column;box-sizing:border-box;width:100%;max-width:none;margin:0;padding:0;background:#fff;border-radius:8px;max-height:calc(var(--msw-vv-height,100dvh) - 16px);overflow:hidden;}
body.mobile-ui-active .msw-edit-head,body.mobile-ui-active .msw-scope .system-dialog-header{display:flex;align-items:center;gap:8px;flex:none;padding:8px 10px;margin:0;}
body.mobile-ui-active .msw-edit-head h3,body.mobile-ui-active .msw-scope .system-dialog-header h3{font-size:14px;line-height:20px;margin:0;}
body.mobile-ui-active .msw-edit-head>button,body.mobile-ui-active .msw-scope #materialArrivalModalClose{position:static;order:-1;width:auto;min-height:36px;flex:none;padding:6px 9px;margin:0;font-size:13px;line-height:22px;}
body.mobile-ui-active #materialEditModal.msw-scope #materialEditForm{display:flex;flex-direction:column;overflow:hidden;min-height:0;padding:0!important;margin:0!important;}
body.mobile-ui-active #materialEditModal.msw-scope .msw-edit-scroll{overflow:auto;min-height:0;padding:9px 10px;}
body.mobile-ui-active .msw-scope #materialEditForm>.modal-actions{display:flex;flex:none;gap:6px;margin:0;padding:7px 10px;border-top:1px solid #e4eaf3;}
body.mobile-ui-active .msw-scope #materialEditForm>.modal-actions>button{flex:1;min-height:36px;margin:0;font-size:13px;line-height:22px;padding:6px;}
body.mobile-ui-active .msw-scope #materialEditForm [type=submit],body.mobile-ui-active .msw-scope #materialArrivalModalConfirm{background:#175dcc;color:#fff;border-color:#175dcc;}
body.mobile-ui-active .msw-scope #materialArrivalModalMessage,body.mobile-ui-active .msw-scope #materialArrivalModalFields{font-size:13px;line-height:19px;padding:8px 10px;margin:0;overflow:auto;min-height:0;}
body.mobile-ui-active .msw-scope #materialArrivalModalFields input{max-width:100%;min-width:0;min-height:36px;}
body.mobile-ui-active .msw-scope #materialArrivalModalFields+.modal-actions{padding:7px 10px;flex:none;margin:0;}
body.mobile-ui-active .msw-scope .material-a-detail .client-detail-overview{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:5px;margin:0 0 8px;}
body.mobile-ui-active .msw-scope .material-a-detail .stat-card{padding:6px 8px;min-height:0;}
body.mobile-ui-active .msw-scope .material-a-detail .client-detail-grid{display:block;}
body.mobile-ui-active .msw-scope .material-a-detail .client-detail-block{margin:0 0 7px;padding:0;border:0;}
body.mobile-ui-active .msw-scope .material-a-detail .client-detail-item{padding:4px 0;margin:0;border:0;font-size:12px;line-height:18px;}
body.mobile-ui-active .msw-scope .material-a-detail .client-detail-subtitle{font-size:13px;line-height:19px;margin:0 0 4px;}
body.mobile-ui-active .msw-scope .material-a-detail .msw-section-toggle .client-detail-subtitle{display:none;}
body.mobile-ui-active .msw-scope :is(#material-flow-section,#material-pending-section){padding:0!important;border:0;margin:0!important;}
body.mobile-ui-active .msw-scope :is(#material-flow-section,#material-pending-section)>.section-head{display:none;}
body.mobile-ui-active .msw-scope .material-flow-filter-strip{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:5px;margin:0 0 7px;}
body.mobile-ui-active .msw-scope .material-flow-filter-strip>input:first-child{grid-column:1/-1;}
body.mobile-ui-active .msw-scope .material-flow-filter-strip :is(input,select,button){min-width:0;width:100%;min-height:34px;margin:0;font-size:12px;padding:5px 7px;}
body.mobile-ui-active .msw-scope .material-flow-table-scroll{overflow:visible;}
body.mobile-ui-active .msw-scope .material-flow-table,body.mobile-ui-active .msw-scope .material-flow-table tbody{display:block;min-width:0;width:100%;}
body.mobile-ui-active .msw-scope .material-flow-table thead{display:none;}
body.mobile-ui-active .msw-scope .material-flow-row{display:grid;grid-template-columns:1fr auto;gap:1px 6px;padding:6px 8px;margin:0 0 5px;border:1px solid #dce6f3;border-radius:7px;}
body.mobile-ui-active .msw-scope .material-flow-row td{display:block;border:0;padding:0;width:auto;min-width:0;font-size:12px;line-height:18px;white-space:normal;overflow-wrap:anywhere;}
body.mobile-ui-active .msw-scope .material-flow-row td:nth-child(3){grid-row:1;grid-column:1;font-size:14px;line-height:20px;font-weight:600;}
body.mobile-ui-active .msw-scope .material-flow-row td:nth-child(2){grid-row:1;grid-column:2;font-size:11px;justify-self:end;}
body.mobile-ui-active .msw-scope .material-flow-row td:nth-child(1){grid-row:2;grid-column:1/-1;font-size:11px;color:#687f9c;}
body.mobile-ui-active .msw-scope .material-flow-row td:nth-child(4){grid-row:3;grid-column:1/-1;font-size:11px;color:#687f9c;}
body.mobile-ui-active .msw-scope .material-flow-row td:nth-child(5){grid-row:4;grid-column:1;}
body.mobile-ui-active .msw-scope .material-flow-row td:nth-child(6){grid-row:5;grid-column:1;}
body.mobile-ui-active .msw-scope .material-flow-row td:nth-child(7){grid-row:4/6;grid-column:2;align-self:end;}
body.mobile-ui-active .msw-scope .material-flow-row td button{width:auto;min-height:28px;margin:0;padding:4px 0;border:0;background:transparent;font-size:12px;line-height:20px;}
body.mobile-ui-active #inventoryCountsModal.msw-scope .bf-page-heading{display:flex;flex-wrap:wrap;align-items:center;gap:6px;margin:0 0 8px;}
body.mobile-ui-active #inventoryCountsModal.msw-scope .bf-page-heading h3{font-size:14px;line-height:20px;margin:0;}
body.mobile-ui-active #inventoryCountsModal.msw-scope .bf-page-heading p{font-size:11px;line-height:17px;margin:3px 0;}
body.mobile-ui-active #inventoryCountsModal.msw-scope .bf-page-heading>button{width:auto;min-height:34px;margin:0;padding:5px 8px;font-size:12px;line-height:22px;}
body.mobile-ui-active #inventoryCountsModal.msw-scope .bf-table-wrap{overflow:visible;padding:0;border:0;min-height:0!important;}
body.mobile-ui-active #inventoryCountsModal.msw-scope .ic-table,body.mobile-ui-active #inventoryCountsModal.msw-scope .ic-table tbody{display:block;width:100%;min-width:0;}
body.mobile-ui-active #inventoryCountsModal.msw-scope .ic-table thead{display:none;}
body.mobile-ui-active #inventoryCountsModal.msw-scope .msw-count-row{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:4px 8px;margin:0 0 6px;padding:7px 8px;border:1px solid #dce6f3;border-radius:7px;}
body.mobile-ui-active #inventoryCountsModal.msw-scope .msw-count-row td{display:block;position:static;width:auto;border:0;padding:0;min-width:0;font-size:12px;line-height:18px;white-space:normal;overflow-wrap:anywhere;}
body.mobile-ui-active #inventoryCountsModal.msw-scope .msw-count-row td small{display:block;margin:0;font-size:11px;line-height:17px;color:#6d819c;}
body.mobile-ui-active #inventoryCountsModal.msw-scope .msw-count-row td:first-child{grid-column:1/-1;font-size:14px;line-height:20px;}
body.mobile-ui-active #inventoryCountsModal.msw-scope .msw-count-list td:nth-child(3){grid-row:1;grid-column:2;justify-self:end;font-size:11px;}
body.mobile-ui-active #inventoryCountsModal.msw-scope .msw-count-list td:first-child{padding-right:50px;}
body.mobile-ui-active #inventoryCountsModal.msw-scope .msw-count-list td:nth-child(4)::before{content:'差异项 ';color:#6d819c;}
body.mobile-ui-active #inventoryCountsModal.msw-scope .msw-count-list td:last-child{grid-column:2;grid-row:2/4;align-self:end;justify-self:end;}
body.mobile-ui-active #inventoryCountsModal.msw-scope .msw-count-entry .ic-material{display:flex;align-items:center;gap:7px;margin:0;font-size:14px;line-height:20px;}
body.mobile-ui-active #inventoryCountsModal.msw-scope .ic-select{width:18px;height:18px;min-height:18px;margin:0;flex:none;}
body.mobile-ui-active #inventoryCountsModal.msw-scope .msw-count-entry td:nth-child(2)::before,body.mobile-ui-active #inventoryCountsModal.msw-scope .msw-count-detail td:nth-child(2)::before{content:'账面数 ';color:#6d819c;}
body.mobile-ui-active #inventoryCountsModal.msw-scope .msw-count-entry td:nth-child(3)::before,body.mobile-ui-active #inventoryCountsModal.msw-scope .msw-count-detail td:nth-child(3)::before{content:'实盘数 ';color:#6d819c;}
body.mobile-ui-active #inventoryCountsModal.msw-scope .msw-count-entry td:nth-child(4),body.mobile-ui-active #inventoryCountsModal.msw-scope .msw-count-detail td:nth-child(4){grid-column:1/-1;}
body.mobile-ui-active #inventoryCountsModal.msw-scope .msw-count-entry :is(.ic-actual,.ic-reason){box-sizing:border-box;width:100%;min-width:0;font-size:13px;line-height:20px;min-height:36px;margin:2px 0 0;padding:6px 7px;}
body.mobile-ui-active #inventoryCountsModal.msw-scope .msw-count-row:is(.hidden,.list-page-hidden,.customer-page-hidden){display:none!important;}
body.mobile-ui-active #inventoryCountsModal.msw-scope .bf-content:has(#inventoryCountForm){display:flex;flex-direction:column;overflow:hidden;padding:0;}
body.mobile-ui-active #inventoryCountsModal.msw-scope .workflow-body:has(#inventoryCountForm){display:flex;flex-direction:column;overflow:hidden;min-height:0;}
body.mobile-ui-active #inventoryCountsModal.msw-scope .workflow-body:has(#inventoryCountForm)>.bf-page-heading{flex:none;padding:7px 10px;margin:0;}
body.mobile-ui-active #inventoryCountsModal.msw-scope .msw-count-form{display:flex;flex-direction:column;min-height:0;overflow:hidden;margin:0;}
body.mobile-ui-active #inventoryCountsModal.msw-scope .bf-form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px;margin:0 0 8px;}
body.mobile-ui-active #inventoryCountsModal.msw-scope .bf-field{margin:0;min-width:0;font-size:12px;line-height:18px;gap:3px;}
body.mobile-ui-active #inventoryCountsModal.msw-scope .bf-wide{grid-column:1/-1;}
body.mobile-ui-active #inventoryCountsModal.msw-scope .bf-field :is(input,textarea){width:100%;box-sizing:border-box;min-width:0;min-height:36px;font-size:13px;line-height:20px;font-weight:400;margin:0;padding:6px 7px;}
body.mobile-ui-active #inventoryCountsModal.msw-scope .bf-field textarea{min-height:58px;}
body.mobile-ui-active #inventoryCountsModal.msw-scope .bf-section{padding:0;margin:7px 0 0;}
body.mobile-ui-active #inventoryCountsModal.msw-scope .bf-section h3{font-size:13px;line-height:19px;margin:0 0 4px;}
body.mobile-ui-active #inventoryCountsModal.msw-scope .bf-section p{font-size:11px;line-height:17px;margin:0 0 6px;}
body.mobile-ui-active #inventoryCountsModal.msw-scope .msw-count-form>.bf-form-footer{flex:none;padding:7px 10px;margin:0;border-top:1px solid #dce6f3;}
body.mobile-ui-active #inventoryCountsModal.msw-scope .bf-form-footer button{width:auto;min-height:36px;margin:0;padding:6px 9px;font-size:13px;line-height:22px;}
body.mobile-ui-active #inventoryCountsModal.msw-scope .bf-primary{background:#175dcc;color:#fff;border-color:#175dcc;}
body.mobile-ui-active #content.msw-page .material-table-head>.section-head-note{display:none!important;}
body.mobile-ui-active #content.msw-page #material-todo-section{flex:1 1 auto!important;width:auto!important;max-width:none!important;}
body.mobile-ui-active #content.msw-page .material-table-head>.msw-main-more{flex:none!important;width:auto!important;}
body.mobile-ui-active #content.msw-page .material-table-head{flex-wrap:nowrap!important;}
body.mobile-ui-active #content.msw-page .msw-stock-row>td:nth-child(1){grid-column:1/-1!important;grid-row:1/3!important;padding-right:48px!important;}
body.mobile-ui-active #content.msw-page .msw-stock-row>td:nth-child(2){display:none!important;}
body.mobile-ui-active #content.msw-page .msw-stock-row>td:nth-child(3){grid-column:1!important;grid-row:3!important;}
body.mobile-ui-active #content.msw-page .msw-stock-row>td:nth-child(4){grid-column:2!important;grid-row:1!important;}
body.mobile-ui-active #content.msw-page .msw-stock-row>td:nth-child(5){grid-column:1!important;grid-row:4!important;}
body.mobile-ui-active #content.msw-page .msw-stock-row>td:nth-child(6){grid-column:2!important;grid-row:3/5!important;}
body.mobile-ui-active #content.msw-page .msw-stock-row .material-action-group{max-width:174px!important;gap:0 8px!important;}
body.mobile-ui-active #content.msw-page .msw-stock-row .material-action-group>button{display:inline-block!important;min-width:0!important;min-height:28px!important;font-size:12px!important;line-height:20px!important;padding:4px 0!important;}
body.mobile-ui-active .msw-scope #materialForm,body.mobile-ui-active .msw-scope .msw-edit-scroll{grid-template-columns:repeat(2,minmax(0,1fr))!important;}
body.mobile-ui-active .msw-scope .msw-material-field{display:flex!important;flex-direction:column!important;gap:3px!important;min-width:0!important;margin:0!important;grid-column:auto!important;font-size:12px;line-height:18px;}
body.mobile-ui-active .msw-scope .msw-material-field:has([name=name]),body.mobile-ui-active .msw-scope .msw-material-field:has([name=costAdjustmentReason]){grid-column:1/-1!important;}
body.mobile-ui-active .msw-scope .msw-material-field>span{font-weight:600;}
body.mobile-ui-active .msw-scope #materialForm>*{grid-column:auto!important;}
body.mobile-ui-active .msw-scope #materialForm>:is(.msw-material-field:has([name=name]),button,.fw-full){grid-column:1/-1!important;}
body.mobile-ui-active .msw-edit-head{display:flex!important;align-items:center!important;}
body.mobile-ui-active .msw-edit-head>button{align-self:center!important;}
body.mobile-ui-active #content.msw-page #materialEditForm>.modal-actions{display:flex!important;flex-direction:row!important;}
body.mobile-ui-active #content.msw-page #materialEditForm>.modal-actions>button{width:auto!important;flex:1!important;}
body.mobile-ui-active .msw-scope .material-a-detail .stat-card{padding:5px 7px!important;min-height:0!important;}
body.mobile-ui-active .msw-scope .material-a-detail .stat-card strong,body.mobile-ui-active .msw-scope .material-a-detail .stat-value{font-size:15px!important;line-height:21px!important;}
body.mobile-ui-active .msw-scope .material-a-detail .client-detail-item{padding:3px 0!important;min-height:0!important;}
body.mobile-ui-active #content.msw-page .open-inventory-counts{display:inline-flex!important;}
body.mobile-ui-active #inventoryCountsModal.msw-scope .bf-primary,body.mobile-ui-active #inventoryCountsModal.msw-scope button[type=submit]{background:#175dcc!important;border-color:#175dcc!important;color:#fff!important;min-height:36px!important;}
body.mobile-ui-active #inventoryCountsModal.msw-scope .msw-count-form>.bf-form-footer>button[type=submit]{width:100%!important;}
body.mobile-ui-active #content.msw-page .msw-stock-row .material-row-menu{width:260px;max-width:calc(100vw - 24px);}
body.mobile-ui-active #content.msw-page .material-row-menu .msw-info-field{display:flex;align-items:baseline;gap:7px;margin:4px 5px;font-size:12px;line-height:18px;}
body.mobile-ui-active #content.msw-page .material-row-menu .msw-info-label{color:#6d819c;flex:0 0 84px;font-size:11px;}
body.mobile-ui-active #content.msw-page .material-row-menu .msw-info-value{min-width:0;flex:1;}
body.mobile-ui-active #content.msw-page .msw-stock-row .material-row-menu .cell-main{font-size:12px!important;line-height:18px;}
body.mobile-ui-active #content.msw-page .msw-stock-row>td:nth-child(5){text-align:left!important;}
body.mobile-ui-active #content.msw-page .msw-edit-head{flex-direction:row!important;justify-content:flex-start!important;}
body.mobile-ui-active #content.msw-page .msw-edit-head>button{order:-1!important;position:static!important;transform:none!important;align-self:center!important;}
body.mobile-ui-active #content.msw-page .msw-edit-head>h3{flex:1;min-width:0;width:auto!important;margin:0!important;}
body.mobile-ui-active #inventoryCountsModal.msw-scope .msw-help{flex-basis:100%;font-size:11px;line-height:17px;margin:0;}
body.mobile-ui-active #inventoryCountsModal.msw-scope .msw-help>summary{font-size:11px;line-height:17px;color:#657d9a;padding:3px 0;}
body.mobile-ui-active #inventoryCountsModal.msw-scope .bf-page-heading>div{flex:1;min-width:0;}
body.mobile-ui-active #materialFlowDialog.msw-scope .msw-help{font-size:11px;line-height:17px;margin:0 0 5px;color:#647b99;}
body.mobile-ui-active #materialFlowDialog.msw-scope .msw-help>summary{padding:4px 0;}
body.mobile-ui-active #materialFlowDialog.msw-scope .material-flow-filter-strip{display:flex!important;align-items:center!important;gap:5px!important;margin:0 0 6px!important;}
body.mobile-ui-active #materialFlowDialog.msw-scope .material-flow-filter-strip>input:first-child{flex:1 1 0!important;width:0!important;max-width:none!important;min-width:0!important;}
body.mobile-ui-active #materialFlowDialog.msw-scope .material-flow-filter-strip>.msw-filter{flex:none;}
body.mobile-ui-active #materialFlowDialog.msw-scope .material-flow-table-scroll{padding:0!important;border:0!important;background:transparent!important;}
body.mobile-ui-active #materialFlowDialog.msw-scope .material-flow-table tbody{display:block!important;}
body.mobile-ui-active #materialFlowDialog.msw-scope .material-flow-row{display:grid!important;grid-template-columns:minmax(0,1fr) auto!important;gap:1px 6px!important;padding:7px 8px!important;margin:0 0 6px!important;border:1px solid #dce6f3!important;border-radius:7px!important;}
body.mobile-ui-active #materialFlowDialog.msw-scope .material-flow-row>td{display:block!important;position:static!important;min-width:0!important;border:0!important;padding:0!important;background:transparent!important;width:auto!important;text-align:left!important;z-index:auto!important;}
body.mobile-ui-active #materialFlowDialog.msw-scope .material-flow-row>td:nth-child(3){grid-column:1/-1!important;grid-row:1!important;padding-right:60px!important;font-size:14px;line-height:20px;}
body.mobile-ui-active #materialFlowDialog.msw-scope .material-flow-row>td:nth-child(2){grid-column:2!important;grid-row:1!important;font-size:11px;line-height:17px;}
body.mobile-ui-active #materialFlowDialog.msw-scope .material-flow-row>td:nth-child(1){grid-column:1/-1!important;grid-row:2!important;font-size:11px;line-height:17px;}
body.mobile-ui-active #materialFlowDialog.msw-scope .material-flow-row>td:nth-child(4){grid-column:1/-1!important;grid-row:3!important;font-size:11px;line-height:17px;}
body.mobile-ui-active #materialFlowDialog.msw-scope .material-flow-row>td:nth-child(5){grid-column:1!important;grid-row:4!important;font-size:12px;line-height:18px;}
body.mobile-ui-active #materialFlowDialog.msw-scope .material-flow-row>td:nth-child(6){grid-column:1!important;grid-row:5!important;font-size:12px;line-height:18px;}
body.mobile-ui-active #materialFlowDialog.msw-scope .material-flow-row>td:nth-child(7){grid-column:2!important;grid-row:4/6!important;align-self:end;}
body.mobile-ui-active #materialFlowDialog.msw-scope .material-flow-row>td:nth-child(7)>button{display:inline-flex!important;min-height:28px;line-height:20px;font-size:12px;}
body.mobile-ui-active #materialFlowDialog.msw-scope .material-flow-row>td:nth-child(3){grid-column:1/-1!important;grid-row:1!important;padding-right:0!important;}
body.mobile-ui-active #materialFlowDialog.msw-scope .material-flow-row>td:nth-child(2){grid-column:2!important;grid-row:2!important;}
body.mobile-ui-active #materialFlowDialog.msw-scope .material-flow-row>td:nth-child(1){grid-column:1!important;grid-row:2!important;}
body.mobile-ui-active #materialFlowDialog.msw-scope .material-flow-row>td:nth-child(5){grid-column:1!important;grid-row:4!important;align-self:center;}
body.mobile-ui-active #materialFlowDialog.msw-scope .material-flow-row>td:nth-child(6){display:none!important;}
body.mobile-ui-active #materialFlowDialog.msw-scope .material-flow-row>td:nth-child(7){grid-column:2!important;grid-row:4!important;}
