/* Responsive forms, reading and touch controls. */
body[data-design-brand] :is(main,section,article,form,fieldset,.hero-grid,.contact-shell,.site-form-row)>*{min-width:0}
body[data-design-brand] :is(h1,h2,h3,p,label,a){overflow-wrap:break-word}
body[data-design-brand] :is(img,video){max-width:100%}
body[data-design-brand] :is(input,select,textarea){max-width:100%;scroll-margin-block:100px 100px}
@media(max-width:800px){
 body[data-design-brand] :is(input:not([type=checkbox]):not([type=radio]),select,textarea){font-size:16px!important}
 body[data-design-brand] .topbar nav{max-height:calc(100dvh - 90px);overflow-y:auto;overscroll-behavior:contain}
 body[data-design-brand] .site-whatsapp{right:max(12px,env(safe-area-inset-right));bottom:calc(12px + env(safe-area-inset-bottom));width:52px;height:52px}
 body[data-design-brand]:has(form :is(input,select,textarea):focus) .site-whatsapp{visibility:hidden;pointer-events:none}
}
@media(max-width:540px){
 body[data-design-brand] .contact-shell{width:100%!important;max-width:100%!important;padding-inline:16px!important;gap:24px!important}
 body[data-design-brand] :is(.contact-card,.contact-side){padding:20px 18px!important}
 body[data-design-brand] .site-form-row{grid-template-columns:minmax(0,1fr)!important}
 body[data-design-brand] :is(.actions,.hero-actions){gap:10px!important}
 body[data-design-brand] :is(.actions,.hero-actions)>:is(a,button){max-width:100%;min-height:46px}
 body[data-design-brand] :is(.cards,.article-grid,.service-grid,.canton-grid){grid-template-columns:minmax(0,1fr)!important}
 body[data-design-brand] .footer nav{gap:8px 18px!important}
}
