/* Дополнения к макету tech-service.kz — НЕ из файлов макета (их CSS не меняется).
   Повторяют стили соседних элементов макета, новых решений по виду нет.
   1) Переключатель языка (решение заказчицы 27.10: ru / kk / en): те же стили, что у выбора города
      (.city__btn / .city__list в шапке, .mnav__city в мобильном меню), только для ссылок <a>.
   2) Метка «наши» у отзывов с сайта (решение 27.10): в стиле значков площадок .pl (styles.css).
   3) Кнопка WhatsApp справа внизу вместо нижнего меню мобилки (решение 28.10, угол — правка 29.10): круг как .mb-bar__wa i (styles.css),
      пульс и окно чата в стиле WhatsApp после 2-го блока (правка 03.11; shell/WaFab.tsx, init.ts). */

.lang .city__list a { display: flex; justify-content: space-between; width: 100%; min-height: 44px; padding: 0 12px; align-items: center; font-size: 15px; text-align: left; }
.lang .city__list a:hover, .lang .city__list [aria-current="true"] { background: var(--paper); }
.lang .city__list small { color: var(--muted); font-size: 13px; }
.lang .city__btn { text-transform: uppercase; }
@media (max-width: 1279px) {
  .mnav__lang a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px; background: var(--paper); font-size: 15px; font-weight: 500; }
  .mnav__lang [aria-current="true"] { background: var(--ink); color: #fff; }
}

.pl--own { background: var(--acc-fill); color: var(--acc-on); font-size: 10px; letter-spacing: 0; text-transform: lowercase; }

/* 3) Нижнего меню мобилки нет — убираем отступ, который макет держит под него (--tab в styles.css) */
@media (max-width: 1279px) {
  :root { --tab: env(safe-area-inset-bottom); }
}
.wa-dock { position: fixed; right: max(16px, env(safe-area-inset-right)); bottom: max(16px, env(safe-area-inset-bottom)); z-index: 60; display: flex; flex-direction: column; align-items: flex-end; gap: 14px; pointer-events: none; }
.wa-dock > * { pointer-events: auto; }
.wa-fab { position: relative; z-index: 0; display: grid; place-items: center; width: 60px; height: 60px; border-radius: 50%; background: #25D366; color: #fff; box-shadow: 0 6px 18px -4px rgba(0,0,0,.35); transition: transform .2s; animation: wa-nudge 6s ease-in-out 3s infinite; }
/* пульс: расходящееся кольцо вокруг кнопки («мигает») */
.wa-fab::before, .wa-fab::after { content: ""; position: absolute; inset: 0; border-radius: 50%; background: #25D366; opacity: 0; z-index: -1; animation: wa-ring 2s ease-out 1s infinite; pointer-events: none; }
.wa-fab::after { animation-delay: 2s; }
.wa-fab svg { width: 32px; height: 32px; }
.wa-fab:hover { transform: scale(1.06); animation-play-state: paused; }
.wa-fab:focus-visible { outline: 3px solid #111b21; outline-offset: 3px; }
@keyframes wa-ring { 0% { transform: scale(1); opacity: .55; } 100% { transform: scale(1.75); opacity: 0; } }
@keyframes wa-nudge { 0%, 84%, 100% { transform: none; } 87% { transform: rotate(-12deg) scale(1.08); } 90% { transform: rotate(10deg) scale(1.08); } 93% { transform: rotate(-6deg); } 96% { transform: rotate(3deg); } }

/* окно чата — как WhatsApp: шапка #008069, фон #EFEAE2 с узором, белый входящий пузырь с хвостиком, поле и круглая «Отправить» */
.wa-chat { --wa-f: "Segoe UI", "Helvetica Neue", Helvetica, "Lucida Grande", Arial, Ubuntu, Cantarell, "Fira Sans", sans-serif; display: flex; flex-direction: column; width: 360px; max-width: calc(100vw - 32px - env(safe-area-inset-left) - env(safe-area-inset-right)); max-height: calc(100svh - 120px - env(safe-area-inset-bottom) - env(safe-area-inset-top)); overflow: hidden; border-radius: 12px; background: #EFEAE2; color: #111b21; font: 400 14.2px/19px var(--wa-f); letter-spacing: 0; text-transform: none; box-shadow: 0 16px 40px -10px rgba(11,20,26,.45), 0 2px 6px rgba(11,20,26,.12); opacity: 0; transform: translateY(12px) scale(.96); transform-origin: 100% 100%; transition: opacity .25s, transform .25s cubic-bezier(.2,.8,.2,1); }
.wa-chat.is-in { opacity: 1; transform: none; }
.wa-chat[hidden] { display: none; }
.wa-chat:focus { outline: none; }
.wa-chat:focus-visible { outline: 3px solid #111b21; outline-offset: 2px; }
.wa-chat__hdr { flex: none; display: flex; align-items: center; gap: 4px; min-height: 60px; padding: 8px 6px 8px 12px; background: #008069; color: #fff; }
.wa-chat__who { flex: 1; min-width: 0; display: flex; align-items: center; gap: 12px; color: inherit; text-decoration: none; border-radius: 6px; }
.wa-chat__ava { flex: none; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--logo-bg, #fff); color: var(--logo-ink, #D13A12); font: 800 19px/1 var(--f-d, 'Arial Narrow', sans-serif); letter-spacing: .02em; padding-top: 2px; box-sizing: border-box; box-shadow: inset 0 0 0 1px rgba(0,0,0,.08); }
.wa-chat__ava--ph { padding: 0; overflow: hidden; background: #dfe5e7; box-shadow: none; }
.wa-chat__ava--ph img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 50% 18%; border-radius: 50%; }
.wa-chat__ava--logo { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 0; padding: 2px 0 0; font: 800 10.5px/.92 var(--f-d, 'Arial Narrow', sans-serif); letter-spacing: .01em; text-transform: uppercase; }
.wa-chat__id { min-width: 0; display: grid; }
.wa-chat__id b { font: 500 16px/21px var(--wa-f); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.wa-chat__st { font: 400 13px/18px var(--wa-f); color: rgba(255,255,255,.82); }
.wa-chat__x { flex: none; display: grid; place-items: center; width: 40px; height: 40px; padding: 0; border: 0; border-radius: 50%; background: none; color: #fff; cursor: pointer; }
.wa-chat__x svg { width: 22px; height: 22px; }
.wa-chat__x:hover { background: rgba(255,255,255,.12); }
.wa-chat__who:focus-visible, .wa-chat__x:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
/* окно по содержимому (решение №126): высота тела = сообщение + отступы, без пустой зоны под пузырём */
.wa-chat__body { flex: 0 1 auto; min-height: 0; overflow-y: auto; padding: 16px 16px 14px 22px; background-color: #EFEAE2;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140' fill='none' stroke='%23000' stroke-opacity='.06' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M14 18h20a4 4 0 0 1 4 4v12a4 4 0 0 1-4 4H24l-7 6v-6h-3a4 4 0 0 1-4-4V22a4 4 0 0 1 4-4z'/%3E%3Ccircle cx='96' cy='24' r='9'/%3E%3Cpath d='M92 22h.01M100 22h.01M92 27q4 4 8 0'/%3E%3Cpath d='M62 64l3 7 7 1-5 5 1 7-6-3-6 3 1-7-5-5 7-1z'/%3E%3Cpath d='M118 84c-4-6-14-3-10 5l10 9 10-9c4-8-6-11-10-5z'/%3E%3Crect x='20' y='86' width='16' height='28' rx='3'/%3E%3Cpath d='M26 109h4'/%3E%3Cpath d='M70 112l18-6-6 18-3-8z'/%3E%3Ccircle cx='50' cy='30' r='2'/%3E%3Ccircle cx='128' cy='50' r='2'/%3E%3Ccircle cx='96' cy='130' r='2'/%3E%3C/svg%3E"); }
.wa-chat__typing, .wa-chat__msg { position: relative; display: block; width: fit-content; max-width: 88%; background: #fff; border-radius: 0 7.5px 7.5px 7.5px; box-shadow: 0 1px .5px rgba(11,20,26,.13); }
/* хвостик входящего сообщения — в верхнем левом углу, как в WhatsApp */
.wa-chat__typing::before, .wa-chat__msg::before { content: ""; position: absolute; left: -8px; top: 0; width: 8px; height: 13px; background: inherit; clip-path: polygon(0 0, 100% 0, 100% 100%); }
.wa-chat__typing { display: flex; gap: 4px; padding: 13px 14px; }
.wa-chat__typing[hidden], .wa-chat__msg[hidden] { display: none; }
.wa-chat__typing i { width: 7px; height: 7px; border-radius: 50%; background: #8696a0; animation: wa-dot 1.2s ease-in-out infinite; }
.wa-chat__typing i:nth-child(2) { animation-delay: .15s; }
.wa-chat__typing i:nth-child(3) { animation-delay: .3s; }
@keyframes wa-dot { 0%, 60%, 100% { transform: none; opacity: .45; } 30% { transform: translateY(-4px); opacity: 1; } }
.wa-chat__msg { padding: 6px 7px 8px 9px; color: #111b21; text-decoration: none; overflow-wrap: anywhere; animation: wa-pop .22s ease-out; cursor: pointer; }
.wa-chat__msg:hover { background: #f7f8f8; }
.wa-chat__msg:focus-visible { outline: 2px solid #008069; outline-offset: 2px; }
.wa-chat__time { float: right; position: relative; top: 7px; margin: 0 0 0 10px; font-size: 11px; line-height: 15px; color: #667781; }
@keyframes wa-pop { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.wa-chat__form { flex: none; display: flex; align-items: center; gap: 8px; margin: 0; padding: 8px 10px; background: #F0F2F5; }
.wa-chat__in { flex: 1; min-width: 0; height: 42px; margin: 0; padding: 0 14px; border: 0; border-radius: 21px; background: #fff; color: #111b21; font: 400 15px/20px var(--wa-f); box-shadow: 0 1px .5px rgba(11,20,26,.08); }
.wa-chat__in::placeholder { color: #8696a0; opacity: 1; }
.wa-chat__in:focus { outline: none; }
.wa-chat__in:focus-visible { outline: 2px solid #00A884; outline-offset: 0; }
.wa-chat__send { flex: none; display: grid; place-items: center; width: 42px; height: 42px; padding: 0 0 0 3px; border: 0; border-radius: 50%; background: #00A884; color: #fff; cursor: pointer; transition: background-color .15s; }
.wa-chat__send svg { width: 20px; height: 20px; }
.wa-chat__send:hover { background: #008069; }
.wa-chat__send:focus-visible { outline: 3px solid #111b21; outline-offset: 2px; }
html.is-menu .wa-dock { display: none; }
@media (max-width: 1279px) {
  .wa-fab { width: 56px; height: 56px; } .wa-fab svg { width: 30px; height: 30px; }
  /* набор текста в форме страницы на телефоне: виджет не закрывает поле и клавиатуру (поле чата — не в счёт, init.ts) */
  html.is-typing .wa-dock { display: none; }
}
@media (max-width: 479px) {
  .wa-dock { gap: 12px; }
  /* компактное окно на телефоне (чек-лист 04.11): не во всю ширину и не выше ~40 % экрана (до 300 px), длинное сообщение прокручивается */
  .wa-chat { width: min(320px, calc(100vw - 24px - env(safe-area-inset-left) - env(safe-area-inset-right))); max-width: none; margin-right: -4px; max-height: min(300px, 40svh); }
  .wa-chat__hdr { min-height: 52px; padding-top: 6px; padding-bottom: 6px; }
  .wa-chat__body { padding: 12px 12px 10px 20px; }
  .wa-chat__form { padding: 6px 8px; }
  .wa-chat__in { font-size: 16px; } /* iOS не увеличивает страницу при фокусе */
}
@media print { .wa-dock { display: none; } }
@media (prefers-reduced-motion: reduce) {
  .wa-fab, .wa-chat, .wa-chat__msg { transition: none; animation: none; }
  .wa-fab::before, .wa-fab::after, .wa-chat__typing i { animation: none; }
  .wa-chat { transform: none; }
  .wa-chat__typing i { opacity: .7; }
}

/* статья: «Читать далее» раскрывает весь текст (в макете max-height 4000px — длинные статьи обрезались) */
.art__more.is-open { max-height: none; transition: none; }

/* 4) Бренды — все марки рынка страны (решение 29.10, их 40–80). Правка 29.10 (вечер): видно не больше 4 строк
      и на компьютере, и на мобилке; остальные — по «Ещё N» (init.ts brandsFit, вид — как чип .tpl-brands__list a, тёмный);
      «Другая марка — напишите» видна всегда; длинные марки переносятся. До подгонки (и без JS) — первые 4 строки, как в макете. */
html:not(.js) .tpl-brands__all { display: none; }
.tpl-brands .tpl-brands__list > li[hidden], .tpl-brands .tpl-brands__list > li.is-cut { display: none !important; }
.tpl-brands__all button { display: inline-flex; align-items: center; min-height: 56px; padding: 4px 22px 0; border: 1px solid var(--ink); background: var(--ink); color: #fff; font: 800 26px/1 var(--f-d); text-transform: uppercase; letter-spacing: .02em; cursor: pointer; transition: background-color .2s, color .2s; }
.tpl-brands__all button:hover { background: #fff; color: var(--ink); }
.tpl-brands__all button:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }
/* до подгонки (первый кадр) — не больше 4 строк чипов компьютера, без скачка всей сотни марок */
@media (min-width: 1280px) {
  .tpl-brands__list:not(.is-fit) { max-height: calc(4 * 56px + 3 * 8px); overflow: hidden; }
}
@media (max-width: 1279px) {
  .tpl-brands__list a { text-align: center; white-space: normal; line-height: 1; overflow-wrap: break-word; }
  .tpl-brands__list li.is-long a { font-size: clamp(14px, 4.2vw, 19px); letter-spacing: 0; }
  /* макет прячет 13+ / 21+ чипы через nth-child — после подгонки решает init.ts (is-cut) */
  .tpl-brands .tpl-brands__list.is-fit > li { display: list-item; }
  .tpl-brands .tpl-brands__list > li.tpl-brands__all { grid-column: 1 / -1; }
  .tpl-brands__all button { display: flex; justify-content: center; width: 100%; min-height: 50px; padding: 4px 4px 0; font-size: clamp(17px, 5.4vw, 22px); }
}

/* 5) Статья: H2 не прилипают к абзацам (правка 29.10) — сверху заметно больше, чем снизу; 1440 и 375 */
.art__body h2 { margin-top: 72px; margin-bottom: 0; scroll-margin-top: calc(var(--hdr) + 20px); }
.art__body h2 + p, .art__body h2 + ul, .art__body h2 + ol, .art__body h2 + .art__t { margin-top: 24px; }
.art__body h2 + h3 { margin-top: 28px; }
.art__body h3 + p, .art__body h3 + ul, .art__body h3 + ol { margin-top: 14px; }
@media (max-width: 1279px) {
  .art__body h2 { margin-top: 52px; }
  .art__body h2 + p, .art__body h2 + ul, .art__body h2 + ol, .art__body h2 + .art__t { margin-top: 18px; }
  .art__body h2 + h3 { margin-top: 22px; }
}

/* таблицы статей блога (pipeline-v1 → «Тело статьи», scripts/import-blog.ts): текстовые колонки — без выравнивания вправо, как у прайса */
.pb .art__t th, .pb .art__t td { padding-right: 16px; vertical-align: top; }
.pb .art__t td:last-child, .pb .art__t th:last-child { text-align: left; font-weight: inherit; padding-right: 0; }
.pb .art__t tbody th { text-transform: none; letter-spacing: 0; font: 600 15px/1.4 var(--f-t); color: var(--ink); padding: 12px 16px 12px 0; border-bottom: 1px solid var(--line); }
/* hero статьи: фото не по размеру макета (квадратные фото «Частые поломки» у статей блога) — кадрируем в пропорцию слота 517×720,
   чтобы не заходить под заголовок и даты; у фото макета пропорция та же — без изменений */
@media (min-width: 1280px) { .bh--art .ah__img { aspect-ratio: 517 / 720; object-fit: cover; } }
/* kk: слово «от» после цены — «5 500 ₸-ден бастап» (FromPrice, src/design/format.ts fromAfter): отступ слева вместо правого */
em.em-after { margin-right: 0 !important; margin-left: .35em; }
/* «бастап» — второй строкой под «N ₸-ден»: в узких колонках цены (прайс, карточки, табличка) слово в строку не влезает */
.prow__p em.em-after, .dev__p em.em-after, .tpl-bento__price em.em-after, .tpl-part__p em.em-after { display: block; margin: 4px 0 0; }
/* шапка: пункты меню, которые не помещаются (длинные слова kk/en: «Жөндеулер», «Шебер шақыру»), переносятся во 2-ю строку
   и скрываются, а не выталкивают кнопку за край (горизонтальный скролл /kk/ на 1440 и 1280, kod3 30.10) */
.hdr__in > .nav { flex: 0 1 auto; min-width: 0; flex-wrap: wrap; height: 36px; overflow: hidden; align-content: flex-start; }
/* ru на 1401–1500: 5 пунктов помещаются только с чуть меньшим промежутком (раньше кнопка заходила в правое поле на 11 px) */
@media (min-width: 1401px) and (max-width: 1500px) { .hdr__in > .nav { gap: 18px; } }
.hdr__in > .nav a { white-space: nowrap; }
/* в узких строках цены (табличка первого экрана, карточка поломки) «бастап» — второй строкой под «N ₸-ден» */
.tpl-plate b em.em-after { display: block; text-align: right; margin: 3px 0 0; }
.tpl-brk__m b em.em-after { display: block; margin: 4px 0 0; }
/* 01.11 правка заказчицы: первый экран СТАТЬИ блога — как на главной и в списке блога: слово плотное (не «призрак» над пустым полем),
   крупный мастер с техникой по центру справа поверх слова, текст слева узкой колонкой. Только десктоп; мобилка — как была. */
@media (min-width: 1280px) {
  .bh--art .ah__mark { color: inherit; }
  [data-skin="orange"] .bh--art .ah__mark { color: inherit; }
  /* вырезки обрезаны по фигуре (hero.webp, 01.11): высота ~82% блока, широкие сцены (мастер на корточках) — по ширине */
  .bh--art .ah__img { right: auto; left: 66%; transform: translateX(-50%); bottom: 0; height: 82%; width: auto; max-width: 50vw; aspect-ratio: auto; object-fit: contain; object-position: 50% 100%; }
  .bh--art .ah__l { width: min(40vw, 600px); }
  .bh--art h1 { text-wrap: balance; font-size: clamp(40px, 3.3vw, 60px); }
  .bh--art .vlines { left: 46%; right: var(--pad); }
}
/* 01.11 правка заказчицы: фото первого экрана статьи — без прозрачности, наложений и затемнений (как мастер на главной) */
.ah__img { filter: none; opacity: 1; -webkit-mask-image: none; mask-image: none; }
/* слово-фон статьи ниже, чтобы «Й», «Ё» не уходили под шапку */
@media (min-width: 1280px) { .bh--art .ah__mark { top: 84px; } }

/* ===== 02.11 сотрудники и авторы (ТЗ «сотрудники и авторы») ===== */
/* подпись «Автор: …»: имя — ссылкой; «Редакция» — знак с инициалами бренда вместо фото */
.art__meta b a, .ah__by b a, .tcard h3 a { color: inherit; text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
.art__meta b a:hover, .ah__by b a:hover, .tcard h3 a:hover { text-decoration-thickness: 2px; }
.by__ed { display: inline-grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; background: var(--paper); color: var(--ink); font: 800 20px/1 var(--f-d); letter-spacing: .04em; }
.ah__by .by__ed { width: 56px; height: 56px; }
/* подпись страницы без статьи (главная, «О компании») — тонкая строка после FAQ */
.slide.pg-by { padding-top: 0; padding-bottom: clamp(32px, 3vw, 48px); border-top: 0; }
.pg-by__in { grid-template-columns: 48px minmax(0, 1fr); margin: 0; max-width: 760px; }
.pg-by__in img { width: 48px; height: 48px; }
/* руководитель в заявке — безлично: «Вопрос по гарантии — позвоните» */
.boss--plain { grid-template-columns: minmax(0, 1fr); }
.boss--plain .lnk { gap: 10px; }
/* «Спросите мастера» на /blog/ без карточек людей — одна кнопка */
.asks__cta { margin-top: 8px; }
/* блок команды на страницах, где его не было (статьи блога, контакты, отзывы, /blog/, филиалы) */
.staff__top { display: flex; align-items: end; justify-content: space-between; gap: 24px; }
.staff .team__rail { margin-top: clamp(24px, 3vw, 40px); }
@media (max-width: 1279px) { .staff__top .pager { display: none; } }

/* страница автора: компактно, на один экран; фото 280 px слева, на телефоне — над текстом, не шире половины экрана */
.aup { padding-top: 28px; border-top: 0; }
.aup h1 { font: 600 clamp(36px, 3.3vw, 54px)/1.06 var(--f-t); letter-spacing: -.025em; }
.aup__grid { display: grid; grid-template-columns: 280px minmax(0, 720px); gap: clamp(28px, 3vw, 48px); align-items: start; margin-top: 8px; }
.aup__ph { width: 280px; aspect-ratio: 4 / 5; overflow: hidden; background: var(--paper); }
.aup__ph img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 15%; }
.aup__job { margin-top: 10px; font-size: 18px; color: var(--muted); line-height: 1.35; }
.aup__facts { list-style: none; display: flex; flex-wrap: wrap; gap: 12px 40px; margin-top: 22px; padding: 16px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.aup__facts li { display: grid; grid-template-columns: auto auto; align-items: baseline; gap: 2px 10px; }
.aup__facts span { grid-column: 1 / -1; font: 600 13px/1 var(--f-t); text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }
.aup__facts b { font: 800 34px/1 var(--f-d); text-transform: uppercase; }
.aup__facts small { font-size: 14px; color: var(--muted); }
.aup__bio { margin-top: 22px; }
.aup__bio h2, .aup__arts h2 { font: 600 20px/1.2 var(--f-t); letter-spacing: -.01em; }
.aup__bio p { margin-top: 8px; font-size: 16px; line-height: 1.55; max-width: 64ch; }
.aup__arts { margin-top: clamp(32px, 3vw, 48px); padding-top: 24px; border-top: 1px solid var(--line); max-width: 1048px; }
.aup__arts ul, .aup__list { list-style: none; margin-top: 12px; }
.aup__list { counter-reset: none; }
.aup__arts li, .aup__list li { display: flex; justify-content: space-between; gap: 16px; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: 16px; line-height: 1.4; }
.aup__arts li a, .aup__list li a, .aup--list h1 a { text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
.aup__arts li a:hover, .aup__list li a:hover { text-decoration-thickness: 2px; }
.aup__arts time, .aup__list time { flex: none; font-size: 14px; color: var(--muted); }
.aup__all { margin-top: 16px; }
.aup--list .aup__list { max-width: 1048px; margin-top: 24px; }
.aup__pn { margin-top: 8px; color: var(--muted); }
.aup__pager { display: flex; justify-content: space-between; align-items: center; max-width: 1048px; margin-top: 24px; font-size: 16px; }
.aup__pager a { text-decoration: underline; text-underline-offset: 3px; }
.aup--branch .aup__addr { display: flex; flex-direction: column; gap: 6px; margin-top: 16px; font-style: normal; font-size: 18px; }
.aup--branch .aup__addr a { text-decoration: underline; text-underline-offset: 3px; }
/* страница 404 (чек-лист 04.11): в оформлении сайта, цифра-фон как слово первого экрана */
.aup--404 { padding-bottom: clamp(48px, 6vw, 96px); }
.aup--404 .aup__code { margin-top: 8px; font: 800 clamp(96px, 14vw, 200px)/.9 var(--f-d); color: var(--acc-word, #D13A12); letter-spacing: -.02em; }
.aup--404 h1 { margin-top: 12px; }
.aup--404 .aup__pn { max-width: 56ch; font-size: 18px; line-height: 1.5; }
.aup__nf-act { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
@media (max-width: 767px) {
  .aup { padding-top: 16px; }
  .aup__grid { grid-template-columns: minmax(0, 1fr); gap: 18px; }
  .aup__ph { width: min(50vw, 220px); }
  .aup__job { font-size: 16px; }
  .aup__facts { gap: 10px 28px; margin-top: 16px; padding: 12px 0; }
  .aup__facts b { font-size: 28px; }
  .aup__arts li, .aup__list li { flex-direction: column; gap: 2px; }
}

/* прайс без строк: фраза «после бесплатной диагностики» + WhatsApp (quickfix 03.11, PriceTable.tsx) */
.ptable__empty { border-bottom: 1px solid var(--line); padding: 28px 0; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px 28px; }
.ptable__empty p { font: 800 30px/1.05 var(--f-d); text-transform: uppercase; max-width: 560px; }
@media (max-width: 760px) {
  .ptable__empty { padding: 20px 0; }
  .ptable__empty p { font-size: 26px; }
  .ptable__empty .btn { width: 100%; }
}
#priceTable[hidden] { display: none !important; }

/* первый экран услуги на телефоне (сверка с макетом 04.11): длинная цифра («от 4 до 20 лет») переносится, а не обрезается справа; подписи — влево, как в макете */
@media (max-width: 1279px) {
  .tpl-facts p { text-align: left; min-width: 0; }
}
@media (max-width: 479px) {
  .tpl-facts b { white-space: normal; font-size: clamp(24px, 7.4vw, 34px); line-height: .9; overflow-wrap: anywhere; }
  .tpl-facts span { font-size: 13px; }
}

/* окно WhatsApp строго по образцу (решение №158, docs/obrazcy/whatsapp-okno.png): скруглённое окно, тёмно-зелёная шапка,
   «Имя, должность» и «в сети», круглый полупрозрачный крестик; бежевая середина без узора, белый скруглённый пузырь
   со временем внизу справа; внизу на том же бежевом — белое поле-«пилюля» со смайликом и круглая зелёная кнопка отправки;
   на кнопке — красный бейдж «1» */
.wa-chat { border-radius: 16px; background: #EFEAE2; }
.wa-chat__hdr { min-height: 64px; padding: 10px 10px 10px 14px; background: #075E54; gap: 8px; }
.wa-chat__ava { width: 44px; height: 44px; }
.wa-chat__ava--logo { padding: 0; background: none; box-shadow: none; }
.wa-chat__ava--logo svg { display: block; width: 100%; height: 100%; }
.wa-chat__id b { font: 500 17px/22px var(--wa-f); }
.wa-chat__st { font-size: 13.5px; color: rgba(255,255,255,.78); }
.wa-chat__x { width: 38px; height: 38px; background: rgba(255,255,255,.18); }
.wa-chat__x:hover { background: rgba(255,255,255,.28); }
.wa-chat__x svg { width: 20px; height: 20px; }
.wa-chat__body { background-image: none; background-color: #EFEAE2; padding: 14px 14px 8px; }
.wa-chat__typing, .wa-chat__msg { border-radius: 12px; max-width: 92%; box-shadow: 0 1px 1px rgba(11,20,26,.08); }
.wa-chat__typing::before, .wa-chat__msg::before { content: none; }
.wa-chat__msg { padding: 10px 12px 6px 14px; font-size: 15px; line-height: 21px; }
.wa-chat__time { top: 4px; }
.wa-chat__form { background: #EFEAE2; padding: 8px 12px 12px; gap: 8px; }
.wa-chat__field { flex: 1; min-width: 0; display: flex; align-items: center; gap: 8px; height: 44px; padding: 0 14px 0 12px; border-radius: 22px; background: #fff; box-shadow: 0 1px 1px rgba(11,20,26,.06); cursor: text; }
.wa-chat__field:focus-within { outline: 2px solid #00A884; outline-offset: 0; }
.wa-chat__smile { flex: none; width: 24px; height: 24px; color: #8696a0; }
.wa-chat__field .wa-chat__in { height: 100%; padding: 0; border-radius: 0; box-shadow: none; background: transparent; }
.wa-chat__field .wa-chat__in:focus-visible { outline: none; }
.wa-chat__send { width: 44px; height: 44px; background: #00A884; }
.wa-fab__badge { position: absolute; top: -2px; right: -2px; z-index: 1; display: grid; place-items: center; min-width: 22px; height: 22px; padding: 0 5px; border: 2px solid #fff; border-radius: 11px; background: #D32F2F; color: #fff; font: 700 12px/1 var(--wa-f); box-sizing: border-box; pointer-events: none; }
.wa-dock.is-read .wa-fab__badge { display: none; }
@media (max-width: 479px) {
  .wa-chat__hdr { min-height: 56px; padding: 8px 8px 8px 12px; }
  .wa-chat__ava { width: 40px; height: 40px; }
  .wa-chat__id b { font-size: 16px; }
  .wa-chat__body { padding: 10px 12px 6px; }
  .wa-chat__msg { font-size: 14.5px; line-height: 20px; }
  .wa-chat__form { padding: 6px 10px 10px; }
  .wa-chat__field, .wa-chat__send { height: 42px; }
  .wa-chat__send { width: 42px; }
}
.wa-chat__time { float: none; display: block; position: static; margin: 2px -4px 0 12px; text-align: right; }

/* Правки заказчицы 04.11 вечер: выбор города на мобильном — прямоугольная кнопка, как телефон и меню (не «пилюля») */
@media (max-width: 1279px) {
  .mb-city__btn { border-radius: 0; }
}
/* Цифра на значке WhatsApp — строго по центру: у шрифта виджета смещённая базовая линия, поэтому системный шрифт и строка = высоте */
.wa-fab__badge { display: flex; align-items: center; justify-content: center; padding: 0 5px; line-height: 18px; font-family: Arial, Helvetica, sans-serif; font-variant-numeric: tabular-nums; }
/* Мастера на первом экране вида/бренда/услуги — только на мобильном (как category.html на 390); на десктопе макет device.html:
   прайс-карточка + рейтинг, иначе прайс обрезается снизу (замечание заказчицы 04.11 вечер) */
@media (min-width: 1280px) {
  .tpl-hero--dev .crew, .tpl-hero--svc .crew { display: none; }
}
/* Рейтинг под прайсом не прячется под кнопкой WhatsApp (кнопка ~88px от низа экрана) — правая колонка первого экрана выше */
@media (min-width: 1280px) {
  .hero__r { bottom: 104px; justify-content: flex-end; }
}

/* ===== Правки владелицы 06.11 (design-fix-20261106) ===== */
/* 1. Рейтинг первого экрана на мобильном: в макете device.html мастеров на первом экране нет и рейтинг стоит на месте «crew»;
   у нас мастера есть на всех шаблонных (решение 04.11) → как в category.html: мастера слева, рейтинг справа, без наложения.
   Класс tpl-hero--crew ставит сервер, когда блок мастеров выведен (tpl.tsx). */
@media (max-width: 1279px) {
  .tpl-hero--crew .rate { grid-area: rate; justify-content: end; justify-self: end; text-align: right; }
}
/* знак «наши» (№174) четвёртым кружком: под кружком «Я» не прячется начало слова */
.plats .pl + .pl--own { padding-left: 6px; }
/* 3. Низ фото первого экрана: в макете на десктопе мастер в полный рост стоит на нижней границе блока; вырезка, обрезанная
   по бёдра/пояс (крупный план, №173), обрывалась жёсткой линией → растушёвка низа в цвет фона, тем же градиентом, что у макета
   на мобильном (pages-tpl.css: #000 82% → прозрачный 99%). Полный рост — без изменений, как в макете. Класс ставит сервер (heroCut.ts). */
@media (min-width: 1280px) {
  .tpl-man--cut { -webkit-mask-image: linear-gradient(to bottom, #000 82%, transparent 99%); mask-image: linear-gradient(to bottom, #000 82%, transparent 99%); }
}
/* Фото первого экрана не наезжает на текст и прайс (правка 07.11, _local/scripts/hero_overlap.mjs). Новые кадры (№190, №191) с техникой
   целиком шире фигуры макета: они заходили на левую колонку и под карточку цен. Десктоп: ширина фото — не больше просвета между
   колонками (центр 59% как в макете, зазор 6px — как у макета на 1280); кадр уже просвета остаётся ровно как в макете, широкий
   уменьшается целиком, без обрезки. height:auto и max-height вместо height — чтобы растушёвка низа считалась от высоты самого кадра.
   Вид cat не меняется: в макете category.html у него своё фото и своё положение. */
@media (min-width: 1280px) {
  .tpl-hero--dev .tpl-man { --hero-r: clamp(290px, 22vw, 350px); }
  .tpl-hero--svc .tpl-man { --hero-r: clamp(220px, 19vw, 300px); }
  .tpl-hero--dev .tpl-man, .tpl-hero--svc .tpl-man {
    height: auto;
    max-height: min(calc(var(--wh, 40%) / var(--wf, .45)), 92%);
    max-width: calc(2 * (min(59% - var(--pad) - min(40vw, 760px), 41% - var(--pad) - var(--hero-r)) - 6px));
  }
}
/* Планшет: крупный H1 (80px) заходил верхом букв на непрозрачную часть фото; на телефоне этого нет. Поднимаем фото на величину наезда H1
   (margin-top: -.42em в styles.css): H1 стоит под растушёвкой, как у макета на 390. */
@media (min-width: 700px) and (max-width: 1279px) {
  .tpl-man { margin-bottom: calc(.42 * clamp(42px, 12.4vw, 80px) - 4px); }
}
/* 4. Стык «этапы → следующий плакатный блок»: в макете за этапами всегда белый блок мастеров, и фото мастера с кейсом
   обрезано по границе цвета; без блока мастеров (Астана, №128) следом идёт оранжевый блок заявки — фото растушёвывается
   тем же градиентом макета (styles.css, мобильный). Класс ставит сервер (render.tsx), когда следующий блок — плакат. */
@media (min-width: 1280px) {
  .steps__img--fade { -webkit-mask-image: linear-gradient(to bottom, #000 80%, transparent 99%); mask-image: linear-gradient(to bottom, #000 80%, transparent 99%); }
}
/* ===== «Частые поломки» — карточки с иконками (№185, владелица 06.11: вариант A «карточки на бумаге» из трёх показанных;
   фото поломок не выводятся). Иконки — tpl.tsx Breaks + src/design/breakIcons.ts. Карточка всегда контрастна фону (отзыв на
   первый вариант: «красные карточки на красном фоне — странно»), иконка — в красном круге (--acc-fill макета), в углу —
   стрелка (i-ar) вместо значка WhatsApp. Только приёмы макета: круг — как .pl/.by__ed, тень белых плашек — .tpl-plate,
   бумага --paper — .price__side, линии --line, цифры --num. Секция остаётся .poster (разметка макета), цвета плаката
   переопределены на светлые. ===== */
.tpl-brk__ph img { display: none; }
.tpl-brk__ph { aspect-ratio: auto; overflow: visible; background: none; display: flex; justify-content: space-between; align-items: flex-start; }
.tpl-brk__ic { display: grid; place-items: center; flex: none; width: 76px; height: 76px; padding: 17px; border-radius: 50%; background: var(--acc-fill); color: var(--acc-on); transition: transform .4s cubic-bezier(.2,.8,.2,1); }
.tpl-brk__ic svg { display: block; width: 100%; height: 100%; overflow: visible; }
.tpl-brk__c a:hover .tpl-brk__ic { transform: scale(1.06); }
.tpl-brk__m b { color: var(--num); }
.tpl-brk__m .i { color: var(--ico); }
/* светлый блок: переменные плаката → тёмный текст и серые линии (шапка секции, «мягкое» слово заголовка) */
.tpl-brk { --p-ink: var(--ink); --p-line: var(--line); --p-soft: var(--acc-word); color: var(--ink); background: var(--paper); }
.tpl-brk ::selection { background: var(--acc-fill); color: var(--acc-on); }
.tpl-brk .shead { color: var(--muted); }
.tpl-brk .shead i { background: var(--muted); }
.tpl-brk .shead__n { color: var(--ink); }
.tpl-brk__grid { gap: 20px; }
.tpl-brk__c a { background: #fff; padding: 28px 28px 22px; box-shadow: 0 18px 40px -26px rgba(21,21,21,.28); transition: box-shadow .3s, transform .3s cubic-bezier(.2,.8,.2,1); }
.tpl-brk__c a:hover { box-shadow: 0 30px 60px -28px rgba(21,21,21,.42); transform: translateY(-3px); }
.tpl-brk__n { position: static; padding: 0; background: none; color: var(--muted); }
.tpl-brk__c h3 { margin-top: 26px; font-size: clamp(26px, 2vw, 30px); line-height: .98; }
.tpl-brk__why { color: var(--muted); margin-bottom: 18px; }
.tpl-brk__m { margin-top: auto; padding-top: 16px; border-top-color: var(--line); }
/* 5–6 карточек на десктопе — 3 колонки (ровно 2 ряда), 7–8 — 4 */
@media (min-width: 1280px) {
  .tpl-brk__grid:is(:has(> li:nth-child(5):last-child), :has(> li:nth-child(6):last-child)) { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
/* мобильные и планшет: вместо слайдера по одной карточке — все поломки сразу (их до 8), точки слайдера не нужны;
   строка-карточка — круг с иконкой слева, номер под ним, справа название, причина, цена */
@media (max-width: 1279px) {
  .tpl-brk .mdots { display: none; }
  .tpl-brk__grid { grid-auto-flow: row; grid-auto-columns: auto; grid-template-columns: minmax(0, 1fr); overflow: visible; margin: 0; padding: 0; scroll-snap-type: none; gap: 12px; }
  .tpl-brk__c h3 { font-size: 26px; margin-top: 2px; }
  .tpl-brk__m b { font-size: 28px; }
  .tpl-brk__c a { display: grid; grid-template-columns: 56px minmax(0, 1fr); grid-template-rows: auto auto 1fr; column-gap: 16px; padding: 18px 18px 14px; }
  .tpl-brk__ph { grid-row: 1 / 4; flex-direction: column; justify-content: flex-start; align-items: center; gap: 10px; }
  .tpl-brk__ic { width: 56px; height: 56px; padding: 12px; }
  .tpl-brk__why { margin-bottom: 12px; font-size: 14px; }
  .tpl-brk__m { padding-top: 12px; }
}
@media (min-width: 700px) and (max-width: 1279px) {
  .tpl-brk__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* Кейс «одно фото с места работы» (08.11, №205/№208): на фото устройство В РЕМОНТЕ, а не результат — метку «После»
   у одиночного фото не показываем (ползунок и «До» макет уже прячет: pages-tpl.css .ba.is-single). Бэкап до правки —
   _local/backups/cases-1foto-20261108/css/additions.css. */
.ba.is-single .ba__tag--a { display: none; }

/* ---------- Меню шапки (заказчица 11.11, отличие от макета с её согласия): все пункты — ссылки на всех типах страниц,
   в колонке вида — все его страницы (услуги, разновидности, бренды); длинные списки — прокрутка колонки.
   Пункты-ссылки — по правилам pages-tpl.css макета, теперь для всех групп страниц. ---------- */
.mega__groups { display: flex; flex-direction: column; }
/* цена группы в одну строку (ru, en); в kk «3 500 ₸-ден бастап» длинная — переносится, как в макете */
html:not([lang="kk"]) .mega__groups button small { white-space: nowrap; }
.mega__devs, .mega__svc { max-height: min(640px, calc(100vh - 140px)); overflow: auto; overscroll-behavior: contain; }
.mega__devs a { display: flex; align-items: center; justify-content: space-between; gap: 12px; width: 100%; min-height: 44px; padding: 0 16px; font-size: 15px; font-weight: 500; }
.mega__devs a span { color: var(--muted); font-size: 14px; font-weight: 400; white-space: nowrap; }
.mega__devs a.is-on, .mega__devs a:hover { background: var(--paper); }
.mega__devs a.mega__x { min-height: 34px; font-size: 14px; font-weight: 400; }
.mega__devs a.mega__all { min-height: 40px; justify-content: flex-start; gap: 6px; font-size: 14px; font-weight: 600; color: var(--muted); }
.mega__devs a.mega__all .i { width: 14px; height: 14px; }
.mega__cap, .mega__other p, .mega__br p, .mtree__cap, .mtree__br p { font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }
.mega__cap { padding: 16px 16px 6px; }
.mega__other { margin-top: auto; padding: 18px 16px 0; border-top: 1px solid var(--line); }
.mega__other ul { margin-top: 6px; }
.mega__other a { display: block; padding: 5px 0; font-size: 14px; }
.mega__svc h3 a:hover, .mega__svc li a:hover, .mega__other a:hover, .mega__br a:hover { text-decoration: underline; text-underline-offset: 3px; }
.mega__cta { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 28px; }
.mega__side { min-width: 0; }
.mega__br { margin-top: 18px; }
.mega__svc .mega__br ul { display: flex; flex-wrap: wrap; gap: 4px 14px; margin: 8px 0 0; }
.mega__svc .mega__br li { display: block; padding: 0; border: 0; font-size: 14px; }
.mega__br a { text-decoration: underline; text-decoration-color: var(--line); text-underline-offset: 3px; }
.mtree__svc li a { text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--line); }
.tpl-mtree__all { display: flex; align-items: center; justify-content: space-between; min-height: 48px; font-size: 16px; font-weight: 600; }
a.mtree__db { display: grid; grid-template-columns: 44px 1fr auto; gap: 12px; align-items: center; width: 100%; min-height: 52px; font-size: 16px; font-weight: 500; }
.mtree__cap { padding: 14px 0 4px; }
.mtree__svc .lnk { display: flex; width: fit-content; }
.mtree__br { padding: 10px 0 4px; }
.mtree__br:empty { display: none; }
.mtree__br ul { display: flex; flex-wrap: wrap; gap: 6px 16px; margin-top: 6px; }
.mtree__svc .mtree__br li { display: block; padding: 0; border: 0; font-size: 15px; }
.mtree__br a { text-decoration: underline; text-decoration-color: var(--line); text-underline-offset: 3px; }
.mtree__other a { display: block; padding: 12px 0; font-size: 16px; border-bottom: 1px solid var(--line); }

/* ===== Аудит по скиллам 11.11 — правки кода и вёрстки (поток «правки-код») ===== */
/* ux-crumbs-m, ux-crumbs-ast (№225): крошки в одну строку, листаются вбок как слайдер; у края — затухание-подсказка (init.ts: is-more / is-less) */
nav.crumbs:not(:has(> ol)), nav.crumbs > ol { flex-wrap: nowrap; overflow-x: auto; overflow-y: hidden; white-space: nowrap; scrollbar-width: none; overscroll-behavior-x: contain; -webkit-overflow-scrolling: touch; padding-top: 6px; padding-bottom: 6px; margin-top: -6px; margin-bottom: -6px; }
nav.crumbs:not(:has(> ol))::-webkit-scrollbar, nav.crumbs > ol::-webkit-scrollbar { display: none; }
nav.crumbs > a, nav.crumbs > span, nav.crumbs > ol > li { flex: none; }
nav.crumbs { min-width: 0; max-width: 100%; }
.bh .crumbs { max-width: calc(100% - 2 * var(--pad)); }
nav.crumbs.is-more, nav.crumbs > ol.is-more { -webkit-mask-image: linear-gradient(90deg, #000 calc(100% - 56px), transparent); mask-image: linear-gradient(90deg, #000 calc(100% - 56px), transparent); }
nav.crumbs.is-less, nav.crumbs > ol.is-less { -webkit-mask-image: linear-gradient(90deg, transparent, #000 40px); mask-image: linear-gradient(90deg, transparent, #000 40px); }
nav.crumbs.is-more.is-less, nav.crumbs > ol.is-more.is-less { -webkit-mask-image: linear-gradient(90deg, transparent, #000 40px, #000 calc(100% - 56px), transparent); mask-image: linear-gradient(90deg, transparent, #000 40px, #000 calc(100% - 56px), transparent); }
/* tx-like-zero (№150): при нуле — только сердечко */
.like__n:empty { display: none; }
/* seo-footer-city: ссылка на другой город в подвале */
.ftr__c a.ftr__city { text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
/* a11y-tap (№132 п. 3): невидимая зона нажатия 44 px на телефоне, вид не меняется; только цели с зазором ≥ 8 px до соседних */
@media (max-width: 820px) {
  .hdr .logo, .catalog__note a.u, .tcard h3 a, .boss a.lnk--ink, .blog__nav a.lnk--ink, .art__meta a, .ah__by a, .ftr .logo--ftr, .ftr__tel, .ftr__legal a, .map__copy a, nav.crumbs a, .ftr__c a.ftr__city, .mdots button, .rcard__more { position: relative; }
  .hdr .logo::before, .catalog__note a.u::before, .tcard h3 a::before, .boss a.lnk--ink::before, .blog__nav a.lnk--ink::before, .art__meta a::before, .ah__by a::before, .ftr .logo--ftr::before, .ftr__tel::before, .ftr__legal a::before, .map__copy a::before, nav.crumbs a::before, .ftr__c a.ftr__city::before { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 44px; margin-top: -22px; }
  .mdots button::before { content: ""; position: absolute; left: -3px; right: -3px; top: 50%; height: 44px; margin-top: -22px; }
  .rcard__more::before { content: ""; position: absolute; top: 0; bottom: 0; left: -7px; right: -7px; }
}
/* tx-blog-wall (№225): длинная статья свёрнута — видна часть, ниже «Читать полностью»; без JS — весь текст (noscript в blog.tsx) */
.pb__fold:not(.is-open) { max-height: 1500px; overflow: hidden; -webkit-mask-image: linear-gradient(180deg, #000 calc(100% - 220px), transparent); mask-image: linear-gradient(180deg, #000 calc(100% - 220px), transparent); }
@media (max-width: 820px) { .pb__fold:not(.is-open) { max-height: 1300px; } }
.pb__more { margin-top: 8px; }
.pb__more[hidden] { display: none; }
/* ux-search (аудит 11.11): поиск по сайту над колонками «Меню» и первым в мобильном меню; подсказки — список в стиле меню */
.srch { position: relative; }
.srch--d { padding: 18px var(--pad) 14px; border-bottom: 1px solid var(--line); }
.srch--d .srch__f { max-width: 640px; }
.srch--m { margin: 6px 0 4px; }
.srch__f { position: relative; display: flex; align-items: center; }
.srch__f > .i { position: absolute; left: 14px; width: 20px; height: 20px; color: var(--muted); pointer-events: none; }
.srch__in { width: 100%; min-height: 48px; padding: 0 44px 0 44px; border: 1px solid var(--line); border-radius: 0; background: #fff; color: var(--ink); font: 500 16px/1.2 var(--f-t); -webkit-appearance: none; appearance: none; }
.srch__in::placeholder { color: var(--muted); opacity: 1; }
.srch__in:focus { outline: 2px solid var(--ink); outline-offset: -1px; border-color: var(--ink); }
.srch__in::-webkit-search-cancel-button { display: none; }
.srch__x { position: absolute; right: 2px; width: 44px; height: 44px; display: grid; place-items: center; color: var(--muted); }
.srch__x .i { width: 18px; height: 18px; }
.srch__drop { position: absolute; left: 0; right: 0; top: 100%; z-index: 30; background: #fff; color: var(--ink); border: 1px solid var(--line); border-top: 0; box-shadow: 0 24px 40px -18px rgba(0,0,0,.3); max-height: min(420px, 60vh); overflow: auto; overscroll-behavior: contain; }
.srch--d .srch__drop { left: var(--pad); right: auto; width: min(640px, calc(100% - 2 * var(--pad))); top: calc(100% - 14px); }
.srch--m .srch__drop { position: static; box-shadow: none; max-height: none; }
.srch__drop[hidden] { display: none; }
.srch__list a { display: flex; flex-direction: column; justify-content: center; gap: 2px; min-height: 48px; padding: 8px 16px; font-size: 15px; font-weight: 500; line-height: 1.3; }
.srch__list a small { font-size: 13px; font-weight: 400; color: var(--muted); }
.srch__list [aria-selected="true"] a, .srch__list a:hover { background: var(--paper); }
.srch__none { padding: 14px 16px; font-size: 14px; line-height: 1.45; color: var(--muted); }
/* ds-contacts-cards: три карточки связи — на всю ширину, без пустого места под четвёртую */
@media (min-width: 1280px) { .chan[data-n="3"] { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
/* sp-lcp: у фото из медиатеки заданы размеры файла (резерв места, без сдвига); если CSS макета высоту не задаёт — пропорция файла */
:where(img[data-dim]) { height: auto; }
/* tx-rating-own (аудит 11.11): метка своих отзывов — как значки площадок: знак сайта «TS» белым кругом с оранжевыми буквами */
.pl.pl--own { background: #fff; color: #D13A12; font: 800 15px/1 var(--f-d); letter-spacing: .01em; text-transform: uppercase; box-shadow: inset 0 0 0 1px var(--line); }
.plats .pl.pl--own { box-shadow: 0 0 0 2px var(--p); }
.plats--l .pl.pl--own, .ptiles .pl.pl--own { font-size: 18px; }

/* Z-03 (этап 13): нечётное число районов — последний район на всю ширину, без пустого поля справа */
.uvisit .districts li:last-child:nth-child(odd) { grid-column: 1 / -1; }
/* Z-05 (этап 13): названия строк прайса переносятся по пробелам, без «висячих» хвостов */
.prow__n { text-wrap: pretty; overflow-wrap: break-word; }
/* Z-01 (этап 13): пока открыт список поиска, каталог меню под ним скрыт (место сохраняется) — список не накладывается на строки каталога */
.mega:has(.srch--d .srch__drop:not([hidden])) .mega__in { visibility: hidden; }
.srch--d .srch__drop { border: 1px solid var(--ink); border-top: 0; box-shadow: 0 24px 40px -18px rgba(0,0,0,.35); }
/* №233: зелёный кружок «онлайн» на аватарке в шапке чата WhatsApp (правый нижний угол, белая обводка) */
.wa-chat__ava { position: relative; }
.wa-chat__ava--ph { overflow: visible; }
/* кружок «в сети» — как на москитныесетки.kz (владелица 13.11): 11px вместе с обводкой 2px цвета шапки, в углу аватарки */
.wa-chat__ava::after { content: ''; position: absolute; right: 0; bottom: 0; width: 11px; height: 11px; box-sizing: border-box; border: 2px solid #075E54; border-radius: 50%; background: #25d366; box-shadow: none; }
@media (max-width: 479px) { .wa-chat__ava::after { width: 9px; height: 9px; } }
