.height-field {
  min-width: 0;
}

.height-label {
  display: block;
  margin-bottom: 8px;
  font-weight: 800;
}

.height-inputs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.height-part {
  position: relative;
}

.height-inputs input {
  min-width: 0;
  padding-right: 42px;
}

.height-part > b {
  position: absolute;
  top: 50%;
  right: 16px;
  color: #626578;
  font-size: 15px;
  font-weight: 700;
  pointer-events: none;
  transform: translateY(-50%);
}

.height-part > .sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.consent input.is-invalid {
  outline: 2px solid var(--error);
  outline-offset: 2px;
}

.option-list label:has(input.is-invalid) {
  border-color: var(--error);
  background: #fff0ef;
}

.field-grid label:has(.is-invalid) > span,
.height-field:has(.is-invalid) > .height-label,
.consent:has(input.is-invalid) > span {
  color: var(--error);
}

.field-grid input.is-invalid,
.field-grid select.is-invalid {
  border-color: var(--error);
  background-color: #fff8f7;
  box-shadow: 0 0 0 3px rgba(168, 48, 44, 0.12);
}
