#r8-res-form fieldset {
  min-width: 0;
  margin-block-end: 1rem;
}

#r8-res-form .r8-field,
#r8-res-form .r8-field-heading > label,
#r8-res-results dt {
  min-width: 0;
  overflow-wrap: anywhere;
}

#r8-res-form select {
  width: 100%;
}

#r8-res-form select,
#r8-res-form textarea {
  max-width: 100%;
}

#r8-res-form textarea:placeholder-shown {
  background: #f4f5f6;
}

#r8-res-result > h2 {
  margin-block-end: .75rem;
}

#r8-res-form [aria-invalid="true"] {
  outline: 2px solid #a52645;
}

#r8-res-error {
  color: #a52645;
}

#r8-res-results > div {
  display: flex;
  justify-content: space-between;
  gap: .5rem;
  padding-block: .45rem;
  border-block-end: 1px solid #ddd;
}

#r8-res-results dd {
  margin: 0;
  white-space: nowrap;
}
