/* IDEFO КПД v26 — увеличение читаемости клиентского и согласовательного блока. */

/*
 * Высоту нижней рамки не увеличиваем. Укрупняем только действительно важные
 * для заказчика данные: имя клиента, адрес, утверждение, даты, подписи и
 * предупреждающие тексты. Блок компании оставляем в прежнем размере.
 */

/* ---------- Редактор ---------- */

.customer-stamp {
  padding: 3px 10px !important;
}
.customer-stamp small {
  font-size: 8.2px !important;
  font-weight: 650 !important;
  line-height: 1.02 !important;
}
.customer-stamp strong {
  font-size: 12.6px !important;
  font-weight: 850 !important;
  line-height: 1.02 !important;
}
.customer-stamp span {
  font-size: 8.2px !important;
  font-weight: 560 !important;
  line-height: 1.03 !important;
}

.approval-row {
  grid-template-columns:
    minmax(132px, 1fr)
    minmax(86px, .68fr)
    minmax(100px, .78fr) !important;
  column-gap: 8px !important;
  padding: 0 7px 3px !important;
}
.approval-row > span {
  font-size: 8.9px !important;
  font-weight: 900 !important;
  line-height: 1 !important;
}
.approval-row small {
  font-size: 8px !important;
  font-weight: 650 !important;
  line-height: 1 !important;
}

.v25-screen-color-warning {
  right: 6px !important;
  font-size: 8.2px !important;
  font-weight: 900 !important;
  letter-spacing: .01em !important;
}

.approval-disclaimer {
  font-size: 8px !important;
  font-weight: 800 !important;
  line-height: 1.15 !important;
  letter-spacing: 0 !important;
}

/* ---------- Предпросмотр и системная печать ---------- */

.print-customer {
  padding:
    calc(.65mm * var(--paper-scale, 1))
    calc(1.8mm * var(--paper-scale, 1)) !important;
}
.print-customer small {
  font-size: calc(6.8pt * var(--paper-scale, 1)) !important;
  font-weight: 650 !important;
  line-height: 1.02 !important;
}
.print-customer strong {
  font-size: calc(10pt * var(--paper-scale, 1)) !important;
  font-weight: 850 !important;
  line-height: 1.03 !important;
}

.print-approval > span {
  grid-template-columns:
    minmax(calc(37mm * var(--paper-scale, 1)), 1fr)
    calc(23mm * var(--paper-scale, 1))
    calc(27mm * var(--paper-scale, 1)) !important;
  column-gap: calc(1.6mm * var(--paper-scale, 1)) !important;
  padding:
    0
    calc(1mm * var(--paper-scale, 1))
    calc(.65mm * var(--paper-scale, 1)) !important;
}
.print-approval b {
  font-size: calc(7.4pt * var(--paper-scale, 1)) !important;
  font-weight: 900 !important;
  line-height: 1 !important;
}
.print-approval small {
  font-size: calc(6.8pt * var(--paper-scale, 1)) !important;
  font-weight: 650 !important;
  line-height: 1 !important;
}

.v25-print-color-warning {
  right: calc(1.35mm * var(--paper-scale, 1)) !important;
  font-size: calc(7.2pt * var(--paper-scale, 1)) !important;
  font-weight: 900 !important;
  letter-spacing: .01em !important;
}

.print-approval-disclaimer {
  font-size: calc(6.3pt * var(--paper-scale, 1)) !important;
  font-weight: 800 !important;
  line-height: 1.14 !important;
  letter-spacing: 0 !important;
}
