/* Management uses the page width and natural document scroll. */
.admin-workspace{width:100%;max-width:none}
.admin-controls{display:flex;align-items:center;gap:12px;margin-bottom:10px}
.admin-controls h1{font-size:21px;line-height:1.2;margin:0;white-space:nowrap}
.admin-controls input{width:290px;min-width:180px;margin-left:10px}
.staff-count{color:var(--muted);font-size:13px;white-space:nowrap}
.staff-add{margin-left:auto}
.staff-table-wrap{width:100%;overflow:visible;border:1px solid var(--line);border-radius:4px}
.team-table{table-layout:fixed;min-width:0;width:100%;height:auto}
.team-table .staff-person-col{width:21%}.team-table .staff-email-col{width:24%}.team-table .staff-region-col{width:12%}.team-table .staff-role-col{width:17%}.team-table .staff-access-col{width:14%}.team-table .staff-actions-col{width:12%}
.team-table th{position:sticky;top:0;z-index:1;padding:7px 10px;background:#f1f3f5;font-size:13px;font-weight:400;line-height:18px}
.team-table td{padding:2px 10px;vertical-align:middle;height:32px;line-height:20px;font-size:14px}
.team-table .staff-name{font-weight:400;white-space:nowrap}
.team-table .staff-email{font-size:13px;overflow-wrap:anywhere;color:var(--muted)}
.staff-missing{font-size:13px;color:var(--muted)}
.staff-you{font-size:11px;margin-left:3px;color:var(--blue)}
.team-table .actions{padding:2px 6px;white-space:nowrap}
.team-table .actions button{min-height:26px;padding:2px 6px;font-size:13px;line-height:20px}
.team-table .actions button+button{margin-left:3px}
.access-status{margin-left:6px;font-size:12px;color:var(--muted);white-space:nowrap}
.staff-no-results{padding:24px;text-align:center;color:var(--muted)}
.field-help{font-size:13px;color:var(--muted);line-height:1.45;margin:10px 0}
.employee-export-fields{border:1px solid var(--line);border-radius:6px;margin:16px 0 0;padding:12px}
.employee-export-fields legend{font-size:13px;padding:0 5px}
.access-identity{display:grid;gap:4px;margin:0 0 16px}
.access-identity span{color:var(--muted);font-size:14px}
.access-help{font-size:14px;margin:12px 0}
.access-local{margin-top:18px;border-top:1px solid var(--line);padding-top:12px}
.access-local summary{font-size:13px;cursor:pointer;color:var(--muted)}
.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
@media(max-width:1199px) and (min-width:901px){
 .team-table .staff-person-col{width:21%}.team-table .staff-email-col{width:25%}.team-table .staff-region-col{width:12%}.team-table .staff-role-col{width:17%}.team-table .staff-access-col{width:12%}.team-table .staff-actions-col{width:13%}
 .team-table td,.team-table th{padding-inline:6px}.team-table .actions button{font-size:12px;padding-inline:4px}.team-table td{font-size:13px}
 .admin-controls input{width:240px;margin-left:0}
}
@media(max-width:900px){
 .admin-controls{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px}
 .admin-controls h1{font-size:20px;grid-column:1/-1;white-space:normal}
 .admin-controls input{width:100%;min-width:0;margin:0;grid-column:1;grid-row:2}
 .staff-count{display:none}.staff-add{grid-column:2;grid-row:2;margin:0;font-size:13px}
 .staff-table-wrap{border:0}
 .team-table,.team-table tbody,.team-table tr,.team-table td{display:block;width:auto;min-width:0}
 .team-table colgroup{display:none}.team-table thead{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0)}
 .team-table tr{display:grid;grid-template-columns:1fr 1fr;gap:6px 14px;padding:12px 0;border-bottom:1px solid var(--line)}
 .team-table td{height:auto;padding:0;border:0;font-size:14px;line-height:1.4}
 .team-table td:first-child,.team-table td:nth-child(2){grid-column:1/-1}
 .team-table .staff-name{white-space:normal;font-weight:600}
 .team-table td[data-label]:nth-child(n+3)::before{content:attr(data-label);display:block;color:var(--muted);font-size:12px;margin-bottom:2px}
 .team-table .actions{display:flex;align-items:end;justify-content:flex-end;padding:0}
 .team-table .actions button{min-height:36px;padding:6px 10px;font-size:13px}
 .employee-export-fields{padding:10px}
}
@media(pointer:coarse){.team-table .actions button{min-height:44px}}
