.welcome-dashboard {
    background: #eef2f6;
    border-radius: 20px;
    padding: 1rem;
}

/* Compact clinical allergy card */
.client-allergy-status {
    width: fit-content;
    min-width: 280px;
    max-width: 360px;
    border-radius: 14px;
    padding: 0.85rem 1rem;
    margin: 0 0 1.25rem 0;
    ;
    box-shadow: 0 3px 12px rgba(15, 23, 42, 0.08);
}

.client-allergy-status__label {
    display: flex;
    align-items: center;
    gap: 0.45rem;
    font-size: 0.95rem;
    line-height: 1.25;
    letter-spacing: 0.02em;
}

.client-allergy-status__text {
    margin-top: 0.4rem;
    font-size: 1rem;
    font-weight: 700;
    line-height: 1.35;
}

.client-allergy-status--warning {
    background: #fff3cd;
    border: 1px solid #ffd966;
    color: #7a1f1f;
}

.client-allergy-status--clear {
    background: #e9f7ef;
    border: 1px solid #9fd8b5;
    color: #14532d;
}

.welcome-compact-header {
    margin: 0 0 1.5rem 0;
}

.welcome-compact-header__title {
    color: #102a43;
    font-size: clamp(1.7rem, 5vw, 2.1rem);
    font-weight: 900;
    line-height: 1.1;
    margin: 0 0 0.55rem 0;
}

.welcome-compact-header__subtitle {
    color: #52616b;
    font-size: 1rem;
    line-height: 1.45;
    margin: 0;
}

.small-client-banner {
    display: flex;
    align-items: center;
    gap: 10px;
    background: #ffffff;
    border: 1px solid #d8dee9;
    border-radius: 12px;
    padding: 8px 12px;
    margin: 8px auto 14px auto;
    max-width: 1100px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.small-client-photo {
    width: 56px;
    height: 56px;
    object-fit: cover;
    object-position: center center;
    border-radius: 10px;
    border: 2px solid #d8dee9;
    flex-shrink: 0;
}

.small-client-details {
    display: flex;
    flex-direction: column;
    gap: 2px;
    color: #102a43;
    font-size: 0.95rem;
}

.small-client-details strong {
    font-size: 1rem;
    line-height: 1.2;
}

.small-client-details span {
    color: #52616b;
    line-height: 1.2;
}

@media (max-width: 576px) {
    .welcome-dashboard {
        padding: 0.85rem;
        border-radius: 18px;
    }

    .client-allergy-status {
        max-width: none;
        padding: 0.8rem 0.9rem;
        margin-bottom: 1rem;
    }

    .welcome-compact-header {
        margin-bottom: 1.15rem;
    }

    .welcome-compact-header__title {
        font-size: 1.75rem;
    }

    .welcome-compact-header__subtitle {
        font-size: 0.98rem;
    }

    .small-client-banner {
        padding: 8px 10px;
        gap: 8px;
    }

    .small-client-photo {
        width: 48px;
        height: 48px;
    }

    .small-client-details {
        font-size: 0.9rem;
    }

    .small-client-details strong {
        font-size: 0.95rem;
    }
}