body.mobile-ui-active #content>.iv-workspace.mfi-page{padding:8px;margin:0;height:auto;overflow:visible;color:#203b5b;font-size:12px;line-height:17px;}
body.mobile-ui-active #content>.mfi-page>.fw-header{display:flex;flex-direction:column;gap:5px;margin:0 0 6px;padding:0;}
body.mobile-ui-active #content>.mfi-page>.fw-header>h3{display:none;}
body.mobile-ui-active #content>.mfi-page [data-iv-tools]{display:flex;align-items:center;gap:5px;order:-1;}
body.mobile-ui-active #content>.mfi-page [data-iv-tabs]{display:flex;gap:5px;margin:0;}
body.mobile-ui-active #content>.mfi-page :is(button,summary){box-sizing:border-box;width:auto;min-width:0;min-height:32px;margin:0;padding:5px 7px;font-size:12px;line-height:20px;border-radius:6px;}
body.mobile-ui-active #content>.mfi-page [data-iv=new-invoice]{background:#175dcc;color:#fff;border-color:#175dcc;}
body.mobile-ui-active #content>.mfi-page .iv-page-filters{display:grid!important;grid-template-columns:minmax(0,1fr) auto!important;gap:5px;align-items:end;margin:0 0 5px;padding:0;}
body.mobile-ui-active #content>.mfi-page .iv-page-filters>.mfi-search{grid-column:auto!important;display:block;min-width:0;margin:0;font-size:0;line-height:0;}
body.mobile-ui-active #content>.mfi-page .mfi-search>span{display:none;}
body.mobile-ui-active #content>.mfi-page .mfi-search>input{box-sizing:border-box;width:100%;min-height:34px;height:34px;padding:5px 7px;margin:0;font-size:12px;line-height:20px;}
body.mobile-ui-active .mfi-popup{position:static;margin:0;padding:0;min-width:0;}
body.mobile-ui-active .mfi-popup>summary{list-style:none;box-sizing:border-box;min-height:34px;padding:5px 7px;border:1px solid #d7e2ef;border-radius:6px;color:#175dcc;background:#fff;cursor:pointer;white-space:nowrap;font-size:12px;line-height:22px;}
body.mobile-ui-active .mfi-popup>summary::-webkit-details-marker{display:none;}
body.mobile-ui-active :is(.mfi-popup>.mfi-popup-body,.mfi-owned .iv-detail-more>div){position:fixed!important;right:auto!important;bottom:auto!important;box-sizing:border-box;z-index:1950;padding:10px;margin:0;background:#fff;border:1px solid #d7e2ef;border-radius:8px;box-shadow:0 7px 22px #203b5b26;overflow:auto;overscroll-behavior:contain;font-size:12px;line-height:17px;}
body.mobile-ui-active .mfi-popup:not([open])>.mfi-popup-body{display:none;}
body.mobile-ui-active .mfi-popup-body>.iv-field{display:grid;gap:3px;min-width:0;margin:0 0 8px;font-size:12px;line-height:17px;}
body.mobile-ui-active .mfi-popup-body :is(input,select){box-sizing:border-box;width:100%;min-width:0;min-height:36px;margin:0;padding:6px 7px;font-size:13px;line-height:20px;font-weight:400;}
body.mobile-ui-active .mfi-popup-body>button{display:block;width:100%;min-height:34px;margin:0 0 4px;text-align:left;padding:5px 7px;}
body.mobile-ui-active .mfi-popup-body .iv-date-range{margin:0 0 8px;font-size:12px;line-height:17px;}
body.mobile-ui-active .mfi-popup-body .iv-date-range>div{display:grid;grid-template-columns:minmax(0,1fr);gap:3px;margin-top:3px;}
body.mobile-ui-active #content>.mfi-page [data-iv-status]{margin:4px 0;font-size:12px;line-height:17px;}
body.mobile-ui-active #content>.mfi-page [data-iv-status]:empty{display:none;}
body.mobile-ui-active #content>.mfi-page .iv-list-overview{display:block;margin:0;padding:0;}
body.mobile-ui-active #content>.mfi-page .iv-summary{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:3px 7px;padding:4px 0;margin:0;}
body.mobile-ui-active #content>.mfi-page .iv-summary>span{display:flex;align-items:baseline;flex-wrap:wrap;gap:2px 5px;min-width:0;font-size:11px;line-height:16px;}
body.mobile-ui-active #content>.mfi-page .iv-summary strong{display:inline;font-size:13px;line-height:19px;margin:0;}
body.mobile-ui-active #content>.mfi-page [data-iv-sort]{margin:3px 0;font-size:11px;}
body.mobile-ui-active #content>.mfi-page [data-iv-sort] label{display:flex;align-items:center;gap:5px;margin:0;font-size:11px;}
body.mobile-ui-active #content>.mfi-page [data-iv-sort] select{min-height:28px;height:28px;padding:3px 5px;font-size:11px;width:154px;}
body.mobile-ui-active #content>.mfi-page .iv-stat-note{margin:0 0 5px;padding:0;}
body.mobile-ui-active #content>.mfi-page .iv-stat-note>summary{min-height:26px;padding:4px 0;font-size:11px;line-height:16px;}
body.mobile-ui-active #content>.mfi-page .iv-note{font-size:11px;line-height:16px;margin:4px 0;}
body.mobile-ui-active :is(#content>.mfi-page,.iv-modal.mfi-owned[data-mobile-invoice-source]) .iv-table-wrap{min-width:0;max-width:100%;overflow:visible;border:0;margin:0;}
body.mobile-ui-active :is(#content>.mfi-page,.iv-modal.mfi-owned[data-mobile-invoice-source]) .iv-table-wrap:is([data-page-size-mode=auto],:not([data-page-size-mode])){height:auto!important;min-height:0!important;max-height:none!important;}
body.mobile-ui-active :is(#content>.mfi-page,.iv-modal.mfi-owned[data-mobile-invoice-source]) .iv-table-wrap :is(table,tbody){display:block!important;width:100%!important;min-width:0!important;max-width:100%;margin:0;}
body.mobile-ui-active :is(#content>.mfi-page,.iv-modal.mfi-owned[data-mobile-invoice-source]) .iv-table-wrap thead{display:none;}
body.mobile-ui-active :is(#content>.mfi-page,.iv-modal.mfi-owned[data-mobile-invoice-source]) .iv-table-wrap tbody>tr{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:2px 7px;padding:6px 7px;margin:0 0 5px;border:1px solid #dce6f3;border-radius:7px;background:#fff;height:auto;}
body.mobile-ui-active :is(#content>.mfi-page,.iv-modal.mfi-owned[data-mobile-invoice-source]) .iv-table-wrap tr>td{display:block;position:static!important;width:auto!important;min-width:0!important;max-width:none!important;max-height:none!important;height:auto!important;padding:0!important;border:0;box-shadow:none!important;background:none;font-size:12px;line-height:17px;white-space:normal!important;overflow:visible!important;overflow-wrap:anywhere;}
body.mobile-ui-active :is(#content>.mfi-page,.iv-modal.mfi-owned[data-mobile-invoice-source]) .iv-table-wrap tr>td::before{content:attr(data-label);display:block;color:#6a809d;font-size:11px;line-height:16px;}
body.mobile-ui-active :is(#content>.mfi-page,.iv-modal.mfi-owned[data-mobile-invoice-source]) .iv-table-wrap td small{display:block;max-height:none;white-space:normal!important;overflow:visible!important;font-size:11px;line-height:16px;margin:1px 0 0;color:#6a809d;}
body.mobile-ui-active :is(#content>.mfi-page,.iv-modal.mfi-owned[data-mobile-invoice-source]) .iv-table-wrap td button{width:auto;min-height:28px;padding:4px 0;margin:0;border:0;background:transparent;color:#175dcc;font-size:12px;line-height:20px;}
body.mobile-ui-active #content>.mfi-page .iv-table-wrap tr>td:first-child{grid-column:1/-1;grid-row:1;font-size:14px;line-height:20px;font-weight:600;}
body.mobile-ui-active #content>.mfi-page .iv-table-wrap tr>td:first-child small{font-weight:400;}
body.mobile-ui-active #content>.mfi-page .iv-table-wrap tr>td:is(:first-child,:nth-child(2),:last-child)::before{display:none;}
body.mobile-ui-active #content>.mfi-page .iv-table-wrap tr>td:nth-child(2){grid-column:1/-1;grid-row:2;}
body.mobile-ui-active #content>.mfi-page .iv-table-wrap tr>td:nth-child(2) small{display:inline;margin-left:5px;}
body.mobile-ui-active #content>.mfi-page .mfi-obligations td:nth-child(3){grid-column:1;grid-row:3;}
body.mobile-ui-active #content>.mfi-page .mfi-obligations td:nth-child(4){grid-column:2;grid-row:3;}
body.mobile-ui-active #content>.mfi-page .mfi-obligations td:nth-child(5){grid-column:1/-1;grid-row:4;}
body.mobile-ui-active #content>.mfi-page .mfi-obligations td:nth-child(5)::before{display:inline;margin-right:5px;}
body.mobile-ui-active #content>.mfi-page .mfi-obligations td:nth-child(5)>small{display:inline;margin-right:5px;}
body.mobile-ui-active #content>.mfi-page .iv-table-wrap tr>td:last-child{grid-column:1/-1;display:flex;flex-wrap:wrap;justify-content:flex-end;gap:3px 9px;align-items:center;}
body.mobile-ui-active #content>.mfi-page .mfi-registered td:nth-child(4){grid-column:1;grid-row:3;}
body.mobile-ui-active #content>.mfi-page .mfi-registered td:nth-child(5){grid-column:2;grid-row:3;}
body.mobile-ui-active #content>.mfi-page .mfi-registered td:nth-child(3){grid-column:1;grid-row:4;align-self:center;font-size:11px;line-height:16px;}
body.mobile-ui-active #content>.mfi-page .mfi-registered td:nth-child(3)::before{display:inline;margin-right:4px;}
body.mobile-ui-active #content>.mfi-page .mfi-registered td:last-child{grid-column:2;grid-row:4;}
body.mobile-ui-active :is(#content>.mfi-page,.mfi-owned) .iv-table-wrap tr:is(.customer-page-hidden,.list-page-hidden){display:none!important;}
body.mobile-ui-active :is(#content>.mfi-page,.mfi-owned) .iv-table-wrap td[colspan]{grid-column:1/-1!important;grid-row:auto!important;font-weight:400!important;justify-content:flex-start!important;}
body.mobile-ui-active :is(#content>.mfi-page,.mfi-owned) .iv-table-wrap td[colspan]::before{display:none!important;}
body.mobile-ui-active :is(#content>.mfi-page,.mfi-owned) .iv-pager :is([data-page-summary],.list-page-jump,.list-page-size>span){display:none;}
body.mobile-ui-active :is(#content>.mfi-page,.mfi-owned) .list-pagination-controls{display:flex;flex-wrap:nowrap;justify-content:center;align-items:center;gap:5px;width:100%;}
body.mobile-ui-active :is(#content>.mfi-page,.mfi-owned) .list-page-size{width:84px;margin:0;}
body.mobile-ui-active :is(#content>.mfi-page,.mfi-owned) .list-page-turns{display:flex;align-items:center;gap:5px;}
body.mobile-ui-active :is(#content>.mfi-page,.mfi-owned) .list-pagination-controls :is(button,select){min-height:30px;padding:4px 5px;font-size:11px;line-height:20px;}
body.mobile-ui-active :is(.iv-modal,.cip-modal).mfi-owned[data-mobile-invoice-source]{position:fixed!important;inset:auto 0!important;top:var(--mfi-vv-top,0px)!important;height:var(--mfi-vv-height,100dvh)!important;padding:8px!important;display:flex!important;box-sizing:border-box;align-items:stretch;justify-content:center;z-index:1850;}
body.mobile-ui-active .cip-modal.mfi-owned[data-mobile-invoice-source]{z-index:1950;}
body.mobile-ui-active .mfi-owned[data-mobile-invoice-source]>:is(.iv-shell,.cip-dialog){display:flex;flex-direction:column;width:100%!important;max-width:none!important;height:100%;max-height:100%;min-height:0;overflow:hidden;background:#fff;border-radius:8px;}
body.mobile-ui-active .mfi-owned[data-mobile-invoice-source]>:is(.iv-shell,.cip-dialog)>header{display:flex;align-items:center;justify-content:flex-start;gap:7px;flex:none;padding:7px 9px;margin:0;border-bottom:1px solid #e4ebf3;background:#fff;}
body.mobile-ui-active .mfi-owned[data-mobile-invoice-source]>:is(.iv-shell,.cip-dialog)>header :is(h2,h3){font-size:14px;line-height:20px;margin:0;}
body.mobile-ui-active .mfi-owned[data-mobile-invoice-source]>:is(.iv-shell,.cip-dialog)>header>button{order:-1;flex:none;background:#fff;color:#175dcc;border:1px solid #d7e2ef;}
body.mobile-ui-active .mfi-owned[data-mobile-invoice-source] :is(button,summary){box-sizing:border-box;min-height:32px;width:auto;margin:0;padding:5px 7px;font-size:12px;line-height:20px;font-weight:400;}
body.mobile-ui-active .mfi-owned[data-mobile-invoice-source] button.secondary{background:#eef4ff;color:#175dcc;border-color:#dce7fb;}
body.mobile-ui-active .mfi-owned[data-mobile-invoice-source] :is(input:not([type=checkbox]):not([type=hidden]),select,textarea){box-sizing:border-box;width:100%;min-width:0;min-height:36px;margin:0;padding:6px 7px;font-size:13px;line-height:20px;font-weight:400;}
body.mobile-ui-active .mfi-owned[data-mobile-invoice-source] input[type=checkbox]{width:16px;min-height:16px;height:16px;padding:0;}
body.mobile-ui-active .mfi-owned[data-mobile-invoice-source] .iv-message{flex:none;padding:0 9px;font-size:12px;line-height:17px;}
body.mobile-ui-active .mfi-owned[data-mobile-invoice-source] .iv-message:not(:empty){padding:6px 9px;}
body.mobile-ui-active .mfi-owned[data-mobile-invoice-source] .iv-body{padding:8px 9px;flex:1;min-height:0;min-width:0;overflow:auto;font-size:12px;line-height:17px;}
body.mobile-ui-active .mfi-owned[data-mobile-invoice-source] .iv-body:has(>:is(.iv-editor,.mfi-form)){display:flex;flex-direction:column;overflow:hidden;padding:0;}
body.mobile-ui-active .mfi-owned[data-mobile-invoice-source] :is(.iv-editor,.mfi-form){display:flex!important;flex-direction:column;flex:1;min-height:0;max-height:none!important;overflow:hidden;margin:0;padding:0;gap:0;}
body.mobile-ui-active .mfi-owned[data-mobile-invoice-source] :is(.iv-editor-content,.mfi-form-scroll){display:block;min-height:0;overflow:auto;overscroll-behavior:contain;padding:8px 9px;}
body.mobile-ui-active .mfi-owned[data-mobile-invoice-source] .iv-editor-content>*{margin:0 0 8px;}
body.mobile-ui-active .mfi-owned[data-mobile-invoice-source] .iv-editor-heading h3{font-size:14px;line-height:20px;margin:0;}
body.mobile-ui-active .mfi-owned[data-mobile-invoice-source] :is(.iv-editor-setup,.iv-editor-ticket,.iv-form,.iv-editor-extra>div){display:grid;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:8px;}
body.mobile-ui-active .mfi-owned[data-mobile-invoice-source] .iv-editor-setup>label:has([name=ourEntityId]),body.mobile-ui-active .mfi-owned[data-mobile-invoice-source] .iv-editor-ticket>label:has([name=invoiceNo]){grid-column:1/-1;}
body.mobile-ui-active .mfi-owned[data-mobile-invoice-source] .iv-field{display:grid;min-width:0;gap:3px;margin:0;font-size:12px;line-height:17px;font-weight:400;}
body.mobile-ui-active .mfi-owned[data-mobile-invoice-source] .iv-field>span{font-weight:400;}
body.mobile-ui-active .mfi-owned[data-mobile-invoice-source] :is(.iv-wide,.mfi-wide){grid-column:1/-1;}
body.mobile-ui-active .mfi-owned[data-mobile-invoice-source] .iv-editor-business{padding:6px 7px;border-radius:6px;}
body.mobile-ui-active .mfi-owned[data-mobile-invoice-source] .iv-editor-business legend{font-size:12px;line-height:17px;}
body.mobile-ui-active .mfi-owned[data-mobile-invoice-source] .iv-allocation{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:5px 7px;padding:5px 0 7px;border-bottom:1px solid #e5ebf3;margin:0 0 4px;}
body.mobile-ui-active .mfi-owned[data-mobile-invoice-source] .iv-allocation>label:has([name=sourceType],[name=sourceId]){grid-column:1/-1;}
body.mobile-ui-active .mfi-owned[data-mobile-invoice-source] .iv-allocation>button{align-self:end;min-height:34px;}
body.mobile-ui-active .mfi-owned[data-mobile-invoice-source] .iv-allocation-info{grid-column:1/-1;margin:0;font-size:11px;line-height:16px;}
body.mobile-ui-active .mfi-owned[data-mobile-invoice-source] .iv-editor-business-footer{gap:4px 7px;padding:3px 0 0;}
body.mobile-ui-active .mfi-owned[data-mobile-invoice-source] :is(.iv-note,.iv-keep,.iv-editor-party){font-size:11px;line-height:16px;}
body.mobile-ui-active .mfi-owned[data-mobile-invoice-source] .iv-note{margin:4px 0;}
body.mobile-ui-active .mfi-owned[data-mobile-invoice-source] .iv-editor-kept span{white-space:normal;overflow:visible;text-overflow:clip;overflow-wrap:anywhere;}
body.mobile-ui-active .mfi-owned[data-mobile-invoice-source] .iv-editor-extra>summary{min-height:30px;padding:5px 0;font-size:12px;line-height:20px;}
body.mobile-ui-active .mfi-owned[data-mobile-invoice-source] :is(.iv-editor-footer,.iv-footer){display:flex;flex:none;position:static;gap:6px;padding:7px 9px;margin:0;border-top:1px solid #e4ebf3;background:#fff;}
body.mobile-ui-active .mfi-owned[data-mobile-invoice-source] :is(.iv-editor-footer,.iv-footer)>button{flex:1;min-height:36px;}
body.mobile-ui-active .mfi-owned[data-mobile-invoice-source] [type=submit]{background:#175dcc;color:#fff;border-color:#175dcc;}
body.mobile-ui-active .mfi-owned[data-mobile-invoice-source] .iv-detail-title{gap:5px;padding:0 0 6px;margin:0 0 6px;}
body.mobile-ui-active .mfi-owned[data-mobile-invoice-source] .iv-detail-title h3{font-size:14px;line-height:20px;}
body.mobile-ui-active .mfi-owned[data-mobile-invoice-source] .iv-detail-amount strong{font-size:16px;line-height:22px;}
body.mobile-ui-active .mfi-owned[data-mobile-invoice-source] .iv-detail-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:4px 8px;margin:0 0 6px;}
body.mobile-ui-active .mfi-owned[data-mobile-invoice-source] .iv-detail-fields>div{display:block;min-width:0;}
body.mobile-ui-active .mfi-owned[data-mobile-invoice-source] .iv-detail-fields dt{font-size:11px;line-height:16px;color:#6a809d;}
body.mobile-ui-active .mfi-owned[data-mobile-invoice-source] .iv-detail-fields dd{font-size:12px;line-height:17px;margin:0;}
body.mobile-ui-active .mfi-owned[data-mobile-invoice-source] :is(.iv-detail-sources,.iv-detail-attachments,.iv-detail-history,.iv-detail-delivery){padding-top:6px;margin-top:6px;}
body.mobile-ui-active .mfi-owned[data-mobile-invoice-source] .iv-detail :is(h4,summary){font-size:12px;line-height:17px;min-height:26px;margin:0;padding:4px 0;}
body.mobile-ui-active .mfi-owned[data-mobile-invoice-source] .iv-detail-file{padding:4px 5px;}
body.mobile-ui-active .mfi-owned[data-mobile-invoice-source] .iv-detail-file>span{white-space:normal;overflow:visible;overflow-wrap:anywhere;font-size:11px;line-height:16px;}
body.mobile-ui-active .mfi-owned[data-mobile-invoice-source] .iv-detail-footer{position:sticky;bottom:-8px;gap:5px;flex-wrap:wrap;padding:6px 0 0;margin:6px 0 0;}
body.mobile-ui-active .mfi-owned[data-mobile-invoice-source] .iv-detail-footer>div{gap:5px;}
body.mobile-ui-active .mfi-owned[data-mobile-invoice-source] .mfi-detail-back{margin-bottom:5px;}
body.mobile-ui-active .mfi-owned[data-mobile-invoice-source] .mfi-detail-back>button{padding:3px 0;min-height:28px;background:transparent;border:0;}
body.mobile-ui-active .mfi-owned[data-mobile-invoice-source] .mfi-allocation-table td:nth-child(2){grid-column:1/-1;grid-row:1;font-size:13px;font-weight:600;}
body.mobile-ui-active .mfi-owned[data-mobile-invoice-source] .mfi-allocation-table td:nth-child(2)::before{display:none;}
body.mobile-ui-active .mfi-owned[data-mobile-invoice-source] .mfi-allocation-table td:first-child{grid-column:1;grid-row:2;}
body.mobile-ui-active .mfi-owned[data-mobile-invoice-source] .mfi-allocation-table td:nth-child(3){grid-column:1/-1;grid-row:3;}
body.mobile-ui-active .mfi-owned[data-mobile-invoice-source] .mfi-allocation-table td:last-child{grid-column:2;grid-row:2;}
body.mobile-ui-active .mfi-owned[data-mobile-invoice-source] .mfi-manager-table td:first-child{grid-column:1/-1;grid-row:1;font-size:14px;line-height:20px;}
body.mobile-ui-active .mfi-owned[data-mobile-invoice-source] .mfi-manager-table td:first-child::before,body.mobile-ui-active .mfi-owned[data-mobile-invoice-source] .mfi-manager-table td:last-child::before{display:none;}
body.mobile-ui-active .mfi-owned[data-mobile-invoice-source] .mfi-manager-table td:nth-child(2){grid-column:1/-1;grid-row:2;}
body.mobile-ui-active .mfi-owned[data-mobile-invoice-source] .mfi-manager-table td:last-child{grid-column:2;justify-self:end;}
body.mobile-ui-active .mfi-owned[data-mobile-invoice-source] .iv-file-preview{inset:0;max-width:none;border-radius:8px;}
body.mobile-ui-active .mfi-owned[data-mobile-invoice-source] .iv-file-preview>header{display:grid;grid-template-columns:minmax(0,1fr);gap:5px;padding:7px 9px;}
body.mobile-ui-active .mfi-owned[data-mobile-invoice-source] .iv-file-preview>header>strong{font-size:12px;line-height:17px;white-space:normal;overflow-wrap:anywhere;}
body.mobile-ui-active .mfi-owned[data-mobile-invoice-source] .iv-file-preview>header>div{grid-row:1;display:flex;justify-content:space-between;}
body.mobile-ui-active .mfi-owned[data-mobile-invoice-source] .iv-file-preview [data-iv=preview-close]{order:-1;}
body.mobile-ui-active .mfi-owned[data-mobile-invoice-source] .iv-preview-content{padding:6px;}
body.mobile-ui-active .mfi-owned[data-mobile-invoice-source] .iv-leave{font-size:12px;line-height:17px;}
body.mobile-ui-active .mfi-owned[data-mobile-invoice-source] .cip-content{flex:1;min-height:0;overflow:auto;padding:8px 9px;}
body.mobile-ui-active .mfi-owned[data-mobile-invoice-source] .cip-form{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;}
body.mobile-ui-active .mfi-owned[data-mobile-invoice-source] .cip-field{min-width:0;margin:0;font-size:12px;line-height:17px;}
body.mobile-ui-active .mfi-owned[data-mobile-invoice-source] .cip-footer{display:flex;flex:none;flex-wrap:wrap;gap:6px;padding:7px 9px;}
body.mobile-ui-active .mfi-owned[data-mobile-invoice-source] .cip-footer>.cip-status{flex-basis:100%;font-size:11px;line-height:16px;}
body.mobile-ui-active :is(.mfi-page,.mfi-owned) [hidden],body.mobile-ui-active :is(.mfi-page,.mfi-owned) .hidden{display:none!important;}

body.mobile-ui-active #content>.mfi-page .iv-summary>div{display:flex;flex-wrap:wrap;align-items:baseline;gap:2px 5px;min-width:0;margin:0;padding:0;border:0;border-radius:0;background:transparent;font-size:11px;line-height:16px;}
body.mobile-ui-active #content>.mfi-page .iv-summary>div>span{font-size:11px;line-height:16px;color:#6a809d;}
body.mobile-ui-active #content>.mfi-page .iv-summary>div>strong{font-size:13px;line-height:19px;margin:0;}
body.mobile-ui-active .mfi-owned[data-mobile-invoice-source] .iv-body>[data-iv=retry-write]{flex:none;margin:6px 9px;}
body.mobile-ui-active .mfi-owned[data-mobile-invoice-source] .mfi-form-scroll>.iv-history{font-size:11px;line-height:16px;margin:4px 0;padding-left:18px;}
body.mobile-ui-active .mfi-owned[data-mobile-invoice-source] .mfi-form-scroll>h4{font-size:12px;line-height:17px;margin:8px 0 4px;}
body.mobile-ui-active .mfi-owned[data-mobile-invoice-source] .cip-form>:is(.cip-basic-fields,details){grid-column:1/-1;}
body.mobile-ui-active .mfi-owned[data-mobile-invoice-source] :is(.cip-basic-fields,.cip-group-fields){display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;}
body.mobile-ui-active .mfi-owned[data-mobile-invoice-source] .cip-form label{display:grid;gap:3px;min-width:0;margin:0;font-size:12px;line-height:17px;}
body.mobile-ui-active .mfi-owned[data-mobile-invoice-source] .cip-form label:has([name=title],[name=taxNo],[name=address],[name=bankAccount],[name=email]){grid-column:1/-1;}
body.mobile-ui-active .mfi-owned[data-mobile-invoice-source] [data-cip-client]{font-size:11px;line-height:16px;overflow-wrap:anywhere;}

/* Previous generic invoice grid positions must not overlap original money/status cells. */
body.mobile-ui-active #content>.iv-workspace.mfi-page .iv-table-wrap tbody>tr{grid-template-columns:repeat(2,minmax(0,1fr))!important;}
body.mobile-ui-active #content>.iv-workspace.mfi-page .iv-table-wrap tbody>tr>td:nth-child(1){grid-column:1/-1!important;grid-row:1!important;}
body.mobile-ui-active #content>.iv-workspace.mfi-page .iv-table-wrap tbody>tr>td:nth-child(2){grid-column:1/-1!important;grid-row:2!important;}
body.mobile-ui-active #content>.iv-workspace.mfi-page table.mfi-registered tbody>tr>td:nth-child(3){grid-column:1!important;grid-row:4!important;}
body.mobile-ui-active #content>.iv-workspace.mfi-page table.mfi-registered tbody>tr>td:nth-child(4){grid-column:1!important;grid-row:3!important;}
body.mobile-ui-active #content>.iv-workspace.mfi-page table.mfi-registered tbody>tr>td:nth-child(5){grid-column:2!important;grid-row:3!important;}
body.mobile-ui-active #content>.iv-workspace.mfi-page table.mfi-registered tbody>tr>td:nth-child(6){grid-column:2!important;grid-row:4!important;}
body.mobile-ui-active #content>.iv-workspace.mfi-page table.mfi-obligations tbody>tr>td:nth-child(3){grid-column:1!important;grid-row:3!important;}
body.mobile-ui-active #content>.iv-workspace.mfi-page table.mfi-obligations tbody>tr>td:nth-child(4){grid-column:2!important;grid-row:3!important;}
body.mobile-ui-active #content>.iv-workspace.mfi-page table.mfi-obligations tbody>tr>td:nth-child(5){grid-column:1/-1!important;grid-row:4!important;}
body.mobile-ui-active #content>.iv-workspace.mfi-page table.mfi-obligations tbody>tr>td:nth-child(6){grid-column:1/-1!important;grid-row:5!important;}
body.mobile-ui-active #content>.iv-workspace.mfi-page .iv-table-wrap tbody>tr>td[colspan]{grid-column:1/-1!important;grid-row:auto!important;}
body.mobile-ui-active .mfi-owned[data-mobile-invoice-source] .mfi-form>.mobile-return-row{order:-1;flex:none;margin:0;padding:5px 9px 0;}
body.mobile-ui-active .mfi-owned[data-mobile-invoice-source] .mfi-form>.mobile-return-row>button{min-height:26px;margin:0;padding:3px 0;background:transparent;border:0;}
body.mobile-ui-active .mfi-owned[data-mobile-invoice-source] .iv-allocation{grid-template-columns:repeat(2,minmax(0,1fr));}
body.mobile-ui-active .mfi-owned[data-mobile-invoice-source] .iv-allocation>label:has([name=sourceType]){grid-column:1;grid-row:1;}
body.mobile-ui-active .mfi-owned[data-mobile-invoice-source] .iv-allocation>label:has([name=allocationAmount]){grid-column:2;grid-row:1;}
body.mobile-ui-active .mfi-owned[data-mobile-invoice-source] .iv-allocation>label:has([name=sourceId]){grid-column:1/-1;grid-row:2;}
body.mobile-ui-active .mfi-owned[data-mobile-invoice-source] .iv-allocation>.iv-allocation-info{grid-column:1;grid-row:3;}
body.mobile-ui-active .mfi-owned[data-mobile-invoice-source] .iv-allocation>[data-iv=remove-line]{grid-column:2;grid-row:3;justify-self:end;min-height:26px;padding:3px 0;border:0;background:transparent;}
body.mobile-ui-active #content>.iv-workspace.mfi-page>.fw-header{flex-direction:row;align-items:center;justify-content:space-between;gap:5px;}
body.mobile-ui-active #content>.iv-workspace.mfi-page [data-iv-tools]{order:0;flex:none;gap:4px;}
body.mobile-ui-active #content>.iv-workspace.mfi-page [data-iv-tabs]{gap:4px;}
body.mobile-ui-active #content>.iv-workspace.mfi-page .fw-header button{padding-inline:6px;}
body.mobile-ui-active .mfi-owned[data-mobile-invoice-source] .iv-editor-ticket>label:has([name=invoiceDate]){grid-column:1/-1;}

body.mobile-ui-active #content>.iv-workspace.mfi-page .mfi-popup-body [data-iv-sort]{margin:6px 0 0;}
body.mobile-ui-active #content>.iv-workspace.mfi-page .mfi-popup-body [data-iv-sort] label{display:grid;gap:3px;font-size:12px;}
body.mobile-ui-active #content>.iv-workspace.mfi-page .mfi-popup-body [data-iv-sort] select{width:100%;min-height:36px;height:36px;font-size:13px;}
body.mobile-ui-active #content>.iv-workspace.mfi-page table.mfi-obligations tbody>tr{grid-template-columns:minmax(0,.8fr) minmax(0,1.2fr)!important;}
body.mobile-ui-active #content>.iv-workspace.mfi-page table.mfi-obligations tbody>tr>td:nth-child(5){grid-column:1!important;grid-row:4!important;align-self:center;font-size:11px;line-height:16px;}
body.mobile-ui-active #content>.iv-workspace.mfi-page table.mfi-obligations tbody>tr>td:nth-child(6){grid-column:2!important;grid-row:4!important;align-self:end;gap:3px 8px;}
body.mobile-ui-active #content>.iv-workspace.mfi-page table.mfi-obligations tbody>tr:has(td:nth-child(5)>small:nth-of-type(2))>td:nth-child(5){grid-column:1/-1!important;grid-row:4!important;}
body.mobile-ui-active #content>.iv-workspace.mfi-page table.mfi-obligations tbody>tr:has(td:nth-child(5)>small:nth-of-type(2))>td:nth-child(6){grid-column:1/-1!important;grid-row:5!important;}
body.mobile-ui-active #content>.iv-workspace.mfi-page .fw-header>[data-iv-tools]{width:auto!important;max-width:none!important;min-width:0;flex:0 0 auto!important;}
body.mobile-ui-active #content>.iv-workspace.mfi-page .fw-header>[data-iv-tabs]{width:auto!important;min-width:0;max-width:none!important;flex:0 0 auto!important;overflow:visible!important;}
body.mobile-ui-active .mfi-owned[data-mobile-invoice-source] .mfi-form-scroll>.iv-summary{display:grid;grid-template-columns:minmax(0,1fr);gap:5px;margin:5px 0 8px;padding:0;}
body.mobile-ui-active .mfi-owned[data-mobile-invoice-source] .mfi-form-scroll>.iv-summary>div{display:flex;gap:6px;align-items:baseline;min-width:0;padding:0;background:transparent;border:0;}
body.mobile-ui-active .mfi-owned[data-mobile-invoice-source] .mfi-form-scroll>.iv-summary span{flex:none;font-size:11px;line-height:16px;color:#6a809d;}
body.mobile-ui-active .mfi-owned[data-mobile-invoice-source] .mfi-form-scroll>.iv-summary strong{font-size:12px;line-height:17px;font-weight:400;overflow-wrap:anywhere;}
body.mobile-ui-active .mfi-owned[data-mobile-invoice-source] .mfi-form-scroll>.iv-summary>div:first-child strong{font-size:14px;line-height:20px;font-weight:600;}
body.mobile-ui-active #content>.iv-workspace.mfi-page .iv-table-wrap tbody>tr{gap:2px 7px!important;padding:6px 7px!important;}
body.mobile-ui-active #content>.iv-workspace.mfi-page .iv-table-wrap tbody>tr>td{font-size:12px!important;line-height:17px!important;}
body.mobile-ui-active #content>.iv-workspace.mfi-page .iv-table-wrap tbody>tr>td:first-child{font-size:14px!important;line-height:20px!important;}
body.mobile-ui-active #content>.iv-workspace.mfi-page .iv-table-wrap tbody>tr>td small{font-size:11px!important;line-height:16px!important;margin-top:1px!important;}
body.mobile-ui-active #content>.iv-workspace.mfi-page .iv-table-wrap tbody>tr>td:last-child button{min-height:28px!important;padding:4px 0!important;line-height:20px!important;font-size:12px!important;}
body.mobile-ui-active #content>.iv-workspace.mfi-page .iv-table-wrap tbody>tr>td:last-child{gap:3px 8px!important;}
/* The small invoice-profile child keeps its original natural height. */
body.mobile-ui-active .cip-modal.mfi-owned[data-mobile-invoice-source]{align-items:center;padding:8px 8px calc(8px + min(48px,var(--mfi-vv-height,100dvh) * .06))!important;}
body.mobile-ui-active .cip-modal.mfi-owned[data-mobile-invoice-source]>.cip-dialog{height:auto;max-height:100%;}
body.mobile-ui-active .cip-modal.mfi-owned[data-mobile-invoice-source] .cip-content{flex:0 1 auto;}
/* Put compact list captions next to their facts, keeping every original value. */
body.mobile-ui-active #content>.iv-workspace.mfi-page .iv-table-wrap tbody>tr>td:first-child>small:first-of-type{display:inline-block!important;margin-left:6px!important;font-size:11px!important;font-weight:400;}
body.mobile-ui-active #content>.iv-workspace.mfi-page .mfi-registered tbody>tr>td:nth-child(4)::before{display:inline;margin-right:4px;content:'价税合计';}
body.mobile-ui-active #content>.iv-workspace.mfi-page .mfi-registered tbody>tr>td:nth-child(4)>small{display:inline-block;white-space:nowrap!important;margin-left:5px;}
body.mobile-ui-active #content>.iv-workspace.mfi-page .mfi-registered tbody>tr>td:nth-child(5)::before{display:none;}
body.mobile-ui-active #content>.iv-workspace.mfi-page .mfi-obligations tbody>tr>td:nth-child(3)::before{display:inline;margin-right:4px;content:'约定';}
body.mobile-ui-active #content>.iv-workspace.mfi-page .mfi-obligations tbody>tr>td:nth-child(4)::before{display:inline;margin-right:4px;}
body.mobile-ui-active #content>.iv-workspace.mfi-page .mfi-obligations tbody>tr>td:nth-child(5)::before{content:'约定日期';}

