/* owner-a11y18.css (18.11.2026) — шаблонные правки доступности isaev.ca (WCAG 2.2 A/AA), решение владельца 18.11.2026.
   Внешний вид страниц не меняется, кроме: видимой ссылки «Перейти к содержанию» при фокусе с клавиатуры и контраста
   плашек отраслей/подсказки выпадающего списка/строки «Maximum 20 fichiers». Источник: tools/owner_review_2026_11/a11y_2026_11_18/assets/. */

/* 1. Ссылка «Перейти к содержанию» (a.vh) — видна, когда на ней фокус (2.4.7, 2.4.1) */
a.vh[href="#main"]:focus,a.vh[href="#main"]:focus-visible{position:fixed!important;top:10px;left:10px;width:auto!important;height:auto!important;
  clip:auto!important;clip-path:none!important;overflow:visible!important;z-index:2147483600;margin:0;padding:12px 18px;border-radius:10px;
  background:#fff;color:#161a38!important;font-weight:600;font-size:16px;line-height:1.3;text-decoration:underline;box-shadow:0 6px 22px rgba(22,26,56,.28);
  outline:3px solid #374aa8;outline-offset:2px;white-space:nowrap}
[dir="rtl"] a.vh[href="#main"]:focus,[dir="rtl"] a.vh[href="#main"]:focus-visible{left:auto;right:10px}

/* 2. Попап «Задать вопрос» (#pop): фокус ставится на карточку — без рамки, чтобы вид не менялся */
#pop .pop-card[tabindex="-1"]:focus{outline:none}

/* 3. Межстрочный/межбуквенный интервал, который скрипты подгонки ставили inline с !important (1.4.12):
      теперь значение лежит в переменной, а !important — в таблице стилей (пользовательский стиль его перебивает). */
:root [style*="--a11y-lh"]:not(#a11y#a11y#a11y){line-height:var(--a11y-lh)!important}
:root [style*="--a11y-ls"]:not(#a11y#a11y#a11y){letter-spacing:var(--a11y-ls)!important}
:root [style*="--a11y-ws"]:not(#a11y#a11y#a11y){word-spacing:var(--a11y-ws)!important}

/* 4. Аккордеоны Тильды со ссылкой в заголовке (4.1.2 nested-interactive): заголовок — ссылка, раскрытие — кнопка со значком */
/*    кнопка занимает место значка (у Тильды значок стоит абсолютно: справа, по центру строки) — иначе кнопка 0×0 и фокус не виден */
.a11y-acc-btn{all:unset;position:absolute;right:0;top:50%;transform:translateY(-50%);width:40px;height:40px;display:block;cursor:pointer;border-radius:50%;line-height:0}
.a11y-acc-btn .t1118__icon{position:static;transform:none;top:auto;right:auto}
.a11y-acc-btn:focus-visible{outline:3px solid #374aa8;outline-offset:3px}

/* 5. Загрузка файлов: фокус с клавиатуры — на видимой зоне uwDrop, скрытое поле файла из порядка Tab убрано */

/* 6. Контраст 4.5:1 (1.4.3) */
/*    строка «Maximum 20 fichiers…» в тёмном блоке формы (/fr/localization: #111a2e на #161a38 = 1,02:1) */
html .ctadark .r13du-lim{color:#cdd3ea}
/* 7. Синий ссылок — вариант C #2b49a0 (решение владельца 19.11.2026: ≥7:1 на белом и светлых плашках). Перебиваем правила
      site-polish.css (B2, C1 — там #3a63d8 с весом body:not(#u)×3) добавочными :not(#a11yc); в самих страницах цвет меняет a11y_apply.t_color.
      На тёмно-синем фоне (карточки ассоциаций .acard) — светлый #8da5e9 (7:1 к #161a38); тёмные блоки Тильды (data-pty-on=dark) — как были. */
:where(:root:has(link[data-polish-set~="general"]:not([data-polish-set~="keepbtn"]))) :where(p, li, td, .lede, .dnote, .gtext) > a:is([style*="color:var(--indigo)"], [style*="color:#3b46c4"], [style*="color:#374aa8"]):where(:not(.btn, .cta, .go, .provlink, .hero *)):not(#a11yc){color:#2b49a0!important}
:where(:root:has(link[data-polish-set~="type"])) body:not(#u):not(#u):not(#u) :is(.t-records, .t396, .lsx-r, .rfx-text, .prose, .leg-ol, .leg-cap, .numlist, .dashlist, .dcol, .acard .ab) a:not(.t-btn, .tn-atom, .btn, .artcard, .go, .cta):not(#a11yc):not(#a11yc),
:where(:root:has(link[data-polish-set~="type"])) body:not(#u):not(#u):not(#u) :is(.t-records, .t396, .lsx-r, .rfx-text, .prose, .leg-ol, .leg-cap, .numlist, .dashlist, .dcol) a:not(.t-btn, .tn-atom, .btn, .artcard, .go, .cta):is(:hover, :focus, :active, :visited):not(#a11yc):not(#a11yc){color:#2b49a0!important}
:where(:root:has(link[data-polish-set~="type"])) body:not(#u):not(#u):not(#u) .t396 [data-pty-on="dark"] a:not(.tn-atom):not(#a11yc):not(#a11yc):not(#a11yc),
:where(:root:has(link[data-polish-set~="type"])) body:not(#u):not(#u):not(#u) .t396 [data-pty-on="dark"] a:not(.tn-atom):is(:hover, :focus, :active, :visited):not(#a11yc):not(#a11yc):not(#a11yc){color:inherit!important}
html body .acard .ab a:not(#a11yc):not(#a11yc):not(#a11yc):not(#a11yc):not(#a11yc):not(#a11yc){color:#8da5e9!important}

/*    подсказка «Для какой организации?» в списке до выбора (#8a93ab на белом = 3,06:1) */
html .tyup-form .qorg:invalid{color:#6b7280}

/* abbr-tip.css (18.11.2026) — оформление подсказок к сокращениям (abbr-tip.js). Переиспользуемый компонент. */
abbr.abt{text-decoration:underline dotted;text-decoration-thickness:1px;text-underline-offset:3px;-webkit-text-decoration:underline dotted;
  border-bottom:0;cursor:help;border-radius:3px}
abbr.abt:focus{outline:none}
abbr.abt:focus-visible{outline:2px solid #374aa8;outline-offset:2px}
abbr.abt[data-abt-open]{background:rgba(55,74,168,.10)}
.abt-tip{position:absolute;left:0;top:0;z-index:2147483000;box-sizing:border-box;padding:10px 14px;border-radius:10px;background:#161a38;color:#fff;
  font-family:inherit;font-size:14px;font-weight:500;line-height:1.45;letter-spacing:normal;text-align:start;white-space:normal;
  box-shadow:0 8px 24px rgba(22,26,56,.28),0 0 0 1px rgba(255,255,255,.22);pointer-events:auto;opacity:0;visibility:hidden;transform:translateY(4px);
  transition:opacity .14s ease,transform .14s ease,visibility 0s linear .14s}
.abt-tip.abt-on{opacity:1;visibility:visible;transform:none;transition:opacity .14s ease,transform .14s ease}
.abt-tip .abt-arrow{position:absolute;bottom:-6px;width:12px;height:12px;margin-left:-6px;background:#161a38;transform:rotate(45deg);border-radius:2px}
.abt-tip.abt-below .abt-arrow{bottom:auto;top:-6px}
[dir="rtl"] .abt-tip .abt-arrow{margin-left:-6px}
@media (prefers-reduced-motion:reduce){.abt-tip,.abt-tip.abt-on{transition:none;transform:none}}
@media print{.abt-tip{display:none}abbr.abt{text-decoration:none}}
