/* ============================================================
   ВЕРСИЯ ДЛЯ СЛАБОВИДЯЩИХ — a11y.css v2
   Все правила с !important — приоритет над основной темой
   ГОСТ Р 52872-2019 / СТБ 2117-2010
   ============================================================ */

/* ============================================================
   1. БАЗОВЫЕ ПЕРЕОПРЕДЕЛЕНИЯ
   ============================================================ */
html[data-a11y="on"] {
    --c-bg: #fff;
    --c-bg-2: #fff;
    --c-ink: #000;
    --c-ink-2: #000;
    --c-muted: #333;
    --c-accent: #003366;
    --c-line: #000;
    --r-sm: 0; --r-md: 0; --r-lg: 0; --r-xl: 0;
    --shadow-sm: none; --shadow-md: none; --shadow-lg: none;
}

html[data-a11y="on"] body {
    background: #fff !important;
    color: #000 !important;
    font-family: Arial, Verdana, sans-serif !important;
    line-height: 1.7 !important;
}

/* ============================================================
   2. РАЗМЕРЫ ШРИФТА — форсируем на всех элементах
   ============================================================ */
html[data-a11y="on"][data-a11y-size="sm"] body,
html[data-a11y="on"][data-a11y-size="sm"] body * { font-size: 16px !important; }
html[data-a11y="on"][data-a11y-size="md"] body,
html[data-a11y="on"][data-a11y-size="md"] body * { font-size: 20px !important; }
html[data-a11y="on"][data-a11y-size="lg"] body,
html[data-a11y="on"][data-a11y-size="lg"] body * { font-size: 24px !important; }
html[data-a11y="on"][data-a11y-size="xl"] body,
html[data-a11y="on"][data-a11y-size="xl"] body * { font-size: 30px !important; }

/* Возвращаем относительные размеры заголовков ПОВЕРХ "*" */
html[data-a11y="on"] h1 { font-size: 1.8em !important; line-height: 1.2 !important; }
html[data-a11y="on"] h2 { font-size: 1.5em !important; line-height: 1.25 !important; }
html[data-a11y="on"] h3 { font-size: 1.3em !important; }
html[data-a11y="on"] h4 { font-size: 1.15em !important; }
html[data-a11y="on"] small,
html[data-a11y="on"] .small { font-size: 0.9em !important; }

/* Иконки/SVG не должны раздуваться от font-size */
html[data-a11y="on"] svg { width: auto; height: auto; }

/* ============================================================
   3. ШРИФТЫ
   ============================================================ */
html[data-a11y="on"][data-a11y-font="serif"] body,
html[data-a11y="on"][data-a11y-font="serif"] input,
html[data-a11y="on"][data-a11y-font="serif"] button,
html[data-a11y="on"][data-a11y-font="serif"] select,
html[data-a11y="on"][data-a11y-font="serif"] textarea {
    font-family: Georgia, "Times New Roman", Times, serif !important;
}

/* ============================================================
   4. МЕЖБУКВЕННЫЙ ИНТЕРВАЛ
   ============================================================ */
html[data-a11y="on"][data-a11y-letter="wide"] body {
    letter-spacing: 0.1em !important;
    word-spacing: 0.16em !important;
    line-height: 1.9 !important;
}

/* ============================================================
   5. ЦВЕТОВЫЕ СХЕМЫ
   ============================================================ */

/* ----- ОБЫЧНАЯ (только сброс декора) ----- */
html[data-a11y="on"][data-a11y-color="default"] {
    --c-bg: #f6f8fb; --c-bg-2: #fff; --c-ink: #0b2545;
    --c-ink-2: #1c3559; --c-muted: #333; --c-accent: #c8102e; --c-line: #ccc;
}
html[data-a11y="on"][data-a11y-color="default"] body {
    background: #f6f8fb !important; color: #0b2545 !important;
}

/* ----- ЧЁРНЫМ ПО БЕЛОМУ ----- */
html[data-a11y="on"][data-a11y-color="contrast-light"] body,
html[data-a11y="on"][data-a11y-color="contrast-light"] body * {
    background-color: #fff !important; color: #000 !important;
    border-color: #000 !important; box-shadow: none !important; text-shadow: none !important;
}
html[data-a11y="on"][data-a11y-color="contrast-light"] a,
html[data-a11y="on"][data-a11y-color="contrast-light"] a * {
    color: #000 !important; text-decoration: underline !important;
}
html[data-a11y="on"][data-a11y-color="contrast-light"] a:hover,
html[data-a11y="on"][data-a11y-color="contrast-light"] a:focus {
    color: #003366 !important; background: #ffff00 !important;
}

/* ----- БЕЛЫМ ПО ЧЁРНОМУ ----- */
html[data-a11y="on"][data-a11y-color="contrast-dark"] body,
html[data-a11y="on"][data-a11y-color="contrast-dark"] body * {
    background-color: #000 !important; color: #fff !important;
    border-color: #fff !important; box-shadow: none !important; text-shadow: none !important;
}
html[data-a11y="on"][data-a11y-color="contrast-dark"] a,
html[data-a11y="on"][data-a11y-color="contrast-dark"] a * {
    color: #ffff00 !important; text-decoration: underline !important;
}
html[data-a11y="on"][data-a11y-color="contrast-dark"] a:hover,
html[data-a11y="on"][data-a11y-color="contrast-dark"] a:focus {
    background: #ffff00 !important; color: #000 !important;
}

/* ----- СИНИМ ПО ЖЁЛТОМУ ----- */
html[data-a11y="on"][data-a11y-color="blue-yellow"] body,
html[data-a11y="on"][data-a11y-color="blue-yellow"] body * {
    background-color: #ffff99 !important; color: #003366 !important;
    border-color: #003366 !important; box-shadow: none !important; text-shadow: none !important;
}
html[data-a11y="on"][data-a11y-color="blue-yellow"] a,
html[data-a11y="on"][data-a11y-color="blue-yellow"] a * {
    color: #003366 !important; text-decoration: underline !important; font-weight: bold !important;
}
html[data-a11y="on"][data-a11y-color="blue-yellow"] a:hover,
html[data-a11y="on"][data-a11y-color="blue-yellow"] a:focus {
    background: #003366 !important; color: #ffff99 !important;
}

/* ============================================================
   6. УБИРАЕМ ДЕКОРАЦИЮ
   ============================================================ */
html[data-a11y="on"] *:not(.a11y-keep) {
    background-image: none !important;
    box-shadow: none !important;
    text-shadow: none !important;
    border-radius: 0 !important;
    backdrop-filter: none !important;
    transform: none !important;
    transition: none !important;
    animation: none !important;
    filter: none !important;
}
html[data-a11y="on"] *,
html[data-a11y="on"] *::before,
html[data-a11y="on"] *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
}

/* ============================================================
   7. ШАПКА
   ============================================================ */
html[data-a11y="on"] .topbar {
    background: #000 !important; color: #fff !important;
    padding: 12px 0 !important; border-bottom: 3px solid #fff !important;
}
html[data-a11y="on"][data-a11y-color="contrast-light"] .topbar {
    background: #fff !important; color: #000 !important; border-bottom: 3px solid #000 !important;
}
html[data-a11y="on"][data-a11y-color="blue-yellow"] .topbar {
    background: #003366 !important; color: #ffff99 !important; border-bottom: 3px solid #003366 !important;
}

html[data-a11y="on"] .header {
    background: #fff !important; border-bottom: 3px solid #000 !important;
    position: static !important; backdrop-filter: none !important;
}
html[data-a11y="on"][data-a11y-color="contrast-dark"] .header {
    background: #000 !important; border-bottom: 3px solid #fff !important;
}
html[data-a11y="on"][data-a11y-color="blue-yellow"] .header {
    background: #ffff99 !important; border-bottom: 3px solid #003366 !important;
}

html[data-a11y="on"] .brand__title { font-size: 1.1em !important; font-weight: bold !important; }
html[data-a11y="on"] .brand__sub   { font-size: 0.9em !important; }
html[data-a11y="on"] .brand__logo svg { max-width: 60px !important; max-height: 60px !important; }

/* Тикер */
html[data-a11y="on"] .ticker {
    background: #fff !important; color: #000 !important;
    border: 3px solid #000 !important; padding: 12px 0 !important;
}
html[data-a11y="on"] .ticker__track {
    animation: none !important; display: flex !important; flex-wrap: wrap !important; gap: 24px !important;
}
html[data-a11y="on"] .ticker__viewport {
    -webkit-mask-image: none !important; mask-image: none !important; overflow: visible !important;
}
html[data-a11y="on"] .ticker__label {
    background: #000 !important; color: #fff !important;
    border-radius: 0 !important; padding: 4px 12px !important; font-size: 0.9em !important;
}

/* ============================================================
   8. МЕНЮ
   ============================================================ */
html[data-a11y="on"] .nav {
    background: #fff !important; border-top: 3px solid #000 !important;
    border-bottom: 3px solid #000 !important; padding: 0 !important;
}
html[data-a11y="on"] .nav__list { display: flex !important; flex-wrap: wrap !important; background: #fff !important; }
html[data-a11y="on"] .nav__list > li { background: #fff !important; border-right: 2px solid #000 !important; position: relative !important; }
html[data-a11y="on"] .nav__list > li > a {
    color: #000 !important; background: #fff !important;
    padding: 16px 22px !important; font-weight: bold !important; font-size: 1em !important;
    border-bottom: none !important; text-decoration: underline !important;
    min-height: 56px !important; display: flex !important; align-items: center !important;
}
html[data-a11y="on"] .nav__list > li > a::after { display: none !important; }
html[data-a11y="on"] .nav__list > li > a:hover,
html[data-a11y="on"] .nav__list > li > a:focus,
html[data-a11y="on"] .nav__list > li.current-menu-item > a {
    background: #ffff00 !important; color: #000 !important;
    outline: 3px solid #000 !important; outline-offset: -3px !important;
}
html[data-a11y="on"] .nav__list .sub-menu {
    background: #fff !important; border: 3px solid #000 !important; box-shadow: none !important;
    padding: 0 !important; min-width: 280px !important; opacity: 1 !important; visibility: hidden !important; transform: none !important;
}
html[data-a11y="on"] .nav__list li:hover > .sub-menu,
html[data-a11y="on"] .nav__list li:focus-within > .sub-menu { visibility: visible !important; }
html[data-a11y="on"] .nav__list .sub-menu li { border-bottom: 1px solid #000 !important; background: #fff !important; }
html[data-a11y="on"] .nav__list .sub-menu li:last-child { border-bottom: none !important; }
html[data-a11y="on"] .nav__list .sub-menu a {
    color: #000 !important; background: #fff !important; padding: 14px 20px !important;
    font-size: 0.95em !important; text-decoration: underline !important; display: block !important; min-height: 48px !important;
}
html[data-a11y="on"] .nav__list .sub-menu a:hover,
html[data-a11y="on"] .nav__list .sub-menu a:focus { background: #ffff00 !important; color: #000 !important; text-decoration: underline !important; }

/* Меню: чёрным по белому */
html[data-a11y="on"][data-a11y-color="contrast-light"] .nav,
html[data-a11y="on"][data-a11y-color="contrast-light"] .nav__list,
html[data-a11y="on"][data-a11y-color="contrast-light"] .nav__list > li,
html[data-a11y="on"][data-a11y-color="contrast-light"] .nav__list > li > a,
html[data-a11y="on"][data-a11y-color="contrast-light"] .nav__list .sub-menu,
html[data-a11y="on"][data-a11y-color="contrast-light"] .nav__list .sub-menu a {
    background: #fff !important; color: #000 !important;
}

/* Меню: белым по чёрному */
html[data-a11y="on"][data-a11y-color="contrast-dark"] .nav,
html[data-a11y="on"][data-a11y-color="contrast-dark"] .nav__list,
html[data-a11y="on"][data-a11y-color="contrast-dark"] .nav__list > li {
    background: #000 !important; border-color: #fff !important;
}
html[data-a11y="on"][data-a11y-color="contrast-dark"] .nav__list > li > a,
html[data-a11y="on"][data-a11y-color="contrast-dark"] .nav__list .sub-menu a {
    color: #ffff00 !important; background: #000 !important;
}
html[data-a11y="on"][data-a11y-color="contrast-dark"] .nav__list > li > a:hover,
html[data-a11y="on"][data-a11y-color="contrast-dark"] .nav__list > li > a:focus,
html[data-a11y="on"][data-a11y-color="contrast-dark"] .nav__list .sub-menu a:hover,
html[data-a11y="on"][data-a11y-color="contrast-dark"] .nav__list .sub-menu a:focus {
    background: #ffff00 !important; color: #000 !important;
}
html[data-a11y="on"][data-a11y-color="contrast-dark"] .nav__list .sub-menu { background: #000 !important; border-color: #fff !important; }

/* Меню: синим по жёлтому */
html[data-a11y="on"][data-a11y-color="blue-yellow"] .nav,
html[data-a11y="on"][data-a11y-color="blue-yellow"] .nav__list,
html[data-a11y="on"][data-a11y-color="blue-yellow"] .nav__list > li {
    background: #ffff99 !important; border-color: #003366 !important;
}
html[data-a11y="on"][data-a11y-color="blue-yellow"] .nav__list > li > a,
html[data-a11y="on"][data-a11y-color="blue-yellow"] .nav__list .sub-menu a {
    color: #003366 !important; background: #ffff99 !important; font-weight: bold !important;
}
html[data-a11y="on"][data-a11y-color="blue-yellow"] .nav__list > li > a:hover,
html[data-a11y="on"][data-a11y-color="blue-yellow"] .nav__list .sub-menu a:hover {
    background: #003366 !important; color: #ffff99 !important;
}
html[data-a11y="on"][data-a11y-color="blue-yellow"] .nav__list .sub-menu { background: #ffff99 !important; border-color: #003366 !important; }

/* ============================================================
   9. ФУТЕР
   ============================================================ */
html[data-a11y="on"] .footer {
    background: #000 !important; color: #fff !important; border-top: 3px solid #fff !important;
}
html[data-a11y="on"] .footer * { color: #fff !important; }
html[data-a11y="on"] .footer a { color: #ffff00 !important; text-decoration: underline !important; }
html[data-a11y="on"][data-a11y-color="contrast-light"] .footer {
    background: #fff !important; color: #000 !important; border-top: 3px solid #000 !important;
}
html[data-a11y="on"][data-a11y-color="contrast-light"] .footer * { color: #000 !important; }
html[data-a11y="on"][data-a11y-color="contrast-light"] .footer a { color: #003366 !important; }
html[data-a11y="on"][data-a11y-color="blue-yellow"] .footer { background: #003366 !important; color: #ffff99 !important; }
html[data-a11y="on"][data-a11y-color="blue-yellow"] .footer * { color: #ffff99 !important; }

/* ============================================================
   10. КНОПКИ, КАРТОЧКИ, ФОРМЫ
   ============================================================ */
html[data-a11y="on"] .btn-primary,
html[data-a11y="on"] .btn-ghost,
html[data-a11y="on"] .btn-ghost-dark {
    background: #000 !important; color: #fff !important; border: 3px solid #000 !important;
    padding: 14px 28px !important; font-weight: bold !important; font-size: 1em !important;
    text-decoration: underline !important; min-height: 56px !important; box-shadow: none !important;
}
html[data-a11y="on"][data-a11y-color="contrast-dark"] .btn-primary,
html[data-a11y="on"][data-a11y-color="contrast-dark"] .btn-ghost,
html[data-a11y="on"][data-a11y-color="contrast-dark"] .btn-ghost-dark {
    background: #ffff00 !important; color: #000 !important; border-color: #ffff00 !important;
}
html[data-a11y="on"][data-a11y-color="blue-yellow"] .btn-primary,
html[data-a11y="on"][data-a11y-color="blue-yellow"] .btn-ghost,
html[data-a11y="on"][data-a11y-color="blue-yellow"] .btn-ghost-dark {
    background: #003366 !important; color: #ffff99 !important; border-color: #003366 !important;
}
html[data-a11y="on"] .btn-primary:hover,
html[data-a11y="on"] .btn-ghost:hover,
html[data-a11y="on"] .btn-ghost-dark:hover {
    background: #ffff00 !important; color: #000 !important; outline: 3px solid #000 !important;
}

/* Карточки */
html[data-a11y="on"] .arc-card,
html[data-a11y="on"] .bento__card,
html[data-a11y="on"] .leader-card,
html[data-a11y="on"] .sticky-card,
html[data-a11y="on"] .news-related,
html[data-a11y="on"] .news-toc,
html[data-a11y="on"] .feature,
html[data-a11y="on"] .news-tile,
html[data-a11y="on"] .child-card,
html[data-a11y="on"] .vacancy-card,
html[data-a11y="on"] .banner {
    background: #fff !important; border: 2px solid #000 !important; box-shadow: none !important; transform: none !important;
}
html[data-a11y="on"][data-a11y-color="contrast-dark"] .arc-card,
html[data-a11y="on"][data-a11y-color="contrast-dark"] .bento__card,
html[data-a11y="on"][data-a11y-color="contrast-dark"] .leader-card,
html[data-a11y="on"][data-a11y-color="contrast-dark"] .sticky-card,
html[data-a11y="on"][data-a11y-color="contrast-dark"] .feature,
html[data-a11y="on"][data-a11y-color="contrast-dark"] .news-tile,
html[data-a11y="on"][data-a11y-color="contrast-dark"] .child-card {
    background: #000 !important; border-color: #fff !important;
}

/* Bento — убираем градиенты-фоны */
html[data-a11y="on"] .bento__card,
html[data-a11y="on"] .bento__card::after { background: #fff !important; }
html[data-a11y="on"] .bento__title,
html[data-a11y="on"] .bento__short { color: #000 !important; }

/* Поля форм */
html[data-a11y="on"] input,
html[data-a11y="on"] textarea,
html[data-a11y="on"] select {
    border: 2px solid #000 !important; background: #fff !important; color: #000 !important;
    padding: 14px !important; font-size: 1em !important; min-height: 52px !important;
}

/* Карта остаётся видимой */
html[data-a11y="on"] .mfoc-map,
html[data-a11y="on"] .map-wrap { border: 3px solid #000 !important; }

/* ============================================================
   11. СКРЫТИЕ ИЗОБРАЖЕНИЙ
   ============================================================ */
html[data-a11y="on"][data-a11y-images="off"] img:not(.a11y-keep),
html[data-a11y="on"][data-a11y-images="off"] picture,
html[data-a11y="on"][data-a11y-images="off"] .bento__img,
html[data-a11y="on"][data-a11y-images="off"] .arc-card__media,
html[data-a11y="on"][data-a11y-images="off"] .news-cover,
html[data-a11y="on"][data-a11y-images="off"] .news-tile__media,
html[data-a11y="on"][data-a11y-images="off"] .child-card__media,
html[data-a11y="on"][data-a11y-images="off"] .banner img,
html[data-a11y="on"][data-a11y-images="off"] .news-related__thumb {
    display: none !important;
}
html[data-a11y="on"][data-a11y-images="off"] .bento__card,
html[data-a11y="on"][data-a11y-images="off"] .arc-card { min-height: auto !important; }

/* ============================================================
   12. ФОКУС
   ============================================================ */
html[data-a11y="on"] *:focus-visible {
    outline: 4px solid #ff0000 !important; outline-offset: 4px !important;
}
html[data-a11y="on"][data-a11y-color="contrast-dark"] *:focus-visible { outline-color: #ffff00 !important; }
html[data-a11y="on"][data-a11y-color="blue-yellow"] *:focus-visible { outline-color: #003366 !important; }

/* ============================================================
   13. БЫСТРАЯ ПАНЕЛЬ A11Y В ШАПКЕ
   ============================================================ */
.a11y-quickbar {
    display: none; background: #000; color: #fff; padding: 8px 0; border-bottom: 2px solid #fff;
}
html[data-a11y="on"] .a11y-quickbar { display: block !important; }
html[data-a11y="on"][data-a11y-color="contrast-light"] .a11y-quickbar {
    background: #fff !important; color: #000 !important; border-bottom: 3px solid #000 !important;
}
html[data-a11y="on"][data-a11y-color="blue-yellow"] .a11y-quickbar {
    background: #003366 !important; color: #ffff99 !important;
}

.a11y-quickbar__inner {
    display: flex !important; flex-wrap: wrap !important; align-items: center !important;
    gap: 12px !important; padding: 6px 0 !important;
}
.a11y-quickbar__label { font-weight: bold !important; margin-right: 8px !important; font-size: 0.9em !important; }
.a11y-quickbar__group { display: flex !important; gap: 4px !important; border: 1px solid currentColor !important; padding: 2px !important; }
.a11y-quickbar__btn {
    background: transparent !important; color: inherit !important; border: 1px solid transparent !important;
    padding: 6px 14px !important; cursor: pointer !important; font-weight: bold !important; font-family: inherit !important;
    text-decoration: none !important; transition: none !important; min-height: 36px !important;
    display: inline-flex !important; align-items: center !important;
}
.a11y-quickbar__btn:hover,
.a11y-quickbar__btn:focus { background: #ffff00 !important; color: #000 !important; }

/* ФИКС: явная подсветка активной кнопки (размер/цвет/изображения) */
.a11y-quickbar__btn[aria-pressed="true"] {
    background: #ffff00 !important; color: #000 !important;
    outline: 3px solid currentColor !important; outline-offset: 1px !important;
    box-shadow: 0 0 0 2px #000 !important;
}

.a11y-quickbar__exit {
    background: transparent !important; color: inherit !important; border: 1px solid currentColor !important;
    padding: 6px 14px !important; margin-left: auto !important; text-decoration: underline !important;
    cursor: pointer !important; font-family: inherit !important; min-height: 36px !important;
}
.a11y-quickbar__exit:hover { background: #ffff00 !important; color: #000 !important; }

/* ============================================================
   14. ПАНЕЛЬ НАСТРОЕК (шорткод)
   ============================================================ */
.a11y-panel {
    max-width: 900px; margin: 32px auto; background: #fff; border: 3px solid #000; padding: 32px;
}
html[data-a11y="on"][data-a11y-color="contrast-dark"] .a11y-panel { background: #000 !important; border-color: #fff !important; }
html[data-a11y="on"][data-a11y-color="blue-yellow"] .a11y-panel { background: #ffff99 !important; border-color: #003366 !important; }

.a11y-panel__title { font-size: 28px; margin-bottom: 12px; text-align: center; font-weight: bold; }
.a11y-panel__intro { text-align: center; margin-bottom: 32px; font-size: 16px; line-height: 1.6; }
.a11y-panel__group { margin-bottom: 32px; padding-bottom: 24px; border-bottom: 2px solid currentColor; }
.a11y-panel__group:last-of-type { border-bottom: 0; }
.a11y-panel__group h3 { font-size: 18px; margin-bottom: 16px; font-weight: bold; text-transform: uppercase; }
.a11y-panel__options { display: flex; flex-wrap: wrap; gap: 8px; }

.a11y-opt {
    display: inline-flex; align-items: center; gap: 10px; padding: 14px 22px;
    background: transparent; color: inherit; border: 2px solid currentColor; cursor: pointer;
    font-weight: 600; font-size: 16px; font-family: inherit; min-height: 56px; text-decoration: none;
}
.a11y-opt:hover,
.a11y-opt:focus { background: #ffff00 !important; color: #000 !important; outline: 2px solid #000 !important; }

/* ФИКС: активная опция явно выделена */
.a11y-opt.is-active { background: #000 !important; color: #fff !important; outline: 3px solid #000 !important; outline-offset: 2px !important; }
html[data-a11y="on"][data-a11y-color="contrast-dark"] .a11y-opt.is-active { background: #ffff00 !important; color: #000 !important; }

.a11y-opt__letter { font-weight: bold; }
.a11y-opt--size-sm .a11y-opt__letter { font-size: 14px; }
.a11y-opt--size-md .a11y-opt__letter { font-size: 20px; }
.a11y-opt--size-lg .a11y-opt__letter { font-size: 26px; }
.a11y-opt--size-xl .a11y-opt__letter { font-size: 34px; }

.a11y-opt--color-contrast-light { background: #fff !important; color: #000 !important; }
.a11y-opt--color-contrast-light.is-active { outline: 4px solid #000 !important; }
.a11y-opt--color-contrast-dark { background: #000 !important; color: #fff !important; }
.a11y-opt--color-contrast-dark.is-active { background: #000 !important; color: #fff !important; outline: 4px solid #ffff00 !important; }
.a11y-opt--color-blue-yellow { background: #ffff99 !important; color: #003366 !important; }
.a11y-opt--color-blue-yellow.is-active { background: #ffff99 !important; color: #003366 !important; outline: 4px solid #003366 !important; }

.a11y-panel__actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; margin-top: 32px; padding-top: 24px; border-top: 2px solid currentColor; }
.a11y-btn-reset,
.a11y-btn-back {
    padding: 14px 28px; background: transparent; border: 2px solid currentColor;
    font-weight: bold; font-size: 16px; cursor: pointer; font-family: inherit;
    text-decoration: underline; color: inherit; min-height: 56px; display: inline-flex; align-items: center;
}
.a11y-btn-reset:hover,
.a11y-btn-back:hover { background: #ffff00 !important; color: #000 !important; }

/* ============================================================
   15. АДАПТИВ
   ============================================================ */
@media (max-width: 768px) {
    html[data-a11y="on"] .nav__list { flex-direction: column !important; }
    html[data-a11y="on"] .nav__list > li { border-right: none !important; border-bottom: 2px solid #000 !important; width: 100% !important; }
    html[data-a11y="on"] .nav__list .sub-menu { position: static !important; border: none !important; border-left: 4px solid #000 !important; margin-left: 20px !important; }
    .a11y-quickbar__inner { flex-direction: column !important; align-items: stretch !important; }
    .a11y-quickbar__exit { margin-left: 0 !important; }
}