/* Раздел «Конкурс методических разработок» — публичная страница и админ-таб.
   Палитра — синяя (под макет): фон карты светло-голубой, hover/select — насыщенные тона.
   Карта рисуется внутри svg viewBox 1360×743, sidebar справа сворачивается. */

/* ───────── Заглушка-страница «раздел закрыт» ───────── */

.contest-closed {
    width: min(900px, 100%);
    margin: 60px auto;
    padding: 0 clamp(1rem, 4vw, 3rem);
    text-align: center;
}

.contest-closed__inner {
    background: #FFFFFF;
    border-radius: 18px;
    padding: 60px 40px;
    box-shadow: 0 4px 18px rgba(33, 33, 45, 0.05);
}

.contest-closed__title {
    margin: 0 0 24px;
}

.contest-closed__message {
    font-size: 22px;
    color: #21212D;
    margin: 0 0 28px;
}

.contest-closed__back {
    display: inline-block;
    color: #769AC9;
    text-decoration: none;
    font-size: 14px;
}

.contest-closed__back:hover { color: #5A7FAF; }

/* ───────── Admin event settings (toggle + input) ───────── */

.admin-event-settings {
    background: #FFFFFF;
    border: 1px solid #E1E8F5;
    border-radius: 12px;
    padding: 18px 20px;
    margin: 16px 0 24px;
}

.admin-event-settings__title {
    margin: 0 0 14px;
    font-size: 14px;
    font-weight: 600;
    color: #5C6584;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.admin-event-settings__loading {
    color: #5C6584;
    font-size: 13px;
}

.admin-event-settings__row {
    display: flex;
    gap: 18px;
    align-items: flex-start;
    flex-wrap: wrap;
    margin-bottom: 4px;
}

.admin-event-settings__toggle {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    font-size: 14px;
    color: #21212D;
    padding: 10px 0;
    min-width: 280px;
    user-select: none;
}

/* Toggle-switch (вместо нативного checkbox). */
.admin-event-settings__toggle-switch {
    position: relative;
    display: inline-block;
    width: 44px;
    height: 24px;
    flex: 0 0 auto;
}

.admin-event-settings__toggle-switch input {
    position: absolute;
    opacity: 0;
    width: 100%;
    height: 100%;
    margin: 0;
    cursor: pointer;
    z-index: 2;
}

.admin-event-settings__toggle-track {
    position: absolute;
    inset: 0;
    background: #D8D3C7;
    border-radius: 999px;
    transition: background-color 0.18s ease;
}

.admin-event-settings__toggle-track::before {
    content: '';
    position: absolute;
    top: 2px;
    left: 2px;
    width: 20px;
    height: 20px;
    background: #FFFFFF;
    border-radius: 50%;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
    transition: transform 0.18s ease;
}

.admin-event-settings__toggle-switch input:checked + .admin-event-settings__toggle-track {
    background: #769AC9;
}

.admin-event-settings__toggle-switch input:checked + .admin-event-settings__toggle-track::before {
    transform: translateX(20px);
}

.admin-event-settings__field {
    flex: 1 1 240px;
    min-width: 220px;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.admin-event-settings__counter {
    color: #79705F;
    font-size: 12px;
}

.admin-event-settings__hint {
    margin: 0 0 14px;
    color: #79705F;
    font-size: 12px;
}

.admin-event-settings__actions {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-top: 8px;
    flex-wrap: wrap;
}

.admin-event-settings__btn {
    background: #769AC9;
    color: #FFFFFF;
    border: none;
    border-radius: 6px;
    padding: 10px 22px;
    font-size: 13px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    cursor: pointer;
}

.admin-event-settings__btn:hover:not(:disabled) { background: #5A7FAF; }
.admin-event-settings__btn:disabled { opacity: 0.6; cursor: not-allowed; }

.admin-event-settings__saved { color: #2A7549; font-size: 12px; }
.admin-event-settings__error { color: #D14040; font-size: 12px; }


/* ───────── Публичная страница ───────── */

.contest-page {
    background: var(#F5F3F1, --bg);
}

.contest-public__inner {
    width: min(1440px, 100%);
    margin: 0 auto;
    padding: 0 clamp(1rem, 4vw, 3rem) 80px;
}

/* Плашка для admin/moderator: «раздел закрыт на сайте». */
.contest-public__closed-notice {
    margin-top: 24px;
    padding: 14px 18px;
    background: #FFF6E5;
    border: 1px solid #F2D998;
    border-radius: 12px;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
}

.contest-public__closed-label {
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: #8C6300;
    font-size: 12px;
}

.contest-public__closed-msg {
    color: #5C5851;
    font-size: 14px;
}

/* ───────── Карта + sidebar ───────── */

/* Карта-контейнер: position: relative, чтобы sidebar лежал поверх как overlay
   справа. SVG-канвас занимает всю ширину блока — sidebar его частично закрывает. */
.contest-map {
    position: relative;
    background: #F5F3F1;
    margin: 49px 0;
    max-height: 723px;
}

/* Канвас с картой */

.contest-map__canvas {
    position: relative;
    display: flex;
    flex-direction: column;

    /* @media (width < 901px) {
        padding-bottom: 72px;
    } */
}

/* Зум-панель — в левом верхнем углу канваса. */
.contest-map__zoom {
    position: absolute;
    top: 12px;
    left: 12px;
    display: flex;
    flex-direction: column;
    gap: 4px;
    z-index: 2;
}

.contest-map__loader-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.6);
    color: rgba(33, 33, 45, 0.6);
    font-size: 14px;
    z-index: 5;
    pointer-events: none;
}

.contest-map__zoom-btn {
    width: 32px;
    height: 32px;
    background: #FFFFFF;
    border: 1px solid #E1E8F5;
    border-radius: 6px;
    cursor: pointer;
    color: #21212D;
    font-size: 18px;
    line-height: 1;
    box-shadow: 0 1px 3px rgba(33, 33, 45, 0.1);
    user-select: none;
}

.contest-map__zoom-btn:hover:not(:disabled) {
    background: #F2F4FB;
    color: #5A7FAF;
}

.contest-map__zoom-btn:disabled { opacity: 0.4; cursor: not-allowed; }

.contest-map__canvas.is-panning .contest-map__svg { cursor: grabbing; }

.contest-map__canvas .contest-map__svg { cursor: grab; }

/* Если zoom=1 (нет смысла грабить) — обычный курсор. */
.contest-map__canvas:not(.is-panning) .contest-map__svg {
    cursor: default;
}

/* Плашка-статистика снизу карты (по макету). */
.contest-map__stats {
    background: #FFFFFF80;
    color: var(--darkBlue);
    padding: clamp(16px, 2vw, 24px);
    border-radius: 24px;
    display: flex;
    gap: 0;
    flex-wrap: no-wrap;
    align-self: center;
    position: absolute;
    bottom: 0;
    left: 0;
}

.contest-map__stats_mobile {
    position: inherit;
    bottom: inherit;
    left: inherit;
    width: fit-content;
    margin-bottom: 1rem;

    @media(width < 576px) {
        width: 100%;
    }
}

.contest-map__stat {
    width: clamp(150px, 16vw, 186px);
    @media(width < 576px) {
        width: 50%;
    }
}

.contest-map__stat:first-child {
    border-right: 1px solid #21212D1A;
    padding-right: 16px;
}
.contest-map__stat:last-child {
    padding-left: 14px;
}


.contest-map__stat-value {
    font-size: clamp(20px, 2vw, 24px);
    font-weight: 600;
    line-height: 130%;
}

.contest-map__stat-label {
    font-size: clamp(16px, 1.5vw, 18px);
    line-height: 130%;
}

.contest-map__svg {
    width: 100%;
    height: auto;
    display: block;
    aspect-ratio: 1360 / 731;

    @media (width < 700px) {
        aspect-ratio: 1 / 1;
    }
}

.contest-map__path {
    transition: fill 0.15s ease;
    cursor: default;
}

.contest-map__path.is-clickable {
    cursor: pointer;
}

/* Декоративные path (attrs.fill=none) — рисуют обводку дырок/островов
   multi-part регионов (Якутия, Сахалинская и т.п.). Кликать и вызывать
   hover они не должны — это работа основного path того же региона. */
.contest-map__path.is-decoration {
    pointer-events: none;
}

/* ───────── Sidebar ───────── */

/* Sidebar лежит overlay-ом поверх карты справа. Карта при этом полная ширина
   блока и заходит ПОД sidebar — так и задумано на макете. */
.contest-map__sidebar {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    width: 551px;
    background: var(--white);
    color: var(--darkBlue);
    border: 1px solid #21212D1A;
    border-radius: 24px;
    padding: clamp(16px, 2vw, 24px);
    overflow: hidden;
    z-index: 3;

    @media(width < 1366px) {
        width: 400px;
    }

    @media(width < 700px) {
        width: 100%;
        max-width: 400px;
    }
}

.contest-map__sidebar-inner {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
}

/* Шапка sidebar: заголовок «Список субъектов РФ» + кнопка свернуть. */
.contest-map__sidebar-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: clamp(16px, 2vw, 24px);
    border-bottom: 1px solid #E5E0D6;
}

.contest-map__sidebar-head-title {
    font-size: clamp(16px, 2vw, 24px);
    font-weight: 600;
    letter-spacing: 2%;
}

.contest-map__sidebar-collapse {
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
    color: #5C5851;
    border-radius: 4px;
    display: inline-flex;
    align-items: center;
    transition: transform 0.2s ease;
}

.contest-map__sidebar-collapse:hover { background: rgba(118, 154, 201, 0.1); }

/* В свёрнутом состоянии иконку поворачиваем на 180° — стрелки указывают наружу
   («развернуть»). Иконка fold.svg расходящаяся внутрь по умолчанию. */
.contest-map__sidebar-collapse.is-rotated { transform: rotate(180deg); }

.contest-map__sidebar-collapse img { display: block; }

/* Свёрнутый sidebar — компактная иконка-кнопка fold в правом верхнем углу
   карты. Сам блок не занимает места и не блокирует клики по карте под ним. */
.contest-map__sidebar.is-collapsed {
    /* background: transparent; */
    /* border-color: transparent; */
    /* width: auto; */
    /* bottom: auto; */
    bottom: 0;
    top: auto;
    pointer-events: none;
}

.contest-map__sidebar.is-collapsed .contest-map__sidebar-inner {
    position: static;
}

.contest-map__sidebar.is-collapsed .contest-map__sidebar-head {
    border-bottom: none;
    /* justify-content: flex-end; */
    padding: 0;
    pointer-events: auto;
}

.contest-map__sidebar.is-collapsed .contest-map__sidebar-collapse {
    background: #FFFFFF;
    box-shadow: 0 1px 3px rgba(33, 33, 45, 0.1);
    border: 1px solid #E1E8F5;
    padding: 8px;
}

.contest-map__sidebar-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

/* ───────── Список регионов ───────── */

.contest-map__regions {
    display: flex;
    flex-direction: column;
    height: 100%;
    min-height: 0;
    padding-right: clamp(16px, 2vw, 24px);
}

.contest-map__sidebar-title {
    padding: 16px 20px 8px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.06em;
    color: #5C6584;
    text-transform: uppercase;
}

.contest-map__regions-list {
    list-style: none;
    margin: 0;
    padding: 0 clamp(14px, 2vw, 20px);
    overflow-y: auto;
    flex: 1;
    min-height: 0;
}

.contest-map__region {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    align-items: baseline;
    padding: 14px 0;
    cursor: pointer;
    border-left: 3px solid transparent;
    transition: background-color 0.15s ease, border-color 0.15s ease;
    border-bottom: 1px solid #21212D1A;
}

.contest-map__region:hover,
.contest-map__region.is-hovered {
    background: rgba(118, 154, 201, 0.12);
    border-left-color: #769AC9;
}

.contest-map__region-name {
    font-size: clamp(14px, 1.5vw, 18px);
    flex: 1;
    line-height: 130%;
}

.contest-map__region-works {
    font-size: 12px;
    color: #5C6584;
    white-space: nowrap;
}

/* ───────── Деталь региона ───────── */

.contest-map__region-detail {
    display: flex;
    flex-direction: column;
    height: 100%;
    min-height: 0;
}

.contest-map__back {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 12px 20px;
    border: none;
    background: none;
    color: #769AC9;
    cursor: pointer;
    font-size: 13px;
}

.contest-map__back:hover {
    color: #5A7FAF;
}

.contest-map__region-title {
    margin: 0;
    padding: 4px 20px 14px;
    font-size: clamp(16px, 1.5vw, 18px);
    font-weight: 600;
    color: var(--darkBlue);
}

.contest-map__tabs {
    display: flex;
    /* border-bottom: 1px solid #E1E8F5; */
    padding: 0 20px;
    gap: 0;
}

.contest-map__tab {
    border: none;
    background: none;
    padding: 8px 0;
    font-size: clamp(14px, 1.5vw, 16px);
    color: var(--darkBlue);
    opacity: 0.5;
    cursor: pointer;
    border-bottom: 2px solid transparent;
    margin-bottom: -1px;
    transition: 0.3s;
    flex: 0 0 50%;

    &:hover {
        color: var(--brown);
        opacity: 1;
    }
}

.contest-map__tab.is-active {
    opacity: 1;
    color: var(--brown);
    border-bottom-color: var(--brown);
}

.contest-map__tab:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.contest-map__panel {
    padding: 16px 20px;
    overflow-y: auto;
    flex: 1;
    min-height: 0;
}

.contest-map__loader,
.contest-map__empty {
    color: #5C6584;
    font-size: 14px;
    padding: 12px 0;
}

.contest-map__feat-content {
    line-height: 1.55;
    font-size: 14px;
    color: #21212D;
}

.contest-map__feat-content p { margin: 0 0 10px; }
.contest-map__feat-content p:last-child { margin-bottom: 0; }
.contest-map__feat-content h2,
.contest-map__feat-content h3,
.contest-map__feat-content h4 {
    margin: 14px 0 6px;
    color: #21212D;
    font-weight: 600;
}
.contest-map__feat-content h2 { font-size: 16px; }
.contest-map__feat-content h3 { font-size: 15px; }
.contest-map__feat-content h4 { font-size: 14px; }
.contest-map__feat-content ul,
.contest-map__feat-content ol { margin: 6px 0 10px 18px; padding: 0; }
.contest-map__feat-content li { margin: 2px 0; }
.contest-map__feat-content a { color: #769AC9; text-decoration: underline; }
.contest-map__feat-content blockquote {
    margin: 8px 0;
    padding-left: 12px;
    border-left: 3px solid #C9D5EC;
    color: #5C5851;
}
.contest-map__feat-content strong { font-weight: 600; }

.contest-map__publish-toggle {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 16px;
    padding: 10px 12px;
    background: #FFF6E5;
    border: 1px solid #F2D998;
    border-radius: 8px;
    font-size: 13px;
    cursor: pointer;
}

/* ───────── Карточки работ ───────── */

.contest-map__works-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 12px;
}

.contest-map__work-card {
    /* background: #FFFFFF; */
    border-bottom: 1px solid #E1E8F5;
    /* border-radius: 10px; */
    padding: 16px 0;
    cursor: pointer;
    transition: border-color 0.15s ease, transform 0.15s ease;
}

.contest-map__work-card:hover {
    border-color: #769AC9;
    transform: translateY(-1px);
}

.contest-map__work-category {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 5%;
    color: #21212D80;
}

.contest-map__work-title {
    font-size: clamp(20px, 2vw, 24px);
    font-weight: 600;
    color: var(--lightBlue);
    line-height: 1.3;
}

.contest-map__work-nomination {
    margin-top: 10px;
    font-size: clamp(14px, 1.5vw, 16px);
    color: var(--darkBlue);
    line-height: 130%;
}

.contest-map__work-author {
    margin-top: 8px;
    font-size: clamp(14px, 1.5vw, 16px);
    color: var(--brown);
}

.contest-map__work-download {
    display: inline-block;
    font-size: 13px;
    text-decoration: underline;
}

/* ───────── Модалка работы ───────── */

.contest-work-modal {
    position: fixed;
    inset: 0;
    background: rgba(33, 33, 45, 0.6);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 100;
    padding: 24px;
}

.contest-work-modal__dialog {
    position: relative;
    background: #FFFFFF;
    border-radius: 24px;
    padding: 24px;
    width: min(438px, 100%);
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 30px 80px rgba(33, 33, 45, 0.2);
}

.contest-work-modal__dialog_competition-work {
    width: min(890px, 100%);

    .contest-work-modal__title {
        text-align: start;
    }
}

.contest-work-modal__close {
    position: absolute;
    top: 16px;
    right: 16px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
    color: #5C6584;
}

.contest-work-modal__close:hover {
    color: #21212D;
}

.contest-work-modal__category {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #5C6584;
}

.contest-work-modal__title {
    text-align: center;
    margin: 0 0 4px;
    font-size: 24px;
    font-weight: 500;
    color: #21212D;
    line-height: 130%;
}

.contest-work-modal__nomination {
    color: #5C6584;
    font-size: 14px;
    margin-bottom: 18px;
}

.contest-work-modal__body {
    color: #21212D;
    font-size: 15px;
    line-height: 1.6;
    margin-bottom: 24px;
    white-space: pre-line;
}

.contest-work-modal__meta {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-bottom: 24px;
}

.contest-work-modal__meta-row {
    display: flex;
    align-items: flex-start;
    gap: 4px;
    color: var(--brown);
    font-size: clamp(14px, 1.5vw, 16px);
}

.contest-work-modal__actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.contest-work-modal__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 22px;
    background: #769AC9;
    color: #FFFFFF;
    border: none;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    cursor: pointer;
    text-decoration: none;
    transition: background-color 0.15s ease;
}

.contest-work-modal__btn:hover {
    background: #5A7FAF;
}

.contest-work-modal__btn--secondary {
    background: transparent;
    border: 1px solid #21212D;
    color: #21212D;
}

.contest-work-modal__btn--secondary:hover {
    background: #21212D;
    color: #FFFFFF;
}

/* ───────── Заглушки секций под макет ───────── */

.contest-public__placeholder {
    margin-top: 40px;
    padding: 32px;
    background: #FFFFFF;
    border-radius: 16px;
    box-shadow: 0 4px 18px rgba(33, 33, 45, 0.04);
}

.contest-public__placeholder--dark {
    background: #1d1d2c;
    color: #FFFFFF;
}

.contest-public__h2 {
    margin: 0 0 16px;
    font-size: 22px;
    font-weight: 600;
    color: inherit;
}

.contest-public__lead {
    color: inherit;
    opacity: 0.85;
    line-height: 1.55;
}

.contest-public__cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 16px;
}

.contest-public__cards--quad {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}

.contest-public__card {
    background: #F5F8FE;
    border: 1px solid #E1E8F5;
    border-radius: 12px;
    padding: 20px;
    min-height: 100px;
    color: #21212D;
}

.contest-public__card-title {
    font-weight: 600;
    font-size: 16px;
}

/* ───────── ЛК участника: заявка на конкурс (по макету) ───────── */

.mc-cabinet {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.mc-cabinet__loader {
    padding: 24px;
    color: #5C6584;
}

/* Карточка-обёртка формы */
.mc-cabinet__card {
    position: relative;
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 16px;

    @media (width < 1360px) {
        grid-template-columns: 1fr auto;
        grid-template-columns: 1fr minmax(auto, 400px);
    }

    @media (width < 1200px) {
        display: flex;
        flex-direction: column-reverse;
    }
}

.ms-cabinet__form {
    @media (width <= 576px) {
        padding: 0;
        border-radius: 0;
        background: transparent;
    }
}

.ms-cabinet__form--editable {
    background: #FFFFFF;
    border-radius: 24px;
    padding: clamp(16px, 2vw, 24px);
}

.ms-cabinet__form--with-chip {
    padding: 0;
    border-radius: 0;
    background: transparent;
}

.mc-cabinet__field {
    margin-bottom: 16px;
    position: relative;
    color: var(--darkBlue)
}

.mc-cabinet__field--half { flex: 1 1 0; min-width: 0; }

.mc-cabinet__row {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;

    @media(max-width: 720px) {
        flex-direction: column;
    }
}

.ms-cabinet__label {
    opacity: 0.5;
    text-transform: uppercase;
    letter-spacing: 5%;
    font-size: 12px;
    line-height: 130%;
    margin-bottom: 4px;
}
.ms-cabinet__field-name {
    font-size: clamp(14px, 1.5vw, 16px);
    line-height: 130%;
}
.ms-cabinet__field-name_link {
    color: var(--lightBlue);
    transition: 0.3s;
}

@media(hover: hover) {
    .ms-cabinet__field-name_link:hover {
        opacity: 0.5;
    }
}

.mc-cabinet__input {
    width: 100%;
    border: 1px solid #D8D3C7;
    border-radius: 12px;
    padding: 14px 18px;
    font-family: inherit;
    font-size: 15px;
    line-height: 1.4;
    background: #FFFFFF;
    color: #21212D;
}

.mc-cabinet__input::placeholder { color: #9A938B; }

.mc-cabinet__input:focus {
    outline: 2px solid #769AC9;
    outline-offset: -1px;
    border-color: #769AC9;
}

.mc-cabinet__input:disabled {
    background: #F8F6F2;
    color: #5C5851;
    cursor: not-allowed;
}



.mc-cabinet__textarea {
    resize: vertical;
    min-height: 130px;
}

/* Селекты — нативные, со своей стрелкой */
.mc-cabinet__select-wrap { position: relative; }

.mc-cabinet__select {
    appearance: none;
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="12" height="8" viewBox="0 0 12 8"><path d="M1 1l5 5 5-5" stroke="%235C6584" stroke-width="1.4" fill="none" stroke-linecap="round"/></svg>');
    background-repeat: no-repeat;
    background-position: right 18px center;
    padding-right: 40px;
    cursor: pointer;
}

.mc-cabinet__select_no-border {
    padding: 0;
    background: transparent;
    color: var(--darkBlue);
    border-radius: 0;
    border: none;
    font-size: clamp(14px, 1.5vw, 16px);
    line-height: 130%;
    padding-right: 0;
    cursor: text;
}

/* Счётчик под полем (как на макете: 0/55, 0/1000) */
.mc-cabinet__counter {
    margin-top: 4px;
    color: #9A938B;
    font-size: 12px;
}

.mc-cabinet__error {
    margin-top: 6px;
    color: #D14040;
    font-size: 13px;
}

/* Чип статуса справа сверху карточки */
.mc-cabinet__status-chip {
    /* position: absolute; */
    /* top: 24px; */
    /* right: 28px; */
    /* display: inline-flex; */
    width: fit-content;
    margin-left: auto;
    height: fit-content;
    display: flex;
    align-items: center;
    justify-content: center;
    align-items: center;
    gap: 8px;
    padding: 8px 18px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    background: #ECEAE6;
    color: #5C5851;

    @media (width < 900px) {
        margin-left: inherit;
    }
}

.mc-cabinet__status-chip--pending {
    background: #795F521A;
    color: #795F52;
}

.mc-cabinet__status-chip--needs_revision {
    background: #D699001A;
    color: #D69900;
}

.mc-cabinet__status-chip--rejected {
    background: #A6312E1A;
    color: #A6312E;
}

.mc-cabinet__status-chip--approved {
    background: #769AC91A;
    color: #769AC9;
}

.mc-cabinet__status-chip--finalist {
    background: #5D9B2A1A;
    color: #5D9B2A;
}

.mc-cabinet__status-chip--winner {
    background: #8576C91A;
    color: #8576C9;
}

/* Сообщение модератора (нужны правки / причина отклонения) */
.mc-cabinet__moderator-msg {
    margin-bottom: 20px;
    padding: 14px 16px;
    background: #FFFBF0;
    border: 1px solid #F2D998;
    border-radius: 12px;
}

.mc-cabinet__moderator-msg-label {
    font-size: 12px;
    font-weight: 600;
    color: #8C6300;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    margin-bottom: 6px;
}

.mc-cabinet__moderator-msg-body {
    color: #21212D;
    line-height: 1.55;
    white-space: pre-line;
    font-size: 14px;
}

/* Дропзона: пунктирная рамка, иконка слева, текст справа */
.mc-cabinet__file-input { display: none; }

.mc-cabinet__dropzone {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px;
    border: 2px dashed var(--brown);
    border-radius: 8px;
    background: #FFFFFF;
    color: #5C5851;
    cursor: pointer;
    transition: border-color 0.15s ease, background-color 0.15s ease;
}

.mc-cabinet__dropzone:hover:not(.is-disabled) {
    border-color: #769AC9;
    background: #F8FAFE;
}

.mc-cabinet__dropzone.is-dragover {
    border-color: #769AC9;
    background: rgba(118, 154, 201, 0.12);
}

.mc-cabinet__dropzone.is-disabled {
    cursor: not-allowed;
    opacity: 0.65;
}

.mc-cabinet__dropzone-icon {
    flex-shrink: 0;
    color: var(--brown);
}

.mc-cabinet__dropzone-text {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.mc-cabinet__dropzone-types {
    font-size: 12px;
    font-weight: 600;
    color: var(--brown);
    letter-spacing: 0.06em;
}

.mc-cabinet__dropzone-cta {
    font-size: clamp(14px, 1.5vw, 16px);
    color: var(--darkBlue);
}

/* Плашка прикреплённого файла */
.mc-cabinet__file-pill {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px;
    border-radius: 8px;
    background: var(--white);
}

.mc-cabinet__file-pill_is-edit-table {
    background: #769AC91A;
}

.mc-cabinet__file-pill-icon {
    flex-shrink: 0;
    color: var(--lightBlue);
}

.mc-cabinet__file-pill-meta {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.mc-cabinet__file-pill-size {
    font-size: 12px;
    color: var(--lightBlue);;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.mc-cabinet__file-pill-name {
    font-size: clamp(14px, 1.5vw, 16px);
    color: var(--darkBlue);
    text-decoration: none;
    word-break: break-all;
}

.mc-cabinet__file-pill-name:hover { color: #769AC9; }

.mc-cabinet__file-remove {
    flex-shrink: 0;
    background: transparent;
    border: none;
    padding: 6px;
    cursor: pointer;
    color: #79705F;
    border-radius: 6px;
}

.mc-cabinet__file-remove:hover:not(:disabled) {
    background: #FFFFFF;
    color: #D14040;
}

.mc-cabinet__file-remove:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* Лейбл над дропзоной с иконкой-«?» (поле «Подтверждение оригинальности») */
.mc-cabinet__label-row {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 8px 0 8px;
}

.mc-cabinet__label {
    font-weight: 600;
    color: var(--darkBlue);
    font-size: clamp(14px, 1.5vw, 16px);
}

.mc-cabinet__help-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: none;
    background: transparent;
    color: var(--darkBlue);
    opacity: 0.5;
    cursor: pointer;
    padding: 0;
    transition: background-color 0.12s ease, color 0.12s ease;
}

.mc-cabinet__help-btn:hover {
    background: rgba(118, 154, 201, 0.14);
    color: #4A6FA0;
}

/* Локальная модалка-пояснение про подтверждение оригинальности */
.mc-originality-info-backdrop { z-index: 1000; }

.mc-originality-info {
    width: min(100%, 890px) !important;
    text-align: left;
    padding: clamp(16px, 2vw, 24px) !important;
    color: var(--darkBlue);
}

.mc-originality-info__title {
    text-align: left;
    margin-bottom: 16px !important;
    font-size: clamp(20px, 2vw, 24px);
}

.mc-originality-info p {
    margin: 0 0 12px;
    font-size: clamp(16px, 1.3vw, 18px);
    line-height: 1.55;
}

.mc-originality-info a {
    color: var(--lightBlue);
    text-decoration: underline;
}

.mc-originality-info__list {
    margin: 0 0 12px;
    line-height: 1.55;
}

.mc-originality-info__list li {
    position: relative;
    padding-left: 12px;

    &::before {
        position: absolute;
        content: '';
        width: 4px;
        height: 4px;
        border-radius: 100%;
        background-color: var(--lightBlue);
        top: 8px;
        left: 0;
    }
}

.mc-originality-info__list li + li {
    margin-top: 4px;
}

.mc-originality-info__note {
    padding: 16px;
    border-radius: 8px;
    background: #769AC91A;
    color: var(--lightBlue);
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 8px;

    p {
        color: var(--darkBlue);
        margin-bottom: 0;
    }
}

/* Submit-кнопка */
.mc-cabinet__submit-row {
    margin-top: 14px;
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}

.mc-cabinet__submit {
    padding: 14px 28px;
    background: #93AFE3;
    color: #FFFFFF;
    border: none;
    border-radius: 10px;
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    cursor: pointer;
    transition: background-color 0.15s ease;
}

.mc-cabinet__submit:hover:not(:disabled) {
    background: #769AC9;
}

.mc-cabinet__submit:disabled {
    opacity: 0.55;
    cursor: not-allowed;
}

.mc-cabinet__autosave {
    color: #79705F;
    font-size: 12px;
}

/* Серый блок-внимание (под карточкой формы) */
.mc-cabinet__notice {
    display: flex;
    gap: 14px;
    padding: 16px 20px;
    background-color: #769AC91A;
    border-radius: 12px;
    color: var(--darkBlue);
    font-size: clamp(16px, 1.5vw, 18px);
    line-height: 1.55;
}

.mc-cabinet__notice-icon {
    flex-shrink: 0;
    color: var(--lightBlue);
    margin-top: 2px;
}

.mc-cabinet__notice p {
    margin: 0;
}

/* ───────── Админ-таб «Подвиги регионов» ───────── */

.admin-mc {
    padding: 24px;
}

.admin-mc__tabs {
    display: flex;
    gap: 4px;
    border-bottom: 1px solid #E1E8F5;
    margin-bottom: 16px;
}

.admin-mc__tab {
    border: none;
    background: none;
    padding: 10px 16px;
    cursor: pointer;
    color: #5C6584;
    font-size: 14px;
    border-bottom: 2px solid transparent;
    margin-bottom: -1px;
}

.admin-mc__tab.is-active {
    color: #769AC9;
    border-bottom-color: #769AC9;
}

.admin-mc__tab-badge {
    margin-left: 6px;
    background: #D14040;
    color: #FFFFFF;
    font-size: 11px;
    font-weight: 600;
    padding: 1px 8px;
    border-radius: 999px;
    line-height: 1.6;
}

/* ───────── Админ-таб «Работы» ───────── */

.admin-mc-entries__filters {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 16px;
}

.admin-mc-entries__search { flex: 1 1 220px; min-width: 200px; }
.admin-mc-entries__select { flex: 1 1 220px; min-width: 200px; }
.admin-mc-entries__area { flex: 1 1 220px; min-width: 200px; }

.admin-mc-entries__loading,
.admin-mc-entries__empty {
    padding: 16px;
    color: #5C6584;
}

.admin-mc-entries__table {
    width: 100%;
    border-collapse: collapse;
    background: #FFFFFF;
    border-radius: 8px;
    overflow: hidden;
}

.admin-mc-entries__table th,
.admin-mc-entries__table td {
    padding: 10px 14px;
    text-align: left;
    border-bottom: 1px solid #E1E8F5;
    font-size: 13px;
    vertical-align: middle;
}

.admin-mc-entries__table th {
    color: #5C6584;
    font-weight: 500;
    background: #F5F8FE;
    cursor: pointer;
    user-select: none;
}

.admin-mc-entries__row {
    cursor: pointer;
    transition: background-color 0.15s ease;
}

.admin-mc-entries__row:hover { background: #F5F8FE; }
.admin-mc-entries__row.is-pending { background: #FFFBF0; }
.admin-mc-entries__row.is-pending:hover { background: #FFF6E5; }

.admin-mc-entries__chip {
    display: inline-block;
    padding: 3px 10px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 500;
    margin-right: 4px;
}

.admin-mc-entries__chip--pending { background: #FFF6E5; color: #B07F19; }
.admin-mc-entries__chip--needs_revision { background: #FFE5B5; color: #8C5A00; }
.admin-mc-entries__chip--approved { background: #E8F5EE; color: #2A7549; }
.admin-mc-entries__chip--rejected { background: #FFE5E5; color: #D14040; }
.admin-mc-entries__chip--draft { background: #F4F1EC; color: #79705F; }
.admin-mc-entries__chip--result { background: rgba(118, 154, 201, 0.12); color: #5A7FAF; }

/* ───────── Расширения модалки админа: широкий + блоки решений ───────── */

.admin-mc-modal__dialog--wide { width: min(960px, 100%); }

.admin-mc-modal__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 16px;
    padding: 16px 0;
    border-bottom: 1px solid #E1E8F5;
}

.admin-mc-modal__pair-label {
    font-size: 12px;
    color: #5C6584;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 4px;
}

.admin-mc-modal__pair-value { color: #21212D; font-size: 14px; }

.admin-mc-modal__section { margin-top: 18px; }

.admin-mc-modal__section-label {
    font-size: 13px;
    font-weight: 600;
    color: #5C6584;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 8px;
}

.admin-mc-modal__text {
    color: #21212D;
    line-height: 1.55;
    white-space: pre-line;
    font-size: 14px;
}

.admin-mc-modal__muted { color: #5C6584; }

.admin-mc-modal__materials { display: flex; gap: 12px; flex-wrap: wrap; }

.admin-mc-modal__material {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 14px;
    background: #F5F8FE;
    border: 1px solid #E1E8F5;
    border-radius: 6px;
    color: #5A7FAF;
    font-size: 13px;
    text-decoration: none;
}

.admin-mc-modal__material:hover { background: rgba(118, 154, 201, 0.12); }

.admin-mc-modal__user > div { margin-bottom: 2px; font-size: 14px; }

.admin-mc-modal__section--decision {
    background: #FAFBFE;
    border: 1px solid #E1E8F5;
    border-radius: 8px;
    padding: 14px 16px;
    margin-top: 24px;
}

.admin-mc-modal__decision-row {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 12px;
}

.admin-mc-modal__radio {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 14px;
    background: #FFFFFF;
    border: 1px solid #E1E8F5;
    border-radius: 6px;
    cursor: pointer;
    font-size: 13px;
}

.admin-mc-modal__radio.is-active {
    border-color: #769AC9;
    background: rgba(118, 154, 201, 0.12);
    color: #5A7FAF;
}

/* ───────── Кабинет эксперта ───────── */

.expert-page__shell {
    display: grid;
    grid-template-columns: 250px 1fr;
    gap: 24px;
    width: min(1440px, 100%);
    margin: 0 auto;
    padding: 24px clamp(1rem, 4vw, 3rem);
}

@media (max-width: 900px) {
    .expert-page__shell {
        grid-template-columns: 1fr;
    }
}

.expert-page__main {
    background: transparent;
}

.expert-sidebar {
    background: #FFFFFF;
    border-radius: 12px;
    padding: 18px 0;
    box-shadow: 0 4px 18px rgba(33, 33, 45, 0.05);
    align-self: start;
}

.expert-sidebar__title {
    margin: 0 18px 14px;
    font-size: 16px;
    font-weight: 600;
    color: #21212D;
}

.expert-sidebar__nav {
    display: flex;
    flex-direction: column;
}

.expert-sidebar__link {
    padding: 10px 18px;
    color: #5C6584;
    font-size: 14px;
    border-left: 3px solid transparent;
    transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease;
    text-decoration: none;
}

.expert-sidebar__link:hover { color: #21212D; background: #F5F8FE; }

.expert-sidebar__link.is-active {
    color: #5A7FAF;
    background: rgba(118, 154, 201, 0.12);
    border-left-color: #769AC9;
}

/* expert-entries */

.expert-entries__tabs {
    display: flex;
    gap: 4px;
    border-bottom: 1px solid #E1E8F5;
    margin-bottom: 16px;
}

.expert-entries__tab {
    border: none;
    background: none;
    padding: 10px 16px;
    cursor: pointer;
    color: #5C6584;
    font-size: 14px;
    border-bottom: 2px solid transparent;
    margin-bottom: -1px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.expert-entries__tab.is-active {
    color: #769AC9;
    border-bottom-color: #769AC9;
}

.expert-entries__badge {
    background: #769AC9;
    color: #FFFFFF;
    font-size: 11px;
    font-weight: 600;
    padding: 1px 8px;
    border-radius: 999px;
}

.expert-entries__filters {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 16px;
}

.expert-entries__search { flex: 1 1 220px; min-width: 200px; }
.expert-entries__select { flex: 0 1 200px; min-width: 160px; }
.expert-entries__area { flex: 1 1 220px; min-width: 200px; }

.expert-entries__loading,
.expert-entries__empty {
    padding: 16px;
    color: #5C6584;
}

.expert-entry-modal__score-block {
    display: flex;
    flex-direction: column;
    gap: 4px;
    flex: 1 1 200px;
}

.expert-entry-modal__score-input {
    width: 120px;
}

/* ───────── Модерация изменений профилей ───────── */

.admin-pc { padding: 24px; }

.admin-pc__filters {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 16px;
}

.admin-pc__search { flex: 1 1 240px; }
.admin-pc__select { flex: 1 1 220px; min-width: 200px; }

.admin-pc__loading,
.admin-pc__empty {
    padding: 16px;
    color: #5C6584;
}

.admin-pc__list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 8px;
}

.admin-pc__item {
    background: #FFFFFF;
    border: 1px solid #E1E8F5;
    border-radius: 8px;
    padding: 12px 16px;
    cursor: pointer;
    transition: border-color 0.15s ease, transform 0.1s ease;
}

.admin-pc__item:hover {
    border-color: #769AC9;
    transform: translateY(-1px);
}

.admin-pc__head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
}

.admin-pc__name {
    font-weight: 600;
    color: #21212D;
}

.admin-pc__meta {
    margin-top: 4px;
    color: #5C6584;
    font-size: 12px;
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.admin-pc__chip {
    padding: 3px 10px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 500;
}

.admin-pc__chip--pending { background: #FFF6E5; color: #B07F19; }
.admin-pc__chip--approved { background: #E8F5EE; color: #2A7549; }
.admin-pc__chip--rejected { background: #FFE5E5; color: #D14040; }

.admin-pc-modal__diff {
    width: 100%;
    border-collapse: collapse;
    background: #FFFFFF;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid #E1E8F5;
}

.admin-pc-modal__diff th,
.admin-pc-modal__diff td {
    padding: 8px 12px;
    text-align: left;
    border-bottom: 1px solid #E1E8F5;
    font-size: 13px;
    vertical-align: top;
}

.admin-pc-modal__diff th {
    background: #F5F8FE;
    color: #5C6584;
    font-weight: 500;
}

.admin-pc-modal__from { color: #79705F; text-decoration: line-through; }
.admin-pc-modal__to { color: #2A7549; font-weight: 500; }

.admin-mc-feats__filters {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 16px;
}

.admin-mc-feats__search {
    flex: 1 1 220px;
}

.admin-mc-feats__select {
    flex: 1 1 220px;
    min-width: 200px;
}

.admin-mc-feats__loading,
.admin-mc-feats__empty {
    padding: 16px;
    color: #5C6584;
}

.admin-mc-feats__table {
    width: 100%;
    border-collapse: collapse;
    background: #FFFFFF;
    border-radius: 8px;
    overflow: hidden;
}

.admin-mc-feats__table th,
.admin-mc-feats__table td {
    padding: 10px 14px;
    text-align: left;
    border-bottom: 1px solid #E1E8F5;
    font-size: 14px;
}

.admin-mc-feats__table th {
    color: #5C6584;
    font-weight: 500;
    background: #F5F8FE;
}

.admin-mc-feats__row {
    cursor: pointer;
    transition: background-color 0.15s ease;
}

.admin-mc-feats__row:hover {
    background: #F5F8FE;
}

.admin-mc-feats__chip {
    display: inline-block;
    padding: 3px 10px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 500;
}

.admin-mc-feats__chip--filled {
    background: #E8F5EE;
    color: #2A7549;
}

.admin-mc-feats__chip--empty {
    background: #F4F1EC;
    color: #79705F;
}

.admin-mc-feats__chip--published {
    background: #E5EEFB;
    color: #5A7FAF;
}

.admin-mc-feats__chip--draft {
    background: #FFF6E5;
    color: #B07F19;
}

/* ───────── Админ-модалка подвига ───────── */

.admin-mc-modal {
    position: fixed;
    inset: 0;
    background: rgba(33, 33, 45, 0.6);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 100;
    padding: 24px;
}

.admin-mc-modal__dialog {
    background: #FFFFFF;
    border-radius: 12px;
    width: min(720px, 100%);
    max-height: 90vh;
    display: flex;
    flex-direction: column;
    box-shadow: 0 30px 80px rgba(33, 33, 45, 0.2);
}

.admin-mc-modal__head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 24px;
    border-bottom: 1px solid #E1E8F5;
}

.admin-mc-modal__title {
    font-size: 18px;
    font-weight: 600;
    margin: 0;
}

.admin-mc-modal__close {
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
    color: #5C6584;
}

.admin-mc-modal__loader {
    padding: 32px;
    text-align: center;
    color: #5C6584;
}

.admin-mc-modal__body {
    padding: 20px 24px 24px;
    overflow-y: auto;
}

.admin-mc-modal__label {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 13px;
    color: #5C6584;
    margin-bottom: 6px;
}

.admin-mc-modal__counter {
    color: #79705F;
    font-size: 12px;
}

.admin-mc-modal__textarea {
    width: 100%;
    border: 1px solid #E1E8F5;
    border-radius: 8px;
    padding: 12px 14px;
    font-family: inherit;
    font-size: 14px;
    line-height: 1.5;
    resize: vertical;
    min-height: 200px;
}

.admin-mc-modal__textarea:focus {
    outline: 2px solid #769AC9;
    outline-offset: -1px;
    border-color: #769AC9;
}

.admin-mc-modal__error {
    color: #D14040;
    font-size: 13px;
    margin-top: 6px;
}

.admin-mc-modal__publish {
    display: flex;
    gap: 8px;
    align-items: center;
    margin-top: 14px;
    font-size: 14px;
    cursor: pointer;
}

.admin-mc-modal__actions {
    display: flex;
    justify-content: flex-end;
    gap: 12px;
    margin-top: 20px;
}

.admin-mc-modal__btn {
    border: none;
    background: #769AC9;
    color: #FFFFFF;
    padding: 10px 20px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.admin-mc-modal__btn:hover:not(:disabled) {
    background: #5A7FAF;
}

.admin-mc-modal__btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.admin-mc-modal__btn--ghost {
    background: transparent;
    color: #5C6584;
    border: 1px solid #E1E8F5;
}

.admin-mc-modal__btn--ghost:hover:not(:disabled) {
    background: #F5F8FE;
}

/* ───────── Админ FAQ + Победители номинаций + Feedback ───────── */

.admin-faq, .admin-feedback, .admin-mc-winners { padding: 24px; }

.admin-faq__tabs {
    display: flex; gap: 4px; border-bottom: 1px solid #E1E8F5; margin-bottom: 16px;
}
.admin-faq__tab {
    border: none; background: none; padding: 10px 16px; cursor: pointer; color: #5C6584;
    font-size: 14px; border-bottom: 2px solid transparent; margin-bottom: -1px;
}
.admin-faq__tab.is-active { color: #769AC9; border-bottom-color: #769AC9; }

.admin-faq-items__top {
    display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 16px; align-items: center;
}
.admin-faq-items__search { flex: 1 1 240px; }
.admin-faq-items__select { flex: 1 1 220px; min-width: 200px; }

.admin-faq-items__loading,
.admin-faq-items__empty { padding: 16px; color: #5C6584; }

.admin-faq-items__pager {
    display: flex; gap: 12px; align-items: center; justify-content: center;
    padding: 16px 0; color: #5C6584; font-size: 13px;
}
.admin-faq-items__pager button {
    width: 32px; height: 32px; border: 1px solid #E1E8F5; background: #FFFFFF; border-radius: 6px; cursor: pointer;
}
.admin-faq-items__pager button:disabled { opacity: 0.4; cursor: not-allowed; }

.admin-faq-cat-select { display: flex; gap: 8px; }
.admin-faq-cat-select select { flex: 1; }
.admin-faq-cat-select__add {
    width: 40px; height: 40px; border: 1px solid #E1E8F5; background: #FFFFFF; border-radius: 8px;
    cursor: pointer; font-size: 18px; color: #769AC9;
}
.admin-faq-cat-select__add:hover { background: rgba(118, 154, 201, 0.08); }

.admin-faq-cats__actions { display: flex; gap: 6px; flex-wrap: wrap; }

/* Победители — сетка по категориям */
.admin-mc-winners__group { margin-bottom: 28px; }
.admin-mc-winners__group-title {
    font-size: 16px; font-weight: 600; color: #21212D; margin: 0 0 12px;
}
.admin-mc-winners__grid {
    display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px;
}
@media (max-width: 1100px) {
    .admin-mc-winners__grid { grid-template-columns: 1fr; }
}
.admin-mc-winners__cell {
    background: #FAFBFE; border: 1px solid #E1E8F5; border-radius: 10px; padding: 14px;
    display: flex; flex-direction: column; gap: 10px;
}
.admin-mc-winners__cell-head {
    font-size: 12px; font-weight: 600; color: #5C6584; text-transform: uppercase; letter-spacing: 0.05em;
}
.admin-mc-winner-pick__details {
    background: #FFFFFF; border: 1px solid #E1E8F5; border-radius: 8px; padding: 10px 12px;
}
.admin-mc-winner-pick__work-title { font-weight: 600; font-size: 14px; color: #21212D; }
.admin-mc-winner-pick__work-meta { font-size: 12px; color: #5C6584; margin-top: 2px; }
.admin-mc-winner-pick__annotation {
    margin: 8px 0 6px; font-size: 13px; color: #21212D; line-height: 1.5;
    max-height: 80px; overflow: auto;
}
.admin-mc-winner-pick__work-actions { display: flex; gap: 8px; flex-wrap: wrap; }
.admin-mc-winner-pick__confirm {
    display: inline-flex; align-items: center; gap: 10px; cursor: pointer; font-size: 13px; color: #21212D;
}
.admin-mc-winner-pick__loading { color: #5C6584; font-size: 13px; }

/* Feedback */
.admin-feedback__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.admin-feedback__item {
    background: #FFFFFF; border: 1px solid #E1E8F5; border-radius: 8px; padding: 12px 16px;
    cursor: pointer; transition: border-color 0.15s ease;
}
.admin-feedback__item:hover { border-color: #769AC9; }
.admin-feedback__item.is-new { background: #FFFBF0; }
.admin-feedback__head { display: flex; justify-content: space-between; gap: 12px; align-items: center; }
.admin-feedback__name { font-weight: 600; color: #21212D; }
.admin-feedback__preview {
    margin-top: 6px; color: #21212D; font-size: 14px;
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.admin-feedback__meta { margin-top: 6px; color: #79705F; font-size: 12px; }

/* ─────────────── Публичная страница: блоки контента ─────────────── */

/* HERO */
.contest-hero {
    /* margin-top: 24px;
    background: #1d1d2c;
    color: #F8F5EE;
    border-radius: 22px;
    overflow: hidden;
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    min-height: 420px; */
    margin-top: 24px;
    background-color: var(--darkBlue);
    color: var(--white);
}

.contest-banner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 17px;
    min-height: 420px;
    position: relative;
    overflow: hidden;
    padding-right: 0;
}

.contest-hero__content {
    z-index: 2;
    padding: 50px 0 47px;
    display: flex;
    flex-direction: column;
    gap: 14px;
}
.contest-hero__title {
    color: var(--white);
    text-align: left;
    font-size: clamp(32px, 4vw, 40px);
    margin: 0;
}
.contest-hero__tags {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 3px;
}
.contest-hero__tag {
    background-color: #769AC91A;
    backdrop-filter: blur(200px);
    padding: 6px 16px 6px 8px;
    border-radius: 31px;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 5%;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 4px;
}
.contest-hero__lead {
    margin: 0;
    line-height: 130%;
    font-size: clamp(16px, 1.5vw, 18px);
}
.contest-hero__actions {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    align-items: center;
    margin-top: 22px;
}
.contest-hero__cta {
    display: inline-block;
    background: var(--lightBlue);
    padding: 10px 22px;
    border-radius: 10px;
    text-decoration: none;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    transition: background-color 0.15s ease;;
}
.contest-hero__cta:hover { background: #769AC9; }
.contest-hero__secondary {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 22px;
    border-radius: 10px;
    border: 1px solid var(--white);
    text-decoration: none;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}
.contest-hero__secondary:hover { color: #FFFFFF; }
.contest-hero__media {
    position: relative;
    overflow: hidden;
}

.contest-hero__media > img:first-child { width: 100%; height: 100%; object-fit: cover; }

.contest-hero__decor {
    position: absolute;
    z-index: 1;
    left: 50%;
    top: 0px;
    bottom: 0px;
    height: 100%;
    width: auto;
    pointer-events: none;
    transform: rotateY(180deg);
}

.contest-hero__decor_mobile {
    display: none;
}

/* Категории участников */
.contest-cats { margin-top: clamp(8px, 5vw, 60px); padding-top: clamp(8px, 5vw, 40px) }
.contest-cats__title { margin: 0 0 37px; }
.contest-cats__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 16px;

    @media(width < 768px) {
        grid-template-columns: 1fr;
    }
}

.contest-cat {
    background: #21212D80;
    border-radius: 24px;
    padding: 24px;
    color: var(--white);
    transition: 0.3s;
    cursor: pointer;

    &:hover {
        transform: translateY(-10px);
    }

    ul {
        li {
            position: relative;
            padding-left: 12px;
            font-size: clamp(16px, 1.5vw, 18px);
            line-height: 130%;
            &::before {
            position: absolute;
                content: '';
                top: 8px;
                left: 0;
                width: 4px;
                height: 4px;
                background-color: var(--lightBlue);
                border-radius: 50%;
            }
        }
    }
}

.contest-cat_active {
    background: var(--darkBlue);
}

.contest-cat_mobile {
    background: var(--darkBlue);
    pointer-events: none;
}

.contest-cat__num {
    font-size: 12px;
    line-height: 130%;
    letter-spacing: 5%;
    text-transform: uppercase;
    opacity: 0.5;
}
.contest-cat__title { margin-bottom: 8px; font-size: clamp(18px, 2vw, 24px); font-weight: 500; line-height: 130%; }
.contest-cat__desc { margin: 0 0 16px 0; font-size: clamp(16px, 1.5vw, 18px); line-height: 130%; }

.contest-cats__nominations {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 16px;
}

.contest-nomination {
    position: relative;
    border: 1px solid #21212D1A;
    border-radius: 24px;
    padding: clamp(16px, 2vw, 24px);
    padding-left: clamp(64px, 7vw, 80px);

    &::before {
        position: absolute;
        content: '';
        color: var(--darkBlue);
        top: clamp(16px, 2vw, 24px);
        left: clamp(16px, 2vw, 24px);
        width: clamp(32px, 4vw, 40px);
        height: clamp(32px, 4vw, 40px);
        background: url('/images/icons/medal.svg') center no-repeat;
    }
}

.contest-nomination__title {
    font-size: 12px;
    letter-spacing: 5%;
    opacity: 0.5;
    text-transform: uppercase;
}

.contest-nomination__desc {
    font-size: clamp(16px, 1.3vw, 18px);
}

/* Слайдер победителей */
.contest-winners {
    margin-top: 56px;

    color: var(--white);
    padding: clamp(32px, 4vw, 48px) 0;
    position: relative;
    overflow: hidden;
    background-color: #21212DD9;

    &::before {
        position: absolute;
        content: '';
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        width: 100%;
        height: 100%;
        background: url('/images/Конкурс_методических_разработок_фон_для_слайдера.png') center no-repeat;
        z-index: -1;
    }
}
.contest-winners img {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: -1;
}
/* .contest-winners__title {
    margin: 0 0 28px;
} */
.contest-winners__slider {
    min-height: 280px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: clamp(16px, 1.5vw, 24px);
    text-align: center;
}
.contest-winners__slide-cat {
    font-size: 12px;
    letter-spacing: 5%;
    line-height: 130%;
    text-transform: uppercase;
    margin-bottom: clamp(16px, 2vw, 30px);
}
.contest-winners__slide {
    width: 100%;
    max-width: 890px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 22px;
}
.contest-winners__slide-title {
    font-family: 'Monomakh-Regular', serif;
    font-size: clamp(24px, 4vw, 40px);
    line-height: 120%;
    text-transform: uppercase;
}
.contest-winners__slide-nom { font-size: clamp(14px, 1.5vwm 18px); }
.contest-winners__slide-annot {
    font-size: clamp(14px, 1.5vwm 18px);
    line-height: 130%;
    display: -webkit-box;
    -webkit-line-clamp: 12;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.contest-winners__slide-meta { display: flex; gap: 16px; font-size: clamp(14px, 1.5vw, 16px); margin-bottom: -12px; }
.contest-winners__slide-actions { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 24px;}
.contest-winners__btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 24px;
    border-radius: 8px;
    background: var(--lightBlue);
    text-decoration: none;
    font-size: 14px;
    letter-spacing: 5%;
    text-transform: uppercase;
}
.contest-winners__btn:hover { background: #5A7FAF; }
.contest-winners__btn--ghost {
    background: transparent;
    border: 1px solid var(--white);
}
.contest-winners__btn--ghost:hover { background: #21212D; color: #FFFFFF; }
.contest-winners__dots { display: flex; gap: 8px; justify-content: center; margin-top: 23px; }
.contest-winners__dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--white);
    opacity: 0.5;
    border: none;
    cursor: pointer;
    padding: 0;
    transition: background 0.2s ease;
}
.contest-winners__dot.is-active { opacity: 1;}
.contest-fade-enter-active, .contest-fade-leave-active { transition: opacity 0.4s ease; }
.contest-fade-enter-from, .contest-fade-leave-to { opacity: 0; }

/* Как участвовать */
.contest-howto { margin: 51px 0; }
.contest-howto__title { margin: 0 0 37px; }

.contest-howto__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    margin-bottom: 16px;

    @media (width < 1025px) {
        grid-template-columns: 1fr 1fr;
    }

    @media (width < 576px) {
        grid-template-columns: 1fr;
    }
}

.contest-step {
    background: #769AC91A;
    border-radius: 24px;
    padding: clamp(16px, 2vw, 24px);
    color: var(--darkBlue);
    line-height: 130%;
}
.contest-step__num {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 5%;
    margin-bottom: 11px;
}
.contest-step__icon {
    width: clamp(50px, 5vw, 64px);
    height: clamp(50px, 5vw, 64px);
    border-radius: 8px;
    background-color: #769AC9;
    display: grid;
    place-items: center;
    color: var(--white);
    margin-bottom: 39px;
}
.contest-step__title {
    margin-bottom: 10px;
    font-size: clamp(20px, 2vw, 24px);
    letter-spacing: 0.0175em;
    font-weight: 600;
}
.contest-step__desc {
    margin-bottom: 18px;
    font-size: clamp(14px, 1.5vw, 16px);
    line-height: 1.5;

    a {
        color: var(--brown);
        text-decoration: underline;
        transition: 0.3s;

        &:hover {
            @media (hover: hover) {
                opacity: 0.5;
            }
        }
    }
}

.contest-howto-rules {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 16px;
    margin-bottom: clamp(24px, 4vw, 40px);

    @media(max-width: 790px) {
        grid-template-columns: 1fr;
    }
}
.contest-howto-rule {
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 8px;
    border: 1px solid #21212D1A;
    border-radius: 24px;
    padding: clamp(16px, 2vw, 24px);
    color: var(--darkBlue);
}

.contest-howto-rule__icon {
    width: clamp(32px, 4vw, 40px);
    height: clamp(32px, 4vw, 40px);

    svg {
        width: stretch;
    }
}
.contest-howto-rule__title {
    font-size: 12px;
    letter-spacing: 5%;
    line-height: 130%;
    text-transform: uppercase;
    opacity: 0.5;
}
.contest-howto-rule__desc {
    font-size: clamp(16px, 1.3vw, 18px);
    line-height: 130%;
}
.contest-howto__btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    color: var(--darkBlue);
    letter-spacing: 5%;
    padding: 8px 24px;
    text-transform: uppercase;
    font-size: 14px;
    border-radius: 8px;
    border: 1px solid var(--darkBlue);
    transition: 0.3s;

    @media (max-width: 576px) {
        width: 100%;
    }
}

.contest-howto__btn--no-border {
    border: none;
}

/* Этапы */
.contest-stages {
    margin-top: 56px;
    background-color: var(--darkBlue);
    color: var(--white);
    padding: 50px 0;
}
.contest-stages__title {
    font-size: clamp(32px, 4vw, 40px);
    margin-bottom: clamp(30px, 4vw, 37px);
    color: var(--white);

    @media(width < 576px) {
        text-align: start;
    }
}
.contest-stages__list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 1px;
}
.contest-stage {
    display: flex;
    flex-direction: column;
    gap: 16px;
    flex: 0 0 50%;
    padding: 0 26px;
    position: relative;

    &:nth-child(odd) {
        margin-left: auto;
        align-items: flex-start;

        &::before {
            content: '';
            position: absolute;
            top: 4px;
            left: -6px;
            width: 12px;
            height: 12px;
            border-radius: 50%;
            background-color: var(--lightBlue);
        }

        &::after {
            content: '';
            position: absolute;
            top: 12px;
            left: -1px;
            width: 1px;
            height: 100%;
            background-color: var(--lightBlue);
        }

        @media(width < 700px) {
            margin-left: inherit;
            padding-bottom: 32px;
            padding-right: 0;
            flex: 0 0 100%;
        }

        @media(width < 576px) {
            &::before {
                width: 10px;
                height: 10px;
                top: 3px;
                left: 0px;
            }

            &::after {
                left: 4px;
            }
        }
    }

    &:nth-child(even) {
        margin-right: auto;
        align-items: flex-end;
        text-align: end;

        &::before {
            content: '';
            position: absolute;
            top: 4px;
            right: -6px;
            width: 12px;
            height: 12px;
            border-radius: 50%;
            background-color: var(--lightBlue);
        }

        &::after {
            content: '';
            position: absolute;
            top: 12px;
            right: -1px;
            width: 1px;
            height: 100%;
            background-color: var(--lightBlue);
        }

        @media(width < 700px) {
            align-items: flex-start;
            text-align: start;
            padding-bottom: 32px;
            flex: 0 0 100%;
            padding-right: 0;

            &::before {
                right: auto;
                left: -6px;
            }

            &::after {
                right: auto;
                left: -1px;
            }
        }

        @media(width < 576px) {
            &::before {
                width: 10px;
                height: 10px;
                top: 3px;
                left: 0px;
            }

            &::after {
                left: 4px;
            }
        }
    }

    &:last-child {
        padding-bottom: 0;
        &::after {
            display: none;
        }
    }
}
/* .contest-stage__num {
    flex-shrink: 0; width: 56px; height: 56px; border-radius: 50%; background: #1d1d2c; color: #F8F5EE;
    display: grid; place-items: center; font-size: 18px; font-weight: 600;
} */
.contest-stage__date {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--lightBlue);
    margin-bottom: clamp(5px, 1vw, 13px);
}
.contest-stage__title {
    font-size: clamp(20px, 2vw, 24px);
    font-weight: 600;
    letter-spacing: 2%;
    margin-bottom: 6px;
}
.contest-stage__desc {
    font-size: clamp(16px, 1.5vw, 18px);
    line-height: 130%;
}

/* Финалисты и победители */
.contest-finalists { margin-top: 56px; overflow: hidden; }
.contest-finalists__footer {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}
.contest-finalists__title {
    font-size: clamp(32px, 4vw, 40px);
    margin-bottom: clamp(30px, 4vw, 37px);
}
.contest-finalists__all-link {
    color: var(--darkBlue); text-decoration: none; font-size: 14px; font-weight: 600;
    text-transform: uppercase; letter-spacing: 0.08em;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;

    svg {
        transition: 0.3s;
    }

    &:hover {
        svg {
            transform: translateX(10px);
        }
    }
}
.contest-finalists__viewport { overflow: hidden; }
.contest-finalists__grid { display: flex; transition: transform 0.6s ease; }
.contest-finalists__page {
    flex: 0 0 100%;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    margin-bottom: clamp(20px, 4vw, 40px);
    padding: 1px 0;
}
/* @media (max-width: 900px) { .contest-finalists__page { grid-template-columns: 1fr 1fr; } } */
@media (max-width: 996px) { .contest-finalists__page { grid-template-columns: 1fr; } }
.contest-finalist {
    background: #FFFFFF;
    border: 1px solid rgba(64,53,40,0.08);
    border-radius: 12px;
    padding: clamp(16px, 2vw, 24px);
    padding-left: 56px;
    cursor: pointer;
    transition: border-color 0.15s ease,
    transform 0.1s ease;
    position: relative;
    color: var(--darkBlue);

    &::before {
        position: absolute;
        content: '';
        width: 48px;
        height: 48px;
        background: url('/images/icons/icon-doc.svg') center no-repeat;
        top: 16px;
        left: 0;
    }
}
.contest-finalist:hover { border-color: #769AC9; transform: translateY(-1px); }
.contest-finalist__badge {
    position: absolute; top: 12px; right: 12px; padding: 3px 10px; border-radius: 999px;
    font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.05em;
    background: #ECEAE6; color: #5C5851;
}
.contest-finalist--winner .contest-finalist__badge { background: #FFD9A5; color: #8C6300; }
.contest-finalist--finalist .contest-finalist__badge { background: #C7DFFA; color: #2A55BF; }
.contest-finalist__cat { font-size: 12px; text-transform: uppercase; opacity: 0.5; letter-spacing: 5%; }
.contest-finalist__title { margin: 6px 0; font-size: clamp(20px, 1.5vw, 24px); font-weight: 600; color: var(--lightBlue); line-height: 1.3; }
.contest-finalist__download {
    opacity: 0.5;
    z-index: 10;
    transition: 0.3s;

    &:hover {
        opacity: 1;
    }
}
.contest-finalist__label {
    font-size: clamp(14px, 1.5vw, 16px);
    margin-bottom: 16px;
}
.contest-finalist__author {
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 4px;
    color: var(--brown);
    font-size: 16px;
    margin-top: 4px;
}
.contest-finalist__area {
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 4px;
    color: var(--brown);
    font-size: 16px;
    margin-top: 2px;
}
.contest-finalist__like,
.contest-finalist__comments {
    color: #21212D80;
}

.contest-finalist__like_liked-by-me {
    color: var(--darkBlue);
}

/* Все работы (отдельная страница) */
.contest-allworks__section { margin-top: 32px; }
.contest-allworks__h2 { margin: 0 0 20px; text-align: left; }
.contest-allworks__grid {
    display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px;
}
@media (max-width: 996px) { .contest-allworks__grid { grid-template-columns: 1fr; } }
.contest-allworks__divider {
    margin: 40px 0 20px; border: none; border-top: 1px solid #D6D2C5;
}

/* Сборник */
.contest-collection {
    margin-top: 56px;
    display: grid;
    grid-template-columns: 1fr 1.9624fr;
    overflow: hidden;
    border: 1px solid #21212D1A;
    color: var(--darkBlue);
    border-radius: 24px;

    @media (width < 769px) {
        grid-template-columns: 1fr;
    }
}

.contest-collection__media {
    background: #2A2A38;
    position: relative;

    & img {
        position: absolute;
        top: 0;
        right: 0;
        bottom: 0;
        left: 0;
        object-fit: cover;
        width: 100%;
        height: 100%;

        @media (width < 769px) {
            position: inherit;
            height: 255px;
        }
    }
}

.contest-collection__body { padding: clamp(16px, 2vw, 24px); display: flex; flex-direction: column; gap: 14px; }
.contest-collection__title { text-align: left; margin: 0; font-size: clamp(20px, 2vw, 24px); font-weight: 500; line-height: 130%; }
.contest-collection__desc { margin: 0; font-size: clamp(16px, 1.5vw, 18px); line-height: 130%; }
.contest-collection__btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: fit-content;
    gap: 8px;
    padding: 8px 24px;
    border: 1px solid var(--darkBlue);
    border-radius: 8px;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 5%;
    cursor: pointer;
    transition: background-color 0.15s ease;
    @media (width < 576px) {
        width: 100%;
    }
}
.contest-collection__btn:not(:disabled):hover { background: #769AC9; }
.contest-collection__btn:disabled { opacity: 0.6; cursor: not-allowed; }

/* FAQ */
.contest-faq { margin-top: 56px; }
.contest-faq__title { margin: 0 0 28px; }
.contest-faq__layout {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 36px;
    align-items: start;

    @media (width < 901px) {
        grid-template-columns: 1fr;
    }
}
.contest-faq__list { display: flex; flex-direction: column; gap: 14px; max-height: 580px; overflow-y: auto; padding-right: 4px; }
.contest-faq__group-title {
    padding: 6px 4px; font-size: 12px; text-transform: uppercase; letter-spacing: 0.06em;
    color: #79705F; font-weight: 600;
}
.contest-faq__item {
    width: 100%; text-align: left; background: #FFFFFF;
    border: 1px solid rgba(64,53,40,0.06); border-radius: 10px;
    padding: 14px 18px; cursor: pointer; display: flex; flex-direction: column; gap: 4px;
}
.contest-faq__item:hover { border-color: #769AC9; }
.contest-faq__q { font-size: 15px; color: #21212D; font-weight: 500; }
.contest-faq__short {
    color: #5C5851; font-size: 13px; line-height: 1.45;
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.contest-faq__cta {
    background: var(--darkBlue);
    color: var(--white);
    border-radius: 24px;
    padding: 24px;
}
.contest-faq__cta-title {
    margin: 0 0 14px;
    font-size: clamp(18px, 2vw, 24px);
    line-height: 130%;
}
.contest-faq__cta-text {
    margin-bottom: 16px;
    font-size: clamp(14px, 1.5vw, 18px);
    line-height: 130%;
}
.contest-faq__cta-btn {
    display: inline-block;
    padding: 9px 22px;
    background-color: var(--lightBlue);
    border-radius: 8px;
    text-decoration: none;
    font-size: 14px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    width: 100%;
    text-align: center;
}
.contest-faq__cta-btn:hover { background: #769AC9; }

/* Ask form в общей модалке */
.contest-ask-form { display: flex; flex-direction: column; gap: 12px; margin-top: 14px; }
.contest-ask-form .auth-modal__input { width: 100%; }


/* ───────── Страница /конференция ───────── */
.conference-page__inner {
    /* width: min(900px, 100%); */
    margin: 0 auto;
    padding: 0 clamp(1rem, 4vw, 3rem) 80px;
}
.conference-page__hero { margin: 32px 0 28px; text-align: center; }
.conference-page__eyebrow {
    margin: 0 0 6px; color: #769AC9; font-size: 12px;
    text-transform: uppercase; letter-spacing: 0.1em;
}
.conference-page__title {
    margin: 0 0 12px; text-align: center; font-size: clamp(28px, 3vw, 40px); line-height: 1.1;
}
.conference-page__meta { margin: 0; color: #5C5851; font-size: 15px; }
.conference-page__body { color: #21212D; line-height: 1.65; font-size: 15px; }
.conference-page__body ul { padding-left: 22px; }
.conference-page__address { color: #79705F; font-style: italic; margin-top: 18px; }
.conference-page__note { margin-top: 14px; color: #5C5851; }


@media (width < 1025px) {
    .contest-banner {
        display: flex;
        flex-direction: column-reverse;
        padding: 0;
    }
    .contest-hero__content {
        padding: 30px clamp(1rem, 4vw, 3rem) 50px;
    }
    .contest-hero__decor {
        display: none;
    }
    .contest-hero__media {
        height: 429px;
    }
}

@media (width < 576px) {
    .contest-hero__decor_mobile {
        display: block;
        position: absolute;
        bottom: 0;
        right: 0;
        left: 0;
        width: 100%;
        object-fit: cover;
        transform: rotateY(180deg);
    }
}

@media(hover: hover) {
    .contest-howto__btn:hover {
        color: var(--lightBlue);
        border-color: var(--lightBlue);
    }
}

/* === Покритериевая оценка экспертом (admin/expert) === */

.admin-mc-entries__eval-btn {
    background: var(--darkBlue, #21212d);
    color: #fff;
    border: none;
    border-radius: 14px;
    padding: 6px 14px;
    font-size: 12px;
    cursor: pointer;
}
.admin-mc-entries__eval-btn:hover { opacity: 0.85; }
.admin-mc-entries__eval-btn:disabled { opacity: 0.5; cursor: not-allowed; }
.admin-mc-entries__eval-btn--reeval { background: #2e7e4a; }
.admin-mc-entries__eval-btn--reset { background: #c75454; margin-left: 6px; }
.admin-mc-entries__eval-muted { color: #aaa; }
.admin-mc-entries__eval-taken {
    display: inline-block;
    font-size: 12px;
    color: #6b6863;
    background: #f3eee0;
    padding: 4px 10px;
    border-radius: 12px;
}

.admin-mc-modal__eval { background: #faf7ed; border-radius: 14px; padding: 12px 16px; }
.admin-mc-modal__eval > details { width: 100%; }
.admin-mc-modal__eval-summary {
    cursor: pointer;
    font-weight: 600;
    color: var(--darkBlue, #21212d);
    display: flex;
    align-items: baseline;
    gap: 10px;
    flex-wrap: wrap;
}
.admin-mc-modal__eval-sum { font-weight: 500; color: #2e7e4a; }
.admin-mc-modal__eval-sum small { color: #6b6863; margin-left: 4px; }
.admin-mc-modal__eval-sum--empty { color: #888; }
.admin-mc-modal__eval-body {
    margin-top: 12px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.admin-mc-modal__eval-locked {
    background: #fff3d8;
    border-left: 3px solid #d6a14c;
    padding: 8px 12px;
    border-radius: 8px;
    color: #6b4a00;
    margin: 0;
}
.admin-mc-modal__eval-hint { color: #555; font-size: 13px; margin: 0; }
.admin-mc-modal__eval-table {
    width: 100%;
    border-collapse: collapse;
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    font-size: 13px;
}
.admin-mc-modal__eval-table th,
.admin-mc-modal__eval-table td {
    padding: 8px 10px;
    text-align: left;
    border-bottom: 1px solid #efece2;
    vertical-align: middle;
}
.admin-mc-modal__eval-table th { background: #f3eee0; font-weight: 600; text-align: center; }
.admin-mc-modal__eval-table th:first-child { text-align: left; }
.admin-mc-modal__eval-cell { text-align: center; }
.admin-mc-modal__eval-cell input[type="radio"] { transform: scale(1.2); cursor: pointer; }
.admin-mc-modal__eval-table tfoot td { background: #faf7ed; font-size: 14px; }

/* === Список 7 критериев (карточки с радио-опциями) === */
.admin-mc-modal__eval-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
}
.admin-mc-modal__eval-item {
    background: #fff;
    border: 1px solid #ece8dc;
    border-radius: 12px;
    padding: 12px 14px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.admin-mc-modal__eval-item-head {
    display: flex;
    gap: 10px;
    align-items: flex-start;
}
.admin-mc-modal__eval-item-num {
    flex: 0 0 28px;
    height: 28px;
    border-radius: 50%;
    background: var(--darkBlue, #21212d);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 13px;
}
.admin-mc-modal__eval-item-name {
    margin: 0;
    font-size: 15px;
    color: var(--darkBlue, #21212d);
    line-height: 1.3;
}
.admin-mc-modal__eval-item-desc {
    margin: 4px 0 0;
    font-size: 12px;
    color: #6b6863;
    line-height: 1.4;
}
.admin-mc-modal__eval-options {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 6px;
}
.admin-mc-modal__eval-option {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    text-align: left;
    background: #faf7ed;
    border: 1.5px solid transparent;
    border-radius: 10px;
    padding: 8px 10px;
    cursor: pointer;
    transition: border-color .15s ease, background .15s ease;
}
.admin-mc-modal__eval-option:hover { background: #f3eee0; }
.admin-mc-modal__eval-option input { display: none; }
.admin-mc-modal__eval-option-num {
    font-weight: 700;
    font-size: 14px;
    color: var(--darkBlue, #21212d);
}
.admin-mc-modal__eval-option-text {
    font-size: 11px;
    color: #6b6863;
    margin-top: 2px;
    line-height: 1.3;
}
.admin-mc-modal__eval-option.is-active {
    background: #d8efde;
    border-color: #2e7e4a;
}
.admin-mc-modal__eval-option.is-active .admin-mc-modal__eval-option-num { color: #2e7e4a; }
.admin-mc-modal__eval-total {
    display: flex;
    justify-content: flex-end;
    gap: 8px;
    align-items: baseline;
    padding-top: 6px;
    border-top: 1px dashed #d8d4cb;
    margin-top: 4px;
}
.admin-mc-modal__eval-total strong { color: var(--darkBlue, #21212d); }
.admin-mc-modal__eval-total span strong { color: #2e7e4a; font-size: 16px; }

@media (max-width: 720px) {
    .admin-mc-modal__eval-options { grid-template-columns: 1fr 1fr; }
}

/* === Мультизагрузка подтверждений оригинальности (ЛК) === */
.mc-multi { display: flex; flex-direction: column; gap: 10px; }
.mc-multi__grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 12px;
}
.mc-multi__item {
    position: relative;
    border: 1px solid #e4dfd2;
    border-radius: 12px;
    overflow: hidden;
    background: #fff;
    display: flex;
    flex-direction: column;
}
.mc-multi__thumb {
    border: none;
    background: #f6f2e8;
    cursor: pointer;
    padding: 0;
    aspect-ratio: 4 / 3;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}
.mc-multi__thumb img { width: 100%; height: 100%; object-fit: cover; }
.mc-multi__doc-icon { color: #9a927f; }
.mc-multi__meta { padding: 6px 8px; display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.mc-multi__name {
    font-size: 12px; color: #21212d;
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.mc-multi__size { font-size: 11px; color: #9a927f; }
.mc-multi__remove {
    position: absolute; top: 6px; right: 6px;
    width: 26px; height: 26px;
    border-radius: 50%;
    border: none;
    background: rgba(33,33,45,0.7);
    color: #fff;
    cursor: pointer;
    display: flex; align-items: center; justify-content: center;
}
.mc-multi__remove:hover { background: #c75454; }
.mc-multi__remove:disabled { opacity: 0.5; cursor: not-allowed; }

.mc-multi__add {
    border: 2px dashed var(--brown);
    border-radius: 8px;
    padding: 16px;
    background: #FFF;
    cursor: pointer;
    /* aspect-ratio: 4 / 3; */
    display: flex;
    align-items: center;
    gap: 16px;
    color: #5C5851;
    position: relative;
    transition: border-color .15s ease, color .15s ease;
}
.mc-multi__add:hover, .mc-multi__add.is-dragover { border-color: var(--lightBlue); background: #F8FAFE; }
.mc-multi__add.is-busy { opacity: 0.6; pointer-events: none; }
.mc-multi__input { display: none; }
.mc-multi__add-plus {
    flex-shrink: 0;
    color: var(--brown);
}
.mc-multi__add-text {
    font-size: clamp(14px, 1.5vw, 16px);
    color: var(--darkBlue);
 }
.mc-multi__hint {
    display: flex; justify-content: space-between; gap: 10px;
    font-size: 12px; color: #9a927f;
}
.mc-multi__counter { white-space: nowrap; }

/* === Подтверждение оригинальности в админ-модалке (плитки) === */
.admin-mc-modal__originality { margin-top: 12px; }
.admin-mc-modal__orig-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(110px, 1fr));
    gap: 10px;
    margin-top: 6px;
}
.admin-mc-modal__orig-item { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.admin-mc-modal__orig-thumb {
    border: 1px solid #e4dfd2;
    border-radius: 10px;
    background: #f6f2e8;
    cursor: pointer;
    padding: 0;
    aspect-ratio: 1 / 1;
    display: flex; align-items: center; justify-content: center;
    overflow: hidden;
}
.admin-mc-modal__orig-thumb img { width: 100%; height: 100%; object-fit: cover; }
.admin-mc-modal__orig-thumb:hover { border-color: #21212d; }
.admin-mc-modal__orig-doc { color: #9a927f; }
.admin-mc-modal__orig-name {
    font-size: 11px; color: #6b6863;
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}


@media (max-width: 576px) {
    .contest-hero__cta,
    .contest-hero__secondary {
        width: 100%;
        text-align: center;
        justify-content: center;
    }
}
