/* V59 - layout mobile e stampe */
@media(max-width:650px){
 html,body{width:100%!important;max-width:100%!important;overflow-x:clip!important}
 #workspace,#workspace .view,#workspace .panel{width:100%!important;min-width:0!important;max-width:100%!important}
 #home .v35-shortcuts{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:8px!important}
 #home .v35-shortcuts button{min-width:0!important;min-height:78px!important;padding:9px 5px!important;gap:5px!important}
 #home .v35-shortcuts button svg{width:27px!important;height:27px!important}
 #home .v35-shortcuts button strong{font-size:clamp(11px,3.4vw,15px)!important;line-height:1.2!important;overflow-wrap:break-word!important}
 #calendar #week{display:flex!important;flex-direction:column!important;visibility:visible!important;min-height:200px!important}
 #calendar #week .day{display:grid!important;grid-template-columns:minmax(78px,.7fr) repeat(2,minmax(0,1fr))!important}
 #roles .role-checkboxes{display:grid!important;grid-template-columns:1fr!important;gap:8px!important}
 #roles .role-checkboxes label{display:flex!important;align-items:center!important;gap:12px!important;min-width:0!important;width:100%!important;word-break:normal!important;overflow-wrap:normal!important;white-space:normal!important}
 #roles .role-checkboxes input{flex:0 0 23px!important;width:23px!important;height:23px!important}
 #squads .squad-member{display:flex!important;flex-wrap:wrap!important;min-width:0!important}
 #squads .squad-member select{max-width:100%!important;width:100%!important}
 .report-table{display:block!important;overflow-x:auto!important;width:100%!important}
 .report-table th,.report-table td{min-width:90px!important;word-break:normal!important;overflow-wrap:break-word!important}
 .v35-bottom{padding-bottom:max(10px,env(safe-area-inset-bottom))!important}
}
#v59CancelEmergency{background:#fff!important;color:#ad0922!important;border:2px solid #ad0922!important;margin:8px 0!important}
