.matrix-scroll{width:100%;max-width:100%;overflow:auto;border:1px solid #ccd9e2;border-radius:8px;margin:12px 0 20px;background:#fff}
.matrix-table{width:100%;border-collapse:collapse;min-width:640px;font-size:13px;color:#163247;background:#fff}
.matrix-table th,.matrix-table td{border:1px solid #dce4eb!important;padding:10px 12px!important;text-align:left;vertical-align:top;line-height:1.45;max-width:360px;overflow-wrap:anywhere}
.matrix-table thead th{background:#eaf1f6!important;color:#163247!important;position:sticky;top:0;z-index:1;font-weight:700;white-space:normal}
.matrix-table tbody tr:nth-child(even){background:#f5f8fb}
.matrix-table tbody tr:hover{background:#edf7f2}
.matrix-table .premium-team-row{display:table-row!important;min-height:0;border-radius:0}
.matrix-table .premium-team-row[hidden]{display:none!important}
.matrix-table td form{margin:4px 0;min-width:180px}.matrix-table td button{width:auto!important}.matrix-table td .holiday-edit-form{min-width:290px}
.matrix-table td input:not([type=checkbox]):not([type=radio]),.matrix-table td select{max-width:100%}
.matrix-toolbar{display:flex;align-items:center;justify-content:flex-end;gap:8px;flex-wrap:wrap;margin:14px 0 6px;color:#41576a}
.matrix-toolbar small{margin-right:auto}.matrix-toolbar button{width:auto!important;padding:8px 13px!important;font-size:13px!important}.matrix-toolbar [role=status]{font-size:12px}
.bp-legacy .wrap:has(.matrix-table){max-width:none;padding:20px}.grid:has(>.matrix-scroll){display:block!important}
@media(max-width:760px){.matrix-toolbar{justify-content:flex-start}.matrix-toolbar small{width:100%}.matrix-table{font-size:12px}}
.matrix-dashboard{grid-template-columns:1fr!important}.matrix-dashboard>.dashboard-side{display:grid;grid-template-columns:1fr!important}.matrix-table tr[hidden]{display:none!important}.closed-periods-list,.payroll-employee-list,.extra-decision-list{display:block!important}.matrix-table .holiday-edit-form[hidden]{display:none!important}

.matrix-table thead th{min-width:110px;overflow-wrap:normal}.matrix-table td{min-width:100px}.matrix-table td:has(code){min-width:180px}
.matrix-table thead th .matrix-sort-button,.matrix-table thead th .matrix-sort-button:hover,.matrix-table thead th .matrix-sort-button:focus,.matrix-table thead th .matrix-sort-button:active{display:flex!important;align-items:center;justify-content:space-between;gap:8px;width:100%!important;min-width:0!important;min-height:0!important;height:auto!important;padding:0!important;margin:0!important;border:0!important;border-radius:0!important;box-shadow:none!important;background:transparent!important;color:inherit!important;transform:none!important;font:inherit!important;text-align:left;cursor:pointer;white-space:normal}
.matrix-table thead th .matrix-sort-button:focus-visible{outline:2px solid #007f4e!important;outline-offset:4px}.matrix-sort-icon{flex-shrink:0;color:#486277}.matrix-table th[aria-sort=ascending],.matrix-table th[aria-sort=descending]{background:#dceee7!important}
