/* The app fills the viewport and never scrolls as a document: every scrollable
   area is a panel inside the layout. MUI CssBaseline does the rest. */
html,
body,
#root {
  height: 100%;
  margin: 0;
}

#root {
  /* dvh, not vh: a mobile browser address bar must not cut the layout off */
  height: 100dvh;
}

body {
  overflow: hidden;
  overscroll-behavior: none;
  -webkit-font-smoothing: antialiased;
  /* on a touch screen a tap is a click at once: no wait for a second tap that
     might have been a double-tap zoom, and no grey flash over what was hit —
     every control already draws its own pressed state */
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
}
