/* Compact presentation scoped to current reimbursements, without changing business form nodes. */
body.mobile-ui-active #content>.mre-page{padding:8px 9px;margin:0;font-size:12px;line-height:17px;}
body.mobile-ui-active #content>.mre-page .reim-page-heading{display:flex;min-height:0;margin:0 0 7px;padding:0 0 7px;gap:6px;}
body.mobile-ui-active #content>.mre-page .reim-page-heading h2{display:none;}
body.mobile-ui-active #content>.mre-page .reim-page-heading>.reim-actions{display:flex;align-items:center;gap:5px;margin:0;}
body.mobile-ui-active #content>.mre-page :is(button,summary){min-height:30px;padding:5px 7px;font-size:12px;line-height:18px;width:auto;flex:none;}
body.mobile-ui-active #content>.mre-page .reim-list{margin:0;padding:0;border:0;}
body.mobile-ui-active #content>.mre-page .reim-filters{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:6px;margin:0 0 5px;align-items:center;}
body.mobile-ui-active #content>.mre-page .reim-filters>label:has([name=q]){font-size:0;line-height:0;gap:0;}
body.mobile-ui-active #content>.mre-page .reim-filter-buttons{grid-column:auto;gap:4px;}
body.mobile-ui-active #content>.mre-page .reim-filter-buttons button{min-height:34px;}
body.mobile-ui-active #content>.mre-page .reim-filters :is(input:not([type=checkbox]),select){height:34px;padding:5px 7px;font-size:13px;line-height:20px;}
body.mobile-ui-active #content>.mre-page .mre-filter-panel{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;}
body.mobile-ui-active #content>.mre-page .mre-filter-panel>label{min-width:0;max-width:none;font-size:12px;font-weight:400;gap:3px;}
body.mobile-ui-active #content>.mre-page .mre-filter-panel>.reim-filter-extra{display:contents;}
body.mobile-ui-active #content>.mre-page .mre-filter-panel [data-clear-filters]{justify-self:start;}
body.mobile-ui-active :is(.mre-page,.mre-owned) .mre-popup{position:relative;margin:0;}
body.mobile-ui-active :is(.mre-page,.mre-owned) .mre-popup>summary{list-style:none;cursor:pointer;min-height:30px;box-sizing:border-box;padding:5px 7px;color:#175dcc;border:1px solid #d9e4f3;border-radius:6px;background:#fff;font-size:12px;line-height:18px;white-space:nowrap;}
body.mobile-ui-active :is(.mre-page,.mre-owned) .mre-popup>summary::-webkit-details-marker{display:none;}
body.mobile-ui-active :is(.mre-page,.mre-owned) .mre-popup-body,body.mobile-ui-active #content>.mre-page .mre-filter-panel{position:fixed;right:auto!important;bottom:auto!important;z-index:17020;box-sizing:border-box;max-width:calc(100vw - 20px);overflow:auto;overscroll-behavior:contain;margin:0;padding:9px;border:1px solid #d5e1f1;border-radius:7px;background:#fff;box-shadow:0 7px 24px #17365a25;}
body.mobile-ui-active :is(.mre-page,.mre-owned) .mre-popup-body{display:grid;gap:5px;}
body.mobile-ui-active :is(.mre-page,.mre-owned) .mre-popup:not([open])>.mre-popup-body{display:none!important;}
body.mobile-ui-active #content>.mre-page .reim-list-summary{gap:3px 7px;min-height:0;margin:0 0 4px;font-size:11px;line-height:16px;}
body.mobile-ui-active #content>.mre-page .reim-list-summary>span{margin:0;}
body.mobile-ui-active #content>.mre-page [data-reim-sort]{margin-left:auto;}
body.mobile-ui-active #content>.mre-page [data-reim-sort] label{display:flex;flex-direction:row;gap:4px;align-items:center;font-size:11px;line-height:16px;}
body.mobile-ui-active #content>.mre-page [data-reim-sort] select{width:135px;height:30px;min-height:30px;padding:3px 5px;font-size:11px;}
body.mobile-ui-active #content>.mre-page .reim-table-wrap{border:0;overflow:visible;min-height:0!important;}
body.mobile-ui-active #content>.mre-page .reim-table,body.mobile-ui-active #content>.mre-page .reim-table tbody{display:block;width:100%;min-width:0!important;}
body.mobile-ui-active #content>.mre-page .reim-table thead{display:none;}
body.mobile-ui-active #content>.mre-page .reim-table .reim-record-row{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:3px 8px;padding:6px 8px;margin:0 0 5px;border:1px solid #dce5f1;border-radius:7px;background:#fff;}
body.mobile-ui-active #content>.mre-page .reim-table .reim-record-row td{display:block!important;padding:0;border:0;min-width:0;width:auto!important;font-size:12px;line-height:17px;text-align:left;}
body.mobile-ui-active #content>.mre-page .reim-table .reim-record-row td::before{display:none;}
body.mobile-ui-active #content>.mre-page .reim-table .reim-record-row td:nth-child(1){grid-column:1;grid-row:1;}
body.mobile-ui-active #content>.mre-page .reim-table .reim-record-row td:nth-child(1)>strong{font-size:14px;line-height:20px;font-weight:600;}
body.mobile-ui-active #content>.mre-page .reim-table .reim-record-row td:is(:nth-child(2),:nth-child(4),:nth-child(5),:nth-child(6)){display:none!important;}
body.mobile-ui-active #content>.mre-page .reim-table .reim-record-row td:nth-child(3){grid-column:2;grid-row:1;text-align:right;font-size:13px;line-height:20px;font-weight:600;white-space:normal!important;}
body.mobile-ui-active #content>.mre-page .reim-table .reim-record-row td:nth-child(7){grid-column:1;grid-row:2;align-self:end;}
body.mobile-ui-active #content>.mre-page .reim-table .reim-record-row td:nth-child(8){grid-column:2;grid-row:2;align-self:end;padding:0;border:0;}
body.mobile-ui-active #content>.mre-page .reim-table small{font-size:11px;line-height:16px;margin:1px 0 0;}
body.mobile-ui-active #content>.mre-page .reim-status{font-size:11px;line-height:16px;padding:1px 3px;}
body.mobile-ui-active #content>.mre-page .reim-row-actions{display:flex;gap:4px;}
body.mobile-ui-active #content>.mre-page .reim-row-actions button{border:0;background:none;color:#175dcc;min-height:26px;padding:3px 0;font-size:11px;line-height:18px;font-weight:500;}
body.mobile-ui-active #content>.mre-page .reim-table .reim-empty-row{display:block;border:0;padding:8px 0;}
body.mobile-ui-active #content>.mre-page .reim-table td[colspan]{display:block!important;padding:0;border:0;}
body.mobile-ui-active #content>.mre-page .reim-pagination{margin:4px 0 0;display:block;}
body.mobile-ui-active #content>.mre-page .reim-pagination :is([data-page-summary],.list-page-size>span,.list-page-jump){display:none;}
body.mobile-ui-active #content>.mre-page .list-pagination-controls{display:flex;flex-wrap:nowrap;gap:5px;align-items:center;justify-content:center;}
body.mobile-ui-active #content>.mre-page .list-page-size{width:80px;margin:0;}
body.mobile-ui-active #content>.mre-page .list-page-turns{display:flex;gap:5px;align-items:center;}
body.mobile-ui-active #content>.mre-page .list-pagination-controls :is(button,select){min-height:30px;height:30px;padding:4px 5px;font-size:11px;line-height:20px;}
body.mobile-ui-active .mre-owned[data-mobile-reimbursement-source]{box-sizing:border-box;padding:8px;inset:auto 0!important;top:var(--mre-vv-top,0px)!important;height:var(--mre-vv-height,100dvh)!important;align-items:flex-start;justify-content:center;}
body.mobile-ui-active .mre-owned[data-mobile-reimbursement-source]>section{box-sizing:border-box;width:100%;max-width:none;max-height:100%;min-height:0;padding:0;border:1px solid #d9e3ef;border-radius:8px;background:#fff;display:flex;flex-direction:column;overflow:hidden;font-size:12px;line-height:17px;}
body.mobile-ui-active .mre-owned .reim-detail-header{padding:7px 9px;gap:5px 7px;flex-wrap:wrap;}
body.mobile-ui-active .mre-owned .reim-detail-header h3{font-size:14px;line-height:20px;margin:0;}
body.mobile-ui-active .mre-owned .reim-detail-header button{font-size:12px;line-height:18px;min-height:30px;padding:5px 7px;}
body.mobile-ui-active .mre-owned .reim-detail-close{display:none;}
body.mobile-ui-active .mre-owned [data-detail-status]{font-size:11px;line-height:16px;margin-left:auto;}
body.mobile-ui-active .mre-owned :is(button,summary){font-size:12px;line-height:18px;min-height:30px;padding:5px 7px;}
body.mobile-ui-active .mre-owned label{font-size:12px;line-height:17px;gap:3px;font-weight:400;}
body.mobile-ui-active .mre-owned :is(input:not([type=checkbox]),select,textarea){font-size:13px;line-height:20px;font-weight:400;padding:6px 7px;min-height:36px;height:auto;}
body.mobile-ui-active .mre-owned textarea{min-height:64px;}
body.mobile-ui-active .mre-owned input[type=checkbox]{width:16px;height:16px;min-height:16px;}
body.mobile-ui-active .mre-owned .reim-editor-content{padding:8px 9px;}
body.mobile-ui-active .mre-owned .reim-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px 8px;}
body.mobile-ui-active .mre-owned #reimForm{flex:1;min-height:0;}
body.mobile-ui-active .mre-owned .reim-grid>label:has([name=title],[name=projectId],[name=clientId],[name=sourcePurchaseId],[name=payeeAccount],[name=invoiceNote],output){grid-column:1/-1;}
body.mobile-ui-active .mre-owned .reim-wide{grid-column:1/-1;}
body.mobile-ui-active .mre-owned output{font-size:12px;line-height:17px;padding:5px 7px;min-height:0;}
body.mobile-ui-active .mre-owned .reim-extra{margin:7px 0;padding:6px 0;border:0;border-top:1px solid #e6edf5;border-radius:0;background:#fff;}
body.mobile-ui-active .mre-owned .reim-extra>summary{padding:5px 0;font-size:12px;line-height:18px;}
body.mobile-ui-active .mre-owned .reim-extra[open]>summary{margin-bottom:6px;}
body.mobile-ui-active .mre-owned .reim-evidence{padding:7px 8px;gap:5px;border-radius:6px;}
body.mobile-ui-active .mre-owned .reim-file{margin:1px 0;font-size:11px;line-height:16px;gap:4px;}
body.mobile-ui-active .mre-owned .reim-editor-actions{display:block;padding:6px 9px;gap:0;}
body.mobile-ui-active .mre-owned .reim-editor-actions [data-draft-status]{display:block;max-width:none;font-size:11px;line-height:16px;margin:0 0 4px;}
body.mobile-ui-active .mre-owned .reim-editor-actions [data-draft-status]:empty{display:none;}
body.mobile-ui-active .mre-owned .reim-editor-actions .reim-actions{display:flex;flex-wrap:wrap;gap:5px;margin:0;}
body.mobile-ui-active .mre-owned .reim-editor-actions .reim-actions button{min-height:34px;font-size:12px;line-height:18px;width:auto;flex:1 1 auto;padding:6px 7px;}
body.mobile-ui-active .mre-owned .reim-editor-actions [data-submit=submit]{flex-grow:2;background:#175dcc;color:#fff;}
body.mobile-ui-active .mre-owned .reim-editor-actions [data-submit=draft]{background:#eef4ff;color:#175dcc;}
body.mobile-ui-active .mre-owned .reim-editor-actions [data-stop-edit]{flex:0 0 auto;color:#617895;background:transparent;border-color:transparent;font-weight:400;}
body.mobile-ui-active .mre-owned .reim-detail-content{padding:8px 9px;}
body.mobile-ui-active .mre-owned .reim-detail-metrics{grid-template-columns:repeat(2,minmax(0,1fr));gap:5px 9px;padding:7px 8px;border:0;background:#f4f7fb;}
body.mobile-ui-active .mre-owned .reim-detail-metrics>div{padding:0;border:0;}
body.mobile-ui-active .mre-owned .reim-detail-metrics span{font-size:11px;line-height:16px;}
body.mobile-ui-active .mre-owned .reim-detail-metrics strong{font-size:14px;line-height:20px;margin:0;}
body.mobile-ui-active .mre-owned .reim-detail-intro{display:block;margin:7px 0;}
body.mobile-ui-active .mre-owned .reim-detail-intro strong{font-size:14px;line-height:20px;}
body.mobile-ui-active .mre-owned .reim-detail-intro span{font-size:11px;line-height:16px;margin:2px 0 0;}
body.mobile-ui-active .mre-owned .reim-info-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:5px 9px;margin:0 0 7px;}
body.mobile-ui-active .mre-owned .reim-info-field{display:block;min-width:0;}
body.mobile-ui-active .mre-owned .reim-info-field dt{font-size:11px;line-height:16px;}
body.mobile-ui-active .mre-owned .reim-info-field dd{font-size:12px;line-height:17px;margin:0;}
body.mobile-ui-active .mre-owned .mre-info-wide{grid-column:1/-1;}
body.mobile-ui-active .mre-owned .reim-detail-tabs{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:3px;margin:5px 0 7px;}
body.mobile-ui-active .mre-owned .reim-detail-tabs button{font-size:11px;line-height:16px;padding:6px 0;min-height:32px;white-space:normal;}
body.mobile-ui-active .mre-owned .reim-detail-footer{padding:6px 9px;gap:5px;align-items:center;}
body.mobile-ui-active .mre-owned .reim-detail-main-actions{display:flex;flex-wrap:wrap;gap:5px;}
body.mobile-ui-active .mre-owned .reim-detail-main-actions button{font-size:12px;line-height:18px;padding:5px 7px;min-height:32px;}
body.mobile-ui-active .mre-owned .reim-detail-footer>.mre-popup{margin-left:auto;}
body.mobile-ui-active .mre-owned .reim-voucher-gallery{gap:5px;margin:0 0 7px;}
body.mobile-ui-active .mre-owned .reim-voucher-item{gap:5px;}
body.mobile-ui-active .mre-owned .reim-voucher-item button{font-size:11px;line-height:16px;padding:3px;gap:6px;}
body.mobile-ui-active .mre-owned .reim-voucher-item span{max-width:calc(100vw - 155px);}
body.mobile-ui-active .mre-owned .reim-timeline li{display:block;padding:5px 0;font-size:12px;line-height:17px;}
body.mobile-ui-active .mre-owned .reim-timeline time{font-size:11px;line-height:16px;}
body.mobile-ui-active .mre-owned .reim-history-table{font-size:11px;line-height:16px;}
body.mobile-ui-active .mre-owned .reim-history-table th,body.mobile-ui-active .mre-owned .reim-history-table td{padding:5px 3px;}
body.mobile-ui-active .mre-owned.mre-action[data-mobile-reimbursement-source]>section{position:relative;max-height:calc(var(--mre-vv-height,100dvh) - 16px - min(24px,3vh));margin-top:min(24px,3vh);}
body.mobile-ui-active .mre-action>section>h3{font-size:14px;line-height:20px;margin:0;padding:10px 9px 10px 65px;border-bottom:1px solid #e2eaf5;}
body.mobile-ui-active .mre-action form{display:flex!important;flex-direction:column;min-height:0;overflow:hidden;gap:0;}
body.mobile-ui-active .mre-action .mre-action-scroll{overflow:auto;min-height:0;padding:8px 9px;}
body.mobile-ui-active .mre-action .reim-modal-body{gap:7px;}
body.mobile-ui-active .mre-action .mobile-return-row{position:absolute;top:6px;left:9px;width:auto;min-height:0;margin:0!important;padding:0!important;}
body.mobile-ui-active .mre-action .mobile-return-row button{min-height:30px;font-size:12px;padding:5px 7px;margin:0;}
body.mobile-ui-active .mre-action form>.reim-actions{display:flex;gap:5px;flex:none;margin:0;padding:6px 9px;border-top:1px solid #e2eaf5;background:#fff;}
body.mobile-ui-active .mre-action form>.reim-actions button{flex:1;width:auto;min-height:34px;margin:0;}
body.mobile-ui-active .mre-action form>.reim-actions [type=submit]{background:#175dcc;color:#fff;}
body.mobile-ui-active .mre-owned [data-error]{font-size:12px;line-height:18px;overflow-wrap:anywhere;white-space:pre-wrap;padding:7px;margin:6px 0;max-width:100%;box-sizing:border-box;}
body.mobile-ui-active :is(.mre-page,.mre-owned) :is([hidden],.hidden,.list-page-hidden){display:none!important;}

body.mobile-ui-active:has(.mre-owned) #content>.mre-page :is(.mre-filter-panel,.mre-popup-body){display:none!important;}

body.mobile-ui-active #content>.mre-page .mre-filter-panel [data-reim-sort]{grid-column:1/-1;margin:0;}
body.mobile-ui-active #content>.mre-page .mre-filter-panel [data-reim-sort] select{width:auto;flex:1;}
