/* «Сотрудники → Архив» (20.11.2026): плитки-фильтры, строка фильтров, таблица GI. Токены — общие с дашбордом. */

.emp-switch { margin: 0 0 calc(12px * var(--ui-k, 1)); }
.ea-k { text-align: left; cursor: pointer; font: inherit; color: inherit; }
.ea-k:hover { border-color: var(--line-2); }
.ea-k[aria-pressed="true"] { border-color: var(--accent); background: var(--accent-wash); }
.ea-k:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.ea-filters { align-items: center; }
.ea-q { width: calc(240px * var(--ui-k, 1)); }

.ea-table .gi-num { font-variant-numeric: tabular-nums; }
.ea-table thead th { padding: 0; }
.ea-sort { display: inline-flex; align-items: center; gap: 2px; width: 100%; padding: calc(4px * var(--ui-k, 1)) calc(6px * var(--ui-k, 1)); font: inherit; color: inherit;
  background: none; border: 0; cursor: pointer; text-align: inherit; justify-content: flex-start; white-space: nowrap; }
.ea-table .gi-num .ea-sort { justify-content: center; }
.ea-sort:hover { color: var(--ink); }
.ea-sort:focus-visible { outline: 2px solid var(--accent); outline-offset: -2px; }
.ea-table thead th[aria-sort="ascending"], .ea-table thead th[aria-sort="descending"] { color: var(--accent-strong); }
.ea-name { padding: 0; border: 0; background: none; font: inherit; font-weight: 600; color: var(--ink); cursor: pointer; text-align: left; }
.ea-name:hover .ea-full, .ea-name:hover .ea-short { text-decoration: underline; color: var(--accent-strong); }
.ea-name:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: calc(4px * var(--ui-k, 1)); }
.ea-short { display: none; }
.ea-now { color: var(--ok); font-weight: 600; }
.ea-wide { white-space: normal !important; min-width: calc(200px * var(--ui-k, 1)); max-width: calc(360px * var(--ui-k, 1)); }
.ea-wide .hr-sub { display: block; color: var(--ink-3); font-size: calc(11.5px * var(--ui-k, 1)); }
.ea-empty { text-align: center !important; color: var(--ink-3); padding: calc(18px * var(--ui-k, 1)) calc(6px * var(--ui-k, 1)) !important; }
.ea-table .tag.ok { color: var(--ok); }
.ea-table .tag.bad { color: var(--bad); }

@media (max-width: 720px) {
  .ea-q { width: 100%; }
  .ea-full { display: none; }
  .ea-short { display: inline; }
}
