/* Employee list layout */
section.panel.staff-directory {display:grid;gap:10px;min-width:0;margin:0;padding:0;border:0;background:transparent;box-shadow:none;overflow:visible}
.staff-directory .panel-header {display:flex;flex-direction:row;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:8px 16px;margin:0;padding:8px 10px;border:1px solid #dce5ef;border-radius:10px;background:#fff;box-shadow:none}
.staff-directory .panel-header > div:first-child {order:1}
.staff-list-title {position:absolute;width:1px;height:1px;clip-path:inset(50%);overflow:hidden}
.staff-directory #list-caption {margin:0;font-size:.8rem;white-space:nowrap}
.staff-directory .actions {display:flex;flex:1 1 480px;flex-wrap:wrap;align-items:center;justify-content:flex-start;gap:8px;min-width:0;margin:0}
.staff-directory .actions #staff-search {min-width:0;flex:1 1 220px;max-width:420px;height:36px;min-height:36px;padding:5px 9px}
.staff-directory .checkbox-label {display:inline-flex;align-items:center;gap:6px;margin:0;font-size:.8rem;white-space:nowrap}
.staff-directory #add-button {flex:none;min-width:36px;width:36px;height:36px;min-height:0;padding:0;font-size:1.4rem;line-height:1}
.staff-directory #employee-access {min-width:0;margin:0;border:1px solid #dce5ef;border-radius:10px;background:#fff}
.staff-directory #employee-access{overflow:auto}
.staff-directory #employee-access table{width:100%;min-width:920px;table-layout:auto}
.staff-directory #employee-access :is(td,th){padding:4px 8px;vertical-align:middle;border-bottom:1px solid #e5ebf2}
.staff-directory #employee-access th{padding-block:8px;background:#eef3f8;color:#425e78}
.staff-directory #employee-access tbody tr:nth-child(even)>td{background:#f8fafc}
.staff-directory #employee-access tbody tr:is(:hover,:focus-within)>td{background:#edf4fb}
.staff-directory #employee-access td:first-child{min-width:120px}
.staff-directory #employee-access td:nth-child(3){max-width:260px;overflow-wrap:anywhere}
.staff-directory #employee-access td:nth-child(5){white-space:nowrap;font-variant-numeric:tabular-nums}
.staff-directory .employee-row-actions{display:flex;align-items:center;gap:4px}
.staff-directory .row-button{min-height:28px;padding:3px 6px;font-size:.8rem}
.staff-directory .row-button svg{width:16px;height:16px;vertical-align:middle;fill:none;stroke:currentColor;stroke-width:1.6}

.employee-profile header .profile-code-button {
  margin-inline-start:auto; flex:none; display:inline-flex; align-items:center; gap:6px;
  min-height:36px; padding:5px 9px; border-radius:8px; color:#245685;
  background:#edf4fb; border:1px solid #cddff0; box-shadow:none; font-size:.8rem;
}
.employee-profile header .profile-code-button:hover {background:#e0edf9}
.profile-code-button svg {width:16px;height:16px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}

.employee-profile .profile-push-status {
 display:inline-flex;align-items:center;gap:5px;color:#526982;font-size:.75rem;white-space:nowrap;
}
.profile-push-status::before {content:"";width:6px;height:6px;border-radius:50%;background:#8598ad}
.profile-push-status.is-enabled {color:#226346}
.profile-push-status.is-enabled::before {background:#31956a}

.dashboard > .content .staff-directory .panel-header.prouz-sticky-toolbar {padding-block:8px}
.staff-directory .actions .checkbox-label {min-height:36px;padding:0}
@media (max-width:700px) {
    body.prouz-overlay-navigation .dashboard > .content > header.topbar.staff-page-header {
        display:grid!important;grid-template-columns:minmax(0,1fr);gap:6px!important;padding:0!important;overflow:visible;
    }
    .staff-page-header > .prouz-user-tools {
        grid-row:1;justify-self:end;width:auto;max-width:calc(100% - 52px);min-width:0;
    }
    body.prouz-overlay-navigation .topbar.staff-page-header .prouz-section-heading {min-height:0;white-space:normal!important}
    .staff-page-header .prouz-section-label {white-space:normal;line-height:1.4}
}

.staff-directory .panel-header.prouz-sticky-toolbar {flex-wrap:nowrap}
.staff-directory .panel-header .actions {
    display:flex;flex:1 1 auto;flex-direction:row;flex-wrap:nowrap;width:auto;gap:8px;align-items:center;
}
.staff-directory .actions #staff-search {flex:0 1 320px;max-width:320px;height:32px;min-height:32px}
.staff-directory .actions .checkbox-label {flex:none;min-height:32px}
.staff-directory #add-button {width:32px;min-width:32px;height:32px;margin:0}
.staff-directory .staff-metrics {display:flex;flex:none;gap:5px}
.staff-directory .staff-metrics .summary-card {
    display:flex;align-items:center;gap:6px;min-height:32px;padding:4px 8px;
    border:1px solid #dce5ef;border-radius:7px;background:#f4f7fb;box-shadow:none;white-space:nowrap;
}
.staff-directory .staff-metrics .summary-card::before,.staff-directory .staff-metrics .summary-card::after {display:none}
.staff-directory .staff-metrics .summary-card span,.staff-directory .staff-metrics strong {margin:0;font-size:.78rem;font-variant-numeric:tabular-nums}
.staff-directory .staff-metrics strong {line-height:1}
.staff-directory .staff-short-label {display:none}
@media (max-width:760px) {
    .staff-directory #list-caption {position:absolute;width:1px;height:1px;clip-path:inset(50%);overflow:hidden}
    .staff-directory .panel-header .actions {gap:5px}
    .staff-directory .actions #staff-search {flex:1 1 0;font-size:.8rem}
    .staff-directory .staff-metrics .summary-card {gap:3px;padding-inline:4px}
    .staff-directory .staff-wide-label {display:none}
    .staff-directory .staff-short-label {display:inline}
}
.staff-directory .staff-metrics .staff-short-label {font-size:.72rem}
