/* OSSOLA V3.9 — Campanella notifiche in app */
#alertsOpenBtn .icon{width:23px;height:23px}
#alertsOpenBtn[aria-expanded="true"]{background:#d6f5ee;border-color:#36c4c1;color:#007b88}
.v39-bell-panel{position:absolute;right:max(14px,calc((100vw - 1280px)/2 + 14px));top:calc(100% - 1px);width:min(420px,calc(100vw - 22px));max-height:min(75vh,670px);overflow-y:auto;z-index:90;background:#fff;border:1px solid #dce9ea;box-shadow:0 16px 45px rgba(8,43,57,.21);border-radius:18px;color:#192e37;overscroll-behavior:contain}
.v39-bell-top{position:sticky;top:0;z-index:2;display:flex;align-items:flex-start;gap:12px;justify-content:space-between;background:#fff;padding:17px 17px 12px;border-bottom:1px solid #eaf0f1}
.v39-bell-top h2{font-size:19px;line-height:1.3;margin:0 0 4px;font-weight:850}
.v39-bell-top p{font-size:12px;color:#5b737c;margin:0}
.v39-bell-top button{border:0;background:#f1f6f6;border-radius:10px;width:34px;height:34px;flex:0 0 34px;font-size:23px;color:#264b54}
.v39-bell-toolbar{display:flex;justify-content:flex-end;gap:20px;padding:9px 17px;border-bottom:1px solid #edf2f3}
.v39-bell-toolbar button{background:none;border:0;color:#007d88;font-size:12px;font-weight:850;padding:5px 0}
.v39-bell-section{padding:12px 15px 3px;border-bottom:1px solid #edf2f3}
.v39-bell-section h3{margin:0 0 7px;font-size:13px;font-weight:900;color:#204652;display:flex;gap:6px;align-items:center;justify-content:space-between}
.v39-bell-section h3 span{border-radius:90px;background:#e8f7f5;padding:3px 8px;color:#087f86;font-size:11px;white-space:nowrap}
.v39-bell-item{display:flex;gap:10px;padding:11px 2px;border-top:1px solid #f0f4f4}
.v39-bell-item:first-of-type{border-top:0}
.v39-bell-item>div{flex:1;min-width:0}
.v39-bell-item strong{font-size:13px;line-height:1.3;display:block;overflow-wrap:anywhere}
.v39-bell-item p{font-size:12px;line-height:1.5;color:#586d77;margin:4px 0 6px;overflow-wrap:anywhere}
.v39-bell-dot{width:8px;height:8px;flex:0 0 8px;background:#a8ec20;border-radius:50%;margin-top:6px}
.v39-bell-item.is-read .v39-bell-dot{background:#c7dadb}
.v39-bell-action{background:none;border:0;color:#037c89;font-size:12px;font-weight:800;padding:3px 8px 3px 0;text-align:left}
.v39-bell-action:hover{text-decoration:underline}
.v39-bell-links{display:flex;gap:12px;flex-wrap:wrap}
.v39-bell-empty{font-size:13px;line-height:1.55;padding:16px;margin:0;color:#62757e}
.v39-bell-error{border-radius:10px;padding:10px;background:#fff5e8;border:1px solid #eadbc1;color:#89521e;font-size:12px;line-height:1.4;margin:11px}
.v39-bell-foot{padding:10px 15px;color:#6e8086;background:#fbfdfd;font-size:11px;line-height:1.5;margin:0}
@media(max-width:560px){.v39-bell-panel{right:11px;top:calc(100% - 1px);max-height:calc(100dvh - 155px);border-radius:16px}.v39-bell-top{padding:14px}.v39-bell-section{padding:10px 13px 2px}}

/* R21.77: tre categorie, un unico pannello sulla campanella principale */
.v39-hub{display:grid;grid-template-columns:1fr;gap:8px;padding:12px;background:#f5fbfc;border-bottom:1px solid #d9eaed}
.v39-hub-card{border:1px solid #cce6e8;border-radius:13px;background:#fff;padding:10px 13px}
.v39-hub-card h3{display:flex;justify-content:space-between;align-items:center;gap:8px;margin:0 0 4px;font-size:15px;color:#174652;font-weight:850}
.v39-hub-card h3 span{background:#e2f7f7;color:#007d87;border-radius:30px;padding:2px 9px;font-size:12px}
.v39-hub-card p{font-size:12px;color:#59747a;margin:2px 0 7px}
.v39-hub-link{display:flex;align-items:center;justify-content:space-between;gap:5px;padding:8px 5px;border-top:1px solid #e9f1f2;color:#007e89;font-size:13px;font-weight:750;text-decoration:none}
.v39-hub-link:focus-visible,.v39-hub-card button:focus-visible{outline:3px solid #00a6b5;outline-offset:2px}
.v39-hub-link span{font-size:18px}
.v39-hub-card .v39-bell-action{padding:8px 0}

/* R21.79: categorie a fisarmonica, un solo livello visibile al primo tocco. */
.v39-hub-card{padding:0;overflow:hidden}
.v39-hub-card h3{margin:0}
.v39-hub-toggle{appearance:none;display:flex;align-items:center;justify-content:space-between;
  width:100%;min-height:56px;padding:12px 14px;border:0;border-radius:12px;background:#fff;
  color:#174652;font-size:15px;font-weight:850;text-align:left;cursor:pointer;
  touch-action:manipulation;-webkit-tap-highlight-color:transparent}
.v39-hub-toggle[aria-expanded="true"]{background:#eefafb;border-radius:12px 12px 0 0}
.v39-hub-title{display:block;flex:1}
.v39-hub-trailing{display:flex;align-items:center;gap:12px;flex:0 0 auto}
.v39-hub-count{background:#e2f7f7;color:#007d87;border-radius:30px;padding:3px 9px;font-size:12px}
.v39-hub-chevron{font-size:20px;color:#007e89;line-height:1}
.v39-hub-details{padding:0 13px 10px}
.v39-hub-details[hidden]{display:none!important}
.v39-hub-toggle:focus-visible{outline:3px solid #00a6b5;outline-offset:-3px}
