.impersonation-band {
    position: sticky;
    top: 0;
    z-index: 1030;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 8px 16px;
    background: #7a1f1f;
    color: #ffffff;
    font-size: 14px;
}

.impersonation-band strong {
    font-weight: 700;
}

.impersonation-band__who {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 4px 12px;
    min-width: 0;
    overflow-wrap: anywhere;
}

.impersonation-band__left {
    opacity: 0.85;
    font-size: 13px;
}

.impersonation-band__form {
    margin: 0;
}

.impersonation-band__end {
    border: 0;
    border-radius: 999px;
    padding: 6px 14px;
    background: #ffffff;
    color: #7a1f1f;
    font-weight: 700;
    font-size: 13px;
    white-space: nowrap;
    cursor: pointer;
}

.impersonating .sticky-top {
    top: var(--impersonation-band-height, 0px);
}

.impersonation-ended {
    margin: 24px 0;
    padding: 16px;
    border: 1px solid #f0d98a;
    border-radius: 8px;
    background: #fff8e1;
    font-size: 14px;
}

.impersonation-ended__title {
    margin: 0 0 4px;
    font-size: 16px;
    font-weight: 700;
}
