[class*='_theme_islands'] {
    font-family: 'Yandex Sans', Arial, sans-serif;
}

body.connect-app .is-busy {
    position: relative;

    pointer-events: none;
}

body.connect-app .is-busy::after {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;

    content: '';

    background: rgba(255, 255, 255, .5);
}

body.connect-app .link {
    cursor: pointer;
}

body.connect-app .link_external {
    padding-right: 18px;

    background: url('../../../static/i/external.svg') 100% 50%/10px no-repeat;
}

body.connect-app .picker {
    display: block;

    min-height: 28px;
}

body.connect-app .picker_multiline {
    min-height: 80px;
}

body.connect-app .picker_disabled {
    border: 1px solid #ddd;
    background-color: #f3f3f3;
    box-shadow: none;
}

body.connect-app .picker__items {
    padding: 2px;
}

body.connect-app .picker__item {
    margin: 1px;
    padding: 0;
}

body.connect-app .picker-item {
    box-sizing: border-box;
    height: 22px;
    padding: 3px 2px 3px 4px;
}

body.connect-app .picker-item__avatar .avatar {
    width: 16px;
    height: 16px;
}

body.connect-app .select_transparent .button {
    color: #fff;
    border: 1px solid rgba(255, 255, 255, .5);
    background: transparent;
}

body.connect-app .select_transparent .button::before {
    background: transparent;
}

body.connect-app .select_transparent .button .select__tick {
    background-image: url('../../../static/i/select-arrow.svg');
}

body.connect-app .select__menu {
    max-width: 224px;
}

body.connect-app .menu_size_m[class*='menu_mode'] .menu-item_theme_islands {
    display: block;
    overflow: hidden;

    box-sizing: border-box;
    max-width: 100%;
    padding-right: 12px;

    white-space: nowrap;
    text-overflow: ellipsis;
}

body.connect-app .button_сustom_error.button_theme_islands.button_view_action {
    color: #fff;
    background: transparent;
}

body.connect-app .button_сustom_error.button_theme_islands.button_view_action::before {
    background: #e00;
}

body.connect-app .button_сustom_error.button_theme_islands.button_view_action.button_disabled {
    background: rgba(238, 0, 0, .2);
}

body.connect-app .button_сustom_error.button_theme_islands.button_view_action.button_disabled .button__text {
    color: #fff;
}

/*
    фикс подстрочного отступа в .menu { display: inline-block; }
    внутри выпадающего списка селекта
    https://st.yandex-team.ru/DIR-8102
*/
.menu.select__menu {
    vertical-align: bottom;
}

/* ужимаем тени попапов в виджетах, чтобы они умещались внутри отступов от краёв виджета */
body.connect-widget .popup_theme_islands {
    box-shadow: 0 0 0 1px rgba(0, 0, 0, .1), 0 3px 10px -5px rgba(0, 0, 0, .4);
}
