.link-employee-column-options{position:absolute;top:100%;left:0;width:230px;padding:12px;background:var(--sg-surface);border:1px solid var(--sg-line);border-radius:10px;box-shadow:0 8px 24px rgba(var(--sg-rgb-ink),0.102);z-index:30;display:grid;gap:9px}.link-employee-column-options label{display:flex;gap:8px;align-items:center}.link-employees-table .link-employee-divisions{min-width:0;position:relative;text-align:left}.link-employee-division-toggle{display:flex;gap:6px;align-items:center;justify-content:space-between;width:100%;border:1px solid var(--sg-line);background:var(--sg-surface);border-radius:7px;padding:6px;color:var(--sg-ink-2);cursor:pointer;text-align:left;font:inherit}.link-employee-division-list{display:grid;gap:8px;min-width:200px;padding:10px;background:var(--sg-surface-warm);border:1px solid var(--sg-line);border-radius:8px;margin-top:6px}.link-employee-division-list label{display:flex;align-items:flex-start;gap:7px;font-size:12px;text-align:left}.link-employee-division-list label[hidden]{display:none}.link-employee-divisions small{display:block;font-size:11px;margin-top:4px}.link-employee-divisions small[role=alert]{color:var(--sg-gold-text)}.link-employee-card-block{padding:18px 0;border-bottom:1px solid var(--sg-line)}.link-employee-card-block:first-child{padding-top:0}.link-employee-card-block h3{margin:0 0 16px;color:var(--sg-ink-2)}.link-employee-personal{display:flex;gap:22px;align-items:center}.link-employee-personal .link-profile-avatar{width:90px;height:90px;min-width:90px;border-radius:50%;overflow:hidden;background:var(--sg-surface-warm);display:grid;place-items:center}.link-employee-personal img{width:100%;height:100%;object-fit:cover}.link-employee-card-block dl{display:grid;grid-template-columns:180px minmax(0,1fr);gap:10px 16px;margin:0}.link-employee-card-block dt{color:var(--sg-ink-2)}.link-employee-card-block dd{margin:0;overflow-wrap:anywhere}.link-employee-card-block .activities{margin:16px 0}.link-employee-card-block .field{margin-bottom:12px}@media(max-width:650px){.link-employee-personal{align-items:flex-start}.link-employee-card-block dl{grid-template-columns:1fr;gap:5px}.link-employee-toolbar{flex-wrap:wrap}}
.link-employee-division-list[popover]{position:fixed;margin:0;box-sizing:border-box;max-height:300px;overflow:auto;white-space:normal;box-shadow:0 8px 24px rgba(var(--sg-rgb-ink),0.149);color:var(--sg-ink-2)}.link-employee-division-list[popover]:not(:popover-open){display:none}
.link-employee-division-list input[type=checkbox],.link-employee-column-options input[type=checkbox]{accent-color:var(--sg-gold)}

.link-employees-table .link-employee-unassigned { color: var(--sg-gold-text); background: var(--sg-surface-warm); }

.link-service-selection { flex: 0 0 auto; margin-inline-start: auto; color: var(--sg-ink-2); font-size: 13px; white-space: nowrap; }
.link-service-slot [data-employee-bulk][hidden] { display: none; }

/* Unified employee registry: status column and invitation/request row actions. */
.link-employees-heading select[data-link-employee-filter]{
 box-sizing:border-box;width:100%;min-width:0;height:26px;padding:2px 4px;
 border:1px solid var(--sg-line);border-radius:7px;background:var(--sg-field);
 color:var(--sg-ink-2);font:inherit;font-size:11px;font-weight:400;text-align:center;
}
.link-employee-status{display:inline-flex;align-items:center;gap:6px;max-width:100%;min-width:0;font-size:11px;line-height:1.3;color:var(--sg-ink-2);white-space:nowrap;overflow:hidden;text-overflow:ellipsis;text-align:left}
.link-employee-status>i{width:6px;height:6px;border-radius:50%;flex:0 0 6px;background:var(--sg-muted)}
.link-employee-status.is-active{color:var(--sg-gold-text)}.link-employee-status.is-active>i{background:var(--sg-gold-strong)}
.link-employee-status.is-pending{color:var(--sg-gold-text)}.link-employee-status.is-pending>i{background:var(--sg-gold-soft,var(--sg-gold-strong))}
.link-employee-status.is-warning{color:#9a5a1b}.link-employee-status.is-warning>i{background:#c07a2c}
.link-employee-status.is-blocked{color:#8d3d35}.link-employee-status.is-blocked>i{background:#a44f45}
.link-employee-status.is-inactive,.link-employee-status.is-neutral{color:var(--sg-muted)}
.link-employee-status>span{min-width:0;overflow:hidden;text-overflow:ellipsis}
.link-employee-muted{color:var(--sg-muted);font-size:11px}
.link-employee-row-menu{position:relative;display:inline-flex;max-width:100%}
.link-employee-row-menu>summary{list-style:none;cursor:pointer;display:inline-flex;align-items:center;justify-content:center;width:26px;height:26px;border:1px solid var(--sg-line);border-radius:6px;background:var(--sg-surface);color:var(--sg-ink-2);font-size:16px;line-height:1}
.link-employee-row-menu>summary::-webkit-details-marker{display:none}
.link-employee-row-menu[open]>summary{background:var(--sg-surface-warm);border-color:var(--sg-gold)}
.link-employee-row-menu>div{position:absolute;top:calc(100% + 4px);right:0;z-index:30;min-width:180px;padding:5px;background:var(--sg-surface);border:1px solid var(--sg-line);border-radius:8px;box-shadow:0 8px 24px rgba(var(--sg-rgb-ink),.14);display:grid;gap:1px}
.link-employee-row-menu>div button{display:block;width:100%;padding:7px 9px;border:0;border-radius:5px;background:transparent;color:var(--sg-ink-2);font:inherit;font-size:11px;text-align:left;cursor:pointer;white-space:nowrap}
.link-employee-row-menu>div button:hover{background:var(--sg-surface-warm);color:var(--sg-ink)}
.link-employee-row-menu>div button[data-ei-revoke],.link-employee-row-menu>div button[data-ei-reject]{color:#8d3d35}
.link-employee-row [data-employee-column="actions"]{overflow:visible!important}
.link-employee-name{display:block;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;text-align:left}
@media(max-width:1100px){
 .link-employees-heading select[data-link-employee-filter]{font-size:10px;padding:1px 2px}
 .link-employee-status{font-size:10px;gap:4px}
}

.link-employee-status-lines{display:flex;flex-direction:column;min-width:0;gap:0;line-height:1.2}
.link-employee-status-lines small{display:block;font-size:9px;line-height:1.15;color:var(--sg-muted);font-weight:500;letter-spacing:.2px}
.link-employee-status-lines b{display:block;font-size:11px;line-height:1.25;font-weight:500;color:inherit;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.link-employee-status{align-items:flex-start!important;white-space:normal!important;overflow:visible!important;padding-top:1px}
.link-employee-status>i{margin-top:5px}

/* Data cells are left aligned; service columns stay centered. */
.link-team-workspace .link-employees-row>[role="cell"].link-value-left{text-align:left!important;justify-content:flex-start!important;align-items:flex-start}
.link-team-workspace .link-employees-row>[role="cell"][data-employee-column="status"].link-value-left{align-items:flex-start}
.link-team-workspace .link-employees-row>[role="cell"].link-employee-divisions{text-align:left!important}

.link-service-action[hidden]{display:none!important}
