/* GeoWise · Пример отчёта · правки 01.11.2026 (утверждён вариант C)
 * Подключать ПОСЛЕДНИМ, после report_full_lists.css.
 * ПК ≥ 1280 px не меняется, кроме общих правил в разделе 0.
 */

/* ---------- 0. Общее для всех ширин ---------- */
html,body{overflow-x:clip}                 /* страница никогда не уезжает вбок (iOS) */

/* «Где вас называют»: две колонки только с 1280 px; на 1024–1279 — одна под другой */
@media (min-width:1024px) and (max-width:1279px){
  .zf--2{grid-template-columns:minmax(0,1fr)!important}
}

/* ---------- 1. Планшет и телефон (≤ 1023 px) ---------- */
@media (max-width:1023px){

  /* 1.1 Списки «строка в две линии» (компании, сайты, страницы) — в серой плашке */
  .mtx{margin-top:14px;padding:4px 16px;background:var(--bg-soft);border-radius:24px}
  .mtx__r{grid-template-columns:24px minmax(0,1fr) auto;column-gap:12px;border-bottom:0;border-top:1px solid #E3E3E8}
  .mtx__r:first-child,.mtx__r.is-you,.mtx__r.is-you + .mtx__r{border-top:0}
  .tx .tx__more{margin-top:14px}

  /* 1.2 Названия — обычное начертание; клиент — жирный */
  .mtx__n{font-weight:400;color:var(--ink);overflow-wrap:normal}
  .mtx__r.is-you .mtx__n{font-weight:700}

  /* 1.3 Строка клиента: голубая — всё хорошо; красная — карточка нейросети с проблемой (.is-warn) */
  .mtx__r.is-you{margin:4px -8px;padding:11px 8px;background:var(--blue-tint);border-radius:16px}
  .mtx__r.is-you .mtx__n,.mtx__r.is-you .mtx__v b{color:var(--blue)}
  .is-warn .mtx__r.is-you{background:var(--w-t)}
  .is-warn .mtx__r.is-you .mtx__n,.is-warn .mtx__r.is-you .mtx__v b{color:var(--w-tx)}
  .is-warn .mtx__r.is-you .mtx__you{background:var(--w-tx)}
  /* главная метрика карточки с проблемой — тоже красная */
  .is-warn .mxq__hero{background:var(--w-t)}
  .is-warn .mxq__hero .mxq__hv{color:var(--w-tx)}
  .is-warn .mxq__hero .mxq__hl,.is-warn .mxq__hero .mxq__hc,.is-warn .mxq__hero .mxq__hv span{color:#8A2A22}

  /* 1.4 Адреса сайтов и страниц — одна строка, «…», не доходят до колонки «7 из 10» */
  .mtx--url .mtx__n{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;padding-right:8px}
  .mtx--url .mtx__you{vertical-align:baseline;margin-top:0}
  /* «Цитируемые страницы» — ссылки: обычный текст, без синего и подчёркивания */
  .mtx--pages .mtx__n a{color:inherit;text-decoration:none}
  .mtx--pages .mtx__n a:active{opacity:.6}

  /* 1.5 Сводка «Ваше место» — такая же полоса, как «Называют вас» (дорожка 6 px) */
  .msw__scale{position:relative;display:block;height:6px;border-radius:3px;background:#E3E3E8;overflow:hidden}
  .msw__scale i{position:static;display:block;height:100%;margin:0;border-radius:3px;background:var(--blue)}
  .msw__scale i.is-low{background:#F2726F}
}
@media (hover:hover) and (max-width:1023px){
  .mtx--pages .mtx__n a:hover{text-decoration:underline;text-underline-offset:3px}
}

/* ---------- 2. Длинные названия на узких экранах не залезают на цифры ---------- */
@media (max-width:1023px){
  .zb__n,.mtx__n,.msw__n,.mhb__n{min-width:0;overflow-wrap:break-word;hyphens:auto;-webkit-hyphens:auto}
  .mtx--url .mtx__n{overflow-wrap:normal;hyphens:manual}
  .zb__r--rk > *{min-width:0}
}

/* ---------- 3. Иерархия и отступы расширенного отчёта на планшете и телефоне ---------- */
@media (max-width:1023px){
  /* заголовки разделов расширенного отчёта = заголовкам основного (title-xl: 24 планшет / 22 телефон) */
  html body .ext .ch__title.appx__t,html body #x-all > h2,html body .ex__t{font-size:var(--fs-title-xl)!important;line-height:var(--lh-title-xl)!important}
  /* надзаголовки — как во всём отчёте: жирные, токен eyebrow */
  html body .ext .eyebrow,html body #x-all > .eyebrow,html body .ex__h .eyebrow{font-size:var(--fs-eyebrow)!important;line-height:var(--lh-eyebrow)!important;font-weight:700!important}
  /* карточки нейросетей и «Бренд» — тот же ритм, что у остальных разделов */
  .ex.blk,#x-know{padding-top:56px;padding-bottom:56px}
}
@media (max-width:767px){
  .ex.blk,#x-know{padding-top:44px;padding-bottom:44px}
}
@media (max-width:1023px){
  /* надзаголовок → заголовок: 8 px, как в расширенном отчёте на ПК */
  html body #x-all > .eyebrow,html body .ex__h .eyebrow{margin:0 0 8px!important}
  html body #x-all > h2{margin-top:0!important}
}
