.teamheader {
    display: flex;
    align-items: center;
    gap: 18px;
    padding: 12px 16px;
    border-radius: 18px;
}

.teamheader__title {
    flex: 0 0 auto;
    font-weight: 700;
    letter-spacing: .04em;
    text-transform: uppercase;
}

.teamheader__list {
    display: flex;
    align-items: stretch;
    gap: 12px;
    flex-wrap: wrap;
}

.teamheader__member {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 220px;
}

.teamheader__avatar-link {
    position: relative;
    width: 52px;
    height: 52px;
    flex: 0 0 52px;
}

.teamheader__avatar {
    display: block;
    width: 52px;
    height: 52px;
    object-fit: cover;
    border-radius: 50%;
    transition: filter .2s ease, opacity .2s ease;
}

.teamheader__member.is-offline .teamheader__avatar {
    filter: grayscale(1);
    opacity: .62;
}

.teamheader__status-dot {
    position: absolute;
    right: 1px;
    bottom: 1px;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    border: 2px solid currentColor;
    background: #9b9b9b;
}

.teamheader__member.is-online .teamheader__status-dot {
    background: #63b46d;
}

.teamheader__away {
    position: absolute;
    top: -4px;
    right: -5px;
    display: grid;
    place-items: center;
    width: 19px;
    height: 19px;
    border-radius: 50%;
    font-size: 11px;
    line-height: 1;
    background: rgba(0,0,0,.78);
    color: #fff;
}

.teamheader__info {
    min-width: 0;
}

.teamheader__name {
    display: inline-block;
    font-weight: 700;
    text-decoration: none;
}

.teamheader__task,
.teamheader__lastactive,
.teamheader__pm {
    display: block;
    margin-top: 2px;
    font-size: 11px;
    line-height: 1.35;
}

.teamheader__task {
    opacity: .82;
}

.teamheader__lastactive {
    opacity: .62;
}

.teamheader__pm {
    width: max-content;
    text-decoration: none;
}

@media (max-width: 700px) {
    .teamheader {
        align-items: flex-start;
        flex-direction: column;
    }

    .teamheader__list {
        width: 100%;
    }
}