/* Restore the existing navy payment header with compact ruled rows. */
#root .oc-paper .oc-document-footer .oc-payments-compact{padding:0!important;border:0!important;margin-top:12px!important;border-radius:5px!important;overflow:hidden!important}
#root .oc-paper .oc-document-footer .oc-payments-compact__header{box-sizing:border-box!important;min-height:27px!important;padding:5px 10px!important;background:#243b55!important;color:#fff!important;border:1px solid #243b55!important;gap:7px!important}
#root .oc-paper .oc-document-footer .oc-payments-compact__header>strong{color:#fff!important;font-size:11px!important;line-height:1.4!important}
#root .oc-paper .oc-document-footer .oc-payments-compact__history{color:#e5edfa!important;min-height:18px!important;padding:1px 4px!important}
#root .oc-paper .oc-document-footer .oc-payments-compact__history:hover{background:rgba(255,255,255,.12)!important;color:#fff!important}
#root .oc-paper .oc-document-footer .oc-payments-table{margin:0!important;font-size:11px!important}
#root .oc-paper .oc-document-footer .oc-payments-table th,#root .oc-paper .oc-document-footer .oc-payments-table td{padding:4px 9px!important;height:25px!important;box-sizing:border-box!important;line-height:1.35!important;border-color:#d6dfec!important}
#root .oc-paper .oc-document-footer .oc-payments-table tbody th{width:28%!important;font-weight:600!important}
#root .oc-paper .oc-document-footer .oc-payments-table tfoot th{background:#243b55!important;color:#fff!important;text-align:right!important}
#root .oc-paper .oc-document-footer .oc-payments-table tfoot td{background:#f5f7fb!important;color:#23364e!important}
#root .oc-paper .oc-document-footer .oc-payments-history{margin:0!important;padding:0 10px!important;border:1px solid #d6dfec!important;border-top:0!important}
/* Keep order cards on one aligned rail; long folios retain their full title. */
.po-workspace .po-order-list>.po-order-item{width:100%!important;min-width:0!important;margin-left:0!important;padding:11px!important;gap:5px!important}
.po-workspace .po-order-list>.po-order-item>strong{display:block!important;min-width:0!important;max-width:100%!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important;overflow-wrap:normal!important;line-height:19px!important}
.po-workspace .po-order-list>.po-order-item>small:not(.po-linked-label){display:block!important;min-width:0!important;overflow:hidden!important;text-overflow:ellipsis!important;white-space:nowrap!important}
.po-workspace .po-order-item.is-linked{box-shadow:inset 3px 0 0 #c1ace8!important}
.po-workspace .po-order-item.is-linked.is-selected{box-shadow:inset 3px 0 0 #8156e8, inset 0 0 0 1px #9365f0!important}
.po-workspace .po-linked-label{display:flex!important;align-items:center!important;gap:5px!important;line-height:18px!important}
.po-workspace .po-linked-label:before{content:'↳';font-size:14px;line-height:1}
@media print{#root .oc-paper .oc-document-footer .oc-payments-compact__header,#root .oc-paper .oc-document-footer .oc-payments-table tfoot th{print-color-adjust:exact!important;-webkit-print-color-adjust:exact!important}}
