/* BPP_CONTACT_ROUTING_PHASE2C2A1_AGENCY_CHAT_VISIBILITY_V1 */
#page-agency-profile .property-contact-actions--card {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 8px !important;
    align-items: stretch !important;
}
#page-agency-profile .property-contact-actions--card > a,
#page-agency-profile .property-contact-actions--card > form,
#page-agency-profile .property-contact-actions--card > .property-contact-action-form {
    min-width: 0 !important;
    width: 100% !important;
    max-width: none !important;
}
#page-agency-profile form[data-bpp-property-chat-form],
#page-agency-profile .property-contact-action-form {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    position: static !important;
    height: auto !important;
    max-height: none !important;
    overflow: visible !important;
    margin: 0 !important;
    padding: 0 !important;
}
#page-agency-profile .property-contact-actions--card .property-contact-action {
    width: 100% !important;
    min-width: 0 !important;
    min-height: 42px !important;
    margin: 0 !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
}
#page-agency-profile .property-contact-actions--card .property-contact-action--chat {
    display: inline-flex !important;
    visibility: visible !important;
    opacity: 1 !important;
    color: #087a4f !important;
    background: #fff !important;
    border: 1px solid #0aa662 !important;
    cursor: pointer !important;
}
#page-agency-profile .property-contact-actions--card .property-contact-action--chat:hover,
#page-agency-profile .property-contact-actions--card .property-contact-action--chat:focus-visible {
    color: #fff !important;
    background: #078d55 !important;
    border-color: #078d55 !important;
}

#page-agency-profile .rpg-storefront__hero-actions .rpg-directory-actions,
#page-agency-profile .rpg-storefront__contact-card .rpg-directory-actions {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 8px !important;
    align-items: stretch !important;
}
#page-agency-profile .rpg-storefront__hero-actions .rpg-directory-action-form,
#page-agency-profile .rpg-storefront__contact-card .rpg-directory-action-form,
#page-agency-profile .rpg-storefront__hero-actions form[data-bpp-profile-chat-form],
#page-agency-profile .rpg-storefront__contact-card form[data-bpp-profile-chat-form] {
    display: block !important;
    width: 100% !important;
    min-width: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
}
#page-agency-profile .rpg-storefront__hero-actions .rpg-directory-action,
#page-agency-profile .rpg-storefront__contact-card .rpg-directory-action {
    width: 100% !important;
    min-width: 0 !important;
    min-height: 42px !important;
    margin: 0 !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 6px !important;
}
#page-agency-profile .rpg-storefront__hero-actions .rpg-directory-action--chat,
#page-agency-profile .rpg-storefront__contact-card .rpg-directory-action--chat {
    display: inline-flex !important;
    visibility: visible !important;
    opacity: 1 !important;
    color: #087a4f !important;
    background: #fff !important;
    border: 1px solid #0aa662 !important;
    cursor: pointer !important;
}
#page-agency-profile .rpg-storefront__hero-actions .rpg-directory-action--chat:hover,
#page-agency-profile .rpg-storefront__hero-actions .rpg-directory-action--chat:focus-visible,
#page-agency-profile .rpg-storefront__contact-card .rpg-directory-action--chat:hover,
#page-agency-profile .rpg-storefront__contact-card .rpg-directory-action--chat:focus-visible {
    color: #fff !important;
    background: #078d55 !important;
    border-color: #078d55 !important;
}

@media (max-width: 1180px) {
    #page-agency-profile .property-contact-actions--card,
    #page-agency-profile .rpg-storefront__hero-actions .rpg-directory-actions,
    #page-agency-profile .rpg-storefront__contact-card .rpg-directory-actions {
        gap: 6px !important;
    }
    #page-agency-profile .property-contact-action,
    #page-agency-profile .rpg-directory-action {
        padding-inline: 6px !important;
        font-size: 12px !important;
    }
}

@media (max-width: 575px) {
    #page-agency-profile .property-contact-actions--card,
    #page-agency-profile .rpg-storefront__hero-actions .rpg-directory-actions,
    #page-agency-profile .rpg-storefront__contact-card .rpg-directory-actions {
        grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    }
    #page-agency-profile .property-contact-action,
    #page-agency-profile .rpg-directory-action {
        min-height: 40px !important;
        gap: 4px !important;
        padding: 7px 4px !important;
        font-size: 11px !important;
    }
    #page-agency-profile .property-contact-action svg,
    #page-agency-profile .rpg-directory-action svg {
        width: 15px !important;
        height: 15px !important;
        flex: 0 0 15px !important;
    }
}
