.teledo-device-options {
  margin: 0 auto 2rem;
  width: fit-content;
  max-width: 100%;
  min-inline-size: 0;
  padding: 1rem;
  border: 1px solid #dcd0ea;
  border-radius: 1rem;
  background: #fff;
  color: #342447;
  text-align: center;
}

.teledo-device-options legend {
  margin: 0 auto;
  padding: 0 .4rem;
  color: #3f2461;
  font-weight: 700;
}

.teledo-device-choices {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: .65rem;
}

.teledo-device-choices label {
  position: relative;
  display: block;
  cursor: pointer;
}

.teledo-device-choices input {
  position: absolute;
  inset: 0;
  opacity: 0;
}

.teledo-device-choices label > span {
  display: block;
  padding: .55rem .8rem;
  border: 1px solid #ded3ea;
  border-radius: .7rem;
  font-size: .9rem;
  line-height: 1.4;
}

.teledo-device-choices strong {
  margin-left: .25rem;
  color: #5b3387;
}

.teledo-device-choices input:checked + span {
  border-color: #7046a1;
  background: #f1e8fb;
  color: #402564;
}

.teledo-device-choices input:focus-visible + span {
  outline: 2px solid #7046a1;
  outline-offset: 2px;
}

.teledo-device-help {
  margin-top: .75rem;
  color: #554965;
  font-size: .875rem;
}
