/* JODIT */
.jodit-container{
    min-width: 80vw;
    /* margin-bottom: 20px; */

}
.jodit-workplace {
    background-color: #F2F2F2 !important;
    color: #808080 !important;
    border-radius: 12px !important;
}
.jodit-container:not(.jodit_inline) {
    border: 0px !important;
    background-color: transparent !important;
}
.jodit-toolbar-editor-collection_mode_horizontal {
    background-image: none !important;
}
.jodit-toolbar-collection, .jodit-toolbar-editor-collection {
    flex-direction: row !important;
}
.jodit-status-bar {
    display: none !important;
}
.jodit-editor__resize {
    display: none !important;
}
.jodit-toolbar__box:not(:empty) .jodit-toolbar-editor-collection:after {
    display: none !important;
}
.jodit-add-new-line {
    display: none !important;

}

.jodit-toolbar__box:not(:empty) {
    border-bottom: 0px !important;
}
/* .jodit-container:not(.jodit_inline) .jodit-workplace { 
    border-radius: 32px !important;
} */

/* Скругление углов для динамической карты Yandex */
.map-select {
    border-radius: 16px !important;
    overflow: hidden !important;
}

.map-select > div[data-testid="yandex-map-container"] {
    border-radius: 16px !important;
    overflow: hidden !important;
}

.map-select canvas,
.map-select > div[data-testid="yandex-map-container"] canvas,
.map-select > div[data-testid="yandex-map-container"] > div,
.map-select > div[data-testid="yandex-map-container"] > div > div {
    border-radius: 16px !important;
}
 
.jodit-wysiwyg ul,
.jodit-dialog__content ul {
	list-style-type: disc;
	margin: 0;
	padding: 0 20px 10px;
}

.jodit-wysiwyg ul ul,
.jodit-dialog__content ul ul {
	list-style-type: circle;
}

.jodit-wysiwyg ul ul ul,
.jodit-dialog__content ul ul ul {
	list-style-type: square;
}

.jodit-wysiwyg ol,
.jodit-dialog__content ol {
	list-style-type: decimal;
	padding-left: 40px;
	margin-top: 1em;
	margin-bottom: 1em;
}

.jodit-wysiwyg ol ol,
.jodit-dialog__content ol ol {
	margin-top: 0;
	margin-bottom: 0;
}

.jodit-wysiwyg td,
.jodit-dialog__content td {
	border: solid 1px;
}

/* INPUT & DROPDOWN */
.text-field-holder .text-field, .text-area-holder .text-field, .dropdown .text-field, .select-field-holder .text-field, .text-field-holder .dropdown-field, .text-area-holder .dropdown-field, .dropdown .dropdown-field, .select-field-holder .dropdown-field, .select-field-holder .jcf-select, .text-field-holder .typography-switcher .switcher__relay-box .relay-dropdown, .typography-switcher .switcher__relay-box .text-field-holder .relay-dropdown, .text-area-holder .typography-switcher .switcher__relay-box .relay-dropdown, .typography-switcher .switcher__relay-box .text-area-holder .relay-dropdown, .dropdown .typography-switcher .switcher__relay-box .relay-dropdown, .typography-switcher .switcher__relay-box .dropdown .relay-dropdown, .select-field-holder .typography-switcher .switcher__relay-box .relay-dropdown, .typography-switcher .switcher__relay-box .select-field-holder .relay-dropdown {
    width: 100%;
    min-height: 5rem;
    display: block;
    padding: 0 3rem 0 2rem;
    margin: 0 0 2rem;
    min-width: 9rem;
    border: none;
    border-radius: 8px;
    /* border-bottom: 0.2rem solid #8f9399; */

    padding-left: 0;
    background-color: #F2F2F2;
    color: #808080;
    margin-bottom: 20px !important;
    position: relative;
    /* z-index: 1; */
    transition: .4s;
    padding-left: 12px;

}
.text-field-holder.text-active label,
.text-active.text-area-holder label,
.text-active.dropdown label,
.text-active.select-field-holder label,
.text-field-holder:focus-within > label,
.text-area-holder:focus-within > label,
.dropdown:focus-within > label,
.select-field-holder:focus-within > label {
    top: -15px;
    margin-top: 0px;
    
    padding-left: 0px;
    font-size: 1.1rem;
    line-height: 1.3rem;
    background-color: transparent !important;
}


/* .text-field-holder.text-active .text-field,  */
.text-active.text-area-holder .text-field, 
.text-active.dropdown .text-field, 
/* .text-active.select-field-holder .text-field,  */
.text-field-holder.text-active .dropdown-field, 
.text-active.text-area-holder .dropdown-field, 
.text-active.dropdown .dropdown-field, 
/* .text-active.select-field-holder .dropdown-field,  */
/* .text-field-holder.text-active .select-field-holder .jcf-select,  */
/* .select-field-holder .text-field-holder.text-active .jcf-select,  */
/* .text-active.text-area-holder .select-field-holder .jcf-select,  */
/* .select-field-holder .text-active.text-area-holder .jcf-select,  */
/* .text-active.dropdown .select-field-holder .jcf-select,  */
/* .select-field-holder .text-active.dropdown .jcf-select,  */
/* .text-active.select-field-holder .jcf-select,  */
.text-field-holder.text-active .typography-switcher 
.switcher__relay-box .relay-dropdown, 
.typography-switcher .switcher__relay-box .text-field-holder.text-active .relay-dropdown, 
.text-active.text-area-holder .typography-switcher .switcher__relay-box .relay-dropdown, 
.typography-switcher .switcher__relay-box .text-active.text-area-holder .relay-dropdown, 
.text-active.dropdown .typography-switcher .switcher__relay-box .relay-dropdown, 
.typography-switcher .switcher__relay-box .text-active.dropdown .relay-dropdown 
/* .text-active.select-field-holder .typography-switcher .switcher__relay-box .relay-dropdown,  */
/* .typography-switcher .switcher__relay-box .text-active.select-field-holder .relay-dropdown  */
{
    padding-top: 1.4rem !important;
    border-color: #1f2229;
}
.select-survey-cell-title .text-active.select-field-holder .text-field
{
    padding-top: 1.4rem !important;
    border-color: #1f2229;
}


.jcf-select-drop-content {
    margin-left: 2px;
    /* margin-right: -18px; */
    margin-top: 4px;
    width: 100% !important;
}

.select-field-holder .jcf-select:after {
    font-family: icomoon2;
    content: "\e945";
    font-size: 10px;
    position: absolute;
    right: 10px;
    top: 18px;
}

.suggestion.select-field-holder .jcf-select:after {
    display: none !important;
}

.suggestion.select-field-holder label {
    padding-top: 10px;
    /* padding-left: 10px; */
}
.suggestion.select-field-holder.text-active label {
    padding-top: 0px;
    /* padding-left: 10px; */
}
.select-field-holder label {
    top: 0;
    /* font-size: 1.3rem;
    line-height: 2.2rem; */
}

.news_filter .select-field-holder .jcf-select-text {
    line-height: 3rem;
}

/* ===== Главная (авторизованная): аккуратная адаптивная раскладка ===== */
.page--auth.page--home .wrapper .container {
    width: 100% !important;
    max-width: 1352px !important;
    padding-left: 30px !important;
    padding-right: 30px !important;
}

/* Дашборд: 4 карточки + статистика справа, на узких экранах — в столбик */
.page--auth.page--home .dashboard__title {
    margin-bottom: 24px;
}

.page--auth.page--home .dashboard__row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    align-items: stretch;
}

@media (max-width: 991.98px) {
    .page--auth.page--home .dashboard__row {
        grid-template-columns: 1fr;
    }

    .page--auth.page--home .statAria {
        border-left: none;
        padding-left: 0;
    }
}

.page--auth.page--home .dashboard__items {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-rows: 1fr 1fr;
    gap: 16px;
    min-height: 0;
}

.page--auth.page--home .dashboard__items .dashboard__item {
    min-height: 0;
}

@media (max-width: 575.98px) {
    .page--auth.page--home .dashboard__items {
        grid-template-columns: 1fr;
    }
}


.page--auth.page--home .dashboard__item {
    width: auto !important;
    height: auto !important;
    margin: 0 !important;
    min-height: 0;
    position: relative;
    transition: transform 160ms ease, box-shadow 160ms ease;
}

@media (max-width: 767.98px) {
    .page--auth.page--home .dashboard__name {
        font-size: 1.9rem;
    }
}

.page--auth.page--home .dashboard__item > a {
    display: flex;
    flex-direction: column;
    height: 100%;
    padding: 12px 16px 12px 16px;
    position: relative;
    min-height: 0;
}

.page--auth.page--home .dashboard__head {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    gap: 12px;
    flex-wrap: nowrap;
    position: relative;
    flex: 1;
    min-height: 0;
    padding-right: 64px;
}

.page--auth.page--home .dashboard__title_row {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 10px;
    flex: 1;
    min-width: 0;
    margin-top: 10px;
    margin-left: 10px;
}

.page--auth.page--home .dashboard__ico {
    position: absolute;
    right: 6px;
    bottom: 6px;
    left: auto;
    top: auto;
    width: 48px;
    height: 48px;
    margin: 0;
    border-radius: 16px;
}

.page--auth.page--home .dashboard__ico img {
    width: 26px;
    height: 26px;
    margin-top: 11px;
    margin-left: 11px;
}

@media (max-width: 575.98px) {
    .page--auth.page--home .dashboard__ico {
        width: 44px;
        height: 44px;
        border-radius: 14px;
    }

    .page--auth.page--home .dashboard__ico img {
        width: 24px;
        height: 24px;
        margin-top: 10px;
        margin-left: 10px;
    }
}

.page--auth.page--home .dashboard__item:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.12);
    z-index: 10;
}

.page--auth.page--home .dashboard__name {
    padding-top: 0 !important;
    margin: 0;
    font-size: 2.15rem;
}

.page--auth.page--home .dashboard__title_row .dashboard__help,
.page--auth.page--home .dashboard__title_row .dashboard__help_container {
    margin: 0;
    flex-shrink: 0;
    display: flex;
    align-items: center;
}

.page--auth.page--home .dashboard__help_container {
    position: relative;
    z-index: 20;
}

.page--auth.page--home .dashboard__help_icon {
    width: 20px !important;
    height: 20px !important;
}

.page--auth.page--home .dashboard__tooltip {
    z-index: 999999;
}

.page--auth.page--home .dashboard__shevron {
    display: none !important;
}

.page--auth.page--home .statAria {
    width: 100% !important;
    min-width: 0 !important;
    margin-left: 0 !important;
    padding: 12px 20px 12px 20px !important;
    border-left: 1px solid rgba(0, 0, 0, 0.12);
    border-radius: 24px !important;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.page--auth.page--home .statAria__col {
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-width: 0;
    width: 100%;
}

.page--auth.page--home .statAria .statBlock {
    margin-bottom: 5px;
    min-width: 0;
    width: 100%;
}


.page--auth.page--home .statAria .statValue,
.page--auth.page--home .statAria .statValueTitle {
    text-align: center;
    padding-top: 2px !important;
    padding-bottom: 2px !important;
}

.page--auth.page--home .statAria .statistics-link-main-title {
    text-align: left;
}

.page--auth.page--home .statAria .statTitle {
    padding-top: 0 !important;
    padding-left: 4px !important;
    margin: 0 0 2px 0 !important;
    font-family: "t2_textsans_bold";
    font-size: 22px;
    line-height: 1.2;
    letter-spacing: 0;
}

.page--auth.page--home .statAria__col:not(:first-child) .statTitle {
    margin-top: 0 !important;
}

.page--auth.page--home .statAria .statistics {
    width: 100% !important;
    height: auto !important;
    min-height: 0;
    margin: 0 !important;
    padding: 12px 16px 16px 16px !important;
    border-radius: 20px !important;
    display: flex;
    flex-direction: column;
    justify-content: center;
    float: none !important;
    box-sizing: border-box;
}

.page--auth.page--home .statAria .statistics.statistics--aligned .row::before,
.page--auth.page--home .statAria .statistics.statistics--aligned .row::after {
    content: none !important;
    display: none !important;
}

.page--auth.page--home .statAria .statistics.statistics--aligned .row {
    margin-bottom: 0 !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    min-height: 0;
    display: grid !important;
    grid-template-columns: minmax(120px, 1fr) 1fr 1fr 1fr;
    column-gap: 12px;
    row-gap: 0;
    align-items: center;
    justify-items: stretch;
    width: 100%;
}

.page--auth.page--home .statAria .statistics.statistics--aligned .row > [class*="col-"] {
    float: none !important;
    width: auto !important;
    max-width: none !important;
    min-width: 0;
}

/* Первая колонка: строго по левому краю, с аккуратным обрезанием длинных названий */
.page--auth.page--home .statAria .statistics.statistics--aligned .row > :first-child {
    justify-self: start;
    text-align: left;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.page--auth.page--home .statAria .statistics.statistics--aligned .row > :not(:first-child) {
    text-align: center;
    justify-self: center;
}

/* Компактные отступы в ячейках строк статистики */
.page--auth.page--home .statAria .statistics.statistics--aligned .row > [class*="col-sm"] {
    padding-top: 2px !important;
    padding-bottom: 2px !important;
    padding-left: 8px !important;
    padding-right: 8px !important;
    box-sizing: border-box;
}

@media (max-width: 575.98px) {
    .page--auth.page--home .statAria .statistics.statistics--aligned .row {
        grid-template-columns: minmax(100px, 1fr) 1fr 1fr 1fr;
        column-gap: 8px;
    }
}

/* Панель новостей: заголовок, табы и кнопка в одну аккуратную строку с переносом */
.page--auth.page--home .news_types__bar {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
}

.page--auth.page--home .news_types__tags {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
}

.page--auth.page--home .news_tag {
    float: none !important;
    margin: 0 !important;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    height: auto;
    line-height: 1;
    padding-top: 6px !important;
    padding-bottom: 6px !important;
}

.page--auth.page--home .news_tag_counter {
    padding-left: 0;
}

.page--auth.page--home .news_types__actions {
    margin-left: auto;
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

@media (max-width: 575.98px) {
    .page--auth.page--home .news_types__actions {
        width: 100%;
        margin-left: 0;
    }
}

/* Лента + фильтр: 2 колонки с нормальным адаптивом */
.page--auth.page--home .home-news__row {
    display: flex;
    align-items: flex-start;
    gap: 24px;
}

.page--auth.page--home .home-news__row > :first-child {
    flex: 1 1 auto;
    min-width: 0;
}

@media (max-width: 991.98px) {
    .page--auth.page--home .home-news__row {
        flex-wrap: wrap;
    }
}

.page--auth.page--home .home-news__row .news_feed {
    flex: 1 1 auto;
    width: 100% !important;
    max-width: none !important;
    float: none !important;
    min-width: 0;
}

.page--auth.page--home .home-news__row .news_filter_place {
    flex: 0 0 420px;
    max-width: 420px;
    width: auto !important;
    float: none !important;
}

@media (max-width: 991.98px) {
    .page--auth.page--home .home-news__row .news_filter_place {
        flex: 1 1 100%;
        max-width: none;
    }
}

/* Карточка новости: баннер + текст без ломания grid/clearfix */
.page--auth.page--home .news_item.row::before,
.page--auth.page--home .news_item.row::after {
    content: none !important;
}

.page--auth.page--home .news_item {
    display: flex !important;
    align-items: stretch !important;
    gap: 20px !important;
}

.page--auth.page--home .news_item .news_banner_col {
    flex: 0 0 320px !important;
    max-width: 320px !important;
}

.page--auth.page--home .news_item .news_info {
    flex: 1 1 auto !important;
    width: auto !important;
}

@media (max-width: 767.98px) {
    .page--auth.page--home .news_item {
        flex-direction: column !important;
    }

    .page--auth.page--home .news_item .news_banner_col {
        flex: 1 1 auto !important;
        max-width: none !important;
    }
}

/* Дата/черновик в одной строке */
.page--auth.page--home .news_date_row {
    display: flex !important;
    align-items: center !important;
}

.page--auth.page--home .news_draft {
    margin-left: auto !important;
}

/* Глобальные отступы по краям для всех страниц, КРОМЕ главной */
.wrapper {
    padding-left: 30px !important;
    padding-right: 30px !important;
    box-sizing: border-box;
}
.page--home .wrapper {
    padding-left: 0 !important;
    padding-right: 0 !important;
}

/* Отступы в шапке (header) — глобально, кроме главной */
header .container {
    padding-left: 30px !important;
    padding-right: 30px !important;
    box-sizing: border-box;
}

/* (убрано) Паддинги на уровне container — вызывало дублирование отступов */

/* (убрано) Точечные отступы таблиц — ломали локальные лэйауты */

/* Фикс ширины выпадающего профиля (login-content) при масштабе 100% */
.login-content.on,
.login-content {
    width: 600px !important;           /* было 448px → 520px для стабильной вёрстки при 100% зуме */
    max-width: calc(100vw - 24px) !important; /* не выходим за экран на узких ширинах */
}

/* Гарантируем две колонки в выпадающем профиле независимо от брейкпоинтов */
.login-content .view-profile > .row {
    display: flex !important;
    flex-wrap: nowrap !important;
    align-items: flex-start !important;
}
.login-content .view-profile > .row > .col-md-6 {
    flex: 0 0 50% !important;
    max-width: 50% !important;
}

/* ===== Лэйаут dashboard на flex без наложений (только авторизованная страница) ===== */
/* (переопределено выше на CSS Grid) */

/* ===== Лэйаут ленты новостей и фильтра на flex (2 колонки) ===== */
/* (переопределено выше на .home-news__row) */

/* (убрано) Прежние хаки с фиксированными ширинами/float/scroll */

/* (убрано) Форсирование сетки col-*, чтобы сохранить исходные размеры элементов */
/* (убрано) Форсирование сетки col-*, чтобы сохранить исходные размеры элементов */
/* (убрано) Форсирование сетки col-*, чтобы сохранить исходные размеры элементов */
/* (убрано) Форсирование сетки col-*, чтобы сохранить исходные размеры элементов */
/* (убрано) Форсирование сетки col-*, чтобы сохранить исходные размеры элементов */
/* (убрано) Форсирование сетки col-*, чтобы сохранить исходные размеры элементов */
/* (убрано) Форсирование сетки col-*, чтобы сохранить исходные размеры элементов */
/* (убрано) Форсирование сетки col-*, чтобы сохранить исходные размеры элементов */
/* (убрано) Форсирование сетки col-*, чтобы сохранить исходные размеры элементов */
/* (убрано) Форсирование сетки col-*, чтобы сохранить исходные размеры элементов */
/* (убрано) Форсирование сетки col-*, чтобы сохранить исходные размеры элементов */
/* (убрано) Форсирование сетки col-*, чтобы сохранить исходные размеры элементов */

/* ===== Sticky footer: футер у нижнего края окна, белый .wrapper тянется по высоте ===== */
#app {
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
    min-height: 0;
    width: 100%;
}

#app > div {
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
    min-height: 0;
}

.app-authenticated-shell {
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
    min-height: 0;
    width: 100%;
}

/* Первый блок — маршрут (Suspense/страница): забирает место между шапкой и футером */
.app-authenticated-shell > *:first-child {
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
    min-height: 0;
}

.app-authenticated-shell > footer {
    flex-shrink: 0;
}

/* Белая область списков/главной под шапкой */
section.wrapper {
    flex: 1 1 auto;
    min-height: 0;
}

/* React list pages preserve the legacy table/menu layout without native button chrome. */
.list-page-shell__filter-button,
.list-page-shell__sort-button {
    appearance: none;
    -webkit-appearance: none;
    background: transparent;
    border: 0;
    border-radius: 0;
    color: inherit;
    font: inherit;
    margin: 0;
    padding: 0;
}

.list-page-shell__filter-button {
    cursor: pointer;
    text-align: left;
}

.page__filter li .list-page-shell__filter-button {
    color: #8f9399;
    display: inline-block;
    font-size: 13px;
    line-height: 1.38;
    padding-right: 18px;
    position: relative;
}

.list-page-shell__sort-button {
    cursor: pointer;
    height: 100%;
    text-align: left;
    width: 100%;
}

.list-row__primary-link,
.list-row__primary-link:hover,
.list-row__primary-link:focus {
    color: inherit;
    text-decoration: none;
}

.info-modal .list-page-shell__filter-modal {
    overflow-y: auto !important;
    padding: 30px 40px 36px !important;
}

.list-page-shell__filter-title {
    font-family: "t2_serif-bold";
    font-size: 32px;
    line-height: 1.15;
    margin: 0 0 28px;
    text-transform: uppercase;
}

.list-page-shell__filter-modal form {
    display: grid;
    gap: 22px 24px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.list-page-shell__filter-field {
    min-width: 0;
}

.list-page-shell__filter-field > label {
    color: #8f9399;
    display: block;
    font-size: 13px;
    line-height: 18px;
    margin: 0 0 6px;
}

.list-page-shell__filter-control {
    appearance: auto;
    -webkit-appearance: auto;
    background: #f2f3f5;
    border: 0;
    border-radius: 8px;
    color: #1f2229;
    display: block;
    font: inherit;
    height: 50px;
    opacity: 1;
    padding: 0 14px;
    width: 100%;
}

.list-page-shell__filter-field--checkbox {
    align-items: center;
    display: flex;
    gap: 10px;
    grid-column: 1 / -1;
}

.list-page-shell__filter-field--checkbox > input {
    accent-color: #1f2229;
    height: 18px;
    margin: 0;
    width: 18px;
}

.list-page-shell__filter-field--checkbox > label {
    color: #1f2229;
    margin: 0;
}

.list-page-shell__filter-actions {
    gap: 20px;
    grid-column: 1 / -1;
    margin-top: 8px;
}

.list-page-shell__filter-actions .btn {
    margin: 0 !important;
}

.list-page-shell__action-link {
    appearance: none;
    -webkit-appearance: none;
    background: transparent;
    border: 0;
    color: #1f2229;
    cursor: pointer;
    font: inherit;
    margin: 0 !important;
    padding: 0;
}

.info-modal button.close {
    appearance: none;
    -webkit-appearance: none;
    background: transparent;
    border: 0;
    height: 32px;
    line-height: 32px;
    padding: 0;
    width: 32px;
}

/*
 * React uses semantic buttons for actions that legacy templates rendered as links/spans.
 * Keep browser user-agent chrome out of the application-wide visual contract; concrete
 * component classes below and in the legacy stylesheets remain responsible for appearance.
 */
button {
    appearance: none;
    -webkit-appearance: none;
    background: transparent;
    border: 0;
    border-radius: 0;
    color: inherit;
    font: inherit;
    margin: 0;
    padding: 0;
}

button:focus-visible {
    outline: 2px solid #0000ff;
    outline-offset: 2px;
}

/*
 * JCF used to hide native selects and render a JavaScript proxy next to them. React pages do
 * not initialise JCF, so native controls are the source of truth and must stay visible.
 */
.select-field-holder > select {
    appearance: auto;
    -webkit-appearance: menulist;
    background-color: #f2f2f2;
    border: 0;
    border-radius: 8px;
    color: #808080;
    display: block;
    font: 100% "t2_textsans_regular";
    height: 5rem;
    min-height: 5rem;
    margin: 0 0 20px !important;
    opacity: 1;
    padding: 0 3rem 0 12px;
    width: 100%;
}

.text-active.select-field-holder > select {
    padding-top: 1.4rem;
}

.select-field-holder > select:disabled {
    background-color: #f2f3f4;
    color: #8f9399;
    cursor: default;
}

button.workflow-responsible-title {
    display: block;
    font-size: inherit;
    line-height: inherit;
    text-align: left;
    width: auto;
}

button.comment_response {
    display: block;
    text-align: left;
}

button.market_help_header {
    text-align: left;
    width: auto;
}

/* Float-based legacy prize cards must contribute to the catalog block height. */
.market_prizes {
    display: flow-root;
}

.market_help {
    padding-top: 24px;
}

/* React adapter for the original WTT Air Datepicker 2.2.3 presentation. */
.date-input {
    display: block;
    position: relative;
    width: 100%;
}

.date-input > .date-input__control {
    padding-right: 52px !important;
}

button.date-input__trigger {
    align-items: center;
    background: transparent;
    border: 0;
    bottom: 0;
    color: #1f2229;
    cursor: pointer;
    display: flex;
    font-size: 26px;
    height: auto;
    justify-content: center;
    line-height: 1;
    margin: 0;
    padding: 0;
    position: absolute;
    right: 0;
    top: 0;
    width: 50px;
    z-index: 2;
}

.text-field-holder .text-field.hasDatepicker + button.date-input__trigger {
    top: 0;
}

button.date-input__trigger:hover,
button.date-input__trigger:focus,
button.date-input__trigger:active {
    background: transparent;
    border: 0;
    box-shadow: none;
}

button.date-input__trigger:disabled {
    cursor: default;
    opacity: .5;
}

/* Preserve the legacy author list: spaced names that wrap only between people. */
.idea__meta-author {
    display: inline-block;
    margin-right: 10px;
}

@media (max-width: 767px) {
    .info-modal .list-page-shell__filter-modal {
        padding: 24px 20px 28px !important;
    }

    .list-page-shell__filter-modal form {
        grid-template-columns: 1fr;
    }

    .list-page-shell__filter-field--checkbox,
    .list-page-shell__filter-actions {
        grid-column: 1;
    }
}
