html, body {
  height: 100%;
  /* The app scrolls inside its own panels; without this, dragging at the edge of a list pulls the
     whole page (rubber band on iOS, pull-to-refresh on Android), which feels like a website in the
     installed app. */
  overscroll-behavior: none;
}

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;
  }
}