/* Страница «Запросы» — только своё: сферы-раскрытия, пары «как сейчас →
   чего хочу», сравнение «было → стало». Общий вид страницы (полоса, цвета,
   заголовки, капсулы, значки) берётся из page.css, который подключён выше. */

/* Второстепенный текст — курсивная Lora. */
.lead-p, .sph .ttl small, .pair .why, .more .txt, .sec > .sub2 {
  font-family: "Lora", Georgia, "Times New Roman", serif; font-style: italic; font-weight: 400;
}

/* Темы запросов: прозрачные капсулы, только контур. */
.chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin: 22px auto 0; max-width: 700px; }
.chip {
  display: inline-flex; align-items: center; justify-content: center; min-height: 40px;
  padding: 8px 20px; border-radius: 999px; border: 1.5px solid var(--pom); color: var(--pom);
  background: transparent; text-decoration: none; font-size: 14.5px; font-weight: 600;
  transition: background .16s, color .16s, border-color .16s, transform .16s;
}
.chip:hover { background: var(--pom); color: #fff; transform: translateY(-2px); }
@media (max-width: 600px) { .chip { font-size: 13.5px; padding: 7px 15px; min-height: 38px; } .chips { gap: 8px; } }

/* Строка во всю полосу: узкая колонка оставляла пустое поле справа. */
.sec > p, .lead-p, .said, .sec > .bridge p { max-width: none; }

/* Заголовок раздела со значком: значок висит слева, черта под всей строкой. */
.sec > h2 { display: flex; align-items: flex-start; gap: 10px; }
.sec > h2 .ic { width: 21px; height: 21px; flex: 0 0 21px; margin-top: 2px; }

/* Пустое поле под снимком. Общий запас высоты в 540 px рассчитан на страницы
   с длинным текстом поверх фотографии; здесь текста меньше, и когда снимок
   выходит ниже этой отметки, под ним оставалась пустая полоса. Запас ужат
   до высоты самой накладки: замер показал, что заголовок, лид и кнопки тем
   укладываются в 382 px на любой ширине от 900 px. Нижнее поле снято,
   первый раздел подтянут вплотную. */
@media (min-width: 900px) { .ztop { min-height: 400px; } }
.ztop { margin-bottom: 0; }
main > .wrap > .sec:first-child { margin-top: 20px; }

/* Реплики клиента. Пропись здесь пробовали: на экране она не читается,
   поэтому набор обычный, как на остальной странице. Значок стоит отдельной
   колонкой, текст под него не подтекает. */
.said {
  display: flex; align-items: flex-start; gap: 12px;
  font-size: 15.5px; line-height: 1.45; margin: 0 0 9px; padding-left: 14px;
  color: var(--ink);
}
.said:last-of-type { margin-bottom: 0; }

/* Значок по смыслу фразы. Небесно-голубой: единственный холодный цвет на
   странице, поэтому реплики читаются как чужой голос, а не как наш текст.
   Контур, без заливки: залитое пятно весило бы больше самой строки. */
.said .sk {
  flex: 0 0 23px; width: 23px; height: 23px; margin-top: 1px;
  fill: none; stroke: #5e9fd0; stroke-width: 1.7;
  stroke-linecap: round; stroke-linejoin: round;
}
@media (max-width: 600px) {
  .said { gap: 10px; padding-left: 12px; }
  .said .sk { flex-basis: 21px; width: 21px; height: 21px; margin-top: 2px; }
}

/* Сфера: строка-раскрытие. Значок, название и смысл в одну строку, тонкая
   линия. Высота строки вдвое меньше прежней: девять тем должны читаться
   списком с одного взгляда, а не занимать экран за экраном. */
/* Своего запаса под липкую шапку здесь не держим: он перебивал общее
   правило из page.css, и на узком экране заголовок темы уезжал под шапку. */
.sph { border-bottom: 1px solid var(--hair); }
.sph:first-of-type { border-top: 1px solid var(--hair); }
.sph > summary {
  list-style: none; cursor: pointer; padding: 7px 30px 7px 0; position: relative;
  display: flex; align-items: center; gap: 12px;
}
.sph > summary::-webkit-details-marker { display: none; }

/* Значок темы: тёплая охра на светлом янтарном круге. Круг, а не квадрат;
   цвет не совпадает ни с тёмным названием, ни с серым смыслом рядом. */
.ic-s {
  flex: 0 0 38px; width: 38px; height: 38px; border-radius: 50%;
  background: linear-gradient(145deg, #f7e2bc, #efd096);
  display: inline-flex; align-items: center; justify-content: center;
  transition: background .16s, transform .16s;
}
.ic-s svg {
  width: 23px; height: 23px; fill: none; stroke: var(--pom);
  stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round;
}
.sph > summary:hover .ic-s { background: linear-gradient(145deg, #f2d7a4, #e4bd6f); transform: scale(1.06); }
.sph[open] > summary .ic-s { background: linear-gradient(145deg, #eccb8e, #ddb15c); }

.sph .ttl { font-size: 17px; font-weight: 700; color: var(--ink); line-height: 1.3; }
.sph .ttl small { font-weight: 400; font-size: 14.5px; color: var(--ink-3); margin-left: 10px; }
.sph > summary::after {
  content: ""; position: absolute; right: 6px; top: 50%; margin-top: -6px;
  width: 9px; height: 9px; border-right: 2px solid var(--ink-3); border-bottom: 2px solid var(--ink-3);
  transform: rotate(45deg); transition: transform .2s;
}
.sph[open] > summary::after { transform: rotate(-135deg); margin-top: -2px; }
.sph .inner { padding: 4px 0 18px 46px; }
@media (max-width: 700px) {
  .sph .ttl small { display: block; margin: 2px 0 0; }
  .sph .inner { padding-left: 0; }
}

/* Кнопка «Свернуть» в конце раздела: дочитал до низа — закрыл здесь же,
   не отматывая обратно к заголовку. */
.svernut {
  display: inline-flex; align-items: center; gap: 9px; margin: 20px 0 0;
  min-height: 42px; padding: 9px 20px; cursor: pointer;
  background: #fbf1e2; border: 1.5px solid var(--gold); border-radius: 999px;
  color: var(--pom); font: inherit; font-size: 15px; font-weight: 600;
  transition: background .16s, color .16s;
}
.svernut::before {
  content: ""; width: 8px; height: 8px;
  border-left: 2.2px solid currentColor; border-top: 2.2px solid currentColor;
  transform: rotate(45deg); margin-top: 3px;
}
.svernut:hover { background: var(--pom); border-color: var(--pom); color: #fff; }
.sph p, .pair p, .more .txt, .bridge p { max-width: none; }

/* Пара «как сейчас → чего хочу». Сейчас — обычным текстом, желание — акцентом. */
.pair { margin: 0 0 26px; }
.pair:last-of-type { margin-bottom: 0; }
.pair .now { font-size: 17px; line-height: 1.55; color: var(--ink); margin: 0 0 10px; }
.pair .why { font-size: 16px; color: var(--ink-3); margin: 0 0 10px; }
.pair .want {
  font-size: 17px; color: var(--pom); font-weight: 600; margin: 0;
  padding-left: 16px; border-left: 2px solid var(--gold);
}

/* Свёрнутый остаток — текстом через точку, а не списком-раздаткой. */
.more { margin: 22px 0 0; }
.more > summary {
  list-style: none; cursor: pointer; color: var(--pom); font-size: 16px;
  min-height: 40px; display: inline-flex; align-items: center; border-bottom: 1px dotted var(--pom);
}
.more > summary::-webkit-details-marker { display: none; }
.more .txt { margin: 12px 0 0; color: var(--ink-2); font-size: 16px; line-height: 1.72; }

/* ── Сейчас → после освобождения ─────────────────────────────────────────
   Прошлая версия была сделана топорно, и справедливо: два плоских цветных
   куска встык, жирная граница между ними и значки в кружках по 58 px — они
   весили больше текста, хотя текст здесь и есть всё. Переделано на приёмах
   самой страницы: бумажная карточка, золотая волосная черта, тающая к краям,
   ромб на её середине. Цветных заливок нет вовсе — разницу между «сейчас»
   и «после» держит типографика: слева приглушённый курсив, справа гранат.
   Значок стал мелкой пометкой у названия колонки и в иерархии стоит там,
   где ему место, — ниже всего остального. */
.tp {
  position: relative;
  display: grid; grid-template-columns: 1fr 1fr;
  background: #fffdfa; border: 1px solid #e8dcc6; border-radius: 14px;
  margin: 0 0 14px; box-shadow: 0 1px 3px rgba(122, 44, 20, .04);
  transition: box-shadow .2s, border-color .2s, transform .2s;
}
.tp:last-of-type { margin-bottom: 0; }
.tp:hover {
  transform: translateY(-2px); border-color: #d8c49a;
  box-shadow: 0 8px 22px rgba(122, 44, 20, .08);
}

/* Волосная черта между половинами: тает сверху и снизу, поэтому не режет
   карточку, как прежняя сплошная граница. */
.tp::before {
  content: ""; position: absolute; left: 50%; top: 18px; bottom: 18px; width: 1px;
  background: linear-gradient(180deg, transparent, #e0cba4 24%, #e0cba4 76%, transparent);
}
/* Ромб на середине черты — точка перехода. */
.tp::after {
  content: ""; position: absolute; left: 50%; top: 50%; width: 6px; height: 6px;
  margin: -3px 0 0 -3px; background: var(--gold); transform: rotate(45deg);
}

.tp-a, .tp-b {
  display: grid; grid-template-columns: 21px 1fr; gap: 0 9px;
  align-content: start; padding: 18px 22px 20px;
}

/* Значок — мелкая пометка у названия колонки, не отдельная колонка.
   Цвет задаётся здесь: в самих рисунках он прописан атрибутами, а правило
   по атрибуту перекрывает их и не трогает то, чего там нет. */
.tp-ic { grid-area: 1 / 1; align-self: center; line-height: 0; }
/* Рисунки чертились под 37 px: в мелком размере их штрихи сливались
   в пятно. Толщина штриха сбавлена, иначе деталей не разобрать. */
.tp-ic svg { width: 21px; height: 21px; display: block; }
.tp-ic svg [stroke] { stroke-width: 1.9; }
/* Цвета остаются те, что заданы в самих рисунках: заливка светлая, контур
   тёмный. Перекраска в один тон убивала контраст — у перечёркнутого облака
   пропадала сама черта. */

.tp-h { grid-area: 1 / 2; align-self: center; margin: 0; }
.tp-q { grid-area: 2 / 1 / 3 / 3; margin: 11px 0 6px; }
.tp-d { grid-area: 3 / 1 / 4 / 3; margin: 0; }

.tp-h {
  font-size: 10.5px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase;
}
.tp-a .tp-h { color: var(--ink-3); }
.tp-b .tp-h { color: #a2570a; }

/* Реплика — самое громкое в карточке. Слева курсивом, справа
   прямым и гранатом: разницу видно раньше, чем прочитан текст. */
.tp-q { font-size: 17px; line-height: 1.4; max-width: none; }
.tp-a .tp-q {
  font-family: "Lora", Georgia, serif; font-style: italic; font-weight: 400; color: var(--ink);
}
.tp-b .tp-q { font-weight: 700; color: var(--pom); }
.tp-d { font-size: 15px; line-height: 1.55; max-width: none; }
.tp-a .tp-d { color: var(--ink-2); }
.tp-b .tp-d { color: var(--ink-2); }

@media (max-width: 700px) {
  /* В столбик. Черта считалась от середины карточки, а половины разной
     высоты — она ложилась поперёк надписи. Теперь это верхняя граница
     нижней половины, то есть ровно стык, где бы он ни оказался. */
  .tp { grid-template-columns: 1fr; }
  .tp::before, .tp::after { display: none; }
  .tp-b {
    position: relative;
    border-top: 1px solid transparent;
    border-image: linear-gradient(90deg, transparent, #e0cba4 22%, #e0cba4 78%, transparent) 1;
  }
  /* Ромб садится ровно на стык. */
  .tp-b::before {
    content: ""; position: absolute; left: 50%; top: -3.5px; width: 6px; height: 6px;
    margin-left: -3px; background: var(--gold); transform: rotate(45deg);
  }
  .tp-a, .tp-b { padding: 15px 18px 17px; }
  .tp-q { font-size: 16.5px; }
  .tp-d { font-size: 14.5px; }
  .tp:hover { transform: none; box-shadow: 0 1px 3px rgba(122, 44, 20, .04); }
}

/* Мост — сдержанная врезка. */
.bridge { border-top: 1px solid var(--hair); padding: 22px 0 0; }
.bridge h3 { font-size: 19px; margin: 0 0 9px; color: var(--ink); }

/* Плашка самодиагностики: прозрачная полоса во всю ширину текста, надпись
   по центру. Стоит в начале девяти тем и отбивает объяснение от самих тем. */
.diag-box {
  display: flex; align-items: center; justify-content: center;
  min-height: 92px; padding: 20px 24px; text-align: center;
  background: transparent; border: 1.5px solid var(--pom); border-radius: 0;
  color: var(--pom); text-decoration: none;
  font-size: 15px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
}
.diag-box:hover { background: var(--pom); color: #fff; }
@media (max-width: 600px) {
  .diag-box { min-height: 76px; font-size: 13.5px; letter-spacing: .06em; }
}

/* Узкий вариант: та же полоса, но высотой в одну строку и со скруглением
   капсулы. В прежние 92 px она забирала себе целый экран телефона.
   Заливку при наведении берёт от .diag-box — гранат, надпись белым. */
.diag-slim {
  min-height: 0; margin: 22px 0 0; padding: 11px 20px; border-radius: 999px;
  font-size: 13px; letter-spacing: .1em;
  transition: background .16s, color .16s;
}
@media (max-width: 600px) {
  .diag-slim { min-height: 0; padding: 10px 16px; font-size: 12px; letter-spacing: .07em; }
}

/* ── Выберите свой формат: две карточки ниже кнопки диагностики ──────────
   Прайс не встречает человека по дороге: сначала он узнаёт себя в запросах,
   потом видит кнопку бесплатной диагностики, и только в самом низу выбирает
   формат. Карточки должны быть видны и звать нажать, а не теряться серой
   строчкой: свой значок, тёплая подложка, цена ярлыком, стрелка справа. */
.vybor {
  background: linear-gradient(180deg, #fbf1e2 0%, #fdf7ee 100%);
  border: 1px solid #ecd9b8; border-radius: 18px;
  padding: 26px 24px 24px; margin-top: 34px;
}
.ceny-h {
  font-size: 23px; font-weight: 700; color: var(--pom); margin: 0 0 4px;
  display: inline-block; padding-bottom: 7px; border-bottom: 2px solid var(--gold);
}
.ceny-sub {
  font-family: "Lora", Georgia, serif; font-style: italic;
  color: var(--ink-2); margin: 10px 0 18px; font-size: 16px;
}
.ceny-sub a { color: var(--pom); font-weight: 700; font-style: normal; text-decoration-color: rgba(0,0,0,.25); text-underline-offset: 3px; }

/* Карточка формата. Белая на тёплой подложке, с золотым кантом. */
.ceny {
  background: #fff; border: 1.5px solid #e9d5b2; border-radius: 14px;
  margin: 0 0 14px; box-shadow: 0 1px 2px rgba(122, 44, 20, .05);
  transition: border-color .16s, box-shadow .16s, transform .16s;
}
.ceny:last-of-type { margin-bottom: 0; }
.ceny:hover { border-color: var(--gold); box-shadow: 0 6px 18px rgba(122, 44, 20, .09); transform: translateY(-2px); }
.ceny[open] { border-color: var(--pom); box-shadow: 0 6px 18px rgba(122, 44, 20, .10); }
.ceny > summary {
  display: flex; align-items: center; gap: 14px;
  padding: 16px 44px 16px 16px; cursor: pointer; list-style: none; position: relative;
}
.ceny > summary::-webkit-details-marker { display: none; }

/* Значок формата: гранатовый на золотом круге — самое яркое пятно блока. */
.ceny-ic {
  flex: 0 0 46px; width: 46px; height: 46px; border-radius: 50%;
  background: linear-gradient(145deg, #f3dcae, #e6c479);
  display: inline-flex; align-items: center; justify-content: center;
}
.ceny-ic svg {
  width: 25px; height: 25px; fill: none; stroke: var(--pom);
  stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round;
}

.ceny-t { flex: 1 1 auto; min-width: 0; }
.ceny-n { display: block; font-size: 18px; font-weight: 700; color: var(--ink); line-height: 1.25; }
.ceny-d {
  display: block; margin-top: 3px; font-size: 15px; color: var(--ink-3);
  font-family: "Lora", Georgia, serif; font-style: italic;
}
/* Цена ярлыком: тёмный гранат на золоте — цифру видно сразу. */
.ceny-p {
  flex: 0 0 auto; align-self: center;
  background: linear-gradient(145deg, #f0d195, #dcb55f); color: var(--pom);
  border-radius: 999px; padding: 7px 16px;
  font-family: "Lora", Georgia, serif; font-weight: 700; font-size: 19px; white-space: nowrap;
}
/* Стрелка справа: вниз — раскрыть, вверх — свернуть. */
.ceny > summary::after {
  content: ""; position: absolute; right: 18px; top: 50%; margin-top: -7px;
  width: 10px; height: 10px;
  border-right: 2.2px solid var(--pom); border-bottom: 2.2px solid var(--pom);
  transform: rotate(45deg); transition: transform .2s;
}
.ceny[open] > summary::after { transform: rotate(-135deg); margin-top: -2px; }

.ceny-body { padding: 0 18px 18px 76px; }
.ceny-body p { margin: 0 0 8px; }
.ceny-body ul { margin: 0 0 10px; padding-left: 18px; }
.ceny-body li { margin: 0 0 5px; }
.ceny-body li::marker { color: var(--gold); }
.ceny-note { color: var(--ink-3); font-size: 15.5px; }

/* Кнопка выбора внутри карточки — открывает бота с меткой формата. */
.ceny-cta {
  display: inline-flex; align-items: center; gap: 8px; margin-top: 12px;
  min-height: 44px; padding: 10px 22px; border-radius: 999px;
  background: var(--pom); color: #fff; text-decoration: none;
  font-size: 14.5px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase;
  transition: background .16s;
}
.ceny-cta::after { content: "→"; font-size: 16px; }
.ceny-cta:hover { background: var(--pom-dark); }

/* Экспертиза (владелец 18.10): тона шапки «Генеалогическая Экспертиза» — глубокий
   фиолетовый с золотом. Значок и цена фиолетовые с золотой линией, слово
   «Экспертиза» прописью, как в заголовке страницы Экспертизы. */
.ceny-ek { border-color: #d9cdea; background: linear-gradient(180deg, #fff 0%, #fbf8fe 100%); }
.ceny-ek:hover { border-color: #8e74bd; box-shadow: 0 6px 18px rgba(58, 34, 24, .12); }
.ceny-ek[open] { border-color: #d9541a; box-shadow: 0 6px 18px rgba(58, 34, 24, .14); }
.ceny-ek .ceny-ic { background: linear-gradient(145deg, #d9541a, #3a2218); }
.ceny-ek .ceny-ic svg { stroke: #e3c77d; }
.ceny-ek .ceny-n { color: #3a2218; }
.ek-rs { font-family: "АлияА", "Great Vibes", "Marck Script", "Lora", Georgia, cursive; font-weight: 400;
  font-size: 1.45em; line-height: .8; letter-spacing: .02em; color: #d9541a; -webkit-text-stroke: .5px currentColor; }
.ceny-ek .ceny-p { background: linear-gradient(145deg, #d9541a, #3a2218); color: #f0d195; }
.ceny-ek > summary::after { border-color: #d9541a; }
.ceny-ek .ceny-cta { background: #d9541a; }
.ceny-ek .ceny-cta:hover { background: #3a2218; }

/* Таблица «что получаете — что даст»: две колонки, тонкие линии, левая жирная. */
.ek-tab { width: 100%; border-collapse: collapse; margin: 0 0 14px; font-size: 16px; line-height: 1.4; }
.ek-tab th { text-align: left; font-size: 13px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
  color: #d9541a; padding: 0 10px 8px 0; border-bottom: 2px solid #c9a24b; }
.ek-tab td { padding: 9px 10px 9px 0; border-bottom: 1px solid #ecd9c4; vertical-align: top; color: var(--ink); }
.ek-tab td:first-child { width: 40%; font-weight: 700; color: #3a2218; }
.ek-princip { background: #fbeadb; border-left: 3px solid #c9a24b; border-radius: 10px; padding: 12px 15px; margin: 0 0 4px; }
.ek-princip p { margin: 0 0 6px; }
.ek-princip p:last-child { margin: 0; }
.ek-princip-h { font-family: "Lora", Georgia, serif; font-weight: 700; color: #3a2218; font-size: 17px; }
@media (max-width: 640px) {
  .ek-tab, .ek-tab tbody, .ek-tab tr, .ek-tab td { display: block; width: auto; }
  .ek-tab thead { display: none; }
  .ek-tab tr { padding: 9px 0; border-bottom: 1px solid #ecd9c4; }
  .ek-tab td { border: 0; padding: 0; }
  .ek-tab td:first-child { width: auto; margin-bottom: 2px; }
}

/* «Подробнее» рядом с кнопкой выбора: ведёт на лендинг услуги (владелец 18.10). */
.ceny-more { display: inline-flex; align-items: center; min-height: 44px; margin: 12px 0 0 14px; color: var(--pom);
  font-weight: 700; font-size: 15px; text-decoration: none; border-bottom: 1px dotted currentColor; }
.ceny-more::after { content: " →"; white-space: pre; }
.ceny-ek .ceny-more { color: #d9541a; }
@media (max-width: 640px) { .ceny-more { margin-left: 0; display: flex; width: max-content; } }

.ceny-out { margin: 18px 0 0; color: var(--ink); }
@media (max-width: 640px) {
  .vybor { padding: 20px 14px 18px; border-radius: 14px; }
  .ceny-h { font-size: 20px; }
  /* На узком экране карточка ложится в две строки: значок и название сверху,
     цена под названием. Во flex значок отрывался на отдельную строку. */
  .ceny > summary {
    display: grid; grid-template-columns: 40px 1fr; gap: 8px 12px;
    align-items: center; padding: 14px 42px 14px 14px;
  }
  .ceny > summary::after { right: 14px; }
  .ceny-ic { grid-area: 1 / 1; flex-basis: 40px; width: 40px; height: 40px; }
  .ceny-ic svg { width: 22px; height: 22px; }
  .ceny-t { grid-area: 1 / 2; }
  .ceny-n { font-size: 16.5px; }
  .ceny-p { grid-area: 2 / 2; justify-self: start; font-size: 17px; padding: 5px 13px; }
  .ceny-body { padding: 0 14px 16px 14px; }
}

/* ── Галочки на болях ────────────────────────────────────────────────────
   Человек отмечает то, что про него, и забирает список в боте. Квадратик
   стоит в конце фразы, а не перед ней: так текст не сдвигается ни на
   пиксель, абзац «Ещё N формулировок» остаётся тем же абзацем.
   Серым не делаем — по квадратику надо нажимать, он должен быть виден. */
.gal {
  display: inline-block; vertical-align: -3px; line-height: 0;
  margin-left: 8px; cursor: pointer;
}
.gal input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.gal i {
  display: block; width: 20px; height: 20px; border-radius: 5px;
  border: 2px solid #a87b22; background: #fff;
  box-shadow: 0 0 0 3px rgba(201, 162, 75, .16), 0 1px 2px rgba(122, 44, 20, .12);
  transition: background .16s, border-color .16s, transform .16s;
}
.gal:hover i { border-color: #8a6412; background: #fbf0d9; transform: scale(1.12); }
.gal input:focus-visible + i { outline: 2px solid var(--pom); outline-offset: 2px; }
.gal input:checked + i {
  background: #b98d2c center / 12px 12px no-repeat
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M2.4 8.4 6.2 12.2 13.6 4.2' fill='none' stroke='%23fff' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  border-color: #8a6412;
}

/* Направления (владелец 18.10): список «что хочу разобрать» между синим
   «Внимание» и бирюзовой подсказкой. Шрифт и цвет как у «Внимание»: синие
   засечки Lora. Значок-эмоция перед номером, галочка напротив, в конце
   строки; нажимается вся строка. */
.napr { margin: 0 0 18px; color: #3a2218; font-family: "Lora", Georgia, serif; }
.napr-vvod { margin: 0 0 10px; font-size: 17px; font-style: italic; line-height: 1.45; }
.napr-h { display: flex; align-items: flex-start; gap: 10px; margin: 0 0 8px;
  font-size: 18.5px; font-weight: 700; line-height: 1.35; }
.napr-sp { list-style: none; margin: 0; padding: 0; }
.napr-sp li { border-bottom: 1px solid #ecd9c4; }
.napr-sp li:last-child { border-bottom: 0; }
.napr-sp label { display: flex; align-items: flex-start; gap: 9px; padding: 7px 4px; cursor: pointer;
  font-size: 17px; font-weight: 600; line-height: 1.4; border-radius: 8px; transition: background .14s; }
.napr-sp label:hover { background: #fdf0e3; }
/* Смысловые линейные значки в бежевом кружке, как у сфер (владелец 18.10: «пёстрые эмодзи заменить на рисуночки») */
/* Владелец 18.10: тёмное золото с белым значком, чтобы не сливаться со светлыми кружками сфер ниже
   (тот же тон, что у кружка «Предназначение» в итогах, #b8860b). */
.napr-em { flex: 0 0 34px; width: 34px; height: 34px; border-radius: 50%; margin-top: -2px;
  background: linear-gradient(145deg, #c99a2a, #b8860b); display: inline-flex; align-items: center; justify-content: center;
  box-shadow: 0 1px 2px rgba(58, 34, 24, .14), inset 0 0 0 1px rgba(255, 255, 255, .25); }
.napr-em svg { width: 20px; height: 20px; fill: none; stroke: #fff; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.napr-h .napr-em { margin-top: 0; }
.napr-n { flex: 0 0 auto; min-width: 22px; color: #d9541a; font-weight: 700; }
.napr-t { flex: 1 1 auto; min-width: 0; }
.napr .gal { margin: -1px 0 0 8px; flex: 0 0 auto; }
/* Квадратик направления крупнее и контрастнее (владелец 18.10: «не очень заметно, нельзя ли выделить лучше») */
.napr .gal i { width: 26px; height: 26px; border-radius: 7px; border: 2.2px solid #8a6412;
  box-shadow: 0 0 0 4px rgba(201, 162, 75, .2), 0 2px 4px rgba(122, 44, 20, .14); }
.napr .gal input:checked + i { background-size: 17px 17px; }
.napr-sp label:has(input:checked) { background: #fdf0e3; }
@media (max-width: 600px) {
  .napr-vvod { font-size: 16px; }
  .napr-h { font-size: 17px; }
  .napr-sp label { font-size: 16px; gap: 7px; padding: 7px 2px; }
  .napr-em { flex-basis: 30px; width: 30px; height: 30px; }
  .napr-em svg { width: 18px; height: 18px; }
  .napr .gal i { width: 24px; height: 24px; }
}

/* Подсказка под заголовком: без неё квадратики в конце строк просто
   не замечают. */
.gal-hint {
  display: flex; align-items: center; gap: 9px; flex-wrap: wrap;
  margin: 0 0 16px; padding: 10px 14px;
  /* Бирюзовая заливка: объяснение отделено от тёплой бумаги страницы
     и не спорит с золотыми галочками внутри тем. */
  background: linear-gradient(180deg, #e0f2ef 0%, #eef9f8 100%);
  border: 1px solid #b9dcd7; border-radius: 10px;
  font-size: 15px; color: var(--ink);
}
.gal-hint i {
  flex: 0 0 auto; width: 17px; height: 17px; border-radius: 4px;
  border: 1.5px solid #c9a24b;
  background: #b98d2c center / 12px 12px no-repeat
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M2.4 8.4 6.2 12.2 13.6 4.2' fill='none' stroke='%23fff' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}

/* Нижняя плашка со счётчиком. Видна сразу (владелец 08.10); кнопка в ней
   спит, пока не пройдены все девять сфер, см. .svodka:not(.kl-full) a. */
.svodka {
  position: fixed; z-index: 40; left: 50%; bottom: 16px;
  display: flex; align-items: center; gap: 14px;
  max-width: calc(100vw - 24px); padding: 10px 12px 10px 20px;
  background: var(--pom); border-radius: 999px;
  box-shadow: 0 10px 34px rgba(28, 24, 21, .28);
  opacity: 0; pointer-events: none;
  transform: translate(-50%, 16px);
  transition: opacity .22s, transform .22s;
}
.svodka.on { opacity: 1; pointer-events: auto; transform: translate(-50%, 0); }
.svodka b { color: #fff; font-size: 15.5px; font-weight: 700; white-space: nowrap; }
.svodka b span { color: var(--gold); }
.svodka b em { font-style: normal; }
.svodka a {
  display: inline-flex; align-items: center; gap: 7px; white-space: nowrap;
  min-height: 42px; padding: 9px 20px; border-radius: 999px;
  background: linear-gradient(145deg, #e0bd78, #c9a24b);
  color: #2a0a13; text-decoration: none;
  font-size: 14px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase;
  transition: filter .16s;
}
.svodka a::after { content: "→"; font-size: 15px; }
.svodka a:hover { filter: brightness(1.08); }
.svodka button {
  flex: 0 0 auto; width: 32px; height: 32px; padding: 0;
  background: none; border: 1px solid rgba(255, 255, 255, .34); border-radius: 50%;
  color: #fff; font-size: 17px; line-height: 1; cursor: pointer;
  transition: border-color .16s, background .16s;
}
.svodka button:hover { background: rgba(255, 255, 255, .13); border-color: #fff; }

@media (max-width: 560px) {
  .svodka { gap: 9px; padding: 8px 9px 8px 15px; }
  .svodka b { font-size: 14px; }
  .svodka b em { display: none; }
  .svodka a { padding: 9px 15px; font-size: 12.5px; letter-spacing: .02em; }
}

/* Каждая фраза в сплошном абзаце — со своей обёрткой: квадратик должен
   читаться как хвост своего предложения, а не как начало следующего.
   Отмеченная фраза подсвечивается — в стене текста иначе не видно,
   что именно ты уже отметил. */
.more .txt .bo { margin-right: 9px; border-radius: 4px; transition: background .16s; }
.more .txt .bo:has(input:checked) { background: #faf1de; box-shadow: 0 0 0 3px #faf1de; }

/* Пока плашка внизу висит, она закрывает кнопку «Свернуть раздел».
   Поэтому на время добавляем странице запас снизу. */
body.svodka-on { padding-bottom: 82px; }

/* Капсула в конце девяти тем. Нижнюю плашку со счётчиком замечают не сразу:
   дочитав до низа, человек не понимает, что дальше. Здесь прямо написано,
   куда нажать. Показываем только когда отмечено хоть что-то, иначе она
   советует нажать кнопку, которой ещё нет. */
.gotovo {
  display: none;
  margin: 26px 0 0; padding: 16px 20px;
  background: linear-gradient(180deg, #fbf1e2 0%, #fdf7ee 100%);
  border: 1.5px solid var(--gold); border-radius: 999px;
  text-align: center; color: var(--ink); font-size: 16px; line-height: 1.5;
}
body.svodka-on .gotovo { display: block; }
.gotovo b { display: block; color: var(--pom); font-size: 18px; margin-bottom: 3px; }
.gotovo em { font-style: normal; font-weight: 700; color: var(--pom); }
@media (max-width: 600px) {
  .gotovo { padding: 14px 16px; border-radius: 18px; font-size: 15px; }
  .gotovo b { font-size: 16.5px; }
}

/* ── Колесо девяти сфер и шкалы ─────────────────────────────────────────
   Стоит сразу под темами, на месте прежних карточек «Сейчас / После».
   Показывает ту же картину, что придёт в PDF: у каждой сферы свой цвет
   (как в отчёте), сектор-кольцо закрашен от внутреннего края наружу на балл
   сферы, незакрашенная часть светлым тоном того же цвета. Под колесом
   девять строк-шкал, как лист «Девять сфер» в отчёте. Цвета приходят
   из скрипта переменными: --c цвет сферы, --ct он же для мелкого текста,
   --t светлый тон, --t0 совсем светлый, --t2 подсветка строки. */
.kl { margin-top: 26px; }
.kl-card {
  display: grid; grid-template-columns: minmax(0, 360px) minmax(0, 1fr);
  grid-template-areas: "w h" "w a" "s s"; grid-template-rows: 1fr 1fr auto;
  column-gap: 34px; row-gap: 14px; align-items: center;
  background: #fffdfa; border: 1px solid #e8dcc6; border-radius: 18px;
  padding: 22px 26px 24px 22px; box-shadow: 0 1px 3px rgba(122, 44, 20, .04);
  transition: border-color .5s, box-shadow .5s, background .5s;
}
.kl-head { grid-area: h; align-self: end; }
.kl-wheel { grid-area: w; text-align: center; }
.kl-act { grid-area: a; align-self: start; }
.kl-full { grid-template-areas: "w h" "w h" "s s"; }
.kl-full .kl-head { align-self: center; }
.kl-full .kl-act { display: none; }

.kl-card h2 {
  display: block; font-size: 23px; line-height: 1.25; color: var(--pom); letter-spacing: -.01em;
  margin: 0 0 10px; padding: 0 0 9px; border: 0; border-image: none;
  background: linear-gradient(var(--gold), var(--gold)) left bottom / 52px 2px no-repeat;
}
.kl-say {
  margin: 0; font-family: "Lora", Georgia, serif; font-style: italic;
  font-size: 17px; line-height: 1.5; color: var(--ink-2); text-wrap: balance;
}
.kl-line { margin: 6px 0 0; font-size: 16px; line-height: 1.4; color: var(--ink); }
.kl-line b { color: var(--pom); font-weight: 700; }
.kl-top { margin: 0 0 14px; font-size: 16px; line-height: 1.5; color: var(--ink); text-wrap: balance; }

/* Кнопка к следующей непройденной сфере: гранат, золотая стрелка. */
.kl-next {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 46px; padding: 10px 24px; border-radius: 999px;
  background: var(--pom); color: #fff; text-decoration: none;
  font-size: 15.5px; font-weight: 700; transition: background .16s, transform .16s;
}
.kl-next::after { content: "→"; color: var(--gold); font-size: 18px; line-height: 1; }
.kl-next:hover { background: var(--pom-dark); transform: translateY(-1px); }

/* Девять из девяти: большая золотая кнопка, как в плашке внизу, с мягкой
   пульсацией. Ведёт туда же, куда плашка. */
.kl-cta {
  display: flex; align-items: center; justify-content: center; gap: 10px;
  width: 100%; max-width: 460px; margin: 0 auto;
  min-height: 58px; padding: 14px 30px; border-radius: 999px;
  background: linear-gradient(145deg, #ecc983, #c9a24b); color: #2a0a13; text-decoration: none;
  font-size: 17px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase;
  box-shadow: 0 10px 26px rgba(169, 121, 16, .30), inset 0 1px 0 rgba(255, 255, 255, .55);
  animation: kl-zov 2.4s ease-out infinite; transition: filter .16s, transform .16s;
}
.kl-cta::after { content: "→"; font-size: 21px; line-height: 1; }
.kl-cta:hover { filter: brightness(1.07); transform: translateY(-1px); }
.kl-next[hidden], .kl-top[hidden], .kl-start[hidden], .kl-fin[hidden] { display: none; }
@keyframes kl-zov {
  0%   { box-shadow: 0 10px 26px rgba(169, 121, 16, .30), 0 0 0 0 rgba(201, 162, 75, .55); }
  70%  { box-shadow: 0 10px 26px rgba(169, 121, 16, .30), 0 0 0 14px rgba(201, 162, 75, 0); }
  100% { box-shadow: 0 10px 26px rgba(169, 121, 16, .30), 0 0 0 0 rgba(201, 162, 75, 0); }
}
@keyframes kl-poyav { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }

/* Полная картина: карточка теплеет. */
.kl-card.kl-full {
  border-color: var(--gold);
  background: linear-gradient(180deg, #fffaf0 0%, #fffdf8 40%);
  box-shadow: 0 12px 32px rgba(169, 121, 16, .14);
}
.kl-burst .kl-svg { animation: kl-vspyshka 1s ease-out; }
@keyframes kl-vspyshka { 0% { transform: scale(1); } 35% { transform: scale(1.05); } 100% { transform: scale(1); } }

/* ── Само колесо (SVG) ── */
.kl-svg { display: block; width: 100%; max-width: 360px; height: auto; margin: 0 auto; overflow: visible; }
.kl-s { cursor: pointer; outline: none; transform-origin: 0 0; transform-box: view-box; transition: transform .2s; }
.kl-s.hl, .kl-s:focus-visible { transform: scale(1.035); }
/* Подложка: непройденная сфера совсем светлая, пройденная чуть гуще. */
.kl-seg { fill: var(--t0); stroke: transparent; stroke-width: 1.6; transition: fill .5s, stroke .3s; }
.kl-s.on .kl-seg { fill: var(--t); }
.kl-s.hl .kl-seg, .kl-s:focus-visible .kl-seg { stroke: var(--c); }
@media (hover: hover) {
  .kl-s:hover { transform: scale(1.035); }
  .kl-s:hover .kl-seg { stroke: var(--c); }
  .kl-ra:hover { background: var(--t2); }
}
.kl-fill { fill: var(--c); pointer-events: none; }
/* Обод в цвет сферы по внешнему краю пройденного сектора, как в отчёте. */
.kl-rim { fill: none; stroke: var(--c); stroke-width: 4; stroke-linecap: round; opacity: 0; transition: opacity .5s; pointer-events: none; }
.kl-s.on .kl-rim { opacity: 1; }

/* Значок сферы тот же, что в строке темы. Непройденная: бледный контур
   её цвета, пройденная: полный цвет, поверх заливки белый. */
.kl-ic {
  fill: none; stroke: var(--c); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round;
  opacity: .5; transition: opacity .4s; pointer-events: none;
}
.kl-s.on .kl-ic, .kl-s.next .kl-ic { opacity: 1; stroke-width: 2; }
.kl-s .kl-ic.kl-ic2 { stroke: #fff; opacity: 1; stroke-width: 2; }

/* Следующая непройденная сфера: бегущий пунктир её цвета по контуру. */
.kl-s.next .kl-seg { stroke: var(--c); stroke-width: 1.7; stroke-dasharray: 6 4; animation: kl-beg 1.4s linear infinite; }
@keyframes kl-beg { to { stroke-dashoffset: -20; } }

/* Кружок с числом отметок в сфере, в цвете сферы. */
.kl-bd { opacity: 0; transition: opacity .3s; pointer-events: none; }
.kl-s.has .kl-bd { opacity: 1; }
.kl-bd circle { fill: var(--c); stroke: #fff; stroke-width: 2; }
.kl-bd text { fill: #fff; font-family: "Lora", Georgia, serif; font-weight: 700; font-size: 12.5px; text-anchor: middle; }

/* Названия по дуге снаружи. */
.kl-lp { fill: none; stroke: none; }
.kl-lab {
  font-family: "Lora", Georgia, serif; font-weight: 600; font-size: 13.5px;
  fill: var(--ink-2); text-anchor: middle; transition: fill .3s;
}
.kl-s.on .kl-lab { fill: var(--ct); font-weight: 700; }

/* Середина: крупно «4 из 9». На девяти из девяти галочка на золоте. */
.kl-cbg { fill: #fffdfa; stroke: #e6d2ab; stroke-width: 1; transition: fill .5s; }
.kl-full .kl-cbg { fill: url(#kl-gc); stroke: #c9a24b; }
.kl-num { font-family: "Lora", Georgia, serif; font-weight: 700; fill: var(--pom); text-anchor: middle; }
.kl-n1 { font-size: 46px; }
.kl-n2 { font-size: 21px; }
.kl-sub { font-family: "Lora", Georgia, serif; font-style: italic; font-size: 13.5px; fill: var(--ink-2); text-anchor: middle; }
.kl-sub2 { font-style: normal; font-weight: 700; font-size: 16px; fill: var(--pom); }
.kl-ok { opacity: 0; transition: opacity .4s; }
.kl-ok path { fill: none; stroke: var(--pom); stroke-width: 7; stroke-linecap: round; stroke-linejoin: round; }
.kl-cnt { transition: opacity .4s; }
.kl-full .kl-ok { opacity: 1; }
.kl-full .kl-cnt { opacity: 0; }

/* ── Девять строк-шкал под колесом, как лист «Девять сфер» в отчёте:
   кружок с номером, название, под ним уровень и сколько отмечено, полоса
   во всю ширину и крупный балл справа. */
.kl-sc { grid-area: s; position: relative; min-width: 0; margin-top: 4px; padding-top: 16px; border-top: 1px solid #eadfcb; text-align: left; }
.kl-sc-h { margin: 0; font-family: "Lora", Georgia, serif; font-size: 20px; line-height: 1.25; font-weight: 700; color: var(--pom); }
.kl-sc-p { margin: 3px 0 0; font-size: 15.5px; line-height: 1.45; color: var(--ink-2); }
.kl-start {
  margin: 12px 0 0; padding: 9px 14px; border-radius: 12px;
  background: #fbf3e3; border: 1px solid #ecd8ae;
  font-size: 17px; line-height: 1.4; font-weight: 600; color: var(--ink);
  animation: kl-poyav .5s ease-out;
}
.kl-start b { font-weight: 800; }
.kl-start-n { display: inline-block; }
.kl-list { list-style: none; margin: 8px -8px 0; padding: 0; }
.kl-r { margin: 0; padding: 0; transition: transform .75s cubic-bezier(.2, .8, .2, 1); }
.kl-r + .kl-r { margin-top: 1px; }
/* Как в отчёте: балл справа от всей строки. На телефоне балл встаёт рядом
   с названием, а строка уровня и полоса берут всю ширину, иначе
   «болит сильно · отмечено 14 из 19» переносится. */
.kl-ra {
  display: grid; grid-template-columns: 24px minmax(0, 1fr) 36px;
  grid-template-areas: "n t s" ". v s" "b b s";
  column-gap: 10px; align-items: center;
  padding: 4px 8px 6px; border-radius: 12px; color: var(--ink); text-decoration: none;
  transition: background .2s;
}
.kl-ra:focus-visible { background: var(--t2); outline: none; }
.kl-rn {
  grid-area: n; width: 24px; height: 24px; border-radius: 50%;
  display: grid; place-items: center; background: var(--c); color: #fff;
  font: 700 14px/1 "Lora", Georgia, serif; transition: background .4s, color .4s;
}
.kl-rname { grid-area: t; min-width: 0; font-family: "Lora", Georgia, serif; font-size: 17px; line-height: 1.25; font-weight: 700; color: var(--ink); }
.kl-rlv { grid-area: v; min-width: 0; font-size: 14.5px; line-height: 1.25; color: var(--ink); }
.kl-rlv b { color: var(--ct); font-weight: 700; }
.kl-rlv b, .kl-rk { white-space: nowrap; }
.kl-rbar { grid-area: b; position: relative; height: 10px; margin-top: 4px; border-radius: 5px; background: var(--t); overflow: hidden; transition: background .4s; }
.kl-rbar i { position: absolute; left: 0; top: 0; bottom: 0; width: 0; border-radius: 5px; background: var(--c); transition: width .75s cubic-bezier(.2, .8, .2, 1); }
/* Десять делений, чтобы полоса читалась шкалой, как в отчёте. */
.kl-rbar::after {
  content: ""; position: absolute; inset: 0;
  background: repeating-linear-gradient(90deg, transparent 0 calc(10% - 1px), rgba(255, 255, 255, .8) calc(10% - 1px) 10%);
}
.kl-rs {
  grid-area: s; justify-self: end; font: 700 27px/1 "Lora", Georgia, serif; color: var(--c);
  font-variant-numeric: tabular-nums; transition: color .4s;
}
/* Непройденная сфера: строка приглушена, нажатие открывает сферу. */
.kl-r.off .kl-rn { background: var(--t); color: var(--ct); }
.kl-r.off .kl-rname { color: var(--ink-2); font-weight: 600; }
.kl-r.off .kl-rlv b { color: var(--ink-2); font-weight: 600; }
.kl-r.off .kl-rbar { background: var(--t0); }
.kl-r.off .kl-rs { color: var(--cs); }
.kl-r.next .kl-ra { outline: 1.5px dashed var(--c); outline-offset: -1.5px; }

.kl-fin { margin-top: 14px; text-align: center; animation: kl-poyav .5s ease-out; }
.kl-fin-p { margin: 8px 0 0; font-size: 15.5px; line-height: 1.4; color: var(--ink); }

@media (max-width: 760px) {
  .kl-card, .kl-full {
    grid-template-columns: minmax(0, 1fr); grid-template-areas: "h" "w" "a" "s"; grid-template-rows: auto;
    row-gap: 10px; padding: 18px 12px 20px; text-align: center;
  }
  .kl-head, .kl-act { align-self: auto; }
  .kl-card h2 { font-size: 20px; background-position: center bottom; }
  .kl-say { font-size: 16px; text-wrap: balance; }
  .kl-top { margin-bottom: 12px; }
  .kl-next, .kl-cta { width: 100%; }
  .kl-cta { font-size: 16px; padding: 14px 18px; }
  .kl-sc { padding-top: 14px; }
  .kl-list { margin: 6px -4px 0; }
  .kl-ra { padding: 4px 4px 6px; column-gap: 9px; grid-template-columns: 24px minmax(0, 1fr) auto; grid-template-areas: "n t s" ". v v" "b b b"; }
  .kl-rs { font-size: 25px; margin: -2px 0 -4px; }
  .kl-start { font-size: 16px; padding: 8px 12px; }
  .kl-fin-p { text-wrap: balance; }
}
@media (max-width: 370px) {
  .kl-rlv { font-size: 14px; }
}

/* Полоска пройденных сфер в нижней плашке: девять делений под счётчиком. */
.svodka-l { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.svodka-p { display: flex; align-items: center; gap: 8px; }
.svodka-p[hidden] { display: none; }
.svodka-bar { display: flex; gap: 2px; }
.svodka-bar i { display: block; width: 9px; height: 5px; border-radius: 3px; background: rgba(255, 255, 255, .24); transition: background .3s; }
.svodka-bar i.on { background: var(--gold); }
.svodka-t { color: #f3dfb3; font-size: 13.5px; font-weight: 600; line-height: 1.1; white-space: nowrap; }
.svodka-t span { color: #fff; font-weight: 700; }
.svodka.kl-full a { animation: kl-zov 2.4s ease-out infinite; }
/* Узкий экран. Плашка в одну строку сюда не помещалась и раньше: крестик
   «снять отметки» уходил за край экрана. Теперь две строки: сверху счётчик
   и полоска сфер, снизу кнопка во всю ширину и крестик рядом. */
@media (max-width: 480px) {
  .svodka {
    display: grid; grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "l l" "a x";
    gap: 7px 8px; width: calc(100vw - 24px); padding: 9px 10px 10px 16px; border-radius: 22px;
  }
  .svodka-l { grid-area: l; flex-direction: row; align-items: center; justify-content: space-between; gap: 10px; }
  .svodka a { grid-area: a; justify-content: center; font-size: 13px; }
  .svodka button { grid-area: x; }
  .svodka-bar i { width: 7px; }
  .svodka-p { gap: 7px; }
  body.svodka-on { padding-bottom: 104px; }
}
@media (max-width: 360px) {
  .svodka-bar i { width: 5px; }
}

@media (prefers-reduced-motion: reduce) {
  .kl-cta, .svodka.kl-full a, .kl-s.next .kl-seg, .kl-burst .kl-svg, .kl-start, .kl-fin { animation: none; }
  .kl-s, .kl-s:hover, .kl-s.hl { transition: none; transform: none; }
  .kl-r, .kl-rbar i { transition: none; }
}

/* ── Значки в карточке «Ваша картина» (правило владельца 08.10: значков
   много, тематические и тёплые, ни одной голой строки). Манера та же, что
   у значков сфер: линейные, скруглённые концы. Значки строк, к которым
   скрипт пишет текст сам (textContent/innerHTML), живут в ::before
   маской, поэтому скрипт их не стирает. Цвет задаёт фон псевдоэлемента. */
.kl-card {
  --ic-koleso: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22%23000%22 stroke-width=%221.9%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22%3E%3Ccircle cx=%2212%22 cy=%2212%22 r=%228.8%22/%3E%3Ccircle cx=%2212%22 cy=%2212%22 r=%222.6%22/%3E%3Cpath d=%22M12 3.2v6.2M12 14.6v6.2M3.2 12h6.2M14.6 12h6.2M5.8 5.8l4.4 4.4M13.8 13.8l4.4 4.4M5.8 18.2l4.4-4.4M13.8 10.2l4.4-4.4%22/%3E%3C/svg%3E");
  --ic-rostki: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22%23000%22 stroke-width=%221.9%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22%3E%3Cpath d=%22M3.5 20.5h17%22/%3E%3Cpath d=%22M6 20.5v-4M10.5 20.5v-7.5M15.5 20.5V10%22/%3E%3Cpath d=%22M15.5 10c0-3 2-5 5-5 0 3-2 5-5 5z%22/%3E%3Cpath d=%22M10.5 13c0-2-1.4-3.4-3.4-3.4 0 2 1.4 3.4 3.4 3.4z%22/%3E%3C/svg%3E");
  --ic-ukazatel: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22%23000%22 stroke-width=%221.9%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22%3E%3Cpath d=%22M12 21.5V2.5%22/%3E%3Cpath d=%22M12 4.5h6.2l2.3 2.5-2.3 2.5H12%22/%3E%3Cpath d=%22M12 12H5.8l-2.3 2.5L5.8 17H12%22/%3E%3Cpath d=%22M9 21.5h6%22/%3E%3C/svg%3E");
  --ic-konvert: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22%23000%22 stroke-width=%221.9%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22%3E%3Crect x=%222.8%22 y=%225%22 width=%2218.4%22 height=%2214%22 rx=%222.2%22/%3E%3Cpath d=%22M3.6 6.4 12 12.4l8.4-6%22/%3E%3Cpath d=%22M12 18.2s-2.9-1.7-2.9-3.7a1.45 1.45 0 0 1 2.9-.55 1.45 1.45 0 0 1 2.9.55c0 2-2.9 3.7-2.9 3.7z%22/%3E%3C/svg%3E");
  --ic-list: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22%23000%22 stroke-width=%221.9%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22%3E%3Cpath d=%22M14 3H7.5A1.5 1.5 0 0 0 6 4.5v15A1.5 1.5 0 0 0 7.5 21h9a1.5 1.5 0 0 0 1.5-1.5V7z%22/%3E%3Cpath d=%22M14 3v4h4%22/%3E%3Cpath d=%22M9 12h6M9 15.5h4.5%22/%3E%3C/svg%3E");
  --ic-tropa: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22%23000%22 stroke-width=%221.9%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22%3E%3Ccircle cx=%225%22 cy=%2219.5%22 r=%221.6%22/%3E%3Cpath d=%22M7.2 18.6c3.2-1 3.6-3.2 2.6-5.2s.2-4 3.4-4.6c2.4-.5 3.6-1.6 4-3.3%22 stroke-dasharray=%222.2 2.6%22/%3E%3Cpath d=%22M17.4 8V2.6l3.6 1.5-3.6 1.6%22/%3E%3C/svg%3E");
  --ic-pulse: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22%23000%22 stroke-width=%221.9%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22%3E%3Cpath d=%22M12 20s-7-4.35-7-10a4 4 0 0 1 7-2.65A4 4 0 0 1 19 10c0 5.65-7 10-7 10z%22/%3E%3Cpath d=%22M6.6 12.6h2.6l1.3-2.4 2 4.6 1.5-2.6h3.4%22/%3E%3C/svg%3E");
  --ic-shag: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22%23000%22 stroke-width=%221.9%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22%3E%3Cpath d=%22M3.5 18.5c4.5 0 5.5-3.4 8.2-6.2S16 7 20.5 7%22/%3E%3Cpath d=%22M16.8 3.6 20.5 7l-3.7 3.4%22/%3E%3C/svg%3E");
}
.kl-card h2::before, .kl-sc-h::before, .kl-start::before, .kl-cta::before,
.kl-fin-p::before, .kl-line::before, .kl-top::before, .kl-next::before {
  content: ""; display: inline-block; flex: none; width: 22px; height: 22px;
  margin-right: 8px; vertical-align: -4px; background: var(--pom);
  -webkit-mask: var(--ico) center / contain no-repeat; mask: var(--ico) center / contain no-repeat;
}
.kl-card h2::before { --ico: var(--ic-koleso); width: 26px; height: 26px; vertical-align: -5px; background: var(--gold-d, #a97910); }
.kl-sc-h::before { --ico: var(--ic-rostki); width: 23px; height: 23px; background: #4f8a4b; }
.kl-start::before { --ico: var(--ic-ukazatel); background: var(--pom); }
.kl-line::before { --ico: var(--ic-tropa); width: 20px; height: 20px; background: var(--pom); }
.kl-top::before { --ico: var(--ic-pulse); background: #b0263f; }
.kl-next::before { --ico: var(--ic-shag); margin-right: 0; background: var(--gold); }
.kl-cta::before { --ico: var(--ic-konvert); width: 24px; height: 24px; margin-right: 0; background: #5a1424; }
.kl-fin-p::before { --ico: var(--ic-list); width: 18px; height: 18px; margin-right: 6px; vertical-align: -3px; background: #8a6a1c; }

/* Строка сферы: кружок цвета сферы с её значком, на две строки (название
   и уровень). Непройденная: светлый кружок, бледный значок. */
.kl-ra { grid-template-columns: 34px minmax(0, 1fr) 36px; grid-template-areas: "n t s" "n v s" "b b s"; column-gap: 11px; }
.kl-rn {
  width: 34px; height: 34px; align-self: center;
  box-shadow: 0 1px 2px rgba(58, 34, 24, .12), inset 0 0 0 1px rgba(255, 255, 255, .25);
}
.kl-rn svg { width: 20px; height: 20px; fill: none; stroke: #fff; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.kl-r.off .kl-rn { background: var(--t); box-shadow: none; }
.kl-r.off .kl-rn svg { stroke: var(--cs); }
/* Значок уровня перед словом, в цвете сферы. */
.kl-lv { display: inline-block; width: 18px; height: 18px; margin-right: 4px; vertical-align: -4px; fill: none; stroke: var(--c); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.kl-r.off .kl-lv { stroke: var(--c); }
@media (max-width: 760px) {
  .kl-ra { grid-template-columns: 34px minmax(0, 1fr) auto; grid-template-areas: "n t s" "n v v" "b b b"; column-gap: 10px; }
  .kl-card h2::before { width: 24px; height: 24px; }
  .kl-next::before { margin-right: 0; }
  .kl-next { padding: 10px 16px; gap: 8px; }
  .kl-line { font-size: 15.5px; }
  .kl-line::before { width: 18px; height: 18px; margin-right: 5px; vertical-align: -3px; }
}

/* Надпись на снимке между двумя людьми, на светлой дорожке (владелец 08.10).
   Белый жирный текст с тёмной тенью и мягким тёмным пятном под ним: без пятна
   белые буквы на солнечной плитке не читаются. По ширине не заходит на людей. */
.zt-pro { margin: 18px auto 0; padding: 0 18px; max-width: 620px; }
.zt-pro p { display: flex; align-items: flex-start; gap: 10px; margin: 0 0 8px;
  font-size: 15.5px; line-height: 1.45; color: var(--ink); }
.zt-pro svg { width: 22px; height: 22px; flex: 0 0 22px; margin-top: 1px; fill: none; stroke: var(--pom);
  stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.zt-pro .zt-glav { font-family: "Lora", Georgia, serif; font-size: 19px; font-weight: 700; color: var(--pom); }
@media (min-width: 900px) {
  .zt-pro { position: absolute; z-index: 2; left: 50%; top: 50%; transform: translateX(-52%);
    width: min(600px, 48vw); margin: 0; padding: 26px 40px 20px; }
  .zt-pro::before { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
    background: rgba(24, 10, 6, .5); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px);
    -webkit-mask-image: radial-gradient(farthest-side at 50% 50%, #000 50%, rgba(0,0,0,.55) 75%, transparent 100%);
    mask-image: radial-gradient(farthest-side at 50% 50%, #000 50%, rgba(0,0,0,.55) 75%, transparent 100%); }
  .zt-pro p { color: #fff; font-weight: 600; font-size: clamp(14.5px, 1.15vw, 17px);
    text-shadow: 0 1px 10px rgba(20, 4, 10, .75), 0 0 22px rgba(20, 4, 10, .45); }
  .zt-pro .zt-glav { color: #fff; font-size: clamp(19px, 1.7vw, 25px); margin-bottom: 10px; }
  .zt-pro svg { stroke: #f0c46a; filter: drop-shadow(0 1px 4px rgba(20, 4, 10, .6)); }
}

/* Мостик между картиной по сферам и форматами (владелец 08.10). Светлый, без
   заливок: белые карточки, а текст и рамки в цветах страницы «Экспертиза»
   (чернильно-фиолетовый #3a2218, золотая рамка #a89058, сиреневый #efeaf8),
   чтобы блок отделялся от гранатово-кремовых соседей и не грузил глаз. */
.dalshe { margin-top: 34px; }
.dalshe > h2 { color: #3a2218; border-bottom: 2px solid #a89058; }
.dalshe > h2 .ic { stroke: #a89058; }
.dalshe-put { list-style: none; margin: 14px 0 0; padding: 0; display: grid; gap: 12px; }
.dalshe-put li { display: flex; align-items: center; gap: 14px; background: #fff;
  border: 1.5px solid #a89058; border-radius: 14px; padding: 12px 16px; }
.dalshe-put p { margin: 0; font-size: 16.5px; line-height: 1.5; color: #3d3933; }
.dalshe-put b { color: #3a2218; }
.dalshe-ic { flex: 0 0 44px; width: 44px; height: 44px; border-radius: 50%; background: #efeaf8;
  border: 1px solid #e2dcef; display: inline-flex; align-items: center; justify-content: center; }
.dalshe-ic svg { width: 24px; height: 24px; fill: none; stroke: #3a2218; stroke-width: 1.7;
  stroke-linecap: round; stroke-linejoin: round; }
.dalshe-niz { display: flex; align-items: center; gap: 8px; margin: 14px 0 0; font-family: "Lora", Georgia, serif;
  font-style: italic; font-size: 16.5px; color: #3a2218; }
.dalshe-niz svg { width: 20px; height: 20px; flex: none; fill: none; stroke: #a89058; stroke-width: 2;
  stroke-linecap: round; stroke-linejoin: round; animation: dalshe-vniz 1.6s ease-in-out infinite; }
@keyframes dalshe-vniz { 50% { transform: translateY(3px); } }
@media (prefers-reduced-motion: reduce) { .dalshe-niz svg { animation: none; } }
.dalshe + .vybor { margin-top: 18px; }
@media (max-width: 600px) { .dalshe-put li { padding: 10px 12px; gap: 12px; } .dalshe-put p { font-size: 15.5px; } }

/* «Внимание» после последней сферы (владелец 08.10). Без заливки и рамки:
   шрифт и цвет как у заголовка «Генеалогическая Экспертиза» (razbor.html,
   .эк-заголовок и .rs): жирные засечки Lora, слово «Внимание» прописью
   Great Vibes, чернильно-фиолетовый #3a2218. Значок золотой. */
.vnimanie { display: flex; align-items: center; gap: 12px; margin: 0 0 16px;
  font-family: "Lora", Georgia, serif; font-weight: 700; font-size: 20px; line-height: 1.4; color: #3a2218; }
.vn-rs { font-family: "АлияА", "Great Vibes", "Marck Script", "Lora", Georgia, cursive; font-weight: 400; font-size: 1.5em;
  line-height: 1; letter-spacing: .02em; -webkit-text-stroke: .7px currentColor; }
.vnimanie svg { width: 30px; height: 30px; flex: 0 0 30px; fill: none; stroke: #b98d2c; stroke-width: 1.9;
  stroke-linecap: round; stroke-linejoin: round; }
@media (max-width: 600px) { .vnimanie { font-size: 17.5px; gap: 10px; } .vnimanie svg { width: 26px; height: 26px; flex-basis: 26px; } }

/* Единственная кнопка «Сформировать отчёт» под «Внимание» (владелец 08.10).
   Готовая (9 из 9) выглядит как «Дальше»: гранатовая, золотой значок и стрелка.
   До девятой сферы контурная, без заливки, с замком, и не срабатывает. */
.otchet-kn { margin: 22px 0 0; text-align: center; }
.otchet {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 46px; padding: 10px 24px; border-radius: 999px; text-decoration: none;
  font-size: 15.5px; font-weight: 700; transition: background .16s, color .16s, transform .16s;
  background: transparent; color: var(--pom); box-shadow: inset 0 0 0 1.5px var(--pom); cursor: not-allowed;
}
.otchet::before, .otchet::after { content: ""; width: 18px; height: 18px; flex: 0 0 18px;
  background: center / contain no-repeat; }
.otchet::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23b98d2c' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M14 3H7.5A1.5 1.5 0 0 0 6 4.5v15A1.5 1.5 0 0 0 7.5 21h9a1.5 1.5 0 0 0 1.5-1.5V7z'/%3E%3Cpath d='M14 3v4h4M9 12h6M9 15.5h4.5'/%3E%3C/svg%3E"); }
.otchet::after { width: 15px; height: 15px; flex-basis: 15px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23b98d2c' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='4.5' y='10.5' width='15' height='10' rx='2'/%3E%3Cpath d='M8 10.5V7.5a4 4 0 0 1 8 0v3'/%3E%3C/svg%3E"); }
.otchet.gotov { background: var(--pom); color: #fff; box-shadow: none; cursor: pointer; }
.otchet.gotov::after { content: "→"; width: auto; height: auto; flex-basis: auto; background: none;
  color: var(--gold); font-size: 18px; line-height: 1; }
.otchet.gotov:hover { background: var(--pom-dark); transform: translateY(-1px); }
@media (max-width: 600px) { .otchet { width: 100%; } }

/* Кнопка Telegram первой строкой (владелец 26.10). Снимок ниже подтянут под шапку
   отрицательным отступом и закрывал строку: строка забирает этот отступ себе,
   а снимок встаёт сразу под ней. */
.tg-verh { margin-top: -40px; padding-top: 12px; padding-bottom: 12px; text-align: center; }
.tg-verh + .ztop { margin-top: 0; }
@media (max-width: 600px) { .tg-verh { margin-top: -26px; padding-top: 10px; padding-bottom: 10px; } }


/* Веточки по бокам страницы, как в книге и на «Услугах» */
@media (min-width: 1240px) {
  body::before, body::after {
    content: ""; position: fixed; top: 60px; bottom: 0; width: 64px; pointer-events: none; z-index: 0;
    background: url("/img/vetka.svg") repeat-y center top / 60px auto; opacity: .9;
  }
  body::before { left: 18px; }
  body::after { right: 18px; transform: scaleX(-1); }
}
