/* Отделка после аудита Fable 05.11 (приоритет 2–3) */
/* п.15: строка об оферте в подвале — по сетке 1200 px */
#app-footer .lav316-legal{max-width:1200px;margin:16px auto 0;padding:0}
/* п.19: «Шаг 1 из 3» на старте расчёта не показываем */
body.v3.minimal-mode .booking-page[data-booking-panel="service"] .vova-step-label{display:none!important}
/* п.9: цена «от» на странице услуги */
body.v3 .lav8-from{display:flex;flex-wrap:wrap;align-items:baseline;gap:6px 10px;margin:-8px 0 20px;font-size:16px;line-height:24px;color:#52646E}
body.v3 .lav8-from .lav7-old{color:#81949F}
body.v3 .lav8-from .lav7-from{font-size:24px;line-height:28px;font-weight:700;color:#172B36}
body.v3 .lav8-from .lav7-dur{color:#52646E}
body.v3 .lav8-from .v001-price-link{display:none!important}
body.v3 .lav8-from .lav8-from-note{flex-basis:100%;font-size:13px;line-height:18px;color:#049DEA}
/* п.8: зона «Не входит» в составе — серые крестики */
.lav7-zone li.is-no .lav7-mark{color:#81949F}
/* легенда состава на странице услуги — с отступами, как в расчёте */
body.v3 .lav8-sec .lav7-comp-legend{display:flex;flex-wrap:wrap;gap:6px 16px;margin:0 0 12px;font-size:14px;line-height:20px;font-weight:600}
/* ---- квиз Fable 05.11 ---- */
/* п.1: кнопки «Санузлы» убраны, второй санузел — дополнением */
.v23-q-block .lav7-bath{display:none!important}/* Маргоша 06.11: прятался весь блок вместе с «Сколько комнат?» — скрываем только санузлы */
/* п.3: тост в синем */
.toast{background:#049DEA!important;color:#fff!important}
/* п.7: картинки Астрика в карточках каталога */
.service-tile .lav316-astrik-tile{display:block;overflow:hidden}
.service-tile .lav316-astrik-tile img{width:100%;height:100%;object-fit:cover;display:block}
/* п.10: три преимущества с действующего сайта на страницах услуг */
body.v3 .lav8-adv{list-style:none;margin:16px 0 0;padding:0;display:grid;gap:8px}
body.v3 .lav8-adv li{display:flex;align-items:center;gap:10px;font-size:14px;line-height:20px;color:#3E5060}
body.v3 .lav8-adv .icon{width:18px;height:18px;flex:0 0 18px;color:#1FB4FD;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
/* п.2: таблица форматов */
.lav316-fmt-table{max-width:1200px;margin:32px auto 0;padding:0 0 8px}
.lav316-fmt-table h2{font-size:28px;line-height:36px;margin:0 0 16px;color:#172B36}
.lav316-fmt-wrap{overflow-x:auto;border:1px solid #DCE8F0;border-radius:16px;background:#fff}
.lav316-fmt-table table{width:100%;border-collapse:collapse;font-size:15px;line-height:22px;min-width:560px}
.lav316-fmt-table th,.lav316-fmt-table td{padding:12px 16px;text-align:left;vertical-align:top;border-top:1px solid #DCE8F0}
.lav316-fmt-table thead th{border-top:0;font-size:13px;letter-spacing:.04em;text-transform:uppercase;color:#52646E}
.lav316-fmt-table thead th:nth-child(2){color:#142B40}.lav316-fmt-table thead th:nth-child(3){color:#049DEA}
.lav316-fmt-table tbody th{font-weight:600;color:#172B36;width:28%}
.lav316-fmt-table td:nth-child(2){background:#FBF8F2}.lav316-fmt-table td:nth-child(3){background:#F3FAFE}
.lav316-fmt-why{margin:20px 0 0;max-width:720px}
.lav316-fmt-why h3{font-size:20px;line-height:28px;margin:0 0 8px;color:#172B36}
.lav316-fmt-why p{margin:0;font-size:16px;line-height:24px;color:#3E5060}
.lav316-fmt-cta{margin-top:16px!important}
@media(max-width:767px){.lav316-fmt-table{padding:0 16px}.lav316-fmt-table h2{font-size:24px;line-height:30px}.lav316-fmt-table table{min-width:520px;font-size:14px}}
html[data-theme="dark"] .lav316-fmt-wrap{background:#16212B;border-color:#27384A}
html[data-theme="dark"] .lav316-fmt-table th,html[data-theme="dark"] .lav316-fmt-table td{border-color:#27384A}
html[data-theme="dark"] .lav316-fmt-table h2,html[data-theme="dark"] .lav316-fmt-why h3,html[data-theme="dark"] .lav316-fmt-table tbody th{color:#E9EFF4}
html[data-theme="dark"] .lav316-fmt-why p,html[data-theme="dark"] .lav8-adv li{color:#A6B4C0}
html[data-theme="dark"] .lav316-fmt-table td:nth-child(2){background:#1A2430}html[data-theme="dark"] .lav316-fmt-table td:nth-child(3){background:#15293A}
html[data-theme="dark"] .lav316-fmt-table thead th:nth-child(2){color:#D2B488}

/* 05.11 Акции: картинки Астрика 3:2 */
.lav9-akc-pic{display:block}.lav9-akc-img-32{aspect-ratio:3/2;object-position:center}

/* Антон 05.11 (Слонокот): синяя рамка вокруг всей страницы — это фокус контейнера после перехода; убираем */
html body #main-content:focus,html body #main-content:focus-visible,html body.lav-brandbook #main-content:focus-visible{outline:none!important;box-shadow:none!important}

/* Антон 05.11: кабинет не раскладывается в ряд — разделы вертикально, как на главной кабинета (меню слева, содержимое справа) */
html body .q9-cabinet>.q9-nav.v313-cabinet-nav{display:flex!important;flex-direction:column;align-items:stretch;gap:4px;grid-template-columns:none!important;margin:16px 0 24px}
html body .q9-cabinet>.q9-nav.v313-cabinet-nav>a:not(.btn){border-left:0;border-bottom:1px solid #EEF2F6;border-radius:8px;padding:12px 8px;justify-content:space-between}
html body .q9-cabinet>.q9-nav.v313-cabinet-nav>a.btn{margin-top:12px;align-self:stretch;justify-content:center}
html body .q9-cabinet>.q9-nav.v313-cabinet-nav>details{width:100%;margin-top:4px}
html body .q9-cabinet>.q9-nav.v313-cabinet-nav ~ a.btn-primary[href="#/public/catalog"],html body .q9-cabinet>.q9-nav.v313-cabinet-nav ~ a.btn-primary[href="#/booking"]{display:none}
@media(min-width:1024px){
 html body .q9-cabinet:has(>.q9-nav.v313-cabinet-nav){display:grid!important;grid-template-columns:240px minmax(0,1fr);column-gap:48px;align-items:start}
 html body .q9-cabinet:has(>.q9-nav.v313-cabinet-nav)>*{grid-column:2;min-width:0}
 html body .q9-cabinet:has(>.q9-nav.v313-cabinet-nav)>.page-header{grid-column:1/-1}
 html body .q9-cabinet:has(>.q9-nav.v313-cabinet-nav)>.q9-nav{grid-column:1;grid-row:2/span 20;margin:0}
}
html[data-theme="dark"] body .q9-cabinet>.q9-nav.v313-cabinet-nav>a:not(.btn){border-bottom-color:#1C2A36}

/* «Записаться», пока не всё заполнено: кнопка нажимается и ведёт к пустому полю */
html body .lav7-submit.lav7-wait,html body .lav7-side-go.lav7-wait{opacity:.72;cursor:pointer}
@keyframes lav7flash{0%,100%{color:inherit}30%{color:#D9480F}}
html body .lav7-flash{animation:lav7flash 1.4s ease 1}

/* строка условий под ценой (этап 6, в.5) */
html body .lav316-terms{margin:6px 0 0;font-size:13px;line-height:18px;color:#5D6E7E}
html body .lav7-side .lav316-terms{margin:4px 0 10px}
html[data-theme="dark"] body .lav316-terms{color:#8DA0B3}

/* Антон 05.11: плашка cookie «где-то сбоку» — на компьютере ставим по центру внизу */
@media (min-width:768px){
 html body .lav316-cookie{left:50%!important;right:auto!important;transform:translateX(-50%);animation:lav316-cookie-in-c .5s cubic-bezier(.2,.8,.2,1) both}
 @keyframes lav316-cookie-in-c{from{opacity:0;transform:translate(-50%,12px)}to{opacity:1;transform:translate(-50%,0)}}
}
/* Антон 05.11 18:41: в боковом меню телефона логотип в одну строку, без служебного низа (демо-роль, «Карта и проверка», «Локальная модель») */
html body #sidebar>.brand{display:flex!important;align-items:center;gap:10px;flex-wrap:nowrap}
html body #sidebar>.brand>span{display:flex;flex-direction:column;white-space:nowrap;line-height:1.15}
html body #sidebar>.brand>span small{white-space:nowrap}
html body #sidebar>.brand .brand-mark{flex:0 0 42px}
.public-surface #sidebar .sidebar-bottom{display:none!important}
