html, body {
  height: 100%;
}

body {
  margin: 0;
  padding: 0;
}

@media (prefers-color-scheme: dark) {
  body {
    background: black;
  }
}

.root {
  display: flex;
  flex-direction: column;
  height: 100%;
}

@media print {
  * {
    height: auto !important;
    overflow: visible !important;
  }
}

/* Prevent mobile browsers from auto-zooming focused form controls (< 16px triggers zoom on iOS). */
@media (hover: none) and (pointer: coarse), screen and (max-width: 768px) {
  input:not([type="checkbox"]):not([type="radio"]):not([type="range"]):not([type="hidden"]):not([type="file"]):not([type="button"]):not([type="submit"]):not([type="reset"]),
  select,
  textarea,
  .MuiInputBase-input,
  .MuiSelect-select,
  .MuiAutocomplete-input {
    font-size: 16px !important;
  }
}