/* Forms retain the same controls on desktop and smartphone. */
.mf-product-name,.mf-weekday{display:none}
body.gg-shell input[type="email"],body.gg-shell input[type="tel"],body.gg-shell input[type="url"]{box-sizing:border-box;width:100%;border:1px solid var(--line,#dce1e6);border-radius:7px;padding:10px 12px;background:#fff;color:var(--ink,#24374b);font:inherit}
@media screen and (max-width:760px){
 body.gg-shell #modal-body input:not([type="checkbox"]):not([type="radio"]):not([type="hidden"]):not([type="file"]),body.gg-shell #modal-body select,body.gg-shell #modal-body textarea{font-size:16px!important;min-height:44px;min-width:0;max-width:100%;box-sizing:border-box}
 body.gg-shell .modal-foot{padding-bottom:max(14px,env(safe-area-inset-bottom,0px))!important;display:flex;flex-wrap:wrap;gap:8px}
 body.gg-shell .modal-foot button{min-height:44px;white-space:normal}
 #ofor-items-host>div{border:0!important;overflow:visible!important}
 #ofor-items-host table,#ofor-items-host tbody{display:block!important;width:100%!important;min-width:0!important}
 #ofor-items-host thead{display:none}
 #ofor-items-host tbody tr{display:grid!important;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:12px;padding:16px;margin:12px 0;border:1px solid #dce1e6!important;border-radius:10px;background:white}
 #ofor-items-host td{display:block!important;padding:0!important;min-width:0;text-align:left!important;white-space:normal!important;border:0!important;letter-spacing:0!important}
 #ofor-items-host td:before{content:attr(data-mobile-label);display:block;font:500 12px/1.5 system-ui;color:#637185;margin-bottom:6px;text-transform:none}
 #ofor-items-host td:nth-child(1),#ofor-items-host td:nth-child(2),#ofor-items-host td:last-child{grid-column:1/-1}
 #ofor-items-host td:nth-child(4){grid-column:1;grid-row:4}
 #ofor-items-host td:nth-child(5){grid-column:2;grid-row:4}
 #ofor-items-host td:last-child:before{display:none}
 #ofor-items-host td:last-child button{min-height:44px;min-width:44px;float:right}
 #ofor-items-host input{width:100%!important;max-width:100%!important;box-sizing:border-box}
 #ofor-items-host .mf-product-input{display:none!important}
 #ofor-items-host .mf-product-name{display:block;font-size:16px;font-weight:600;line-height:1.5;overflow-wrap:anywhere}
 #ofor-cost-summary>div{display:flex!important;flex-wrap:wrap!important;gap:14px!important}
 body:has(.login-shell){padding:max(16px,env(safe-area-inset-top,0px)) max(16px,env(safe-area-inset-right,0px)) max(16px,env(safe-area-inset-bottom,0px)) max(16px,env(safe-area-inset-left,0px))}
 .login-shell input{font-size:16px}
 body.gg-shell #presenze-table-wrap .preview-calendar{min-width:0!important;grid-template-columns:minmax(0,1fr)!important;gap:12px}
 body.gg-shell #presenze-table-wrap .preview-weekday,body.gg-shell #presenze-table-wrap .preview-day-empty{display:none}
 body.gg-shell #presenze-table-wrap .preview-day{min-height:0;padding:14px}
 body.gg-shell #presenze-table-wrap .preview-day-top strong{display:flex;align-items:baseline;gap:10px}
 body.gg-shell #presenze-table-wrap .mf-weekday{display:inline;font-size:14px;font-weight:500;text-transform:capitalize}
 body.gg-shell #presenze-table-wrap .preview-day-top button{min-width:44px;min-height:44px}
}
