/* v47 – responsive dashboard, preserving existing reminder editor and storage */
body{background:#f4f9ff}.dashboard-v47{width:100%;max-width:1600px;min-height:100vh;margin:0 auto;border-radius:0;display:grid;grid-template-columns:235px minmax(0,1fr);background:#f6fbff;box-shadow:none}.sz-side{background:linear-gradient(180deg,#075baa,#06427f);color:#fff;display:flex;flex-direction:column;min-height:100vh;padding:27px 13px;gap:28px}.sz-logo{display:flex;align-items:center;gap:12px;text-decoration:none;color:#fff;font-size:23px;line-height:1.04;font-weight:900;padding:5px 12px 30px}.sz-logo-icon{font-size:43px}.sz-nav{display:grid;gap:7px}.sz-nav a{color:#fff;text-decoration:none;padding:15px 16px;border-radius:12px;font-size:15px}.sz-nav a:hover,.sz-nav a.selected{background:#1588db}.sz-pro{margin-top:auto;border:1px solid #ffffff2e;border-radius:17px;background:#1775bc66;padding:20px;text-align:center}.sz-crown{font-size:30px;color:#ffc327}.sz-pro strong{display:block;font-size:20px}.sz-pro p{font-size:13px;line-height:1.5}.sz-pro a,.sz-pro-right a{display:block;text-decoration:none;border-radius:11px;padding:13px;background:#ffcb27;color:#102b53;font-weight:800}.sz-area{min-width:0;padding:0 22px 35px}.sz-top{height:69px;display:flex;justify-content:space-between;align-items:center;gap:16px;color:#557497}.sz-top a{color:#145da5;text-decoration:none;font-weight:700}.sz-demo{font-size:12px}.sz-mobile-logo{display:none}.sz-hero{min-height:185px;background:linear-gradient(110deg,#d9f1ff 0%,#a5ddff 65%,#67b9f5 100%);border-radius:17px;padding:30px 35px;display:flex;justify-content:space-between;align-items:center;overflow:hidden}.sz-hero span{font-weight:800;color:#0965b9;font-size:13px;text-transform:uppercase}.sz-hero h1{max-width:540px;font-size:clamp(26px,3vw,40px);line-height:1.13;color:#0b2b60;margin:12px 0}.sz-hero p{margin:0;color:#234b78;font-size:15px}.sz-hero-icon{font-size:115px;color:#0577d9;text-shadow:0 7px 1px #ffffffaa;transform:rotate(-7deg);padding:0 35px}.sz-layout{display:grid;grid-template-columns:minmax(0,1fr) 280px;gap:20px;margin-top:20px}.sz-center{min-width:0}.sz-section-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:16px}.sz-section-head h2{font-size:21px;margin:0 0 5px;color:#092956}.sz-section-head p{font-size:13px;color:#7389a8;margin:0}.sz-section-head a{color:#0878cc;font-weight:700;text-decoration:none;font-size:13px}.sz-folder-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.sz-folder{position:relative;border:1px solid #e2eaf3;border-radius:15px;min-height:165px;padding:15px;text-align:left;cursor:pointer;color:#12315c;display:flex;flex-direction:column;align-items:flex-start;background:#e8f5ff;font:inherit}.sz-folder.home{background:#e5f9f2}.sz-folder.health{background:#fff0f4}.sz-folder.documents{background:#f0eeff}.sz-folder.subscriptions{background:#fff6e7}.sz-folder.other{background:#f1f5fb}.sz-folder.selected{outline:3px solid #0d7fe4}.sz-folder-emoji{display:grid;place-items:center;background:#ffffff99;border-radius:50%;width:42px;height:42px;font-size:24px;margin-bottom:9px}.sz-folder strong{font-size:15px}.sz-folder-count{font-size:13px;color:#52739d;margin:6px 0}.sz-folder small{font-size:11px;color:#52739d;max-width:88%}.sz-folder-arrow{position:absolute;right:13px;bottom:12px;background:#fff;color:#0c74d5;border-radius:50%;width:29px;height:29px;text-align:center;font-size:23px}.sz-reminders{margin-top:24px}.sz-reminders .stats{margin:0 0 14px;grid-template-columns:repeat(4,minmax(0,1fr))}.sz-reminders .stat{min-height:78px;border-radius:14px}.sz-reminders .stat b{font-size:24px}.sz-reminders .content{padding:0}.sz-reminders .content .section-title{margin-top:10px}.sz-reminders .section-title h2{font-size:17px}.sz-reminders .add{font-size:14px;background:#0985df;color:#fff;border-radius:11px;padding:12px 16px}.sz-reminders .items{border:1px solid #e6edf7}.sz-right{display:flex;flex-direction:column;gap:18px}.sz-calendar-card,.sz-summary,.sz-pro-right{background:#fff;border:1px solid #e7edf6;border-radius:18px;padding:17px;box-shadow:0 5px 20px #164d8207}.sz-calendar-nav{display:flex;align-items:center;justify-content:space-between;margin-bottom:15px}.sz-calendar-nav strong{text-transform:capitalize;font-size:15px}.sz-calendar-nav button{border:0;background:none;color:#1554a0;font-size:26px;cursor:pointer}.sz-month-grid{display:grid;grid-template-columns:repeat(7,1fr);gap:5px;text-align:center;align-items:center}.sz-weekday{font-size:11px;color:#7188a8}.sz-day{font-size:12px;padding:7px 0;border-radius:50%;position:relative}.sz-day.today{background:#0b80df;color:#fff}.sz-day.has-reminder:not(.today){background:#e7f4ff;color:#095cb0;font-weight:800}.sz-day.has-reminder:after{content:'';position:absolute;width:4px;height:4px;border-radius:50%;background:#f2a400;bottom:1px;left:calc(50% - 2px)}.sz-today{margin-top:15px;text-align:center;background:#eaf6ff;border-radius:25px;color:#0878d0;padding:10px;font-weight:700;font-size:12px}.sz-summary h3,.sz-pro-right h3{margin:0 0 17px;font-size:17px}.sz-summary-line{display:flex;justify-content:space-between;border:1px solid #edf1f6;padding:13px;border-radius:9px;font-size:13px}.sz-summary-line+.sz-summary-line{margin-top:5px}.sz-summary-line b{font-size:17px}.sz-pro-right p{color:#537196;font-size:13px;line-height:1.6}.sz-pro-right a{text-align:center;font-size:13px}.sz-reminders .free-usage{font-size:12px}.sz-reminders .notice{font-size:11px}
@media(max-width:1150px){.sz-layout{grid-template-columns:minmax(0,1fr)}.sz-right{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}.sz-pro-right{grid-column:span 2}.sz-folder-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:760px){.dashboard-v47{display:block}.sz-side{min-height:0;padding:10px 12px;gap:0}.sz-logo,.sz-pro{display:none}.sz-nav{display:flex;overflow-x:auto;gap:6px}.sz-nav a{flex:0 0 auto;padding:10px 12px;font-size:12px}.sz-area{padding:0 12px 28px}.sz-top{height:auto;min-height:58px}.sz-demo{font-size:10px}.sz-hero{padding:20px;min-height:140px}.sz-hero h1{font-size:25px}.sz-hero-icon{font-size:60px;padding:0}.sz-folder-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.sz-right{grid-template-columns:1fr}.sz-pro-right{grid-column:auto}.sz-reminders .stats{grid-template-columns:repeat(2,minmax(0,1fr))}.sz-reminders .items{padding:10px}}
@media(max-width:380px){.sz-folder-grid{grid-template-columns:1fr}.sz-hero-icon{display:none}.sz-section-head h2{font-size:18px}}

/* v48: brand, site return, scenic welcome, responsive header */
.sz-logo{font-size:18px;gap:10px;padding-bottom:18px}.sz-brand-mark{width:43px;height:43px;border-radius:11px;object-fit:cover}.sz-back-site{margin-top:10px!important;background:#ffffff15;border:1px solid #ffffff45;text-align:center;font-weight:750}.sz-back-site:hover{background:#ffffff35}.sz-top{gap:18px}.sz-search{display:flex;align-items:center;gap:10px;background:#e9f3ff;border-radius:14px;padding:0 15px;min-width:180px;max-width:650px;flex:1;height:44px;color:#527ba9}.sz-search input{border:0;background:transparent;outline:0;min-width:0;width:100%;font:inherit;color:#143e70}.sz-search input::placeholder{color:#6a88aa}.sz-top-actions{display:flex;align-items:center;gap:18px;white-space:nowrap}.sz-notice-icon{font-size:22px;color:#1554a0;cursor:default}.sz-mobile-brand{width:27px;height:27px;border-radius:6px;vertical-align:middle}.sz-hero{background:linear-gradient(90deg,#d8efffff 0%,#bce5fff5 42%,#bce5ff35 70%),url('../assets/dashboard-hero.png') right center/auto 100% no-repeat,#9edaff;min-height:215px}.sz-hero>div:first-child{position:relative;z-index:1}.sz-hero h1{max-width:490px}.sz-demo{display:none}@media(max-width:760px){.sz-top{flex-wrap:wrap;padding:10px 0;gap:9px}.sz-mobile-logo{display:flex;align-items:center;gap:6px;font-weight:800;font-size:12px}.sz-search{order:3;flex-basis:100%;max-width:none;height:38px}.sz-top-actions{margin-left:auto}.sz-hero{background:linear-gradient(90deg,#d8efffff 0%,#bce5fffa 60%,#bce5ff99 100%),url('../assets/dashboard-hero.png') right center/auto 100% no-repeat,#9edaff}.sz-hero h1{max-width:420px}}

/* v49 — photo only in welcome banner; no changes to reminders or storage. */
.sz-hero{background-image:linear-gradient(90deg,#d8efff 0%,#d8efff 29%,rgba(216,239,255,.94) 42%,rgba(216,239,255,.28) 68%,rgba(216,239,255,0) 86%),url("assets/dashboard-hero-v49.webp");background-position:center,right center;background-size:cover,auto 100%;background-repeat:no-repeat;background-color:#d8efff}
@media(max-width:760px){.sz-hero{background-image:linear-gradient(90deg,rgba(216,239,255,.99) 0%,rgba(216,239,255,.96) 55%,rgba(216,239,255,.70) 100%),url("assets/dashboard-hero-v49.webp");background-position:center,right center;background-size:cover,auto 100%;}}

/* v50: exact user-supplied banner on Italian dashboard, no crop/overlays/text duplication. */
.sz-hero.sz-hero-originale{
  width:100%;height:auto;min-height:0;aspect-ratio:582 / 176;
  padding:0;border-radius:17px;display:block;
  background:#d8efff url("assets/dashboard-hero-originale-v50.png") center center / 100% 100% no-repeat;
}
.sz-hero.sz-hero-originale > div{
  position:absolute!important;width:1px!important;height:1px!important;
  overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important;
}
@media(max-width:760px){.sz-hero.sz-hero-originale{min-height:0;aspect-ratio:582 / 176;background-image:url("assets/dashboard-hero-originale-v50.png");background-size:100% 100%;}}

/* v51: welcome band without photographs, all languages. */
.sz-hero,.sz-hero.sz-hero-originale{background:#d8efff!important;background-image:none!important;min-height:185px!important;aspect-ratio:auto!important;padding:30px 35px!important;display:flex!important;align-items:center!important;}
.sz-hero.sz-hero-originale>div{position:static!important;width:auto!important;height:auto!important;overflow:visible!important;clip:auto!important;white-space:normal!important;}
@media(max-width:760px){.sz-hero,.sz-hero.sz-hero-originale{min-height:140px!important;padding:20px!important;}}

/* v52 – compact folder toolbar and working deadline filter dropdown */
.sz-folder-toolbar{background:#e1f5fc;border-radius:12px;padding:10px 14px;display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:14px;min-height:54px}
.sz-folder-toolbar h2{font-size:16px;line-height:1.2;margin:0 0 3px;color:#0c315f}.sz-folder-toolbar p{font-size:12px;line-height:1.35;margin:0;color:#577d99}.sz-quick-filter{position:relative;flex-shrink:0}.sz-filter-toggle{display:flex;align-items:center;gap:6px;background:white;color:#12609c;border:1px solid #b9ddeb;border-radius:9px;padding:9px 11px;font:inherit;font-size:12px;font-weight:750;cursor:pointer}.sz-filter-menu{position:absolute;z-index:100;right:0;top:calc(100% + 5px);width:185px;padding:5px;background:#fff;border:1px solid #d6e6f2;box-shadow:0 12px 28px #1b508028;border-radius:10px}.sz-filter-menu[hidden]{display:none!important}.sz-filter-menu button{display:block;width:100%;text-align:left;background:transparent;border:0;border-radius:7px;padding:10px 11px;font:inherit;font-size:13px;color:#183b61;cursor:pointer}.sz-filter-menu button:hover,.sz-filter-menu button[aria-current="true"]{background:#e8f4ff;color:#0966b3}.sz-filter-toggle:focus-visible,.sz-filter-menu button:focus-visible{outline:2px solid #1688d5;outline-offset:2px}
@media(max-width:500px){.sz-folder-toolbar{padding:10px;gap:8px}.sz-folder-toolbar h2{font-size:14px}.sz-folder-toolbar p{font-size:11px}.sz-filter-toggle{padding:8px;font-size:11px}}

/* v53: compact welcome strip; existing folder toolbar and filters remain unchanged. */
.sz-welcome-strip{display:flex;align-items:center;min-height:54px;padding:10px 16px;border-radius:12px;background:#e1f5fc;color:#0c315f}
.sz-welcome-strip h1{font-size:17px;line-height:1.3;margin:0;font-weight:800}
.sz-layout{margin-top:12px}
@media(max-width:500px){.sz-welcome-strip{min-height:48px;padding:9px 12px}.sz-welcome-strip h1{font-size:15px}}

/* v54: unica fascia blu con saluto e Gestione Faldoni; nessuna modifica ai filtri */
.sz-folder-toolbar{background:linear-gradient(110deg,#103d86 0%,#1755b3 100%);color:#fff;border-radius:12px;padding:13px 16px;min-height:92px;align-items:center;margin-bottom:14px}
.sz-folder-toolbar-copy{min-width:0}
.sz-welcome-inline{margin-bottom:10px}
.sz-welcome-inline h1{color:#fff;font-size:19px;font-weight:800;line-height:1.25;margin:0}
.sz-folder-toolbar h2{color:#fff;font-size:16px;margin:0 0 3px}
.sz-folder-toolbar p{color:#dceaff;font-size:12px}
.sz-folder-toolbar .sz-filter-toggle{background:#fff;color:#164fad;border:1px solid #d6e9ff}
@media(max-width:500px){.sz-folder-toolbar{padding:12px;gap:10px;min-height:0;flex-wrap:wrap}.sz-welcome-inline{margin-bottom:8px}.sz-welcome-inline h1{font-size:17px}.sz-quick-filter{margin-left:auto}}

/* v55: sharp, CSS-only blue waves; compact single banner. No bitmap or blurred image. */
.sz-folder-toolbar{position:relative;isolation:isolate;overflow:visible;background:linear-gradient(108deg,#103e90 0%,#1356b1 60%,#058be8 100%);border-radius:14px;padding:14px 18px;min-height:100px}
.sz-folder-toolbar::before,.sz-folder-toolbar::after{content:"";position:absolute;z-index:-1;pointer-events:none;inset:0;border-radius:inherit;overflow:hidden}
.sz-folder-toolbar::before{background:#087ad8;clip-path:polygon(46% 100%,58% 72%,67% 61%,77% 66%,87% 80%,100% 29%,100% 100%);opacity:.85}
.sz-folder-toolbar::after{background:linear-gradient(95deg,transparent 44%,#0ba7f7 100%);clip-path:polygon(53% 100%,68% 67%,81% 79%,100% 45%,100% 100%);opacity:.40}
.sz-folder-toolbar-copy,.sz-quick-filter{position:relative;z-index:1}
.sz-welcome-inline h1{font-size:clamp(16px,1.55vw,22px);line-height:1.35;letter-spacing:-.015em}
.sz-hello{color:#68ddff;font-weight:900;margin-left:5px}
.sz-user-firstname:not([hidden]){color:#fff;margin-left:5px}
.sz-folder-toolbar h2{font-size:16px}.sz-folder-toolbar p{color:#e6f2ff}
@media(max-width:760px){.sz-folder-toolbar{padding:13px 14px;min-height:0}.sz-welcome-inline h1{font-size:16px}.sz-folder-toolbar::before{opacity:.45}}

/* v56: ensure dropdown items remain readable against the blue welcome banner. */
.sz-folder-toolbar .sz-filter-menu {
  background: #ffffff !important;
  color: #12385f !important;
  border: 1px solid #b9ddeb;
  opacity: 1;
}
.sz-folder-toolbar .sz-filter-menu button,
.sz-folder-toolbar .sz-filter-menu [role="menuitem"] {
  background: #ffffff !important;
  color: #12385f !important;
  -webkit-text-fill-color: #12385f !important;
  opacity: 1 !important;
  font-weight: 650;
  text-shadow: none !important;
}
.sz-folder-toolbar .sz-filter-menu button:hover,
.sz-folder-toolbar .sz-filter-menu button:focus-visible,
.sz-folder-toolbar .sz-filter-menu button[aria-current="true"] {
  background: #e5f2ff !important;
  color: #07539d !important;
  -webkit-text-fill-color: #07539d !important;
}

/* v57: menu must paint ABOVE the folder cards, not underneath them.
   v56 fixed colors but the stacking context still hid the lower options. */
.sz-folders{position:relative;z-index:5;isolation:isolate}
.sz-folder-toolbar{position:relative;z-index:20}
.sz-quick-filter{position:relative;z-index:30}
.sz-folder-toolbar .sz-filter-menu{position:absolute;z-index:9999!important;display:block;visibility:visible;overflow:visible;background:#fff!important;box-shadow:0 14px 30px rgba(5,39,87,.23)!important}
.sz-folder-toolbar .sz-filter-menu[hidden]{display:none!important}
.sz-folder-grid{position:relative;z-index:0}
.sz-folder-toolbar .sz-filter-menu button{display:block!important;visibility:visible!important;color:#12385f!important;-webkit-text-fill-color:#12385f!important;background:#fff!important;min-height:38px}
.sz-folder-toolbar .sz-filter-menu button:hover,.sz-folder-toolbar .sz-filter-menu button[aria-current="true"]{background:#e5f2ff!important;color:#07539d!important;-webkit-text-fill-color:#07539d!important}


/* v67 - native language dropdown, flags and US English */
.sz-logo-row{display:flex;align-items:flex-start;justify-content:space-between;gap:0;min-width:0}
.sz-logo-row .sz-logo{flex:1;min-width:0;padding-right:0;font-size:17px}
.sz-lang{display:flex;align-items:center;gap:8px;min-width:0;position:relative;color:white}
.sz-lang-icon{font-size:20px;line-height:1}
.sz-lang-label{font-size:15px}
.sz-lang-select{min-width:0;max-width:100%;background:#126ab1;color:white;border:1px solid #77b3e3;border-radius:10px;padding:9px 7px;font:inherit;font-size:13px;cursor:pointer}
.sz-lang-select option{color:#132b46;background:white}
.sz-lang-top{margin-top:9px;flex:0 0 auto}
.sz-lang-top .sz-lang-label{display:none}
.sz-lang-top .sz-lang-select{width:46px;font-size:13px;padding:8px 2px}
.sz-lang-nav{padding:9px 10px}
.sz-lang-nav .sz-lang-select{flex:1}
@media(max-width:760px){
 .sz-logo-row{display:none}
 .sz-lang-nav{flex:0 0 auto;padding:2px 0}
 .sz-lang-nav .sz-lang-label{display:none}
 .sz-lang-nav .sz-lang-select{width:145px;font-size:12px}
}

/* v68: brand name on two centered lines, only in sidebar header */
.sz-logo-row .sz-logo{gap:7px;padding-left:5px;padding-right:0;flex:1 1 auto;min-width:0}
.sz-logo-row .sz-logo .sz-brand-name{display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;white-space:nowrap;line-height:1.08;font-size:14px;letter-spacing:0;font-weight:900;flex:0 0 auto}
.sz-logo-row .sz-logo .sz-brand-name>span{display:block}
.sz-logo-row .sz-logo .sz-brand-mark{flex:0 0 46px;width:46px;height:46px;object-fit:contain}
.sz-logo-row .sz-lang-top{margin-top:7px}

/* v69: header only brand; language choice remains below Settings */
.sz-logo-row{justify-content:flex-start}
.sz-logo-row .sz-logo{flex:0 1 auto}

/* v70: larger centered brand; language selector immediately underneath */
.sz-side{gap:0}
.sz-logo-row{display:flex;justify-content:flex-start;align-items:center;margin-bottom:10px}
.sz-logo-row .sz-logo{display:flex;align-items:center;gap:10px;padding:4px 5px 8px;min-width:0;width:100%}
.sz-logo-row .sz-logo .sz-brand-name{font-size:20px;line-height:1.08;letter-spacing:-.35px;font-weight:900;align-items:center;text-align:center}
.sz-logo-row .sz-logo .sz-brand-mark{width:48px;height:48px;flex:0 0 48px}
.sz-side>.sz-lang-nav{margin:0 0 20px 0;padding:5px 5px;display:flex;gap:8px;align-items:center}
.sz-side>.sz-lang-nav .sz-lang-label{display:inline;font-size:14px}
.sz-side>.sz-lang-nav .sz-lang-select{flex:1;width:auto;min-width:0;font-size:12px;padding:10px 6px}
@media(max-width:760px){
 .sz-logo-row{display:none}
 .sz-side>.sz-lang-nav{margin:0 0 8px 0;padding:5px 0;justify-content:flex-start}
 .sz-side>.sz-lang-nav .sz-lang-label{display:inline;font-size:12px}
 .sz-side>.sz-lang-nav .sz-lang-select{flex:0 1 195px;width:195px;font-size:12px}
}

/* v95 — compact category cards, desktop 5 per row; other UI unchanged */
@media (min-width: 1351px) {
  .sz-folder-grid { grid-template-columns: repeat(5,minmax(0,1fr)); gap:10px; }
  .sz-folder { min-height:104px; padding:10px 9px 27px; border-radius:13px; }
  .sz-folder-emoji { width:30px; height:30px; font-size:19px; margin-bottom:5px; }
  .sz-folder strong { font-size:12px; line-height:1.2; overflow-wrap:anywhere; }
  .sz-folder-count { font-size:11px; margin:4px 0; }
  .sz-folder small { font-size:10px; max-width:100%; line-height:1.25; }
  .sz-folder-arrow { width:23px; height:23px; font-size:19px; right:7px; bottom:7px; }
}
@media (min-width: 761px) and (max-width: 1350px) {
  .sz-folder-grid { grid-template-columns:repeat(4,minmax(0,1fr)); gap:10px; }
  .sz-folder { min-height:110px; padding:11px 10px 28px; }
  .sz-folder-emoji { width:32px; height:32px; font-size:19px; margin-bottom:5px; }
  .sz-folder strong { font-size:12px; line-height:1.25; }
  .sz-folder-count { font-size:11px; margin:4px 0; }
  .sz-folder small { font-size:10px; }
  .sz-folder-arrow { width:23px; height:23px; font-size:19px; right:8px; bottom:7px; }
}
@media (max-width:760px) {
  .sz-folder { min-height:118px; padding:12px 11px 27px; }
  .sz-folder-emoji { width:34px; height:34px; font-size:20px; margin-bottom:6px; }
  .sz-folder-arrow { width:24px; height:24px; font-size:19px; }
}

/* v96: calendar dates can be clicked or keyboard-activated without changing the dashboard layout. */
.sz-month-grid button.sz-day{appearance:none;cursor:pointer;font-family:inherit;background:transparent;color:inherit;padding:7px 0}.sz-month-grid button.sz-day.today{background:#0b80df;color:#fff}.sz-month-grid button.sz-day.has-reminder:not(.today){background:#e7f4ff;color:#095cb0}.sz-month-grid button.sz-day:focus-visible{outline:2px solid #1688d5;outline-offset:2px}

/* v99: category details panel, separate from the existing dashboard list */
.sz-category-panel[hidden]{display:none!important}
.sz-category-panel{margin:12px 0 19px;border:2px solid #1875ef;border-radius:16px;background:#fff;padding:16px;box-shadow:0 8px 25px rgba(14,65,130,.06)}
.sz-category-heading,.sz-category-title,.sz-category-entry,.sz-category-entry-info,.sz-category-entry-right,.sz-category-actions{display:flex;align-items:center;gap:12px}
.sz-category-heading,.sz-category-entry{justify-content:space-between}
.sz-category-heading{margin-bottom:14px}
.sz-category-title h3{font-size:17px;color:#10325f;margin:0 0 3px}.sz-category-title p{font-size:12px;color:#6680a4;margin:0}
.sz-category-large-icon,.sz-category-entry-icon{display:grid;place-items:center;flex:none;background:#e9f4ff;border-radius:12px;width:43px;height:43px;font-size:23px}
.sz-category-close{border:0;background:#eaf4ff;color:#1353a5;padding:9px 12px;border-radius:9px;font-weight:700;cursor:pointer}
.sz-category-list{display:grid;gap:9px}.sz-category-entry{padding:12px;border:1px solid #dbe7f5;border-radius:12px;min-width:0}
.sz-category-entry-info{min-width:0}.sz-category-entry-info strong{display:block;font-size:13px;color:#102f58;overflow-wrap:anywhere}.sz-category-entry-info small{display:block;color:#637e9f;font-size:12px;margin-top:4px}
.sz-category-entry-right{flex-wrap:wrap;justify-content:flex-end}.sz-category-status{font-size:11px;color:#145ba6;background:#e9f4ff;border-radius:8px;padding:5px 8px;white-space:nowrap}.sz-category-status.is-overdue{color:#b52e37;background:#ffeff1}.sz-category-status.is-done{color:#157a4a;background:#e7f8ef}
.sz-category-actions{gap:5px;flex-wrap:wrap;justify-content:flex-end}.sz-category-action{cursor:pointer;background:#fff;border:1px solid #2472e8;border-radius:7px;color:#175ab4;font-size:11px;font-weight:700;padding:7px 9px}.sz-action-done{border-color:#21a55b;color:#14804a}.sz-action-delete{border-color:#ef5555;color:#c62828}.sz-category-empty{padding:16px;color:#6a809d;font-size:13px}
@media(max-width:760px){.sz-category-panel{padding:11px}.sz-category-entry{align-items:flex-start;flex-direction:column}.sz-category-entry-right{width:100%;justify-content:space-between}.sz-category-action{min-height:34px}}

/* v101: quick-create panel under the calendar only. */
.sz-quick-create{background:#fff;border:1px solid #d9e8fa;border-radius:18px;padding:18px;box-shadow:0 5px 20px #164d8207;display:flex;flex-direction:column;gap:10px;color:#10315d}
.sz-quick-create h3{font-size:17px;line-height:1.3;margin:0;color:#10315d}
.sz-quick-create p{font-size:12px;line-height:1.55;color:#58759a;margin:0 0 4px}
.sz-quick-create label{font-size:13px;font-weight:750;color:#183c69}
.sz-quick-create select{display:block;width:100%;max-width:100%;min-height:42px;border:1px solid #cadcf0;border-radius:10px;padding:8px 10px;background:#fff;color:#16375f;font:inherit;font-size:13px;cursor:pointer}
.sz-quick-create select:disabled{opacity:.65;cursor:not-allowed}
.sz-quick-create select:focus-visible{outline:2px solid #167bd5;outline-offset:2px}

/* v110 — Prossime scadenze: contenitore sfumato e icone, senza cambiare filtri o dati */
.sz-reminders .sz-stats-panel-v110{background:linear-gradient(125deg,#e7f1ff 0%,#f2f8ff 58%,#e8f5ff 100%);border:1px solid #d9e8fa;border-radius:22px;padding:20px 18px 18px;box-shadow:0 9px 24px rgba(16,65,120,.07);margin-bottom:14px}
.sz-reminders .sz-stats-panel-v110 .sz-section-head{margin-bottom:15px}
.sz-reminders .sz-stats-panel-v110 .stats{gap:11px;margin:0}
.sz-reminders .sz-stats-panel-v110 .stat{min-height:108px;display:grid;grid-template-columns:42px minmax(0,1fr);grid-template-rows:auto auto;align-content:center;align-items:center;column-gap:11px;padding:12px;background:rgba(255,255,255,.92);border-radius:18px;box-shadow:0 5px 15px rgba(17,67,124,.04)}
.sz-reminders .sz-stats-panel-v110 .stat::before{content:"";width:40px;height:40px;border-radius:50%;grid-row:1 / 3;grid-column:1;display:grid;place-items:center;font-size:23px;font-weight:700}
.sz-reminders .sz-stats-panel-v110 .stat:nth-child(1)::before{content:"▤";color:#1466e8;background:#e3edff}
.sz-reminders .sz-stats-panel-v110 .stat:nth-child(2)::before{content:"◷";color:#dc8a00;background:#fff2db}
.sz-reminders .sz-stats-panel-v110 .stat:nth-child(3)::before{content:"!";color:#e33434;background:#ffe8e8}
.sz-reminders .sz-stats-panel-v110 .stat:nth-child(4)::before{content:"✓";color:#009875;background:#dcf9ed}
.sz-reminders .sz-stats-panel-v110 .stat b{grid-column:2;font-size:27px;line-height:1.15}
.sz-reminders .sz-stats-panel-v110 .stat span{grid-column:2;font-size:12px;margin:2px 0 0}
.sz-reminders .sz-stats-panel-v110 .stat.active{background:#eaf2ff;border-color:#1763ed}
@media(max-width:1000px){.sz-reminders .sz-stats-panel-v110 .stat{grid-template-columns:1fr;grid-template-rows:auto auto auto;justify-items:center;gap:2px;padding:10px 5px}.sz-reminders .sz-stats-panel-v110 .stat::before{grid-row:1;grid-column:1;width:34px;height:34px;font-size:20px}.sz-reminders .sz-stats-panel-v110 .stat b,.sz-reminders .sz-stats-panel-v110 .stat span{grid-column:1}}
@media(max-width:760px){.sz-reminders .sz-stats-panel-v110{padding:14px 11px;border-radius:17px}.sz-reminders .sz-stats-panel-v110 .stats{gap:8px}}

/* v112: monthly reminder list attached to the existing calendar and data source */
.sz-month-reminders{border-top:1px solid #e6edf7;margin-top:16px;padding-top:14px}
.sz-month-list-heading{font-size:15px;color:#12315c;margin:0 0 12px;font-weight:800}
.sz-month-empty{font-size:13px;color:#6883a5;margin:0 0 4px}
.sz-month-entry{border:1px solid #e6edf7;border-radius:12px;padding:12px;margin:9px 0;display:flex;gap:10px;justify-content:space-between;align-items:flex-start;flex-wrap:wrap;background:#fafdff}
.sz-month-entry-info{min-width:120px;flex:1;display:flex;flex-direction:column;gap:4px;overflow-wrap:anywhere;color:#15345c;font-size:13px}
.sz-month-entry-info small{font-size:12px;color:#6883a5}
.sz-month-entry-right{display:flex;flex-direction:column;gap:7px;align-items:flex-end}
.sz-month-entry .sz-category-actions{display:flex;flex-wrap:wrap;gap:5px;justify-content:flex-end}
.sz-month-entry .sz-category-action{font-size:11px;padding:6px 8px}
@media(max-width:700px){.sz-month-entry-right{align-items:flex-start}.sz-month-entry .sz-category-actions{justify-content:flex-start}}

/* v113: compact monthly preview with accessible show-all toggle */
.sz-month-toggle{display:block;width:100%;margin-top:12px;padding:11px 9px;border:1px solid #cfe4fb;border-radius:10px;background:#eaf4ff;color:#0865bd;font:inherit;font-size:12px;font-weight:800;text-align:center;cursor:pointer}
.sz-month-toggle:hover{background:#d9ecff}
.sz-month-toggle:focus-visible{outline:2px solid #0878d0;outline-offset:2px}

/* v114: category icons in compact calendar; hide overdue items from monthly preview only */
.sz-month-entry-info{display:flex;flex-direction:row;align-items:center;gap:9px}
.sz-month-entry-detail{display:flex;flex-direction:column;gap:4px;min-width:0;flex:1}
.sz-month-entry-icon{display:grid;place-items:center;flex:0 0 36px;width:36px;height:36px;border-radius:10px;background:#eaf3ff;font-size:21px;line-height:1}

/* v118: four horizontal summary cards with icons above counters. */
.sz-reminders .sz-stats-panel-v110{background:linear-gradient(120deg,#e1edff,#eff6ff 65%,#e5f0ff);border-color:#cbdff9}
.sz-reminders .sz-stats-panel-v110 .stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:9px}
.sz-reminders .sz-stats-panel-v110 .stat,.sz-reminders .sz-stats-panel-v110 .stat.active{display:flex;flex-direction:column;justify-content:center;align-items:center;gap:7px;min-width:0;min-height:118px;padding:12px 5px;background:#fff;border:1px solid #d9e1ec;border-radius:13px;box-shadow:0 3px 9px rgba(23,60,110,.035)}
.sz-reminders .sz-stats-panel-v110 .stat.active{border:2px solid #1763ed;background:#edf4ff}
.sz-reminders .sz-stats-panel-v110 .stat::before{display:block;position:static;grid-area:auto;width:auto;height:auto;border-radius:0;background:transparent!important;font-size:23px;line-height:1.1}
.sz-reminders .sz-stats-panel-v110 .stat:nth-child(1)::before{content:"▤";color:#1763ed}
.sz-reminders .sz-stats-panel-v110 .stat:nth-child(2)::before{content:"◷";color:#eda600}
.sz-reminders .sz-stats-panel-v110 .stat:nth-child(3)::before{content:"!";border:2px solid #e33434;color:#e33434;border-radius:50%;font-size:14px;font-weight:800;width:17px;height:17px;line-height:15px;text-align:center;box-sizing:border-box}
.sz-reminders .sz-stats-panel-v110 .stat:nth-child(4)::before{content:"✓";color:#00a34d;border:2px solid #00a34d;border-radius:50%;font-size:15px;font-weight:800;width:20px;height:20px;line-height:17px;text-align:center;box-sizing:border-box}
.sz-reminders .sz-stats-panel-v110 .stat b{font-size:25px;color:#13233d;line-height:1.15}
.sz-reminders .sz-stats-panel-v110 .stat span{font-size:12px;color:#23324a;margin:0;text-align:center}
@media(max-width:550px){.sz-reminders .sz-stats-panel-v110 .stats{grid-template-columns:repeat(4,minmax(0,1fr));gap:5px}.sz-reminders .sz-stats-panel-v110 .stat,.sz-reminders .sz-stats-panel-v110 .stat.active{min-height:95px;padding:7px 2px;gap:5px}.sz-reminders .sz-stats-panel-v110 .stat b{font-size:21px}.sz-reminders .sz-stats-panel-v110 .stat span{font-size:9px}}

/* v207 - menu laterale nero, conservando contrasto e stato selezionato */
body .sz-side{background:#090b10!important;color:#fff!important;}
body .sz-side .sz-nav a,body .sz-side .sz-nav button{color:#fff;}
body .sz-side .sz-nav a:hover,body .sz-side .sz-nav a.selected{background:#1768c9;color:#fff;}
body .sz-side .sz-pro{background:#171b25;}
/* v207 - account cards */
.sz207-account-main{flex:1;min-width:0;padding:42px clamp(16px,2vw,38px);background:#f3f7fc;}
.sz207-account-main h1{font-size:clamp(26px,3vw,38px);margin:0 0 8px;color:#102a50;}
.sz207-account-main>.intro{color:#60728d;margin:0 0 30px;}
.sz207-grid{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:10px;}
.sz207-card{background:#fff;border:1px solid #e4eaf3;border-radius:14px;padding:22px 13px;min-width:0;display:flex;flex-direction:column;min-height:320px;box-shadow:0 6px 24px #0b31510a;text-align:center;}
.sz207-symbol{font-size:30px;display:grid;place-items:center;margin:0 auto 17px;width:62px;height:62px;border-radius:50%;background:#e4f2ff;}
.sz207-card:nth-child(2) .sz207-symbol{background:#fff1c8}.sz207-card:nth-child(3) .sz207-symbol{background:#def5e1}.sz207-card:nth-child(4) .sz207-symbol{background:#eee9ff}.sz207-card:nth-child(5) .sz207-symbol{background:#ffe5e9}.sz207-card:nth-child(6) .sz207-symbol{background:#e4f2ff}
.sz207-card h2{font-size:16px;line-height:1.35;margin:0 0 10px;color:#112b4b;}
.sz207-card p{font-size:13px;line-height:1.6;color:#61738c;margin:0 0 20px;flex:1;}
.sz207-action{display:block;border:1px solid #1d68d2;color:#1558b4;border-radius:9px;text-decoration:none;padding:11px 6px;font-size:13px;font-weight:700;}
.sz207-action:hover{background:#eaf3ff}.sz207-action[aria-disabled="true"]{color:#7a879a;border-color:#cbd5e3;background:#f5f7fa;cursor:default;}
.sz207-note{margin:20px 0;color:#64748b;font-size:12px;}
@media(max-width:1450px){.sz207-grid{grid-template-columns:repeat(3,minmax(0,1fr));}}
@media(max-width:850px){.sz207-grid{grid-template-columns:repeat(2,minmax(0,1fr));}}
@media(max-width:520px){.sz207-grid{grid-template-columns:1fr;}.sz207-card{min-height:230px;}}

/* v208: account content under the restored dashboard header */
.sz208-account-area{min-width:0;flex:1;display:flex;flex-direction:column;}
.sz208-account-area>.sz207-account-main{flex:1;}
