/* HASP Map Platform - Performance Optimizations
   These styles are injected automatically to improve iframe interaction performance
   (dragging, zooming, panning, touch responsiveness) */

* {
  scrollbar-color: var(--light-600) transparent;
}

html, body {
  width: 100%;
  height: 100%;
  margin: 0;
  overflow: hidden;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
}

iframe {
  touch-action: manipulation;
}

html.scrollable {
  overflow: auto;
}

html.scrollable body {
  overflow: unset;
}

html.scrollable body, html.scrollable #app {
  height: auto;
}

#loading {
  width: 100vw;
  height: 100vh;
}

#app {
  width: 100%;
  height: 100%;
  position: relative;
  z-index: 0;
  will-change: transform;
  transform: translateZ(0);
  -webkit-transform: translateZ(0);
  touch-action: manipulation;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
}
