/* Shared, subtle distinction; existing text and keyboard-accessible links remain. */
tr[data-record-open-row] a.record-open-btn[data-record-mode="edit"]{
 background:#e9f6f5!important;border-color:#82b4b7!important;color:#075c65!important;
}
tr[data-record-open-row] a.record-open-btn[data-record-mode="view"]{
 background:#f2f4f5!important;border-color:#b8c2c7!important;color:#4c606a!important;
}
tr[data-record-open-row] a.record-open-btn[data-record-mode="edit"]:hover{background:#d7eeec!important;}
tr[data-record-open-row] a.record-open-btn[data-record-mode="view"]:hover{background:#e5eaed!important;}

/* History tables keep useful columns instead of squeezing labels and money. */
.workflow-page.billing-page .billing-history .desktop-table table.billing-status-table{width:100%!important;min-width:1178px!important;table-layout:fixed!important;}
.workflow-page.billing-page .billing-history .desktop-table table.billing-status-table.with-destination{min-width:1278px!important;}
.workflow-page.billing-page .billing-history .desktop-table table.billing-status-table :is(th,td){box-sizing:border-box!important;padding-left:6px!important;padding-right:6px!important;vertical-align:middle!important;line-height:1.45!important;text-overflow:clip!important;}
.workflow-page.billing-page .billing-history .desktop-table table.billing-status-table :is(th,td):nth-child(1){width:84px!important;min-width:84px!important;max-width:84px!important;}
.workflow-page.billing-page .billing-history .desktop-table table.billing-status-table :is(th,td):nth-child(2){width:132px!important;min-width:132px!important;max-width:132px!important;}
.workflow-page.billing-page .billing-history .desktop-table table.billing-status-table :is(th,td):nth-child(3){width:88px!important;min-width:88px!important;max-width:88px!important;}
.workflow-page.billing-page .billing-history .desktop-table table.billing-status-table :is(th,td):nth-child(4){width:112px!important;min-width:112px!important;max-width:112px!important;}
.workflow-page.billing-page .billing-history .desktop-table table.billing-status-table :is(th,td):nth-child(5){width:220px!important;min-width:220px!important;max-width:220px!important;}
.workflow-page.billing-page .billing-history .desktop-table table.billing-status-table :is(th,td):nth-child(6){width:84px!important;min-width:84px!important;max-width:84px!important;}
.workflow-page.billing-page .billing-history .desktop-table table.billing-status-table :is(th,td):nth-child(7){width:138px!important;min-width:138px!important;max-width:138px!important;}
.workflow-page.billing-page .billing-history .desktop-table table.billing-status-table :is(th,td):nth-child(8){width:160px!important;min-width:160px!important;max-width:160px!important;}
.workflow-page.billing-page .billing-history .desktop-table table.billing-status-table :is(th,td):nth-child(9){width:84px!important;min-width:84px!important;max-width:84px!important;}

.workflow-page.billing-page .billing-history .desktop-table table.billing-status-table.with-destination :is(th,td):nth-child(10){width:100px!important;min-width:100px!important;max-width:100px!important;}
.workflow-page.billing-page .billing-history .desktop-table table.billing-status-table :is(th,td):last-child{width:76px!important;min-width:76px!important;max-width:76px!important;}
.workflow-page.billing-page .billing-history .desktop-table table.billing-status-table td.billing-cpt-cell{white-space:normal!important;overflow:visible!important;word-break:normal!important;overflow-wrap:normal!important;text-align:center!important;}
.workflow-page.billing-page .billing-history .desktop-table table.billing-status-table .billing-cpt-group{display:flex!important;flex-wrap:wrap!important;justify-content:center;align-items:baseline;column-gap:4px;max-width:100%;line-height:1.5!important;}
.workflow-page.billing-page .billing-history .desktop-table table.billing-status-table .billing-cpt-item{display:inline-block!important;white-space:nowrap!important;margin-right:0!important;}
.workflow-page.billing-page .billing-history .desktop-table table.billing-status-table td:nth-child(4){white-space:normal!important;overflow-wrap:anywhere!important;}
.workflow-page.billing-page .billing-history .desktop-table table.billing-status-table td.money-cell{text-align:right!important;white-space:nowrap!important;font-variant-numeric:tabular-nums;}
.workflow-page.billing-page .billing-history .desktop-table table.billing-status-table th .ukd-status-filter{display:block!important;width:124px!important;min-width:124px!important;max-width:none!important;box-sizing:border-box!important;margin:0 auto!important;padding:6px 24px 6px 7px!important;white-space:nowrap!important;text-overflow:clip!important;}
.workflow-page.billing-page .billing-history .desktop-table table.billing-status-table th:nth-child(8) .ukd-status-filter{width:144px!important;min-width:144px!important;}

.workflow-page.charts-page .workflow-records .chart-history-table table{width:max(100%,888px)!important;min-width:888px!important;max-width:none!important;table-layout:fixed!important;}
.workflow-page.charts-page .workflow-records .chart-history-table table :is(th,td):nth-child(1){width:76px!important;min-width:76px!important;max-width:76px!important;box-sizing:border-box!important;}
.workflow-page.charts-page .workflow-records .chart-history-table table :is(th,td):nth-child(2){width:144px!important;min-width:144px!important;max-width:144px!important;box-sizing:border-box!important;}
.workflow-page.charts-page .workflow-records .chart-history-table table :is(th,td):nth-child(3){width:144px!important;min-width:144px!important;max-width:144px!important;box-sizing:border-box!important;}
.workflow-page.charts-page .workflow-records .chart-history-table table :is(th,td):nth-child(4){width:164px!important;min-width:164px!important;max-width:164px!important;box-sizing:border-box!important;}
.workflow-page.charts-page .workflow-records .chart-history-table table :is(th,td):nth-child(5){width:132px!important;min-width:132px!important;max-width:132px!important;box-sizing:border-box!important;}
.workflow-page.charts-page .workflow-records .chart-history-table table :is(th,td):nth-child(6){width:138px!important;min-width:138px!important;max-width:138px!important;box-sizing:border-box!important;}
.workflow-page.charts-page .workflow-records .chart-history-table table :is(th,td):nth-child(7){width:80px!important;min-width:80px!important;max-width:80px!important;box-sizing:border-box!important;}

.workflow-page.charts-page .workflow-records .chart-history-table table th:nth-child(6) .ukd-status-filter{display:block!important;width:124px!important;min-width:124px!important;max-width:none!important;box-sizing:border-box!important;margin:0 auto!important;padding:6px 24px 6px 7px!important;white-space:nowrap!important;text-overflow:clip!important;}

/* Compact claim type/payer display: fits the existing 30px cell content height. */
.claim-type-value,.claim-type-heading{display:block;line-height:14px!important;}
.claim-payer-id,.claim-payer-heading{display:block;font-size:10px!important;line-height:11px!important;margin:1px 0 0!important;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:100%;}
.claim-payer-id{color:#557078;}
.workflow-page.billing-page .billing-history table.billing-status-table th:first-child .ukd-select-header{
 width:66px!important;min-width:0!important;max-width:100%!important;box-sizing:border-box!important;padding:6px 5px!important;gap:5px!important;margin:0 auto!important;
}
