/* «Браузер увидел» на странице проверки (public/proverka-brauzer.js).
   Одна идея: утренний отчёт птички — бумага, чернила, деньги красным и зелёным.
   Жёлтый только у птички. Всё видно и без анимации; prefers-reduced-motion
   выключает движение целиком. Ширина — как у шапки сайта и остальных разделов
   (класс ck-wide на #brauzer, нижние разделы — внутри #result той же ширины). */
.bz { --line: var(--hairline); --soft: var(--ink-soft); }
#brauzer { margin-top: 28px; padding-top: 18px; border-top: 1px solid var(--ink); }
#brauzer:not([hidden]) + .result { margin-top: clamp(40px, 5vw, 72px); }
/* Тихая строка: очередь полна, проверка уже идёт, браузер споткнулся. */
#brauzer.bz-q { padding-top: 14px; }
.bz-q-t { font-size: 15px; color: var(--soft); max-width: 80ch; }
.bz-q-t b { color: var(--ink); font-weight: 600; }
.bz-q-t .quiet { padding: 0; color: var(--ink); font-size: 15px; }
.bz * { min-width: 0; }
.bz button { font: inherit; border-radius: 0; }
.bz button.rg-pin { border-radius: 50%; font: 700 13px/1 'Golos Text', sans-serif; }
.bz .btn { background: var(--ink); color: var(--paper); border: 1px solid var(--ink); padding: 11px 20px; font-weight: 500; font-size: 15px; min-height: 44px; cursor: pointer; }
.bz .btn:hover { background: #000; }
.bz .out { background: none; color: var(--ink); border: 1px solid var(--ink); padding: 11px 20px; font-weight: 500; font-size: 15px; min-height: 44px; cursor: pointer; }
.bz .out:hover { background: var(--ink); color: var(--paper); }
.bz .quiet { background: none; border: none; color: var(--soft); text-decoration: underline; text-underline-offset: 3px; padding: 10px 4px; font-size: 15px; cursor: pointer; }
.bz :focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }
.bz a { color: var(--ink); text-underline-offset: 3px; }
.bz-acts { display: flex; gap: 10px 12px; flex-wrap: wrap; align-items: center; margin-top: 18px; }
.bz-state { font-size: 13.5px; color: var(--soft); }

/* Шапка блока: название и два переключателя. */
.bz-bar { display: flex; justify-content: space-between; align-items: center; gap: 8px 16px; flex-wrap: wrap; }
.bz-kicker { font-size: 13px; letter-spacing: .06em; text-transform: uppercase; color: var(--soft); }
.bz-sws { display: flex; gap: 4px 14px; flex-wrap: wrap; }
.bz-sw { display: inline-flex; align-items: center; gap: 8px; background: none; border: none; color: var(--soft); font-size: 13.5px; padding: 8px 0; min-height: 40px; cursor: pointer; }
.bz-sw i { width: 34px; height: 20px; border: 1px solid var(--ink); position: relative; flex: none; }
.bz-sw i::after { content: ""; position: absolute; top: 3px; left: 3px; width: 12px; height: 12px; background: var(--ink); transition: left .2s; }
.bz-sw[aria-pressed="true"] { color: var(--ink); }
.bz-sw[aria-pressed="true"] i { background: var(--ink); }
.bz-sw[aria-pressed="true"] i::after { left: 17px; background: var(--paper); }

/* Тихая подсказка текстом. */
.bz-hint { font-size: 13.5px; color: var(--soft); margin-top: 8px; max-width: 48ch; }

/* Обход — первое, что видно в (б): заголовок, реплика, кадр компьютера со счётчиками,
   рядом кадр мобильной версии, справа лента шагов и время. Всё место занято сразу:
   реплика — две строки, кадры — пустые рамки нужного размера, шаги — пять, счётчики — нули. */
.bz-live { margin-top: 10px; }
.bz-live-t { font-size: clamp(28px, 3.8vw, 44px); font-weight: 800; letter-spacing: -.025em; line-height: 1.05; }
.bz-say { margin-top: 12px; display: grid; grid-template-columns: 48px minmax(0, 1fr); gap: 12px; align-items: center; }
.bz-say .bertold { width: 48px; }
.bz-say p { font-size: 16.5px; line-height: 1.4; height: 2.8em; overflow: hidden; display: flex; align-items: center; }
.bz-say p.swap { animation: bz-fade .45s ease-out; }
.bz-walk { margin-top: 18px; display: grid; grid-template-columns: minmax(0, 1fr) 120px 280px; grid-template-areas: "desk ph steps"; gap: 20px; align-items: start; }
.bz-w-desk { grid-area: desk; margin: 0; }
.bz-w-ph { grid-area: ph; margin: 0; }
.bz-walk > .bz-walk-l { grid-area: steps; }
.bz-walk figcaption { margin-top: 8px; font-size: 13px; color: var(--soft); }
.bz-w-desk figcaption { margin-top: 80px; }
.bz-xr { aspect-ratio: 1440 / 900; background: #20242A; }
.bz-ph-f { position: relative; aspect-ratio: 412 / 839; border: 6px solid var(--ink); border-radius: 18px; overflow: hidden; background: #20242A;
  background-image: linear-gradient(rgba(247, 246, 242, .06) 1px, transparent 1px), linear-gradient(90deg, rgba(247, 246, 242, .06) 1px, transparent 1px); background-size: 16px 16px; }
.bz-ph-w { position: absolute; left: 0; right: 0; top: 50%; transform: translateY(-50%); text-align: center; font: 500 10.5px/1.3 ui-monospace, Menlo, monospace; letter-spacing: .1em; text-transform: uppercase; color: rgba(247, 246, 242, .46); }
.bz-ph-f img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: top; background: #fff; opacity: 0; transition: opacity .5s ease-out; }
.bz-ph-f.on img { opacity: 1; }
.bz-steps { list-style: none; border-top: 1px solid var(--ink); }
.bz-steps li { display: grid; grid-template-columns: 18px minmax(0, 1fr) auto; gap: 10px; align-items: center; padding: 9px 0; border-bottom: 1px solid var(--line); font-size: 14.5px; white-space: nowrap; color: var(--soft); transition: color .3s; }
.bz-steps li .d { width: 10px; height: 10px; border: 1px solid var(--soft); border-radius: 50%; justify-self: center; }
.bz-steps li .s { font-size: 13px; min-width: 4.5em; text-align: right; }
.bz-steps li.done { color: var(--ink); }
.bz-steps li.done .d { background: var(--ink); border-color: var(--ink); }
.bz-steps li.now { color: var(--ink); }
.bz-steps li.now .d { border-color: var(--loss); background: var(--loss); animation: bz-blink 1.1s ease-in-out infinite; }
.bz-time { margin-top: 12px; font-size: 13.5px; color: var(--soft); }
.bz-time b { color: var(--ink); font-weight: 500; font-variant-numeric: tabular-nums; }

/* Связка с обычным отчётом: пока браузер ходит, ниже уже готовы проверки кода.
   Место занято сразу (высота не зависит от текста), кнопка проявляется, когда есть куда вести. */
.bz-note { display: flex; align-items: center; justify-content: space-between; gap: 10px 20px; }
.bz-note-t { font-size: 16px; line-height: 1.4; }
.bz-note-t b { font-weight: 600; font-variant-numeric: tabular-nums; }
.bz-note-t b.bad { color: var(--loss); }
.bz-note-t.swap { animation: bz-fade .45s ease-out; }
.bz-note > button { flex: none; white-space: nowrap; opacity: 0; visibility: hidden; transition: opacity .35s ease-out, visibility 0s .35s; }
.bz-note.ready > button { opacity: 1; visibility: visible; transition: opacity .35s ease-out; }
.bz-note.off { visibility: hidden; }
.bz-note-walk { margin-top: 16px; min-height: 76px; padding: 14px 16px 14px 20px; background: var(--card); border: 1px solid var(--ink); border-left-width: 4px; }
.bz-note-walk:not(.ready) .bz-note-t { color: var(--soft); }
.bz-note-done { margin-top: 14px; min-height: 44px; justify-content: flex-start; }
.bz-note-done .bz-note-t { font-size: 15px; color: var(--soft); }
.bz-note-done .bz-note-t b:not(.bad) { color: var(--ink); }
.bz-note-done > button { padding: 10px 0; color: var(--ink); }


/* Световой стол: тёмная плёнка в сетку, вывод и цифры, снимок с пинами, находки по номерам. */
.bz-desk { --desk: #1B1E23; --desk-line: #2C3038; --desk-ink: #ECEAE4; --desk-soft: #A3A6AD;
  margin-top: 14px; background-color: var(--desk); color: var(--desk-ink); padding: clamp(20px, 3.4vw, 44px);
  background-image: linear-gradient(var(--desk-line) 1px, transparent 1px), linear-gradient(90deg, var(--desk-line) 1px, transparent 1px); background-size: 32px 32px; }
.bz-desk .bz-site { color: var(--desk-soft); }
.bz-desk .bz-headline { color: var(--desk-ink); }
.bz-desk .bz-cover-line, .bz-desk .bz-joke, .bz-desk .bz-hint { color: var(--desk-soft); }
.bz-desk .btn { background: var(--desk-ink); color: var(--desk); border-color: var(--desk-ink); }
.bz-desk .btn:hover { background: #fff; }
.bz-desk .out { color: var(--desk-ink); border-color: var(--desk-ink); }
.bz-desk .out:hover { background: var(--desk-ink); color: var(--desk); }
.bz-desk :focus-visible { outline-color: var(--desk-ink); }
.bz-site { font-size: 13.5px; color: var(--soft); overflow-wrap: anywhere; }
.bz-headline { margin-top: 10px; font-size: clamp(30px, 3.8vw, 46px); font-weight: 800; letter-spacing: -.025em; line-height: 1.05; max-width: 20ch; }
.bz-cover-line { margin-top: 14px; font-size: 15.5px; max-width: 60ch; }
.bz-score { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin-top: 24px; border-top: 1px solid #4A4E57; padding-top: 16px; }
.bz-tile b { display: block; font-size: clamp(40px, 5vw, 60px); font-weight: 800; letter-spacing: -.03em; line-height: 1; font-variant-numeric: tabular-nums; }
.bz-tile span { font-size: 14.5px; color: var(--desk-soft); }
.bz-tile.money b { color: #FF7A6B; }
.bz-tile.zero b { color: #6FCB9C; }
.bz-joke { margin-top: 12px; font-size: 15.5px; color: var(--soft); max-width: 60ch; }

.bz-desk-g { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); grid-template-areas: "text scene" "text side"; gap: 24px clamp(24px, 4vw, 48px); align-items: start; }
.bz-desk-g > .bz-desk-l { grid-area: text; }
.bz-desk-g > .bz-desk-sc { grid-area: scene; }
.bz-desk-g > .bz-desk-r { grid-area: side; }
.bz-desk-g.noshot { grid-template-areas: "text side"; }
.bz-desk-r .bz-legend { columns: 2; column-gap: 24px; }
.bz-desk-r .bz-legend li { break-inside: avoid; }
.bz-xray { box-shadow: 0 0 0 8px #252930; border: 1px solid #4A4E57; }
.bz-col-h { font: 500 11px/1.3 ui-monospace, Menlo, monospace; letter-spacing: .1em; text-transform: uppercase; color: var(--desk-soft); padding-bottom: 8px; border-bottom: 1px solid #4A4E57; }
.bz-legend { list-style: none; }
.bz-lg { display: grid; grid-template-columns: 26px minmax(0, 1fr); gap: 2px 10px; width: 100%; text-align: left; background: none; border: none; border-bottom: 1px solid #33373F; color: var(--desk-ink); padding: 9px 0; cursor: pointer; align-items: start; }
.bz-lg i { grid-row: span 2; font-style: normal; display: inline-grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: var(--loss); color: #fff; font-size: 12px; font-weight: 700; }
.bz-lg .t { font-size: 14.5px; line-height: 1.3; }
.bz-lg .w { font-size: 12px; color: var(--desk-soft); }
.bz-lg:hover .t { text-decoration: underline; text-underline-offset: 3px; }
.bz-desk-r .bz-hint { margin-top: 10px; }
.bz-crawl { margin-top: 22px; font-size: 14.5px; color: var(--desk-soft); max-width: 80ch; }
.bz-crawl b { color: var(--desk-ink); font-weight: 500; }

/* Главы: вывод слева, схема справа. */
.bz-ch { border-top: 1px solid var(--ink); padding: clamp(32px, 4.4vw, 60px) 0; }
.bz-chg { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(24px, 4vw, 56px); align-items: start; }
.bz-chg > .bz-viz { position: sticky; top: 24px; }
.bz-chg.one { grid-template-columns: minmax(0, 1fr); max-width: 720px; }
.bz-chno { display: flex; align-items: center; gap: 6px 8px; flex-wrap: wrap; margin-bottom: 14px; font-weight: 600; font-size: 15px; }
.bz-chno i { font-style: normal; display: inline-grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: var(--loss); color: #fff; font-weight: 800; font-size: 14px; }
.bz-chno i.ok { background: var(--gain); }
.bz-chno span { margin-left: 4px; }
.bz-only { display: inline-block; margin: 0 0 14px; font-size: 14px; font-weight: 600; background: #EFC94C; color: var(--ink); padding: 4px 10px; }
.bz-ch-h { font-size: clamp(26px, 3.2vw, 38px); line-height: 1.08; letter-spacing: -.02em; font-weight: 800; max-width: 20ch; }
.bz-ch-p { margin-top: 14px; font-size: 16px; max-width: 52ch; overflow-wrap: anywhere; }
.bz-do { border-left: 3px solid var(--ink); padding: 4px 0 4px 14px; margin-top: 18px; font-size: 15.5px; max-width: 52ch; }
.bz-do b { display: block; font-size: 14px; color: var(--soft); font-weight: 500; margin-bottom: 2px; }
.bz-who { display: inline-block; margin-top: 12px; font-size: 14px; border: 1px solid var(--ink); padding: 3px 10px; }

.bz-means { margin: 0 0 16px; font-size: 16px; line-height: 1.45; max-width: 54ch; }
.bz-means b { font-weight: 600; }

/* Один отчёт под блоком браузера (#ck-report): итог, главы, все проверки списком. */
.ck-report { margin-top: 8px; }
.ck-late { display: flex; align-items: baseline; gap: 0 8px; flex-wrap: wrap; margin: 0 0 16px; font-size: 14.5px; color: var(--soft); }
.ck-late .pending-dot { align-self: center; }
.ck-head { border-top: 1px solid var(--ink); padding-top: 20px; }
.ck-head-k { font-size: 13px; letter-spacing: .06em; text-transform: uppercase; color: var(--soft); }
/* Заголовок итога пересчитывается, когда догружаются блоки: на узком экране место под три строки занято заранее. */
.ck-head .bz-headline { max-width: 28ch; }
@media (max-width: 640px) { .ck-head .bz-headline { min-height: 3.15em; } }
.ck-head .bz-score { max-width: 640px; border-top-color: var(--line); }
.ck-head .bz-tile span { color: var(--soft); }
.ck-head .bz-tile.money b { color: var(--loss); }
.ck-head .bz-tile.zero b { color: var(--gain); }
.ck-head .bz-cover-line { color: var(--soft); min-height: 2.8em; }
.ck-head + .bz-chs { margin-top: clamp(28px, 4vw, 48px); }
/* В итоге на снимке — строка про находки кода, домена и почты. */
.bz-more { display: block; width: 100%; text-align: left; background: none; border: none; border-bottom: 1px solid #33373F; color: var(--desk-ink); padding: 10px 0; font-size: 14.5px; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
.bz-more[hidden] { display: none; }
.bz-pop-src { margin-top: 10px; font-size: 13px; color: var(--soft); }
/* Глава 5: сроки и записи. */
.bz-chips { display: grid; grid-template-columns: 96px minmax(0, 1fr); gap: 8px 12px; align-items: start; margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--line); }
.bz-chips .k { font-size: 14px; color: var(--soft); padding-top: 7px; }
.bz-chips .v { display: flex; flex-wrap: wrap; gap: 8px; }
.bz-chip { display: inline-flex; align-items: center; gap: 6px; min-height: 36px; padding: 6px 12px 6px 8px; border: 1px solid var(--ink); background: var(--paper); color: var(--ink); font-size: 14px; cursor: pointer; }
.bz-chip i { font-style: normal; display: inline-grid; place-items: center; width: 20px; height: 20px; border-radius: 50%; font-size: 12px; font-weight: 700; color: #fff; background: var(--soft); }
.bz-chip.ok i { background: var(--gain); }
.bz-chip.no { border-color: var(--loss); background: #FBEEEC; }
.bz-chip.no i { background: var(--loss); }
.bz-chip:hover { text-decoration: underline; text-underline-offset: 3px; }
/* Глава 6: из чего собран сайт. */
.bz-stack { display: grid; gap: 8px; font-size: 15px; }
.bz-stack div { display: grid; grid-template-columns: 180px minmax(0, 1fr); gap: 12px; padding-bottom: 8px; border-bottom: 1px solid var(--line); overflow-wrap: anywhere; }
.bz-stack span:first-child { color: var(--soft); }
/* Все проверки списком: свёрнуто, по главам. */
.ck-all { border-top: 1px solid var(--ink); border-bottom: 1px solid var(--ink); }
.ck-all > summary { list-style: none; display: grid; grid-template-columns: minmax(0, 1fr) auto 16px; gap: 4px 16px; align-items: center; min-height: 60px; padding: 12px 0; cursor: pointer; }
.ck-all > summary::-webkit-details-marker { display: none; }
.ck-all > summary .t { font-size: clamp(19px, 2.2vw, 24px); font-weight: 800; letter-spacing: -.015em; }
.ck-all > summary .s { font-size: 14px; color: var(--soft); text-align: right; }
.ck-all > summary:hover .t { text-decoration: underline; text-underline-offset: 4px; }
.ck-all[open] .ck-chev { transform: translateY(2px) rotate(-135deg); }
.ck-all-b { padding: 4px 0 24px; columns: 2; column-gap: 40px; }
.ck-all-g { break-inside: avoid; padding-top: 14px; }
.ck-all-g h4 { font-size: 13px; letter-spacing: .06em; text-transform: uppercase; color: var(--soft); font-weight: 500; padding-bottom: 6px; border-bottom: 1px solid var(--ink); }
.ck-all-g ul { list-style: none; }
.ck-all-g li { display: grid; grid-template-columns: 24px minmax(0, 1fr) auto; gap: 0 10px; align-items: center; padding: 7px 0; border-bottom: 1px solid var(--line); font-size: 14.5px; }
.ck-all-g li .bz-n { width: 20px; height: 20px; font-size: 11px; grid-row: span 2; }
.ck-all-g li .w { font-size: 13px; white-space: nowrap; }
.ck-all-g li .w.no { color: var(--loss); font-weight: 600; }
.ck-all-g li .w.ok { color: var(--gain); }
.ck-all-g li .w.cant { color: var(--soft); }
.ck-all-g li .src { grid-column: 2 / -1; font-size: 12.5px; color: var(--soft); }

/* Карточки находок: заголовок-кнопка, подробности поверх соседей (место не нужно). */
.bz-cards { margin-top: 22px; border-top: 1px solid var(--ink); }
.bz-card { position: relative; border-bottom: 1px solid var(--line); }
.bz-card-h { display: grid; grid-template-columns: 26px minmax(0, 1fr) auto; gap: 2px 10px; align-items: center; width: 100%; text-align: left; background: none; border: none; color: var(--ink); padding: 11px 0; cursor: pointer; font-size: 15px; }
.bz-card-h .t { font-weight: 600; }
.bz-card-h .c { grid-column: 2; font-size: 13px; color: var(--soft); }
.bz-card[data-status="ok"] .t, .bz-card[data-status="unknown"] .t { font-weight: 500; }
.bz-card-h:hover .t { text-decoration: underline; text-underline-offset: 3px; }
.bz-n { font-style: normal; display: inline-grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; font-size: 12px; font-weight: 700; color: #fff; background: var(--soft); }
.bz-n.no { background: var(--loss); }
.bz-n.ok { background: var(--gain); }
.bz-v { font-size: 13.5px; font-weight: 600; white-space: nowrap; grid-row: 1; grid-column: 3; }
.bz-v.no { color: var(--loss); }
.bz-v.ok { color: var(--gain); font-weight: 500; }
.bz-v.cant { color: var(--soft); font-weight: 500; white-space: normal; text-align: right; max-width: 7.5em; }
.bz-pop { position: absolute; left: 0; right: 0; top: calc(100% - 4px); z-index: 30; background: var(--card); border: 1px solid var(--ink); box-shadow: 0 14px 34px rgba(32, 36, 42, .18); padding: 14px 40px 14px 16px; font-size: 15px;
  opacity: 0; visibility: hidden; transform: translateY(-6px); transition: opacity .2s ease-out, transform .2s ease-out, visibility 0s linear .2s; }
.bz-card.open { z-index: 31; }
.bz-card.open .bz-pop { opacity: 1; visibility: visible; transform: none; transition: opacity .2s ease-out, transform .2s ease-out, visibility 0s; }
.bz-card.open .bz-card-h .t { text-decoration: underline; text-underline-offset: 3px; }
.bz-pop-x { position: absolute; right: 4px; top: 4px; width: 36px; height: 36px; background: none; border: none; font-size: 22px; line-height: 1; color: var(--soft); cursor: pointer; }
.bz-pop-in p { overflow-wrap: anywhere; }
.bz-pop-do { margin-top: 10px; }
.bz-ev { list-style: none; margin-top: 8px; display: grid; gap: 4px; font-size: 13.5px; color: var(--soft); }
.bz-ev li { border-left: 2px solid var(--ink); padding-left: 10px; overflow-wrap: anywhere; }
.bz-ev b { color: var(--ink); font-weight: 500; }
.bz-ev time { font-variant-numeric: tabular-nums; }
.bz-ev-h { margin-top: 10px; font-size: 12.5px; letter-spacing: .05em; text-transform: uppercase; color: var(--soft); }

/* Схемы глав. */
.bz-viz { background: var(--card); border: 1px solid var(--ink); padding: clamp(16px, 2.6vw, 30px); }
.bz-vt { font-size: 14.5px; color: var(--soft); margin-bottom: 14px; }
.bz-vnote { margin-top: 12px; font-size: 14px; color: var(--soft); overflow-wrap: anywhere; }
/* 1. Путь товара. */
.bz-path { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; align-items: start; }
.bz-st { text-align: center; }
.bz-st .bx { height: 112px; border: 1px solid var(--ink); display: grid; place-items: center; background: var(--paper); }
.bz-st .bx b { font-size: 46px; font-weight: 800; line-height: 1; font-variant-numeric: tabular-nums; }
.bz-st.zero .bx b { color: var(--loss); }
.bz-st.has .bx b { color: var(--gain); }
.bz-st.na .bx { border-style: dashed; border-color: var(--soft); }
.bz-st.na .bx b { font-size: 15px; color: var(--soft); font-weight: 600; padding: 0 6px; }
.bz-st > span { display: block; font-size: 15px; margin-top: 8px; }
.bz-st small { display: block; font-size: 12.5px; color: var(--soft); }
.bz-rv .bx { opacity: 0; transform: translateY(8px); transition: opacity .4s ease-out, transform .4s ease-out; }
.bz-rv.on .bx { opacity: 1; transform: none; }
.bz-prices { margin-top: 18px; border-top: 1px solid var(--line); padding-top: 12px; }
.bz-prices ul { list-style: none; display: grid; gap: 4px; font-size: 14.5px; }
.bz-prices li { border-left: 2px solid var(--loss); padding-left: 10px; }
/* 2. Согласие. */
.bz-flow { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 16px; }
.bz-col h4 { margin: 0 0 10px; font-size: 16px; }
.bz-svc { display: flex; justify-content: space-between; gap: 10px; border: 1px solid var(--ink); padding: 9px 12px; margin-bottom: 8px; font-size: 14.5px; }
.bz-svc span { flex: 1 1 auto; }
.bz-svc b { flex: 0 1 auto; font-weight: 600; text-align: right; }
.bz-svc.hot { border-color: var(--loss); background: #FBEEEC; }
.bz-svc.hot b { color: var(--loss); }
.bz-dots { display: flex; flex-wrap: wrap; gap: 4px; margin-top: 10px; align-items: center; }
.bz-dots i { width: 16px; height: 16px; border-radius: 50%; background: var(--line); }
.bz-dots i.hot { background: var(--loss); }
.bz-dots span { font-size: 13px; color: var(--soft); }
.bz-rv.bz-dots i { opacity: 0; transform: scale(.4); transition: opacity .3s ease-out, transform .3s ease-out; }
.bz-rv.bz-dots.on i { opacity: 1; transform: none; }
.bz-reject { margin-top: 14px; padding: 12px; border: 1px dashed var(--soft); font-size: 15px; }
/* 3. Телефон. */
.bz-phonewrap { display: grid; grid-template-columns: 210px minmax(0, 1fr); gap: 28px; align-items: center; }
.bz-phone { margin: 0; }
.bz-phone-frame { position: relative; border: 10px solid var(--ink); border-radius: 30px; overflow: hidden; background: var(--card); aspect-ratio: 412 / 839; }
.bz-phone-frame > .rg { position: absolute; inset: 0; aspect-ratio: auto; height: 100%; }
.bz-phone-frame .rg-film { width: 100%; }
.bz-phone-frame .rg-marks { display: none; }
.bz-phone-frame > img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: top; }
.bz-cover { position: absolute; left: 0; right: 0; bottom: 0; border-top: 2px solid var(--loss);
  background: repeating-linear-gradient(135deg, rgba(192, 57, 43, .38) 0 7px, rgba(192, 57, 43, .08) 7px 14px); }
.bz-cover span { position: absolute; left: 8px; top: 8px; background: var(--loss); color: #fff; font-size: 13px; font-weight: 600; padding: 3px 8px; white-space: nowrap; }
.bz-phone figcaption { margin-top: 10px; font-size: 13px; color: var(--soft); }
.bz-schema { position: absolute; inset: 0; padding: 10% 8%; display: grid; grid-template-rows: 5% 34% 4% 4% 4% 26%; gap: 4%; background: var(--card); }
.bz-schema i { display: block; background: var(--line); }
.bz-schema i:nth-child(4) { width: 75%; }
.bz-schema i:nth-child(5) { width: 55%; }
.bz-meter { margin-bottom: 20px; }
.bz-meter .l { display: flex; justify-content: space-between; gap: 12px; font-size: 15px; margin-bottom: 6px; }
.bz-meter .num { font-variant-numeric: tabular-nums; text-align: right; }
.bz-meter .loss { color: var(--loss); }
.bz-meter .gain { color: var(--gain); }
.bz-meter .tr { height: 12px; background: var(--line); position: relative; overflow: hidden; }
.bz-meter .tr i { position: absolute; inset: 0; background: var(--ink); transform-origin: left; }
.bz-meter.loss .tr i { background: var(--loss); }
.bz-rv.tr i { opacity: 0; transition: opacity .6s ease-out; }
.bz-rv.tr.on i { opacity: 1; }
.bz-meter small { display: block; font-size: 13px; color: var(--soft); margin-top: 6px; }
/* 4. Сетка страниц. */
.bz-grid { display: grid; grid-template-columns: 110px minmax(0, 1fr); gap: 6px 10px; align-items: center; font-size: 14px; }
.bz-grid .cells { display: grid; grid-template-columns: repeat(var(--cols), minmax(0, 1fr)); gap: 3px; max-width: calc(var(--cols) * 30px); }
.bz-grid .cells i { aspect-ratio: 1; background: var(--loss); }
.bz-grid .cells i.g { background: var(--gain); }
.bz-rv.bz-grid .cells i { opacity: 0; transition: opacity .25s ease-out; }
.bz-rv.bz-grid.on .cells i { opacity: 1; }

/* Термины с подсказкой и источниками. */
.term { background: none; border: none; padding: 0; color: inherit; font: inherit; cursor: help; text-decoration: underline dashed; text-decoration-thickness: 1px; text-underline-offset: 4px; }
.term[aria-expanded="true"] { text-decoration-style: solid; text-decoration-thickness: 2px; }
.bz-tip { margin-top: 10px; border-top: 1px solid var(--ink); padding-top: 10px; font-size: 14.5px; animation: bz-fade .3s ease-out; }
.bz-tip b { font-weight: 600; }
.bz-tip p { margin-top: 4px; }
.bz-tip .calc { color: var(--soft); }
.bz-srcs { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; font-size: 13px; }
.bz-srcs span { border: 1px solid var(--line); padding: 3px 9px; color: var(--soft); transition: background .25s, color .25s, border-color .25s; }
.bz-srcs span.lit { border-color: var(--ink); background: var(--ink); color: var(--paper); }

/* Появление: только opacity и transform. */
.bz-anim .bz-hl { animation: bz-up .7s cubic-bezier(.2, .7, .2, 1) both .25s; }

/* Нижние разделы (в #bz-tail под обычным отчётом): та же ширина, тот же шаг. */
.bz-tail { margin-top: clamp(32px, 4.4vw, 56px); }
/* Последний раздел хвоста отделён от того, что идёт следом (на /otchet — подвал отчёта с линией). */
.bz-tail > .bz-sec:last-child { padding-bottom: clamp(32px, 4.4vw, 56px); }
.bz-sec { margin-top: 0; border-top: 1px solid var(--ink); padding: clamp(32px, 4.4vw, 56px) 0 0; }
.bz-sec + .bz-sec { margin-top: clamp(32px, 4.4vw, 56px); }
.bz-chs + .bz-sec { margin-top: 0; }
.bz-sec h3 { font-size: clamp(26px, 3.2vw, 38px); font-weight: 800; letter-spacing: -.02em; line-height: 1.08; max-width: 20ch; }
.bz-sub { margin-top: 32px; font-size: 18px; font-weight: 700; }
.bz-lead { margin-top: 10px; color: var(--soft); max-width: 60ch; font-size: 15.5px; }
.bz-vs, .bz-paidsec { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(20px, 4vw, 56px); align-items: start; }
.bz-next6 { display: grid; grid-template-columns: repeat(auto-fit, minmax(15em, 1fr)); gap: 14px; margin-top: 16px; }
.bz-vs .bz-next6 { margin-top: 0; }
.bz-next6 div { border: 1px solid var(--ink); padding: 16px; background: var(--card); }
.bz-next6 b { display: block; font-size: 17px; margin-bottom: 4px; }
.bz-next6 span { font-size: 14px; color: var(--soft); }
/* Кому переслать: три равные карточки, выбранная — тонкой рамкой цвета чернил. */
.bz-roles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 20px; align-items: stretch; }
.bz-role { display: flex; flex-direction: column; border: 1px solid var(--line); background: var(--card); padding: 18px 20px 12px; cursor: pointer; transition: border-color .15s; }
.bz-role:hover { border-color: var(--soft); }
.bz-role.sel { border-color: var(--ink); }
.bz-role-t { font-size: 19px; font-weight: 800; display: block; }
.bz-role ul { list-style: none; margin: 10px 0 0; display: grid; gap: 6px; font-size: 15px; line-height: 1.35; }
.bz-role li { position: relative; padding-left: 16px; }
.bz-role li::before { content: ""; position: absolute; left: 0; top: .55em; width: 6px; height: 6px; background: var(--soft); }
.bz-role.sel li::before { background: var(--ink); }
.bz-role-more { margin-top: 6px; min-height: 1.4em; font-size: 13.5px; color: var(--soft); }
.bz-role .bz-role-pick { margin-top: auto; align-self: flex-start; padding: 8px 0; font-size: 14px; }
.bz-role.sel .bz-role-pick { color: var(--ink); text-decoration: none; font-weight: 600; }
.bz-msg-bar { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 8px 16px; margin-top: 24px; }
.bz-msg-h { font-size: 15px; font-weight: 600; }
.bz-msg-acts { display: flex; align-items: center; gap: 12px; }
.bz-msg { margin-top: 10px; background: var(--card); border: 1px solid var(--ink); padding: 18px 20px; font: 15px/1.6 'Golos Text', -apple-system, sans-serif; white-space: pre-wrap; overflow-wrap: anywhere; user-select: text; }
.bz-cmp { width: 100%; border-collapse: collapse; }
.bz-cmp th, .bz-cmp td { border-bottom: 1px solid var(--line); padding: 12px 8px; text-align: left; font-size: 15.5px; vertical-align: top; }
.bz-cmp th { font-size: 14px; color: var(--soft); font-weight: 500; white-space: nowrap; }
.bz-cmp td:nth-child(n+2), .bz-cmp th:nth-child(n+2) { text-align: center; width: 6.5em; }
.bz-cmp .y { color: var(--gain); font-weight: 800; }
.bz-cmp .n { color: var(--soft); font-weight: 800; }
.bz-paidsec .btn { display: inline-flex; align-items: center; text-decoration: none; color: var(--paper); }

/* Картинка итога: превью слева в рамке постоянного размера, справа формат и кнопки. */
.bz-share-g { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(20px, 4vw, 56px); margin-top: 20px; align-items: start; }
.bz-canvas { aspect-ratio: 16 / 10; border: 1px solid var(--line); background: #EDEBE4; padding: 12px; display: flex; justify-content: center; align-items: center; }
.bz-canvas canvas { display: block; width: 100%; height: auto; max-height: 100%; box-shadow: 0 1px 0 rgba(32, 36, 42, .08); }
.bz-canvas.tall canvas { width: auto; height: 100%; }
.bz-share-r .bz-lead { margin-top: 0; }
.bz-seg-row { display: flex; align-items: center; gap: 12px; margin-top: 16px; }
.bz-seg { display: inline-flex; border: 1px solid var(--ink); }
.bz .bz-seg button { background: none; border: none; color: var(--ink); font-size: 14px; padding: 6px 14px; min-height: 34px; cursor: pointer; }
.bz .bz-seg button + button { border-left: 1px solid var(--ink); }
.bz .bz-seg button[aria-checked="true"] { background: var(--ink); color: var(--paper); }
.bz-size { font-size: 13.5px; color: var(--soft); font-variant-numeric: tabular-nums; }
.bz-cap-h { margin-top: 18px; font-size: 13px; color: var(--soft); }
.bz-cap { margin-top: 4px; font-size: 14.5px; max-width: 60ch; padding-left: 12px; border-left: 2px solid var(--line); }

/* Мостики. */
.bz-next { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin-top: 16px; }
.bz-step { border-top: 2px solid var(--ink); padding-top: 12px; }
.bz-step .k { font-size: 13px; color: var(--soft); }
.bz-step h4 { margin: 4px 0 6px; font-size: 18px; font-weight: 700; }
.bz-step p { font-size: 14.5px; margin-bottom: 8px; }
.bz-demo-note { margin-top: 12px; padding: 10px 14px; border: 1px dashed var(--ink); font-size: 14px; }

@keyframes bz-drop { from { opacity: 0; transform: translateY(-10px); } to { opacity: 1; transform: none; } }
@keyframes bz-up { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
@keyframes bz-rise { from { opacity: 0; transform: translateY(60px) rotate(2deg); } to { opacity: 1; transform: none; } }
@keyframes bz-grow { from { transform: scaleY(0); } to { transform: none; } }
@keyframes bz-bar { from { transform: scaleX(0); } to { transform: none; } }
@keyframes bz-fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes bz-blink { 0%, 100% { opacity: .25; } 50% { opacity: 1; } }
@keyframes bz-scan { from { transform: translateY(0); } to { transform: translateY(98%); } }

@media (max-width: 960px) {
  .bz-desk-g, .bz-desk-g.noshot { grid-template-columns: minmax(0, 1fr); grid-template-areas: "text" "scene" "side"; }
  .bz-chg, .bz-vs, .bz-paidsec { grid-template-columns: minmax(0, 1fr); }
  .bz-chg > .bz-viz { position: static; }
  .bz-walk { grid-template-columns: minmax(0, 1fr) 128px; grid-template-areas: "desk ph" "steps steps"; }
}
@media (max-width: 760px) {
  .ck-all-b { columns: 1; }
  .ck-all > summary { grid-template-columns: minmax(0, 1fr) 16px; }
  .ck-all > summary .s { grid-column: 1; grid-row: 2; text-align: left; }
  .ck-all > summary .ck-chev { grid-column: 2; grid-row: 1 / span 2; }
  .bz-stack div { grid-template-columns: minmax(0, 1fr); gap: 2px; }
  .bz-chips { grid-template-columns: minmax(0, 1fr); gap: 6px; }
  .bz-chips .k { padding-top: 0; }
  .bz-roles { grid-template-columns: minmax(0, 1fr); }
  .bz-share-g { grid-template-columns: minmax(0, 1fr); }
  .bz-walk { grid-template-columns: 104px minmax(0, 1fr); grid-template-areas: "desk desk" "ph steps"; gap: 16px; }
  .bz-say p { height: 4.2em; font-size: 15.5px; }
  .bz-steps li { padding: 7px 0; font-size: 14px; white-space: normal; grid-template-columns: 14px minmax(0, 1fr); gap: 8px; }
  .bz-steps li .s { display: none; }
  .bz-w-ph figcaption { font-size: 12px; }
  .bz-next { grid-template-columns: minmax(0, 1fr); }
  .bz-note { flex-direction: column; align-items: flex-start; }
  .bz-note-walk { min-height: 0; padding: 14px 16px; }
  .bz-note-walk .bz-note-t { min-height: 4.2em; font-size: 15.5px; }
  .bz-note-done { gap: 0; }
  .bz-note-done .bz-note-t { min-height: 2.8em; }
}
@media (max-width: 600px) {
  .bz-path { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .bz-flow { grid-template-columns: minmax(0, 1fr); }
  .bz-phonewrap { grid-template-columns: minmax(0, 1fr); justify-items: center; }
  .bz-phonewrap > div { width: 100%; }
  .bz-phone { width: 190px; }
  .bz-grid { grid-template-columns: 84px minmax(0, 1fr); font-size: 13px; }
  .bz-score { gap: 10px; }
  .bz-desk { padding: 20px 16px; }
  .bz-desk-r .bz-legend { columns: 1; }
  .bz-cmp th, .bz-cmp td { padding: 10px 4px; font-size: 14.5px; }
  .bz-cmp td:nth-child(n+2), .bz-cmp th:nth-child(n+2) { width: 5.6em; }
}
@media (prefers-reduced-motion: reduce) {
  .bz *, .bz *::before, .bz *::after { animation: none !important; transition: none !important; }
  .bz-scan { display: none; }
}
