/* Главная, вторая версия (12 ноя 2026). Образец по устройству: causabi.com.
   Тёмный первый экран с живой проверкой, дальше «почему это важно» на наших цифрах. */

.hm-dark { background: #1c1b19; color: #fff; }
.hm-dark .logo { color: #fff; }
.hm-dark .muted, .hm-dark .hm-sub { color: #bdb9ae; }

/* ───────── Первый экран ───────── */
.hm-hero { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--sp-12); align-items: center; padding-block: var(--sp-12) var(--sp-16); }
@media (min-width: 60rem) { .hm-hero { grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr); gap: var(--sp-16); padding-block: var(--sp-16) var(--sp-20); } }
.hm-hero__text > * + * { margin-block-start: var(--sp-6); }
.hm-hero h1 { font-size: clamp(2.25rem, 1.6rem + 2vw, 3.125rem); line-height: 1.08; }
.hm-sub { font-size: var(--fs-lead); line-height: var(--lh-ui); max-width: 34rem; }
.hm-form { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--sp-2); max-width: 34rem; }
@media (min-width: 36rem) { .hm-form { grid-template-columns: minmax(0, 1fr) auto; } }
.hm-form .btn { background: #fff; border-color: #fff; color: #1c1b19; }
.hm-form .btn:hover { background: #ece9e1; border-color: #ece9e1; }

/* Живая проверка: окно, в котором вопрос печатается, ответы приходят, имена растут */
.hm-live { border: 1px solid #3a3834; border-radius: 14px; background: #262522; overflow: hidden; }
.hm-live__bar { display: flex; align-items: center; gap: var(--sp-2); padding: var(--sp-3) var(--sp-4); border-bottom: 1px solid #3a3834; color: #bdb9ae; font-size: var(--fs-small); }
.hm-live__bar i { width: 0.6rem; height: 0.6rem; border-radius: 50%; background: #4a4843; }
.hm-live__bar span { margin-inline-start: var(--sp-2); }
.hm-live__body { display: grid; gap: var(--sp-5); padding: var(--sp-5); min-height: 23rem; align-content: start; }
.hm-label { color: #bdb9ae; font-size: var(--fs-small); }
.hm-q { font-size: var(--fs-lead); line-height: var(--lh-snug); min-height: 3.2em; }
.hm-q::after { content: ""; display: inline-block; width: 2px; height: 1em; margin-inline-start: 2px; background: #fff; vertical-align: -0.12em; animation: hm-blink 1s steps(2) infinite; }
.hm-dots { display: flex; align-items: center; gap: var(--sp-2); }
.hm-dots i { width: 0.9rem; height: 0.9rem; border: 2px solid #5a5852; border-radius: 50%; transition: background 0.25s, border-color 0.25s; }
.hm-dots i.is-in { background: #8f8b80; border-color: #8f8b80; }
.hm-dots span { margin-inline-start: var(--sp-2); color: #bdb9ae; font-size: var(--fs-small); font-variant-numeric: tabular-nums; }
.hm-names { display: grid; gap: var(--sp-2); }
.hm-names li { display: grid; grid-template-columns: 7.5rem minmax(0, 1fr) 3.5rem; gap: var(--sp-3); align-items: center; opacity: 0; transform: translateY(6px); transition: opacity 0.35s, transform 0.35s; font-size: var(--fs-small); }
.hm-names li.is-in { opacity: 1; transform: none; }
.hm-names .hm-bar { height: 0.45rem; border-radius: 99px; background: #3a3834; overflow: hidden; }
.hm-names .hm-bar b { display: block; height: 100%; width: 0; border-radius: 99px; background: #d9d5ca; transition: width 0.7s ease; }
.hm-names li.is-in .hm-bar b { width: calc(var(--n) / 5 * 100%); }
.hm-names span:last-child { text-align: right; font-variant-numeric: tabular-nums; }
.hm-you { display: flex; justify-content: space-between; gap: var(--sp-4); padding: var(--sp-3) var(--sp-4); border-radius: 10px; background: #3b2a12; color: #ffd08a; font-weight: var(--fw-strong); opacity: 0; transition: opacity 0.4s; }
.hm-you.is-in { opacity: 1; }
.hm-cap { padding: 0 var(--sp-5) var(--sp-4); color: #8f8b80; font-size: var(--fs-small); }
@keyframes hm-blink { 50% { opacity: 0; } }

/* ───────── Разделы ниже ───────── */
.hm-sec { padding-block: var(--sp-16); }
.hm-sec > .wrap > * + * { margin-block-start: var(--sp-8); }
.hm-head { max-width: 42rem; }
.hm-head > * + * { margin-block-start: var(--sp-3); }
.hm-soft { background: var(--c-soft); }

/* Один вопрос, три раза */
.hm-runs { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--sp-4); }
@media (min-width: 48rem) { .hm-runs { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.hm-run { padding: var(--sp-6); border: var(--bw-line) solid var(--c-line); border-radius: var(--r-card); background: var(--c-surface); }
.hm-run > * + * { margin-block-start: var(--sp-3); }
.hm-run .hm-big { font-family: var(--font-heading); font-size: var(--fs-h1); font-weight: var(--fw-heading); line-height: 1; }
.hm-run .dots { --dot: 1.1rem; }

/* Цифры */
.hm-stats { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--sp-8); }
@media (min-width: 48rem) { .hm-stats { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.hm-stats b { display: block; font-family: var(--font-heading); font-size: var(--fs-display); font-weight: var(--fw-heading); line-height: 1; }
.hm-stats p { margin-block-start: var(--sp-3); max-width: 18rem; }

/* Вы и незнакомец */
.hm-two { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--sp-4); }
@media (min-width: 48rem) { .hm-two { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.hm-two .card { padding: var(--sp-6); }
.hm-two .card > * + * { margin-block-start: var(--sp-3); }
.hm-two .is-ours { border-color: var(--c-action); }

/* Появление при прокрутке */
/* Блоки видны всегда. Прячем их перед появлением, только если скрипт успел поставить hm-anim (страница на виду). */
.hm-rise { transition: opacity 0.6s ease, transform 0.6s ease; }
.hm-anim .hm-rise { opacity: 0; transform: translateY(18px); }
.hm-anim .hm-rise.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .hm-rise { opacity: 1; transform: none; }
  .hm-q::after { animation: none; }
}

.hm-end { padding-block: var(--sp-16); text-align: center; }
.hm-end > .wrap > * + * { margin-block-start: var(--sp-6); }
.hm-end .hm-form { margin-inline: auto; }
.hm-dark .site-footer { border-color: #3a3834; color: #bdb9ae; }
.hm-dark .site-footer a { color: inherit; }

/* Поле на первом экране: одна большая белая плашка с кнопкой внутри, подпись сверху (Даниил 12 ноя: поле «не понятно и не заметно») */
.hm-field { display: grid; gap: var(--sp-2); max-width: 36rem; }
.hm-field__label { font-weight: var(--fw-strong); }
.hm-field__box { display: flex; gap: var(--sp-2); padding: var(--sp-2); border-radius: 14px; background: #fff; box-shadow: 0 0 0 4px rgb(255 255 255 / 0.14); }
.hm-field__box:focus-within { box-shadow: 0 0 0 4px #7fb8a6; }
.hm-field__box input { flex: 1 1 auto; min-width: 0; height: 3.5rem; padding-inline: var(--sp-4); border: 0; background: transparent; color: #1c1b19; font-size: var(--fs-lead); outline: none; }
.hm-field__box input::placeholder { color: #8a867c; }
.hm-field__box .btn { flex: none; min-height: 3.5rem; border-radius: 10px; }
@media (max-width: 30rem) { .hm-field__box { flex-direction: column; } }
.hm-end .hm-field { margin-inline: auto; text-align: left; }
/* The language of the questions under the site field (loc-g): white and round as the field, its label as the note. */
.hm-field__lang { display: flex; flex-wrap: wrap; align-items: center; gap: var(--sp-2); color: var(--c-muted); font-size: var(--fs-small); }
.hm-field__lang select, .hm-field__lang .csel__btn { height: 2.5rem; max-width: 100%; padding-inline: var(--sp-3) 2.25rem; border: 0; border-radius: 10px; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231c1b19' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M7 10l5 5 5-5'/%3E%3C/svg%3E") right 0.7rem center / 1rem no-repeat; color: #1c1b19; font: inherit; font-size: var(--fs-body); appearance: none; -webkit-appearance: none; cursor: pointer; }
.hm-field__lang select:focus-visible, .hm-field__lang .csel__btn:focus-visible { outline: none; box-shadow: 0 0 0 4px #7fb8a6; }
/* On a phone the language stands between the field and the button, where it is seen before the button (ux-ja 3): the box lets
   its field and button into the form's grid, and the field takes the box's white, radius and frame (inherit: the glow, the
   focus and the error frame of the box). The markup stays one for both widths. */
@media (max-width: 30rem) {
  .hm-field:has(> .hm-field__lang) > .hm-field__box { display: contents; }
  .hm-field:has(> .hm-field__lang) > .hm-field__box input { border-radius: inherit; background: inherit; box-shadow: inherit; }
  .hm-field:has(> .hm-field__lang) > .hm-field__box .btn,
  .hm-field:has(> .hm-field__lang) > :is(.hm-read__desc, .hm-field__note) { order: 1; }
}

/* Второй блок: окно как на первом экране, в нём линия «доля ответов, где бизнес назван» от 1 до 100 ответов.
   По ресёрчу playbooks/landing-visuals.md: готовая картинка в разметке, движение один раз и только через CSS. */
.hm-duo { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--sp-8); align-items: center; }
@media (min-width: 60rem) { .hm-duo { grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); gap: var(--sp-12); } }
.hm-win { border-radius: 14px; background: #262522; color: #fff; overflow: hidden; }
.hm-win .hm-live__bar { border-color: #3a3834; }
.hm-win__body { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--sp-4); padding: var(--sp-5); }
.hm-win__body p { display: grid; gap: 2px; }
.hm-win__body p span { color: #bdb9ae; font-size: var(--fs-small); }
.hm-win__a b { color: #bdb9ae; font-weight: var(--fw-strong); }
.hm-win__b { text-align: right; }
.hm-win__b b { color: #ffd08a; font-family: var(--font-heading); font-size: var(--fs-lead); }
.hm-chart { grid-column: 1 / -1; width: 100%; height: auto; }
.hm-chart .ax { stroke: #4a4843; stroke-width: 1; }
.hm-chart .goal { stroke: #ffd08a; stroke-width: 1; stroke-dasharray: 4 6; opacity: 0.5; }
.hm-chart .ln { fill: none; stroke: #fff; stroke-width: 2.5; stroke-linejoin: round; stroke-linecap: round; stroke-dasharray: 1; stroke-dashoffset: 0; }
.hm-chart .p0 { fill: #262522; stroke: #bdb9ae; stroke-width: 2; }
.hm-chart .p1 { fill: #ffd08a; }
.hm-chart .tx { fill: #8f8b80; font-size: 13px; font-family: var(--font-body); }
.hm-win.can-draw .ln { stroke-dashoffset: 1; }
.hm-win.can-draw .p1, .hm-win.can-draw .hm-win__b { opacity: 0; }
.hm-win.can-draw.is-in .ln { stroke-dashoffset: 0; transition: stroke-dashoffset 2.2s cubic-bezier(0.3, 0, 0.2, 1); }
.hm-win.can-draw.is-in .p1, .hm-win.can-draw.is-in .hm-win__b { opacity: 1; transition: opacity 0.4s ease 2.1s; }

/* Третий блок: три карточки с числами и источником под каждой (вариант 4, выбран Даниилом 12 ноя) */
.hm-facts { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--sp-4); }
@media (min-width: 48rem) { .hm-facts { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.hm-facts > * { display: grid; align-content: start; gap: var(--sp-3); padding: var(--sp-8); border: var(--bw-line) solid var(--c-line); border-radius: 14px; background: var(--c-surface); }
.hm-facts__n { font-family: var(--font-heading); font-size: var(--fs-display); font-weight: var(--fw-heading); line-height: 0.95; font-variant-numeric: tabular-nums; }
.hm-facts small { color: var(--c-muted); }
.hm-facts .is-dark { background: #1c1b19; border-color: #1c1b19; color: #fff; }
.hm-facts .is-dark small { color: #bdb9ae; }

/* ───────── Вся главная и экран ожидания тёмные (Даниил 12 ноя: после чёрного первого экрана белый «резко бросается в глаза»).
   Меняем цвета системы на этой странице, детали берут их сами. ───────── */
.hm-page {
  --c-page: #1c1b19; --c-text: #f4f2ec; --c-muted: #bdb9ae; --c-soft: #222120; --c-surface: #262522; --c-line: #3a3834;
  --c-link: #f4f2ec; --c-link-hover: #fff; --c-bar-track: #3a3834; --c-dot-named: #f4f2ec; --c-focus: #fff; --c-focus-gap: #1c1b19;
  --c-quiet: #f4f2ec; --c-quiet-border: #5a5852; --c-field: #5a5852; --c-notice: #262522;
}
.hm-page .btn--secondary { background: transparent; }
.hm-page .site-footer { border-color: #3a3834; }
.hm-page .hm-soft { background: #222120; }
.hm-page .hm-win, .hm-page .hm-live { border: 1px solid #3a3834; }
.hm-page .hm-facts .is-dark { background: var(--c-action); border-color: var(--c-action); }
.hm-page .hm-facts .is-dark small { color: #d6e6df; }
.hm-page .hm-end { border-top: 1px solid #3a3834; }

/* Как работает проверка: три шага с маленькой картинкой у каждого */
.hm-steps { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--sp-4); }
@media (min-width: 52rem) { .hm-steps { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.hm-steps > li { display: grid; align-content: start; gap: var(--sp-3); padding: var(--sp-6); border: 1px solid var(--c-line); border-radius: 14px; background: var(--c-surface); }
.hm-steps__n { display: grid; place-items: center; width: 2rem; height: 2rem; border-radius: 50%; background: var(--c-action); color: #fff; font-weight: var(--fw-strong); font-size: var(--fs-small); }
.hm-mini { display: grid; gap: var(--sp-2); margin-block-start: var(--sp-3); padding: var(--sp-4); border-radius: 10px; background: #1c1b19; }
.hm-mini__field { padding: var(--sp-2) var(--sp-3); border-radius: 8px; background: #fff; color: #8a867c; }
.hm-mini__q { justify-self: start; padding: var(--sp-1) var(--sp-3); border: 1px solid #3a3834; border-radius: 99px; color: #bdb9ae; font-size: var(--fs-small); }
.hm-mini__num { font-family: var(--font-heading); font-size: var(--fs-h3); font-weight: var(--fw-heading); color: #ffd08a; }

/* Что человек видит в конце: три окна в стиле первого экрана */
.hm-get { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--sp-4); }
@media (min-width: 60rem) { .hm-get { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.hm-get__w { border: 1px solid #3a3834; border-radius: 14px; background: #262522; overflow: hidden; }
/* Сброс системы обнуляет отступы у списков с классом, поэтому селектор усилен */
.hm-get__w > .hm-get__names, .hm-get__w > .hm-get__list, .hm-get__w > .hm-get__rec { display: grid; gap: var(--sp-3); padding: var(--sp-5); }
.hm-get__names li { display: grid; grid-template-columns: 7rem minmax(0, 1fr) 4rem; gap: var(--sp-3); align-items: center; font-size: var(--fs-small); }
.hm-get__names .hm-bar { height: 0.45rem; border-radius: 99px; background: #3a3834; overflow: hidden; }
.hm-get__names .hm-bar b { display: block; height: 100%; border-radius: 99px; background: #d9d5ca; }
.hm-get__names span:last-child { text-align: right; font-variant-numeric: tabular-nums; }
.hm-get__list li { display: grid; gap: 2px; padding-block-end: var(--sp-3); border-bottom: 1px solid #3a3834; }
.hm-get__list li:last-child { border: 0; padding: 0; }
.hm-flag { display: inline-flex; align-items: center; gap: var(--sp-2); color: #bdb9ae; font-size: var(--fs-small); }
.hm-flag::before { content: ""; width: 0.5rem; height: 0.5rem; border-radius: 50%; background: #5a5852; }
.hm-flag.is-warn::before { background: #ffb347; }

/* Вопросы */
.hm-faq { max-width: 46rem; border-top: 1px solid var(--c-line); }
.hm-faq details { border-bottom: 1px solid var(--c-line); }
.hm-faq summary { padding-block: var(--sp-4); font-size: var(--fs-lead); font-weight: var(--fw-strong); list-style: none; display: flex; justify-content: space-between; gap: var(--sp-4); }
.hm-faq summary::-webkit-details-marker { display: none; }
.hm-faq summary::after { content: "+"; color: var(--c-muted); }
.hm-faq details[open] summary::after { content: "\2212"; }
.hm-faq p { padding-block-end: var(--sp-5); color: var(--c-muted); }

/* Правки после обзора 13 ноя */
/* 1. В живой проверке строки видны бледными с самого начала, чтобы окно не было пустым */
.hm-names li { opacity: 0.22; transform: none; }
.hm-names li.is-in { opacity: 1; }
.hm-you { opacity: 0.16; }
.hm-you.is-in { opacity: 1; }
/* 2. Шаги без рамок, одной линией с соединителем: другой ритм, чем у карточек рядом */
.hm-steps > li { position: relative; padding: 0; border: 0; background: none; }
@media (min-width: 52rem) {
  .hm-steps { gap: var(--sp-10); }
  .hm-steps > li:not(:last-child)::after { content: ""; position: absolute; top: 1rem; left: 2.75rem; right: calc(var(--sp-10) * -1 + 0.75rem); height: 1px; background: #3a3834; }
}
.hm-mini { background: #262522; border: 1px solid #3a3834; }
/* 3. Меньше пустоты под первым экраном */
@media (min-width: 60rem) { .hm-hero { padding-block: var(--sp-12) var(--sp-12); } }
/* 4. Подписи графика читаемы на телефоне */
.hm-chart .tx { font-size: 17px; }
.hm-win__a b, .hm-win__b b { white-space: nowrap; }
@media (max-width: 30rem) { .hm-win__b b { font-size: var(--fs-body); } }

/* ───────── Остальные экраны пути в той же тёмной теме (13 ноя) ───────── */
.hm-page { --c-bar: #d9d5ca; --c-dot-empty: #5a5852; --c-dot-none: #3a3834; --c-placeholder: #8a867c; --c-quote-text: #d9d5ca; --c-quote-rule: #3a3834; --c-you-row: #2b2a27; --c-error: #ff9d7a; }
.hm-page .input { background: #fff; color: #1c1b19; border-color: #fff; }
.hm-page .card { background: #262522; border-color: #3a3834; }
.hm-page .app-header { border-color: #3a3834; }
.hm-page .v2-teaser, .hm-page .v2-next { background: #262522; border: 1px solid #3a3834; }
.hm-page .v2-days .is-today { background: #262522; }
.hm-page .v2-flag--warn { color: #f4f2ec; }
.hm-page .v2-flag--warn::before { background: #ffb347; }
.hm-page .v2-flag::before { background: #5a5852; }
.hm-page .v2-modal { background: rgb(0 0 0 / 0.6); }
.hm-page mark.other { color: #ffd08a; }
.hm-page .check__box { accent-color: var(--c-action); }
.hm-page .v2-price b { color: #fff; }

/* ───────── Первый экран, 16 ноя: «хочу вау» ─────────
   Выбор Даниила: глубокий чёрный с приглушённым свечением, стеклянное окно под углом, в нём ответ AI как в чате.
   Движение одно и короткое, только CSS; при prefers-reduced-motion сразу готовая картинка. */
.hm-glow { position: relative; overflow: hidden; background: linear-gradient(180deg, #0a0b0b 0%, #0f100f 60%, #1c1b19 100%); }
.hm-glow::before { content: ""; position: absolute; inset: -20% -10% auto; height: 90%; pointer-events: none; filter: blur(20px);
  background: radial-gradient(50% 55% at 28% 30%, rgb(64 196 140 / 0.17), transparent 70%), radial-gradient(40% 45% at 78% 20%, rgb(255 176 84 / 0.09), transparent 70%);
  animation: hm-breathe 9s ease-in-out infinite alternate; }
.hm-glow::after { content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: linear-gradient(rgb(255 255 255 / 0.035) 1px, transparent 1px), linear-gradient(90deg, rgb(255 255 255 / 0.035) 1px, transparent 1px); background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(70% 60% at 50% 30%, #000, transparent); mask-image: radial-gradient(70% 60% at 50% 30%, #000, transparent); }
.hm-glow > * { position: relative; z-index: 1; }
.hm-glow .hm-hero h1 { font-size: clamp(2.5rem, 1.2rem + 4vw, 4.5rem); line-height: 1.03; letter-spacing: -0.035em; }
.hm-glow .hm-hero h1 em { font-style: normal; background: linear-gradient(100deg, #d3f3e3, #f1e4c8); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hm-glow .hm-field__box { box-shadow: 0 0 0 1px rgb(255 255 255 / 0.3), 0 20px 60px -14px rgb(64 196 140 / 0.2); }
.hm-glow .hm-field__box:focus-within { box-shadow: 0 0 0 4px #7fb8a6, 0 20px 60px -14px rgb(64 196 140 / 0.2); }

.hm-chat { padding: var(--sp-6); border: 1px solid rgb(255 255 255 / 0.14); border-radius: 20px; background: linear-gradient(180deg, rgb(255 255 255 / 0.09), rgb(255 255 255 / 0.03));
  -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px); box-shadow: 0 50px 120px -30px rgb(0 0 0 / 0.9), 0 0 80px -20px rgb(64 196 140 / 0.16); }
.hm-chat__me { width: fit-content; max-width: 82%; margin-inline-start: auto; padding: 0.8rem 1.1rem; border-radius: 20px 20px 6px 20px; background: rgb(255 255 255 / 0.1); line-height: 1.4; }
.hm-chat__ai { margin-block-start: var(--sp-5); color: #d9d7d0; line-height: 1.6; }
.hm-chat__ai ol { margin: var(--sp-2) 0 0; padding-inline-start: 1.4rem; list-style: decimal; }
.hm-chat__ai li { margin-block: 0.45rem; }
.hm-chat__ai a.hm-chat__link { color: inherit; text-decoration: underline; text-underline-offset: 2px; }
.hm-chat__ai mark { padding: 1px 7px; border-radius: 6px; background: rgb(79 224 162 / 0.16); color: #d3f3e3; }
.hm-chat__miss { display: flex; flex-wrap: wrap; justify-content: space-between; gap: var(--sp-2) var(--sp-4); margin-block-start: var(--sp-5); padding: 0.8rem 1rem; border: 1px solid rgb(255 120 90 / 0.4); border-radius: 12px; background: rgb(255 120 90 / 0.08); color: #ffb4a3; }
.hm-chat__miss b { color: #fff; overflow-wrap: anywhere; }
.hm-chat__cap { margin-block-start: var(--sp-4); color: #8f8b80; font-size: var(--fs-small); }

@media (prefers-reduced-motion: no-preference) {
  .hm-chat__me, .hm-chat__ai > p, .hm-chat__ai li, .hm-chat__miss { animation: hm-pop 0.35s cubic-bezier(.28,.11,.32,1) both; }
  .hm-chat__me { animation-delay: 0.3s; }
  .hm-chat__ai > p { animation-delay: 0.65s; }
  .hm-chat__ai li:nth-child(1) { animation-delay: 0.9s; }
  .hm-chat__ai li:nth-child(2) { animation-delay: 1.1s; }
  .hm-chat__ai li:nth-child(3) { animation-delay: 1.3s; }
  .hm-chat__miss { animation-delay: 1.7s; }
  @media (min-width: 60rem) { .hm-chat { transform: perspective(1400px) rotateY(-9deg) rotateX(4deg); animation: hm-chat-in 1s cubic-bezier(.28,.11,.32,1) both; } }
}
@media (prefers-reduced-motion: reduce) { .hm-glow::before { animation: none; } }
@media (prefers-reduced-motion: no-preference) and (max-width: 59.99rem) { .hm-chat { transform: none; } }
@keyframes hm-pop { from { opacity: 0; transform: translateY(8px); } }
@keyframes hm-chat-in { from { opacity: 0; transform: perspective(1400px) rotateY(-18deg) rotateX(8deg) translateY(40px); } }
@keyframes hm-breathe { to { transform: translate3d(3%, 4%, 0) scale(1.08); } }

/* ───────── Нижние блоки главной в стиле нового первого экрана (16 ноя, «да, подтяни») ─────────
   Только главная: класс hm-v3 на body. Остальные экраны берут hm-page и не меняются.
   Глубокий чёрный фон, стеклянные окна, мятный для «назван», коралловый для «не назван». */
.hm-v3 { --c-page: #0c0d0c; --c-soft: #0c0d0c; --c-surface: rgb(255 255 255 / 0.04); --c-line: rgb(255 255 255 / 0.11); --c-muted: #b4b2aa; --c-focus-gap: #0c0d0c; }
.hm-v3 .hm-glow { background: linear-gradient(180deg, #0a0b0b 0%, #0c0d0c 100%); }
.hm-v3 .hm-soft { background: linear-gradient(180deg, rgb(255 255 255 / 0.028), rgb(255 255 255 / 0.012)); border-block: 1px solid rgb(255 255 255 / 0.06); }
.hm-v3 .hm-sec { padding-block: clamp(4rem, 3rem + 5vw, 7rem); }
.hm-v3 .hm-sec h2, .hm-v3 .hm-end h2 { font-size: clamp(1.9rem, 1.3rem + 2.2vw, 3rem); line-height: 1.08; letter-spacing: -0.03em; }
.hm-v3 .hm-head .lead { color: var(--c-muted); }

/* Стекло: окна, карточки, мини-картинки */
.hm-v3 .hm-win, .hm-v3 .hm-get__w, .hm-v3 .hm-facts > *, .hm-v3 .hm-mini {
  border: 1px solid rgb(255 255 255 / 0.12); border-radius: 18px;
  background: linear-gradient(180deg, rgb(255 255 255 / 0.07), rgb(255 255 255 / 0.025));
  box-shadow: 0 30px 80px -40px rgb(0 0 0 / 0.9);
}
.hm-v3 .hm-mini { border-radius: 14px; box-shadow: none; }
.hm-v3 .hm-live__bar { border-color: rgb(255 255 255 / 0.09); color: #a5a39b; }
.hm-v3 .hm-live__bar i { background: rgb(255 255 255 / 0.16); }

/* Второй блок: линия */
.hm-v3 .hm-win { box-shadow: 0 40px 100px -40px rgb(0 0 0 / 0.9), 0 0 90px -30px rgb(64 196 140 / 0.14); }
.hm-v3 .hm-chart .ax { stroke: rgb(255 255 255 / 0.14); }
.hm-v3 .hm-chart .ln { stroke: #a6ecca; }
.hm-v3 .hm-chart .goal { stroke: #a6ecca; opacity: 0.35; }
.hm-v3 .hm-chart .p0 { fill: #141514; stroke: #8f8d86; }
.hm-v3 .hm-chart .p1 { fill: #a6ecca; filter: drop-shadow(0 0 8px rgb(79 224 162 / 0.7)); }
.hm-v3 .hm-win__b b { color: #c4f1dc; }

/* Третий блок: числа */
.hm-v3 .hm-facts__n { font-size: clamp(2.75rem, 2rem + 2.6vw, 4.25rem); letter-spacing: -0.04em; background: linear-gradient(180deg, #fff, #b9b7ae); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hm-v3 .hm-facts .is-dark { border-color: rgb(79 224 162 / 0.3); background: linear-gradient(180deg, rgb(64 196 140 / 0.2), rgb(64 196 140 / 0.05)); }
.hm-v3 .hm-facts .is-dark .hm-facts__n { background: linear-gradient(180deg, #e6fbf1, #8fe2bc); -webkit-background-clip: text; background-clip: text; }
.hm-v3 .hm-facts .is-dark small { color: #b7d9ca; }
.hm-v3 .hm-facts small { color: #8f8d86; }

/* Шаги */
.hm-v3 .hm-steps__n { border: 1px solid rgb(79 224 162 / 0.45); background: rgb(64 196 140 / 0.12); color: #c4f1dc; }
@media (min-width: 52rem) { .hm-v3 .hm-steps > li:not(:last-child)::after { background: linear-gradient(90deg, rgb(79 224 162 / 0.4), rgb(255 255 255 / 0.08)); } }
.hm-v3 .hm-mini__q { border-color: rgb(255 255 255 / 0.14); }
.hm-v3 .hm-mini__num { color: #ffb4a3; }

/* Три окна */
.hm-v3 .hm-get__names .hm-bar { background: rgb(255 255 255 / 0.1); }
.hm-v3 .hm-get__names .hm-bar b { background: linear-gradient(90deg, #4fd49b, #b9f5d8); }
.hm-v3 .hm-get__list li { border-color: rgb(255 255 255 / 0.09); }
.hm-v3 .hm-flag.is-warn { color: #ffb4a3; }
.hm-v3 .hm-flag.is-warn::before { background: #ff8e72; box-shadow: 0 0 10px rgb(255 120 90 / 0.7); }

/* Вопросы */
.hm-v3 .hm-faq summary { cursor: pointer; }

/* Нижний блок с полем: то же свечение, что наверху */
.hm-v3 .hm-endglow { position: relative; overflow: hidden; background: #0a0b0b; }
.hm-v3 .hm-endglow::before { content: ""; position: absolute; inset: auto -10% -45% -10%; height: 110%; pointer-events: none; filter: blur(20px);
  background: radial-gradient(45% 55% at 50% 70%, rgb(64 196 140 / 0.18), transparent 70%); }
.hm-v3 .hm-endglow > * { position: relative; }
.hm-v3 .hm-end { border-top: 1px solid rgb(255 255 255 / 0.06); padding-block: clamp(4.5rem, 3rem + 6vw, 8rem); }
.hm-v3 .hm-end .hm-field__box { box-shadow: 0 0 0 1px rgb(255 255 255 / 0.3), 0 20px 60px -14px rgb(64 196 140 / 0.2); }
.hm-v3 .hm-end .hm-field__box:focus-within { box-shadow: 0 0 0 4px #7fb8a6, 0 20px 60px -14px rgb(64 196 140 / 0.2); }
.hm-v3 .site-footer { border-color: rgb(255 255 255 / 0.08); }

/* ───────── Экран ожидания в стиле новой главной (16 ноя) ─────────
   Даниил: «вообще не понятно что у нас загрузка». Кольцо со счётом: внутреннее заполняется по числу ответов, внешняя дуга крутится. */
.hm-wait { min-height: 100vh; }
.hm-wait__main { display: grid; justify-items: center; gap: var(--sp-5); max-width: 44rem; padding-block: clamp(2rem, 1rem + 5vh, 5rem) var(--sp-16); text-align: center; }
.hm-wait__main h1 { font-size: clamp(2rem, 1.3rem + 2.4vw, 3.25rem); line-height: 1.06; letter-spacing: -0.03em; }
.hm-wait__site { display: inline-flex; align-items: center; gap: var(--sp-2); color: #c4f1dc; font-weight: var(--fw-strong); }
.hm-ring { position: relative; width: 8.5rem; height: 8.5rem; margin-block-end: var(--sp-2); filter: drop-shadow(0 0 28px rgb(64 196 140 / 0.3)); }
.hm-ring svg { width: 100%; height: 100%; transform: rotate(-90deg); overflow: visible; }
.hm-ring circle { fill: none; stroke-linecap: round; }
.hm-ring__track { stroke: rgb(255 255 255 / 0.1); stroke-width: 6; }
.hm-ring__fill { stroke: #7fe3b6; stroke-width: 6; transition: stroke-dasharray 0.5s ease; }
.hm-ring__spin { stroke: rgb(255 255 255 / 0.55); stroke-width: 1.5; transform-origin: 60px 60px; animation: hm-spin 1.4s linear infinite; }
.hm-ring p { position: absolute; inset: 0; display: grid; place-content: center; line-height: 1; }
.hm-ring b { font-family: var(--font-heading); font-size: 2.75rem; letter-spacing: -0.04em; font-variant-numeric: tabular-nums; }
.hm-ring span { margin-block-start: 4px; color: #a5a39b; font-size: var(--fs-small); }
.hm-typing { display: inline-flex; gap: 4px; margin-inline-start: 2px; }
.hm-typing i { width: 5px; height: 5px; border-radius: 50%; background: currentColor; animation: hm-typing 1.2s ease-in-out infinite; }
.hm-typing i:nth-child(2) { animation-delay: 0.15s; }
.hm-typing i:nth-child(3) { animation-delay: 0.3s; }
.hm-wait__win { width: 100%; margin-block-start: var(--sp-4); border: 1px solid rgb(255 255 255 / 0.14); border-radius: 20px; background: linear-gradient(180deg, rgb(255 255 255 / 0.09), rgb(255 255 255 / 0.03));
  -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px); box-shadow: 0 50px 120px -30px rgb(0 0 0 / 0.9), 0 0 80px -20px rgb(64 196 140 / 0.16); text-align: left; overflow: hidden; }
.hm-wait__win > div { display: grid; grid-template-columns: 9rem minmax(0, 1fr); gap: var(--sp-2) var(--sp-4); align-items: center; min-height: 3.75rem; padding: var(--sp-3) var(--sp-5); border-bottom: 1px solid rgb(255 255 255 / 0.08); }
.hm-wait__win > div:last-child { border: 0; }
.hm-wait__win dt { color: #a5a39b; font-size: var(--fs-small); }
.hm-wait__win dd { font-weight: var(--fw-strong); }
.hm-wait__names { display: flex; flex-wrap: wrap; gap: 6px; min-height: 1.9rem; }
.hm-wait__names span { padding: 2px 10px; border-radius: 7px; background: rgb(79 224 162 / 0.16); color: #d3f3e3; font-weight: 500; animation: hm-pop 0.35s ease both; }
.hm-wait__win .is-you { background: rgb(255 120 90 / 0.07); }
.hm-wait__win .is-you dd { color: #ffb4a3; }
.hm-wait__note { max-width: 34rem; color: #a5a39b; }
@media (max-width: 34rem) { .hm-wait__win > div { grid-template-columns: minmax(0, 1fr); } }
@media (prefers-reduced-motion: reduce) { .hm-ring__spin, .hm-typing i { animation: none; } }
@keyframes hm-spin { to { transform: rotate(360deg); } }
@keyframes hm-typing { 0%, 60%, 100% { opacity: 0.3; transform: none; } 30% { opacity: 1; transform: translateY(-3px); } }

/* ───────── Результат как отчёт (16 ноя, вторая сборка) ─────────
   Даниил: первая сборка «выглядит как продающая, а не как страница с результатом анализа», карточки «по иишному».
   Теперь это документ: сводка в одном окне, дальше разделы строками (заголовок слева, содержимое справа), без карточек и без кнопки наверху. */
.hm-chat.hm-chat--flat { transform: none; animation: none; box-shadow: none; }
.hm-chat--flat .hm-chat__me, .hm-chat--flat .hm-chat__ai > p, .hm-chat--flat .hm-chat__ai li, .hm-chat--flat .hm-chat__miss { animation: none; }
.hm-get__names .is-you { margin-block-start: var(--sp-2); padding-block-start: var(--sp-4); border-top: 1px solid rgb(255 255 255 / 0.09); color: #ffb4a3; font-weight: var(--fw-strong); }

.hm-rep { max-width: 66rem; padding-block: var(--sp-8) var(--sp-16); }
.hm-rep h1 { font-size: clamp(1.75rem, 1.4rem + 1.2vw, 2.25rem); line-height: 1.15; letter-spacing: -0.02em; }
.hm-rep__sum { display: grid; grid-template-columns: minmax(0, 1fr); margin-block-start: var(--sp-6); border: 1px solid rgb(255 255 255 / 0.12); border-radius: 18px; background: linear-gradient(180deg, rgb(255 255 255 / 0.07), rgb(255 255 255 / 0.025)); overflow: hidden; }
@media (min-width: 52rem) { .hm-rep__sum { grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); } }
.hm-rep__sum > div { padding: var(--sp-6); }
.hm-rep__sum > div + div { border-top: 1px solid rgb(255 255 255 / 0.09); }
@media (min-width: 52rem) { .hm-rep__sum > div + div { border-top: 0; border-left: 1px solid rgb(255 255 255 / 0.09); } }
.hm-rep__label { color: #a5a39b; font-size: var(--fs-small); }
.hm-rep__big { margin-block: var(--sp-2) var(--sp-5); font-family: var(--font-heading); font-size: clamp(3rem, 2rem + 4vw, 4.75rem); font-weight: var(--fw-heading); line-height: 1; letter-spacing: -0.04em; color: #ff9d85; font-variant-numeric: tabular-nums; }
.hm-rep__facts { display: grid; gap: var(--sp-2); }
.hm-rep__facts > div { display: flex; justify-content: space-between; gap: var(--sp-4); padding-block-start: var(--sp-2); border-top: 1px solid rgb(255 255 255 / 0.08); font-size: var(--fs-small); }
.hm-rep__facts dt { color: #a5a39b; }
.hm-rep__sum .hm-get__names { display: grid; gap: var(--sp-3); margin-block-start: var(--sp-4); }

.hm-rep__sec { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--sp-5); padding-block: var(--sp-10); border-bottom: 1px solid rgb(255 255 255 / 0.08); }
@media (min-width: 52rem) { .hm-rep__sec { grid-template-columns: 17rem minmax(0, 1fr); gap: var(--sp-10); } }
.hm-rep__sec h2 { font-size: var(--fs-h3); line-height: 1.2; letter-spacing: -0.01em; }
.hm-rep__sec > div:first-child p { margin-block-start: var(--sp-2); color: var(--c-muted); font-size: var(--fs-small); }
.hm-rep .v2-fold { border-top: 0; }
.hm-rep .v2-fold__head { padding-block-start: 0; }
.hm-rep .hm-chat { margin-block: var(--sp-3); padding: var(--sp-5); border-radius: 14px; }

/* Как AI читает сайт: строки проверки, не карточки */
.hm-rep__checks > li { display: grid; grid-template-columns: 5.5rem minmax(0, 1fr); gap: var(--sp-2) var(--sp-4); padding-block: var(--sp-4); border-bottom: 1px solid rgb(255 255 255 / 0.08); }
.hm-rep__checks > li:first-child { padding-block-start: 0; }
.hm-rep__checks > li:last-child { border: 0; padding-block-end: 0; }
.hm-rep__checks p { margin-block-start: 2px; color: var(--c-muted); font-size: var(--fs-small); }
.hm-rep__state { align-self: start; color: #a5a39b; font-size: var(--fs-small); }
.hm-rep__state.is-bad { color: #ffb4a3; }

/* Что исправить: первый шаг открыт, остальные закрыты */
.hm-rep__steps > li { display: grid; grid-template-columns: 1.75rem minmax(0, 1fr) auto; gap: var(--sp-4); align-items: start; padding-block: var(--sp-4); border-bottom: 1px solid rgb(255 255 255 / 0.08); }
.hm-rep__steps > li:first-child { padding-block-start: 0; }
.hm-rep__steps > li > span:first-child { color: #a5a39b; font-variant-numeric: tabular-nums; }
.hm-rep__steps p { margin-block-start: 2px; color: var(--c-muted); font-size: var(--fs-small); }
.hm-rep__steps .is-locked > div { filter: blur(5px); opacity: 0.55; user-select: none; }
.hm-rep__lock { padding: 2px 10px; border: 1px solid rgb(255 255 255 / 0.18); border-radius: 99px; color: #c9c7bf; font-size: var(--fs-small); }
.hm-rep__cta { display: flex; flex-wrap: wrap; align-items: center; gap: var(--sp-3) var(--sp-5); margin-block-start: var(--sp-6); }
.hm-rep__meta { margin-block-start: var(--sp-6); color: #8f8d86; }
.hm-rep { --c-bar: #8fe2bc; --c-bar-track: rgb(255 255 255 / 0.1); }

/* Третья сборка верха результата (16 ноя): Даниил: первый блок на широком экране «ужас», «по иишному» и «слишком много текста».
   Окно со сводкой убрано. Заголовок со счётом, дальше все разделы одного вида, как «What to fix first», который ему нравится. */
.hm-rep h1 { max-width: 18ch; padding-block: var(--sp-6) var(--sp-4); font-size: clamp(2.25rem, 1.4rem + 3vw, 3.75rem); line-height: 1.05; letter-spacing: -0.035em; }
.hm-rep h1 em { font-style: normal; color: #ff9d85; white-space: nowrap; }
.hm-rep__sec:first-of-type { border-top: 1px solid rgb(255 255 255 / 0.08); }
.hm-rep__names > li { display: grid; grid-template-columns: 7rem minmax(0, 1fr) 4.5rem; gap: var(--sp-4); align-items: center; padding-block: var(--sp-3); border-bottom: 1px solid rgb(255 255 255 / 0.08); }
.hm-rep__names > li:first-child { padding-block-start: 0; }
.hm-rep__names > li:last-child { border: 0; padding-block-end: 0; }
.hm-rep__names .hm-bar { height: 0.5rem; border-radius: 99px; background: rgb(255 255 255 / 0.1); overflow: hidden; }
.hm-rep__names .hm-bar b { display: block; height: 100%; border-radius: 99px; background: linear-gradient(90deg, #4fd49b, #b9f5d8); }
.hm-rep__names span:last-child { text-align: right; font-variant-numeric: tabular-nums; }
.hm-rep__names .is-you { color: #ffb4a3; font-weight: var(--fw-strong); }
.hm-rep .v2-fold > li:last-child { border-bottom: 0; }

/* Четвёртая правка результата (16 ноя): Даниил: на широком экране «всё равно перегружено», подозревает градиент и «странное разделение блоков».
   Причина по мнению CTO: под отчётом лежали сетка и свечение, а линии шли и между разделами, и между каждой строкой. Теперь фон ровный, линии только между разделами. */
.hm-calm.hm-glow { background: var(--c-page); }
.hm-calm.hm-glow::before, .hm-calm.hm-glow::after { display: none; }
.hm-calm .hm-rep { max-width: 58rem; }
.hm-calm .hm-rep__sec { padding-block: var(--sp-12); }
.hm-calm .hm-rep__names > li, .hm-calm .hm-rep__checks > li, .hm-calm .hm-rep__steps > li, .hm-calm .v2-fold > li { border-bottom: 0; }
.hm-calm .hm-rep__names > li { padding-block: var(--sp-2); }
.hm-calm .hm-rep__checks > li, .hm-calm .hm-rep__steps > li { padding-block: var(--sp-3); }
.hm-calm .v2-fold__head { display: none; }
.hm-calm .v2-fold summary { padding-block: var(--sp-2); }
.hm-calm .v2-fold > li:first-of-type summary, .hm-calm .v2-fold__head + li summary { padding-block-start: 0; }
.hm-calm .hm-rep__meta { margin-block-start: var(--sp-8); }

/* Пятая правка результата (16 ноя): Даниил: линии «недостаточно разделяют» блоки. Разделы стали отдельными плашками на чуть более светлом фоне, без линий и рамок. */
.hm-calm .hm-rep { max-width: 62rem; }
.hm-calm .hm-rep h1 { padding-block-end: var(--sp-8); }
.hm-calm .hm-rep__sec, .hm-calm .hm-rep__sec:first-of-type { margin-block-start: var(--sp-4); padding: clamp(1.25rem, 0.8rem + 2vw, 2.5rem); border: 0; border-radius: 20px; background: rgb(255 255 255 / 0.04); }
.hm-calm .hm-chat { background: rgb(255 255 255 / 0.05); border-color: rgb(255 255 255 / 0.1); }

/* Вопросы в результате выглядят как раскрывающиеся строки (16 ноя): Даниил: по плюсикам «не понятно что кликнуть можно».
   Каждая строка это кнопка на своей подложке, справа стрелка в кружке, при наведении строка светлеет, при раскрытии стрелка переворачивается. */
.hm-calm .v2-fold { display: grid; gap: var(--sp-2); }
.hm-calm .v2-fold summary, .hm-calm .v2-fold > li:first-of-type summary, .hm-calm .v2-fold__head + li summary { align-items: center; padding: var(--sp-3) var(--sp-4); border: 1px solid rgb(255 255 255 / 0.1); border-radius: 12px; background: rgb(255 255 255 / 0.04); cursor: pointer; transition: background 0.15s, border-color 0.15s; }
.hm-calm .v2-fold summary:hover { border-color: rgb(255 255 255 / 0.22); background: rgb(255 255 255 / 0.08); }
.hm-calm .v2-fold .v2-q { padding: 0; text-indent: 0; }
.hm-calm .v2-fold .v2-q::before { content: none; }
.hm-calm .v2-fold summary::after { content: ""; flex: none; width: 1.75rem; height: 1.75rem; border-radius: 50%; background: rgb(255 255 255 / 0.1) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23f4f2ec' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M7 10l5 5 5-5'/%3E%3C/svg%3E") center / 1.1rem no-repeat; transition: transform 0.2s; }
.hm-calm .v2-fold details[open] > summary::after { transform: rotate(180deg); }
.hm-calm .v2-fold details[open] > summary { border-color: rgb(255 255 255 / 0.22); }
.hm-calm .v2-open { padding: var(--sp-5) var(--sp-4) var(--sp-6); }

/* ───────── Вход и код в стиле новой главной (16 ноя) ───────── */
.hm-auth { min-height: 100vh; }
.hm-auth__main { display: grid; justify-items: center; padding-block: clamp(2rem, 1rem + 8vh, 7rem) var(--sp-16); }
.hm-auth__box { width: 100%; max-width: 28rem; padding: clamp(1.5rem, 1rem + 2vw, 2.5rem); border: 1px solid rgb(255 255 255 / 0.14); border-radius: 24px; background: linear-gradient(180deg, rgb(255 255 255 / 0.09), rgb(255 255 255 / 0.03));
  -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px); box-shadow: 0 50px 120px -30px rgb(0 0 0 / 0.9), 0 0 80px -20px rgb(64 196 140 / 0.16); }
.hm-auth__box h1 { font-size: clamp(1.75rem, 1.4rem + 1.2vw, 2.25rem); line-height: 1.1; letter-spacing: -0.03em; }
.hm-auth__box .lead { color: var(--c-muted); font-size: var(--fs-body); }
.hm-auth__box .field { gap: var(--sp-3); }
.hm-auth__box .input { min-height: 3.5rem; border-radius: 12px; }
.hm-auth__box .input--code { text-align: center; font-size: 1.75rem; letter-spacing: 0.4em; font-variant-numeric: tabular-nums; }
.hm-auth__box .btn { min-height: 3.5rem; border-radius: 12px; }
.hm-auth__box .check-form__terms { color: #a5a39b; text-align: center; }
.hm-auth__box .input--code { width: 100%; max-width: none; padding-inline-start: 0.4em; }

/* ───────── Десять вопросов в стиле отчёта (16 ноя): ровный фон, список на плашке, как разделы результата ───────── */
.hm-qs { max-width: 46rem; padding-block: var(--sp-10) var(--sp-16); }
.hm-qs h1 { font-size: clamp(2rem, 1.4rem + 2.2vw, 3rem); line-height: 1.06; letter-spacing: -0.035em; }
.hm-qs .lead { color: var(--c-muted); }
.hm-qs .v2-qs { padding: var(--sp-3) clamp(1rem, 0.6rem + 1.5vw, 1.75rem); border: 0; border-radius: 20px; background: rgb(255 255 255 / 0.04); }
.hm-qs .v2-qs > li { border-color: rgb(255 255 255 / 0.07); }
.hm-qs .v2-qs > li:last-child { border-bottom: 0; }
.hm-qs .v2-cta { margin-block-start: var(--sp-4); }

/* ───────── Дашборд после входа (16 ноя): шапка с переключателем сайта, плашки, ровный фон ───────── */
.hm-app__bar { border-bottom: 1px solid rgb(255 255 255 / 0.08); }
.hm-app__barin { display: flex; flex-wrap: wrap; align-items: center; gap: var(--sp-3) var(--sp-6); min-height: 4rem; padding-block: var(--sp-3); }
.hm-app__site { position: relative; }
.hm-app__site summary { display: flex; align-items: center; gap: var(--sp-2); padding: 6px 12px; border: 1px solid rgb(255 255 255 / 0.14); border-radius: 10px; background: rgb(255 255 255 / 0.04); font-weight: var(--fw-strong); cursor: pointer; list-style: none; }
.hm-app__site summary::-webkit-details-marker { display: none; }
.hm-app__site summary::after { content: ""; width: 1rem; height: 1rem; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23f4f2ec' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M7 10l5 5 5-5'/%3E%3C/svg%3E") center / contain no-repeat; }
.hm-app__site summary:hover { background: rgb(255 255 255 / 0.08); }
.hm-app__site > ul { position: absolute; z-index: 5; top: calc(100% + 6px); left: 0; min-width: 14rem; padding: 6px; border: 1px solid rgb(255 255 255 / 0.14); border-radius: 12px; background: #191a19; box-shadow: 0 30px 60px -20px #000; }
.hm-app__site > ul a { display: block; padding: 8px 10px; border-radius: 8px; text-decoration: none; }
.hm-app__site > ul a:hover { background: rgb(255 255 255 / 0.08); }
.hm-app__site > ul li:last-child a { color: #c4f1dc; }
.hm-app__nav { display: flex; gap: var(--sp-2); margin-inline-end: auto; }
.hm-app__nav a { padding: 6px 12px; border-radius: 8px; color: var(--c-muted); text-decoration: none; }
.hm-app__nav a:hover { color: var(--c-text); background: rgb(255 255 255 / 0.06); }
.hm-app__nav a[aria-current="page"] { color: var(--c-text); background: rgb(255 255 255 / 0.1); font-weight: var(--fw-strong); }
.hm-app__user { color: #8f8d86; font-size: var(--fs-small); }

.hm-app { display: grid; gap: var(--sp-4); max-width: 62rem; padding-block: var(--sp-10) var(--sp-16); }
.hm-app h1 { font-size: clamp(2rem, 1.5rem + 1.8vw, 2.75rem); line-height: 1.06; letter-spacing: -0.035em; }
.hm-app h2 { font-size: var(--fs-h3); line-height: 1.2; letter-spacing: -0.01em; }
.hm-app__top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--sp-4); margin-block-end: var(--sp-4); }
.hm-app > h1 { margin-block-end: var(--sp-4); }
.hm-app__period { display: inline-flex; padding: 4px; border-radius: 12px; background: rgb(255 255 255 / 0.06); }
.hm-app__period button { padding: 6px 14px; border: 0; border-radius: 9px; background: none; color: var(--c-muted); font: inherit; font-size: var(--fs-small); cursor: pointer; }
.hm-app__period button[aria-pressed="true"] { background: rgb(255 255 255 / 0.14); color: var(--c-text); font-weight: var(--fw-strong); }
.hm-app__card { padding: clamp(1.25rem, 0.8rem + 2vw, 2.25rem); border-radius: 20px; background: rgb(255 255 255 / 0.04); }
.hm-app__grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--sp-4); }
@media (min-width: 52rem) { .hm-app__grid { grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); } }
.hm-app__big { margin-block: var(--sp-2); font-family: var(--font-heading); font-size: clamp(3rem, 2rem + 4vw, 4.5rem); font-weight: var(--fw-heading); line-height: 1; letter-spacing: -0.04em; color: #ff9d85; }
.hm-app__card .hm-rep__names { margin-block-start: var(--sp-4); }
.hm-app__card .hm-rep__names > li { border: 0; padding-block: var(--sp-2); }
.hm-app__head > * + * { margin-block-start: var(--sp-2); }
.hm-app__row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--sp-4) var(--sp-8); }
.hm-app__row > div { flex: 1 1 20rem; }
.hm-app__row > div > * + * { margin-block-start: 4px; }
.hm-app__launch { display: grid; gap: var(--sp-8); background: linear-gradient(180deg, rgb(64 196 140 / 0.1), rgb(255 255 255 / 0.04) 60%); }
.hm-app__launch h2 { font-size: clamp(1.5rem, 1.2rem + 1.2vw, 2rem); letter-spacing: -0.02em; }
.hm-app__launch > div:first-child p { max-width: 40rem; }
.hm-app__gets { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--sp-5) var(--sp-8); }
@media (min-width: 52rem) { .hm-app__gets { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.hm-app__gets li { display: grid; gap: 4px; align-content: start; }
.hm-app__gets span { color: var(--c-muted); font-size: var(--fs-small); }
.hm-app__quiet { margin-block-start: var(--sp-2); color: var(--c-muted); }

/* Превью линии: пример под лёгким размытием, подпись поверх */
.hm-app__preview { position: relative; margin-block-start: var(--sp-6); border-radius: 14px; overflow: hidden; }
.hm-app__preview svg { display: block; width: 100%; height: auto; filter: blur(1.5px); opacity: 0.55; }
.hm-app__preview .gl line { stroke: rgb(255 255 255 / 0.08); }
.hm-app__preview path { fill: none; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.hm-app__preview .c1, .hm-app__preview .c2 { stroke: #6f6d66; }
.hm-app__preview .me { stroke: #7fe3b6; stroke-width: 4; }
.hm-app__preview .mk { fill: #0c0d0c; stroke: #7fe3b6; stroke-width: 3; }
.hm-app__preview figcaption { position: absolute; inset: auto auto var(--sp-5) var(--sp-5); display: grid; gap: 4px; max-width: 24rem; padding: var(--sp-4) var(--sp-5); border: 1px solid rgb(255 255 255 / 0.14); border-radius: 14px; background: rgb(12 13 12 / 0.85); }
.hm-app__preview figcaption span { color: var(--c-muted); font-size: var(--fs-small); }
@media (max-width: 40rem) { .hm-app__preview figcaption { position: static; max-width: none; margin-block-start: var(--sp-3); } }
.hm-app__preview figcaption { inset: var(--sp-4) var(--sp-4) auto auto; max-width: 21rem; }
@media (max-width: 40rem) { .hm-app__preview figcaption { inset: auto; } }

/* ───────── Личный кабинет с боковым меню (16 ноя, вторая сборка) ─────────
   Даниил: «слева сайдбар с разделами и снизу с профилем пользователя». Сверху логотип и переключатель сайта, внизу пробный период и профиль. */
.hm-dash { display: grid; grid-template-columns: minmax(0, 1fr); min-height: 100vh; }
@media (min-width: 56rem) { .hm-dash { grid-template-columns: 15.5rem minmax(0, 1fr); } }
.hm-side { display: flex; flex-direction: column; gap: var(--sp-5); padding: var(--sp-5) var(--sp-4); border-bottom: 1px solid rgb(255 255 255 / 0.08); background: #0f100f; }
@media (min-width: 56rem) { .hm-side { position: sticky; top: 0; height: 100vh; border-bottom: 0; border-right: 1px solid rgb(255 255 255 / 0.08); } }
.hm-side .logo { padding-inline: var(--sp-2); }
.hm-side__site { position: relative; }
.hm-side__site summary { display: flex; align-items: center; justify-content: space-between; gap: var(--sp-2); padding: 9px 12px; border: 1px solid rgb(255 255 255 / 0.14); border-radius: 10px; background: rgb(255 255 255 / 0.04); font-weight: var(--fw-strong); cursor: pointer; list-style: none; }
.hm-side__site summary::-webkit-details-marker { display: none; }
.hm-side__site summary::after { content: ""; width: 1rem; height: 1rem; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23f4f2ec' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M8 9l4-4 4 4M8 15l4 4 4-4'/%3E%3C/svg%3E") center / contain no-repeat; opacity: 0.7; }
.hm-side__site summary:hover { background: rgb(255 255 255 / 0.08); }
.hm-side__site > ul { position: absolute; z-index: 5; inset: calc(100% + 6px) 0 auto 0; padding: 6px; border: 1px solid rgb(255 255 255 / 0.14); border-radius: 12px; background: #191a19; box-shadow: 0 30px 60px -20px #000; }
.hm-side__site > ul a { display: block; padding: 8px 10px; border-radius: 8px; text-decoration: none; }
.hm-side__site > ul a:hover { background: rgb(255 255 255 / 0.08); }
.hm-side__site > ul li:last-child a { color: #c4f1dc; }
.hm-side__nav { display: grid; gap: 2px; }
.hm-side__nav a { padding: 9px 12px; border-radius: 10px; color: var(--c-muted); text-decoration: none; }
.hm-side__nav a:hover { color: var(--c-text); background: rgb(255 255 255 / 0.05); }
.hm-side__nav a[aria-current="page"] { color: var(--c-text); background: rgb(255 255 255 / 0.1); font-weight: var(--fw-strong); }
.hm-side__foot { display: grid; gap: var(--sp-3); margin-block-start: auto; }
.hm-side__trial { display: grid; gap: var(--sp-2); padding: var(--sp-3); border-radius: 12px; background: rgb(64 196 140 / 0.1); font-size: var(--fs-small); }
.hm-side__trial a { color: #c4f1dc; font-weight: var(--fw-strong); }
.hm-side__user { display: flex; align-items: center; gap: var(--sp-3); padding: 8px; border-radius: 10px; color: var(--c-muted); font-size: var(--fs-small); text-decoration: none; min-width: 0; }
.hm-side__user:hover { background: rgb(255 255 255 / 0.05); color: var(--c-text); }
.hm-side__user i { flex: none; display: grid; place-items: center; width: 2rem; height: 2rem; border-radius: 50%; background: rgb(255 255 255 / 0.12); color: var(--c-text); font-style: normal; font-weight: var(--fw-strong); }
.hm-side__user span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
@media (max-width: 55.99rem) { .hm-side__nav { grid-auto-flow: column; justify-content: start; overflow-x: auto; } .hm-side__foot { display: none; } }

.hm-main { display: grid; align-content: start; gap: var(--sp-4); width: 100%; max-width: 64rem; margin-inline: auto; padding: clamp(1.25rem, 0.8rem + 2.5vw, 3rem); }
.hm-main h1 { font-size: clamp(1.75rem, 1.4rem + 1.2vw, 2.25rem); line-height: 1.1; letter-spacing: -0.03em; }
.hm-main h2 { font-size: var(--fs-h3); line-height: 1.2; letter-spacing: -0.01em; }
.hm-main .hm-app__top { margin-block-end: var(--sp-2); }
.hm-dash.is-running .when-done, .hm-dash:not(.is-running) .when-running { display: none; }
.hm-run { display: flex; align-items: center; gap: var(--sp-5); background: linear-gradient(90deg, rgb(64 196 140 / 0.14), rgb(255 255 255 / 0.04) 70%); }
.hm-run > div > * + * { margin-block-start: 4px; }
.hm-ring--sm { flex: none; width: 3.5rem; height: 3.5rem; margin: 0; filter: none; }
.hm-ring--sm .hm-ring__track, .hm-ring--sm .hm-ring__fill { stroke-width: 9; }
.hm-ring--sm .hm-ring__spin { stroke-width: 3; }

/* ───────── Обзор до запуска: кнопка запуска и пример кабинета с показателями (16 ноя, третья сборка) ───────── */
.hm-main > h1 { margin-block-end: var(--sp-2); }
.hm-start { display: grid; gap: var(--sp-4); justify-items: start; background: linear-gradient(120deg, rgb(64 196 140 / 0.14), rgb(255 255 255 / 0.04) 65%); }
.hm-start h2 { font-size: clamp(1.5rem, 1.2rem + 1.2vw, 2rem); letter-spacing: -0.02em; }
.hm-start > p.muted { max-width: 38rem; }
.hm-start .btn--lg { min-height: 3.75rem; padding-inline: var(--sp-8); font-size: var(--fs-lead); box-shadow: 0 16px 50px -14px rgb(64 196 140 / 0.55); }
.hm-start__change { width: 100%; }
.hm-start__change summary { display: inline-block; color: var(--c-muted); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; list-style: none; }
.hm-start__change summary::-webkit-details-marker { display: none; }
.hm-start__change summary:hover { color: var(--c-text); }
.hm-start__change .hm-field__box { max-width: 30rem; margin-block-start: var(--sp-3); box-shadow: none; }
.hm-start__change input { height: 3rem; }
.hm-start__change .btn { min-height: 3rem; }

.hm-ex { display: grid; gap: var(--sp-4); margin-block-start: var(--sp-6); padding: clamp(0.75rem, 0.5rem + 1.2vw, 1.5rem); border: 1px dashed rgb(255 255 255 / 0.2); border-radius: 26px; }
.hm-ex__tag { display: flex; flex-wrap: wrap; align-items: center; gap: var(--sp-2) var(--sp-3); color: var(--c-muted); font-size: var(--fs-small); }
.hm-ex__tag b { padding: 3px 10px; border-radius: 99px; background: #ffd08a; color: #1c1b19; }
.hm-ex__top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--sp-3); }
.hm-ex__top h2 { font-size: var(--fs-h3); }
.hm-ex__head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--sp-2) var(--sp-5); margin-block-end: var(--sp-5); }
.hm-ex h3 { font-size: var(--fs-body); font-weight: var(--fw-strong); }
.hm-kpis { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--sp-4); }
@media (min-width: 44rem) { .hm-kpis { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.hm-kpi { margin-block: var(--sp-2) 2px; font-family: var(--font-heading); font-size: clamp(2rem, 1.5rem + 1.6vw, 2.75rem); font-weight: var(--fw-heading); line-height: 1; letter-spacing: -0.035em; font-variant-numeric: tabular-nums; }
.hm-delta { color: #a5a39b; font-size: var(--fs-small); font-variant-numeric: tabular-nums; }
.hm-kpis .hm-delta { margin-block-start: var(--sp-3); }
.hm-delta.is-up { color: #8fe2bc; }
.hm-delta.is-down { color: #ffb4a3; }
.hm-app__grid--even { grid-template-columns: minmax(0, 1fr); }
@media (min-width: 60rem) { .hm-app__grid--even { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

.hm-legend { display: flex; flex-wrap: wrap; gap: var(--sp-2) var(--sp-4); color: var(--c-muted); font-size: var(--fs-small); }
.hm-legend li { display: flex; align-items: center; gap: 6px; }
.hm-legend li::before { content: ""; width: 14px; height: 3px; border-radius: 3px; background: #6f6d66; }
.hm-legend .is-me { color: var(--c-text); }
.hm-legend .is-me::before { background: #7fe3b6; }
.hm-legend .is-a::before { background: #b9a7ff; }
.hm-legend .is-b::before { background: #ffd08a; }
.hm-legend .is-c::before { background: #8ab8ff; }
.hm-trend { display: block; width: 100%; height: auto; }
.hm-trend .gl line { stroke: rgb(255 255 255 / 0.08); }
.hm-trend .ax text { fill: #8f8d86; font-size: 13px; font-family: var(--font-body); }
.hm-trend path { fill: none; stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; opacity: 0.75; }
.hm-trend .a { stroke: #b9a7ff; } .hm-trend .b { stroke: #ffd08a; } .hm-trend .c { stroke: #8ab8ff; }
.hm-trend .me { stroke: #7fe3b6; stroke-width: 4; opacity: 1; }
.hm-trend .mk line { stroke: rgb(127 227 182 / 0.35); stroke-dasharray: 3 5; }
.hm-trend .mk circle { fill: #0c0d0c; stroke: #7fe3b6; stroke-width: 3; }
.hm-trend .mk text { fill: #c4f1dc; font-size: 13px; font-family: var(--font-body); }

.hm-tbl { display: grid; gap: var(--sp-3); }
.hm-tbl li { display: grid; grid-template-columns: 7.5rem minmax(0, 1fr) 5.5rem 2.5rem; gap: var(--sp-3); align-items: center; }
.hm-tbl .hm-bar { height: 0.5rem; border-radius: 99px; background: rgb(255 255 255 / 0.1); overflow: hidden; }
.hm-tbl .hm-bar b { display: block; height: 100%; border-radius: 99px; background: #6f6d66; }
.hm-tbl .is-you { font-weight: var(--fw-strong); }
.hm-tbl .is-you .hm-bar b { background: linear-gradient(90deg, #4fd49b, #b9f5d8); }
.hm-tbl li > :nth-child(3), .hm-tbl li > :nth-child(4) { text-align: right; font-variant-numeric: tabular-nums; }
.hm-src { display: grid; gap: var(--sp-4); }
.hm-src li { display: flex; align-items: center; justify-content: space-between; gap: var(--sp-4); }
.hm-src li > div { display: grid; gap: 2px; min-width: 0; }
.hm-src li > div span { color: #a5a39b; font-size: var(--fs-small); }
.hm-chip { flex: none; padding: 3px 10px; border-radius: 99px; background: rgb(255 255 255 / 0.08); color: #c9c7bf; font-size: var(--fs-small); white-space: nowrap; font-variant-numeric: tabular-nums; }
.hm-chip.is-no { background: rgb(255 120 90 / 0.14); color: #ffb4a3; }
.hm-chip.is-yes { background: rgb(79 224 162 / 0.16); color: #c4f1dc; }
.hm-log { display: grid; gap: var(--sp-4); }
.hm-log li { display: grid; gap: 2px; padding-inline-start: var(--sp-4); border-left: 3px solid rgb(255 255 255 / 0.16); }
.hm-log li.is-up { border-color: #7fe3b6; }
.hm-log li.is-down { border-color: #ff9d85; }
.hm-log span { color: #a5a39b; font-size: var(--fs-small); }
@media (max-width: 30rem) { .hm-tbl li { grid-template-columns: 6rem minmax(0, 1fr) 4.5rem; } .hm-tbl li > :nth-child(4) { display: none; } .hm-src li { flex-direction: column; align-items: start; } }

/* ───────── Обзор, четвёртая сборка (16 ноя): до разбора только кнопка; после разбора язык экрана результата, без меток-плашек ───────── */
.hm-dash.is-new .when-done, .hm-dash:not(.is-new) .when-new { display: none; }
.hm-dash.is-new .hm-main { max-width: 52rem; }
.hm-dash.is-new .hm-start { margin-block-start: var(--sp-4); padding: clamp(1.5rem, 1rem + 3vw, 3.5rem); }
.hm-main.hm-calm .hm-rep { max-width: none; padding-block: 0; }
.hm-over__lead { padding-block: var(--sp-2) var(--sp-4); font-family: var(--font-heading); font-size: clamp(1.75rem, 1.3rem + 1.8vw, 2.75rem); font-weight: var(--fw-heading); line-height: 1.08; letter-spacing: -0.03em; }
.hm-over__lead em { font-style: normal; color: #ff9d85; white-space: nowrap; }
.hm-trend--empty .mk circle { fill: #7fe3b6; stroke: none; }
.hm-over__src { display: grid; gap: var(--sp-3); }
.hm-over__src li { display: grid; grid-template-columns: minmax(0, 1fr) 9rem 8.5rem; gap: var(--sp-4); align-items: baseline; }
.hm-over__src li > :nth-child(2) { color: var(--c-muted); font-variant-numeric: tabular-nums; }
.hm-over__src li > :nth-child(3) { text-align: right; }
.hm-over__src .is-no { color: #ffb4a3; }
.hm-over__more { margin-block-start: var(--sp-4); }
@media (max-width: 34rem) { .hm-over__src li { grid-template-columns: minmax(0, 1fr) auto; } .hm-over__src li > :nth-child(3) { grid-column: 1 / -1; text-align: left; } }

/* ───────── Обзор, пятая сборка (16 ноя): первым блоком итог и конкуренты, каждый раскрывается в «где AI его называет и что говорит» ───────── */
.hm-over__first { display: grid; gap: var(--sp-3); padding: clamp(1.25rem, 0.8rem + 2vw, 2.5rem); border-radius: 20px; background: rgb(255 255 255 / 0.04); }
.hm-over__first .hm-over__lead { padding: 0; }
.hm-comp { display: grid; gap: var(--sp-2); margin-block-start: var(--sp-4); }
.hm-comp summary, .hm-comp__you { display: grid; grid-template-columns: 8rem minmax(0, 1fr) 5.5rem 1.75rem; gap: var(--sp-4); align-items: center; padding: var(--sp-3) var(--sp-4); border: 1px solid rgb(255 255 255 / 0.1); border-radius: 12px; background: rgb(255 255 255 / 0.04); }
.hm-comp summary { cursor: pointer; list-style: none; font-weight: var(--fw-strong); transition: background 0.15s, border-color 0.15s; }
.hm-comp summary::-webkit-details-marker { display: none; }
.hm-comp summary:hover, .hm-comp details[open] > summary { border-color: rgb(255 255 255 / 0.22); background: rgb(255 255 255 / 0.08); }
.hm-comp summary::after { content: ""; width: 1.75rem; height: 1.75rem; border-radius: 50%; background: rgb(255 255 255 / 0.1) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23f4f2ec' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M7 10l5 5 5-5'/%3E%3C/svg%3E") center / 1.1rem no-repeat; transition: transform 0.2s; }
.hm-comp details[open] > summary::after { transform: rotate(180deg); }
.hm-comp .hm-bar { height: 0.5rem; border-radius: 99px; background: rgb(255 255 255 / 0.1); overflow: hidden; }
.hm-comp .hm-bar b { display: block; height: 100%; border-radius: 99px; background: linear-gradient(90deg, #4fd49b, #b9f5d8); }
.hm-comp summary > :nth-child(3), .hm-comp__you > :nth-child(3) { text-align: right; font-weight: 400; font-variant-numeric: tabular-nums; }
.hm-comp__you { border-color: transparent; background: none; color: #ffb4a3; font-weight: var(--fw-strong); }
.hm-comp__in { display: grid; gap: var(--sp-5); padding: var(--sp-5) var(--sp-4) var(--sp-4); }
.hm-comp__in p { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 2px var(--sp-4); }
.hm-comp__in p span { color: var(--c-muted); font-variant-numeric: tabular-nums; }
.hm-comp__in blockquote { margin: var(--sp-2) 0 0; padding-inline-start: var(--sp-4); border-left: 2px solid rgb(127 227 182 / 0.5); color: #c9c7bf; }
@media (max-width: 34rem) { .hm-comp summary, .hm-comp__you { grid-template-columns: minmax(0, 1fr) auto 1.75rem; } .hm-comp .hm-bar { display: none; } }
.hm-main h2.hm-over__lead { font-size: clamp(1.75rem, 1.3rem + 1.8vw, 2.75rem); line-height: 1.08; letter-spacing: -0.03em; }
.hm-comp__in li { display: grid; grid-template-columns: minmax(0, 1fr); }
.hm-comp__in p { flex-wrap: nowrap; }
.hm-comp__in p span { flex: none; }
.hm-comp__in blockquote { max-width: 44rem; }

/* ───────── Обзор как витрина разделов (16 ноя, шестая сборка, по описанию Даниила) ───────── */
.hm-dash:not(.is-new) .hm-main { max-width: 84rem; }
.hm-ovw { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--sp-4); align-items: start; }
@media (min-width: 72rem) { .hm-ovw { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.hm-card { display: grid; gap: var(--sp-5); min-width: 0; padding: clamp(1.25rem, 0.9rem + 1.5vw, 2rem); border-radius: 20px; background: rgb(255 255 255 / 0.04); }
.hm-card > header { display: grid; gap: var(--sp-2); }
.hm-main .hm-card h2 { font-size: clamp(1.25rem, 1.1rem + 0.6vw, 1.5rem); line-height: 1.2; letter-spacing: -0.02em; }
.hm-card h2 em { font-style: normal; color: #ff9d85; white-space: nowrap; }
.hm-card__list { display: grid; gap: var(--sp-2); align-content: start; }
.hm-scroll { max-height: 23rem; overflow-y: auto; overscroll-behavior: contain; padding-inline-end: 6px; scrollbar-width: thin; scrollbar-color: rgb(255 255 255 / 0.25) transparent; }
.hm-dd summary { display: flex; align-items: center; gap: var(--sp-4); padding: var(--sp-3) var(--sp-4); border: 1px solid rgb(255 255 255 / 0.1); border-radius: 12px; background: rgb(255 255 255 / 0.04); cursor: pointer; list-style: none; transition: background 0.15s, border-color 0.15s; }
.hm-dd summary::-webkit-details-marker { display: none; }
.hm-dd summary > :first-child { flex: 1 1 auto; min-width: 0; }
.hm-dd summary:hover, .hm-dd[open] > summary { border-color: rgb(255 255 255 / 0.22); background: rgb(255 255 255 / 0.08); }
.hm-dd summary::after { content: ""; flex: none; width: 1.75rem; height: 1.75rem; border-radius: 50%; background: rgb(255 255 255 / 0.1) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23f4f2ec' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M7 10l5 5 5-5'/%3E%3C/svg%3E") center / 1.1rem no-repeat; transition: transform 0.2s; }
.hm-dd[open] > summary::after { transform: rotate(180deg); }
.hm-st { flex: none; color: var(--c-muted); font-size: var(--fs-small); white-space: nowrap; font-variant-numeric: tabular-nums; }
.hm-st.is-no { color: #ffb4a3; }
.hm-st.is-yes { color: #8fe2bc; }
.hm-dd__in { display: grid; gap: var(--sp-5); padding: var(--sp-5) var(--sp-4) var(--sp-4); }
.hm-dd__in > div > * + * { margin-block-start: var(--sp-2); }
.hm-ord { display: grid; gap: 4px; padding-inline-start: 1.4rem; list-style: decimal; }
.hm-ord li::marker { color: #8f8d86; }
.hm-srcs { display: grid; gap: 4px; color: #c9c7bf; font-size: var(--fs-small); overflow-wrap: anywhere; }
.hm-srcs.hm-scroll { max-height: 7.5rem; }
.hm-num { display: inline-grid; place-items: center; width: 1.6rem; height: 1.6rem; margin-inline-end: var(--sp-3); border-radius: 50%; background: rgb(255 255 255 / 0.1); font-style: normal; font-size: var(--fs-small); }
.hm-card > footer { padding-block-start: var(--sp-1); }
.hm-tease { position: relative; display: grid; place-items: center; min-height: 15rem; border-radius: 14px; overflow: hidden; }
.hm-tease svg { position: absolute; inset: 0; width: 100%; height: 100%; filter: blur(5px); opacity: 0.5; }
.hm-tease .gl line { stroke: rgb(255 255 255 / 0.1); }
.hm-tease path { fill: none; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.hm-tease .o { stroke: #6f6d66; }
.hm-tease .me { stroke: #7fe3b6; stroke-width: 4; }
.hm-tease .btn { position: relative; min-height: 3.5rem; padding-inline: var(--sp-8); box-shadow: 0 16px 50px -14px rgb(64 196 140 / 0.55); }
.hm-ord { padding-inline-start: 0; list-style: none; counter-reset: ord; }
.hm-ord li { counter-increment: ord; display: grid; grid-template-columns: 1.6rem minmax(0, 1fr); }
.hm-ord li::before { content: counter(ord); color: #8f8d86; font-variant-numeric: tabular-nums; }

/* Обзор, правка 16 ноя: Даниил: каждый блок во всю ширину содержимого и ниже. Одна колонка, списки ниже, раскрытие в две колонки. */
.hm-dash:not(.is-new) .hm-main { max-width: 68rem; }
@media (min-width: 72rem) { .hm-ovw { grid-template-columns: minmax(0, 1fr); } }
.hm-card { gap: var(--sp-4); padding: clamp(1.1rem, 0.8rem + 1.2vw, 1.75rem); }
.hm-card .hm-scroll.hm-card__list { max-height: 14.5rem; }
.hm-dd summary { padding-block: var(--sp-2); }
.hm-dd__in { gap: var(--sp-4) var(--sp-8); padding-block: var(--sp-4) var(--sp-3); }
@media (min-width: 48rem) { .hm-dd__in { grid-template-columns: repeat(2, minmax(0, 1fr)); } .hm-dd__in > p { grid-column: 1 / -1; } }
.hm-srcs.hm-scroll { max-height: 6rem; }
.hm-tease { min-height: 9rem; }
/* The Trend at the top of the overview (Daniil 26 Nov): before any daily answer only its line and the button, no blurred chart. */
.hm-ovw .hm-tease { min-height: 0; place-items: start; }
.hm-ovw .hm-tease svg { display: none; }
/* №28 (design/daniil-points-2026-11-27.md, part 2, rule 3): the tease clips the button's glow to its own height, and the
   clipped glow stood as a box beside Start tracking. No glow here. */
.hm-ovw .hm-tease .btn { box-shadow: none; }
.hm-card--trend { grid-template-columns: minmax(0, 1fr); }
@media (min-width: 48rem) { .hm-card--trend { grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); align-items: center; gap: var(--sp-8); } }

/* ───────── Кабинет, 17 ноя (чат «Дизайнер Oproq»): запуск отчёта со своими вопросами, экран вопросов, части «о рынке» и «о вас»,
   второй отчёт с закрытыми строками, история отчётов, окно оплаты. Задание Даниила: STATUS, раздел «Отчёты, докупка и свои вопросы». ───────── */
.hm-start__acts { display: flex; flex-wrap: wrap; align-items: center; gap: var(--sp-3); }
.hm-start .hm-start__acts .btn--secondary { border-color: rgb(255 255 255 / 0.2); color: var(--c-text); font-size: var(--fs-body); box-shadow: none; }
.hm-start .hm-start__acts .btn--secondary:hover { border-color: rgb(255 255 255 / 0.4); background: rgb(255 255 255 / 0.06); }

/* Части отчёта: «о рынке» и «о вас» (Даниил 17 ноя: «отчёт один, результата как бы два») */
.hm-part { margin-block-start: var(--sp-5); padding-inline: 2px; font-family: var(--font-heading); font-size: var(--fs-lead); font-weight: var(--fw-heading); letter-spacing: -0.01em; color: #c9c7bf; }
.hm-part:first-child { margin-block-start: 0; }
.hm-old { padding: var(--sp-3) var(--sp-4); border-radius: 12px; background: rgb(255 255 255 / 0.06); }
.hm-old a { margin-inline-start: var(--sp-2); }
.hm-dash:not(.is-old) .hm-old { display: none; }

/* Ещё один отчёт: строки с закрытыми пунктами, как в результате, и одна кнопка */
@media (min-width: 48rem) { .hm-card--more { grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); align-items: start; gap: var(--sp-8); } }
.hm-more { display: grid; gap: var(--sp-3); }
.hm-more > li { display: flex; align-items: center; justify-content: space-between; gap: var(--sp-4); }
.hm-more p { margin-block-start: 2px; color: var(--c-muted); font-size: var(--fs-small); }
.hm-more .hm-rep__lock { flex: none; }
.hm-more__cta { display: flex; flex-wrap: wrap; align-items: center; gap: var(--sp-3) var(--sp-5); margin-block-start: var(--sp-5); }
.hm-dash.is-sub .hm-more .hm-rep__lock, .hm-dash.is-sub .hm-more__cta .muted, .hm-dash.is-sub .hm-side__trial { display: none; }

/* История отчётов: строка это ссылка, открытый отчёт выделен */
.hm-hist { display: grid; gap: var(--sp-2); }
.hm-hist a { display: grid; grid-template-columns: 8rem 8rem minmax(0, 1fr) auto 7.5rem; gap: var(--sp-4); align-items: center; min-height: 3rem; padding: var(--sp-2) var(--sp-4); border: 1px solid rgb(255 255 255 / 0.1); border-radius: 12px; background: rgb(255 255 255 / 0.04); color: inherit; text-decoration: none; transition: background 0.15s, border-color 0.15s; }
.hm-hist a:hover { border-color: rgb(255 255 255 / 0.22); background: rgb(255 255 255 / 0.08); }
.hm-hist a > span { color: var(--c-muted); font-variant-numeric: tabular-nums; }
.hm-hist a > b { font-weight: 400; font-variant-numeric: tabular-nums; }
.hm-hist em { font-style: normal; color: #ffb4a3; }
.hm-hist__go { display: flex; justify-content: flex-end; }
.hm-hist__go::after { content: ""; width: 1.75rem; height: 1.75rem; border-radius: 50%; background: rgb(255 255 255 / 0.1) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23f4f2ec' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M10 7l5 5-5 5'/%3E%3C/svg%3E") center / 1.1rem no-repeat; }
.hm-hist a[aria-current="true"] { border-color: rgb(255 255 255 / 0.32); background: rgb(255 255 255 / 0.1); cursor: default; }
.hm-hist a[aria-current="true"] > b { font-weight: var(--fw-strong); }
.hm-hist a[aria-current="true"] > span { color: var(--c-text); }
.hm-hist a[aria-current="true"] .hm-hist__go::after { content: var(--t-hist-now, "Open now"); width: auto; height: auto; border-radius: 0; background: none; color: #c9c7bf; font-size: var(--fs-small); }
.hm-dash.has-3 .hm-hist--one, .hm-dash:not(.has-3) .hm-hist--three { display: none; }
@media (max-width: 44rem) { .hm-hist a { grid-template-columns: minmax(6rem, 1fr) minmax(0, auto); gap: 2px var(--sp-4); } .hm-hist a > :nth-child(4) { grid-area: 1 / 2; } .hm-hist a > :nth-child(2), .hm-hist a > :nth-child(3) { grid-column: 1; font-size: var(--fs-small); } .hm-hist__go { grid-area: 2 / 2 / 4 / 3; align-self: end; } }

/* Окно оплаты в кабинете: тёмное стекло, выбор набора AI строками */
.hm-dash .v2-modal { place-items: center; padding-block: var(--sp-8); background: rgb(0 0 0 / 0.72); }
.hm-dash .v2-modal__box { max-width: 30rem; border-color: rgb(255 255 255 / 0.14); border-radius: 20px; background: #161716; box-shadow: 0 40px 90px -20px #000; }
.hm-dash .v2-modal__box h2 { font-size: var(--fs-h3); line-height: 1.2; letter-spacing: -0.01em; }
.hm-plans { display: grid; gap: var(--sp-2); margin: 0; padding: 0; border: 0; }
.hm-plans label { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: var(--sp-3); align-items: center; padding: var(--sp-3) var(--sp-4); border: 1px solid rgb(255 255 255 / 0.12); border-radius: 12px; background: rgb(255 255 255 / 0.04); cursor: pointer; }
.hm-plans label:hover { border-color: rgb(255 255 255 / 0.24); }
.hm-plans label:has(input:checked) { border-color: #7fe3b6; background: rgb(64 196 140 / 0.1); }
.hm-plans input { width: 1.1rem; height: 1.1rem; margin: 0; accent-color: #7fe3b6; }
.hm-plans label > span:last-child { color: var(--c-muted); font-size: var(--fs-small); white-space: nowrap; }
.hm-dash .v2-modal .check-form__terms { color: #a5a39b; }

/* Экран «вопросы для полного отчёта»: счётчик из лимита, свой вопрос, список со скроллом, удаление по одному и всех сразу */
.hm-dash:not(.is-new) .hm-main.hm-qed { max-width: 54rem; }
.hm-back a { color: var(--c-muted); text-decoration: none; }
.hm-back a:hover { color: var(--c-text); }
.hm-qed__lead { max-width: 40rem; margin-block-end: var(--sp-2); color: var(--c-muted); }
.hm-qed__head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--sp-3) var(--sp-5); }
.hm-qed__count { display: flex; flex: 1 1 16rem; align-items: center; gap: var(--sp-4); font-variant-numeric: tabular-nums; }
.hm-qed__count > span:first-child { flex: none; }
.hm-qed__count b { font-weight: var(--fw-strong); }
.hm-qed__count .hm-bar { flex: 0 1 12rem; height: 0.4rem; border-radius: 99px; background: rgb(255 255 255 / 0.1); overflow: hidden; }
.hm-qed__count .hm-bar b { display: block; height: 100%; border-radius: 99px; background: linear-gradient(90deg, #4fd49b, #b9f5d8); transition: width 0.2s; }
.hm-qed__link { padding: 0; border: 0; background: none; color: var(--c-muted); font: inherit; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.hm-qed__link:hover { color: var(--c-text); }
.hm-qed__add.hm-field__box { box-shadow: none; }
.hm-qed__add input { height: 3rem; font-size: var(--fs-body); }
.hm-qed__add .btn { min-height: 3rem; }
.hm-qed.is-full .hm-qed__add { opacity: 0.45; }
.hm-qed__hint { font-size: var(--fs-small); }
.hm-qed:not(.is-full) .hm-qed__hint, .hm-qed:not(.is-empty) .hm-qed__empty, .hm-qed.is-empty .hm-qed__list, .hm-qed.is-empty .hm-qed__clear, .hm-qed:not(.is-changed) .hm-qed__restore { display: none; }
.hm-qed__list { display: grid; gap: var(--sp-2); align-content: start; counter-reset: q; }
.hm-card .hm-qed__list.hm-scroll { max-height: clamp(14rem, calc(100vh - 31rem), 36rem); }
.hm-qed__list > li { counter-increment: q; display: grid; grid-template-columns: 1.75rem minmax(0, 1fr) auto auto; gap: var(--sp-3); align-items: center; padding: var(--sp-2) var(--sp-3) var(--sp-2) var(--sp-4); border: 1px solid rgb(255 255 255 / 0.1); border-radius: 12px; background: rgb(255 255 255 / 0.04); }
.hm-qed__list > li::before { content: counter(q); color: #8f8d86; font-size: var(--fs-small); font-variant-numeric: tabular-nums; }
.hm-qed__list > li > i { color: #8fe2bc; font-style: normal; font-size: var(--fs-small); }
.hm-qed__list > li > button { grid-column: 4; width: 1.75rem; height: 1.75rem; padding: 0; border: 0; border-radius: 50%; background: rgb(255 255 255 / 0.1) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23f4f2ec' stroke-width='2.2' stroke-linecap='round'%3E%3Cpath d='M8 8l8 8M16 8l-8 8'/%3E%3C/svg%3E") center / 1rem no-repeat; cursor: pointer; transition: background-color 0.15s; }
.hm-qed__list > li > button:hover { background-color: rgb(255 120 90 / 0.35); }
.hm-qed__empty { padding-block: var(--sp-6); text-align: center; }
.hm-qed__foot { display: flex; flex-wrap: wrap; align-items: center; gap: var(--sp-3) var(--sp-6); margin-block-start: var(--sp-2); }
.hm-qed__foot .btn--lg { min-height: 3.5rem; padding-inline: var(--sp-8); box-shadow: 0 16px 50px -14px rgb(64 196 140 / 0.55); }
.hm-qed__foot .btn--lg[aria-disabled="true"] { opacity: 0.4; box-shadow: none; pointer-events: none; }
.hm-qed__foot > a:not(.btn) { color: var(--c-muted); }
.hm-qed__foot > a:not(.btn):hover { color: var(--c-text); }
.hm-qed__restore { margin-inline-start: auto; }
.hm-more__cta, .hm-old, .hm-qed__hint, .hm-qed__empty { max-width: none; }
.hm-card > header > .muted { max-width: 46rem; }
.hm-card > .hm-qed__head { display: flex; }
.hm-qed__count { max-width: none; }
.hm-qed__count .hm-bar { display: block; flex: 0 1 12rem; min-width: 4rem; }
.hm-card .hm-qed__list.hm-scroll { max-height: clamp(14rem, calc(100vh - 34rem), 36rem); }
.hm-qed__foot { position: sticky; bottom: 0; z-index: 2; margin-block-start: 0; padding-block: var(--sp-3) var(--sp-4); background: linear-gradient(180deg, transparent, var(--c-page) 35%); }

/* ───────── Категории вопросов (17 ноя, дополнение CTO со слов Даниила): названия рабочие, лежат в cats.js.
   Вёрстка не зависит от числа и длины названий: в обзоре переключатель с переносом строк, на экране вопросов группа это раскрывающаяся строка. ───────── */
.hm-cats { display: flex; flex-wrap: wrap; gap: 4px; width: fit-content; max-width: 100%; padding: 4px; border-radius: 12px; background: rgb(255 255 255 / 0.06); }
.hm-cats button { display: inline-flex; align-items: baseline; gap: 6px; padding: 6px 12px; border: 0; border-radius: 9px; background: none; color: var(--c-muted); font: inherit; font-size: var(--fs-small); text-align: left; cursor: pointer; }
.hm-cats button > span:last-child { color: #8f8d86; font-variant-numeric: tabular-nums; }
.hm-cats button:hover { color: var(--c-text); }
.hm-cats button[aria-pressed="true"] { background: rgb(255 255 255 / 0.14); color: var(--c-text); font-weight: var(--fw-strong); }
.hm-cats button[aria-pressed="true"] > span:last-child { color: #c9c7bf; font-weight: 400; }
.hm-cats button:disabled { opacity: 0.45; cursor: default; }
.hm-cats button:disabled:hover { color: var(--c-muted); }
.hm-card__list > li[hidden] { display: none; }

.hm-qed__groups { display: grid; gap: var(--sp-2); }
.hm-qed__group > summary > :first-child { font-weight: var(--fw-strong); }
.hm-qed__group > summary .hm-st b { font-weight: 400; color: var(--c-text); }
.hm-qed__in { display: grid; gap: var(--sp-3); padding: var(--sp-3) 0 var(--sp-3) var(--sp-4); }
.hm-card .hm-qed__group .hm-qed__list.hm-scroll { max-height: clamp(13rem, calc(100vh - 41rem), 30rem); }
.hm-qed__group:not(.is-none) .hm-qed__none, .hm-qed__group.is-none .hm-qed__list { display: none; }
.hm-qed.is-empty .hm-qed__group .hm-qed__list { display: none; }
.hm-qed__none { font-size: var(--fs-small); }
.hm-qed.is-full .hm-qed__add input::placeholder { color: #5f5c55; }
.hm-qed__lead { max-width: none; }
.hm-card .hm-qed__group .hm-qed__list.hm-scroll { max-height: clamp(12rem, calc(100vh - 43rem), 30rem); }

/* Категории скрыты по умолчанию (Даниил 17 ноя: группы на экране вопросов «слишком перегруженно», показывать по клику на кнопку).
   Экран вопросов: один список, кнопка Group by category открывает группы. Обзор: переключатель категорий открывается кнопкой в шапке блока. */
.hm-cats[hidden], .hm-qed__groups[hidden], .hm-qed__list[hidden] { display: none; }
.hm-card__top { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: var(--sp-2) var(--sp-5); }
.hm-card__top .hm-qed__link { font-size: var(--fs-small); }
.hm-qed__tools { display: flex; flex-wrap: wrap; gap: var(--sp-2) var(--sp-5); }
.hm-qed.is-grouped .hm-qed__add--all { display: none; }
.hm-card #q-flat.hm-qed__list.hm-scroll { max-height: clamp(14rem, calc(100vh - 31rem), 40rem); }
.hm-card .hm-qed__group .hm-qed__list.hm-scroll { max-height: clamp(12rem, calc(100vh - 39rem), 30rem); }
.hm-card #q-flat.hm-qed__list.hm-scroll { max-height: clamp(14rem, calc(100vh - 33.5rem), 40rem); }

/* Конец бесплатного результата (17 ноя): базовые шаги открыты, последний блок «что в полном отчёте» строками и одна кнопка. */
.hm-rep__incl { display: grid; gap: var(--sp-4); }
.hm-rep__incl p { margin-block-start: 2px; color: var(--c-muted); font-size: var(--fs-small); }

/* Блок вопросов внутри обзора (17 ноя, Даниил дважды: «перегруженно», «убрать блок с вопросами», показывать по клику на кнопку).
   Отдельного экрана нет: блок скрыт и открывается второй кнопкой плашки запуска. */
.hm-card[hidden] { display: none; }
.hm-start .btn--lg[aria-disabled="true"] { opacity: 0.4; box-shadow: none; pointer-events: none; }
.hm-card.hm-qed #q-flat.hm-qed__list.hm-scroll { max-height: clamp(13rem, calc(100vh - 40rem), 36rem); }
.hm-card.hm-qed .hm-qed__group .hm-qed__list.hm-scroll { max-height: clamp(12rem, calc(100vh - 46rem), 30rem); }
.hm-card > .hm-qed__restore { margin: 0; padding: 0; }

/* Поле «свой вопрос», когда лимит занят (17 ноя, Даниил: «неочевидно, почему нельзя добавить вопрос, когда поле заблюрено»).
   Поле само говорит причину (текст внутри), над ним подсказка при наведении или нажатии. Затемняется подложка, а не вся форма: иначе подсказка тоже бледнеет. */
.hm-qed__add { position: relative; }
.hm-qed.is-full .hm-qed__add { opacity: 1; background: rgb(255 255 255 / 0.42); cursor: not-allowed; }
.hm-qed.is-full .hm-qed__add input, .hm-qed.is-full .hm-qed__add .btn { pointer-events: none; }
.hm-qed.is-full .hm-qed__add input::placeholder { color: #111211; opacity: 0.85; }
.hm-qed.is-full .hm-qed__add .btn { opacity: 0.45; }

/* ───────── Раздел Questions (18 ноя, первый набросок): таблица вопросов и страница одного вопроса ─────────
   Таблица спокойная: одна плашка, тонкие линии между строками, без цветных меток. Короткий вид по умолчанию, все столбцы по ссылке. */
.hm-tools { display: flex; flex-wrap: wrap; align-items: center; gap: var(--sp-3) var(--sp-4); }
.hm-search { flex: 1 1 14rem; max-width: 24rem; height: 2.6rem; padding-inline: var(--sp-4); border: 1px solid rgb(255 255 255 / 0.14); border-radius: 10px; background: rgb(255 255 255 / 0.04); color: var(--c-text); font: inherit; outline: none; }
.hm-search::placeholder { color: #8f8d86; }
.hm-search:focus { border-color: #7fb8a6; }
.hm-tools .btn--sm { min-height: 2.6rem; border-color: rgb(255 255 255 / 0.2); color: var(--c-text); }
.hm-tools .btn--sm[aria-expanded="true"] { background: rgb(255 255 255 / 0.1); }
.hm-tools .hm-qed__link { margin-inline-start: auto; font-size: var(--fs-small); }
.hm-filters { display: flex; flex-wrap: wrap; align-items: center; gap: var(--sp-2); }
.hm-filters[hidden], .hm-qs2 [hidden] { display: none; }
.hm-filters select { height: 2.4rem; max-width: 100%; padding-inline: var(--sp-3) 2rem; border: 1px solid rgb(255 255 255 / 0.14); border-radius: 10px; background: #161716 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23f4f2ec' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M7 10l5 5 5-5'/%3E%3C/svg%3E") right 0.55rem center / 1rem no-repeat; color: #c9c7bf; font: inherit; font-size: var(--fs-small); appearance: none; -webkit-appearance: none; cursor: pointer; }
.hm-filters select.is-on { border-color: rgb(255 255 255 / 0.45); color: var(--c-text); }
/* Questions: the four filters in one row under the search, each with its label (Daniil 27 Nov, №6); they wrap on a narrow
   screen, where a long choice is cut with … and the whole one is in its list. */
.hm-qs2__filters { gap: var(--sp-3) var(--sp-5); }
.hm-filter { display: flex; align-items: center; gap: var(--sp-2); min-width: 0; max-width: 100%; }
.hm-filter__k { flex: none; color: #8f8d86; font-size: var(--fs-small); white-space: nowrap; }
.hm-filter .hm-sel { min-width: 0; }
.hm-filter .hm-sel > summary > span { min-width: 0; overflow: hidden; text-overflow: ellipsis; }
.hm-check { display: inline-flex; align-items: center; gap: var(--sp-2); padding-inline: var(--sp-2); color: #c9c7bf; font-size: var(--fs-small); cursor: pointer; }
.hm-check input { width: 1rem; height: 1rem; margin: 0; accent-color: #7fe3b6; }
.hm-qs2__count { display: flex; flex-wrap: wrap; align-items: baseline; gap: var(--sp-2) var(--sp-4); max-width: none; color: var(--c-muted); font-size: var(--fs-small); }
.hm-qs2__none, .hm-qs2__paid { max-width: none; font-size: var(--fs-small); }

.hm-tablewrap { margin-inline: calc(-1 * var(--sp-3)); overflow-x: auto; scrollbar-width: thin; scrollbar-color: rgb(255 255 255 / 0.25) transparent; }
.hm-qt { width: 100%; border-collapse: collapse; }
.hm-qt th { padding: 0 var(--sp-3) var(--sp-2); color: #a5a39b; font-size: var(--fs-small); font-weight: 400; text-align: left; white-space: nowrap; }
.hm-qt th button { display: inline-flex; align-items: center; gap: 4px; padding: 0; border: 0; background: none; color: inherit; font: inherit; cursor: pointer; }
.hm-qt th button:hover { color: var(--c-text); }
.hm-qt th[aria-sort] button { color: var(--c-text); }
.hm-qt th[aria-sort] button::after { content: ""; width: 0.9rem; height: 0.9rem; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23f4f2ec' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M7 14l5-5 5 5'/%3E%3C/svg%3E") center / contain no-repeat; }
.hm-qt th[aria-sort="descending"] button::after { transform: rotate(180deg); }
.hm-qt td { padding: var(--sp-3); border-top: 1px solid rgb(255 255 255 / 0.07); vertical-align: top; white-space: nowrap; font-variant-numeric: tabular-nums; }
.hm-qt tbody tr { cursor: pointer; transition: background 0.15s; }
.hm-qt tbody tr:hover { background: rgb(255 255 255 / 0.05); }
.hm-qt .hm-qt__q { width: 100%; min-width: 17rem; white-space: normal; }
.hm-qt__q a { display: block; color: inherit; text-decoration: none; }
.hm-qt__q span, .hm-qt__sub { display: block; margin-block-start: 2px; color: #8f8d86; font-size: var(--fs-small); }
.hm-qt .hm-st { font-size: inherit; }
.hm-qt .is-locked, .hm-qt th.is-locked button { color: #5f5c55; }
.hm-qt.is-full td, .hm-qt.is-full th { padding-inline: var(--sp-2); }
.hm-qt.is-full .hm-qt__q { min-width: 15rem; }
.hm-sw { position: relative; width: 2.25rem; height: 1.3rem; padding: 0; border: 0; border-radius: 99px; background: rgb(255 255 255 / 0.16); vertical-align: middle; cursor: pointer; transition: background 0.15s; }
.hm-sw::after { content: ""; position: absolute; top: 3px; left: 3px; width: calc(1.3rem - 6px); height: calc(1.3rem - 6px); border-radius: 50%; background: #f4f2ec; transition: transform 0.15s; }
.hm-sw[aria-checked="true"] { background: #3fb886; }
.hm-sw[aria-checked="true"]::after { transform: translateX(0.95rem); }

/* Страница одного вопроса */
.hm-q1__nav { display: flex; align-items: center; justify-content: space-between; gap: var(--sp-4); max-width: none; color: var(--c-muted); font-size: var(--fs-small); }
.hm-q1__nav a { color: inherit; text-decoration: none; }
.hm-q1__nav a:hover { color: var(--c-text); }
.hm-q1__step { display: flex; align-items: center; gap: var(--sp-2); font-variant-numeric: tabular-nums; }
.hm-q1__step a { display: grid; place-items: center; width: 1.9rem; height: 1.9rem; border-radius: 50%; background: rgb(255 255 255 / 0.1); }
.hm-q1__step a:hover { background: rgb(255 255 255 / 0.2); }
.hm-q1__step a[aria-disabled="true"] { opacity: 0.3; pointer-events: none; }
.hm-q1__step svg { width: 1.1rem; height: 1.1rem; fill: none; stroke: #f4f2ec; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.hm-main.hm-q1 > h1 { max-width: 48rem; margin: 0; font-size: clamp(1.5rem, 1.25rem + 1vw, 2rem); line-height: 1.2; }
.hm-q1__meta { display: flex; flex-wrap: wrap; align-items: center; gap: var(--sp-3) var(--sp-6); max-width: none; margin-block-end: var(--sp-2); color: var(--c-muted); font-size: var(--fs-small); }
.hm-q1__meta label { display: inline-flex; align-items: center; gap: var(--sp-2); color: var(--c-text); cursor: pointer; }
.hm-q1__meta > :nth-child(2) { margin-inline-start: auto; }
.hm-ai { display: grid; gap: var(--sp-3); }
.hm-ai > li { display: grid; grid-template-columns: 6.5rem minmax(0, 1fr) auto; gap: var(--sp-4); align-items: center; }
.hm-ai > li.is-locked { color: #6f6d66; }
.hm-ai > li > :last-child { text-align: right; font-variant-numeric: tabular-nums; }
/* W3-4 (25 ноя), только с пятым AI (GOOGLE_AI_MODE=on): «Google AI Mode» на компьютере в одну строку, на телефоне в две */
.hm-ai:has(> li:nth-child(5)) > li { grid-template-columns: 8.5rem minmax(0, 1fr) auto; }
@media (max-width: 34rem) { .hm-ai:has(> li:nth-child(5)) > li { grid-template-columns: 6.5rem minmax(0, 1fr) auto; gap: var(--sp-3); } }
.hm-days { display: flex; flex-wrap: wrap; gap: 4px; }
.hm-days i { width: 1.1rem; height: 1.1rem; border-radius: 4px; background: rgb(255 255 255 / 0.09); }
.hm-days i.is-yes { background: #4fd49b; }
.hm-ans summary > :first-child { display: flex; flex-wrap: wrap; gap: 2px var(--sp-5); }
.hm-ans summary b { font-weight: var(--fw-strong); font-variant-numeric: tabular-nums; }
.hm-ans summary > :first-child span { color: var(--c-muted); }
.hm-ans .is-flat summary { cursor: default; }
.hm-ans .is-flat summary::after { visibility: hidden; }
.hm-ans .is-flat summary:hover { border-color: rgb(255 255 255 / 0.1); background: rgb(255 255 255 / 0.04); }
.hm-ans__in { display: grid; gap: var(--sp-5); padding: var(--sp-4) 0 var(--sp-3); }
.hm-ans__in .hm-chat { margin: 0; padding: var(--sp-5); border-radius: 14px; }
.hm-ans__in .hm-chat__ai { max-height: 26rem; overflow-y: auto; overscroll-behavior: contain; padding-inline-end: var(--sp-3); scrollbar-width: thin; scrollbar-color: rgb(255 255 255 / 0.25) transparent; }
.hm-ans__in .hm-chat__ai > * + * { margin-block-start: var(--sp-3); }
.hm-ans__in .hm-chat__ai ul { display: grid; gap: 6px; padding-inline-start: 1.2rem; list-style: disc; }
.hm-ans__in .hm-chat__ai ul ul { margin-block-start: 6px; list-style: circle; }
.hm-ans__in .hm-chat__ai li { margin: 0; }
.hm-ans__in .hm-chat__ai p, .hm-ans__in .hm-chat__ai li { max-width: none; }
.hm-ans__cols { display: grid; gap: var(--sp-5) var(--sp-8); }
@media (min-width: 48rem) { .hm-ans__cols { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.hm-ans__cols > div > * + * { margin-block-start: var(--sp-2); }
.hm-ans__cols .hm-ord, .hm-ans__cols .hm-srcs { max-height: 12rem; }
.hm-ord li.is-you { color: #8fe2bc; font-weight: var(--fw-strong); }
.hm-q1__acts { display: flex; flex-wrap: wrap; gap: var(--sp-2) var(--sp-6); }
.hm-qs2__count .hm-qs2__paid { margin-inline-start: auto; }
.hm-card h2 em.is-yes { color: #8fe2bc; }

/* Questions, правки Даниила 18 ноя: свои выпадающие списки фильтров (браузерные «немного уродские»), вид как у переключателя сайта в меню;
   столбцы «сколько раз спрашивали» и «источники»; столбца трекинга нет. */
.hm-sel { position: relative; }
.hm-sel > summary, .hm-sel__flag { display: flex; align-items: center; gap: var(--sp-2); height: 2.4rem; padding-inline: var(--sp-3); border: 1px solid rgb(255 255 255 / 0.14); border-radius: 10px; background: rgb(255 255 255 / 0.04); color: #c9c7bf; font: inherit; font-size: var(--fs-small); white-space: nowrap; cursor: pointer; list-style: none; transition: background 0.15s, border-color 0.15s; }
.hm-sel > summary { padding-inline-end: var(--sp-2); }
.hm-sel > summary::-webkit-details-marker { display: none; }
.hm-sel > summary::after { content: ""; width: 1rem; height: 1rem; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23f4f2ec' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M7 10l5 5 5-5'/%3E%3C/svg%3E") center / contain no-repeat; opacity: 0.7; transition: transform 0.2s; }
.hm-sel[open] > summary::after { transform: rotate(180deg); }
.hm-sel > summary:hover, .hm-sel[open] > summary, .hm-sel__flag:hover { border-color: rgb(255 255 255 / 0.3); background: rgb(255 255 255 / 0.08); }
.hm-sel.is-on > summary, .hm-sel__flag.is-on { border-color: rgb(255 255 255 / 0.5); background: rgb(255 255 255 / 0.1); color: var(--c-text); }
.hm-sel > ul { position: absolute; z-index: 6; top: calc(100% + 6px); left: 0; min-width: max(100%, 13rem); max-width: calc(100vw - 2rem); max-height: 19rem; overflow-y: auto; overscroll-behavior: contain; padding: 6px; border: 1px solid rgb(255 255 255 / 0.14); border-radius: 12px; background: #191a19; box-shadow: 0 30px 60px -20px #000; scrollbar-width: thin; scrollbar-color: rgb(255 255 255 / 0.25) transparent; }
.hm-sel > ul button { display: flex; align-items: center; justify-content: space-between; gap: var(--sp-5); width: 100%; padding: 8px 10px; border: 0; border-radius: 8px; background: none; color: #c9c7bf; font: inherit; font-size: var(--fs-small); text-align: left; white-space: nowrap; cursor: pointer; }
.hm-sel > ul button:hover { background: rgb(255 255 255 / 0.08); color: var(--c-text); }
.hm-sel > ul button[aria-selected="true"] { color: var(--c-text); font-weight: var(--fw-strong); }
.hm-sel > ul button span { color: #8f8d86; font-weight: 400; font-variant-numeric: tabular-nums; }
.hm-sel > ul button:disabled { color: #6f6d66; cursor: default; }
.hm-sel > ul button:disabled:hover { background: none; color: #6f6d66; }
.hm-qt .hm-qt__src { max-width: 15rem; }
.hm-qt__src .hm-qt__sub { overflow: hidden; text-overflow: ellipsis; }
.hm-q1__meta .hm-q1__acts { margin-inline-start: auto; }
.hm-q1__meta a { color: var(--c-text); }
.hm-q1__meta > :nth-child(2) { margin-inline-start: 0; }
.hm-sel.is-right > ul { left: auto; right: 0; }
/* Our drop-down over a <select> (select.mjs; Daniil 27 Nov: "кастомный аккуратный такой… во всех местах где селект"). The
   button looks as the field it stands in (.select in the cabinet, .hm-field__lang on the home page); the list as the
   cabinet's other lists (.hm-sel), white under the home page's white field. The list is a popover: fixed, placed by script. */
.csel { position: relative; display: inline-block; max-width: 100%; vertical-align: middle; }
.select > .csel { display: block; }
.csel > select.csel__native { position: absolute; top: 0; left: 0; width: 1px; height: 1px; min-height: 0; margin: 0; padding: 0; border: 0; opacity: 0; pointer-events: none; overflow: hidden; clip-path: inset(50%); }
.csel > .csel__btn { display: grid; grid-template-columns: minmax(0, 1fr); align-items: center; max-width: 100%; text-align: start; white-space: nowrap; cursor: pointer; }
.csel__val, .csel__size > span { grid-area: 1 / 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.csel__size { display: contents; }
.csel__size > span { height: 0; visibility: hidden; }
.csel > .csel__btn:disabled { opacity: 0.6; cursor: default; }
.csel__list { position: fixed; inset: auto; z-index: 70; box-sizing: border-box; min-width: 10rem; max-width: calc(100vw - 16px); max-height: 19rem; margin: 0; padding: 6px; overflow-x: hidden; overflow-y: auto; overscroll-behavior: contain; border: 1px solid rgb(255 255 255 / 0.14); border-radius: 12px; background: #191a19; color: #c9c7bf; box-shadow: 0 30px 60px -20px #000; font-size: var(--fs-ui); line-height: var(--lh-ui); list-style: none; scrollbar-width: thin; }
.csel__opt { display: flex; align-items: center; justify-content: space-between; gap: var(--sp-4); min-height: 2.25rem; padding: 6px 10px; border-radius: 8px; cursor: pointer; user-select: none; -webkit-user-select: none; }
.csel__opt > span { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.csel__opt.is-active { background: rgb(255 255 255 / 0.08); color: var(--c-text); }
.csel__opt[aria-selected="true"] { color: var(--c-text); font-weight: var(--fw-strong); }
.csel__opt[aria-selected="true"]::after { content: ""; flex: none; width: 1rem; height: 1rem; background: currentColor; -webkit-mask: var(--icon-check) center / contain no-repeat; mask: var(--icon-check) center / contain no-repeat; }
.csel__opt[aria-disabled="true"] { color: #6f6d66; cursor: default; }
@media (pointer: coarse) { .csel__opt { min-height: 2.75rem; } }
.hm-field__lang .csel__list { border-color: rgb(0 0 0 / 0.08); background: #fff; color: #55534d; box-shadow: 0 24px 48px -16px rgb(0 0 0 / 0.7); font-size: var(--fs-body); }
.hm-field__lang .csel__opt.is-active { background: #f0eee8; color: #1c1b19; }
.hm-field__lang .csel__opt[aria-selected="true"] { color: #1c1b19; }

/* Столбец Sources: все источники списком, прокрутка внутри ячейки (Даниил 18 ноя). Видно три строки с половиной: обрезанная четвёртая подсказывает, что список листается. */
.hm-qt .hm-qt__src { max-width: none; }
.hm-qt__srcs { width: 15rem; max-height: 4.55rem; margin-block-start: 2px; padding-inline-end: 6px; overflow-y: auto; overscroll-behavior: contain; color: #8f8d86; font-size: var(--fs-small); line-height: 1.3rem; scrollbar-width: thin; scrollbar-color: rgb(255 255 255 / 0.25) transparent; }
.hm-qt__srcs li { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.hm-qt.is-full .hm-qt__srcs { width: 12rem; }
.hm-qt__srcs { width: 13rem; }

/* ───────── Кабинет из четырёх разделов (18 ноя, структуру принял Даниил): Overview, Questions (темы), Competitors, Site ───────── */
.hm-dash:not(.is-track) .when-track, .hm-dash.is-track .when-notrack { display: none; }
.hm-main .hm-card h2.hm-over__lead { padding: 0; font-size: clamp(1.6rem, 1.2rem + 1.6vw, 2.4rem); line-height: 1.1; letter-spacing: -0.03em; }
.hm-chart { margin: 0; }
.hm-chart svg { display: block; width: 100%; height: auto; }
.hm-chart .gl line { stroke: rgb(255 255 255 / 0.08); }
.hm-chart polyline { fill: none; stroke: #7fe3b6; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.hm-chart circle { fill: #7fe3b6; }
.hm-chart text { fill: #8f8d86; font-size: 13px; font-family: var(--font-body); }
.hm-track { display: grid; gap: var(--sp-2); }
.hm-track p { max-width: none; }
.hm-track a { margin-inline-start: var(--sp-2); }

/* Темы и вопросы внутри темы */
.hm-tools .hm-sel { flex: none; }
.hm-tools .hm-sel > summary { height: 2.6rem; }
.hm-topic > summary, .hm-riv .hm-dd > summary, .hm-riv1 .hm-dd > summary, .hm-site .hm-dd > summary { flex-wrap: wrap; row-gap: 2px; }
.hm-topic > summary > :first-child { font-weight: var(--fw-strong); }
.hm-topic__n { display: block; margin-block-start: 1px; color: #8f8d86; font-size: var(--fs-small); font-weight: 400; }
.hm-topic__in { display: grid; gap: 2px; padding: var(--sp-2) 0 var(--sp-3); }
.hm-topic__in > p { max-width: none; padding-inline: var(--sp-4); color: #c9c7bf; }
.hm-qrow { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 16rem) auto; gap: var(--sp-2) var(--sp-5); align-items: baseline; padding: var(--sp-2) var(--sp-4); border-radius: 10px; color: inherit; text-decoration: none; transition: background 0.15s; }
.hm-qrow:hover { background: rgb(255 255 255 / 0.06); }
.hm-qrow__names { overflow: hidden; color: #8f8d86; font-size: var(--fs-small); text-overflow: ellipsis; white-space: nowrap; }
/* Two names and "and N more" (questions-page.js namesCell): the names are cut, the tail always shows. */
.hm-qrow__names--more { display: flex; min-width: 0; }
.hm-qrow__names--more > :first-child { min-width: 0; overflow: hidden; text-overflow: ellipsis; }
.hm-qrow__more { flex-shrink: 0; white-space: nowrap; }
@media (max-width: 44rem) { .hm-qrow { grid-template-columns: minmax(0, 1fr) auto; } .hm-qrow__names { grid-column: 1 / -1; grid-row: 2; } }

/* Компании и страницы */
.hm-rivals a { grid-template-columns: minmax(8rem, 13rem) minmax(3rem, 1fr) 8.5rem 7rem 1.75rem; }
.hm-rivals .hm-bar { height: 0.45rem; border-radius: 99px; background: rgb(255 255 255 / 0.1); overflow: hidden; }
.hm-rivals .hm-bar b { display: block; height: 100%; border-radius: 99px; background: linear-gradient(90deg, #4fd49b, #b9f5d8); }
.hm-rivals a > b { font-weight: var(--fw-strong); }
.hm-card .hm-rivals.hm-scroll { max-height: 26rem; }
@media (max-width: 44rem) { .hm-rivals a { grid-template-columns: minmax(0, 1fr) auto; } .hm-rivals .hm-bar { display: none; } }
.hm-riv .hm-card .hm-scroll.hm-card__list, .hm-riv1 .hm-card .hm-scroll.hm-card__list { max-height: 24rem; }
.hm-pages { display: grid; gap: var(--sp-2); padding-inline: var(--sp-4); }
.hm-card > .hm-pages { padding-inline: 0; }
.hm-pages.hm-scroll { max-height: 16rem; }
.hm-pages li { display: flex; justify-content: space-between; gap: var(--sp-5); font-size: var(--fs-small); }
.hm-pages li > :first-child { min-width: 0; color: #c9c7bf; overflow-wrap: anywhere; }
.hm-pages li > :last-child { flex: none; color: #8f8d86; font-variant-numeric: tabular-nums; }
.hm-quote { max-width: 46rem; margin: 0 var(--sp-4) var(--sp-3); padding-inline-start: var(--sp-4); border-left: 2px solid rgb(127 227 182 / 0.5); color: #d9d7d0; line-height: 1.55; }
.hm-quote mark { padding: 1px 7px; border-radius: 6px; background: rgb(79 224 162 / 0.16); color: #d3f3e3; }
.hm-riv1 > h1 { margin: 0; }

/* Сайт */
.hm-site__top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--sp-3); }
.hm-site__top p { max-width: none; }
.hm-site__top .btn--sm { border-color: rgb(255 255 255 / 0.2); color: var(--c-text); }
.hm-dash:not(.is-new) .hm-main.hm-site { max-width: 54rem; }

/* Вопросы для ежедневного замера: строка это отметка */
.hm-pick__list { display: grid; gap: var(--sp-2); }
.hm-pickrow { display: grid; grid-template-columns: 1.5rem minmax(0, 1fr); gap: var(--sp-3); align-items: center; width: 100%; padding: var(--sp-2) var(--sp-4); border: 1px solid rgb(255 255 255 / 0.1); border-radius: 12px; background: rgb(255 255 255 / 0.04); color: inherit; font: inherit; text-align: left; cursor: pointer; transition: background 0.15s, border-color 0.15s; }
.hm-pickrow::before { content: ""; width: 1.4rem; height: 1.4rem; border: 1.5px solid rgb(255 255 255 / 0.3); border-radius: 50%; }
.hm-pickrow:hover { border-color: rgb(255 255 255 / 0.22); background: rgb(255 255 255 / 0.08); }
.hm-pickrow[aria-checked="true"] { border-color: rgb(127 227 182 / 0.55); background: rgb(64 196 140 / 0.1); }
.hm-pickrow[aria-checked="true"]::before { border-color: #4fd49b; background: #4fd49b url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230c0d0c' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4 8-9'/%3E%3C/svg%3E") center / 0.9rem no-repeat; }
.hm-pickrow:disabled { opacity: 0.4; cursor: not-allowed; }
.hm-pick .hm-qed__in { padding-inline-start: 0; }
.hm-pick .hm-pick__list { max-height: clamp(12rem, calc(100vh - 44rem), 30rem); overflow-y: auto; overscroll-behavior: contain; padding-inline-end: 6px; scrollbar-width: thin; scrollbar-color: rgb(255 255 255 / 0.25) transparent; }
.hm-own { margin-inline-start: var(--sp-2); color: #8f8d86; }
.hm-q1__meta .btn--sm { min-height: 2.25rem; border-color: rgb(255 255 255 / 0.2); color: var(--c-text); }
.hm-card__top .btn--sm { border-color: rgb(255 255 255 / 0.2); color: var(--c-text); }
.hm-dash.is-track .hm-card--trend { grid-template-columns: minmax(0, 1fr); gap: var(--sp-4); }
.hm-card--trend > header p { max-width: none; }

/* ───────── Строка пояснения под заголовком страницы кабинета (18 ноя, правка CTO: что человек здесь видит и что с этим сделать) ───────── */
.hm-main > .hm-lead { max-width: 46rem; margin-block-start: calc(var(--sp-2) * -1); margin-block-end: var(--sp-2); color: var(--c-muted); }

/* ───────── Рекомендации (18 ноя, раздел вместо Site): действие из трёх частей, отметка «сделано», три действия на обзоре ───────── */
.hm-act { display: grid; gap: var(--sp-2); margin: 0; padding: var(--sp-2) var(--sp-4) var(--sp-3); }
.hm-act > div { display: grid; grid-template-columns: 7.5rem minmax(0, 1fr); gap: var(--sp-4); align-items: baseline; }
.hm-act dt { color: #8f8d86; font-size: var(--fs-small); }
.hm-act dd { margin: 0; max-width: 46rem; color: #c9c7bf; }
.hm-act > div:nth-child(2) dd { color: var(--c-text); font-weight: var(--fw-strong); }
@media (max-width: 44rem) { .hm-act > div { grid-template-columns: minmax(0, 1fr); gap: 0; } }
.hm-rec > summary { flex-wrap: nowrap; }
.hm-rec > summary > :first-child { flex: 1 0 auto; max-width: 100%; }
.hm-rec > summary .hm-rec__names { flex: 0 1 auto; min-width: 0; overflow: hidden; text-overflow: ellipsis; }
/* Draft ready / Writing (Daniil 27 Nov, №9): the tag stays whole; the companies give way first, then the question wraps, so
   the arrow stays in the row. */
.hm-rec > summary .hm-rec__tag { flex: none; }
.hm-rec > summary:has(.hm-rec__tag) > :first-child { flex-shrink: 1; }
.hm-rec > summary:has(.hm-rec__tag) .hm-rec__names { flex-shrink: 1000; }
.hm-rec:not(.is-done) .hm-rec__done, .hm-rec.is-done > summary .hm-st:not(.hm-rec__done) { display: none; }
.hm-rec.is-done > summary > :first-child { color: var(--c-muted); font-weight: 400; }
.hm-rec__foot { max-width: none; padding: var(--sp-3) var(--sp-4) 0; }
.hm-rec__foot .btn--sm { border-color: rgb(255 255 255 / 0.2); color: var(--c-text); }
.hm-rec__qs { display: grid; gap: var(--sp-3); }
.hm-rec .hm-rec__qs, .hm-rec .hm-pages { padding-inline: var(--sp-4); }
.hm-rec__qs.hm-scroll, .hm-recs .hm-pages.hm-scroll { max-height: 13rem; }
.hm-rec__qs li { display: grid; gap: 1px; font-size: var(--fs-small); }
.hm-rec__qs a { color: var(--c-text); text-decoration: none; }
.hm-rec__qs a:hover { text-decoration: underline; }
.hm-rec__qs span { color: #8f8d86; overflow-wrap: anywhere; }
.hm-recs .hm-card .hm-scroll.hm-card__list { max-height: 40rem; }
.hm-lead a { color: var(--c-text); }
@media (max-width: 44rem) { .hm-rec > summary { flex-wrap: wrap; } .hm-rec > summary > :first-child { flex: 1 1 0; } .hm-rec > summary .hm-rec__names, .hm-rec > summary .hm-rec__done, .hm-rec > summary .hm-rec__tag { flex-basis: 100%; order: 3; white-space: normal; } }
.hm-todo { display: grid; gap: var(--sp-2); }
.hm-todo a { display: flex; align-items: center; gap: var(--sp-4); padding: var(--sp-3) var(--sp-4); border: 1px solid rgb(255 255 255 / 0.1); border-radius: 12px; background: rgb(255 255 255 / 0.04); color: inherit; text-decoration: none; transition: background 0.15s, border-color 0.15s; }
.hm-todo a:hover { border-color: rgb(255 255 255 / 0.22); background: rgb(255 255 255 / 0.08); }
.hm-todo a > :first-child { flex: 1 1 auto; min-width: 0; display: grid; gap: 2px; }
.hm-todo b { font-weight: var(--fw-strong); }
.hm-todo a > :first-child > span { color: var(--c-muted); font-size: var(--fs-small); }
.hm-todo .hm-hist__go { flex: none; align-self: center; }

/* ───────── Вход через Google и Apple (18 ноя): две кнопки столбиком над входом по коду, одной высоты с полем почты ───────── */
.hm-auth__sso { display: grid; gap: var(--sp-3); }
.hm-auth__box .hm-sso { gap: var(--sp-3); border-color: rgb(255 255 255 / 0.2); background: rgb(255 255 255 / 0.05); color: var(--c-text); font-weight: var(--fw-strong); }
.hm-auth__box .hm-sso:hover { border-color: rgb(255 255 255 / 0.34); background: rgb(255 255 255 / 0.1); }
.hm-sso svg { flex: none; width: 1.25rem; height: 1.25rem; }
.hm-auth__or { display: flex; align-items: center; gap: var(--sp-4); max-width: none; color: #a5a39b; font-size: var(--fs-small); }
.hm-auth__or::before, .hm-auth__or::after { content: ""; flex: 1; height: 1px; background: rgb(255 255 255 / 0.14); }

/* ───────── Случай «вас называют», страна покупателя, лимиты (18 ноя) ───────── */
.hm-over__lead em.is-yes, .hm-hist em.is-yes { color: #8fe2bc; }
.hm-over__meta { max-width: none; color: #8f8d86; font-size: var(--fs-small); }
.hm-chat__ai mark.is-you { background: rgb(79 224 162 / 0.32); color: #fff; font-weight: var(--fw-strong); }
.hm-rivals a.is-you { border-color: rgb(127 227 182 / 0.45); background: rgb(64 196 140 / 0.1); }
.hm-geo { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px var(--sp-3); color: #c9c7bf; }
.hm-geo b { color: var(--c-text); font-weight: var(--fw-strong); }
.hm-geo .hm-sel > summary { height: auto; padding: 0; border: 0; border-radius: 0; background: none; color: var(--c-muted); font-size: inherit; text-decoration: underline; text-underline-offset: 3px; }
.hm-geo .hm-sel > summary:hover, .hm-geo .hm-sel[open] > summary { background: none; color: var(--c-text); }
.hm-geo .hm-sel > summary::after { display: none; }
.hm-geo__city { display: grid; gap: 4px; padding: 6px 6px 10px; margin-block-end: 6px; border-bottom: 1px solid rgb(255 255 255 / 0.1); }
.hm-geo__city[hidden] { display: none; }
.hm-geo__city label { color: #8f8d86; font-size: var(--fs-small); }
.hm-geo__city input { width: 100%; height: 2.4rem; padding-inline: var(--sp-3); border: 1px solid rgb(255 255 255 / 0.2); border-radius: 8px; background: rgb(255 255 255 / 0.06); color: var(--c-text); font: inherit; font-size: var(--fs-small); }
.hm-lim { display: grid; gap: var(--sp-4); justify-items: start; max-width: 36rem; }
.hm-lim[hidden] { display: none; }
.hm-lim p { font-size: var(--fs-lead); font-weight: var(--fw-strong); }
.hm-end .hm-lim { margin-inline: auto; justify-items: center; }
.hm-saved { max-width: none; padding: var(--sp-3) var(--sp-4); border-radius: 12px; background: rgb(255 255 255 / 0.06); color: #c9c7bf; }
.hm-saved[hidden] { display: none; }
.hm-saved a { margin-inline-start: var(--sp-2); color: var(--c-text); }
.hm-saved:not([hidden]) ~ .hm-saved { margin-block-start: var(--sp-2); } /* the line of the site's language under the saved one (loc-g) */
.hm-q1__acts { display: inline-flex; flex-wrap: wrap; align-items: center; justify-content: flex-end; gap: var(--sp-2) var(--sp-4); }
.hm-main .btn[aria-disabled="true"] { opacity: 0.4; pointer-events: none; }

/* ───────── Тарифы (18 ноя): три тарифа в окне оплаты и тихая страница цен ───────── */
.hm-plans__note { max-width: none; color: #c9c7bf; }
.hm-plans label > span:nth-child(2) { display: grid; gap: 1px; min-width: 0; }
.hm-plans small { color: var(--c-muted); font-size: var(--fs-small); }
.hm-price__page { min-height: 80vh; }
.hm-price { display: grid; gap: var(--sp-6); justify-items: start; max-width: 44rem; padding-block: clamp(2rem, 1rem + 6vh, 5rem) var(--sp-16); }
.hm-price h1 { font-size: clamp(2rem, 1.5rem + 2vw, 3rem); line-height: 1.05; letter-spacing: -0.03em; }
.hm-price > p { max-width: 38rem; color: #c9c7bf; }
.hm-tiers { display: grid; gap: var(--sp-2); width: 100%; }
.hm-tiers li { display: grid; grid-template-columns: 5rem minmax(0, 1fr) auto; gap: var(--sp-4); align-items: baseline; padding: var(--sp-4) var(--sp-5); border-radius: 14px; background: rgb(255 255 255 / 0.05); }
.hm-tiers b { font-size: var(--fs-lead); font-weight: var(--fw-strong); }
.hm-tiers span { color: #c9c7bf; }
.hm-tiers em { font-style: normal; font-weight: var(--fw-strong); white-space: nowrap; font-variant-numeric: tabular-nums; }
@media (max-width: 36rem) { .hm-tiers li { grid-template-columns: minmax(0, 1fr) auto; row-gap: 2px; } .hm-tiers span { grid-column: 1 / -1; grid-row: 2; font-size: var(--fs-small); } }

/* ───────── Правки по отчёту тестировщика «путь до кабинета» (18 ноя): находки 6, 8, 10 ───────── */
.hm-rep__next { max-width: none; margin-block-start: calc(var(--sp-4) * -1); color: var(--c-muted); }
.hm-rep__next a { margin-inline-start: var(--sp-2); color: var(--c-text); }
/* 10: на результате без меток Problem и Missing, на ожидании названия обычным текстом, без зелёных плашек */
.hm-rep__checks > li { grid-template-columns: minmax(0, 1fr); }
.hm-wait__names { gap: 0 0.45em; }
.hm-wait__names span { padding: 0; border-radius: 0; background: none; color: var(--c-text); font-weight: var(--fw-strong); }
.hm-wait__names span:not(:last-child)::after { content: ","; font-weight: 400; }
/* 8: на узком экране вкладки кабинета переносятся, а не обрезаются; пробный период с подпиской и профиль видны строкой под ними */
@media (max-width: 55.99rem) {
  .hm-side { gap: var(--sp-3); }
  .hm-side__nav { display: flex; flex-wrap: wrap; gap: 2px; overflow: visible; }
  .hm-side__foot { display: flex; align-items: center; gap: var(--sp-3); margin-block-start: 0; padding-inline: var(--sp-2); }
  .hm-side__trial { display: flex; flex-wrap: wrap; gap: 0 var(--sp-3); padding: 0; background: none; }
  .hm-side__user { margin-inline-start: auto; padding: 0; }
  .hm-side__user span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
}

/* ───────── Кнопка ежедневного замера по состоянию (18 ноя, тестировщик): в пробном периоде шаг в оплату, у подписчика выбор вопросов ───────── */
.hm-dash.is-sub .only-trial, .hm-dash:not(.is-sub) .only-sub { display: none; }

/* ───────── Правки по отчёту тестировщика о кабинете (18 ноя): названия в ответе ведут на страницу компании ───────── */
.hm-ord a { color: inherit; text-decoration: none; }
.hm-ord a:hover { text-decoration: underline; text-underline-offset: 3px; }

/* ───────── Правки по отчёту тестировщика о тарифах (18 ноя) ───────── */
.hm-price__cta { display: grid; gap: var(--sp-3); justify-items: start; }
.hm-price__cta .check-form__terms { color: #a5a39b; }
.hm-hist a[aria-current="true"] .hm-hist__go::after { content: var(--t-hist-now, "Showing"); }

/* ───────── Ожидание полного отчёта, сбой, пустые разделы, конец пробного периода (18 ноя) ───────── */
.hm-dash:not(.is-failed) .when-failed, .hm-dash.is-failed .when-done { display: none; }
.hm-dash.is-running .hm-main, .hm-dash.is-failed .hm-main { max-width: 52rem; }
.hm-fullrun { display: grid; gap: var(--sp-5); justify-items: start; }
.hm-fullrun__top { display: flex; align-items: center; gap: var(--sp-5); }
.hm-fullrun__top > div:last-child { display: grid; gap: var(--sp-2); }
.hm-ring--md { flex: none; width: 6rem; height: 6rem; margin: 0; filter: none; }
.hm-ring--md b { font-size: 1.9rem; }
.hm-ring--md span { margin-block-start: 2px; }
.hm-fullrun__live { display: grid; gap: var(--sp-3); width: 100%; margin: 0; }
.hm-fullrun__live > div { display: grid; grid-template-columns: 8.5rem minmax(0, 1fr); gap: var(--sp-4); align-items: baseline; }
.hm-fullrun__live dt { color: #8f8d86; font-size: var(--fs-small); }
.hm-fullrun__live dd { margin: 0; }
.hm-fullrun__live > div:last-child dd { color: #ffb4a3; }
.hm-fullrun__fail { max-width: 38rem; font-size: var(--fs-lead); }
.hm-fullrun__fail a { color: var(--c-text); }
.hm-fullrun .btn[hidden] { display: none; }
@media (max-width: 34rem) { .hm-fullrun__top { align-items: flex-start; } .hm-fullrun__live > div { grid-template-columns: minmax(0, 1fr); gap: 2px; } }
/* пустой раздел, пока отчёта нет или он собирается: остаётся заголовок и одна плашка */
.hm-dash.is-waiting .hm-main > :not(h1):not(.hm-waitcard) { display: none; }
.hm-waitcard { display: grid; gap: var(--sp-4); justify-items: start; }
.hm-waitcard p { max-width: 38rem; }
.hm-waitcard .btn { border-color: rgb(255 255 255 / 0.2); color: var(--c-text); }
/* пробный период кончился: тихая строка сверху; кнопки отчёта и замера ведут в окно оплаты */
.hm-ended { max-width: none; padding: var(--sp-3) var(--sp-4); border-radius: 12px; background: rgb(255 255 255 / 0.06); color: #c9c7bf; }
.hm-ended a { margin-inline-start: var(--sp-2); color: var(--c-text); }
.hm-dash.is-sub .only-trial, .hm-dash.is-ended .only-trial, .hm-dash:not(.is-sub) .only-sub, .hm-dash:not(.is-ended) .only-ended { display: none; }

/* ───────── Страница Account и меню без второго сайта (18 ноя) ───────── */
.hm-side__one { padding: 6px 10px 4px; color: #8f8d86; font-size: var(--fs-small); }
.hm-side__user[aria-current="page"] { background: rgb(255 255 255 / 0.1); color: var(--c-text); }
.hm-main.hm-acc { max-width: 46rem; }
.hm-acc__state { display: grid; gap: var(--sp-4); }
.hm-acc__rows { display: grid; gap: var(--sp-2); margin: 0; }
.hm-acc__rows > div { display: grid; grid-template-columns: 8.5rem minmax(0, 1fr); gap: var(--sp-4); align-items: baseline; }
.hm-acc__rows dt { color: #8f8d86; font-size: var(--fs-small); }
.hm-acc__rows dd { margin: 0; overflow-wrap: anywhere; }
.hm-acc__acts { display: flex; flex-wrap: wrap; align-items: center; gap: var(--sp-3) var(--sp-5); max-width: none; }
.hm-acc__acts .btn--secondary { border-color: rgb(255 255 255 / 0.2); color: var(--c-text); }
.hm-acc__out { color: var(--c-muted); }
.hm-acc__out::after { content: " ↗"; }
.hm-acc__more { flex: 0 1 auto; }
.hm-acc__more[open] { flex-basis: 100%; }
.hm-acc__more > summary { display: inline-block; color: var(--c-muted); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; list-style: none; }
.hm-acc__more > summary::-webkit-details-marker { display: none; }
.hm-acc__more > summary:hover { color: var(--c-text); }
.hm-acc__more[open] > div { display: grid; gap: var(--sp-3); max-width: 34rem; margin-block-start: var(--sp-3); }
.hm-acc__more[open] > form { display: flex; max-width: 34rem; margin-block-start: var(--sp-3); box-shadow: none; }
.hm-acc__more:not([open]) > :not(summary) { display: none; }
.hm-acc__more > form input { height: 3rem; }
.hm-acc__more > form .btn { min-height: 3rem; }
.hm-acc__more > div { padding: var(--sp-4); border-radius: 12px; background: rgb(255 255 255 / 0.05); }
.hm-acc__danger { background: #c9523e; color: #fff; box-shadow: none; }
.hm-acc__danger:hover { background: #d9604b; }
.hm-q1__one { max-width: none; font-size: var(--fs-small); }
.hm-q1__one[hidden] { display: none; }
@media (max-width: 30rem) { .hm-acc__rows > div { grid-template-columns: minmax(0, 1fr); gap: 0; } .hm-acc__more > form { flex-direction: column; } }

/* ───────── Правки по отчёту тестировщика об ожидании, аккаунте и пробном периоде (18 ноя) ───────── */
.hm-acc__state[hidden], .hm-acc__acts[hidden] { display: none; }
.hm-card--trend .hm-track p a { margin-inline-start: var(--sp-3); }

/* ───────── Ошибки ввода сайта и потолок на сегодня (19 ноя, тексты для разработки) ───────── */
.hm-field__err { max-width: 36rem; color: #ffb4a3; }
.hm-field__err[hidden] { display: none; }
.hm-field.is-error .hm-field__box { box-shadow: 0 0 0 2px #ff9d85; }
.hm-lim a[hidden] { display: none; }

/* ───────── Кабинет без сайта, потолок на сегодня, тариф закончился (19 ноя) ───────── */
.hm-start[hidden] { display: none; }
.hm-start__site { width: 100%; max-width: 30rem; box-shadow: none; }
.hm-start__site input[type="text"] { height: 3rem; }
.hm-start__site .btn { min-height: 3rem; }
.hm-side__site ul[hidden] { display: none; }
.hm-ended .hm-acc__out { color: var(--c-text); }
.hm-acc__out[hidden] { display: none; }
#site-failed { max-width: 38rem; }
#site-failed[hidden] { display: none; }

/* ───────── Бесплатный результат без ответов и с неполным набором ответов, страница 404 (19 ноя) ───────── */
.hm-rep__none { display: grid; gap: var(--sp-5); justify-items: start; padding-block: var(--sp-8); }
.hm-rep__none[hidden], .hm-rep > [hidden] { display: none; }
.hm-rep__none p { max-width: 38rem; color: #c9c7bf; font-size: var(--fs-lead); }
.hm-rep__none h1, .hm-rep__none p { overflow-wrap: anywhere; } /* a store page's address has no break points */
.hm-rep__next + .hm-rep__next { margin-block-start: 0; }

/* ───────── From design/v2/home.css (20 ноя): тексты для кусков 5–7 and the sign-in lines (the free-result blocks come with slice 4a) ───────── */
/* ───────── Тексты для кусков 5–7 разработки (20 ноя) ───────── */
.hm-auth__box .hm-field__err { max-width: none; font-size: var(--fs-small); }
.hm-start .hm-field__err { max-width: 30rem; }
.hm-qed .hm-field__err { max-width: none; }
.hm-start .btn--secondary:disabled, .hm-field__box .btn:disabled { opacity: 0.4; cursor: default; }
#q-state[hidden], #start-limit[hidden] { display: none; }
.hm-field__err.is-note { color: #c9c7bf; }
.hm-field__err.is-note a { color: var(--c-text); }
.hm-loadfail { display: grid; gap: var(--sp-4); justify-items: start; }
.hm-loadfail[hidden], .hm-main > [hidden], .hm-auth__box > [hidden] { display: none; }
.hm-loadfail p { max-width: 36rem; }
.hm-auth__box .hm-loadfail { justify-items: stretch; }
.hm-auth__box .input:disabled { opacity: 0.5; }
/* на узком экране меню кабинета занимает свою высоту, а не половину экрана, когда содержимого мало (ожидание, сбой, пустой раздел) */
@media (max-width: 55.99rem) { .hm-dash { grid-template-rows: auto 1fr; } }
.check-form__terms a[aria-disabled="true"] { opacity: 0.4; pointer-events: none; text-decoration: none; }

/* oproq-app (20 ноя): No site yet in the menu is a plain line, not a list that opens; a long address in an error line wraps */
.hm-side__site.is-none summary { cursor: default; }
.hm-side__site.is-none summary::after { display: none; }
.hm-side__site.is-none summary:hover { background: rgb(255 255 255 / 0.04); }
.hm-field__err { overflow-wrap: anywhere; }
/* the site form of the dashboard wraps the mockup's field box in .hm-field (for the error line): as wide as the mockup, 30rem */
.hm-start > .hm-field { width: 100%; max-width: 30rem; }

/* oproq-app only: the country line waits for the account's country (not in the mockup, where it is always there) */
.hm-geo[hidden] { display: none; }

/* ───────── From design/v2/home.css (20 ноя, пачка 2): the free result, slice 4a ───────── */
.hm-rep h1 em.is-yes { color: #8fe2bc; }
.hm-rep__names > li.is-you.is-yes, .hm-rep__names > li.is-you.is-yes > span { color: #8fe2bc; }
.v2-fold summary .count.is-yes { color: #8fe2bc; }
.hm-chat__miss.is-yes { border-color: rgb(127 227 182 / 0.45); background: rgb(64 196 140 / 0.1); }
.hm-rep__more { max-width: none; margin-block-start: var(--sp-2); font-size: var(--fs-small); }
.hm-allans .hm-chat__miss { margin-block: var(--sp-5) var(--sp-3); }
.hm-wait__win .is-you.is-yes { background: rgb(64 196 140 / 0.08); }
.hm-wait__win .is-you.is-yes dd { color: #8fe2bc; }
.hm-lim__mine { font-size: var(--fs-body); font-weight: 400; color: #c9c7bf; max-width: 100%; overflow-wrap: anywhere; } /* full links (store pages) have no break points */
.hm-lim .hm-lim__mine a { color: var(--c-text); }
.hm-lim__mine[hidden] { display: none; }
.hm-rep__steps a { color: var(--c-text); }
.hm-chat__miss.is-yes, .hm-chat__miss.is-yes span { color: #8fe2bc; }
.hm-chat__miss.is-yes b { color: #fff; }
.hm-chat__ai mark.is-you { background: #8fe2bc; color: #0c0d0c; font-weight: var(--fw-strong); }
/* «Назван» по цитате (25 ноя, named-quote.md, кусок 2): `Counted because the answer says: “…”`, имя или адрес выделены;
   длинный адрес переносится на узком экране */
.hm-ans__note mark.is-you, .hm-chat__why mark.is-you { padding: 0 3px; border-radius: 4px; background: #8fe2bc; color: #0c0d0c; font-weight: var(--fw-strong); }
.hm-ans__note:has(> mark.is-you), .hm-chat__why { overflow-wrap: anywhere; }
.hm-allans__nav { display: flex; flex-wrap: wrap; align-items: center; gap: var(--sp-2) var(--sp-3); max-width: none; margin-block: var(--sp-4); font-size: var(--fs-small); }
.hm-allans__nav b { font-weight: var(--fw-strong); font-variant-numeric: tabular-nums; }
.hm-allans__nav button:not(.hm-qed__link) { width: 2rem; height: 2rem; border: 0; border-radius: 50%; background: rgb(255 255 255 / 0.1) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23f4f2ec' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M10 7l5 5-5 5'/%3E%3C/svg%3E") center / 1rem no-repeat; cursor: pointer; }
.hm-allans__nav button:first-child { transform: rotate(180deg); }
.hm-allans__nav button:disabled { opacity: 0.3; cursor: default; }
.hm-allans__nav .hm-qed__link { margin-inline-start: auto; }
.v2-open p[hidden], .hm-rep__steps > li[hidden] { display: none; }

/* ───────── Главная по принятому тексту (23 ноя): шапка вне main, таблица «бесплатно и по тарифу» ───────── */
.hm-home { position: relative; }
.hm-home__top { position: absolute; inset-block-start: 0; inset-inline: 0; z-index: 2; }
.hm-home__top .logo { color: #fff; }
.hm-home .hm-hero { padding-block-start: calc(var(--sp-12) + 4rem); }
.hm-home .hm-live__bar h3 { margin-inline-start: var(--sp-2); color: inherit; font: inherit; letter-spacing: normal; }
.hm-home .hm-facts small a { color: inherit; text-decoration: underline; text-underline-offset: 2px; }
.hm-home .hm-endglow::before { inset: auto -10% -10% -10%; height: 100%; background: radial-gradient(45% 50% at 50% 62%, rgb(64 196 140 / 0.18), transparent 70%); }
.hm-home > .site-footer { background: #0a0b0b; color: #bdb9ae; }
/* "Compare:" in the footer (templates/footer.html) on the same line as the links next to it. */
.site-footer__label { display: inline-flex; align-items: center; min-height: var(--sp-8); }
@media (min-width: 60rem) { .hm-home .hm-get { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

.hm-compare { overflow-x: auto; border: 1px solid rgb(255 255 255 / 0.12); border-radius: 18px; background: linear-gradient(180deg, rgb(255 255 255 / 0.07), rgb(255 255 255 / 0.025)); }
.hm-compare table { width: 100%; min-width: 42rem; text-align: left; }
.hm-compare caption { padding: var(--sp-4) var(--sp-5); color: var(--c-muted); font-size: var(--fs-small); text-align: left; }
.hm-compare th, .hm-compare td { padding: var(--sp-4) var(--sp-5); border-top: 1px solid rgb(255 255 255 / 0.09); vertical-align: top; }
.hm-compare thead th { font-weight: var(--fw-strong); white-space: nowrap; }
.hm-compare tbody th { color: var(--c-muted); font-weight: 500; white-space: nowrap; }
.hm-compare tbody td { color: #d9d7d0; }
/* Страница цен: та же таблица, разделы пробного периода и вопросов */
.hm-price .hm-compare { width: 100%; }
.hm-price .hm-compare table { min-width: 0; }
.hm-price__sec { display: grid; gap: var(--sp-4); justify-items: start; width: 100%; margin-block-start: var(--sp-6); }
.hm-price__sec h2 { font-size: clamp(1.5rem, 1.2rem + 1.2vw, 2rem); line-height: 1.1; letter-spacing: -0.02em; }
.hm-price__sec > p { max-width: 38rem; color: #c9c7bf; }
.hm-price__sec .hm-faq { width: 100%; }

/* На телефоне строки таблицы становятся блоками: все три колонки видны без прокрутки вбок */
@media (max-width: 48rem) {
  .hm-compare { overflow-x: visible; }
  .hm-compare table, .hm-compare caption, .hm-compare tbody, .hm-compare tbody tr { display: block; min-width: 0; }
  .hm-compare thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
  .hm-compare tbody tr { padding: var(--sp-4) var(--sp-5); border-top: 1px solid rgb(255 255 255 / 0.09); }
  .hm-compare tbody th { display: block; padding: 0 0 var(--sp-2); border: 0; color: var(--c-text); font-weight: var(--fw-strong); white-space: normal; }
  .hm-compare tbody td { display: grid; grid-template-columns: 7.5rem minmax(0, 1fr); gap: var(--sp-3); padding: var(--sp-1) 0; border: 0; }
  .hm-compare tbody td::before { content: attr(data-col); color: var(--c-muted); font-size: var(--fs-small); }
}

/* ───────── Текстовая страница (23 ноя, из design/v2/home.css): юридические страницы ───────── */
.hm-doc { max-width: 40rem; margin-inline: auto; padding-block: var(--sp-12) var(--sp-16); color: #d9d7d0; line-height: 1.65; }
.hm-doc p, .hm-doc li, .hm-doc dd { max-width: none; }
.hm-doc__date { color: var(--c-muted); font-size: var(--fs-small); }
.hm-doc h1 { margin-block-start: var(--sp-3); color: var(--c-text); font-size: clamp(2.25rem, 1.7rem + 2vw, 3.25rem); line-height: 1.08; letter-spacing: -0.03em; }
.hm-doc__lead { margin-block-start: var(--sp-5); color: var(--c-text); font-size: var(--fs-lead); line-height: 1.55; }
.hm-doc section { margin-block-start: var(--sp-12); scroll-margin-block-start: var(--sp-6); }
.hm-doc h2 { color: var(--c-text); font-size: clamp(1.5rem, 1.25rem + 1vw, 2rem); line-height: 1.15; letter-spacing: -0.02em; scroll-margin-block-start: var(--sp-6); }
.hm-doc h3 { color: var(--c-text); font-size: var(--fs-lead); line-height: 1.3; scroll-margin-block-start: var(--sp-6); }
.hm-doc h2 + p, .hm-doc h3 + p { margin-block-start: var(--sp-3); }
.hm-doc :where(p, ul, ol, dl, .hm-doc__table) + :where(p, ul, ol, dl, .hm-doc__table) { margin-block-start: var(--sp-4); }
.hm-doc :where(p, ul, ol, dl, .hm-doc__table) + h3 { margin-block-start: var(--sp-8); }
.hm-doc ul { display: grid; gap: var(--sp-2); margin-block-start: var(--sp-4); padding-inline-start: 1.25rem; list-style: disc; }
.hm-doc__table { margin-block-start: var(--sp-5); overflow-x: auto; }
.hm-doc table { width: 100%; min-width: 40rem; border-collapse: collapse; font-size: var(--fs-small); line-height: 1.45; }
.hm-doc caption { padding-block-end: var(--sp-3); color: var(--c-muted); text-align: start; }
.hm-doc th, .hm-doc td { padding: var(--sp-3) var(--sp-4) var(--sp-3) 0; border-bottom: 1px solid var(--c-line); text-align: start; vertical-align: top; }
.hm-doc th { color: var(--c-text); font-weight: var(--fw-strong); }
/* На телефоне строки таблиц становятся блоками: длинный текст читается без прокрутки вбок */
@media (max-width: 44rem) {
  .hm-doc__table--stack { overflow-x: visible; }
  .hm-doc__table--stack table, .hm-doc__table--stack tbody, .hm-doc__table--stack tr { display: block; min-width: 0; }
  .hm-doc__table--stack thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
  .hm-doc__table--stack tbody tr { padding-block: var(--sp-4); border-bottom: 1px solid var(--c-line); }
  .hm-doc__table--stack tbody th { display: block; padding: 0 0 var(--sp-2); border: 0; }
  .hm-doc__table--stack tbody td { display: grid; grid-template-columns: 6.5rem minmax(0, 1fr); gap: var(--sp-3); padding: var(--sp-1) 0; border: 0; }
  .hm-doc__table--stack tbody td::before { content: attr(data-col); color: var(--c-muted); }
}
.hm-doc a { color: var(--c-text); text-decoration: underline; text-underline-offset: 3px; }

/* how-we-measure */
.hm-doc__steps { display: grid; gap: var(--sp-8); margin-block-start: var(--sp-6); padding: 0; list-style: none; }
.hm-doc__terms { display: grid; gap: var(--sp-4); margin-block-start: var(--sp-5); }
.hm-doc__terms dt { color: var(--c-text); font-weight: var(--fw-strong); }
.hm-doc .hm-faq { max-width: none; margin-block-start: var(--sp-4); }
.hm-doc .hm-faq summary { color: var(--c-text); }
@media (max-width: 44rem) { .hm-doc__table--stack caption { display: block; } }
.hm-doc__end .btn { margin-block-start: var(--sp-5); }
.hm-doc a.btn { color: var(--c-on-action); text-decoration: none; }

/* W3-3b: что AI говорит о вас (design/v2/home.css, 25 ноя) */
.hm-says__sum { margin: 0; font-size: var(--fs-lead, 1.125rem); color: var(--c-text); }
.hm-says__list { display: grid; gap: 0; margin: 0; padding: 0; list-style: none; }
.hm-says__list > li { display: grid; gap: 4px; padding-block: var(--sp-4); border-top: 1px solid var(--c-line); }
.hm-says__list > li:first-child { border-top: 0; padding-block-start: 0; }
.hm-says__topic { margin: 0; color: #8f8d86; font-size: var(--fs-small); }
.hm-says__fact { margin: 0; color: var(--c-text); }
.hm-says__v { margin: 0; color: #c9c7bf; font-size: var(--fs-small); }
.hm-says__v b { font-weight: var(--fw-strong); }
.hm-says__list > li.is-off .hm-says__v b { color: #ffb4a3; }
.hm-says__list > li.is-ok .hm-says__v b { color: #8fe2bc; }
.hm-says__list > li.is-none .hm-says__v { color: #8f8d86; }
.hm-says__q { margin: 0; color: #8f8d86; font-size: var(--fs-small); overflow-wrap: anywhere; }
.hm-says__q a { color: var(--c-text); white-space: nowrap; }
.hm-chat__ai mark.is-quote { padding: 0; border-radius: 2px; background: rgb(255 196 87 / 0.18); color: #ffe2a6; box-shadow: 0 0 0 2px rgb(255 196 87 / 0.18); }

/* W3-5b: черновик ответа в ветку Reddit (design/v2/home.css, 25 ноя) */
.hm-draft__err { margin: 0; color: #ffb4a3; font-size: var(--fs-small); }
.hm-rd { display: grid; gap: var(--sp-3); padding-inline: var(--sp-4); }
.hm-rd__lim, .hm-rd__lim-more { margin: 0; font-size: var(--fs-small); }
.hm-rd__list { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--sp-3); }
.hm-rd__t { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: var(--sp-3) var(--sp-4); align-items: start; padding-top: var(--sp-3); border-top: 1px solid rgb(255 255 255 / 0.08); }
.hm-rd__t:first-child { padding-top: 0; border-top: 0; }
.hm-rd__title { color: var(--c-text); font-size: var(--fs-small); font-weight: 600; text-decoration: none; }
.hm-rd__title:hover { text-decoration: underline; }
.hm-rd__meta { margin: 2px 0 0; color: #8f8d86; font-size: var(--fs-small); }
.hm-rd__meta a { color: inherit; }
.hm-rd__t > .btn[disabled] { opacity: 0.45; cursor: default; }
.hm-rd__draft { grid-column: 1 / -1; display: grid; gap: var(--sp-3); padding: var(--sp-4); border-radius: 12px; background: rgb(255 255 255 / 0.04); }
.hm-rd__draft > .hm-card__top { display: flex; align-items: center; justify-content: space-between; gap: var(--sp-3); }
.hm-rd__draft .hm-rep__label { margin: 0; }
.hm-rd__text { display: grid; gap: var(--sp-2); max-width: 46rem; color: #c9c7bf; font-size: var(--fs-small); }
.hm-rd__text p, .hm-rd__text ul { margin: 0; }
.hm-rd__text ul { display: grid; gap: 4px; padding-inline-start: 1.25rem; }
.hm-rd__text .is-me { color: var(--c-text); }
.hm-rd__note { margin: 0; color: var(--c-muted); font-size: var(--fs-small); max-width: 46rem; }
.hm-rd__note a { color: inherit; }
.hm-rd__foot { display: flex; flex-wrap: wrap; align-items: center; gap: var(--sp-3); margin: 0; }
.hm-rd__foot .btn--sm { border-color: rgb(255 255 255 / 0.2); color: var(--c-text); }
@media (max-width: 34rem) { .hm-rd__t { grid-template-columns: minmax(0, 1fr); } .hm-rd__t > .btn { justify-self: start; } }

/* Черновик страницы под упущенный вопрос (design/v2/home.css, 5m-article.html, 25 ноя). Text and Questions and answers are
   read only, as in the mockup: # and ## of the draft are h2, ### h3, so the copied HTML keeps the page's levels. */
.hm-draft__body { display: grid; gap: var(--sp-5); }
.hm-draft__part > .hm-card__top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--sp-3); }
.hm-draft__part .btn--sm { border-color: rgb(255 255 255 / 0.2); color: var(--c-text); }
.hm-draft__one { margin: 0; color: var(--c-text); font-size: var(--fs-lead, 1.125rem); max-width: 46rem; overflow-wrap: anywhere; }
.hm-draft__len { margin: 0; color: #8f8d86; font-size: var(--fs-small); }
.hm-draft__text { display: grid; gap: var(--sp-3); max-width: 46rem; color: #c9c7bf; overflow-wrap: anywhere; }
.hm-draft__text h2 { margin: 0; color: var(--c-text); font-size: 1.375rem; line-height: 1.25; }
.hm-draft__text h3, .hm-draft__text h4 { margin: var(--sp-2) 0 0; color: var(--c-text); font-size: 1.0625rem; }
.hm-draft__text p, .hm-draft__text ul, .hm-draft__text ol, .hm-draft__text table { margin: 0; }
.hm-draft__text ul, .hm-draft__text ol { display: grid; gap: 4px; padding-inline-start: 1.25rem; }
.hm-draft__text table { display: block; overflow-x: auto; border-collapse: collapse; font-size: var(--fs-small); }
.hm-draft__text th, .hm-draft__text td { padding: 4px 8px; border: 1px solid var(--c-line); text-align: start; vertical-align: top; }
.hm-draft mark { padding: 0 3px; border-radius: 4px; background: rgb(255 196 87 / 0.14); color: #ffd27a; }
.hm-draft__facts { display: grid; gap: var(--sp-3); margin: 0; padding: 0; list-style: none; color: #c9c7bf; }
.hm-draft__facts li { overflow-wrap: anywhere; }
.hm-draft__facts a { color: var(--c-text); white-space: nowrap; }
.hm-draft__pub .hm-field__box { max-width: 36rem; }
.hm-draft__pub #pub-done { margin: 0; overflow-wrap: anywhere; }
.hm-draft__pub #pub-done a { color: var(--c-text); white-space: nowrap; }
.hm-draft pre { margin: 0; white-space: pre-wrap; overflow-wrap: anywhere; font-size: var(--fs-small); }
/* Pages to write: the button and its line of article-button.js stand in the card's foot as its own items. */
.hm-rec__draft { display: contents; }
.hm-rec__foot .hm-rec__draft .btn { margin-inline-start: 0; } /* first in the foot, as in 5j (k12 puts I did this at the end) */
/* Several drafts at once (articles-batch-1, articles-page.js): the box left of a card of To do, out of its <details> so a tick
   does not open it; every card of the view keeps the column, so none moves when its box comes or goes. Centred on the
   summary's first line (its padding and the 1.75rem round of its arrow). */
.hm-card__list.is-pick > li { display: grid; grid-template-columns: var(--sp-6) minmax(0, 1fr); column-gap: var(--sp-3); align-items: start; }
.hm-card__list.is-pick > li > .check__box { margin-top: calc(var(--sp-2) + (1.75rem - var(--sp-6)) / 2 + 1px); }
.hm-card__list.is-pick > li.hm-rec__gone { display: block; margin-inline-start: calc(var(--sp-6) + var(--sp-3)); }
.hm-batch { display: grid; gap: var(--sp-2); }
.hm-batch p { margin: 0; }
/* Write {count} drafts under the cards (QA articles-batch-1, 2): on the bottom edge of the screen while the list goes on under
   it, in the flow after the list, so it covers no last card; the card's own colour over the page, so no card shows through. */
.hm-batch__go { position: sticky; bottom: 0; z-index: 2; display: flex; flex-wrap: wrap; align-items: center; gap: var(--sp-2) var(--sp-3); padding-block: var(--sp-3); background: linear-gradient(var(--c-surface), var(--c-surface)), var(--c-page); }
.hm-batch__go .btn:disabled { opacity: 0.4; cursor: default; }
/* Claude answers only the first 10 tracked questions (design/v2/home.css, 25 Nov): the mark of a pick row, the line under the
   count, the line on the question page. On a narrow screen the mark goes under the text (the list's own scroll is off in k16.css). */
.hm-pickrow:has(.hm-pickrow__ai) { grid-template-columns: 1.5rem minmax(0, 1fr) auto; }
.hm-pickrow__ai { padding: 2px var(--sp-2); border: 1px solid rgb(255 255 255 / 0.16); border-radius: 999px; color: rgb(255 255 255 / 0.66); font-size: 0.8125rem; line-height: 1.4; white-space: nowrap; }
.hm-qed__claude { margin: var(--sp-2) 0 0; font-size: 0.875rem; }
.hm-claude-note { margin: var(--sp-2) 0 0; font-size: 0.875rem; }
@media (max-width: 40rem) {
  .hm-pickrow:has(.hm-pickrow__ai) { grid-template-columns: 1.5rem minmax(0, 1fr); }
  .hm-pickrow__ai { grid-column: 2; justify-self: start; }
}
/* The topics of /app/tracking (Daniil's finding 6): on a phone "{c} picked, {k} without Claude" goes under the name, as k19.css #sites. */
@media (max-width: 36rem) {
  .hm-pick .hm-qed__group > summary { display: grid; grid-template-columns: minmax(0, 1fr) auto; column-gap: var(--sp-3); row-gap: 2px; }
  .hm-pick .hm-qed__group > summary > .hm-st { grid-column: 1; grid-row: 2; justify-self: start; }
  .hm-pick .hm-qed__group > summary::after { grid-column: 2; grid-row: 1 / span 2; align-self: center; }
}

/* №1(б) of 25 Nov: the description field when the site could not be read, Check for free under it (design/v2/home.css). */
.hm-read__desc { display: grid; gap: var(--sp-2); margin-block-start: var(--sp-3); }
.hm-read__desc > .btn { justify-self: start; margin-block-start: var(--sp-2); }
@media (max-width: 34rem) { .hm-read__desc > .btn { justify-self: stretch; justify-content: center; } }
.hm-read__desc textarea { width: 100%; padding: var(--sp-3); border: 1px solid rgb(255 255 255 / 0.16); border-radius: 10px; background: rgb(255 255 255 / 0.04); color: inherit; font: inherit; resize: vertical; }

/* Home edits of 25 Nov (marketing/seo/handoff/home-2026-11-25.md): the line under both forms (edit 3), and room above the
   field #site when the button after the result examples (edit 6) scrolls to it. The items of #trial-and-plan (edit 1) use
   the cards of #missing (.hm-facts) as they are. */
.hm-field__note { color: var(--c-muted); font-size: var(--fs-small); }
#site { scroll-margin-block: var(--sp-16); }

/* Cabinet after ux-tester 25 Nov (design/reviews/cabinet-2026-11-25.md, piece F2 of product/dev/tasks/cabinet-ux-1125.md).
   4: on a phone no list and no answer has a window of its own, so a swipe always moves the page; a long list shows its first
   rows and Show all (report-view.js foldList), which is not there on a wider screen, where the list keeps its window. */
.hm-fold { display: none; }
@media (max-width: 40rem) {
  .hm-scroll, .hm-ans__in .hm-chat__ai { max-height: none !important; overflow-y: visible !important; overscroll-behavior: auto; padding-inline-end: 0; }
  .hm-fold { display: block; }
  .is-folded > .hm-fold__x { display: none; }
}
/* 10: the client's row among the companies of the overview, as on Competitors; it does not open. */
#c-rivals .hm-dd__row { flex-wrap: nowrap; }
#c-rivals .hm-dd__row > .hm-hist__go { flex: none; }
#c-rivals .hm-dd__row.is-you { border-color: rgb(127 227 182 / 0.45); background: rgb(64 196 140 / 0.1); }
#c-rivals .hm-dd__row.is-you > :first-child { font-weight: var(--fw-strong); }
/* 9: Write a draft is the last line of the count's card, its line on its own muted line under it. */
#q-article { display: grid; justify-items: start; gap: var(--sp-2); }
#q-article > span { font-size: var(--fs-small); }
#q-article > span:empty { display: none; }
/* Small 3: with one report its row says nothing more than itself. */
.hm-hist:not(:has(> li + li)) a[aria-current="true"] .hm-hist__go::after { content: none; }
/* Small 6: in the text of an answer only the client has a fill; the other companies are bold. */
.hm-ans .hm-chat__ai mark:not(.is-you):not(.is-quote) { padding: 0; border-radius: 0; background: none; color: inherit; font-weight: var(--fw-strong); }
/* ux-tester 26 Nov (strings, 9): no break inside a word in the report history on a narrow screen ("questi ons", "Chat GPT"). */
.hm-hist a > * { overflow-wrap: normal; word-break: normal; hyphens: none; }
/* Site pages 26 Nov: label above a translated example on language home pages ("Example from an English check, translated"). */
.hm-chat__label { margin: 0 0 var(--sp-3); color: #8f8b80; font-size: var(--fs-small); }
/* Site pages 26 Nov: Korean wraps between words (eojeol), not inside a word; site pages only, not the cabinet. */
html:lang(ko) body:not(.hm-dash) { word-break: keep-all; overflow-wrap: break-word; }
/* Site pages 26 Nov: on language pages the chart labels are longer than "Named in 20 of 100"; let them wrap instead of being cut on a phone. */
html:not([lang="en"]) .hm-win__a b, html:not([lang="en"]) .hm-win__b b { white-space: normal; text-wrap: balance; }
