/* vyshka.cloud/v2/assets/d-20261127/uslugi.css — пакет D, 27.11.2026. Правки только оформления /uslugi/.
   Юридический текст плашки согласия и форма заявки по смыслу не меняются. Откат: убрать <link> из /uslugi/index.html. */

/* --- 1. Заявка: подписи полей над полем, согласие одной колонкой, кнопка без градиента --- */
#leadModal{padding:12px}
#leadModal>div{border-radius:16px;padding:20px 16px;max-height:calc(100vh - 24px);overflow:auto}
#leadModal .lead-title{font-size:20px;line-height:1.25}
#leadClose{width:44px!important;height:44px!important;flex:none;background:#EEF2F7!important;font-size:22px!important}
#leadWhat{font-size:14px;line-height:1.45;color:#64748B}
#leadModal .lead-label{display:block;margin:0 0 6px;font-size:14px;font-weight:600;color:#334155}
#leadModal .lead-label small{font-weight:400;color:#64748B}
#leadContact,#leadNote{font-size:16px!important;border-radius:8px!important;padding:12px 14px!important;border:1px solid #D9E1EC!important;min-height:44px;margin-bottom:14px;width:100%}
#leadContact:focus,#leadNote:focus{outline:2px solid #2588E4;outline-offset:2px}
#leadModal .lead-consent{display:flex!important;gap:10px!important;align-items:flex-start;font-size:14px;line-height:1.45;color:#334155}
#leadModal .lead-consent input{flex:none;width:20px;height:20px;margin:2px 0 0}
#leadModal .lead-consent span{display:block;min-width:0}
#leadModal .lead-consent a{display:inline!important;flex:none;color:#0D3B66;text-decoration:underline}
#leadSend{background:#0D3B66!important;background-image:none!important;border-radius:8px!important;font-size:16px!important;min-height:44px}
#leadSend:hover{background:#125491!important}
#leadMsg{font-size:14px;line-height:1.45}

/* Пока открыта заявка — плашки внизу её не перекрывают. */
/* Одна плашка за раз на любой ширине: пока не выбрано согласие, приглашение установить приложение не показывается */
html.vy-consent-pending #vy-install-bar,
body:has(#vy-consent-bar[style*="display: block"]) #vy-install-bar{display:none!important}
body:has(#leadModal:not([hidden])) #vy-consent-bar,
body:has(#leadModal:not([hidden])) #vy-install-bar{display:none!important}

/* --- 2. Плашка согласия: компактная, одна колонка, текст 14 px --- */
#vy-consent-bar{border-radius:12px;padding:12px 14px;font:400 14px/1.4 Inter,Arial,Helvetica,sans-serif!important}
@media (max-width:768px){
  #vy-consent-bar{left:8px!important;right:8px!important;bottom:8px!important;max-width:none!important;padding:10px 12px!important}
  #vy-consent-bar button{display:block!important;width:100%!important;margin:6px 0 0!important;padding:10px 14px!important;border-radius:8px;background:#0D3B66;font:600 15px/1.2 Inter,Arial,Helvetica,sans-serif;min-height:44px}
  /* Установка приложения — выше плашки согласия, а не поверх неё (у плашек инлайновые стили — поэтому !important) */
  #vy-install-bar{bottom:146px!important}
  body:has(#vy-consent-bar[style*="display: none"]) #vy-install-bar{bottom:8px!important}
}

/* --- 3. Переключатель «Для бизнеса / Для дома» в первом экране --- */
.uslugi-switch{display:flex;flex-wrap:wrap;gap:8px;margin-top:14px}
.uslugi-switch a{display:inline-flex!important;width:auto!important;align-items:center;min-height:44px;padding:8px 16px;border-radius:999px;border:1.5px solid #0D3B66;color:#0D3B66;background:#fff;font-size:15px;font-weight:600;text-decoration:none}
.uslugi-switch a:hover{background:#E8F3FC}
.uslugi-switch a.is-first{background:#0D3B66;color:#fff}
.uslugi-switch a:focus-visible{outline:2px solid #2588E4;outline-offset:2px}

/* --- 4. Основное действие без градиента, радиус 8, высота 44 --- */
.cta{background:#0D3B66!important;background-image:none!important;border-radius:8px!important;min-height:44px;display:inline-flex;align-items:center;justify-content:center;gap:8px;padding:10px 20px}
.cta:hover{background:#125491!important}

/* --- 5. Текст мельче 12 px → 13 px (замер 27.11: 314 фрагментов) --- */
.stat span,.sec-h .idx,.count,.eco-footer__group summary span,.eco-footer__note,.topbar__login,
.topbar__menu,.topbar .topbar__search,.topbar__appearance .topbar__density{font-size:13px!important}
.chip,.price .hyp{font-size:13px!important}
.tw-pnote{font-size:13px!important}
.pos .pc{font-size:13px!important}
.pos .n,.fchip,.eco-lnk,.tw-legal{font-size:13px!important}
@media (max-width:600px){.topbar__context{font-size:13px!important}}
