/* Общая часть: версия для слабовидящих, карта сайта и поиск (118н прил. 2 п. 2; практика ГОСТ Р 52872-2019), WEBCRAFT LAB 29.10.2026.
   Перенос образца ИТС (css/its-a11y.css) на медсайты парка. Файл css/a11y.css = эта часть + часть сайта (шапка, сетки, цвета полоски),
   собирает wcl/fleet/a11y_118n_20261029/build.py. Режим включает строчный скрипт в <head>: класс .lv и атрибуты на <html>
   (data-lv-fs 1-3, data-lv-scheme bw|wb|blue, data-lv-img on|off, data-lv-sp 1-2), кнопки в js/a11y.js.
   Цвета полоски задаёт часть сайта: --a11y-bg, --a11y-ink, --a11y-accent, --a11y-line, --a11y-field, --a11y-ring, --a11y-max, --a11y-pad. */

/* текст только для экранного диктора */
.vh{position:absolute !important;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap;border:0}

/* ---------- полоска над шапкой: версия для слабовидящих, карта сайта, поиск ---------- */
.tbar{position:relative;z-index:1001;background:var(--a11y-bg);color:var(--a11y-ink);border-bottom:1px solid var(--a11y-line);font-size:13.5px;line-height:1.3}
.tbar__in{display:flex;align-items:center;gap:6px 22px;min-height:40px;max-width:var(--a11y-max);margin:0 auto;padding:0 var(--a11y-pad);box-sizing:border-box}
.tbar__lv{display:inline-flex;align-items:center;gap:8px;font:inherit;font-weight:700;color:var(--a11y-ink);background:none;border:0;padding:4px 0;min-height:40px;cursor:pointer}
.tbar__lv svg{width:20px;height:20px;color:var(--a11y-accent);flex:none}
.tbar__lv:hover{color:var(--a11y-accent)}
.tbar__map{margin-left:auto;color:var(--a11y-ink);font-weight:600;text-decoration:none}
.tbar__map:hover{color:var(--a11y-accent);text-decoration:underline}
.tsearch{display:flex;align-items:center;height:32px;margin:0;padding-left:14px;background:var(--a11y-field);border:1px solid var(--a11y-line);border-radius:999px;box-sizing:border-box}
.tsearch:focus-within{border-color:var(--a11y-accent);box-shadow:0 0 0 3px var(--a11y-ring)}
.tsearch input{width:180px;height:auto;margin:0;border:0;background:none;font:inherit;color:var(--a11y-ink);outline:none;padding:0;box-shadow:none}
.tsearch input::placeholder{color:var(--a11y-ink);opacity:.75}
.tsearch input::-webkit-search-cancel-button{-webkit-appearance:none}
.tsearch button{width:36px;height:30px;margin:0;border:0;background:none;color:var(--a11y-ink);display:grid;place-items:center;cursor:pointer;padding:0}
.tsearch button:hover{color:var(--a11y-accent)}
.tsearch svg{width:18px;height:18px}
@media (max-width:620px){
  .tbar__map{display:none}
  .tsearch{margin-left:auto;border:0;background:none;padding-left:0;height:40px}
  .tsearch input{display:none}          /* на телефоне значок ведёт на страницу поиска, там поле во всю ширину */
  .tsearch button{width:40px;height:40px}
  .tsearch svg{width:22px;height:22px}
}

/* ---------- страница поиска ---------- */
.sform label{display:block;font-weight:700;margin-bottom:8px}
.sform__row{display:flex;flex-wrap:wrap;gap:10px}
.sform input{flex:1 1 260px;min-width:0;min-height:50px;padding:10px 16px;border:1px solid var(--a11y-line-strong,#8a8a8a);border-radius:14px;background:#fff;font:inherit;font-size:17px;color:inherit;box-sizing:border-box}
.sform input:focus{outline:3px solid var(--a11y-ring);outline-offset:1px;border-color:var(--a11y-accent)}
.sform button{min-height:50px}
.sres__count{margin:24px 0 6px}
.sres{list-style:none;padding:0;margin:0}
.sres li{margin:0;padding:16px 0;border-bottom:1px solid var(--a11y-line)}
.sres li::before{content:none}
.sres a{font-weight:700;font-size:18px;text-decoration:underline;text-underline-offset:3px}
.sres p{margin:4px 0 0}
.sres .sres__p{font-size:14px;opacity:.85;margin:2px 0 0}
.sres mark{background:var(--a11y-ring);color:inherit;border-radius:3px;padding:0;box-shadow:0 0 0 2px var(--a11y-ring)}

/* ---------- карта сайта ---------- */
.smap{list-style:none;padding:0;margin:8px 0 24px}
.smap li::before{content:none}
.smap>li{margin:0 0 18px}
.smap>li>a,.smap>li>span{font-weight:700;font-size:18px}
.smap a{text-decoration:underline;text-underline-offset:3px}
.smap ul{list-style:none;margin:8px 0 0;padding:0 0 0 18px;border-left:2px solid var(--a11y-accent)}
.smap ul li{margin:0 0 6px}
.smap ul ul{margin-top:6px}
.smap__lv{margin-top:8px}

/* ---------- панель настроек (видна только в версии для слабовидящих) ---------- */
.lvbar{display:none}
html.lv .lvbar{display:block;border-top:2px solid}
html.lv .tbar__lv{display:none}
.lvbar__in{display:flex;flex-wrap:wrap;align-items:center;gap:10px 22px;max-width:var(--a11y-max);margin:0 auto;padding:10px var(--a11y-pad) 12px;box-sizing:border-box}
.lvbar__g{display:inline-flex;flex-wrap:wrap;align-items:center;gap:6px}
.lvbar__g>span{font-weight:700;margin-right:4px}
.lvbar button{min-width:44px;min-height:44px;padding:4px 12px;border:2px solid;border-radius:10px;font:inherit;font-weight:700;cursor:pointer;background:none}
html.lv .lvbar button[aria-pressed="true"]{outline:4px solid var(--lv-fg);outline-offset:2px;text-decoration:underline}
html.lv .lvbar .lvbar__a2{font-size:calc(var(--lv-fs) * 1.25) !important}
html.lv .lvbar .lvbar__a3{font-size:calc(var(--lv-fs) * 1.5) !important}
html.lv .lvbar .lvbar__c--bw{color:#000 !important;background-color:#fff !important;border-color:#000 !important}
html.lv .lvbar .lvbar__c--wb{color:#fff !important;background-color:#000 !important;border-color:#fff !important;box-shadow:0 0 0 2px #000 !important}
html.lv .lvbar .lvbar__c--blue{color:#063462 !important;background-color:#9dd1ff !important;border-color:#063462 !important}
.lvbar__off{display:inline-flex;align-items:center;gap:8px;margin-left:auto}
.lvbar__off svg{width:22px;height:22px}
@media (max-width:620px){html.lv .lvbar__off{margin-left:0;text-align:left}}

/* ---------- версия для слабовидящих ---------- */
html.lv{--lv-fs:20px;--lv-fg:#000;--lv-bg:#fff}
html.lv[data-lv-fs="2"]{--lv-fs:24px}
html.lv[data-lv-fs="3"]{--lv-fs:28px}
html.lv[data-lv-scheme="wb"]{--lv-fg:#fff;--lv-bg:#000}
html.lv[data-lv-scheme="blue"]{--lv-fg:#063462;--lv-bg:#9dd1ff}

/* Шрифт: один крупный кегль на весь текст, заголовки крупнее; длинные слова переносятся, а не вылезают за край */
html.lv body{font-size:var(--lv-fs);line-height:1.5}
html.lv body :is(p,li,a,span,td,th,label,input,textarea,select,button,small,figcaption,dd,dt,b,strong,em,i,summary,h4,h5,h6,blockquote,mark,div){font-size:var(--lv-fs) !important;line-height:1.5 !important}
html.lv body h1{font-size:calc(var(--lv-fs) * 1.6) !important;line-height:1.2 !important}
html.lv body h2{font-size:calc(var(--lv-fs) * 1.35) !important;line-height:1.25 !important}
html.lv body h3{font-size:calc(var(--lv-fs) * 1.15) !important;line-height:1.3 !important}
html.lv body :is(h1,h2,h3) *{font-size:inherit !important;line-height:inherit !important}
html.lv body :is(h1,h2,h3,h4,p,li,a,td,th,span,div,label,button,strong,b){overflow-wrap:break-word;hyphens:auto}
html.lv[data-lv-sp="2"] body *{letter-spacing:.08em !important;word-spacing:.16em !important}

/* Цвета: три схемы по ГОСТ Р 52872-2019, всё в два цвета; фото остаются как есть */
html.lv,html.lv body{background:var(--lv-bg) !important;color:var(--lv-fg) !important}
html.lv body *:not(svg):not(svg *):not(img):not(canvas):not(video):not(iframe){color:var(--lv-fg) !important;background-color:var(--lv-bg) !important;background-image:none !important;border-color:var(--lv-fg) !important;box-shadow:none !important;text-shadow:none !important;-webkit-text-fill-color:currentColor !important;filter:none !important;backdrop-filter:none !important}
html.lv body *::before,html.lv body *::after{background-image:none !important;box-shadow:none !important;text-shadow:none !important;border-color:var(--lv-fg) !important}
html.lv body svg{color:var(--lv-fg)}
/* полупрозрачный текст прямо в разметке (style="opacity:.6" у пометки «(стац.)») в двухцветной схеме теряет контраст */
html.lv body [style*="opacity"]:not(img){opacity:1 !important}
html.lv body a{text-decoration:underline !important;text-underline-offset:4px}
html.lv body :is(input,textarea,select){border:2px solid var(--lv-fg) !important}
html.lv .tsearch{border:2px solid var(--lv-fg) !important;height:auto;min-height:44px}
html.lv .tsearch input{border:0 !important;width:min(240px,32vw)}
/* кнопка-лупа внутри круглого поля: без своего фона, иначе закрашивает правый край рамки */
html.lv .tbar .tsearch button{background-color:transparent !important;border-radius:999px}
html.lv body ::placeholder{color:var(--lv-fg) !important;opacity:.75}
html.lv :focus-visible{outline:4px solid var(--lv-fg) !important;outline-offset:3px !important}
html.lv body :is(input[type="checkbox"],input[type="radio"]){accent-color:var(--lv-fg)}

/* Без движения: анимации, переходы, бегущие строки, параллакс */
html.lv *,html.lv *::before,html.lv *::after{animation:none !important;transition:none !important}
html.lv{scroll-behavior:auto !important}

/* Таблицы с длинным текстом: не шире экрана */
html.lv body table{max-width:100%}
html.lv body :is(td,th){overflow-wrap:anywhere}
@media (max-width:620px){
  html.lv body :is(a,span,b,strong,button,p,li,h1,h2,h3,h4,td,th,label,figcaption,div,dd,dt){overflow-wrap:anywhere}
}

/* Изображения скрыты: фото, видео, карты; текст о них остаётся. Часть сайта добавляет свои блоки с картинками */
html.lv[data-lv-img="off"] :is(img,picture,video,canvas,iframe){display:none !important}
html.lv[data-lv-img="off"] a[data-lv-imgonly]{display:none !important}

/* ---------- НОВА: часть сайта (шапка, подвал, сетки, контраст), 29.10.2026 ----------
   Десктоп НОВЫ (>=1280) сверстан на абсолютных координатах и жёстких высотах, снятых с тильдовского сайта
   (герой, шапка раздела .phero, запись, квиз, плитки). В версии для слабовидящих всё это переводим в поток. */
:root{--a11y-bg:#eef4ff;--a11y-ink:#1a2b49;--a11y-accent:#004aad;--a11y-line:#cfdcf0;--a11y-line-strong:#7d8aa3;--a11y-field:#fff;--a11y-ring:#cfe2ff;--a11y-max:1200px;--a11y-pad:20px}
/* кнопка «Версия для слабовидящих» в подвале выглядит как соседние ссылки строки документов */
.ftr__lv{font:inherit;color:inherit;background:none;border:0;padding:0;margin:0;cursor:pointer;text-decoration:underline}
.ftr__lv:hover{color:#fff}
/* страницы карты и поиска */
.a11y-page p{margin:0 0 16px}
.a11y-page .smap{padding:0;margin:8px 0 24px;color:inherit}
.a11y-page .smap ul{padding-left:18px;margin:8px 0 0;font-size:inherit;color:inherit}
.a11y-page a{color:var(--brand)}
.a11y-page .btn{color:#fff}
.a11y-page .btn svg{width:20px;height:20px}
.a11y-page .sres li{list-style:none}
.a11y-page .sform input{font-size:17px}
/* закреплённая шапка не закрывает раздел, к которому ведёт якорь из карты или поиска */
main h2[id],#rekvizity,#litsenziya{scroll-margin-top:96px}

/* ================= версия для слабовидящих ================= */
/* Шапка: не прилипает, разделы строкой (без бургера: всё есть на страницах и на карте сайта) */
html.lv .hdr{position:static;height:auto !important;padding:0 !important;display:block}
html.lv .hero::before{display:none !important}
html.lv .hdr__in{flex-wrap:wrap;justify-content:flex-start !important;height:auto !important;max-width:var(--wrap) !important;padding:12px 20px !important;gap:10px 20px !important;border-radius:0 !important}
html.lv .hdr__logo{display:flex !important}
html.lv .hdr__logo span{letter-spacing:.12em}
html.lv .hdr__logo img{width:158px !important;height:auto !important}
html.lv .hdr__nav{display:flex !important;order:3;flex-wrap:wrap;width:100%;height:auto !important;margin:0 !important;padding:0 !important;gap:4px 18px !important;border-radius:0 !important;position:static !important}
html.lv .hdr__nav a{padding:6px 2px}
html.lv .hdr__nav a::after{display:none !important}
html.lv .hdr__nav .hdr__nav-extra{display:none !important}
html.lv .hdr__burger{display:none !important}
html.lv .hdr__aside{flex-wrap:wrap;justify-content:flex-start !important;width:auto !important;height:auto !important;margin:0 !important;padding:0 !important;gap:10px 14px !important;border-radius:0 !important}
html.lv .hdr__aside>a:not(.btn){display:inline-flex !important;align-items:center;min-height:48px}
html.lv .hdr__aside .btn{width:auto !important;height:auto !important;min-height:48px;margin:0 !important;padding:6px 16px !important;border:2px solid var(--lv-fg) !important;border-radius:12px !important;white-space:normal;text-transform:none}
html.lv .hdr__aside .btn--brand::before{display:none !important}
/* логотипы белые (под синюю и тёмную шапку): в двухцветной схеме перекрашиваем в цвет текста */
html.lv :is(.hdr__logo img,.ftr__logo img){filter:brightness(0) !important}
html.lv[data-lv-scheme="wb"] :is(.hdr__logo img,.ftr__logo img){filter:brightness(0) invert(1) !important}
html.lv[data-lv-img="off"] :is(.hdr__logo img,.ftr__logo img){display:block !important}

/* Движение: появление по прокрутке и шаги записи видны сразу */
html.lv :is(.rv,.rv-done,.step-pill){opacity:1 !important;transform:none !important}

/* Общие кнопки, заголовки секций с жёсткой высотой строки; телефоны и цены с nowrap переносятся, а не вылезают за край */
html.lv body :is(a,span,b,strong,td):not(.vh){white-space:normal !important}
html.lv .btn{white-space:normal;height:auto;min-height:48px;border:2px solid var(--lv-fg) !important;border-radius:12px !important}
/* капс из стилей (заголовки плиток, кнопки) читается хуже: в версии для слабовидящих текст как набран */
html.lv body *{text-transform:none !important}
html.lv :is(.sec-h,.booking__body h2,.cts h2,.uslugi__mid h2,.svc__card h3,.pteaser__card h3,.pteaser__card b,.ptable__head,.feed .card__tag,.quiz__body h2,.phero h1,.ptitle h1,.docsec h2){height:auto !important;line-height:1.3 !important;white-space:normal !important}

/* Главная, первый экран: из абсолютной раскладки в поток */
html.lv .hero{padding:20px 0 !important}
html.lv .hero .wrap{max-width:var(--wrap) !important;padding:0 20px !important}
html.lv .hero__bar{height:auto !important;padding:16px 20px !important;gap:14px 24px !important;flex-wrap:wrap;border:2px solid var(--lv-fg) !important;border-radius:0 !important}
html.lv .hero__rating{width:auto !important;height:auto !important;margin:0 !important;padding:6px 12px !important;flex-wrap:wrap;border:2px solid var(--lv-fg) !important}
html.lv .hero__rating img{height:30px !important;width:auto !important}
html.lv .hero__facts{display:flex !important;flex-wrap:wrap;gap:14px 24px !important;margin:0 !important;text-align:left !important}
html.lv .hero__fact{flex-direction:row !important;align-items:flex-start !important;max-width:none !important}
html.lv .hero__facts>.hero__fact>div{width:auto !important}
html.lv .hero__fact img{width:40px !important;height:40px !important;flex:0 0 40px !important}
html.lv .hero__card{display:flex !important;flex-direction:column;align-items:stretch;gap:20px;height:auto !important;min-height:0 !important;margin:0 !important;padding:24px 20px !important;border:2px solid var(--lv-fg) !important;border-top:0 !important;border-radius:0 !important}
html.lv .hero__card::before,html.lv .hero__card::after{display:none !important}
html.lv :is(.hero__grey,.hero__room,.hero__blob,.hero__calc){display:none !important}
html.lv .hero__body{display:flex !important;flex-direction:column;gap:20px;position:static !important;inset:auto;padding:0 !important;width:auto !important;max-width:none !important}
html.lv :is(.hero__lead,.hero__actions,.hero__msgbox,.hero__mobnav,.hero__photo){position:static !important;left:auto !important;top:auto !important;right:auto !important;bottom:auto !important;width:auto !important;max-width:100% !important;margin:0 !important;padding:0 !important;order:0 !important;text-align:left !important}
html.lv .hero__lead p{max-width:none !important;margin:12px 0 0 !important}
html.lv .hero__photo{display:block !important;order:9 !important;height:auto !important;max-height:420px;align-self:flex-start;object-fit:contain}
html.lv .hero__mobnav{display:flex !important;flex-wrap:wrap;justify-content:flex-start !important;gap:10px !important}
html.lv .hero__mobnav a{height:auto !important;min-height:48px;padding:6px 16px;border:2px solid var(--lv-fg) !important;border-radius:12px;text-transform:none !important}
html.lv .hero__mobnav i{display:none !important}
html.lv .hero__actions{backdrop-filter:none}
html.lv .hero__cta{flex-direction:row !important;flex-wrap:wrap !important;align-items:stretch !important;gap:12px !important;margin:0 !important}
html.lv .hero__cta .btn{flex:0 1 auto !important;width:auto !important;height:auto !important;padding:10px 20px !important;text-transform:none}
html.lv .hero__contact{max-width:none !important;padding:12px !important;border:2px solid var(--lv-fg) !important}
html.lv .hero__cbtns{flex-wrap:wrap}
html.lv .hero__cbtn{flex:1 1 220px !important;flex-direction:row !important;justify-content:center;min-height:48px;border:2px solid var(--lv-fg) !important}
html.lv .hero__cphone{white-space:normal !important;text-align:left}

/* Плитки, услуги, цены: крупный шрифт не помещается в жёсткие 260/360/270 px */
html.lv :is(.adv__grid,.svc__grid,.pteaser,.feed,.feed:not(.feed--doctors),.feed--doctors,.gal,.med118__list,.flu-tips,.flu-posters){display:grid !important;grid-template-columns:repeat(auto-fit,minmax(min(100%,280px),1fr)) !important;gap:20px !important;max-width:none !important;overflow:visible !important}
html.lv :is(.adv__card,.svc__card,.pteaser__card,.feed .card,.feed:not(.feed--doctors) .card,.feed--doctors .card){width:auto !important;height:auto !important;min-height:0 !important;padding:20px !important;flex:none !important;border:2px solid var(--lv-fg) !important}
html.lv .adv__card img{position:static !important;width:100% !important;height:auto !important;max-height:220px;margin-top:12px;object-fit:cover}
html.lv :is(.adv__card,.svc__card) :is(h3,p){max-width:none !important;width:auto !important}
html.lv :is(.svc__mark,.svc__pic){display:none !important}
html.lv .svc__more{position:static !important;display:inline-block;margin-top:12px}
html.lv .card__img{display:none !important}            /* фото врачей и акций лежат фоном: в двухцветной схеме фона нет */
html.lv .card__body{padding:0 !important}
html.lv .uslugi__card{display:block !important;min-height:0 !important;padding:24px 20px !important;text-align:left !important;border:2px solid var(--lv-fg) !important}
html.lv .uslugi__photo{width:100% !important;height:auto !important;max-height:320px;margin:0 0 16px !important;object-fit:cover;border-radius:0 !important}
html.lv .uslugi__mid{padding:0 !important;text-align:left !important}
html.lv .uslugi__mid p{width:auto !important;max-width:none !important;margin:12px 0 0 !important}
html.lv .uslugi__pills{padding:16px 0 0 !important;gap:12px !important}
html.lv .uslugi__pill{width:auto !important;height:auto !important;min-height:0 !important;padding:12px 16px !important;border:2px solid var(--lv-fg) !important}
html.lv .uslugi__pill i{display:none !important}
html.lv .pteaser__card::before,html.lv .pteaser__card::after{display:none !important}
html.lv .pteaser__card :is(h3,b){margin:0 0 8px !important}
html.lv .pteaser__card img{display:none !important}     /* фон-заставка без смысла (alt="") */
html.lv .ptabs{flex-wrap:wrap;gap:8px !important;margin:0 0 16px !important;border-radius:0 !important}
html.lv .ptabs button{flex:1 1 auto !important;width:auto !important;height:auto !important;min-height:48px;padding:8px 14px !important;border:2px solid var(--lv-fg) !important;border-radius:12px !important;text-transform:none;letter-spacing:normal}
html.lv .ptabs button[aria-selected="true"]{outline:4px solid var(--lv-fg);outline-offset:2px;text-decoration:underline}
html.lv .ptable{overflow:visible !important}
html.lv .ptable__head{padding:12px 16px !important;border-bottom:2px solid var(--lv-fg) !important}
html.lv .ptable table{table-layout:auto !important}
html.lv .ptable td{height:auto !important;padding:10px 16px !important;white-space:normal !important;border-bottom:1px solid var(--lv-fg) !important}
html.lv .ptable td:first-child,html.lv .ptable td:last-child{width:auto !important}
@media (max-width:620px){
  html.lv .ptable td{display:block;padding:10px 14px !important}
  html.lv .ptable tr td:last-child{white-space:normal !important;text-align:left !important;padding-top:0 !important}
}

/* Запись, квиз, контакты, вопросы */
html.lv :is(.booking,.quiz,.cts){display:block !important;width:auto !important;height:auto !important;min-height:0 !important;padding:24px 20px !important;text-align:left !important;border:2px solid var(--lv-fg) !important}
html.lv :is(.booking__photo,.quiz__chair,.quiz__tools,.quiz__photo){display:none !important}
html.lv .quiz::before{display:none !important}
html.lv :is(.booking__body,.quiz__body){position:static !important;width:auto !important;max-width:none !important;text-align:left !important}
html.lv :is(.booking__body p,.quiz__body p,.booking__note){width:auto !important;max-width:none !important;margin:12px 0 16px !important}
html.lv .quiz__body .btn{width:auto !important;height:auto !important;padding:10px 20px !important;text-transform:none}
html.lv .booking input{border-radius:12px}
html.lv .consent-check{background:none !important;padding:0 !important}
html.lv .cts h2{width:auto !important;padding:0 !important;margin:0 0 16px !important;text-align:left !important}
html.lv :is(.cts__rows,.cts__note){width:auto !important;max-width:none !important}
html.lv .cts img{width:100% !important;height:auto !important;max-height:360px;margin-top:16px !important;border-radius:0 !important}
html.lv .ftr__row{height:auto !important;min-height:44px;border:2px solid var(--lv-fg) !important}
html.lv .map__stub{min-height:0}
html.lv .faq{width:auto !important;max-width:none !important}
html.lv .faq__item summary{line-height:1.5 !important}
html.lv .fluband__card{display:flex !important;flex-direction:column;align-items:flex-start;border:2px solid var(--lv-fg) !important}
html.lv .fluband__img{width:min(100%,220px) !important}

/* Внутренние страницы: шапка раздела и тексты из абсолютной раскладки и ширин 960-1100 px в поток */
html.lv .phero{display:flex !important;flex-direction:column;gap:16px;height:auto !important;min-height:0 !important;margin:20px 0 !important;padding:24px 20px !important;border:2px solid var(--lv-fg) !important}
html.lv :is(.phero h1,.phero__lead,.phero__pills,.phero__photo){position:static !important;left:auto !important;top:auto !important;right:auto !important;width:auto !important;max-width:100% !important;margin:0 !important;text-align:left !important}
html.lv .phero h1{text-transform:none}
html.lv .phero__photo{order:9;height:auto !important;max-height:360px;align-self:flex-start;object-fit:contain}
html.lv .phero__pills{display:flex !important;flex-direction:column;gap:12px !important}
html.lv :is(.article,.article--doc,.article--plain,.ptitle h1,.docsec h2,.docsec p,.oms h1,.oms ul,.promoline p,.licshots__row,.nf-hero__lead,.flu-hero__card){width:auto !important;max-width:100% !important}
html.lv .article{margin:24px 0 !important;padding:24px 20px !important;border:2px solid var(--lv-fg) !important}
html.lv :is(.article--doc,.article--plain){border:0 !important;padding:0 !important}
html.lv .docsec h2{margin:0 0 24px !important}
html.lv .licshots__row{flex-direction:column;overflow:visible !important}
html.lv .licshots__row img{flex:none !important;width:100% !important;height:auto !important}
html.lv .ptable--doc td:first-child,html.lv .ptable--doc td:last-child{width:auto !important}
html.lv .nf-hero{padding:24px 20px !important;border:2px solid var(--lv-fg) !important}
html.lv .flu-poster figcaption{flex-wrap:wrap;align-items:flex-start}
html.lv .flu-poster figcaption a{flex:0 1 auto !important}
html.lv .nf__links a{border:2px solid var(--lv-fg) !important;border-radius:12px !important}
html.lv .faq__item summary::after{color:var(--lv-fg) !important}
html.lv .flu-hero__card{display:flex !important;flex-direction:column;align-items:flex-start;padding:24px 20px !important;border:2px solid var(--lv-fg) !important}

/* Подвал */
html.lv .ftr{margin-top:20px;padding:20px 0 0 !important}
html.lv .ftr::before{display:none !important}
html.lv .ftr__in{display:grid !important;grid-template-columns:repeat(auto-fit,minmax(min(100%,280px),1fr)) !important;gap:20px !important;justify-items:start !important;align-items:start !important;padding:0 20px !important}
html.lv .ftr__logo img{width:120px !important;margin:0 !important}
html.lv .ftr__rows{width:100%;gap:10px !important}
html.lv .ftr__card{width:auto !important;padding:0 !important;display:flex;flex-direction:column;gap:10px;border:0 !important}
html.lv .ftr__card .ftr__row{padding:6px 12px !important}
html.lv .ftr__rows .btn{width:auto !important;height:auto !important;text-transform:none;margin-top:0 !important}
html.lv .ftr__nav{text-align:left !important;align-items:flex-start !important}
html.lv .ftr__nav a{width:auto !important;text-align:left !important;padding:4px 0}
html.lv :is(.ftr__copy,.ftr__bottom){text-align:left !important;padding:20px !important}
html.lv .ftr__copy{line-height:1.8 !important}
html.lv .ftr__services{justify-content:flex-start !important}
html.lv .ftr__disc{text-transform:none !important}
html.lv .ftr__lv{text-decoration:underline !important;text-underline-offset:4px}

/* Плавающие кнопки (MAX, «Записаться», квиз): в конце страницы строкой, не поверх текста */
html.lv :is(.nova-max-btn,.wcl-float-cta,.quiz-fab){position:static !important;display:inline-flex !important;align-items:center;justify-content:center;gap:10px;width:auto !important;height:auto !important;min-height:48px;margin:12px 0 12px 20px !important;padding:8px 18px !important;border:2px solid var(--lv-fg) !important;border-radius:12px !important;animation:none !important;transform:none !important;text-transform:none !important;letter-spacing:normal}
html.lv .nova-max-btn span{display:inline !important}
html.lv .nova-max-btn img{width:40px !important;height:40px !important}
html.lv .quiz-fab img{display:none !important}
html.lv .quiz-fab::after{content:"Узнать стоимость лечения" !important;font-size:var(--lv-fs) !important;font-weight:700}
html.lv body{padding-bottom:0 !important}
/* Баннер cookie крупным шрифтом закрывал бы полэкрана: в конце страницы, не поверх. Пока не нажали «Принять», Метрика не грузится */
html.lv .wcl-cookie-banner{position:static !important;align-items:flex-start !important;text-align:left !important;box-shadow:none !important;border-top:2px solid var(--lv-fg) !important;font-family:inherit !important}
html.lv .wcl-cookie-banner__actions{flex-wrap:wrap}
html.lv .wcl-cookie-banner__btn{white-space:normal;min-height:48px;border:2px solid var(--lv-fg) !important}
/* Окна квиза и обратного звонка: рамка, прокрутка внутри окна */
html.lv :is(.qz__box,.cbpop__box){border:2px solid var(--lv-fg) !important}
html.lv .qz__bar{border:2px solid var(--lv-fg) !important;height:12px}
html.lv .qz__bar i{background-color:var(--lv-fg) !important}

/* Изображения скрыты: сканы лицензии (пустая полоса без них не нужна); у карты остаётся текстовая ссылка на Яндекс Карты */
html.lv[data-lv-img="off"] :is(.licshots,.flu-poster__img){display:none !important}

/* ---------- обычная версия: контраст по WCAG 2.2 AA (axe-core 29.10.2026) ---------- */
/* Было: вкладки прайса на главной белым по #6c87f7 (3,3:1, окно от 1280) и #4f7fd4 (3,9:1, уже 1280); подпись под формой записи
   #8a94a6 на #eef3fb (2,7:1); ссылки в тексте /oms отличались только цветом (link-in-text-block); ссылки меню подвала ниже 24 px
   (target-size); в окне квиза подсказки #8a94a6 на белом (3,05:1). Оттенки те же, на шаг темнее; выбранная вкладка прежняя #004aad */
.ptabs button{background:#3f6fc4}
.ptabs button:not([aria-selected="true"]):hover{background:#3563bd}
@media (min-width:1280px){
  .ptabs button{background:#4a66e0}
  .ptabs button:not([aria-selected="true"]):hover{background:#3f5ed6}
}
.ptabs button[aria-selected="true"]{background:var(--brand)}
.booking__note,.qz__hint,.qz__note{color:#5b6577}
main.oms .docsec a{text-decoration:underline;text-underline-offset:2px}
.ftr__nav a{min-height:24px}
