/* novosti-sayta — модалка «ОСТАВИТЬ ЗАЯВКУ» 1:1 font (финальный слой поверх novosti-sayta-office-modals-index-sync.css) */

html body.page-font.page-novosti-sayta {
  --index-news-btn-width: 6.4cm;
  --index-news-btn-height: 1.3cm;
  --index-news-btn-radius: 14px;
  --index-font-block-title: 1.08rem;
  --index-modal-field-label-font: 0.8125rem;
  --index-modal-field-value-font: 0.875rem;
  --index-header-capsule-gutter: clamp(12px, 2vw, 20px);
  --index-header-capsule-width: min(var(--m-content-w, 1220px), calc(100vw - (var(--index-header-capsule-gutter) * 2)));
  --target-modal-legal-link-blue: var(--blue-dark, #4f8df0);
  --target-modal-legal-link-blue-hover: #2f70d7;
  --modal-edge-gap: var(--modal-gap-bottom, 8mm);
}

html body.page-font.page-novosti-sayta #officeFeedbackModal#officeFeedbackModal.social-legal-modal.active {
  display: flex !important;
  flex-direction: column !important;
  align-items: stretch !important;
  justify-content: flex-start !important;
  padding-top: calc(var(--site-header-height, 96px) + var(--modal-edge-gap, 8mm)) !important;
  padding-right: clamp(12px, 2vw, 20px) !important;
  padding-bottom: var(--modal-edge-gap, 8mm) !important;
  padding-left: clamp(12px, 2vw, 20px) !important;
  box-sizing: border-box !important;
  overflow-y: auto !important;
}

html body.page-font.page-novosti-sayta #officeFeedbackModal#officeFeedbackModal.active .social-legal-modal-dialog {
  margin-top: 0 !important;
  margin-bottom: 0 !important;
  margin-left: auto !important;
  margin-right: auto !important;
  flex-shrink: 0 !important;
  align-self: center !important;
  width: min(var(--m-content-w, 1240px), calc(100vw - (clamp(12px, 2vw, 20px) * 2))) !important;
  max-width: min(var(--m-content-w, 1240px), calc(100vw - (clamp(12px, 2vw, 20px) * 2))) !important;
  height: calc(100vh - var(--site-header-height, 96px) - var(--modal-edge-gap, 8mm) - var(--modal-edge-gap, 8mm)) !important;
  max-height: calc(100vh - var(--site-header-height, 96px) - var(--modal-edge-gap, 8mm) - var(--modal-edge-gap, 8mm)) !important;
  min-height: 0 !important;
  box-sizing: border-box !important;
  border-radius: var(--m-modal-radius, 24px) !important;
  box-shadow: var(--m-modal-shadow, 0 28px 80px rgba(10, 18, 25, 0.22), 0 8px 24px rgba(20, 56, 68, 0.12)) !important;
}

html body.page-font.page-novosti-sayta #officeFeedbackModal .oai-font-feedback-select-wrap {
  display: none !important;
}

html body.page-font.page-novosti-sayta #officeFeedbackModal#officeFeedbackModal .social-legal-modal-body,
html body.page-font.page-novosti-sayta #officeFeedbackModal#officeFeedbackModal .social-legal-form-group,
html body.page-font.page-novosti-sayta #officeFeedbackModal#officeFeedbackModal .social-legal-form-group label:not(.social-legal-consent-label),
html body.page-font.page-novosti-sayta #officeFeedbackModal#officeFeedbackModal .index-modal-select-host,
html body.page-font.page-novosti-sayta #officeFeedbackModal#officeFeedbackModal .index-modal-select {
  text-align: left !important;
}

html body.page-font.page-novosti-sayta #officeFeedbackModal#officeFeedbackModal .social-legal-form-group label:not(.social-legal-consent-label) {
  display: block !important;
  margin-bottom: 8px !important;
  color: var(--text-main, #111111) !important;
  font-size: var(--index-modal-field-label-font, 0.8125rem) !important;
  font-weight: 700 !important;
  line-height: 1.55 !important;
}

html body.page-font.page-novosti-sayta #officeFeedbackModal#officeFeedbackModal .social-legal-form-group input:not([type="checkbox"]):not([type="radio"]),
html body.page-font.page-novosti-sayta #officeFeedbackModal#officeFeedbackModal .social-legal-form-group textarea,
html body.page-font.page-novosti-sayta #officeFeedbackModal#officeFeedbackModal .social-legal-form-group select,
html body.page-font.page-novosti-sayta #officeFeedbackFio,
html body.page-font.page-novosti-sayta #officeFeedbackPhone,
html body.page-font.page-novosti-sayta #officeFeedbackMessage,
html body.page-font.page-novosti-sayta #officeFeedbackQuestion {
  width: 100% !important;
  padding: 13px 14px !important;
  background: #ffffff !important;
  border: 1px solid #d8dce2 !important;
  color: #111111 !important;
  border-radius: 12px !important;
  font-size: var(--index-modal-field-value-font, 0.875rem) !important;
  font-family: Arial, Helvetica, sans-serif !important;
  font-weight: 400 !important;
  line-height: 1.55 !important;
  box-sizing: border-box !important;
}

html body.page-font.page-novosti-sayta #officeFeedbackModal#officeFeedbackModal .social-legal-form-group textarea,
html body.page-font.page-novosti-sayta #officeFeedbackMessage {
  min-height: 170px !important;
  resize: vertical !important;
}

html body.page-font.page-novosti-sayta #officeFeedbackModal#officeFeedbackModal :is(.index-modal-select-trigger, button.index-modal-select-trigger) {
  width: 100% !important;
  min-width: 0 !important;
  max-width: 100% !important;
  min-height: 52px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: flex-start !important;
  padding: 13px 44px 13px 14px !important;
  white-space: normal !important;
  line-height: 1.55 !important;
  font-size: var(--index-modal-field-value-font, 0.875rem) !important;
  color: #111111 !important;
  -webkit-text-fill-color: #111111 !important;
}

html body.page-font.page-novosti-sayta #officeFeedbackModal#officeFeedbackModal .social-legal-modal-header {
  height: 1.5cm !important;
  min-height: 1.5cm !important;
  max-height: 1.5cm !important;
  flex: 0 0 1.5cm !important;
  padding: 0 54px 0 22px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  box-sizing: border-box !important;
  overflow: hidden !important;
}

html body.page-font.page-novosti-sayta #officeFeedbackModal#officeFeedbackModal .social-legal-modal-header h2 {
  margin: 0 !important;
  padding: 0 !important;
  font-size: var(--index-font-block-title, 1.08rem) !important;
  line-height: 1.2 !important;
  letter-spacing: 0.01em !important;
}

html body.page-font.page-novosti-sayta #officeFeedbackModal#officeFeedbackModal #officeFeedbackForm {
  position: relative !important;
  flex: 1 1 auto !important;
}

html body.page-font.page-novosti-sayta #officeFeedbackModal#officeFeedbackModal .social-legal-modal-footer {
  height: 1.5cm !important;
  min-height: 1.5cm !important;
  max-height: 1.5cm !important;
  flex: 0 0 1.5cm !important;
  padding: 0 22px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: flex-start !important;
  gap: 0 !important;
  box-sizing: border-box !important;
  overflow: hidden !important;
  background: #ffffff !important;
  border-top: 1px solid #e7edf5 !important;
}

html body.page-font.page-novosti-sayta #officeFeedbackModal#officeFeedbackModal .social-legal-modal-footer #officeFeedbackSubmitBtn,
html body.page-font.page-novosti-sayta #officeFeedbackModal#officeFeedbackModal button#officeFeedbackSubmitBtn.social-legal-submit-btn {
  width: var(--site-fund-btn-width, 240px) !important;
  min-width: var(--site-fund-btn-width, 240px) !important;
  max-width: var(--site-fund-btn-width, 240px) !important;
  inline-size: var(--site-fund-btn-width, 240px) !important;
  height: 1.3cm !important;
  min-height: 1.3cm !important;
  max-height: 1.3cm !important;
  block-size: 1.3cm !important;
  flex: 0 0 var(--site-fund-btn-width, 240px) !important;
  padding: 0 20px !important;
  margin: 0 !important;
  border: none !important;
  border-radius: var(--site-fund-btn-radius, 14px) !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  text-align: center !important;
  line-height: 1.2 !important;
  font-size: 16px !important;
  font-weight: 800 !important;
  font-family: Arial, Helvetica, sans-serif !important;
  box-sizing: border-box !important;
  white-space: nowrap !important;
  overflow-wrap: normal !important;
  word-break: normal !important;
  cursor: pointer !important;
  text-transform: none !important;
  letter-spacing: normal !important;
  appearance: none !important;
  -webkit-appearance: none !important;
  background: var(--site-stable-header-blue-gradient, linear-gradient(135deg, #2f7085 0%, #3f93ad 52%, #92cbdb 100%)) !important;
  background-image: var(--site-stable-header-blue-gradient, linear-gradient(135deg, #2f7085 0%, #3f93ad 52%, #92cbdb 100%)) !important;
  background-color: transparent !important;
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
  text-decoration: none !important;
  box-shadow: var(--site-stable-header-blue-shadow, 0 12px 30px rgba(37, 84, 100, 0.28)) !important;
  filter: none !important;
  transform: none !important;
  transition: transform var(--m-dur, 0.2s) var(--m-ease, ease), background var(--m-dur, 0.2s) var(--m-ease, ease), box-shadow var(--m-dur, 0.2s) var(--m-ease, ease) !important;
}

html body.page-font.page-novosti-sayta #officeFeedbackModal#officeFeedbackModal .social-legal-modal-footer #officeFeedbackSubmitBtn:hover,
html body.page-font.page-novosti-sayta #officeFeedbackModal#officeFeedbackModal .social-legal-modal-footer #officeFeedbackSubmitBtn:focus-visible,
html body.page-font.page-novosti-sayta #officeFeedbackModal#officeFeedbackModal button#officeFeedbackSubmitBtn.social-legal-submit-btn:hover,
html body.page-font.page-novosti-sayta #officeFeedbackModal#officeFeedbackModal button#officeFeedbackSubmitBtn.social-legal-submit-btn:focus-visible {
  background: var(--site-stable-header-blue-gradient-hover, linear-gradient(135deg, #1f4b5b 0%, #2f7892 52%, #75adbc 100%)) !important;
  background-image: var(--site-stable-header-blue-gradient-hover, linear-gradient(135deg, #1f4b5b 0%, #2f7892 52%, #75adbc 100%)) !important;
  background-color: transparent !important;
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
  box-shadow: var(--site-stable-header-blue-shadow-hover, 0 16px 36px rgba(37, 84, 100, 0.36)) !important;
  transform: translateY(-2px) !important;
  filter: none !important;
}

@media (max-width: 768px) {
  html body.page-font.page-novosti-sayta #officeFeedbackModal#officeFeedbackModal.social-legal-modal.active {
    padding-top: calc(var(--site-header-height, 84px) + var(--modal-edge-gap, 8mm)) !important;
  }

  html body.page-font.page-novosti-sayta #officeFeedbackModal#officeFeedbackModal.active .social-legal-modal-dialog {
    width: calc(100vw - (clamp(12px, 2vw, 20px) * 2)) !important;
    max-width: calc(100vw - (clamp(12px, 2vw, 20px) * 2)) !important;
    height: calc(100vh - var(--site-header-height, 84px) - var(--modal-edge-gap, 8mm) - var(--modal-edge-gap, 8mm)) !important;
    max-height: calc(100vh - var(--site-header-height, 84px) - var(--modal-edge-gap, 8mm) - var(--modal-edge-gap, 8mm)) !important;
  }

  html body.page-font.page-novosti-sayta #officeFeedbackModal#officeFeedbackModal .social-legal-modal-header {
    padding-left: 22px !important;
    padding-right: 54px !important;
  }

  html body.page-font.page-novosti-sayta #officeFeedbackModal#officeFeedbackModal .social-legal-modal-footer {
    padding-left: 14px !important;
    padding-right: 14px !important;
  }

  html body.page-font.page-novosti-sayta #officeFeedbackModal#officeFeedbackModal :is(.index-modal-select-trigger, button.index-modal-select-trigger) {
    min-height: 48px !important;
    padding: 11px 38px 11px 13px !important;
  }

  html body.page-font.page-novosti-sayta #officeFeedbackModal#officeFeedbackModal .social-legal-modal-footer #officeFeedbackSubmitBtn,
  html body.page-font.page-novosti-sayta #officeFeedbackModal#officeFeedbackModal button#officeFeedbackSubmitBtn.social-legal-submit-btn {
    width: var(--site-fund-btn-width, 240px) !important;
    min-width: var(--site-fund-btn-width, 240px) !important;
    max-width: var(--site-fund-btn-width, 240px) !important;
    inline-size: var(--site-fund-btn-width, 240px) !important;
    flex: 0 0 var(--site-fund-btn-width, 240px) !important;
    height: 1.3cm !important;
    min-height: 1.3cm !important;
    max-height: 1.3cm !important;
    padding: 0 20px !important;
    font-size: 16px !important;
  }
}

@media (max-width: 480px) {
  html body.page-font.page-novosti-sayta #officeFeedbackModal#officeFeedbackModal.active .social-legal-modal-dialog {
    width: calc(100vw - (clamp(12px, 2vw, 20px) * 2)) !important;
    max-width: calc(100vw - (clamp(12px, 2vw, 20px) * 2)) !important;
    height: calc(100vh - var(--site-header-height, 78px) - var(--modal-edge-gap, 8mm) - var(--modal-edge-gap, 8mm)) !important;
    max-height: calc(100vh - var(--site-header-height, 78px) - var(--modal-edge-gap, 8mm) - var(--modal-edge-gap, 8mm)) !important;
  }
}
