/* ANTILLO V61 - iPhone: fix viewport width, overflow and grid shrinkage */
:root{max-width:100%;}
html{width:100%;max-width:100%;overflow-x:hidden;-webkit-text-size-adjust:100%;text-size-adjust:100%;}
body{width:100%;max-width:100%;min-width:0;overflow-x:hidden;position:relative;}
header,main,footer,#workspace,#workspace>.view,#workspace>.panel,#workspace>.toolbar{box-sizing:border-box;max-width:100%;min-width:0;}
main{width:100%;}
#workspace{width:100%;min-width:0;}
#workspace>.view.panel{width:100%;min-width:0;max-width:100%;}
#workspace>.toolbar{min-width:0;max-width:100%;}
#workspace>.toolbar>*,#home,#home>*,#home .v35-shortcuts,#home .v40-admin-links,#home .v49-homehero{min-width:0;max-width:100%;}
#home .v35-shortcuts>*,#home .v40-admin-links>*,#home .v46-hub-grid>*{min-width:0;max-width:100%;}
#home .v35-shortcuts button{width:100%;min-width:0;max-width:100%;white-space:normal;overflow-wrap:anywhere;}
#home .v35-shortcuts button strong{max-width:100%;overflow-wrap:anywhere;word-break:normal;}
#home .v35-shortcuts svg{flex-shrink:0;}
header .brand{min-width:0;max-width:100%;}
header .brand>div{min-width:0;max-width:100%;}
header .brand small{overflow-wrap:break-word;}
.panel,.entry,.v35-home-card,.v39-em-home,.v39-em-alert{min-width:0;max-width:100%;}
.panel p,.entry p,.toolbar p{overflow-wrap:break-word;}
img,svg,video,canvas{max-width:100%;}
input,select,textarea{max-width:100%;min-width:0;font-size:16px;}
.v35-bottom{width:100%;max-width:100%;box-sizing:border-box;}
#calendar,#calendar .week-scroll,#calendar #week{min-width:0;max-width:100%;}
@media(max-width:650px){
 html,body{overflow-x:hidden!important;}
 header{width:100%!important;max-width:100%!important;padding-left:12px!important;padding-right:12px!important;}
 main{width:100%!important;max-width:100%!important;min-width:0!important;margin-left:auto!important;margin-right:auto!important;padding-left:8px!important;padding-right:8px!important;}
 #workspace{display:block!important;width:100%!important;max-width:100%!important;min-width:0!important;}
 #workspace>.view.panel{display:block;max-width:100%!important;min-width:0!important;}
 #workspace>.view.panel[hidden]{display:none!important;}
 #home .v35-shortcuts{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;width:100%!important;min-width:0!important;max-width:100%!important;gap:8px!important;}
 #home .v35-shortcuts button{width:100%!important;min-width:0!important;max-width:100%!important;padding:10px 5px!important;}
 #home .v35-shortcuts button strong{font-size:clamp(12px,3.3vw,15px)!important;line-height:1.2!important;}
 #home .v40-admin-links,#home .v46-hub-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;}
 #workspace>.toolbar{width:100%!important;max-width:100%!important;min-width:0!important;flex-wrap:wrap!important;}
 #workspace>.toolbar>div{min-width:0!important;flex:1 1 170px;}
 #workspace>.toolbar h1,#workspace>.toolbar .muted{overflow-wrap:anywhere!important;}
 #calendar .week-scroll{overflow-x:hidden!important;}
 #calendar .day{width:100%!important;max-width:100%!important;min-width:0!important;}
 #calendar .dayhead,#calendar .shift{min-width:0!important;overflow-wrap:anywhere!important;}
 .v35-bottom{left:0!important;right:0!important;max-width:100vw!important;}
}
