/* =============================================================================
   Linkodium 152: публичный сайт, страница проверки, отчёт и версия для печати.
   Семейство keys/img: светлый фон, Nunito, акцент индиго. Брейкпоинты: 1024, 720, 420.
   ========================================================================== */
:root {
    --ink: #151a30;
    --text: #444b63;
    --muted: #677089;
    --line: #e4e7f2;
    --tint: #f5f6fb;
    --accent: #4f46e5;
    --accent-hover: #4338ca;
    --accent-tint: #eef0ff;
    --bad: #d92d20; --bad-tint: #fdeceb;
    --warn: #c77700; --warn-tint: #fff4e0;
    --ok: #0e9f6e; --ok-tint: #e3f6ee;
    --man: #6d4fd8; --man-tint: #f1edff;
    --na: #7b8197; --na-tint: #f0f1f5;
    --radius: 16px;
    --shadow-sm: 0 1px 2px rgba(20, 24, 48, .05), 0 2px 8px rgba(20, 24, 48, .05);
    --shadow-lg: 0 24px 60px -24px rgba(20, 24, 48, .28), 0 8px 20px -12px rgba(20, 24, 48, .12);
    --font: 'Nunito', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Arial, sans-serif;
    --hdr-h: 72px;
}
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--hdr-h) + 16px); }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body { margin: 0; background: #fff; color: var(--text); font-family: var(--font); font-size: 17px; line-height: 1.6; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img, svg { max-width: 100%; vertical-align: middle; }
a { color: var(--accent); text-decoration: none; }
a:hover { color: var(--accent-hover); }
p { margin: 0 0 1em; }
h1, h2, h3, h4 { margin: 0; color: var(--ink); font-weight: 800; letter-spacing: -.015em; text-wrap: balance; }
b, strong { font-weight: 700; color: var(--ink); }
button { font: inherit; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.wrap { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.narrow { max-width: 860px; }
.muted { color: var(--muted); }
.small { font-size: 14px; }
.center { text-align: center; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 3000; padding: 10px 16px; border-radius: 10px; background: var(--ink); color: #fff; }
.skip:focus { top: 12px; color: #fff; }
.ico { flex-shrink: 0; }
.eyebrow { display: block; margin: 0 0 10px; font-size: 13px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--accent); }
.eyebrow--pill { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 999px; background: var(--accent-tint); text-transform: none; letter-spacing: 0; font-size: 14px; }

/* --- Кнопки ------------------------------------------------------------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 13px 28px; border: 0; border-radius: 999px; background: var(--accent); color: #fff;
    font-family: var(--font); font-size: 16px; font-weight: 700; line-height: 22px; text-align: center; white-space: nowrap; cursor: pointer; transition: background-color .2s, box-shadow .2s, transform .2s; }
.btn:hover, .btn:focus-visible { background: var(--accent-hover); color: #fff; box-shadow: 0 10px 24px -10px rgba(79, 70, 229, .65); }
.btn:active { transform: translateY(1px); }
.btn:disabled, .btn.is-busy { opacity: .65; cursor: progress; box-shadow: none; }
.btn--sm { padding: 9px 18px; font-size: 14.5px; }
.btn--ghost { background: #fff; color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--line); }
.btn--ghost:hover, .btn--ghost:focus-visible { background: var(--tint); color: var(--ink); box-shadow: inset 0 0 0 1.5px #cfd4e6; }
.btn--light { background: #fff; color: var(--accent); }
.btn--light:hover { background: var(--accent-tint); color: var(--accent-hover); }
.input { width: 100%; font: inherit; font-size: 16px; padding: 11px 14px; border-radius: 12px; border: 1.5px solid var(--line); background: #fff; color: var(--ink); outline: none; }
.input:focus { border-color: var(--accent); box-shadow: 0 0 0 4px var(--accent-tint); }

/* --- Шапка --------------------------------------------------------------- */
.hdr { position: sticky; top: 0; z-index: 900; background: rgba(255, 255, 255, .92); backdrop-filter: saturate(1.4) blur(10px); -webkit-backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid var(--line); }
.hdr__in { display: flex; align-items: center; gap: 24px; min-height: var(--hdr-h); }
.logo { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); font-size: 19px; font-weight: 800; letter-spacing: -.015em; white-space: nowrap; }
.logo:hover { color: var(--ink); }
.logo b { color: var(--accent); }
.hdr__nav { flex: 1; }
.hnav { display: flex; gap: 4px; margin: 0; padding: 0; list-style: none; justify-content: center; }
.hnav a { display: block; padding: 8px 12px; border-radius: 10px; color: var(--text); font-size: 15.5px; font-weight: 600; }
.hnav a:hover, .hnav a[aria-current] { background: var(--tint); color: var(--ink); }
.hdr__side { display: flex; align-items: center; gap: 10px; }
.burger { display: none; width: 44px; height: 44px; border: 0; border-radius: 12px; background: transparent; color: var(--ink); cursor: pointer; align-items: center; justify-content: center; }
.burger .ico--close { display: none; }
.nav-open .burger .ico--menu { display: none; }
.nav-open .burger .ico--close { display: block; }
@media (max-width: 960px) {
    .burger { display: inline-flex; }
    .hdr__nav { position: fixed; left: 0; right: 0; top: var(--hdr-h); bottom: 0; background: #fff; padding: 16px 24px; display: none; overflow: auto; }
    .nav-open .hdr__nav { display: block; }
    .nav-open { overflow: hidden; }
    .hnav { flex-direction: column; align-items: stretch; }
    .hnav a { padding: 14px 12px; font-size: 18px; border-bottom: 1px solid var(--line); border-radius: 0; }
    .hdr__in { justify-content: space-between; }
}

/* --- Первый экран -------------------------------------------------------- */
.hero { padding: 64px 0 56px; background: radial-gradient(1200px 500px at 85% -10%, #eceafe 0, rgba(236, 234, 254, 0) 60%), radial-gradient(800px 400px at -10% 110%, #eef6ff 0, rgba(238, 246, 255, 0) 60%); }
.hero__in { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: 56px; align-items: center; }
.hero h1 { font-size: clamp(32px, 4.4vw, 52px); line-height: 1.12; margin: 14px 0 18px; }
.hero__lead { font-size: 19px; color: var(--text); max-width: 640px; }
.hero__demo { position: relative; }
.demo { padding: 22px; box-shadow: var(--shadow-lg); transform: rotate(-1deg); }
.demo__top { display: flex; align-items: center; gap: 16px; padding-bottom: 14px; border-bottom: 1px solid var(--line); margin-bottom: 12px; }
.demo__top b { display: block; font-size: 18px; }
.demo__top span { font-size: 14px; color: var(--muted); }
.demo__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.demo__list li { display: flex; gap: 10px; align-items: flex-start; font-size: 15px; line-height: 1.4; color: var(--ink); }
.demo__list .pill { flex-shrink: 0; }
@media (max-width: 1024px) { .hero__in { grid-template-columns: 1fr; gap: 36px; } .demo { transform: none; } }

/* --- Форма проверки ------------------------------------------------------ */
.checkform { margin-top: 26px; max-width: 640px; }
.checkform__row { display: flex; align-items: center; gap: 8px; padding: 7px 7px 7px 16px; background: #fff; border: 1.5px solid var(--line); border-radius: 999px; box-shadow: var(--shadow-sm); }
.checkform__row:focus-within { border-color: var(--accent); box-shadow: 0 0 0 4px var(--accent-tint); }
.checkform__ico { color: var(--muted); display: inline-flex; }
.checkform__input { flex: 1; min-width: 0; border: 0; outline: none; background: transparent; font: inherit; font-size: 18px; color: var(--ink); padding: 8px 4px; box-shadow: none !important; }
.checkform--big .checkform__input { font-size: 19px; }
.checkform__err { margin-top: 10px; color: var(--bad); font-size: 15px; font-weight: 600; }
.checkform__note { margin: 10px 0 0 16px; font-size: 14px; color: var(--muted); }
.cta .checkform { margin: 20px auto 0; }
.cta .checkform__note { color: rgba(255, 255, 255, .8); margin-left: 0; }
.cta .checkform__err { color: #ffe0de; }
@media (max-width: 560px) {
    .checkform__row { flex-wrap: wrap; border-radius: 18px; padding: 8px; }
    .checkform__ico { display: none; }
    .checkform__input { flex-basis: 100%; padding: 8px 8px; }
    .checkform__btn { width: 100%; }
    .checkform__note { margin-left: 4px; }
}

/* --- Разделы ------------------------------------------------------------- */
.sec { padding: 72px 0; }
.sec--tint { background: var(--tint); }
.sec--last { padding-bottom: 96px; }
.sec__head { max-width: 760px; margin: 0 auto 36px; text-align: center; }
.sec__head h2 { font-size: clamp(26px, 3vw, 36px); line-height: 1.2; }
.sec__more { margin: 28px 0 0; text-align: center; font-weight: 700; }
.sec__more a { display: inline-flex; align-items: center; gap: 6px; }
.grid { display: grid; gap: 20px; }
.grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 1024px) { .grid--3, .grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 720px) { .grid--2, .grid--3, .grid--4 { grid-template-columns: 1fr; } .sec { padding: 52px 0; } }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow-sm); }
.feat { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; }
.sec--tint .feat { box-shadow: var(--shadow-sm); }
.feat h3 { font-size: 19px; margin: 14px 0 8px; }
.feat p { margin: 0; font-size: 16px; }
.feat__ico { display: inline-flex; align-items: center; justify-content: center; width: 46px; height: 46px; border-radius: 14px; background: var(--accent-tint); color: var(--accent); flex-shrink: 0; }
.steps3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; counter-reset: s; }
.step3 { background: #fff; border-radius: var(--radius); padding: 26px; border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.step3 > b { display: inline-flex; width: 36px; height: 36px; align-items: center; justify-content: center; border-radius: 50%; background: var(--accent); color: #fff; font-size: 17px; }
.step3 h3 { margin: 14px 0 8px; font-size: 19px; }
.step3 p { margin: 0; font-size: 16px; }
@media (max-width: 860px) { .steps3 { grid-template-columns: 1fr; } }
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px; align-items: center; }
.split h2 { font-size: clamp(24px, 2.8vw, 34px); margin-bottom: 14px; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; gap: 28px; } }
.ticks { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.ticks li { display: flex; gap: 10px; align-items: flex-start; }
.ticks li .ico { color: var(--ok); margin-top: 3px; }
.passes { padding: 10px; overflow-x: auto; }
.passes__row { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 8px; padding: 12px 14px; border-bottom: 1px solid var(--line); font-size: 15px; min-width: 420px; }
.passes__row:last-child { border-bottom: 0; }
.passes__row--h { font-size: 13px; font-weight: 800; color: var(--muted); text-transform: uppercase; letter-spacing: .04em; }
.yes { color: var(--ok); font-weight: 700; }
.no { color: var(--muted); }
.bad { color: var(--bad); font-weight: 700; }
.prices-mini .pm { display: block; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; color: var(--text); box-shadow: var(--shadow-sm); transition: transform .2s, box-shadow .2s; }
.prices-mini .pm:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg); color: var(--text); }
.pm span { display: block; font-weight: 700; color: var(--ink); }
.pm b { display: block; font-size: 28px; margin: 6px 0 2px; color: var(--ink); }
.pm small { color: var(--muted); font-size: 14px; }
.pm--hot { border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent), var(--shadow-sm); }
.cta { background: linear-gradient(135deg, #4f46e5, #6d5df0 60%, #7c6cf6); color: #fff; border-radius: 28px; padding: 52px 32px; text-align: center; }
.cta h2 { color: #fff; font-size: clamp(24px, 3vw, 34px); }
.cta p { color: rgba(255, 255, 255, .88); margin: 10px 0 0; }
.cta .btn--light { margin-top: 22px; }
@media (max-width: 560px) { .cta { padding: 36px 18px; border-radius: 20px; } }

/* --- Внутренние страницы ------------------------------------------------- */
.phero { padding: 44px 0 8px; }
.phero h1 { font-size: clamp(28px, 3.6vw, 42px); line-height: 1.15; }
.phero__lead { font-size: 18.5px; max-width: 760px; margin-top: 14px; }
.crumbs { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; margin: 0 0 14px; padding: 0; font-size: 14px; color: var(--muted); }
.crumbs li + li::before { content: '/'; margin-right: 6px; color: #b5bbd0; }
.groups { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.grpcard h2 { display: flex; align-items: center; gap: 12px; font-size: 21px; margin-bottom: 16px; }
@media (max-width: 860px) { .groups { grid-template-columns: 1fr; } }
.plans { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; margin-bottom: 24px; align-items: stretch; }
.plan { position: relative; display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 26px 22px; box-shadow: var(--shadow-sm); }
.plan h2 { font-size: 21px; }
.plan__price { font-size: 32px; font-weight: 800; color: var(--ink); margin: 10px 0 0; line-height: 1.1; }
.plan__sub { color: var(--muted); font-size: 14px; margin: 4px 0 18px; }
.plan .ticks { font-size: 15.5px; margin-bottom: 22px; flex: 1; }
.plan .btn { width: 100%; }
.plan--hot { border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent), var(--shadow-lg); }
.plan__tag { position: absolute; top: -12px; left: 22px; background: var(--accent); color: #fff; font-size: 12.5px; font-weight: 800; padding: 3px 10px; border-radius: 999px; }
@media (max-width: 1100px) { .plans { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .plans { grid-template-columns: 1fr; } }
.faq { display: grid; gap: 12px; }
.faq__item { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 0 20px; }
.faq__item summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 0; cursor: pointer; list-style: none; }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary h2, .faq__item summary h3 { font-size: 18px; line-height: 1.35; }
.faq__item summary .ico { color: var(--accent); transition: transform .2s; }
.faq__item[open] summary .ico { transform: rotate(45deg); }
.faq__a { padding: 0 0 18px; font-size: 16.5px; }
.faq__a ul { margin: 0 0 1em; padding-left: 22px; }
.faq__a li { margin-bottom: 6px; }
.contact-card h2 { display: flex; align-items: center; gap: 10px; font-size: 21px; margin-bottom: 12px; }
.kv { list-style: none; margin: 0 0 16px; padding: 0; display: grid; gap: 8px; }
.kv li { display: flex; gap: 12px; justify-content: space-between; border-bottom: 1px dashed var(--line); padding-bottom: 8px; font-size: 15.5px; }
.kv li span { color: var(--muted); }
.kv li b { text-align: right; overflow-wrap: anywhere; }
.kv--col li { flex-direction: column; gap: 2px; }
.kv--col li b { text-align: left; }
.nf { padding: 96px 0; text-align: center; }
.nf b { display: block; font-size: 96px; line-height: 1; color: var(--accent-tint); -webkit-text-stroke: 2px var(--accent); }
.nf h1 { margin: 12px 0; }
.nf__cta { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* --- Подвал -------------------------------------------------------------- */
.ftr { background: var(--tint); border-top: 1px solid var(--line); padding: 56px 0 28px; font-size: 15px; }
.ftr__grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.4fr; gap: 32px; }
.ftr h4 { font-size: 14px; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); margin-bottom: 12px; }
.ftr ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.ftr a { color: var(--text); }
.ftr a:hover { color: var(--accent); }
.ftr__about p { margin: 14px 0 0; }
.ftr__bottom { margin-top: 40px; padding-top: 20px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; gap: 8px 24px; color: var(--muted); font-size: 13.5px; }
.ftr__legal { flex-basis: 100%; }
@media (max-width: 900px) { .ftr__grid { grid-template-columns: 1fr 1fr; } .ftr__about { grid-column: 1 / -1; } }
@media (max-width: 520px) { .ftr__grid { grid-template-columns: 1fr; } }

/* --- Заметки ------------------------------------------------------------- */
.note { display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px; border-radius: 14px; margin: 0 0 18px; font-size: 15.5px; }
.note .ico { margin-top: 2px; }
.note--bad { background: var(--bad-tint); color: #7a1b14; }
.note--ok { background: var(--ok-tint); color: #0b5b40; }
.note--wait, .note--info { background: var(--accent-tint); color: #2e2a7a; }
.note--ai { background: linear-gradient(90deg, #f1edff, #eef0ff); color: #3b2f8a; }
.note--ai .ico { animation: spin-slow 3s linear infinite; }
@keyframes spin-slow { to { transform: rotate(360deg); } }

/* --- Ход проверки -------------------------------------------------------- */
.progress-page { padding: 48px 0 80px; background: var(--tint); min-height: 60vh; }
.progress { padding: 32px; }
.progress h1 { font-size: clamp(24px, 3vw, 32px); margin-bottom: 8px; overflow-wrap: anywhere; }
.rep-host { color: var(--accent); overflow-wrap: anywhere; }
.bar { height: 8px; background: var(--accent-tint); border-radius: 999px; overflow: hidden; margin: 22px 0; }
.bar span { display: block; height: 100%; background: linear-gradient(90deg, #4f46e5, #8b7cf8); border-radius: 999px; transition: width .6s ease; }
.stages { list-style: none; margin: 0 0 12px; padding: 0; display: grid; gap: 10px; }
.stages li { display: flex; align-items: center; gap: 12px; color: var(--muted); font-size: 16px; }
.stages__dot { width: 14px; height: 14px; border-radius: 50%; border: 2px solid #cfd4e6; flex-shrink: 0; }
.stages li.is-done { color: var(--ink); }
.stages li.is-done .stages__dot { background: var(--ok); border-color: var(--ok); }
.stages li.is-on { color: var(--ink); font-weight: 700; }
.stages li.is-on .stages__dot { border-color: var(--accent); background: var(--accent-tint); box-shadow: 0 0 0 4px var(--accent-tint); animation: pulse 1.2s ease-in-out infinite; }
@keyframes pulse { 50% { box-shadow: 0 0 0 7px rgba(79, 70, 229, .12); } }
.progress-tips { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin-top: 18px; }
.tip { display: flex; gap: 12px; align-items: flex-start; padding: 16px; font-size: 14.5px; }
.tip .ico { color: var(--accent); }
.tip p { margin: 0; }
@media (max-width: 760px) { .progress-tips { grid-template-columns: 1fr; } .progress { padding: 22px; } }

/* --- Отчёт --------------------------------------------------------------- */
.report-page main, .sec--sample { background: var(--tint); }
.rep { padding-top: 28px; padding-bottom: 72px; }
.rep > .card, .rep > section, .rep > nav, .rep > .note { margin-bottom: 18px; }
.rep-head { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 28px; align-items: center; padding: 28px; }
.rep-title { font-size: clamp(22px, 2.8vw, 32px); line-height: 1.2; overflow-wrap: anywhere; }
.rep-meta { color: var(--muted); font-size: 14.5px; margin: 6px 0 8px; }
.rep-verdict { font-size: 17px; color: var(--ink); margin: 0 0 12px; }
@media (max-width: 640px) { .rep-head { grid-template-columns: 1fr; justify-items: start; gap: 16px; padding: 20px; } }
.ring { position: relative; display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; }
.ring svg { position: absolute; inset: 0; }
.ring__bg { fill: none; stroke: #edf0f7; stroke-width: 10; }
.ring__fg { fill: none; stroke-width: 10; stroke-linecap: round; transition: stroke-dashoffset 1s ease; }
.ring--good .ring__fg { stroke: var(--ok); }
.ring--mid .ring__fg { stroke: #f0a020; }
.ring--bad .ring__fg { stroke: var(--bad); }
.ring--na .ring__fg { stroke: #cfd4e6; }
.ring__val { position: relative; text-align: center; line-height: 1; }
.ring__val b { display: block; font-size: 38px; }
.ring__val span { font-size: 12px; color: var(--muted); }
.demo .ring__val b { font-size: 24px; }
.demo .ring__val span { font-size: 10px; }
.counters { display: flex; flex-wrap: wrap; gap: 8px; }
.cnt { display: inline-flex; align-items: baseline; gap: 6px; padding: 6px 12px; border-radius: 999px; font-size: 14.5px; font-weight: 600; }
.cnt b { font-size: 17px; color: inherit; }
.cnt--violation { background: var(--bad-tint); color: var(--bad); }
.cnt--risk { background: var(--warn-tint); color: var(--warn); }
.cnt--manual { background: var(--man-tint); color: var(--man); }
.cnt--ok { background: var(--ok-tint); color: var(--ok); }
.rep-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.share-box { margin-top: 14px; padding: 14px; background: var(--tint); border-radius: 12px; }
.share-box label { display: block; font-size: 14px; color: var(--muted); margin-bottom: 8px; }
.share-box__row { display: flex; gap: 8px; }
.share-box__row .input { font-size: 14px; }
@media (max-width: 520px) { .share-box__row { flex-direction: column; } }
.pill { display: inline-flex; align-items: center; padding: 3px 10px; border-radius: 999px; font-size: 12.5px; font-weight: 800; white-space: nowrap; line-height: 1.5; }
.pill--violation { background: var(--bad-tint); color: var(--bad); }
.pill--risk { background: var(--warn-tint); color: var(--warn); }
.pill--manual { background: var(--man-tint); color: var(--man); }
.pill--ok { background: var(--ok-tint); color: var(--ok); }
.pill--na { background: var(--na-tint); color: var(--na); }
.rep-brief h2, .rep-ai h2, .rep-prio h2, .rep-check h2, .upsell h2 { font-size: 21px; margin-bottom: 14px; display: flex; align-items: center; gap: 10px; }
.brief { list-style: none; margin: 0 0 20px; padding: 0; display: grid; gap: 10px; }
.brief li { display: flex; gap: 10px; align-items: flex-start; font-size: 16.5px; color: var(--ink); }
.gate { display: flex; gap: 20px; align-items: center; justify-content: space-between; padding: 22px; border-radius: 16px; background: linear-gradient(135deg, var(--accent-tint), #f6f3ff); }
.gate h3 { font-size: 19px; margin-bottom: 6px; }
.gate p { margin: 0; font-size: 15.5px; }
@media (max-width: 720px) { .gate { flex-direction: column; align-items: stretch; } }
.rep-ai { border-left: 4px solid var(--man); }
.rep-ai .ico { color: var(--man); }
.prio { margin: 0; padding: 0; list-style: none; counter-reset: p; display: grid; gap: 12px; }
.prio li { counter-increment: p; position: relative; padding-left: 40px; }
.prio li::before { content: counter(p); position: absolute; left: 0; top: 0; width: 28px; height: 28px; border-radius: 50%; background: var(--ink); color: #fff; font-weight: 800; font-size: 14px; display: flex; align-items: center; justify-content: center; }
.prio a { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; color: var(--ink); font-weight: 700; }
.prio a:hover .prio__t { color: var(--accent); }
.prio p { margin: 4px 0 0; font-size: 15px; }
.gnav { display: flex; flex-wrap: wrap; gap: 8px; position: sticky; top: calc(var(--hdr-h) + 8px); z-index: 50; padding: 10px; background: rgba(245, 246, 251, .92); backdrop-filter: blur(8px); border-radius: 14px; }
.gnav a { display: inline-flex; align-items: center; gap: 6px; padding: 7px 12px; border-radius: 999px; background: #fff; border: 1px solid var(--line); font-size: 14px; font-weight: 700; color: var(--ink); }
.gnav a:hover { border-color: var(--accent); color: var(--accent); }
.gnav__n { background: var(--bad); color: #fff; border-radius: 999px; font-size: 12px; padding: 0 7px; line-height: 20px; }
.gnav__ok { color: var(--ok); display: inline-flex; }
@media (max-width: 720px) { .gnav { position: static; flex-wrap: nowrap; overflow-x: auto; } .gnav a { flex-shrink: 0; } }
.grp { margin-top: 30px; }
.grp__h { display: flex; align-items: center; gap: 10px; font-size: 23px; margin-bottom: 14px; }
.grp__h .ico { color: var(--accent); }
.fnd { background: #fff; border: 1px solid var(--line); border-left: 4px solid var(--na); border-radius: 14px; padding: 18px 20px; margin-bottom: 12px; box-shadow: var(--shadow-sm); }
.fnd--violation { border-left-color: var(--bad); }
.fnd--risk { border-left-color: #f0a020; }
.fnd--manual { border-left-color: var(--man); }
.fnd--ok { border-left-color: var(--ok); }
.fnd__head { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.fnd__head h3 { flex-basis: 100%; font-size: 18px; line-height: 1.35; margin-top: 4px; }
.sev { font-size: 12.5px; color: var(--muted); font-weight: 700; }
.sev--high { color: var(--bad); }
.tag { font-size: 11.5px; font-weight: 800; padding: 2px 8px; border-radius: 6px; }
.tag--ai { background: var(--man-tint); color: var(--man); }
.fnd__detail { margin: 10px 0 0; font-size: 16px; overflow-wrap: anywhere; }
.fnd__meta { margin: 12px 0 0; display: grid; gap: 6px; }
.fnd__meta > div { display: grid; grid-template-columns: 130px minmax(0, 1fr); gap: 12px; font-size: 15px; }
.fnd__meta dt { color: var(--muted); font-weight: 700; }
.fnd__meta dd { margin: 0; overflow-wrap: anywhere; }
@media (max-width: 560px) { .fnd__meta > div { grid-template-columns: 1fr; gap: 0; } .fnd { padding: 16px; } }
.fnd__ev { margin-top: 12px; padding: 12px 14px; background: var(--tint); border-radius: 12px; font-size: 14.5px; }
.fnd__evh { font-size: 12.5px; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); font-weight: 800; margin-bottom: 6px; }
.fnd__ev ul { margin: 0; padding-left: 18px; display: grid; gap: 4px; overflow-wrap: anywhere; }
.ev-url { font-size: 12.5px; }
.quote { margin: 10px 0 0; padding: 10px 14px; border-left: 3px solid #cfd4e6; background: #fff; border-radius: 0 10px 10px 0; font-size: 14.5px; color: var(--text); font-style: italic; overflow-wrap: anywhere; }
.shots { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 10px; margin-top: 10px; }
.shot { margin: 0; }
.shot img { width: 100%; height: 150px; object-fit: cover; object-position: top; border-radius: 10px; border: 1px solid var(--line); background: #fff; }
.shot figcaption { font-size: 12.5px; color: var(--muted); margin-top: 4px; }
.grp__ok { margin-top: 8px; }
.grp__ok > summary { display: inline-flex; align-items: center; gap: 8px; cursor: pointer; padding: 8px 14px; border-radius: 999px; background: var(--ok-tint); color: var(--ok); font-weight: 700; font-size: 15px; margin-bottom: 10px; list-style: none; }
.grp__ok > summary::-webkit-details-marker { display: none; }
.facts { margin-top: 36px; }
.fact h3 { font-size: 18px; margin-bottom: 12px; }
.fact { margin-bottom: 14px; }
.tbl-wrap { width: 100%; overflow-x: auto; -webkit-overflow-scrolling: touch; }
.tbl { width: 100%; border-collapse: collapse; font-size: 14.5px; }
.tbl th, .tbl td { padding: 9px 10px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.tbl th { font-size: 12.5px; text-transform: uppercase; letter-spacing: .04em; color: var(--muted); font-weight: 800; white-space: nowrap; }
.tbl--kv th { text-transform: none; letter-spacing: 0; font-size: 14px; white-space: normal; width: 40%; }
.tbl--svc td:first-child { min-width: 140px; }
.flag { font-family: 'Apple Color Emoji', 'Segoe UI Emoji', 'Noto Color Emoji', sans-serif; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chip { font-size: 13px; padding: 3px 9px; border-radius: 8px; background: var(--tint); border: 1px solid var(--line); font-family: ui-monospace, SFMono-Regular, Menlo, monospace; }
.docs { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; font-size: 15px; overflow-wrap: anywhere; }
.doctext summary { cursor: pointer; color: var(--accent); font-weight: 700; font-size: 14px; margin-top: 6px; }
.doctext__body { max-height: 420px; overflow: auto; padding: 12px; background: var(--tint); border-radius: 10px; font-size: 13.5px; margin-top: 8px; }
.upsell { display: flex; gap: 20px; align-items: center; justify-content: space-between; background: linear-gradient(135deg, #fff, var(--accent-tint)); }
.upsell p { margin: 0; }
@media (max-width: 720px) { .upsell { flex-direction: column; align-items: stretch; } }
.rep-disc { font-size: 13.5px; color: var(--muted); margin-top: 28px; }

/* --- Версия для печати (её печатает служба в PDF) ------------------------- */
.print-page { background: #fff; font-size: 14px; }
.print-top { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 14px 24px; border-bottom: 1px solid var(--line); font-size: 12.5px; color: var(--muted); }
.rep--print { padding-top: 18px; }
.rep--print .card, .rep--print .fnd { box-shadow: none; }
.rep--print .gnav { position: static; }
.rep--print .ring__fg { transition: none; }
@media print {
    .hdr, .ftr, .gnav, .rep-actions, .share-box, .kc-cookie, .note--ai { display: none !important; }
    body { font-size: 12.5px; }
    .fnd, .card { break-inside: avoid; box-shadow: none; }
    a { color: inherit; }
}
@media (max-width: 420px) {
    .wrap { padding: 0 16px; }
    body { font-size: 16px; }
    .hero { padding: 40px 0; }
    .hero__lead { font-size: 17px; }
    .logo { font-size: 17px; }
    .hdr__side .btn--sm { padding: 8px 14px; }
}
