/*
 * Добавки новой версии «Проверки репутации» поверх старого дизайна
 * (checker-scoped.css). Здесь только то, чего не было в старой форме: капча,
 * сообщения об ошибках, согласие, шаг «результат» (старая вёрстка результата в
 * репозиторий не попала, он собран из её же классов) и режим встраивания.
 * Цвета, шрифты и картинки — те же, что у оригинала.
 */

/* Корень: форма стоит на месте, а не всплывает окном (как .openInPage оригинала). */
.lc { position: relative; margin: 0 auto; max-width: 100%; }
.lc .pop_style { max-width: 100%; }
.lc input:focus-visible, .lc button:focus-visible, .lc label:focus-visible { outline: 2px solid #0d9ece; outline-offset: 2px; }
.lc .lc-hp { position: absolute; left: -9999px; top: auto; width: 1px; height: 1px; overflow: hidden; }
.lc .lc-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Страница ipiar.ru вокруг формы */
.lc-page { padding: 10px 0 30px; }
.lc-page .lc-about { max-width: 760px; margin: 30px auto 0; padding: 0 16px; font-size: 16px; line-height: 1.5; color: #222; }
.lc-page .lc-about h2 { font-size: 22px; margin: 0 0 10px; }
.lc-page .lc-about p { margin: 0 0 12px; }

/* Встраивание: ни полей, ни фона — только форма */
html.lc-embed, html.lc-embed body { margin: 0; padding: 0; background: transparent !important; min-width: 0 !important; overflow-x: hidden; }

/* Шаг 1: капча на «текстурной» части формы */
.lc .pop_form1 .lc-captcha { width: 480px; max-width: 100%; margin: 0 0 10px; }
.lc .lc-captcha .nb-captcha { margin: 0; padding: 0; border: 0; border-radius: 0; background: none; color: #1b1a17; font-family: 'OpenSans', sans-serif; font-size: 12px; gap: 8px; }
.lc .lc-captcha .nb-captcha-img { justify-content: flex-start; margin-bottom: 4px; }
.lc .lc-captcha .nb-captcha-img input { width: 96px; margin: 0; height: 48px; font-size: 18px; letter-spacing: 3px; text-align: center; padding: 0 8px; border: 1px solid #727272; border-radius: 0; }
.lc .lc-captcha .nb-captcha-img img { border-radius: 0; border: 1px solid #727272; height: 48px; width: auto; }
.lc .lc-captcha .nb-captcha-retry { color: #05526a; font-size: 22px; text-decoration: none; background: none; border: 0; cursor: pointer; }
.lc .lc-captcha .nb-captcha-done, .lc .lc-captcha .nb-captcha-error { background: none; border: 0; }

.lc .lc-error { display: block; width: 480px; max-width: 100%; box-sizing: border-box; margin: 0 0 10px; padding: 10px 14px; background: rgba(255, 255, 255, .9); border: 1px solid #cc181e; color: #cc181e; font-family: 'OpenSans', sans-serif; font-size: 14px; line-height: 1.3; text-align: left; }

/* Шаг 1: синий блок — мониторинг и согласие */
.lc .pop_form2 .lc-row { margin-top: 12px; }
.lc .pop_form2 .lc-row > div { text-align: center; padding-left: 62px; }
.lc .pop_form2 label.lc-t { font-size: 15px; text-transform: none; }
.lc .pop_form2 .lc-consent label.lc-t { font-size: 13px; line-height: 1.3; }
.lc .pop_form2 .lc-consent a { color: #fff; text-decoration: underline; }
.lc .pop_form2 .lc-row span { margin-top: 3px; }

/* Шаг 2: картинки лупы нет в сохранённых материалах — высоту её места держим сами (лупу рисует canvas). */
.lc .pop_about_service .lens { min-height: 160px; }
.lc .pop_about_service .lens + p { padding-top: 6px; }

.lc .pop_about_account div a { color: #1b1a17; }

/* Шаг 3: результат. Размеры оригинала были рассчитаны на фиксированный отчёт — здесь по содержимому. */
.lc .pop_step3 { height: auto; }
.lc .pop_result { height: auto; }
.lc .pop_result_header { max-width: 100%; }
.lc .pop_result_content { height: auto; padding-bottom: 36px; }
.lc .pop_result_content h2 span { font-size: 36px; word-break: break-word; }
.lc .pop_result_main { height: auto; }
.lc .pop_result_wrapper { height: auto; min-height: 120px; }
.lc .pop_result_output { height: auto; }
.lc .pop_result_scroll { height: auto; max-height: 616px; overflow-y: auto; scrollbar-width: thin; }
.lc .pop_result_scroll_content { padding-top: 14px; }
.lc .pop_tabs li { cursor: pointer; }
.lc .pop_tabs li label span { white-space: nowrap; }
.lc .pop_res_info { padding: 14px 16px 6px 10px; line-height: 1.4; }
.lc .pop_res_info.lc-big { font-size: 15px; padding: 22px 24px; line-height: 1.5; }
.lc .pop_info_no1 p b { white-space: nowrap; }
.lc .pop_info_article p { padding-right: 12px; word-break: break-word; }
.lc .pop_info_article p b { display: block; margin-bottom: 4px; }
.lc .pop_opinion_block a { margin-left: 120px; }
.lc .pop_info_site { padding: 10px 12px; font-family: 'OpenSans', sans-serif; font-size: 14px; color: #5b5b5b; line-height: 1.4; }
.lc .pop_info_site b { color: #050505; font-weight: 600; }
.lc .lc-result-cta { margin-top: 24px; }
.lc .lc-result-cta .pop_form2 a { color: #fff; font-weight: 600; text-decoration: underline; }
.lc .lc-result-cta .pop_form2 p { padding-right: 10px; }
.lc .lc-result-cta .pop_form2 small { display: block; margin-top: 6px; font-size: 11px; color: #d9f2fa; font-family: 'OpenSans', sans-serif; font-style: italic; }
.lc .lc-again { display: block; margin: 20px auto 0; }
.lc .lc-scope { margin: 14px 0 0; color: #727272; font-family: 'OpenSans', sans-serif; font-size: 12px; line-height: 1.4; text-align: center; }

@media (prefers-reduced-motion: reduce) {
  .lc .pop_circle_blue { transition: none; }
}
