.treo-measurement-settings {
  appearance: none;
  border: 0;
  padding: 0;
  background: none;
  color: #c3cdc4;
  font: inherit;
  font-size: 12px;
  line-height: 1.5;
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
}

.treo-measurement-settings:hover {
  color: #fff;
}
.treo-measurement-settings:focus-visible,
.measurement-choice button:focus-visible,
.measurement-choice a:focus-visible {
  outline: 2px solid #d6b991;
  outline-offset: 3px;
}

.measurement-choice {
  position: fixed;
  z-index: 100;
  inset: auto auto 20px 20px;
  box-sizing: border-box;
  width: min(430px, calc(100% - 40px));
  max-height: calc(100svh - 40px);
  overflow: auto;
  padding: 21px;
  border: 1px solid #596660;
  border-radius: 16px;
  background: #17201d;
  box-shadow: 0 18px 48px #0005;
  color: #f8f8f5;
  font-family: "Avenir Next", Avenir, "Helvetica Neue", Helvetica, Arial, sans-serif;
}

.measurement-choice[hidden] {
  display: none;
}
.measurement-choice strong {
  font-size: 17px;
  line-height: 1.3;
}
.measurement-choice p {
  margin: 9px 0 16px;
  color: #d9e1da;
  font-size: 14px;
  line-height: 1.5;
}
.measurement-choice a {
  color: #e6c89e;
  text-underline-offset: 3px;
}
.measurement-choice__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
}
.measurement-choice__actions button {
  min-height: 42px;
  padding: 8px 14px;
  border: 1px solid #849189;
  border-radius: 9px;
  background: transparent;
  color: #fff;
  cursor: pointer;
  font: inherit;
  font-size: 14px;
}
.measurement-choice__actions button:last-child {
  border-color: #ede8dd;
  background: #ede8dd;
  color: #17201d;
}

@media (max-width: 600px) {
  .measurement-choice {
    inset: auto 16px 94px;
    width: auto;
    max-height: calc(100svh - 110px);
  }
}
