/* Lo scorrimento resta disponibile; i gesti a più dita non ingrandiscono la pagina. */
html,body{touch-action:pan-x pan-y}
html{overflow-x:clip;max-width:100%}
body{width:100%;max-width:100%;overflow-x:hidden;box-sizing:border-box}
body.keyboard-open{padding-bottom:var(--keyboard-space,0px)}
main,header,.wrap,.panel,.field{min-width:0;box-sizing:border-box;max-width:100%}
.help-menu{position:fixed!important;left:var(--help-left,12px)!important;right:auto!important;top:var(--help-top,100px)!important;max-width:calc(100vw - 24px)!important;min-width:0!important;box-sizing:border-box;white-space:normal!important}
.help-menu button{white-space:normal!important;overflow-wrap:anywhere}
#prestazioni-screen input[type=date],#scheda-screen input[type=date],#modulistica-screen input[type=date],#ricette-screen input[type=date]{width:10.5rem!important;inline-size:10.5rem!important;min-width:0!important;max-width:100%!important;box-sizing:border-box;padding-inline:6px!important}
#prestazioni-screen input[type=time]{width:7.5rem!important;inline-size:7.5rem!important;max-width:100%!important;min-width:0!important}
.save-prospect-footer{display:flex;align-items:center;justify-content:flex-end;gap:12px;flex-wrap:wrap;margin:0 0 18px}
.save-prospect-footer .status{flex:1 1 100%;text-align:right;margin:0}
.save-prospect-footer button{min-height:48px;padding:10px 22px}
@media(max-width:650px){.save-prospect-footer button{width:100%}.save-prospect-footer .status{text-align:left}}
@media(max-width:768px){
 input:not([type=checkbox]):not([type=radio]),select,textarea{font-size:16px!important}
}

/* Contain lateral overscroll around embedded consultation pages on iOS. */
html,body{overscroll-behavior-x:none}
#guida-screen{min-width:0;max-width:100%;overflow-x:clip}
#guida-screen iframe{min-width:0;max-width:100%;contain:inline-size}
