

/* Start:/local/components/porotherm/audit.verify/templates/.default/style.css?17948413198242*/
/* Проверка подлинности технадзора (porotherm:audit.verify, 16.11.2026). Палитра — DESIGN_SYSTEM.md.
   Композиция — как у «Документов» (porotherm:documents): крупный заголовок шаблона сайта по центру,
   под ним поле кода квадратиками (script.js), ниже — результат проверки. */

/* H1 выводит шаблон сайта; его блок наезжает на контент (margin-bottom: -50px) — возвращаем на место */
.intec-template .intec-template-title.intec-template-title {
  margin-top: 56px;
  margin-bottom: 0;
  text-align: center;
}

.intec-template .intec-template-title.intec-template-title h1 {
  color: #111111;
  font-size: 48px;
  line-height: 1.12;
  font-weight: 500;
}

.ptav {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 24px;
  max-width: 760px;
  margin: 0 auto;
  padding: 20px 0 80px;
  color: #111111;
  font-family: Inter, Arial, sans-serif;
}

.ptav *,
.ptav *::before,
.ptav *::after {
  box-sizing: border-box;
}

.ptav__sr {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.ptav__form {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  justify-items: center;
  gap: 20px;
}

.ptav__lead {
  margin: 0;
  color: #616776;
  font-size: 16px;
  line-height: 1.5;
  text-align: center;
}

.ptav__lead.is-error {
  color: #b30000;
}

.ptav__card {
  padding: 24px;
  border-radius: 16px;
  background: #ffffff;
  box-shadow: 0 1px 2px rgba(17, 24, 39, 0.04), 0 8px 24px rgba(17, 24, 39, 0.06);
}

/* Поле без JS — обычная белая «таблетка», как поиск на «Документах» */
.ptav__code-field {
  position: relative;
  width: 100%;
  max-width: 560px;
}

.ptav__input {
  width: 100%;
  min-height: 60px;
  padding: 0 24px;
  border: 0;
  border-radius: 999px;
  background: #ffffff;
  box-shadow: 0 1px 2px rgba(17, 24, 39, 0.04), 0 8px 24px rgba(17, 24, 39, 0.06);
  color: #111111;
  font: 600 20px/1 Inter, Arial, sans-serif;
  letter-spacing: 0.06em;
  text-align: center;
  text-transform: uppercase;
}

.ptav__input::placeholder {
  color: #8a919d;
  font-weight: 400;
  letter-spacing: 0;
  text-transform: none;
}

.ptav__input:focus {
  outline: 2px solid #b30000;
  outline-offset: 2px;
}

/* Квадратики: номер — сколько цифр у номера, код — 4 + 4. Настоящее поле лежит поверх прозрачным. */
.ptav__code-field.is-boxes {
  max-width: none;
}

.ptav__code-field.is-boxes .ptav__input {
  position: absolute;
  inset: 0;
  z-index: 2;
  width: 100%;
  height: 100%;
  min-height: 0;
  padding: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  color: transparent;
  caret-color: transparent;
  font-size: 16px;
  opacity: 0;
  cursor: text;
}

.ptav__boxes {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  width: 100%;
}

.ptav__group {
  display: flex;
  flex: 0 1 auto;
  gap: 8px;
  min-width: 0;
}

.ptav__box {
  position: relative;
  display: grid;
  place-items: center;
  flex: 0 1 56px;
  width: 56px;
  min-width: 0;
  aspect-ratio: 4 / 5;
  border-radius: 12px;
  background: #ffffff;
  box-shadow: 0 1px 2px rgba(17, 24, 39, 0.04), 0 8px 24px rgba(17, 24, 39, 0.06);
  color: #111111;
  font: 600 26px/1 Inter, Arial, sans-serif;
  text-transform: uppercase;
  transition: box-shadow 0.15s ease;
}

.ptav__box.is-sample {
  color: #c3c8d1;
  font-weight: 500;
}

.ptav__box.is-active {
  box-shadow: 0 0 0 2px #b30000, 0 8px 24px rgba(17, 24, 39, 0.06);
}

/* Мигающий курсор в активном квадратике */
.ptav__box.is-active::after {
  position: absolute;
  left: 50%;
  top: 28%;
  bottom: 28%;
  width: 2px;
  margin-left: -1px;
  background: #b30000;
  animation: ptav-caret 1s steps(1) infinite;
  content: "";
}

@keyframes ptav-caret {
  50% { opacity: 0; }
}

.ptav__code-field.is-error .ptav__box:not(.is-filled) {
  box-shadow: 0 0 0 2px rgba(179, 0, 0, 0.35), 0 8px 24px rgba(17, 24, 39, 0.06);
}

.ptav__sep {
  flex: none;
  width: 12px;
  height: 2px;
  border-radius: 2px;
  background: #c3c8d1;
}

.ptav__button {
  min-height: 56px;
  padding: 0 48px;
  border: 0;
  border-radius: 12px;
  background: #b30000;
  color: #ffffff;
  font: 600 16px/1 Inter, Arial, sans-serif;
  cursor: pointer;
  transition: background 0.15s ease;
}

.ptav__button:hover {
  background: #930000;
}

.ptav__button:focus-visible {
  outline: 2px solid #b30000;
  outline-offset: 3px;
}

.ptav__result {
  width: 100%;
  max-width: 720px;
  justify-self: center;
}

.ptav__result p {
  margin: 8px 0 0;
  color: #3b4150;
  font-size: 15px;
  line-height: 1.55;
}

.ptav__status {
  display: block;
  font-size: 20px;
  font-weight: 700;
}

.ptav__result--valid {
  box-shadow: inset 0 4px 0 #1f7a3a, 0 0 0 1px #edf0f3;
}

.ptav__result--valid .ptav__status {
  color: #1f7a3a;
}

.ptav__result--revoked,
.ptav__result--invalid,
.ptav__result--error {
  box-shadow: inset 0 4px 0 #b30000, 0 0 0 1px #edf0f3;
}

.ptav__result--revoked .ptav__status,
.ptav__result--invalid .ptav__status {
  color: #b30000;
}

.ptav__head {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 18px;
}

.ptav__mark {
  position: relative;
  flex: none;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: #e9f7ef;
}

.ptav__mark::after {
  position: absolute;
  left: 17px;
  top: 12px;
  width: 11px;
  height: 20px;
  border: solid #1f7a3a;
  border-width: 0 4px 4px 0;
  transform: rotate(45deg);
  content: "";
}

.ptav__code {
  display: block;
  margin-top: 2px;
  color: #616776;
  font-size: 14px;
}

.ptav__data {
  display: grid;
  gap: 0;
  margin: 0;
}

.ptav__data > div {
  display: grid;
  gap: 2px;
  padding: 12px 0;
  border-top: 1px solid #edf0f3;
}

.ptav__data dt {
  color: #616776;
  font-size: 13px;
}

.ptav__data dd {
  margin: 0;
  font-size: 16px;
  font-weight: 500;
}

.ptav__data dd span {
  display: block;
  color: #616776;
  font-size: 13px;
  font-weight: 400;
}

.ptav__score b {
  font-size: 22px;
}

.ptav__score--excellent b { color: #1f7a3a; }
.ptav__score--good b { color: #3f7f22; }
.ptav__score--fair b { color: #a35400; }
.ptav__score--poor b { color: #b30000; }

.ptav__note {
  padding: 12px 14px;
  border-radius: 10px;
  background: #f1f3f5;
  font-size: 14px !important;
}

.ptav__help {
  margin: 0;
  color: #616776;
  font-size: 14px;
  text-align: center;
}

.ptav__help a {
  color: #b30000;
}

@media (min-width: 640px) {
  .ptav__card {
    padding: 32px;
  }

  .ptav__data > div {
    grid-template-columns: 200px minmax(0, 1fr);
    align-items: baseline;
  }
}

@media (max-width: 768px) {
  .intec-template .intec-template-title.intec-template-title {
    margin-top: 28px;
  }

  .intec-template .intec-template-title.intec-template-title h1 {
    font-size: 32px;
  }

  .ptav {
    padding-top: 12px;
  }

  .ptav__lead {
    font-size: 15px;
  }

  .ptav__button {
    min-height: 52px;
  }
}

/* Телефон: 12 квадратиков в строку выходили по 22 px. Номер — первой строкой, код из 8 знаков — второй,
   квадратики одного размера (по ширине второй строки, не больше 44 px). */
@media (max-width: 600px) {
  .ptav__boxes {
    --ptav-box: min(44px, calc((100vw - 96px) / 8)); /* 40 px — поля страницы, 44 px — промежутки, 12 px — запас */
    flex-wrap: wrap;
    row-gap: 10px;
    column-gap: 6px;
  }

  .ptav__group {
    gap: 4px;
  }

  .ptav__group:first-child {
    flex: 0 0 100%;
    justify-content: center;
  }

  .ptav__group:first-child + .ptav__sep {
    display: none;
  }

  .ptav__box {
    flex: none;
    width: var(--ptav-box);
    border-radius: 8px;
    font-size: 20px;
  }

  .ptav__sep {
    width: 8px;
  }

  .ptav__button {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .ptav__box.is-active::after {
    animation: none;
  }
}

/* End */
/* /local/components/porotherm/audit.verify/templates/.default/style.css?17948413198242 */
