/* V5.2 · UI only: sticky grouped header, strong tabs, money emphasis. */
.employee-scroll .debt-entity-table thead tr.debt-head-group th{position:sticky!important;top:0!important;z-index:22!important;box-shadow:0 1px 0 #ffffff22}
.employee-scroll .debt-entity-table thead tr.debt-head-period th{position:sticky!important;top:var(--debt-group-h,50px)!important;z-index:21!important;box-shadow:0 2px 0 #ffffff33}
.employee-scroll .debt-entity-table thead tr.debt-head-group th[rowspan]{z-index:23!important}
.debt-entity-table tbody .money-cell .red-money,.detail-grid-scroll .red-money{font-weight:900;white-space:nowrap;font-variant-numeric:tabular-nums}
.debt-entity-table tbody .money-cell .red-money.positive,.detail-grid-scroll .red-money.positive{color:#aa1833!important}
.debt-entity-table tbody .money-cell .red-money.zero,.detail-grid-scroll .red-money.zero{color:#d9828d!important}
.dark .debt-entity-table tbody .money-cell .red-money.positive,.dark .detail-grid-scroll .red-money.positive{color:#ff7185!important}
.dark .debt-entity-table tbody .money-cell .red-money.zero,.dark .detail-grid-scroll .red-money.zero{color:#be8591!important}
.viewTabs{padding:3px;background:#e8f0fa;border-radius:12px;gap:6px!important}
.viewTab{font-size:14px!important;font-weight:900!important;border-radius:9px!important;border:1px solid transparent!important;padding:8px 15px!important;color:#345b82!important;box-shadow:none!important}
.viewTab.selected{color:#fff!important;background:linear-gradient(105deg,#184b97,#247bc3)!important;box-shadow:0 3px 10px #173f8b36!important;border-color:#1c5eae!important}
.viewTab:not(.selected):hover{background:#d0e2f9!important;color:#1b4c82!important}
.dark .viewTabs{background:#203954}.dark .viewTab{color:#b7d1e7!important}.dark .viewTab.selected{color:#fff!important;background:linear-gradient(105deg,#255baf,#298abd)!important}
.detailStreamStatus{padding:8px 16px 12px;font-size:11px;color:var(--muted);font-weight:700;min-height:22px}
.detail-grid-scroll thead th{z-index:12}
.detail-grid-scroll td:nth-child(5){min-width:220px;max-width:430px}
@media(max-width:720px){.viewTab{font-size:12px!important;padding:8px 10px!important}.employee-scroll{max-height:69vh}}
