/* Native popup options do not reliably inherit the select background. */
select,
textarea,
input:not([type="checkbox"]):not([type="radio"]):not([type="range"]):not([type="color"]):not([type="button"]):not([type="submit"]) {
  color-scheme: dark;
  background-color: #16272d;
  color: #f3fbff;
}
select option,
select optgroup {
  background-color: #16272d;
  color: #f3fbff;
}
select option:checked {
  background-color: #24505b;
  color: #ffffff;
}
select option:disabled,
select optgroup:disabled {
  color: #b5c6cc;
}
input::placeholder,
textarea::placeholder {
  color: #b5c6cc;
  opacity: 1;
}
@media (forced-colors: active) {
  select, textarea, input, select option, select optgroup {
    forced-color-adjust: auto;
  }
}
