/* Shared by the main document and the pitch editor iframe. Keep authored font
   sizes, including inside the scaled track sidebar, after device rotation. */
html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

/* Keep the iOS viewport fixed; scrolling happens in the lobby or inner panels. */
html.daw-ios-viewport,
html.daw-ios-viewport body,
html.daw-ios-viewport #root {
  width: 100%;
  height: 100%;
  min-height: 0;
  overflow: hidden;
  overscroll-behavior: none;
  /* Older iOS supports manipulation; the script separately cancels native pinch. */
  touch-action: manipulation;
}
html.daw-ios-viewport body { position: fixed; inset: 0; }
html.daw-ios-viewport .daw-lobby,
html.daw-ios-viewport .daw-welcome {
  height: 100%;
  min-height: 0 !important;
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior: none;
  -webkit-overflow-scrolling: touch;
}
html.daw-ios-viewport #editor.editor { height: 100%; min-height: 0; }
/* Focus/page zoom is handled by the viewport meta and gesture guard. Do not
   override control font sizes here: each panel defines its own typography. */
