

/* Start:/local/assets/nalog/nalog.css?17918081629245*/
/* Заявление на справку для налогового вычета. Логика и пояснения — nalog.js */

.nv {
  --nv-accent: var(--theme-base-color, #ef7d1b);
  --nv-accent-soft: var(--theme-base-opacity-color, rgba(239, 125, 27, .1));
  --nv-line: #e3e3e3;
  --nv-muted: #777;
  --nv-error: #d93025;
  max-width: 860px;
  font-size: 16px;
  line-height: 1.5;
}

.nv [hidden] { display: none !important; }

.nv-lead { font-size: 17px; margin: 0 0 28px; }

/* ---------- Шаги ---------- */

.nv-step {
  border: 1px solid var(--nv-line);
  border-radius: var(--theme-outer-border-radius, 4px);
  padding: 28px 32px;
  margin: 0 0 24px;
  background: #fff;
}
.nv-step__title {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 22px;
  line-height: 1.3;
  margin: 0 0 6px;
}
.nv-step__num {
  flex: none;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--nv-accent);
  color: #fff;
  font-size: 17px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.nv-step__hint { color: var(--nv-muted); margin: 0 0 18px; }
.nv-note { color: var(--nv-muted); font-size: 14px; margin: 14px 0 0; }

/* ---------- Шаг 1 ---------- */

.nv-services {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.nv-service {
  position: relative;
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 14px 16px;
  border: 1px solid var(--nv-line);
  border-radius: var(--theme-border-radius, 4px);
  cursor: pointer;
  margin: 0;
  font-weight: normal;
  transition: border-color .15s, background-color .15s;
}
.nv-service:hover { border-color: var(--nv-accent); }
.nv-service input { margin: 4px 0 0; flex: none; width: 18px; height: 18px; accent-color: var(--nv-accent); }
.nv-service b { display: block; font-weight: 600; }
.nv-service small { display: block; color: var(--nv-muted); font-size: 14px; line-height: 1.4; margin-top: 2px; }
.nv-service:has(input:checked) { border-color: var(--nv-accent); background: var(--nv-accent-soft); }

.nv-result {
  margin-top: 22px;
  padding: 18px 20px;
  border-radius: var(--theme-border-radius, 4px);
  background: var(--nv-accent-soft);
}
.nv-result__text { font-size: 17px; margin: 0 0 14px; }
.nv-result__blank { font-size: 14px; color: var(--nv-muted); margin: 14px 0 0; }

/* ---------- Шаг 2: анкета ---------- */

.nv-group { border: 0; padding: 0; margin: 0 0 26px; min-width: 0; }
.nv-group legend {
  border: 0;
  font-size: 17px;
  font-weight: 600;
  margin: 0 0 10px;
  padding: 0;
  width: auto;
}
.nv-group__hint { color: var(--nv-muted); font-size: 14px; margin: -6px 0 12px; }

.nv-row { display: flex; gap: 14px; flex-wrap: wrap; }
.nv-row > .nv-field { flex: 1 1 200px; min-width: 0; } /* без min-width: 0 поле даты распирает строку */
.nv-row--3 > .nv-field { flex: 1 1 140px; }
.nv-field--zip { flex: 0 1 140px !important; }
.nv-field--grow { flex: 3 1 260px !important; }

.nv-field { margin: 0 0 14px; }
.nv-field label { display: block; font-size: 14px; font-weight: normal; color: #555; margin: 0 0 5px; }
.nv-field .form-control { display: block; width: 100%; max-width: 100%; min-width: 0; height: 46px; font-size: 16px; }
/* iOS рисует поле даты своей минимальной шириной и не даёт его сузить без appearance: none —
   из-за этого строки с датой вылезали за край экрана */
.nv-field input[type="date"] { -webkit-appearance: none; appearance: none; line-height: 44px; text-align: left; }
.nv-field input[type="date"]::-webkit-date-and-time-value { text-align: left; }
.nv-field__hint { color: var(--nv-muted); font-size: 13px; line-height: 1.4; margin: 6px 0 0; }
.nv-optional { color: #aaa; font-size: 13px; }
.nv-field.is-error .form-control { border-color: var(--nv-error); }
.nv-field.is-error label { color: var(--nv-error); }

.nv-id__inn { max-width: 320px; }
.nv-check {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-weight: normal;
  font-size: 15px;
  cursor: pointer;
  margin: 0 0 14px;
}
.nv-check input { flex: none; margin: 3px 0 0; width: 18px; height: 18px; accent-color: var(--nv-accent); }
.nv-id__doc { padding-left: 0; }

.nv-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.nv-chip { margin: 0; cursor: pointer; font-weight: normal; }
.nv-chip input { position: absolute; opacity: 0; pointer-events: none; }
.nv-chip span {
  display: inline-block;
  padding: 9px 16px;
  border: 1px solid var(--nv-line);
  border-radius: 100px;
  transition: border-color .15s, background-color .15s;
}
.nv-chip:hover span { border-color: var(--nv-accent); }
.nv-chip input:checked + span { border-color: var(--nv-accent); background: var(--nv-accent-soft); }
.nv-chip input:focus-visible + span { outline: 2px solid var(--nv-accent); outline-offset: 2px; }

.nv-patient { margin-top: 18px; padding-top: 16px; border-top: 1px dashed var(--nv-line); }
.nv-post { margin-top: 14px; }

.nv-consent { margin: 4px 0 18px; color: #555; }

.nv-errors {
  color: var(--nv-error);
  background: rgba(217, 48, 37, .06);
  border-radius: var(--theme-border-radius, 4px);
  padding: 12px 16px;
  font-size: 15px;
  margin: 0 0 16px;
}

/* ---------- Шаг 3 ---------- */

.nv-actions { display: flex; flex-wrap: wrap; gap: 10px; }

.nv-docs { margin: 22px 0 8px; display: grid; grid-template-columns: minmax(0, 1fr); gap: 20px; }

.nv-send__title { font-size: 18px; margin: 28px 0 10px; }
.nv-send { margin: 0; padding-left: 20px; }
.nv-send li { margin: 0 0 8px; }
.nv-upload { margin-top: 22px; }

/* ---------- Лист заявления: экран ---------- */

.nv-doc {
  font: 13px/1.35 "Times New Roman", Times, serif;
  color: #000;
  background: #fff;
  border: 1px solid #ddd;
  box-shadow: 0 2px 12px rgba(0, 0, 0, .06);
  padding: 28px 32px;
}
.nv-doc p { margin: 0 0 4px; }
.nv-doc__title { font: bold 16px "Times New Roman", Times, serif; text-align: center; margin: 0 0 10px; }
.nv-doc__intro { text-align: justify; text-indent: 2.2em; margin-bottom: 8px !important; }
.nv-doc__table { width: 100%; border-collapse: collapse; margin: 8px 0; }
.nv-doc__table td { border: 1px solid #000; padding: 3px 6px; vertical-align: top; }
.nv-doc__label { width: 40%; }
.nv-doc__val { border-bottom: 1px solid #000; padding: 0 3px; }
.nv-doc__blank { display: inline-block; min-width: 90px; border-bottom: 1px solid #000; height: 1em; vertical-align: baseline; }
.nv-doc__box {
  display: inline-block;
  width: 12px;
  height: 12px;
  border: 1px solid #000;
  line-height: 11px;
  font-size: 11px;
  text-align: center;
  vertical-align: -1px;
  margin-right: 4px;
}
.nv-doc small { font-size: 11px; }
.nv-doc__sign { display: flex; gap: 40px; margin: 12px 0 14px; }
.nv-doc__sign .nv-doc__blank { min-width: 140px; }
.nv-doc__table--clinic td { border: 0; padding: 4px 6px 0; vertical-align: bottom; font-size: 12px; }
.nv-doc__table--clinic td:first-child { width: 26%; }
.nv-doc__table--clinic small { display: block; text-align: center; font-size: 10px; }
.nv-doc__line { display: block; border-bottom: 1px solid #000; height: 16px; }

/* ---------- Телефон ---------- */

@media (max-width: 767px) {
  .nv { font-size: 15px; }
  /* Карточки шагов — до краёв экрана: контейнер сайта уже даёт по 24px с боков,
     и с рамкой и своими отступами на анкету оставалось ~300px */
  .nv-step {
    margin-left: -24px;
    margin-right: -24px;
    border-left: 0;
    border-right: 0;
    border-radius: 0;
    padding: 22px 16px;
  }
  .nv-row { gap: 0 12px; }
  .nv-row > .nv-field { flex-basis: 100%; }
  .nv-row--3 > .nv-field { flex: 1 1 calc(50% - 6px); }
  .nv-row--3 > .nv-field:last-child { flex-basis: 100%; }
  .nv-field--zip, .nv-field--grow { flex: 1 1 100% !important; }
  .nv-id__inn { max-width: none; }
  .nv-chip span { padding: 9px 14px; }
  .nv-step__title { font-size: 19px; gap: 10px; }
  .nv-step__num { width: 30px; height: 30px; font-size: 15px; }
  .nv-services { grid-template-columns: 1fr; }
  .nv-actions .btn { flex: 1 1 100%; }
  .nv-result .btn { width: 100%; }
  .nv-doc { padding: 16px 12px; font-size: 11px; overflow-wrap: anywhere; }
  .nv-doc__blank { min-width: 50px; }
  .nv-doc__label { width: 45%; }
  .nv-doc__sign { gap: 16px; flex-wrap: wrap; }
}

/* ---------- Печать: только листы, по одному на страницу ---------- */

.nv-print { display: none; }

@media print {
  @page { size: A4; margin: 14mm 14mm 12mm; }

  body.nv-printing > *:not(.nv-print) { display: none !important; }
  body.nv-printing { background: #fff !important; padding: 0 !important; margin: 0 !important; }
  body.nv-printing .nv-print { display: block !important; }

  .nv-print .nv-doc {
    border: 0;
    box-shadow: none;
    padding: 0;
    font-size: 12pt;
    break-after: page;
    page-break-after: always;
  }
  .nv-print .nv-doc:last-child { break-after: auto; page-break-after: auto; }
  .nv-print .nv-doc__title { font-size: 14pt; }
  .nv-print .nv-doc small { font-size: 9.5pt; }
  .nv-print .nv-doc__table td { padding: 4px 6px; }
}

/* End */
/* /local/assets/nalog/nalog.css?17918081629245 */
