.member-profile-photo-editor__summary {
    display: flex;
    flex-wrap: wrap;
    gap: 1.25rem;
    align-items: center;
}

.member-profile-avatar {
    position: relative;
    display: inline-grid;
    flex: 0 0 auto;
    place-items: center;
    width: 5.5rem;
    height: 5.5rem;
    overflow: hidden;
    border: 2px solid rgba(214, 178, 94, 0.6);
    border-radius: 50%;
    background: linear-gradient(135deg, #343942, #15171c);
    color: #f3d48e;
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: 0.05em;
}

.member-profile-avatar--large {
    width: 8rem;
    height: 8rem;
    font-size: 2rem;
}

.member-profile-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.member-profile-photo-editor__actions {
    flex: 1 1 16rem;
}

.member-profile-photo-editor__hint {
    margin-bottom: 0.75rem;
    opacity: 0.8;
}

.member-profile-photo-editor__buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.member-profile-photo-editor__status {
    min-height: 1.5rem;
    margin-top: 0.75rem;
}

.member-profile-photo-editor__status.is-error {
    color: #dc3545;
}

.member-profile-photo-editor__status.is-success {
    color: #7bc98a;
}

.member-profile-photo-editor__crop-stage {
    position: relative;
    height: min(60vh, 32rem);
    min-height: 20rem;
    overflow: hidden;
    background: #111318;
}

.member-profile-photo-editor__crop-stage cropper-canvas {
    width: 100%;
    height: 100%;
}

.member-profile-photo-editor--workplace .member-profile-photo-editor__summary {
    flex-wrap: nowrap;
    align-items: flex-start;
}

.member-profile-photo-editor--workplace .member-profile-avatar--large {
    width: 7rem;
    height: 7rem;
}

.member-profile-photo-editor--workplace .member-profile-photo-editor__actions {
    flex: 1 1 0;
    min-width: 0;
}

.member-profile-photo-modal .modal-footer {
    gap: 0.5rem;
    padding: 0.9rem 1.35rem;
}

.member-profile-photo-modal .modal-footer .btn {
    min-height: 2.4rem;
    padding: 0.5rem 0.9rem;
    font-size: 0.8rem;
    letter-spacing: 0.04em;
}

.members-welcome {
    display: flex;
    gap: 2rem;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    max-width: none;
}

.members-welcome__copy {
    min-width: 0;
    order: 1;
}

.members-welcome__copy .section-eyebrow {
    margin-bottom: 0.65rem;
}

.members-welcome__copy h1 {
    margin-bottom: 0;
    font-size: clamp(2.2rem, 4vw, 3.75rem);
    white-space: nowrap;
}

.members-welcome .member-profile-avatar {
    order: 2;
    width: 8rem;
    height: 8rem;
    text-decoration: none;
}

@media (max-width: 767.98px) {
    .members-welcome {
        flex-direction: column;
        gap: 1rem;
        align-items: center;
        text-align: center;
    }

    .members-welcome__copy {
        order: 2;
    }

    .members-welcome__copy h1 {
        font-size: clamp(2rem, 9vw, 2.8rem);
        white-space: normal;
    }

    .members-welcome .member-profile-avatar {
        order: 1;
        width: 6.5rem;
        height: 6.5rem;
    }

    .member-profile-photo-editor__crop-stage {
        min-height: 16rem;
    }

    .member-profile-photo-editor--workplace .member-profile-photo-editor__summary {
        flex-wrap: wrap;
    }
}
