body header.has-employee-preview {grid-template-columns:minmax(94px,1fr) minmax(0,auto) minmax(94px,1fr)!important;gap:3px}
body header.has-employee-preview > .employee-preview-button {
  grid-column:3;grid-row:1;justify-self:end;margin:0 50px 0 4px;
  padding:0;font-size:12px;line-height:1;width:34px;max-width:34px;height:34px;min-height:34px;border-radius:50%;display:grid;place-items:center;
}
body header.has-employee-preview > .panel-back {grid-column:3;grid-row:1;justify-self:end}
body header.has-employee-preview > .employee-preview-button[aria-pressed="true"] {
  background:#b91c1c!important;color:#fff!important;border:1px solid #fca5a5!important;
}
body header.has-employee-preview > .panel-section-title,
body header.has-employee-preview > .vm-header-title {max-width:25vw}
.employee-preview-picker {max-width:90vw;border:1px solid #64748b;border-radius:12px}
.employee-preview-picker button {display:block;width:100%;margin-top:10px}
.employee-preview-picker button.employee-preview-cancel {background:#b91c1c;color:#fff;border:1px solid #fca5a5}
.employee-preview-active .chat-compose {opacity:.5}

/* Ten sam slot co tytuł, tuż przed MR. Szerokość paska pozostaje stała. */
body.panel-shell header > .employee-preview-strip {
  grid-column: 2; grid-row: 1;
  align-self: center; justify-self: end; z-index: 1;
  display: flex; align-items: center; gap: 3px;
  max-width: 100%; min-width: 0; overflow-x: auto;
  scrollbar-width: none; overscroll-behavior-x: contain;
}
body.panel-shell header:has(> .employee-preview-strip) > :is(.panel-section-title,.panel-account-menu,.vm-header-title) { visibility: hidden; }
body.panel-shell header .employee-preview-strip button {
  box-sizing: border-box; flex: 0 0 44px; width: 44px; min-width: 44px;
  height: 44px; min-height: 44px; padding: 0; margin: 0; border-radius: 50%;
  font-size: 14px; font-weight: 600; white-space: nowrap;
}
