/* A report title takes the section role when it sits below a survey name. */
#workspace-content h2 { font-size: var(--type-workspace-title); }
#workspace #workspace-content :is(#survey-report-host .workspace-report-heading h2, [data-survey-section] > h3[id], #report-heading) {
  font-size: var(--type-section);
  line-height: 1.3;
  letter-spacing: -.025em;
}
#workspace #workspace-content h3 { font-size: var(--type-card-heading); }
#workspace #workspace-content h4 { font-size: var(--type-body); }
#workspace #workspace-content :is(label, button, summary, select):not(:where(.design-sample *, .design-sample, .outline-title, .card-compact-title, .survey-card h3 *)) {
  font-size: var(--type-label);
}
#workspace #workspace-content :is(input, textarea):not(:where(.design-sample *, [type=checkbox], [type=radio])) {
  font-size: var(--type-body);
}
@media (max-width: 42rem) {
  #workspace #workspace-content select:not(:where(.design-sample *)) { font-size: var(--type-body); }
}
