/* V338: shared compact ledger presentation. The active portal theme owns surfaces and ink. */
.apx-queue332.apx-ledger338 .apx-table.apx-ledger{min-width:1280px}
.apx-queue332.apx-ledger338 .apx-table.apx-ledger:has([data-ledger-col="pending_with"]){min-width:1480px}
.apx-queue332.apx-ledger338 .apx-table.apx-ledger th[data-ledger-col]{--apx-column-color:#697889;padding:4px 7px;text-align:left;background:color-mix(in srgb,var(--apx-column-color) 30%,var(--apx-surface));color:var(--apx-ink)}
.apx-queue332.apx-ledger338 .apx-table.apx-ledger td[data-ledger-col]{padding:3px 7px;text-align:left;max-width:none;vertical-align:middle;line-height:1.3}
.apx-queue332.apx-ledger338 .apx-table.apx-ledger th[data-ledger-col="payment_no"]{--apx-column-color:#8b6ec5}
.apx-queue332.apx-ledger338 .apx-table.apx-ledger th[data-ledger-col="created_at"],.apx-queue332.apx-ledger338 .apx-table.apx-ledger th[data-ledger-col="approved_at"]{--apx-column-color:#448dcc}
.apx-queue332.apx-ledger338 .apx-table.apx-ledger th[data-ledger-col="entity"],.apx-queue332.apx-ledger338 .apx-table.apx-ledger th[data-ledger-col="department"]{--apx-column-color:#33968b}
.apx-queue332.apx-ledger338 .apx-table.apx-ledger th[data-ledger-col="nature_of_transaction"],.apx-queue332.apx-ledger338 .apx-table.apx-ledger th[data-ledger-col="payment_priority"],.apx-queue332.apx-ledger338 .apx-table.apx-ledger th[data-ledger-col="pending_with"]{--apx-column-color:#d8a23f}
.apx-queue332.apx-ledger338 .apx-table.apx-ledger th[data-ledger-col="requester"],.apx-queue332.apx-ledger338 .apx-table.apx-ledger th[data-ledger-col="beneficiary_name"]{--apx-column-color:#8477b8}
.apx-queue332.apx-ledger338 .apx-table.apx-ledger th[data-ledger-col="currency"],.apx-queue332.apx-ledger338 .apx-table.apx-ledger th[data-ledger-col="total_amount"]{--apx-column-color:#369a6d}
.apx-queue332.apx-ledger338 .apx-table.apx-ledger [data-ledger-col="row"]{width:26px;text-align:center;padding-left:5px;padding-right:5px}
.apx-queue332.apx-ledger338 .apx-table.apx-ledger [data-ledger-col="payment_no"]{min-width:132px;white-space:nowrap}
.apx-queue332.apx-ledger338 .apx-table.apx-ledger [data-ledger-col="created_at"],.apx-queue332.apx-ledger338 .apx-table.apx-ledger [data-ledger-col="approved_at"]{min-width:98px;white-space:nowrap}
.apx-queue332.apx-ledger338 .apx-table.apx-ledger [data-ledger-col="total_amount"]{text-align:right;white-space:nowrap;min-width:85px}
.apx-queue332.apx-ledger338 .apx-table.apx-ledger [data-ledger-col="currency"]{white-space:nowrap}
.apx-queue332.apx-ledger338 .apx-table.apx-ledger [data-ledger-col="pending_with"]{min-width:176px;max-width:240px;white-space:normal;overflow-wrap:anywhere}
.apx-queue332.apx-ledger338 .apx-table.apx-ledger [data-ledger-col="action"]{min-width:104px;white-space:nowrap}
.apx-queue332.apx-ledger338 .apx-waiting-owner{display:grid;gap:2px;padding:3px 0;line-height:1.3}
.apx-queue332.apx-ledger338 .apx-waiting-owner .apx-pending-name{font-size:11px;font-weight:650;margin:0;line-height:1.3;color:var(--apx-ink)}
.apx-queue332.apx-ledger338 .apx-approval-stage{display:block;font-size:10px;font-weight:600;line-height:1.3;color:var(--apx-ink)}
.apx-queue332.apx-ledger338 .apx-waiting-owner .apx-sub,.apx-queue332.apx-ledger338 .apx-waiting-owner .apx-wait{margin:0;font-size:10px;line-height:1.3;color:var(--apx-muted)}
.apx-queue332.apx-ledger338 .apx-not-pending{font-size:10px;color:var(--apx-muted)}
.apx-payments338{min-width:0;overflow:visible}
.apx-payments338 .list-toolbar{border-radius:12px 12px 0 0}
.apx-payments338 .apx-ledger-toolbar{padding-top:12px}
.apx-payments338 .pi322-filters{border-top:1px solid var(--apx-line)}
.apx-payments338 #listGrid{min-width:0}
.apx-payments338 .pagination{margin-top:0;border-top:1px solid var(--apx-line)}
.apx-payments338 .apx-ledger-card>.badge{margin-bottom:12px}
@media(max-width:600px){
 .apx-payments338 .pagination{padding:14px;display:flex;align-items:flex-start;gap:12px;flex-wrap:wrap;font-size:11px}
 .apx-payments338 .pagination-actions{display:flex;width:100%;justify-content:space-between;align-items:center;gap:8px;flex-wrap:wrap}
 .apx-payments338 .pagination-actions .btn{min-height:44px}
 .apx-queue332.apx-ledger338 .apx-mobile-status>small{display:block;font-size:11px;font-weight:600;margin-bottom:5px;color:var(--apx-muted)}
 .apx-queue332.apx-ledger338 .apx-mobile-status .apx-pending-name{font-size:13px}
 .apx-queue332.apx-ledger338 .apx-mobile-status .apx-approval-stage,.apx-queue332.apx-ledger338 .apx-mobile-status .apx-waiting-owner .apx-sub,.apx-queue332.apx-ledger338 .apx-mobile-status .apx-waiting-owner .apx-wait{font-size:11px}
}
