/* NexusDpp v20.75 - promemoria condivisi Home */
.nh-web-cards{display:grid;gap:14px;align-items:stretch}
@media (min-width:1350px){
  .nh-web-cards{grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}
  .nh-web-cards>.nh-panel{min-height:310px}
  .nh-web-cards .nh-live-grid{grid-template-columns:1fr}
}
.nh-reminders{display:flex;flex-direction:column;overflow:hidden;border:1px solid rgba(12,137,153,.20);background:linear-gradient(145deg,rgba(255,255,255,.99),rgba(240,250,252,.98) 58%,rgba(239,252,247,.98))}
.nh-reminders-head{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;padding:15px 17px 12px;border-bottom:1px solid rgba(11,97,130,.10)}
.nh-reminders-head small{display:flex;align-items:center;gap:7px;color:#087590;font-size:9px;font-weight:900;letter-spacing:.12em}
.nh-reminders-head small i{width:7px;height:7px;border-radius:50%;background:#16c79b;box-shadow:0 0 0 3px rgba(22,199,155,.10)}
.nh-reminders-head h2{margin:4px 0 0;color:#082a43;font-size:19px;line-height:1.15}
.nh-reminders-head p{margin:3px 0 0;color:#5a788b;font-size:11.5px}
.nh-reminder-add{flex:0 0 auto;width:36px;height:36px;border:0;border-radius:11px;background:linear-gradient(135deg,#15a9c7,#0aa47d);color:#fff;font-size:24px;line-height:1;cursor:pointer;box-shadow:0 7px 18px rgba(19,151,165,.18)}
.nh-reminders-next{display:flex;flex-direction:column;gap:4px;margin:12px 17px 8px;padding:12px 13px;border-radius:13px;background:rgba(14,152,176,.07);border:1px solid rgba(14,152,176,.11)}
.nh-reminders-next>span{font-size:9px;font-weight:900;letter-spacing:.12em;color:#0b7d94}
.nh-reminders-next strong{color:#0a3047;font-size:13.5px;line-height:1.25}
.nh-reminders-next small{color:#627f8f;font-size:10.5px}
.nh-reminder-list{flex:1;min-height:70px;padding:0 17px;overflow:auto;scrollbar-width:thin}
.nh-reminder-item{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px;align-items:center;padding:9px 0;border-bottom:1px solid rgba(11,97,130,.09)}
.nh-reminder-item:last-child{border-bottom:0}.nh-reminder-item.is-high strong:before{content:"!";display:inline-grid;place-items:center;width:16px;height:16px;margin-right:6px;border-radius:50%;background:#fff0e7;color:#a84b13;font-size:10px}
.nh-reminder-copy{min-width:0}.nh-reminder-copy strong{display:block;color:#0a3047;font-size:11.5px;line-height:1.3;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.nh-reminder-copy small{display:block;margin-top:3px;color:#688292;font-size:9.5px}
.nh-reminder-done{width:30px;height:30px;border:1px solid rgba(17,91,121,.14);border-radius:9px;background:#fff;color:#0a7c67;cursor:pointer;font-weight:900}
.nh-reminder-empty{padding:15px 0;color:#6b8391;font-size:11px}
.nh-reminders-foot{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-top:auto;padding:10px 17px;border-top:1px solid rgba(11,97,130,.10);background:rgba(255,255,255,.34)}
.nh-reminders-foot>span{color:#67818f;font-size:9.5px}.nh-reminder-link{border:0;background:transparent;color:#087895;font-size:10px;font-weight:850;cursor:pointer}
.nx-reminder-dialog{width:min(620px,calc(100vw - 28px));padding:0;border:1px solid rgba(14,91,129,.18);border-radius:20px;background:#f8fcfe;color:#08233d;box-shadow:0 24px 80px rgba(5,42,65,.28)}
.nx-reminder-dialog::backdrop{background:rgba(4,22,35,.56)}
.nx-reminder-form{padding:22px}.nx-reminder-form header{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;padding-bottom:15px;border-bottom:1px solid #dceaf0}
.nx-reminder-form header small{font-size:10px;letter-spacing:.13em;font-weight:900;color:#087b96}.nx-reminder-form header h2{margin:4px 0 0;font-size:24px}.nx-reminder-form header button{width:38px;height:38px;border:1px solid #cadde7;border-radius:11px;background:#fff;color:#16445f;font-size:24px;cursor:pointer}
.nx-reminder-form>label,.nx-reminder-fields label{display:flex;flex-direction:column;gap:7px}.nx-reminder-form>label{margin-top:17px}.nx-reminder-form label>span{font-size:12px;font-weight:800;color:#0b4262}
.nx-reminder-form textarea,.nx-reminder-form input,.nx-reminder-form select{box-sizing:border-box;width:100%;border:1px solid #c8deea;border-radius:12px;background:#fff;color:#08233d;padding:11px 12px;font:600 14px/1.35 inherit;outline:none}
.nx-reminder-form textarea:focus,.nx-reminder-form input:focus,.nx-reminder-form select:focus{border-color:#16a6c8;box-shadow:0 0 0 3px rgba(22,166,200,.12)}

.nx-reminder-voice-row{display:grid;grid-template-columns:minmax(0,1fr) 78px;gap:9px;align-items:stretch}.nx-reminder-voice{border:1px solid #b8e6ef;border-radius:12px;background:#e8f9fb;color:#096b83;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;cursor:pointer}.nx-reminder-voice span{font-size:20px}.nx-reminder-voice b{font-size:11px}.nx-reminder-voice.is-listening{background:#fff0f1;border-color:#efb8c1;color:#a62d42;animation:nxVoicePulse 1s ease-in-out infinite}
@keyframes nxVoicePulse{50%{box-shadow:0 0 0 5px rgba(190,48,72,.10)}}
#nxReminderVoiceStatus{color:#69818f;font-size:11px}.nx-reminder-fields{display:grid;grid-template-columns:1fr 160px;gap:12px;margin-top:14px}
.nx-reminder-note{margin-top:14px;padding:10px 12px;border-radius:11px;background:#eef9f5;color:#36695f;font-size:11px;line-height:1.4}.nx-reminder-error{margin-top:12px;color:#a72a3a;font-size:12px;font-weight:700}
.nx-reminder-form>footer{display:flex;justify-content:flex-end;gap:10px;margin-top:17px;padding-top:15px;border-top:1px solid #e0ecf2}.nx-reminder-form>footer button{border-radius:11px;padding:10px 15px;font-weight:800;cursor:pointer}.nx-reminder-secondary{background:#fff;border:1px solid #cadde7;color:#16445f}.nx-reminder-primary{border:0;background:linear-gradient(135deg,#18b9c8,#0c9a77);color:#fff}
.nx-reminder-toast{position:fixed;right:22px;bottom:92px;z-index:100500;width:min(390px,calc(100vw - 28px));padding:14px 16px;border:1px solid rgba(19,151,165,.22);border-radius:15px;background:#f8ffff;color:#0a3047;box-shadow:0 18px 48px rgba(4,44,65,.22);transform:translateY(16px);opacity:0;pointer-events:none;transition:.2s ease}.nx-reminder-toast.is-visible{transform:translateY(0);opacity:1}.nx-reminder-toast b{display:block;font-size:12px}.nx-reminder-toast span{display:block;margin-top:4px;font-size:11px;color:#587586}
html[data-theme="dark"] .nh-reminders,body.theme-dark .nh-reminders{background:linear-gradient(145deg,#0a2232,#0b2b38 58%,#0a342d);border-color:rgba(74,212,216,.20)}
html[data-theme="dark"] .nh-reminders-head h2,html[data-theme="dark"] .nh-reminders-next strong,html[data-theme="dark"] .nh-reminder-copy strong,body.theme-dark .nh-reminders-head h2,body.theme-dark .nh-reminders-next strong,body.theme-dark .nh-reminder-copy strong{color:#effcff}
html[data-theme="dark"] .nh-reminders-head p,html[data-theme="dark"] .nh-reminders-next small,html[data-theme="dark"] .nh-reminder-copy small,body.theme-dark .nh-reminders-head p,body.theme-dark .nh-reminders-next small,body.theme-dark .nh-reminder-copy small{color:#9cb7c3}
@media(max-width:1349px) and (min-width:761px){.nh-web-cards{grid-template-columns:repeat(2,minmax(0,1fr))}.nh-reminders{grid-column:1/-1}}
@media(max-width:760px){.nh-web-cards{grid-template-columns:1fr}.nh-reminders{min-height:280px}.nx-reminder-form{padding:17px}.nx-reminder-fields{grid-template-columns:1fr}.nx-reminder-voice-row{grid-template-columns:1fr 68px}}


/* v20.75.1 - tre pannelli compatti e leggibili nella Home desktop */
@media (min-width:1350px){
  #nx-home .nh-web-cards{grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;align-items:stretch}
  #nx-home .nh-web-cards>.nh-panel{min-width:0;min-height:310px;height:100%}
  #nx-home .nx-live-head-v2070{flex-direction:column;gap:10px;padding:17px 17px 13px}
  #nx-home .nx-live-head-v2070 .nh-live-site-title h2{font-size:21px}
  #nx-home .nx-live-head-v2070 .nh-live-site-title p{font-size:12px}
  #nx-home .nx-live-kpis{width:100%;min-width:0;flex-direction:row;gap:8px}
  #nx-home .nx-live-kpi{min-height:58px;flex:1 1 0}
  #nx-home .nx-live-kpi-now{padding:8px 10px}
  #nx-home .nx-live-kpi-now>b{min-width:38px;height:38px;font-size:19px}
  #nx-home .nx-live-kpi-week{min-width:0;padding:8px 10px;text-align:left}
  #nx-home .nx-live-kpi-week b{font-size:21px}
  #nx-home .nx-live-grid-v2070{grid-template-columns:1fr;min-height:0}
  #nx-home .nx-live-grid-v2070 .nh-live-block{padding:11px 17px}
  #nx-home .nx-live-grid-v2070 .nh-live-block + .nh-live-block{border-left:0;border-top:1px solid rgba(37,92,121,.11)}
  #nx-home .nx-live-week-note{margin:0 17px;padding:7px 0 8px}
  #nx-home #nxLiveSitePanel .nh-live-foot{padding:8px 17px 10px;flex-direction:column;gap:3px}
}
.nh-reminder-item.is-overdue{background:rgba(191,74,54,.045)}
.nh-reminder-item.is-overdue .nh-reminder-copy small{color:#a65345;font-weight:750}
html[data-theme="dark"] .nh-reminder-item.is-overdue,
body.theme-dark .nh-reminder-item.is-overdue{background:rgba(235,118,94,.07)}
html[data-theme="dark"] .nh-reminder-item.is-overdue .nh-reminder-copy small,
body.theme-dark .nh-reminder-item.is-overdue .nh-reminder-copy small{color:#f0aa9b}


/* v20.75.2 - Home executive polish: tre pannelli coerenti, compatti e leggibili */
#nx-home .nh-web-cards{margin-top:16px;gap:16px}
#nx-home .nh-web-cards>.nh-panel{position:relative;overflow:hidden;border:1px solid #cfe1e9!important;border-radius:18px!important;background:linear-gradient(180deg,#fbfdfe 0%,#f4f9fb 100%)!important;box-shadow:0 10px 28px rgba(14,72,99,.07)!important;color:#123b54!important}
#nx-home .nh-web-cards>.nh-panel:before{content:"";position:absolute;inset:0 0 auto;height:3px;background:linear-gradient(90deg,#12a9c5,#0da982);opacity:.95}
#nxWebsiteRequestsPanel,#nxLiveSitePanel,#nxSharedRemindersPanel{display:flex!important;flex-direction:column!important;min-height:280px!important;height:280px!important}
#nxWebsiteRequestsPanel .nh-site-requests-head,#nxLiveSitePanel .nh-live-site-head,#nxSharedRemindersPanel .nh-reminders-head{display:flex!important;align-items:flex-start!important;justify-content:space-between!important;gap:14px!important;padding:18px 18px 13px!important;border-bottom:1px solid rgba(23,91,120,.10)!important;background:rgba(255,255,255,.5)!important}
#nxWebsiteRequestsPanel h2,#nxLiveSitePanel h2,#nxSharedRemindersPanel h2{margin:4px 0 4px!important;font-size:22px!important;line-height:1.05!important;letter-spacing:-.02em!important;color:#103a54!important}
#nxWebsiteRequestsPanel p,#nxLiveSitePanel p,#nxSharedRemindersPanel p{margin:0!important;font-size:12px!important;line-height:1.35!important;color:#668195!important}
#nxWebsiteRequestsPanel .nh-site-requests-eyebrow,#nxLiveSitePanel .nh-live-site-title small,#nxSharedRemindersPanel .nh-reminders-head small{font-size:9px!important;font-weight:900!important;letter-spacing:.12em!important;color:#087e97!important}
#nxWebsiteRequestsPanel .nh-site-requests-counter,#nxLiveSitePanel .nh-live-total{display:flex!important;align-items:center!important;gap:8px!important;flex:0 0 auto!important;padding:8px 10px!important;border:1px solid #d4e8ef!important;border-radius:12px!important;background:#eef8fb!important}
#nxWebsiteRequestsPanel .nh-site-requests-counter b,#nxLiveSitePanel .nh-live-total>b{font-size:23px!important;line-height:1!important;color:#067e9a!important}
#nxWebsiteRequestsPanel .nh-site-requests-counter span,#nxLiveSitePanel .nh-live-total span{font-size:10px!important;line-height:1.15!important;color:#557487!important}
#nxLiveSitePanel .nh-live-total em{display:block!important;font-size:8px!important;font-style:normal!important;color:#78909d!important;margin-top:2px!important}
#nxWebsiteRequestsPanel .nh-site-requests-list{flex:1!important;min-height:0!important;padding:10px 18px!important;overflow:auto!important}
#nxWebsiteRequestsPanel .nh-site-requests-empty,#nxLiveSitePanel .nh-live-empty{padding:10px 0!important;font-size:11px!important;color:#78909d!important}
#nxWebsiteRequestsPanel .nh-site-requests-foot,#nxLiveSitePanel .nh-live-foot,#nxSharedRemindersPanel .nh-reminders-foot{margin-top:auto!important;min-height:42px!important;padding:9px 18px!important;border-top:1px solid rgba(23,91,120,.10)!important;background:rgba(255,255,255,.62)!important;font-size:10px!important;color:#668195!important}
#nxWebsiteRequestsPanel .nh-site-requests-foot{display:flex!important;align-items:center!important;justify-content:space-between!important;gap:10px!important}
#nxWebsiteRequestsPanel .nh-button{min-height:32px!important;padding:7px 10px!important;border-radius:10px!important;font-size:10px!important;white-space:nowrap!important}
#nxLiveSitePanel .nh-live-grid{display:grid!important;grid-template-columns:1fr 1fr!important;gap:0!important;flex:1!important;min-height:0!important}
#nxLiveSitePanel .nh-live-block{min-width:0!important;padding:12px 16px!important;overflow:hidden!important}
#nxLiveSitePanel .nh-live-block+.nh-live-block{border-left:1px solid rgba(23,91,120,.10)!important}
#nxLiveSitePanel .nh-live-block-head{display:flex!important;align-items:center!important;justify-content:space-between!important;gap:8px!important;margin-bottom:6px!important}
#nxLiveSitePanel .nh-live-block-head h3{margin:0!important;font-size:12px!important;color:#183f57!important}
#nxLiveSitePanel .nh-live-block-head span{font-size:9px!important;color:#7a909e!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important}
#nxLiveSitePanel .nh-live-list{font-size:10px!important;line-height:1.3!important;color:#567588!important}
#nxSharedRemindersPanel .nh-reminders-next{margin:11px 18px 8px!important;padding:11px 12px!important;border-radius:12px!important;background:#edf8fa!important;border:1px solid #d5e9ee!important}
#nxSharedRemindersPanel .nh-reminder-list{padding:0 18px!important}
#nxSharedRemindersPanel .nh-reminder-add{width:38px!important;height:38px!important;border-radius:12px!important;box-shadow:0 8px 18px rgba(13,169,130,.18)!important}
#nxSharedRemindersPanel .nh-reminder-link{font-size:10px!important;font-weight:900!important}
#nxReminderDialog{border-radius:22px!important;box-shadow:0 28px 90px rgba(5,42,65,.32)!important}
#nxReminderVoice{min-height:100%!important;transition:transform .15s ease,box-shadow .15s ease,background .15s ease!important}
#nxReminderVoice:hover{transform:translateY(-1px)!important}
#nxReminderVoice.is-listening{background:linear-gradient(180deg,#fff3f4,#ffe8eb)!important;border-color:#e88798!important;color:#9f2840!important;box-shadow:0 0 0 4px rgba(190,48,72,.08)!important}
#nxReminderVoice.is-listening span{animation:nxMicBeat .9s ease-in-out infinite!important}
@keyframes nxMicBeat{50%{transform:scale(1.16)}}
/* Il Manuale utente non fa piu parte della navigazione operativa. */
a[data-nx-page="manual"]{display:none!important}
@media (min-width:1350px){#nx-home .nh-web-cards{grid-template-columns:repeat(3,minmax(0,1fr))!important}}
@media (max-width:1349px) and (min-width:761px){#nx-home .nh-web-cards{grid-template-columns:repeat(2,minmax(0,1fr))!important}#nxSharedRemindersPanel{grid-column:1/-1!important;height:auto!important;min-height:250px!important}}
@media (max-width:760px){#nxWebsiteRequestsPanel,#nxLiveSitePanel,#nxSharedRemindersPanel{height:auto!important;min-height:240px!important}#nxLiveSitePanel .nh-live-grid{grid-template-columns:1fr!important}#nxLiveSitePanel .nh-live-block+.nh-live-block{border-left:0!important;border-top:1px solid rgba(23,91,120,.10)!important}}
@media (min-width:1350px){#nxSharedRemindersPanel{height:auto!important}}
