/* Hide quiz consultant card and empty left panel */
#rec2543416701 .t-quiz__consultant {
  display: none !important;
}

#rec2543416701 .t-quiz__sidebar {
  display: none !important;
}

/*
  Dark left frame (#373737) should hug quiz content height.
  Tilda sets min-height: 80vh on mobile → empty black block under "Дальше".
*/
#rec2543416701 .t-quiz {
  --max-height-mobile: none;
  --min-height-mobile: 0px;
  --full-height: auto;
  --full-height-with-border: auto;
}

#rec2543416701 .t-quiz__quiz-wrapper.leftside-panel,
#rec2543416701 .t-quiz__quiz-wrapper.t-quiz__quiz-wrapper_dynamic-height,
#rec2543416701 .t-quiz__quiz-wrapper.t-quiz__quiz-wrapper_withsidebar,
#rec2543416701 .t-quiz__quiz-wrapper {
  display: block !important;
  height: auto !important;
  max-height: none !important;
  min-height: 0 !important;
  align-self: flex-start !important;
}

#rec2543416701 .t-quiz__content-wrapper,
#rec2543416701 .t-quiz__content-padding-container,
#rec2543416701 .t-quiz__main,
#rec2543416701 .t-quiz__quiz-form-wrapper,
#rec2543416701 .t-quiz .t-form,
#rec2543416701 .t-quiz__content {
  height: auto !important;
  max-height: none !important;
  min-height: 0 !important;
}

#rec2543416701 .t-quiz__content-wrapper {
  background-color: var(--quiz-background-color, #ffffff) !important;
}

#rec2543416701 .t-quiz__content,
#rec2543416701 .t-quiz__main,
#rec2543416701 .t-quiz__quiz-form-wrapper {
  width: 100% !important;
  max-width: 100% !important;
}

/* Keep thin dark frame around questions (left padding = panel color) */
#rec2543416701 .t-quiz__quiz-wrapper.leftside-panel .t-quiz__content-padding-container {
  padding-left: var(--content-padding, 10px) !important;
  padding-right: var(--content-padding, 10px) !important;
  padding-top: var(--content-padding, 10px) !important;
  padding-bottom: var(--content-padding, 10px) !important;
  box-sizing: border-box !important;
}

#rec2543416701 .t-quiz__quiz-wrapper.leftside-panel .t-quiz__progress-bar-container,
#rec2543416701 .t-quiz__quiz-wrapper.leftside-panel .t-quiz__content-wrapper,
#rec2543416701 .t-quiz__quiz-wrapper.leftside-panel .t-quiz__content-padding-container {
  border-radius: var(--content-padding-radius, 0px) !important;
}

@media screen and (max-width: 960px) {
  #rec2543416701 .t-quiz__quiz-wrapper,
  #rec2543416701 .t-quiz__quiz-wrapper.leftside-panel,
  #rec2543416701 .t-quiz__quiz-wrapper.t-quiz__quiz-wrapper_dynamic-height {
    height: auto !important;
    max-height: none !important;
    min-height: 0 !important;
  }
}

@media screen and (max-width: 640px) {
  #rec2543416701 .t-quiz__quiz-wrapper,
  #rec2543416701 .t-quiz__quiz-wrapper.leftside-panel,
  #rec2543416701 .t-quiz .t-quiz__quiz-wrapper {
    height: auto !important;
    max-height: none !important;
    min-height: 0 !important;
  }
}
