/* MCR v1.10.46: scoped questionnaire typography and labelled GI choice. */
.patient-questionnaire-page .form-heading,
.patient-questionnaire-page .form-step,
.patient-questionnaire-page .field,
.patient-questionnaire-page .check > span,
.patient-questionnaire-page .progress-meta > span {
  min-width: 0;
  overflow-wrap: anywhere;
  word-break: normal;
}
.patient-questionnaire-page .form-heading h1 {
  max-width: 100%;
  font-weight: 600;
  line-height: 1.25;
  overflow-wrap: anywhere;
  word-break: normal;
}
.patient-questionnaire-page .progress-meta { gap: 12px; }
.patient-questionnaire-page #progressLabel { flex: 0 0 auto; white-space: nowrap; }
.patient-questionnaire-page .field select { max-width: 100%; min-width: 0; }
.patient-questionnaire-page .gi-complaints-question {
  min-inline-size: 0;
  width: 100%;
  margin: 22px 0;
  padding: 12px 16px 16px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #f7fbfb;
}
.patient-questionnaire-page .gi-complaints-question legend {
  max-width: 100%;
  padding: 0 6px;
  color: var(--text);
  font-size: 18px;
  line-height: 1.5;
  font-weight: 600;
  overflow-wrap: anywhere;
}
.patient-questionnaire-page .gi-complaints-question .gi-choice { margin: 0; }
@media (max-width: 800px) {
  .patient-questionnaire-page .form-heading h1 {
    font-size: clamp(26px, 7vw, 34px);
    letter-spacing: -.015em;
  }
  html[lang="ka"] .patient-questionnaire-page .form-heading h1 {
    font-size: clamp(22px, 5.5vw, 30px);
    line-height: 1.35;
    letter-spacing: 0;
  }
  .patient-questionnaire-page .gi-complaints-question { padding: 10px 12px 12px; }
  .patient-questionnaire-page .gi-complaints-question legend { font-size: 16px; }
}
