/* Visible focus belongs to the whole message composer, rather than its textarea. */
.ui-ai-dialog .ui-ai-composer {
    border: 1px solid #e4dbea;
    box-shadow: 0 1px 4px rgba(41,20,52,.06);
    transition: border-color .15s ease, box-shadow .15s ease;
}
.ui-ai-dialog .ui-ai-composer:focus-within {
    border-color: #ad8fc1;
    box-shadow: 0 0 0 3px rgba(113,65,141,.12);
}
:root .ui-ai-dialog .ui-ai-dialog__body .ui-ai-composer textarea,
:root .ui-ai-dialog .ui-ai-dialog__body .ui-ai-composer textarea:focus,
:root .ui-ai-dialog .ui-ai-dialog__body .ui-ai-composer textarea:focus-visible {
    border: 0;
    outline: 0;
    box-shadow: none;
    background: transparent;
}
/* The phone header remains usable before menu/search JavaScript initializes. */
@media (max-width: 767px) {
    .header .header__center {
        display: flex;
        height: auto;
        min-height: 48px;
        visibility: visible;
    }
    .header .header__center > .container { height: auto; }
    .header .header__center .header__logo {
        display: flex;
        align-items: center;
        justify-content: center;
        visibility: visible;
    }
    .header .header__bottom { min-height: 60px; }
    .header .header__bottom > .container { height: auto; }
    .header .header__bottom_panel { min-height: 44px; align-items: center; }
    .header .search_wrapper {
        display: block;
        flex: 1 1 auto;
        min-width: 0;
        width: 100%;
        margin: 0;
        visibility: visible;
    }
    .header .search_wrapper .fn_search_mob {
        display: flex !important;
        position: relative;
        align-items: center;
        width: 100%;
        min-height: 44px;
        margin: 0;
        visibility: visible;
    }
    .header .search_wrapper .search__input {
        display: block;
        flex: 1 1 auto;
        min-width: 0;
        min-height: 44px;
        visibility: visible;
    }
    .header .search_wrapper .search__button {
        display: flex;
        flex: 0 0 44px;
        width: 44px;
        height: 44px;
        visibility: visible;
        top: 50%;
        right: 2px;
        transform: translateY(-50%);
        border: 4px solid transparent;
        background-clip: padding-box;
    }
}
