/* v211 — Layout approved: one 260px black sidebar, blue header ONLY to its right. */
@media(min-width:761px){
 body.sz151-private{margin:0!important;overflow-x:hidden!important;background:#f3f7fc!important;}
 body.sz151-private #sz-v106-global{position:fixed!important;top:0!important;left:260px!important;right:0!important;width:calc(100% - 260px)!important;max-width:none!important;height:85px!important;min-height:85px!important;z-index:950!important;margin:0!important;border:0!important;border-radius:0!important;background:linear-gradient(110deg,#164187,#1955a7)!important;display:flex!important;align-items:center!important;}
 body.sz151-private #sz-v106-global .szg-inner{width:100%!important;max-width:none!important;min-height:85px!important;display:flex!important;justify-content:flex-end!important;padding:0 22px!important;box-sizing:border-box!important;}
 body.sz151-private #sz-v106-global .szg-brand{display:none!important;}
 body.sz151-private #sz-v106-global .szg-menu{display:flex!important;position:static!important;flex:0 1 auto!important;align-items:center!important;justify-content:flex-end!important;flex-wrap:nowrap!important;gap:12px!important;max-height:none!important;overflow:visible!important;background:transparent!important;box-shadow:none!important;padding:0!important;margin:0!important;}
 body.sz151-private .shell.dashboard-v47,body.sz151-private .sz121-shell{display:flex!important;align-items:stretch!important;max-width:none!important;width:100%!important;margin:0!important;border-radius:0!important;box-shadow:none!important;min-height:100vh!important;}
 body.sz151-private .sz-side,body.sz151-private .sz121-side{position:sticky!important;top:0!important;align-self:flex-start!important;width:260px!important;min-width:260px!important;max-width:260px!important;flex:0 0 260px!important;height:100vh!important;min-height:100vh!important;overflow-y:auto!important;overflow-x:hidden!important;z-index:1000!important;background:#090b0e!important;padding:24px 12px!important;}
 body.sz151-private .sz-area,body.sz151-private .sz121-main{flex:1 1 auto!important;min-width:0!important;max-width:none!important;box-sizing:border-box!important;padding-top:110px!important;overflow:visible!important;}
 body.sz151-private .sz-area{padding-left:clamp(18px,2.5vw,38px)!important;padding-right:clamp(18px,2.5vw,38px)!important;}
 body.sz151-private .sz121-main{padding-left:clamp(18px,2.5vw,38px)!important;padding-right:clamp(18px,2.5vw,38px)!important;}
 body.sz151-private .sz209-brand{padding:7px 0 14px!important;gap:7px!important;margin-bottom:24px!important;justify-content:flex-start!important;}
 body.sz151-private .sz209-brand-icon{width:46px!important;height:46px!important;flex:0 0 46px!important;}
 body.sz151-private .sz209-brand-title{font-size:16px!important;letter-spacing:-.65px!important;}
 body.sz151-private .sz209-brand-tagline{font-size:8.5px!important;letter-spacing:-.3px!important;}
 body.sz151-private .sz209-nav a,body.sz151-private .sz209-nav button{padding:10px 11px!important;font-size:13px!important;gap:9px!important;}
 body.sz151-private .sz209-nav .sym{width:21px!important;min-width:21px!important;}
}
/* Private header is deliberately separate from the sidebar: no second logo. */
body.sz151-private #sz-v106-global .szg-brand{display:none!important;}
@media(min-width:761px) and (max-width:1050px){body.sz151-private #sz-v106-global .szg-menu{gap:5px!important;}body.sz151-private #sz-v106-global .szg-inner{padding:0 10px!important;}body.sz151-private #sz-v106-global .sz152-greeting{display:none!important;}}
@media(max-width:760px){
 body.sz151-private #sz-v106-global{position:relative!important;top:auto!important;left:auto!important;right:auto!important;width:100%!important;max-width:none!important;min-height:65px!important;background:linear-gradient(110deg,#164187,#1955a7)!important;}
 body.sz151-private #sz-v106-global .szg-inner{min-height:65px!important;padding:6px 12px!important;justify-content:flex-end!important;}
 body.sz151-private #sz-v106-global .szg-brand{display:none!important;}
 body.sz151-private .shell.dashboard-v47,body.sz151-private .sz121-shell{width:100%!important;max-width:none!important;margin:0!important;min-height:calc(100vh - 65px)!important;border-radius:0!important;box-shadow:none!important;}
 body.sz151-private .sz-area,body.sz151-private .sz121-main{min-width:0!important;max-width:100%!important;box-sizing:border-box!important;}
 body.sz151-private .sz-side{width:100%!important;max-width:100%!important;min-width:0!important;min-height:0!important;height:auto!important;padding:12px!important;}
 body.sz151-private .sz121-side{max-height:80vh!important;overflow:auto!important;}
 body.sz151-private .sz209-brand{width:auto!important;justify-content:flex-start!important;margin:0 0 8px!important;padding:4px!important;}
 body.sz151-private .sz209-brand-icon{width:42px!important;height:42px!important;flex-basis:42px!important;}
 body.sz151-private .sz209-brand-title{font-size:16px!important;}
 body.sz151-private .sz209-brand-tagline{font-size:9px!important;}
 body.sz151-private #sz-v106-global .szg-simple,body.sz151-private #sz-v106-global .szg-card{display:none!important;}
}

/* v212: Restore original header buttons; only the duplicated logo is hidden. */
@media(min-width:761px){
 body.sz151-private #sz-v106-global .szg-inner{min-width:0!important;overflow:visible!important;gap:8px!important;}
 body.sz151-private #sz-v106-global .szg-menu{display:flex!important;min-width:0!important;flex:1 1 auto!important;overflow-x:auto!important;overflow-y:hidden!important;scrollbar-width:thin!important;scrollbar-color:#ffffff70 transparent!important;justify-content:flex-end!important;gap:clamp(5px,.65vw,12px)!important;}
 body.sz151-private #sz-v106-global .szg-simple{display:inline-flex!important;align-items:center!important;flex:0 0 auto!important;white-space:nowrap!important;}
 body.sz151-private #sz-v106-global .szg-card{display:flex!important;flex:0 0 auto!important;}
 body.sz151-private #sz-v106-global .szg-account{display:inline-flex!important;flex:0 0 auto!important;}
 body.sz151-private #sz-v106-global .szg-language{display:flex!important;flex:0 0 auto!important;}
 body.sz151-private #sz-v106-global .szg-toggle{display:none!important;}
}
/* For narrower desktops, use a scrollable row instead of losing buttons. */
@media(min-width:761px) and (max-width:1150px){
 body.sz151-private #sz-v106-global .szg-menu{justify-content:flex-start!important;}
 body.sz151-private #sz-v106-global .szg-simple{font-size:11px!important;padding:4px!important;}
 body.sz151-private #sz-v106-global .szg-card{min-width:52px!important;}
}
/* Keep the existing mobile hamburger and its working menu behaviour. */
@media(max-width:760px){
 body.sz151-private #sz-v106-global .szg-toggle{display:block!important;}
 body.sz151-private #sz-v106-global .szg-menu{display:none!important;}
 body.sz151-private #sz-v106-global .szg-menu.szg-open{display:flex!important;}
 body.sz151-private #sz-v106-global .szg-simple{display:inline-flex!important;}
 body.sz151-private #sz-v106-global .szg-card{display:flex!important;}
}

/* v213 — Restore the authenticated personalized greeting on the blue header.
   The header logo remains hidden, but the greeting inserted after it stays visible. */
@media(min-width:761px){
 body.sz151-private #sz-v106-global .szg-inner{position:relative!important;}
 body.sz151-private #sz-v106-global .sz155-greeting,
 body.sz151-private #sz-v106-global .sz152-greeting{display:flex!important;position:absolute!important;left:16px!important;top:50%!important;transform:translateY(-50%)!important;margin:0!important;max-width:185px!important;min-width:0!important;z-index:2!important;pointer-events:none!important;}
 body.sz151-private #sz-v106-global .sz155-greeting strong,
 body.sz151-private #sz-v106-global .sz152-greeting strong{font-size:clamp(11px,.85vw,14px)!important;line-height:1.35!important;white-space:normal!important;}
 body.sz151-private #sz-v106-global .szg-menu{margin-left:195px!important;max-width:calc(100% - 195px)!important;}
}
@media(min-width:761px) and (max-width:1150px){
 body.sz151-private #sz-v106-global .sz155-greeting,
 body.sz151-private #sz-v106-global .sz152-greeting{display:flex!important;max-width:135px!important;}
 body.sz151-private #sz-v106-global .szg-menu{margin-left:145px!important;max-width:calc(100% - 145px)!important;}
}
@media(max-width:760px){
 body.sz151-private #sz-v106-global .sz155-greeting,
 body.sz151-private #sz-v106-global .sz152-greeting{display:flex!important;visibility:visible!important;}
}

/* v214 — header compatto, logo allineato e separatore blu; nessun cambiamento ai controlli. */
@media(min-width:761px){
 body.sz151-private #sz-v106-global{height:76px!important;min-height:76px!important;}
 body.sz151-private #sz-v106-global .szg-inner{min-height:76px!important;height:76px!important;align-items:center!important;}
 body.sz151-private .sz-side,body.sz151-private .sz121-side{padding-top:0!important;}
 body.sz151-private .sz209-side .sz-logo-row,body.sz151-private .sz121-side .sz-logo-row{display:flex!important;align-items:center!important;justify-content:center!important;height:76px!important;min-height:76px!important;box-sizing:border-box!important;border-bottom:2px solid #158ff0!important;margin:0 0 16px!important;padding:0 8px!important;}
 body.sz151-private .sz209-side .sz209-brand{display:flex!important;align-items:center!important;justify-content:center!important;width:100%!important;margin:0!important;padding:0!important;gap:7px!important;}
 body.sz151-private .sz209-side .sz209-brand-icon{width:43px!important;height:43px!important;flex:0 0 43px!important;}
 body.sz151-private .sz209-side .sz209-brand-title{font-size:15px!important;letter-spacing:-.6px!important;}
 body.sz151-private .sz209-side .sz209-brand-tagline{font-size:8px!important;}
 body.sz151-private .sz209-side .sz209-nav{padding-top:6px!important;}
 body.sz151-private .sz-area,body.sz151-private .sz121-main{padding-top:100px!important;}
}

/* v215: il separatore sotto il logo continua il blu dell’header, senza stacco azzurro. */
@media(min-width:761px){
 body.sz151-private .sz209-side .sz-logo-row,body.sz151-private .sz121-side .sz-logo-row{border-bottom:2px solid #164187!important;position:relative!important;}
 body.sz151-private .sz209-side .sz-logo-row::after,body.sz151-private .sz121-side .sz-logo-row::after{content:"";position:absolute;bottom:-2px;left:-12px;right:-12px;height:2px;background:#164187;pointer-events:none;}
}
