/* Scoped to Settings / Access profiles; uses the agreed employee palette. */
.gb-profiles .gb-staff-primary:disabled,.gb-profile-dialog button:disabled{background:#e4e8e2;border-color:#e4e8e2;color:#697265;cursor:not-allowed}
.gb-profiles h1{font-size:22px;margin:10px 0}.gb-profile-fields{display:flex;flex-wrap:wrap;gap:18px;margin:18px 0}.gb-profile-fields label,.gb-profile-members label{display:grid;gap:7px;font-size:12px;flex:1;min-width:160px}.gb-profile-fields :is(input,select),.gb-profile-members select{width:100%;padding:10px;border:1px solid var(--staff-line);border-radius:7px;background:white;color:var(--staff-text)}.gb-profile-note{font-size:12px;color:var(--staff-muted);line-height:1.6;margin:18px 0}.gb-profiles .gb-staff-search{margin-bottom:15px}.gb-profile-matrix{width:100%;border-collapse:collapse;font-size:12px}.gb-profile-matrix th{text-align:left;font-weight:500;color:var(--staff-muted);font-size:11px;background:#fafbfc}.gb-profile-matrix :is(th,td){padding:14px 16px;border-bottom:1px solid var(--staff-line)}.gb-profile-matrix :is(th,td):not(:first-child){text-align:center;width:116px}.gb-profile-matrix input{width:16px;height:16px;accent-color:#438c23}.gb-profile-matrix small{display:block;font-size:10px;color:var(--staff-muted);margin-top:3px}.gb-profile-matrix .gb-profile-group th{background:white;padding-top:22px}.gb-profile-save{display:flex;justify-content:space-between;align-items:center;gap:15px;position:sticky;bottom:0;background:var(--staff-bg);padding:16px 0;border-top:1px solid var(--staff-line);font-size:12px}.gb-profile-members{padding:20px 0}.gb-profile-members h2{font-size:16px}.gb-profile-members p{display:flex;align-items:center;justify-content:space-between;gap:15px;font-size:12px}.gb-profile-members label{margin:18px 0;max-width:360px}.gb-profile-dialog{width:min(560px,calc(100vw - 32px));max-height:85vh;overflow:auto;border:1px solid #e8ebef;border-radius:12px;padding:24px;background:#fff;color:#24272b;box-shadow:0 18px 70px #0003}.gb-profile-dialog::backdrop{background:#0007}.gb-profile-dialog h2{font-size:18px;margin:0 0 14px}.gb-profile-dialog :is(p,li){font-size:13px;line-height:1.6}.gb-profile-dialog ul{max-height:35vh;overflow:auto;padding-left:20px}.gb-profile-dialog footer{display:flex;justify-content:flex-end;gap:10px;margin-top:22px}.gb-profile-error{padding:12px;border:1px solid #efbbbb;border-radius:7px;color:#a51d1d;background:#fff6f6;font-size:13px}@media(max-width:600px){.gb-profile-matrix :is(th,td){padding:12px 8px}.gb-profile-matrix :is(th,td):not(:first-child){width:82px}.gb-profile-save{flex-wrap:wrap}.gb-profile-fields{display:grid}.gb-profile-members p{flex-wrap:wrap}}
.gb-profile-action td:first-child{padding-left:26px;color:#596579}.gb-profile-action td{background:#fafbf9}.gb-profile-action small{display:block;font-size:11px;color:#7a8392;margin-top:4px}
.gb-employee-access .gb-profile-save{position:static}
@media(max-width:700px){.gb-employee-access .gb-profile-matrix th{overflow-wrap:anywhere;line-height:1.4}}
.gb-employee-access .gb-employees-head h1{margin-top:18px;overflow-wrap:anywhere}.gb-employee-access .gb-profile-fields{max-width:760px}.gb-employee-access-note{font-size:13px;line-height:1.6;padding:14px 16px;background:#f0f6ed;border:1px solid #dbe8d3;border-radius:8px}.gb-employee-access-picker{margin-bottom:30px}.gb-employee-access-picker h2{font-size:16px;font-weight:600;margin:28px 0 12px}.gb-employee-access-picker td:last-child{width:auto;min-width:150px;padding:12px 16px}.gb-employee-access .gb-profile-matrix input{appearance:auto}.gb-employee-access .gb-profile-save button:disabled{cursor:not-allowed}@media(max-width:700px){.gb-employee-access .gb-employees-table-wrap::before{display:none}.gb-employee-access .gb-profile-matrix{table-layout:fixed}.gb-employee-access .gb-profile-matrix th:first-child{width:auto}.gb-employee-access .gb-profile-matrix td{overflow-wrap:anywhere}.gb-employee-access .gb-profile-matrix :is(th,td):not(:first-child){width:84px}.gb-employee-access .gb-profile-save .gb-staff-primary{width:100%}.gb-employee-access-picker .gb-employees-table{min-width:540px}}
