/* User application only: avoid focus zoom and automatic text inflation.
   Keep browser/user pinch zoom available; do not mutate viewport on blur. */
html.user-application{-webkit-text-size-adjust:100%;text-size-adjust:100%}
@media(max-width:740px),(hover:none) and (pointer:coarse){
 body.user-application{display:block;padding:0;background:#fff}
 body.user-application>.device{width:100%;max-width:480px;min-width:0;margin:auto;border:0;border-radius:0;box-shadow:none;min-height:100dvh}
 body.user-application>.device>.statusbar,body.user-application>.device>.home-indicator{display:none}
 body.user-application #app{min-width:0;max-width:100%;overflow-wrap:anywhere}
 body.user-application :is(#app,#dialog) :is(input:not([type=checkbox]):not([type=radio]):not([type=range]):not([type=file]):not([type=hidden]):not([type=button]):not([type=submit]),select,textarea){
  /* Required even when published decoration has a smaller inline font. */
  font-size:16px!important;min-width:0;max-width:100%;
 }
 body.user-application #dialog{max-width:calc(100% - 28px)}
}
