/* =========================================================================
   Версия для слабовидящих (ГОСТ Р 52872-2019)
   Включается кнопкой «Версия для слабовидящих», настройки хранятся в браузере.
   ========================================================================= */

.a11y-panel { display: none; }

html.a11y { --a11y-bg: #fff; --a11y-fg: #000; }
html.a11y-wb { --a11y-bg: #000; --a11y-fg: #fff; }
html.a11y-blue { --a11y-bg: #9dd1ff; --a11y-fg: #063462; }

html.a11y .a11y-panel {
  display: flex; flex-wrap: wrap; align-items: center; gap: 14px 28px;
  padding: 12px 20px; border-bottom: 3px solid; font-size: 18px; font-weight: 700;
}
.a11y-group { display: flex; align-items: center; gap: 8px; }
.a11y-panel button {
  min-width: 42px; height: 42px; padding: 0 12px; border: 2px solid; cursor: pointer;
  font: 700 18px Arial, sans-serif; border-radius: 6px;
}
.a11y-panel .a11y-off { margin-left: auto; }

html.a11y body,
html.a11y body *:not(svg):not(use):not(path):not(circle):not(rect) {
  background: var(--a11y-bg) !important;
  color: var(--a11y-fg) !important;
  border-color: var(--a11y-fg) !important;
  box-shadow: none !important;
  text-shadow: none !important;
  font-family: Arial, Helvetica, sans-serif !important;
  letter-spacing: .02em;
  animation: none !important;
  filter: none !important;
  backdrop-filter: none !important;
}
html.a11y body { font-size: 18px; line-height: 1.6; }
html.a11y .icon { stroke: var(--a11y-fg) !important; }

html.a11y .card, html.a11y .btn, html.a11y .chip, html.a11y .badge, html.a11y .stat,
html.a11y .fact, html.a11y .tab, html.a11y .site-header, html.a11y .hero, html.a11y .enroll,
html.a11y .main, html.a11y .sidebar, html.a11y .hero-banner, html.a11y .bottom-banner,
html.a11y .faq details, html.a11y .slot, html.a11y .icon-tile, html.a11y .round-btn,
html.a11y .search, html.a11y .msg .bubble, html.a11y .flash, html.a11y .site-footer,
html.a11y .news-card, html.a11y .sveden-nav a {
  border: 2px solid var(--a11y-fg) !important;
}
html.a11y a { text-decoration: underline; }
html.a11y .btn, html.a11y .nav a, html.a11y .tab { text-decoration: none; }
html.a11y .nav a.active, html.a11y .tab.active, html.a11y .sveden-nav a.active {
  outline: 3px solid var(--a11y-fg); outline-offset: 2px;
}
html.a11y .hero::after, html.a11y .hero-banner::after { display: none; }
html.a11y *:focus-visible { outline: 3px dashed var(--a11y-fg) !important; outline-offset: 3px; }

/* Образцы цветовых схем на самой панели сохраняют свои цвета */
html.a11y .a11y-sw.bw   { background: #fff !important; color: #000 !important; border-color: #000 !important; }
html.a11y .a11y-sw.wb   { background: #000 !important; color: #fff !important; border-color: #fff !important; }
html.a11y .a11y-sw.blue { background: #9dd1ff !important; color: #063462 !important; border-color: #063462 !important; }

/* Размер шрифта */
html.a11y-size-2 body { zoom: 1.2; }
html.a11y-size-3 body { zoom: 1.4; }

/* Изображения выключены */
html.a11y-noimg img, html.a11y-noimg video, html.a11y-noimg .hero-art,
html.a11y-noimg .orb, html.a11y-noimg .hero-wave { display: none !important; }
