body {
  padding-top: env(safe-area-inset-top);
  background-color: #000;
}
/* Квиз подбора услуги на телефоне: поля заголовка, отступы, вопросы с несколькими ответами, подсказка об обязательном ответе */
@media screen and (max-width: 640px) {
  html body #allrecords > .t-rec:has(.t678 .t-input-group_st) { padding-top: 40px !important; }
  html body #allrecords .t-rec:has(.t-input-group_st) .t678 .t-section__container.t-container { padding: 0 24px !important; box-sizing: border-box !important; }
  html body #allrecords .t-rec:has(.t-input-group_st) .t678 .rd-quiz-step { margin-top: 4px; }
  html body #allrecords .t678 .t-input-group_rd[data-field-name="Quiz_carclass"] .t-radio__wrapper_button { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
  html body #allrecords .t-rec:has(.t-input-group_st) .t678 .t-input-group_in .t-input-title { font-family: 'Montserrat', Arial, sans-serif !important; font-weight: 500 !important; font-size: 14px !important; color: #BEBEBE !important; margin: 6px 0 0 !important; }
  html body #allrecords .t-rec:has(.t-input-group_st) .t678 .t-input-group_ta .t-input-title { font-family: 'Unbounded', Arial, sans-serif !important; font-weight: 600 !important; font-size: 18px !important; line-height: 1.3 !important; color: #FFFFFF !important; margin-bottom: 14px !important; }
  html body #allrecords .t-rec:has(.t-input-group_st) .t678 textarea.t-input { height: auto !important; min-height: 110px; padding-top: 14px !important; }
  html body #allrecords .t678 .t-input-group_rd[data-field-name="Quiz_package"] { margin-top: 28px !important; }
  html body #allrecords .t678 .t-checkboxes__wrapper_button { display: grid !important; grid-template-columns: minmax(0, 1fr); gap: 8px !important; padding: 0 !important; margin: 0 !important; list-style: none; }
  html body #allrecords .t678 .t-checkboxes__wrapper_button .t-checkboxes__item { margin: 0 !important; padding: 0 !important; width: 100% !important; }
  html body #allrecords .t678 .t-checkboxes__wrapper_button .t-checkbox__control { display: flex !important; align-items: center !important; width: 100% !important; min-height: 52px !important; margin: 0 !important; padding: 12px 16px !important; box-sizing: border-box !important; background: #1C1C1C !important; border: 1px solid #2A2A2A !important; border-radius: 0 !important; cursor: pointer; opacity: 1 !important; }
  html body #allrecords .t678 .t-checkboxes__wrapper_button .t-checkbox__control span { color: #FFFFFF !important; font-family: 'Montserrat', Arial, sans-serif !important; font-size: 16px !important; font-weight: 500 !important; line-height: 1.3 !important; }
  html body #allrecords .t678 .t-checkboxes__wrapper_button .t-checkbox__indicator { display: none !important; }
  html body #allrecords .t678 .t-checkboxes__wrapper_button .t-checkbox__control:has(input:checked) { border-color: #C91212 !important; background: rgba(201, 18, 18, 0.14) !important; box-shadow: inset 3px 0 0 #C91212 !important; }
  html body #allrecords .t678 .t-input-group_rd .t-input-title { font-family: 'Unbounded', Arial, sans-serif !important; font-weight: 600 !important; font-size: 18px !important; line-height: 1.3 !important; color: #FFFFFF !important; margin-bottom: 14px !important; }
  /* Подсказка «Можно выбрать несколько вариантов»: надзаголовок по дизайн-коду, светло-красный, заглавные с разрядкой */
  html body #allrecords .t678 .t-input-group_rd .t-input-title:has(+ .t-input-subtitle) { margin-bottom: 8px !important; }
  html body #allrecords .t678 .t-input-group_rd .t-input-subtitle { display: flex !important; align-items: center; gap: 8px; margin: 0 0 14px !important; padding: 0 !important; font-family: 'Montserrat', Arial, sans-serif !important; font-size: 12px !important; font-weight: 600 !important; line-height: 1.4 !important; letter-spacing: 1.5px; text-transform: uppercase; color: #F25050 !important; opacity: 1 !important; }
  html body #allrecords .t678 .t-input-group_rd .t-input-subtitle::before { content: ''; flex: 0 0 14px; height: 14px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 14' fill='none' stroke='%23F25050' stroke-width='1.5'%3E%3Crect x='0.75' y='0.75' width='12.5' height='12.5'/%3E%3Cpath d='M3.5 7.2l2.3 2.3 4.7-4.9'/%3E%3C/svg%3E") no-repeat center / 14px 14px; }
  html body #allrecords .t678 .t-input-group.rd-quiz-err .t-radio__item, html body #allrecords .t678 .t-input-group.rd-quiz-err .t-checkbox__control { border-color: #F25050 !important; }
  html body #allrecords .t678 .t-input-group.rd-quiz-err::after { content: 'Выберите вариант ответа'; display: block; margin-top: 8px; font-family: 'Montserrat', Arial, sans-serif; font-size: 14px; color: #F25050; }
}