/* Правки отдельных экранов после разбора с макетом. Логотип кабинета на макете стоит на разной высоте (59–73 точки снимка). */
/* c-status */
#screen:has(.cb-radio) .cb-logo { height: 60.5px; padding-top: 24.5px; }
#screen:has(.cb-radio) .cb-sub { margin-top: 2.5px; line-height: 18px; }
.cb-radio { padding: 2.5px 14px; }
.cb-radio label { gap: 17px; }
.cb-radio input:not(:checked) { background: var(--plate-7); border-color: var(--line-7); }
#screen:has(.cb-radio) .cb-save { margin-top: 17.5px; font-weight: 600; color: var(--btn-soft); }
/* c-staff */
#screen:has(.st-card) .cb-logo { height: 58px; padding-top: 22.5px; }
.st-card label { margin-top: 1px; }
.st-card input, .st-pick { margin-top: 6px; }
.st-n { margin-top: -2.5px; font-size: 12.6px; }
.st-add { margin-top: 10px; }
.st-h.is-dim { margin-top: 26px; }
/* a-reviews */
.ad-new + .ad-h1:has(+ .ad-p + .ad-h2) { margin-top: 25.5px; }
.ad-h2 { margin-top: 10px; font-size: 19px; line-height: 26px; }
.ad-h2 + .ad-p { margin-top: 4px; }
/* a-venue-data */
.vd-b { margin-top: 33px; }
.vd-e { margin: 19px 16px 0; color: var(--accent-soft); font-size: 12.5px; font-weight: 700; line-height: 20px; }
.vd-h { margin-top: 5px; font-size: 20px; }
.vd-r { align-items: flex-start; min-height: 34px; padding: 7px 0 8px; color: var(--ink-2n); }
.vd-r span { max-width: 122px; }
.vd-r b { font-weight: 600; }
.vd-c h2 + h3 { margin-top: 4px; }
/* g-how */
.i-top:has(+ .h2-h1) { border-bottom: 1px solid var(--line-8); }
.h2-lead { padding-bottom: 16px; margin-bottom: 0; border-bottom: 1px solid var(--line-8); }
.h2-step { padding-bottom: 14px; border-bottom-color: var(--line-8); }
.h2-step p { margin-top: 6.5px; color: var(--ink-2n); }
.h2-faq p { color: var(--ink-2n); }
/* вторая сверка */
.cb-radio { padding: 4px 14px; }
#screen:has(.cb-radio) .cb-save { margin-bottom: 24px; }
.st-card label { margin-top: 2.5px; }
.st-n { margin-bottom: 10px; }
.st-p { margin-top: 13px; }
.st-log { margin-bottom: 22px; }
.ad-h2 { margin-top: 8px; }
.ad-h2 + .ad-p { margin-top: 3px; }
.h2-sec { margin-top: 4px; }
/* Шапка админки: значки на макете мельче, аватар темнее */
.ad-top .g-logo { font-size: 25px; top: 19px; }
.ad-top .g-bell svg { width: 23px; height: 23px; }
.ad-top .g-ava { background: var(--status-bg); }
/* a-telegram */
.tg-h { margin-top: 8px; }
.tg-s { padding: 0 13.5px; font-size: 14.2px; margin-bottom: 5px; }
.tg-b { line-height: 20px !important; }
.tg-c p:not(.tg-b) { color: var(--ink-2n); }
.tg-n { line-height: 18.5px !important; }
.tg-c .bk-ch { margin-top: 14.5px; }
.tg-c:has(.tg-s) { padding-bottom: 13.5px; }
.tg-p { margin-top: 15px; }
.tg-main { height: 48px; margin-top: -2.5px; font-size: 15.2px; }
/* a-user */
.ub-b { margin-top: 10px; }
.ub-h { margin-top: 7.5px; font-size: 21.3px; }
.ub-c { margin-top: 9px; }
.ub-c label { margin-bottom: 8px; color: var(--ink-2n); }
.ub-c input:not([type=checkbox]) { height: 36px; }
.ub-c .ub-n { font-size: 11.7px; }
.ub-c .ub-ch { color: var(--ink-row); margin-top: 11px; }
/* a-user, вторая сверка */
.ub-c label { margin-bottom: 7px; }
.ub-c .ub-ch { margin: 12px 0 2px; }
.ub-c .ub-n { margin-top: 0; }
.ub-s { margin-top: 8px; }
.ub-c { padding-bottom: 8px; }
/* a-user, третья сверка */
.ub-h { margin-top: 7px; }
.ub-p { margin-top: 0; }
.ub-c { margin-top: 8px; }
.ub-c .ub-n { font-size: 11.4px; }
.ub-c textarea { font-size: 12.6px; }
/* a-telegram: кнопки вплотную к тексту, как на макете */
.tg-c .ax-out:not(.tg-s) { margin-top: 0; font-size: 15px; font-weight: 600; }
.tg-c { margin-top: 13px; }
/* c-guide */
.gd-open ol { margin-top: 19.5px; font-size: 15px; line-height: 24.8px; }
.gd-open a { font-size: 15px; font-weight: 500; }
.gd-open h3, .gd-s { font-size: 15.2px; }
.gd-open i, .gd-s i { font-weight: 700; font-size: 13px; }
.gd-open u, .gd-s u { font-size: 24px; font-weight: 500; }
/* c-data-5 */
#screen:has(.dt-steps--5) .cb-logo { padding-top: 25.5px; }
.dt-steps--5 { margin-top: 4.5px; }
.dt-card--5 p { margin-top: 7.5px; }
.dt-card--5 .dt-cover { margin-top: 10.5px; }
.dt-gal svg { width: 36px; height: 36px; }
.dt-card--5:has(.dt-gal) { padding-bottom: 24px; }
.dt-prev { margin-top: 12px; margin-bottom: 14.7px; }
.dt-prev + .dt-card--5 { margin-top: 14.7px !important; }
.dt-card--5:has(.dt-url) p { font-size: 12.5px; white-space: nowrap; }
.dt-url { margin-top: 10px; }
/* Цвета по замеру медианой (tools/colors_dom.mjs) */
.p-tab { color: var(--ink-tab-2); }
.q-n { background: var(--reject-bg); }
.vd-r { border-top-color: var(--line-9); }
/* c-settings */
.se-sw i { background: var(--knob); }
.se-sw[aria-checked="false"] { background: var(--switch-off-2); }
.dt-steps--5 + .dt-card--5 { margin-top: 28.75px; } /* верх блока 223 px в зоне meta.json и на снимке */
/* c-guide: значения из сверки с макетом, сверху вниз */
#screen:has(.gd-open) .cb-logo { padding-top: 24.3px; }
.gd-cap { margin: 21px 22px 7.5px; }
.gd-doc { margin-bottom: 14px; padding-left: 15px; gap: 22px; }
.gd-doc svg { width: 35px; height: 38px; }
.gd-doc b { margin-bottom: 7.5px; }
.gd-doc small { font-size: 12.8px; }
.gd-eye { margin-top: 21.8px; }
.gd-h1 { margin-top: 16px; }
.gd-lead { margin-right: 30px; }
.gd-start { height: 231.5px; margin-top: 26px; }
.gd-start p { margin-top: 8px; line-height: 24.8px; }
.gd-open { margin-top: 24.5px; }
.gd-open ol { padding-right: 10px; }
.gd-open a { margin-top: 30.8px; }
.gd-open a:first-of-type { margin-top: 26.4px; }
.gd-help { padding-top: 26.4px; }
.gd-help p { margin: 10px 0 0; padding-right: 12px; font-size: 15px; }
.gd-help a { margin-bottom: 20px; }
/* a-telegram: сверка со снимком сверху вниз */
.tg-n { margin-top: 12px !important; }
.tg-c .bk-ch { margin-top: 9.5px; }
.tg-c:not(:has(.tg-s)) { padding-top: 17.5px; }
.tg-c .ax-out:not(.tg-s) { height: 47px; }

/* c-subscription: значения из разницы со снимком, точки /2 */
#screen:has(.sb-btn) .cb-logo { height: 60px; padding-top: 24px; }
#screen:has(.sb-btn) .sb-c { margin-top: 12px; padding-bottom: 12px; }
#screen:has(.sb-btn) .sb-c:first-of-type { margin-top: 9.5px; }
#screen:has(.sb-btn) .sb-c:last-of-type { margin-top: 13px; }
#screen:has(.sb-btn) .sb-c header { margin-top: 4px; }
#screen:has(.sb-btn) .sb-c p { margin-top: 7px; font-size: 12.9px; line-height: 19.5px; }
#screen:has(.sb-btn) .sb-r { padding-top: 8px; }
#screen:has(.sb-btn) .is-big + .sb-r { margin-top: -1px; }
#screen:has(.sb-btn) .sb-p { margin-top: 9px !important; }
#screen:has(.sb-btn) .sb-c strong + p { margin-top: 1.5px; }
#screen:has(.sb-btn) .sb-btn { margin-top: 8.5px; }
#screen:has(.sb-btn) .sb-btn + p { margin-top: -.5px; line-height: 19px; }
#screen:has(.sb-btn) .sb-f { margin-top: 6px; margin-bottom: 23px; font-size: 11.9px; }
#screen:has(.sb-btn) .cb-back h1 { padding-top: 2px; }
#screen:has(.sb-btn) .sb-btn + p { margin-right: -3px; }

/* s-invite: значения из разницы со снимком, точки /2; перенос абзаца как на макете */
.inv { padding-top: 269.75px !important; }
.inv h1 { line-height: 29.5px; }
.inv > p:not(.rs-note) { max-width: 260px; margin-top: 4.75px; }
.inv .a-label { margin-top: 21.5px; margin-bottom: 7.5px; }
.inv-btn { margin-top: 17px; }
.inv .rs-note { margin-top: 5px !important; font-size: 11.2px !important; line-height: 16.5px !important; }
#screen:has(.inv) .t-back { top: 22.5px; }
.inv { padding-bottom: 22.5px !important; }

/* a-quality: значения из разницы со снимком, точки /2. Промежутки и отступ над строками на макете разные от карточки к карточке: так и повторено */
#screen:has(.kq) .ad-new { margin-top: 14px; height: 63px; gap: 8px; }
#screen:has(.kq) .ct-b { margin-top: 10px; font-size: 14.4px; }
#screen:has(.kq) .kq-h { margin-top: 6px; font-size: 22.7px; }
#screen:has(.kq) .kq-l { margin-top: 9px; font-size: 13px; }
#screen:has(.kq) .kq-s { margin-top: 4px; }
#screen:has(.kq) .kq:last-child { margin-bottom: 14.5px; }
#screen:has(.kq) .kq-s input, #screen:has(.kq) .kq-s button { height: 47px; }
#screen:has(.kq) .kq-s button { width: 83px; color: var(--white); }
#screen:has(.kq) .kq-l + .ad-p { margin-top: 14px; }
#screen:has(.kq) .kq { padding: 18px 17px 16.5px; font-size: 13.9px; margin-top: 13.5px; }
#screen:has(.kq) .kq:nth-of-type(1) { margin-top: 12px; }
#screen:has(.kq) .kq:nth-of-type(2), #screen:has(.kq) .kq:nth-of-type(5) { margin-top: 17px; }
#screen:has(.kq) .kq a { font-size: 17.9px; }
#screen:has(.kq) .kq p { margin: 6.5px 0 5.5px; font-size: 15px; }
#screen:has(.kq) .kq:nth-of-type(1) p, #screen:has(.kq) .kq:nth-of-type(4) p { margin-bottom: -.5px; }

/* a-blog: значения из разницы со снимком, точки /2 */
#screen:has(.ab) .ad-new { margin-top: 21px; height: 63px; gap: 8px; }
#screen:has(.ab) .ad-h1 { margin-top: 20px; font-size: 22.4px; }
#screen:has(.ab) .ad-p { margin-top: 14px; font-size: 15px; line-height: 22px; }
#screen:has(.ab) .ab-add { margin-top: 14px; height: 47px; }
#screen:has(.ab) .ab-site { margin-top: 11px; height: 42px; }
#screen:has(.ab) .ab { margin-top: 9.7px; padding: 10px 14px 11px 12.5px; }
#screen:has(.ab) .ab-site + .ab { margin-top: 14px; }
#screen:has(.ab) .ab p { margin-top: 7.5px; font-size: 11.7px; }
#screen:has(.ab) .ab div { margin-top: 8.5px; }
#screen:has(.ab) .ab:last-child { margin-bottom: 26px; }
#screen:has(.ab) .ab em { margin-right: 6px; }
