.sortable-table th{vertical-align:middle}
.table-sort-button{display:inline-flex;align-items:center;justify-content:flex-start;gap:9px;padding:8px;margin:-8px;text-align:left;font:inherit;letter-spacing:inherit;text-transform:inherit;color:inherit;border-radius:4px;min-height:36px;max-width:calc(100% + 16px)}
.table-sort-button:hover{background:#42526c0b;color:var(--navy)}
.table-sort-arrows{width:13px;height:20px;flex:0 0 13px;fill:currentColor}
.table-sort-arrows path{opacity:.27}
.table-sort-button:hover .table-sort-arrows path{opacity:.55}
.sortable-table th[aria-sort="descending"] .sort-arrow-down,.sortable-table th[aria-sort="ascending"] .sort-arrow-up{opacity:1;fill:var(--navy)}
.sortable-table th[aria-sort="descending"] .table-sort-button,.sortable-table th[aria-sort="ascending"] .table-sort-button{color:var(--navy)}
.sortable-table .table-sort-button:focus-visible{outline:3px solid var(--gold);outline-offset:2px}
@media(max-width:600px){.table-sort-button{gap:6px}.table-sort-arrows{width:11px;flex-basis:11px}}

.modal-backdrop{grid-template-columns:minmax(0,1fr)}
.modal{min-width:0;overflow-wrap:anywhere;overflow-x:hidden;overflow-y:auto}
.modal header,.modal footer{min-width:0}.modal footer{flex-wrap:wrap}
.modal .table-wrap{max-width:100%;overflow:visible}
.modal table{width:100%;min-width:0;white-space:normal}
.modal .badge,.modal .subline,.modal .address-link{white-space:normal}
.modal:has(.job-row){max-width:1120px}
.modal .sortable-table th,.modal .sortable-table td{padding-inline:clamp(8px,1.3vw,18px)}
.modal .progress-cell .progress{min-width:0}
@media(max-width:720px){
 .modal table:has(.job-row),.modal table:has(.job-row) tbody,.modal table:has(.job-row) thead{display:block}
 .modal table:has(.job-row) thead tr{display:flex;flex-wrap:wrap;padding:8px;gap:4px;background:#fafbfc}
 .modal table:has(.job-row) th{padding:0;border:0}
 .modal table:has(.job-row) .table-sort-button{margin:0;padding:4px;max-width:100%}
 .modal .job-row{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:9px 14px;padding:14px 16px;border-bottom:1px solid var(--line)}
 .modal .job-row td{display:block;min-width:0;border:0;padding:0}
 .modal .job-row td:first-child,.modal .job-row td:nth-child(2){grid-column:1/-1}
 .modal .job-row td:last-child{display:none}
 .modal .job-row td[data-label]::before{content:attr(data-label);display:block;color:var(--muted);font-size:10px;margin-bottom:3px}
}
