/* Shared narrow-screen safeguards. Keep desktop layouts and form behavior intact. */
@media(max-width:700px){
html[data-cw-public-design][data-cw-shared-shell][data-cw-mobile-fit][data-cw-mobile-fit][data-cw-mobile-fit] body>main{width:calc(100% - 32px)!important;max-width:calc(100% - 32px)!important;margin-inline:auto!important;box-sizing:border-box!important;min-width:0!important}
html[data-cw-public-design][data-cw-shared-shell][data-cw-mobile-fit][data-cw-mobile-fit][data-cw-mobile-fit] body>main :is(section,article,aside,form,fieldset,div,figure,nav,header){min-width:0!important;box-sizing:border-box!important}
html[data-cw-public-design][data-cw-shared-shell][data-cw-mobile-fit][data-cw-mobile-fit][data-cw-mobile-fit] body>main :is(h1,h2,h3,h4,p,li,dt,dd,label,legend,summary,figcaption,a){overflow-wrap:anywhere}
html[data-cw-public-design][data-cw-shared-shell][data-cw-mobile-fit][data-cw-mobile-fit][data-cw-mobile-fit] body>main :is(p,li,dt,dd,label,summary){line-height:1.65}
html[data-cw-public-design][data-cw-shared-shell][data-cw-mobile-fit][data-cw-mobile-fit][data-cw-mobile-fit] body>main :is(input:not([type=checkbox]):not([type=radio]):not([type=hidden]):not([type=button]):not([type=submit]),select,textarea){min-width:0!important;max-width:100%!important;box-sizing:border-box!important;font-size:16px!important;-webkit-text-fill-color:currentColor}
html[data-cw-public-design][data-cw-shared-shell][data-cw-mobile-fit][data-cw-mobile-fit][data-cw-mobile-fit] body>main :is(button,.button,input[type=submit],input[type=button]){max-width:100%!important;box-sizing:border-box!important;white-space:normal!important;overflow-wrap:anywhere}
html[data-cw-public-design][data-cw-shared-shell][data-cw-mobile-fit][data-cw-mobile-fit][data-cw-mobile-fit] body>main :is(img,video,iframe,canvas){max-width:100%!important;box-sizing:border-box!important}
html[data-cw-public-design][data-cw-shared-shell][data-cw-mobile-fit][data-cw-mobile-fit][data-cw-mobile-fit] body>main figure{max-width:100%!important;margin-inline:0!important}
html[data-cw-public-design][data-cw-shared-shell][data-cw-mobile-fit][data-cw-mobile-fit][data-cw-mobile-fit] body>main :is(table,pre){max-width:100%!important;overflow-x:auto!important;overscroll-behavior-inline:contain}
html[data-cw-public-design][data-cw-shared-shell][data-cw-mobile-fit][data-cw-mobile-fit][data-cw-mobile-fit] body>main table{display:block}
html[data-cw-public-design][data-cw-shared-shell][data-cw-mobile-fit][data-cw-mobile-fit][data-cw-mobile-fit] body>main fieldset{max-width:100%!important;margin-inline:0!important}
html[data-cw-public-design][data-cw-shared-shell][data-cw-mobile-fit][data-cw-mobile-fit][data-cw-mobile-fit] body>main :is(.actions,.wizard-actions,.catalog-actions,.article-cta,.next-step-links){flex-wrap:wrap!important;gap:10px!important}
html[data-cw-public-design][data-cw-shared-shell][data-cw-mobile-fit][data-cw-mobile-fit][data-cw-mobile-fit] body{padding-bottom:96px!important}
}
@media(max-width:600px){
html[data-cw-public-design][data-cw-shared-shell][data-cw-mobile-fit][data-cw-mobile-fit][data-cw-mobile-fit] main:has(#profile-form) :is(section,div):has(#profile-form){width:100%!important;max-width:none!important;margin-inline:0!important;padding-inline:0!important;border:0!important;background:transparent!important;box-shadow:none!important}
html[data-cw-public-design][data-cw-shared-shell][data-cw-mobile-fit][data-cw-mobile-fit][data-cw-mobile-fit] #profile-form{width:100%!important;max-width:none!important;margin-inline:0!important;padding:0!important;border:0!important;background:transparent!important;box-shadow:none!important}
html[data-cw-public-design][data-cw-shared-shell][data-cw-mobile-fit][data-cw-mobile-fit][data-cw-mobile-fit] #profile-form :is(.cw-profile-photo-panel,.cw-profile-info-panel){width:100%!important;max-width:100%!important;padding:16px!important}
html[data-cw-public-design][data-cw-shared-shell][data-cw-mobile-fit][data-cw-mobile-fit][data-cw-mobile-fit] #profile-form #scout-avatar-picker{padding:12px!important}
html[data-cw-public-design][data-cw-shared-shell][data-cw-mobile-fit][data-cw-mobile-fit][data-cw-mobile-fit] #profile-form .scout-avatar-choices{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:10px!important}
html[data-cw-public-design][data-cw-shared-shell][data-cw-mobile-fit][data-cw-mobile-fit][data-cw-mobile-fit] #profile-form .scout-avatar-option{padding:10px 6px!important;min-height:44px!important;white-space:normal!important;overflow-wrap:anywhere!important;font-size:14px!important}
html[data-cw-public-design][data-cw-shared-shell][data-cw-mobile-fit][data-cw-mobile-fit][data-cw-mobile-fit] #profile-form .scout-avatar-option img{width:56px!important;height:56px!important;max-width:100%!important;object-fit:contain!important}
}
@media(max-width:700px){
html[data-cw-public-design][data-cw-shared-shell][data-cw-mobile-fit][data-cw-mobile-fit][data-cw-mobile-fit] body>main :is(h1,h2,h3,h4) .cw-inline-wordmark[data-cw-brand]{font-size:min(1em,22px)!important;max-width:100%!important}
}
