.one-study-ui {
  min-width: 0;
  max-width: 100%;
  color: var(--one-ink, #172b40);
  white-space: normal;
  overflow-wrap: anywhere;
}

.one-study-ui .one-study-ui__lead,
.one-study-ui .one-study-ui__text,
.one-study-ui .one-study-ui__closing {
  white-space: pre-wrap;
}

.one-study-ui .one-study-ui__title {
  margin: 0 0 14px;
  font-size: 1.125rem;
  line-height: 1.5;
}

.one-study-ui .one-study-ui__items {
  display: grid;
  gap: 10px;
  margin: 0 0 14px;
}

.one-study-ui .one-study-ui__item {
  min-width: 0;
  border: 1px solid #b8cbc7;
  border-radius: 12px;
  background: #fff;
}

.one-study-ui .one-study-ui__item > summary {
  min-height: 48px;
  padding: 12px;
  cursor: pointer;
  font-weight: 650;
  line-height: 1.5;
}

.one-study-ui .one-study-ui__number { margin-right: 6px; }

.one-study-ui .one-study-ui__item[open] > summary {
  border-bottom: 1px solid #b8cbc7;
  background: #edf5f3;
  border-radius: 11px 11px 0 0;
}

.one-study-ui .one-study-ui__content { padding: 14px 12px; }
.one-study-ui .one-study-ui__text { margin: 0; }
.one-study-ui .one-study-ui__closing { margin: 0 0 12px; }
.one-study-ui .one-study-ui__help { margin: 12px 0 0; font-size: .875rem; }
.one-study-ui .one-study-ui__status { margin: 8px 0 0; }
.one-study-ui .one-study-ui__status:empty { margin: 0; }

.one-study-ui .one-study-ui__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}

.one-study-ui .one-study-ui__action {
  min-height: 48px;
  min-width: 48px;
  max-width: 100%;
  padding: 10px 12px;
  border: 1px solid #087f78;
  border-radius: 8px;
  background: #fff;
  color: #05665f;
  font: inherit;
  font-size: .9375rem;
  line-height: 1.5;
  text-align: left;
  white-space: normal;
  overflow-wrap: anywhere;
  cursor: pointer;
}

.one-study-ui .one-study-ui__action:hover { background: #edf5f3; }
.one-study-ui :is(summary, button):focus-visible { outline: 3px solid #125dac; outline-offset: 3px; }
.one-study-ui--comparison .one-study-ui__label { margin: 0; padding: 12px 12px 0; font-size: 1rem; line-height: 1.5; }

@media (min-width: 600px) {
  .one-study-ui--comparison .one-study-ui__items { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

.one-high-contrast .one-study-ui { color: #101010; }
.one-high-contrast .one-study-ui :is(.one-study-ui__item, .one-study-ui__action) { border: 2px solid #101010; }
.one-high-contrast .one-study-ui .one-study-ui__action { color: #101010; }
.one-high-contrast .one-study-ui .one-study-ui__item[open] > summary { background: #fff; border-bottom: 2px solid #101010; }

@media (forced-colors: active) {
  .one-study-ui :is(.one-study-ui__item, .one-study-ui__action) { border-color: CanvasText; }
}

.one-study-answer { min-width: 0; white-space: normal; }
.one-study-plain { margin: 14px 0 0; }
.one-study-plain > summary,
.one-study-choices > summary {
  min-height: 48px;
  padding: 12px 0;
  font-weight: 600;
  cursor: pointer;
  overflow-wrap: anywhere;
}
.one-study-plain > div { margin: 12px 0 0; white-space: pre-wrap; overflow-wrap: anywhere; }
.one-study-choices { margin: 20px 0; white-space: normal; }
.one-study-choices > form { margin: 12px 0 20px; }
.one-study-choices .one-field { margin-bottom: 16px; }
.one-study-choices :is(button, select) { min-height: 48px; }
.one-study-choices select { max-width: 100%; }
