/* Keeps the "Switch To" toolbar item visible on mobile, where WP core hides
   most custom admin bar items by default, and collapses it to an icon-only
   button so it fits the narrow toolbar. */
@media screen and (max-width: 782px) {
    #wpadminbar #wp-admin-bar-remax-switch-user {
        display: block !important;
    }

    #wpadminbar #wp-admin-bar-remax-switch-user > .ab-item {
        padding: 0 10px !important;
    }

    #wpadminbar #wp-admin-bar-remax-switch-user .ab-icon {
        font: normal 20px/1 dashicons;
        top: 2px;
        margin-right: 0;
    }

    #wpadminbar #wp-admin-bar-remax-switch-user .ab-label {
        display: none;
    }

    #wpadminbar #wp-admin-bar-remax-switch-user .ab-submenu {
        max-width: 92vw;
    }

    #wpadminbar #wp-admin-bar-remax-switch-user .ab-submenu .ab-item {
        white-space: normal;
        line-height: 1.4;
        padding: 10px !important;
    }
}