@layer erp-reconstruction{
@media screen{
body.pixel-replica.payment-detail-page-open :is(#dashboard-page,#module-page:not([hidden]),#payment-entry-page-host){display:none!important}
body.pixel-replica.payment-detail-page-open .main{display:flex!important;flex-direction:column!important;min-height:0!important;overflow:hidden!important}
#payment-detail-page-host{min-height:0;flex:1 1 auto;margin:18px 24px 0;overflow:hidden;background:#fff}
body.pixel-replica.payment-detail-page-open #inventory-balance-workspace{display:none!important}
#payment-detail-page-host[hidden],#payment-detail-page-host [hidden]{display:none!important}
#payment-detail-page-host #detail-mask.payment-detail-page{position:static!important;inset:auto!important;display:block!important;width:100%;height:100%;padding:0!important;background:none!important;backdrop-filter:none;z-index:auto!important;overflow:hidden!important}
#payment-detail-page-host #detail-mask[hidden]{display:none!important}
#payment-detail-page-host #detail-mask[aria-busy=true] :is(.document-detail-table-wrap,.detail-note,.detail-meta){display:none!important}
#payment-detail-page-host .detail-dialog{display:flex!important;flex-direction:column!important;position:static!important;inset:auto!important;width:100%!important;max-width:none!important;height:100%!important;max-height:none!important;margin:0!important;padding:0!important;background:#fff!important;border:0!important;border-radius:0!important;box-shadow:none!important;font:15px/1.6 "Microsoft YaHei",sans-serif!important;overflow:hidden!important;color:#213047!important}
#payment-detail-page-host .detail-dialog>header{position:static!important;flex:0 0 auto;display:flex!important;align-items:start;justify-content:space-between;height:auto!important;gap:16px;padding:22px 24px!important;background:#fff!important;border:0!important}
#payment-detail-page-host #detail-type{display:none!important}
#payment-detail-page-host h2{margin:0;font-size:24px!important;line-height:1.4;overflow-wrap:anywhere}
#payment-detail-page-host .detail-body{flex:1 1 auto;min-height:0;overflow:auto!important;overscroll-behavior:contain;padding:0 24px 24px!important;background:#fff!important}
#payment-detail-page-host .print-heading,#payment-detail-page-host .print-footer{display:none!important}
#payment-detail-page-host .detail-meta{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:20px 28px!important;margin:0!important;padding:20px 0 28px!important;background:none!important;border:0!important;border-bottom:1px solid #dce3ec!important}
#payment-detail-page-host .detail-meta article{min-width:0;padding:0!important;border:0!important;background:none!important;border-radius:0!important}
#payment-detail-page-host .detail-meta span{display:block;color:#53647a;font-size:14px!important}
#payment-detail-page-host .detail-meta strong{display:block;margin-top:6px;font-size:15px!important;line-height:1.6;font-weight:500;overflow-wrap:anywhere}
#payment-detail-page-host .payment-allocation-summary{margin:28px 0 0!important;padding:0!important;border:0!important;background:none!important}
#payment-detail-page-host .payment-allocation-summary>header{position:static!important;display:flex!important;align-items:start;justify-content:space-between;flex-wrap:wrap;gap:12px;height:auto!important;padding:0 0 16px!important;border:0!important;background:none!important}
#payment-detail-page-host .payment-allocation-summary>header strong{font-size:18px!important;color:#172d47}
#payment-detail-page-host .payment-allocation-summary>header span{font-size:14px!important;color:#53647a}
#payment-detail-page-host .payment-allocation-record{display:flex!important;align-items:start;justify-content:space-between;gap:20px;padding:16px 0!important;border:0!important;border-bottom:1px solid #dce3ec!important;background:none!important}
#payment-detail-page-host .payment-allocation-record strong{display:block;font-size:15px!important;overflow-wrap:anywhere}
#payment-detail-page-host .payment-allocation-record span{display:block;font-size:14px!important;color:#53647a}
#payment-detail-page-host .payment-allocation-record b{font-size:15px!important;font-variant-numeric:tabular-nums}
#payment-detail-page-host .payment-allocation-empty{padding:20px 0!important;font-size:15px!important}
#payment-detail-page-host .payment-allocation-empty strong{display:block;font-size:15px!important}
#payment-detail-page-host .payment-allocation-empty span{display:block;font-size:14px!important;color:#53647a;margin-top:6px}
#payment-detail-page-host .detail-note{margin:28px 0 0!important;padding:20px 0 0!important;border:0!important;border-top:1px solid #dce3ec!important;border-radius:0!important;background:none!important;font-size:15px!important}
#payment-detail-page-host .detail-note p{font-size:15px!important;white-space:pre-wrap;overflow-wrap:anywhere}
body[data-module=license-center] #payment-detail-page-host .detail-table{width:100%!important;min-width:0!important;table-layout:fixed!important}
body[data-module=license-center] #payment-detail-page-host .detail-table :is(th,td){white-space:normal!important;overflow-wrap:anywhere!important;font-size:15px!important}
body[data-module=license-center] #payment-detail-page-host .detail-table th{font-size:14px!important}
body[data-module=license-center] #payment-detail-page-host .detail-table :is(th,td):first-child{width:32%}
body[data-module=license-center] #payment-detail-page-host #detail-note>strong{display:none}
body[data-module=license-center] #payment-detail-page-host #detail-note summary{font-size:14px;min-height:44px;display:list-item;align-content:center;cursor:pointer;color:#245ca7}

body:is([data-module=stock-query],[data-module=stock-alerts],[data-module=warehouse-stock-query],[data-module=stock-ledger],[data-module=stock-summary],[data-module=expiry-alerts]) #payment-detail-page-host .detail-table{width:100%!important;min-width:0!important;table-layout:fixed!important}
body:is([data-module=stock-query],[data-module=stock-alerts],[data-module=warehouse-stock-query],[data-module=stock-ledger],[data-module=stock-summary],[data-module=expiry-alerts]) #payment-detail-page-host .detail-table :is(th,td){white-space:normal!important;overflow-wrap:anywhere!important;font-size:15px!important;padding:12px!important}
body:is([data-module=stock-query],[data-module=stock-alerts],[data-module=warehouse-stock-query],[data-module=stock-ledger],[data-module=stock-summary],[data-module=expiry-alerts]) #payment-detail-page-host .detail-table th{font-size:14px!important}
body:is([data-module=stock-query],[data-module=stock-alerts],[data-module=warehouse-stock-query],[data-module=stock-ledger],[data-module=stock-summary],[data-module=expiry-alerts]) #payment-detail-page-host .detail-table :is(th,td):first-child{width:26%}
body:is([data-module=stock-query],[data-module=stock-alerts],[data-module=warehouse-stock-query],[data-module=stock-ledger],[data-module=stock-summary],[data-module=expiry-alerts]) #payment-detail-page-host .detail-note>strong{display:none}
body:is([data-module=stock-query],[data-module=stock-alerts],[data-module=warehouse-stock-query],[data-module=stock-ledger],[data-module=stock-summary],[data-module=expiry-alerts]) #payment-detail-page-host #detail-note summary{font-size:14px;min-height:44px;display:list-item;align-content:center;cursor:pointer;color:#245ca7}
body:is([data-module=stock-query],[data-module=stock-alerts],[data-module=warehouse-stock-query],[data-module=stock-ledger],[data-module=stock-summary],[data-module=expiry-alerts]) #payment-detail-page-host .inventory-detail-notice{display:block;margin-bottom:12px;color:#854b12;font-size:15px}
@media(max-width:767px){
body:is([data-module=stock-query],[data-module=stock-alerts],[data-module=warehouse-stock-query],[data-module=stock-ledger],[data-module=stock-summary],[data-module=expiry-alerts]) #payment-detail-page-host .detail-table thead{display:none!important}
body:is([data-module=stock-query],[data-module=stock-alerts],[data-module=warehouse-stock-query],[data-module=stock-ledger],[data-module=stock-summary],[data-module=expiry-alerts]) #payment-detail-page-host .detail-table :is(tbody,tr,td){display:block!important;width:100%!important}
body:is([data-module=stock-query],[data-module=stock-alerts],[data-module=warehouse-stock-query],[data-module=stock-ledger],[data-module=stock-summary],[data-module=expiry-alerts]) #payment-detail-page-host .detail-table tr{padding:16px 0!important;border-bottom:1px solid #dce3ec}
body:is([data-module=stock-query],[data-module=stock-alerts],[data-module=warehouse-stock-query],[data-module=stock-ledger],[data-module=stock-summary],[data-module=expiry-alerts]) #payment-detail-page-host .detail-table td{padding:0!important;border:0!important}
body:is([data-module=stock-query],[data-module=stock-alerts],[data-module=warehouse-stock-query],[data-module=stock-ledger],[data-module=stock-summary],[data-module=expiry-alerts]) #payment-detail-page-host .detail-table td:first-child{font-weight:600}
body:is([data-module=stock-query],[data-module=stock-alerts],[data-module=warehouse-stock-query],[data-module=stock-ledger],[data-module=stock-summary],[data-module=expiry-alerts]) #payment-detail-page-host .detail-table td:nth-child(2){margin-top:6px}
}
#payment-detail-page-host .detail-dialog>footer{position:static!important;flex:0 0 auto;display:flex!important;align-items:center;flex-wrap:wrap;gap:12px;height:auto!important;padding:16px 24px!important;background:#fff!important;border-top:1px solid #dce3ec!important}
#payment-detail-page-host .next-action-copy{margin-right:auto!important;min-width:0}
#payment-detail-page-host .next-action-copy strong{font-size:15px!important}
#payment-detail-page-host .next-action-copy small{font-size:14px!important;overflow-wrap:anywhere}
#payment-detail-page-host button{font:15px/1.6 "Microsoft YaHei",sans-serif!important;min-height:44px!important;max-width:100%;cursor:pointer}
#payment-detail-page-host :focus-visible{outline:3px solid #6394df;outline-offset:2px}
@media(max-width:767px){
#payment-detail-page-host{margin:0;min-height:0}
#payment-detail-page-host .detail-dialog>header{padding:16px!important}
#payment-detail-page-host .detail-body{padding:0 16px 20px!important}
#payment-detail-page-host .detail-meta{gap:18px 16px!important}
#payment-detail-page-host .detail-dialog>footer{padding:12px 16px!important;gap:8px}
#payment-detail-page-host .next-action-copy{flex-basis:100%}
#payment-detail-page-host .detail-dialog>footer button{flex:1;min-width:100px}
}
}
@media screen{body:is([data-module=expiry-alerts],[data-module=stock-ledger],[data-module=warehouse-stock-query]) :is(.business-workspace,.module-banner,.module-summary,.module-flow-rail){display:none!important}}
body.pixel-replica.payment-entry-page-open :is(#dashboard-page,#module-page:not([hidden]),#drawer-mask){display:none!important}
body.pixel-replica.payment-entry-page-open .main{display:flex!important;flex-direction:column!important;min-height:0!important;overflow:hidden!important}
body.payment-entry-page-open{overflow:hidden!important}
#payment-entry-page-host{min-height:0;flex:1 1 auto;background:#fff;margin:18px 24px 0;overflow:hidden}
#payment-entry-page-host[hidden],#payment-entry-page-host [hidden]{display:none!important}
#payment-entry-page-host #business-drawer.payment-entry-page{position:static!important;inset:auto!important;transform:none!important;visibility:visible!important;display:flex!important;flex-direction:column!important;width:100%!important;max-width:none!important;height:100%!important;max-height:none!important;padding:0!important;border:0!important;box-shadow:none!important;background:#fff!important;z-index:auto!important;font:15px/1.6 "Microsoft YaHei",sans-serif!important;color:#213047!important;overflow:hidden!important}
#payment-entry-page-host *{box-sizing:border-box}
#payment-entry-page-host .payment-page-heading{position:static!important;flex:0 0 auto;display:flex!important;align-items:start;justify-content:space-between;gap:16px;height:auto!important;padding:22px 24px!important;border:0!important;background:none!important}
#payment-entry-page-host h2{margin:0;font-size:24px!important;line-height:1.4;color:#172d47}
#payment-entry-page-host h3{margin:0 0 16px;font-size:18px!important;line-height:1.5;color:#172d47}
.payment-page-heading p{margin:6px 0 0;font-size:14px;color:#53647a}
.payment-page-body{flex:1 1 auto;min-height:0;overflow:auto;overscroll-behavior:contain;padding:0 24px 24px;scroll-padding:16px}
#payment-entry-page-host :is(input,select,textarea,button){font:15px/1.6 "Microsoft YaHei",sans-serif!important;min-height:44px!important;max-width:100%;color:inherit}
#payment-entry-page-host :is(input,select,textarea){width:100%;min-width:0;padding:9px 10px!important;border:1px solid #bfcbdc!important;border-radius:4px!important;background:#fff!important;box-shadow:none!important}
#payment-entry-page-host :is(input,textarea)[readonly]{background:#f2f5fa!important}
#payment-entry-page-host button{cursor:pointer}
#payment-entry-page-host :focus-visible{outline:3px solid #6394df;outline-offset:2px}
#payment-entry-page-host .form-grid{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:16px 24px!important}
#payment-entry-page-host label{display:grid!important;gap:6px!important;min-width:0}
#payment-entry-page-host label>span{font-size:14px!important;color:#53647a!important}
#payment-entry-page-host :is(#business-basic-section,#payment-section,#cash-section){padding:0!important;margin:0 0 28px!important;border:0!important;border-radius:0!important;background:none!important}
#payment-entry-page-host .payment-entry-purpose{grid-column:1/-1}
#payment-entry-page-host .payment-entry-allocation{padding:20px 0 0;margin:24px 0 0;border:0;border-top:1px solid #dce3ec}
#payment-entry-page-host .payment-entry-allocation legend{font-size:18px;padding:0 12px 0 0;color:#172d47}
#payment-entry-page-host .payment-page-preview{padding:16px 20px;margin:24px 0;background:#f2f5fa;color:#213047}
#payment-entry-page-host .payment-page-preview h3{margin-bottom:8px}
#payment-entry-page-host .payment-page-preview button{margin-top:12px;padding:9px 12px;border:1px solid #bfcbdc;border-radius:4px;background:#fff}
#payment-entry-page-host .payment-page-preview p{margin:0;font-size:14px;line-height:1.6;overflow-wrap:anywhere}
#payment-entry-page-host .payment-page-preview .payment-preview-remaining{font-size:15px;font-weight:600;margin-top:8px;font-variant-numeric:tabular-nums}
#payment-entry-page-host .payment-page-body>.drawer-note[hidden]{display:none!important}
#payment-entry-page-host .drawer-note{display:grid!important;padding:0!important;margin:24px 0 0!important;border:0!important;border-radius:0!important;background:none!important}
#payment-entry-page-host .payment-page-footer{position:static!important;flex:0 0 auto;display:flex!important;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:12px;height:auto!important;padding:16px 24px!important;border-top:1px solid #dce3ec!important;background:#fff!important}
.payment-page-feedback{flex:1;min-width:0;font-size:14px;color:#53647a}
.payment-page-feedback #drawer-save-error{display:block;color:#a72b2b;overflow-wrap:anywhere}
.payment-page-result{padding:24px 0;max-width:760px}.payment-page-result p{overflow-wrap:anywhere}.payment-result-number{font-size:20px;font-weight:600;font-variant-numeric:tabular-nums}.payment-result-actions{display:flex;flex-wrap:wrap;gap:12px;margin-top:24px}.payment-result-actions button{padding:9px 12px;border:1px solid #bfcbdc;border-radius:5px;background:#fff}
.payment-page-actions{display:flex;gap:8px;flex-wrap:wrap}
#payment-entry-page-host button:disabled{opacity:.5;cursor:default}
@media(max-width:767px){
#payment-entry-page-host{margin:0;min-height:0}
#payment-entry-page-host .payment-page-heading{padding:16px!important}
.payment-page-body{padding:0 16px 20px}
#payment-entry-page-host .form-grid{grid-template-columns:minmax(0,1fr)!important;gap:16px!important}
#payment-entry-page-host .payment-page-footer{padding:12px 16px!important;gap:8px}
.payment-page-feedback{flex-basis:100%}
.payment-page-feedback:not(:has(>:not([hidden]))){display:none}
.payment-page-actions{width:100%}.payment-page-actions #submit-document{flex:1!important}
}
.finance-list-page{display:block;box-sizing:border-box;width:100%;min-width:0;padding:24px;background:#fff;color:#213047;font:15px/1.6 "Microsoft YaHei",sans-serif;font-variant-numeric:tabular-nums;overflow:visible}
.finance-list-page[hidden],.finance-list-page [hidden]{display:none!important}.finance-list-page *{box-sizing:border-box}.finance-list-page ::selection{color:#173b7a;background:#dceaff}
.finance-list-page :is(button,input,select){font:15px/1.6 "Microsoft YaHei",sans-serif!important;min-height:44px;max-width:100%;padding:8px 12px;border:1px solid #bfcbdc;border-radius:5px;color:inherit;background:#fff;box-shadow:none;caret-color:#245ca7}.finance-list-page button{cursor:pointer}.finance-list-page button:hover{background:#edf3fd}.finance-list-page :is(button:disabled,[aria-disabled=true]){opacity:.5;cursor:default}.finance-list-page :focus-visible{outline:3px solid #6394df;outline-offset:2px}.finance-list-page .flw-primary,.finance-list-page .flw-primary:hover{background:#245ca7;border-color:#245ca7;color:#fff}
.finance-list-page .flw-heading{display:flex!important;align-items:start;justify-content:space-between;gap:20px;margin:0 0 24px;padding:0;height:auto!important;position:static!important;background:none}.finance-list-page h2{font-size:24px;line-height:1.4;margin:0 0 6px}.finance-list-page p{margin:0}.finance-list-page .flw-description{color:#53647a;font-size:14px}.finance-list-page .flw-actions{display:flex!important;flex-wrap:wrap!important;justify-content:end;gap:8px;height:auto!important;position:static!important}
.finance-list-page .flw-summary{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:20px;margin:0 0 24px;padding:18px 0;border-top:1px solid #dce3ec;border-bottom:1px solid #dce3ec}.finance-list-page .flw-summary>div{min-width:0}.finance-list-page .flw-summary dt{font-size:14px;color:#53647a}.finance-list-page .flw-summary dd{font-size:18px;font-weight:600;line-height:1.5;margin:6px 0 0;overflow-wrap:anywhere}.finance-list-page .flw-summary p{font-size:14px;color:#53647a;margin-top:4px}
.finance-list-page .flw-filters{display:flex;align-items:end;flex-wrap:wrap;gap:12px;margin:0 0 20px;padding:0;border:0;background:none}.finance-list-page .flw-filters label{display:grid;gap:6px;min-width:0;color:#53647a;font-size:14px}.finance-list-page .flw-search{flex:1;min-width:220px!important}.finance-list-page .flw-filters :is(input,select){width:100%;min-width:0}.finance-list-page .flw-feedback{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;margin-bottom:20px;padding:12px 16px;background:#fff0ef;color:#8b2929;overflow-wrap:anywhere}.finance-list-page .flw-feedback p{white-space:pre-wrap;flex:1;min-width:0}.finance-list-page .flw-feedback button{color:#8b2929;border-color:#bd7777}
.finance-list-page .flw-selection{display:flex;align-items:center;flex-wrap:wrap;gap:20px;font-size:14px;color:#53647a;margin-bottom:12px}.finance-list-page :is(.flw-selection label,.flw-row-select){display:flex;align-items:center;gap:8px;min-height:44px;cursor:pointer}.finance-list-page input[type=checkbox]{width:22px;height:22px;min-height:22px;padding:0;margin:0;accent-color:#245ca7}.finance-list-page .flw-row-select span{display:none}
.finance-list-page .flw-table-scroll{overflow:auto;max-width:100%;scrollbar-color:#a4b3c6 #f1f4f8}.finance-list-page table{width:100%;min-width:900px;table-layout:auto;border-collapse:collapse;height:auto}.finance-list-page :is(th,td){position:static;height:auto;font-size:15px!important;line-height:1.6;padding:13px 12px;border:0;border-bottom:1px solid #dce3ec;background:none;color:#213047;text-align:left;vertical-align:top;white-space:normal;overflow-wrap:anywhere}.finance-list-page th{background:#f2f5fa;color:#495b72;font-weight:500;white-space:nowrap;overflow-wrap:normal}.finance-list-page .flw-selected{background:#edf3fd}.finance-list-page :is(td,dd) strong{display:block;font-size:15px!important;font-weight:600}.finance-list-page :is(td,dd) small{display:block;margin-top:4px;color:#53647a;font-size:14px!important;line-height:1.5;white-space:normal}.finance-list-page :is(.product-row-actions,.purchase-query-row-actions,.table-actions){display:flex;flex-wrap:wrap;gap:8px}.finance-list-page .table-link{min-width:44px;border:0;background:none;color:#245ca7;white-space:nowrap}.finance-list-page .table-link.danger{color:#a72b2b}.finance-list-page .table-status{display:inline-block;width:auto;height:auto;padding:3px 7px;border-radius:4px;background:#edf1f6;color:#475b74;font-size:14px;white-space:nowrap}.finance-list-page .table-status.green{background:#e8f5ed;color:#236043}.finance-list-page .table-status.orange{background:#fff3df;color:#81521a}.finance-list-page .table-status.red{background:#fff0ef;color:#9b2d2d}
.finance-list-page .flw-pagination{position:static;display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:16px;height:auto;margin:20px 0 0;padding:0;background:#fff;border:0;color:#53647a;font-size:14px}.finance-list-page .flw-pagination nav{display:flex;gap:8px}.finance-list-page .flw-empty{padding:36px 0;color:#53647a}.finance-list-page .flw-empty strong{display:block;margin-bottom:8px;color:#213047}
@media(max-width:767px){
.finance-list-page{padding:16px 12px 28px}.finance-list-page .flw-heading{flex-direction:column!important;gap:16px;margin-bottom:20px}.finance-list-page .flw-actions{justify-content:start;width:100%}.finance-list-page .flw-actions button{flex:0 1 auto!important;min-width:0!important;width:auto!important;white-space:normal!important}.finance-list-page .flw-summary{grid-template-columns:repeat(2,minmax(0,1fr));gap:18px 12px}.finance-list-page .flw-filters{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:12px;width:100%}.finance-list-page .flw-filters label{width:100%!important;min-width:0!important;max-width:100%!important}.finance-list-page .flw-search,.finance-list-page .flw-status{grid-column:1/-1;min-width:0!important}.finance-list-page .flw-filters>button{width:100%}
.finance-list-page .flw-record{min-width:0;max-width:100%;padding:20px 0;border-top:1px solid #cbd6e5}.finance-list-page .flw-record>header{display:flex!important;flex-direction:column!important;align-items:start;gap:10px;height:auto!important;margin:0 0 18px;padding:0;position:static!important;background:none}.finance-list-page .flw-record h3{margin:0;color:#213047;font-size:18px;line-height:1.5;overflow-wrap:anywhere}.finance-list-page .flw-record header p{margin-top:5px;color:#53647a;font-size:14px;overflow-wrap:anywhere}.finance-list-page .flw-row-select span{display:inline;color:#53647a;font-size:14px}.finance-list-page .flw-record dl{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px 12px;margin:0;padding:0}.finance-list-page .flw-field{min-width:0;max-width:100%;overflow-wrap:anywhere}.finance-list-page .flw-field-wide{grid-column:1/-1}.finance-list-page .flw-field dt{margin:0 0 5px;color:#53647a;font-size:14px}.finance-list-page .flw-field dd{margin:0;padding:0;min-width:0;font-size:15px;line-height:1.6}.finance-list-page .flw-field dd :is(button,a){white-space:normal;overflow-wrap:anywhere}.finance-list-page .flw-pagination{align-items:start}.finance-list-page .flw-pagination>span{width:100%}.finance-list-page .flw-pagination nav{width:100%}.finance-list-page .flw-pagination button{flex:1}
}
}

@layer erp-reconstruction{body:is([data-module=receipts],[data-module=payments],[data-module=receivables],[data-module=payables],[data-module=other-cash],[data-module=other-expense],[data-module=other-income],[data-module=finance-document-query]) :is(.business-workspace,.module-banner,.module-summary,.module-flow-rail){display:none!important}
}

@layer erp-reconstruction{
body:is([data-module=receipts],[data-module=payments],[data-module=receivables],[data-module=payables],[data-module=other-cash],[data-module=other-expense],[data-module=other-income],[data-module=finance-document-query]) #business-drawer{display:flex!important;flex-direction:column!important;max-height:100dvh!important;background:#fff!important;font-size:15px!important}
body:is([data-module=receipts],[data-module=payments],[data-module=receivables],[data-module=payables],[data-module=other-cash],[data-module=other-expense],[data-module=other-income],[data-module=finance-document-query]) #business-drawer :is(input,select,textarea,button){font-size:15px!important;min-height:44px;max-width:100%}
body:is([data-module=receipts],[data-module=payments],[data-module=receivables],[data-module=payables],[data-module=other-cash],[data-module=other-expense],[data-module=other-income],[data-module=finance-document-query]) #business-drawer>header,body:is([data-module=receipts],[data-module=payments],[data-module=receivables],[data-module=payables],[data-module=other-cash],[data-module=other-expense],[data-module=other-income],[data-module=finance-document-query]) #business-drawer>footer{flex:0 0 auto!important;position:static!important;height:auto!important;padding:16px 20px!important;background:#fff!important}
body:is([data-module=receipts],[data-module=payments],[data-module=receivables],[data-module=payables],[data-module=other-cash],[data-module=other-expense],[data-module=other-income],[data-module=finance-document-query]) #business-drawer>.drawer-body{flex:1 1 auto!important;min-height:0!important;overflow:auto!important;padding:20px!important}
body:is([data-module=receipts],[data-module=payments],[data-module=receivables],[data-module=payables],[data-module=other-cash],[data-module=other-expense],[data-module=other-income],[data-module=finance-document-query]) #business-drawer .form-grid{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:18px!important}
body:is([data-module=receipts],[data-module=payments],[data-module=receivables],[data-module=payables],[data-module=other-cash],[data-module=other-expense],[data-module=other-income],[data-module=finance-document-query]) #business-drawer label{min-width:0}
body:is([data-module=receipts],[data-module=payments],[data-module=receivables],[data-module=payables],[data-module=other-cash],[data-module=other-expense],[data-module=other-income],[data-module=finance-document-query]) #business-drawer h2{font-size:24px!important}
#payment-section .payment-entry-purpose{grid-column:1/-1}
#payment-section .payment-entry-allocation{min-width:0;margin:24px 0 0;padding:18px 0 0;border:0;border-top:1px solid #dce3ec}
#payment-section .payment-entry-allocation legend{padding:0 10px 0 0;color:#213047;font-size:15px;font-weight:600}
#payment-section #payment-allocation-guide{margin:0 0 16px;color:#53647a;font-size:14px!important;line-height:1.6}
#payment-section #payment-outstanding{font-variant-numeric:tabular-nums;background:#f2f5fa}
@media(max-width:767px){body:is([data-module=receipts],[data-module=payments],[data-module=receivables],[data-module=payables],[data-module=other-cash],[data-module=other-expense],[data-module=other-income],[data-module=finance-document-query]) #business-drawer .form-grid{grid-template-columns:minmax(0,1fr)!important}body:is([data-module=receipts],[data-module=payments],[data-module=receivables],[data-module=payables],[data-module=other-cash],[data-module=other-expense],[data-module=other-income],[data-module=finance-document-query]) #business-drawer>.drawer-body{padding:16px 12px!important}}
}

@layer erp-reconstruction{
body:is([data-module=receipts],[data-module=payments],[data-module=receivables],[data-module=payables],[data-module=other-cash],[data-module=other-expense],[data-module=other-income],[data-module=finance-document-query]) :is(#detail-mask,#payment-allocation-mask) :is(button,input,select,textarea){font-size:15px!important;min-height:44px}
body:is([data-module=receipts],[data-module=payments],[data-module=receivables],[data-module=payables],[data-module=other-cash],[data-module=other-expense],[data-module=other-income],[data-module=finance-document-query]) :is(#detail-mask,#payment-allocation-mask) :is(.payment-allocation-summary,.payment-allocation-records){border-radius:0!important}
body:is([data-module=receipts],[data-module=payments],[data-module=receivables],[data-module=payables],[data-module=other-cash],[data-module=other-expense],[data-module=other-income],[data-module=finance-document-query]) :is(.payment-allocation-record,.payment-allocation-summary>header,.payment-allocation-records>header){height:auto!important;flex-wrap:wrap!important}
body:is([data-module=receipts],[data-module=payments],[data-module=receivables],[data-module=payables],[data-module=other-cash],[data-module=other-expense],[data-module=other-income],[data-module=finance-document-query]) :is(.payment-allocation-record strong,.payment-allocation-record b,.payment-allocation-summary>header strong,.payment-allocation-records>header strong){font-size:15px!important;overflow-wrap:anywhere}
body:is([data-module=receipts],[data-module=payments],[data-module=receivables],[data-module=payables],[data-module=other-cash],[data-module=other-expense],[data-module=other-income],[data-module=finance-document-query]) :is(.payment-allocation-record span,.payment-allocation-summary>header span,.payment-allocation-records>header span){font-size:14px!important;overflow-wrap:anywhere}
body:is([data-module=receipts],[data-module=payments],[data-module=receivables],[data-module=payables],[data-module=other-cash],[data-module=other-expense],[data-module=other-income],[data-module=finance-document-query]) #detail-type{font-size:14px!important}
body:is([data-module=receipts],[data-module=payments],[data-module=receivables],[data-module=payables],[data-module=other-cash],[data-module=other-expense],[data-module=other-income],[data-module=finance-document-query]) .payment-allocation-note{margin:8px 0 0;white-space:pre-wrap;overflow-wrap:anywhere;font-size:15px!important;line-height:1.6;color:#213047}
#payment-allocation-mask .payment-allocation-dialog{display:flex!important;flex-direction:column!important;max-height:calc(100dvh - 32px)!important;min-height:0!important;overflow:hidden!important;font:15px/1.6 "Microsoft YaHei",sans-serif!important}
#payment-allocation-mask .payment-allocation-dialog>header,#payment-allocation-mask .payment-allocation-dialog>footer{flex:0 0 auto!important;height:auto!important;min-height:64px!important;padding:16px 20px!important;gap:12px!important}
#payment-allocation-mask .payment-allocation-dialog>.detail-body{flex:1 1 auto!important;min-height:0!important;overflow:auto!important;overscroll-behavior:contain!important;padding:20px!important}
#payment-allocation-mask .payment-allocation-metrics{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:16px!important;padding:0 0 20px!important;margin:0 0 20px!important;border-bottom:1px solid #dce3ec!important}
#payment-allocation-mask .payment-allocation-metrics article{min-width:0!important;padding:0!important;border:0!important;background:transparent!important}
#payment-allocation-mask .payment-allocation-metrics span,#payment-allocation-mask .payment-allocation-form label span{font-size:14px!important;color:#53647a!important;white-space:normal!important}
#payment-allocation-mask .payment-allocation-metrics strong{font-size:18px!important;line-height:1.5!important;overflow-wrap:anywhere!important;font-variant-numeric:tabular-nums}
#payment-allocation-mask .payment-allocation-form{grid-template-columns:repeat(2,minmax(0,1fr))!important;padding:0!important;border:0!important;gap:16px!important;background:transparent!important}
#payment-allocation-mask .payment-allocation-document,#payment-allocation-mask .payment-allocation-note{grid-column:1/-1!important}
#payment-allocation-mask .payment-allocation-form label{min-width:0!important}
#payment-allocation-mask h2{font-size:24px!important;line-height:1.4!important;overflow-wrap:anywhere!important}
#payment-allocation-mask button,#payment-allocation-mask input,#payment-allocation-mask select{font-size:15px!important;min-height:44px!important;box-sizing:border-box!important;max-width:100%!important}
#payment-allocation-mask :focus-visible{outline:3px solid #6394df!important;outline-offset:2px!important}
@media(max-width:767px){
#payment-allocation-mask .payment-allocation-dialog{max-height:100dvh!important;height:100dvh!important}
#payment-allocation-mask .payment-allocation-dialog>header,#payment-allocation-mask .payment-allocation-dialog>footer{padding:12px 16px!important}
#payment-allocation-mask .payment-allocation-dialog>.detail-body{padding:20px 16px!important}
#payment-allocation-mask .payment-allocation-form{grid-template-columns:minmax(0,1fr)!important}
}

@media(max-width:767px){body:is([data-module=receipts],[data-module=payments],[data-module=receivables],[data-module=payables],[data-module=other-cash],[data-module=other-expense],[data-module=other-income],[data-module=finance-document-query]) #payment-allocation-mask .form-grid{display:grid!important;grid-template-columns:minmax(0,1fr)!important}body:is([data-module=receipts],[data-module=payments],[data-module=receivables],[data-module=payables],[data-module=other-cash],[data-module=other-expense],[data-module=other-income],[data-module=finance-document-query]) .payment-allocation-record{grid-template-columns:minmax(0,1fr)!important;gap:8px!important}body:is([data-module=receipts],[data-module=payments],[data-module=receivables],[data-module=payables],[data-module=other-cash],[data-module=other-expense],[data-module=other-income],[data-module=finance-document-query]) .payment-allocation-record>*{min-width:0!important}}
}

@layer erp-reconstruction{
#finance-list-workspace[data-finance-module=finance-document-query] .flw-table-scroll table{min-width:1300px;table-layout:auto}
#finance-list-workspace[data-finance-module=finance-document-query] .flw-table-scroll :is(th,td){white-space:nowrap}
#finance-list-workspace[data-finance-module=finance-document-query] .flw-table-scroll td:is(:nth-child(3),:nth-child(9)){white-space:normal;min-width:180px;max-width:280px;overflow-wrap:anywhere}
@media(max-width:767px){#finance-list-workspace[data-finance-module=finance-document-query] .flw-tabs{flex-wrap:wrap!important;overflow:visible!important;white-space:normal!important}}
.finance-list-page .flw-tabs{display:flex;gap:8px;flex-wrap:wrap;margin:0 0 20px;height:auto;position:static}
.finance-list-page .flw-tabs button[aria-pressed=true]{color:#fff;background:#245ca7;border-color:#245ca7}
.finance-list-page .flw-tools{min-width:0;font-size:15px}
.finance-list-page .flw-tools summary{display:flex;align-items:center;gap:8px;min-height:44px;color:#245ca7;cursor:pointer;list-style:none}
.finance-list-page .flw-tools summary::after{content:'+';margin-left:auto}
.finance-list-page .flw-tools[open] summary::after{content:'−'}
.finance-list-page .flw-tools-body{display:flex;gap:8px;flex-wrap:wrap;padding-block:8px}
#finance-list-workspace:is([data-finance-module=receivables],[data-finance-module=receipts],[data-finance-module=payables],[data-finance-module=payments]) .flw-tabs{gap:8px;border-bottom:1px solid #dce3ec}
#finance-list-workspace:is([data-finance-module=receivables],[data-finance-module=receipts],[data-finance-module=payables],[data-finance-module=payments]) .flw-tabs button{border:0;border-bottom:2px solid transparent;border-radius:0;background:none;color:#495b72;padding-inline:8px}
#finance-list-workspace:is([data-finance-module=receivables],[data-finance-module=receipts],[data-finance-module=payables],[data-finance-module=payments]) .flw-tabs button[aria-pressed=true]{border-bottom-color:#245ca7;color:#245ca7}
.finance-list-page :is(.flw-filter-disclosure,.flw-summary-disclosure)>summary{display:none}
.finance-list-page .flw-filter-body{display:flex;align-items:end;flex-wrap:wrap;gap:12px}
.finance-list-page .flw-filter-body .flw-extra-filters{margin:0}
.finance-list-page .flw-summary-disclosure .flw-description{margin-bottom:12px}
}

@layer erp-reconstruction{body:is([data-module=business-report],[data-module=handler-statistics],[data-module=partner-statistics]) :is(.business-workspace,.module-banner,.module-summary,.module-flow-rail){display:none!important}}

@layer erp-reconstruction{.finance-list-page .flw-extra-filters{display:flex;gap:12px;margin:0 0 20px}.finance-list-page .flw-extra-filters label{display:grid;gap:6px;font-size:14px;color:#53647a}@media(max-width:767px){.finance-list-page .flw-extra-filters,.finance-list-page .flw-extra-filters label{display:grid;width:100%}}}

@layer erp-reconstruction{body:is([data-module=customer-reconcile],[data-module=supplier-reconcile]) :is(.business-workspace,.module-banner,.module-summary,.module-flow-rail){display:none!important}}

@layer erp-reconstruction{body[data-module=logs] :is(.business-workspace,.module-banner,.module-summary,.module-flow-rail){display:none!important}}

@layer erp-reconstruction{body:is([data-module=go-live],[data-module=opening-balances],[data-module=period-close]) :is(.business-workspace,.module-banner,.module-summary,.module-flow-rail){display:none!important}}

@layer erp-reconstruction{body:is([data-module=accounts],[data-module=cash-flow],[data-module=profit-statement],[data-module=balance-sheet],[data-module=profit-report]) :is(.business-workspace,.module-banner,.module-summary,.module-flow-rail){display:none!important}}

@layer erp-reconstruction{body:is([data-module=other-cash],[data-module=other-expense],[data-module=other-income],[data-module=finance-document-query],[data-module=ar-ap-summary],[data-module=settlement-query],[data-module=cash-bank-change],[data-module=expense-income-statistics]) :is(.business-workspace,.module-banner,.module-summary,.module-flow-rail){display:none!important}}
@layer erp-reconstruction { @media screen {
body:is([data-module=opening-stock],[data-module=year-close],[data-module=print-audit],[data-module=stock-summary],[data-module=monthly-outbound-cost],[data-module=transfer-statistics],[data-module=inventory-change-statistics],[data-module=todos],[data-module=risk-center],[data-module=document-query],[data-module=document-drafts]) :is(.business-workspace,.module-banner,.module-summary,.module-flow-rail){display:none!important}
} }

@layer erp-reconstruction { @media screen and (max-width:767px) {
.finance-list-page .flw-compact-record>header {flex-direction:row!important;justify-content:space-between!important;align-items:start!important;gap:12px!important}
.finance-list-page .flw-identity {min-width:0;flex:1;overflow-wrap:anywhere}
.finance-list-page .flw-identity strong {display:block;font-size:18px!important;line-height:1.5;font-weight:600}
.finance-list-page .flw-identity small {display:block;color:#53647a;font-size:14px!important;margin-top:5px}
.finance-list-page .flw-row-select {flex:0 0 auto;min-height:44px!important}
.finance-list-page .flw-tools {width:100%;font-size:15px}
.finance-list-page .flw-tools summary {min-height:44px;display:flex;align-items:center;cursor:pointer;color:#245ca7;gap:8px}
.finance-list-page .flw-tools summary::after {content:'+';margin-left:auto}
.finance-list-page .flw-tools[open] summary::after {content:'−'}
.finance-list-page .flw-tools-body {display:flex;flex-wrap:wrap;gap:8px;padding-block:8px}
.finance-list-page .flw-tools :focus-visible {outline:3px solid #6394df;outline-offset:2px}
.finance-list-page .flw-actions :is(button,summary) {min-height:44px!important}
#report-list-workspace .flw-heading{margin-bottom:12px;gap:8px}
#report-list-workspace:not([data-finance-module=mobile]) .flw-heading{flex-direction:row!important;align-items:center!important;gap:12px}
#report-list-workspace:not([data-finance-module=mobile]) .flw-heading>div:first-child{min-width:0;flex:1}
#report-list-workspace:not([data-finance-module=mobile]) .flw-actions{width:auto;flex:0 1 144px}
#report-list-workspace:not([data-finance-module=mobile]) .flw-heading h2{font-size:24px;margin:0;overflow-wrap:anywhere}
#report-list-workspace .flw-tabs{margin-bottom:12px}
:is(#report-list-workspace,#finance-list-workspace) :is(.flw-filter-disclosure,.flw-summary-disclosure)>summary{display:flex;align-items:center;gap:8px;min-height:44px;font-size:15px;color:#245ca7;cursor:pointer;overflow-wrap:anywhere;list-style:none}
:is(#report-list-workspace,#finance-list-workspace) :is(.flw-filter-disclosure,.flw-summary-disclosure)>summary::after{content:'+';margin-left:auto;flex-shrink:0}
:is(#report-list-workspace,#finance-list-workspace) :is(.flw-filter-disclosure,.flw-summary-disclosure)[open]>summary::after{content:'−'}
:is(#report-list-workspace,#finance-list-workspace) .flw-summary-disclosure{margin-bottom:12px;border-block:1px solid #dce3ec}
:is(#report-list-workspace,#finance-list-workspace) .flw-summary-disclosure .flw-summary{margin-bottom:12px;padding:12px 0;border:0}
:is(#report-list-workspace,#finance-list-workspace) .flw-filter-disclosure{grid-column:1/-1;min-width:0}
:is(#report-list-workspace,#finance-list-workspace) .flw-filter-body{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;padding-block:8px 12px}
:is(#report-list-workspace,#finance-list-workspace) .flw-filter-body .flw-extra-filters{grid-column:1/-1}
:is(#report-list-workspace,#finance-list-workspace) .flw-filter-disclosure>summary:focus-visible,:is(#report-list-workspace,#finance-list-workspace) .flw-summary-disclosure>summary:focus-visible{outline:3px solid #6394df;outline-offset:2px}
} }
@layer erp-reconstruction {
  :is(#finance-list-workspace,#report-list-workspace) .flw-date-feedback { flex-basis:100%;grid-column:1/-1;margin:0;color:#a32932;font-size:14px;line-height:1.6; }
}
@layer erp-reconstruction {
#report-list-workspace:is([data-finance-module="document-query"],[data-finance-module="document-drafts"]) .flw-table-scroll table{min-width:1380px;table-layout:auto}
#report-list-workspace:is([data-finance-module="document-query"],[data-finance-module="document-drafts"]) .flw-table-scroll :is(th,td){white-space:nowrap}
#report-list-workspace:is([data-finance-module="document-query"],[data-finance-module="document-drafts"]) .flw-table-scroll :is(th,td):first-child{min-width:180px}
#report-list-workspace:is([data-finance-module="document-query"],[data-finance-module="document-drafts"]) .flw-table-scroll td:nth-child(3),#report-list-workspace:is([data-finance-module="document-query"],[data-finance-module="document-drafts"]) .flw-table-scroll td:nth-child(5){white-space:normal;min-width:220px;max-width:320px;overflow-wrap:anywhere}
}

/* Todo dates, amounts and actions stay readable; only the data region scrolls. */
@layer erp-reconstruction {
  #report-list-workspace[data-finance-module="todos"] .flw-table-scroll table{min-width:1040px;table-layout:auto}
  #report-list-workspace[data-finance-module="todos"] .flw-table-scroll :is(th,td){white-space:nowrap}
  #report-list-workspace[data-finance-module="todos"] .flw-table-scroll td:nth-child(2){white-space:normal;min-width:200px;max-width:300px;overflow-wrap:anywhere}
}

/* Keep product identity readable and numeric/date columns intact; only the table scrolls. */
@layer erp-reconstruction {
@media screen and (min-width:768px){
#report-list-workspace:is([data-finance-module="monthly-outbound-cost"],[data-finance-module="transfer-statistics"],[data-finance-module="inventory-change-statistics"]) .flw-table-scroll table{min-width:1560px;table-layout:auto}
#report-list-workspace[data-finance-module="inventory-change-statistics"] .flw-table-scroll table{min-width:1900px}
#report-list-workspace:is([data-finance-module="monthly-outbound-cost"],[data-finance-module="transfer-statistics"],[data-finance-module="inventory-change-statistics"]) .flw-table-scroll :is(th,td){white-space:nowrap;overflow-wrap:normal}
#report-list-workspace:is([data-finance-module="monthly-outbound-cost"],[data-finance-module="transfer-statistics"],[data-finance-module="inventory-change-statistics"]) .flw-table-scroll :is(th,td):first-child{min-width:240px;max-width:300px;white-space:normal;overflow-wrap:anywhere}
#report-list-workspace:is([data-finance-module="monthly-outbound-cost"],[data-finance-module="transfer-statistics"],[data-finance-module="inventory-change-statistics"]) .flw-table-scroll td:nth-child(2){min-width:100px;max-width:160px;white-space:normal}
}
}

@layer erp-reconstruction {
.finance-list-page .flw-navigation{display:flex;flex-wrap:wrap;gap:8px;margin:0 0 20px}
.finance-list-page .flw-navigation [aria-current]{color:#fff;background:#245ca7;border-color:#245ca7}
body[data-module=logs] #report-list-workspace .flw-heading{margin-bottom:20px}
body[data-module=logs] #report-list-workspace h2{font-size:24px!important;font-weight:600!important}
body[data-module=logs] #report-list-workspace .flw-summary-disclosure>summary{display:none!important}
body[data-module=logs] #report-list-workspace .flw-tabs{gap:20px;border-bottom:1px solid #dce3ec}
body[data-module=logs] #report-list-workspace .flw-tabs button{background:none;color:#53647a;border:0;border-bottom:2px solid transparent;border-radius:0;padding:8px 0}
body[data-module=logs] #report-list-workspace .flw-tabs [aria-pressed=true]{color:#245ca7;border-bottom-color:#245ca7}
body[data-module=logs] #report-list-workspace .flw-summary{display:flex;flex-wrap:wrap;gap:20px;padding:0;margin:0 0 16px;border:0;background:none}
body[data-module=logs] #report-list-workspace .flw-summary>div{display:flex;align-items:baseline;gap:8px;border:0;padding:0;background:none}
body[data-module=logs] #report-list-workspace .flw-summary dd{font-size:15px;font-weight:600;margin:0}
body[data-module=logs] #report-list-workspace td{vertical-align:top}
body[data-module=logs] #report-list-workspace td:first-child small{display:block;color:#53647a;font-size:14px;margin-top:4px}
body[data-module=logs] #report-list-workspace td:nth-child(5){max-width:44ch;white-space:pre-wrap;overflow-wrap:anywhere}
@media(min-width:768px){
body[data-module=logs] #report-list-workspace .flw-filters{display:flex;align-items:end;gap:12px;flex-wrap:wrap}
body[data-module=logs] #report-list-workspace .flw-search{flex:1 1 240px}
body[data-module=logs] #report-list-workspace .flw-filter-disclosure{flex:0 1 auto}
body[data-module=logs] #report-list-workspace .flw-filter-body{display:flex;align-items:end;gap:12px;flex-wrap:wrap}
body[data-module=logs] #report-list-workspace .flw-filter-body label{min-width:140px}
}
@media(max-width:767px){
body[data-module=logs] #report-list-workspace .flw-tabs{gap:8px 16px!important;flex-wrap:wrap!important;overflow:visible!important;white-space:normal!important}
}
}

@layer erp-reconstruction {
#report-list-workspace[data-finance-module=business-report] .flw-table-scroll table{min-width:1000px;table-layout:auto}
#report-list-workspace[data-finance-module=business-report] .flw-table-scroll td:first-child{min-width:180px}
#report-list-workspace[data-finance-module=business-report] .flw-table-scroll td:nth-child(2){white-space:nowrap;font-variant-numeric:tabular-nums}
#report-list-workspace[data-finance-module=business-report] .flw-table-scroll td:nth-child(4){min-width:260px;max-width:380px}
#report-list-workspace[data-finance-module=business-report] .flw-pagination nav{display:none}
@media(max-width:767px){
#report-list-workspace[data-finance-module=business-report] .flw-tabs{flex-wrap:wrap!important;overflow:visible!important}
body[data-module=business-report] #detail-mask .detail-table{display:block!important;min-width:0!important}
body[data-module=business-report] #detail-mask .detail-table thead{display:none!important}
body[data-module=business-report] #detail-mask .detail-table tbody{display:block!important}
body[data-module=business-report] #detail-lines tr{display:grid;grid-template-columns:minmax(0,1fr);gap:12px;padding:20px 0;border-bottom:1px solid #dce3ec}
body[data-module=business-report] #detail-lines td{display:block!important;min-width:0;padding:0!important;border:0!important;overflow-wrap:anywhere}
body[data-module=business-report] #detail-lines td:not(:first-child)::before{content:attr(data-label);display:block;font-size:14px;color:#53647a;margin-bottom:5px}
}
}
@layer erp-reconstruction {
#report-list-workspace:is([data-finance-module=handler-statistics],[data-finance-module=partner-statistics]) .flw-table-scroll table{min-width:1000px;table-layout:auto}
#report-list-workspace:is([data-finance-module=handler-statistics],[data-finance-module=partner-statistics]) .flw-table-scroll td:first-child{min-width:210px;max-width:280px}
#report-list-workspace:is([data-finance-module=handler-statistics],[data-finance-module=partner-statistics]) .flw-table-scroll td:nth-child(n+3):nth-child(-n+6){white-space:nowrap}
#report-list-workspace[data-finance-module=handler-statistics] .flw-pagination nav{display:none}
@media(max-width:767px){
body:is([data-module=handler-statistics],[data-module=partner-statistics]) #detail-mask .detail-table{display:block!important;min-width:0!important}
body:is([data-module=handler-statistics],[data-module=partner-statistics]) #detail-mask .detail-table thead{display:none!important}
body:is([data-module=handler-statistics],[data-module=partner-statistics]) #detail-mask .detail-table tbody{display:block!important}
body:is([data-module=handler-statistics],[data-module=partner-statistics]) #detail-lines tr{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;padding:20px 0;border-bottom:1px solid #dce3ec}
body:is([data-module=handler-statistics],[data-module=partner-statistics]) #detail-lines td{display:block!important;min-width:0;padding:0!important;border:0!important;overflow-wrap:anywhere}
body:is([data-module=handler-statistics],[data-module=partner-statistics]) #detail-lines td:first-child{grid-column:1/-1}
body:is([data-module=handler-statistics],[data-module=partner-statistics]) #detail-lines td:not(:first-child)::before{content:attr(data-label);display:block;font-size:14px;color:#53647a;margin-bottom:5px}
}
}
@layer erp-reconstruction {
#report-list-workspace[data-finance-module=ar-ap-summary] .flw-table-scroll table{min-width:1060px;table-layout:auto}
#report-list-workspace[data-finance-module=ar-ap-summary] .flw-table-scroll td:first-child{min-width:230px;max-width:300px}
#report-list-workspace[data-finance-module=ar-ap-summary] .flw-table-scroll td:nth-child(n+2):nth-child(-n+7){white-space:nowrap}
#report-list-workspace[data-finance-module=ar-ap-summary] .flw-table-scroll :is(th,td):nth-child(n+2):nth-child(-n+7){text-align:right}
.aging-detail-buckets{margin:24px 0;padding:20px 0;border-block:1px solid #dce3ec}
.aging-detail-buckets h3{font-size:18px;margin:0 0 16px}
.aging-detail-buckets dl{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px 24px;margin:0}
.aging-detail-buckets dt{color:#53647a;font-size:14px}.aging-detail-buckets dd{margin:6px 0 0;font-size:15px;font-weight:600;font-variant-numeric:tabular-nums}
.aging-detail-buckets p{margin-top:18px!important;font-size:14px!important;color:#53647a}
@media(max-width:767px){.aging-detail-buckets dl{grid-template-columns:repeat(2,minmax(0,1fr));gap:18px 12px}}
}
@layer erp-reconstruction {
#report-list-workspace:is([data-finance-module=stock-summary],[data-finance-module=ar-ap-summary],[data-finance-module=handler-statistics],[data-finance-module=partner-statistics]) .flw-navigation {gap:0;margin:0 0 20px;border-bottom:1px solid #dce3ec}
#report-list-workspace:is([data-finance-module=stock-summary],[data-finance-module=ar-ap-summary],[data-finance-module=handler-statistics],[data-finance-module=partner-statistics]) .flw-navigation button {border:0;border-bottom:2px solid transparent;border-radius:0;padding:10px 16px;background:none;color:#53647a}
#report-list-workspace:is([data-finance-module=stock-summary],[data-finance-module=ar-ap-summary],[data-finance-module=handler-statistics],[data-finance-module=partner-statistics]) .flw-navigation [aria-current] {border-bottom-color:#245ca7;background:none;color:#245ca7;font-weight:600}
#report-list-workspace:is([data-finance-module=stock-summary],[data-finance-module=ar-ap-summary]) .flw-tabs {display:none}
#report-list-workspace[data-finance-module=stock-summary] .flw-table-scroll table {min-width:1000px;table-layout:auto}
#report-list-workspace[data-finance-module=stock-summary] .flw-table-scroll td:first-child {min-width:240px;max-width:320px}
#report-list-workspace[data-finance-module=stock-summary] .flw-table-scroll td:nth-child(n+3):nth-child(-n+6) {white-space:nowrap;font-variant-numeric:tabular-nums}
@media(max-width:767px){
#report-list-workspace:is([data-finance-module=stock-summary],[data-finance-module=ar-ap-summary],[data-finance-module=handler-statistics],[data-finance-module=partner-statistics]) .flw-navigation {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));margin-bottom:12px}
#report-list-workspace:is([data-finance-module=stock-summary],[data-finance-module=ar-ap-summary],[data-finance-module=handler-statistics],[data-finance-module=partner-statistics]) .flw-navigation button {min-width:0;padding-inline:8px}
}
}
@layer erp-reconstruction { #report-list-workspace[data-finance-module=stock-summary] .flw-pagination nav{display:none} }



@layer erp-reconstruction {
body:is([data-module=monthly-outbound-cost],[data-module=transfer-statistics],[data-module=inventory-change-statistics]) #payment-detail-page-host .detail-table{width:100%!important;min-width:0!important;table-layout:fixed!important}
body:is([data-module=monthly-outbound-cost],[data-module=transfer-statistics],[data-module=inventory-change-statistics]) #payment-detail-page-host .detail-table :is(th,td){white-space:normal!important;overflow-wrap:anywhere!important;font-size:15px!important;padding:12px!important}
body:is([data-module=monthly-outbound-cost],[data-module=transfer-statistics],[data-module=inventory-change-statistics]) #payment-detail-page-host .detail-table th{font-size:14px!important}
body:is([data-module=monthly-outbound-cost],[data-module=transfer-statistics],[data-module=inventory-change-statistics]) #payment-detail-page-host .detail-table td small{display:block;font-size:14px;color:#53647a}
body:is([data-module=monthly-outbound-cost],[data-module=transfer-statistics],[data-module=inventory-change-statistics]) #payment-detail-page-host .detail-note>strong{display:none}
body:is([data-module=monthly-outbound-cost],[data-module=transfer-statistics],[data-module=inventory-change-statistics]) #payment-detail-page-host #detail-note summary{display:list-item;align-content:center;min-height:44px;font-size:14px;color:#245ca7;cursor:pointer}
@media(max-width:767px){
body:is([data-module=monthly-outbound-cost],[data-module=transfer-statistics],[data-module=inventory-change-statistics]) #payment-detail-page-host .detail-table thead{display:none!important}
body:is([data-module=monthly-outbound-cost],[data-module=transfer-statistics],[data-module=inventory-change-statistics]) #payment-detail-page-host .detail-table{border:0!important;background:none!important}
body:is([data-module=monthly-outbound-cost],[data-module=transfer-statistics],[data-module=inventory-change-statistics]) #payment-detail-page-host .detail-table tbody{display:block!important}
body:is([data-module=monthly-outbound-cost],[data-module=transfer-statistics],[data-module=inventory-change-statistics]) #payment-detail-page-host .detail-table tr{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px 16px;padding:20px 0;border-bottom:1px solid #dce3ec}
body:is([data-module=monthly-outbound-cost],[data-module=transfer-statistics],[data-module=inventory-change-statistics]) #payment-detail-page-host .detail-table td{display:block!important;min-width:0;padding:0!important;border:0!important}
body:is([data-module=monthly-outbound-cost],[data-module=transfer-statistics],[data-module=inventory-change-statistics]) #payment-detail-page-host .detail-table td:first-child{grid-column:1/-1}
body:is([data-module=monthly-outbound-cost],[data-module=transfer-statistics],[data-module=inventory-change-statistics]) #payment-detail-page-host .detail-table td:not(:first-child)::before{content:attr(data-label);display:block;color:#53647a;font-size:14px;margin-bottom:5px}
}
}

@layer erp-reconstruction {
body:is([data-module=logs],[data-module=import-export],[data-module=print-audit],[data-module=year-close]) #payment-detail-page-host .detail-table{width:100%!important;min-width:0!important;table-layout:fixed!important}
body:is([data-module=logs],[data-module=import-export],[data-module=print-audit],[data-module=year-close]) #payment-detail-page-host .detail-table :is(th,td){font-size:15px!important;white-space:normal!important;overflow-wrap:anywhere!important;padding:12px!important}
body:is([data-module=logs],[data-module=import-export],[data-module=print-audit],[data-module=year-close]) #payment-detail-page-host .detail-table th{font-size:14px!important}
body:is([data-module=logs],[data-module=import-export],[data-module=print-audit],[data-module=year-close]) #payment-detail-page-host .detail-table :is(th,td):first-child{width:28%}
body:is([data-module=logs],[data-module=import-export],[data-module=print-audit],[data-module=year-close]) #payment-detail-page-host .detail-note>strong{display:none}
body:is([data-module=logs],[data-module=import-export],[data-module=print-audit],[data-module=year-close]) #payment-detail-page-host .system-record-notice{display:block;margin-bottom:12px;color:#854b12}
body:is([data-module=logs],[data-module=import-export],[data-module=print-audit],[data-module=year-close]) #payment-detail-page-host #detail-note summary{display:list-item;align-content:center;min-height:44px;font-size:14px;color:#245ca7;cursor:pointer}
}

@layer erp-reconstruction {
body.pixel-replica.payment-detail-page-open #purchase-analysis-panel{display:none!important}
body:is([data-module=purchase-analysis],[data-module=sales-analysis]) #payment-detail-page-host .detail-table{width:100%!important;min-width:0!important;table-layout:fixed!important}
body:is([data-module=purchase-analysis],[data-module=sales-analysis]) #payment-detail-page-host .detail-table :is(th,td){white-space:pre-line!important;overflow-wrap:anywhere!important;font-size:15px!important;padding:12px!important}
body:is([data-module=purchase-analysis],[data-module=sales-analysis]) #payment-detail-page-host .detail-table th{font-size:14px!important}
body:is([data-module=purchase-analysis],[data-module=sales-analysis]) #payment-detail-page-host .detail-note>strong{display:none}
body:is([data-module=purchase-analysis],[data-module=sales-analysis]) #payment-detail-page-host #detail-note summary{display:list-item;align-content:center;min-height:44px;font-size:14px;color:#245ca7;cursor:pointer}
@media(max-width:767px){
body:is([data-module=purchase-analysis],[data-module=sales-analysis]) #payment-detail-page-host .detail-table{border:0!important;background:none!important}
body:is([data-module=purchase-analysis],[data-module=sales-analysis]) #payment-detail-page-host .detail-table thead{display:none!important}
body:is([data-module=purchase-analysis],[data-module=sales-analysis]) #payment-detail-page-host .detail-table tbody{display:block!important}
body:is([data-module=purchase-analysis],[data-module=sales-analysis]) #payment-detail-page-host .detail-table tr{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;padding:20px 0;border-bottom:1px solid #dce3ec}
body:is([data-module=purchase-analysis],[data-module=sales-analysis]) #payment-detail-page-host .detail-table td{display:block!important;min-width:0;padding:0!important;border:0!important}
body:is([data-module=purchase-analysis],[data-module=sales-analysis]) #payment-detail-page-host .detail-table td:first-child{grid-column:1/-1;font-weight:600}
body:is([data-module=purchase-analysis],[data-module=sales-analysis]) #payment-detail-page-host .detail-table td:not(:first-child)::before{content:attr(data-label);display:block;color:#53647a;font-size:14px;margin-bottom:5px}
}
}

@layer erp-reconstruction{#payment-allocation-form .allocation-recovery{grid-column:1/-1;margin:0;color:#81521a;font-size:15px;line-height:1.7;overflow-wrap:anywhere}}

@layer erp-reconstruction {#payment-allocation-mask .allocation-recovery{grid-column:1/-1;margin:0;padding:12px 0;color:#81521a;font-size:15px;line-height:1.7;overflow-wrap:anywhere}}

@layer erp-reconstruction { @media screen {
#payment-detail-page-host #detail-mask[data-detail-layout] .detail-meta{grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:20px 24px!important}
@media(max-width:1100px){#payment-detail-page-host #detail-mask[data-detail-layout] .detail-meta{grid-template-columns:repeat(2,minmax(0,1fr))!important}}
#payment-detail-page-host #detail-mask[data-detail-layout] .document-detail-table-wrap{min-width:0;max-width:100%;overflow:auto;scrollbar-color:#a4b3c6 #f1f4f8}
#payment-detail-page-host #detail-mask[data-detail-layout] #document-detail-table{width:100%!important;min-width:760px!important;table-layout:auto!important;border-collapse:collapse}
#payment-detail-page-host #detail-mask[data-detail-layout] #document-detail-table :is(th,td){position:static!important;height:auto!important;padding:12px!important;border:0!important;border-bottom:1px solid #dce3ec!important;background:none!important;color:#213047!important;font:15px/1.6 "Microsoft YaHei",sans-serif!important;white-space:normal!important;overflow-wrap:anywhere}
#payment-detail-page-host #detail-mask[data-detail-layout] #document-detail-table th{font-size:14px!important;background:#f2f5fa!important;color:#53647a!important}
#payment-detail-page-host #detail-mask[data-detail-layout] #document-detail-table td strong{display:block;font-size:15px!important;font-weight:600}
#payment-detail-page-host #detail-mask[data-detail-layout] #document-detail-table td small{display:block;font-size:14px!important;color:#53647a!important;margin-top:4px}
#payment-detail-page-host #detail-mask[data-detail-layout] #document-detail-table .document-line-note{margin:10px 0 0;white-space:pre-wrap;overflow-wrap:anywhere;font-size:15px!important;line-height:1.6}
#payment-detail-page-host .document-line-note>span{font-size:14px;color:#53647a}
#payment-detail-page-host #detail-mask[data-detail-layout] #document-detail-table :is(th,td):first-child{width:36%!important;min-width:220px}
#payment-detail-page-host #detail-mask[data-detail-layout=statement] #document-detail-table :is(th,td):nth-child(n+3){white-space:nowrap!important;font-variant-numeric:tabular-nums}
@media(max-width:767px){
#payment-detail-page-host #detail-mask[data-detail-layout] #document-detail-table{display:block!important;min-width:0!important;max-width:100%!important}
#payment-detail-page-host #detail-mask[data-detail-layout] #document-detail-table thead{display:none!important}
#payment-detail-page-host #detail-mask[data-detail-layout] #document-detail-table tbody{display:block!important}
#payment-detail-page-host #detail-mask[data-detail-layout] #document-detail-table tr{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:16px!important;padding:20px 0!important;margin:0!important;border:0!important;border-bottom:1px solid #dce3ec!important;border-radius:0!important;background:none!important;box-shadow:none!important}
#payment-detail-page-host #detail-mask[data-detail-layout] #document-detail-table td{display:block!important;min-width:0!important;width:auto!important;max-width:100%!important;padding:0!important;border:0!important;white-space:normal!important}
#payment-detail-page-host #detail-mask[data-detail-layout] #document-detail-table td:first-child,#payment-detail-page-host #detail-mask[data-detail-layout] #document-detail-table td[colspan]{grid-column:1/-1!important;min-width:0;width:auto!important}
#payment-detail-page-host #detail-mask[data-detail-layout] #document-detail-table td:not(:first-child)::before{content:attr(data-label);display:block;font-size:14px;color:#53647a;margin-bottom:5px}
#payment-detail-page-host .detail-dialog>footer.detail-actions-compact{position:relative!important;display:flex!important;flex-direction:row!important;flex-wrap:nowrap!important;align-items:stretch!important;gap:8px!important;padding:12px 16px!important;min-height:68px!important;max-height:none!important;overflow:visible!important}
#payment-detail-page-host .detail-actions-compact>button{width:auto!important;flex:1 1 0!important;min-width:0!important;min-height:44px!important;margin:0!important;font-size:15px!important}
#payment-detail-page-host .detail-more-actions{position:static;flex:0 0 72px;min-width:0;font-size:15px}
#payment-detail-page-host .detail-more-actions>summary{display:flex;align-items:center;justify-content:center;min-height:44px;padding:8px;border:1px solid #bfcbdc;border-radius:4px;cursor:pointer;color:#245ca7;list-style:none}
#payment-detail-page-host .detail-more-actions>summary:focus-visible{outline:3px solid #6394df;outline-offset:2px}
#payment-detail-page-host .detail-more-actions-body{position:absolute;bottom:calc(100% + 4px);inset-inline:16px;z-index:3;max-height:min(55dvh,360px);overflow:auto;overscroll-behavior:contain;padding:12px;background:#fff;border:1px solid #bfcbdc;border-radius:4px;box-shadow:0 6px 20px #172d4720}
#payment-detail-page-host .detail-more-actions-body>button{display:block;width:100%!important;min-height:44px!important;margin:0 0 8px!important;font-size:15px!important}
#payment-detail-page-host .detail-more-actions-body>.next-action-copy{display:block;width:auto!important;min-width:0!important;margin:12px 0 0!important;font-size:14px!important}
}
} }

@layer erp-reconstruction {
#payment-detail-page-host .partner-statement-period{display:flex;flex-wrap:wrap;align-items:end;gap:16px;padding:20px 0;border-bottom:1px solid #dce3ec}
#payment-detail-page-host .partner-statement-period label{display:grid;gap:6px;min-width:0;font-size:14px;color:#53647a}
#payment-detail-page-host .partner-statement-period input{min-height:44px;max-width:100%;padding:8px 12px;border:1px solid #bfcbdc;border-radius:4px;background:#fff;color:#213047;font:15px/1.6 "Microsoft YaHei",sans-serif}
#payment-detail-page-host .partner-statement-period button{min-height:44px;padding:8px 16px;border:1px solid #245ca7;border-radius:4px;background:#245ca7;color:#fff;font-size:15px;cursor:pointer}
#payment-detail-page-host .partner-statement-period p{flex-basis:100%;margin:0;color:#a32626;font-size:15px}
#payment-detail-page-host .partner-statement-period :focus-visible{outline:3px solid #6394df;outline-offset:2px}
@media(max-width:767px){#payment-detail-page-host .partner-statement-period{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}#payment-detail-page-host .partner-statement-period :is(button,p){grid-column:1/-1}#payment-detail-page-host .partner-statement-period input{width:100%;min-width:0}}
}
@media print{.partner-statement-period{display:none!important}}

@layer erp-reconstruction {
body.workspace-ui .finance-list-page .flw-table-scroll{overflow:auto!important;max-width:100%;scrollbar-width:thin;scrollbar-color:#9baac4 #edf1f7}
body.workspace-ui .finance-list-page .flw-table-scroll table{display:table!important;min-width:760px;width:100%;border-collapse:collapse;font-size:15px}
body.workspace-ui .finance-list-page .flw-table-scroll tr{display:table-row!important;height:48px!important}
body.workspace-ui .finance-list-page .flw-table-scroll :is(th,td){display:table-cell!important;padding:8px 12px!important;vertical-align:middle!important;font-size:15px;line-height:1.45}
body.workspace-ui .finance-list-page .flw-column-control{width:44px!important;min-width:44px!important;max-width:44px!important;padding:4px!important;text-align:center!important}
body.workspace-ui .finance-list-page .erp-column-settings-trigger{display:inline-grid!important;place-items:center;min-width:36px!important;min-height:36px!important;padding:6px!important}
body.workspace-ui .finance-list-page .flw-selection{display:none!important}
}
