/* Rabbit Workspace OS — Home V3
   Stile della nuova dashboard. Caricato per ultimo: i selettori sono
   prefissati da body.rh3-on per prevalere sugli strati legacy. */
:root{--rh3-navy:#0d1b3a;--rh3-navy2:#16294f;--rh3-blue:#2563eb;--rh3-blue-soft:#eaf1ff;--rh3-bg:#f4f6fa;--rh3-card:#fff;--rh3-line:#e4e8f0;--rh3-line2:#f0f2f6;--rh3-ink:#0f172a;--rh3-ink2:#334155;--rh3-muted:#64748b;--rh3-red:#dc2626;--rh3-red-soft:#fdecec;--rh3-amber:#d97706;--rh3-amber-soft:#fff4e0;--rh3-green:#16a34a;--rh3-green-soft:#e7f7ec;--rh3-violet:#7c3aed;--rh3-violet-soft:#f1eafe;--rh3-radius:14px;--rh3-font:Inter,"Segoe UI",system-ui,-apple-system,sans-serif;}

/* ---------- shell ---------- */
html body.rh3-on{background:var(--rh3-bg)!important;}
html body.rh3-on .main > section#home.view,html body.rh3-on .main > section#home.view.active{display:none!important;}
html body.rh3-on #rh3Home[hidden]{display:none!important;}
html body.rh3-on .rightbar > :not(#rh3Right){display:none!important;}
html body.rh3-on #signupRequestsMenuItem{display:none!important;}
html body.rh3-on .rabbit-topbar-user .rabbit-admin-chip{display:none!important;}

/* ---------- sidebar ---------- */
html body.rh3-on .sidebar.rabbit-pro-sidebar{background:var(--rh3-navy)!important;flex-direction:column!important;padding:22px 14px 16px!important;gap:0!important;border:0!important;border-radius:0!important;box-shadow:none!important;}
html body.rh3-on .sidebar .brand.rh3-brand{display:flex!important;align-items:center!important;gap:11px!important;padding:0 8px!important;margin:0 0 24px!important;background:none!important;border:0!important;box-shadow:none!important;min-height:0!important;flex-direction:row!important;}
html body.rh3-on .sidebar .brand.rh3-brand::before,html body.rh3-on .sidebar .brand.rh3-brand::after{display:none!important;content:none!important;}
html body.rh3-on .sidebar .brand.rh3-brand > strong,html body.rh3-on .sidebar .brand.rh3-brand > :not(.logo):not(.rh3-brand-copy){display:none!important;}
html body.rh3-on .sidebar .brand.rh3-brand .logo{width:38px!important;height:38px!important;min-width:38px!important;border-radius:10px!important;background:#fff!important;padding:4px!important;display:grid!important;place-items:center!important;margin:0!important;box-shadow:none!important;}
html body.rh3-on .sidebar .brand.rh3-brand .logo img{width:100%!important;height:100%!important;object-fit:contain!important;}
html body.rh3-on .rh3-brand-copy{display:flex!important;flex-direction:column!important;line-height:1.2!important;}
html body.rh3-on .rh3-brand-copy b{color:#fff!important;font:700 15px/1.2 var(--rh3-font)!important;}
html body.rh3-on .rh3-brand-copy small{color:#8ea0c0!important;font:500 11px/1.3 var(--rh3-font)!important;}

html body.rh3-on .sidebar #nav.rh3-nav{display:flex!important;flex-direction:column!important;gap:2px!important;flex:1 1 auto!important;overflow-y:auto!important;overflow-x:hidden!important;padding:0!important;margin:0!important;background:none!important;scrollbar-width:thin!important;}
html body.rh3-on .rh3-nav .rh3-nav-flat{display:flex!important;flex-direction:column!important;gap:2px!important;}
html body.rh3-on .rh3-nav .rh3-nav-section{font:700 10.5px/1 var(--rh3-font)!important;letter-spacing:.09em!important;text-transform:uppercase!important;color:#6c7fa3!important;margin:18px 12px 8px!important;}
html body.rh3-on .rh3-nav button,html body.rh3-on .rh3-nav summary{all:unset!important;box-sizing:border-box!important;display:flex!important;align-items:center!important;gap:11px!important;width:100%!important;padding:9px 12px!important;border-radius:9px!important;font:500 14px/1.2 var(--rh3-font)!important;color:#cbd5e1!important;cursor:pointer!important;background:transparent!important;min-height:38px!important;border:0!important;box-shadow:none!important;transform:none!important;}
html body.rh3-on .rh3-nav summary::-webkit-details-marker{display:none!important;}
html body.rh3-on .rh3-nav summary{list-style:none!important;}
html body.rh3-on .rh3-nav button:hover,html body.rh3-on .rh3-nav summary:hover{background:rgba(255,255,255,.06)!important;color:#fff!important;}
html body.rh3-on .rh3-nav button.active{background:var(--rh3-navy2)!important;color:#fff!important;box-shadow:inset 3px 0 0 var(--rh3-blue)!important;}
html body.rh3-on .rh3-nav button:focus-visible,html body.rh3-on .rh3-nav summary:focus-visible{outline:2px solid #60a5fa!important;outline-offset:1px!important;}
html body.rh3-on .rh3-nav .rabbit-side-ico{all:unset!important;width:20px!important;height:20px!important;flex:none!important;display:grid!important;place-items:center!important;color:currentColor!important;opacity:.9!important;}
html body.rh3-on .rh3-nav .rabbit-side-ico svg{width:19px!important;height:19px!important;}
html body.rh3-on .rh3-nav .rabbit-nav-label{all:unset!important;flex:1!important;min-width:0!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important;}
html body.rh3-on .rh3-nav .rabbit-nav-badge{all:unset!important;margin-left:auto!important;background:var(--rh3-blue)!important;color:#fff!important;font:700 11px/18px var(--rh3-font)!important;min-width:18px!important;padding:0 6px!important;border-radius:9px!important;text-align:center!important;box-sizing:border-box!important;}
html body.rh3-on .rh3-nav .rh3-chevron{width:8px!important;height:8px!important;border-right:1.8px solid currentColor!important;border-bottom:1.8px solid currentColor!important;transform:rotate(-45deg)!important;margin-left:auto!important;margin-right:4px!important;opacity:.6!important;transition:transform .15s!important;}
html body.rh3-on .rh3-nav details[open] > summary .rh3-chevron{transform:rotate(45deg)!important;}
html body.rh3-on .rh3-nav details{all:unset!important;display:block!important;}
html body.rh3-on .rh3-nav .rabbit-nav-group-items{display:flex!important;flex-direction:column!important;gap:1px!important;margin:2px 0 6px 21px!important;padding-left:10px!important;border-left:1px solid #26395f!important;}
html body.rh3-on .rh3-nav .rabbit-nav-group-items button{min-height:32px!important;padding:7px 10px!important;font-size:13px!important;}
html body.rh3-on .rh3-nav .rabbit-nav-group-items .rabbit-side-ico{display:none!important;}

html body.rh3-on .sidebar .brand.rh3-brand{order:1!important;position:relative!important;}
html body.rh3-on .sidebar #nav.rh3-nav{order:2!important;}
html body.rh3-on .rh3-side-user{all:unset!important;order:9!important;position:static!important;box-sizing:border-box!important;display:flex!important;align-items:center!important;gap:10px!important;margin-top:12px!important;padding:12px 8px 8px!important;border-top:1px solid #22355e!important;cursor:pointer!important;border-radius:0!important;}
html body.rh3-on .rh3-side-user:hover b{color:#fff!important;text-decoration:underline!important;}
html body.rh3-on .rh3-side-user b{display:block!important;color:#fff!important;font:600 13px/1.25 var(--rh3-font)!important;}
html body.rh3-on .rh3-side-user small{display:block!important;color:#8ea0c0!important;font:500 11px/1.3 var(--rh3-font)!important;}
html body.rh3-on .sidebar .rabbit-sidebar-logout{all:unset!important;order:10!important;position:static!important;box-sizing:border-box!important;display:flex!important;align-items:center!important;gap:11px!important;padding:8px 12px!important;margin-top:4px!important;color:#8ea0c0!important;font:500 13px/1 var(--rh3-font)!important;cursor:pointer!important;border-radius:9px!important;}
html body.rh3-on .sidebar .rabbit-sidebar-logout:hover{background:rgba(255,255,255,.06)!important;color:#fff!important;}

/* ---------- topbar ---------- */
html body.rh3-on .topbar.rabbit-pro-topbar{display:flex!important;align-items:center!important;gap:14px!important;background:transparent!important;border:0!important;box-shadow:none!important;padding:22px 26px 6px!important;margin:0!important;position:relative!important;min-height:0!important;}
html body.rh3-on .rh3-greet{display:none!important;min-width:0!important;margin-right:auto!important;}
html body.rh3-on.rh3-home-visible .rh3-greet{display:block!important;}
html body.rh3-on .rh3-greet h1{font:700 24px/1.2 var(--rh3-font)!important;letter-spacing:-.01em!important;color:var(--rh3-ink)!important;margin:0!important;}
html body.rh3-on .rh3-greet p{font:400 13px/1.4 var(--rh3-font)!important;color:var(--rh3-muted)!important;margin:3px 0 0!important;}
html body.rh3-on .topbar .search{margin-left:auto!important;width:min(360px,40vw)!important;max-width:none!important;flex:0 1 360px!important;height:40px!important;border:1px solid var(--rh3-line)!important;background:#fff!important;border-radius:10px!important;box-shadow:none!important;padding:0 6px 0 12px!important;display:flex!important;align-items:center!important;}
html body.rh3-on .topbar .search input{border:0!important;background:transparent!important;box-shadow:none!important;height:100%!important;font:400 13.5px var(--rh3-font)!important;color:var(--rh3-ink)!important;padding:0!important;outline:none!important;flex:1!important;min-width:0!important;}
html body.rh3-on .topbar .search button{background:none!important;border:0!important;box-shadow:none!important;color:#94a3b8!important;font-size:18px!important;width:28px!important;height:28px!important;padding:0!important;}
html body.rh3-on .rabbit-topbar-user{display:flex!important;align-items:center!important;gap:10px!important;margin:0!important;background:none!important;border:0!important;box-shadow:none!important;padding:0!important;}
html body.rh3-on .rabbit-bell{width:40px!important;height:40px!important;border-radius:10px!important;background:#fff!important;border:1px solid var(--rh3-line)!important;box-shadow:none!important;display:grid!important;place-items:center!important;font-size:16px!important;padding:0!important;}

/* ---------- home ---------- */
html body.rh3-on #rh3Home{font-family:var(--rh3-font)!important;color:var(--rh3-ink)!important;padding:12px 26px 28px!important;display:flex!important;flex-direction:column!important;gap:18px!important;font-size:14px!important;line-height:1.4!important;}
html body.rh3-on #rh3Home *,html body.rh3-on #rh3Right *,html body .rh3-hint *{box-sizing:border-box!important;}
html body.rh3-on #rh3Home h2,html body.rh3-on #rh3Home h3,html body.rh3-on #rh3Right h2{margin:0!important;padding:0!important;border:0!important;background:none!important;text-transform:none!important;letter-spacing:normal!important;}
html body.rh3-on #rh3Home svg,html body.rh3-on #rh3Right svg,html body .rh3-hint svg{width:18px!important;height:18px!important;fill:none!important;stroke:currentColor!important;stroke-width:1.9!important;stroke-linecap:round!important;stroke-linejoin:round!important;flex:none!important;}
html body.rh3-on #rh3Home button,html body.rh3-on #rh3Right button,html body .rh3-hint button{font-family:var(--rh3-font)!important;cursor:pointer!important;text-transform:none!important;letter-spacing:normal!important;transform:none!important;}

html body.rh3-on .rh3-card{background:var(--rh3-card)!important;border:1px solid var(--rh3-line)!important;border-radius:var(--rh3-radius)!important;padding:16px 18px!important;box-shadow:0 1px 2px rgba(15,23,42,.03)!important;min-width:0!important;}
html body.rh3-on .rh3-ch{display:flex!important;align-items:baseline!important;gap:10px!important;margin-bottom:10px!important;min-width:0!important;}
html body.rh3-on .rh3-ch h2{font:700 15px/1.3 var(--rh3-font)!important;color:var(--rh3-ink)!important;white-space:nowrap!important;}
html body.rh3-on .rh3-ch small{color:var(--rh3-muted)!important;font-size:12px!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important;min-width:0!important;}
html body.rh3-on .rh3-link{all:unset!important;margin-left:auto!important;color:var(--rh3-blue)!important;font:600 12.5px var(--rh3-font)!important;cursor:pointer!important;white-space:nowrap!important;}
html body.rh3-on .rh3-link:hover{text-decoration:underline!important;}
html body.rh3-on .rh3-link:focus-visible,html body.rh3-on .rh3-btn:focus-visible,html body.rh3-on .rh3-kpi:focus-visible,html body.rh3-on .rh3-m:focus-visible{outline:2px solid var(--rh3-blue)!important;outline-offset:2px!important;}

/* tone */
html body.rh3-on .rh3-t-blue{background:var(--rh3-blue-soft)!important;color:var(--rh3-blue)!important;}
html body.rh3-on .rh3-t-amber{background:var(--rh3-amber-soft)!important;color:var(--rh3-amber)!important;}
html body.rh3-on .rh3-t-green{background:var(--rh3-green-soft)!important;color:var(--rh3-green)!important;}
html body.rh3-on .rh3-t-violet{background:var(--rh3-violet-soft)!important;color:var(--rh3-violet)!important;}

/* KPI */
html body.rh3-on .rh3-kpis{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:14px!important;}
html body.rh3-on .rh3-kpi{all:unset!important;box-sizing:border-box!important;background:#fff!important;border:1px solid var(--rh3-line)!important;border-radius:var(--rh3-radius)!important;padding:16px 18px!important;display:flex!important;align-items:center!important;gap:14px!important;cursor:pointer!important;transition:border-color .15s,box-shadow .15s!important;min-width:0!important;}
html body.rh3-on .rh3-kpi:hover{border-color:#c7d6f5!important;box-shadow:0 4px 14px rgba(37,99,235,.08)!important;}
html body.rh3-on .rh3-kpi-ic{width:42px!important;height:42px!important;border-radius:11px!important;display:grid!important;place-items:center!important;flex:none!important;}
html body.rh3-on .rh3-kpi-ic svg{width:20px!important;height:20px!important;}
html body.rh3-on .rh3-kpi-v{display:flex!important;flex-direction:column!important;min-width:0!important;}
html body.rh3-on .rh3-kpi-v b{font:700 26px/1 var(--rh3-font)!important;color:var(--rh3-ink)!important;}
html body.rh3-on .rh3-kpi-v small{color:var(--rh3-muted)!important;font-size:12.5px!important;margin-top:4px!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important;}
html body.rh3-on .rh3-kpi-cta{margin-left:auto!important;color:var(--rh3-blue)!important;font:600 12px var(--rh3-font)!important;white-space:nowrap!important;}

/* rows */
html body.rh3-on .rh3-row{display:grid!important;grid-template-columns:minmax(0,1.3fr) minmax(0,1fr)!important;gap:16px!important;}
html body.rh3-on .rh3-todo{display:flex!important;align-items:center!important;gap:12px!important;padding:10px 2px!important;border-top:1px solid var(--rh3-line2)!important;min-width:0!important;}
html body.rh3-on .rh3-ch + .rh3-todo{border-top:0!important;}
html body.rh3-on .rh3-tag{font:700 10.5px/1 var(--rh3-font)!important;padding:5px 0!important;border-radius:6px!important;text-transform:uppercase!important;letter-spacing:.04em!important;flex:none!important;width:52px!important;text-align:center!important;}
html body.rh3-on .rh3-todo-tx{flex:1!important;min-width:0!important;}
html body.rh3-on .rh3-todo-tx b{display:block!important;font:600 13.5px/1.35 var(--rh3-font)!important;color:var(--rh3-ink)!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important;}
html body.rh3-on .rh3-todo-tx small{display:block!important;color:var(--rh3-muted)!important;font-size:12px!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important;}
html body.rh3-on .rh3-todo-calm{opacity:.85!important;}
html body.rh3-on .rh3-pri{font:600 11.5px/1 var(--rh3-font)!important;padding:4px 9px!important;border-radius:20px!important;white-space:nowrap!important;flex:none!important;}
html body.rh3-on .rh3-p-red{background:var(--rh3-red-soft)!important;color:var(--rh3-red)!important;}
html body.rh3-on .rh3-p-amber{background:var(--rh3-amber-soft)!important;color:var(--rh3-amber)!important;}
html body.rh3-on .rh3-p-gray{background:#eef2f7!important;color:var(--rh3-muted)!important;}
html body.rh3-on .rh3-btn{all:unset!important;box-sizing:border-box!important;font:600 12.5px/1 var(--rh3-font)!important;border:1px solid var(--rh3-line)!important;border-radius:8px!important;padding:8px 12px!important;background:#fff!important;color:var(--rh3-ink)!important;white-space:nowrap!important;cursor:pointer!important;flex:none!important;transition:background .12s,border-color .12s!important;}
html body.rh3-on .rh3-btn:hover{background:#f6f8fc!important;border-color:#cfd8e6!important;}
html body.rh3-on .rh3-btn[disabled]{opacity:.55!important;cursor:default!important;}
html body.rh3-on .rh3-primary{background:var(--rh3-blue)!important;color:#fff!important;border-color:var(--rh3-blue)!important;}
html body.rh3-on .rh3-primary:hover{background:#1d4fd8!important;border-color:#1d4fd8!important;}
html body.rh3-on .rh3-row-btns{display:flex!important;gap:8px!important;flex-wrap:wrap!important;margin-top:12px!important;}
html body.rh3-on .rh3-empty{display:flex!important;flex-direction:column!important;gap:3px!important;padding:18px 4px!important;color:var(--rh3-muted)!important;font-size:13px!important;}
html body.rh3-on .rh3-empty b{color:var(--rh3-ink)!important;font-size:14px!important;}
html body.rh3-on .rh3-empty.small{padding:6px 0!important;}

/* agenda */
html body.rh3-on .rh3-tl{position:relative!important;padding-left:20px!important;display:flex!important;flex-direction:column!important;}
html body.rh3-on .rh3-tl::before{content:""!important;position:absolute!important;left:5px!important;top:8px!important;bottom:8px!important;width:2px!important;background:var(--rh3-line)!important;}
html body.rh3-on .rh3-ev{all:unset!important;box-sizing:border-box!important;position:relative!important;display:block!important;padding:6px 0 10px!important;cursor:default!important;}
html body.rh3-on button.rh3-ev{cursor:pointer!important;}
html body.rh3-on button.rh3-ev:hover b{color:var(--rh3-blue)!important;}
html body.rh3-on .rh3-ev::before{content:""!important;position:absolute!important;left:-19px!important;top:10px!important;width:10px!important;height:10px!important;border-radius:50%!important;background:#fff!important;border:2px solid var(--rh3-blue)!important;}
html body.rh3-on .rh3-ev.now::before{background:var(--rh3-blue)!important;}
html body.rh3-on .rh3-ev.past{opacity:.55!important;}
html body.rh3-on .rh3-ev time{display:block!important;font:600 12px var(--rh3-font)!important;color:var(--rh3-muted)!important;}
html body.rh3-on .rh3-ev b{display:block!important;font:600 13.5px/1.35 var(--rh3-font)!important;color:var(--rh3-ink)!important;margin-top:1px!important;}
html body.rh3-on .rh3-ev small{display:block!important;color:var(--rh3-muted)!important;font-size:12px!important;}
html body.rh3-on .rh3-free{margin-top:4px!important;background:var(--rh3-green-soft)!important;color:var(--rh3-green)!important;font:600 12.5px/1.4 var(--rh3-font)!important;border-radius:9px!important;padding:9px 12px!important;}

/* mail */
html body.rh3-on .rh3-mail{display:grid!important;grid-template-columns:minmax(0,1.25fr) minmax(0,1fr)!important;padding:0!important;overflow:hidden!important;}
html body.rh3-on .rh3-ml{border-right:1px solid var(--rh3-line)!important;display:flex!important;flex-direction:column!important;min-width:0!important;}
html body.rh3-on .rh3-mh{display:flex!important;align-items:center!important;gap:10px!important;padding:12px 16px 12px 18px!important;border-bottom:1px solid var(--rh3-line)!important;flex-wrap:wrap!important;}
html body.rh3-on .rh3-mh h2{font:700 15px var(--rh3-font)!important;color:var(--rh3-ink)!important;}
html body.rh3-on .rh3-mh small{color:var(--rh3-muted)!important;font-size:12px!important;}
html body.rh3-on .rh3-seg{display:flex!important;background:#f1f4f9!important;border-radius:8px!important;padding:3px!important;margin-left:auto!important;}
html body.rh3-on .rh3-seg button{all:unset!important;font:600 12px var(--rh3-font)!important;padding:5px 11px!important;border-radius:6px!important;color:var(--rh3-muted)!important;cursor:pointer!important;}
html body.rh3-on .rh3-seg button.on{background:#fff!important;color:var(--rh3-ink)!important;box-shadow:0 1px 2px rgba(0,0,0,.08)!important;}
html body.rh3-on .rh3-msearch{display:flex!important;align-items:center!important;gap:6px!important;height:32px!important;width:190px!important;border:1px solid var(--rh3-line)!important;border-radius:8px!important;padding:0 10px!important;color:#94a3b8!important;background:#fff!important;margin:0!important;}
html body.rh3-on .rh3-msearch svg{width:15px!important;height:15px!important;}
html body.rh3-on .rh3-msearch input{all:unset!important;flex:1!important;min-width:0!important;font:400 12.5px var(--rh3-font)!important;color:var(--rh3-ink)!important;}
html body.rh3-on .rh3-msearch input::placeholder{color:#94a3b8!important;}
html body.rh3-on .rh3-icon-btn{all:unset!important;box-sizing:border-box!important;width:32px!important;height:32px!important;border:1px solid var(--rh3-line)!important;border-radius:8px!important;display:grid!important;place-items:center!important;color:var(--rh3-muted)!important;cursor:pointer!important;background:#fff!important;flex:none!important;}
html body.rh3-on .rh3-icon-btn:hover{color:var(--rh3-blue)!important;border-color:#c7d6f5!important;}
html body.rh3-on .rh3-icon-btn svg{width:16px!important;height:16px!important;}
html body.rh3-on .rh3-icon-btn.spin svg{animation:rh3spin 1s linear infinite!important;}
@keyframes rh3spin{to{transform:rotate(360deg)}}
html body.rh3-on .rh3-mlist{max-height:440px!important;overflow-y:auto!important;}
html body.rh3-on .rh3-m{all:unset!important;box-sizing:border-box!important;width:100%!important;display:grid!important;grid-template-columns:32px minmax(0,1fr) auto!important;gap:12px!important;align-items:center!important;padding:11px 18px!important;border-bottom:1px solid var(--rh3-line2)!important;cursor:pointer!important;}
html body.rh3-on .rh3-m:hover{background:#fafbfd!important;}
html body.rh3-on .rh3-m.sel{background:#f5f8ff!important;box-shadow:inset 3px 0 0 var(--rh3-blue)!important;}
html body.rh3-on .rh3-av{width:32px!important;height:32px!important;border-radius:50%!important;color:#fff!important;display:grid!important;place-items:center!important;font:700 12px var(--rh3-font)!important;flex:none!important;position:relative!important;}
html body.rh3-on .rh3-m-tx{min-width:0!important;display:flex!important;flex-direction:column!important;gap:2px!important;}
html body.rh3-on .rh3-m-tx b{font:500 13px var(--rh3-font)!important;color:var(--rh3-ink2)!important;display:flex!important;align-items:center!important;gap:7px!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important;}
html body.rh3-on .rh3-m.unread .rh3-m-tx b{font-weight:700!important;color:var(--rh3-ink)!important;}
html body.rh3-on .rh3-m.unread .rh3-m-tx b::before{content:""!important;width:7px!important;height:7px!important;border-radius:50%!important;background:var(--rh3-blue)!important;flex:none!important;}
html body.rh3-on .rh3-m-tx > span{font-size:12.5px!important;color:var(--rh3-ink2)!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important;}
html body.rh3-on .rh3-m-tx em{font-style:normal!important;color:var(--rh3-muted)!important;}
html body.rh3-on .rh3-m-meta{display:flex!important;flex-direction:column!important;align-items:flex-end!important;gap:4px!important;font-size:11.5px!important;color:var(--rh3-muted)!important;white-space:nowrap!important;}
html body.rh3-on .rh3-clip{display:flex!important;align-items:center!important;gap:2px!important;font-size:11px!important;}
html body.rh3-on .rh3-clip svg{width:12px!important;height:12px!important;}
html body.rh3-on .rh3-mfoot{all:unset!important;box-sizing:border-box!important;margin-top:auto!important;padding:11px 18px!important;font:600 12.5px var(--rh3-font)!important;color:var(--rh3-blue)!important;cursor:pointer!important;border-top:1px solid var(--rh3-line2)!important;}
html body.rh3-on .rh3-mfoot:hover{background:#fafbfd!important;}
html body.rh3-on .rh3-md{padding:16px 20px!important;display:flex!important;flex-direction:column!important;gap:10px!important;min-width:0!important;}
html body.rh3-on .rh3-k{font:700 10.5px var(--rh3-font)!important;color:var(--rh3-blue)!important;text-transform:uppercase!important;letter-spacing:.07em!important;}
html body.rh3-on .rh3-md h3{font:700 16px/1.3 var(--rh3-font)!important;color:var(--rh3-ink)!important;overflow-wrap:anywhere!important;}
html body.rh3-on .rh3-from{font-size:12px!important;color:var(--rh3-muted)!important;overflow-wrap:anywhere!important;}
html body.rh3-on .rh3-ai{background:linear-gradient(180deg,#f3f7ff,#fff)!important;border:1px solid #dbe6ff!important;border-radius:12px!important;padding:11px 14px!important;font-size:13px!important;line-height:1.5!important;color:#1e293b!important;}
html body.rh3-on .rh3-ai b{display:flex!important;align-items:center!important;gap:5px!important;font-size:12px!important;color:var(--rh3-blue)!important;margin-bottom:4px!important;}
html body.rh3-on .rh3-ai b svg{width:13px!important;height:13px!important;}
html body.rh3-on .rh3-busy{color:var(--rh3-muted)!important;font-style:italic!important;}
html body.rh3-on .rh3-acts{display:flex!important;flex-direction:column!important;gap:7px!important;}
html body.rh3-on .rh3-act{display:flex!important;align-items:center!important;gap:10px!important;border:1px solid var(--rh3-line)!important;border-radius:10px!important;padding:8px 10px 8px 12px!important;font-size:13px!important;color:var(--rh3-ink2)!important;}
html body.rh3-on .rh3-act span{flex:1!important;min-width:0!important;}
html body.rh3-on .rh3-md .rh3-row-btns{margin-top:2px!important;}

/* reset forte per i pulsanti dentro i contenitori V3 */
html body.rh3-on #rh3Right button,html body.rh3-on #rh3Home button{box-shadow:none!important;min-height:0!important;min-width:0!important;height:auto!important;margin:0!important;}
html body.rh3-on #rh3Right .rh3-pp,html body.rh3-on #rh3Right .rh3-mod-pop button,html body.rh3-on #rh3Home .rh3-m,html body.rh3-on #rh3Home .rh3-ev,html body.rh3-on #rh3Home .rh3-kpi{border-radius:9px!important;}
html body.rh3-on #rh3Right .rh3-pp{border:0!important;background:transparent!important;box-shadow:none!important;padding:7px 4px!important;}
html body.rh3-on #rh3Right .rh3-pp:hover{background:#f6f8fc!important;}
/* ---------- rightbar ---------- */
html body.rh3-on .rightbar{background:transparent!important;border:0!important;box-shadow:none!important;padding:22px 18px 120px 0!important;}
html body.rh3-on #rh3Right{display:flex!important;flex-direction:column!important;gap:16px!important;font-family:var(--rh3-font)!important;color:var(--rh3-ink)!important;font-size:14px!important;}
html body.rh3-on .rh3-pp{all:unset!important;box-sizing:border-box!important;width:100%!important;display:flex!important;align-items:center!important;gap:11px!important;padding:7px 4px!important;border-radius:9px!important;cursor:pointer!important;}
html body.rh3-on .rh3-pp:hover{background:#f6f8fc!important;}
html body.rh3-on .rh3-pp b{display:block!important;font:600 13px/1.3 var(--rh3-font)!important;color:var(--rh3-ink)!important;}
html body.rh3-on .rh3-pp b i{font-style:normal!important;color:var(--rh3-muted)!important;font-weight:500!important;}
html body.rh3-on .rh3-pp small{display:block!important;font-size:11.5px!important;color:var(--rh3-muted)!important;}
html body.rh3-on .rh3-pp .rh3-av::after{content:""!important;position:absolute!important;right:-1px!important;bottom:-1px!important;width:10px!important;height:10px!important;border-radius:50%!important;background:var(--rh3-green)!important;border:2px solid #fff!important;}
html body.rh3-on .rh3-pp .rh3-av.off::after{background:#cbd5e1!important;}
html body.rh3-on .rh3-mods{display:grid!important;grid-template-columns:1fr 1fr!important;gap:8px!important;}
html body.rh3-on .rh3-mod-wrap{position:relative!important;}
html body.rh3-on .rh3-mod-wrap.open{grid-column:1 / -1!important;}
html body.rh3-on .rh3-mod{all:unset!important;box-sizing:border-box!important;width:100%!important;border:1px solid var(--rh3-line)!important;border-radius:10px!important;padding:10px!important;font:600 12.5px/1.25 var(--rh3-font)!important;display:flex!important;align-items:center!important;gap:8px!important;cursor:pointer!important;color:var(--rh3-ink)!important;}
html body.rh3-on .rh3-mod:hover,html body.rh3-on .rh3-mod-wrap.open .rh3-mod{border-color:#c7d6f5!important;background:#f8faff!important;}
html body.rh3-on .rh3-mod i{width:26px!important;height:26px!important;border-radius:7px!important;display:grid!important;place-items:center!important;flex:none!important;}
html body.rh3-on .rh3-mod i svg{width:15px!important;height:15px!important;}
html body.rh3-on .rh3-mod-pop{display:flex!important;flex-direction:column!important;margin-top:6px!important;border:1px solid var(--rh3-line)!important;border-radius:10px!important;overflow:hidden!important;}
html body.rh3-on .rh3-mod-pop button{all:unset!important;box-sizing:border-box!important;display:flex!important;justify-content:space-between!important;padding:9px 12px!important;font:500 13px var(--rh3-font)!important;color:var(--rh3-ink2)!important;cursor:pointer!important;border-top:1px solid var(--rh3-line2)!important;}
html body.rh3-on .rh3-mod-pop button:first-child{border-top:0!important;}
html body.rh3-on .rh3-mod-pop button:hover{background:#f6f8fc!important;color:var(--rh3-blue)!important;}
html body.rh3-on .rh3-mod-pop span{color:var(--rh3-muted)!important;}
html body.rh3-on .rh3-sync{display:flex!important;align-items:center!important;gap:11px!important;}
html body.rh3-on .rh3-sync b{display:block!important;font:600 13px var(--rh3-font)!important;}
html body.rh3-on .rh3-sync small{display:block!important;font-size:11.5px!important;color:var(--rh3-muted)!important;}
html body.rh3-on .rh3-sync .rh3-icon-btn{margin-left:auto!important;}
html body.rh3-on .rh3-dot{width:9px!important;height:9px!important;border-radius:50%!important;background:var(--rh3-green)!important;box-shadow:0 0 0 4px var(--rh3-green-soft)!important;flex:none!important;}
html body.rh3-on .rh3-dot.bad{background:var(--rh3-amber)!important;box-shadow:0 0 0 4px var(--rh3-amber-soft)!important;}

/* ---------- AIris + Chat dock ---------- */
html body.rh3-on #rabbitUnifiedHub{right:24px!important;bottom:calc(30px + env(safe-area-inset-bottom,0px))!important;left:auto!important;background:transparent!important;border:0!important;box-shadow:none!important;backdrop-filter:none!important;-webkit-backdrop-filter:none!important;padding:0!important;gap:14px!important;display:flex!important;flex-direction:row!important;align-items:center!important;}
html body.rh3-on #rabbitUnifiedHub #rabbitHubChat{order:1!important;width:52px!important;min-width:52px!important;height:52px!important;min-height:52px!important;flex:0 0 52px!important;border-radius:50%!important;background:#fff!important;color:var(--rh3-blue)!important;border:1px solid var(--rh3-line)!important;box-shadow:0 10px 24px rgba(15,23,42,.16)!important;}
html body.rh3-on #rabbitUnifiedHub #rabbitHubMain{order:2!important;width:58px!important;min-width:58px!important;height:58px!important;min-height:58px!important;flex:0 0 58px!important;border-radius:18px!important;background:linear-gradient(135deg,#0ea5a4,#2563eb)!important;color:#fff!important;border:0!important;box-shadow:0 10px 24px rgba(37,99,235,.32)!important;}
html body.rh3-on #rabbitUnifiedHub .rah-fab::after{content:attr(data-label)!important;position:absolute!important;top:auto!important;bottom:-19px!important;left:50%!important;right:auto!important;transform:translateX(-50%)!important;opacity:1!important;visibility:visible!important;background:none!important;border:0!important;box-shadow:none!important;color:var(--rh3-muted)!important;font:600 10.5px/1 var(--rh3-font)!important;padding:0!important;white-space:nowrap!important;pointer-events:none!important;}
html body.rh3-on #rabbitUnifiedHub .rah-fab:hover{transform:translateY(-2px)!important;}

html body .rh3-hint{position:fixed!important;right:24px!important;bottom:122px!important;z-index:2147483900!important;display:flex!important;align-items:flex-start!important;max-width:270px!important;background:#fff!important;border:1px solid var(--rh3-line)!important;border-radius:12px!important;box-shadow:0 10px 28px rgba(15,23,42,.12)!important;font-family:var(--rh3-font)!important;animation:rh3in .25s ease-out!important;}
html body .rh3-hint[hidden]{display:none!important;}
@keyframes rh3in{from{opacity:0;transform:translateY(6px)}to{opacity:1;transform:none}}
html body .rh3-hint-body{all:unset!important;box-sizing:border-box!important;padding:11px 4px 11px 14px!important;font-size:12.5px!important;line-height:1.4!important;color:var(--rh3-ink2)!important;cursor:pointer!important;flex:1!important;}
html body .rh3-hint-body b{display:flex!important;align-items:center!important;gap:5px!important;color:var(--rh3-ink)!important;font-size:13px!important;margin-bottom:2px!important;}
html body .rh3-hint-body b svg{width:13px!important;height:13px!important;color:var(--rh3-blue)!important;}
html body .rh3-hint-x{all:unset!important;padding:9px!important;color:#94a3b8!important;cursor:pointer!important;}
html body .rh3-hint-x:hover{color:var(--rh3-ink)!important;}
html body .rh3-hint-x svg{width:14px!important;height:14px!important;}

/* ---------- responsive ---------- */
@media (max-width:1380px){
  html body.rh3-on .rh3-kpi{padding:14px!important;gap:11px!important;}
  html body.rh3-on .rh3-kpi-cta{display:none!important;}
}
@media (max-width:1180px){
  html body.rh3-on .rh3-row{grid-template-columns:1fr!important;}
  html body.rh3-on .rh3-mail{grid-template-columns:1fr!important;}
  html body.rh3-on .rh3-ml{border-right:0!important;border-bottom:1px solid var(--rh3-line)!important;}
  html body.rh3-on .rh3-mlist{max-height:360px!important;}
}
@media (max-width:900px){
  html body.rh3-on #rh3Home{padding:8px 14px 110px!important;gap:14px!important;}
  html body.rh3-on .rh3-kpis{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:10px!important;}
  html body.rh3-on .rh3-kpi-v b{font-size:22px!important;}
  html body.rh3-on .rh3-kpi-ic{width:36px!important;height:36px!important;}
  html body.rh3-on .topbar.rabbit-pro-topbar{padding:12px 14px 4px!important;flex-wrap:wrap!important;}
  html body.rh3-on.rh3-home-visible .rh3-greet{order:3!important;flex:1 0 100%!important;}
  html body.rh3-on .rh3-greet h1{font-size:20px!important;}
  html body.rh3-on .topbar .search{flex:1 1 auto!important;width:auto!important;}
  html body.rh3-on .rh3-todo{flex-wrap:wrap!important;}
  html body.rh3-on .rh3-todo-tx{flex:1 1 calc(100% - 70px)!important;}
  html body.rh3-on .rh3-todo .rh3-pri{margin-left:64px!important;}
  html body.rh3-on .rh3-mh .rh3-msearch{order:5!important;flex:1 0 100%!important;width:auto!important;}
  html body .rh3-hint{display:none!important;}
  html body.rh3-on #rabbitUnifiedHub{right:14px!important;bottom:calc(22px + env(safe-area-inset-bottom,0px))!important;}
}
@media (max-width:520px){
  html body.rh3-on .rh3-kpi{flex-direction:column!important;align-items:flex-start!important;gap:8px!important;}
  html body.rh3-on .rh3-m{grid-template-columns:30px minmax(0,1fr)!important;}
  html body.rh3-on .rh3-m-meta{grid-column:2!important;flex-direction:row!important;align-items:center!important;}
}
@media (prefers-reduced-motion:reduce){html body .rh3-hint,html body.rh3-on .rh3-icon-btn.spin svg{animation:none!important;}}

/* ---------- ritocchi shell ---------- */
html body.rh3-on .sidebar.rabbit-pro-sidebar::before,html body.rh3-on .sidebar.rabbit-pro-sidebar::after{display:none!important;content:none!important;}
html body.rh3-on .topbar .search input{padding-left:22px!important;}
html body.rh3-on #rabbitUnifiedHub .rah-fab{position:relative!important;right:auto!important;bottom:auto!important;left:auto!important;top:auto!important;margin:0!important;}
@media (min-width:901px){html body.rh3-on .sidebar.rabbit-pro-sidebar{display:flex!important;}}
@media (max-width:900px){
  html body.rh3-on .topbar.rabbit-pro-topbar{height:auto!important;min-height:0!important;max-height:none!important;overflow:visible!important;flex-wrap:wrap!important;row-gap:12px!important;column-gap:10px!important;position:relative!important;}
  html body.rh3-on .topbar .rabbit-mobile-menu-v123{order:1!important;flex:none!important;}
  html body.rh3-on .topbar .search{order:2!important;flex:1 1 0!important;width:auto!important;min-width:0!important;margin:0!important;}
  html body.rh3-on .topbar .rabbit-topbar-user{order:3!important;flex:none!important;}
  html body.rh3-on .rh3-greet{order:4!important;flex:1 0 100%!important;margin:0!important;}
  html body.rh3-on .rh3-todo .rh3-pri{margin-left:64px!important;}
}
html body.rh3-on .topbar .search input#globalSearch{border:0!important;background:transparent!important;box-shadow:none!important;height:100%!important;padding:0 0 0 22px!important;margin:0!important;border-radius:0!important;font:400 13.5px var(--rh3-font)!important;color:var(--rh3-ink)!important;}
@media (max-width:900px){
  html body.rh3-on .topbar .rabbit-topbar-user{flex:0 0 auto!important;width:auto!important;max-width:none!important;}
  html body.rh3-on .topbar .search{height:44px!important;}
}
@media (min-width:901px){
  html body.rh3-on.rh3-no-right .app{grid-template-columns:var(--rh3-side-w,224px) minmax(0,1fr)!important;}
  html body.rh3-on .topbar .rabbit-mobile-menu-v123{display:none!important;}
}
@media (max-width:900px){
  html body.rh3-on.rh3-home-visible .rh3-greet{order:4!important;flex:1 0 100%!important;}
}
@media (min-width:901px){html body.rh3-on .topbar #rabbitMobileMenuButtonV123{display:none!important;}}
@media (max-width:1299px){html body .rh3-hint{display:none!important;}}
html body.rh3-on .rh3-greet p{white-space:normal!important;overflow-wrap:anywhere!important;}
html body.rh3-on .sidebar #nav details.rh3-nav-group{display:block!important;}
html body.rh3-on .sidebar #nav details.rh3-nav-group > summary{display:flex!important;}
html body.rh3-on .sidebar #nav details.rh3-nav-group > summary::after,html body.rh3-on .sidebar #nav details.rh3-nav-group > summary::before{display:none!important;content:none!important;}
html body.rh3-on .sidebar #nav details.rh3-nav-group > summary i.rh3-chevron{all:unset!important;display:block!important;width:7px!important;height:7px!important;border-right:1.8px solid currentColor!important;border-bottom:1.8px solid currentColor!important;transform:rotate(-45deg)!important;margin:0 6px 0 auto!important;opacity:.6!important;transition:transform .15s!important;flex:none!important;}
html body.rh3-on .sidebar #nav details.rh3-nav-group[open] > summary i.rh3-chevron{transform:rotate(45deg)!important;}
html body.rh3-on .sidebar #nav details.rh3-nav-group > summary i.rh3-chevron::before,html body.rh3-on .sidebar #nav details.rh3-nav-group > summary i.rh3-chevron::after{display:none!important;content:none!important;}
html body.rh3-on .sidebar #nav details.rh3-nav-group > summary{font-weight:600!important;font-size:13px!important;}
