/* 2.1.1: navigazione condivisa; il menu pubblico sostituisce quello del tema solo su mobile. */
html.aiauwc-lock{overflow:hidden!important}
#aiauwc-root{position:static!important;z-index:auto!important}
#aiauwc-root .aiauwc-overlay{position:fixed!important;inset:0!important;z-index:2147483000!important;background:rgba(2,17,37,.66)!important;opacity:0!important;visibility:hidden!important;pointer-events:none!important;transition:opacity .22s ease,visibility .22s ease!important}
#aiauwc-root .aiauwc-drawer{position:fixed!important;inset:0 0 0 auto!important;display:grid!important;grid-template-rows:auto minmax(0,1fr) auto!important;width:min(520px,94vw)!important;height:100dvh!important;z-index:2147483002!important;background:#fff!important;transform:translateX(105%)!important;transition:transform .24s ease!important;box-shadow:-20px 0 65px rgba(0,0,0,.24)!important;overflow:hidden!important}
#aiauwc-root.is-open .aiauwc-overlay{opacity:1!important;visibility:visible!important;pointer-events:auto!important}
#aiauwc-root.is-open .aiauwc-drawer{transform:translateX(0)!important}
body.aiauwc-private:not(.aiauwc-login-view) .site-header .main-nav,body.aiauwc-private:not(.aiauwc-login-view) .site-header .menu-toggle{display:none!important}
body.aiauwc-private .site-header .header-inner{display:flex!important;align-items:center!important;box-sizing:border-box!important;overflow:visible!important}
body.aiauwc-private .site-header .brand{flex:1 1 auto!important;min-width:0!important;margin-right:0!important}
body.aiauwc-private .site-header button.aiauwc-menu-button.is-in-header{position:relative!important;inset:auto!important;display:grid!important;place-items:center!important;flex:0 0 52px!important;box-sizing:border-box!important;width:52px!important;height:52px!important;min-width:52px!important;min-height:52px!important;max-width:52px!important;max-height:52px!important;margin:0 0 0 auto!important;padding:0!important;border:1px solid #052c5c!important;border-radius:14px!important;background:#052c5c!important;color:#fff!important;box-shadow:0 8px 20px rgba(5,44,92,.18)!important;transform:none!important;overflow:hidden!important;cursor:pointer!important}
body.aiauwc-private .site-header button.aiauwc-menu-button.is-in-header::before,body.aiauwc-private .site-header button.aiauwc-menu-button.is-in-header::after{content:none!important;display:none!important}
body.aiauwc-private .site-header button.aiauwc-menu-button.is-in-header>*{display:none!important}
body.aiauwc-private .site-header button.aiauwc-menu-button.is-in-header>.aiauwc-hamburger-svg{display:block!important;width:24px!important;height:20px!important}
body.aiauwc-private .site-header button.aiauwc-menu-button.is-in-header>.aiauwc-hamburger-svg path{fill:none!important;stroke:#fff!important;stroke-width:3!important;stroke-linecap:round!important;stroke-linejoin:round!important;vector-effect:non-scaling-stroke!important}
body.aiauwc-private .site-header button.aiauwc-menu-button.is-in-header:hover,body.aiauwc-private .site-header button.aiauwc-menu-button.is-in-header:focus-visible{border-color:#07549a!important;background:#07549a!important;transform:none!important;outline:3px solid rgba(7,84,154,.2)!important;outline-offset:2px!important}
#aiauwc-root .aiauwc-drawer>header{display:flex!important;align-items:center!important;justify-content:space-between!important;box-sizing:border-box!important;min-height:86px!important;padding:18px 20px!important;background:linear-gradient(135deg,#052c5c,#07549a)!important;color:#fff!important}
#aiauwc-root .aiauwc-drawer>header small{display:block!important;margin-bottom:4px!important;color:#d5b469!important;font-size:.72rem!important;font-weight:900!important;letter-spacing:.12em!important;text-transform:uppercase!important}
#aiauwc-root .aiauwc-drawer>header strong{display:block!important;color:#fff!important;font-size:1.35rem!important}
#aiauwc-root .aiauwc-close{display:grid!important;place-items:center!important;width:42px!important;height:42px!important;min-width:42px!important;margin:0!important;padding:0!important;border:1px solid rgba(255,255,255,.28)!important;border-radius:50%!important;background:rgba(255,255,255,.15)!important;color:#fff!important;font-size:1.55rem!important;cursor:pointer!important}
#aiauwc-root .aiauwc-scroll{box-sizing:border-box!important;min-height:0!important;padding:16px 18px 20px!important;background:#f4f7fa!important;overflow:auto!important;-webkit-overflow-scrolling:touch!important}
#aiauwc-root .aiauwc-scroll section{margin:0 0 14px!important;padding:12px!important;border:1px solid #dbe3ec!important;border-radius:16px!important;background:#fff!important}
#aiauwc-root .aiauwc-scroll h3{margin:5px 8px 10px!important;padding-bottom:9px!important;border-bottom:1px solid #e3e9ef!important;color:#052c5c!important;font-size:.72rem!important;font-weight:900!important;letter-spacing:.09em!important;text-transform:uppercase!important}
#aiauwc-root .aiauwc-nav-item{display:grid!important;grid-template-columns:46px minmax(0,1fr) 22px!important;align-items:center!important;gap:12px!important;box-sizing:border-box!important;width:100%!important;min-height:62px!important;margin:3px 0!important;padding:8px 10px!important;border-radius:15px!important;color:#17202a!important;text-decoration:none!important}
#aiauwc-root .aiauwc-nav-item:hover,#aiauwc-root .aiauwc-nav-item.is-current{background:#edf4fb!important}
#aiauwc-root .aiauwc-nav-icon{display:grid!important;place-items:center!important;width:46px!important;height:46px!important;border-radius:14px!important;background:#edf4fb!important;color:#052c5c!important;overflow:hidden!important}
#aiauwc-root .aiauwc-nav-icon .aiau-motion-lottie{max-width:30px!important;max-height:30px!important}
#aiauwc-root .aiauwc-nav-label{min-width:0!important;color:#17202a!important;font-size:.96rem!important;font-weight:850!important;line-height:1.2!important;text-align:left!important}
#aiauwc-root .aiauwc-nav-arrow{color:#8393a3!important;font-size:1.55rem!important;text-align:center!important}
#aiauwc-root .aiauwc-drawer>footer{display:grid!important;grid-template-columns:1fr 1fr!important;gap:9px!important;padding:11px 12px calc(11px + env(safe-area-inset-bottom))!important;border-top:1px solid #dbe3ec!important;background:#fff!important}
#aiauwc-root .aiauwc-footer-action{display:flex!important;align-items:center!important;justify-content:center!important;gap:9px!important;box-sizing:border-box!important;min-height:46px!important;padding:0 16px!important;border-radius:11px!important;text-decoration:none!important;font-weight:900!important}
#aiauwc-root .aiauwc-footer-action.is-secondary{border:1px solid #aebfd0!important;background:#fff!important;color:#052c5c!important}
#aiauwc-root .aiauwc-footer-action.is-primary{border:1px solid #052c5c!important;background:#052c5c!important;color:#fff!important}
@media(max-width:700px){body.aiauwc-private .site-header button.aiauwc-menu-button.is-in-header{flex-basis:48px!important;width:48px!important;height:48px!important;min-width:48px!important;min-height:48px!important;max-width:48px!important;max-height:48px!important}#aiauwc-root .aiauwc-drawer{inset:auto 0 0!important;width:100%!important;height:min(86dvh,780px)!important;border-radius:24px 24px 0 0!important;transform:translateY(105%)!important}#aiauwc-root.is-open .aiauwc-drawer{transform:translateY(0)!important}}

/* 2.1.1: menu pubblico mobile con lo stesso componente e le stesse Motion Icons dell'Area Associati. */
#aiauwc-root[data-context="public"] .aiauwc-menu-button{display:none!important}
@media(max-width:700px){
 body.aiauwc-enabled:not(.aiauwc-private) .site-header .main-nav,
 body.aiauwc-enabled:not(.aiauwc-private) .site-header .menu-toggle{display:none!important}
 body.aiauwc-enabled:not(.aiauwc-private) .site-header .header-inner{display:flex!important;align-items:center!important;box-sizing:border-box!important;overflow:visible!important}
 body.aiauwc-enabled:not(.aiauwc-private) .site-header .brand{flex:1 1 auto!important;min-width:0!important;margin-right:0!important}
 body.aiauwc-enabled:not(.aiauwc-private) .site-header button.aiauwc-menu-button.is-in-header{position:relative!important;inset:auto!important;display:grid!important;place-items:center!important;flex:0 0 48px!important;box-sizing:border-box!important;width:48px!important;height:48px!important;min-width:48px!important;min-height:48px!important;max-width:48px!important;max-height:48px!important;margin:0 0 0 auto!important;padding:0!important;border:1px solid #052c5c!important;border-radius:14px!important;background:#052c5c!important;color:#fff!important;box-shadow:0 8px 20px rgba(5,44,92,.18)!important;transform:none!important;overflow:hidden!important;cursor:pointer!important}
 body.aiauwc-enabled:not(.aiauwc-private) .site-header button.aiauwc-menu-button.is-in-header::before,
 body.aiauwc-enabled:not(.aiauwc-private) .site-header button.aiauwc-menu-button.is-in-header::after{content:none!important;display:none!important}
 body.aiauwc-enabled:not(.aiauwc-private) .site-header button.aiauwc-menu-button.is-in-header>*{display:none!important}
 body.aiauwc-enabled:not(.aiauwc-private) .site-header button.aiauwc-menu-button.is-in-header>.aiauwc-hamburger-svg{display:block!important;width:24px!important;height:20px!important}
 body.aiauwc-enabled:not(.aiauwc-private) .site-header button.aiauwc-menu-button.is-in-header>.aiauwc-hamburger-svg path{fill:none!important;stroke:#fff!important;stroke-width:3!important;stroke-linecap:round!important;stroke-linejoin:round!important;vector-effect:non-scaling-stroke!important}
 body.aiauwc-enabled:not(.aiauwc-private) .site-header button.aiauwc-menu-button.is-in-header:focus-visible{border-color:#07549a!important;background:#07549a!important;outline:3px solid rgba(7,84,154,.2)!important;outline-offset:2px!important}
 #aiauwc-root[data-context="public"] .aiauwc-drawer{inset:auto 0 0!important;width:100%!important;height:min(86dvh,780px)!important;border-radius:24px 24px 0 0!important;transform:translateY(105%)!important}
 #aiauwc-root[data-context="public"].is-open .aiauwc-drawer{transform:translateY(0)!important}
}
@media(prefers-reduced-motion:reduce){
 #aiauwc-root .aiauwc-overlay,#aiauwc-root .aiauwc-drawer{transition-duration:.01ms!important}
}

/* 2.1.2: il componente pubblico non compare mai nel menu desktop esteso. */
@media(min-width:1181px){
 html body.aiauwc-enabled #aiauwc-root[data-context="public"]{display:none!important}
 html body.aiauwc-enabled #aiauwc-root[data-context="public"] .aiauwc-menu-button{display:none!important;visibility:hidden!important;pointer-events:none!important}
}

/* 2.1.2: dimensione leggibile delle Motion Icons nelle azioni del footer mobile. */
@media(max-width:700px){
 #aiauwc-root[data-context="public"] .aiauwc-footer-action>span{
  display:grid!important;place-items:center!important;flex:0 0 32px!important;
  width:32px!important;height:32px!important;min-width:32px!important;min-height:32px!important;
  font-size:22px!important;line-height:1!important;overflow:visible!important
 }
 #aiauwc-root[data-context="public"] .aiauwc-footer-action>span .aiau-motion-lottie,
 #aiauwc-root[data-context="public"] .aiauwc-footer-action>span lottie-player,
 #aiauwc-root[data-context="public"] .aiauwc-footer-action>span svg,
 #aiauwc-root[data-context="public"] .aiauwc-footer-action .aiau-motion-lottie{
  display:block!important;width:30px!important;height:30px!important;
  min-width:30px!important;min-height:30px!important;max-width:30px!important;max-height:30px!important
 }
 #aiauwc-root[data-context="public"] .aiauwc-footer-action{gap:11px!important}
}

/* 2.1.3: nella pagina di login desktop resta visibile la navigazione pubblica estesa del tema. */
@media(min-width:701px){
 body.aiauwc-login-view .site-header .main-nav{display:flex!important;visibility:visible!important;opacity:1!important}
 body.aiauwc-login-view .site-header .menu-toggle{display:none!important}
 body.aiauwc-login-view #aiauwc-root[data-context="public"]{display:none!important}
}

/* 2.1.4: nella login mobile resta solo il pulsante Web UI Core; il toggle del tema viene soppresso. */
@media(max-width:700px){
 body.aiauwc-login-view .site-header .menu-toggle,
 body.aiauwc-login-view .site-header button.menu-toggle,
 body.aiauwc-login-view .site-header [class~="menu-toggle"]:not(.aiauwc-menu-button),
 body.aiauwc-login-view .site-header [aria-controls="primary-menu"]:not(.aiauwc-menu-button),
 body.aiauwc-login-view .site-header [aria-controls="site-navigation"]:not(.aiauwc-menu-button){
  display:none!important;visibility:hidden!important;opacity:0!important;pointer-events:none!important
 }
 body.aiauwc-login-view .site-header button.aiauwc-menu-button.is-in-header{
  display:grid!important;visibility:visible!important;opacity:1!important;pointer-events:auto!important
 }
}

/* 2.1.5: tra 701 e 1180 px il menu compatto usa Web UI Core, non il toggle del tema. */
@media(min-width:701px) and (max-width:1180px){
 body.aiauwc-enabled:not(.aiauwc-private) .site-header .main-nav,
 body.aiauwc-enabled:not(.aiauwc-private) .site-header .menu-toggle,
 body.aiauwc-login-view .site-header .main-nav,
 body.aiauwc-login-view .site-header .menu-toggle{display:none!important}
 body.aiauwc-enabled:not(.aiauwc-private) .site-header .header-inner{display:flex!important;align-items:center!important;box-sizing:border-box!important;overflow:visible!important}
 body.aiauwc-enabled:not(.aiauwc-private) .site-header .brand{flex:1 1 auto!important;min-width:0!important;margin-right:0!important}
 body.aiauwc-enabled:not(.aiauwc-private) .site-header button.aiauwc-menu-button.is-in-header{
  position:relative!important;inset:auto!important;display:grid!important;place-items:center!important;
  flex:0 0 52px!important;box-sizing:border-box!important;width:52px!important;height:52px!important;
  min-width:52px!important;min-height:52px!important;max-width:52px!important;max-height:52px!important;
  margin:0 0 0 auto!important;padding:0!important;border:1px solid #052c5c!important;border-radius:14px!important;
  background:#052c5c!important;color:#fff!important;box-shadow:0 8px 20px rgba(5,44,92,.18)!important;
  transform:none!important;overflow:hidden!important;cursor:pointer!important;visibility:visible!important;opacity:1!important
 }
 body.aiauwc-enabled:not(.aiauwc-private) .site-header button.aiauwc-menu-button.is-in-header::before,
 body.aiauwc-enabled:not(.aiauwc-private) .site-header button.aiauwc-menu-button.is-in-header::after{content:none!important;display:none!important}
 body.aiauwc-enabled:not(.aiauwc-private) .site-header button.aiauwc-menu-button.is-in-header>*{display:none!important}
 body.aiauwc-enabled:not(.aiauwc-private) .site-header button.aiauwc-menu-button.is-in-header>.aiauwc-hamburger-svg{display:block!important;width:24px!important;height:20px!important}
 body.aiauwc-enabled:not(.aiauwc-private) .site-header button.aiauwc-menu-button.is-in-header>.aiauwc-hamburger-svg path{
  fill:none!important;stroke:#fff!important;stroke-width:3!important;stroke-linecap:round!important;stroke-linejoin:round!important;vector-effect:non-scaling-stroke!important
 }
}

/* A larghezza piena resta esclusivamente la navigazione pubblica estesa del tema. */
@media(min-width:1181px){
 body.aiauwc-login-view .site-header .main-nav{display:flex!important;visibility:visible!important;opacity:1!important}
 body.aiauwc-login-view .site-header .menu-toggle{display:none!important}
}

/* 2.1.6: icone del footer leggibili anche nel drawer tablet/piccolo desktop. */
@media(min-width:701px) and (max-width:1180px){
 #aiauwc-root[data-context="public"] .aiauwc-footer-action>span{
  display:grid!important;place-items:center!important;flex:0 0 34px!important;
  width:34px!important;height:34px!important;min-width:34px!important;min-height:34px!important;
  font-size:23px!important;line-height:1!important;overflow:visible!important
 }
 #aiauwc-root[data-context="public"] .aiauwc-footer-action>span .aiau-motion-lottie,
 #aiauwc-root[data-context="public"] .aiauwc-footer-action>span lottie-player,
 #aiauwc-root[data-context="public"] .aiauwc-footer-action>span svg,
 #aiauwc-root[data-context="public"] .aiauwc-footer-action .aiau-motion-lottie{
  display:block!important;width:32px!important;height:32px!important;
  min-width:32px!important;min-height:32px!important;max-width:32px!important;max-height:32px!important
 }
 #aiauwc-root[data-context="public"] .aiauwc-footer-action{gap:12px!important}
}

/* 2.1.7: a larghezza piena nessun pulsante Menu, incluso il toggle nativo del tema. */
@media(min-width:1181px){
 body.aiauwc-enabled:not(.aiauwc-private) .site-header .menu-toggle,
 body.aiauwc-enabled:not(.aiauwc-private) .site-header button.menu-toggle,
 body.aiauwc-enabled:not(.aiauwc-private) .site-header [class~="menu-toggle"]:not(.aiauwc-menu-button),
 body.aiauwc-enabled:not(.aiauwc-private) .site-header [aria-controls="primary-menu"]:not(.aiauwc-menu-button),
 body.aiauwc-enabled:not(.aiauwc-private) .site-header [aria-controls="site-navigation"]:not(.aiauwc-menu-button),
 body.aiauwc-enabled:not(.aiauwc-private) .site-header button.aiauwc-menu-button.is-in-header{
  display:none!important;visibility:hidden!important;opacity:0!important;pointer-events:none!important
 }
 body.aiauwc-enabled:not(.aiauwc-private) .site-header .main-nav{
  display:flex!important;visibility:visible!important;opacity:1!important
 }
}

/* 2.1.8: nella login a larghezza piena resta solo il menu pubblico esteso. */
@media(min-width:1181px){
 html body.aiauwc-login-view #aiauwc-root[data-context="public"],
 html body.aiauwc-login-view #aiauwc-root[data-context="public"] .aiauwc-menu-button,
 html body.aiauwc-login-view .site-header button.aiauwc-menu-button.is-in-header,
 html body.aiauwc-login-view .site-header .menu-toggle,
 html body.aiauwc-login-view .site-header button.menu-toggle{
  display:none!important;visibility:hidden!important;opacity:0!important;pointer-events:none!important
 }
 html body.aiauwc-login-view .site-header .main-nav{
  display:flex!important;visibility:visible!important;opacity:1!important
 }
}

/* 2.1.9: icone azioni private piu grandi e leggibili in tutte le geometrie del drawer. */
#aiauwc-root[data-context="private"] .aiauwc-footer-action>span{
 display:grid!important;place-items:center!important;flex:0 0 34px!important;
 width:34px!important;height:34px!important;min-width:34px!important;min-height:34px!important;
 font-size:23px!important;line-height:1!important;overflow:visible!important
}
#aiauwc-root[data-context="private"] .aiauwc-footer-action>span .aiau-motion-lottie,
#aiauwc-root[data-context="private"] .aiauwc-footer-action>span lottie-player,
#aiauwc-root[data-context="private"] .aiauwc-footer-action>span svg,
#aiauwc-root[data-context="private"] .aiauwc-footer-action .aiau-motion-lottie{
 display:block!important;width:32px!important;height:32px!important;
 min-width:32px!important;min-height:32px!important;max-width:32px!important;max-height:32px!important
}
#aiauwc-root[data-context="private"] .aiauwc-footer-action{gap:12px!important}

/* Logout bianco e piu grande nel riquadro di benvenuto della dashboard. */
body.aiauwc-private .aiauwc-dashboard-logout>span{
 display:grid!important;place-items:center!important;flex:0 0 30px!important;
 width:30px!important;height:30px!important;min-width:30px!important;min-height:30px!important;
 overflow:visible!important;color:#fff!important
}
body.aiauwc-private .aiauwc-dashboard-logout>span .aiau-motion-lottie,
body.aiauwc-private .aiauwc-dashboard-logout>span lottie-player,
body.aiauwc-private .aiauwc-dashboard-logout>span svg,
body.aiauwc-private .aiauwc-dashboard-logout .aiau-motion-lottie{
 display:block!important;width:28px!important;height:28px!important;
 min-width:28px!important;min-height:28px!important;max-width:28px!important;max-height:28px!important;
 color:#fff!important
}
