.profile-card {
    margin-bottom: 34px;
    padding: 22px 26px;
    background: $portal-soft-card;
    border-radius: 12px;
    box-shadow: $portal-panel-shadow;
}

.profile-summary__copy strong {
    color: $portal-black;
    font-size: 23px;
    line-height: 1.15;
}

.profile-summary__copy span {
    color: $portal-muted-light;
    font-size: 14px;
    line-height: 1.2;
}

.profile-summary--compact .profile-summary__copy strong {
    font-size: 11px;
}

.profile-summary--compact .profile-summary__copy span {
    font-size: 10px;
}

.profile-summary__action {
    width: 46px;
    height: 46px;
    padding: 3px;
    border: 0;
    border-radius: 12px;
    background: $portal-white;
    box-shadow: 0 8px 18px rgba($portal-black, 0.08);
    line-height: 1;
    transition:
        border-color 0.15s ease,
        box-shadow 0.15s ease,
        transform 0.15s ease;
}

.profile-summary__action:hover,
.profile-summary__action:focus-visible {
    box-shadow: 0 10px 22px rgba($portal-black, 0.12);
    transform: translateY(-1px);
}

.profile-summary__logout-icon {
    display: block;
    width: 40px;
    height: 40px;
    object-fit: contain;
}

.profile-completion {
    width: 260px;
    color: $portal-text;
}

.profile-completion__label {
    display: block;
    margin-bottom: 6px;
    color: $portal-ink;
    font-size: 12px;
    line-height: 1.2;
}

.profile-completion__meta {
    gap: 14px;
}

.profile-completion__meta strong {
    color: $portal-text-strong;
    font-family: $portal-serif;
    font-size: 22px;
    font-weight: 400;
    line-height: 1;
}

.profile-completion__meta span,
.profile-completion p {
    color: $portal-muted-light;
    font-size: 10px;
    line-height: 1.4;
}

.profile-completion__track {
    display: block;
    width: 100%;
    height: 4px;
    margin: 7px 0 9px;
    overflow: hidden;
    border: 0;
    background: $portal-track;
}

.profile-completion__track::-webkit-progress-bar {
    background: $portal-track;
}

.profile-completion__track::-webkit-progress-value {
    background: $portal-blue;
}

.profile-completion__track::-moz-progress-bar {
    background: $portal-blue;
}

.profile-completion p {
    margin: 0;
}

@include media-breakpoint-down(lg) {
    .profile-card {
        padding: 19px 0 22px;
        background: $portal-white;
        border-radius: 0;
        box-shadow: none;
    }

    .profile-summary__copy strong {
        font-size: 22px;
    }

    .profile-completion {
        width: 100%;
    }
}
