
:root{--bg:#f5f7fb;--bg2:#eef4ff;--card:#fff;--ink:#101828;--muted:#667085;--soft:#98a2b3;--line:#e4e7ec;--brand:#2563eb;--brand2:#0f172a;--green:#16a34a;--orange:#f97316;--violet:#7c3aed;--red:#dc2626;--shadow:0 24px 70px rgba(16,24,40,.10);--shadow2:0 10px 28px rgba(16,24,40,.07);--radius:26px}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;background:radial-gradient(circle at top left,#eaf1ff 0,#f7f9fc 35%,#f6f7fb 100%);color:var(--ink)}a{color:inherit;text-decoration:none}button,input,select,textarea{font:inherit}.wrap{max-width:1200px;margin:0 auto;padding:0 22px}.topbar{position:sticky;top:0;z-index:50;background:rgba(255,255,255,.82);backdrop-filter:blur(18px);border-bottom:1px solid rgba(228,231,236,.9)}.nav{height:78px;display:flex;align-items:center;justify-content:space-between;gap:18px}.brand{display:flex;align-items:center;gap:13px;font-weight:950;letter-spacing:-.02em;font-size:21px}.brand small{display:block;font-weight:750;color:#667085;font-size:11px;letter-spacing:.02em;margin-top:2px}.mark{width:44px;height:44px;border-radius:16px;background:linear-gradient(135deg,#1d4ed8,#06b6d4);display:grid;place-items:center;color:white;font-weight:1000;box-shadow:0 16px 32px rgba(37,99,235,.25)}.navlinks{display:flex;align-items:center;gap:8px;font-weight:800;color:#475467}.navlinks a{padding:10px 12px;border-radius:14px}.navlinks a:hover{background:#f2f4f7;color:#101828}.lang-switch{display:inline-flex;gap:4px;background:#f2f4f7;border:1px solid var(--line);border-radius:999px;padding:4px}.lang-switch a{font-size:12px;padding:6px 8px;border-radius:999px;color:#667085;font-weight:900}.lang-switch a.active{background:white;color:#1d4ed8;box-shadow:0 6px 14px rgba(16,24,40,.08)}.btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;border:1px solid #d0d5dd;background:white;color:#101828;border-radius:16px;padding:13px 18px;font-weight:900;box-shadow:0 8px 22px rgba(16,24,40,.05);cursor:pointer;transition:.18s}.btn:hover{transform:translateY(-1px);box-shadow:0 14px 30px rgba(16,24,40,.10)}.btn.primary{background:linear-gradient(135deg,#1d4ed8,#2563eb 55%,#06b6d4);color:white;border-color:#1d4ed8}.btn.dark{background:#101828;color:white;border-color:#101828}.btn.ghost{background:rgba(255,255,255,.6)}.btn.small{padding:9px 12px;border-radius:12px;font-size:13px}.hero{padding:86px 0 58px;display:grid;grid-template-columns:1.02fr .98fr;gap:44px;align-items:center}.kicker{display:inline-flex;align-items:center;gap:8px;background:#eff6ff;color:#1d4ed8;border:1px solid #bfdbfe;border-radius:999px;padding:8px 14px;font-weight:1000;letter-spacing:.08em;text-transform:uppercase;font-size:12px}.kicker.dark{background:rgba(255,255,255,.14);color:white;border-color:rgba(255,255,255,.25)}.hero h1{font-size:64px;line-height:.94;margin:18px 0 18px;letter-spacing:-.06em}.lead{font-size:20px;line-height:1.58;color:#475467;margin:0 0 28px}.hero-actions{display:flex;gap:13px;flex-wrap:wrap}.trust{display:flex;flex-wrap:wrap;gap:9px;margin-top:26px}.trust span{background:white;border:1px solid var(--line);border-radius:999px;padding:9px 12px;font-weight:850;color:#344054;box-shadow:0 8px 20px rgba(16,24,40,.04)}.hero-visual{position:relative}.software-frame{background:#0b1220;border:1px solid rgba(255,255,255,.12);border-radius:34px;padding:18px;box-shadow:var(--shadow);overflow:hidden}.software-frame:before{content:"";position:absolute;inset:60px -40px auto auto;width:190px;height:190px;background:#2563eb;filter:blur(80px);opacity:.5}.frame-top{position:relative;display:flex;align-items:center;justify-content:space-between;gap:12px;color:#e5e7eb;margin-bottom:14px}.dots{display:flex;gap:7px}.dots i{width:10px;height:10px;border-radius:50%;background:#64748b}.dots i:nth-child(1){background:#f87171}.dots i:nth-child(2){background:#fbbf24}.dots i:nth-child(3){background:#34d399}.frame-title{font-weight:900}.frame-tag{font-size:12px;background:rgba(255,255,255,.1);border:1px solid rgba(255,255,255,.12);border-radius:999px;padding:6px 10px}.dash-grid{position:relative;display:grid;grid-template-columns:1fr 1fr;gap:12px}.dash-panel{background:rgba(255,255,255,.95);border-radius:22px;padding:18px;box-shadow:0 14px 28px rgba(0,0,0,.12)}.dash-panel.wide{grid-column:1/-1}.dash-label{text-transform:uppercase;letter-spacing:.08em;font-size:11px;font-weight:1000;color:#667085}.dash-big{font-size:46px;font-weight:1000;letter-spacing:-.05em;margin:4px 0;color:#101828}.dash-sub{color:#667085;font-weight:750}.mini-pills{display:flex;flex-wrap:wrap;gap:8px;margin-top:12px}.mini-pills span{background:#eff6ff;color:#1d4ed8;border-radius:999px;padding:8px 10px;font-size:12px;font-weight:900}.shift-card{display:flex;align-items:center;gap:12px;background:#f8fafc;border:1px solid #e2e8f0;border-radius:16px;padding:12px;margin-top:10px}.avatar{width:40px;height:40px;border-radius:14px;background:linear-gradient(135deg,#2563eb,#06b6d4);display:grid;place-items:center;color:white;font-weight:1000}.shift-meta b{display:block}.shift-meta span{display:block;color:#667085;font-size:13px;margin-top:2px}.floating-card{position:absolute;right:-14px;bottom:-24px;background:white;border:1px solid var(--line);border-radius:22px;padding:16px;width:220px;box-shadow:var(--shadow2)}.floating-card b{display:block;font-size:28px}.floating-card span{color:#667085;font-weight:800}.progress{height:9px;background:#e2e8f0;border-radius:999px;margin-top:14px;overflow:hidden}.progress i{display:block;width:82%;height:100%;background:linear-gradient(90deg,#2563eb,#06b6d4)}.section{padding:58px 0}.section.compact{padding:28px 0}.section h2{font-size:42px;line-height:1.04;letter-spacing:-.045em;margin:14px 0 12px}.section p.sub{font-size:18px;color:#667085;line-height:1.58;margin:0 0 26px}.split{display:grid;grid-template-columns:1fr .82fr;gap:28px;align-items:center}.checklist{display:grid;gap:12px;margin-top:22px}.check{background:white;border:1px solid var(--line);border-radius:18px;padding:15px 16px;font-weight:850;box-shadow:0 8px 20px rgba(16,24,40,.04)}.check:before{content:"✓";display:inline-grid;place-items:center;width:25px;height:25px;background:#dcfce7;color:#166534;border-radius:50%;margin-right:10px}.pain-card,.panel,.feature,.price,.case-card,.step,.employee-card{background:white;border:1px solid var(--line);border-radius:var(--radius);box-shadow:0 12px 34px rgba(16,24,40,.055);padding:24px}.pain-row{display:flex;gap:14px;align-items:flex-start;border-top:1px solid var(--line);padding-top:18px;margin-top:18px}.pain-row strong{display:block;font-size:18px}.pain-row span{display:block;color:#667085;line-height:1.5;margin-top:4px}.icon{width:46px;height:46px;border-radius:16px;background:#dbeafe;color:#1d4ed8;display:grid;place-items:center;font-size:22px;font-weight:1000;flex:none}.icon.orange{background:#ffedd5;color:#c2410c}.icon.blue{background:#dbeafe;color:#1d4ed8}.icon.violet{background:#ede9fe;color:#6d28d9}.grid3{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}.grid4{display:grid;grid-template-columns:repeat(4,1fr);gap:16px}.feature h3,.price h3,.case-card h3,.step h3{font-size:21px;margin:12px 0 8px;letter-spacing:-.02em}.feature p,.price p,.case-card p,.step p{color:#667085;line-height:1.55;margin:0}.workflow{display:grid;grid-template-columns:repeat(4,1fr);gap:16px;counter-reset:step}.step{position:relative;padding-top:58px}.step:before{counter-increment:step;content:"0" counter(step);position:absolute;top:20px;left:22px;color:#2563eb;font-weight:1000;letter-spacing:-.04em;font-size:24px}.showcase-band{background:linear-gradient(135deg,#0b1220,#172554);color:white;border-radius:36px;padding:38px;display:grid;grid-template-columns:1fr .95fr;gap:30px;align-items:center;box-shadow:var(--shadow);overflow:hidden}.showcase-band h2{color:white}.showcase-band p{color:#cbd5e1;font-size:18px;line-height:1.56}.doc-preview{background:white;color:#101828;border-radius:28px;padding:22px;box-shadow:0 24px 60px rgba(0,0,0,.20)}.doc-head{display:flex;justify-content:space-between;gap:12px;color:#475467;font-weight:900;margin-bottom:14px}.doc-line{display:grid;grid-template-columns:105px 1fr 70px;gap:12px;align-items:center;padding:12px 0;border-top:1px solid #e4e7ec}.bars{height:10px;background:#e5e7eb;border-radius:999px;overflow:hidden}.bars i{display:block;height:100%;background:linear-gradient(90deg,#2563eb,#06b6d4);border-radius:999px}.pricing{display:grid;grid-template-columns:repeat(4,1fr);gap:16px}.price{position:relative;display:flex;flex-direction:column}.price.hot{border-color:#2563eb;box-shadow:0 24px 60px rgba(37,99,235,.16);transform:translateY(-6px)}.badge{position:absolute;right:16px;top:16px;background:#eff6ff;color:#1d4ed8;border:1px solid #bfdbfe;border-radius:999px;padding:6px 10px;font-size:12px;font-weight:1000}.amount{font-size:38px;font-weight:1000;letter-spacing:-.045em;margin:14px 0}.amount small{font-size:14px;color:#667085}.ticks{list-style:none;padding:0;margin:18px 0 22px;display:grid;gap:10px;color:#344054}.ticks li:before{content:'✓';color:#16a34a;font-weight:1000;margin-right:8px}.price .btn{margin-top:auto}.faq{display:grid;gap:12px}.faq details{background:white;border:1px solid var(--line);border-radius:18px;padding:16px 18px;box-shadow:0 8px 20px rgba(16,24,40,.04)}.faq summary{font-weight:950;cursor:pointer}.faq p{color:#667085;line-height:1.55}.form{display:grid;gap:13px}.form label{font-weight:900;color:#344054}.input,input,select,textarea{width:100%;border:1px solid #d0d5dd;border-radius:15px;padding:13px 14px;background:white;color:#101828;margin-top:7px}.input:focus,input:focus,select:focus,textarea:focus{outline:3px solid rgba(37,99,235,.14);border-color:#2563eb}textarea{min-height:115px}.notice{padding:14px 16px;border-radius:16px;border:1px solid #bbf7d0;background:#f0fdf4;color:#166534;font-weight:800}.alert{padding:14px 16px;border-radius:16px;border:1px solid #fecaca;background:#fef2f2;color:#991b1b;font-weight:800}.two{display:grid;grid-template-columns:1fr 1fr;gap:18px}.three{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}.four{display:grid;grid-template-columns:repeat(4,1fr);gap:16px}.login{min-height:100vh;display:grid;place-items:center;padding:30px}.login-card{width:min(560px,100%);background:white;border:1px solid var(--line);border-radius:30px;padding:30px;box-shadow:var(--shadow)}.shell{display:grid;grid-template-columns:270px 1fr;min-height:100vh}.sidebar{background:#0b1220;color:#fff;padding:22px}.sidebar .brand{font-size:19px;margin-bottom:28px}.menu{display:grid;gap:8px}.menu a{padding:12px 14px;border-radius:14px;color:#cbd5e1;font-weight:850}.menu a:hover,.menu a.active{background:rgba(255,255,255,.10);color:white}.main{padding:26px}.head{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:20px}.head h1{font-size:32px;letter-spacing:-.035em;margin:0}.cards{display:grid;grid-template-columns:repeat(4,1fr);gap:14px;margin-bottom:18px}.kpi{background:white;border:1px solid var(--line);border-radius:22px;padding:20px;box-shadow:0 10px 26px rgba(16,24,40,.045)}.kpi span{color:#667085;font-weight:900}.kpi strong{display:block;font-size:30px;margin-top:8px;letter-spacing:-.04em}.table-wrap{overflow:auto}.table{width:100%;border-collapse:separate;border-spacing:0 9px;min-width:760px}.table th{text-align:left;color:#667085;font-size:13px;padding:0 12px}.table td{background:white;border-top:1px solid var(--line);border-bottom:1px solid var(--line);padding:14px 12px}.table td:first-child{border-left:1px solid var(--line);border-radius:14px 0 0 14px}.table td:last-child{border-right:1px solid var(--line);border-radius:0 14px 14px 0}.pill{display:inline-flex;align-items:center;border-radius:999px;padding:6px 10px;font-size:12px;font-weight:1000}.pill.active{background:#dcfce7;color:#166534}.pill.trial{background:#dbeafe;color:#1d4ed8}.pill.pending{background:#ffedd5;color:#c2410c}.pill.expired,.pill.cancelled{background:#fee2e2;color:#991b1b}.appbar{background:white;border-bottom:1px solid var(--line)}.appdash{padding:34px 0}.module-card{display:grid;grid-template-columns:1fr auto;gap:20px;align-items:center;background:white;border:1px solid var(--line);border-radius:30px;padding:30px;box-shadow:var(--shadow)}.summary-strip{display:grid;grid-template-columns:repeat(4,1fr);gap:12px;margin:18px 0}.summary-pill{background:white;border:1px solid var(--line);border-radius:18px;padding:16px}.summary-pill span{display:block;color:#667085;font-weight:900}.summary-pill b{display:block;font-size:22px;margin-top:4px}.quick-shift{background:white;border:1px solid var(--line);border-radius:28px;padding:24px;box-shadow:var(--shadow2);margin-bottom:18px}.quick-actions{display:flex;flex-wrap:wrap;gap:8px;margin-top:10px}.tabs{display:flex;flex-wrap:wrap;gap:8px;margin:12px 0 18px}.tab{border:1px solid #d0d5dd;background:white;border-radius:999px;padding:10px 14px;font-weight:950;cursor:pointer}.tab.active{background:#101828;color:white;border-color:#101828}.planning-board{display:grid;grid-template-columns:repeat(7,minmax(190px,1fr));gap:12px;overflow:auto;padding-bottom:8px}.day-column{background:#f8fafc;border:1px solid #e2e8f0;border-radius:24px;padding:14px;min-height:360px}.day-head{display:flex;justify-content:space-between;gap:10px;align-items:flex-start;margin-bottom:12px}.day-head b{font-size:18px}.day-head small{color:#667085;font-weight:800}.day-actions{display:flex;gap:5px}.mini-btn{border:1px solid #d0d5dd;background:white;border-radius:10px;padding:6px 8px;font-weight:1000;cursor:pointer}.shift{background:white;border:1px solid var(--line);border-left:5px solid #2563eb;border-radius:18px;padding:12px;margin-bottom:10px;box-shadow:0 8px 18px rgba(16,24,40,.045)}.shift.p{border-left-color:#06b6d4}.shift.e{border-left-color:#f97316}.shift.fer{border-left-color:#7c3aed}.shift.perm{border-left-color:#16a34a}.shift.mal{border-left-color:#dc2626}.shift-time{font-weight:1000;color:#101828}.shift-name{font-weight:950;margin-top:5px}.shift-note{color:#667085;font-size:13px;margin-top:4px}.shift-foot{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-top:10px;color:#667085;font-size:12px;font-weight:850}.employee-cards{display:grid;grid-template-columns:repeat(3,1fr);gap:14px}.meter{height:10px;background:#e2e8f0;border-radius:999px;overflow:hidden}.meter i{display:block;height:100%;background:linear-gradient(90deg,#2563eb,#06b6d4)}.calendar-sheet{overflow:auto;background:white;border:1px solid var(--line);border-radius:24px;padding:16px}.sheet{border-collapse:collapse;width:100%;min-width:980px}.sheet th,.sheet td{border:1px solid #d9e0ea;padding:9px;text-align:center}.sheet th{background:#f8fafc}.sheet th:first-child,.sheet td:first-child{text-align:left;font-weight:950;min-width:190px}.bar{height:31px;border-radius:10px;background:#dbeafe;color:#1d4ed8;display:flex;align-items:center;justify-content:center;font-weight:1000;font-size:12px}.bar.p{background:#cffafe;color:#155e75}.bar.e{background:#ffedd5;color:#c2410c}.legal-page{background:white;border:1px solid var(--line);border-radius:30px;padding:30px;box-shadow:var(--shadow2)}.legal-page h2{font-size:24px;margin-top:28px}.legal-page p,.legal-page li{color:#475467;line-height:1.65}.public-footer{background:#0b1220;color:#cbd5e1;margin-top:55px;padding:44px 0 24px;border-top:1px solid rgba(255,255,255,.08)}.footer-grid{display:grid;grid-template-columns:1.4fr .7fr .7fr 1fr;gap:26px}.footer-grid h4{color:white;margin:0 0 12px}.footer-grid a{display:block;color:#cbd5e1;margin:9px 0;font-weight:750}.footer-brand{color:white;margin-bottom:12px}.footer-bottom{border-top:1px solid rgba(255,255,255,.1);padding-top:18px;margin-top:28px;color:#94a3b8}.cookie-banner{position:fixed;left:18px;right:18px;bottom:18px;z-index:100;background:white;border:1px solid var(--line);border-radius:22px;padding:16px;box-shadow:var(--shadow);display:none;align-items:center;justify-content:space-between;gap:18px;max-width:980px;margin:0 auto}.cookie-banner.show{display:flex}.cookie-banner p{margin:4px 0 0;color:#667085;line-height:1.4}.cookie-actions{display:flex;gap:8px;flex:none}.muted{color:#667085}.hide{display:none!important}@media(max-width:1050px){.hero,.split,.showcase-band{grid-template-columns:1fr}.pricing,.grid3,.grid4,.workflow,.cards,.employee-cards,.summary-strip,.four{grid-template-columns:1fr 1fr}.navlinks{display:none}.hero h1{font-size:48px}.planning-board{grid-template-columns:repeat(7,240px)}.shell{grid-template-columns:1fr}.sidebar{position:static}.footer-grid{grid-template-columns:1fr 1fr}}@media(max-width:700px){.hero{padding-top:48px}.hero h1{font-size:39px}.section h2{font-size:32px}.pricing,.grid3,.grid4,.workflow,.cards,.employee-cards,.summary-strip,.two,.three,.four,.footer-grid{grid-template-columns:1fr}.module-card{grid-template-columns:1fr}.cookie-banner{display:none!important}.floating-card{position:static;margin-top:14px;width:auto}}

/* --- Vetrina prodotto e back office commerciale --- */
.product-visual-section{position:relative}.visual-gallery{display:grid;grid-template-columns:repeat(3,1fr);gap:20px;margin-top:26px}.visual-card{background:white;border:1px solid var(--line);border-radius:30px;overflow:hidden;box-shadow:0 20px 52px rgba(16,24,40,.08);transition:.2s}.visual-card:hover{transform:translateY(-4px);box-shadow:0 28px 70px rgba(16,24,40,.13)}.visual-img{background:linear-gradient(135deg,#eff6ff,#f8fafc);padding:14px}.visual-img img{width:100%;height:auto;display:block;border-radius:22px}.visual-content{padding:22px}.visual-content h3{font-size:23px;margin:0 0 10px;letter-spacing:-.025em}.visual-content p{margin:0;color:#667085;line-height:1.55;font-weight:650}.section-head{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;margin-bottom:18px}.section-head h2{margin:4px 0 6px;letter-spacing:-.035em}.section-head p{margin:0;color:#667085;line-height:1.5}.eyebrow{display:inline-flex;align-items:center;gap:7px;padding:7px 11px;border-radius:999px;background:#eff6ff;color:#1d4ed8;border:1px solid #bfdbfe;font-size:11px;font-weight:1000;letter-spacing:.08em;text-transform:uppercase}.admin-stack{align-items:start}.action-row{display:flex;flex-wrap:wrap;gap:10px;align-items:center;margin-top:4px}.inline-checks{display:flex;flex-wrap:wrap;gap:14px;background:#f8fafc;border:1px solid var(--line);border-radius:18px;padding:14px}.inline-checks label{display:flex;align-items:center;gap:8px;margin:0}.inline-checks input{width:auto;margin:0}.admin-helper{border:1px dashed #bfdbfe;background:#eff6ff;border-radius:18px;padding:14px;color:#1e3a8a;font-weight:800;line-height:1.45}.panel .form textarea{min-height:98px}.panel .form .btn{width:max-content}@media(max-width:1050px){.visual-gallery{grid-template-columns:1fr}.section-head{display:block}.admin-stack{grid-template-columns:1fr!important}}

/* --- marketing showcase --- */
.section-head{display:flex;align-items:flex-start;justify-content:space-between;gap:18px;margin-bottom:20px}.section-head.center{justify-content:center;text-align:center}.section-head h2{margin:6px 0 6px}.eyebrow{display:inline-block;font-size:12px;font-weight:900;letter-spacing:.08em;text-transform:uppercase;color:#148748;background:#ecfdf3;border:1px solid #bde2ca;border-radius:999px;padding:7px 12px}.showcase-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:20px}.shot-card{background:#fff;border:1px solid var(--line);border-radius:26px;overflow:hidden;box-shadow:0 14px 36px rgba(16,24,40,.06)}.shot-frame{padding:14px;background:linear-gradient(180deg,#f8fbf9 0%,#eef5f1 100%);border-bottom:1px solid var(--line)}.shot-frame img{display:block;width:100%;height:auto;border-radius:18px;border:1px solid #d8e5de;background:#fff}.shot-body{padding:18px 18px 22px}.shot-body h3{margin:0 0 8px;font-size:20px}.shot-body p{margin:0;color:#667085;line-height:1.55}

/* --- admin/dashboard improvements --- */
.admin-stack{align-items:start}.inline-checks{display:flex;gap:18px;flex-wrap:wrap}.inline-checks label{font-weight:700}.action-row{display:flex;gap:12px;flex-wrap:wrap;align-items:center}.form textarea{min-height:96px}#newCustomerFields{padding:8px 0 2px}.compact-note{color:#667085;font-size:14px}.panel h2{margin:0 0 8px}.panel .subtle{color:#667085}.table .btn.small{margin-right:6px}

/* public visual tweaks */
.hero-visual .software-frame{box-shadow:0 24px 58px rgba(15,23,42,.14)}

@media(max-width:980px){.showcase-grid{grid-template-columns:1fr}.section-head{display:block}}


/* === ShiftMastro Professional Client Suite === */
.app-nav a.active{background:#eef4ff;color:#175cd3}.client-area{--client-blue:#1d4ed8;--client-cyan:#06b6d4}.client-hero,.admin-hero{background:linear-gradient(135deg,#0f172a 0%,#1e3a8a 55%,#0f766e 100%);color:#fff;border-radius:34px;padding:34px;box-shadow:0 26px 70px rgba(15,23,42,.22);display:flex;justify-content:space-between;gap:28px;align-items:center;margin-bottom:20px;position:relative;overflow:hidden}.client-hero:after,.admin-hero:after{content:"";position:absolute;right:-80px;top:-80px;width:260px;height:260px;background:rgba(255,255,255,.12);border-radius:50%}.client-hero h1,.admin-hero h2{color:#fff;margin:10px 0 10px;font-size:42px;letter-spacing:-.045em}.client-hero p,.admin-hero p{color:#dbeafe;max-width:760px;font-size:17px;line-height:1.55}.premium-kpis .kpi{border:0;box-shadow:0 16px 42px rgba(15,23,42,.08)}.client-grid{display:grid;grid-template-columns:1.15fr 1fr 1fr 1fr;gap:16px;margin:20px 0}.client-module{background:#fff;border:1px solid #e5e7eb;border-radius:28px;padding:24px;box-shadow:0 14px 38px rgba(16,24,40,.06);display:flex;flex-direction:column;gap:12px}.client-module.primary-module{background:linear-gradient(180deg,#ffffff,#eff6ff);border-color:#bfdbfe}.client-module h2{margin:0;font-size:23px}.client-module p{color:#667085;line-height:1.55;margin:0;flex:1}.module-icon{width:52px;height:52px;border-radius:18px;background:#eef4ff;display:grid;place-items:center;font-size:27px}.workflow-list{display:grid;gap:12px}.workflow-list div{display:flex;align-items:center;gap:12px;background:#f8fafc;border:1px solid #e2e8f0;border-radius:16px;padding:13px}.workflow-list b{width:34px;height:34px;border-radius:12px;background:#1d4ed8;color:#fff;display:grid;place-items:center}.workflow-list span{font-weight:750;color:#475467}.activity-list{display:grid;gap:10px}.activity-list div{padding:13px;border:1px solid #e5e7eb;border-radius:16px;background:#f8fafc}.activity-list strong,.activity-list span{display:block}.activity-list span{color:#667085;margin-top:3px}.feature-list{display:grid;gap:12px}.feature-list div{border:1px solid #e2e8f0;background:#f8fafc;border-radius:18px;padding:15px}.feature-list b,.feature-list span{display:block}.feature-list span{color:#667085;margin-top:4px}.employee-directory{display:grid;gap:12px}.employee-tile{display:grid;grid-template-columns:auto 1fr auto;gap:16px;align-items:center;background:#fff;border:1px solid #e2e8f0;border-radius:24px;padding:16px;box-shadow:0 10px 26px rgba(16,24,40,.04)}.employee-tile.is-muted{opacity:.62}.employee-avatar{width:54px;height:54px;border-radius:18px;background:linear-gradient(135deg,#1d4ed8,#06b6d4);color:#fff;display:grid;place-items:center;font-weight:1000}.employee-info h3{margin:0;font-size:20px}.employee-info p{margin:4px 0 8px;color:#667085}.employee-tags{display:flex;flex-wrap:wrap;gap:7px}.employee-tags span,.feature-chips span{background:#eef4ff;color:#175cd3;border-radius:999px;padding:6px 10px;font-size:12px;font-weight:900}.employee-actions{display:flex;gap:8px;flex-wrap:wrap}.empty-state{background:#fff;border:1px dashed #93c5fd;border-radius:28px;padding:30px;text-align:center;color:#475467}.empty-state.large{margin-top:20px}.toggle-line{display:flex;gap:10px;align-items:center}.toggle-line input{width:auto}.planner-pro-layout{display:grid;grid-template-columns:330px 1fr;gap:18px;align-items:start}.planning-workspace{min-width:0}.employee-week-grid{display:grid;grid-template-columns:230px repeat(7,minmax(170px,1fr));gap:8px;overflow:auto;background:#fff;border:1px solid #e5e7eb;border-radius:28px;padding:14px;box-shadow:0 16px 42px rgba(16,24,40,.06)}.grid-head{position:sticky;top:0;background:#f8fafc;border:1px solid #e2e8f0;border-radius:16px;padding:12px;text-align:center;font-weight:900;z-index:1}.grid-head.first{text-align:left}.grid-head span{display:block;color:#667085;font-size:12px;margin-top:2px}.employee-name-cell{background:#0f172a;color:#fff;border-radius:18px;padding:14px;min-height:116px;position:sticky;left:0;z-index:2}.employee-name-cell strong,.employee-name-cell span{display:block}.employee-name-cell span{color:#cbd5e1;font-size:13px;margin-top:6px}.shift-cell{background:#f8fafc;border:1px solid #e2e8f0;border-radius:18px;min-height:116px;padding:8px}.cell-actions{display:flex;gap:5px;margin-bottom:8px}.cell-actions button{border:1px solid #d0d5dd;background:white;border-radius:8px;padding:5px 7px;font-size:11px;font-weight:1000;cursor:pointer}.quick-form{position:sticky;top:94px}.quick-form .full{width:100%}.quick-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:8px;margin-top:12px}.quick-grid button{border:1px solid #d0d5dd;background:#fff;border-radius:12px;padding:10px;font-weight:950;cursor:pointer}.payroll-preview{display:grid;grid-template-columns:repeat(5,1fr);gap:12px}.payroll-preview div{border:1px solid #e2e8f0;border-radius:18px;background:#f8fafc;padding:16px}.payroll-preview b,.payroll-preview span{display:block}.payroll-preview span{font-size:24px;font-weight:950;margin-top:7px}.timeclock-layout{display:grid;grid-template-columns:360px 1fr;gap:18px;align-items:start}.terminal-card{background:linear-gradient(180deg,#ffffff,#eff6ff)}.clock-buttons{display:grid;grid-template-columns:1fr 1fr;gap:10px}.package-matrix{display:grid;grid-template-columns:repeat(5,1fr);gap:14px}.package-card{background:#fff;border:1px solid #e2e8f0;border-radius:24px;padding:20px;box-shadow:0 12px 30px rgba(16,24,40,.05)}.package-card.hot{border-color:#22c55e;box-shadow:0 18px 48px rgba(34,197,94,.14)}.package-card h3{margin:0 0 8px}.package-card p{color:#667085;min-height:48px}.feature-chips{display:flex;gap:6px;flex-wrap:wrap}.plan-checks{max-height:190px;overflow:auto}.pricing-wide{grid-template-columns:repeat(5,1fr)}.compact-hero{grid-template-columns:1fr;padding-bottom:20px}@media(max-width:1200px){.client-grid,.package-matrix,.pricing-wide{grid-template-columns:1fr 1fr}.planner-pro-layout,.timeclock-layout{grid-template-columns:1fr}.quick-form{position:static}.employee-week-grid{grid-template-columns:210px repeat(7,180px)}}@media(max-width:760px){.client-hero,.admin-hero{display:block}.client-hero h1,.admin-hero h2{font-size:34px}.client-grid,.package-matrix,.pricing-wide,.payroll-preview{grid-template-columns:1fr}.employee-tile{grid-template-columns:1fr}.employee-avatar{width:48px;height:48px}.clock-buttons{grid-template-columns:1fr}}


/* === Full width client area + professional timeclock suite === */
.client-shell-body{background:#f3f7fb;color:#101828}.client-appbar{position:sticky;top:0;z-index:50;background:rgba(255,255,255,.94);backdrop-filter:blur(16px)}.app-nav-wrap{max-width:none;width:100%;padding-left:28px;padding-right:28px}.client-shell-body .appdash.client-area,.full-client-page{max-width:none!important;width:100%!important;padding:26px 28px 42px!important}.client-shell-body .wrap{max-width:none}.client-command-hero{background:radial-gradient(circle at 85% 0%,rgba(14,165,233,.35),transparent 28%),linear-gradient(135deg,#0f172a 0%,#123d71 47%,#0f766e 100%);color:#fff;border-radius:34px;padding:34px;display:grid;grid-template-columns:1fr 360px;gap:26px;align-items:stretch;box-shadow:0 26px 70px rgba(15,23,42,.22);margin-bottom:20px;overflow:hidden}.client-command-hero h1{font-size:48px;line-height:1;letter-spacing:-.055em;margin:12px 0;color:#fff;max-width:920px}.client-command-hero p{font-size:18px;line-height:1.55;color:#dbeafe;max-width:960px}.kicker.light{background:rgba(255,255,255,.14);border-color:rgba(255,255,255,.22);color:white}.btn.white{background:#fff;color:#0f172a;border-color:white}.btn.ghost-light{background:rgba(255,255,255,.10);color:#fff;border-color:rgba(255,255,255,.28)}.client-status-card{background:rgba(255,255,255,.12);border:1px solid rgba(255,255,255,.20);border-radius:28px;padding:24px;display:flex;flex-direction:column;justify-content:space-between;backdrop-filter:blur(10px)}.status-top span,.status-progress span{display:block;color:#bfdbfe;font-size:13px;font-weight:900;text-transform:uppercase;letter-spacing:.08em}.status-top b{display:block;margin-top:6px;color:#fff;font-size:28px}.status-metrics{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin:22px 0}.status-metrics div{background:rgba(255,255,255,.12);border-radius:18px;padding:14px;text-align:center}.status-metrics strong{display:block;color:white;font-size:28px}.status-metrics span{display:block;color:#dbeafe;font-size:12px;font-weight:800}.status-progress{background:rgba(15,23,42,.28);border-radius:999px;padding:10px 12px}.status-progress i{display:block;height:8px;margin-top:8px;border-radius:999px;background:linear-gradient(90deg,#22c55e,#38bdf8)}.kpi-5{grid-template-columns:repeat(5,1fr)}.client-dashboard-grid{display:grid;grid-template-columns:1.4fr .9fr;gap:18px;margin:20px 0}.client-panel{background:#fff;border:1px solid #e2e8f0;border-radius:28px;padding:24px;box-shadow:0 18px 48px rgba(15,23,42,.07)}.client-panel.xl{min-height:340px}.today-shift-list{display:grid;gap:12px}.today-shift-row{display:grid;grid-template-columns:120px 1fr 130px 1fr;gap:12px;align-items:center;border:1px solid #e2e8f0;background:#f8fafc;border-radius:18px;padding:14px}.today-shift-row strong{font-size:17px}.today-shift-row em{font-style:normal;color:#475467;font-weight:800}.today-shift-row small{color:#667085}.shift-badge{display:inline-flex;border-radius:999px;padding:7px 10px;font-size:12px;font-weight:1000;text-transform:uppercase}.shift-badge.m{background:#ecfdf3;color:#166534}.shift-badge.p{background:#eef4ff;color:#1d4ed8}.shift-badge.e{background:#fff7ed;color:#9a3412}.shift-badge.perm{background:#fefce8;color:#854d0e}.shift-badge.fer{background:#f5f3ff;color:#6d28d9}.shift-badge.mal{background:#fef2f2;color:#991b1b}.clock-status-list{display:grid;gap:10px}.clock-status-list div{display:grid;grid-template-columns:auto 1fr;column-gap:10px;align-items:center;border:1px solid #e2e8f0;background:#f8fafc;border-radius:16px;padding:12px}.clock-status-list em{grid-column:2;color:#667085;font-style:normal;font-weight:750}.avatar-mini{width:38px;height:38px;border-radius:13px;background:#1d4ed8;color:#fff;display:grid;place-items:center;font-weight:1000;grid-row:1/3}.pro-modules{grid-template-columns:repeat(4,1fr)}.empty-state.slim{padding:22px;text-align:left}.time-hero{grid-template-columns:1fr 330px}.timeclock-pro-grid{display:grid;grid-template-columns:420px 1fr;gap:18px;margin:20px 0}.terminal-pro-card{background:linear-gradient(180deg,#ffffff 0%,#eef8ff 100%);border-color:#bfdbfe}.terminal-pin-form input[name="badge_or_pin"]{font-size:34px;font-weight:900;text-align:center;letter-spacing:.12em;padding:18px}.terminal-help{margin-top:14px;border:1px dashed #93c5fd;background:#eff6ff;color:#1e3a8a;border-radius:18px;padding:14px;font-weight:800;line-height:1.45}.manual-clock-card{background:#fff}.clock-buttons.big{grid-template-columns:1fr}.filter-bar{display:grid;grid-template-columns:220px 320px auto auto 1fr;gap:12px;align-items:end;margin-bottom:18px}.attendance-board{display:grid;grid-template-columns:repeat(4,1fr);gap:14px}.attendance-card{background:#fff;border:1px solid #e2e8f0;border-radius:24px;padding:18px;box-shadow:0 10px 28px rgba(15,23,42,.05)}.attendance-card.open{border-color:#f59e0b;box-shadow:0 14px 34px rgba(245,158,11,.12)}.attendance-head{display:flex;gap:12px;align-items:center;margin-bottom:16px}.employee-avatar.small{width:48px;height:48px;border-radius:16px}.attendance-head h3{margin:0;font-size:20px}.attendance-head p{margin:4px 0 0;color:#667085}.attendance-metrics{display:grid;grid-template-columns:repeat(4,1fr);gap:8px}.attendance-metrics div{background:#f8fafc;border:1px solid #e2e8f0;border-radius:15px;padding:11px;text-align:center}.attendance-metrics b{display:block;font-size:17px}.attendance-metrics span{display:block;margin-top:4px;color:#667085;font-size:11px;font-weight:900;text-transform:uppercase}.anomaly-list{display:flex;gap:7px;flex-wrap:wrap;margin-top:12px}.anomaly-list span{background:#fff7ed;color:#9a3412;border:1px solid #fed7aa;border-radius:999px;padding:6px 10px;font-size:12px;font-weight:900}.ok-line{margin-top:12px;background:#ecfdf3;color:#166534;border-radius:999px;padding:7px 11px;font-weight:900;text-align:center}.clock-pill{display:inline-flex;border-radius:999px;padding:7px 10px;font-size:12px;font-weight:1000}.clock-pill.clock-in{background:#ecfdf3;color:#166534}.clock-pill.clock-out{background:#f1f5f9;color:#0f172a}.clock-pill.clock-break{background:#fff7ed;color:#9a3412}.clock-pill.clock-return{background:#eef4ff;color:#1d4ed8}.clock-pill.clock-neutral{background:#f8fafc;color:#475467}.table-wrap{overflow:auto}.visual-gallery{grid-template-columns:repeat(4,1fr)}.showcase-grid{grid-template-columns:repeat(4,1fr)}@media(max-width:1350px){.attendance-board{grid-template-columns:repeat(2,1fr)}.pro-modules,.visual-gallery,.showcase-grid{grid-template-columns:repeat(2,1fr)}.kpi-5{grid-template-columns:repeat(3,1fr)}}@media(max-width:980px){.client-command-hero,.time-hero,.timeclock-pro-grid,.client-dashboard-grid{grid-template-columns:1fr}.filter-bar{grid-template-columns:1fr}.attendance-board,.pro-modules,.visual-gallery,.showcase-grid,.kpi-5{grid-template-columns:1fr}.client-command-hero h1{font-size:36px}.today-shift-row{grid-template-columns:1fr}.client-shell-body .appdash.client-area{padding:18px!important}.app-nav-wrap{padding-left:18px;padding-right:18px}}

/* === ShiftMastro Professional packages + client workspace === */
.client-shell-body{background:#f2f6fb;color:#0f172a}.client-topbar{position:sticky;top:0;z-index:90;background:rgba(255,255,255,.94);backdrop-filter:blur(18px);border-bottom:1px solid #e2e8f0}.client-top-inner{width:100%;padding:14px 28px;display:flex;align-items:center;gap:20px}.client-brand{min-width:260px}.client-brand small{display:block;font-size:12px;color:#64748b;font-weight:800}.client-nav{display:flex;gap:8px;align-items:center;flex:1;overflow:auto}.client-nav a{padding:11px 13px;border-radius:14px;font-weight:900;color:#475569;white-space:nowrap}.client-nav a:hover,.client-nav a.active{background:#eaf6ef;color:#126b3e}.client-head-actions{display:flex;align-items:center;gap:10px}.plan-pill{background:#0f172a;color:white;border-radius:999px;padding:8px 12px;font-size:12px;font-weight:1000}.client-main{max-width:none;width:100%;padding:28px 30px 48px}.client-hero-pro{background:radial-gradient(circle at 82% 5%,rgba(56,189,248,.34),transparent 28%),linear-gradient(135deg,#0f172a,#123b6d 50%,#047857);color:#fff;border-radius:34px;padding:34px;display:grid;grid-template-columns:1fr 370px;gap:28px;align-items:stretch;box-shadow:0 26px 70px rgba(15,23,42,.22);margin-bottom:20px}.client-hero-pro h1{color:white;font-size:48px;line-height:1;letter-spacing:-.055em;margin:12px 0;max-width:1100px}.client-hero-pro p{color:#dbeafe;font-size:18px;line-height:1.55;max-width:1000px}.hero-command-card{background:rgba(255,255,255,.12);border:1px solid rgba(255,255,255,.22);border-radius:28px;padding:22px;backdrop-filter:blur(12px);display:flex;flex-direction:column;justify-content:space-between}.command-row span{display:block;color:#c7d2fe;font-size:12px;text-transform:uppercase;letter-spacing:.1em;font-weight:1000}.command-row b{display:block;color:white;font-size:27px;margin-top:7px}.command-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin:20px 0}.command-grid div{background:rgba(255,255,255,.13);border-radius:18px;padding:14px;text-align:center}.command-grid strong{display:block;font-size:27px;color:#fff}.command-grid span{display:block;color:#dbeafe;font-size:12px;font-weight:900}.command-link{color:white;font-weight:1000;text-decoration:underline}.client-dashboard-layout{display:grid;grid-template-columns:1.35fr .9fr;gap:18px;margin:20px 0}.client-module-grid{display:grid;grid-template-columns:repeat(5,1fr);gap:16px;margin:20px 0}.client-module-card{background:white;border:1px solid #e2e8f0;border-radius:26px;padding:22px;box-shadow:0 16px 42px rgba(15,23,42,.06);display:flex;flex-direction:column;gap:11px}.client-module-card h2{margin:0;font-size:22px}.client-module-card p{color:#64748b;line-height:1.5;flex:1}.client-module-card.locked{opacity:.72;background:#f8fafc}.locked-pill{background:#fff7ed;border:1px solid #fed7aa;color:#9a3412;border-radius:999px;padding:9px 12px;font-weight:900;font-size:12px;display:inline-flex;width:max-content}.feature-list-pro{display:grid;gap:11px;max-height:460px;overflow:auto}.feature-list-pro div{display:grid;grid-template-columns:38px 1fr;gap:10px;background:#f8fafc;border:1px solid #e2e8f0;border-radius:16px;padding:12px}.feature-list-pro span{font-size:22px}.feature-list-pro b,.feature-list-pro small{display:block}.feature-list-pro small{color:#64748b;margin-top:3px}.feature-mini-list{display:flex;gap:7px;flex-wrap:wrap;margin-top:14px}.employee-card-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:16px}.employee-pro-card{background:white;border:1px solid #e2e8f0;border-radius:26px;padding:20px;box-shadow:0 14px 34px rgba(15,23,42,.06)}.employee-pro-head{display:grid;grid-template-columns:auto 1fr auto;gap:12px;align-items:center}.employee-pro-head h3{margin:0;font-size:21px}.employee-pro-head p{margin:4px 0 0;color:#64748b}.employee-pro-metrics{display:grid;grid-template-columns:repeat(4,1fr);gap:8px;margin:16px 0}.employee-pro-metrics div{background:#f8fafc;border:1px solid #e2e8f0;border-radius:15px;padding:10px;text-align:center}.employee-pro-metrics b{font-size:17px}.employee-pro-metrics span{display:block;color:#64748b;font-size:11px;font-weight:900;text-transform:uppercase}.employee-tags{display:flex;gap:6px;flex-wrap:wrap;margin-bottom:12px}.employee-tags span,.feature-chip{background:#eef4ff;color:#1d4ed8;border:1px solid #bfdbfe;border-radius:999px;padding:6px 9px;font-size:12px;font-weight:900}.feature-chip.muted{background:#f1f5f9;color:#475569;border-color:#e2e8f0}.employee-form-panel{margin-top:20px}.planner-super-layout{display:grid;grid-template-columns:360px 1fr;gap:18px;align-items:start}.quick-form-pro{position:sticky;top:95px;background:linear-gradient(180deg,#fff,#f8fbff)}.quick-form-pro .full{width:100%}.planning-main-pro{min-width:0}.super-grid{box-shadow:0 18px 48px rgba(15,23,42,.07)}.board-days{display:grid;grid-template-columns:repeat(7,minmax(180px,1fr));gap:12px;overflow:auto}.board-day{background:#fff;border:1px solid #e2e8f0;border-radius:22px;padding:16px;min-height:240px}.board-day h3{margin:0 0 12px}.board-day h3 span{display:block;color:#64748b;font-size:13px}.board-shift{border-radius:16px;padding:12px;margin-bottom:9px;border-left:5px solid #22c55e;background:#ecfdf3}.board-shift.p{border-color:#3b82f6;background:#eff6ff}.board-shift.e{border-color:#f59e0b;background:#fff7ed}.board-shift.fer{border-color:#8b5cf6;background:#f5f3ff}.board-shift.mal{border-color:#ef4444;background:#fef2f2}.board-shift b,.board-shift span{display:block}.employee-list-planning{display:grid;grid-template-columns:repeat(2,1fr);gap:14px}.list-shifts{display:grid;gap:8px}.list-shifts div{display:grid;grid-template-columns:80px 1fr;gap:10px;background:#f8fafc;border:1px solid #e2e8f0;border-radius:14px;padding:11px}.settings-grid-pro{display:grid;grid-template-columns:repeat(2,1fr);gap:18px}.settings-save{grid-column:1/-1;display:flex;gap:10px}.feature-groups{display:grid;grid-template-columns:repeat(3,1fr);gap:12px}.feature-groups.compact{grid-template-columns:repeat(2,1fr);max-height:360px;overflow:auto}.feature-groups fieldset{border:1px solid #e2e8f0;border-radius:18px;background:#f8fafc;padding:13px}.feature-groups legend{font-weight:1000;color:#0f172a;padding:0 6px}.feature-groups label{display:block;margin:8px 0;font-weight:800;color:#334155}.plan-editor{margin-bottom:18px}.mini-check{display:inline-flex;align-items:center;gap:6px;font-weight:900}.admin-package-preview{margin:18px 0}.professional-price .feature-chips,.package-card .feature-chips{min-height:96px;align-content:flex-start}.matrix-wrap{overflow:auto;background:#fff;border:1px solid #e2e8f0;border-radius:28px;padding:10px;box-shadow:0 18px 48px rgba(15,23,42,.07)}.feature-matrix{border-collapse:separate;border-spacing:0;width:100%;min-width:1040px}.feature-matrix th{background:#0f172a;color:#fff;padding:14px;text-align:center}.feature-matrix th:first-child{text-align:left;border-radius:18px 0 0 0}.feature-matrix th:last-child{border-radius:0 18px 0 0}.feature-matrix td{border-bottom:1px solid #e2e8f0;padding:13px;text-align:center}.feature-matrix td:first-child{text-align:left}.feature-matrix b,.feature-matrix small{display:block}.feature-matrix small{color:#64748b;margin-top:4px;max-width:430px}.yes{display:inline-grid;place-items:center;width:28px;height:28px;border-radius:50%;background:#dcfce7;color:#166534;font-weight:1000}.no{color:#cbd5e1;font-weight:1000}.locked-upgrade{margin:30px;padding:36px;background:white;border:1px solid #fed7aa;border-radius:28px;box-shadow:0 18px 48px rgba(15,23,42,.07);text-align:center}.locked-upgrade span{font-size:48px}.report-table td:nth-child(4){background:#fff7ed}.compact.filter-bar{grid-template-columns:240px auto 1fr}.activity-list{display:grid;gap:10px}.activity-list div{border:1px solid #e2e8f0;background:#f8fafc;border-radius:16px;padding:12px}.activity-list strong,.activity-list span{display:block}.activity-list span{color:#64748b;margin-top:3px}@media(max-width:1400px){.client-module-grid{grid-template-columns:repeat(3,1fr)}.employee-card-grid{grid-template-columns:repeat(2,1fr)}.feature-groups{grid-template-columns:repeat(2,1fr)}.planner-super-layout{grid-template-columns:1fr}.quick-form-pro{position:static}.board-days{grid-template-columns:repeat(4,220px)}}@media(max-width:980px){.client-top-inner{display:block;padding:14px}.client-nav{margin:12px 0}.client-main{padding:18px}.client-hero-pro,.client-dashboard-layout{grid-template-columns:1fr}.client-hero-pro h1{font-size:34px}.client-module-grid,.employee-card-grid,.settings-grid-pro,.feature-groups,.feature-groups.compact,.employee-list-planning{grid-template-columns:1fr}.board-days{grid-template-columns:1fr}.settings-save{display:block}.kpi-5{grid-template-columns:1fr 1fr}}


/* === ShiftMastro sale-ready refinements === */
.demo-price{background:linear-gradient(180deg,#ffffff,#f0fdf4);border-color:#22c55e!important;box-shadow:0 24px 70px rgba(34,197,94,.16)!important}.demo-badge{background:#dcfce7!important;color:#166534!important;border-color:#86efac!important}.feature-chip.special{background:#0f172a;color:#fff;border-color:#0f172a}.package-usecases .case-card{min-height:210px}.testimonial-section{position:relative}.testimonial-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}.testimonial-grid article{background:white;border:1px solid #e2e8f0;border-radius:28px;padding:24px;box-shadow:0 18px 46px rgba(15,23,42,.07)}.testimonial-grid p{font-size:17px;line-height:1.6;color:#334155}.testimonial-grid strong,.testimonial-grid span{display:block}.testimonial-grid span{color:#64748b;margin-top:4px}.stars{letter-spacing:2px;color:#b45309;font-weight:1000;margin-bottom:12px}.requests-hero{background:radial-gradient(circle at 88% 6%,rgba(250,204,21,.28),transparent 25%),linear-gradient(135deg,#0f172a,#27375f 45%,#7c3aed)}.requests-layout{display:grid;grid-template-columns:390px 1fr;gap:18px;align-items:start}.request-form{position:sticky;top:95px}.requests-list{min-width:0}.request-cards{display:grid;grid-template-columns:repeat(2,1fr);gap:14px}.request-card{background:#fff;border:1px solid #e2e8f0;border-radius:24px;padding:18px;box-shadow:0 14px 34px rgba(15,23,42,.05)}.request-top{display:flex;justify-content:space-between;gap:12px;align-items:flex-start}.request-top h3{margin:10px 0 5px;font-size:22px}.request-top p{margin:0;color:#64748b;font-weight:800}.request-note{background:#f8fafc;border:1px solid #e2e8f0;border-radius:16px;padding:12px;color:#334155}.request-actions{display:flex;gap:8px;flex-wrap:wrap;margin-top:12px}.client-nav a[href="richieste.php"]{position:relative}.client-nav a[href="richieste.php"]:before{content:'•';color:#7c3aed;margin-right:3px}.feature-matrix .yes{box-shadow:0 0 0 4px rgba(34,197,94,.08)}.professional-price .ticks li{line-height:1.35}.price.professional-price{transition:transform .18s ease,box-shadow .18s ease}.price.professional-price:hover{transform:translateY(-4px);box-shadow:0 26px 72px rgba(15,23,42,.12)}
@media(max-width:1200px){.requests-layout{grid-template-columns:1fr}.request-form{position:static}.request-cards{grid-template-columns:1fr}.testimonial-grid{grid-template-columns:1fr}}


/* =========================================================
   ShiftMastro UI polish — versione più ordinata e pubblicabile
   ========================================================= */
:root{
  --sm-navy:#0b1220;
  --sm-navy-2:#111c33;
  --sm-blue:#2563eb;
  --sm-cyan:#06b6d4;
  --sm-green:#10b981;
  --sm-purple:#7c3aed;
  --sm-amber:#f59e0b;
  --sm-red:#ef4444;
  --sm-page:#f5f8fc;
  --sm-card:#ffffff;
  --sm-border:#e2e8f0;
  --sm-text:#0f172a;
  --sm-muted:#64748b;
}
body{background:linear-gradient(180deg,#f8fbff 0%,#f5f8fc 42%,#eef4ff 100%);color:var(--sm-text)}
.wrap{max-width:1280px}.topbar{background:rgba(255,255,255,.90);box-shadow:0 10px 30px rgba(15,23,42,.04)}
.nav{height:82px}.brand{font-size:22px}.brand small{font-size:12px;color:#64748b}.mark{background:linear-gradient(135deg,#0f172a,#2563eb 62%,#06b6d4);border-radius:17px}
.navlinks{gap:6px}.navlinks a{font-size:14px}.btn{border-radius:14px;min-height:42px}.btn.primary{background:linear-gradient(135deg,#0f172a,#2563eb 58%,#06b6d4)}.btn.dark{background:#0f172a}.btn.white{background:#fff;color:#0f172a;border-color:#fff}.btn.ghost-light{background:rgba(255,255,255,.12);border-color:rgba(255,255,255,.28);color:#fff;box-shadow:none}.btn.full{width:100%}
.kicker{background:#eef4ff;border-color:#c7d2fe;color:#1d4ed8;box-shadow:inset 0 0 0 1px rgba(255,255,255,.55)}.kicker.light{background:rgba(255,255,255,.16);border-color:rgba(255,255,255,.28);color:#fff}
.hero{grid-template-columns:1fr 1fr;align-items:center;padding-top:78px}.hero h1{font-size:clamp(42px,5.4vw,72px);letter-spacing:-.07em}.lead{max-width:760px}.hero-visual{min-height:520px;display:flex;align-items:center}.software-frame{width:100%;border-radius:36px;background:linear-gradient(135deg,#08111f,#12213e);box-shadow:0 30px 90px rgba(15,23,42,.24)}.dash-panel{border:1px solid #e2e8f0}.floating-card{right:8px;bottom:-26px}.section{padding:64px 0}.section h2{max-width:980px}.section-head{display:flex;align-items:flex-end;justify-content:space-between;gap:22px;margin-bottom:22px}.section-head.center{text-align:center;justify-content:center}.section-head.center h2,.section-head.center .sub{margin-left:auto;margin-right:auto}.sub{max-width:940px}.grid3,.grid4,.pricing,.client-module-grid,.employee-card-grid{align-items:stretch}.feature,.case-card,.step,.price,.panel,.client-panel,.client-module-card,.employee-pro-card,.request-card{border:1px solid rgba(226,232,240,.95);box-shadow:0 18px 52px rgba(15,23,42,.065)}
.feature,.case-card{transition:transform .18s ease,box-shadow .18s ease}.feature:hover,.case-card:hover{transform:translateY(-3px);box-shadow:0 24px 70px rgba(15,23,42,.10)}
.visual-gallery,.showcase-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:20px}.showcase-grid{grid-template-columns:repeat(4,1fr)}.visual-card,.shot-card{background:#fff;border:1px solid var(--sm-border);border-radius:30px;overflow:hidden;box-shadow:0 18px 52px rgba(15,23,42,.065)}.visual-img,.shot-frame{background:linear-gradient(180deg,#f8fafc,#eef4ff);padding:16px;border-bottom:1px solid var(--sm-border)}.visual-img img,.shot-frame img{display:block;width:100%;height:auto;border-radius:20px}.visual-content,.shot-body{padding:20px}.visual-content h3,.shot-body h3{margin:0 0 8px;font-size:22px}.visual-content p,.shot-body p{color:#64748b;line-height:1.55;margin:0}
.pricing-wide{grid-template-columns:repeat(auto-fit,minmax(245px,1fr))}.pricing-polished{gap:18px}.professional-price{padding:24px;min-height:100%;border-radius:28px}.professional-price .plan-top{min-height:152px}.professional-price h3{font-size:26px;margin-top:8px}.professional-price p{min-height:58px}.professional-price .amount{margin-top:8px}.price.hot{transform:none;border-width:2px}.price.hot:before{content:"";position:absolute;inset:-2px;border-radius:30px;background:linear-gradient(135deg,#2563eb,#06b6d4);z-index:-1}.demo-price{border-width:2px!important}.ticks li{line-height:1.42}.feature-chips{display:flex;flex-wrap:wrap;gap:8px}.clean-chips{min-height:132px}.feature-chip{display:inline-flex;align-items:center;gap:4px;background:#f1f5ff;color:#1d4ed8;border-color:#c7d2fe}.feature-chip.special{background:#dcfce7!important;border-color:#86efac!important;color:#166534!important}.feature-chip.muted{background:#f8fafc;color:#64748b}.demo-badge{background:#dcfce7!important;color:#166534!important;border-color:#86efac!important}.refined-case{background:linear-gradient(180deg,#fff,#f8fbff)}
.pricing-hero-clean{padding:72px 0 38px;background:radial-gradient(circle at 80% 10%,rgba(37,99,235,.18),transparent 34%),linear-gradient(180deg,#fff,#f5f8fc)}.pricing-hero-grid{display:grid;grid-template-columns:1fr 360px;gap:28px;align-items:center}.pricing-side-card{background:#0f172a;color:#fff;border-radius:32px;padding:28px;box-shadow:0 28px 70px rgba(15,23,42,.22)}.pricing-side-card b{font-size:26px;display:block;margin-bottom:10px}.pricing-side-card span{color:#cbd5e1;line-height:1.5}.pricing-side-card ul{margin:18px 0 0;padding-left:20px;color:#e0f2fe;font-weight:800}.matrix-wrap{border-radius:30px}.feature-matrix th{position:sticky;top:0}.feature-matrix td,.feature-matrix th{vertical-align:middle}.yes{background:#dcfce7;color:#166534}.no{color:#cbd5e1}
.testimonial-grid article{background:linear-gradient(180deg,#fff,#f8fbff)}.testimonial-grid p{min-height:110px}.stars{color:#2563eb}.showcase-band{border-radius:34px;background:radial-gradient(circle at 90% 10%,rgba(6,182,212,.26),transparent 32%),linear-gradient(135deg,#08111f,#12213e 55%,#1d4ed8)}
.footer{background:#0b1220;color:#cbd5e1;margin-top:40px}.public-footer a{display:block;color:#e2e8f0;margin:8px 0}.footer-grid{display:grid;grid-template-columns:1.3fr .8fr .8fr 1fr;gap:28px;padding-top:42px}.footer-bottom{border-top:1px solid rgba(255,255,255,.10);padding:18px 22px 32px;color:#94a3b8}.footer .brand,.footer h4{color:#fff}.footer p{color:#cbd5e1;line-height:1.55}.cookie-banner{position:fixed;left:20px;right:20px;bottom:20px;z-index:100;background:#fff;border:1px solid #e2e8f0;border-radius:22px;padding:16px;display:none;align-items:center;justify-content:space-between;gap:18px;box-shadow:0 20px 60px rgba(15,23,42,.16)}.cookie-banner.is-visible{display:flex}.cookie-banner p{margin:4px 0 0;color:#64748b}.cookie-actions{display:flex;gap:8px;flex:none}
/* Client area */
.client-shell-body{background:#eef4ff}.client-topbar{position:sticky;top:0;z-index:80;background:rgba(255,255,255,.94);backdrop-filter:blur(16px);border-bottom:1px solid #e2e8f0;box-shadow:0 10px 30px rgba(15,23,42,.05)}.client-top-inner{width:100%;max-width:none;margin:0;padding:14px 26px;display:flex;align-items:center;gap:18px}.client-brand{min-width:280px}.client-nav{display:flex;align-items:center;gap:6px;overflow:auto;flex:1}.client-nav a{white-space:nowrap;border-radius:14px;padding:11px 13px;color:#475569;font-weight:900}.client-nav a:hover,.client-nav a.active{background:#e0f2fe;color:#0369a1}.client-head-actions{display:flex;align-items:center;gap:10px}.plan-pill{background:#eef4ff;border:1px solid #c7d2fe;color:#1d4ed8;border-radius:999px;padding:8px 12px;font-weight:1000;font-size:12px}.client-main{width:100%;max-width:none;padding:26px;}.client-hero-pro{display:grid;grid-template-columns:minmax(0,1fr) 380px;gap:24px;background:radial-gradient(circle at 86% 8%,rgba(6,182,212,.26),transparent 30%),linear-gradient(135deg,#08111f,#12213e 54%,#1d4ed8);border-radius:34px;padding:34px;align-items:stretch}.client-hero-pro h1{font-size:clamp(34px,3.4vw,56px);line-height:.98}.client-hero-pro p{max-width:1080px}.hero-command-card{box-shadow:inset 0 1px 0 rgba(255,255,255,.18)}.status-progress{height:10px;background:rgba(255,255,255,.18);border-radius:999px;overflow:hidden}.status-progress span{display:block;color:#cbd5e1;margin-bottom:8px;font-size:12px;font-weight:900;text-transform:uppercase;letter-spacing:.08em}.status-progress i{display:block;height:100%;background:linear-gradient(90deg,#10b981,#06b6d4)}.cards.premium-kpis{display:grid;grid-template-columns:repeat(5,1fr);gap:16px}.kpi{border-radius:24px;background:#fff;border:1px solid #e2e8f0;box-shadow:0 16px 42px rgba(15,23,42,.06)}.kpi span{font-size:12px;text-transform:uppercase;letter-spacing:.08em}.kpi strong{font-size:34px}.client-dashboard-layout{grid-template-columns:minmax(0,1.45fr) minmax(360px,.8fr)}.client-panel{background:#fff;border-radius:30px;padding:24px}.client-panel.xl{min-height:360px}.today-shift-list,.activity-list,.workflow-list{display:grid;gap:12px}.today-shift-row{display:grid;grid-template-columns:130px 1fr 130px 180px;gap:14px;align-items:center;background:#f8fafc;border:1px solid #e2e8f0;border-radius:18px;padding:13px}.today-shift-row em{font-style:normal;font-weight:900}.today-shift-row small{color:#64748b;font-weight:800}.shift-badge{border-radius:999px;padding:7px 10px;font-size:12px;font-weight:1000;background:#e0f2fe;color:#0369a1}.shift-badge.m,.shift.m{background:#eff6ff;color:#1d4ed8;border-left-color:#2563eb}.shift-badge.p,.shift.p{background:#ecfdf3;color:#166534;border-left-color:#10b981}.shift-badge.e,.shift.e{background:#fff7ed;color:#c2410c;border-left-color:#f59e0b}.shift-badge.perm,.shift.perm{background:#fef3c7;color:#b45309;border-left-color:#f59e0b}.shift-badge.fer,.shift.fer{background:#f5f3ff;color:#6d28d9;border-left-color:#7c3aed}.shift-badge.mal,.shift.mal{background:#fef2f2;color:#b91c1c;border-left-color:#ef4444}.client-module-grid{grid-template-columns:repeat(auto-fit,minmax(220px,1fr))}.client-module-card{min-height:250px}.module-icon{font-size:32px;width:58px;height:58px;display:grid;place-items:center;background:#eff6ff;border-radius:20px}.client-module-card .btn{width:max-content}.feature-list-pro div{border-radius:18px}.workflow-list div{display:grid;grid-template-columns:38px 1fr;gap:12px;align-items:start;background:#f8fafc;border:1px solid #e2e8f0;border-radius:18px;padding:13px}.workflow-list b{width:34px;height:34px;border-radius:12px;background:#e0f2fe;color:#0369a1;display:grid;place-items:center}.workflow-list span{color:#334155;font-weight:800;line-height:1.45}
/* Forms and planning */
.form label{line-height:1.35}.form input,.form select,.form textarea{border-radius:14px}.planner-super-layout{grid-template-columns:380px minmax(0,1fr);gap:20px}.quick-form-pro{border-radius:30px}.quick-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:8px;margin-top:14px}.quick-grid button{border:1px solid #c7d2fe;border-radius:14px;background:#eef4ff;color:#1d4ed8;font-weight:1000;padding:10px;cursor:pointer}.toolbar.panel{display:flex;align-items:center;justify-content:space-between;gap:16px}.employee-week-grid{display:grid;grid-template-columns:minmax(230px,1.25fr) repeat(7,minmax(170px,1fr));overflow:auto;background:#fff;border:1px solid #e2e8f0;border-radius:28px}.grid-head{background:#f8fafc;color:#1e293b;padding:14px;min-height:64px;border-bottom:1px solid #e2e8f0}.grid-head.first{position:sticky;left:0;z-index:3}.grid-head b,.grid-head span{display:block}.employee-name-cell{position:sticky;left:0;background:#fff;z-index:2;border-right:1px solid #e2e8f0;border-bottom:1px solid #e2e8f0;padding:14px}.employee-name-cell strong,.employee-name-cell span{display:block}.employee-name-cell span{color:#64748b;margin-top:4px}.shift-cell{min-height:152px;border-bottom:1px solid #e2e8f0;border-right:1px solid #e2e8f0;padding:10px;background:#fbfdff}.cell-actions{display:flex;gap:5px;flex-wrap:wrap;margin-bottom:8px}.cell-actions button,.mini-btn{border:0;border-radius:10px;background:#eef4ff;color:#1d4ed8;font-weight:1000;padding:6px 8px;cursor:pointer}.shift{border-left:5px solid #2563eb;border-radius:15px;padding:10px;margin:8px 0;background:#eff6ff}.shift-time{font-weight:1000;color:#0f172a}.shift-note{font-size:12px;color:#64748b;font-weight:800;margin-top:3px}.shift-foot{display:flex;justify-content:space-between;align-items:center;margin-top:7px;font-size:12px;color:#64748b;font-weight:900}.requests-layout{grid-template-columns:400px minmax(0,1fr)}.request-card{border-radius:28px}.request-top{align-items:center}.request-note{line-height:1.5}.request-actions .btn{min-height:36px}.settings-grid-pro{grid-template-columns:repeat(2,minmax(0,1fr))}
.table-wrap{overflow:auto}.table{width:100%;border-collapse:separate;border-spacing:0 9px}.table th{text-align:left;color:#64748b;font-size:12px;text-transform:uppercase;letter-spacing:.08em;padding:0 12px}.table td{background:#fff;border-top:1px solid #e2e8f0;border-bottom:1px solid #e2e8f0;padding:14px 12px}.table td:first-child{border-left:1px solid #e2e8f0;border-radius:14px 0 0 14px}.table td:last-child{border-right:1px solid #e2e8f0;border-radius:0 14px 14px 0}.pill{display:inline-flex;align-items:center;border-radius:999px;padding:7px 10px;font-size:12px;font-weight:1000}.pill.active,.pill.approved{background:#dcfce7;color:#166534}.pill.trial,.pill.requested{background:#eff6ff;color:#1d4ed8}.pill.pending{background:#fff7ed;color:#c2410c}.pill.expired,.pill.cancelled,.pill.rejected{background:#fee2e2;color:#b91c1c}.empty-state{background:#fff;border:1px dashed #cbd5e1;border-radius:28px;padding:28px;text-align:center}.empty-state.slim{padding:22px}.empty-state.large{padding:48px}.muted{color:#64748b}.eyebrow{text-transform:uppercase;letter-spacing:.10em;font-size:12px;font-weight:1000;color:#2563eb}.section-head h2{margin:4px 0 4px}.section-head p{margin:0;color:#64748b}.two{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.three{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}
@media(max-width:1180px){.hero,.split,.showcase-band,.pricing-hero-grid,.client-hero-pro,.client-dashboard-layout,.planner-super-layout,.requests-layout{grid-template-columns:1fr}.showcase-grid{grid-template-columns:repeat(2,1fr)}.visual-gallery{grid-template-columns:1fr}.cards.premium-kpis{grid-template-columns:repeat(2,1fr)}.client-brand{min-width:220px}.client-top-inner{align-items:flex-start;flex-wrap:wrap}.client-head-actions{margin-left:auto}.quick-form-pro{position:static}.employee-week-grid{grid-template-columns:220px repeat(7,170px)}}
@media(max-width:780px){.wrap{padding:0 16px}.nav{height:auto;padding:14px 0;align-items:flex-start}.navlinks{display:none}.hero{padding-top:46px}.hero h1{font-size:40px}.section h2{font-size:32px}.grid3,.grid4,.pricing,.footer-grid,.testimonial-grid,.employee-card-grid,.settings-grid-pro,.two,.three{grid-template-columns:1fr}.showcase-grid{grid-template-columns:1fr}.client-main{padding:14px}.client-hero-pro{padding:24px;border-radius:26px}.client-hero-pro h1{font-size:32px}.today-shift-row{grid-template-columns:1fr}.cards.premium-kpis{grid-template-columns:1fr}.cookie-banner{display:none!important}.footer-grid{padding-top:28px}.pricing-side-card{padding:22px}.toolbar.panel{display:block}.hero-actions .btn{width:100%}}


/* 2026-06-11 visual refresh: lighter table heads and commercial photos */
.visual-gallery{grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:22px!important}
.visual-card{border-radius:32px!important}
.visual-card .visual-img{padding:0!important;background:#fff!important}
.visual-card .visual-img img{display:block;width:100%;aspect-ratio:4/3;object-fit:cover;border-radius:0!important}
.visual-card .visual-content{padding:22px 22px 24px!important}
.visual-card .visual-content h3{font-size:24px!important}
.visual-card .visual-content p{font-size:15px!important;line-height:1.65!important}
.showcase-grid{gap:22px!important}
.shot-frame{background:linear-gradient(180deg,#fbfcfe,#f3f7fb)!important;border-bottom:1px solid #e4ebf2!important}
.shot-frame img{border:1px solid #dce6ef!important;box-shadow:0 10px 24px rgba(15,23,42,.05)!important}
.grid-head{background:#f4f7fb!important;color:#1f2937!important;border-right:1px solid #dbe4ee!important;border-bottom:1px solid #dbe4ee!important}
.grid-head.first{background:#eef4f8!important;color:#0f172a!important}
.employee-week-grid{border-color:#dbe4ee!important;background:#f8fbfd!important}
.shift-cell{background:#fcfdff!important}
.table th{background:#f7fafc!important;color:#475467!important;padding:10px 12px!important;border-top:1px solid #e2e8f0!important;border-bottom:1px solid #e2e8f0!important}
.table th:first-child{border-left:1px solid #e2e8f0!important;border-radius:12px 0 0 12px!important}
.table th:last-child{border-right:1px solid #e2e8f0!important;border-radius:0 12px 12px 0!important}
.client-nav a:hover,.client-nav a.active{background:#eef4ff!important;color:#1d4ed8!important}
.feature-matrix th{background:#f4f7fb!important;color:#334155!important}
.feature-matrix td{background:#fff!important}
@media(max-width:1180px){.visual-gallery{grid-template-columns:1fr!important}}

/* === FIX leggibilita tabelle/griglie + pacchetti personalizzabili === */
.table th{background:#f8fafc!important;color:#475569!important;border-top:1px solid #e2e8f0;border-bottom:1px solid #e2e8f0;padding:12px!important}
.table tr:first-child th:first-child{border-radius:14px 0 0 14px}.table tr:first-child th:last-child{border-radius:0 14px 14px 0}
.employee-week-grid{border-color:#dbe4ee!important;background:#fff!important}
.grid-head{background:#f8fafc!important;color:#334155!important;border-right:1px solid #e2e8f0;border-bottom:1px solid #dbe4ee;box-shadow:inset 0 -1px 0 #e2e8f0}
.grid-head.first{background:#f1f5f9!important;color:#0f172a!important}
.client-nav a.active,.client-nav a:hover{background:#ecfdf3!important;color:#166534!important}
.workflow-list b{background:#166534!important;color:#fff!important}.feature-chip.special{background:#ecfdf3!important;border-color:#bbf7d0!important;color:#166534!important}.btn.dark{background:#166534!important;border-color:#166534!important}
.custom-feature-box{margin-top:14px;border:1px solid #dbe4ee;background:linear-gradient(180deg,#ffffff,#f8fafc);border-radius:24px;padding:18px}.custom-feature-box .feature-groups{margin-top:12px}.custom-feature-box .feature-groups.compact{max-height:360px;overflow:auto;padding-right:4px}.custom-feature-box .feature-groups fieldset{background:#fff}.small-note{font-size:13px}.feature-groups.compact{grid-template-columns:repeat(auto-fit,minmax(220px,1fr))}.feature-groups.compact label{font-size:13px;padding:8px 0}.visual-card .visual-img img{width:100%;height:260px;object-fit:cover;display:block}.visual-card .visual-img{border-radius:24px;overflow:hidden;background:#f1f5f9}.visual-card{overflow:hidden}.shot-frame{background:#fff!important}

/* Fix 11/06 - leggibilità pacchetti, confronto funzioni e griglia consulente */
.feature-chip{white-space:normal!important;line-height:1.28!important;min-height:34px;max-width:100%;align-items:flex-start!important;padding:8px 10px!important;border:1px solid #dbe7d8!important;background:#f7fbf6!important;color:#166534!important}
.feature-chips{min-height:auto!important;align-items:flex-start!important;align-content:flex-start!important;gap:8px!important;overflow:visible!important}
.clean-chips{min-height:auto!important}.professional-price .plan-top{min-height:auto!important}.professional-price p{min-height:auto!important;line-height:1.48}.professional-price{overflow:visible!important;display:flex;flex-direction:column;gap:10px}.professional-price .amount{margin:4px 0 0!important}.professional-price .ticks{margin:8px 0!important}.pricing-wide{align-items:stretch}.price .btn{margin-top:auto!important}
.feature-matrix th{background:#f8fafc!important;color:#0f172a!important;border-bottom:2px solid #d9e2d6!important;box-shadow:none!important}.feature-matrix th:first-child,.feature-matrix th:last-child{border-radius:0!important}.feature-matrix td{vertical-align:top!important;line-height:1.45!important;background:#fff!important}.feature-matrix td:first-child{min-width:360px}.feature-matrix b{font-size:14px;line-height:1.25}.feature-matrix small{display:block!important;line-height:1.45!important;white-space:normal!important;max-width:520px!important;color:#60705d!important}.matrix-wrap{padding:0!important;overflow:auto}.yes{background:#dcfce7!important;color:#166534!important}.no{color:#cbd5e1!important}
.feature-groups{align-items:start}.feature-groups fieldset{overflow:visible!important}.feature-groups label{display:flex!important;align-items:flex-start!important;gap:8px!important;line-height:1.35!important;white-space:normal!important;margin:9px 0!important}.feature-groups input{width:auto!important;margin:2px 0 0!important;flex:none}.custom-feature-box{overflow:visible!important}
.employee-week-grid .grid-head,.feature-matrix th{background:#f7faf7!important;color:#243021!important}.grid-head{background:#f7faf7!important;color:#243021!important;border-bottom:1px solid #dbe7d8!important}.grid-head.first{box-shadow:8px 0 18px rgba(22,101,52,.04)}
.consulente-panel{overflow:hidden}.consulente-grid-wrap{overflow:auto;border:1px solid #dbe7d8;border-radius:24px;background:#fff;box-shadow:0 18px 48px rgba(15,23,42,.06)}.consulente-grid{border-collapse:separate;border-spacing:0;min-width:1680px;width:100%;font-size:12px}.consulente-grid th{position:sticky;top:0;z-index:4;background:#f7faf7!important;color:#243021!important;border-bottom:1px solid #dbe7d8;padding:10px 8px;text-align:center;white-space:nowrap}.consulente-grid th b,.consulente-grid th small{display:block}.consulente-grid th small{font-weight:800;color:#64748b}.consulente-grid td{border-bottom:1px solid #edf2ee;border-right:1px solid #edf2ee;padding:8px;text-align:center;vertical-align:top;background:#fff}.consulente-grid tr:hover td{background:#fbfdfb}.sticky-col{position:sticky;left:0;z-index:3;background:#fff!important;box-shadow:8px 0 14px rgba(15,23,42,.04)}.employee-col{min-width:240px;text-align:left!important}.employee-col strong,.employee-col small{display:block}.employee-col small{color:#64748b;margin-top:4px;line-height:1.3}.day-cell{min-width:74px;max-width:110px;white-space:normal}.day-cell.weekend{background:#fffaf0!important}.cell-empty{color:#cbd5e1;font-weight:900}.day-code{display:inline-flex;align-items:center;justify-content:center;border-radius:999px;padding:4px 7px;font-size:11px;line-height:1.1;font-weight:1000;margin:1px;white-space:nowrap;border:1px solid transparent}.day-code.morning{background:#ecfdf3;color:#166534;border-color:#bbf7d0}.day-code.afternoon{background:#f0f9ff;color:#0369a1;border-color:#bae6fd}.day-code.extra{background:#fff7ed;color:#c2410c;border-color:#fed7aa}.day-code.ferie{background:#f5f3ff;color:#6d28d9;border-color:#ddd6fe}.day-code.permesso{background:#fef9c3;color:#854d0e;border-color:#fde68a}.day-code.malattia{background:#fef2f2;color:#b91c1c;border-color:#fecaca}.day-code.ord{background:#f8fafc;color:#334155;border-color:#e2e8f0}.total-cell{font-weight:900;background:#fcfdfc!important;white-space:nowrap}.total-cell.strong{color:#c2410c}.consulente-grid tfoot td{background:#f7faf7!important;font-weight:1000;border-top:2px solid #dbe7d8}.legend-row{display:flex;flex-wrap:wrap;gap:8px;margin:12px 0 16px}.legend-row .day-code{padding:7px 10px;font-size:12px}
@media print{.client-topbar,.hero-actions,.filter-bar,.cookie-banner{display:none!important}.client-main{padding:0!important}.client-hero-pro{background:#fff!important;color:#111!important;border:1px solid #ddd}.client-hero-pro *{color:#111!important}.consulente-grid-wrap{box-shadow:none;border:1px solid #bbb}.consulente-grid{font-size:10px;min-width:0}.consulente-grid th,.consulente-grid td{padding:4px}.sticky-col{position:static!important;box-shadow:none!important}.panel{box-shadow:none!important}}

/* === 11/06 - area cliente più leggera + griglia consulente tipo foglio presenze === */
.client-shell-body{background:#f6f8fb!important;color:#172033!important}
.client-topbar{background:rgba(255,255,255,.96)!important;border-bottom:1px solid #e6ebf1!important;box-shadow:0 8px 24px rgba(15,23,42,.045)!important}
.client-top-inner{padding:10px 22px!important;gap:14px!important}
.client-brand{min-width:245px!important;font-size:18px!important}.client-brand .mark{width:38px!important;height:38px!important;border-radius:13px!important;background:linear-gradient(135deg,#16a34a,#86efac)!important;box-shadow:0 10px 22px rgba(22,163,74,.16)!important}.client-brand small{font-size:10px!important;color:#667085!important}
.client-nav a{padding:9px 11px!important;border-radius:12px!important;color:#475569!important}.client-nav a.active,.client-nav a:hover{background:#ecfdf3!important;color:#166534!important}
.client-head-actions .plan-pill{background:#f0fdf4!important;border-color:#bbf7d0!important;color:#166534!important}.client-main{padding:20px!important}.client-main-soft{background:#f6f8fb!important}
.client-hero-pro{background:#fff!important;color:#172033!important;border:1px solid #e5ebf2!important;border-radius:26px!important;padding:24px!important;box-shadow:0 14px 38px rgba(15,23,42,.055)!important}.client-hero-pro h1{color:#172033!important;font-size:clamp(28px,2.5vw,42px)!important;letter-spacing:-.035em!important;line-height:1.05!important}.client-hero-pro p{color:#64748b!important;font-size:16px!important;line-height:1.55!important}.client-hero-pro .kicker.light{background:#f0fdf4!important;color:#166534!important;border-color:#bbf7d0!important}.hero-command-card{background:#f8fafc!important;color:#172033!important;border:1px solid #e5ebf2!important;border-radius:22px!important;box-shadow:none!important}.hero-command-card span,.command-row span,.command-grid span{color:#64748b!important}.command-row b,.command-grid strong{color:#172033!important}.status-progress{background:#e5ebf2!important}.status-progress i{background:linear-gradient(90deg,#16a34a,#86efac)!important}.btn.white,.btn.ghost-light{background:#fff!important;color:#172033!important;border-color:#d7dee8!important;box-shadow:0 7px 16px rgba(15,23,42,.04)!important}.btn.primary{background:linear-gradient(135deg,#15803d,#22c55e)!important;border-color:#15803d!important}.btn.dark{background:#166534!important;border-color:#166534!important}.panel,.client-panel,.client-module-card,.kpi{box-shadow:0 10px 28px rgba(15,23,42,.045)!important;border-color:#e5ebf2!important}.cards.premium-kpis,.report-kpis-soft{gap:12px!important}.kpi{padding:16px!important;border-radius:20px!important}.kpi strong{font-size:28px!important}.kpi span{color:#64748b!important}
.grid-head{background:#f8fafc!important;color:#334155!important}.employee-week-grid{border-color:#e5ebf2!important}.workflow-list b{background:#16a34a!important}.table th{background:#f8fafc!important;color:#475569!important}
.report-soft-head{display:grid;grid-template-columns:minmax(0,1fr) 220px;gap:18px;align-items:stretch;background:#fff;border:1px solid #e5ebf2;border-radius:28px;padding:24px;margin-bottom:16px;box-shadow:0 12px 32px rgba(15,23,42,.05)}.report-soft-head h1{margin:6px 0 8px;font-size:clamp(30px,3vw,46px);letter-spacing:-.04em;line-height:1}.report-soft-head p{margin:0;color:#64748b;line-height:1.55;max-width:980px}.report-month-box{background:linear-gradient(180deg,#f8fafc,#f0fdf4);border:1px solid #dbe7d8;border-radius:22px;padding:18px;display:flex;flex-direction:column;justify-content:center}.report-month-box span{color:#64748b;text-transform:uppercase;letter-spacing:.09em;font-size:12px;font-weight:900}.report-month-box strong{font-size:34px;letter-spacing:-.04em}.report-month-box small{color:#64748b;font-weight:800}.soft-panel{border-radius:24px!important;background:#fff!important}.report-actions-panel{display:flex;align-items:end;justify-content:space-between;gap:16px;flex-wrap:wrap}.report-actions-panel .filter-bar{margin:0!important}.report-kpis-soft{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));margin:14px 0!important}.consultant-sheet-panel{overflow:hidden}.consultant-sheet-wrap{overflow:auto;border:1px solid #cfd8d3;border-radius:18px;background:#fff;box-shadow:0 12px 34px rgba(15,23,42,.045)}.consultant-sheet{border-collapse:collapse;min-width:1700px;width:100%;font-size:12px;background:#fff}.consultant-sheet th,.consultant-sheet td{border:1px solid #222;padding:4px 5px;text-align:center;vertical-align:middle}.consultant-sheet thead th{background:#f5f5f0!important;color:#111!important;font-weight:900}.consultant-company{width:250px;text-align:left!important;line-height:1.25}.month-title{font-size:15px;letter-spacing:.05em}.total-title,.total-head{width:70px}.emp-head{width:250px}.voice-head{width:110px}.day-head{width:38px;min-width:38px}.day-head b,.day-head small{display:block;line-height:1.05}.day-head small{font-size:10px;color:#475569}.day-head.weekend,.sheet-day.weekend{background:#fbf7ea!important}.employee-block{text-align:left!important;background:#fbfcfb!important;width:250px;min-width:250px}.employee-block strong{display:block;font-size:13px;text-transform:uppercase}.employee-block small{display:block;color:#475569;font-size:10px;line-height:1.25;margin-top:4px}.voice-label{text-align:left!important;background:#fafafa!important;width:110px}.voice-label b{display:block;font-size:11px}.voice-label small{display:block;font-size:9px;color:#64748b;line-height:1.15}.sheet-day{height:25px;min-width:38px;font-weight:800;background:#fff}.voice-straordinario .sheet-day,.voice-straordinario .voice-label{background:#fffaf0!important}.voice-ferie .sheet-day,.voice-ferie .voice-label{background:#f7fbff!important}.voice-permessi .sheet-day,.voice-permessi .voice-label{background:#fffdf0!important}.voice-malattia .sheet-day,.voice-malattia .voice-label{background:#fff5f5!important}.voice-altro .sheet-day,.voice-altro .voice-label{background:#fafafa!important}.sheet-total{background:#f1f5f2!important;font-weight:1000}.consultant-sheet tbody tr:nth-child(6n){border-bottom:3px solid #111}.consultant-sheet tfoot td{background:#eaf4eb!important;font-weight:1000}.consultant-sheet .empty{color:#cbd5e1}.section-head h2{letter-spacing:-.03em}@media(max-width:1180px){.report-soft-head{grid-template-columns:1fr}.report-kpis-soft{grid-template-columns:repeat(2,1fr)}}@media(max-width:780px){.client-main{padding:12px!important}.report-actions-panel{display:block}.report-actions-panel .hero-actions{margin-top:12px}.report-kpis-soft{grid-template-columns:1fr}.consultant-sheet{font-size:11px}}@media print{body.client-shell-body{background:#fff!important}.client-topbar,.report-actions-panel,.report-kpis-soft,.cookie-banner{display:none!important}.client-main{padding:0!important}.report-soft-head{box-shadow:none;border:0;padding:0;margin:0 0 8px;display:block}.report-soft-head h1{font-size:22px}.report-soft-head p,.report-month-box{display:none}.consultant-sheet-panel{border:0!important;box-shadow:none!important;padding:0!important}.consultant-sheet-wrap{border:0!important;border-radius:0!important;box-shadow:none!important;overflow:visible!important}.consultant-sheet{min-width:0!important;width:100%!important;font-size:8px!important}.consultant-sheet th,.consultant-sheet td{padding:2px!important}.employee-block{width:130px!important;min-width:130px!important}.voice-label{width:70px!important}.day-head,.sheet-day{min-width:18px!important;width:18px!important}.section-head{display:none!important}@page{size:A4 landscape;margin:7mm}}

/* === FIX 11/06 - leggibilità testi, sfondi e griglia funzioni === */
:root{--soft-green:#f3fbf6;--soft-border:#dce9e1;--soft-ink:#172033;--soft-muted:#64748b;}
body{background:#f6f8fb!important;}
.feature-list-pro,
.feature-summary-pro{display:grid!important;grid-template-columns:1fr!important;gap:12px!important;max-height:560px;overflow:auto;padding:2px 4px 2px 0;}
.feature-list-pro>div,
.feature-summary-group{background:linear-gradient(180deg,#ffffff,#f7fbf8)!important;border:1px solid var(--soft-border)!important;border-radius:18px!important;padding:14px!important;display:block!important;min-height:auto!important;color:var(--soft-ink)!important;box-shadow:0 8px 20px rgba(15,23,42,.035)!important;}
.feature-list-pro>div{display:grid!important;grid-template-columns:38px minmax(0,1fr)!important;gap:12px!important;align-items:flex-start!important;}
.feature-list-pro>div>span{width:38px!important;height:38px!important;border-radius:14px!important;background:#ecfdf3!important;color:#166534!important;display:grid!important;place-items:center!important;font-size:19px!important;line-height:1!important;}
.feature-list-pro b,
.feature-summary-group h3{display:block!important;color:var(--soft-ink)!important;font-size:15px!important;line-height:1.2!important;margin:0 0 8px!important;letter-spacing:-.01em!important;}
.feature-list-pro small{display:block!important;color:var(--soft-muted)!important;font-size:13px!important;line-height:1.38!important;white-space:normal!important;overflow:visible!important;}
.feature-summary-items{display:flex!important;flex-wrap:wrap!important;gap:7px!important;}
.feature-summary-items span{display:inline-flex!important;align-items:center!important;gap:6px!important;background:#fff!important;border:1px solid #dbe7df!important;border-radius:999px!important;color:#334155!important;padding:7px 10px!important;font-size:12px!important;font-weight:900!important;line-height:1.15!important;white-space:normal!important;}
.feature-summary-items i{font-style:normal!important;line-height:1!important;}
.client-panel,.panel,.price,.feature,.case-card,.shot-card,.visual-card{background:#fff!important;color:var(--soft-ink)!important;}
.client-panel *:not(.btn):not(.badge):not(.pill):not(.day-code):not(.shift-badge){color:inherit;}
.client-panel p,.client-panel small,.panel p,.price p,.feature p,.case-card p{color:var(--soft-muted)!important;}
.client-hero-pro{background:linear-gradient(180deg,#ffffff,#f8fbf9)!important;color:var(--soft-ink)!important;border:1px solid var(--soft-border)!important;}
.client-hero-pro h1,.client-hero-pro h2,.client-hero-pro strong,.client-hero-pro b{color:var(--soft-ink)!important;}
.client-hero-pro p,.client-hero-pro span,.client-hero-pro small{color:var(--soft-muted)!important;}
.client-hero-pro .kicker.light,.kicker.light{background:#ecfdf3!important;color:#166534!important;border-color:#bbf7d0!important;}
.hero-command-card,.pricing-side-card{background:linear-gradient(180deg,#ffffff,#f7faf8)!important;color:var(--soft-ink)!important;border:1px solid var(--soft-border)!important;}
.hero-command-card *,.pricing-side-card *{color:var(--soft-ink)!important;}
.pricing-side-card ul{background:#f3fbf6;border:1px solid #dbe7df;border-radius:16px;padding:14px 14px 14px 32px!important;margin-top:16px!important;}
.feature-matrix th{background:#f4f8f6!important;color:#172033!important;border-bottom:1px solid #dbe7df!important;}
.feature-matrix th:first-child{min-width:360px!important;}
.feature-matrix td:first-child{min-width:360px!important;background:#fbfdfb!important;}
.feature-matrix b{color:#172033!important;line-height:1.24!important;}
.feature-matrix small{display:block!important;color:#64748b!important;line-height:1.38!important;white-space:normal!important;margin-top:5px!important;max-width:520px!important;}
.feature-chip{display:inline-flex!important;align-items:center!important;max-width:100%!important;white-space:normal!important;word-break:normal!important;line-height:1.25!important;background:#f3fbf6!important;color:#166534!important;border:1px solid #dbe7df!important;border-radius:999px!important;padding:7px 10px!important;min-height:auto!important;}
.feature-chips{display:flex!important;flex-wrap:wrap!important;gap:7px!important;min-height:auto!important;overflow:visible!important;align-items:flex-start!important;}
.professional-price{min-width:0!important;overflow:visible!important;}
.professional-price h3{line-height:1.14!important;}.professional-price p{line-height:1.45!important;min-height:auto!important;}
.showcase-band{background:linear-gradient(135deg,#f7fbf8,#ecfdf3)!important;color:#172033!important;border:1px solid #dbe7df!important;box-shadow:0 14px 36px rgba(15,23,42,.055)!important;}
.showcase-band h2,.showcase-band strong,.showcase-band b{color:#172033!important;}
.showcase-band p,.showcase-band span{color:#64748b!important;}
.showcase-band .kicker.dark{background:#fff!important;color:#166534!important;border-color:#bbf7d0!important;}
.showcase-band .btn.primary{background:linear-gradient(135deg,#15803d,#22c55e)!important;color:#fff!important;}
.showcase-band .btn:not(.primary){background:#fff!important;color:#172033!important;border-color:#dbe7df!important;}
.consultant-sheet-wrap{background:#fff!important;}
.consultant-sheet th,.consultant-sheet td{color:#111!important;}
@media(max-width:980px){.feature-summary-pro{max-height:none;}.feature-matrix th:first-child,.feature-matrix td:first-child{min-width:280px!important;}}

/* === FIX 11/06 - dashboard cliente più pulita + griglia consulente orizzontale === */
.client-shell-body{background:linear-gradient(180deg,#f7faf8 0,#f4f7fb 100%)!important;}
.client-main{padding:22px!important;}
.client-hero-pro{background:#ffffff!important;border:1px solid #e4ece5!important;border-radius:24px!important;box-shadow:0 12px 34px rgba(15,23,42,.045)!important;gap:20px!important;}
.client-hero-pro .hero-copy{display:flex;flex-direction:column;justify-content:center;}
.client-hero-pro h1{font-size:clamp(28px,2.4vw,40px)!important;line-height:1.06!important;margin:10px 0 10px!important;color:#172033!important;}
.client-hero-pro p{font-size:15.5px!important;line-height:1.55!important;color:#64748b!important;max-width:980px!important;}
.client-hero-pro .hero-actions{margin-top:14px!important;}
.plan-status-card{background:linear-gradient(180deg,#ffffff,#f8fbf8)!important;border:1px solid #dbe7df!important;border-radius:22px!important;padding:18px!important;box-shadow:0 10px 26px rgba(15,23,42,.045)!important;display:flex!important;flex-direction:column!important;gap:14px!important;min-width:0!important;color:#172033!important;}
.plan-card-head{background:#f0fdf4!important;border:1px solid #bbf7d0!important;border-radius:18px!important;padding:14px!important;}
.plan-card-head span{display:block!important;color:#166534!important;font-size:11px!important;text-transform:uppercase!important;letter-spacing:.09em!important;font-weight:1000!important;line-height:1.1!important;}
.plan-card-head strong{display:block!important;color:#123524!important;font-size:24px!important;line-height:1.08!important;letter-spacing:-.025em!important;margin:6px 0 4px!important;word-break:normal!important;}
.plan-card-head small{display:block!important;color:#64748b!important;font-size:12px!important;font-weight:850!important;line-height:1.25!important;}
.plan-mini-grid{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:8px!important;}
.plan-mini-grid>div{background:#fff!important;border:1px solid #e2e8f0!important;border-radius:16px!important;padding:12px 9px!important;text-align:center!important;min-width:0!important;}
.plan-mini-grid b{display:block!important;color:#172033!important;font-size:26px!important;line-height:1!important;letter-spacing:-.04em!important;}
.plan-mini-grid span{display:block!important;color:#64748b!important;font-size:11px!important;font-weight:950!important;line-height:1.15!important;margin-top:6px!important;text-transform:uppercase!important;letter-spacing:.04em!important;}
.plan-progress-box{background:#fff!important;border:1px solid #e2e8f0!important;border-radius:16px!important;padding:13px!important;}
.plan-progress-box>div:first-child{display:flex!important;align-items:center!important;justify-content:space-between!important;gap:12px!important;margin-bottom:10px!important;}
.plan-progress-box span{color:#64748b!important;font-size:12px!important;text-transform:uppercase!important;letter-spacing:.07em!important;font-weight:1000!important;}
.plan-progress-box b{color:#172033!important;font-size:13px!important;line-height:1.2!important;text-align:right!important;}
.plan-progress{height:10px!important;background:#e8eef0!important;border-radius:999px!important;overflow:hidden!important;}
.plan-progress i{display:block!important;height:100%!important;background:linear-gradient(90deg,#16a34a,#86efac)!important;border-radius:999px!important;}
.plan-config-link{display:flex!important;align-items:center!important;justify-content:center!important;background:#172033!important;color:#fff!important;border-radius:15px!important;padding:12px 14px!important;font-weight:1000!important;box-shadow:0 8px 18px rgba(15,23,42,.10)!important;}
.plan-config-link:hover{background:#166534!important;}
.feature-summary-panel{max-height:none!important;overflow:visible!important;}
.feature-summary-pro{max-height:none!important;overflow:visible!important;display:grid!important;grid-template-columns:repeat(auto-fit,minmax(240px,1fr))!important;gap:12px!important;padding:0!important;}
.feature-summary-group{background:#f8fbf8!important;border:1px solid #dbe7df!important;border-radius:18px!important;padding:13px!important;color:#172033!important;overflow:visible!important;min-height:auto!important;}
.feature-summary-group h3{font-size:14px!important;margin:0 0 9px!important;color:#172033!important;line-height:1.2!important;}
.feature-summary-items{display:flex!important;flex-wrap:wrap!important;gap:7px!important;}
.feature-summary-items span{background:#ffffff!important;color:#334155!important;border:1px solid #dbe7df!important;border-radius:999px!important;padding:7px 10px!important;font-size:12px!important;font-weight:900!important;line-height:1.2!important;white-space:normal!important;max-width:100%!important;}
.feature-summary-items i{font-style:normal!important;line-height:1!important;color:#166534!important;}

/* Griglia consulente: niente elenco verticale, intestazioni compatte e scroll orizzontale */
.consultant-sheet-panel{overflow:hidden!important;background:#fff!important;border-radius:22px!important;}
.consultant-sheet-wrap{width:100%!important;overflow-x:auto!important;overflow-y:visible!important;border:1px solid #b8c4bd!important;border-radius:16px!important;background:#fff!important;box-shadow:0 10px 28px rgba(15,23,42,.045)!important;-webkit-overflow-scrolling:touch!important;}
.consultant-sheet{border-collapse:collapse!important;table-layout:fixed!important;width:max-content!important;font-size:11px!important;line-height:1.12!important;background:#fff!important;}
.consultant-sheet th,.consultant-sheet td{border:1px solid #263028!important;padding:3px 4px!important;text-align:center!important;vertical-align:middle!important;color:#111827!important;white-space:nowrap!important;word-break:normal!important;overflow:hidden!important;text-overflow:clip!important;}
.consultant-sheet thead th{background:#f0f4ef!important;color:#111827!important;font-weight:1000!important;}
.consultant-company{width:250px!important;min-width:250px!important;text-align:left!important;white-space:normal!important;line-height:1.18!important;}
.month-title{font-size:14px!important;letter-spacing:.05em!important;}
.emp-head,.employee-block{width:250px!important;min-width:250px!important;max-width:250px!important;}
.voice-head,.voice-label{width:110px!important;min-width:110px!important;max-width:110px!important;}
.total-title,.total-head,.sheet-total{width:78px!important;min-width:78px!important;max-width:78px!important;}
.day-head,.sheet-day{width:34px!important;min-width:34px!important;max-width:34px!important;}
.day-head{padding:3px 2px!important;}
.day-head b{display:block!important;font-size:11px!important;line-height:1!important;margin:0!important;white-space:nowrap!important;color:#111827!important;}
.day-head small{display:block!important;font-size:9px!important;line-height:1!important;margin-top:2px!important;white-space:nowrap!important;color:#475569!important;}
.employee-block{text-align:left!important;background:#fbfdfb!important;white-space:normal!important;padding:6px!important;}
.employee-block strong{display:block!important;font-size:12px!important;line-height:1.15!important;text-transform:uppercase!important;color:#111827!important;white-space:normal!important;}
.employee-block small{display:block!important;font-size:9px!important;line-height:1.15!important;color:#475569!important;margin-top:4px!important;white-space:normal!important;}
.voice-label{text-align:left!important;background:#fafafa!important;white-space:normal!important;padding:4px!important;}
.voice-label b{display:block!important;font-size:10px!important;line-height:1.05!important;color:#111827!important;white-space:nowrap!important;}
.voice-label small{display:none!important;}
.sheet-day{height:24px!important;background:#fff!important;font-size:10px!important;font-weight:900!important;}
.day-head.weekend,.sheet-day.weekend{background:#fbf7ea!important;}
.sheet-total{background:#eef6ef!important;font-weight:1000!important;}
.consultant-sheet tbody tr:nth-child(6n){border-bottom:3px solid #263028!important;}
.consultant-sheet tfoot td{background:#eaf4eb!important;font-weight:1000!important;}
.report-soft-head{background:#fff!important;border:1px solid #dbe7df!important;border-radius:22px!important;padding:20px!important;box-shadow:0 10px 26px rgba(15,23,42,.04)!important;}
.report-soft-head h1{font-size:clamp(28px,2.6vw,40px)!important;line-height:1.05!important;margin:6px 0 6px!important;}
.report-soft-head p{font-size:15px!important;line-height:1.5!important;}
.report-month-box{background:#f0fdf4!important;border:1px solid #bbf7d0!important;border-radius:18px!important;}
.report-actions-panel{align-items:center!important;}
.report-actions-panel .hero-actions{gap:8px!important;}
.report-kpis-soft .kpi{background:#fff!important;border:1px solid #dbe7df!important;border-radius:18px!important;padding:14px!important;}
@media(max-width:1180px){.client-hero-pro{grid-template-columns:1fr!important}.plan-mini-grid{grid-template-columns:repeat(3,1fr)!important}.feature-summary-pro{grid-template-columns:1fr!important}}
@media(max-width:780px){.client-main{padding:12px!important}.plan-mini-grid{grid-template-columns:1fr!important}.plan-card-head strong{font-size:21px!important}.consultant-sheet{font-size:10px!important}.consultant-company,.emp-head,.employee-block{width:190px!important;min-width:190px!important;max-width:190px!important}.voice-head,.voice-label{width:82px!important;min-width:82px!important;max-width:82px!important}.day-head,.sheet-day{width:30px!important;min-width:30px!important;max-width:30px!important}.total-title,.total-head,.sheet-total{width:62px!important;min-width:62px!important;max-width:62px!important}}
@media print{.client-topbar,.report-actions-panel,.report-kpis-soft,.cookie-banner,.section-head p{display:none!important}.client-main{padding:0!important;background:#fff!important}.report-soft-head{box-shadow:none!important;border:0!important;padding:0!important;margin:0 0 6px!important}.report-soft-head h1{font-size:18px!important}.consultant-sheet-panel{padding:0!important;border:0!important;box-shadow:none!important}.consultant-sheet-wrap{overflow:visible!important;border:0!important;box-shadow:none!important}.consultant-sheet{width:100%!important;min-width:0!important;font-size:7.2px!important;table-layout:fixed!important}.consultant-sheet th,.consultant-sheet td{padding:1px!important}.consultant-company,.emp-head,.employee-block{width:115px!important;min-width:115px!important;max-width:115px!important}.voice-head,.voice-label{width:54px!important;min-width:54px!important;max-width:54px!important}.day-head,.sheet-day{width:16px!important;min-width:16px!important;max-width:16px!important}.total-title,.total-head,.sheet-total{width:34px!important;min-width:34px!important;max-width:34px!important}.employee-block strong{font-size:7px!important}.employee-block small{font-size:6px!important}.voice-label b{font-size:6.5px!important}.day-head b{font-size:6.8px!important}.day-head small{font-size:5.8px!important}@page{size:A4 landscape;margin:5mm}}

/* =========================================================
   FIX PROFESSIONALE AREA CLIENTE + GRIGLIA CONSULENTE
   - elimina effetto cartoon/animato
   - impedisce alla griglia mensile di impilare le colonne
   ========================================================= */
.client-shell-body{
  background:#f5f7f8!important;
  color:#1f2933!important;
}
.client-topbar{
  background:#ffffff!important;
  border-bottom:1px solid #dfe6e2!important;
  box-shadow:0 6px 18px rgba(15,23,42,.045)!important;
}
.client-top-inner{padding:12px 22px!important;}
.client-brand .mark,.brand .mark{
  background:#f2f5f3!important;
  color:#1f2933!important;
  border:1px solid #d5ded8!important;
  box-shadow:none!important;
}
.client-brand small{color:#667085!important;}
.client-nav a{
  color:#475569!important;
  border:1px solid transparent!important;
  background:transparent!important;
}
.client-nav a:hover{
  background:#f2f6f4!important;
  color:#172033!important;
}
.client-nav a.active{
  background:#e9f5ee!important;
  color:#14532d!important;
  border-color:#cfe8d8!important;
  box-shadow:none!important;
}
.plan-pill{
  background:#f2f6f4!important;
  color:#14532d!important;
  border-color:#cfe8d8!important;
}
.client-main{background:transparent!important;}
.client-hero-pro,
.report-soft-head{
  background:#ffffff!important;
  background-image:none!important;
  color:#1f2933!important;
  border:1px solid #dfe6e2!important;
  border-radius:22px!important;
  box-shadow:0 10px 26px rgba(15,23,42,.045)!important;
}
.client-hero-pro h1,
.client-hero-pro h2,
.report-soft-head h1{
  color:#1f2933!important;
  letter-spacing:-.035em!important;
}
.client-hero-pro p,
.report-soft-head p{
  color:#64748b!important;
}
.hero-command-card,
.report-month-box{
  background:#f8faf9!important;
  background-image:none!important;
  color:#1f2933!important;
  border:1px solid #dfe6e2!important;
  border-radius:18px!important;
  box-shadow:none!important;
}
.hero-command-card span,
.hero-command-card small,
.report-month-box span,
.report-month-box small{
  color:#667085!important;
}
.hero-command-card b,
.report-month-box strong{
  color:#172033!important;
}
.btn.primary{
  background:#177245!important;
  border-color:#177245!important;
  color:#fff!important;
  box-shadow:none!important;
}
.btn.dark{
  background:#334155!important;
  border-color:#334155!important;
}
.btn,
.client-module-card,
.client-panel,
.panel,
.kpi{
  box-shadow:0 8px 22px rgba(15,23,42,.045)!important;
}
.btn:hover{transform:none!important;}
.kicker.light,.kicker{
  background:#eef7f1!important;
  color:#14532d!important;
  border-color:#cfe8d8!important;
}
.kpi strong{color:#172033!important;}
.kpi span{color:#64748b!important;}

/* Griglia consulente: vera tabella orizzontale, mai elenco verticale */
.consultant-sheet-panel{
  background:#fff!important;
  border:1px solid #dfe6e2!important;
  border-radius:20px!important;
  overflow:hidden!important;
}
.sheet-scroll-note{
  display:inline-flex!important;
  align-items:center!important;
  margin:0 0 12px 0!important;
  padding:8px 12px!important;
  border-radius:999px!important;
  background:#f2f6f4!important;
  border:1px solid #dfe6e2!important;
  color:#475569!important;
  font-size:12px!important;
  font-weight:800!important;
}
.consultant-sheet-wrap{
  display:block!important;
  width:100%!important;
  max-width:100%!important;
  overflow-x:auto!important;
  overflow-y:visible!important;
  -webkit-overflow-scrolling:touch!important;
  border:1px solid #bfcac4!important;
  border-radius:14px!important;
  background:#fff!important;
}
.consultant-sheet,
.consultant-sheet-fixed{
  display:table!important;
  border-collapse:collapse!important;
  border-spacing:0!important;
  table-layout:fixed!important;
  background:#fff!important;
  font-size:10.5px!important;
  line-height:1.05!important;
}
.consultant-sheet col.col-employee{width:230px!important;}
.consultant-sheet col.col-voice{width:88px!important;}
.consultant-sheet col.col-day{width:34px!important;}
.consultant-sheet col.col-total{width:72px!important;}
.consultant-sheet thead{display:table-header-group!important;}
.consultant-sheet tbody{display:table-row-group!important;}
.consultant-sheet tfoot{display:table-footer-group!important;}
.consultant-sheet tr{display:table-row!important;}
.consultant-sheet th,
.consultant-sheet td{
  display:table-cell!important;
  border:1px solid #27332d!important;
  padding:3px 4px!important;
  text-align:center!important;
  vertical-align:middle!important;
  color:#111827!important;
  white-space:nowrap!important;
  word-break:normal!important;
  overflow:hidden!important;
  text-overflow:clip!important;
  background:#fff!important;
}
.consultant-sheet thead th{
  background:#f3f6f4!important;
  color:#111827!important;
  font-weight:900!important;
}
.consultant-sheet .consultant-company{
  width:318px!important;
  min-width:318px!important;
  text-align:left!important;
  white-space:normal!important;
  line-height:1.2!important;
}
.consultant-sheet .month-title{
  font-size:13px!important;
  letter-spacing:.04em!important;
}
.consultant-sheet .emp-head,
.consultant-sheet .employee-block{
  width:230px!important;
  min-width:230px!important;
  max-width:230px!important;
}
.consultant-sheet .voice-head,
.consultant-sheet .voice-label{
  width:88px!important;
  min-width:88px!important;
  max-width:88px!important;
}
.consultant-sheet .day-head,
.consultant-sheet .sheet-day{
  width:34px!important;
  min-width:34px!important;
  max-width:34px!important;
}
.consultant-sheet .total-title,
.consultant-sheet .total-head,
.consultant-sheet .sheet-total{
  width:72px!important;
  min-width:72px!important;
  max-width:72px!important;
}
.consultant-sheet .day-head .day-label{
  display:inline-block!important;
  white-space:nowrap!important;
  font-size:10px!important;
  line-height:1!important;
  color:#111827!important;
}
.consultant-sheet .day-head.weekend,
.consultant-sheet .sheet-day.weekend{
  background:#fbf7ea!important;
}
.consultant-sheet .employee-block{
  text-align:left!important;
  white-space:normal!important;
  background:#fbfcfb!important;
  padding:6px!important;
}
.consultant-sheet .employee-block strong{
  display:block!important;
  font-size:11px!important;
  line-height:1.15!important;
  color:#111827!important;
}
.consultant-sheet .employee-block small{
  display:block!important;
  font-size:9px!important;
  line-height:1.15!important;
  color:#64748b!important;
  margin-top:3px!important;
  white-space:normal!important;
}
.consultant-sheet .voice-label{
  text-align:left!important;
  white-space:normal!important;
  background:#f8faf9!important;
}
.consultant-sheet .voice-label b{
  display:block!important;
  font-size:9.5px!important;
  line-height:1.05!important;
  color:#111827!important;
}
.consultant-sheet .voice-label small{display:none!important;}
.consultant-sheet .sheet-total{
  background:#eef4f0!important;
  font-weight:900!important;
}
.consultant-sheet tbody tr:nth-child(6n) td{
  border-bottom-width:2px!important;
}
.consultant-sheet tfoot td{
  background:#e8f3ec!important;
  font-weight:900!important;
}

@media(max-width:780px){
  .client-top-inner{padding:10px 12px!important;}
  .client-main{padding:12px!important;}
  .consultant-sheet,
  .consultant-sheet-fixed{font-size:10px!important;}
  .sheet-scroll-note{border-radius:12px!important;white-space:normal!important;}
}
@media print{
  body.client-shell-body{background:#fff!important;}
  .client-topbar,.report-actions-panel,.report-kpis-soft,.sheet-scroll-note,.cookie-banner{display:none!important;}
  .client-main{padding:0!important;}
  .report-soft-head{display:block!important;border:0!important;box-shadow:none!important;padding:0!important;margin:0 0 6px!important;}
  .report-soft-head h1{font-size:18px!important;}
  .report-soft-head p,.report-month-box{display:none!important;}
  .consultant-sheet-panel{border:0!important;box-shadow:none!important;padding:0!important;}
  .consultant-sheet-wrap{overflow:visible!important;border:0!important;border-radius:0!important;box-shadow:none!important;}
  .consultant-sheet,
  .consultant-sheet-fixed{width:100%!important;min-width:0!important;table-layout:fixed!important;font-size:7.1px!important;}
  .consultant-sheet th,.consultant-sheet td{padding:1px!important;}
  .consultant-sheet .emp-head,.consultant-sheet .employee-block{width:115px!important;min-width:115px!important;max-width:115px!important;}
  .consultant-sheet .voice-head,.consultant-sheet .voice-label{width:50px!important;min-width:50px!important;max-width:50px!important;}
  .consultant-sheet .day-head,.consultant-sheet .sheet-day{width:16px!important;min-width:16px!important;max-width:16px!important;}
  .consultant-sheet .total-title,.consultant-sheet .total-head,.consultant-sheet .sheet-total{width:32px!important;min-width:32px!important;max-width:32px!important;}
  .consultant-sheet .day-head .day-label{font-size:6.4px!important;}
  .consultant-sheet .employee-block strong{font-size:6.8px!important;}
  .consultant-sheet .employee-block small{font-size:5.8px!important;}
  .consultant-sheet .voice-label b{font-size:6.2px!important;}
  @page{size:A4 landscape;margin:5mm;}
}

/* === 12/06 - versione gestione clienti, demo immediata, mobile commerciale === */
:root{--sm-bg:#f7f9fb;--sm-card:#ffffff;--sm-ink:#182230;--sm-muted:#667085;--sm-line:#d9e2ea;--sm-soft:#eef3f7;--sm-green:#157f4f;--sm-blue:#2454a6;--sm-shadow:0 14px 38px rgba(16,24,40,.07)}
body{background:var(--sm-bg)!important;color:var(--sm-ink)!important}.panel,.price,.feature,.case-card,.step,.client-panel,.customer-admin-card{box-shadow:var(--sm-shadow)!important;border-color:var(--sm-line)!important}.btn.primary{background:linear-gradient(135deg,#157f4f,#23a36a)!important;border-color:#157f4f!important}.btn.dark{background:#243042!important;border-color:#243042!important}.mark{background:linear-gradient(135deg,#157f4f,#55b787)!important;box-shadow:0 12px 28px rgba(21,127,79,.20)!important}.kicker,.eyebrow{color:#157f4f!important}.kicker{background:#eef9f2!important;border-color:#cdebd7!important}.kicker.light{background:#eef9f2!important;border-color:#cdebd7!important;color:#157f4f!important}.login-soft{background:linear-gradient(180deg,#f7faf8,#eef3f7)!important}.login-card-pro{max-width:520px;border-radius:28px!important}.login-card-pro h1{margin-bottom:8px}.login-extra{display:flex;gap:8px;justify-content:center;flex-wrap:wrap;margin-top:18px;color:#475467;font-weight:850}.check-line{display:flex!important;gap:10px;align-items:flex-start}.check-line input{width:auto!important;margin-top:4px!important}.mini-commercial-box{margin-top:24px;background:#fff;border:1px solid var(--sm-line);border-radius:24px;padding:22px;box-shadow:var(--sm-shadow)}.mini-commercial-box h2{font-size:24px;margin:0 0 8px}.mini-commercial-box p{margin:0;color:#667085;line-height:1.5}.checkout-layout{display:grid;grid-template-columns:minmax(0,1fr) 430px;gap:22px}.checkout-summary h1{font-size:clamp(34px,4vw,56px);line-height:1}.checkout-form-card{position:sticky;top:96px}.customer-avatar{display:inline-grid;place-items:center;border-radius:18px;background:#eef9f2;border:1px solid #cdebd7;overflow:hidden;flex:none;color:#157f4f;font-weight:1000}.customer-avatar img{width:100%;height:100%;object-fit:cover;display:block}.customer-avatar.sm{width:44px;height:44px}.customer-avatar.md{width:52px;height:52px}.customer-avatar.lg{width:70px;height:70px;border-radius:24px}.customer-card-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(360px,1fr));gap:18px;margin-top:18px}.customer-admin-card{background:#fff;border:1px solid var(--sm-line);border-radius:28px;padding:20px}.customer-admin-head{display:flex;gap:14px;align-items:center;margin-bottom:16px}.customer-admin-head h2{margin:0;font-size:22px;line-height:1.1}.customer-admin-head p{margin:4px 0 8px;color:#667085}.customer-admin-meta{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}.customer-admin-meta div{background:#f8fafc;border:1px solid #e4e7ec;border-radius:16px;padding:12px;min-width:0}.customer-admin-meta span{display:block;color:#667085;font-size:11px;text-transform:uppercase;letter-spacing:.07em;font-weight:950}.customer-admin-meta b{display:block;margin-top:5px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.customer-actions,.quick-inline-actions{display:flex;gap:8px;flex-wrap:wrap;margin-top:14px}.customer-drawer{display:none;margin-top:16px;background:#f9fbfc;border:1px solid #e4e7ec;border-radius:22px;padding:16px}.customer-drawer.is-open{display:block}.admin-panel-soft{background:linear-gradient(180deg,#fff,#fbfdfc)!important}.quick-customer-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:12px}.quick-customer-grid article{display:grid;grid-template-columns:auto 1fr;gap:12px;align-items:center;background:#fff;border:1px solid #e4e7ec;border-radius:20px;padding:14px}.quick-customer-grid strong,.quick-customer-grid span{display:block}.quick-customer-grid span{color:#667085;font-size:13px;margin-top:2px}.quick-customer-grid .quick-inline-actions{grid-column:1/-1;margin-top:4px}.reset-inline-form{margin-top:14px;border-top:1px solid #e4e7ec;padding-top:14px}.client-shell-body{background:#f6f8fa!important}.client-topbar{background:#fff!important;box-shadow:0 10px 22px rgba(16,24,40,.045)!important}.client-brand .customer-avatar{margin-right:0}.client-nav a.active,.client-nav a:hover{background:#eef9f2!important;color:#157f4f!important}.client-hero-pro{background:#fff!important;border:1px solid var(--sm-line)!important;box-shadow:var(--sm-shadow)!important}.client-hero-pro h1,.client-hero-pro p{color:var(--sm-ink)!important}.client-hero-pro p{color:#667085!important}.btn.white,.btn.ghost-light{background:#fff!important;color:var(--sm-ink)!important;border-color:#d0d5dd!important;box-shadow:0 8px 22px rgba(16,24,40,.05)!important}.plan-status-card{background:#fff!important}.plan-config-link{background:#157f4f!important}.workflow-list b{background:#157f4f!important}.feature-summary-panel{background:#fff!important}.feature-summary-pro{display:grid!important;grid-template-columns:repeat(auto-fit,minmax(210px,1fr))!important;gap:12px!important;max-height:none!important;overflow:visible!important}.feature-summary-group{background:#f8fafc!important;border:1px solid #e4e7ec!important;color:#182230!important;min-width:0!important}.feature-summary-items span{background:#fff!important;color:#344054!important;white-space:normal!important;line-height:1.22!important;max-width:100%!important}.feature-chip{white-space:normal!important;line-height:1.2!important}.clean-chips,.feature-chips{align-items:flex-start}.professional-price .plan-top{min-height:auto!important}.professional-price p{min-height:auto!important}.price{overflow:visible!important}.feature-matrix{min-width:900px}.matrix-wrap{overflow-x:auto!important}.consultant-sheet{display:table!important;border-collapse:collapse!important}.consultant-sheet thead{display:table-header-group!important}.consultant-sheet tbody{display:table-row-group!important}.consultant-sheet tr{display:table-row!important}.consultant-sheet th,.consultant-sheet td{display:table-cell!important;white-space:nowrap!important;color:#111827!important;background-clip:padding-box!important}.consultant-sheet-wrap{overflow-x:auto!important;-webkit-overflow-scrolling:touch!important}.day-label{display:inline-block!important;white-space:nowrap!important;font-size:10px!important;line-height:1!important}.sheet-scroll-note{display:inline-block;background:#f8fafc;border:1px solid #e4e7ec;border-radius:999px;padding:8px 12px;margin:8px 0 14px;color:#475467;font-size:12px;font-weight:850}.report-soft-head{display:grid;grid-template-columns:1fr auto;gap:18px;align-items:center}.report-month-box{padding:18px;min-width:180px}.report-month-box span,.report-month-box small{display:block;color:#667085;font-weight:850}.report-month-box strong{display:block;font-size:28px;margin:4px 0}.navlinks{min-width:0}.hero-mobile-clean{align-items:start}
@media(max-width:980px){.wrap{padding-left:16px!important;padding-right:16px!important}.nav{height:auto!important;padding:12px 0!important;align-items:flex-start!important;flex-direction:column!important}.navlinks{display:flex!important;width:100%!important;overflow-x:auto!important;gap:6px!important;padding-bottom:4px!important}.navlinks a{white-space:nowrap!important;font-size:13px!important;padding:9px 11px!important}.hero{grid-template-columns:1fr!important;padding:42px 0 30px!important;gap:24px!important}.hero h1{font-size:clamp(34px,10vw,48px)!important;line-height:1.02!important}.lead{font-size:17px!important}.trust span{font-size:13px}.pricing,.pricing-wide,.grid3,.grid4,.workflow,.footer-grid,.cards,.client-module-grid,.customer-card-grid,.checkout-layout{grid-template-columns:1fr!important}.checkout-form-card{position:static}.section{padding:34px 0!important}.section h2{font-size:clamp(28px,8vw,38px)!important}.software-frame{border-radius:24px!important;padding:12px!important}.dash-grid{grid-template-columns:1fr!important}.floating-card{position:static!important;width:auto!important;margin-top:12px}.showcase-band{grid-template-columns:1fr!important;border-radius:24px!important;padding:24px!important}.client-top-inner{padding:10px 14px!important;flex-direction:column!important;align-items:stretch!important}.client-brand{min-width:0!important}.client-nav{width:100%!important;overflow-x:auto!important}.client-head-actions{justify-content:space-between!important}.client-main{padding:12px!important}.client-hero-pro{grid-template-columns:1fr!important;border-radius:22px!important;padding:18px!important}.client-hero-pro h1{font-size:30px!important}.hero-actions .btn{width:100%}.customer-admin-meta{grid-template-columns:repeat(2,minmax(0,1fr))}.two,.three{grid-template-columns:1fr!important}.feature-summary-pro{grid-template-columns:1fr!important}.report-soft-head{grid-template-columns:1fr}.report-actions-panel .filter-bar,.report-actions-panel .hero-actions{display:grid!important;grid-template-columns:1fr!important;width:100%}.employee-week-grid{grid-template-columns:200px repeat(7,150px)!important}.consultant-company,.emp-head,.employee-block{width:190px!important;min-width:190px!important;max-width:190px!important}.voice-head,.voice-label{width:88px!important;min-width:88px!important;max-width:88px!important}.day-head,.sheet-day{width:32px!important;min-width:32px!important;max-width:32px!important}.total-title,.total-head,.sheet-total{width:66px!important;min-width:66px!important;max-width:66px!important}}
@media(max-width:560px){.btn{width:100%;min-height:44px}.customer-admin-meta{grid-template-columns:1fr}.customer-admin-head{align-items:flex-start}.customer-avatar.lg{width:58px;height:58px;border-radius:20px}.amount{font-size:32px!important}.login-card{padding:22px!important}.plan-mini-grid{grid-template-columns:1fr!important}.kpi strong{font-size:28px!important}.today-shift-row{grid-template-columns:1fr!important}.table th,.table td{font-size:13px}.feature-matrix{min-width:760px}.professional-price{padding:20px!important}.client-nav a{font-size:13px!important}.consultant-sheet{font-size:10px!important}}
@media print{.client-topbar,.report-actions-panel,.sheet-scroll-note,.hero-actions,.btn{display:none!important}.client-main{padding:0!important;background:#fff!important}.panel,.report-soft-head{box-shadow:none!important;border:0!important}.consultant-sheet-wrap{overflow:visible!important;border:0!important}.consultant-sheet{transform:scale(.72);transform-origin:top left}.consultant-sheet-panel{overflow:visible!important}@page{size:A4 landscape;margin:8mm}}


/* === ShiftMastro sales refresh / mobile-first refinements === */
.mark{background:url('logo-shiftmastro.svg') center/cover no-repeat!important;color:transparent!important;text-indent:-999px;overflow:hidden;box-shadow:0 18px 38px rgba(37,99,235,.28)!important;border:1px solid rgba(255,255,255,.45)}
.public-refresh{background:radial-gradient(circle at 8% 0,#dbeafe 0,#f8fbff 32%,#f7f8fb 66%,#eef6ff 100%)}
.public-refresh .topbar{background:rgba(255,255,255,.9);box-shadow:0 8px 30px rgba(15,23,42,.04)}
.public-refresh .hero h1{max-width:900px}.sales-hero{padding-top:78px}.sales-hero:before{content:"";position:absolute;inset:90px auto auto 2%;width:190px;height:190px;background:#22d3ee;filter:blur(90px);opacity:.28;pointer-events:none}.upgraded-frame{border:1px solid rgba(255,255,255,.2);background:linear-gradient(160deg,#08111f,#0f2450 55%,#102a43)}
.final-cta{position:relative}.final-cta:after{content:"";position:absolute;right:-80px;top:-60px;width:220px;height:220px;background:#22d3ee;filter:blur(90px);opacity:.24}
.visual-card,.shot-card,.professional-price,.refined-case{transition:.18s}.visual-card:hover,.shot-card:hover,.professional-price:hover,.refined-case:hover{transform:translateY(-3px);box-shadow:0 22px 56px rgba(16,24,40,.11)}
.demo-proof-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;margin-top:18px}.demo-proof-grid div{background:white;border:1px solid var(--line);border-radius:20px;padding:16px;box-shadow:0 10px 26px rgba(16,24,40,.06)}.demo-proof-grid b{display:block;font-size:28px;letter-spacing:-.04em}.demo-proof-grid span{display:block;color:#667085;font-weight:850;font-size:13px}.checkout-benefits{display:grid;gap:12px;margin-top:20px}.checkout-benefits div{padding:14px;border:1px solid var(--line);border-radius:18px;background:#f8fafc}.checkout-benefits b,.checkout-benefits span{display:block}.checkout-benefits span{color:#667085;margin-top:4px}
.client-dashboard-refresh .client-hero-sales{background:linear-gradient(135deg,#0b1220,#123f78 58%,#0891b2);position:relative;overflow:hidden}.client-dashboard-refresh .client-hero-sales:after{content:"";position:absolute;right:-80px;top:-70px;width:240px;height:240px;border-radius:50%;background:#67e8f9;filter:blur(70px);opacity:.30}.client-dashboard-refresh .hero-copy,.client-dashboard-refresh .hero-command-card{position:relative;z-index:1}.dashboard-focus-layout{grid-template-columns:1fr .48fr}.setup-score{display:grid;place-items:center;min-width:68px;height:68px;border-radius:22px;background:#eff6ff;color:#1d4ed8;font-size:24px;font-weight:1000}.setup-progress{height:12px;background:#e5e7eb;border-radius:999px;overflow:hidden;margin:6px 0 18px}.setup-progress i{display:block;height:100%;border-radius:999px;background:linear-gradient(90deg,#2563eb,#06b6d4)}.setup-checklist{display:grid;grid-template-columns:repeat(2,1fr);gap:12px}.setup-item{display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:10px;border:1px solid var(--line);border-radius:18px;padding:14px;background:#f8fafc}.setup-item span{display:grid;place-items:center;width:30px;height:30px;border-radius:50%;background:#e0f2fe;color:#0369a1;font-weight:1000}.setup-item.done span{background:#dcfce7;color:#166534}.setup-item em{font-style:normal;color:#667085;font-weight:850;font-size:12px}.upgrade-panel{background:linear-gradient(180deg,#fff,#f8fbff)}.mini-feature-cloud{display:flex;flex-wrap:wrap;gap:8px;margin:14px 0}.mini-feature-cloud span{font-size:12px;font-weight:900;background:#eff6ff;color:#1d4ed8;border:1px solid #bfdbfe;padding:7px 10px;border-radius:999px}.module-grid-refresh .client-module-card{min-height:252px}.module-grid-refresh .client-module-card.locked{background:linear-gradient(180deg,#fff,#f8fafc);opacity:1}.module-grid-refresh .client-module-card.locked .module-icon{filter:grayscale(1);opacity:.65}.locked-pill{display:inline-flex;margin:8px 0 10px;background:#fff7ed;color:#c2410c;border:1px solid #fed7aa;border-radius:999px;padding:8px 11px;font-weight:950;font-size:12px}.plan-card-head small{line-height:1.45}.client-topbar{position:sticky;top:0;z-index:45}.client-nav{overflow-x:auto;-webkit-overflow-scrolling:touch}.client-nav::-webkit-scrollbar,.navlinks::-webkit-scrollbar{height:0}
@media (max-width: 980px){
  .wrap{padding:0 16px}.nav{height:auto;min-height:72px;align-items:flex-start;flex-direction:column;padding:12px 0}.navlinks{width:100%;overflow-x:auto;justify-content:flex-start;padding-bottom:4px}.navlinks a{white-space:nowrap}.hero,.split,.showcase-band,.pricing-hero-grid,.checkout-layout,.client-dashboard-layout,.dashboard-focus-layout{grid-template-columns:1fr!important}.hero h1{font-size:44px;line-height:1.02}.lead{font-size:18px}.hero{padding:48px 0 34px;gap:28px}.floating-card{position:relative;right:auto;bottom:auto;margin-top:14px;width:auto}.grid3,.grid4,.workflow,.pricing,.pricing-wide,.visual-gallery,.showcase-grid,.testimonial-grid,.kpi-5,.client-module-grid,.setup-checklist{grid-template-columns:1fr!important}.section h2{font-size:34px}.showcase-band{padding:26px;border-radius:28px}.matrix-wrap{overflow:auto;border-radius:22px}.feature-matrix{min-width:760px}.software-frame{border-radius:26px;padding:14px}.dash-grid{grid-template-columns:1fr}.demo-proof-grid{grid-template-columns:1fr 1fr 1fr}.client-top-inner{align-items:flex-start;flex-direction:column;gap:12px}.client-nav{width:100%;display:flex}.client-head-actions{width:100%;justify-content:space-between}.client-hero-pro{grid-template-columns:1fr!important;padding:24px!important}.hero-actions .btn{flex:1 1 auto}.customer-card-grid,.package-matrix{grid-template-columns:1fr!important}.two,.three{grid-template-columns:1fr!important}
}
@media (max-width: 560px){
  .brand{font-size:18px}.brand small{font-size:10px}.mark{width:40px;height:40px;border-radius:14px}.hero h1{font-size:36px}.section h2{font-size:30px}.btn{width:100%;padding:13px 15px}.hero-actions{width:100%}.trust span{font-size:13px}.dash-big{font-size:36px}.doc-line{grid-template-columns:92px 1fr 54px;font-size:13px}.amount{font-size:32px}.demo-proof-grid{grid-template-columns:1fr}.pricing-side-card,.panel,.feature,.price,.case-card,.step,.employee-card{padding:20px;border-radius:22px}.client-main{padding:16px}.premium-kpis .kpi,.kpi{padding:16px}.today-shift-row{grid-template-columns:1fr!important;align-items:start}.setup-item{grid-template-columns:auto 1fr}.setup-item em{grid-column:2}.client-module-card .btn{width:100%}.feature-groups{grid-template-columns:1fr!important}.sidebar{position:relative;width:100%;height:auto}.shell{display:block}.main{padding:18px}.head{flex-direction:column;align-items:flex-start}.footer-grid{grid-template-columns:1fr!important}.cookie-banner{left:12px;right:12px;bottom:12px;grid-template-columns:1fr!important}.lang-switch{flex:none}
}

/* === FUNZIONI COMMERCIALI AVANZATE: onboarding, demo data, calcolatore, console demo === */
.inline-demo-form{display:inline-flex!important;margin:0!important}
.inline-demo-form .btn{white-space:nowrap!important}
.demo-seed-box{margin-top:18px!important;padding:16px!important;border:1px solid #bfdbfe!important;background:linear-gradient(135deg,#eff6ff,#f8fafc)!important;border-radius:20px!important;display:grid!important;grid-template-columns:1fr auto!important;gap:14px!important;align-items:center!important}
.demo-seed-box strong{display:block!important;color:#0f172a!important;font-size:16px!important}.demo-seed-box p{margin:4px 0 0!important;color:#64748b!important;line-height:1.45!important}
.smart-alert-panel{margin:18px 0!important;background:linear-gradient(180deg,#fff,#f8fbff)!important;border:1px solid #dbeafe!important}
.smart-alert-grid{display:grid!important;grid-template-columns:repeat(auto-fit,minmax(220px,1fr))!important;gap:12px!important}.smart-alert{border:1px solid #e5e7eb!important;background:#fff!important;border-radius:18px!important;padding:14px!important;display:grid!important;gap:7px!important;box-shadow:0 10px 26px rgba(15,23,42,.04)!important}.smart-alert span{justify-self:start!important;border-radius:999px!important;background:#eff6ff!important;color:#1d4ed8!important;padding:5px 9px!important;font-size:11px!important;font-weight:1000!important;text-transform:uppercase!important;letter-spacing:.05em!important}.smart-alert b{font-size:16px!important;color:#172033!important}.smart-alert em{font-style:normal!important;color:#64748b!important;line-height:1.35!important;font-size:13px!important}.smart-alert.trial span,.smart-alert.setup span,.smart-alert.planning span{background:#fff7ed!important;color:#c2410c!important}.smart-alert.requests span{background:#fef9c3!important;color:#854d0e!important}.smart-alert.clock span{background:#f1f5f9!important;color:#334155!important}
.activity-timeline{display:grid!important;gap:10px!important}.activity-timeline>div{display:grid!important;grid-template-columns:auto 1fr auto!important;gap:8px 10px!important;align-items:start!important;border:1px solid #e2e8f0!important;border-radius:16px!important;padding:12px!important;background:#fff!important}.activity-timeline span{display:grid!important;place-items:center!important;width:34px!important;height:34px!important;border-radius:12px!important;background:#eef6ff!important;color:#1d4ed8!important;font-size:11px!important;font-weight:1000!important}.activity-timeline strong{color:#172033!important;line-height:1.2!important}.activity-timeline em{font-style:normal!important;color:#64748b!important;font-size:12px!important}.activity-timeline p{grid-column:2/4!important;margin:0!important;color:#64748b!important;font-size:13px!important;line-height:1.35!important}.activity-panel{background:linear-gradient(180deg,#fff,#f8fafc)!important}
.calculator-hero{grid-template-columns:1fr .58fr!important;gap:34px!important;align-items:center!important}.calculator-card{position:relative!important}.calc-form{display:grid!important;gap:12px!important}.calculator-results{display:grid!important;grid-template-columns:.8fr 1fr!important;gap:18px!important;align-items:stretch!important;padding-top:16px!important}.roi-result-card{border-radius:30px!important;padding:28px!important;background:linear-gradient(135deg,#0b1220,#123f78 60%,#0891b2)!important;color:#fff!important;box-shadow:0 20px 60px rgba(15,23,42,.20)!important}.roi-result-card span{display:block!important;text-transform:uppercase!important;letter-spacing:.08em!important;font-weight:1000!important;font-size:12px!important;color:#bfdbfe!important}.roi-result-card strong{display:block!important;font-size:clamp(34px,5vw,58px)!important;letter-spacing:-.06em!important;margin:8px 0!important}.roi-result-card p{color:#dbeafe!important;line-height:1.55!important;margin:0!important}.roi-grid{display:grid!important;grid-template-columns:repeat(3,1fr)!important;gap:12px!important}.roi-grid>div{background:#fff!important;border:1px solid #e2e8f0!important;border-radius:24px!important;padding:22px!important;box-shadow:0 12px 30px rgba(15,23,42,.06)!important}.roi-grid b{display:block!important;font-size:32px!important;letter-spacing:-.05em!important;color:#172033!important}.roi-grid span{display:block!important;color:#64748b!important;font-weight:900!important;margin-top:6px!important}.navlinks a.active{color:#1d4ed8!important;background:#eff6ff!important}
.trial-table-wrap{overflow-x:auto!important;-webkit-overflow-scrolling:touch!important}.usage-pills{display:flex!important;flex-wrap:wrap!important;gap:6px!important}.usage-pills span{border-radius:999px!important;background:#eef6ff!important;color:#1d4ed8!important;border:1px solid #bfdbfe!important;padding:5px 8px!important;font-size:12px!important;font-weight:900!important}.trial-actions{display:flex!important;flex-wrap:wrap!important;gap:6px!important;align-items:center!important}.trial-actions form{margin:0!important}.row-warning td{background:#fff7ed!important}.row-danger td{background:#fef2f2!important}.copy-box{border:1px solid #dbeafe!important;background:#f8fbff!important;border-radius:20px!important;padding:18px!important}.copy-box p{margin:0!important;line-height:1.6!important;color:#334155!important}
@media(max-width:980px){.calculator-hero,.calculator-results{grid-template-columns:1fr!important}.roi-grid{grid-template-columns:1fr!important}.demo-seed-box{grid-template-columns:1fr!important}.inline-demo-form,.inline-demo-form .btn{width:100%!important}.activity-timeline>div{grid-template-columns:auto 1fr!important}.activity-timeline em{grid-column:2!important}.activity-timeline p{grid-column:1/3!important}}
@media(max-width:560px){.smart-alert-grid{grid-template-columns:1fr!important}.calculator-card,.roi-result-card{border-radius:22px!important;padding:20px!important}.roi-result-card strong{font-size:34px!important}.trial-actions .btn,.trial-actions form{width:100%!important}.usage-pills span{font-size:11px!important}}


/* ShiftMastro final polish: logo reale e tre pacchetti commerciali */
.brand-logo{width:46px;height:46px;border-radius:16px;display:block;object-fit:cover;box-shadow:0 18px 38px rgba(37,99,235,.24);flex:none;background:#fff}
.footer-brand .brand-logo{width:44px;height:44px}.client-brand .brand-logo{width:42px;height:42px}.sidebar .brand .brand-logo,.login-card .brand .brand-logo{width:42px;height:42px}
.pricing.pricing-wide,.pricing-polished,.package-matrix.admin-package-preview{grid-template-columns:repeat(3,minmax(0,1fr))}
.price .eyebrow{text-transform:uppercase;letter-spacing:.08em;color:#1d4ed8;font-weight:1000}
.package-role{display:inline-flex;align-items:center;gap:8px;margin:8px 0 0;background:#f8fafc;border:1px solid #e4e7ec;border-radius:999px;padding:7px 10px;color:#475467;font-size:12px;font-weight:900}
@media(max-width:980px){.pricing.pricing-wide,.pricing-polished,.package-matrix.admin-package-preview{grid-template-columns:1fr!important}.brand-logo{width:42px;height:42px;border-radius:14px}.nav .brand{max-width:100%}.brand span{min-width:0}.brand small{white-space:normal}.pricing-side-card ul{padding-left:18px}}
@media(max-width:560px){.brand-logo{width:38px;height:38px;border-radius:13px}.navlinks{scrollbar-width:thin}.pricing-hero-clean .lead,.calculator-hero .lead,.demo-hero .lead{font-size:16px!important}.public-refresh .price{min-width:0}.feature-chips{gap:7px}.feature-chip{font-size:12px}}


/* =========================================================
   SHIFTMASTRO PRODUCT CLARITY + IA CHAT + MOBILE CLEANUP
   ========================================================= */
.product-public-page .linear-hero{align-items:center}
.linear-clarity-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}
.clarity-card{background:#fff;border:1px solid #e2e8f0;border-radius:26px;padding:24px;box-shadow:0 14px 36px rgba(15,23,42,.06)}
.clarity-card h3{margin:0 0 8px;font-size:21px}
.clarity-card p{margin:0;color:#64748b;line-height:1.6}
.product-feature-grid .feature-card,.faq-card{background:#fff;border:1px solid #e2e8f0;border-radius:24px;padding:22px;box-shadow:0 16px 36px rgba(15,23,42,.05)}
.product-feature-grid .feature-card h3,.faq-card h3{margin:10px 0 8px;font-size:21px}
.product-feature-grid .feature-card p,.faq-card p{margin:0;color:#64748b;line-height:1.6}
.feature-symbol{width:52px;height:52px;display:grid;place-items:center;border-radius:18px;background:linear-gradient(135deg,#e0f2fe,#dcfce7);font-size:24px;font-weight:1000;color:#0f172a}
.simple-steps{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px}
.step-card{background:#fff;border:1px solid #e2e8f0;border-radius:24px;padding:22px;box-shadow:0 16px 36px rgba(15,23,42,.05)}
.step-card span{display:inline-grid;place-items:center;width:42px;height:42px;border-radius:14px;background:#0f172a;color:#fff;font-weight:1000;letter-spacing:.04em}
.step-card h3{margin:12px 0 8px;font-size:20px}
.step-card p{margin:0;color:#64748b;line-height:1.6}
.product-showcase-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}
.product-showcase-grid .showcase-card{background:#fff;border:1px solid #e2e8f0;border-radius:26px;padding:18px;display:grid;gap:14px;box-shadow:0 18px 44px rgba(15,23,42,.06)}
.product-showcase-grid .showcase-card img{width:100%;height:auto;border-radius:20px;border:1px solid #e2e8f0;background:#f8fafc}
.product-showcase-grid .showcase-card h3{margin:0 0 6px;font-size:20px}
.product-showcase-grid .showcase-card p{margin:0;color:#64748b;line-height:1.55}
.product-final-band{align-items:center}
.faq-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}
.feature-callout ul{margin:10px 0 0;padding-left:18px;color:#334155;display:grid;gap:7px}
.plan-why{color:#475569;line-height:1.55;min-height:74px}
.secondary-chips{margin-top:10px}

.sm-chat-widget{position:fixed;right:18px;bottom:18px;z-index:120;display:flex;flex-direction:column;align-items:flex-end;gap:10px}
.sm-chat-trigger{display:flex;align-items:center;gap:10px;background:#0f172a;color:#fff;border:0;border-radius:18px;padding:12px 14px;box-shadow:0 18px 40px rgba(15,23,42,.24);cursor:pointer;text-align:left;min-width:220px}
.sm-chat-trigger span{display:grid;place-items:center;width:38px;height:38px;border-radius:14px;background:linear-gradient(135deg,#22d3ee,#2563eb);font-size:18px}
.sm-chat-trigger b,.sm-chat-trigger small{display:block}
.sm-chat-trigger small{color:#cbd5e1;font-size:12px;font-weight:800}
.sm-chat-panel{width:min(380px,calc(100vw - 24px));background:#fff;border:1px solid #e2e8f0;border-radius:24px;box-shadow:0 24px 60px rgba(15,23,42,.18);overflow:hidden}
.sm-chat-head{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;padding:16px 16px 14px;background:linear-gradient(135deg,#0f172a,#166534);color:#fff}
.sm-chat-head small{display:block;color:#dbeafe;font-size:12px;margin-top:4px}
.sm-chat-close{border:0;background:rgba(255,255,255,.14);color:#fff;width:34px;height:34px;border-radius:12px;font-size:22px;line-height:1;cursor:pointer}
.sm-chat-body{padding:14px;max-height:360px;overflow:auto;background:#f8fafc}
.sm-chat-bubble{display:flex;margin-bottom:10px}
.sm-chat-bubble p{margin:0;max-width:95%;padding:12px 14px;border-radius:18px;line-height:1.5;font-size:14px}
.sm-chat-bubble.ai p{background:#fff;border:1px solid #e2e8f0;color:#0f172a}
.sm-chat-bubble.user{justify-content:flex-end}
.sm-chat-bubble.user p{background:#dbeafe;border:1px solid #bfdbfe;color:#0f172a}
.sm-chat-suggestions{display:flex;flex-wrap:wrap;gap:8px;margin-top:8px}
.sm-chat-suggestions button{border:1px solid #dbe7df;background:#fff;color:#166534;border-radius:999px;padding:8px 11px;font-size:12px;font-weight:900;cursor:pointer}
.sm-chat-form{display:grid;grid-template-columns:1fr auto;gap:10px;padding:14px;border-top:1px solid #e2e8f0;background:#fff}
.sm-chat-form input{border:1px solid #d0d5dd;border-radius:14px;padding:12px 14px;font-size:14px;outline:none}
.sm-chat-form button{border:0;background:#166534;color:#fff;border-radius:14px;padding:0 16px;font-weight:900;cursor:pointer}

@media(max-width:980px){
  .linear-clarity-grid,.product-showcase-grid,.faq-grid,.simple-steps{grid-template-columns:1fr!important}
}
@media(max-width:700px){
  .product-public-page .hero{padding:36px 0 24px!important;gap:18px!important}
  .product-public-page .hero h1{font-size:clamp(30px,9vw,40px)!important;line-height:1.03!important}
  .product-public-page .lead{font-size:16px!important;line-height:1.5!important}
  .product-public-page .section{padding:26px 0!important}
  .product-public-page .section h2{font-size:clamp(24px,7vw,31px)!important;line-height:1.1!important}
  .product-public-page .section .sub,.product-public-page p{font-size:14px!important;line-height:1.5!important}
  .product-public-page .trust{gap:6px!important}
  .product-public-page .trust span{font-size:12px!important;padding:7px 10px!important}
  .clarity-card,.product-feature-grid .feature-card,.step-card,.faq-card,.product-showcase-grid .showcase-card,.pricing-side-card,.professional-price{padding:16px!important;border-radius:18px!important}
  .feature-symbol{width:44px;height:44px;border-radius:14px;font-size:20px}
  .sm-chat-widget{right:10px;left:10px;bottom:10px;align-items:stretch}
  .sm-chat-trigger{min-width:0;width:100%;border-radius:16px;padding:11px 12px}
  .sm-chat-panel{width:100%;border-radius:20px}
  .sm-chat-body{max-height:300px}
}

@media(max-width:680px){
  .client-main{padding:10px!important}
  .client-top-inner{padding:8px 12px!important;gap:10px!important}
  .client-nav a{padding:8px 10px!important;font-size:12px!important;border-radius:12px!important}
  .plan-pill{padding:7px 10px!important;font-size:11px!important}
  .client-hero-pro,.client-dashboard-refresh .client-hero-sales{padding:16px!important;border-radius:18px!important;margin-bottom:14px!important}
  .client-hero-pro h1{font-size:26px!important;line-height:1.05!important;margin:8px 0!important}
  .client-hero-pro p{font-size:14px!important;line-height:1.45!important}
  .client-main .hero-actions{display:grid!important;grid-template-columns:1fr!important;gap:8px!important}
  .client-main .hero-actions .btn,.client-main .hero-actions button{width:100%!important;min-height:42px!important;padding:10px 12px!important}
  .cards.premium-kpis,.kpi-5,.setup-checklist,.smart-alert-grid,.client-module-grid,.client-dashboard-layout,.dashboard-focus-layout,.two,.three,.feature-summary-pro{grid-template-columns:1fr!important;gap:10px!important}
  .kpi,.client-panel,.panel,.client-module-card,.setup-item,.today-shift-row,.feature-summary-group,.smart-alert{padding:12px!important;border-radius:16px!important}
  .section-head h2,.client-panel h2,.panel h2{font-size:21px!important;line-height:1.15!important}
  .section-head p,.section-head .sub,.client-panel p,.panel p,.client-module-card p{font-size:14px!important;line-height:1.45!important}
  .client-module-card h2{font-size:18px!important}
  .module-grid-refresh .client-module-card{min-height:auto!important}
  .plan-mini-grid{grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:8px!important}
  .plan-mini-grid>div{padding:10px 6px!important}
  .plan-mini-grid b{font-size:22px!important}
  .plan-mini-grid span{font-size:10px!important}
  .setup-score{min-width:56px!important;height:56px!important;font-size:20px!important;border-radius:18px!important}
  .mini-feature-cloud span,.feature-summary-items span,.feature-chip{font-size:11px!important;padding:6px 8px!important}
  .today-shift-row strong,.today-shift-row em,.today-shift-row small{font-size:13px!important}
}


/* =========================================================
   SHIFTMASTRO FINAL PRODUCT PUBLIC + CHAT IA + MOBILE COMPACT
   ========================================================= */
.brand-lockup{
  width:230px;
  max-width:52vw;
  height:60px;
  display:block;
  object-fit:contain;
  flex:none;
}
.brand .brand-fallback{
  position:absolute!important;
  width:1px!important;
  height:1px!important;
  overflow:hidden!important;
  clip:rect(0 0 0 0)!important;
  white-space:nowrap!important;
}
.footer-lockup{width:245px;max-width:100%}
.client-product-logo{box-shadow:0 10px 26px rgba(15,127,79,.16)!important;background:#fff!important}

.linear-clarity-grid{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:16px;
}
.clarity-card{
  background:#fff;
  border:1px solid #e2e8f0;
  border-radius:26px;
  padding:24px;
  box-shadow:0 18px 48px rgba(15,23,42,.06);
}
.clarity-card h3{margin:0 0 8px;font-size:22px;letter-spacing:-.02em}
.clarity-card p{margin:0;color:#475569;line-height:1.55}
.product-feature-grid .feature-card{min-height:245px}
.feature-symbol{
  width:48px;
  height:48px;
  border-radius:18px;
  display:grid;
  place-items:center;
  background:#ecfdf3;
  border:1px solid #bbf7d0;
  color:#166534;
  font-weight:1000;
  font-size:22px;
  margin-bottom:12px;
}
.simple-steps .step-card span{
  display:inline-grid;
  place-items:center;
  width:42px;
  height:42px;
  border-radius:16px;
  background:#0f172a;
  color:#fff;
  font-weight:1000;
  margin-bottom:12px;
}
.product-showcase-grid .showcase-card img{
  background:#f8fafc;
  border:1px solid #e2e8f0;
  border-radius:20px;
}
.product-final-band{
  background:radial-gradient(circle at 92% 10%,rgba(34,197,94,.28),transparent 28%),linear-gradient(135deg,#0f172a,#0f5132 58%,#157f4f)!important;
}
.product-final-band h2,.product-final-band p{color:#fff!important}
.faq-grid{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:14px;
}
.faq-card{
  background:#fff;
  border:1px solid #e2e8f0;
  border-radius:22px;
  padding:20px;
  box-shadow:0 12px 34px rgba(15,23,42,.045);
}
.faq-card h3{margin:0 0 8px;font-size:18px}
.faq-card p{margin:0;color:#475569;line-height:1.55}
.plan-why{
  color:#344054!important;
  line-height:1.5!important;
  margin:0 0 14px!important;
  min-height:72px;
}
.secondary-chips{opacity:.92;margin-top:8px}

/* Assistente IA prodotto */
.sm-ai-widget{
  position:fixed;
  right:20px;
  bottom:20px;
  z-index:999;
  font-family:inherit;
}
.sm-ai-fab{
  border:0;
  cursor:pointer;
  display:flex;
  align-items:center;
  gap:10px;
  border-radius:999px;
  padding:12px 16px 12px 12px;
  background:#0f172a;
  color:#fff;
  box-shadow:0 18px 45px rgba(15,23,42,.26);
}
.sm-ai-fab span{
  width:36px;
  height:36px;
  border-radius:50%;
  background:linear-gradient(135deg,#22c55e,#0ea5e9);
  display:grid;
  place-items:center;
  font-weight:1000;
  font-size:13px;
}
.sm-ai-fab b{font-size:14px;white-space:nowrap}
.sm-ai-panel{
  position:absolute;
  right:0;
  bottom:64px;
  width:380px;
  max-width:calc(100vw - 28px);
  height:560px;
  max-height:calc(100vh - 100px);
  background:#fff;
  border:1px solid #dbe4ea;
  border-radius:24px;
  box-shadow:0 24px 70px rgba(15,23,42,.24);
  overflow:hidden;
  display:flex;
  flex-direction:column;
}
.sm-ai-widget.is-closed .sm-ai-panel{display:none}
.sm-ai-head{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
  padding:16px;
  background:linear-gradient(135deg,#0f172a,#14532d);
  color:#fff;
}
.sm-ai-head strong,.sm-ai-head span{display:block}
.sm-ai-head strong{font-size:16px}
.sm-ai-head span{font-size:12px;color:#dcfce7;margin-top:2px}
.sm-ai-head button{
  width:34px;
  height:34px;
  border-radius:50%;
  border:1px solid rgba(255,255,255,.25);
  background:rgba(255,255,255,.12);
  color:#fff;
  font-size:24px;
  cursor:pointer;
}
.sm-ai-body{
  flex:1;
  overflow:auto;
  padding:14px;
  background:#f8fafc;
  display:flex;
  flex-direction:column;
  gap:10px;
}
.sm-ai-msg{
  max-width:86%;
  border-radius:18px;
  padding:11px 13px;
  font-size:14px;
  line-height:1.42;
  box-shadow:0 8px 18px rgba(15,23,42,.055);
}
.sm-ai-msg.bot{
  align-self:flex-start;
  background:#fff;
  border:1px solid #e2e8f0;
  color:#1f2937;
}
.sm-ai-msg.user{
  align-self:flex-end;
  background:#157f4f;
  color:#fff;
}
.sm-ai-suggestions{
  display:flex;
  gap:7px;
  overflow-x:auto;
  padding:10px 12px;
  border-top:1px solid #e2e8f0;
  background:#fff;
}
.sm-ai-suggestions button{
  border:1px solid #dbe4ea;
  background:#f8fafc;
  color:#344054;
  border-radius:999px;
  padding:8px 10px;
  font-size:12px;
  font-weight:900;
  white-space:nowrap;
  cursor:pointer;
}
.sm-ai-form{
  display:flex;
  gap:8px;
  padding:12px;
  background:#fff;
  border-top:1px solid #e2e8f0;
}
.sm-ai-form input{
  flex:1;
  min-width:0;
  border:1px solid #d0d5dd;
  border-radius:14px;
  padding:12px;
  font:inherit;
}
.sm-ai-form button{
  border:0;
  border-radius:14px;
  background:#0f172a;
  color:#fff;
  padding:0 14px;
  font-weight:1000;
  cursor:pointer;
}

/* Mobile: meno pieno, più leggibile */
@media(max-width:760px){
  .brand-lockup{width:190px;height:50px;max-width:72vw}
  .footer-lockup{width:205px}
  .public-refresh .wrap{padding-left:12px!important;padding-right:12px!important}
  .public-refresh .nav{padding:8px 0!important;gap:8px!important}
  .public-refresh .navlinks{
    gap:5px!important;
    padding-bottom:3px!important;
    margin-top:4px!important;
  }
  .public-refresh .navlinks a{
    font-size:12px!important;
    padding:8px 9px!important;
    border-radius:12px!important;
  }
  .public-refresh .navlinks .btn{min-height:36px!important}
  .public-refresh .hero{
    padding:28px 0 20px!important;
    gap:18px!important;
  }
  .public-refresh .hero h1{
    font-size:clamp(30px,9vw,38px)!important;
    line-height:1.04!important;
    margin:10px 0!important;
  }
  .public-refresh .lead{
    font-size:15px!important;
    line-height:1.48!important;
  }
  .public-refresh .kicker{
    font-size:11px!important;
    letter-spacing:.07em!important;
  }
  .hero-actions{
    gap:8px!important;
  }
  .hero-actions .btn,.public-refresh .btn{
    min-height:40px!important;
    padding:10px 12px!important;
    font-size:13px!important;
  }
  .trust{
    gap:6px!important;
    margin-top:14px!important;
  }
  .trust span{
    font-size:11px!important;
    padding:7px 9px!important;
  }
  .hero-visual .floating-card{display:none!important}
  .software-frame{padding:10px!important;border-radius:20px!important}
  .software-frame img{max-height:230px;object-fit:contain}
  .section{padding:26px 0!important}
  .section-head{margin-bottom:16px!important}
  .section h2{
    font-size:clamp(26px,7.8vw,32px)!important;
    line-height:1.08!important;
  }
  .section .sub,.section-head p{font-size:14px!important;line-height:1.45!important}
  .linear-clarity-grid,.faq-grid{grid-template-columns:1fr!important;gap:10px}
  .clarity-card,.feature-card,.case-card,.faq-card,.price,.showcase-card{
    border-radius:18px!important;
    padding:16px!important;
  }
  .product-feature-grid .feature-card{min-height:auto!important}
  .feature-symbol{width:38px;height:38px;border-radius:14px;font-size:18px;margin-bottom:8px}
  .showcase-grid{gap:12px!important}
  .product-showcase-grid .showcase-card img{max-height:180px;object-fit:contain}
  .pricing-hero-grid{gap:14px!important}
  .pricing-side-card{padding:16px!important;border-radius:18px!important}
  .plan-why{min-height:auto!important;font-size:13px!important}
  .feature-chip{font-size:11px!important;padding:6px 8px!important}
  .amount{font-size:30px!important}
  .matrix-wrap{border-radius:18px!important;padding:6px!important}
  .feature-matrix{min-width:680px!important}
  .footer-grid{gap:18px!important}
  .cookie-banner{left:10px!important;right:10px!important;bottom:10px!important;border-radius:16px!important;padding:12px!important}

  .sm-ai-widget{right:12px;bottom:12px}
  .sm-ai-fab{padding:10px;border-radius:999px}
  .sm-ai-fab b{display:none}
  .sm-ai-fab span{width:38px;height:38px}
  .sm-ai-panel{
    right:0;
    bottom:62px;
    width:calc(100vw - 24px);
    height:70vh;
    max-height:620px;
    border-radius:20px;
  }
  .sm-ai-msg{font-size:13px;max-width:92%}
  .sm-ai-suggestions{padding:8px}
  .sm-ai-form{padding:9px}
  .sm-ai-form input{padding:10px}
}

/* Area cliente su smartphone: compatta, non affollata */
@media(max-width:640px){
  .client-main{padding:8px!important}
  .client-top-inner{padding:8px 10px!important;gap:8px!important}
  .client-brand .brand-logo,.client-product-logo{width:34px!important;height:34px!important;border-radius:12px!important}
  .client-brand span{font-size:14px!important}
  .client-brand small{font-size:10px!important}
  .client-nav{gap:5px!important}
  .client-nav a{
    font-size:12px!important;
    padding:8px 9px!important;
    border-radius:11px!important;
  }
  .client-head-actions .plan-pill{display:none!important}
  .client-hero-pro{
    padding:14px!important;
    border-radius:18px!important;
    margin-bottom:10px!important;
    gap:12px!important;
  }
  .client-hero-pro h1{
    font-size:24px!important;
    line-height:1.08!important;
    margin:6px 0!important;
  }
  .client-hero-pro p{
    font-size:13.5px!important;
    line-height:1.42!important;
    margin-bottom:8px!important;
  }
  .client-hero-pro .kicker{font-size:10px!important}
  .client-hero-pro .hero-actions{
    display:grid!important;
    grid-template-columns:1fr 1fr!important;
    gap:7px!important;
  }
  .client-hero-pro .hero-actions .btn{
    width:100%!important;
    min-height:38px!important;
    padding:9px 10px!important;
    font-size:12px!important;
  }
  .hero-command-card,.plan-status-card{
    padding:12px!important;
    border-radius:16px!important;
  }
  .plan-card-head strong{font-size:19px!important}
  .plan-card-head small{font-size:11px!important}
  .plan-mini-grid{
    grid-template-columns:repeat(3,minmax(0,1fr))!important;
    gap:6px!important;
  }
  .plan-mini-grid>div{padding:8px 4px!important;border-radius:12px!important}
  .plan-mini-grid b{font-size:20px!important}
  .plan-mini-grid span{font-size:8.5px!important}
  .plan-progress-box{padding:10px!important;border-radius:13px!important}
  .plan-config-link{padding:10px!important;border-radius:12px!important;font-size:12px!important}
  .premium-kpis,.kpi-5{
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
    gap:7px!important;
    margin:8px 0!important;
  }
  .premium-kpis .kpi,.kpi{padding:10px!important;border-radius:14px!important}
  .kpi span{font-size:10px!important}
  .kpi strong{font-size:22px!important}
  .kpi-5 .kpi:nth-child(5){display:none!important}
  .client-panel{
    padding:13px!important;
    border-radius:18px!important;
    margin:10px 0!important;
  }
  .section-head p,.client-panel>.section-head p{display:none!important}
  .section-head h2,.client-panel h2{font-size:20px!important;line-height:1.15!important}
  .smart-alert-grid{grid-template-columns:1fr!important;gap:8px!important}
  .smart-alert{padding:11px!important;border-radius:14px!important}
  .smart-alert em{font-size:11px!important}
  .client-dashboard-layout,.dashboard-focus-layout{gap:8px!important;margin:10px 0!important}
  .setup-checklist{grid-template-columns:1fr!important;gap:7px!important}
  .setup-item{padding:9px!important;border-radius:13px!important;grid-template-columns:auto 1fr!important}
  .setup-item span{width:24px!important;height:24px!important}
  .setup-item b{font-size:13px!important}
  .setup-item em{display:none!important}
  .demo-seed-box{
    display:block!important;
    padding:12px!important;
    border-radius:14px!important;
  }
  .demo-seed-box p{font-size:12px!important}
  .client-module-grid,.module-grid-refresh{
    grid-template-columns:1fr!important;
    gap:8px!important;
    margin:10px 0!important;
  }
  .module-grid-refresh .client-module-card,.client-module-card{
    min-height:0!important;
    padding:13px!important;
    border-radius:16px!important;
    gap:6px!important;
  }
  .client-module-card h2{font-size:18px!important}
  .client-module-card p{font-size:12.5px!important;line-height:1.35!important;margin:0!important}
  .module-icon{font-size:24px!important}
  .today-shift-row{padding:10px!important;border-radius:13px!important}
  .activity-list div{padding:9px!important;border-radius:12px!important}
  .feature-summary-pro{grid-template-columns:1fr!important;gap:8px!important}
  .feature-summary-group{padding:10px!important;border-radius:13px!important}
  .feature-summary-items span{font-size:11px!important;padding:6px 8px!important}
}

.login-lockup{width:240px!important;height:62px!important}.admin-lockup{width:210px!important;height:58px!important}.sidebar-lockup{width:205px!important;height:56px!important;max-width:100%!important}.sidebar .brand{display:flex;align-items:center;justify-content:center;min-height:72px}.login-card .brand{justify-content:center!important}
@media(max-width:560px){.login-lockup{width:210px!important;height:54px!important}.admin-lockup{width:190px!important;height:50px!important}}


/* =========================================================
   FIX CLAIM INTEGRATO + CHAT IA A RISPOSTE DIFFERENZIATE
   ========================================================= */
.integrated-claim{
  display:inline-flex;
  flex-direction:column;
  gap:4px;
  margin:14px 0 18px;
  padding:14px 18px;
  border-radius:22px;
  background:rgba(255,255,255,.82);
  border:1px solid rgba(37,99,235,.15);
  box-shadow:0 14px 36px rgba(16,24,40,.08);
  color:#0f172a;
  max-width:680px;
}
.integrated-claim span{
  font-size:12px;
  text-transform:uppercase;
  letter-spacing:.09em;
  font-weight:1000;
  color:#157f4f;
}
.integrated-claim strong{
  font-size:clamp(18px,2vw,24px);
  line-height:1.16;
  letter-spacing:-.025em;
}
.product-public-page .linear-hero h1{
  margin-bottom:0!important;
}
.product-public-page .linear-hero .lead{
  margin-top:0!important;
}
.sm-chat-widget{
  z-index:9999!important;
}
.sm-chat-trigger{
  border-radius:18px!important;
  min-width:230px!important;
}
.sm-chat-panel{
  width:min(410px,calc(100vw - 24px))!important;
}
.sm-chat-body{
  max-height:390px!important;
}
.sm-chat-bubble p{
  white-space:normal!important;
}
.sm-chat-bubble.ai p a{
  color:#0f766e;
  font-weight:950;
  text-decoration:underline;
}
@media(max-width:680px){
  .integrated-claim{
    width:100%;
    margin:10px 0 14px;
    padding:12px 14px;
    border-radius:18px;
  }
  .integrated-claim strong{
    font-size:18px;
  }
  .product-public-page .linear-hero h1{
    font-size:clamp(30px,9.5vw,40px)!important;
  }
  .product-public-page .linear-hero .lead{
    font-size:15.5px!important;
    line-height:1.48!important;
  }
  .sm-chat-widget{
    left:10px!important;
    right:10px!important;
    bottom:10px!important;
    align-items:stretch!important;
  }
  .sm-chat-trigger{
    width:100%!important;
    min-width:0!important;
    justify-content:flex-start!important;
    padding:10px 12px!important;
  }
  .sm-chat-trigger span{
    width:34px!important;
    height:34px!important;
    border-radius:12px!important;
  }
  .sm-chat-trigger b{
    font-size:14px!important;
  }
  .sm-chat-trigger small{
    font-size:11px!important;
  }
  .sm-chat-panel{
    width:100%!important;
    border-radius:20px!important;
  }
  .sm-chat-head{
    padding:12px 13px!important;
  }
  .sm-chat-body{
    max-height:315px!important;
    padding:12px!important;
  }
  .sm-chat-suggestions{
    display:grid!important;
    grid-template-columns:1fr 1fr!important;
    gap:7px!important;
  }
  .sm-chat-suggestions button{
    font-size:11px!important;
    padding:8px!important;
  }
  .sm-chat-form{
    padding:10px!important;
    gap:7px!important;
  }
  .sm-chat-form input{
    min-width:0!important;
    font-size:14px!important;
  }
  .sm-chat-form button{
    width:auto!important;
    padding:10px 12px!important;
  }
}


/* =========================================================
   FIX CLAIM HERO SOBRIO E ORIZZONTALE
   ========================================================= */
.integrated-claim,
.hero-claim-line{
  display:flex!important;
  flex-direction:row!important;
  align-items:center!important;
  justify-content:flex-start!important;
  flex-wrap:wrap!important;
  gap:8px!important;
  margin:10px 0 15px!important;
  padding:0!important;
  max-width:100%!important;
  width:auto!important;
  background:transparent!important;
  border:0!important;
  border-radius:0!important;
  box-shadow:none!important;
  color:#172033!important;
}
.integrated-claim span,
.hero-claim-line span{
  display:inline!important;
  font-size:14px!important;
  line-height:1.35!important;
  text-transform:none!important;
  letter-spacing:0!important;
  font-weight:900!important;
  color:#157f4f!important;
  white-space:nowrap!important;
}
.integrated-claim strong,
.hero-claim-line strong{
  display:inline!important;
  font-size:clamp(16px,1.35vw,19px)!important;
  line-height:1.35!important;
  letter-spacing:-.01em!important;
  font-weight:850!important;
  color:#263238!important;
}
.product-public-page .linear-hero h1{margin-bottom:0!important;}
.product-public-page .linear-hero .lead{margin-top:0!important;}
@media(max-width:680px){
  .integrated-claim,
  .hero-claim-line{
    flex-direction:row!important;
    align-items:flex-start!important;
    gap:5px!important;
    margin:8px 0 12px!important;
    padding:0!important;
    width:100%!important;
    background:transparent!important;
    box-shadow:none!important;
    border:0!important;
  }
  .integrated-claim span,
  .hero-claim-line span{
    font-size:13px!important;
    white-space:normal!important;
  }
  .integrated-claim strong,
  .hero-claim-line strong{
    font-size:15.5px!important;
    line-height:1.35!important;
  }
}


/* =========================================================
   FIX DEFINITIVO CLAIM: SOPRA IMMAGINE, UNA RIGA, NON PACCHIANO
   ========================================================= */
.linear-hero .hero-visual{
  display:flex!important;
  flex-direction:column!important;
  gap:12px!important;
}
.integrated-claim,
.integrated-claim.hero-claim-line{
  display:none!important;
}
.image-claim-line{
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  gap:8px!important;
  width:100%!important;
  padding:8px 12px!important;
  border-radius:14px!important;
  background:rgba(255,255,255,.76)!important;
  border:1px solid rgba(226,232,240,.95)!important;
  box-shadow:0 8px 22px rgba(15,23,42,.055)!important;
  color:#172033!important;
  font-size:14px!important;
  line-height:1.2!important;
  white-space:normal!important;
  text-align:center!important;
}
.image-claim-line span{
  display:inline!important;
  color:#157f4f!important;
  font-weight:950!important;
  text-transform:none!important;
  letter-spacing:0!important;
  white-space:nowrap!important;
}
.image-claim-line strong{
  display:inline!important;
  font-weight:950!important;
  letter-spacing:-.015em!important;
}
.product-public-page .linear-hero h1{
  margin-bottom:12px!important;
}
.product-public-page .linear-hero .lead{
  margin-top:0!important;
}
@media(max-width:680px){
  .linear-hero .hero-visual{
    gap:9px!important;
  }
  .image-claim-line{
    padding:7px 9px!important;
    font-size:12.5px!important;
    border-radius:12px!important;
  }
  .image-claim-line span{
    white-space:normal!important;
  }
}


/* =========================================================
   FIX FONT + HERO NON VERTICALE + TEAM/PERSONALE SENZA IMMAGINI
   ========================================================= */
body{
  font-family:"Aptos","Segoe UI",Roboto,Arial,sans-serif!important;
}
.product-public-page .linear-hero{
  grid-template-columns:minmax(500px,.95fr) minmax(560px,1.05fr)!important;
  align-items:center!important;
  gap:48px!important;
}
.product-public-page .linear-hero > div:first-child{
  min-width:0!important;
  max-width:680px!important;
}
.product-public-page .linear-hero h1{
  font-family:"Aptos Display","Segoe UI",Roboto,Arial,sans-serif!important;
  font-size:clamp(48px,4.7vw,72px)!important;
  line-height:.96!important;
  letter-spacing:-.055em!important;
  max-width:650px!important;
  word-break:normal!important;
  overflow-wrap:normal!important;
  hyphens:none!important;
}
.product-public-page .linear-hero .lead{
  max-width:650px!important;
  font-size:18px!important;
  line-height:1.52!important;
}
.product-public-page .hero-actions{
  flex-wrap:wrap!important;
}
.product-public-page .trust{
  max-width:650px!important;
}
.product-public-page .hero-visual{
  min-width:0!important;
}
.product-public-page .software-frame{
  max-width:100%!important;
}
.image-claim-line{
  display:flex!important;
  flex-direction:row!important;
  align-items:center!important;
  justify-content:center!important;
  gap:7px!important;
  width:100%!important;
  padding:7px 11px!important;
  border-radius:12px!important;
  background:rgba(255,255,255,.72)!important;
  border:1px solid rgba(226,232,240,.92)!important;
  box-shadow:0 6px 16px rgba(15,23,42,.045)!important;
  font-size:13px!important;
  line-height:1.15!important;
  color:#172033!important;
  text-align:center!important;
}
.image-claim-line span,
.image-claim-line strong{
  display:inline!important;
  white-space:normal!important;
}
.image-claim-line span{
  color:#157f4f!important;
  font-weight:950!important;
}
.image-claim-line strong{
  font-weight:900!important;
  letter-spacing:-.01em!important;
}
.team-process-section{
  padding-top:26px!important;
}
.team-process-grid{
  display:grid!important;
  grid-template-columns:repeat(4,minmax(0,1fr))!important;
  gap:16px!important;
}
.team-process-card{
  position:relative!important;
  overflow:hidden!important;
  background:linear-gradient(180deg,#ffffff,#f8fafc)!important;
  border:1px solid #e2e8f0!important;
  border-radius:26px!important;
  padding:22px!important;
  box-shadow:0 16px 38px rgba(15,23,42,.055)!important;
  min-height:220px!important;
}
.team-process-card:after{
  content:""!important;
  position:absolute!important;
  right:-34px!important;
  bottom:-34px!important;
  width:110px!important;
  height:110px!important;
  border-radius:999px!important;
  background:rgba(21,127,79,.08)!important;
}
.team-card-icon{
  width:52px!important;
  height:52px!important;
  display:grid!important;
  place-items:center!important;
  border-radius:18px!important;
  background:#ecfdf3!important;
  border:1px solid #bbf7d0!important;
  font-size:24px!important;
  margin-bottom:14px!important;
}
.team-process-card h3{
  margin:0 0 8px!important;
  font-size:21px!important;
  letter-spacing:-.025em!important;
}
.team-process-card p{
  margin:0!important;
  color:#475569!important;
  line-height:1.55!important;
}
@media(max-width:1180px){
  .product-public-page .linear-hero{
    grid-template-columns:1fr!important;
    gap:28px!important;
  }
  .product-public-page .linear-hero > div:first-child,
  .product-public-page .linear-hero h1,
  .product-public-page .linear-hero .lead,
  .product-public-page .trust{
    max-width:860px!important;
  }
  .product-public-page .linear-hero h1{
    font-size:clamp(42px,7vw,62px)!important;
  }
  .team-process-grid{
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
  }
}
@media(max-width:680px){
  .product-public-page .linear-hero{
    gap:20px!important;
  }
  .product-public-page .linear-hero h1{
    font-size:clamp(34px,10vw,46px)!important;
    line-height:1.02!important;
    letter-spacing:-.045em!important;
  }
  .product-public-page .linear-hero .lead{
    font-size:15.5px!important;
    line-height:1.48!important;
  }
  .image-claim-line{
    font-size:12px!important;
    padding:7px 8px!important;
    gap:4px!important;
    flex-wrap:wrap!important;
  }
  .team-process-grid{
    grid-template-columns:1fr!important;
  }
  .team-process-card{
    min-height:auto!important;
    padding:18px!important;
    border-radius:20px!important;
  }
}


/* =========================================================
   FOTO TEAM / LAVORATORI NEL SITO PUBBLICO
   ========================================================= */
.team-photo-section{padding-top:26px!important}
.team-photo-grid{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:18px!important;align-items:stretch!important}
.team-photo-card{background:#fff!important;border:1px solid #e2e8f0!important;border-radius:28px!important;overflow:hidden!important;box-shadow:0 18px 42px rgba(15,23,42,.07)!important;display:flex!important;flex-direction:column!important;min-height:100%!important}
.team-photo-card img{display:block!important;width:100%!important;aspect-ratio:4/3!important;object-fit:cover!important;background:#e5e7eb!important}
.team-photo-copy{padding:18px 18px 20px!important}
.team-photo-copy h3{margin:0 0 8px!important;font-size:22px!important;letter-spacing:-.025em!important;color:#0f172a!important}
.team-photo-copy p{margin:0!important;color:#475569!important;line-height:1.56!important}
@media(max-width:1080px){.team-photo-grid{grid-template-columns:1fr 1fr!important}}
@media(max-width:680px){.team-photo-grid{grid-template-columns:1fr!important}.team-photo-card{border-radius:22px!important}.team-photo-copy{padding:16px!important}.team-photo-copy h3{font-size:20px!important}}


/* =========================================================
   IVA A PARTE + PACCHETTI EVOLUTIVI
   ========================================================= */
.vat-note{
  margin:-4px 0 12px!important;
  color:#475569!important;
  font-size:13px!important;
  font-weight:850!important;
}
.vat-note strong{color:#0f172a!important}
.vat-breakdown{
  display:grid!important;
  gap:8px!important;
  margin:16px 0!important;
  padding:14px!important;
  border-radius:18px!important;
  background:#f8fafc!important;
  border:1px solid #e2e8f0!important;
}
.vat-breakdown div{
  display:flex!important;
  align-items:center!important;
  justify-content:space-between!important;
  gap:14px!important;
  color:#475569!important;
  font-weight:850!important;
}
.vat-breakdown div:last-child{
  border-top:1px solid #e2e8f0!important;
  padding-top:8px!important;
  color:#0f172a!important;
  font-size:16px!important;
}
.price-policy-box{
  margin-top:20px!important;
  padding:18px 20px!important;
  border-radius:22px!important;
  background:#f0fdf4!important;
  border:1px solid #bbf7d0!important;
  color:#14532d!important;
}
.price-policy-box strong{
  display:block!important;
  font-size:18px!important;
  margin-bottom:6px!important;
}
.price-policy-box p{
  margin:0!important;
  line-height:1.55!important;
}


/* =========================================================
   DEMO GUIDATA SETTORE + CRM COMMERCIALE + UPGRADE AREA CLIENTE
   ========================================================= */
.sector-upgrade-layout{
  grid-template-columns:1.2fr .8fr!important;
  align-items:stretch!important;
}
.sector-guide-panel,.upgrade-path-panel{
  background:#fff!important;
}
.sector-step-grid{
  display:grid!important;
  grid-template-columns:repeat(3,minmax(0,1fr))!important;
  gap:10px!important;
  margin:16px 0!important;
}
.sector-step{
  display:grid!important;
  grid-template-columns:auto 1fr!important;
  gap:8px 10px!important;
  align-items:start!important;
  padding:13px!important;
  border-radius:18px!important;
  background:#f8fafc!important;
  border:1px solid #e2e8f0!important;
}
.sector-step span{
  width:28px!important;
  height:28px!important;
  display:grid!important;
  place-items:center!important;
  border-radius:999px!important;
  background:#dcfce7!important;
  color:#166534!important;
  font-weight:1000!important;
}
.sector-step b,.sector-step em{display:block!important}
.sector-step b{color:#0f172a!important}
.sector-step em{
  grid-column:2!important;
  color:#64748b!important;
  font-style:normal!important;
  font-size:12px!important;
  line-height:1.35!important;
}
.demo-sector-action{
  display:flex!important;
  align-items:center!important;
  justify-content:space-between!important;
  gap:14px!important;
  padding:15px!important;
  border-radius:20px!important;
  background:#f0fdf4!important;
  border:1px solid #bbf7d0!important;
}
.demo-sector-action strong,.demo-sector-action p{display:block!important;margin:0!important}
.demo-sector-action p{color:#475569!important;margin-top:3px!important}
.upgrade-card-list{display:grid!important;gap:10px!important;margin-top:14px!important}
.upgrade-card{
  display:block!important;
  padding:14px!important;
  border-radius:18px!important;
  background:#f8fafc!important;
  border:1px solid #e2e8f0!important;
}
.upgrade-card b,.upgrade-card span,.upgrade-card em{display:block!important}
.upgrade-card b{color:#0f172a!important;font-size:16px!important}
.upgrade-card span{color:#64748b!important;line-height:1.45!important;margin:5px 0!important}
.upgrade-card em{font-style:normal!important;color:#157f4f!important;font-weight:1000!important}
.commercial-kpis{margin-bottom:18px!important}
.commercial-mini-box,.commercial-drawer{
  background:#f8fafc!important;
  border:1px solid #e2e8f0!important;
  border-radius:20px!important;
  padding:16px!important;
  margin:14px 0!important;
}
.commercial-mini-box h3{margin:0 0 12px!important}
@media(max-width:980px){
  .sector-upgrade-layout{grid-template-columns:1fr!important}
  .sector-step-grid{grid-template-columns:1fr!important}
  .demo-sector-action{display:grid!important}
}


/* =========================================================
   UPGRADE REQUEST + TEMPLATE FOLLOW-UP
   ========================================================= */
.upgrade-actions{
  display:flex!important;
  align-items:center!important;
  flex-wrap:wrap!important;
  gap:8px!important;
  margin-top:10px!important;
}
.upgrade-actions form{margin:0!important}
.upgrade-actions .btn{width:auto!important}
.template-grid{
  display:grid!important;
  grid-template-columns:repeat(2,minmax(0,1fr))!important;
  gap:14px!important;
}
.template-grid .copy-box{
  background:#f8fafc!important;
  border:1px solid #e2e8f0!important;
  border-radius:20px!important;
  padding:16px!important;
}
.template-grid h3{margin:0 0 8px!important}
@media(max-width:780px){
  .template-grid{grid-template-columns:1fr!important}
  .upgrade-actions{display:grid!important}
}


/* =========================================================
   PROFILO SANITÀ / OSPEDALI / STUDI DENTISTICI
   ========================================================= */
.shift-card.night,.calendar-shift.night,.badge.night,.pill.night{
  background:#eef2ff!important;
  border-color:#c7d2fe!important;
  color:#3730a3!important;
}
.sector-step b:has(+ em){letter-spacing:-.01em}

/* =========================================================
   SETTORI SANITÀ / SCUOLE + CALENDARIO PUBBLICO DIPENDENTI
   ========================================================= */
.sector-showcase-section{padding-top:24px!important}
.sector-showcase-grid{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:18px!important}
.sector-showcase-card{background:#fff!important;border:1px solid #e2e8f0!important;border-radius:28px!important;overflow:hidden!important;box-shadow:0 18px 42px rgba(15,23,42,.07)!important;display:flex!important;flex-direction:column!important}
.sector-showcase-card img{display:block!important;width:100%!important;aspect-ratio:16/10!important;object-fit:cover!important;background:#f8fafc!important}
.sector-showcase-card div{padding:18px!important}
.sector-showcase-card h3{margin:0 0 8px!important;font-size:22px!important;letter-spacing:-.025em!important;color:#0f172a!important}
.sector-showcase-card p{margin:0 0 10px!important;color:#475569!important;line-height:1.55!important}
.sector-showcase-card span{display:block!important;padding:10px 12px!important;border-radius:14px!important;background:#f0fdf4!important;color:#14532d!important;font-weight:850!important;font-size:13px!important;line-height:1.35!important}
.public-calendar-settings input[readonly]{cursor:pointer;background:#f8fafc!important;font-weight:850!important;color:#0f172a!important}
.public-calendar-body{background:linear-gradient(135deg,#f8fafc,#ecfdf5)!important;color:#0f172a!important;min-height:100vh!important}
.public-calendar-top{display:flex!important;align-items:center!important;justify-content:space-between!important;gap:16px!important;padding:14px 22px!important;background:rgba(255,255,255,.86)!important;backdrop-filter:blur(16px)!important;border-bottom:1px solid #e2e8f0!important;position:sticky!important;top:0!important;z-index:20!important}
.public-calendar-top div{display:flex!important;align-items:center!important;gap:12px!important;font-weight:950!important;color:#475569!important}
.public-calendar-top img{width:210px!important;max-width:50vw!important;height:54px!important;object-fit:contain!important}
.public-calendar-top strong{font-weight:950!important;color:#0f172a!important}
.public-calendar-wrap{max-width:1240px!important;margin:0 auto!important;padding:26px 18px 50px!important}
.public-calendar-hero{display:flex!important;align-items:flex-end!important;justify-content:space-between!important;gap:20px!important;margin-bottom:16px!important;background:#fff!important;border:1px solid #e2e8f0!important;border-radius:28px!important;padding:26px!important;box-shadow:0 16px 42px rgba(15,23,42,.06)!important}
.public-calendar-hero h1{margin:6px 0 8px!important;font-size:clamp(34px,5vw,58px)!important;letter-spacing:-.05em!important;line-height:1!important}
.public-calendar-hero p{margin:0!important;color:#475569!important;line-height:1.55!important;max-width:650px!important}
.public-calendar-nav{display:flex!important;flex-wrap:wrap!important;gap:8px!important;justify-content:flex-end!important}
.public-calendar-range{display:flex!important;align-items:center!important;justify-content:space-between!important;gap:12px!important;margin:0 0 16px!important;padding:14px 18px!important;border-radius:20px!important;background:#0f172a!important;color:#fff!important}
.public-calendar-range span{color:#cbd5e1!important;font-weight:850!important}
.public-week-grid{display:grid!important;grid-template-columns:repeat(7,minmax(150px,1fr))!important;gap:10px!important;overflow-x:auto!important;padding-bottom:10px!important}
.public-day-card{min-width:150px!important;background:#fff!important;border:1px solid #e2e8f0!important;border-radius:22px!important;padding:12px!important;box-shadow:0 12px 28px rgba(15,23,42,.045)!important}
.public-day-card h2{display:flex!important;align-items:baseline!important;justify-content:space-between!important;gap:8px!important;margin:0 0 10px!important;font-size:17px!important;color:#0f172a!important}
.public-day-card h2 span{font-size:13px!important;color:#64748b!important}
.public-shift{display:block!important;padding:10px!important;border-radius:16px!important;margin:8px 0!important;background:#f8fafc!important;border-left:5px solid #22c55e!important}
.public-shift.m{border-left-color:#2563eb!important;background:#eff6ff!important}.public-shift.p{border-left-color:#16a34a!important;background:#f0fdf4!important}.public-shift.e{border-left-color:#f97316!important;background:#fff7ed!important}.public-shift.night{border-left-color:#7c3aed!important;background:#f5f3ff!important}.public-shift.fer,.public-shift.mal,.public-shift.perm{border-left-color:#ef4444!important;background:#fef2f2!important}
.public-shift b,.public-shift strong,.public-shift span,.public-shift em{display:block!important}.public-shift b{font-size:13px!important;color:#0f172a!important}.public-shift strong{font-size:14px!important;margin:3px 0!important;color:#0f172a!important}.public-shift span,.public-shift em{font-size:12px!important;color:#64748b!important;font-style:normal!important;line-height:1.35!important}
.public-calendar-note{margin-top:18px!important;padding:16px 18px!important;border-radius:20px!important;background:#fff!important;border:1px solid #e2e8f0!important;color:#475569!important}.public-calendar-note strong{display:block!important;color:#0f172a!important;margin-bottom:5px!important}.public-calendar-note p{margin:0!important}
@media(max-width:1080px){.sector-showcase-grid{grid-template-columns:1fr!important}.public-calendar-hero{display:grid!important}.public-calendar-nav{justify-content:flex-start!important}.public-week-grid{grid-template-columns:repeat(7,170px)!important}}
@media(max-width:680px){.public-calendar-top{align-items:flex-start!important;display:grid!important}.public-calendar-top img{width:190px!important}.public-calendar-wrap{padding:16px 10px 36px!important}.public-calendar-hero{padding:18px!important;border-radius:22px!important}.public-calendar-nav{display:grid!important}.public-calendar-nav .btn{width:100%!important}.public-calendar-range{display:grid!important}.sector-showcase-card{border-radius:22px!important}}


/* =========================================================
   IMMAGINI PERSONE PER SANITA, SCUOLE E STUDI
   ========================================================= */
.people-gallery-grid{
  display:grid!important;
  grid-template-columns:repeat(3,minmax(0,1fr))!important;
  gap:18px!important;
}
.people-gallery-card{
  background:#fff!important;
  border:1px solid #e2e8f0!important;
  border-radius:28px!important;
  overflow:hidden!important;
  box-shadow:0 18px 42px rgba(15,23,42,.06)!important;
}
.people-gallery-card img,
.sector-showcase-card img{
  display:block!important;
  width:100%!important;
  aspect-ratio:4/3!important;
  object-fit:cover!important;
  background:#f8fafc!important;
}
.people-gallery-card > div{
  padding:18px!important;
}
.people-gallery-card h3{
  margin:0 0 8px!important;
  font-size:22px!important;
  letter-spacing:-.025em!important;
}
.people-gallery-card p{
  margin:0!important;
  color:#475569!important;
  line-height:1.55!important;
}
@media(max-width:1080px){
  .people-gallery-grid{grid-template-columns:1fr 1fr!important}
}
@media(max-width:680px){
  .people-gallery-grid{grid-template-columns:1fr!important}
  .people-gallery-card{border-radius:22px!important}
}


/* =========================================================
   FOTO REALI PERSONE - SANITA SCUOLE STUDI UFFICI
   ========================================================= */
.people-gallery-card img,
.team-photo-card img,
.sector-showcase-card img{
  width:100%!important;
  aspect-ratio:16/10!important;
  object-fit:cover!important;
  object-position:center!important;
  display:block!important;
  filter:saturate(1.02) contrast(1.01)!important;
}
.people-gallery-grid{grid-template-columns:repeat(4,minmax(0,1fr))!important}
.people-gallery-card,.sector-showcase-card,.team-photo-card{
  background:#fff!important;
  box-shadow:0 18px 46px rgba(15,23,42,.075)!important;
}
.sector-showcase-card div,.people-gallery-card div{background:#fff!important}
@media(max-width:1180px){.people-gallery-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}}
@media(max-width:680px){.people-gallery-grid{grid-template-columns:1fr!important}.people-gallery-card img,.team-photo-card img,.sector-showcase-card img{aspect-ratio:4/3!important}}


/* =========================================================
   HERO CALENDARIO + SITO ONLINE PULITO
   ========================================================= */
.hero-calendar-brand{
  display:inline-flex!important;
  align-items:center!important;
  gap:13px!important;
  margin:0 0 18px!important;
  padding:10px 14px!important;
  border-radius:22px!important;
  background:#ffffff!important;
  border:1px solid #dbeafe!important;
  box-shadow:0 16px 42px rgba(15,23,42,.08)!important;
}
.hero-calendar-brand img{
  width:58px!important;
  height:58px!important;
  display:block!important;
  flex:none!important;
}
.hero-calendar-brand strong,
.hero-calendar-brand span{
  display:block!important;
}
.hero-calendar-brand strong{
  font-size:18px!important;
  line-height:1.08!important;
  letter-spacing:-.025em!important;
  color:#0f172a!important;
}
.hero-calendar-brand span{
  margin-top:3px!important;
  font-size:12.5px!important;
  font-weight:850!important;
  color:#475569!important;
}
.product-public-page .linear-hero h1{
  max-width:760px!important;
}
.sector-showcase-section{
  padding-top:24px!important;
}
.sector-showcase-card p{
  font-size:15px!important;
  line-height:1.52!important;
}
.people-sector-gallery,
.team-photo-section{
  display:none!important;
}
@media(max-width:680px){
  .hero-calendar-brand{
    width:100%!important;
    padding:9px 11px!important;
    border-radius:18px!important;
  }
  .hero-calendar-brand img{
    width:48px!important;
    height:48px!important;
  }
  .hero-calendar-brand strong{
    font-size:16px!important;
  }
  .hero-calendar-brand span{
    font-size:11.5px!important;
  }
}


/* =========================================================
   PLANNING AVANZATO: DUPLICA, MASSIVO, STAMPA
   ========================================================= */
.planning-tools-grid{
  display:grid!important;
  grid-template-columns:1fr 1.4fr 1fr!important;
  gap:16px!important;
  align-items:stretch!important;
  margin:18px 0!important;
}
.planning-tool-card{
  border-radius:24px!important;
}
.planning-tool-card h2{
  margin:6px 0 8px!important;
}
.planning-tool-card p{
  color:#475569!important;
  line-height:1.5!important;
}
.bulk-planning-form{
  gap:12px!important;
}
.bulk-employee-list,
.weekday-picker{
  display:flex!important;
  flex-wrap:wrap!important;
  gap:8px!important;
}
.bulk-employee-list label,
.weekday-picker label{
  display:inline-flex!important;
  align-items:center!important;
  gap:7px!important;
  padding:8px 10px!important;
  border:1px solid #e2e8f0!important;
  border-radius:999px!important;
  background:#f8fafc!important;
  font-weight:850!important;
  color:#334155!important;
}
.bulk-employee-list input,
.weekday-picker input{
  accent-color:#16a34a!important;
}
@media(max-width:1180px){
  .planning-tools-grid{grid-template-columns:1fr!important}
}
@media print{
  .client-topbar,
  .client-hero-pro,
  .premium-kpis,
  .quick-form-pro,
  .planning-tools-grid,
  .toolbar .hero-actions,
  .cell-actions,
  .shift-foot form,
  #consulente,
  .floating-card{
    display:none!important;
  }
  body{
    background:#fff!important;
  }
  .client-main{
    max-width:none!important;
    padding:0!important;
  }
  .planner-super-layout{
    display:block!important;
  }
  .planning-main-pro,
  .panel,
  .employee-week-grid{
    box-shadow:none!important;
    border-color:#cbd5e1!important;
  }
  .shift{
    break-inside:avoid!important;
  }
}


/* =========================================================
   MODELLI TURNO + DISPONIBILITA + CONTROLLI PLANNING
   ========================================================= */
.availability-box{
  margin:14px 0!important;
  padding:16px!important;
  border-radius:20px!important;
  background:#f8fafc!important;
  border:1px solid #e2e8f0!important;
}
.availability-box p{margin:8px 0 0!important}
.planning-filter-panel{
  margin:18px 0!important;
}
.planning-filter-form{
  display:grid!important;
  grid-template-columns:1fr 1fr auto auto!important;
  gap:12px!important;
  align-items:end!important;
}
.planning-filter-form label{
  display:grid!important;
  gap:6px!important;
  font-weight:850!important;
  color:#334155!important;
}
.planning-filter-form select{
  min-height:42px!important;
}
.planning-alert-panel{
  margin:18px 0!important;
  border-left:6px solid #16a34a!important;
}
.planning-alert-list{
  display:grid!important;
  gap:10px!important;
}
.planning-alert{
  display:grid!important;
  grid-template-columns:1fr auto!important;
  gap:4px 14px!important;
  padding:12px 14px!important;
  border-radius:16px!important;
  background:#f8fafc!important;
  border:1px solid #e2e8f0!important;
}
.planning-alert b{color:#0f172a!important}
.planning-alert span{grid-column:1!important;color:#475569!important;line-height:1.45!important}
.planning-alert em{
  grid-row:1 / span 2!important;
  grid-column:2!important;
  align-self:center!important;
  font-style:normal!important;
  padding:6px 9px!important;
  border-radius:999px!important;
  font-size:12px!important;
  font-weight:1000!important;
  background:#dcfce7!important;
  color:#166534!important;
}
.planning-alert.severity-alta em{background:#fee2e2!important;color:#991b1b!important}
.planning-alert.severity-media em{background:#fef3c7!important;color:#92400e!important}
.template-form{
  margin-top:10px!important;
}
.template-chip-list{
  display:flex!important;
  flex-wrap:wrap!important;
  gap:8px!important;
  margin-top:12px!important;
}
.template-chip-list form{
  display:inline-flex!important;
  align-items:center!important;
  gap:8px!important;
  padding:7px 10px!important;
  border-radius:999px!important;
  background:#eef2ff!important;
  border:1px solid #c7d2fe!important;
}
.template-chip-list span{
  font-weight:850!important;
  color:#312e81!important;
  font-size:13px!important;
}
@media(max-width:980px){
  .planning-filter-form{grid-template-columns:1fr!important}
  .planning-alert{grid-template-columns:1fr!important}
  .planning-alert em{grid-column:auto!important;grid-row:auto!important;justify-self:start!important}
}


/* =========================================================
   PAGAMENTI CARTA
   ========================================================= */
.card-payment-box{
  margin:16px 0!important;
  padding:16px!important;
  border-radius:20px!important;
  background:#f0fdf4!important;
  border:1px solid #bbf7d0!important;
  color:#14532d!important;
}
.card-payment-box b,
.card-payment-box span,
.card-payment-box small{
  display:block!important;
}
.card-payment-box b{
  font-size:18px!important;
  margin-bottom:4px!important;
}
.card-payment-box small{
  color:#166534!important;
  margin-top:5px!important;
}
.card-pay-button{
  font-size:17px!important;
  min-height:50px!important;
}
.secure-payment-note{
  margin:8px 0 0!important;
  padding:10px 12px!important;
  border-radius:14px!important;
  background:#f8fafc!important;
  border:1px solid #e2e8f0!important;
  color:#475569!important;
  font-weight:800!important;
}
.secure-payment-note.warning{
  background:#fff7ed!important;
  border-color:#fed7aa!important;
  color:#9a3412!important;
}
.payment-result-card{
  max-width:760px!important;
  margin:0 auto!important;
  text-align:left!important;
}
.payment-result-card.success{
  border-left:7px solid #16a34a!important;
}
.payment-result-card.cancel{
  border-left:7px solid #f59e0b!important;
}
.payment-admin-hero{
  display:flex!important;
  align-items:center!important;
  justify-content:space-between!important;
  gap:18px!important;
}
.payment-provider-badge{
  min-width:180px!important;
  padding:14px 16px!important;
  border-radius:20px!important;
  background:#f8fafc!important;
  border:1px solid #e2e8f0!important;
  text-align:center!important;
}
.payment-provider-badge strong,
.payment-provider-badge span{
  display:block!important;
}
.payment-provider-badge strong{
  color:#0f172a!important;
  font-size:18px!important;
}
.payment-provider-badge span{
  color:#16a34a!important;
  font-weight:1000!important;
  margin-top:3px!important;
}
.payment-orders-table .small-input{
  width:110px!important;
  min-height:34px!important;
  padding:6px 8px!important;
  border-radius:10px!important;
  border:1px solid #cbd5e1!important;
}
.payment-orders-table .trial-actions{
  gap:6px!important;
}
@media(max-width:780px){
  .payment-admin-hero{display:grid!important}
  .payment-provider-badge{text-align:left!important}
}


/* =========================================================
   FIX PREZZI BACK OFFICE + ORDINI MANUALI
   ========================================================= */
.price-save-notice{
  margin:14px 0!important;
}
.btn.danger{
  background:#991b1b!important;
  color:#fff!important;
  border-color:#991b1b!important;
}
.plan-money-preview{
  display:flex!important;
  flex-wrap:wrap!important;
  gap:8px!important;
  margin-top:8px!important;
}
.plan-money-preview span,
.plan-money-preview strong{
  display:inline-flex!important;
  align-items:center!important;
  padding:6px 9px!important;
  border-radius:999px!important;
  background:#f8fafc!important;
  border:1px solid #e2e8f0!important;
  color:#334155!important;
  font-size:12px!important;
  font-weight:900!important;
}
.plan-money-preview strong{
  background:#dcfce7!important;
  border-color:#bbf7d0!important;
  color:#166534!important;
}
.manual-order-panel{
  border-left:6px solid #0f766e!important;
}


/* =========================================================
   AREA DIPENDENTE + PRESA VISIONE + CAMBI TURNO
   ========================================================= */
.employee-portal-top{
  position:sticky!important;
  top:0!important;
  z-index:20!important;
  display:flex!important;
  justify-content:space-between!important;
  align-items:center!important;
  gap:12px!important;
  padding:12px 18px!important;
  background:#0f172a!important;
  color:#fff!important;
  box-shadow:0 10px 28px rgba(15,23,42,.18)!important;
}
.employee-portal-top strong,
.employee-portal-top span,
.employee-portal-top b{display:block!important}
.employee-portal-top span{font-size:12px!important;color:#cbd5e1!important;font-weight:800!important}
.employee-portal-wrap{padding-top:24px!important}
.employee-portal-hero{
  display:grid!important;
  grid-template-columns:1fr auto!important;
  gap:16px!important;
  align-items:center!important;
}
.employee-portal-hero aside{
  padding:14px 16px!important;
  border-radius:20px!important;
  background:#f0fdf4!important;
  border:1px solid #bbf7d0!important;
  min-width:170px!important;
}
.employee-portal-hero aside b,
.employee-portal-hero aside span{display:block!important}
.employee-portal-hero aside b{font-size:24px!important;color:#14532d!important}
.employee-portal-hero aside span{color:#166534!important;font-weight:850!important}
.employee-shift-list{
  display:grid!important;
  gap:14px!important;
}
.employee-shift-card{
  display:grid!important;
  grid-template-columns:90px 1fr 280px!important;
  gap:16px!important;
  align-items:start!important;
  padding:16px!important;
  background:#fff!important;
  border:1px solid #e2e8f0!important;
  border-radius:24px!important;
  box-shadow:0 16px 40px rgba(15,23,42,.06)!important;
}
.employee-shift-date{
  text-align:center!important;
  border-radius:18px!important;
  background:#f8fafc!important;
  padding:12px!important;
}
.employee-shift-date b{
  display:block!important;
  font-size:26px!important;
  color:#0f172a!important;
}
.employee-shift-date span{font-weight:950!important;color:#64748b!important}
.employee-shift-main h2{margin:0 0 6px!important}
.employee-shift-main p{margin:0 0 6px!important;color:#334155!important;font-weight:850!important}
.employee-shift-main span,
.employee-shift-main small{display:block!important;color:#475569!important}
.employee-shift-actions{
  display:grid!important;
  gap:8px!important;
}
.employee-shift-actions form{
  display:grid!important;
  gap:8px!important;
}
.employee-shift-actions input,
.change-request-mini textarea,
.change-request-mini select{
  width:100%!important;
}
.ack-badge,
.ack-inline{
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  width:max-content!important;
  padding:5px 9px!important;
  border-radius:999px!important;
  font-size:12px!important;
  font-weight:1000!important;
}
.ack-badge.seen,
.ack-inline.seen{
  background:#dcfce7!important;
  color:#166534!important;
  border:1px solid #bbf7d0!important;
}
.ack-badge.unseen,
.ack-inline.unseen{
  background:#fff7ed!important;
  color:#9a3412!important;
  border:1px solid #fed7aa!important;
}
.change-requests-panel{
  border-left:6px solid #f59e0b!important;
}
.change-request-list{
  display:grid!important;
  gap:12px!important;
}
.change-request-card{
  display:grid!important;
  grid-template-columns:1fr 360px!important;
  gap:16px!important;
  padding:14px!important;
  border:1px solid #e2e8f0!important;
  border-radius:20px!important;
  background:#f8fafc!important;
}
.change-request-card b,
.change-request-card span,
.change-request-card small{display:block!important}
.change-request-card p{margin:8px 0!important;color:#334155!important}
.request-actions{
  display:grid!important;
  gap:8px!important;
}
.mini-action-form{
  display:grid!important;
  gap:7px!important;
}
.audit-planning-panel{
  border-left:6px solid #64748b!important;
}
.audit-list{
  display:grid!important;
  gap:8px!important;
}
.audit-list div{
  padding:10px 12px!important;
  border-radius:16px!important;
  background:#f8fafc!important;
  border:1px solid #e2e8f0!important;
}
.audit-list b,
.audit-list span,
.audit-list small{
  display:block!important;
}
.audit-list span,
.audit-list small{
  color:#64748b!important;
}
.employee-request-list{
  display:grid!important;
  gap:10px!important;
}
.employee-request-list article{
  padding:12px!important;
  border-radius:16px!important;
  background:#f8fafc!important;
  border:1px solid #e2e8f0!important;
}
.employee-request-list b,
.employee-request-list span,
.employee-request-list small{
  display:block!important;
}
.employee-request-list p{margin:6px 0!important}
@media(max-width:900px){
  .employee-portal-hero,
  .employee-shift-card,
  .change-request-card{
    grid-template-columns:1fr!important;
  }
  .employee-shift-actions{
    border-top:1px solid #e2e8f0!important;
    padding-top:10px!important;
  }
}


/* =========================================================
   PACCHETTO ANNUALE + SCONTO PERCENTUALE
   ========================================================= */
.billing-toggle-card{
  display:inline-flex!important;
  align-items:center!important;
  flex-wrap:wrap!important;
  gap:12px!important;
  margin:0 0 22px!important;
  padding:12px 16px!important;
  border-radius:24px!important;
  background:#ffffff!important;
  border:1px solid #e2e8f0!important;
  box-shadow:0 18px 42px rgba(15,23,42,.06)!important;
}
.billing-toggle-card span{
  font-weight:1000!important;
  color:#0f172a!important;
}
.billing-toggle-card b{
  color:#16a34a!important;
}
.billing-toggle-card small{
  width:100%!important;
  color:#64748b!important;
  font-weight:800!important;
}
.billing-switch{
  position:relative!important;
  display:inline-flex!important;
  width:66px!important;
  height:34px!important;
  cursor:pointer!important;
}
.billing-switch input{
  position:absolute!important;
  opacity:0!important;
}
.billing-switch i{
  display:block!important;
  width:100%!important;
  height:100%!important;
  border-radius:999px!important;
  background:#cbd5e1!important;
  transition:.18s ease!important;
}
.billing-switch i:after{
  content:''!important;
  position:absolute!important;
  width:28px!important;
  height:28px!important;
  left:3px!important;
  top:3px!important;
  border-radius:50%!important;
  background:#fff!important;
  box-shadow:0 6px 15px rgba(15,23,42,.18)!important;
  transition:.18s ease!important;
}
.billing-switch input:checked+i{
  background:#16a34a!important;
}
.billing-switch input:checked+i:after{
  transform:translateX(32px)!important;
}
.annual-note em{
  display:inline-block!important;
  margin-top:5px!important;
  color:#166534!important;
  font-style:normal!important;
  font-weight:950!important;
}
.checkout-billing-switch{
  display:flex!important;
  gap:8px!important;
  margin:16px 0!important;
  padding:6px!important;
  border-radius:18px!important;
  background:#f8fafc!important;
  border:1px solid #e2e8f0!important;
}
.checkout-billing-switch a{
  flex:1!important;
  text-align:center!important;
  padding:10px 12px!important;
  border-radius:14px!important;
  font-weight:1000!important;
  color:#334155!important;
  text-decoration:none!important;
}
.checkout-billing-switch a.active{
  background:#16a34a!important;
  color:#fff!important;
  box-shadow:0 10px 22px rgba(22,163,74,.2)!important;
}
.annual-discount-admin{
  border-left:6px solid #16a34a!important;
}
.annual-discount-value{
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  min-width:86px!important;
  min-height:54px!important;
  border-radius:18px!important;
  background:#dcfce7!important;
  color:#166534!important;
  font-size:24px!important;
}
.annual-discount-form input[type=range]{
  width:100%!important;
  accent-color:#16a34a!important;
}
.annual-discount-live{
  display:flex!important;
  align-items:center!important;
  justify-content:space-between!important;
  padding:12px 14px!important;
  border-radius:16px!important;
  background:#f8fafc!important;
  border:1px solid #e2e8f0!important;
}
.annual-discount-live strong{
  color:#16a34a!important;
  font-size:24px!important;
}
@media(max-width:680px){
  .checkout-billing-switch{display:grid!important}
  .billing-toggle-card{display:flex!important;width:100%!important;justify-content:center!important}
}


/* =========================================================
   ANNUALE PRIMA + MENSILE SCONTATO
   ========================================================= */
.billing-toggle-card.annual-first{
  border-color:#bbf7d0!important;
  background:linear-gradient(180deg,#ffffff 0%,#f0fdf4 100%)!important;
}
.billing-toggle-card.annual-first span:first-child{
  color:#14532d!important;
}
.billing-toggle-card.annual-first small{
  color:#166534!important;
}
.annual-billing-active .annual-price{
  color:#14532d!important;
}
.annual-billing-active .annual-note{
  background:#f0fdf4!important;
  border-color:#bbf7d0!important;
  color:#166534!important;
}
.annual-billing-active .annual-note strong{
  color:#14532d!important;
}


/* =========================================================
   SWITCH MENSILE / ANNUALE PIU CHIARO
   ========================================================= */
.billing-mode-clear{
  display:grid!important;
  gap:14px!important;
  width:100%!important;
  max-width:820px!important;
  padding:16px!important;
  border-radius:28px!important;
  border:2px solid #bbf7d0!important;
  background:linear-gradient(180deg,#ffffff 0%,#f0fdf4 100%)!important;
}
.billing-status-banner{
  display:flex!important;
  align-items:center!important;
  justify-content:space-between!important;
  gap:12px!important;
  padding:14px 16px!important;
  border-radius:20px!important;
  background:#16a34a!important;
  color:#fff!important;
  box-shadow:0 16px 30px rgba(22,163,74,.22)!important;
}
.billing-status-banner strong{
  font-size:18px!important;
  line-height:1!important;
  letter-spacing:.02em!important;
}
.billing-status-banner span{
  font-weight:900!important;
  opacity:.95!important;
}
.billing-segmented-control{
  display:grid!important;
  grid-template-columns:1fr 86px 1fr!important;
  align-items:center!important;
  gap:12px!important;
}
.billing-choice{
  min-height:68px!important;
  border-radius:22px!important;
  border:2px solid #e2e8f0!important;
  background:#fff!important;
  color:#334155!important;
  cursor:pointer!important;
  text-align:center!important;
  padding:10px 12px!important;
  transition:.18s ease!important;
}
.billing-choice b,
.billing-choice small{
  display:block!important;
}
.billing-choice b{
  font-size:18px!important;
  line-height:1.1!important;
}
.billing-choice small{
  margin-top:4px!important;
  font-weight:900!important;
  color:#64748b!important;
}
.billing-choice.active{
  border-color:#16a34a!important;
  background:#dcfce7!important;
  color:#14532d!important;
  box-shadow:0 16px 30px rgba(22,163,74,.14)!important;
}
.billing-choice.active small{
  color:#166534!important;
}
.monthly-billing-active .billing-mode-clear{
  border-color:#cbd5e1!important;
  background:linear-gradient(180deg,#ffffff 0%,#f8fafc 100%)!important;
}
.monthly-billing-active .billing-status-banner{
  background:#334155!important;
  box-shadow:0 16px 30px rgba(51,65,85,.18)!important;
}
.billing-help-text{
  display:block!important;
  width:100%!important;
  color:#475569!important;
  font-weight:900!important;
  text-align:center!important;
}
.clear-switch{
  margin:auto!important;
  transform:scale(1.08)!important;
}
@media(max-width:680px){
  .billing-status-banner{
    display:grid!important;
    text-align:center!important;
  }
  .billing-segmented-control{
    grid-template-columns:1fr!important;
  }
  .clear-switch{
    order:2!important;
  }
  .monthly-choice{
    order:3!important;
  }
}


/* =========================================================
   LANDING SEO GOOGLE
   ========================================================= */
.seo-landing-page .topbar{
  border-bottom:1px solid #e2e8f0!important;
}
.seo-hero-section{
  padding:72px 0 44px!important;
  background:linear-gradient(180deg,#f8fafc 0%,#ffffff 100%)!important;
}
.seo-hero-grid{
  display:grid!important;
  grid-template-columns:minmax(0,1.1fr) minmax(320px,.55fr)!important;
  gap:34px!important;
  align-items:center!important;
}
.seo-hero-grid h1{
  font-size:clamp(38px,4vw,62px)!important;
  line-height:1.02!important;
  letter-spacing:-.04em!important;
  margin:10px 0 16px!important;
  color:#0f172a!important;
}
.seo-side-card{
  padding:24px!important;
  border-radius:28px!important;
  background:#0f172a!important;
  color:#fff!important;
  box-shadow:0 24px 60px rgba(15,23,42,.22)!important;
}
.seo-side-card b{
  display:block!important;
  font-size:22px!important;
  margin-bottom:12px!important;
}
.seo-side-card ul{
  display:grid!important;
  gap:10px!important;
  padding:0!important;
  margin:0!important;
  list-style:none!important;
}
.seo-side-card li{
  padding:10px 12px!important;
  border-radius:16px!important;
  background:rgba(255,255,255,.09)!important;
  font-weight:900!important;
}
.seo-text-block{
  max-width:940px!important;
  display:grid!important;
  gap:14px!important;
}
.seo-text-block p{
  font-size:18px!important;
  line-height:1.75!important;
  color:#334155!important;
  margin:0!important;
}
.seo-steps{
  display:grid!important;
  grid-template-columns:repeat(3,1fr)!important;
  gap:16px!important;
}
.seo-steps article{
  padding:22px!important;
  border-radius:24px!important;
  border:1px solid #e2e8f0!important;
  background:#fff!important;
  box-shadow:0 16px 42px rgba(15,23,42,.06)!important;
}
.seo-steps span{
  display:inline-grid!important;
  place-items:center!important;
  width:34px!important;
  height:34px!important;
  border-radius:50%!important;
  background:#16a34a!important;
  color:#fff!important;
  font-weight:1000!important;
}
.seo-steps h3{
  margin:14px 0 8px!important;
}
.seo-steps p{
  color:#475569!important;
  line-height:1.55!important;
}
.seo-faq-list{
  display:grid!important;
  gap:10px!important;
}
.seo-faq-list details{
  padding:16px 18px!important;
  border-radius:18px!important;
  background:#fff!important;
  border:1px solid #e2e8f0!important;
}
.seo-faq-list summary{
  cursor:pointer!important;
  font-weight:1000!important;
  color:#0f172a!important;
}
.seo-faq-list p{
  color:#475569!important;
  line-height:1.6!important;
}
.seo-internal-links{
  padding:22px!important;
  border-radius:26px!important;
  background:#f8fafc!important;
  border:1px solid #e2e8f0!important;
}
.seo-internal-links h2{
  margin:0 0 14px!important;
}
.seo-internal-links div,
.seo-link-grid{
  display:flex!important;
  flex-wrap:wrap!important;
  gap:10px!important;
}
.seo-internal-links a,
.seo-link-grid a{
  display:inline-flex!important;
  padding:10px 12px!important;
  border-radius:999px!important;
  background:#fff!important;
  border:1px solid #e2e8f0!important;
  color:#0f172a!important;
  font-weight:950!important;
  text-decoration:none!important;
}
.seo-entry-section{
  background:#f8fafc!important;
  border-top:1px solid #e2e8f0!important;
  border-bottom:1px solid #e2e8f0!important;
}
.seo-checklist-admin code{
  background:#f1f5f9!important;
  padding:3px 6px!important;
  border-radius:7px!important;
}
@media(max-width:900px){
  .seo-hero-grid,
  .seo-steps{
    grid-template-columns:1fr!important;
  }
  .seo-hero-section{
    padding:44px 0 28px!important;
  }
}


/* =========================================================
   SWITCH MENSILE / ANNUALE SENZA BANNER - RIPRISTINO
   ========================================================= */
.billing-status-banner{
  display:none!important;
}
.billing-mode-clear{
  max-width:720px!important;
  padding:14px!important;
}
.billing-segmented-control{
  grid-template-columns:1fr 74px 1fr!important;
}
.billing-choice{
  min-height:62px!important;
}
.billing-choice b{
  font-size:17px!important;
}
.billing-help-text{
  margin-top:-2px!important;
  font-size:13px!important;
}


/* =========================================================
   MAPPA SITO HTML + ARTICOLI SEO + FOOTER LINK
   ========================================================= */
.seo-footer-links{
  padding:42px 0!important;
  background:#0f172a!important;
  color:#fff!important;
}
.seo-footer-links .section-head h2,
.seo-footer-links .kicker{
  color:#fff!important;
}
.seo-footer-grid{
  display:grid!important;
  grid-template-columns:repeat(3,1fr)!important;
  gap:18px!important;
}
.seo-footer-grid>div{
  padding:18px!important;
  border-radius:22px!important;
  background:rgba(255,255,255,.06)!important;
  border:1px solid rgba(255,255,255,.1)!important;
}
.seo-footer-grid h3{
  margin:0 0 12px!important;
  color:#fff!important;
}
.seo-footer-grid a{
  display:block!important;
  color:#dbeafe!important;
  text-decoration:none!important;
  font-weight:850!important;
  padding:7px 0!important;
}
.seo-footer-grid a:hover{
  color:#fff!important;
  text-decoration:underline!important;
}
.seo-sitemap-grid{
  display:grid!important;
  grid-template-columns:repeat(2,minmax(0,1fr))!important;
  gap:18px!important;
}
.seo-sitemap-grid article{
  padding:22px!important;
  border-radius:24px!important;
  background:#fff!important;
  border:1px solid #e2e8f0!important;
  box-shadow:0 16px 42px rgba(15,23,42,.06)!important;
}
.seo-sitemap-grid h2{
  margin:0 0 12px!important;
}
.seo-sitemap-grid a{
  display:flex!important;
  align-items:center!important;
  justify-content:space-between!important;
  padding:10px 0!important;
  border-bottom:1px solid #f1f5f9!important;
  color:#0f172a!important;
  text-decoration:none!important;
  font-weight:900!important;
}
.seo-sitemap-grid a:after{
  content:'→'!important;
  color:#16a34a!important;
}
.article-hero .seo-side-card li{
  font-size:14px!important;
}
.seo-article-content{
  max-width:980px!important;
}
.seo-article-block{
  padding:0 0 26px!important;
  margin:0 0 26px!important;
  border-bottom:1px solid #e2e8f0!important;
}
.seo-article-block h2{
  font-size:clamp(26px,3vw,38px)!important;
  line-height:1.12!important;
  letter-spacing:-.02em!important;
  margin:0 0 14px!important;
  color:#0f172a!important;
}
.seo-article-block p{
  font-size:18px!important;
  line-height:1.78!important;
  color:#334155!important;
  margin:0 0 14px!important;
}
@media(max-width:900px){
  .seo-footer-grid,
  .seo-sitemap-grid{
    grid-template-columns:1fr!important;
  }
}


/* =========================================================
   DINAMICITA ELEGANTE SITO PUBBLICO
   ========================================================= */
.dynamic-hero{
  position:relative!important;
  overflow:hidden!important;
}
.dynamic-hero:before{
  content:''!important;
  position:absolute!important;
  inset:30px auto auto -120px!important;
  width:280px!important;
  height:280px!important;
  border-radius:50%!important;
  background:radial-gradient(circle, rgba(34,197,94,.16), transparent 68%)!important;
  pointer-events:none!important;
  animation:softPulse 7s ease-in-out infinite!important;
}
.dynamic-hero:after{
  content:''!important;
  position:absolute!important;
  right:-110px!important;
  bottom:20px!important;
  width:340px!important;
  height:340px!important;
  border-radius:50%!important;
  background:radial-gradient(circle, rgba(14,165,233,.10), transparent 68%)!important;
  pointer-events:none!important;
  animation:softPulse 8.5s ease-in-out infinite reverse!important;
}
.dynamic-word{
  display:inline-block!important;
  position:relative!important;
  color:#15803d!important;
  transition:opacity .22s ease, transform .22s ease, filter .22s ease!important;
}
.dynamic-word:after{
  content:''!important;
  position:absolute!important;
  left:0!important;
  right:0!important;
  bottom:.03em!important;
  height:.18em!important;
  border-radius:999px!important;
  background:rgba(34,197,94,.16)!important;
  z-index:-1!important;
}
.dynamic-word.is-changing{
  opacity:.25!important;
  transform:translateY(8px)!important;
  filter:blur(2px)!important;
}
.reveal-up{
  opacity:0;
  transform:translateY(14px);
  animation:revealUp .72s ease forwards;
}
.delay-1{animation-delay:.12s!important}
.delay-2{animation-delay:.22s!important}
.delay-3{animation-delay:.32s!important}
.delay-4{animation-delay:.42s!important}
.reveal-float{
  animation:revealFloat .85s ease both;
  animation-delay:.18s;
}
.dynamic-frame{
  transition:transform .22s ease, box-shadow .22s ease!important;
  transform-style:preserve-3d!important;
}
.dynamic-frame:hover{
  box-shadow:0 28px 70px rgba(15,23,42,.16)!important;
}
.soft-floating{
  animation:softFloat 5.5s ease-in-out infinite!important;
}
.hero-live-strip{
  display:flex!important;
  flex-wrap:wrap!important;
  gap:10px!important;
  margin-top:18px!important;
}
.hero-live-strip span{
  display:inline-flex!important;
  align-items:center!important;
  gap:8px!important;
  padding:9px 12px!important;
  border-radius:999px!important;
  background:rgba(255,255,255,.8)!important;
  border:1px solid #dcfce7!important;
  color:#14532d!important;
  font-weight:950!important;
  box-shadow:0 10px 25px rgba(15,23,42,.05)!important;
}
.hero-live-strip b{
  display:inline-grid!important;
  place-items:center!important;
  width:24px!important;
  height:24px!important;
  border-radius:999px!important;
  background:#dcfce7!important;
  color:#15803d!important;
  font-size:12px!important;
}
.scroll-reveal{
  opacity:0!important;
  transform:translateY(18px)!important;
  transition:opacity .62s ease, transform .62s ease, box-shadow .25s ease!important;
}
.scroll-reveal.is-visible{
  opacity:1!important;
  transform:translateY(0)!important;
}
.feature-card,
.price,
.showcase-card,
.sector-card,
.refined-case{
  transition:transform .22s ease, box-shadow .22s ease, border-color .22s ease!important;
}
.feature-card:hover,
.price:hover,
.showcase-card:hover,
.sector-card:hover,
.refined-case:hover{
  transform:translateY(-5px)!important;
  box-shadow:0 20px 50px rgba(15,23,42,.10)!important;
}
.btn{
  transition:transform .18s ease, box-shadow .18s ease, background .18s ease, color .18s ease!important;
}
.btn:hover{
  transform:translateY(-2px)!important;
}
.trust span{
  transition:transform .18s ease, background .18s ease, border-color .18s ease!important;
}
.trust span:hover{
  transform:translateY(-2px)!important;
  background:#f0fdf4!important;
  border-color:#bbf7d0!important;
}
@keyframes revealUp{
  to{opacity:1; transform:translateY(0);}
}
@keyframes revealFloat{
  from{opacity:0; transform:translateY(20px) scale(.985);}
  to{opacity:1; transform:translateY(0) scale(1);}
}
@keyframes softFloat{
  0%,100%{transform:translateY(0);}
  50%{transform:translateY(-8px);}
}
@keyframes softPulse{
  0%,100%{opacity:.65; transform:scale(1);}
  50%{opacity:1; transform:scale(1.08);}
}
@media (prefers-reduced-motion: reduce){
  .dynamic-hero:before,
  .dynamic-hero:after,
  .soft-floating,
  .reveal-up,
  .reveal-float,
  .scroll-reveal{
    animation:none!important;
    transition:none!important;
    opacity:1!important;
    transform:none!important;
  }
  .dynamic-word{
    transition:none!important;
  }
}
@media(max-width:720px){
  .hero-live-strip{
    display:grid!important;
  }
  .hero-live-strip span{
    justify-content:center!important;
  }
}


/* =========================================================
   DINAMICITA SOLO TESTI - IMMAGINE HERO IN POSIZIONE ORIGINALE
   ========================================================= */

/* Rimuove la fascia che poteva alterare il layout */
.hero-live-strip{
  display:none!important;
}

/* Nessun movimento su immagini, frame, card e blocchi grafici */
.hero-visual,
.software-frame,
.upgraded-frame,
.floating-card,
.feature-card,
.price,
.showcase-card,
.sector-card,
.refined-case{
  transform:none!important;
  animation:none!important;
}
.feature-card:hover,
.price:hover,
.showcase-card:hover,
.sector-card:hover,
.refined-case:hover{
  transform:none!important;
}

/* Mantiene l'hero a due colonne come prima */
.sales-hero.linear-hero,
.sales-hero.text-dynamic-hero{
  display:grid!important;
  grid-template-columns:minmax(0,1fr) minmax(360px,.9fr)!important;
  align-items:center!important;
}
.sales-hero .hero-visual{
  grid-column:auto!important;
  align-self:center!important;
}

/* Dinamicità elegante solo sul testo */
.text-hero-title{
  animation:textHeroIn .72s ease both!important;
}
.dynamic-word{
  display:inline-block!important;
  position:relative!important;
  color:#15803d!important;
  transition:opacity .18s ease, transform .18s ease, filter .18s ease!important;
}
.dynamic-word:after{
  content:''!important;
  position:absolute!important;
  left:0!important;
  right:0!important;
  bottom:.02em!important;
  height:.16em!important;
  border-radius:999px!important;
  background:rgba(34,197,94,.14)!important;
  z-index:-1!important;
}
.dynamic-word.is-changing{
  opacity:.25!important;
  transform:translateY(6px)!important;
  filter:blur(1.5px)!important;
}
.text-soft-reveal,
.text-reveal-only{
  opacity:0!important;
  transform:translateY(10px)!important;
  transition:opacity .58s ease, transform .58s ease!important;
}
.text-soft-reveal.text-visible,
.text-reveal-only.text-visible{
  opacity:1!important;
  transform:translateY(0)!important;
}
.delay-1{transition-delay:.08s!important}
.delay-2{transition-delay:.16s!important}
.delay-3{transition-delay:.24s!important}

.section-head h2.text-visible,
.seo-article-block h2.text-visible{
  opacity:1!important;
  transform:translateY(0)!important;
}
.section-head h2,
.seo-article-block h2{
  transition:opacity .55s ease, transform .55s ease!important;
}

/* Micro effetto elegante solo sui testi/link, non sulle card */
.navlinks a,
.hero-actions .btn,
.seo-footer-grid a,
.seo-sitemap-grid a{
  transition:color .18s ease, opacity .18s ease, transform .18s ease!important;
}
.navlinks a:hover,
.seo-footer-grid a:hover,
.seo-sitemap-grid a:hover{
  transform:translateX(2px)!important;
}
.hero-actions .btn:hover{
  transform:translateY(-1px)!important;
}

@keyframes textHeroIn{
  from{opacity:0; transform:translateY(12px);}
  to{opacity:1; transform:translateY(0);}
}

@media(max-width:900px){
  .sales-hero.linear-hero,
  .sales-hero.text-dynamic-hero{
    grid-template-columns:1fr!important;
  }
}

@media (prefers-reduced-motion: reduce){
  .text-hero-title,
  .dynamic-word,
  .text-soft-reveal,
  .text-reveal-only,
  .navlinks a,
  .hero-actions .btn{
    animation:none!important;
    transition:none!important;
    opacity:1!important;
    transform:none!important;
    filter:none!important;
  }
}


/* =========================================================
   DINAMICITA SITO - SOLO CODICE, NESSUNA IMMAGINE NUOVA
   ========================================================= */

/* Mantiene l'hero nella struttura originale */
.sales-hero.linear-hero,
.sales-hero.text-dynamic-hero{
  display:grid!important;
  grid-template-columns:minmax(0,1fr) minmax(360px,.9fr)!important;
  align-items:center!important;
}
.sales-hero .hero-visual{
  grid-column:auto!important;
  align-self:center!important;
}
.hero-live-strip{
  display:none!important;
}

/* Reveal controllato allo scroll */
.site-reveal{
  opacity:0!important;
  transform:translateY(18px)!important;
  transition:opacity .62s ease, transform .62s ease, box-shadow .22s ease, border-color .22s ease!important;
  will-change:opacity, transform!important;
}
.site-reveal.is-visible{
  opacity:1!important;
  transform:translateY(0)!important;
}

/* Movimento leggero sugli elementi visivi già esistenti */
.hero-visual.is-visible .software-frame,
.software-frame.is-visible{
  animation:smSoftAppear .75s ease both!important;
}
.hero-visual .software-frame{
  transform:perspective(1000px) rotateX(var(--tilt-x, 0deg)) rotateY(var(--tilt-y, 0deg)) translateY(calc(var(--scroll-soft, 0px) * -0.18))!important;
  transition:transform .18s ease, box-shadow .22s ease!important;
}
.hero-visual .floating-card{
  transform:translateY(calc(var(--scroll-soft, 0px) * -0.10))!important;
  animation:smTinyFloat 6s ease-in-out infinite!important;
}
.software-frame:hover,
.showcase-card:hover,
.feature-card:hover,
.price:hover,
.refined-case:hover{
  transform:translateY(-4px)!important;
  box-shadow:0 22px 52px rgba(15,23,42,.10)!important;
}

/* Testi dinamici eleganti */
.dynamic-word{
  display:inline-block!important;
  position:relative!important;
  color:#15803d!important;
  transition:opacity .18s ease, transform .18s ease, filter .18s ease!important;
}
.dynamic-word:after{
  content:''!important;
  position:absolute!important;
  left:0!important;
  right:0!important;
  bottom:.02em!important;
  height:.16em!important;
  border-radius:999px!important;
  background:rgba(34,197,94,.14)!important;
  z-index:-1!important;
}
.dynamic-word.is-changing{
  opacity:.25!important;
  transform:translateY(6px)!important;
  filter:blur(1.5px)!important;
}
.text-hero-title{
  animation:textHeroIn .72s ease both!important;
}
.text-soft-reveal{
  opacity:0!important;
  transform:translateY(10px)!important;
  transition:opacity .58s ease, transform .58s ease!important;
}
.text-soft-reveal.text-visible,
.text-soft-reveal.is-visible{
  opacity:1!important;
  transform:translateY(0)!important;
}
.delay-1{transition-delay:.08s!important}
.delay-2{transition-delay:.16s!important}
.delay-3{transition-delay:.24s!important}

/* Microinterazioni leggere */
.navlinks a,
.hero-actions .btn,
.seo-footer-grid a,
.seo-sitemap-grid a,
.trust span{
  transition:color .18s ease, opacity .18s ease, transform .18s ease, background .18s ease, border-color .18s ease!important;
}
.navlinks a:hover,
.seo-footer-grid a:hover,
.seo-sitemap-grid a:hover{
  transform:translateX(2px)!important;
}
.hero-actions .btn:hover{
  transform:translateY(-2px)!important;
}
.trust span:hover{
  transform:translateY(-2px)!important;
  background:#f0fdf4!important;
  border-color:#bbf7d0!important;
}

@keyframes smSoftAppear{
  from{opacity:.65; transform:translateY(16px) scale(.985);}
  to{opacity:1; transform:translateY(0) scale(1);}
}
@keyframes smTinyFloat{
  0%,100%{translate:0 0;}
  50%{translate:0 -6px;}
}
@keyframes textHeroIn{
  from{opacity:0; transform:translateY(12px);}
  to{opacity:1; transform:translateY(0);}
}

@media(max-width:900px){
  .sales-hero.linear-hero,
  .sales-hero.text-dynamic-hero{
    grid-template-columns:1fr!important;
  }
  .hero-visual .software-frame,
  .hero-visual .floating-card{
    transform:none!important;
  }
}
@media (prefers-reduced-motion: reduce){
  .site-reveal,
  .hero-visual .software-frame,
  .hero-visual .floating-card,
  .dynamic-word,
  .text-hero-title,
  .text-soft-reveal,
  .navlinks a,
  .hero-actions .btn{
    animation:none!important;
    transition:none!important;
    opacity:1!important;
    transform:none!important;
    filter:none!important;
  }
}


/* =========================================================
   HOVER IMMAGINI E VISUAL ACCATTIVANTE - TESTO FERMO
   ========================================================= */

/* testo hero statico */
.dynamic-word{
  color:inherit!important;
  background:none!important;
  filter:none!important;
  transform:none!important;
}
.dynamic-word:after{
  display:none!important;
}

/* layout hero bloccato nella posizione corretta */
.sales-hero.linear-hero,
.sales-hero.text-dynamic-hero{
  display:grid!important;
  grid-template-columns:minmax(0,1fr) minmax(360px,.9fr)!important;
  align-items:center!important;
}
.sales-hero .hero-visual{
  grid-column:auto!important;
  align-self:center!important;
}
.hero-live-strip{
  display:none!important;
}

/* reveal più percepibile allo scroll */
.visual-reveal{
  opacity:0!important;
  transform:translateY(26px) scale(.985)!important;
  transition:opacity .7s ease, transform .7s ease, box-shadow .28s ease, border-color .28s ease!important;
}
.visual-reveal.is-visible{
  opacity:1!important;
  transform:translateY(0) scale(1)!important;
}

/* base hover 3D */
.visual-hover-item,
.software-frame,
.showcase-card,
.sector-showcase-card{
  position:relative!important;
  overflow:hidden!important;
  transform-style:preserve-3d!important;
  transition:transform .22s ease, box-shadow .24s ease, border-color .24s ease, filter .24s ease!important;
  will-change:transform!important;
}

/* luce che segue il mouse */
.visual-hover-item:before,
.software-frame:before,
.showcase-card:before,
.sector-showcase-card:before{
  content:''!important;
  position:absolute!important;
  inset:-1px!important;
  z-index:3!important;
  pointer-events:none!important;
  opacity:0!important;
  transition:opacity .24s ease!important;
  background:radial-gradient(circle at var(--mx,50%) var(--my,50%), rgba(255,255,255,.38), rgba(255,255,255,.10) 22%, transparent 48%)!important;
  mix-blend-mode:screen!important;
}

/* linea elegante di profondità */
.visual-hover-item:after,
.software-frame:after,
.showcase-card:after,
.sector-showcase-card:after{
  content:''!important;
  position:absolute!important;
  inset:0!important;
  z-index:4!important;
  pointer-events:none!important;
  opacity:0!important;
  transition:opacity .24s ease!important;
  background:linear-gradient(120deg, transparent 0%, rgba(255,255,255,.28) 46%, transparent 62%)!important;
  transform:translateX(-120%)!important;
}

/* hover ben visibile su frame hero */
.hero-visual .software-frame.is-hovering,
.hero-visual .software-frame:hover,
.software-frame.is-hovering,
.software-frame:hover{
  transform:perspective(1100px) rotateX(var(--rx,0deg)) rotateY(var(--ry,0deg)) translateY(-8px) scale(1.018)!important;
  box-shadow:0 34px 90px rgba(15,23,42,.22)!important;
  border-color:#86efac!important;
  filter:saturate(1.06) contrast(1.03)!important;
}
.software-frame.is-hovering:before,
.software-frame:hover:before,
.showcase-card.is-hovering:before,
.showcase-card:hover:before,
.sector-showcase-card.is-hovering:before,
.sector-showcase-card:hover:before{
  opacity:1!important;
}
.software-frame.is-hovering:after,
.software-frame:hover:after,
.showcase-card.is-hovering:after,
.showcase-card:hover:after,
.sector-showcase-card.is-hovering:after,
.sector-showcase-card:hover:after{
  opacity:1!important;
  animation:shineSweep .85s ease both!important;
}

/* immagini interne: zoom elegante */
.showcase-card img,
.sector-showcase-card img,
.software-frame img{
  transition:transform .42s ease, filter .32s ease!important;
  will-change:transform!important;
  transform-origin:center!important;
}
.showcase-card.is-hovering img,
.showcase-card:hover img,
.sector-showcase-card.is-hovering img,
.sector-showcase-card:hover img{
  transform:scale(1.075)!important;
  filter:saturate(1.12) contrast(1.05) brightness(1.02)!important;
}
.software-frame.is-hovering img,
.software-frame:hover img{
  transform:scale(1.025)!important;
  filter:saturate(1.08) contrast(1.04)!important;
}

/* card con immagini: sollevamento evidente */
.showcase-card.is-hovering,
.showcase-card:hover,
.sector-showcase-card.is-hovering,
.sector-showcase-card:hover{
  transform:perspective(1000px) rotateX(var(--rx,0deg)) rotateY(var(--ry,0deg)) translateY(-9px) scale(1.012)!important;
  box-shadow:0 30px 80px rgba(15,23,42,.18)!important;
  border-color:#bbf7d0!important;
}

/* piccoli movimenti anche sulle card non fotografiche */
.feature-card:hover,
.price:hover,
.clarity-card:hover,
.step-card:hover,
.refined-case:hover{
  transform:translateY(-7px)!important;
  box-shadow:0 24px 62px rgba(15,23,42,.12)!important;
  border-color:#bbf7d0!important;
}

/* card flottante esistente più viva */
.hero-visual .floating-card{
  animation:floatSoftCard 5.4s ease-in-out infinite!important;
}
.hero-visual:hover .floating-card{
  transform:translateY(-8px)!important;
  box-shadow:0 24px 58px rgba(15,23,42,.16)!important;
}

/* bottoni e tag più reattivi */
.hero-actions .btn:hover,
.btn:hover{
  transform:translateY(-3px)!important;
  box-shadow:0 18px 38px rgba(15,23,42,.14)!important;
}
.trust span:hover{
  transform:translateY(-3px) scale(1.02)!important;
  background:#f0fdf4!important;
  border-color:#86efac!important;
}

/* effetto scroll leggero solo su visual esistente */
.hero-visual{
  transform:translateY(calc(var(--page-scroll-soft, 0px) * -0.08))!important;
  transition:transform .18s linear!important;
}

@keyframes shineSweep{
  from{transform:translateX(-120%);}
  to{transform:translateX(120%);}
}
@keyframes floatSoftCard{
  0%,100%{translate:0 0;}
  50%{translate:0 -8px;}
}

@media(max-width:900px){
  .sales-hero.linear-hero,
  .sales-hero.text-dynamic-hero{
    grid-template-columns:1fr!important;
  }
  .hero-visual{
    transform:none!important;
  }
  .showcase-card:hover,
  .sector-showcase-card:hover,
  .software-frame:hover{
    transform:translateY(-5px)!important;
  }
}
@media (prefers-reduced-motion: reduce){
  .visual-reveal,
  .visual-hover-item,
  .software-frame,
  .showcase-card,
  .sector-showcase-card,
  .showcase-card img,
  .sector-showcase-card img,
  .software-frame img,
  .hero-visual,
  .floating-card{
    animation:none!important;
    transition:none!important;
    transform:none!important;
    opacity:1!important;
    filter:none!important;
  }
}

/* ShiftMastro refinement pack 2026-06-12: mobile menu, CTA e micro-interazioni eleganti */
.mobile-menu-toggle{display:none;border:0;background:rgba(255,255,255,.92);width:44px;height:42px;border-radius:14px;box-shadow:0 12px 30px rgba(15,23,42,.12);align-items:center;justify-content:center;flex-direction:column;gap:5px;cursor:pointer}
.mobile-menu-toggle span{display:block;width:20px;height:2px;border-radius:99px;background:#143b32;transition:transform .2s ease,opacity .2s ease}
.nav.nav-open .mobile-menu-toggle span:nth-child(1){transform:translateY(7px) rotate(45deg)}
.nav.nav-open .mobile-menu-toggle span:nth-child(2){opacity:0}
.nav.nav-open .mobile-menu-toggle span:nth-child(3){transform:translateY(-7px) rotate(-45deg)}
.mobile-sticky-cta{display:none;position:fixed;left:14px;right:14px;bottom:14px;z-index:70;text-align:center;text-decoration:none;border-radius:18px;padding:14px 18px;font-weight:800;background:linear-gradient(135deg,#1f8a69,#0f5f49);color:#fff;box-shadow:0 18px 50px rgba(15,95,73,.34)}
.sm-reveal{opacity:0;transform:translateY(18px);transition:opacity .55s ease,transform .55s ease,box-shadow .25s ease,border-color .25s ease}
.sm-reveal.sm-visible{opacity:1;transform:none}
.feature-card,.clarity-card,.showcase-card,.case-card,.sector-showcase-card,.pricing-card{transition:transform .22s ease,box-shadow .22s ease,border-color .22s ease}
.feature-card:hover,.clarity-card:hover,.showcase-card:hover,.case-card:hover,.sector-showcase-card:hover,.pricing-card:hover{transform:translateY(-4px);box-shadow:0 22px 60px rgba(15,23,42,.12);border-color:rgba(31,138,105,.24)}
.showcase-card img,.sector-showcase-card img,.hero-visual img,.software-frame img{transition:transform .35s ease,filter .35s ease}
.showcase-card:hover img,.sector-showcase-card:hover img,.hero-visual:hover img,.software-frame:hover img{transform:scale(1.018);filter:saturate(1.04) contrast(1.02)}
.inline-form{display:inline-flex;margin:0;gap:6px;align-items:center}.lead-actions{display:flex;gap:6px;flex-wrap:wrap;align-items:center}.btn.ghost{background:transparent;border:1px solid rgba(15,23,42,.14);color:inherit}
@media (max-width: 860px){
  body.public-refresh{padding-bottom:74px}.topbar{position:sticky;top:0;z-index:65;backdrop-filter:blur(14px)}
  .topbar .nav{position:relative;min-height:62px}.mobile-menu-toggle{display:flex;margin-left:auto}.topbar .navlinks{position:absolute;top:calc(100% + 8px);left:0;right:0;display:none;grid-template-columns:1fr;gap:8px;padding:14px;border-radius:22px;background:rgba(255,255,255,.98);box-shadow:0 18px 50px rgba(15,23,42,.16);border:1px solid rgba(15,23,42,.08)}
  .topbar .nav.nav-open .navlinks{display:grid}.topbar .navlinks a{padding:11px 12px;border-radius:13px}.topbar .navlinks .btn{justify-content:center;text-align:center}.lang-switch{justify-content:center}.mobile-sticky-cta{display:block}.hero-actions .btn{width:100%;justify-content:center}.hero,.sales-hero,.demo-hero{padding-top:28px}.trust{gap:8px}.trust span{font-size:.82rem}.section{padding-top:38px;padding-bottom:38px}.product-feature-grid,.grid3,.grid4,.linear-clarity-grid,.showcase-grid,.sector-showcase-grid{grid-template-columns:1fr!important}.software-frame,.hero-visual{max-width:100%;overflow:hidden}.footer-grid{grid-template-columns:1fr!important}
}
@media (prefers-reduced-motion: reduce){.sm-reveal,.feature-card,.clarity-card,.showcase-card,.case-card,.sector-showcase-card,.pricing-card,.showcase-card img,.sector-showcase-card img,.hero-visual img,.software-frame img{transition:none!important;transform:none!important}}

/* CRM lead e seconda passata conversione 2026-06-12 */
.crm-lead-head .lead-stats{grid-template-columns:repeat(6,minmax(0,1fr));margin:18px 0}.kpi.urgent strong{color:#b45309}.lead-filter-bar{align-items:end}.lead-crm-list{display:grid;gap:16px}.lead-crm-card{display:grid;grid-template-columns:minmax(0,1.05fr) minmax(340px,.95fr);gap:18px;padding:18px;border:1px solid rgba(15,23,42,.08);border-radius:24px;background:linear-gradient(135deg,#fff,#f8fafc);box-shadow:0 14px 40px rgba(15,23,42,.06)}.lead-crm-card.is-due{border-color:#f59e0b;box-shadow:0 18px 50px rgba(245,158,11,.14)}.lead-title-row{display:flex;gap:10px;align-items:center;flex-wrap:wrap}.lead-title-row h3{margin:0}.priority-dot{font-size:.78rem;font-weight:800;border-radius:999px;padding:6px 10px;background:#eef2ff;color:#3730a3}.priority-alta .priority-dot{background:#fee2e2;color:#991b1b}.priority-bassa .priority-dot{background:#ecfdf5;color:#166534}.lead-main blockquote{margin:12px 0 0;padding:12px 14px;border-left:4px solid #1f8a69;background:#f0fdf4;border-radius:14px;color:#134e4a}.lead-edit-form{padding:14px;border-radius:20px;background:#fff;border:1px solid rgba(15,23,42,.08)}.lead-edit-form textarea{min-height:84px}.small-alert{padding:9px 11px;margin-top:10px}.pill.neutral{background:#eef2f7;color:#334155}
@media(max-width:980px){.crm-lead-head .lead-stats{grid-template-columns:repeat(2,minmax(0,1fr))}.lead-crm-card{grid-template-columns:1fr}.lead-edit-form .three{grid-template-columns:1fr!important}}

/* Versione 97 - pubblicazione planning, portale dipendente e consegna consulente */
.planning-publication-panel,
.payroll-handoff-panel,
.employee-free-request,
.employee-today-card{
  border:1px solid rgba(37,99,235,.10);
  background:linear-gradient(135deg, rgba(255,255,255,.96), rgba(240,253,244,.82));
  box-shadow:0 18px 50px rgba(15,23,42,.06);
}
.publication-badge{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:6px;
  min-width:104px;
  padding:8px 12px;
  border-radius:999px;
  font-size:.78rem;
  font-weight:800;
  letter-spacing:.02em;
  text-transform:uppercase;
}
.publication-badge.published{
  color:#166534;
  background:rgba(220,252,231,.95);
  border:1px solid rgba(34,197,94,.25);
}
.publication-badge.draft{
  color:#92400e;
  background:rgba(254,243,199,.95);
  border:1px solid rgba(245,158,11,.24);
}
.publication-grid{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:12px;
  margin:16px 0;
}
.publication-grid>div,
.publication-mini-status{
  border:1px solid rgba(15,23,42,.08);
  background:rgba(255,255,255,.76);
  border-radius:18px;
  padding:14px;
}
.publication-grid b{display:block;font-size:1.55rem;color:#0f172a;line-height:1}
.publication-grid span,.publication-mini-status span,.publication-mini-status small{display:block;color:#64748b;font-size:.88rem;margin-top:5px}
.publication-mini-status{margin:12px 0}
.stacked-actions{align-items:stretch;gap:8px;flex-wrap:wrap}
.stacked-actions form{display:inline-flex}
.employee-portal-hero aside{display:flex;flex-direction:column;gap:8px;align-items:flex-start}
.employee-today-card h2{margin:.25rem 0 .3rem}
.employee-free-request textarea{min-height:86px}
.payroll-handoff-panel{margin-top:16px;margin-bottom:16px}
@media(max-width:760px){
  .publication-grid{grid-template-columns:1fr}
  .planning-publication-panel .section-head,
  .payroll-handoff-panel .section-head{align-items:flex-start;gap:12px}
  .employee-free-request .three,.employee-free-request .two{grid-template-columns:1fr}
}

/* ShiftMastro v98 - cruscotto controllo, monte ore e notifiche */
.control-room-layout{align-items:stretch;margin-top:18px}.control-room-card,.control-room-side{position:relative;overflow:hidden}.control-room-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin:18px 0}.control-room-grid>div,.mini-quality-list>div{background:linear-gradient(180deg,#f8fbf9,#eef7f1);border:1px solid rgba(20,83,45,.10);border-radius:18px;padding:15px}.control-room-grid strong,.mini-quality-list b{display:block;font-size:1.6rem;color:#14532d;line-height:1}.control-room-grid span,.mini-quality-list span{font-size:.82rem;color:#5f7168}.contract-mini-list,.mini-quality-list{display:grid;gap:10px}.contract-mini-row{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:12px 14px;border-radius:16px;background:#fff;border:1px solid #e5eee8;text-decoration:none;color:inherit}.contract-mini-row b{color:#183326}.contract-mini-row span{font-size:.86rem;color:#67766d}.contract-mini-row.danger{border-color:#fecaca;background:#fff7f7}.contract-mini-row.warn{border-color:#fde68a;background:#fffdf2}.contract-mini-row.muted{border-color:#e5e7eb;background:#f8fafc}.ok-line.soft{padding:13px 15px;border-radius:16px;background:#f0fdf4;border:1px solid #bbf7d0;color:#166534;font-weight:700}.contract-control-panel,.timecheck-control-panel{margin-top:18px}.contract-control-list{display:grid;gap:10px}.contract-control-row{display:grid;grid-template-columns:minmax(180px,1.3fr) minmax(140px,1fr) auto auto;align-items:center;gap:14px;padding:13px 14px;border:1px solid #e5eee8;border-radius:18px;background:#fff}.contract-control-row b{display:block;color:#183326}.contract-control-row span,.contract-control-row em{font-size:.84rem;color:#63756b;font-style:normal}.contract-control-row strong{font-size:.94rem;color:#183326}.contract-control-row.danger{background:#fff7f7;border-color:#fecaca}.contract-control-row.warn{background:#fffdf2;border-color:#fde68a}.contract-control-row.muted{background:#f8fafc;border-color:#e5e7eb}.contract-progress{height:9px;background:#edf5ef;border-radius:999px;overflow:hidden}.contract-progress i{display:block;height:100%;border-radius:999px;background:linear-gradient(90deg,#95d5a6,#14532d)}.contract-control-row.danger .contract-progress i{background:linear-gradient(90deg,#fca5a5,#991b1b)}.contract-control-row.warn .contract-progress i{background:linear-gradient(90deg,#fde68a,#b45309)}.timecheck-list{display:grid;gap:10px}.timecheck-row{display:flex;justify-content:space-between;align-items:center;gap:14px;padding:14px;border:1px solid #e5eee8;border-radius:18px;background:#fff}.timecheck-row b{display:block;color:#183326}.timecheck-row span{font-size:.86rem;color:#63756b}.anomaly-list.compact{display:flex;gap:7px;flex-wrap:wrap;justify-content:flex-end}.anomaly-list.compact span{background:#fff7ed;border:1px solid #fed7aa;color:#9a3412;border-radius:999px;padding:5px 9px;font-weight:700;font-size:.78rem}.notification-settings-panel .check-line{margin:10px 0}.publication-badge.published{text-transform:uppercase}.publication-badge.draft{text-transform:uppercase}
@media(max-width:900px){.control-room-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.contract-control-row{grid-template-columns:1fr}.timecheck-row{align-items:flex-start;flex-direction:column}.anomaly-list.compact{justify-content:flex-start}.contract-mini-row{align-items:flex-start;flex-direction:column}}
@media(max-width:560px){.control-room-grid{grid-template-columns:1fr}.control-room-grid strong,.mini-quality-list b{font-size:1.35rem}}

/* Versione 98 - accesso dipendente dal calendario pubblico */
.public-calendar-hero-login{align-items:stretch;}
.public-employee-login-card{display:grid;grid-template-columns:1fr 1.35fr;gap:18px;align-items:center;margin:18px 0;border:1px solid rgba(24,66,54,.12);background:linear-gradient(135deg,rgba(246,251,248,.98),rgba(255,255,255,.96));}
.public-employee-login-card h2{margin:.15rem 0 .25rem;font-size:1.35rem;}
.public-employee-login-card p{margin:0;color:var(--muted,#647067);}
.public-employee-login-form{display:grid;grid-template-columns:1.1fr .75fr auto;gap:10px;align-items:center;}
.public-employee-login-form input{width:100%;border:1px solid rgba(24,66,54,.16);border-radius:14px;padding:12px 13px;background:#fff;box-shadow:0 8px 24px rgba(13,48,36,.05);}
.employee-login-wrap{max-width:760px;}
.employee-login-panel{margin:36px auto;padding:30px;}
.employee-login-panel h1{margin:.2rem 0 .35rem;}
.employee-login-form{margin-top:18px;}
.employee-operations-grid,.employee-history-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;margin:18px 0;}
.employee-operations-grid .panel,.employee-history-grid .panel{height:100%;}
.employee-portal-hero .hero-actions{gap:8px;flex-wrap:wrap;}
.employee-free-request textarea{min-height:96px;}
@media(max-width:860px){.public-employee-login-card,.public-employee-login-form,.employee-operations-grid,.employee-history-grid{grid-template-columns:1fr}.public-employee-login-form .btn{width:100%}.employee-login-panel{margin:18px auto;padding:22px}.public-calendar-hero-login{gap:16px}}

/* ShiftMastro v100 - Fascicolo dipendente completo */
.employee-summary-card .command-row{border-bottom:1px solid rgba(255,255,255,.16);padding:9px 0}.employee-summary-card .command-row:last-of-type{border-bottom:0}.employee-toolbar{padding:18px 20px}.filter-form{gap:8px}.employee-expanded-card{position:relative;overflow:hidden}.employee-expanded-card:before{content:"";position:absolute;right:-44px;top:-44px;width:120px;height:120px;border-radius:50%;background:rgba(37,99,235,.08);pointer-events:none}.employee-deadline-row{display:flex;gap:7px;flex-wrap:wrap;margin:12px 0 2px}.deadline-badge{display:inline-flex;align-items:center;border-radius:999px;padding:6px 9px;font-size:11px;font-weight:950;border:1px solid #e4e7ec;background:#f8fafc;color:#475467}.deadline-badge.ok{background:#f0fdf4;color:#166534;border-color:#bbf7d0}.deadline-badge.warning{background:#fffbeb;color:#92400e;border-color:#fde68a}.deadline-badge.danger{background:#fef2f2;color:#991b1b;border-color:#fecaca}.deadline-badge.empty{background:#f8fafc;color:#667085;border-color:#e4e7ec}.employee-full-form{gap:18px}.employee-form-section{background:#fff;border:1px solid #e4e7ec;border-radius:24px;padding:20px;box-shadow:0 10px 28px rgba(16,24,40,.04)}.employee-form-section h3{margin:0 0 14px;font-size:18px;letter-spacing:-.02em}.employee-form-section textarea{min-height:92px}.check-line{display:inline-flex!important;align-items:center;gap:8px;margin-top:8px}.check-line input{width:auto;margin:0}.compact{gap:8px!important}.compact input{margin-top:7px}.sticky-form-actions{position:sticky;bottom:14px;background:rgba(255,255,255,.88);backdrop-filter:blur(16px);border:1px solid #e4e7ec;border-radius:22px;padding:12px;box-shadow:0 16px 45px rgba(16,24,40,.12);z-index:5}.employee-print-page{max-width:1180px;margin:0 auto}.employee-print-head{display:flex;align-items:flex-start;justify-content:space-between;gap:16px}.employee-print-head h1{margin:8px 0 6px;font-size:34px;letter-spacing:-.04em}.employee-print-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.employee-print-card h2{margin:0 0 12px;font-size:20px}.employee-print-card dl{display:grid;grid-template-columns:145px 1fr;gap:8px 12px;margin:0}.employee-print-card dt{font-weight:950;color:#667085}.employee-print-card dd{margin:0;color:#101828;word-break:break-word}.employee-print-card input[readonly]{padding:9px;border-radius:10px;font-size:12px}.employee-print-card p{line-height:1.6;color:#344054}@media(max-width:900px){.employee-print-grid{grid-template-columns:1fr}.employee-print-head{display:block}.sticky-form-actions{position:static}.employee-toolbar .four{grid-template-columns:1fr}}@media print{body{background:white!important}.appbar,.sidebar,.topbar,.no-print,.menu,.sticky-form-actions,.public-footer{display:none!important}.client-main,.main,.employee-print-page{padding:0!important;margin:0!important;max-width:none!important}.panel,.employee-print-card,.employee-print-head{box-shadow:none!important;border:1px solid #d0d5dd!important;border-radius:12px!important;padding:12px!important;break-inside:avoid}.employee-print-grid{grid-template-columns:1fr 1fr!important;gap:10px!important}.employee-print-head h1{font-size:25px!important}.employee-print-card h2{font-size:16px!important}.employee-print-card dl{grid-template-columns:118px 1fr!important;font-size:12px!important}.deadline-badge{border:1px solid #999!important;color:#111!important;background:white!important}.shell{display:block!important}}

/* v103 scheda dipendente: foto, obbligatori e fascicolo ampliato */
.employee-photo-avatar{overflow:hidden;background:#f1f5f9!important;color:#0f172a!important}
.employee-photo-avatar img{width:100%;height:100%;object-fit:cover;display:block}
.employee-photo-editor{display:grid;grid-template-columns:110px 1fr;gap:18px;align-items:center;background:linear-gradient(180deg,#f8fafc,#fff);border:1px dashed #cbd5e1;border-radius:22px;padding:14px;margin-bottom:16px}
.employee-photo-preview{width:96px;height:96px;border-radius:26px;background:linear-gradient(135deg,#1d4ed8,#06b6d4);color:#fff;display:grid;place-items:center;font-weight:1000;font-size:28px;overflow:hidden;box-shadow:0 14px 34px rgba(15,23,42,.12)}
.employee-photo-preview img{width:100%;height:100%;object-fit:cover;display:block}
.required-note{background:#fff7ed;border:1px solid #fed7aa;color:#9a3412;border-radius:16px;padding:11px 13px;font-weight:800;line-height:1.45;margin:0 0 14px}
.req-star{color:#dc2626;font-weight:1000;margin-left:4px}.portal-required-star{display:inline}.employee-full-form label.required input,.employee-full-form label.required select,.employee-full-form label.required textarea{border-color:#bfdbfe}.employee-full-form label.missing-required{background:#fff1f2;border-color:#fecdd3;color:#991b1b}.employee-full-form label.missing-required input,.employee-full-form label.missing-required select,.employee-full-form label.missing-required textarea{border-color:#f43f5e!important;box-shadow:0 0 0 3px rgba(244,63,94,.10)}.employee-check-spaced{align-self:center;padding:11px 12px;border:1px solid #e4e7ec;border-radius:16px;background:#f8fafc}.employee-print-head-with-photo{align-items:center}.employee-print-identity{display:flex;align-items:center;gap:18px}.employee-print-photo{width:94px;height:94px;border-radius:26px;background:linear-gradient(135deg,#1d4ed8,#06b6d4);color:#fff;display:grid;place-items:center;font-size:30px;font-weight:1000;overflow:hidden;flex:0 0 auto}.employee-print-photo img{width:100%;height:100%;object-fit:cover;display:block}.employee-form-section .four{grid-template-columns:repeat(4,minmax(0,1fr))}@media(max-width:900px){.employee-photo-editor{grid-template-columns:1fr}.employee-photo-preview{width:82px;height:82px}.employee-print-identity{align-items:flex-start}.employee-form-section .four{grid-template-columns:1fr}}@media print{.employee-print-photo{width:72px!important;height:72px!important;border-radius:14px!important}.employee-print-identity{gap:12px!important}}
.employee-portal-user{display:flex;align-items:center;gap:10px}.employee-portal-user img,.employee-portal-user span{width:42px;height:42px;border-radius:14px;object-fit:cover;background:linear-gradient(135deg,#1d4ed8,#06b6d4);color:white;display:grid;place-items:center;font-weight:1000}.employee-portal-user b{white-space:nowrap}

/* v104 - PIN dipendente sempre visibile nella scheda */
.employee-feature-warning{margin:0 0 14px;padding:12px 14px;border-radius:16px;border:1px solid #fde68a;background:#fffbeb;color:#92400e;font-weight:800;line-height:1.45}
.pin-visible-label input{border-color:#93c5fd!important;background:#f8fbff!important}
.pin-visible-label::after{content:'campo login';display:inline-flex;margin-left:8px;padding:2px 8px;border-radius:999px;background:#eff6ff;color:#1d4ed8;font-size:11px;font-weight:900;text-transform:uppercase;letter-spacing:.05em;vertical-align:middle}

/* v105 employee form premium refresh */
.employee-form-topbar{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;padding:18px 20px;border:1px solid #dbeafe;border-radius:24px;background:linear-gradient(135deg,#f8fbff,#eef7ff 55%,#f6fffb);box-shadow:0 16px 40px rgba(37,99,235,.08);margin-bottom:16px}.employee-form-topbar strong{display:block;font-size:18px;color:#0f172a;margin-bottom:6px}.employee-form-topbar span{display:block;color:#475569;line-height:1.55}.employee-form-status-badges{display:flex;gap:8px;flex-wrap:wrap;justify-content:flex-end}.soft-badge{display:inline-flex;align-items:center;padding:8px 12px;border-radius:999px;font-size:12px;font-weight:900;border:1px solid #dbeafe;background:#fff;color:#0f172a}.soft-badge.success{background:#ecfdf3;border-color:#bbf7d0;color:#166534}.soft-badge.info{background:#eff6ff;border-color:#bfdbfe;color:#1d4ed8}.soft-badge.neutral{background:#f8fafc;border-color:#e2e8f0;color:#475569}
.employee-form-nav{position:sticky;top:86px;z-index:8;display:flex;gap:10px;flex-wrap:wrap;margin:0 0 16px;padding:12px;border:1px solid #e2e8f0;border-radius:20px;background:rgba(255,255,255,.9);backdrop-filter:blur(14px);box-shadow:0 16px 38px rgba(15,23,42,.08)}.employee-form-nav a{display:inline-flex;align-items:center;justify-content:center;padding:10px 14px;border-radius:14px;color:#475569;font-weight:900;background:#f8fafc;border:1px solid transparent}.employee-form-nav a:hover,.employee-form-nav a.active{background:linear-gradient(135deg,#1d4ed8,#06b6d4);border-color:transparent;color:#fff;box-shadow:0 10px 24px rgba(29,78,216,.22)}
.employee-form-alert{display:grid;grid-template-columns:54px 1fr;gap:14px;align-items:center;padding:18px 20px;border-radius:24px;background:linear-gradient(135deg,#0f172a,#123b6d 55%,#0f766e);color:#fff;box-shadow:0 20px 50px rgba(15,23,42,.18);margin-bottom:18px}.employee-form-alert strong{display:block;font-size:18px;margin-bottom:4px}.employee-form-alert p{margin:0;color:#dbeafe;line-height:1.55}.employee-form-alert-icon{width:54px;height:54px;border-radius:18px;background:rgba(255,255,255,.14);display:grid;place-items:center;font-size:24px;font-weight:1000}
.employee-section-header{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;margin-bottom:12px}.employee-section-header h3{margin-bottom:6px!important}.employee-section-header .muted,.employee-section-header .required-note{margin:0}.section-chip{display:inline-flex;align-items:center;justify-content:center;padding:9px 13px;border-radius:999px;background:#eff6ff;border:1px solid #bfdbfe;color:#1d4ed8;font-size:12px;font-weight:1000;white-space:nowrap}
.modern-upload-box{background:linear-gradient(135deg,#fbfdff,#f0f7ff 60%,#f8fffd);border:1px solid #dbeafe!important;box-shadow:inset 0 1px 0 rgba(255,255,255,.7),0 18px 40px rgba(29,78,216,.06)}.employee-photo-content{display:grid;gap:10px}.upload-headline strong{display:block;font-size:18px;color:#0f172a}.upload-headline span{display:block;color:#64748b;line-height:1.5;margin-top:2px}.modern-upload-trigger{display:flex;align-items:center;gap:14px;padding:16px 18px;border-radius:20px;border:1px dashed #93c5fd;background:linear-gradient(135deg,#fff,#f8fbff);cursor:pointer;transition:.2s ease;box-shadow:0 10px 30px rgba(59,130,246,.08)}.modern-upload-trigger:hover{transform:translateY(-1px);border-color:#3b82f6;box-shadow:0 16px 34px rgba(59,130,246,.16)}.upload-trigger-icon{width:46px;height:46px;border-radius:16px;background:linear-gradient(135deg,#1d4ed8,#06b6d4);color:#fff;display:grid;place-items:center;font-size:22px;font-weight:1000;flex:0 0 auto}.modern-upload-trigger strong{display:block;font-size:15px;color:#0f172a}.modern-upload-trigger small{display:block;color:#64748b;margin-top:3px}.visually-hidden{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important;border:0!important}.upload-meta-row{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap}.upload-file-name{font-weight:900;color:#0f172a}.upload-format-note{font-size:12px;font-weight:900;color:#64748b;background:#fff;border:1px solid #e2e8f0;border-radius:999px;padding:6px 10px}.inline-soft-check{display:inline-flex!important;padding:10px 12px;border:1px solid #dbeafe;border-radius:16px;background:#fff}.employee-photo-preview.has-image{background:#fff}.employee-photo-preview{border:4px solid rgba(255,255,255,.86)}
.employee-access-grid{align-items:stretch}.field-tip{display:inline-flex;margin-left:8px;padding:3px 8px;border-radius:999px;background:#f1f5f9;color:#475569;font-size:11px;font-weight:900}.employee-login-summary-card{border:1px solid #dbeafe;border-radius:20px;background:linear-gradient(135deg,#eff6ff,#f8fbff);padding:16px 16px 14px;box-shadow:0 10px 28px rgba(29,78,216,.07)}.employee-login-summary-card strong{display:block;font-size:15px;color:#0f172a;margin-bottom:6px}.employee-login-summary-card p{margin:0;color:#475569;line-height:1.5}
.employee-full-form label{position:relative}.employee-full-form label>input,.employee-full-form label>select,.employee-full-form label>textarea{margin-top:7px}.employee-full-form input,.employee-full-form select,.employee-full-form textarea{border-radius:16px;border:1px solid #d0d5dd;background:#fff;box-shadow:inset 0 1px 2px rgba(16,24,40,.03);transition:border-color .2s ease, box-shadow .2s ease, transform .2s ease}.employee-full-form input:focus,.employee-full-form select:focus,.employee-full-form textarea:focus{border-color:#3b82f6;box-shadow:0 0 0 4px rgba(59,130,246,.12)}.employee-full-form label.required{background:linear-gradient(180deg,#fff,#fbfdff)}.employee-full-form label.required::after{content:"Obbligatorio";position:absolute;top:0;right:0;font-size:11px;font-weight:900;color:#b91c1c;background:#fff1f2;border:1px solid #fecdd3;border-radius:999px;padding:4px 8px}.employee-full-form label.missing-required{box-shadow:0 0 0 1px rgba(244,63,94,.14),0 8px 24px rgba(244,63,94,.08)}
.employee-form-section{overflow:hidden}.employee-form-section::after{content:"";display:block;clear:both}.employee-form-section .inline-checks{padding:14px 16px;border:1px dashed #d0d5dd;border-radius:18px;background:#f8fafc}.employee-form-section .inline-checks label{display:inline-flex;align-items:center;gap:7px;padding:8px 10px;border-radius:12px;background:#fff;border:1px solid #e2e8f0;margin:8px 8px 0 0;font-weight:800;color:#334155}
.sticky-form-actions{gap:10px;justify-content:flex-start}.sticky-form-actions .btn.primary{min-width:200px;box-shadow:0 14px 32px rgba(16,185,129,.18)}
@media(max-width:980px){.employee-form-topbar{display:block}.employee-form-status-badges{margin-top:12px;justify-content:flex-start}.employee-form-alert{grid-template-columns:1fr}.employee-form-nav{top:74px}.employee-section-header{display:block}.section-chip{margin-top:10px}.upload-meta-row{display:block}.upload-format-note{display:inline-flex;margin-top:8px}.employee-full-form label.required::after{position:static;display:inline-flex;margin-left:8px}}
@media(max-width:780px){.modern-upload-trigger{padding:14px}.employee-form-nav a{flex:1 1 calc(50% - 10px)}.employee-form-topbar,.employee-form-alert,.employee-form-nav{border-radius:18px}.employee-photo-editor{padding:16px}.employee-photo-content{gap:12px}}

/* === Versione 105 - Scheda dipendente premium + sottotitolo hero === */
.hero-subtitle-line{max-width:860px;margin:10px 0 12px;font-size:clamp(18px,2vw,25px);line-height:1.35;font-weight:850;letter-spacing:-.025em;color:#17324d;background:linear-gradient(90deg,#0f172a,#047857);-webkit-background-clip:text;background-clip:text;-webkit-text-fill-color:transparent}.sales-hero .lead{margin-top:10px}.employee-form-panel{background:linear-gradient(180deg,#ffffff,#f8fbff)!important;border-color:#dbe5f0!important}.employee-form-topbar{display:flex;justify-content:space-between;gap:18px;align-items:center;background:linear-gradient(135deg,#0f172a,#123b6d 55%,#047857);color:white;border-radius:26px;padding:20px 22px;margin-bottom:16px;box-shadow:0 20px 55px rgba(15,23,42,.18)}.employee-form-topbar strong{display:block;font-size:20px;letter-spacing:-.02em}.employee-form-topbar span{display:block;color:#dbeafe;margin-top:5px;line-height:1.45}.employee-form-status-badges{display:flex;gap:8px;flex-wrap:wrap;justify-content:flex-end}.soft-badge{display:inline-flex;align-items:center;border-radius:999px;padding:8px 11px;font-size:12px;font-weight:1000;border:1px solid rgba(255,255,255,.22);white-space:nowrap}.soft-badge.success{background:rgba(34,197,94,.18);color:#dcfce7}.soft-badge.info{background:rgba(59,130,246,.18);color:#dbeafe}.soft-badge.neutral{background:rgba(255,255,255,.13);color:#f8fafc}.employee-form-nav{position:sticky;top:78px;z-index:30;display:flex;gap:8px;overflow:auto;background:rgba(248,251,255,.88);backdrop-filter:blur(16px);border:1px solid #e2e8f0;border-radius:18px;padding:8px;margin:0 0 16px;box-shadow:0 14px 34px rgba(15,23,42,.07)}.employee-form-nav a{display:inline-flex;align-items:center;justify-content:center;border-radius:13px;padding:10px 13px;color:#475569;font-weight:1000;white-space:nowrap}.employee-form-nav a:hover,.employee-form-nav a.active{background:#0f172a;color:#fff}.employee-form-alert{display:grid;grid-template-columns:auto 1fr;gap:13px;align-items:flex-start;background:#ecfdf3;border:1px solid #bbf7d0;color:#14532d;border-radius:22px;padding:16px 18px;margin-bottom:18px}.employee-form-alert-icon{width:34px;height:34px;border-radius:50%;display:grid;place-items:center;background:#16a34a;color:white;font-weight:1000;box-shadow:0 8px 20px rgba(22,163,74,.22)}.employee-form-alert strong{display:block;font-size:16px}.employee-form-alert p{margin:4px 0 0;color:#166534;line-height:1.5}.employee-form-section{position:relative;overflow:hidden;scroll-margin-top:150px}.employee-form-section:before{content:"";position:absolute;inset:0 auto 0 0;width:5px;background:linear-gradient(180deg,#2563eb,#10b981);opacity:.85}.employee-section-header{display:flex;justify-content:space-between;gap:14px;align-items:flex-start;margin-bottom:16px;padding-left:4px}.employee-section-header h3{margin:0 0 6px!important;font-size:21px!important;letter-spacing:-.035em}.employee-section-header p{margin:0}.section-chip{display:inline-flex;align-items:center;border-radius:999px;background:#eef4ff;color:#1d4ed8;border:1px solid #bfdbfe;padding:8px 11px;font-weight:1000;font-size:12px;white-space:nowrap}.employee-full-form label{font-weight:900;color:#172033}.employee-full-form input,.employee-full-form select,.employee-full-form textarea{border-radius:15px!important;border:1px solid #dbe5f0!important;background:#fff!important;transition:border-color .16s ease,box-shadow .16s ease,transform .16s ease}.employee-full-form input:focus,.employee-full-form select:focus,.employee-full-form textarea:focus{outline:none;border-color:#2563eb!important;box-shadow:0 0 0 4px rgba(37,99,235,.11)!important}.modern-upload-box{grid-template-columns:126px 1fr!important;background:radial-gradient(circle at 10% 10%,rgba(59,130,246,.14),transparent 34%),linear-gradient(135deg,#f8fbff,#ffffff)!important;border:1px solid #dbe5f0!important;border-radius:28px!important;padding:18px!important;box-shadow:0 18px 45px rgba(15,23,42,.07)}.employee-photo-preview{width:110px!important;height:110px!important;border-radius:30px!important;background:linear-gradient(135deg,#0f172a,#2563eb 55%,#10b981)!important;box-shadow:0 20px 45px rgba(15,23,42,.20)!important}.employee-photo-preview.has-image{background:#fff!important}.employee-photo-content{display:grid;gap:10px}.upload-headline strong{display:block;font-size:18px;color:#0f172a}.upload-headline span{display:block;margin-top:3px;color:#64748b;font-weight:800}.modern-upload-trigger{cursor:pointer!important;display:grid!important;grid-template-columns:auto 1fr!important;gap:13px!important;align-items:center!important;border:1px dashed #93c5fd!important;background:linear-gradient(180deg,#eff6ff,#f8fbff)!important;border-radius:20px!important;padding:15px 16px!important;transition:transform .16s ease,box-shadow .16s ease,border-color .16s ease!important;margin:0!important;color:#1e3a8a!important}.modern-upload-trigger:hover{transform:translateY(-1px);border-color:#2563eb!important;box-shadow:0 14px 34px rgba(37,99,235,.13)!important}.upload-trigger-icon{width:42px;height:42px;border-radius:16px;background:#2563eb;color:white;display:grid;place-items:center;font-weight:1000;font-size:18px;box-shadow:0 10px 25px rgba(37,99,235,.24)}.modern-upload-trigger strong{display:block;font-size:15px;color:#0f172a}.modern-upload-trigger small{display:block;color:#64748b;font-weight:800;margin-top:3px}.visually-hidden{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important;border:0!important}.upload-meta-row{display:flex;gap:10px;flex-wrap:wrap;align-items:center}.upload-file-name{background:#0f172a;color:white;border-radius:999px;padding:7px 10px;font-size:12px;font-weight:1000;max-width:360px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.upload-format-note{background:#f1f5f9;color:#475569;border:1px solid #e2e8f0;border-radius:999px;padding:7px 10px;font-size:12px;font-weight:950}.inline-soft-check{background:#fff7ed;border:1px solid #fed7aa;border-radius:14px;padding:10px 12px;width:max-content}.employee-access-grid{align-items:stretch}.field-tip{display:inline-flex;margin-left:5px;color:#64748b;font-size:11px;font-weight:900}.employee-login-summary-card{background:linear-gradient(135deg,#f8fafc,#eef4ff);border:1px solid #dbe5f0;border-radius:18px;padding:14px 15px;box-shadow:inset 0 1px 0 rgba(255,255,255,.8)}.employee-login-summary-card strong{display:block;color:#0f172a;font-size:15px}.employee-login-summary-card p{margin:5px 0 0;color:#475569;line-height:1.45;font-size:13px}.employee-feature-warning{border-radius:18px!important;padding:13px 15px!important;background:#fff7ed!important;border:1px solid #fed7aa!important;color:#9a3412!important;font-weight:900}.employee-full-form label.missing-required{display:block;border:1px solid #fecdd3!important;border-radius:18px!important;background:#fff1f2!important;padding:10px!important;color:#991b1b!important}.employee-full-form label.missing-required:after{content:"Campo richiesto o dato necessario per l’accesso";display:block;margin-top:6px;color:#be123c;font-size:11px;font-weight:1000}.sticky-form-actions{justify-content:flex-end}.sticky-form-actions .btn.primary{font-size:16px;padding:13px 22px}.employee-pro-card{transition:transform .18s ease,box-shadow .18s ease,border-color .18s ease}.employee-pro-card:hover{transform:translateY(-3px);box-shadow:0 24px 65px rgba(15,23,42,.12);border-color:#bfdbfe}.employee-avatar{box-shadow:0 10px 25px rgba(15,23,42,.14)}@media(max-width:980px){.hero-subtitle-line{font-size:19px}.employee-form-topbar{display:block}.employee-form-status-badges{justify-content:flex-start;margin-top:12px}.employee-form-nav{top:70px}.modern-upload-box{grid-template-columns:1fr!important}.employee-photo-preview{width:96px!important;height:96px!important}.employee-section-header{display:block}.section-chip{margin-top:10px}.upload-meta-row{display:grid}.upload-file-name{max-width:100%}}


/* =========================================================
   VERSIONE 106 - HERO SOTTOTITOLO VISIBILE + FORM AZIENDA PIÙ LEGGERI
   ========================================================= */
.hero-subtitle-visible,
.product-public-page .linear-hero .hero-subtitle-visible,
.sales-hero .hero-subtitle-visible{
  display:block!important;
  opacity:1!important;
  visibility:visible!important;
  transform:none!important;
  max-width:680px!important;
  margin:18px 0 18px!important;
  font-size:clamp(18px,1.55vw,23px)!important;
  line-height:1.42!important;
  font-weight:560!important;
  letter-spacing:-.018em!important;
  color:#475569!important;
  background:none!important;
  -webkit-text-fill-color:initial!important;
  text-wrap:balance;
}
.sales-hero .lead{
  margin-top:6px!important;
}

/* Area azienda: form più eleganti, meno pesanti e più leggibili */
.client-shell-body,
.client-main,
.client-main .form,
.client-main form,
.employee-full-form{
  font-weight:400!important;
}
.client-main .form label,
.client-main form label,
.employee-full-form label,
.employee-form-section label,
.filter-form label,
.quick-form-pro label,
.settings-grid-pro label,
.planner-super-layout label{
  font-weight:620!important;
  color:#334155!important;
  letter-spacing:-.006em!important;
}
.client-main .form label b,
.client-main form label b,
.employee-full-form label b,
.inline-checks b{
  font-weight:700!important;
}
.client-main input,
.client-main select,
.client-main textarea,
.employee-full-form input,
.employee-full-form select,
.employee-full-form textarea,
.quick-form-pro input,
.quick-form-pro select,
.quick-form-pro textarea{
  font-weight:460!important;
  color:#172033!important;
  letter-spacing:0!important;
}
.client-main input::placeholder,
.client-main textarea::placeholder,
.employee-full-form input::placeholder,
.employee-full-form textarea::placeholder{
  color:#94a3b8!important;
  font-weight:420!important;
}
.employee-section-header h3,
.employee-form-section h3{
  font-weight:760!important;
  letter-spacing:-.025em!important;
}
.employee-section-header p,
.required-note,
.employee-form-alert p,
.employee-login-summary-card p,
.employee-photo-content .muted,
.employee-form-topbar span,
.employee-form-panel .section-head p{
  font-weight:430!important;
}
.employee-form-topbar strong,
.employee-form-alert strong,
.upload-headline strong,
.employee-login-summary-card strong{
  font-weight:720!important;
}
.employee-form-nav a,
.section-chip,
.soft-badge,
.upload-file-name,
.upload-format-note,
.field-tip,
.deadline-badge,
.employee-tags span,
.feature-chip{
  font-weight:680!important;
}
.modern-upload-trigger strong{
  font-weight:680!important;
}
.modern-upload-trigger small,
.upload-headline span{
  font-weight:430!important;
}
.employee-full-form label.required input,
.employee-full-form label.required select,
.employee-full-form label.required textarea{
  border-color:#cbdff6!important;
}
.employee-full-form label.missing-required{
  font-weight:650!important;
}
.check-line span,
.inline-checks label{
  font-weight:520!important;
}
.sticky-form-actions .btn.primary,
.client-main .btn,
.client-module-card .btn{
  font-weight:720!important;
}

@media(max-width:780px){
  .hero-subtitle-visible,
  .product-public-page .linear-hero .hero-subtitle-visible,
  .sales-hero .hero-subtitle-visible{
    font-size:17px!important;
    margin:14px 0 16px!important;
  }
}

/* =========================================================
   VERSIONE 107 - HERO PIÙ PIENA + FORM ANCORA PIÙ MORBIDI
   ========================================================= */
.product-public-page .sales-hero > div:first-child,
.product-public-page .linear-hero > div:first-child{
  align-self:center;
}
.hero-fill-panel{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:12px;
  max-width:820px;
  margin:18px 0 18px;
}
.hero-fill-panel div{
  background:rgba(255,255,255,.82);
  border:1px solid #e2e8f0;
  border-radius:20px;
  padding:15px 16px;
  box-shadow:0 14px 32px rgba(15,23,42,.055);
  backdrop-filter:blur(10px);
}
.hero-fill-panel b{
  display:block;
  color:#0f172a;
  font-size:15px;
  line-height:1.2;
  font-weight:720;
  letter-spacing:-.018em;
}
.hero-fill-panel span{
  display:block;
  margin-top:6px;
  color:#64748b;
  font-size:13.5px;
  line-height:1.42;
  font-weight:430;
}
.hero-operational-line{
  max-width:760px;
  margin:0 0 18px;
  padding:14px 16px;
  border-left:4px solid #10b981;
  border-radius:0 18px 18px 0;
  background:linear-gradient(90deg,rgba(236,253,245,.9),rgba(255,255,255,.52));
  color:#334155;
  font-size:16px;
  line-height:1.52;
  font-weight:460;
}
.sales-hero .lead{
  max-width:780px!important;
  margin-bottom:24px!important;
}
.sales-hero .trust{
  max-width:850px;
  margin-top:22px!important;
}
.sales-hero .trust span{
  font-weight:620!important;
  padding:8px 11px!important;
  color:#475569!important;
}

/* Area azienda: alleggerimento ulteriore di form, titoli interni e chip */
.client-main .form label,
.client-main form label,
.employee-full-form label,
.employee-form-section label,
.filter-form label,
.quick-form-pro label,
.settings-grid-pro label,
.planner-super-layout label{
  font-weight:500!important;
  color:#475569!important;
}
.client-main input,
.client-main select,
.client-main textarea,
.employee-full-form input,
.employee-full-form select,
.employee-full-form textarea,
.quick-form-pro input,
.quick-form-pro select,
.quick-form-pro textarea{
  font-weight:420!important;
  color:#1f2937!important;
}
.employee-section-header h3,
.employee-form-section h3,
.panel .section-head h2,
.client-module-card h2{
  font-weight:690!important;
}
.employee-form-topbar strong,
.employee-form-alert strong,
.upload-headline strong,
.employee-login-summary-card strong,
.employee-pro-head h3{
  font-weight:650!important;
}
.employee-form-nav a,
.section-chip,
.soft-badge,
.upload-file-name,
.upload-format-note,
.field-tip,
.deadline-badge,
.employee-tags span,
.feature-chip,
.employee-pro-metrics span{
  font-weight:600!important;
}
.employee-pro-metrics b,
.command-row b{
  font-weight:720!important;
}
.modern-upload-trigger{
  background:linear-gradient(180deg,#ffffff,#f8fbff)!important;
  border-color:#cbd5e1!important;
}
.modern-upload-trigger strong{
  font-weight:620!important;
}
.upload-trigger-icon{
  box-shadow:0 8px 18px rgba(37,99,235,.18)!important;
}
.employee-form-topbar{
  background:linear-gradient(135deg,#162033,#1e3a5f 55%,#047857)!important;
}
.employee-form-alert{
  background:#f0fdf4!important;
  box-shadow:none!important;
}
.employee-form-section{
  box-shadow:0 8px 24px rgba(15,23,42,.035)!important;
}

@media(max-width:1100px){
  .hero-fill-panel{grid-template-columns:1fr;max-width:680px}
}
@media(max-width:780px){
  .hero-fill-panel{margin:14px 0;gap:9px}
  .hero-fill-panel div{padding:13px 14px;border-radius:17px}
  .hero-operational-line{font-size:14.5px;padding:12px 14px;margin-bottom:14px}
}


/* =========================================================
   VERSIONE 108 - SECONDA FRASE HERO IN COLORE DIVERSO
   ========================================================= */
.hero-secondary-line{
  max-width:760px;
  margin:-8px 0 20px;
  padding:14px 16px;
  border-left:4px solid #2563eb;
  border-radius:0 18px 18px 0;
  background:linear-gradient(90deg,rgba(239,246,255,.96),rgba(255,255,255,.56));
  color:#1e3a8a;
  font-size:15.5px;
  line-height:1.52;
  font-weight:450;
  box-shadow:0 12px 28px rgba(37,99,235,.075);
}
.hero-secondary-line strong{font-weight:650;color:#172554}
@media(max-width:780px){
  .hero-secondary-line{font-size:14.5px;padding:12px 14px;margin:-4px 0 15px}
}

/* =========================================================
   VERSIONE 109 - TIMBRATURE PLUS, BADGE PREMIUM, PUBLIC ALIGN
   ========================================================= */
/* Sito pubblico: meno vuoti, blocchi più allineati e hero più compatta */
.product-public-page .wrap{
  max-width:1240px;
}
.product-public-page .hero.sales-hero{
  display:grid;
  grid-template-columns:minmax(0,1.04fr) minmax(390px,.96fr);
  gap:34px;
  align-items:center;
  padding-top:54px!important;
  padding-bottom:44px!important;
  min-height:auto!important;
}
.product-public-page .sales-hero > div:first-child{
  max-width:820px;
}
.product-public-page .hero-visual{
  align-self:center!important;
  min-height:auto!important;
  justify-content:center;
}
.product-public-page .software-frame.upgraded-frame{
  margin-top:0!important;
}
.product-public-page .floating-card.feature-callout{
  right:14px;
  bottom:-18px;
}
.product-public-page .section{
  padding-top:48px!important;
  padding-bottom:48px!important;
}
.product-public-page .section + .section{
  padding-top:38px!important;
}
.product-public-page .section-head{
  align-items:flex-start!important;
  margin-bottom:18px!important;
}
.product-public-page .grid3,
.product-public-page .grid4,
.product-public-page .showcase-grid,
.product-public-page .sector-showcase-grid,
.product-public-page .workflow{
  gap:18px!important;
}
.product-public-page .feature-card,
.product-public-page .case-card,
.product-public-page .clarity-card,
.product-public-page .step-card,
.product-public-page .showcase-card,
.product-public-page .sector-showcase-card,
.product-public-page .faq-card{
  height:100%;
}
.product-public-page .showcase-card img,
.product-public-page .sector-showcase-card img{
  object-fit:cover;
}
.product-public-page .hero-fill-panel{
  width:100%;
  max-width:820px;
}
.product-public-page .hero-operational-line,
.product-public-page .hero-secondary-line{
  max-width:820px;
}
.product-public-page .lead{
  margin-top:4px!important;
}
.product-public-page .trust{
  row-gap:8px!important;
}
@media(max-width:980px){
  .product-public-page .hero.sales-hero{
    grid-template-columns:1fr;
    padding-top:34px!important;
    padding-bottom:32px!important;
    gap:24px!important;
  }
  .product-public-page .section{
    padding-top:34px!important;
    padding-bottom:34px!important;
  }
  .product-public-page .floating-card.feature-callout{position:static;margin-top:14px}
}

/* Badge generali area azienda: meno piatti, più curati */
.client-main .pill,
.client-main .badge,
.client-main .feature-chip,
.client-main .deadline-badge,
.client-main .method-badge,
.client-main .clock-pill,
.client-main .shift-badge,
.client-main .soft-badge,
.client-main .setup-score,
.client-main .report-month-box,
.client-main .time-soft-badge{
  letter-spacing:.01em;
  box-shadow:0 8px 20px rgba(15,23,42,.055);
}
.client-main .method-badge{
  display:inline-flex;
  align-items:center;
  border-radius:999px;
  padding:7px 10px;
  background:#eef4ff;
  border:1px solid #bfdbfe;
  color:#1d4ed8;
  font-size:12px;
  font-weight:620;
}

/* Timbrature: hero e badge più belli */
.time-hero-plus{
  background:
    radial-gradient(circle at 85% 4%,rgba(125,211,252,.36),transparent 28%),
    radial-gradient(circle at 0% 100%,rgba(99,102,241,.26),transparent 30%),
    linear-gradient(135deg,#101828 0%,#153e75 48%,#0f766e 100%)!important;
}
.time-hero-note{
  display:inline-flex;
  align-items:center;
  gap:7px;
  max-width:760px;
  margin:4px 0 16px;
  padding:10px 13px;
  border-radius:16px;
  background:rgba(255,255,255,.12);
  border:1px solid rgba(255,255,255,.20);
  color:#e0f2fe;
  font-size:14px;
  line-height:1.4;
  font-weight:430;
}
.time-hero-note b{color:#fff;font-weight:690}
.time-hero-badges{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  margin-top:18px;
}
.time-soft-badge{
  display:inline-flex;
  flex-direction:column;
  justify-content:center;
  min-width:142px;
  min-height:70px;
  padding:12px 15px;
  border-radius:20px;
  background:rgba(255,255,255,.13);
  border:1px solid rgba(255,255,255,.22);
  backdrop-filter:blur(12px);
}
.time-soft-badge em{
  font-style:normal;
  color:#bfdbfe;
  font-size:11px;
  text-transform:uppercase;
  letter-spacing:.09em;
  font-weight:660;
}
.time-soft-badge b{
  color:#fff;
  font-size:17px;
  margin-top:5px;
  font-weight:720;
}
.time-soft-badge.month{background:linear-gradient(135deg,rgba(59,130,246,.26),rgba(255,255,255,.10))}
.time-soft-badge.people{background:linear-gradient(135deg,rgba(14,165,233,.24),rgba(255,255,255,.10))}
.time-soft-badge.success{background:linear-gradient(135deg,rgba(34,197,94,.24),rgba(255,255,255,.10))}
.time-soft-badge.warning{background:linear-gradient(135deg,rgba(245,158,11,.26),rgba(255,255,255,.10))}
.time-soft-badge.danger{background:linear-gradient(135deg,rgba(239,68,68,.26),rgba(255,255,255,.10))}
.time-status-card{
  background:rgba(255,255,255,.14)!important;
}
.time-status-extra{
  display:grid;
  gap:8px;
  margin-top:14px;
}
.time-status-extra span{
  display:flex;
  justify-content:space-between;
  gap:12px;
  background:rgba(15,23,42,.22);
  border:1px solid rgba(255,255,255,.12);
  color:#dbeafe;
  border-radius:14px;
  padding:9px 11px;
  font-size:13px;
  font-weight:430;
}
.time-status-extra b{color:#fff;font-weight:690}
.time-premium-kpis .time-kpi{
  position:relative;
  overflow:hidden;
  border-radius:24px!important;
  box-shadow:0 16px 38px rgba(15,23,42,.07)!important;
}
.time-premium-kpis .time-kpi:before{
  content:"";
  position:absolute;
  right:-34px;
  top:-34px;
  width:98px;
  height:98px;
  border-radius:999px;
  background:rgba(255,255,255,.42);
}
.time-kpi.blue{background:linear-gradient(135deg,#eff6ff,#ffffff)!important;border-color:#bfdbfe!important}
.time-kpi.cyan{background:linear-gradient(135deg,#ecfeff,#ffffff)!important;border-color:#a5f3fc!important}
.time-kpi.indigo{background:linear-gradient(135deg,#eef2ff,#ffffff)!important;border-color:#c7d2fe!important}
.time-kpi.amber{background:linear-gradient(135deg,#fffbeb,#ffffff)!important;border-color:#fde68a!important}
.time-kpi.red{background:linear-gradient(135deg,#fef2f2,#ffffff)!important;border-color:#fecaca!important}

/* Riepilogo mese timbrature */
.time-month-panel{
  background:linear-gradient(135deg,#ffffff 0%,#f8fbff 56%,#eef4ff 100%)!important;
  border-color:#dbeafe!important;
}
.time-month-head{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:18px;
  margin-bottom:16px;
}
.time-month-head h2{margin:4px 0 6px;font-weight:710!important;letter-spacing:-.03em}
.time-month-head p{color:#64748b;max-width:760px;line-height:1.5;margin:0}
.time-month-badge{
  min-width:210px;
  border-radius:22px;
  background:linear-gradient(135deg,#1d4ed8,#4338ca);
  color:white;
  padding:15px 17px;
  box-shadow:0 16px 34px rgba(37,99,235,.18);
}
.time-month-badge span{display:block;color:#dbeafe;font-size:11px;text-transform:uppercase;letter-spacing:.1em;font-weight:650}
.time-month-badge strong{display:block;margin-top:6px;font-size:17px;font-weight:700}
.time-month-grid{
  display:grid;
  grid-template-columns:repeat(5,minmax(0,1fr));
  gap:12px;
}
.time-month-grid div{
  background:rgba(255,255,255,.86);
  border:1px solid #e2e8f0;
  border-radius:20px;
  padding:14px 15px;
  box-shadow:0 10px 24px rgba(15,23,42,.045);
}
.time-month-grid span{display:block;color:#64748b;font-size:12px;font-weight:600;text-transform:uppercase;letter-spacing:.06em}
.time-month-grid strong{display:block;margin-top:7px;color:#0f172a;font-size:23px;font-weight:720}

/* Checklist chiusura */
.timecheck-control-panel-plus{
  border-color:#e0e7ff!important;
  background:linear-gradient(180deg,#fff,#f8fbff)!important;
}
.time-closure-strip{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:10px;
  margin:14px 0 16px;
}
.time-closure-strip span{
  background:#f8fafc;
  border:1px solid #e2e8f0;
  border-radius:16px;
  padding:11px 12px;
  color:#64748b;
  font-weight:430;
}
.time-closure-strip b{color:#0f172a;font-weight:680}
.timecheck-list{display:grid;gap:10px}
.timecheck-row{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:14px;
  background:#fff;
  border:1px solid #e2e8f0;
  border-radius:18px;
  padding:13px 14px;
}
.timecheck-row b{display:block;font-weight:660;color:#0f172a}
.timecheck-row span{display:block;color:#64748b;font-size:13px}
.anomaly-list.compact{margin-top:0;justify-content:flex-end}
.ok-line.soft{background:#f0fdf4;border:1px solid #bbf7d0;color:#166534;border-radius:18px;padding:13px 15px;text-align:left;font-weight:560}

/* Terminale e schede presenza */
.terminal-pro-card,
.manual-clock-card-plus{
  border-radius:28px!important;
  box-shadow:0 16px 42px rgba(15,23,42,.06)!important;
}
.terminal-help-grid{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:10px;
  background:transparent!important;
  border:0!important;
  padding:0!important;
}
.terminal-help-grid div{
  background:#eff6ff;
  border:1px solid #bfdbfe;
  border-radius:16px;
  padding:12px;
}
.terminal-help-grid b{display:block;color:#1e3a8a;font-weight:660}
.terminal-help-grid span{display:block;color:#475569;margin-top:4px;font-weight:430}
.attendance-board-plus{
  align-items:stretch;
}
.attendance-card-plus{
  position:relative;
  overflow:hidden;
  border-radius:26px!important;
}
.attendance-card-plus.success{border-color:#bbf7d0!important;background:linear-gradient(180deg,#fff,#fbfffd)!important}
.attendance-card-plus.warning{border-color:#fde68a!important;background:linear-gradient(180deg,#fff,#fffdf5)!important}
.attendance-card-plus.danger{border-color:#fecaca!important;background:linear-gradient(180deg,#fff,#fff8f8)!important}
.attendance-status-pill{
  margin-left:auto;
  display:inline-flex;
  align-items:center;
  border-radius:999px;
  padding:7px 10px;
  font-size:11px;
  font-weight:680;
  text-transform:uppercase;
  letter-spacing:.05em;
}
.attendance-status-pill.success{background:#dcfce7;color:#166534;border:1px solid #bbf7d0}
.attendance-status-pill.warning{background:#fef3c7;color:#92400e;border:1px solid #fde68a}
.attendance-status-pill.danger{background:#fee2e2;color:#991b1b;border:1px solid #fecaca}
.time-avatar{overflow:hidden;background:#e0f2fe!important;color:#0369a1!important}
.time-avatar img{width:100%;height:100%;object-fit:cover;display:block}
.time-mini-timeline{
  display:flex;
  flex-wrap:wrap;
  gap:7px;
  margin-top:13px;
}
.time-mini-timeline span{
  display:inline-flex;
  gap:6px;
  align-items:center;
  border-radius:999px;
  padding:6px 9px;
  border:1px solid #e2e8f0;
  background:#f8fafc;
  color:#475569;
  font-size:12px;
  font-weight:460;
}
.time-mini-timeline b{font-weight:700;color:#0f172a}
.time-mini-timeline .clock-in{background:#ecfdf3;border-color:#bbf7d0;color:#166534}
.time-mini-timeline .clock-out{background:#f1f5f9;border-color:#cbd5e1;color:#0f172a}
.time-mini-timeline .clock-break{background:#fff7ed;border-color:#fed7aa;color:#9a3412}
.time-mini-timeline .clock-return{background:#eef4ff;border-color:#bfdbfe;color:#1d4ed8}
.time-history-table th{white-space:nowrap}
.time-table-wrap{border-radius:22px}

/* Report/consulente: badge mese meno semplice */
.report-month-box-premium{
  min-width:280px!important;
  display:grid!important;
  grid-template-columns:1fr 1fr;
  gap:10px!important;
  align-content:center;
  background:linear-gradient(135deg,#172554,#1d4ed8 58%,#0891b2)!important;
  color:#fff!important;
  border:0!important;
  box-shadow:0 20px 48px rgba(37,99,235,.20)!important;
}
.report-month-mini{
  background:rgba(255,255,255,.13);
  border:1px solid rgba(255,255,255,.18);
  border-radius:17px;
  padding:12px;
}
.report-month-box-premium span{
  display:block;
  color:#bfdbfe!important;
  font-size:11px!important;
  text-transform:uppercase;
  letter-spacing:.09em;
  font-weight:620!important;
}
.report-month-box-premium strong{
  color:#fff!important;
  display:block;
  margin-top:5px;
  font-size:24px!important;
  font-weight:720!important;
}
.report-month-box-premium small{
  grid-column:1/-1;
  display:block;
  color:#e0f2fe!important;
  font-weight:430!important;
  line-height:1.35;
}

@media(max-width:1200px){
  .time-month-grid{grid-template-columns:repeat(3,1fr)}
  .time-closure-strip{grid-template-columns:repeat(2,1fr)}
}
@media(max-width:780px){
  .time-hero-badges{display:grid;grid-template-columns:1fr;gap:8px}
  .time-soft-badge{min-width:0;min-height:64px}
  .time-month-head{display:block}
  .time-month-badge{margin-top:14px;min-width:0}
  .time-month-grid{grid-template-columns:1fr}
  .time-closure-strip{grid-template-columns:1fr}
  .timecheck-row{display:block}
  .anomaly-list.compact{justify-content:flex-start;margin-top:10px}
  .terminal-help-grid{grid-template-columns:1fr}
  .report-month-box-premium{grid-template-columns:1fr!important;min-width:0!important}
}

/* =========================================================
   VERSIONE 110 - CHIUSURA SPAZIO HERO PUBBLICA
   =========================================================
   Obiettivo: eliminare il vuoto sotto le frasi della hero.
   Il problema nasceva da elementi hero con reveal ancora invisibile
   che occupavano spazio senza mostrarsi. Qui li rendiamo visibili
   e compattiamo il blocco introduttivo.
*/
.product-public-page .sales-hero .text-soft-reveal,
.product-public-page .sales-hero .text-soft-reveal.delay-1,
.product-public-page .sales-hero .text-soft-reveal.delay-2,
.product-public-page .sales-hero .text-soft-reveal.delay-3,
.product-public-page .sales-hero .lead,
.product-public-page .sales-hero .hero-actions,
.product-public-page .sales-hero .trust{
  opacity:1!important;
  visibility:visible!important;
  transform:none!important;
  filter:none!important;
}
.product-public-page .hero.sales-hero{
  align-items:start!important;
  padding-top:46px!important;
  padding-bottom:18px!important;
  gap:28px!important;
}
.product-public-page .sales-hero > div:first-child{
  display:flex!important;
  flex-direction:column!important;
  justify-content:flex-start!important;
}
.product-public-page .hero-subtitle-visible{
  margin:14px 0 14px!important;
}
.product-public-page .hero-fill-panel{
  margin:14px 0 14px!important;
  gap:10px!important;
}
.product-public-page .hero-fill-panel div{
  padding:13px 14px!important;
  border-radius:18px!important;
}
.product-public-page .hero-operational-line{
  margin:0 0 10px!important;
  padding:12px 15px!important;
}
.product-public-page .hero-secondary-line{
  margin:0 0 14px!important;
  padding:12px 15px!important;
}
.product-public-page .sales-hero .lead{
  display:block!important;
  max-width:800px!important;
  margin:0 0 16px!important;
  font-size:17px!important;
  line-height:1.52!important;
  color:#56657a!important;
  font-weight:430!important;
}
.product-public-page .sales-hero .hero-actions{
  display:flex!important;
  margin:0 0 14px!important;
  gap:10px!important;
}
.product-public-page .sales-hero .trust{
  display:flex!important;
  margin-top:0!important;
  gap:7px!important;
  max-width:860px!important;
}
.product-public-page .sales-hero .trust span{
  padding:7px 10px!important;
  font-size:12.5px!important;
  background:rgba(255,255,255,.86)!important;
}
.product-public-page .hero-visual{
  align-self:start!important;
  margin-top:6px!important;
  transform:none!important;
}
.product-public-page .software-frame.upgraded-frame{
  max-width:575px!important;
  margin-left:auto!important;
  padding:14px!important;
  border-radius:30px!important;
}
.product-public-page .software-frame.upgraded-frame img{
  display:block!important;
  width:100%!important;
  height:auto!important;
  max-height:500px!important;
  object-fit:contain!important;
  object-position:top center!important;
}
.product-public-page .floating-card.feature-callout{
  right:6px!important;
  bottom:-10px!important;
  width:210px!important;
  padding:14px!important;
}
.product-public-page .hero.sales-hero + .section,
.product-public-page #prodotto{
  margin-top:0!important;
  padding-top:34px!important;
}
.product-public-page #prodotto .section-head{
  margin-bottom:14px!important;
}

@media(max-width:980px){
  .product-public-page .hero.sales-hero{
    padding-top:30px!important;
    padding-bottom:18px!important;
    gap:18px!important;
  }
  .product-public-page .hero-visual{
    margin-top:0!important;
  }
  .product-public-page .software-frame.upgraded-frame{
    max-width:100%!important;
  }
  .product-public-page .sales-hero .hero-actions .btn{
    width:100%!important;
  }
  .product-public-page .floating-card.feature-callout{
    position:static!important;
    width:100%!important;
    margin-top:12px!important;
  }
}

/* =========================================================
   VERSIONE 111 - RIEMPIMENTO HERO SENZA IMMAGINI
   ========================================================= */
.product-public-page .hero-visual{
  display:flex!important;
  flex-direction:column!important;
  align-items:stretch!important;
  gap:18px!important;
}
.product-public-page .no-image-fill{
  position:relative;
  z-index:2;
  width:min(575px,100%);
  margin-left:auto;
  margin-top:10px;
  padding:18px;
  border-radius:28px;
  background:
    radial-gradient(circle at 95% 0%, rgba(37,99,235,.18), transparent 36%),
    linear-gradient(135deg, rgba(255,255,255,.96), rgba(239,246,255,.90));
  border:1px solid #dbe7ff;
  box-shadow:0 18px 46px rgba(15,23,42,.085);
}
.product-public-page .right-fill-head{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:14px;
  margin-bottom:14px;
}
.product-public-page .right-fill-head span{
  display:inline-flex;
  align-items:center;
  border-radius:999px;
  background:#eef4ff;
  border:1px solid #bfdbfe;
  color:#1d4ed8;
  padding:7px 10px;
  font-size:12px;
  font-weight:650;
  letter-spacing:.04em;
  text-transform:uppercase;
  white-space:nowrap;
}
.product-public-page .right-fill-head strong{
  color:#172033;
  font-size:20px;
  letter-spacing:-.035em;
  font-weight:690;
  text-align:right;
}
.product-public-page .right-fill-steps{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:10px;
}
.product-public-page .right-fill-steps div{
  min-height:86px;
  display:flex;
  flex-direction:column;
  justify-content:center;
  align-items:center;
  gap:7px;
  border-radius:20px;
  background:#fff;
  border:1px solid #e2e8f0;
  box-shadow:0 10px 24px rgba(15,23,42,.045);
}
.product-public-page .right-fill-steps b{
  width:30px;
  height:30px;
  display:grid;
  place-items:center;
  border-radius:12px;
  background:linear-gradient(135deg,#1d4ed8,#06b6d4);
  color:#fff;
  font-size:14px;
  font-weight:760;
}
.product-public-page .right-fill-steps span{
  color:#334155;
  font-size:13px;
  font-weight:560;
}
.product-public-page .right-fill-metrics{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:10px;
  margin-top:12px;
}
.product-public-page .right-fill-metrics span{
  border-radius:17px;
  padding:12px;
  background:linear-gradient(180deg,#f8fafc,#fff);
  border:1px solid #e2e8f0;
  color:#64748b;
  font-size:12.5px;
  line-height:1.25;
  font-weight:430;
}
.product-public-page .right-fill-metrics b{
  display:block;
  color:#0f172a;
  font-size:15px;
  font-weight:670;
  margin-bottom:3px;
}
.product-public-page .hero.sales-hero{
  align-items:start!important;
}
.product-public-page .hero.sales-hero + .section,
.product-public-page #prodotto{
  padding-top:22px!important;
}
@media(max-width:980px){
  .product-public-page .no-image-fill{width:100%;margin:0;padding:15px;border-radius:22px}
  .product-public-page .right-fill-head{display:block}
  .product-public-page .right-fill-head strong{display:block;text-align:left;margin-top:10px}
  .product-public-page .right-fill-steps,.product-public-page .right-fill-metrics{grid-template-columns:1fr 1fr}
}
@media(max-width:560px){
  .product-public-page .right-fill-steps,.product-public-page .right-fill-metrics{grid-template-columns:1fr}
}

/* v112 - Timbrature avanzate: chiusura guidata, quadratura planning, badge evoluti */
.time-hero-badges-pro{grid-template-columns:repeat(2,minmax(0,1fr));align-items:stretch}
.time-hero-badges-pro .time-soft-badge{position:relative;overflow:hidden;padding:14px 15px 13px;border-radius:20px;box-shadow:0 10px 26px rgba(15,23,42,.10)}
.time-hero-badges-pro .time-soft-badge:after{content:"";position:absolute;right:-22px;top:-22px;width:70px;height:70px;border-radius:999px;background:rgba(255,255,255,.36);pointer-events:none}
.time-hero-badges-pro .time-soft-badge small{display:block;margin-top:4px;font-size:11px;font-weight:520;color:#64748b;letter-spacing:0;text-transform:none;line-height:1.25}
.time-soft-badge.planning{background:linear-gradient(135deg,#f5f3ff,#fff);border-color:#ddd6fe;color:#5b21b6}
.time-kpi-advanced{grid-template-columns:repeat(6,minmax(0,1fr))!important}
.time-kpi.violet{background:linear-gradient(135deg,#f5f3ff,#ffffff)!important;border-color:#ddd6fe!important}
.time-kpi.violet:before{background:linear-gradient(180deg,#8b5cf6,#6366f1)}
.time-month-actions{display:flex;align-items:center;gap:12px;flex-wrap:wrap;margin-top:16px;padding-top:14px;border-top:1px solid rgba(226,232,240,.82)}
.time-month-actions span{color:#64748b;font-size:13px;font-weight:500}
.time-employee-month-strip{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin-top:14px}
.time-employee-month-card{background:rgba(255,255,255,.92);border:1px solid #e2e8f0;border-radius:18px;padding:13px;box-shadow:0 8px 24px rgba(15,23,42,.045)}
.time-employee-month-card b{display:block;color:#0f172a;font-weight:650;font-size:14px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.time-employee-month-card span,.time-employee-month-card em{display:block;margin-top:4px;color:#64748b;font-size:12px;font-style:normal;line-height:1.35}
.time-employee-month-card em{color:#475569}
.time-guided-close{display:grid;grid-template-columns:220px 1fr auto;gap:10px;align-items:end;background:linear-gradient(135deg,#f8fafc,#eef2ff);border:1px solid #dbe4ff;border-radius:20px;padding:14px;margin:14px 0}
.time-guided-close label{font-weight:520!important;color:#334155!important;margin:0!important}
.time-warning-box{display:grid;grid-template-columns:210px 1fr;gap:12px;align-items:center;background:#fff7ed;border:1px solid #fed7aa;border-radius:18px;padding:13px;margin:12px 0;color:#9a3412}
.time-warning-box b{font-weight:680;color:#9a3412}
.time-warning-box span{display:flex;gap:7px;flex-wrap:wrap}
.time-warning-box em{font-style:normal;background:#fff;border:1px solid #fed7aa;border-radius:999px;padding:5px 9px;font-size:12px;font-weight:580;color:#9a3412}
.inline-close-form{margin:0;display:flex;justify-content:flex-end}
.timecheck-row{grid-template-columns:minmax(220px,1fr) minmax(260px,1.2fr) auto;display:grid!important}
.attendance-planning-line{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-top:10px}
.attendance-planning-line span{background:#f8fafc;border:1px solid #e2e8f0;border-radius:14px;padding:9px 10px;color:#64748b;font-size:12px;font-weight:520;text-align:center}
.attendance-planning-line b{color:#0f172a;font-weight:650}
.attendance-quick-close{display:grid;grid-template-columns:1fr auto;gap:8px;align-items:center;margin-top:10px;background:#fff7ed;border:1px solid #fed7aa;border-radius:14px;padding:9px}
.attendance-quick-close input{margin:0;padding:8px 10px;border-radius:10px}
.time-row-actions{display:flex;gap:7px;align-items:flex-start;min-width:120px}
.time-row-actions details{position:relative}
.time-row-actions summary{list-style:none;cursor:pointer;border:1px solid #d0d5dd;border-radius:999px;padding:7px 10px;background:#fff;color:#334155;font-weight:600;font-size:12px;white-space:nowrap}
.time-row-actions summary::-webkit-details-marker{display:none}
.inline-edit-clock{position:absolute;right:0;top:36px;z-index:9;width:310px;display:grid;gap:7px;background:#fff;border:1px solid #dbe4ee;border-radius:18px;padding:12px;box-shadow:0 20px 55px rgba(15,23,42,.18)}
.inline-edit-clock input,.inline-edit-clock select{padding:9px 10px;border-radius:12px;font-size:13px}
.mini-btn.danger{background:#fef2f2!important;color:#991b1b!important;border-color:#fecaca!important}
.time-history-table td{vertical-align:top}
@media(max-width:1350px){.time-kpi-advanced{grid-template-columns:repeat(3,minmax(0,1fr))!important}.time-employee-month-strip{grid-template-columns:repeat(2,minmax(0,1fr))}.time-guided-close{grid-template-columns:1fr 1fr}.time-guided-close .btn{grid-column:1/-1}}
@media(max-width:900px){.time-hero-badges-pro,.time-kpi-advanced,.time-employee-month-strip,.time-guided-close,.time-warning-box,.timecheck-row{grid-template-columns:1fr!important}.inline-edit-clock{position:static;width:min(100%,320px);margin-top:8px}.time-row-actions{display:grid}.attendance-planning-line{grid-template-columns:1fr}.attendance-quick-close{grid-template-columns:1fr}.time-warning-box span{margin-top:4px}}

/* === VERSIONE 113 - AREA AZIENDALE: CARD PIENE, BADGE PREMIUM, DASHBOARD SENZA VUOTI === */
.client-shell-body{
  background:radial-gradient(circle at 18% 0%,rgba(34,197,94,.10),transparent 30%),radial-gradient(circle at 100% 8%,rgba(59,130,246,.10),transparent 28%),#f4f8fc!important;
}
.client-main{
  display:grid;
  gap:24px;
}
.client-dashboard-refresh{
  gap:28px!important;
}
.client-main .panel,
.client-main .client-panel,
.client-module-card,
.employee-pro-card,
.request-card,
.terminal-pro-card,
.manual-clock-card,
.time-month-panel,
.timecheck-control-panel,
.plan-status-card{
  border:1px solid #dbe4ee!important;
  border-radius:34px!important;
  background:linear-gradient(180deg,#ffffff,#fbfdff)!important;
  box-shadow:0 18px 54px rgba(15,23,42,.075)!important;
}
.client-main .panel,
.client-main .client-panel{
  padding:28px!important;
}
.client-main .panel:hover,
.client-main .client-panel:hover,
.client-module-card:hover,
.employee-pro-card:hover,
.request-card:hover{
  border-color:#b7c9df!important;
  box-shadow:0 26px 76px rgba(15,23,42,.11)!important;
}
.client-main .section-head{
  align-items:center!important;
  gap:18px!important;
  margin-bottom:22px!important;
}
.client-main .section-head h2,
.client-main .panel h2,
.client-main .client-panel h2{
  font-weight:760!important;
  letter-spacing:-.035em!important;
  color:#111827!important;
}
.client-main .section-head p,
.client-main .panel p,
.client-main .client-panel p,
.client-main .muted{
  color:#5f6f86!important;
  font-weight:520!important;
  line-height:1.55!important;
}
.client-main .eyebrow,
.client-main .kicker,
.client-main .kicker.light{
  display:inline-flex!important;
  align-items:center!important;
  width:max-content!important;
  max-width:100%!important;
  border:1px solid #a7f3d0!important;
  background:linear-gradient(180deg,#f0fdf4,#ecfdf5)!important;
  color:#087a47!important;
  border-radius:999px!important;
  padding:8px 14px!important;
  font-size:13px!important;
  letter-spacing:.09em!important;
  font-weight:820!important;
}
.client-main .btn,
.client-main button.btn{
  border-radius:22px!important;
  min-height:44px!important;
  padding:12px 18px!important;
  font-weight:760!important;
  letter-spacing:-.01em!important;
  box-shadow:0 10px 24px rgba(15,23,42,.08);
}
.client-main .btn.primary,
.client-main button.btn.primary,
.plan-config-link{
  background:linear-gradient(135deg,#148a55,#087f4d)!important;
  color:#fff!important;
  border:0!important;
  box-shadow:0 18px 40px rgba(20,138,85,.24)!important;
}
.client-main .btn:hover,
.client-main button.btn:hover{
  transform:translateY(-1px);
}

/* Piano attivo come riferimento della seconda schermata */
.plan-status-card{
  color:#0f172a!important;
  background:linear-gradient(180deg,#ffffff,#f8fff9)!important;
  padding:30px!important;
  border-radius:36px!important;
  display:grid!important;
  gap:22px!important;
  min-height:100%!important;
}
.plan-card-head{
  background:linear-gradient(135deg,#effaf2,#f7fff9)!important;
  border:1px solid #9ff1bd!important;
  border-radius:30px!important;
  padding:24px 26px!important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.9)!important;
}
.plan-card-head span{
  display:block!important;
  color:#667085!important;
  text-transform:uppercase!important;
  letter-spacing:.11em!important;
  font-size:15px!important;
  font-weight:850!important;
}
.plan-card-head strong{
  display:block!important;
  margin-top:8px!important;
  font-size:clamp(30px,3.3vw,48px)!important;
  line-height:1.02!important;
  letter-spacing:-.06em!important;
  color:#103b24!important;
  font-weight:780!important;
}
.plan-card-head small{
  display:block!important;
  margin-top:10px!important;
  color:#667085!important;
  font-size:18px!important;
  font-weight:750!important;
}
.plan-mini-grid{
  display:grid!important;
  grid-template-columns:repeat(3,minmax(0,1fr))!important;
  gap:16px!important;
}
.plan-mini-grid div,
.client-main .kpi,
.control-room-grid div,
.mini-quality-list div,
.time-soft-badge,
.time-kpi,
.time-month-badge,
.employee-pro-metrics div,
.report-mini-card,
.setup-score{
  position:relative;
  overflow:hidden;
  background:linear-gradient(180deg,#ffffff,#fbfdff)!important;
  border:1px solid #dbe4ee!important;
  border-radius:28px!important;
  padding:20px!important;
  text-align:center!important;
  box-shadow:0 12px 32px rgba(15,23,42,.06)!important;
}
.plan-mini-grid div:before,
.client-main .kpi:before,
.control-room-grid div:before,
.mini-quality-list div:before,
.time-soft-badge:before,
.time-kpi:before,
.time-month-badge:before,
.employee-pro-metrics div:before{
  content:"";
  position:absolute;
  inset:0 0 auto 0;
  height:5px;
  background:linear-gradient(90deg,#16a34a,#86efac);
}
.plan-mini-grid div:nth-child(2):before,
.client-main .kpi:nth-child(2):before,
.control-room-grid div:nth-child(2):before,
.mini-quality-list div:nth-child(2):before{background:linear-gradient(90deg,#2563eb,#93c5fd)}
.plan-mini-grid div:nth-child(3):before,
.client-main .kpi:nth-child(3):before,
.control-room-grid div:nth-child(3):before,
.mini-quality-list div:nth-child(3):before{background:linear-gradient(90deg,#f59e0b,#fcd34d)}
.client-main .kpi:nth-child(4):before,
.control-room-grid div:nth-child(4):before{background:linear-gradient(90deg,#8b5cf6,#c4b5fd)}
.client-main .kpi:nth-child(5):before{background:linear-gradient(90deg,#0ea5e9,#67e8f9)}
.plan-mini-grid b,
.client-main .kpi strong,
.control-room-grid strong,
.mini-quality-list b,
.time-kpi strong,
.time-soft-badge b,
.time-month-badge strong,
.employee-pro-metrics b{
  display:block!important;
  color:#121a2c!important;
  font-size:clamp(31px,3.4vw,46px)!important;
  line-height:1!important;
  letter-spacing:-.06em!important;
  font-weight:780!important;
}
.plan-mini-grid span,
.client-main .kpi span,
.control-room-grid span,
.mini-quality-list span,
.time-kpi span,
.time-soft-badge em,
.time-month-badge span,
.employee-pro-metrics span{
  display:block!important;
  margin-top:11px!important;
  color:#667085!important;
  text-transform:uppercase!important;
  letter-spacing:.08em!important;
  font-size:14px!important;
  line-height:1.08!important;
  font-weight:820!important;
  font-style:normal!important;
}
.plan-progress-box{
  background:linear-gradient(180deg,#ffffff,#fbfdff)!important;
  border:1px solid #dbe4ee!important;
  border-radius:30px!important;
  padding:22px!important;
  box-shadow:0 12px 32px rgba(15,23,42,.055)!important;
}
.plan-progress-box>div:first-child{
  display:flex!important;
  align-items:center!important;
  justify-content:space-between!important;
  gap:16px!important;
  margin-bottom:16px!important;
}
.plan-progress-box span{
  color:#667085!important;
  text-transform:uppercase!important;
  letter-spacing:.1em!important;
  font-weight:840!important;
  font-size:15px!important;
}
.plan-progress-box b{
  color:#121a2c!important;
  font-size:21px!important;
  line-height:1.15!important;
  text-align:right!important;
  font-weight:760!important;
}
.plan-progress,
.setup-progress{
  height:17px!important;
  border-radius:999px!important;
  background:#e9eef6!important;
  overflow:hidden!important;
  border:0!important;
}
.plan-progress i,
.setup-progress i{
  display:block!important;
  height:100%!important;
  border-radius:999px!important;
  background:linear-gradient(90deg,#16a34a,#86efac)!important;
}
.plan-config-link{
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  min-height:56px!important;
  border-radius:24px!important;
  text-align:center!important;
  font-size:19px!important;
  font-weight:780!important;
}

/* KPI e schede aziendali più piene */
.cards.premium-kpis,
.kpi-5,
.time-premium-kpis{
  display:grid!important;
  grid-template-columns:repeat(5,minmax(0,1fr))!important;
  gap:18px!important;
}
.client-main .kpi{
  min-height:150px!important;
  display:flex!important;
  flex-direction:column!important;
  align-items:center!important;
  justify-content:center!important;
}
.client-main .kpi small,
.time-kpi small,
.time-soft-badge small{
  display:block!important;
  margin-top:9px!important;
  color:#667085!important;
  font-size:13px!important;
  line-height:1.25!important;
  font-weight:620!important;
}
.client-dashboard-layout,
.control-room-layout,
.dashboard-focus-layout,
.two.admin-stack{
  gap:24px!important;
  align-items:stretch!important;
}
.control-room-grid,
.mini-quality-list{
  gap:16px!important;
}
.control-room-grid div,
.mini-quality-list div{
  min-height:130px!important;
  display:flex!important;
  flex-direction:column!important;
  justify-content:center!important;
}
.module-grid-refresh,
.client-module-grid{
  gap:20px!important;
}
.client-module-card{
  min-height:260px!important;
  padding:26px!important;
  display:grid!important;
  grid-template-rows:auto auto 1fr auto!important;
}
.client-module-card .module-icon{
  width:64px!important;
  height:64px!important;
  border-radius:22px!important;
  display:grid!important;
  place-items:center!important;
  background:linear-gradient(135deg,#ecfdf3,#eff6ff)!important;
  border:1px solid #c7eed9!important;
  font-size:30px!important;
  box-shadow:0 14px 34px rgba(15,23,42,.08)!important;
}
.client-module-card h2{
  margin-top:14px!important;
  font-size:24px!important;
  font-weight:760!important;
}
.client-module-card p{
  font-size:15px!important;
  font-weight:520!important;
}
.client-module-card .btn,
.client-module-card .locked-pill{
  width:100%!important;
  justify-content:center!important;
  text-align:center!important;
}
.locked-pill,
.feature-chip,
.employee-tags span,
.deadline-badge,
.shift-badge,
.method-badge,
.clock-pill,
.pill,
.mini-feature-cloud span,
.feature-summary-items span,
.smart-alert span,
.sector-pill,
.section-chip,
.time-filter-badge,
.time-month-badge,
.time-soft-badge,
.setup-score{
  border-radius:999px!important;
  padding:9px 13px!important;
  font-weight:760!important;
  letter-spacing:.02em!important;
  box-shadow:0 8px 22px rgba(15,23,42,.055)!important;
}
.mini-feature-cloud,
.feature-summary-items,
.employee-tags{
  gap:9px!important;
}
.setup-checklist{
  display:grid!important;
  grid-template-columns:repeat(4,minmax(0,1fr))!important;
  gap:14px!important;
  margin-top:18px!important;
}
.setup-item{
  display:grid!important;
  grid-template-columns:auto 1fr!important;
  grid-template-rows:auto auto!important;
  align-items:center!important;
  column-gap:12px!important;
  background:#fff!important;
  border:1px solid #dbe4ee!important;
  border-radius:24px!important;
  padding:18px!important;
  min-height:112px!important;
  box-shadow:0 12px 30px rgba(15,23,42,.06)!important;
}
.setup-item span{
  grid-row:1 / 3!important;
  width:40px!important;
  height:40px!important;
  border-radius:16px!important;
  display:grid!important;
  place-items:center!important;
  background:#eff6ff!important;
  color:#2563eb!important;
  font-size:18px!important;
  font-weight:900!important;
}
.setup-item.done span{background:#dcfce7!important;color:#166534!important}
.setup-item b{font-size:15px!important;color:#111827!important;font-weight:760!important}
.setup-item em{font-size:12px!important;color:#667085!important;font-style:normal!important;font-weight:700!important}
.demo-seed-box{
  margin-top:20px!important;
  border-radius:28px!important;
  background:linear-gradient(135deg,#ecfdf3,#eff6ff)!important;
  border:1px solid #bfdbfe!important;
  padding:20px!important;
}
.workflow-list{
  display:grid!important;
  grid-template-columns:repeat(4,minmax(0,1fr))!important;
  gap:14px!important;
}
.workflow-list div{
  background:#fff!important;
  border:1px solid #dbe4ee!important;
  border-radius:24px!important;
  padding:18px!important;
  min-height:126px!important;
  box-shadow:0 12px 30px rgba(15,23,42,.055)!important;
}
.workflow-list b,
.sector-step span{
  width:40px!important;
  height:40px!important;
  display:grid!important;
  place-items:center!important;
  border-radius:15px!important;
  background:linear-gradient(135deg,#2563eb,#0ea5e9)!important;
  color:#fff!important;
  font-size:18px!important;
  font-weight:820!important;
}
.workflow-list span{display:block!important;margin-top:12px!important;color:#475569!important;font-weight:560!important;line-height:1.4!important}
.today-shift-row,
.activity-list div,
.contract-mini-row,
.smart-alert,
.sector-step,
.feature-summary-group,
.request-card{
  border:1px solid #dbe4ee!important;
  border-radius:24px!important;
  background:#fff!important;
  padding:16px!important;
  box-shadow:0 10px 28px rgba(15,23,42,.055)!important;
}
.today-shift-row{
  display:grid!important;
  grid-template-columns:auto 1.2fr auto 1fr!important;
  align-items:center!important;
  gap:14px!important;
  min-height:72px!important;
}

/* Timbrature: badge e pannelli uguali allo stile azienda */
.time-hero-badges-pro{
  display:grid!important;
  grid-template-columns:repeat(4,minmax(0,1fr))!important;
  gap:16px!important;
}
.time-soft-badge{
  min-height:140px!important;
  display:flex!important;
  flex-direction:column!important;
  justify-content:center!important;
}
.time-soft-badge.month:before{background:linear-gradient(90deg,#2563eb,#93c5fd)!important}
.time-soft-badge.people:before{background:linear-gradient(90deg,#16a34a,#86efac)!important}
.time-soft-badge.planning:before{background:linear-gradient(90deg,#f59e0b,#fcd34d)!important}
.time-soft-badge.ok:before,.time-soft-badge.good:before{background:linear-gradient(90deg,#16a34a,#86efac)!important}
.time-soft-badge.warn:before,.time-soft-badge.warning:before{background:linear-gradient(90deg,#f59e0b,#fcd34d)!important}
.time-soft-badge.danger:before{background:linear-gradient(90deg,#ef4444,#fca5a5)!important}
.time-kpi-advanced{
  grid-template-columns:repeat(6,minmax(0,1fr))!important;
}
.time-kpi{
  min-height:155px!important;
}
.time-month-panel .section-head,
.timecheck-control-panel .section-head{
  padding:0!important;
}
.time-month-badge{
  min-width:220px!important;
  text-align:left!important;
}
.time-month-badge:before{background:linear-gradient(90deg,#2563eb,#60a5fa)!important}
.time-month-badge strong{font-size:20px!important;letter-spacing:-.03em!important}
.terminal-pro-card,
.manual-clock-card{
  min-height:100%!important;
}
.terminal-pin-form label,
.manual-clock-card label,
.timecheck-control-panel label,
.client-main .form label{
  font-weight:620!important;
  color:#334155!important;
}
.client-main .form input,
.client-main .form select,
.client-main .form textarea{
  border-radius:18px!important;
  border:1px solid #dbe4ee!important;
  background:#ffffff!important;
  min-height:46px!important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.9)!important;
}

/* Area dipendenti: card coerenti con azienda */
.employee-pro-card{
  min-height:360px!important;
}
.employee-pro-metrics{
  gap:12px!important;
}
.employee-pro-metrics div{
  min-height:96px!important;
  padding:16px 10px!important;
}
.employee-pro-metrics b{font-size:25px!important}
.employee-form-topbar{
  background:linear-gradient(135deg,#13233d,#163f7a 55%,#0f8a55)!important;
  border-radius:32px!important;
  padding:24px!important;
}
.employee-form-section{
  border-radius:32px!important;
  padding:26px!important;
}
.employee-full-form label{
  font-weight:600!important;
  color:#344054!important;
}
.employee-section-header h3{font-weight:760!important}

/* Sito pubblico: riempimento hero senza immagini */
.hero,
.sales-hero{
  align-items:start!important;
  gap:34px!important;
  padding-bottom:34px!important;
}
.sales-hero .hero-copy{
  display:flex!important;
  flex-direction:column!important;
  gap:14px!important;
}
.hero-value-cards,
.hero-feature-cards,
.hero-mini-cards{
  margin-top:12px!important;
}
.hero-actions{margin-top:8px!important}
.hero-tags,.hero-keywords,.hero-chip-row{
  margin-top:8px!important;
  gap:9px!important;
}
.hero-flow-card,
.hero-operational-flow,
.hero-process-card{
  margin-top:18px!important;
}
.hero-visual,
.software-frame{
  margin-bottom:0!important;
}
.public-flow-under-hero,
.flow-section,
.section:first-of-type{
  margin-top:0!important;
  padding-top:42px!important;
}

@media(max-width:1450px){
  .cards.premium-kpis,.kpi-5{grid-template-columns:repeat(3,minmax(0,1fr))!important}
  .time-kpi-advanced{grid-template-columns:repeat(3,minmax(0,1fr))!important}
  .setup-checklist,.workflow-list{grid-template-columns:repeat(2,minmax(0,1fr))!important}
}
@media(max-width:980px){
  .client-main{padding:16px!important;gap:18px!important}
  .client-main .panel,.client-main .client-panel{padding:20px!important;border-radius:26px!important}
  .client-dashboard-layout,.two.admin-stack,.client-module-grid,.module-grid-refresh,.cards.premium-kpis,.kpi-5,.plan-mini-grid,.time-hero-badges-pro,.time-kpi-advanced,.setup-checklist,.workflow-list{grid-template-columns:1fr!important}
  .plan-card-head strong{font-size:34px!important}
  .client-main .kpi,.time-kpi,.time-soft-badge{min-height:128px!important}
  .today-shift-row{grid-template-columns:1fr!important}
  .plan-progress-box>div:first-child{display:block!important}
  .plan-progress-box b{text-align:left!important;margin-top:6px!important;display:block!important}
}

/* =========================================================
   VERSIONE 114 - Restyling grafico LATO AZIENDA
   Obiettivo: area cliente più elegante, coerente e leggibile.
   Non modifica sito pubblico e non richiede database.
   ========================================================= */
body.client-shell-body{
  background:
    radial-gradient(circle at 8% 0%, rgba(14,165,233,.10), transparent 32%),
    radial-gradient(circle at 92% 4%, rgba(34,197,94,.12), transparent 30%),
    linear-gradient(180deg,#f7fafc 0%,#eef4f8 100%)!important;
  color:#162033!important;
  font-family:Inter,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif!important;
}
.client-topbar{
  top:0!important;
  background:rgba(247,250,252,.78)!important;
  backdrop-filter:blur(22px)!important;
  border-bottom:1px solid rgba(203,213,225,.72)!important;
  box-shadow:0 12px 36px rgba(15,23,42,.055)!important;
}
.client-top-inner{
  max-width:1680px!important;
  margin:0 auto!important;
  padding:14px 28px!important;
  gap:18px!important;
}
.client-brand{
  background:#fff!important;
  border:1px solid #dbe4ee!important;
  border-radius:22px!important;
  padding:9px 13px!important;
  min-width:300px!important;
  box-shadow:0 10px 28px rgba(15,23,42,.055)!important;
}
.client-brand span{
  font-weight:720!important;
  color:#132033!important;
  line-height:1.12!important;
}
.client-brand small{
  margin-top:4px!important;
  color:#64748b!important;
  font-weight:560!important;
  letter-spacing:0!important;
}
.client-product-logo{width:42px!important;height:42px!important;border-radius:14px!important}
.client-nav{
  background:#fff!important;
  border:1px solid #dbe4ee!important;
  border-radius:22px!important;
  padding:7px!important;
  gap:4px!important;
  box-shadow:0 10px 28px rgba(15,23,42,.045)!important;
}
.client-nav a{
  border-radius:16px!important;
  padding:10px 13px!important;
  font-weight:650!important;
  color:#475569!important;
  letter-spacing:-.01em!important;
  transition:background .18s ease, color .18s ease, transform .18s ease, box-shadow .18s ease!important;
}
.client-nav a:hover{
  background:#f1f5f9!important;
  color:#102033!important;
  transform:translateY(-1px)!important;
}
.client-nav a.active{
  background:linear-gradient(135deg,#123b6d,#0f8a55)!important;
  color:#fff!important;
  box-shadow:0 10px 22px rgba(15,23,42,.16)!important;
}
.client-head-actions{gap:8px!important}
.plan-pill{
  background:#fff!important;
  color:#166534!important;
  border:1px solid #bbf7d0!important;
  border-radius:18px!important;
  padding:10px 14px!important;
  font-weight:700!important;
  box-shadow:0 8px 22px rgba(22,101,52,.08)!important;
}
.client-main{
  max-width:1680px!important;
  margin:0 auto!important;
  padding:26px 28px 54px!important;
}
.client-main .notice,.client-main .alert{
  border-radius:20px!important;
  padding:14px 18px!important;
  border:1px solid #dbe4ee!important;
  box-shadow:0 12px 28px rgba(15,23,42,.055)!important;
}
.client-main .notice{background:#ecfdf3!important;color:#166534!important;border-color:#bbf7d0!important}
.client-main .alert{background:#fff1f2!important;color:#991b1b!important;border-color:#fecdd3!important}

/* Hero area azienda: elegante, non urlata */
.client-hero-pro{
  background:
    radial-gradient(circle at 88% 0%,rgba(56,189,248,.20),transparent 34%),
    radial-gradient(circle at 8% 16%,rgba(34,197,94,.18),transparent 30%),
    linear-gradient(135deg,#101b2d 0%,#123b6d 56%,#0f7654 100%)!important;
  border:1px solid rgba(255,255,255,.16)!important;
  border-radius:34px!important;
  padding:30px!important;
  gap:24px!important;
  box-shadow:0 28px 70px rgba(15,23,42,.18)!important;
  overflow:hidden!important;
  position:relative!important;
}
.client-hero-pro:after{
  content:""!important;
  position:absolute!important;
  inset:auto -70px -80px auto!important;
  width:240px!important;
  height:240px!important;
  border-radius:50%!important;
  background:rgba(255,255,255,.08)!important;
  pointer-events:none!important;
}
.client-hero-pro h1{
  font-size:clamp(36px,3.4vw,58px)!important;
  line-height:1.02!important;
  letter-spacing:-.055em!important;
  font-weight:760!important;
  max-width:980px!important;
}
.client-hero-pro p{
  max-width:880px!important;
  font-size:17px!important;
  color:#dceafe!important;
  font-weight:440!important;
}
.kicker.light,.eyebrow{
  display:inline-flex!important;
  width:max-content!important;
  border-radius:999px!important;
  padding:8px 12px!important;
  background:rgba(255,255,255,.14)!important;
  border:1px solid rgba(255,255,255,.22)!important;
  color:#eaf7ff!important;
  font-weight:700!important;
  letter-spacing:.08em!important;
}
.section-head .eyebrow,.client-main .panel .eyebrow,.client-panel .eyebrow{
  background:#eef6ff!important;
  color:#1d4ed8!important;
  border-color:#bfdbfe!important;
}
.hero-actions{gap:10px!important;flex-wrap:wrap!important}
.client-main .btn{
  border-radius:18px!important;
  min-height:44px!important;
  padding:11px 16px!important;
  font-weight:700!important;
  letter-spacing:-.01em!important;
  box-shadow:0 10px 24px rgba(15,23,42,.07)!important;
  transition:transform .18s ease, box-shadow .18s ease, background .18s ease!important;
}
.client-main .btn:hover{transform:translateY(-1px)!important;box-shadow:0 14px 32px rgba(15,23,42,.11)!important}
.client-main .btn.primary,.plan-config-link{
  background:linear-gradient(135deg,#15803d,#0f8a55)!important;
  color:#fff!important;
  border:1px solid rgba(255,255,255,.18)!important;
}
.client-main .btn.white{background:#fff!important;color:#132033!important;border:1px solid #dbe4ee!important}
.client-main .btn.ghost-light{background:rgba(255,255,255,.12)!important;color:#fff!important;border:1px solid rgba(255,255,255,.24)!important}
.client-main .btn.small{min-height:38px!important;padding:8px 12px!important;border-radius:14px!important;font-size:13px!important}

/* Card piano, KPI e pannelli - stile coerente area azienda */
.hero-command-card,.plan-status-card{
  background:rgba(255,255,255,.98)!important;
  color:#132033!important;
  border:1px solid rgba(219,228,238,.98)!important;
  border-radius:32px!important;
  padding:24px!important;
  box-shadow:0 24px 60px rgba(15,23,42,.16)!important;
}
.plan-card-head{
  background:linear-gradient(135deg,#effdf5,#f6fbff)!important;
  border:1px solid #bbf7d0!important;
  border-radius:26px!important;
  padding:22px!important;
  margin-bottom:18px!important;
}
.plan-card-head span,
.plan-mini-grid span,
.plan-progress-box span,
.client-main .kpi span,
.time-kpi span,
.command-row span{
  color:#667085!important;
  font-weight:680!important;
  letter-spacing:.045em!important;
  text-transform:uppercase!important;
}
.plan-card-head strong{
  color:#0f2c22!important;
  font-size:clamp(34px,2.8vw,52px)!important;
  font-weight:760!important;
  letter-spacing:-.055em!important;
}
.plan-card-head small{color:#667085!important;font-weight:620!important}
.plan-mini-grid{gap:12px!important}
.plan-mini-grid div,
.client-main .kpi,
.time-kpi,
.client-panel,.client-main .panel{
  background:rgba(255,255,255,.96)!important;
  border:1px solid #dbe4ee!important;
  border-radius:28px!important;
  box-shadow:0 16px 44px rgba(15,23,42,.06)!important;
}
.plan-mini-grid div{
  min-height:128px!important;
  padding:18px 12px!important;
  display:flex!important;
  flex-direction:column!important;
  justify-content:center!important;
  align-items:center!important;
}
.plan-mini-grid b,
.client-main .kpi strong,
.time-kpi strong{
  color:#101828!important;
  font-weight:760!important;
  letter-spacing:-.05em!important;
}
.plan-mini-grid b{font-size:44px!important}
.plan-progress-box{
  background:#fff!important;
  border:1px solid #dbe4ee!important;
  border-radius:24px!important;
  padding:18px!important;
  margin:16px 0!important;
}
.plan-progress{height:18px!important;background:#eef2f7!important;border-radius:999px!important;overflow:hidden!important}
.plan-progress i{display:block!important;height:100%!important;border-radius:999px!important;background:linear-gradient(90deg,#16a34a,#86efac)!important;box-shadow:0 8px 20px rgba(22,163,74,.18)!important}
.plan-config-link{display:flex!important;align-items:center!important;justify-content:center!important;border-radius:22px!important;padding:16px!important;font-size:18px!important;text-align:center!important;font-weight:740!important;text-decoration:none!important}
.cards.premium-kpis,.kpi-5{
  display:grid!important;
  grid-template-columns:repeat(5,minmax(0,1fr))!important;
  gap:16px!important;
}
.client-main .kpi{
  min-height:148px!important;
  padding:22px!important;
  position:relative!important;
  overflow:hidden!important;
}
.client-main .kpi:before{
  content:""!important;
  position:absolute!important;
  inset:0 auto 0 0!important;
  width:6px!important;
  background:linear-gradient(180deg,#2563eb,#22c55e)!important;
  opacity:.92!important;
}
.client-main .kpi strong{font-size:42px!important;margin-top:12px!important;display:block!important}
.client-dashboard-layout,.control-room-layout{gap:20px!important}
.client-panel,.client-main .panel{
  padding:24px!important;
  margin-bottom:20px!important;
}
.section-head{
  align-items:flex-start!important;
  gap:18px!important;
  margin-bottom:18px!important;
}
.section-head h2,.client-panel h2,.client-main .panel h2{
  color:#132033!important;
  font-weight:740!important;
  letter-spacing:-.035em!important;
}
.section-head p,.client-panel p,.client-main .panel p{
  color:#64748b!important;
  font-weight:430!important;
  line-height:1.56!important;
}

/* Griglie operative */
.control-room-grid,.mini-quality-list,.time-hero-badges-pro,.time-kpi-advanced,.module-grid-refresh,.client-module-grid,.employee-card-grid{
  gap:16px!important;
}
.control-room-grid div,.mini-quality-list div,.time-soft-badge,.time-month-badge{
  border:1px solid #dbe4ee!important;
  border-radius:26px!important;
  background:linear-gradient(180deg,#fff,#f8fbff)!important;
  box-shadow:0 12px 34px rgba(15,23,42,.055)!important;
}
.control-room-grid div,.mini-quality-list div{
  min-height:122px!important;
  padding:20px!important;
}
.control-room-grid strong,.mini-quality-list strong{
  font-size:38px!important;
  color:#101828!important;
  font-weight:760!important;
  letter-spacing:-.05em!important;
}
.control-room-grid span,.mini-quality-list span{font-weight:560!important;color:#64748b!important;text-transform:none!important;letter-spacing:0!important}
.client-module-card{
  background:linear-gradient(180deg,#fff,#f8fbff)!important;
  border:1px solid #dbe4ee!important;
  border-radius:30px!important;
  min-height:238px!important;
  padding:24px!important;
  box-shadow:0 16px 44px rgba(15,23,42,.055)!important;
}
.client-module-card:hover{transform:translateY(-2px)!important;box-shadow:0 22px 58px rgba(15,23,42,.09)!important}
.client-module-card h2{font-weight:720!important;color:#101828!important;font-size:22px!important}
.client-module-card p{font-weight:430!important;color:#64748b!important;font-size:15px!important}
.client-module-card .module-icon{background:#fff!important;border:1px solid #dbe4ee!important;color:#0f8a55!important}

/* Badge: più belli, ma meno pesanti */
.locked-pill,.feature-chip,.employee-tags span,.deadline-badge,.shift-badge,.method-badge,.clock-pill,.pill,.section-chip,.time-filter-badge,.time-month-badge,.time-soft-badge,.setup-score,.soft-badge,.field-tip{
  border-radius:999px!important;
  font-weight:650!important;
  letter-spacing:.01em!important;
  box-shadow:none!important;
}
.feature-chip,.employee-tags span,.section-chip,.soft-badge,.field-tip{
  background:#f5f8fb!important;
  color:#475569!important;
  border:1px solid #dbe4ee!important;
}
.pill.active,.pill.ok,.deadline-badge.ok{background:#ecfdf3!important;color:#166534!important;border-color:#bbf7d0!important}
.deadline-badge.warning,.pill.warning{background:#fffbeb!important;color:#92400e!important;border-color:#fde68a!important}
.deadline-badge.danger,.pill.danger{background:#fff1f2!important;color:#991b1b!important;border-color:#fecdd3!important}

/* Form area azienda: più eleganti e meno impattanti */
.client-main .form,.employee-full-form{
  gap:16px!important;
}
.client-main .form label,.employee-full-form label,.terminal-pin-form label,.manual-clock-card label,.timecheck-control-panel label{
  color:#475569!important;
  font-weight:560!important;
  font-size:14px!important;
  letter-spacing:0!important;
}
.client-main .form input,.client-main .form select,.client-main .form textarea,
.employee-full-form input,.employee-full-form select,.employee-full-form textarea{
  margin-top:7px!important;
  border-radius:18px!important;
  border:1px solid #dbe4ee!important;
  background:#fbfdff!important;
  color:#132033!important;
  font-weight:480!important;
  min-height:48px!important;
  padding:12px 14px!important;
  transition:border .18s ease, box-shadow .18s ease, background .18s ease!important;
}
.client-main .form textarea,.employee-full-form textarea{min-height:100px!important}
.client-main .form input:focus,.client-main .form select:focus,.client-main .form textarea:focus,
.employee-full-form input:focus,.employee-full-form select:focus,.employee-full-form textarea:focus{
  outline:none!important;
  border-color:#60a5fa!important;
  background:#fff!important;
  box-shadow:0 0 0 4px rgba(96,165,250,.14)!important;
}
.client-main ::placeholder{color:#94a3b8!important;font-weight:420!important}
.inline-checks,.check-line,.employee-check-spaced{
  border-radius:18px!important;
  background:#f8fafc!important;
  border:1px solid #dbe4ee!important;
  padding:11px 12px!important;
  font-weight:560!important;
}
.employee-form-section{
  background:linear-gradient(180deg,#fff,#f8fbff)!important;
  border:1px solid #dbe4ee!important;
  border-radius:30px!important;
  padding:24px!important;
  box-shadow:0 14px 38px rgba(15,23,42,.055)!important;
}
.employee-form-topbar{
  background:linear-gradient(135deg,#11233d,#123b6d 56%,#0f8a55)!important;
  border-radius:30px!important;
  box-shadow:0 20px 50px rgba(15,23,42,.14)!important;
}
.employee-form-nav{
  background:#fff!important;
  border:1px solid #dbe4ee!important;
  border-radius:22px!important;
  padding:8px!important;
  box-shadow:0 12px 28px rgba(15,23,42,.05)!important;
}
.employee-form-nav a{
  border-radius:16px!important;
  padding:10px 13px!important;
  color:#475569!important;
  font-weight:640!important;
}
.employee-form-nav a.active,.employee-form-nav a:hover{
  background:#eef6ff!important;
  color:#1d4ed8!important;
}
.modern-upload-box{
  background:linear-gradient(135deg,#f8fbff,#ffffff)!important;
  border:1px dashed #bfdbfe!important;
  border-radius:28px!important;
  padding:18px!important;
}
.modern-upload-trigger{
  background:#fff!important;
  border:1px solid #dbe4ee!important;
  border-radius:22px!important;
  box-shadow:0 10px 26px rgba(15,23,42,.055)!important;
}
.employee-photo-preview{box-shadow:0 16px 38px rgba(15,23,42,.12)!important}
.missing-required{
  background:#fff7f7!important;
  border-color:#fecdd3!important;
}

/* Timbrature lato azienda */
.time-soft-badge{
  min-height:128px!important;
  padding:18px!important;
  position:relative!important;
  overflow:hidden!important;
}
.time-soft-badge:before,.time-month-badge:before{
  content:""!important;
  position:absolute!important;
  left:0!important;top:0!important;bottom:0!important;width:6px!important;
  border-radius:999px 0 0 999px!important;
}
.time-soft-badge strong,.time-month-badge strong{font-size:28px!important;color:#101828!important;font-weight:760!important;letter-spacing:-.04em!important}
.time-kpi{min-height:136px!important;padding:20px!important}
.time-kpi strong{font-size:34px!important}
.terminal-pro-card,.manual-clock-card,.timecheck-control-panel,.time-month-panel{
  background:linear-gradient(180deg,#fff,#f8fbff)!important;
  border:1px solid #dbe4ee!important;
  border-radius:30px!important;
  box-shadow:0 16px 44px rgba(15,23,42,.06)!important;
}
.today-clock-card,.clock-employee-card,.time-employee-row,.time-day-row{
  background:#fff!important;
  border:1px solid #dbe4ee!important;
  border-radius:24px!important;
  box-shadow:0 10px 28px rgba(15,23,42,.05)!important;
}

/* Planning, richieste, report */
.board-day,.board-shift,.request-card,.today-shift-row,.list-shifts div,.activity-list div,.contract-mini-row,.smart-alert,.feature-summary-group,.report-table,.matrix-wrap{
  border-color:#dbe4ee!important;
  box-shadow:0 10px 28px rgba(15,23,42,.05)!important;
}
.board-day{
  border-radius:28px!important;
  background:linear-gradient(180deg,#fff,#f8fbff)!important;
  padding:18px!important;
}
.board-day h3{font-weight:720!important;color:#132033!important}
.board-shift{
  border-radius:20px!important;
  border-left-width:6px!important;
}
.request-card{border-radius:26px!important;background:linear-gradient(180deg,#fff,#f8fbff)!important}
.report-table th{
  background:#f1f5f9!important;
  color:#334155!important;
  font-weight:680!important;
}
.report-table td{font-weight:460!important;color:#334155!important}
.table-wrap,.matrix-wrap{border-radius:26px!important;overflow:auto!important;background:#fff!important}

/* Responsive area azienda */
@media(max-width:1450px){
  .client-hero-pro{grid-template-columns:1fr!important}
  .hero-command-card,.plan-status-card{max-width:none!important}
  .cards.premium-kpis,.kpi-5{grid-template-columns:repeat(3,minmax(0,1fr))!important}
}
@media(max-width:980px){
  .client-top-inner{display:block!important;padding:12px!important}
  .client-brand{min-width:0!important;width:100%!important;margin-bottom:10px!important}
  .client-nav{margin:0 0 10px!important;overflow:auto!important}
  .client-main{padding:16px!important}
  .client-hero-pro{padding:22px!important;border-radius:28px!important}
  .client-hero-pro h1{font-size:34px!important}
  .plan-mini-grid,.cards.premium-kpis,.kpi-5,.time-hero-badges-pro,.time-kpi-advanced,.client-module-grid,.module-grid-refresh,.employee-card-grid{grid-template-columns:1fr!important}
  .client-main .panel,.client-panel,.employee-form-section{padding:18px!important;border-radius:24px!important}
  .section-head{display:block!important}
  .section-head .btn{margin-top:10px!important;width:100%!important}
}

/* =========================================================
   v115 - Area azienda full width chiara e morbida
   Solo lato azienda: sfondi leggeri, bordi sottili, meno impatto.
   ========================================================= */
.client-shell-body{
  background:linear-gradient(180deg,#f7fafc 0%,#f4f7fb 42%,#f8fafc 100%)!important;
  color:#1f2937!important;
}
.client-shell-body .client-topbar,
.client-shell-body .client-appbar{
  background:rgba(255,255,255,.92)!important;
  border-bottom:1px solid #e5edf5!important;
  box-shadow:0 8px 28px rgba(15,23,42,.035)!important;
  backdrop-filter:blur(16px)!important;
}
.client-shell-body .client-top-inner,
.client-shell-body .app-nav-wrap{
  max-width:none!important;
  width:100%!important;
  padding-left:24px!important;
  padding-right:24px!important;
}
.client-shell-body .client-main,
.client-shell-body .appdash.client-area,
.client-shell-body .full-client-page,
.client-shell-body main.client-main{
  max-width:none!important;
  width:100%!important;
  padding:22px 24px 42px!important;
}
.client-shell-body .wrap,
.client-shell-body .container,
.client-shell-body .client-area{
  max-width:none!important;
}

/* Hero area azienda: non più scura, più leggera */
.client-shell-body .client-hero-pro,
.client-shell-body .client-command-hero,
.client-shell-body .client-hero,
.client-shell-body .admin-hero{
  background:linear-gradient(135deg,#ffffff 0%,#f8fbff 55%,#f1fbf6 100%)!important;
  color:#1f2937!important;
  border:1px solid #dfe8f2!important;
  border-radius:28px!important;
  box-shadow:0 16px 42px rgba(15,23,42,.055)!important;
  padding:26px!important;
  overflow:hidden!important;
}
.client-shell-body .client-hero-pro:after,
.client-shell-body .client-command-hero:after,
.client-shell-body .client-hero:after,
.client-shell-body .admin-hero:after{
  background:rgba(34,197,94,.08)!important;
}
.client-shell-body .client-hero-pro h1,
.client-shell-body .client-command-hero h1,
.client-shell-body .client-hero h1,
.client-shell-body .admin-hero h2,
.client-shell-body .client-hero-pro h2{
  color:#172033!important;
  font-weight:720!important;
  letter-spacing:-.045em!important;
}
.client-shell-body .client-hero-pro p,
.client-shell-body .client-command-hero p,
.client-shell-body .client-hero p,
.client-shell-body .admin-hero p{
  color:#5b6b80!important;
  font-weight:430!important;
}
.client-shell-body .kicker.light,
.client-shell-body .eyebrow,
.client-shell-body .kicker{
  background:#f0fdf4!important;
  color:#147847!important;
  border:1px solid #bbf7d0!important;
  box-shadow:none!important;
}
.client-shell-body .btn.ghost-light,
.client-shell-body .btn.white{
  background:#fff!important;
  color:#1f2937!important;
  border:1px solid #dfe8f2!important;
}

/* Card laterali / piano attivo: stile chiaro con bordo sottile */
.client-shell-body .hero-command-card,
.client-shell-body .client-status-card,
.client-shell-body .plan-status-card,
.client-shell-body .hero-command-card.employee-summary-card{
  background:#ffffff!important;
  color:#1f2937!important;
  border:1px solid #dfe8f2!important;
  border-radius:26px!important;
  box-shadow:0 12px 34px rgba(15,23,42,.052)!important;
  backdrop-filter:none!important;
}
.client-shell-body .command-row,
.client-shell-body .status-top,
.client-shell-body .status-progress{
  border-color:#edf2f7!important;
}
.client-shell-body .command-row span,
.client-shell-body .status-top span,
.client-shell-body .status-progress span{
  color:#64748b!important;
  font-weight:600!important;
  letter-spacing:.02em!important;
}
.client-shell-body .command-row b,
.client-shell-body .status-top b,
.client-shell-body .status-metrics strong{
  color:#172033!important;
  font-weight:720!important;
}
.client-shell-body .status-metrics div,
.client-shell-body .plan-mini-grid div,
.client-shell-body .control-room-grid div,
.client-shell-body .mini-quality-list div{
  background:#fbfdff!important;
  border:1px solid #e3ebf4!important;
  border-radius:22px!important;
  box-shadow:none!important;
}
.client-shell-body .status-metrics span,
.client-shell-body .plan-mini-grid span,
.client-shell-body .control-room-grid span,
.client-shell-body .mini-quality-list span{
  color:#64748b!important;
  font-weight:500!important;
  text-transform:none!important;
  letter-spacing:0!important;
}
.client-shell-body .status-progress{
  background:#f8fafc!important;
  border:1px solid #e3ebf4!important;
}
.client-shell-body .status-progress i,
.client-shell-body .plan-progress i,
.client-shell-body .progress-bar i{
  background:linear-gradient(90deg,#86efac,#60a5fa)!important;
  box-shadow:none!important;
}

/* Pannelli generali full width: bordi leggeri e sfondi morbidi */
.client-shell-body .panel,
.client-shell-body .client-panel,
.client-shell-body .client-module-card,
.client-shell-body .employee-pro-card,
.client-shell-body .employee-expanded-card,
.client-shell-body .employee-form-section,
.client-shell-body .terminal-pro-card,
.client-shell-body .manual-clock-card,
.client-shell-body .timecheck-control-panel,
.client-shell-body .time-month-panel,
.client-shell-body .today-clock-card,
.client-shell-body .clock-employee-card,
.client-shell-body .time-employee-row,
.client-shell-body .time-day-row,
.client-shell-body .request-card,
.client-shell-body .matrix-wrap,
.client-shell-body .table-wrap,
.client-shell-body .board-day,
.client-shell-body .feature-list div,
.client-shell-body .activity-list div,
.client-shell-body .workflow-list div{
  background:linear-gradient(180deg,#ffffff,#fbfdff)!important;
  border:1px solid #e1e9f2!important;
  border-radius:24px!important;
  box-shadow:0 10px 28px rgba(15,23,42,.04)!important;
}
.client-shell-body .panel:hover,
.client-shell-body .client-panel:hover,
.client-shell-body .client-module-card:hover,
.client-shell-body .employee-pro-card:hover{
  transform:none!important;
  box-shadow:0 14px 36px rgba(15,23,42,.055)!important;
  border-color:#d5e0ec!important;
}
.client-shell-body .client-panel.xl{min-height:0!important}
.client-shell-body .section-head h2,
.client-shell-body .client-panel h2,
.client-shell-body .panel h2,
.client-shell-body .client-module-card h2,
.client-shell-body .employee-info h3,
.client-shell-body .employee-pro-head h3{
  color:#172033!important;
  font-weight:680!important;
}
.client-shell-body .section-head p,
.client-shell-body .client-panel p,
.client-shell-body .panel p,
.client-shell-body .client-module-card p,
.client-shell-body .muted,
.client-shell-body small{
  color:#64748b!important;
  font-weight:420!important;
}

/* KPI e badge: più curati ma non pesanti */
.client-shell-body .cards.premium-kpis .kpi,
.client-shell-body .kpi,
.client-shell-body .time-kpi,
.client-shell-body .time-soft-badge,
.client-shell-body .time-month-badge,
.client-shell-body .summary-tile,
.client-shell-body .client-stat,
.client-shell-body .payroll-preview div{
  background:#ffffff!important;
  border:1px solid #e1e9f2!important;
  border-radius:24px!important;
  box-shadow:0 10px 26px rgba(15,23,42,.038)!important;
  color:#172033!important;
}
.client-shell-body .cards.premium-kpis .kpi b,
.client-shell-body .kpi b,
.client-shell-body .kpi strong,
.client-shell-body .time-kpi strong,
.client-shell-body .time-soft-badge strong,
.client-shell-body .time-month-badge strong,
.client-shell-body .payroll-preview span{
  color:#172033!important;
  font-weight:720!important;
  letter-spacing:-.04em!important;
}
.client-shell-body .cards.premium-kpis .kpi span,
.client-shell-body .kpi span,
.client-shell-body .time-kpi span,
.client-shell-body .time-soft-badge span,
.client-shell-body .time-month-badge span{
  color:#667085!important;
  font-weight:520!important;
  text-transform:none!important;
  letter-spacing:0!important;
}
.client-shell-body .locked-pill,
.client-shell-body .feature-chip,
.client-shell-body .employee-tags span,
.client-shell-body .deadline-badge,
.client-shell-body .shift-badge,
.client-shell-body .method-badge,
.client-shell-body .clock-pill,
.client-shell-body .pill,
.client-shell-body .section-chip,
.client-shell-body .time-filter-badge,
.client-shell-body .setup-score,
.client-shell-body .soft-badge,
.client-shell-body .field-tip{
  background:#f8fafc!important;
  color:#4b5563!important;
  border:1px solid #e1e9f2!important;
  border-radius:999px!important;
  box-shadow:none!important;
  font-weight:560!important;
  letter-spacing:0!important;
}
.client-shell-body .pill.active,
.client-shell-body .pill.ok,
.client-shell-body .deadline-badge.ok,
.client-shell-body .clock-pill.ok{
  background:#f0fdf4!important;
  color:#147847!important;
  border-color:#bbf7d0!important;
}
.client-shell-body .deadline-badge.warning,
.client-shell-body .pill.warning,
.client-shell-body .clock-pill.warning{
  background:#fffbeb!important;
  color:#92400e!important;
  border-color:#fde68a!important;
}
.client-shell-body .deadline-badge.danger,
.client-shell-body .pill.danger,
.client-shell-body .clock-pill.danger{
  background:#fff1f2!important;
  color:#991b1b!important;
  border-color:#fecdd3!important;
}

/* Form meno scuri, più larghi e più ariosi */
.client-shell-body .form label,
.client-shell-body form label,
.client-shell-body .employee-full-form label,
.client-shell-body .terminal-pin-form label,
.client-shell-body .manual-clock-card label,
.client-shell-body .timecheck-control-panel label{
  color:#526173!important;
  font-weight:500!important;
  font-size:14px!important;
  letter-spacing:0!important;
}
.client-shell-body input,
.client-shell-body select,
.client-shell-body textarea,
.client-shell-body .form input,
.client-shell-body .form select,
.client-shell-body .form textarea,
.client-shell-body .employee-full-form input,
.client-shell-body .employee-full-form select,
.client-shell-body .employee-full-form textarea{
  background:#ffffff!important;
  border:1px solid #dfe8f2!important;
  border-radius:16px!important;
  color:#172033!important;
  font-weight:430!important;
  box-shadow:none!important;
  min-height:46px!important;
}
.client-shell-body input:focus,
.client-shell-body select:focus,
.client-shell-body textarea:focus{
  border-color:#93c5fd!important;
  box-shadow:0 0 0 4px rgba(147,197,253,.16)!important;
  outline:none!important;
}
.client-shell-body input::placeholder,
.client-shell-body textarea::placeholder{
  color:#98a2b3!important;
  font-weight:400!important;
}
.client-shell-body .inline-checks,
.client-shell-body .check-line,
.client-shell-body .employee-check-spaced{
  background:#fbfdff!important;
  border:1px solid #e1e9f2!important;
  color:#526173!important;
  font-weight:500!important;
  box-shadow:none!important;
}

/* Scheda dipendente: elimina testata scura, mantieni piena e chiara */
.client-shell-body .employee-form-topbar{
  background:linear-gradient(135deg,#ffffff,#f4f9ff)!important;
  color:#172033!important;
  border:1px solid #dfe8f2!important;
  border-radius:24px!important;
  box-shadow:0 10px 28px rgba(15,23,42,.04)!important;
}
.client-shell-body .employee-form-topbar strong{color:#172033!important;font-weight:650!important}
.client-shell-body .employee-form-topbar span{color:#64748b!important;font-weight:420!important}
.client-shell-body .employee-form-nav{
  background:#ffffff!important;
  border:1px solid #e1e9f2!important;
  border-radius:18px!important;
  box-shadow:0 8px 20px rgba(15,23,42,.035)!important;
}
.client-shell-body .employee-form-nav a{
  color:#526173!important;
  font-weight:520!important;
  border-radius:13px!important;
}
.client-shell-body .employee-form-nav a.active,
.client-shell-body .employee-form-nav a:hover{
  background:#eff6ff!important;
  color:#175cd3!important;
}
.client-shell-body .modern-upload-box,
.client-shell-body .employee-photo-editor{
  background:#fbfdff!important;
  border:1px dashed #cbd8e6!important;
  border-radius:22px!important;
  box-shadow:none!important;
}
.client-shell-body .modern-upload-trigger{
  background:#ffffff!important;
  border:1px solid #dfe8f2!important;
  border-radius:18px!important;
  box-shadow:none!important;
}
.client-shell-body .employee-photo-preview,
.client-shell-body .employee-avatar{
  background:linear-gradient(135deg,#e0f2fe,#dcfce7)!important;
  color:#176b4b!important;
  box-shadow:none!important;
  border:1px solid #d7e6ef!important;
}

/* Tabelle e planning più leggeri */
.client-shell-body table,
.client-shell-body .report-table{
  background:#fff!important;
}
.client-shell-body .report-table th,
.client-shell-body table th{
  background:#f7fafc!important;
  color:#526173!important;
  font-weight:560!important;
  border-bottom:1px solid #e1e9f2!important;
}
.client-shell-body .report-table td,
.client-shell-body table td{
  color:#334155!important;
  font-weight:420!important;
  border-color:#eef2f7!important;
}
.client-shell-body .board-day,
.client-shell-body .shift-cell{
  background:#ffffff!important;
  border:1px solid #e1e9f2!important;
}
.client-shell-body .employee-name-cell{
  background:#ffffff!important;
  color:#172033!important;
  border:1px solid #e1e9f2!important;
  box-shadow:none!important;
}
.client-shell-body .employee-name-cell span{color:#64748b!important}
.client-shell-body .board-shift{
  background:#fbfdff!important;
  box-shadow:none!important;
}

/* Pulsanti: pieni ma meno aggressivi */
.client-shell-body .btn,
.client-shell-body button.btn{
  border-radius:16px!important;
  font-weight:620!important;
  box-shadow:none!important;
}
.client-shell-body .btn.primary,
.client-shell-body button.btn.primary{
  background:#15855a!important;
  border-color:#15855a!important;
  color:#fff!important;
}
.client-shell-body .btn.primary:hover,
.client-shell-body button.btn.primary:hover{
  background:#126f4c!important;
  border-color:#126f4c!important;
}
.client-shell-body .btn:not(.primary),
.client-shell-body button.btn:not(.primary){
  background:#ffffff!important;
  border:1px solid #dfe8f2!important;
  color:#334155!important;
}

/* Spaziatura full width più equilibrata */
.client-shell-body .client-dashboard-layout,
.client-shell-body .client-dashboard-grid,
.client-shell-body .planner-pro-layout,
.client-shell-body .timeclock-layout,
.client-shell-body .settings-grid-pro{
  gap:18px!important;
  width:100%!important;
}
.client-shell-body .client-module-grid,
.client-shell-body .employee-card-grid,
.client-shell-body .cards.premium-kpis,
.client-shell-body .kpi-5,
.client-shell-body .time-kpi-advanced,
.client-shell-body .time-hero-badges-pro{
  gap:16px!important;
}
.client-shell-body .client-module-card,
.client-shell-body .employee-pro-card{
  min-height:auto!important;
}

@media(max-width:1200px){
  .client-shell-body .client-dashboard-layout,
  .client-shell-body .client-dashboard-grid,
  .client-shell-body .planner-pro-layout,
  .client-shell-body .timeclock-layout{
    grid-template-columns:1fr!important;
  }
}
@media(max-width:900px){
  .client-shell-body .client-main,
  .client-shell-body .appdash.client-area,
  .client-shell-body .full-client-page{
    padding:14px!important;
  }
  .client-shell-body .client-hero-pro,
  .client-shell-body .client-command-hero,
  .client-shell-body .client-hero{
    border-radius:22px!important;
    padding:18px!important;
  }
  .client-shell-body .client-hero-pro h1,
  .client-shell-body .client-command-hero h1,
  .client-shell-body .client-hero h1{
    font-size:32px!important;
  }
  .client-shell-body .cards.premium-kpis,
  .client-shell-body .kpi-5,
  .client-shell-body .client-module-grid,
  .client-shell-body .employee-card-grid,
  .client-shell-body .time-kpi-advanced,
  .client-shell-body .time-hero-badges-pro{
    grid-template-columns:1fr!important;
  }
}

/* =========================================================
   VERSIONE 116 - Area azienda più delicata e professionale
   Solo area cliente/azienda. Sfondi chiari, bordi sottili,
   ombre quasi assenti, tipografia più leggera.
   ========================================================= */
.client-shell-body{
  background:linear-gradient(180deg,#f8fafc 0%,#f6f8fb 45%,#f8fafc 100%)!important;
  color:#1f2937!important;
  -webkit-font-smoothing:antialiased;
  text-rendering:optimizeLegibility;
}
.client-shell-body .client-main,
.client-shell-body .appdash.client-area,
.client-shell-body .full-client-page,
.client-shell-body main.client-main{
  max-width:none!important;
  width:100%!important;
  padding:24px 28px 46px!important;
}
.client-shell-body .client-topbar{
  background:rgba(255,255,255,.92)!important;
  border-bottom:1px solid #e8edf3!important;
  box-shadow:0 1px 0 rgba(15,23,42,.02)!important;
  backdrop-filter:blur(14px)!important;
}
.client-shell-body .client-top-inner{padding:13px 24px!important;gap:16px!important}
.client-shell-body .client-brand small{color:#7b8794!important;font-weight:500!important;letter-spacing:0!important}
.client-shell-body .client-nav a{
  color:#667085!important;
  background:transparent!important;
  border:1px solid transparent!important;
  border-radius:12px!important;
  font-weight:500!important;
  padding:9px 11px!important;
  letter-spacing:0!important;
}
.client-shell-body .client-nav a:hover,
.client-shell-body .client-nav a.active{
  background:#f1f7f4!important;
  color:#126b48!important;
  border-color:#dbeee5!important;
}
.client-shell-body .plan-pill{
  background:#f8fafc!important;
  color:#526173!important;
  border:1px solid #e1e8f0!important;
  font-weight:500!important;
  box-shadow:none!important;
}

/* Hero aziendali: più chiari, meno “banner scuro” */
.client-shell-body .client-hero-pro,
.client-shell-body .client-command-hero,
.client-shell-body .client-hero,
.client-shell-body .employee-hero,
.client-shell-body .time-hero,
.client-shell-body .dashboard-hero{
  background:linear-gradient(135deg,#ffffff 0%,#f8fbff 58%,#f4fbf7 100%)!important;
  color:#1f2937!important;
  border:1px solid #e4ebf2!important;
  border-radius:26px!important;
  box-shadow:0 10px 30px rgba(15,23,42,.045)!important;
  padding:26px!important;
  overflow:hidden!important;
}
.client-shell-body .client-hero-pro h1,
.client-shell-body .client-command-hero h1,
.client-shell-body .client-hero h1,
.client-shell-body .employee-hero h1,
.client-shell-body .time-hero h1{
  color:#182230!important;
  font-weight:640!important;
  letter-spacing:-.045em!important;
  line-height:1.04!important;
}
.client-shell-body .client-hero-pro p,
.client-shell-body .client-command-hero p,
.client-shell-body .client-hero p,
.client-shell-body .employee-hero p,
.client-shell-body .time-hero p{
  color:#667085!important;
  font-weight:400!important;
  line-height:1.55!important;
}
.client-shell-body .kicker,
.client-shell-body .kicker.light,
.client-shell-body .eyebrow{
  color:#15855a!important;
  background:#f0fbf5!important;
  border:1px solid #d8f3e4!important;
  border-radius:999px!important;
  padding:6px 10px!important;
  font-weight:560!important;
  letter-spacing:.035em!important;
}
.client-shell-body .hero-command-card,
.client-shell-body .command-card,
.client-shell-body .hero-side-card{
  background:#ffffff!important;
  border:1px solid #e5ebf2!important;
  color:#1f2937!important;
  box-shadow:0 8px 24px rgba(15,23,42,.04)!important;
  border-radius:22px!important;
}
.client-shell-body .command-row{
  border-bottom:1px solid #edf2f7!important;
  padding:10px 0!important;
}
.client-shell-body .command-row:last-child{border-bottom:0!important}
.client-shell-body .command-row span{
  color:#7b8794!important;
  font-weight:500!important;
  letter-spacing:.025em!important;
}
.client-shell-body .command-row b,
.client-shell-body .hero-command-card b{
  color:#1f2937!important;
  font-weight:650!important;
}

/* Card e pannelli: bordi leggeri, sfondi delicati */
.client-shell-body .panel,
.client-shell-body .client-panel,
.client-shell-body .client-module-card,
.client-shell-body .employee-pro-card,
.client-shell-body .employee-expanded-card,
.client-shell-body .request-card,
.client-shell-body .setting-card,
.client-shell-body .report-card,
.client-shell-body .time-card,
.client-shell-body .timecheck-card,
.client-shell-body .manual-clock-card,
.client-shell-body .terminal-pin-card,
.client-shell-body .time-employee-card,
.client-shell-body .dashboard-card,
.client-shell-body .summary-card,
.client-shell-body .employee-form-section,
.client-shell-body .client-dashboard-card{
  background:#ffffff!important;
  border:1px solid #e4ebf2!important;
  border-radius:22px!important;
  box-shadow:0 8px 24px rgba(15,23,42,.035)!important;
  color:#243041!important;
}
.client-shell-body .panel:hover,
.client-shell-body .client-module-card:hover,
.client-shell-body .employee-pro-card:hover,
.client-shell-body .time-employee-card:hover{
  box-shadow:0 12px 30px rgba(15,23,42,.055)!important;
  border-color:#dce6ef!important;
  transform:none!important;
}
.client-shell-body .client-module-card h2,
.client-shell-body .employee-pro-head h3,
.client-shell-body .section-head h2,
.client-shell-body .employee-form-section h3,
.client-shell-body .panel h2,
.client-shell-body .panel h3{
  color:#1f2937!important;
  font-weight:620!important;
  letter-spacing:-.02em!important;
}
.client-shell-body .client-module-card p,
.client-shell-body .employee-pro-head p,
.client-shell-body .section-head p,
.client-shell-body .muted,
.client-shell-body .panel p{
  color:#667085!important;
  font-weight:400!important;
}

/* KPI delicati ma leggibili */
.client-shell-body .cards,
.client-shell-body .premium-kpis,
.client-shell-body .kpi-5,
.client-shell-body .time-kpi-advanced,
.client-shell-body .time-hero-badges-pro{
  gap:14px!important;
}
.client-shell-body .stat,
.client-shell-body .kpi,
.client-shell-body .kpi-card,
.client-shell-body .time-kpi,
.client-shell-body .time-hero-badge,
.client-shell-body .mini-metric,
.client-shell-body .employee-pro-metrics div,
.client-shell-body .command-grid div,
.client-shell-body .metric-card{
  background:linear-gradient(180deg,#ffffff,#fbfdff)!important;
  border:1px solid #e4ebf2!important;
  border-radius:20px!important;
  box-shadow:0 6px 18px rgba(15,23,42,.028)!important;
  color:#243041!important;
}
.client-shell-body .stat b,
.client-shell-body .kpi b,
.client-shell-body .kpi-card b,
.client-shell-body .time-kpi b,
.client-shell-body .time-hero-badge b,
.client-shell-body .mini-metric b,
.client-shell-body .employee-pro-metrics b,
.client-shell-body .metric-card b,
.client-shell-body .big-number{
  color:#182230!important;
  font-weight:660!important;
}
.client-shell-body .stat span,
.client-shell-body .kpi span,
.client-shell-body .kpi-card span,
.client-shell-body .time-kpi span,
.client-shell-body .time-hero-badge span,
.client-shell-body .mini-metric span,
.client-shell-body .employee-pro-metrics span,
.client-shell-body .metric-card span{
  color:#7b8794!important;
  font-weight:500!important;
  letter-spacing:.015em!important;
}

/* Badge più professionali, non “urlati” */
.client-shell-body .locked-pill,
.client-shell-body .feature-chip,
.client-shell-body .employee-tags span,
.client-shell-body .deadline-badge,
.client-shell-body .shift-badge,
.client-shell-body .method-badge,
.client-shell-body .clock-pill,
.client-shell-body .pill,
.client-shell-body .section-chip,
.client-shell-body .time-filter-badge,
.client-shell-body .setup-score,
.client-shell-body .soft-badge,
.client-shell-body .field-tip,
.client-shell-body .status-badge,
.client-shell-body .badge{
  background:#f8fafc!important;
  color:#586579!important;
  border:1px solid #e4ebf2!important;
  border-radius:999px!important;
  box-shadow:none!important;
  font-weight:500!important;
  letter-spacing:0!important;
  text-transform:none!important;
}
.client-shell-body .pill.active,
.client-shell-body .pill.ok,
.client-shell-body .deadline-badge.ok,
.client-shell-body .clock-pill.ok,
.client-shell-body .status-badge.ok{
  background:#f3fbf6!important;
  color:#147847!important;
  border-color:#d5f0df!important;
}
.client-shell-body .deadline-badge.warning,
.client-shell-body .pill.warning,
.client-shell-body .clock-pill.warning,
.client-shell-body .status-badge.warning{
  background:#fffaf0!important;
  color:#9a6616!important;
  border-color:#f4dfb5!important;
}
.client-shell-body .deadline-badge.danger,
.client-shell-body .pill.danger,
.client-shell-body .clock-pill.danger,
.client-shell-body .status-badge.danger{
  background:#fff5f5!important;
  color:#b42318!important;
  border-color:#f6d0cc!important;
}

/* Form azienda: eleganti, leggeri, non grassetto */
.client-shell-body .form label,
.client-shell-body form label,
.client-shell-body .employee-full-form label,
.client-shell-body .terminal-pin-form label,
.client-shell-body .manual-clock-card label,
.client-shell-body .timecheck-control-panel label,
.client-shell-body .filter-form label{
  color:#667085!important;
  font-weight:450!important;
  font-size:13.5px!important;
  letter-spacing:0!important;
}
.client-shell-body input,
.client-shell-body select,
.client-shell-body textarea,
.client-shell-body .form input,
.client-shell-body .form select,
.client-shell-body .form textarea,
.client-shell-body .employee-full-form input,
.client-shell-body .employee-full-form select,
.client-shell-body .employee-full-form textarea{
  background:#ffffff!important;
  border:1px solid #e0e7ef!important;
  border-radius:14px!important;
  color:#243041!important;
  font-weight:400!important;
  box-shadow:0 1px 0 rgba(15,23,42,.015)!important;
  min-height:44px!important;
}
.client-shell-body textarea{line-height:1.55!important}
.client-shell-body input:hover,
.client-shell-body select:hover,
.client-shell-body textarea:hover{
  border-color:#d3deea!important;
}
.client-shell-body input:focus,
.client-shell-body select:focus,
.client-shell-body textarea:focus{
  border-color:#9cc8f3!important;
  box-shadow:0 0 0 4px rgba(156,200,243,.14)!important;
  outline:none!important;
}
.client-shell-body input::placeholder,
.client-shell-body textarea::placeholder{
  color:#a3acb8!important;
  font-weight:380!important;
}
.client-shell-body .inline-checks,
.client-shell-body .check-line,
.client-shell-body .employee-check-spaced{
  background:#fbfdff!important;
  border:1px solid #e5ebf2!important;
  border-radius:16px!important;
  color:#667085!important;
  font-weight:450!important;
  box-shadow:none!important;
}
.client-shell-body input[type="checkbox"],
.client-shell-body input[type="radio"]{
  min-height:auto!important;
  border-radius:6px!important;
}

/* Scheda dipendente più raffinata */
.client-shell-body .employee-form-topbar,
.client-shell-body .employee-form-alert{
  background:linear-gradient(135deg,#ffffff,#f9fbfd)!important;
  border:1px solid #e4ebf2!important;
  border-radius:22px!important;
  box-shadow:0 8px 22px rgba(15,23,42,.035)!important;
}
.client-shell-body .employee-form-topbar strong,
.client-shell-body .employee-form-alert strong{
  color:#243041!important;
  font-weight:600!important;
}
.client-shell-body .employee-form-topbar span,
.client-shell-body .employee-form-alert p{
  color:#667085!important;
  font-weight:400!important;
}
.client-shell-body .employee-form-nav{
  background:rgba(255,255,255,.88)!important;
  border:1px solid #e4ebf2!important;
  border-radius:16px!important;
  box-shadow:0 6px 18px rgba(15,23,42,.03)!important;
}
.client-shell-body .employee-form-nav a{
  color:#667085!important;
  font-weight:460!important;
  border-radius:12px!important;
}
.client-shell-body .employee-form-nav a.active,
.client-shell-body .employee-form-nav a:hover{
  background:#f4f9ff!important;
  color:#175cd3!important;
}
.client-shell-body .employee-section-header{
  border-bottom:1px solid #eef2f6!important;
  padding-bottom:12px!important;
  margin-bottom:16px!important;
}
.client-shell-body .modern-upload-box,
.client-shell-body .employee-photo-editor{
  background:#fbfdff!important;
  border:1px dashed #d5dee8!important;
  border-radius:20px!important;
  box-shadow:none!important;
}
.client-shell-body .modern-upload-trigger{
  background:#ffffff!important;
  border:1px solid #e1e8f0!important;
  border-radius:16px!important;
  box-shadow:none!important;
  color:#243041!important;
}
.client-shell-body .modern-upload-trigger strong{font-weight:560!important;color:#243041!important}
.client-shell-body .modern-upload-trigger small{font-weight:400!important;color:#7b8794!important}
.client-shell-body .upload-trigger-icon,
.client-shell-body .employee-photo-preview,
.client-shell-body .employee-avatar{
  background:linear-gradient(135deg,#f0f7ff,#effcf5)!important;
  color:#15704c!important;
  box-shadow:none!important;
  border:1px solid #dbe7ef!important;
}
.client-shell-body .missing-required{
  background:#fff9fa!important;
  border-color:#f6d0d6!important;
}
.client-shell-body .missing-required input,
.client-shell-body .missing-required select,
.client-shell-body .missing-required textarea{
  border-color:#f3aab6!important;
  box-shadow:0 0 0 4px rgba(244,63,94,.08)!important;
}

/* Timbrature: più “gestionale”, meno grafica pesante */
.client-shell-body .timeclock-layout,
.client-shell-body .timecheck-layout,
.client-shell-body .terminal-layout{
  gap:18px!important;
}
.client-shell-body .time-line,
.client-shell-body .clock-timeline,
.client-shell-body .timeline-item{
  border-color:#e8edf3!important;
}
.client-shell-body .clock-action,
.client-shell-body .time-action{
  background:#ffffff!important;
  border:1px solid #e4ebf2!important;
  color:#334155!important;
  border-radius:16px!important;
  box-shadow:none!important;
}
.client-shell-body .time-anomaly,
.client-shell-body .anomaly-box{
  background:#fffaf0!important;
  border:1px solid #f4dfb5!important;
  color:#8a5b10!important;
  border-radius:18px!important;
}

/* Tabelle più soft */
.client-shell-body table,
.client-shell-body .report-table{
  border-radius:18px!important;
  overflow:hidden!important;
  border:1px solid #e4ebf2!important;
  box-shadow:none!important;
}
.client-shell-body .report-table th,
.client-shell-body table th{
  background:#f8fafc!important;
  color:#667085!important;
  font-weight:520!important;
  border-bottom:1px solid #e4ebf2!important;
}
.client-shell-body .report-table td,
.client-shell-body table td{
  color:#344054!important;
  font-weight:400!important;
  border-color:#eef2f6!important;
}
.client-shell-body tr:hover td{background:#fbfdff!important}

/* Planning e griglie */
.client-shell-body .board-day,
.client-shell-body .shift-cell,
.client-shell-body .employee-name-cell{
  background:#ffffff!important;
  border:1px solid #e4ebf2!important;
  border-radius:18px!important;
  box-shadow:none!important;
}
.client-shell-body .board-shift,
.client-shell-body .shift-block,
.client-shell-body .shift-item{
  background:#fbfdff!important;
  border:1px solid #e8edf3!important;
  box-shadow:none!important;
  border-radius:14px!important;
}

/* Bottoni più eleganti */
.client-shell-body .btn,
.client-shell-body button.btn,
.client-shell-body .hero-actions .btn{
  border-radius:14px!important;
  font-weight:520!important;
  letter-spacing:0!important;
  box-shadow:none!important;
}
.client-shell-body .btn.primary,
.client-shell-body button.btn.primary{
  background:#17875d!important;
  border-color:#17875d!important;
  color:#ffffff!important;
}
.client-shell-body .btn.primary:hover,
.client-shell-body button.btn.primary:hover{
  background:#14724f!important;
  border-color:#14724f!important;
}
.client-shell-body .btn:not(.primary),
.client-shell-body button.btn:not(.primary){
  background:#ffffff!important;
  border:1px solid #dfe7ef!important;
  color:#344054!important;
}
.client-shell-body .btn:not(.primary):hover,
.client-shell-body button.btn:not(.primary):hover{
  background:#f8fafc!important;
  border-color:#d2dde8!important;
}
.client-shell-body .sticky-form-actions{
  background:rgba(255,255,255,.90)!important;
  border:1px solid #e4ebf2!important;
  border-radius:20px!important;
  box-shadow:0 10px 28px rgba(15,23,42,.055)!important;
}

/* Layout full width più composto */
.client-shell-body .client-dashboard-layout,
.client-shell-body .client-dashboard-grid,
.client-shell-body .planner-pro-layout,
.client-shell-body .timeclock-layout,
.client-shell-body .settings-grid-pro,
.client-shell-body .employee-card-grid,
.client-shell-body .client-module-grid{
  width:100%!important;
}
.client-shell-body .client-module-grid{grid-template-columns:repeat(auto-fit,minmax(260px,1fr))!important}
.client-shell-body .employee-card-grid{grid-template-columns:repeat(auto-fit,minmax(320px,1fr))!important}
.client-shell-body .cards.premium-kpis,
.client-shell-body .kpi-5,
.client-shell-body .time-kpi-advanced,
.client-shell-body .time-hero-badges-pro{grid-template-columns:repeat(auto-fit,minmax(190px,1fr))!important}

@media(max-width:900px){
  .client-shell-body .client-main,
  .client-shell-body .appdash.client-area,
  .client-shell-body .full-client-page,
  .client-shell-body main.client-main{padding:14px!important}
  .client-shell-body .client-hero-pro,
  .client-shell-body .client-command-hero,
  .client-shell-body .client-hero,
  .client-shell-body .employee-hero,
  .client-shell-body .time-hero{padding:18px!important;border-radius:20px!important}
  .client-shell-body .client-hero-pro h1,
  .client-shell-body .client-command-hero h1,
  .client-shell-body .client-hero h1,
  .client-shell-body .employee-hero h1,
  .client-shell-body .time-hero h1{font-size:30px!important;letter-spacing:-.035em!important}
  .client-shell-body .client-module-grid,
  .client-shell-body .employee-card-grid,
  .client-shell-body .cards.premium-kpis,
  .client-shell-body .kpi-5,
  .client-shell-body .time-kpi-advanced,
  .client-shell-body .time-hero-badges-pro{grid-template-columns:1fr!important}
}

/* =========================================================
   VERSIONE 117 - FIX HERO PUBBLICA: niente elementi nascosti/sovrapposti
   Obiettivo: il box "Flusso operativo" non deve coprire testi o card sotto.
   Solo CSS/HTML esistente, nessuna immagine aggiunta.
   ========================================================= */
.product-public-page .hero-visual{
  position:relative!important;
  display:flex!important;
  flex-direction:column!important;
  align-items:stretch!important;
  gap:16px!important;
  overflow:visible!important;
}
.product-public-page .software-frame.upgraded-frame{
  position:relative!important;
  z-index:1!important;
  order:1!important;
  margin-bottom:0!important;
}
.product-public-page .hero-visual .floating-card.feature-callout{
  position:relative!important;
  order:2!important;
  right:auto!important;
  bottom:auto!important;
  left:auto!important;
  top:auto!important;
  z-index:2!important;
  width:min(575px,100%)!important;
  margin:0 0 0 auto!important;
  transform:none!important;
  opacity:1!important;
  background:#ffffff!important;
  border:1px solid #e2e8f0!important;
  box-shadow:0 10px 28px rgba(15,23,42,.055)!important;
}
.product-public-page .hero-visual .floating-card.feature-callout::before,
.product-public-page .hero-visual .floating-card.feature-callout::after{
  display:none!important;
  content:none!important;
}
.product-public-page .no-image-fill,
.product-public-page .hero-right-fill.no-image-fill{
  position:relative!important;
  order:3!important;
  z-index:3!important;
  width:min(575px,100%)!important;
  margin:0 0 0 auto!important;
  clear:both!important;
  isolation:isolate!important;
  overflow:hidden!important;
  opacity:1!important;
  background:
    radial-gradient(circle at 96% 0%, rgba(37,99,235,.11), transparent 34%),
    linear-gradient(135deg,#ffffff 0%,#f8fbff 100%)!important;
  backdrop-filter:none!important;
}
.product-public-page .no-image-fill::before,
.product-public-page .no-image-fill::after,
.product-public-page .hero-right-fill.no-image-fill::before,
.product-public-page .hero-right-fill.no-image-fill::after{
  display:none!important;
  content:none!important;
}
.product-public-page .right-fill-head,
.product-public-page .right-fill-steps,
.product-public-page .right-fill-metrics{
  position:relative!important;
  z-index:4!important;
}
.product-public-page .right-fill-head strong{
  text-shadow:none!important;
}
.product-public-page .hero.sales-hero{
  overflow:visible!important;
  padding-bottom:24px!important;
}
.product-public-page .hero.sales-hero + .section,
.product-public-page #prodotto{
  padding-top:18px!important;
  margin-top:0!important;
  position:relative!important;
  z-index:0!important;
}
@media(max-width:980px){
  .product-public-page .hero-visual .floating-card.feature-callout,
  .product-public-page .no-image-fill,
  .product-public-page .hero-right-fill.no-image-fill{
    width:100%!important;
    margin:0!important;
  }
}

/* =========================================================
   VERSIONE 118 - Area azienda più bella, delicata e guidata
   Solo lato azienda: interfaccia full width, luminosa, ordinata,
   con card morbide e percorsi d'uso più leggibili.
   ========================================================= */
.client-shell-body{
  --sm-app-bg:#f7f9fc;
  --sm-card:#ffffff;
  --sm-card-soft:#fbfdff;
  --sm-line:#e5ecf4;
  --sm-line-strong:#d8e2ed;
  --sm-text:#172033;
  --sm-muted:#66758a;
  --sm-soft:#f3f7fb;
  --sm-green:#17875d;
  --sm-blue:#2563eb;
  --sm-blue-soft:#eef5ff;
  --sm-green-soft:#f0faf5;
  --sm-amber-soft:#fff8ec;
  background:
    radial-gradient(circle at 14% 0%, rgba(37,99,235,.055), transparent 32%),
    radial-gradient(circle at 92% 12%, rgba(23,135,93,.06), transparent 34%),
    linear-gradient(180deg,#fbfcfe 0%, var(--sm-app-bg) 100%)!important;
  color:var(--sm-text)!important;
}
.client-shell-body .client-main,
.client-shell-body main.client-main{
  max-width:none!important;
  width:100%!important;
  padding:22px 26px 54px!important;
}
.client-shell-body .client-topbar{
  background:rgba(255,255,255,.86)!important;
  border-bottom:1px solid rgba(229,236,244,.95)!important;
  box-shadow:0 1px 0 rgba(15,23,42,.025)!important;
}
.client-shell-body .client-top-inner{padding:12px 24px!important}
.client-shell-body .client-nav{
  gap:6px!important;
}
.client-shell-body .client-nav a{
  border-radius:999px!important;
  font-size:13.5px!important;
  font-weight:520!important;
  padding:9px 13px!important;
  color:#607086!important;
}
.client-shell-body .client-nav a.active,
.client-shell-body .client-nav a:hover{
  background:#ffffff!important;
  color:#166b4d!important;
  border-color:#dbeee5!important;
  box-shadow:0 6px 16px rgba(15,23,42,.045)!important;
}
.client-shell-body .plan-pill{
  background:#ffffff!important;
  border:1px solid var(--sm-line)!important;
  color:#607086!important;
  border-radius:999px!important;
  font-size:12px!important;
}

/* Hero dashboard e pagine azienda: più software, meno banner */
.client-shell-body .client-hero-pro,
.client-shell-body .client-command-hero,
.client-shell-body .employee-hero,
.client-shell-body .time-hero,
.client-shell-body .dashboard-hero{
  background:
    linear-gradient(135deg,rgba(255,255,255,.96),rgba(249,252,255,.96) 60%,rgba(241,250,246,.92))!important;
  border:1px solid var(--sm-line)!important;
  border-radius:24px!important;
  box-shadow:0 12px 32px rgba(15,23,42,.045)!important;
  padding:24px!important;
  gap:22px!important;
}
.client-shell-body .client-hero-sales{
  grid-template-columns:minmax(0,1.35fr) minmax(360px,.68fr)!important;
  align-items:stretch!important;
}
.client-shell-body .client-hero-sales .hero-copy{
  display:flex!important;
  flex-direction:column!important;
  justify-content:center!important;
  min-height:280px!important;
}
.client-shell-body .client-hero-pro h1,
.client-shell-body .employee-hero h1,
.client-shell-body .time-hero h1{
  max-width:980px!important;
  color:#182033!important;
  font-size:clamp(34px,3vw,54px)!important;
  font-weight:630!important;
  letter-spacing:-.052em!important;
  line-height:1.02!important;
}
.client-shell-body .client-hero-pro p,
.client-shell-body .employee-hero p,
.client-shell-body .time-hero p{
  color:#66758a!important;
  font-size:17px!important;
  font-weight:410!important;
  max-width:920px!important;
}
.client-shell-body .kicker,
.client-shell-body .kicker.light,
.client-shell-body .eyebrow{
  display:inline-flex!important;
  width:max-content!important;
  align-items:center!important;
  gap:7px!important;
  background:#f2fbf6!important;
  color:#168055!important;
  border:1px solid #d9f0e4!important;
  border-radius:999px!important;
  padding:7px 12px!important;
  letter-spacing:.04em!important;
  font-weight:560!important;
  font-size:12px!important;
  text-transform:uppercase!important;
}

/* Piano attivo: elegante e chiaro */
.client-shell-body .plan-status-card,
.client-shell-body .hero-command-card{
  background:linear-gradient(180deg,#ffffff,#fbfdff)!important;
  border:1px solid var(--sm-line)!important;
  border-radius:24px!important;
  box-shadow:0 10px 28px rgba(15,23,42,.04)!important;
  color:var(--sm-text)!important;
}
.client-shell-body .plan-card-head{
  background:linear-gradient(135deg,#f2fbf6,#fbfffd)!important;
  border:1px solid #d7f0e2!important;
  border-radius:20px!important;
  padding:18px!important;
  margin-bottom:14px!important;
}
.client-shell-body .plan-card-head span{
  color:#6a7788!important;
  font-weight:560!important;
  letter-spacing:.08em!important;
}
.client-shell-body .plan-card-head strong{
  color:#103820!important;
  font-size:32px!important;
  font-weight:640!important;
  letter-spacing:-.04em!important;
}
.client-shell-body .plan-card-head small{color:#6a7788!important;font-weight:440!important}
.client-shell-body .plan-mini-grid{gap:12px!important}
.client-shell-body .plan-mini-grid div,
.client-shell-body .command-grid div,
.client-shell-body .control-room-grid div,
.client-shell-body .mini-quality-list div{
  background:#ffffff!important;
  border:1px solid var(--sm-line)!important;
  border-radius:18px!important;
  box-shadow:0 5px 14px rgba(15,23,42,.025)!important;
}
.client-shell-body .plan-mini-grid b,
.client-shell-body .control-room-grid strong,
.client-shell-body .mini-quality-list b{
  color:#162033!important;
  font-weight:650!important;
  letter-spacing:-.035em!important;
}
.client-shell-body .plan-mini-grid span,
.client-shell-body .control-room-grid span,
.client-shell-body .mini-quality-list span{
  color:#6b778a!important;
  font-weight:500!important;
  letter-spacing:.02em!important;
}
.client-shell-body .plan-progress-box{
  background:#ffffff!important;
  border:1px solid var(--sm-line)!important;
  border-radius:18px!important;
  padding:15px!important;
  margin:14px 0!important;
}
.client-shell-body .plan-progress,
.client-shell-body .setup-progress{
  background:#edf3f8!important;
  border-radius:999px!important;
  overflow:hidden!important;
  height:10px!important;
}
.client-shell-body .plan-progress i,
.client-shell-body .setup-progress i{
  display:block!important;
  height:100%!important;
  border-radius:999px!important;
  background:linear-gradient(90deg,#28a46d,#85e0af)!important;
}
.client-shell-body .plan-config-link{
  background:#17875d!important;
  color:#fff!important;
  border-radius:16px!important;
  min-height:48px!important;
  display:grid!important;
  place-items:center!important;
  font-weight:590!important;
  box-shadow:none!important;
}

/* Nuovo percorso guidato: la pagina azienda deve sembrare facile */
.dashboard-ease-strip{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:14px;
  margin:18px 0 14px;
}
.dashboard-ease-strip a{
  background:linear-gradient(180deg,#ffffff,#fbfdff);
  border:1px solid var(--sm-line);
  border-radius:20px;
  padding:18px;
  min-height:138px;
  box-shadow:0 8px 22px rgba(15,23,42,.035);
  color:var(--sm-text);
  display:flex;
  flex-direction:column;
  gap:8px;
}
.dashboard-ease-strip a:hover{
  border-color:#cfe0ef;
  background:#ffffff;
  transform:translateY(-1px);
  box-shadow:0 12px 28px rgba(15,23,42,.055);
}
.dashboard-ease-strip span{
  width:38px;
  height:30px;
  border-radius:999px;
  display:grid;
  place-items:center;
  background:#eef5ff;
  color:#235bd6;
  border:1px solid #d8e7ff;
  font-weight:650;
  font-size:12px;
}
.dashboard-ease-strip b{
  color:#182033;
  font-size:18px;
  font-weight:620;
  letter-spacing:-.018em;
}
.dashboard-ease-strip em{
  color:#66758a;
  font-style:normal;
  line-height:1.45;
  font-size:14px;
}
.dashboard-soft-note{
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:18px;
  background:linear-gradient(90deg,#f6fbff,#ffffff 52%,#f4fbf7);
  border:1px solid var(--sm-line);
  border-left:4px solid #81b8ff;
  border-radius:20px;
  padding:18px 20px;
  margin:0 0 16px;
  box-shadow:0 8px 20px rgba(15,23,42,.025);
}
.dashboard-soft-note strong{display:block;color:#182033;font-weight:620;margin-bottom:3px}
.dashboard-soft-note p{margin:0;color:#66758a;line-height:1.5}

/* KPI e card: più belli, ma delicati */
.client-shell-body .premium-kpis,
.client-shell-body .kpi-5,
.client-shell-body .cards{
  gap:14px!important;
}
.client-shell-body .kpi,
.client-shell-body .stat,
.client-shell-body .time-kpi,
.client-shell-body .time-hero-badge,
.client-shell-body .mini-metric,
.client-shell-body .metric-card{
  position:relative!important;
  background:linear-gradient(180deg,#ffffff,#fbfdff)!important;
  border:1px solid var(--sm-line)!important;
  border-radius:20px!important;
  box-shadow:0 7px 18px rgba(15,23,42,.03)!important;
  padding:18px!important;
  min-height:112px!important;
  overflow:hidden!important;
}
.client-shell-body .kpi:before,
.client-shell-body .stat:before,
.client-shell-body .time-kpi:before,
.client-shell-body .metric-card:before{
  content:""!important;
  position:absolute!important;
  left:18px!important;
  top:14px!important;
  width:34px!important;
  height:4px!important;
  border-radius:999px!important;
  background:linear-gradient(90deg,#1ea36e,#8ee0b2)!important;
}
.client-shell-body .kpi:nth-child(2):before{background:linear-gradient(90deg,#2563eb,#93c5fd)!important}
.client-shell-body .kpi:nth-child(3):before{background:linear-gradient(90deg,#f59e0b,#fed7aa)!important}
.client-shell-body .kpi:nth-child(4):before{background:linear-gradient(90deg,#8b5cf6,#c4b5fd)!important}
.client-shell-body .kpi:nth-child(5):before{background:linear-gradient(90deg,#0ea5e9,#a5f3fc)!important}
.client-shell-body .kpi span,
.client-shell-body .stat span,
.client-shell-body .time-kpi span{
  color:#6d7a8c!important;
  font-weight:520!important;
  font-size:12.5px!important;
  text-transform:uppercase!important;
  letter-spacing:.045em!important;
  margin-top:8px!important;
}
.client-shell-body .kpi strong,
.client-shell-body .stat strong,
.client-shell-body .time-kpi b{
  display:block!important;
  color:#182033!important;
  font-size:34px!important;
  font-weight:650!important;
  letter-spacing:-.045em!important;
  margin-top:18px!important;
}

/* Pannelli e moduli: uniformi, facili da leggere */
.client-shell-body .panel,
.client-shell-body .client-panel,
.client-shell-body .client-module-card,
.client-shell-body .employee-pro-card,
.client-shell-body .employee-form-section,
.client-shell-body .time-employee-card,
.client-shell-body .manual-clock-card,
.client-shell-body .terminal-pin-card,
.client-shell-body .request-card,
.client-shell-body .report-card,
.client-shell-body .setting-card{
  background:rgba(255,255,255,.94)!important;
  border:1px solid var(--sm-line)!important;
  border-radius:22px!important;
  box-shadow:0 8px 24px rgba(15,23,42,.032)!important;
}
.client-shell-body .panel:hover,
.client-shell-body .client-panel:hover,
.client-shell-body .client-module-card:hover,
.client-shell-body .employee-pro-card:hover{
  border-color:#d7e2ed!important;
  box-shadow:0 12px 30px rgba(15,23,42,.052)!important;
}
.client-shell-body .section-head{
  align-items:flex-start!important;
  gap:18px!important;
}
.client-shell-body .section-head h2,
.client-shell-body .panel h2,
.client-shell-body .client-panel h2,
.client-shell-body .client-module-card h2{
  color:#182033!important;
  font-weight:630!important;
  letter-spacing:-.035em!important;
}
.client-shell-body .section-head p,
.client-shell-body .panel p,
.client-shell-body .client-panel p,
.client-shell-body .client-module-card p{
  color:#66758a!important;
  font-weight:410!important;
}
.client-shell-body .module-icon{
  width:46px!important;
  height:46px!important;
  display:grid!important;
  place-items:center!important;
  border-radius:16px!important;
  background:#f2fbf6!important;
  border:1px solid #d9f0e4!important;
  font-size:22px!important;
}
.client-shell-body .client-module-card{
  min-height:230px!important;
  display:flex!important;
  flex-direction:column!important;
  gap:12px!important;
}
.client-shell-body .client-module-card p{flex:1!important}

/* Badge: più curati, non pesanti */
.client-shell-body .feature-chip,
.client-shell-body .employee-tags span,
.client-shell-body .deadline-badge,
.client-shell-body .shift-badge,
.client-shell-body .method-badge,
.client-shell-body .clock-pill,
.client-shell-body .pill,
.client-shell-body .section-chip,
.client-shell-body .status-badge,
.client-shell-body .badge,
.client-shell-body .locked-pill{
  background:#ffffff!important;
  border:1px solid var(--sm-line)!important;
  color:#5f6f84!important;
  box-shadow:0 3px 10px rgba(15,23,42,.022)!important;
  border-radius:999px!important;
  font-weight:520!important;
  letter-spacing:.005em!important;
  text-transform:none!important;
}
.client-shell-body .feature-chip:hover,
.client-shell-body .employee-tags span:hover{
  background:#f8fbff!important;
  border-color:#d7e2ed!important;
}

/* Form: più professionali, leggeri, facili da compilare */
.client-shell-body .form label,
.client-shell-body form label,
.client-shell-body .employee-full-form label,
.client-shell-body .manual-clock-card label,
.client-shell-body .terminal-pin-form label,
.client-shell-body .timecheck-control-panel label{
  color:#657286!important;
  font-weight:430!important;
  font-size:13.5px!important;
}
.client-shell-body input,
.client-shell-body select,
.client-shell-body textarea,
.client-shell-body .form input,
.client-shell-body .form select,
.client-shell-body .form textarea{
  background:#ffffff!important;
  border:1px solid #dfe8f2!important;
  border-radius:14px!important;
  color:#243041!important;
  min-height:44px!important;
  box-shadow:0 1px 0 rgba(15,23,42,.015)!important;
  font-weight:410!important;
}
.client-shell-body input:hover,
.client-shell-body select:hover,
.client-shell-body textarea:hover{border-color:#cedae8!important}
.client-shell-body input:focus,
.client-shell-body select:focus,
.client-shell-body textarea:focus{
  border-color:#a8ccf5!important;
  box-shadow:0 0 0 4px rgba(37,99,235,.09)!important;
}
.client-shell-body ::placeholder{color:#9da8b6!important;font-weight:390!important}
.client-shell-body .employee-form-section{
  padding:22px!important;
}
.client-shell-body .employee-section-header{
  margin:-2px 0 18px!important;
  padding-bottom:14px!important;
  border-bottom:1px solid #edf2f7!important;
}
.client-shell-body .employee-form-nav{
  position:sticky!important;
  top:74px!important;
  z-index:4!important;
  background:rgba(255,255,255,.90)!important;
  backdrop-filter:blur(14px)!important;
  border:1px solid var(--sm-line)!important;
  box-shadow:0 6px 18px rgba(15,23,42,.035)!important;
}
.client-shell-body .modern-upload-box{
  background:linear-gradient(135deg,#fbfdff,#ffffff)!important;
  border:1px dashed #d7e1ec!important;
}
.client-shell-body .modern-upload-trigger{
  border-radius:16px!important;
  background:#ffffff!important;
  border:1px solid #dfe8f2!important;
}

/* Pulsanti: gradevoli e chiari */
.client-shell-body .btn,
.client-shell-body button.btn,
.client-shell-body .hero-actions .btn{
  border-radius:14px!important;
  font-weight:550!important;
  min-height:42px!important;
  box-shadow:none!important;
  letter-spacing:0!important;
}
.client-shell-body .btn.primary,
.client-shell-body button.btn.primary{
  background:#17875d!important;
  border-color:#17875d!important;
  color:#ffffff!important;
}
.client-shell-body .btn.primary:hover,
.client-shell-body button.btn.primary:hover{
  background:#126f4d!important;
  border-color:#126f4d!important;
  transform:translateY(-1px)!important;
}
.client-shell-body .btn:not(.primary),
.client-shell-body button.btn:not(.primary){
  background:#ffffff!important;
  border:1px solid #dfe8f2!important;
  color:#35445a!important;
}
.client-shell-body .btn:not(.primary):hover,
.client-shell-body button.btn:not(.primary):hover{
  background:#f8fbff!important;
  border-color:#cfdae7!important;
}

/* Liste, timeline e righe operative */
.client-shell-body .today-shift-row,
.client-shell-body .activity-list div,
.client-shell-body .setup-item,
.client-shell-body .contract-mini-row,
.client-shell-body .smart-alert,
.client-shell-body .sector-step,
.client-shell-body .upgrade-card{
  background:#ffffff!important;
  border:1px solid var(--sm-line)!important;
  border-radius:16px!important;
  box-shadow:0 5px 14px rgba(15,23,42,.025)!important;
}
.client-shell-body .today-shift-row:hover,
.client-shell-body .setup-item:hover,
.client-shell-body .sector-step:hover,
.client-shell-body .upgrade-card:hover{
  border-color:#d6e1ec!important;
  background:#fbfdff!important;
}
.client-shell-body .empty-state{
  background:linear-gradient(135deg,#ffffff,#fbfdff)!important;
  border:1px dashed #d8e2ed!important;
  border-radius:20px!important;
}

/* Tabelle più eleganti */
.client-shell-body table,
.client-shell-body .report-table{
  border:1px solid var(--sm-line)!important;
  border-radius:18px!important;
  overflow:hidden!important;
  box-shadow:none!important;
}
.client-shell-body table th,
.client-shell-body .report-table th{
  background:#f8fafc!important;
  color:#657286!important;
  font-weight:540!important;
  letter-spacing:.015em!important;
}
.client-shell-body table td,
.client-shell-body .report-table td{
  color:#334155!important;
  border-color:#eef2f7!important;
}

@media(max-width:1180px){
  .client-shell-body .client-hero-sales{grid-template-columns:1fr!important}
  .dashboard-ease-strip{grid-template-columns:repeat(2,minmax(0,1fr))}
  .dashboard-soft-note{align-items:flex-start;flex-direction:column}
}
@media(max-width:760px){
  .client-shell-body .client-main,
  .client-shell-body main.client-main{padding:14px!important}
  .dashboard-ease-strip{grid-template-columns:1fr}
  .client-shell-body .client-hero-pro,
  .client-shell-body .client-command-hero,
  .client-shell-body .employee-hero,
  .client-shell-body .time-hero{padding:18px!important;border-radius:20px!important}
  .client-shell-body .client-hero-pro h1,
  .client-shell-body .employee-hero h1,
  .client-shell-body .time-hero h1{font-size:32px!important}
  .client-shell-body .employee-form-nav{position:static!important;overflow:auto!important}
}

/* =========================================================
   VERSIONE 119 - ALLINEAMENTO TESTI E CARD DIPENDENTI
   Obiettivo: niente testi nascosti, card più leggibili, allineamenti stabili.
   Solo area azienda, nessuna immagine, nessuna modifica database.
   ========================================================= */
.client-shell-body{
  --sm-bg:#f7f9fc;
  --sm-card:#ffffff;
  --sm-card-soft:#fbfcfe;
  --sm-line:#e6edf5;
  --sm-line-strong:#d9e4ef;
  --sm-text:#1f2a37;
  --sm-muted:#667085;
  --sm-soft-blue:#f6f9ff;
  --sm-soft-green:#f6fcf8;
}
.client-shell-body .client-main{
  width:100%!important;
  max-width:none!important;
  padding:22px 24px 42px!important;
  background:var(--sm-bg)!important;
}
.client-shell-body .panel,
.client-shell-body .client-panel,
.client-shell-body .employee-form-panel{
  width:100%!important;
  max-width:none!important;
  overflow:visible!important;
}
.client-shell-body *{
  box-sizing:border-box!important;
}
.client-shell-body .employee-card-grid{
  display:grid!important;
  grid-template-columns:repeat(auto-fit,minmax(520px,1fr))!important;
  gap:18px!important;
  align-items:stretch!important;
  width:100%!important;
  overflow:visible!important;
}
.client-shell-body .employee-pro-card,
.client-shell-body .employee-expanded-card{
  display:flex!important;
  flex-direction:column!important;
  gap:14px!important;
  min-height:0!important;
  height:auto!important;
  overflow:visible!important;
  position:relative!important;
  padding:18px!important;
  border-radius:24px!important;
  background:linear-gradient(180deg,#fff,#fcfdff)!important;
  border:1px solid var(--sm-line)!important;
  box-shadow:0 8px 22px rgba(15,23,42,.035)!important;
}
.client-shell-body .employee-expanded-card:before,
.client-shell-body .employee-expanded-card:after,
.client-shell-body .employee-pro-card:before,
.client-shell-body .employee-pro-card:after{
  display:none!important;
  content:none!important;
}
.client-shell-body .employee-pro-head{
  display:grid!important;
  grid-template-columns:56px minmax(0,1fr) auto!important;
  gap:12px!important;
  align-items:center!important;
  min-width:0!important;
}
.client-shell-body .employee-avatar,
.client-shell-body .employee-photo-avatar{
  width:56px!important;
  height:56px!important;
  min-width:56px!important;
  border-radius:18px!important;
  display:grid!important;
  place-items:center!important;
  background:#f3f8ff!important;
  border:1px solid #dce9f7!important;
  color:#2b5fd9!important;
  font-weight:650!important;
  font-size:18px!important;
  overflow:hidden!important;
}
.client-shell-body .employee-photo-avatar img{width:100%!important;height:100%!important;object-fit:cover!important;display:block!important}
.client-shell-body .employee-pro-head > div{
  min-width:0!important;
  overflow:visible!important;
}
.client-shell-body .employee-pro-head h3{
  margin:0!important;
  color:var(--sm-text)!important;
  font-size:19px!important;
  line-height:1.22!important;
  font-weight:620!important;
  letter-spacing:-.018em!important;
  white-space:normal!important;
  overflow:visible!important;
  text-overflow:clip!important;
}
.client-shell-body .employee-pro-head p{
  margin:4px 0 0!important;
  color:var(--sm-muted)!important;
  font-size:14px!important;
  line-height:1.35!important;
  font-weight:400!important;
  white-space:normal!important;
  overflow:visible!important;
  text-overflow:clip!important;
}
.client-shell-body .employee-pro-head .pill{
  justify-self:end!important;
  align-self:start!important;
  max-width:120px!important;
  white-space:nowrap!important;
  padding:6px 10px!important;
  font-size:12px!important;
  line-height:1!important;
}
.client-shell-body .employee-pro-metrics{
  display:grid!important;
  grid-template-columns:repeat(4,minmax(0,1fr))!important;
  gap:10px!important;
  margin:0!important;
  width:100%!important;
}
.client-shell-body .employee-pro-metrics div{
  min-height:82px!important;
  padding:12px 10px!important;
  display:flex!important;
  flex-direction:column!important;
  justify-content:center!important;
  align-items:center!important;
  text-align:center!important;
  border-radius:18px!important;
  background:#fbfdff!important;
  border:1px solid var(--sm-line)!important;
  overflow:visible!important;
}
.client-shell-body .employee-pro-metrics b{
  display:block!important;
  font-size:24px!important;
  line-height:1.05!important;
  font-weight:630!important;
  color:var(--sm-text)!important;
  letter-spacing:-.03em!important;
  white-space:nowrap!important;
}
.client-shell-body .employee-pro-metrics span{
  display:block!important;
  margin-top:5px!important;
  color:#738096!important;
  font-size:11px!important;
  line-height:1.1!important;
  font-weight:500!important;
  letter-spacing:.01em!important;
  text-transform:none!important;
  white-space:normal!important;
}
.client-shell-body .employee-tags{
  display:flex!important;
  gap:7px!important;
  flex-wrap:wrap!important;
  align-items:flex-start!important;
  margin:0!important;
  overflow:visible!important;
  min-height:auto!important;
}
.client-shell-body .employee-tags span,
.client-shell-body .deadline-badge{
  display:inline-flex!important;
  align-items:center!important;
  min-height:28px!important;
  max-width:100%!important;
  padding:6px 10px!important;
  border-radius:999px!important;
  font-size:12px!important;
  line-height:1.15!important;
  font-weight:500!important;
  color:#5d6b7d!important;
  background:#ffffff!important;
  border:1px solid var(--sm-line)!important;
  white-space:normal!important;
  overflow:visible!important;
  text-overflow:clip!important;
  box-shadow:none!important;
}
.client-shell-body .employee-deadline-row{
  display:flex!important;
  flex-wrap:wrap!important;
  align-items:flex-start!important;
  gap:7px!important;
  margin:0!important;
  padding-top:2px!important;
  overflow:visible!important;
}
.client-shell-body .deadline-badge.empty{background:#fbfcfe!important;color:#7a8797!important;border-color:var(--sm-line)!important}
.client-shell-body .deadline-badge.ok{background:#f3fbf6!important;color:#147847!important;border-color:#d5f0df!important}
.client-shell-body .deadline-badge.warning{background:#fffaf0!important;color:#9a6616!important;border-color:#f4dfb5!important}
.client-shell-body .deadline-badge.danger{background:#fff5f5!important;color:#b42318!important;border-color:#f6d0cc!important}
.client-shell-body .employee-pro-card .hero-actions{
  margin-top:auto!important;
  padding-top:12px!important;
  border-top:1px solid var(--sm-line)!important;
  display:flex!important;
  flex-wrap:wrap!important;
  gap:8px!important;
  align-items:center!important;
  justify-content:flex-start!important;
  overflow:visible!important;
}
.client-shell-body .employee-pro-card .hero-actions form{
  display:inline-flex!important;
  margin:0!important;
  padding:0!important;
  background:transparent!important;
  border:0!important;
  box-shadow:none!important;
}
.client-shell-body .employee-pro-card .btn.small,
.client-shell-body .employee-pro-card button.btn.small{
  min-height:36px!important;
  padding:8px 12px!important;
  border-radius:12px!important;
  font-size:13px!important;
  line-height:1!important;
  font-weight:520!important;
  white-space:nowrap!important;
}
.client-shell-body .employee-pro-card button.btn.small{
  appearance:none!important;
}

/* Form e testi: meno effetto massa, più leggibilità */
.client-shell-body .form label,
.client-shell-body form label{
  color:#344054!important;
  font-weight:430!important;
  line-height:1.35!important;
  overflow:visible!important;
}
.client-shell-body .form input,
.client-shell-body .form select,
.client-shell-body .form textarea,
.client-shell-body form input,
.client-shell-body form select,
.client-shell-body form textarea{
  min-width:0!important;
  color:#1f2a37!important;
  font-weight:400!important;
  line-height:1.35!important;
}
.client-shell-body .section-head,
.client-shell-body .employee-section-header,
.client-shell-body .employee-form-topbar{
  min-width:0!important;
  overflow:visible!important;
}
.client-shell-body .section-head h2,
.client-shell-body .section-head p,
.client-shell-body .employee-section-header h3,
.client-shell-body .employee-section-header p,
.client-shell-body .employee-form-topbar strong,
.client-shell-body .employee-form-topbar span{
  overflow:visible!important;
  text-overflow:clip!important;
  white-space:normal!important;
  line-height:1.35!important;
}

@media(max-width:1120px){
  .client-shell-body .employee-card-grid{grid-template-columns:1fr!important}
}
@media(max-width:680px){
  .client-shell-body .client-main{padding:14px!important}
  .client-shell-body .employee-pro-head{grid-template-columns:48px minmax(0,1fr)!important}
  .client-shell-body .employee-pro-head .pill{grid-column:1 / -1!important;justify-self:start!important;margin-top:4px!important}
  .client-shell-body .employee-avatar,.client-shell-body .employee-photo-avatar{width:48px!important;height:48px!important;min-width:48px!important;border-radius:15px!important}
  .client-shell-body .employee-pro-metrics{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  .client-shell-body .employee-pro-metrics div{min-height:74px!important}
  .client-shell-body .employee-pro-card .hero-actions .btn.small,
  .client-shell-body .employee-pro-card .hero-actions form,
  .client-shell-body .employee-pro-card .hero-actions button.btn.small{width:100%!important}
}

/* =========================================================
   V120 · Area azienda: refinement delicato, full width, leggibilità
   ========================================================= */
.client-shell-body{
  --sm-bg:#f7f9fc;
  --sm-card:#ffffff;
  --sm-soft:#fbfdff;
  --sm-soft-2:#f4f7fb;
  --sm-line:#e6edf5;
  --sm-line-2:#dbe5ef;
  --sm-text:#182232;
  --sm-muted:#66758a;
  --sm-muted-2:#8793a5;
  --sm-accent:#168a55;
  --sm-accent-soft:#edf8f2;
  --sm-blue:#2563eb;
  --sm-blue-soft:#eff6ff;
  background:linear-gradient(180deg,#f8fafc 0%,#f6f8fb 100%)!important;
  color:var(--sm-text)!important;
  letter-spacing:-.006em;
}
.client-shell-body *{box-sizing:border-box}
.client-shell-body .client-main{
  width:100%!important;
  max-width:none!important;
  padding:22px 34px 52px!important;
}
.client-shell-body .client-topbar{
  background:rgba(255,255,255,.92)!important;
  border-bottom:1px solid var(--sm-line)!important;
  box-shadow:0 8px 26px rgba(24,34,50,.025)!important;
}
.client-shell-body .client-top-inner{
  width:100%!important;
  max-width:none!important;
  padding:12px 28px!important;
  gap:16px!important;
}
.client-shell-body .client-brand span{font-weight:560!important;color:var(--sm-text)!important}
.client-shell-body .client-brand small{font-weight:400!important;color:var(--sm-muted)!important}
.client-shell-body .client-nav{
  gap:6px!important;
  padding:3px!important;
  background:#f7f9fc!important;
  border:1px solid var(--sm-line)!important;
  border-radius:18px!important;
}
.client-shell-body .client-nav a{
  color:#526071!important;
  font-weight:500!important;
  border-radius:14px!important;
  padding:9px 12px!important;
  transition:background .16s ease,color .16s ease,box-shadow .16s ease;
}
.client-shell-body .client-nav a:hover,
.client-shell-body .client-nav a.active{
  background:#fff!important;
  color:#14573d!important;
  box-shadow:0 4px 12px rgba(24,34,50,.05)!important;
}
.client-shell-body .plan-pill{
  background:#f2f7f4!important;
  color:#216044!important;
  border:1px solid #d8eadf!important;
  font-weight:520!important;
  box-shadow:none!important;
}
.client-shell-body .client-hero-pro,
.client-shell-body .client-hero-sales{
  background:linear-gradient(135deg,#ffffff 0%,#fbfdff 58%,#f2f7ff 100%)!important;
  color:var(--sm-text)!important;
  border:1px solid var(--sm-line)!important;
  box-shadow:0 10px 30px rgba(24,34,50,.045)!important;
  border-radius:28px!important;
  padding:28px!important;
  gap:24px!important;
}
.client-shell-body .client-hero-pro h1,
.client-shell-body .client-hero-sales h1{
  color:var(--sm-text)!important;
  font-weight:600!important;
  letter-spacing:-.045em!important;
  line-height:1.04!important;
}
.client-shell-body .client-hero-pro p,
.client-shell-body .client-hero-sales p{
  color:var(--sm-muted)!important;
  font-weight:400!important;
}
.client-shell-body .kicker.light,
.client-shell-body .eyebrow{
  display:inline-flex!important;
  align-items:center!important;
  gap:7px!important;
  padding:6px 11px!important;
  border-radius:999px!important;
  background:#f4f8ff!important;
  border:1px solid #dbeafe!important;
  color:#2f5fd7!important;
  font-weight:560!important;
  letter-spacing:.055em!important;
  line-height:1!important;
}
.client-shell-body .hero-command-card,
.client-shell-body .client-panel,
.client-shell-body .panel,
.client-shell-body .client-module-card,
.client-shell-body .employee-pro-card,
.client-shell-body .request-card{
  background:var(--sm-card)!important;
  border:1px solid var(--sm-line)!important;
  border-radius:24px!important;
  box-shadow:0 8px 22px rgba(24,34,50,.035)!important;
}
.client-shell-body .hero-command-card{color:var(--sm-text)!important;backdrop-filter:none!important}
.client-shell-body .plan-status-card{
  padding:24px!important;
  gap:18px!important;
}
.client-shell-body .plan-card-head{
  background:linear-gradient(180deg,#f2fbf6,#fbfffd)!important;
  border:1px solid #d5f0df!important;
  border-radius:22px!important;
  padding:20px!important;
}
.client-shell-body .plan-card-head span,
.client-shell-body .plan-card-head small{
  color:var(--sm-muted)!important;
  font-weight:480!important;
  letter-spacing:.06em!important;
}
.client-shell-body .plan-card-head strong{
  color:#153a29!important;
  font-weight:620!important;
  letter-spacing:-.035em!important;
}
.client-shell-body .plan-mini-grid div,
.client-shell-body .premium-kpis .kpi,
.client-shell-body .mini-quality-list div{
  background:#fff!important;
  border:1px solid var(--sm-line)!important;
  border-radius:20px!important;
  box-shadow:none!important;
}
.client-shell-body .premium-kpis .kpi span,
.client-shell-body .plan-mini-grid span,
.client-shell-body .mini-quality-list span{
  color:var(--sm-muted)!important;
  font-weight:470!important;
  text-transform:none!important;
  letter-spacing:.01em!important;
}
.client-shell-body .premium-kpis .kpi strong,
.client-shell-body .plan-mini-grid b,
.client-shell-body .mini-quality-list b{
  color:var(--sm-text)!important;
  font-weight:620!important;
  letter-spacing:-.035em!important;
}
.client-shell-body .btn,
.client-shell-body button.btn,
.client-shell-body a.btn{
  border-radius:14px!important;
  font-weight:560!important;
  letter-spacing:-.01em!important;
  box-shadow:none!important;
  min-height:40px!important;
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  gap:7px!important;
}
.client-shell-body .btn.primary{
  background:#168a55!important;
  color:#fff!important;
  border-color:#168a55!important;
}
.client-shell-body .btn.primary:hover{background:#137a4b!important;border-color:#137a4b!important}
.client-shell-body .btn.white,
.client-shell-body .btn:not(.primary):not(.ghost-light){
  background:#fff!important;
  color:#253247!important;
  border:1px solid var(--sm-line-2)!important;
}
.client-shell-body .btn.ghost-light{
  background:#f8fafc!important;
  color:#253247!important;
  border:1px solid var(--sm-line)!important;
}
.client-shell-body .dashboard-ease-strip{
  display:grid!important;
  grid-template-columns:repeat(4,minmax(0,1fr))!important;
  gap:12px!important;
  margin:18px 0!important;
}
.client-shell-body .dashboard-ease-strip a{
  background:#fff!important;
  border:1px solid var(--sm-line)!important;
  border-radius:22px!important;
  padding:18px!important;
  box-shadow:0 7px 18px rgba(24,34,50,.025)!important;
  color:var(--sm-text)!important;
  min-height:150px!important;
  transition:transform .16s ease,border-color .16s ease,box-shadow .16s ease;
}
.client-shell-body .dashboard-ease-strip a:hover{
  transform:translateY(-2px);
  border-color:#cfdceb!important;
  box-shadow:0 10px 24px rgba(24,34,50,.045)!important;
}
.client-shell-body .dashboard-ease-strip span{
  width:34px!important;height:34px!important;border-radius:12px!important;
  background:var(--sm-blue-soft)!important;color:var(--sm-blue)!important;
  display:grid!important;place-items:center!important;font-weight:620!important;
}
.client-shell-body .dashboard-ease-strip b{display:block!important;margin-top:12px!important;font-weight:610!important;color:var(--sm-text)!important;line-height:1.18!important}
.client-shell-body .dashboard-ease-strip em{display:block!important;margin-top:8px!important;color:var(--sm-muted)!important;font-style:normal!important;font-weight:400!important;line-height:1.42!important}
.client-shell-body .dashboard-soft-note{
  background:linear-gradient(90deg,#fff,#f7fbff)!important;
  border:1px solid var(--sm-line)!important;
  border-radius:22px!important;
  box-shadow:0 7px 18px rgba(24,34,50,.025)!important;
}
.client-shell-body .section-head h2,
.client-shell-body .client-panel h2,
.client-shell-body .panel h2,
.client-shell-body .employee-section-header h3{
  color:var(--sm-text)!important;
  font-weight:610!important;
  letter-spacing:-.03em!important;
  line-height:1.12!important;
}
.client-shell-body .section-head p,
.client-shell-body .client-panel p,
.client-shell-body .panel p,
.client-shell-body .muted{
  color:var(--sm-muted)!important;
  font-weight:400!important;
  line-height:1.5!important;
}
.client-shell-body .client-module-grid{
  grid-template-columns:repeat(6,minmax(0,1fr))!important;
  gap:14px!important;
}
.client-shell-body .client-module-card{
  min-height:240px!important;
  padding:20px!important;
  transition:transform .16s ease,border-color .16s ease,box-shadow .16s ease;
}
.client-shell-body .client-module-card:hover{
  transform:translateY(-2px);
  border-color:#cedceb!important;
  box-shadow:0 12px 26px rgba(24,34,50,.045)!important;
}
.client-shell-body .module-icon{
  width:44px!important;height:44px!important;border-radius:16px!important;
  display:grid!important;place-items:center!important;
  background:#f6f9fd!important;border:1px solid var(--sm-line)!important;
}
.client-shell-body .client-module-card h2{font-size:19px!important;font-weight:610!important;line-height:1.18!important}
.client-shell-body .client-module-card p{font-size:14px!important;line-height:1.48!important;color:var(--sm-muted)!important}
.client-shell-body .locked-pill,
.client-shell-body .feature-chip,
.client-shell-body .employee-tags span,
.client-shell-body .deadline-badge,
.client-shell-body .soft-badge,
.client-shell-body .section-chip{
  font-weight:500!important;
  letter-spacing:.005em!important;
  box-shadow:none!important;
}
.client-shell-body .pill.active,
.client-shell-body .pill{
  background:#f1fbf6!important;
  color:#147847!important;
  border:1px solid #cfeedd!important;
  border-radius:999px!important;
  font-weight:550!important;
  text-transform:none!important;
}
.client-shell-body .pill.suspended{background:#fff8eb!important;color:#975a16!important;border-color:#f2dfbc!important}
.client-shell-body .pill.archived{background:#f5f6f8!important;color:#667085!important;border-color:#e3e8ef!important}
/* Dipendenti: cards più ordinate e meno affollate */
.client-shell-body .employee-card-grid{
  grid-template-columns:repeat(auto-fit,minmax(430px,1fr))!important;
  align-items:stretch!important;
  gap:16px!important;
}
.client-shell-body .employee-pro-card{
  padding:20px!important;
  min-height:430px!important;
  display:flex!important;
  flex-direction:column!important;
}
.client-shell-body .employee-pro-head{
  padding-bottom:14px!important;
  border-bottom:1px solid var(--sm-line)!important;
}
.client-shell-body .employee-pro-metrics{
  margin:14px 0!important;
}
.client-shell-body .employee-pro-metrics div{
  min-height:78px!important;
  background:#fbfcfe!important;
}
.client-shell-body .employee-tags{
  margin-top:0!important;
  padding-top:2px!important;
}
.client-shell-body .employee-deadline-row{
  margin-top:10px!important;
  padding-top:10px!important;
  border-top:1px dashed #e4ebf4!important;
}
.client-shell-body .employee-pro-card .hero-actions{
  margin-top:auto!important;
}
.client-shell-body .employee-pro-card .hero-actions .btn.small:first-child::before{content:'Modifica';display:none}
/* Form azienda: elegante, leggero, più ordinato */
.client-shell-body .employee-full-form,
.client-shell-body .form{
  gap:16px!important;
}
.client-shell-body .employee-form-section,
.client-shell-body .employee-form-topbar,
.client-shell-body .employee-form-alert,
.client-shell-body .modern-upload-box{
  background:#fff!important;
  border:1px solid var(--sm-line)!important;
  border-radius:24px!important;
  box-shadow:0 7px 18px rgba(24,34,50,.025)!important;
}
.client-shell-body .employee-section-header{
  display:flex!important;
  align-items:flex-start!important;
  justify-content:space-between!important;
  gap:18px!important;
  padding-bottom:14px!important;
  margin-bottom:14px!important;
  border-bottom:1px solid var(--sm-line)!important;
}
.client-shell-body .employee-section-header h3{margin:0 0 6px!important;font-size:20px!important}
.client-shell-body .section-chip{
  flex:0 0 auto!important;
  background:#f7fafc!important;
  border:1px solid var(--sm-line)!important;
  color:#64748b!important;
  border-radius:999px!important;
  padding:7px 11px!important;
  font-size:12px!important;
}
.client-shell-body .form label,
.client-shell-body form label{
  color:#425166!important;
  font-weight:420!important;
  font-size:14px!important;
}
.client-shell-body input,
.client-shell-body select,
.client-shell-body textarea{
  background:#fff!important;
  border:1px solid #dfe7f0!important;
  border-radius:13px!important;
  padding:11px 12px!important;
  color:#1d2939!important;
  transition:border-color .15s ease,box-shadow .15s ease,background .15s ease;
}
.client-shell-body input:focus,
.client-shell-body select:focus,
.client-shell-body textarea:focus{
  border-color:#b9d1f4!important;
  box-shadow:0 0 0 4px rgba(37,99,235,.07)!important;
  outline:none!important;
}
.client-shell-body input::placeholder,
.client-shell-body textarea::placeholder{color:#98a4b5!important}
.client-shell-body .modern-upload-trigger{
  background:#f8fbff!important;
  border:1px dashed #c8d8ec!important;
  border-radius:18px!important;
  box-shadow:none!important;
}
.client-shell-body .upload-trigger-icon{
  background:#eef6ff!important;
  color:#2563eb!important;
}
.client-shell-body .sticky-form-actions{
  background:rgba(255,255,255,.92)!important;
  border:1px solid var(--sm-line)!important;
  box-shadow:0 8px 22px rgba(24,34,50,.06)!important;
  border-radius:18px!important;
}
.client-shell-body table,
.client-shell-body .report-table,
.client-shell-body .feature-matrix{
  border-color:var(--sm-line)!important;
}
.client-shell-body td,
.client-shell-body th{
  line-height:1.35!important;
}
.client-shell-body .empty-state{
  background:#fff!important;
  border:1px dashed #cfdceb!important;
  border-radius:24px!important;
}
.client-shell-body .notice,
.client-shell-body .alert{
  border-radius:18px!important;
  border-width:1px!important;
  box-shadow:none!important;
}
@media(max-width:1500px){
  .client-shell-body .client-module-grid{grid-template-columns:repeat(3,minmax(0,1fr))!important}
}
@media(max-width:980px){
  .client-shell-body .client-main{padding:16px!important}
  .client-shell-body .client-top-inner{padding:10px 14px!important}
  .client-shell-body .client-nav{display:flex!important;overflow:auto!important;border-radius:14px!important}
  .client-shell-body .client-hero-pro,.client-shell-body .client-hero-sales{padding:20px!important;border-radius:22px!important}
  .client-shell-body .dashboard-ease-strip{grid-template-columns:1fr!important}
  .client-shell-body .client-module-grid{grid-template-columns:1fr!important}
  .client-shell-body .employee-card-grid{grid-template-columns:1fr!important}
  .client-shell-body .employee-pro-card{min-height:0!important}
}
@media(max-width:560px){
  .client-shell-body .employee-pro-metrics{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  .client-shell-body .employee-section-header{display:block!important}
  .client-shell-body .section-chip{margin-top:10px!important;display:inline-flex!important}
}

/* =========================================================
   VERSIONE 121 - BADGE AREA AZIENDA PIU' CHIARI E DELICATI
   Solo area azienda: colori leggeri per leggere subito stati,
   funzioni e scadenze senza appesantire l'interfaccia.
   ========================================================= */
.client-shell-body .pill,
.client-shell-body .badge,
.client-shell-body .soft-badge,
.client-shell-body .feature-chip,
.client-shell-body .employee-tags span,
.client-shell-body .deadline-badge,
.client-shell-body .locked-pill,
.client-shell-body .plan-pill,
.client-shell-body .status-badge,
.client-shell-body .shift-status,
.client-shell-body .request-status,
.client-shell-body .mini-badge{
  border-radius:999px!important;
  border:1px solid rgba(148,163,184,.24)!important;
  box-shadow:none!important;
  letter-spacing:.005em!important;
  font-weight:650!important;
  line-height:1.2!important;
}

/* stati generali */
.client-shell-body .pill.active,
.client-shell-body .pill.attivo,
.client-shell-body .badge.active,
.client-shell-body .soft-badge.success,
.client-shell-body .status-badge.ok,
.client-shell-body .deadline-badge.ok{
  background:#eefbf4!important;
  color:#20724a!important;
  border-color:#ccefdc!important;
}
.client-shell-body .pill.suspended,
.client-shell-body .pill.sospeso,
.client-shell-body .badge.warning,
.client-shell-body .soft-badge.warning,
.client-shell-body .status-badge.warning,
.client-shell-body .deadline-badge.warning{
  background:#fff8e7!important;
  color:#8a5a12!important;
  border-color:#f4dfad!important;
}
.client-shell-body .pill.archived,
.client-shell-body .pill.archiviato,
.client-shell-body .badge.muted,
.client-shell-body .soft-badge.neutral,
.client-shell-body .deadline-badge.empty{
  background:#f6f8fb!important;
  color:#5f6b7a!important;
  border-color:#e3e8ef!important;
}
.client-shell-body .badge.danger,
.client-shell-body .status-badge.danger,
.client-shell-body .deadline-badge.danger,
.client-shell-body .alert-badge{
  background:#fff2f2!important;
  color:#9a3030!important;
  border-color:#f3c5c5!important;
}
.client-shell-body .soft-badge.info,
.client-shell-body .badge.info,
.client-shell-body .status-badge.info{
  background:#eef6ff!important;
  color:#2d6398!important;
  border-color:#cfe3f8!important;
}

/* badge informativi sulle card dipendenti */
.client-shell-body .employee-tags span{
  background:#f4f7fb!important;
  color:#435163!important;
  border-color:#e1e7ef!important;
  padding:7px 10px!important;
}
.client-shell-body .employee-tags span:nth-child(1){
  background:#eef6ff!important;
  color:#2e6798!important;
  border-color:#d1e5f8!important;
}
.client-shell-body .employee-tags span:nth-child(2){
  background:#f8f5ff!important;
  color:#6850a6!important;
  border-color:#e5dcfb!important;
}
.client-shell-body .employee-tags span:nth-child(3){
  background:#effaf5!important;
  color:#28734e!important;
  border-color:#cfeedd!important;
}
.client-shell-body .employee-tags span:nth-child(4){
  background:#fff7ed!important;
  color:#8a5720!important;
  border-color:#f2ddc1!important;
}

/* supporto testuale: se il badge contiene parole negative lo rendiamo piu' neutro/attenzione */
.client-shell-body .employee-tags span[class*="off"],
.client-shell-body .employee-tags span.no,
.client-shell-body .feature-chip.muted{
  background:#f7f8fa!important;
  color:#64748b!important;
  border-color:#e5e7eb!important;
}

/* deadline e scadenze piu' leggibili */
.client-shell-body .employee-deadline-row{
  gap:8px!important;
  align-items:flex-start!important;
}
.client-shell-body .deadline-badge{
  padding:7px 10px!important;
  font-size:12px!important;
  white-space:normal!important;
  min-height:30px!important;
}

/* KPI e pill nella dashboard/azienda: colore leggero senza diventare scuro */
.client-shell-body .command-row,
.client-shell-body .kpi,
.client-shell-body .stat-card,
.client-shell-body .client-module-card{
  border-color:#e6ebf2!important;
}
.client-shell-body .feature-chip{
  background:#f1f7ff!important;
  color:#376b98!important;
  border-color:#d7e7f6!important;
}
.client-shell-body .feature-chip:nth-child(2n){
  background:#f4fbf6!important;
  color:#367653!important;
  border-color:#d5efdf!important;
}
.client-shell-body .feature-chip:nth-child(3n){
  background:#fff8ec!important;
  color:#8a6124!important;
  border-color:#f0dfbd!important;
}
.client-shell-body .feature-chip:nth-child(4n){
  background:#f8f5ff!important;
  color:#6f58a8!important;
  border-color:#e3daf8!important;
}

/* pulsanti piccoli e badge vicino alle azioni: piu' ordinati */
.client-shell-body .btn.small{
  border-color:#dce4ee!important;
  background:#ffffff!important;
  color:#334155!important;
  box-shadow:none!important;
}
.client-shell-body .btn.small:hover{
  background:#f6f9fc!important;
  border-color:#cbd8e6!important;
}

@media(max-width:900px){
  .client-shell-body .employee-tags span,
  .client-shell-body .deadline-badge{
    font-size:11px!important;
    padding:6px 9px!important;
  }
}


/* =========================================================
   VERSIONE 122 - GRIGLIA CONSULENTE FULL WIDTH
   =========================================================
   Obiettivo: rendere il foglio consulente una vera griglia larga,
   ariosa e leggibile in tutta l'area azienda, senza effetto scheda stretta.
*/
.report-full-width-page{
  width:100%!important;
  max-width:none!important;
  padding-left:18px!important;
  padding-right:18px!important;
}
.report-full-width-page .report-soft-head,
.report-full-width-page .report-actions-panel,
.report-full-width-page .payroll-handoff-panel,
.report-full-width-page .report-kpis-soft,
.report-full-width-page .consultant-sheet-panel-full{
  width:100%!important;
  max-width:none!important;
  margin-left:0!important;
  margin-right:0!important;
}
.report-full-width-page .report-kpis-soft{
  grid-template-columns:repeat(5,minmax(0,1fr))!important;
}
.consultant-sheet-panel-full{
  padding:18px!important;
  overflow:visible!important;
  border-radius:22px!important;
  background:linear-gradient(180deg,#ffffff,#fbfcfd)!important;
  border:1px solid #e5e7eb!important;
  box-shadow:0 8px 20px rgba(15,23,42,.035)!important;
}
.consultant-sheet-panel-full .section-head{
  align-items:center!important;
  margin-bottom:10px!important;
}
.consultant-sheet-panel-full .section-head h2{
  font-weight:640!important;
  letter-spacing:-.025em!important;
}
.consultant-sheet-panel-full .section-head p{
  max-width:980px!important;
  color:#64748b!important;
}
.consultant-sheet-panel-full .sheet-scroll-note{
  display:flex!important;
  align-items:center!important;
  justify-content:space-between!important;
  gap:12px!important;
  width:100%!important;
  border-radius:16px!important;
  padding:10px 13px!important;
  margin:8px 0 12px!important;
  background:#f8fafc!important;
  border:1px solid #e2e8f0!important;
  color:#475569!important;
  font-weight:520!important;
}
.consultant-sheet-panel-full .sheet-scroll-note:after{
  content:"Full width · scroll orizzontale se necessario";
  color:#64748b;
  font-weight:500;
  font-size:12px;
}
.consultant-sheet-wrap-full{
  width:100%!important;
  max-width:100%!important;
  overflow-x:auto!important;
  overflow-y:visible!important;
  border-radius:18px!important;
  border:1px solid #d8dee8!important;
  background:#ffffff!important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.9),0 8px 22px rgba(15,23,42,.035)!important;
  -webkit-overflow-scrolling:touch!important;
}
.consultant-sheet-full{
  width:100%!important;
  table-layout:fixed!important;
  border-collapse:separate!important;
  border-spacing:0!important;
  font-size:11.5px!important;
  line-height:1.18!important;
  background:#fff!important;
}
.consultant-sheet-full th,
.consultant-sheet-full td{
  border:0!important;
  border-right:1px solid #edf1f5!important;
  border-bottom:1px solid #edf1f5!important;
  padding:6px 6px!important;
  vertical-align:middle!important;
  color:#172033!important;
  overflow:hidden!important;
  text-overflow:ellipsis!important;
}
.consultant-sheet-full thead th{
  position:sticky!important;
  top:0!important;
  z-index:3!important;
  background:#f8fafc!important;
  color:#172033!important;
  font-weight:620!important;
  letter-spacing:.02em!important;
}
.consultant-sheet-full .consultant-company{
  text-align:left!important;
  background:#f6fbf8!important;
  color:#166534!important;
  white-space:normal!important;
  width:260px!important;
}
.consultant-sheet-full .consultant-company b{
  color:#172033!important;
  font-weight:680!important;
}
.consultant-sheet-full .month-title{
  background:#eef6ff!important;
  color:#1d4ed8!important;
  font-size:14px!important;
  font-weight:680!important;
}
.consultant-sheet-full .total-title,
.consultant-sheet-full .total-head{
  background:#f6f7fb!important;
  color:#334155!important;
  font-weight:680!important;
}
.consultant-sheet-full .emp-head,
.consultant-sheet-full .employee-block{
  width:260px!important;
  min-width:260px!important;
  max-width:260px!important;
  text-align:left!important;
}
.consultant-sheet-full .voice-head,
.consultant-sheet-full .voice-label{
  width:112px!important;
  min-width:112px!important;
  max-width:112px!important;
  text-align:left!important;
}
.consultant-sheet-full .day-head,
.consultant-sheet-full .sheet-day{
  width:38px!important;
  min-width:38px!important;
  max-width:38px!important;
  text-align:center!important;
}
.consultant-sheet-full .total-title,
.consultant-sheet-full .total-head,
.consultant-sheet-full .sheet-total{
  width:76px!important;
  min-width:76px!important;
  max-width:76px!important;
}
.consultant-sheet-full .employee-block{
  background:#fbfcfd!important;
  white-space:normal!important;
  position:sticky!important;
  left:0!important;
  z-index:2!important;
  box-shadow:8px 0 14px rgba(15,23,42,.035)!important;
}
.consultant-sheet-full thead .emp-head{
  position:sticky!important;
  left:0!important;
  z-index:4!important;
  background:#f8fafc!important;
  box-shadow:8px 0 14px rgba(15,23,42,.035)!important;
}
.consultant-sheet-full .employee-block strong{
  font-size:12px!important;
  line-height:1.15!important;
  font-weight:650!important;
  text-transform:none!important;
  color:#172033!important;
  white-space:normal!important;
}
.consultant-sheet-full .employee-block small{
  font-size:10.5px!important;
  line-height:1.28!important;
  font-weight:440!important;
  color:#667085!important;
  white-space:normal!important;
}
.consultant-sheet-full .voice-label{
  background:#fafbfc!important;
  white-space:normal!important;
}
.consultant-sheet-full .voice-label b{
  font-size:10.5px!important;
  font-weight:650!important;
}
.consultant-sheet-full .voice-label small{
  font-size:9.5px!important;
  color:#667085!important;
  font-weight:420!important;
  line-height:1.15!important;
}
.consultant-sheet-full .day-label{
  font-size:10px!important;
  line-height:1!important;
  color:#475569!important;
  font-weight:620!important;
}
.consultant-sheet-full .sheet-day{
  height:28px!important;
  min-height:28px!important;
  background:#fff!important;
  font-weight:560!important;
}
.consultant-sheet-full .day-head.weekend,
.consultant-sheet-full .sheet-day.weekend{
  background:#fffaf1!important;
}
.consultant-sheet-full .voice-straordinario .sheet-day,
.consultant-sheet-full .voice-straordinario .voice-label{background:#fffaf0!important}
.consultant-sheet-full .voice-ferie .sheet-day,
.consultant-sheet-full .voice-ferie .voice-label{background:#f3f8ff!important}
.consultant-sheet-full .voice-permessi .sheet-day,
.consultant-sheet-full .voice-permessi .voice-label{background:#fffdf2!important}
.consultant-sheet-full .voice-malattia .sheet-day,
.consultant-sheet-full .voice-malattia .voice-label{background:#fff6f6!important}
.consultant-sheet-full .voice-altro .sheet-day,
.consultant-sheet-full .voice-altro .voice-label{background:#fafafa!important}
.consultant-sheet-full .sheet-total{
  background:#f6fbf8!important;
  color:#166534!important;
  font-weight:680!important;
}
.consultant-sheet-full tbody tr:nth-child(6n) td{
  border-bottom:2px solid #d7dee8!important;
}
.consultant-sheet-full tbody tr:hover td{
  background-color:#f8fbff!important;
}
.consultant-sheet-full tfoot td{
  background:#f1f8f4!important;
  color:#14532d!important;
  font-weight:680!important;
  border-top:1px solid #cdebd7!important;
}

@media(max-width:1180px){
  .report-full-width-page .report-kpis-soft{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  .consultant-sheet-full .emp-head,
  .consultant-sheet-full .employee-block{width:220px!important;min-width:220px!important;max-width:220px!important}
}
@media(max-width:780px){
  .report-full-width-page{padding-left:10px!important;padding-right:10px!important}
  .consultant-sheet-panel-full{padding:12px!important;border-radius:18px!important}
  .consultant-sheet-panel-full .sheet-scroll-note{display:block!important}
  .consultant-sheet-panel-full .sheet-scroll-note:after{display:block;margin-top:4px}
  .report-full-width-page .report-kpis-soft{grid-template-columns:1fr!important}
  .consultant-sheet-full{font-size:10px!important}
  .consultant-sheet-full .emp-head,
  .consultant-sheet-full .employee-block{width:190px!important;min-width:190px!important;max-width:190px!important}
  .consultant-sheet-full .voice-head,
  .consultant-sheet-full .voice-label{width:86px!important;min-width:86px!important;max-width:86px!important}
  .consultant-sheet-full .day-head,
  .consultant-sheet-full .sheet-day{width:30px!important;min-width:30px!important;max-width:30px!important}
  .consultant-sheet-full .total-title,
  .consultant-sheet-full .total-head,
  .consultant-sheet-full .sheet-total{width:62px!important;min-width:62px!important;max-width:62px!important}
}
@media print{
  .report-full-width-page{padding:0!important}
  .consultant-sheet-panel-full{padding:0!important;border:0!important;box-shadow:none!important;background:#fff!important}
  .consultant-sheet-wrap-full{overflow:visible!important;border:0!important;box-shadow:none!important;border-radius:0!important}
  .consultant-sheet-full{width:100%!important;min-width:0!important;font-size:7.2px!important;border-collapse:collapse!important}
  .consultant-sheet-full th,.consultant-sheet-full td{border:1px solid #999!important;padding:1px 2px!important}
  .consultant-sheet-full .employee-block,.consultant-sheet-full thead .emp-head{position:static!important;box-shadow:none!important}
}

/* v123 - griglia consulente: più visibile e semplice */
.report-full-width-page.report-readable,
.report-full-width-page{
  --report-border:#dfe6ee;
  --report-soft:#f8fafc;
  --report-soft-2:#f6f9fc;
  --report-text:#172033;
  --report-muted:#667085;
}
.report-soft-head{
  align-items:stretch!important;
  gap:18px!important;
}
.report-clarity-box{
  min-width:360px!important;
  display:grid!important;
  grid-template-columns:repeat(3,minmax(0,1fr))!important;
  gap:10px!important;
  align-content:center!important;
  background:linear-gradient(180deg,#ffffff,#f9fbfd)!important;
  border:1px solid var(--report-border)!important;
  box-shadow:0 6px 18px rgba(15,23,42,.03)!important;
}
.report-clarity-box small{
  grid-column:1/-1!important;
  padding-top:6px!important;
  color:#667085!important;
  line-height:1.35!important;
}
.report-clarity-box .report-month-mini{
  border-radius:16px!important;
  padding:13px 12px!important;
  background:#f7f9fc!important;
  border:1px solid #e4ebf3!important;
  text-align:left!important;
}
.report-clarity-box .report-month-mini span{
  display:block!important;
  font-size:11px!important;
  color:#667085!important;
  font-weight:560!important;
  letter-spacing:.04em!important;
  text-transform:uppercase!important;
}
.report-clarity-box .report-month-mini strong{
  display:block!important;
  margin-top:5px!important;
  font-size:22px!important;
  color:#172033!important;
  font-weight:640!important;
  letter-spacing:-.035em!important;
}
.report-quick-guide{
  display:grid!important;
  grid-template-columns:repeat(3,minmax(0,1fr))!important;
  gap:12px!important;
  margin:14px 0!important;
}
.report-quick-guide article{
  display:grid!important;
  grid-template-columns:auto 1fr!important;
  gap:4px 11px!important;
  align-items:center!important;
  padding:15px 16px!important;
  border:1px solid #e4ebf3!important;
  border-radius:20px!important;
  background:linear-gradient(180deg,#ffffff,#f9fbfd)!important;
  box-shadow:0 5px 16px rgba(15,23,42,.025)!important;
}
.report-quick-guide article span{
  grid-row:1/3!important;
  width:34px!important;
  height:34px!important;
  border-radius:12px!important;
  display:grid!important;
  place-items:center!important;
  background:#eef6ff!important;
  color:#1d4ed8!important;
  font-size:15px!important;
  font-weight:680!important;
}
.report-quick-guide article strong{
  color:#172033!important;
  font-size:14px!important;
  font-weight:630!important;
}
.report-quick-guide article small{
  color:#667085!important;
  line-height:1.35!important;
  font-size:12px!important;
}
.report-actions-easy{
  display:grid!important;
  grid-template-columns:1fr 1fr!important;
  gap:14px!important;
  align-items:start!important;
  padding:16px!important;
  background:#ffffff!important;
  border:1px solid #e4ebf3!important;
  border-radius:22px!important;
  box-shadow:0 6px 18px rgba(15,23,42,.025)!important;
}
.report-action-group{
  padding:13px!important;
  border-radius:18px!important;
  border:1px solid #e8eef5!important;
  background:#fafcff!important;
}
.action-label{
  display:block!important;
  margin:0 0 10px!important;
  color:#667085!important;
  font-size:12px!important;
  font-weight:620!important;
  text-transform:uppercase!important;
  letter-spacing:.06em!important;
}
.report-month-form,
.report-export-actions{
  display:flex!important;
  align-items:end!important;
  gap:8px!important;
  flex-wrap:wrap!important;
}
.report-month-form label{
  min-width:185px!important;
  font-weight:520!important;
}
.report-actions-easy .btn{
  border-radius:13px!important;
  padding:10px 13px!important;
  font-weight:570!important;
  box-shadow:none!important;
}
.payroll-handoff-easy{
  background:linear-gradient(180deg,#ffffff,#fbfcfd)!important;
  border:1px solid #e4ebf3!important;
  border-radius:22px!important;
  box-shadow:0 6px 18px rgba(15,23,42,.025)!important;
}
.report-checkline{
  display:flex!important;
  gap:8px!important;
  flex-wrap:wrap!important;
  margin-top:12px!important;
}
.report-checkline span{
  display:inline-flex!important;
  align-items:center!important;
  min-height:34px!important;
  padding:8px 11px!important;
  border-radius:999px!important;
  background:#f7f9fc!important;
  border:1px solid #e4ebf3!important;
  color:#475569!important;
  font-size:12px!important;
  font-weight:520!important;
}
.report-checkline b{font-weight:650!important;color:#172033!important}
.report-kpis-clear{
  gap:12px!important;
}
.report-kpis-clear .kpi{
  position:relative!important;
  overflow:hidden!important;
  border:1px solid #e4ebf3!important;
  background:#fff!important;
  box-shadow:0 6px 18px rgba(15,23,42,.025)!important;
  border-radius:20px!important;
  padding:17px 16px!important;
  min-height:104px!important;
}
.report-kpis-clear .kpi:before{
  content:""!important;
  position:absolute!important;
  left:0!important;top:0!important;bottom:0!important;
  width:5px!important;
  background:#d8e3ef!important;
}
.report-kpis-clear .kpi span{
  font-size:12px!important;
  color:#667085!important;
  font-weight:600!important;
  letter-spacing:.05em!important;
  text-transform:uppercase!important;
}
.report-kpis-clear .kpi strong{
  display:block!important;
  margin:8px 0 3px!important;
  font-size:28px!important;
  color:#172033!important;
  font-weight:640!important;
  letter-spacing:-.04em!important;
}
.report-kpis-clear .kpi small{
  color:#667085!important;
  font-size:12px!important;
  font-weight:450!important;
}
.report-kpis-clear .kpi-ordinary:before{background:#a7d7b5!important}
.report-kpis-clear .kpi-extra:before{background:#f8ca7d!important}
.report-kpis-clear .kpi-vacation:before{background:#93c5fd!important}
.report-kpis-clear .kpi-permit:before{background:#fde68a!important}
.report-kpis-clear .kpi-sick:before{background:#fca5a5!important}
.consultant-legend{
  display:flex!important;
  gap:7px!important;
  flex-wrap:wrap!important;
  margin:0 0 12px!important;
}
.legend-chip{
  display:inline-flex!important;
  align-items:center!important;
  min-height:30px!important;
  padding:7px 10px!important;
  border-radius:999px!important;
  border:1px solid #e4ebf3!important;
  background:#f8fafc!important;
  color:#475569!important;
  font-size:12px!important;
  font-weight:570!important;
}
.legend-chip.ord{background:#f2fbf5!important;color:#166534!important;border-color:#d9f0df!important}
.legend-chip.stra{background:#fff8ea!important;color:#92400e!important;border-color:#f7e3bb!important}
.legend-chip.ferie{background:#eff7ff!important;color:#1d4ed8!important;border-color:#cfe7ff!important}
.legend-chip.perm{background:#fffdf0!important;color:#854d0e!important;border-color:#f7edba!important}
.legend-chip.mal{background:#fff2f2!important;color:#991b1b!important;border-color:#f7d0d0!important}
.legend-chip.altro{background:#f8fafc!important;color:#475569!important;border-color:#e4ebf3!important}
.legend-chip.weekend{background:#fffaf1!important;color:#8a5a0a!important;border-color:#f2dfb8!important}
.consultant-sheet-panel-full .sheet-scroll-note{
  font-size:13px!important;
  line-height:1.45!important;
  background:#f7f9fc!important;
  border-color:#e4ebf3!important;
}
.consultant-sheet-panel-full .sheet-scroll-note:after{
  content:"colonna dipendente sempre visibile"!important;
}
.consultant-sheet-wrap-full{
  border-color:#dfe6ee!important;
  box-shadow:0 4px 14px rgba(15,23,42,.025)!important;
}
.consultant-sheet-full{
  font-size:12px!important;
}
.consultant-sheet-full th,
.consultant-sheet-full td{
  padding:7px 6px!important;
  border-right:1px solid #edf2f7!important;
  border-bottom:1px solid #edf2f7!important;
}
.consultant-sheet-full .sheet-day{
  color:#a0a9b7!important;
  font-weight:420!important;
  background:#fff!important;
}
.consultant-sheet-full .sheet-day.has-value{
  color:#172033!important;
  font-weight:650!important;
  box-shadow:inset 0 0 0 999px rgba(255,255,255,.22)!important;
}
.consultant-sheet-full .voice-ordinario .sheet-day.has-value{background:#f2fbf5!important;color:#166534!important}
.consultant-sheet-full .voice-straordinario .sheet-day.has-value{background:#fff3d9!important;color:#92400e!important}
.consultant-sheet-full .voice-ferie .sheet-day.has-value{background:#eaf5ff!important;color:#1d4ed8!important}
.consultant-sheet-full .voice-permessi .sheet-day.has-value{background:#fff8d8!important;color:#854d0e!important}
.consultant-sheet-full .voice-malattia .sheet-day.has-value{background:#ffecec!important;color:#991b1b!important}
.consultant-sheet-full .voice-altro .sheet-day.has-value{background:#f1f5f9!important;color:#334155!important}
.consultant-sheet-full .sheet-total.has-value{
  color:#14532d!important;
  font-weight:700!important;
  background:#eefaf3!important;
}
.consultant-sheet-full .employee-block{
  padding:10px 9px!important;
  background:#fbfcfd!important;
  vertical-align:top!important;
}
.consultant-sheet-full .employee-block strong{
  display:block!important;
  margin-bottom:4px!important;
  font-size:12.5px!important;
}
.consultant-sheet-full .employee-block small{
  display:block!important;
  margin-bottom:6px!important;
}
.consultant-sheet-full .employee-block em{
  display:inline-flex!important;
  align-items:center!important;
  padding:5px 7px!important;
  border-radius:999px!important;
  background:#eef6ff!important;
  border:1px solid #d8eaff!important;
  color:#1d4ed8!important;
  font-style:normal!important;
  font-size:10.5px!important;
  font-weight:590!important;
}
.consultant-sheet-full .voice-label b{
  font-size:11px!important;
  letter-spacing:.01em!important;
}
.consultant-sheet-full .voice-label small{
  display:block!important;
  max-width:100%!important;
  overflow:visible!important;
}
.consultant-sheet-full tbody tr:hover td,
.consultant-sheet-full tbody tr:hover .employee-block,
.consultant-sheet-full tbody tr:hover .voice-label{
  background-color:#f7fbff!important;
}
.consultant-sheet-full tbody tr:nth-child(6n) td{
  border-bottom:3px solid #dfe6ee!important;
}
.consultant-sheet-full .day-head.weekend,
.consultant-sheet-full .sheet-day.weekend{
  background:#fffaf1!important;
}
.consultant-sheet-full .day-head.weekend .day-label{
  color:#9a6b13!important;
}
@media(max-width:1180px){
  .report-actions-easy{grid-template-columns:1fr!important}
  .report-quick-guide{grid-template-columns:1fr!important}
  .report-clarity-box{min-width:0!important}
}
@media(max-width:780px){
  .report-clarity-box{grid-template-columns:1fr!important}
  .report-actions-easy{padding:11px!important;border-radius:18px!important}
  .report-action-group{padding:10px!important}
  .report-month-form,.report-export-actions{display:grid!important;grid-template-columns:1fr!important}
  .report-month-form label{min-width:0!important}
  .report-checkline{display:grid!important;grid-template-columns:1fr!important}
  .report-kpis-clear .kpi{min-height:auto!important}
}

/* v124 - restyling estetico area azienda: più pulito, leggibile e professionale */
.client-shell-body{
  --app-bg:#f7f9fc;
  --app-surface:#ffffff;
  --app-soft:#f9fbfd;
  --app-soft-2:#f4f7fb;
  --app-border:#e6ebf2;
  --app-border-2:#dbe3ee;
  --app-text:#172033;
  --app-muted:#667085;
  --app-muted-2:#8792a2;
  --app-green:#16734d;
  --app-green-soft:#eef8f2;
  --app-blue:#1d4ed8;
  --app-blue-soft:#eef6ff;
  --app-amber:#92400e;
  --app-amber-soft:#fff8e8;
  --app-red:#991b1b;
  --app-red-soft:#fff1f2;
  --app-shadow:0 8px 24px rgba(15,23,42,.035);
  --app-shadow-hover:0 12px 34px rgba(15,23,42,.055);
  background:linear-gradient(180deg,#f8fafc 0,#f6f9fc 46%,#f9fafb 100%)!important;
  color:var(--app-text)!important;
  -webkit-font-smoothing:antialiased;
  text-rendering:geometricPrecision;
}
.client-shell-body *{box-sizing:border-box}
.client-shell-body a{text-decoration:none}
.client-shell-body .client-topbar{
  background:rgba(255,255,255,.93)!important;
  border-bottom:1px solid var(--app-border)!important;
  box-shadow:0 1px 0 rgba(15,23,42,.02)!important;
}
.client-shell-body .client-top-inner{
  width:100%!important;
  max-width:none!important;
  padding:12px clamp(14px,2vw,28px)!important;
  gap:14px!important;
}
.client-shell-body .client-brand{
  min-width:250px!important;
  padding:8px 11px!important;
  border:1px solid transparent!important;
  border-radius:16px!important;
  color:var(--app-text)!important;
}
.client-shell-body .client-brand:hover{background:#fff!important;border-color:var(--app-border)!important}
.client-shell-body .client-brand span{font-weight:630!important;letter-spacing:-.01em!important;line-height:1.15!important}
.client-shell-body .client-brand small{font-weight:440!important;color:var(--app-muted)!important;letter-spacing:0!important;margin-top:2px!important}
.client-shell-body .client-nav{
  background:#fff!important;
  border:1px solid var(--app-border)!important;
  border-radius:18px!important;
  padding:5px!important;
  gap:4px!important;
  box-shadow:0 5px 18px rgba(15,23,42,.025)!important;
}
.client-shell-body .client-nav a{
  min-height:38px!important;
  display:inline-flex!important;
  align-items:center!important;
  padding:9px 12px!important;
  border-radius:13px!important;
  font-weight:520!important;
  color:#526071!important;
  border:1px solid transparent!important;
}
.client-shell-body .client-nav a:hover{background:#f7fafc!important;color:var(--app-text)!important;border-color:#eef2f6!important}
.client-shell-body .client-nav a.active{background:var(--app-green-soft)!important;color:var(--app-green)!important;border-color:#d7eddf!important}
.client-shell-body .client-head-actions{gap:8px!important}
.client-shell-body .plan-pill{
  background:#f8fafc!important;
  color:#475569!important;
  border:1px solid var(--app-border)!important;
  box-shadow:none!important;
  border-radius:999px!important;
  font-weight:560!important;
}
.client-shell-body .client-main{
  width:100%!important;
  max-width:none!important;
  padding:22px clamp(14px,2.2vw,34px) 46px!important;
}
.client-shell-body .client-main-soft,
.client-shell-body .client-dashboard-refresh{max-width:none!important;width:100%!important}

/* Hero area azienda: più luminosa, elegante e leggibile */
.client-shell-body .client-hero-pro{
  background:linear-gradient(135deg,#ffffff 0%,#f8fbff 55%,#f3faf6 100%)!important;
  color:var(--app-text)!important;
  border:1px solid var(--app-border)!important;
  border-radius:28px!important;
  box-shadow:var(--app-shadow)!important;
  padding:26px clamp(18px,2.4vw,34px)!important;
  gap:18px!important;
  overflow:visible!important;
}
.client-shell-body .client-hero-pro h1{
  color:var(--app-text)!important;
  font-weight:640!important;
  letter-spacing:-.045em!important;
  line-height:1.04!important;
  max-width:980px!important;
}
.client-shell-body .client-hero-pro p{
  color:var(--app-muted)!important;
  font-weight:420!important;
  line-height:1.58!important;
  max-width:920px!important;
}
.client-shell-body .client-hero-pro .kicker.light,
.client-shell-body .kicker.light{
  color:var(--app-green)!important;
  background:var(--app-green-soft)!important;
  border:1px solid #d7eddf!important;
  border-radius:999px!important;
  display:inline-flex!important;
  padding:6px 10px!important;
  width:max-content!important;
  font-weight:600!important;
  letter-spacing:.05em!important;
}
.client-shell-body .hero-command-card,
.client-shell-body .plan-status-card,
.client-shell-body .time-status-card{
  background:#fff!important;
  border:1px solid var(--app-border)!important;
  color:var(--app-text)!important;
  box-shadow:0 8px 22px rgba(15,23,42,.035)!important;
  border-radius:24px!important;
}
.client-shell-body .command-row{border-bottom:1px solid #eff3f7!important;padding:10px 0!important}
.client-shell-body .command-row:last-child{border-bottom:0!important}
.client-shell-body .command-row span,
.client-shell-body .plan-card-head span{
  color:var(--app-muted)!important;
  font-weight:520!important;
  letter-spacing:.055em!important;
}
.client-shell-body .command-row b,
.client-shell-body .plan-card-head strong{color:var(--app-text)!important;font-weight:640!important}
.client-shell-body .plan-card-head small{color:var(--app-muted)!important;font-weight:430!important}
.client-shell-body .plan-mini-grid div,
.client-shell-body .command-grid div{
  background:var(--app-soft)!important;
  border:1px solid var(--app-border)!important;
  color:var(--app-text)!important;
}
.client-shell-body .plan-mini-grid b,
.client-shell-body .command-grid strong{color:var(--app-text)!important;font-weight:650!important}
.client-shell-body .plan-mini-grid span,
.client-shell-body .command-grid span{color:var(--app-muted)!important;font-weight:500!important}
.client-shell-body .plan-progress{background:#edf2f7!important;border:1px solid #e4ebf3!important}
.client-shell-body .plan-progress i{background:linear-gradient(90deg,#8fd5a7,#5ebf85)!important}

/* Card, pannelli e moduli: bordi leggeri, aria e coerenza */
.client-shell-body .panel,
.client-shell-body .client-panel,
.client-shell-body .client-module-card,
.client-shell-body .employee-pro-card,
.client-shell-body .request-card,
.client-shell-body .attendance-card,
.client-shell-body .planning-tool-card,
.client-shell-body .report-action-group,
.client-shell-body .payroll-handoff-easy,
.client-shell-body .report-clarity-box,
.client-shell-body .report-quick-guide article{
  background:var(--app-surface)!important;
  border:1px solid var(--app-border)!important;
  box-shadow:var(--app-shadow)!important;
  border-radius:22px!important;
}
.client-shell-body .panel:hover,
.client-shell-body .client-module-card:hover,
.client-shell-body .employee-pro-card:hover,
.client-shell-body .attendance-card:hover,
.client-shell-body .request-card:hover{
  border-color:var(--app-border-2)!important;
  box-shadow:var(--app-shadow-hover)!important;
}
.client-shell-body .section-head{align-items:flex-start!important;gap:18px!important}
.client-shell-body .section-head h1,
.client-shell-body .section-head h2,
.client-shell-body .panel h1,
.client-shell-body .panel h2,
.client-shell-body .client-module-card h2{
  color:var(--app-text)!important;
  font-weight:630!important;
  letter-spacing:-.035em!important;
  line-height:1.13!important;
}
.client-shell-body .section-head p,
.client-shell-body .panel p,
.client-shell-body .client-module-card p,
.client-shell-body .muted{
  color:var(--app-muted)!important;
  font-weight:420!important;
  line-height:1.55!important;
}
.client-shell-body .eyebrow{
  color:var(--app-green)!important;
  font-weight:580!important;
  letter-spacing:.06em!important;
}
.client-shell-body .client-module-grid{
  display:grid!important;
  grid-template-columns:repeat(auto-fit,minmax(250px,1fr))!important;
  gap:14px!important;
}
.client-shell-body .client-module-card{
  padding:20px!important;
  min-height:190px!important;
  justify-content:space-between!important;
}
.client-shell-body .module-icon,
.client-shell-body .feature-list-pro span{
  width:40px!important;height:40px!important;border-radius:14px!important;
  display:grid!important;place-items:center!important;
  background:var(--app-blue-soft)!important;color:var(--app-blue)!important;
}

/* KPI: leggibili, pieni ma non aggressivi */
.client-shell-body .cards.premium-kpis,
.client-shell-body .report-kpis-clear,
.client-shell-body .time-premium-kpis{
  gap:13px!important;
}
.client-shell-body .kpi,
.client-shell-body .time-kpi,
.client-shell-body .time-kpi-advanced{
  background:#fff!important;
  border:1px solid var(--app-border)!important;
  border-radius:21px!important;
  padding:18px 17px!important;
  box-shadow:var(--app-shadow)!important;
  overflow:visible!important;
}
.client-shell-body .kpi span,
.client-shell-body .time-kpi span{
  color:var(--app-muted)!important;
  font-weight:520!important;
  letter-spacing:.045em!important;
  text-transform:uppercase!important;
  font-size:12px!important;
}
.client-shell-body .kpi strong,
.client-shell-body .time-kpi strong{
  color:var(--app-text)!important;
  font-weight:650!important;
  letter-spacing:-.04em!important;
}
.client-shell-body .kpi small,
.client-shell-body .time-kpi small{color:var(--app-muted)!important;font-weight:420!important}

/* Badge con colore leggero e funzione immediatamente comprensibile */
.client-shell-body .pill,
.client-shell-body .feature-chip,
.client-shell-body .deadline-badge,
.client-shell-body .legend-chip,
.client-shell-body .time-soft-badge,
.client-shell-body .time-month-badge,
.client-shell-body .method-badge,
.client-shell-body .clock-pill,
.client-shell-body .shift-badge,
.client-shell-body .publication-badge,
.client-shell-body .soft-badge,
.client-shell-body .locked-pill{
  display:inline-flex!important;
  align-items:center!important;
  gap:6px!important;
  min-height:28px!important;
  padding:6px 9px!important;
  border-radius:999px!important;
  border:1px solid var(--app-border)!important;
  background:#f8fafc!important;
  color:#526071!important;
  font-size:12px!important;
  font-weight:520!important;
  line-height:1.2!important;
  white-space:normal!important;
  max-width:100%!important;
}
.client-shell-body .pill.active,
.client-shell-body .soft-badge.success,
.client-shell-body .deadline-badge.ok,
.client-shell-body .feature-chip:not(.muted){background:var(--app-green-soft)!important;color:var(--app-green)!important;border-color:#d7eddf!important}
.client-shell-body .pill.suspended,
.client-shell-body .deadline-badge.warning,
.client-shell-body .time-soft-badge.amber{background:var(--app-amber-soft)!important;color:var(--app-amber)!important;border-color:#f2dfb8!important}
.client-shell-body .pill.archived,
.client-shell-body .deadline-badge.empty,
.client-shell-body .feature-chip.muted{background:#f6f8fb!important;color:#667085!important;border-color:#e4ebf3!important}
.client-shell-body .deadline-badge.danger,
.client-shell-body .time-soft-badge.red{background:var(--app-red-soft)!important;color:var(--app-red)!important;border-color:#f7d0d0!important}
.client-shell-body .time-soft-badge.blue,
.client-shell-body .time-soft-badge.cyan,
.client-shell-body .time-soft-badge.indigo,
.client-shell-body .soft-badge.info{background:var(--app-blue-soft)!important;color:var(--app-blue)!important;border-color:#d8eaff!important}
.client-shell-body .time-soft-badge.violet{background:#f5f3ff!important;color:#6d28d9!important;border-color:#e6ddff!important}

/* Dipendenti: card più ordinate, nessun testo nascosto */
.client-shell-body .employee-card-grid{
  grid-template-columns:repeat(auto-fit,minmax(390px,1fr))!important;
  gap:15px!important;
  align-items:stretch!important;
}
.client-shell-body .employee-pro-card{
  display:flex!important;
  flex-direction:column!important;
  gap:13px!important;
  min-height:360px!important;
  padding:19px!important;
  overflow:visible!important;
}
.client-shell-body .employee-expanded-card:before{display:none!important}
.client-shell-body .employee-pro-head{
  display:grid!important;
  grid-template-columns:56px minmax(0,1fr) auto!important;
  gap:13px!important;
  align-items:center!important;
}
.client-shell-body .employee-avatar{
  width:52px!important;height:52px!important;border-radius:17px!important;
  background:linear-gradient(135deg,#eef8f2,#eef6ff)!important;
  color:var(--app-green)!important;
  border:1px solid #ddebe5!important;
  display:grid!important;place-items:center!important;
  font-size:17px!important;font-weight:620!important;
  flex:0 0 auto!important;
}
.client-shell-body .employee-photo-avatar img{border-radius:17px!important}
.client-shell-body .employee-pro-head h3{
  margin:0!important;
  color:var(--app-text)!important;
  font-size:20px!important;
  line-height:1.16!important;
  font-weight:640!important;
  letter-spacing:-.025em!important;
  white-space:normal!important;
  overflow:visible!important;
}
.client-shell-body .employee-pro-head p{
  color:var(--app-muted)!important;
  font-size:13.5px!important;
  font-weight:420!important;
  line-height:1.35!important;
  margin:3px 0 0!important;
  white-space:normal!important;
  overflow:visible!important;
}
.client-shell-body .employee-pro-head .pill{align-self:start!important;margin-top:2px!important}
.client-shell-body .employee-pro-metrics{
  grid-template-columns:repeat(4,minmax(0,1fr))!important;
  gap:8px!important;
  margin:1px 0!important;
}
.client-shell-body .employee-pro-metrics div{
  min-height:66px!important;
  padding:10px 8px!important;
  display:flex!important;
  flex-direction:column!important;
  align-items:center!important;
  justify-content:center!important;
  border-radius:16px!important;
  background:#f9fbfd!important;
  border:1px solid #e8eef5!important;
}
.client-shell-body .employee-pro-metrics b{font-size:18px!important;font-weight:650!important;color:var(--app-text)!important;line-height:1.05!important}
.client-shell-body .employee-pro-metrics span{font-size:10.5px!important;font-weight:510!important;color:var(--app-muted)!important;line-height:1.2!important;margin-top:4px!important}
.client-shell-body .employee-tags,
.client-shell-body .employee-deadline-row{display:flex!important;flex-wrap:wrap!important;gap:6px!important;margin:0!important;overflow:visible!important}
.client-shell-body .employee-tags span{background:#f8fafc!important;color:#526071!important;border-color:#e4ebf3!important}
.client-shell-body .employee-tags span:nth-child(1){background:var(--app-blue-soft)!important;color:var(--app-blue)!important;border-color:#d8eaff!important}
.client-shell-body .employee-pro-card .hero-actions{
  margin-top:auto!important;
  padding-top:4px!important;
  display:flex!important;
  gap:8px!important;
  flex-wrap:wrap!important;
  align-items:center!important;
}
.client-shell-body .employee-pro-card .hero-actions form{margin:0!important;display:inline-flex!important}

/* Form: più eleganti, più facili da leggere */
.client-shell-body .form,
.client-shell-body .employee-full-form{gap:14px!important}
.client-shell-body .form label{
  color:#344054!important;
  font-weight:480!important;
  font-size:13px!important;
  line-height:1.35!important;
  letter-spacing:0!important;
}
.client-shell-body .form input,
.client-shell-body .form select,
.client-shell-body .form textarea{
  min-height:43px!important;
  border:1px solid #dfe6ee!important;
  background:#fff!important;
  border-radius:14px!important;
  color:var(--app-text)!important;
  font-size:14px!important;
  font-weight:410!important;
  box-shadow:none!important;
  transition:border-color .15s ease, box-shadow .15s ease, background .15s ease!important;
}
.client-shell-body .form textarea{min-height:92px!important;line-height:1.5!important}
.client-shell-body .form input:focus,
.client-shell-body .form select:focus,
.client-shell-body .form textarea:focus{
  outline:0!important;
  border-color:#9ed7b2!important;
  box-shadow:0 0 0 3px rgba(34,197,94,.10)!important;
  background:#fff!important;
}
.client-shell-body .form input::placeholder,
.client-shell-body .form textarea::placeholder{color:#98a2b3!important;font-weight:380!important}
.client-shell-body .employee-form-section{
  background:#fff!important;
  border:1px solid var(--app-border)!important;
  box-shadow:var(--app-shadow)!important;
  border-radius:22px!important;
  padding:20px!important;
}
.client-shell-body .employee-section-header{align-items:flex-start!important;gap:12px!important}
.client-shell-body .employee-section-header h3,
.client-shell-body .employee-form-section h3{font-weight:620!important;color:var(--app-text)!important;letter-spacing:-.02em!important}
.client-shell-body .section-chip{background:var(--app-blue-soft)!important;color:var(--app-blue)!important;border:1px solid #d8eaff!important;font-weight:520!important}
.client-shell-body .employee-form-nav{
  background:#fff!important;
  border:1px solid var(--app-border)!important;
  border-radius:18px!important;
  padding:6px!important;
  box-shadow:var(--app-shadow)!important;
}
.client-shell-body .employee-form-nav a{font-weight:500!important;color:#526071!important;border-radius:12px!important}
.client-shell-body .employee-form-nav a.active,
.client-shell-body .employee-form-nav a:hover{background:var(--app-green-soft)!important;color:var(--app-green)!important}
.client-shell-body .modern-upload-box{
  background:linear-gradient(180deg,#ffffff,#f9fbfd)!important;
  border:1px dashed #d8e2ed!important;
  border-radius:20px!important;
  box-shadow:none!important;
}
.client-shell-body .modern-upload-trigger{
  background:#f8fafc!important;
  border:1px solid #dfe6ee!important;
  border-radius:16px!important;
  font-weight:520!important;
}
.client-shell-body .upload-trigger-icon{background:var(--app-blue-soft)!important;color:var(--app-blue)!important}
.client-shell-body .sticky-form-actions{
  background:rgba(255,255,255,.94)!important;
  border:1px solid var(--app-border)!important;
  box-shadow:0 12px 28px rgba(15,23,42,.06)!important;
}

/* Pulsanti: meno aggressivi, più software professionale */
.client-shell-body .btn,
.client-shell-body button.btn{
  border-radius:13px!important;
  font-weight:540!important;
  letter-spacing:0!important;
  box-shadow:none!important;
  border:1px solid #dfe6ee!important;
  transition:transform .15s ease, border-color .15s ease, background .15s ease, box-shadow .15s ease!important;
}
.client-shell-body .btn:hover{transform:translateY(-1px)!important;box-shadow:0 8px 18px rgba(15,23,42,.05)!important}
.client-shell-body .btn.primary{
  background:#1f7a53!important;
  border-color:#1f7a53!important;
  color:#fff!important;
}
.client-shell-body .btn.white,
.client-shell-body .btn.ghost-light,
.client-shell-body .btn:not(.primary){
  background:#fff!important;
  color:#344054!important;
  border-color:#dfe6ee!important;
}
.client-shell-body .btn.ghost-light:hover,
.client-shell-body .btn.white:hover,
.client-shell-body .btn:not(.primary):hover{background:#f8fafc!important;border-color:#cfd8e3!important;color:var(--app-text)!important}

/* Timbrature e presenze: blocchi operativi più leggibili */
.client-shell-body .time-hero-badges-pro,
.client-shell-body .time-month-grid,
.client-shell-body .status-metrics,
.client-shell-body .attendance-metrics{
  gap:10px!important;
}
.client-shell-body .time-month-panel,
.client-shell-body .timecheck-control-panel,
.client-shell-body .terminal-pro-card,
.client-shell-body .manual-clock-card,
.client-shell-body .attendance-board,
.client-shell-body .payroll-handoff-panel{
  background:#fff!important;
  border:1px solid var(--app-border)!important;
  border-radius:22px!important;
  box-shadow:var(--app-shadow)!important;
}
.client-shell-body .attendance-card-plus{
  display:flex!important;
  flex-direction:column!important;
  gap:12px!important;
  overflow:visible!important;
}
.client-shell-body .attendance-head{grid-template-columns:auto minmax(0,1fr) auto!important;gap:12px!important}
.client-shell-body .time-avatar{background:var(--app-blue-soft)!important;color:var(--app-blue)!important;border:1px solid #d8eaff!important}
.client-shell-body .attendance-status-pill{white-space:normal!important;line-height:1.2!important}
.client-shell-body .time-mini-timeline{overflow:visible!important}

/* Tabelle e griglie: più spazio e meno effetto “muro di dati” */
.client-shell-body .table-wrap,
.client-shell-body .time-table-wrap,
.client-shell-body .consultant-sheet-wrap-full,
.client-shell-body .consultant-sheet-panel-full{
  background:#fff!important;
  border:1px solid var(--app-border)!important;
  border-radius:22px!important;
  box-shadow:var(--app-shadow)!important;
}
.client-shell-body .table th,
.client-shell-body .consultant-sheet-full th{
  background:#f8fafc!important;
  color:#344054!important;
  font-weight:560!important;
  letter-spacing:.02em!important;
}
.client-shell-body .table td,
.client-shell-body .consultant-sheet-full td{color:var(--app-text)!important;font-weight:410!important}
.client-shell-body .consultant-sheet-full .employee-block strong,
.client-shell-body .consultant-sheet-full .voice-label b{font-weight:610!important}
.client-shell-body .consultant-sheet-full .sheet-day.has-value{font-weight:620!important}

/* Stati e note */
.client-shell-body .notice,
.client-shell-body .alert,
.client-shell-body .empty-state,
.client-shell-body .dashboard-soft-note,
.client-shell-body .employee-form-alert,
.client-shell-body .time-warning-box,
.client-shell-body .employee-feature-warning{
  border-radius:20px!important;
  border:1px solid var(--app-border)!important;
  box-shadow:var(--app-shadow)!important;
  background:#fff!important;
  color:var(--app-text)!important;
}
.client-shell-body .notice{background:#f2fbf5!important;border-color:#d9f0df!important;color:#166534!important}
.client-shell-body .alert{background:#fff1f2!important;border-color:#ffd4dc!important;color:#991b1b!important}
.client-shell-body .missing-required{background:#fff7f8!important;border-color:#ffd4dc!important}

@media(max-width:1380px){
  .client-shell-body .employee-card-grid{grid-template-columns:repeat(auto-fit,minmax(350px,1fr))!important}
  .client-shell-body .client-hero-pro{grid-template-columns:1fr!important}
}
@media(max-width:860px){
  .client-shell-body .client-top-inner{display:block!important;padding:10px!important}
  .client-shell-body .client-brand{min-width:0!important;margin-bottom:8px!important}
  .client-shell-body .client-nav{overflow:auto!important;margin:0 0 8px!important}
  .client-shell-body .client-main{padding:14px 10px 34px!important}
  .client-shell-body .client-hero-pro{padding:18px!important;border-radius:22px!important}
  .client-shell-body .client-hero-pro h1{font-size:31px!important;line-height:1.08!important}
  .client-shell-body .employee-card-grid{grid-template-columns:1fr!important}
  .client-shell-body .employee-pro-head{grid-template-columns:48px minmax(0,1fr)!important}
  .client-shell-body .employee-pro-head .pill{grid-column:1/-1!important;width:max-content!important}
  .client-shell-body .employee-pro-metrics{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  .client-shell-body .three,.client-shell-body .four,.client-shell-body .two{grid-template-columns:1fr!important}
  .client-shell-body .section-head{display:block!important}
  .client-shell-body .sticky-form-actions{position:static!important}
}

/* =========================================================
   v125 - AREA AZIENDA UX PREMIUM
   Interfaccia più guidata, delicata e facile da leggere.
   Solo lato azienda: nessuna immagine, nessuna modifica DB.
   ========================================================= */
.client-shell-body{
  --ux-bg:#f7f9fc;
  --ux-card:#ffffff;
  --ux-soft:#f9fbfd;
  --ux-border:#e7edf4;
  --ux-border-strong:#d9e3ee;
  --ux-text:#182230;
  --ux-muted:#667085;
  --ux-green:#257553;
  --ux-green-soft:#edf8f1;
  --ux-blue:#2563eb;
  --ux-blue-soft:#eef5ff;
  --ux-indigo:#4f46e5;
  --ux-indigo-soft:#f1f2ff;
  --ux-amber:#9a6700;
  --ux-amber-soft:#fff8e6;
  --ux-red:#b42318;
  --ux-red-soft:#fff1f0;
  --ux-shadow:0 10px 28px rgba(16,24,40,.045);
  background:var(--ux-bg)!important;
  color:var(--ux-text)!important;
}
.client-shell-body .client-main{
  width:100%!important;
  max-width:none!important;
  padding:22px 26px 42px!important;
}
.client-shell-body .panel,
.client-shell-body .client-panel,
.client-shell-body .client-module-card,
.client-shell-body .employee-pro-card,
.client-shell-body .time-month-panel,
.client-shell-body .timecheck-control-panel,
.client-shell-body .terminal-pro-card,
.client-shell-body .manual-clock-card,
.client-shell-body .consultant-sheet-panel-full{
  background:var(--ux-card)!important;
  border:1px solid var(--ux-border)!important;
  border-radius:22px!important;
  box-shadow:var(--ux-shadow)!important;
}
.client-shell-body .section-head h2,
.client-shell-body .client-panel h2,
.client-shell-body .panel h2{
  color:var(--ux-text)!important;
  font-weight:620!important;
  letter-spacing:-.025em!important;
}
.client-shell-body .section-head p,
.client-shell-body .client-panel p,
.client-shell-body .panel p,
.client-shell-body .muted{
  color:var(--ux-muted)!important;
  line-height:1.55!important;
}
.client-shell-body .eyebrow,
.client-shell-body .kicker{
  color:#64748b!important;
  font-weight:620!important;
  letter-spacing:.055em!important;
}

/* Dashboard: comando operativo più utile e meno dispersivo */
.client-shell-body .ux-command-board{
  background:linear-gradient(180deg,#ffffff,#fbfdff)!important;
  border:1px solid var(--ux-border)!important;
  border-radius:24px!important;
  padding:18px!important;
  margin:16px 0!important;
  box-shadow:var(--ux-shadow)!important;
}
.client-shell-body .ux-command-head{
  display:flex!important;
  align-items:flex-end!important;
  justify-content:space-between!important;
  gap:16px!important;
  margin-bottom:14px!important;
}
.client-shell-body .ux-command-head h2{margin:4px 0 4px!important;font-size:22px!important;font-weight:620!important}
.client-shell-body .ux-command-head p{margin:0!important;max-width:850px!important}
.client-shell-body .ux-command-grid{
  display:grid!important;
  grid-template-columns:repeat(4,minmax(0,1fr))!important;
  gap:12px!important;
}
.client-shell-body .ux-command-card{
  display:grid!important;
  grid-template-columns:42px minmax(0,1fr)!important;
  grid-template-rows:auto auto!important;
  align-items:center!important;
  column-gap:12px!important;
  min-height:94px!important;
  padding:14px!important;
  border-radius:18px!important;
  border:1px solid var(--ux-border)!important;
  background:#fff!important;
  color:var(--ux-text)!important;
  text-decoration:none!important;
}
.client-shell-body .ux-command-card:hover{border-color:#cfd8e3!important;box-shadow:0 12px 24px rgba(16,24,40,.055)!important;transform:translateY(-1px)!important}
.client-shell-body .ux-command-card span{
  grid-row:1/3!important;
  width:42px!important;height:42px!important;border-radius:14px!important;
  display:grid!important;place-items:center!important;
  font-weight:650!important;background:var(--ux-blue-soft)!important;color:var(--ux-blue)!important;
}
.client-shell-body .ux-command-card.done span{background:var(--ux-green-soft)!important;color:var(--ux-green)!important}
.client-shell-body .ux-command-card.warning span{background:var(--ux-amber-soft)!important;color:var(--ux-amber)!important}
.client-shell-body .ux-command-card.todo span{background:var(--ux-indigo-soft)!important;color:var(--ux-indigo)!important}
.client-shell-body .ux-command-card b{font-weight:620!important;font-size:15px!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important}
.client-shell-body .ux-command-card em{font-style:normal!important;color:var(--ux-muted)!important;font-size:12.5px!important;line-height:1.35!important}

/* Moduli e KPI: più chiari, meno effetto etichetta */
.client-shell-body .premium-kpis .kpi,
.client-shell-body .cards .kpi{
  border:1px solid var(--ux-border)!important;
  background:linear-gradient(180deg,#fff,#fbfdff)!important;
  border-radius:20px!important;
  box-shadow:var(--ux-shadow)!important;
  padding:16px!important;
}
.client-shell-body .premium-kpis .kpi span{font-weight:520!important;color:var(--ux-muted)!important;letter-spacing:.02em!important}
.client-shell-body .premium-kpis .kpi strong{font-weight:650!important;color:var(--ux-text)!important}
.client-shell-body .client-module-card{
  min-height:210px!important;
  padding:20px!important;
  display:flex!important;
  flex-direction:column!important;
  gap:10px!important;
}
.client-shell-body .client-module-card .module-icon{
  width:44px!important;height:44px!important;border-radius:16px!important;
  display:grid!important;place-items:center!important;background:var(--ux-blue-soft)!important;
  font-size:21px!important;margin-bottom:2px!important;
}
.client-shell-body .client-module-card h2{font-size:19px!important;font-weight:620!important;margin:0!important}
.client-shell-body .client-module-card p{font-size:14px!important;line-height:1.5!important;margin:0!important;flex:1!important}

/* Dipendenti: fascicolo più leggibile e guidato */
.client-shell-body .employee-ux-strip{
  display:grid!important;
  grid-template-columns:repeat(4,minmax(0,1fr))!important;
  gap:10px!important;
  margin:12px 0 18px!important;
}
.client-shell-body .employee-ux-strip div{
  display:grid!important;
  grid-template-columns:34px 1fr!important;
  gap:8px 10px!important;
  align-items:center!important;
  background:#fbfdff!important;
  border:1px solid var(--ux-border)!important;
  border-radius:16px!important;
  padding:12px!important;
}
.client-shell-body .employee-ux-strip b{
  grid-row:1/3!important;
  width:34px!important;height:34px!important;border-radius:12px!important;
  display:grid!important;place-items:center!important;
  background:var(--ux-green-soft)!important;color:var(--ux-green)!important;font-weight:650!important;
}
.client-shell-body .employee-ux-strip span{font-size:14px!important;font-weight:600!important;color:var(--ux-text)!important}
.client-shell-body .employee-ux-strip em{font-style:normal!important;color:var(--ux-muted)!important;font-size:12.5px!important;line-height:1.25!important}
.client-shell-body .employee-card-grid{
  grid-template-columns:repeat(auto-fit,minmax(390px,1fr))!important;
  gap:14px!important;
  align-items:stretch!important;
}
.client-shell-body .employee-pro-card{
  min-width:0!important;
  display:flex!important;
  flex-direction:column!important;
  gap:12px!important;
  padding:18px!important;
  overflow:visible!important;
}
.client-shell-body .employee-pro-head{
  grid-template-columns:54px minmax(0,1fr) auto!important;
  align-items:center!important;
}
.client-shell-body .employee-pro-head h3{
  font-size:18px!important;
  line-height:1.15!important;
  white-space:normal!important;
  overflow:visible!important;
  text-overflow:clip!important;
}
.client-shell-body .employee-pro-head p{font-size:13px!important;line-height:1.35!important;margin-top:4px!important;white-space:normal!important}
.client-shell-body .employee-avatar{width:52px!important;height:52px!important;border-radius:18px!important;font-weight:620!important}
.client-shell-body .employee-pro-metrics{grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:8px!important;margin:2px 0!important}
.client-shell-body .employee-pro-metrics div{min-height:66px!important;background:#fbfdff!important;border:1px solid var(--ux-border)!important;border-radius:16px!important}
.client-shell-body .employee-pro-metrics b{font-size:17px!important;font-weight:640!important}
.client-shell-body .employee-tags span,
.client-shell-body .feature-chip,
.client-shell-body .deadline-badge,
.client-shell-body .pill,
.client-shell-body .locked-pill,
.client-shell-body .shift-badge,
.client-shell-body .attendance-status-pill,
.client-shell-body .time-soft-badge{
  border-radius:999px!important;
  border:1px solid var(--ux-border)!important;
  font-weight:520!important;
  letter-spacing:0!important;
  box-shadow:none!important;
  line-height:1.2!important;
  white-space:normal!important;
}
.client-shell-body .employee-tags span:nth-child(1){background:var(--ux-blue-soft)!important;color:var(--ux-blue)!important;border-color:#d7e8ff!important}
.client-shell-body .employee-tags span:nth-child(3),
.client-shell-body .employee-tags span:nth-child(4){background:var(--ux-indigo-soft)!important;color:var(--ux-indigo)!important;border-color:#dedfff!important}
.client-shell-body .deadline-badge.ok,.client-shell-body .pill.active{background:var(--ux-green-soft)!important;color:var(--ux-green)!important;border-color:#d9efdf!important}
.client-shell-body .deadline-badge.warning,.client-shell-body .pill.suspended{background:var(--ux-amber-soft)!important;color:var(--ux-amber)!important;border-color:#f5e4b9!important}
.client-shell-body .deadline-badge.danger{background:var(--ux-red-soft)!important;color:var(--ux-red)!important;border-color:#ffd6d2!important}
.client-shell-body .deadline-badge.empty,.client-shell-body .pill.archived{background:#f6f8fb!important;color:#64748b!important;border-color:#e6edf4!important}

/* Form e scheda dipendente: più HR, meno gestionale pesante */
.client-shell-body .employee-form-topbar,
.client-shell-body .employee-form-alert,
.client-shell-body .dashboard-soft-note{
  background:linear-gradient(180deg,#fff,#fbfdff)!important;
  border:1px solid var(--ux-border)!important;
  box-shadow:var(--ux-shadow)!important;
  border-radius:20px!important;
}
.client-shell-body .employee-form-nav{
  position:sticky!important;
  top:74px!important;
  z-index:12!important;
  display:flex!important;
  gap:6px!important;
  flex-wrap:wrap!important;
  background:rgba(255,255,255,.94)!important;
  backdrop-filter:blur(14px)!important;
  border:1px solid var(--ux-border)!important;
  border-radius:18px!important;
}
.client-shell-body .employee-form-nav a{padding:9px 12px!important;font-size:13px!important;font-weight:520!important;color:#526071!important;text-decoration:none!important}
.client-shell-body .employee-form-nav a.active,
.client-shell-body .employee-form-nav a:hover{background:var(--ux-green-soft)!important;color:var(--ux-green)!important}
.client-shell-body .employee-form-section{
  padding:20px!important;
  border-radius:22px!important;
  background:linear-gradient(180deg,#fff,#fcfdff)!important;
  border-color:var(--ux-border)!important;
}
.client-shell-body .employee-section-header{
  display:flex!important;
  justify-content:space-between!important;
  gap:16px!important;
  align-items:flex-start!important;
  margin-bottom:14px!important;
}
.client-shell-body .employee-section-header h3{margin:0 0 5px!important;font-size:18px!important;font-weight:620!important}
.client-shell-body .section-chip{background:var(--ux-blue-soft)!important;color:var(--ux-blue)!important;border-color:#d7e8ff!important}
.client-shell-body .form label{font-weight:450!important;color:#344054!important;font-size:13px!important}
.client-shell-body .form input,
.client-shell-body .form select,
.client-shell-body .form textarea{
  border-radius:14px!important;
  border:1px solid #dfe7f0!important;
  background:#fff!important;
  min-height:42px!important;
  font-weight:400!important;
}
.client-shell-body .form input:focus,
.client-shell-body .form select:focus,
.client-shell-body .form textarea:focus{border-color:#94cdb0!important;box-shadow:0 0 0 3px rgba(37,117,83,.09)!important}
.client-shell-body .modern-upload-box{border:1px dashed #d5e0eb!important;background:#fbfdff!important;border-radius:20px!important}
.client-shell-body .modern-upload-trigger{background:#fff!important;border:1px solid var(--ux-border)!important;border-radius:16px!important}
.client-shell-body .sticky-form-actions{border-radius:18px!important;background:rgba(255,255,255,.96)!important;box-shadow:0 10px 26px rgba(16,24,40,.06)!important}

/* Timbrature: vista oggi più immediata */
.client-shell-body .time-today-cockpit{
  display:grid!important;
  grid-template-columns:minmax(280px,.85fr) 1.5fr!important;
  gap:14px!important;
  margin:16px 0!important;
  padding:18px!important;
  border:1px solid var(--ux-border)!important;
  border-radius:24px!important;
  background:linear-gradient(180deg,#fff,#fbfdff)!important;
  box-shadow:var(--ux-shadow)!important;
}
.client-shell-body .time-cockpit-main h2{margin:4px 0!important;font-size:22px!important;font-weight:620!important}
.client-shell-body .time-cockpit-main p{margin:0!important;color:var(--ux-muted)!important}
.client-shell-body .time-cockpit-grid{
  display:grid!important;
  grid-template-columns:repeat(4,minmax(0,1fr))!important;
  gap:10px!important;
}
.client-shell-body .time-cockpit-card{
  background:#fff!important;
  border:1px solid var(--ux-border)!important;
  border-radius:18px!important;
  padding:13px!important;
  display:flex!important;
  flex-direction:column!important;
  gap:4px!important;
  text-decoration:none!important;
  color:var(--ux-text)!important;
}
.client-shell-body .time-cockpit-card b{font-size:23px!important;font-weight:650!important;line-height:1!important}
.client-shell-body .time-cockpit-card span{font-size:13px!important;font-weight:600!important;color:var(--ux-text)!important}
.client-shell-body .time-cockpit-card small{font-size:12px!important;color:var(--ux-muted)!important}
.client-shell-body .time-cockpit-card.ok{background:var(--ux-green-soft)!important;border-color:#d9efdf!important}
.client-shell-body .time-cockpit-card.warn{background:var(--ux-amber-soft)!important;border-color:#f5e4b9!important}
.client-shell-body .time-cockpit-card.danger{background:var(--ux-red-soft)!important;border-color:#ffd6d2!important}
.client-shell-body .time-cockpit-card.info{background:var(--ux-blue-soft)!important;border-color:#d7e8ff!important}
.client-shell-body .attendance-card-plus,
.client-shell-body .time-employee-month-card{border-radius:18px!important;border:1px solid var(--ux-border)!important;background:#fff!important;box-shadow:none!important;overflow:visible!important}
.client-shell-body .time-soft-badge{background:#fff!important;padding:11px 13px!important}
.client-shell-body .time-soft-badge.month{background:var(--ux-blue-soft)!important;color:var(--ux-blue)!important;border-color:#d7e8ff!important}
.client-shell-body .time-soft-badge.people{background:var(--ux-indigo-soft)!important;color:var(--ux-indigo)!important;border-color:#dedfff!important}
.client-shell-body .time-soft-badge.success{background:var(--ux-green-soft)!important;color:var(--ux-green)!important;border-color:#d9efdf!important}
.client-shell-body .time-soft-badge.warning{background:var(--ux-amber-soft)!important;color:var(--ux-amber)!important;border-color:#f5e4b9!important}
.client-shell-body .time-soft-badge.danger{background:var(--ux-red-soft)!important;color:var(--ux-red)!important;border-color:#ffd6d2!important}

/* Planning e report: dati più leggibili */
.client-shell-body .board-day,
.client-shell-body .board-shift,
.client-shell-body .list-shifts div,
.client-shell-body .request-card{
  border-radius:18px!important;
  border:1px solid var(--ux-border)!important;
  box-shadow:none!important;
}
.client-shell-body .consultant-usability-ribbon{
  display:grid!important;
  grid-template-columns:repeat(3,minmax(0,1fr))!important;
  gap:12px!important;
  margin:16px 0!important;
}
.client-shell-body .consultant-usability-ribbon div{
  display:grid!important;
  grid-template-columns:38px minmax(0,1fr)!important;
  gap:5px 10px!important;
  align-items:center!important;
  background:#fff!important;
  border:1px solid var(--ux-border)!important;
  border-radius:18px!important;
  padding:13px!important;
  box-shadow:var(--ux-shadow)!important;
}
.client-shell-body .consultant-usability-ribbon span{
  grid-row:1/3!important;
  width:38px!important;height:38px!important;border-radius:13px!important;
  display:grid!important;place-items:center!important;background:var(--ux-blue-soft)!important;color:var(--ux-blue)!important;font-weight:650!important;
}
.client-shell-body .consultant-usability-ribbon b{font-weight:620!important;font-size:14px!important;color:var(--ux-text)!important}
.client-shell-body .consultant-usability-ribbon em{font-style:normal!important;font-size:12.5px!important;color:var(--ux-muted)!important;line-height:1.25!important}
.client-shell-body .consultant-sheet-wrap-full{border-radius:20px!important;border:1px solid var(--ux-border)!important;background:#fff!important;box-shadow:none!important}
.client-shell-body .consultant-sheet-full th{background:#f8fafc!important;color:#344054!important;font-weight:560!important}
.client-shell-body .consultant-sheet-full td{font-weight:400!important;color:var(--ux-text)!important}
.client-shell-body .consultant-sheet-full .sheet-day.has-value{font-weight:620!important;background:#eef8f2!important;color:var(--ux-green)!important}
.client-shell-body .consultant-sheet-full .sheet-day.weekend{background:#fafbfc!important;color:#98a2b3!important}

/* Pulsanti: primaria chiara, secondarie leggere */
.client-shell-body .btn,
.client-shell-body button.btn{
  border-radius:13px!important;
  font-weight:520!important;
  letter-spacing:0!important;
  border:1px solid #dfe7f0!important;
  box-shadow:none!important;
}
.client-shell-body .btn.primary{background:#257553!important;border-color:#257553!important;color:#fff!important}
.client-shell-body .btn:not(.primary),
.client-shell-body .btn.white,
.client-shell-body .btn.ghost-light{background:#fff!important;color:#344054!important;border-color:#dfe7f0!important}
.client-shell-body .btn:hover{transform:translateY(-1px)!important;box-shadow:0 8px 18px rgba(16,24,40,.055)!important}

@media(max-width:1200px){
  .client-shell-body .ux-command-grid,
  .client-shell-body .time-cockpit-grid,
  .client-shell-body .employee-ux-strip{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  .client-shell-body .time-today-cockpit{grid-template-columns:1fr!important}
}
@media(max-width:760px){
  .client-shell-body .client-main{padding:14px 10px 34px!important}
  .client-shell-body .ux-command-head{display:block!important}
  .client-shell-body .ux-command-grid,
  .client-shell-body .time-cockpit-grid,
  .client-shell-body .employee-ux-strip,
  .client-shell-body .consultant-usability-ribbon{grid-template-columns:1fr!important}
  .client-shell-body .employee-card-grid{grid-template-columns:1fr!important}
  .client-shell-body .employee-pro-head{grid-template-columns:52px minmax(0,1fr)!important}
  .client-shell-body .employee-pro-head .pill{grid-column:1/-1!important;width:max-content!important}
  .client-shell-body .employee-pro-metrics{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  .client-shell-body .employee-form-nav{position:static!important}
}

/* v126 - Pricing package highlight: no blue background, only elegant bordered emphasis.
   Scope limited to public pricing/package cards. It does not affect the company area. */
body.pricing-page-refresh.product-public-page .pricing-polished .price.hot,
body.pricing-page-refresh.product-public-page .pricing-wide .price.hot,
body.pricing-page-refresh.product-public-page .price.professional-price.hot{
  background:linear-gradient(180deg,#ffffff 0%,#fbfcff 100%)!important;
  color:#172033!important;
  border:2px solid #84b89a!important;
  box-shadow:0 18px 44px rgba(17,24,39,.075)!important;
  transform:none!important;
  outline:6px solid rgba(132,184,154,.12)!important;
}
body.pricing-page-refresh.product-public-page .price.professional-price.hot::before{
  content:""!important;
  position:absolute!important;
  inset:10px!important;
  border:1px solid rgba(132,184,154,.28)!important;
  border-radius:calc(var(--radius,26px) - 8px)!important;
  pointer-events:none!important;
}
body.pricing-page-refresh.product-public-page .price.professional-price.hot h3,
body.pricing-page-refresh.product-public-page .price.professional-price.hot p,
body.pricing-page-refresh.product-public-page .price.professional-price.hot li,
body.pricing-page-refresh.product-public-page .price.professional-price.hot .amount,
body.pricing-page-refresh.product-public-page .price.professional-price.hot .amount small,
body.pricing-page-refresh.product-public-page .price.professional-price.hot .plan-why,
body.pricing-page-refresh.product-public-page .price.professional-price.hot .vat-note{
  color:inherit!important;
}
body.pricing-page-refresh.product-public-page .price.professional-price.hot .plan-top{
  border-bottom:1px solid #e4ece7!important;
  padding-bottom:12px!important;
}
body.pricing-page-refresh.product-public-page .price.professional-price.hot .eyebrow{
  background:#f2faf5!important;
  color:#25704a!important;
  border:1px solid #d7eddf!important;
  border-radius:999px!important;
  padding:7px 11px!important;
  display:inline-flex!important;
  width:max-content!important;
  max-width:100%!important;
  letter-spacing:.045em!important;
}
body.pricing-page-refresh.product-public-page .price.professional-price.hot .badge{
  background:#fff!important;
  color:#25704a!important;
  border:1px solid #bfe2cb!important;
  box-shadow:0 8px 18px rgba(17,24,39,.055)!important;
}
body.pricing-page-refresh.product-public-page .price.professional-price.hot .feature-chip,
body.pricing-page-refresh.product-public-page .price.professional-price.hot .clean-chips span{
  background:#f7fbf8!important;
  color:#23533c!important;
  border:1px solid #dcefe3!important;
}
body.pricing-page-refresh.product-public-page .price.professional-price.hot .btn.primary,
body.pricing-page-refresh.product-public-page .price.professional-price.hot .billing-cta{
  background:#ffffff!important;
  color:#1f6b46!important;
  border:1px solid #84b89a!important;
  box-shadow:0 10px 22px rgba(31,107,70,.10)!important;
}
body.pricing-page-refresh.product-public-page .price.professional-price.hot .btn.primary:hover,
body.pricing-page-refresh.product-public-page .price.professional-price.hot .billing-cta:hover{
  background:#f2faf5!important;
  box-shadow:0 14px 30px rgba(31,107,70,.14)!important;
}

/* v127 - Planning insertion continuity + consultant print clean grid only */
.quick-form-note{
  margin:6px 0 12px!important;
  color:#667085!important;
  font-size:13px!important;
  line-height:1.45!important;
}
.soft-focus-ring{
  outline:3px solid rgba(37,99,235,.16)!important;
  box-shadow:0 0 0 8px rgba(37,99,235,.07)!important;
  transition:box-shadow .35s ease, outline-color .35s ease!important;
}
#planning-workspace{
  scroll-margin-top:92px;
}
#shiftForm{
  scroll-margin-top:102px;
}

@media print{
  /* Report consulente: stampa/PDF deve produrre solo la griglia, pulita e leggibile. */
  body.client-shell-body:has(.consultant-sheet-panel) .client-topbar,
  body.client-shell-body:has(.consultant-sheet-panel) .report-soft-head,
  body.client-shell-body:has(.consultant-sheet-panel) .report-quick-guide,
  body.client-shell-body:has(.consultant-sheet-panel) .report-actions-panel,
  body.client-shell-body:has(.consultant-sheet-panel) .payroll-handoff-panel,
  body.client-shell-body:has(.consultant-sheet-panel) .report-kpis-soft,
  body.client-shell-body:has(.consultant-sheet-panel) .consultant-usability-ribbon,
  body.client-shell-body:has(.consultant-sheet-panel) .consultant-sheet-panel .section-head,
  body.client-shell-body:has(.consultant-sheet-panel) .sheet-scroll-note,
  body.client-shell-body:has(.consultant-sheet-panel) .consultant-legend,
  body.client-shell-body:has(.consultant-sheet-panel) .hero-actions,
  body.client-shell-body:has(.consultant-sheet-panel) .btn,
  body.client-shell-body:has(.consultant-sheet-panel) .cookie-banner{
    display:none!important;
  }
  body.client-shell-body:has(.consultant-sheet-panel),
  body.client-shell-body:has(.consultant-sheet-panel) .client-main{
    background:#fff!important;
    margin:0!important;
    padding:0!important;
    width:100%!important;
    max-width:none!important;
  }
  body.client-shell-body:has(.consultant-sheet-panel) .consultant-sheet-panel{
    display:block!important;
    padding:0!important;
    margin:0!important;
    border:0!important;
    border-radius:0!important;
    box-shadow:none!important;
    background:#fff!important;
    overflow:visible!important;
    width:100%!important;
    max-width:none!important;
  }
  body.client-shell-body:has(.consultant-sheet-panel) .consultant-sheet-wrap,
  body.client-shell-body:has(.consultant-sheet-panel) .consultant-sheet-wrap-full{
    display:block!important;
    overflow:visible!important;
    border:0!important;
    border-radius:0!important;
    box-shadow:none!important;
    padding:0!important;
    margin:0!important;
    width:100%!important;
    max-width:none!important;
  }
  body.client-shell-body:has(.consultant-sheet-panel) .consultant-sheet,
  body.client-shell-body:has(.consultant-sheet-panel) .consultant-sheet-full,
  body.client-shell-body:has(.consultant-sheet-panel) .consultant-sheet-fixed{
    width:100%!important;
    min-width:0!important;
    table-layout:fixed!important;
    border-collapse:collapse!important;
    transform:none!important;
    transform-origin:initial!important;
    font-size:7.1px!important;
    color:#111!important;
    background:#fff!important;
  }
  body.client-shell-body:has(.consultant-sheet-panel) .consultant-sheet th,
  body.client-shell-body:has(.consultant-sheet-panel) .consultant-sheet td{
    border:1px solid #333!important;
    padding:1px 1.5px!important;
    line-height:1.1!important;
    vertical-align:middle!important;
    color:#111!important;
    box-shadow:none!important;
  }
  body.client-shell-body:has(.consultant-sheet-panel) .consultant-sheet thead th{
    background:#f2f4f2!important;
    font-weight:800!important;
  }
  body.client-shell-body:has(.consultant-sheet-panel) .consultant-company,
  body.client-shell-body:has(.consultant-sheet-panel) .emp-head,
  body.client-shell-body:has(.consultant-sheet-panel) .employee-block{
    width:118px!important;
    min-width:118px!important;
    max-width:118px!important;
    text-align:left!important;
  }
  body.client-shell-body:has(.consultant-sheet-panel) .voice-head,
  body.client-shell-body:has(.consultant-sheet-panel) .voice-label{
    width:54px!important;
    min-width:54px!important;
    max-width:54px!important;
    text-align:left!important;
  }
  body.client-shell-body:has(.consultant-sheet-panel) .day-head,
  body.client-shell-body:has(.consultant-sheet-panel) .sheet-day{
    width:16px!important;
    min-width:16px!important;
    max-width:16px!important;
    text-align:center!important;
  }
  body.client-shell-body:has(.consultant-sheet-panel) .total-title,
  body.client-shell-body:has(.consultant-sheet-panel) .total-head,
  body.client-shell-body:has(.consultant-sheet-panel) .sheet-total{
    width:34px!important;
    min-width:34px!important;
    max-width:34px!important;
    font-weight:800!important;
  }
  body.client-shell-body:has(.consultant-sheet-panel) .employee-block strong{
    font-size:7px!important;
    line-height:1.05!important;
    display:block!important;
  }
  body.client-shell-body:has(.consultant-sheet-panel) .employee-block small,
  body.client-shell-body:has(.consultant-sheet-panel) .employee-block em{
    font-size:5.7px!important;
    line-height:1.05!important;
    color:#333!important;
    display:block!important;
  }
  body.client-shell-body:has(.consultant-sheet-panel) .voice-label b{
    font-size:6.5px!important;
    display:block!important;
  }
  body.client-shell-body:has(.consultant-sheet-panel) .voice-label small{
    display:none!important;
  }
  body.client-shell-body:has(.consultant-sheet-panel) .day-label{
    font-size:6px!important;
    letter-spacing:-.02em!important;
    white-space:nowrap!important;
  }
  body.client-shell-body:has(.consultant-sheet-panel) .sheet-day.weekend,
  body.client-shell-body:has(.consultant-sheet-panel) .day-head.weekend{
    background:#f8f4e8!important;
  }
  body.client-shell-body:has(.consultant-sheet-panel) .sheet-day.has-value,
  body.client-shell-body:has(.consultant-sheet-panel) .sheet-total.has-value{
    background:#eef7ef!important;
    font-weight:800!important;
  }
  body.client-shell-body:has(.consultant-sheet-panel) .voice-straordinario .sheet-day.has-value{background:#fff4df!important}
  body.client-shell-body:has(.consultant-sheet-panel) .voice-ferie .sheet-day.has-value{background:#eaf5ff!important}
  body.client-shell-body:has(.consultant-sheet-panel) .voice-permessi .sheet-day.has-value{background:#fff9d9!important}
  body.client-shell-body:has(.consultant-sheet-panel) .voice-malattia .sheet-day.has-value{background:#ffecec!important}
  body.client-shell-body:has(.consultant-sheet-panel) .consultant-sheet tfoot td{
    background:#e9f3ea!important;
    font-weight:800!important;
  }
  body.client-shell-body:has(.consultant-sheet-panel) .sticky-col,
  body.client-shell-body:has(.consultant-sheet-panel) .employee-block{
    position:static!important;
    box-shadow:none!important;
  }
  @page{size:A4 landscape;margin:5mm}
}

@media print{
  .report-print-grid-only-page > *:not(.consultant-sheet-panel){display:none!important}
  .report-print-grid-only-page{padding:0!important;margin:0!important;background:#fff!important;max-width:none!important;width:100%!important}
  .report-print-grid-only-page .consultant-sheet-panel .section-head,
  .report-print-grid-only-page .sheet-scroll-note,
  .report-print-grid-only-page .consultant-legend{display:none!important}
  .report-print-grid-only-page .consultant-sheet-panel,
  .report-print-grid-only-page .consultant-sheet-wrap{display:block!important;overflow:visible!important;border:0!important;box-shadow:none!important;border-radius:0!important;margin:0!important;padding:0!important;width:100%!important;max-width:none!important;background:#fff!important}
  .report-print-grid-only-page .consultant-sheet{width:100%!important;min-width:0!important;table-layout:fixed!important;transform:none!important;font-size:7.1px!important;border-collapse:collapse!important}
}

/* v128 - Planning perfezionato: inserimento guidato, griglia più leggibile, colori soft */
.client-shell-body .planning-command-center{
  margin:18px 0!important;
  background:linear-gradient(180deg,#ffffff,#fbfcfd)!important;
  border:1px solid #dfe7ef!important;
  border-radius:26px!important;
  box-shadow:0 8px 24px rgba(16,24,40,.035)!important;
}
.client-shell-body .planning-command-head h2{font-size:28px!important;letter-spacing:-.025em!important;margin:6px 0!important;color:#172033!important}
.client-shell-body .planning-quality-badge{
  min-width:180px!important;padding:14px 16px!important;border-radius:20px!important;border:1px solid #e5ebf2!important;background:#f8fafc!important;text-align:left!important
}
.client-shell-body .planning-quality-badge span{display:block!important;font-size:11px!important;letter-spacing:.07em!important;text-transform:uppercase!important;color:#667085!important;font-weight:760!important}
.client-shell-body .planning-quality-badge strong{display:block!important;margin-top:5px!important;font-size:20px!important;color:#172033!important;font-weight:720!important}
.client-shell-body .planning-quality-badge.ok{background:#f4fbf7!important;border-color:#d6eee0!important}.client-shell-body .planning-quality-badge.warning{background:#fffbeb!important;border-color:#fde7a7!important}.client-shell-body .planning-quality-badge.neutral{background:#f8fafc!important;border-color:#e5ebf2!important}
.client-shell-body .planning-command-grid{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:12px!important;margin:16px 0!important}
.client-shell-body .planning-command-card{display:grid!important;grid-template-columns:auto 1fr!important;gap:8px 11px!important;align-items:start!important;background:#fff!important;border:1px solid #e3eaf2!important;border-radius:20px!important;padding:14px!important;color:#263241!important;box-shadow:0 6px 18px rgba(16,24,40,.025)!important}
.client-shell-body .planning-command-card:hover{border-color:#cfdbe8!important;transform:translateY(-1px)!important;box-shadow:0 10px 24px rgba(16,24,40,.055)!important}
.client-shell-body .planning-command-card span{width:28px!important;height:28px!important;border-radius:10px!important;display:grid!important;place-items:center!important;background:#eef6f1!important;color:#257553!important;font-weight:780!important;grid-row:1 / span 2!important}
.client-shell-body .planning-command-card b{font-weight:720!important;color:#172033!important}.client-shell-body .planning-command-card em{font-style:normal!important;color:#667085!important;font-size:13px!important;line-height:1.35!important}
.client-shell-body .planning-command-card.warning span{background:#fff7ed!important;color:#b45309!important}.client-shell-body .planning-command-card.publish span{background:#eff6ff!important;color:#2563eb!important}.client-shell-body .planning-command-card.check span{background:#f5f3ff!important;color:#6d28d9!important}
.client-shell-body .planning-week-strip{display:grid!important;grid-template-columns:repeat(7,minmax(0,1fr))!important;gap:8px!important;margin-top:12px!important}
.client-shell-body .planning-day-pill{border:1px solid #e5ebf2!important;background:#fff!important;border-radius:18px!important;padding:10px 11px!important;text-align:left!important;cursor:pointer!important;color:#344054!important;min-height:74px!important}
.client-shell-body .planning-day-pill:hover{border-color:#b8d7c5!important;background:#fbfffd!important}.client-shell-body .planning-day-pill.filled{background:#f7fbf8!important;border-color:#dbeee2!important}.client-shell-body .planning-day-pill.empty{background:#f9fafb!important;color:#667085!important}
.client-shell-body .planning-day-pill span,.client-shell-body .planning-day-pill strong,.client-shell-body .planning-day-pill em{display:block!important}.client-shell-body .planning-day-pill span{font-size:12px!important;color:#667085!important;font-weight:650!important}.client-shell-body .planning-day-pill strong{font-size:13px!important;color:#172033!important;margin-top:3px!important;font-weight:720!important}.client-shell-body .planning-day-pill em{font-style:normal!important;color:#b45309!important;font-size:11px!important;margin-top:3px!important}
.client-shell-body .planning-mini-summary{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:10px!important;margin-top:12px!important}.client-shell-body .planning-mini-summary div{background:#f8fafc!important;border:1px solid #e5ebf2!important;border-radius:16px!important;padding:11px 12px!important}.client-shell-body .planning-mini-summary span{display:block!important;color:#667085!important;font-size:12px!important}.client-shell-body .planning-mini-summary b{display:block!important;color:#172033!important;font-size:18px!important;margin-top:2px!important;font-weight:720!important}
.client-shell-body .planning-workspace-plus{grid-template-columns:390px minmax(0,1fr)!important;gap:18px!important;align-items:start!important}.client-shell-body .planning-quick-card{position:sticky!important;top:96px!important;border:1px solid #dfe7ef!important;background:#fff!important;border-radius:26px!important;padding:18px!important;box-shadow:0 10px 26px rgba(16,24,40,.035)!important}.client-shell-body .quick-form-head{display:flex!important;align-items:flex-start!important;justify-content:space-between!important;gap:12px!important;margin-bottom:10px!important}.client-shell-body .quick-form-head h2{font-size:23px!important;margin:4px 0!important;color:#172033!important}.client-shell-body .quick-status-dot{border:1px solid #d7eddf!important;background:#f2faf5!important;color:#257553!important;border-radius:999px!important;padding:5px 9px!important;font-size:11px!important;font-weight:760!important}.client-shell-body .quick-day-strip{display:grid!important;grid-template-columns:repeat(7,1fr)!important;gap:6px!important;margin:10px 0 12px!important}.client-shell-body .quick-day-strip button{border:1px solid #e5ebf2!important;background:#f8fafc!important;border-radius:13px!important;padding:8px 4px!important;color:#344054!important;font-weight:720!important;cursor:pointer!important}.client-shell-body .quick-day-strip button small{display:block!important;color:#667085!important;font-size:10px!important;margin-top:1px!important;font-weight:560!important}.client-shell-body .quick-day-strip button:hover{background:#f2faf5!important;border-color:#cfe7d8!important}.client-shell-body .quick-shift-form label{font-weight:600!important;color:#475569!important}.client-shell-body .quick-shift-form input,.client-shell-body .quick-shift-form select{border-color:#dfe7ef!important;background:#fff!important;border-radius:13px!important;min-height:42px!important}.client-shell-body .quick-preview{background:#f8fafc!important;border:1px solid #e5ebf2!important;border-radius:18px!important;padding:12px!important}.client-shell-body .quick-preview span{display:block!important;font-size:11px!important;letter-spacing:.07em!important;text-transform:uppercase!important;color:#667085!important;font-weight:720!important}.client-shell-body .quick-preview b{display:block!important;font-size:15px!important;color:#172033!important;margin-top:3px!important}.client-shell-body .quick-preview em{display:block!important;color:#667085!important;font-style:normal!important;font-size:12px!important;margin-top:3px!important}.client-shell-body .quick-grid-plus{grid-template-columns:repeat(2,minmax(0,1fr))!important}.client-shell-body .quick-grid-plus button{background:#fff!important;border:1px solid #dfe7ef!important;color:#344054!important;font-weight:650!important;border-radius:14px!important}.client-shell-body .quick-grid-plus button:hover{background:#f7fbf8!important;border-color:#cfe7d8!important;color:#257553!important}
.client-shell-body .planning-main-pro .toolbar.panel{background:#fff!important;border:1px solid #dfe7ef!important;border-radius:24px!important;box-shadow:0 8px 22px rgba(16,24,40,.03)!important}.client-shell-body .planning-grid-plus{grid-template-columns:minmax(260px,1.05fr) repeat(7,minmax(185px,1fr))!important;border-radius:24px!important;border-color:#dfe7ef!important;background:#fff!important;box-shadow:0 10px 26px rgba(16,24,40,.03)!important}.client-shell-body .planning-grid-plus .grid-head{background:#f7fafc!important;color:#334155!important;border-color:#e5ebf2!important}.client-shell-body .day-head-plus em{display:block!important;margin-top:4px!important;font-style:normal!important;font-size:11px!important;color:#667085!important;font-weight:620!important}.client-shell-body .day-head-plus.has-shifts{background:#f7fbf8!important}.client-shell-body .day-head-plus.empty-day{background:#fafbfc!important}.client-shell-body .employee-name-cell-plus{display:grid!important;gap:7px!important;align-content:start!important;background:#fff!important}.client-shell-body .employee-name-cell-plus strong{font-size:15px!important;font-weight:720!important;color:#172033!important}.client-shell-body .employee-name-cell-plus span{font-size:12px!important;color:#667085!important;line-height:1.25!important}.client-shell-body .employee-hours-pill{border:1px solid #e5ebf2!important;background:#f8fafc!important;border-radius:14px!important;padding:8px 9px!important;display:grid!important;gap:1px!important}.client-shell-body .employee-hours-pill b{font-size:14px!important;font-weight:720!important}.client-shell-body .employee-hours-pill small{font-size:11px!important;color:#667085!important}.client-shell-body .employee-hours-pill.ok{background:#f4fbf7!important;border-color:#d7eddf!important}.client-shell-body .employee-hours-pill.over{background:#fff7ed!important;border-color:#fed7aa!important}.client-shell-body .employee-hours-pill.under{background:#eff6ff!important;border-color:#bfdbfe!important}.client-shell-body .shift-cell-plus{background:#fcfdff!important;min-height:168px!important;padding:9px!important;position:relative!important}.client-shell-body .shift-cell-plus.empty{background:linear-gradient(180deg,#fcfdff,#f8fafc)!important}.client-shell-body .cell-actions-plus{opacity:.65!important;transition:.16s!important}.client-shell-body .shift-cell-plus:hover .cell-actions-plus{opacity:1!important}.client-shell-body .cell-actions-plus button{background:#fff!important;border:1px solid #e1e8f0!important;color:#475569!important;font-size:11px!important;font-weight:680!important;padding:5px 7px!important;border-radius:10px!important}.client-shell-body .cell-actions-plus button:hover{background:#f2faf5!important;border-color:#cfe7d8!important;color:#257553!important}.client-shell-body .empty-shift-cell{display:grid!important;place-items:center!important;gap:2px!important;min-height:76px!important;border:1px dashed #d5dee8!important;border-radius:16px!important;color:#98a2b3!important;cursor:pointer!important}.client-shell-body .empty-shift-cell:hover{background:#f7fbf8!important;border-color:#cfe7d8!important;color:#257553!important}.client-shell-body .empty-shift-cell span{width:24px!important;height:24px!important;border-radius:50%!important;background:#fff!important;border:1px solid #dfe7ef!important;display:grid!important;place-items:center!important}.client-shell-body .empty-shift-cell em{font-style:normal!important;font-size:12px!important}.client-shell-body .shift-plus{border-left:0!important;border:1px solid #dbe5ee!important;background:#fff!important;border-radius:16px!important;padding:10px!important;box-shadow:0 7px 16px rgba(16,24,40,.035)!important}.client-shell-body .shift-plus.m{background:#f7fbf8!important;border-color:#d7eddf!important}.client-shell-body .shift-plus.p{background:#f5f8ff!important;border-color:#d7e3ff!important}.client-shell-body .shift-plus.e{background:#fff8ed!important;border-color:#fde7c4!important}.client-shell-body .shift-plus.fer{background:#f4f8ff!important;border-color:#dbeafe!important}.client-shell-body .shift-plus.mal{background:#fff5f5!important;border-color:#fecaca!important}.client-shell-body .shift-time{font-weight:720!important;color:#172033!important}.client-shell-body .shift-note{font-weight:560!important;color:#667085!important}.client-shell-body .shift-location-chip{display:inline-flex!important;margin-top:7px!important;background:#fff!important;border:1px solid #e5ebf2!important;color:#475569!important;border-radius:999px!important;padding:4px 8px!important;font-size:11px!important;font-weight:620!important}.client-shell-body .shift-location-chip.missing{background:#fff7ed!important;border-color:#fed7aa!important;color:#b45309!important}.client-shell-body .shift-foot{border-top:1px solid rgba(226,232,240,.8)!important;padding-top:7px!important;margin-top:8px!important}.client-shell-body .ack-badge{border-radius:999px!important;padding:4px 8px!important;font-weight:650!important;font-size:11px!important}.client-shell-body .ack-badge.seen{background:#f4fbf7!important;color:#257553!important;border:1px solid #d7eddf!important}.client-shell-body .ack-badge.unseen{background:#fff7ed!important;color:#b45309!important;border:1px solid #fed7aa!important}
@media(max-width:1280px){.client-shell-body .planning-command-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}.client-shell-body .planning-week-strip{grid-template-columns:repeat(4,minmax(0,1fr))!important}.client-shell-body .planning-workspace-plus{grid-template-columns:1fr!important}.client-shell-body .planning-quick-card{position:static!important}.client-shell-body .planning-grid-plus{grid-template-columns:230px repeat(7,170px)!important}}
@media(max-width:760px){.client-shell-body .planning-command-grid,.client-shell-body .planning-mini-summary{grid-template-columns:1fr!important}.client-shell-body .planning-week-strip{grid-template-columns:repeat(2,minmax(0,1fr))!important}.client-shell-body .quick-day-strip{grid-template-columns:repeat(4,1fr)!important}.client-shell-body .quick-grid-plus{grid-template-columns:1fr!important}.client-shell-body .planning-command-head{display:block!important}.client-shell-body .planning-quality-badge{margin-top:12px!important;width:100%!important}.client-shell-body .planning-grid-plus{grid-template-columns:210px repeat(7,160px)!important}}
@media print{.client-shell-body .planning-command-center,.client-shell-body .quick-day-strip,.client-shell-body .quick-preview,.client-shell-body .empty-shift-cell{display:none!important}}

/* v130 Planning stabilizzato: strumenti pratici, modifica inline e stampa pulita */
.client-shell-body .planning-stability-card{
  border-color:#dfe7ef!important;background:linear-gradient(180deg,#fff,#fbfcfe)!important;box-shadow:0 8px 22px rgba(16,24,40,.025)!important;
}
.client-shell-body .planning-stability-grid{display:grid!important;grid-template-columns:1.25fr .75fr!important;gap:14px!important;align-items:stretch!important}
.client-shell-body .compact-planning-tool{background:#f8fafc!important;border:1px solid #e5ebf2!important;border-radius:20px!important;padding:14px!important;gap:10px!important}
.client-shell-body .compact-planning-tool label{font-weight:560!important;color:#536175!important}
.client-shell-body .compact-planning-tool input,.client-shell-body .compact-planning-tool select{border-radius:13px!important;min-height:40px!important;background:#fff!important}
.client-shell-body .danger-tool{background:#fff7f7!important;border-color:#fee2e2!important}
.client-shell-body .danger-tool .btn{border-color:#fecaca!important;color:#991b1b!important;background:#fff!important}
.client-shell-body .shift-foot-stable{display:flex!important;align-items:center!important;justify-content:space-between!important;gap:8px!important}
.client-shell-body .shift-inline-actions{display:flex!important;align-items:center!important;gap:5px!important;flex-wrap:wrap!important}
.client-shell-body .shift-inline-actions form{display:inline-flex!important;margin:0!important}
.client-shell-body .mini-btn.danger{background:#fff5f5!important;border-color:#fecaca!important;color:#b42318!important}
.client-shell-body .shift-edit-details{margin-top:8px!important;border-top:1px solid #e5ebf2!important;padding-top:7px!important}
.client-shell-body .shift-edit-details summary{cursor:pointer!important;color:#536175!important;font-size:12px!important;font-weight:680!important;list-style:none!important}
.client-shell-body .shift-edit-details summary::-webkit-details-marker{display:none!important}
.client-shell-body .shift-edit-details summary:before{content:'✎';margin-right:5px;color:#257553!important}
.client-shell-body .shift-edit-form{display:grid!important;gap:7px!important;margin-top:8px!important;background:#fff!important;border:1px solid #e5ebf2!important;border-radius:14px!important;padding:10px!important}
.client-shell-body .shift-edit-form label{font-size:11px!important;font-weight:560!important;color:#667085!important}
.client-shell-body .shift-edit-form input,.client-shell-body .shift-edit-form select{min-height:34px!important;padding:7px 8px!important;border-radius:10px!important;font-size:12px!important;margin-top:4px!important}
.client-shell-body .shift-edit-form .two{gap:7px!important}
.client-shell-body .planning-print-title{display:none}
.client-shell-body .soft-focus-ring{outline:3px solid rgba(37,117,83,.14)!important;outline-offset:6px!important;transition:outline .2s!important}

@media(max-width:900px){
  .client-shell-body .planning-stability-grid{grid-template-columns:1fr!important}
}

@media print{
  @page{size:A4 landscape;margin:7mm}
  body{background:#fff!important;color:#111827!important}
  .client-shell-body .client-topbar,
  .client-shell-body .client-hero-pro,
  .client-shell-body .premium-kpis,
  .client-shell-body .planning-command-center,
  .client-shell-body .planning-publication-panel,
  .client-shell-body .planning-filter-panel,
  .client-shell-body .contract-control-panel,
  .client-shell-body .planning-alert-panel,
  .client-shell-body .change-requests-panel,
  .client-shell-body .audit-planning-panel,
  .client-shell-body .planning-tools-grid,
  .client-shell-body #consulente,
  .client-shell-body .quick-form-pro,
  .client-shell-body .planning-main-pro>.toolbar,
  .client-shell-body .cell-actions-plus,
  .client-shell-body .empty-shift-cell,
  .client-shell-body .shift-inline-actions,
  .client-shell-body .shift-edit-details,
  .client-shell-body .ack-badge,
  .client-shell-body .public-footer{display:none!important}
  .client-shell-body .client-main{padding:0!important;margin:0!important;width:100%!important;max-width:none!important}
  .client-shell-body .planning-print-zone{display:block!important;padding:0!important;margin:0!important}
  .client-shell-body .planning-main-pro{display:block!important;width:100%!important;padding:0!important;margin:0!important}
  .client-shell-body .planning-print-title{display:block!important;text-align:center!important;margin:0 0 8px!important;padding:0!important}
  .client-shell-body .planning-print-title h1{font-size:18px!important;margin:0 0 2px!important;color:#111827!important}
  .client-shell-body .planning-print-title p{margin:0!important;color:#475467!important;font-size:12px!important}
  .client-shell-body .planning-grid-plus{display:grid!important;width:100%!important;grid-template-columns:185px repeat(7,minmax(90px,1fr))!important;gap:0!important;border:1px solid #9ca3af!important;border-radius:0!important;box-shadow:none!important;background:#fff!important;overflow:visible!important;font-size:9px!important;page-break-inside:auto!important}
  .client-shell-body .planning-grid-plus .grid-head,
  .client-shell-body .planning-grid-plus .employee-name-cell,
  .client-shell-body .planning-grid-plus .shift-cell{border:1px solid #d1d5db!important;border-radius:0!important;box-shadow:none!important;background:#fff!important;padding:5px!important;min-height:44px!important;break-inside:avoid!important}
  .client-shell-body .planning-grid-plus .grid-head{background:#f3f4f6!important;color:#111827!important;text-align:left!important}
  .client-shell-body .planning-grid-plus .grid-head b{font-size:10px!important}
  .client-shell-body .planning-grid-plus .grid-head span,
  .client-shell-body .planning-grid-plus .grid-head em{font-size:8px!important;color:#4b5563!important}
  .client-shell-body .employee-name-cell-plus strong{font-size:10px!important;color:#111827!important}
  .client-shell-body .employee-name-cell-plus span{font-size:8px!important;color:#4b5563!important}
  .client-shell-body .employee-hours-pill{padding:3px 4px!important;border-radius:0!important;background:#fff!important;border:1px solid #d1d5db!important}
  .client-shell-body .employee-hours-pill b,.client-shell-body .employee-hours-pill small{font-size:8px!important}
  .client-shell-body .shift-cell-plus{min-height:58px!important;background:#fff!important;padding:4px!important}
  .client-shell-body .shift-plus{border:1px solid #9ca3af!important;border-radius:0!important;box-shadow:none!important;padding:4px!important;margin:0 0 3px!important;background:#fff!important;color:#111827!important}
  .client-shell-body .shift-time{font-size:10px!important;font-weight:700!important;color:#111827!important}
  .client-shell-body .shift-note,.client-shell-body .shift-location-chip,.client-shell-body .shift-foot span{font-size:8px!important;color:#374151!important;background:#fff!important;border:0!important;padding:0!important;margin:1px 0!important}
}

/* === v131 Timbrature Controllo Presenze === */
.client-shell-body .time-auto-control-panel{
  border:1px solid #dbeafe!important;
  background:linear-gradient(180deg,#ffffff 0%,#f8fbff 100%)!important;
  box-shadow:0 10px 30px rgba(15,23,42,.045)!important;
}
.client-shell-body .time-control-score{
  min-width:160px;
  border-radius:22px;
  padding:14px 16px;
  border:1px solid #e5e7eb;
  background:#f8fafc;
  text-align:right;
}
.client-shell-body .time-control-score span,
.client-shell-body .time-control-score b{display:block}
.client-shell-body .time-control-score span{font-size:12px;color:#667085;text-transform:uppercase;letter-spacing:.05em;font-weight:650}
.client-shell-body .time-control-score b{font-size:22px;color:#111827;margin-top:4px;font-weight:700}
.client-shell-body .time-control-score.success{background:#f0fdf4;border-color:#dcfce7}
.client-shell-body .time-control-score.warning{background:#fffbeb;border-color:#fde68a}
.client-shell-body .time-auto-grid{
  display:grid;
  grid-template-columns:repeat(5,minmax(0,1fr));
  gap:12px;
  margin-top:14px;
}
.client-shell-body .time-auto-card{
  min-height:142px;
  border-radius:22px;
  padding:16px;
  border:1px solid #e5e7eb;
  background:#fff;
  display:flex;
  flex-direction:column;
  gap:7px;
}
.client-shell-body .time-auto-card b{font-size:30px;line-height:1;color:#101828;font-weight:680}
.client-shell-body .time-auto-card span{font-size:14px;color:#101828;font-weight:650}
.client-shell-body .time-auto-card small{display:block;color:#667085;font-size:12px;line-height:1.35;border-top:1px solid rgba(226,232,240,.75);padding-top:6px;margin-top:2px}
.client-shell-body .time-auto-card.ok{background:#f7fcf9;border-color:#d9efdf}
.client-shell-body .time-auto-card.warning{background:#fffbeb;border-color:#f5e4b9}
.client-shell-body .time-auto-card.danger{background:#fff7f7;border-color:#ffd6d2}
.client-shell-body .time-auto-card.info{background:#f5f8ff;border-color:#d7e8ff}
.client-shell-body .time-rules-strip{
  display:flex;
  flex-wrap:wrap;
  gap:8px;
  margin-top:14px;
}
.client-shell-body .time-rules-strip span{
  border:1px solid #e5e7eb;
  background:#fff;
  color:#475467;
  border-radius:999px;
  padding:8px 11px;
  font-size:12px;
  font-weight:580;
}
.client-shell-body .attendance-status-pill.info,
.client-shell-body .attendance-status-pill.neutral{
  background:#eff6ff;
  color:#1d4ed8;
  border:1px solid #bfdbfe;
}
.client-shell-body .attendance-status-pill.neutral{
  background:#f8fafc;
  color:#475467;
  border-color:#e5e7eb;
}
.client-shell-body .attendance-card.info{border-color:#bfdbfe!important;background:#fbfdff!important}
.client-shell-body .attendance-card.neutral{border-color:#e5e7eb!important;background:#fff!important}
.client-shell-body .soft-reasons span{background:#f8fafc!important;color:#475467!important;border-color:#e5e7eb!important}
.client-shell-body .soft-reasons span:first-child{background:#eef4ff!important;color:#1d4ed8!important;border-color:#d7e8ff!important}
.employee-clock-correction-grid{
  display:grid;
  grid-template-columns:1fr 1.25fr;
  gap:16px;
  margin:18px 0;
}
.employee-clock-timeline{
  display:flex;
  flex-wrap:wrap;
  gap:8px;
  margin:12px 0;
}
.employee-clock-timeline span{
  display:inline-flex;
  align-items:center;
  gap:7px;
  border-radius:999px;
  padding:8px 11px;
  font-size:13px;
  font-weight:650;
  border:1px solid #e5e7eb;
  background:#fff;
}
.employee-clock-timeline span.clock-in{background:#f0fdf4;color:#166534;border-color:#dcfce7}
.employee-clock-timeline span.clock-out{background:#f8fafc;color:#344054;border-color:#e5e7eb}
.employee-clock-timeline span.clock-break{background:#fffbeb;color:#92400e;border-color:#fde68a}
.employee-clock-timeline span.clock-return{background:#eff6ff;color:#1d4ed8;border-color:#bfdbfe}
.employee-clock-month-mini{
  margin-top:12px;
  border:1px solid #e5e7eb;
  background:#f8fafc;
  border-radius:18px;
  padding:13px 14px;
}
.employee-clock-month-mini b{font-size:24px;color:#101828;display:block;font-weight:680}
.employee-clock-month-mini span{color:#667085;font-size:13px;font-weight:550}
.employee-clock-correction .form textarea{min-height:84px}
@media(max-width:1200px){
  .client-shell-body .time-auto-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .employee-clock-correction-grid{grid-template-columns:1fr}
}
@media(max-width:760px){
  .client-shell-body .time-auto-grid{grid-template-columns:1fr}
  .client-shell-body .time-rules-strip span{width:100%}
}

/* v132 - Pacchetti allineati + guida aziende */
body.pricing-page-refresh.product-public-page .pricing.pricing-wide.pricing-polished{
  display:grid!important;
  grid-template-columns:repeat(3,minmax(0,1fr))!important;
  gap:22px!important;
  align-items:stretch!important;
}
body.pricing-page-refresh.product-public-page .pricing-polished .price{
  height:100%!important;
  min-height:760px!important;
  display:flex!important;
  flex-direction:column!important;
  gap:14px!important;
  padding:26px!important;
  border-radius:28px!important;
  background:#fff!important;
}
body.pricing-page-refresh.product-public-page .pricing-polished .plan-top{
  min-height:174px!important;
  display:flex!important;
  flex-direction:column!important;
  gap:8px!important;
  padding-right:88px!important;
  border-bottom:1px solid #edf0f4!important;
  padding-bottom:16px!important;
}
body.pricing-page-refresh.product-public-page .pricing-polished .plan-top .eyebrow{
  min-height:34px!important;
  display:inline-flex!important;
  align-items:center!important;
  width:max-content!important;
  max-width:100%!important;
  font-size:11px!important;
  line-height:1.2!important;
  color:#246b4a!important;
  background:#f2faf5!important;
  border:1px solid #d7eddf!important;
  border-radius:999px!important;
  padding:7px 10px!important;
}
body.pricing-page-refresh.product-public-page .pricing-polished .plan-top h3{
  min-height:34px!important;
  margin:4px 0 0!important;
  line-height:1.05!important;
}
body.pricing-page-refresh.product-public-page .pricing-polished .plan-top p{
  min-height:72px!important;
  margin:0!important;
  line-height:1.45!important;
  color:#667085!important;
}
body.pricing-page-refresh.product-public-page .pricing-polished .amount{
  min-height:58px!important;
  margin:0!important;
  display:flex!important;
  align-items:flex-end!important;
  gap:8px!important;
  flex-wrap:wrap!important;
}
body.pricing-page-refresh.product-public-page .pricing-polished .vat-note{
  min-height:64px!important;
  display:block!important;
  line-height:1.45!important;
  margin:0!important;
}
body.pricing-page-refresh.product-public-page .pricing-polished .monthly-note{display:none!important}
body.monthly-billing-active.pricing-page-refresh.product-public-page .pricing-polished .monthly-note{display:block!important}
body.monthly-billing-active.pricing-page-refresh.product-public-page .pricing-polished .annual-note{display:none!important}
body.pricing-page-refresh.product-public-page .pricing-polished .plan-why{
  min-height:104px!important;
  line-height:1.52!important;
  margin:0!important;
  padding:14px!important;
  border:1px solid #edf0f4!important;
  background:#fbfcfd!important;
  border-radius:18px!important;
}
body.pricing-page-refresh.product-public-page .pricing-polished .ticks{
  min-height:132px!important;
  margin:0!important;
  padding:0!important;
  display:grid!important;
  gap:8px!important;
  align-content:start!important;
}
body.pricing-page-refresh.product-public-page .pricing-polished .ticks li{
  min-height:22px!important;
  line-height:1.35!important;
}
body.pricing-page-refresh.product-public-page .pricing-polished .clean-chips{
  display:flex!important;
  flex-wrap:wrap!important;
  gap:8px!important;
  align-items:flex-start!important;
}
body.pricing-page-refresh.product-public-page .pricing-polished .clean-chips:first-of-type{
  min-height:88px!important;
  padding-top:4px!important;
}
body.pricing-page-refresh.product-public-page .pricing-polished .secondary-chips{
  min-height:104px!important;
  padding-top:2px!important;
}
body.pricing-page-refresh.product-public-page .pricing-polished .feature-chip,
body.pricing-page-refresh.product-public-page .pricing-polished .clean-chips span{
  display:inline-flex!important;
  align-items:center!important;
  min-height:28px!important;
  border-radius:999px!important;
  padding:7px 10px!important;
  font-size:12px!important;
  line-height:1.15!important;
}
body.pricing-page-refresh.product-public-page .pricing-polished .billing-cta{
  margin-top:auto!important;
  min-height:48px!important;
  width:100%!important;
}
body.pricing-page-refresh.product-public-page .pricing-polished .badge{
  top:22px!important;
  right:22px!important;
}
body.pricing-page-refresh.product-public-page .price-policy-box{
  margin-top:24px!important;
}

.guide-company-page .guide-hero{padding-top:72px!important;padding-bottom:34px!important}
.guide-hero-grid{display:grid;grid-template-columns:1.15fr .85fr;gap:30px;align-items:center}
.guide-company-page .guide-hero h1{font-size:clamp(42px,5vw,68px);line-height:.96;letter-spacing:-.065em;margin:18px 0}
.guide-summary-card{background:#fff;border:1px solid #e4e7ec;border-radius:30px;padding:28px;box-shadow:0 20px 46px rgba(16,24,40,.07)}
.guide-summary-card b{display:block;font-size:24px;letter-spacing:-.03em;color:#101828;margin-bottom:8px}
.guide-summary-card p{color:#667085;line-height:1.55;margin:0 0 18px}
.guide-mini-stats{display:grid;grid-template-columns:repeat(3,1fr);gap:10px}
.guide-mini-stats span{background:#f8fafc;border:1px solid #e4e7ec;border-radius:16px;padding:14px 10px;text-align:center;font-weight:950;color:#246b4a}
.compact-guide-section{padding-top:28px!important}
.guide-step-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}
.guide-step-card{background:#fff;border:1px solid #e4e7ec;border-radius:26px;padding:22px;box-shadow:0 12px 30px rgba(16,24,40,.045);display:flex;flex-direction:column;min-height:310px}
.guide-step-card>span{width:42px;height:42px;border-radius:16px;background:#f2faf5;border:1px solid #d7eddf;color:#25704a;display:grid;place-items:center;font-weight:1000;margin-bottom:14px}
.guide-step-card h3{font-size:22px;margin:0 0 8px;letter-spacing:-.025em;color:#101828}
.guide-step-card p{margin:0;color:#667085;line-height:1.55}
.guide-step-card ul{margin:auto 0 0;padding:16px 0 0;list-style:none;display:grid;gap:8px}
.guide-step-card li{background:#f8fafc;border:1px solid #edf0f4;border-radius:999px;padding:8px 11px;color:#344054;font-weight:850;font-size:13px}
.guide-flow-band{background:linear-gradient(180deg,#fff,#fbfcfd);border:1px solid #e4e7ec;border-radius:32px;padding:30px;box-shadow:0 14px 34px rgba(16,24,40,.05)}
.guide-flow-band h2{margin:12px 0 0!important}
.guide-flow-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin-top:24px}
.guide-flow-grid div{background:#f8fafc;border:1px solid #edf0f4;border-radius:22px;padding:18px}
.guide-flow-grid b{display:block;font-size:18px;color:#101828;margin-bottom:6px}
.guide-flow-grid p{margin:0;color:#667085;line-height:1.5}
.guide-tips-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px}
.guide-tips-grid article{background:#fff;border:1px solid #e4e7ec;border-radius:22px;padding:20px;box-shadow:0 10px 26px rgba(16,24,40,.04)}
.guide-tips-grid strong{display:block;color:#101828;font-size:17px;margin-bottom:8px;letter-spacing:-.015em}
.guide-tips-grid p{margin:0;color:#667085;line-height:1.5}
.guide-final-cta{grid-template-columns:1fr auto!important;background:linear-gradient(135deg,#122033,#1f3d33)!important}
@media(max-width:1100px){
 body.pricing-page-refresh.product-public-page .pricing.pricing-wide.pricing-polished{grid-template-columns:1fr!important}
 body.pricing-page-refresh.product-public-page .pricing-polished .price{min-height:auto!important}
 body.pricing-page-refresh.product-public-page .pricing-polished .plan-top,
 body.pricing-page-refresh.product-public-page .pricing-polished .plan-top p,
 body.pricing-page-refresh.product-public-page .pricing-polished .vat-note,
 body.pricing-page-refresh.product-public-page .pricing-polished .plan-why,
 body.pricing-page-refresh.product-public-page .pricing-polished .ticks,
 body.pricing-page-refresh.product-public-page .pricing-polished .clean-chips:first-of-type,
 body.pricing-page-refresh.product-public-page .pricing-polished .secondary-chips{min-height:0!important}
 .guide-hero-grid,.guide-step-grid,.guide-flow-grid,.guide-tips-grid,.guide-final-cta{grid-template-columns:1fr!important}
}
@media(max-width:620px){
 body.pricing-page-refresh.product-public-page .pricing-polished .plan-top{padding-right:0!important;padding-top:42px!important}
 .guide-company-page .guide-hero h1{font-size:38px!important}
 .guide-summary-card,.guide-step-card,.guide-flow-band{border-radius:22px;padding:20px}
 .guide-mini-stats{grid-template-columns:1fr}
}


/* v133 - Prezzo singolo nelle card pacchetto */
.pricing-single-price{margin:18px 0 12px;padding:15px 16px;border:1px solid rgba(16,185,129,.22);background:linear-gradient(180deg,#ffffff,#f8fffb);border-radius:22px;display:grid;gap:6px;align-content:start}
.pricing-single-price .price-mode-label{display:inline-flex;width:max-content;align-items:center;border:1px solid rgba(16,185,129,.22);background:#ecfdf5;color:#047857;border-radius:999px;padding:5px 9px;font-size:11px;font-weight:800;letter-spacing:.02em}
.pricing-single-price .amount{margin:0;line-height:1.02}
.pricing-single-price .billing-single-note{margin:0;background:transparent;border:0;padding:0;color:#64748b;font-size:13px;font-weight:600}
.price.professional-price .pricing-single-price + .plan-why{margin-top:12px}


/* v134 - guida aziende più visibile */
.navlinks a[href="guida-aziende.php"]{position:relative}
.navlinks a[href="guida-aziende.php"]::after{content:"";position:absolute;left:12px;right:12px;bottom:5px;height:2px;border-radius:999px;background:rgba(34,197,94,.38);opacity:.95}
.guide-cta-link{border-color:#bbf7d0!important;background:#f0fdf4!important;color:#166534!important}
.guide-home-callout,.pricing-guide-callout{padding-top:18px!important;padding-bottom:26px!important}
.guide-callout-card{display:grid;grid-template-columns:1fr auto auto;gap:18px;align-items:center;background:linear-gradient(135deg,#ffffff,#f8fafc);border:1px solid #d9eadf;border-left:6px solid #22c55e;border-radius:28px;padding:22px 24px;box-shadow:0 14px 35px rgba(15,23,42,.045)}
.guide-callout-card h2{margin:6px 0 6px;font-size:clamp(24px,2.4vw,34px);letter-spacing:-.035em;color:#0f172a}.guide-callout-card p{margin:0;color:#64748b;line-height:1.55;max-width:820px}.guide-callout-steps{display:flex;gap:8px;flex-wrap:wrap;justify-content:flex-end;max-width:360px}.guide-callout-steps span{background:#f0fdf4;border:1px solid #bbf7d0;color:#166534;border-radius:999px;padding:8px 10px;font-size:12px;font-weight:800;white-space:nowrap}.guide-callout-card.compact{grid-template-columns:1fr auto}.guide-company-page .guide-hero{padding-top:74px}.guide-company-page .guide-summary-card{border:1px solid #d9eadf;background:#fff;border-left:6px solid #22c55e}
@media(max-width:900px){.guide-callout-card,.guide-callout-card.compact{grid-template-columns:1fr}.guide-callout-steps{justify-content:flex-start}.guide-callout-card .btn{width:100%;justify-content:center}.navlinks a[href="guida-aziende.php"]::after{display:none}}

/* v135 - guida utilizzo area azienda */
.client-nav a[href="guida.php"]{border:1px solid rgba(34,197,94,.18);background:rgba(236,253,245,.7);color:#11613b}
.client-nav a[href="guida.php"].active{background:#dcfce7;color:#14532d;border-color:#bbf7d0}
.dashboard-guide-callout{align-items:center;gap:16px}.dashboard-guide-callout .hero-actions{margin:0;justify-content:flex-end;flex-wrap:wrap}
.app-guide-page{background:#f7fafc}.app-guide-hero{display:grid;grid-template-columns:minmax(0,1fr) 360px;gap:24px;align-items:stretch;padding:28px;border:1px solid #e5eaf0;background:linear-gradient(135deg,#ffffff,#f8fbff);box-shadow:0 12px 34px rgba(15,23,42,.045)}
.app-guide-hero h1{max-width:980px;margin:8px 0 10px;font-size:clamp(30px,4vw,48px);line-height:1.05;letter-spacing:-.045em;color:#0f172a}.app-guide-hero p{max-width:980px;color:#475569;font-size:17px;line-height:1.58}.app-guide-checklist{border:1px solid #dbe7f3;border-radius:24px;background:#fff;padding:22px;display:flex;flex-direction:column;justify-content:center}.app-guide-checklist strong{font-size:18px;color:#0f172a}.app-guide-checklist ol{margin:14px 0 0;padding-left:22px;color:#475569;line-height:1.8}.app-guide-checklist li::marker{font-weight:800;color:#16a34a}
.app-guide-section{padding:24px;margin-top:18px;border:1px solid #e6edf4;background:#fff;box-shadow:0 8px 26px rgba(15,23,42,.035)}.app-guide-section .section-head{margin-bottom:18px}.app-guide-section h2{letter-spacing:-.035em}.app-guide-grid{display:grid;gap:14px}.app-guide-grid.three-cols{grid-template-columns:repeat(3,minmax(0,1fr))}.app-guide-grid.four-cols{grid-template-columns:repeat(4,minmax(0,1fr))}.app-guide-grid article{border:1px solid #e2eaf2;background:#fbfdff;border-radius:22px;padding:18px;min-height:150px;display:flex;flex-direction:column;gap:7px}.app-guide-grid article span{display:inline-grid;place-items:center;width:38px;height:38px;border-radius:14px;background:#eefaf3;color:#15803d;border:1px solid #bbf7d0;font-weight:850}.app-guide-grid article h3{margin:4px 0 0;font-size:18px;color:#0f172a}.app-guide-grid article p{margin:0;color:#64748b;line-height:1.5}.app-guide-grid article a{margin-top:auto;font-weight:750;color:#166534}
.guide-two-col{display:grid;grid-template-columns:minmax(0,1.4fr) minmax(280px,.7fr);gap:16px}.guide-text-card,.guide-note-card{border:1px solid #e2eaf2;background:#fbfdff;border-radius:22px;padding:20px}.guide-note-card{background:linear-gradient(135deg,#f8fbff,#f1f7ff);border-color:#d9e8ff}.guide-note-card strong,.guide-text-card h3{display:block;margin:0 0 10px;color:#0f172a}.guide-note-card p,.guide-text-card p{color:#64748b;line-height:1.55}.guide-list{margin:0;padding-left:20px;color:#475569;line-height:1.75}.guide-list b{font-weight:750;color:#0f172a}.app-guide-flow{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}.app-guide-flow div{border:1px solid #e2eaf2;background:#fbfdff;border-radius:20px;padding:16px}.app-guide-flow b{display:block;color:#0f172a;margin-bottom:6px}.app-guide-flow span{display:block;color:#64748b;line-height:1.45}.guide-action-row{display:flex;gap:10px;flex-wrap:wrap;margin-top:16px}.app-guide-faq details{border:1px solid #e2eaf2;background:#fbfdff;border-radius:18px;padding:14px 16px;margin:10px 0}.app-guide-faq summary{cursor:pointer;font-weight:760;color:#0f172a}.app-guide-faq p{color:#64748b;line-height:1.55;margin:10px 0 0}
@media(max-width:1100px){.app-guide-hero,.guide-two-col{grid-template-columns:1fr}.app-guide-grid.four-cols{grid-template-columns:repeat(2,minmax(0,1fr))}.app-guide-flow{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:760px){.app-guide-grid.three-cols,.app-guide-grid.four-cols,.app-guide-flow{grid-template-columns:1fr}.app-guide-hero,.app-guide-section{padding:18px;border-radius:22px}.dashboard-guide-callout .hero-actions{justify-content:flex-start}}

/* v136 - Manuale operativo area azienda */
.client-nav a[href="manuale.php"]{border:1px solid rgba(59,130,246,.14);background:rgba(239,246,255,.72);color:#1d4ed8}
.client-nav a[href="manuale.php"].active{background:#dbeafe;color:#1e3a8a;border-color:#bfdbfe}
.app-manual-page{background:#f7fafc}.manual-hero{display:grid;grid-template-columns:minmax(0,1fr) 360px;gap:24px;align-items:stretch;padding:28px;border:1px solid #e5eaf0;background:linear-gradient(135deg,#ffffff,#f8fbff);box-shadow:0 10px 30px rgba(15,23,42,.035)}.manual-hero h1{font-size:clamp(31px,4.2vw,50px);line-height:1.04;letter-spacing:-.045em;margin:8px 0 10px;color:#0f172a}.manual-hero p{max-width:980px;color:#475569;font-size:17px;line-height:1.58}.manual-summary-card{border:1px solid #dbe7f3;border-radius:24px;background:#fff;padding:22px;display:grid;gap:12px;align-content:center}.manual-summary-card strong{font-size:20px;color:#0f172a}.manual-summary-card p{margin:0;color:#64748b;line-height:1.55}.manual-mini-grid{display:grid;grid-template-columns:1fr 1fr;gap:8px}.manual-mini-grid span{border:1px solid #e2eaf2;background:#f8fafc;border-radius:14px;padding:10px;text-align:center;font-weight:750;color:#334155}
.manual-index{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:10px;padding:14px;border:1px solid #e6edf4;background:#fff;margin-top:16px;box-shadow:none}.manual-index a{border:1px solid #e2eaf2;background:#fbfdff;border-radius:16px;padding:12px;text-decoration:none;color:#334155;display:grid;gap:5px;min-height:74px}.manual-index b{display:grid;place-items:center;width:28px;height:28px;border-radius:10px;background:#eef6ff;color:#1d4ed8;font-size:13px}.manual-index span{font-size:13px;font-weight:760;line-height:1.2}.manual-section{margin-top:18px;padding:24px;border:1px solid #e6edf4;background:#fff;box-shadow:0 8px 24px rgba(15,23,42,.03)}.manual-section-title{display:flex;align-items:flex-start;gap:14px;margin-bottom:18px}.manual-section-title>span{display:grid;place-items:center;width:46px;height:46px;border-radius:16px;background:#f0f7ff;border:1px solid #dbeafe;color:#1d4ed8;font-weight:850;flex:0 0 auto}.manual-section-title h2{margin:0;font-size:clamp(24px,2.6vw,34px);letter-spacing:-.035em;color:#0f172a}.manual-section-title p{margin:4px 0 0;color:#64748b;line-height:1.5}.manual-steps{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}.manual-steps.compact{grid-template-columns:repeat(4,minmax(0,1fr))}.manual-steps article,.manual-flow div,.manual-dosdonts>div,.manual-rules-grid article{border:1px solid #e2eaf2;background:#fbfdff;border-radius:20px;padding:17px}.manual-steps b,.manual-flow b,.manual-dosdonts h3,.manual-rules-grid b{display:block;color:#0f172a;margin-bottom:7px;font-size:16px}.manual-steps p,.manual-flow p,.manual-rules-grid p{margin:0;color:#64748b;line-height:1.5}.manual-steps a,.manual-flow a,.manual-checklist a{color:#166534;font-weight:760}.manual-highlight{background:linear-gradient(180deg,#fff,#fbfdff);border-left:5px solid #60a5fa}.manual-checklist{display:grid;gap:10px}.manual-checklist.two-cols{grid-template-columns:repeat(2,minmax(0,1fr))}.manual-checklist label{display:flex;gap:10px;align-items:flex-start;border:1px solid #e2eaf2;background:#fbfdff;border-radius:16px;padding:13px;color:#334155;font-weight:620;line-height:1.4}.manual-checklist input{margin-top:3px;accent-color:#16a34a}.manual-note{margin-top:14px;border:1px solid #dbeafe;background:#f8fbff;border-radius:18px;padding:14px 16px;color:#475569;line-height:1.5}.manual-note strong{color:#1e3a8a}.manual-flow{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}.manual-flow.three{grid-template-columns:repeat(3,minmax(0,1fr))}.manual-dosdonts{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-top:14px}.manual-dosdonts ul{margin:0;padding-left:20px;color:#475569;line-height:1.7}.manual-status-grid{display:grid;grid-template-columns:auto 1fr;gap:9px 12px;align-items:center;margin-top:14px}.manual-status{display:inline-flex;align-items:center;justify-content:center;border-radius:999px;padding:8px 12px;font-size:12px;font-weight:800;border:1px solid #e2eaf2}.manual-status.ok{background:#ecfdf5;color:#166534;border-color:#bbf7d0}.manual-status.warn{background:#fffbeb;color:#92400e;border-color:#fde68a}.manual-status.danger{background:#fef2f2;color:#991b1b;border-color:#fecaca}.manual-status-grid span:not(.manual-status){color:#475569;line-height:1.45}.manual-rules-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.manual-final{display:flex;align-items:center;justify-content:space-between;gap:18px;background:#fff}.guide-manual-callout{display:flex;align-items:center;justify-content:space-between;gap:18px;border:1px solid #dbeafe;background:linear-gradient(135deg,#fff,#f8fbff);box-shadow:0 8px 24px rgba(15,23,42,.03);margin-top:16px}.guide-manual-callout h2{margin:4px 0 6px;letter-spacing:-.035em}.guide-manual-callout p{margin:0;color:#64748b;line-height:1.55;max-width:880px}
@media(max-width:1200px){.manual-index{grid-template-columns:repeat(4,minmax(0,1fr))}.manual-steps,.manual-steps.compact,.manual-flow{grid-template-columns:repeat(2,minmax(0,1fr))}.manual-rules-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.manual-hero{grid-template-columns:1fr}.guide-manual-callout,.manual-final{display:grid;grid-template-columns:1fr}}
@media(max-width:760px){.manual-index,.manual-steps,.manual-steps.compact,.manual-flow,.manual-flow.three,.manual-dosdonts,.manual-checklist.two-cols,.manual-rules-grid{grid-template-columns:1fr}.manual-hero,.manual-section{padding:18px;border-radius:22px}.manual-section-title{display:block}.manual-section-title>span{margin-bottom:10px}.manual-mini-grid{grid-template-columns:1fr}.manual-status-grid{grid-template-columns:1fr}.manual-hero .btn,.manual-final .btn,.guide-manual-callout .btn{width:100%;justify-content:center}}
@media print{.no-print,.client-topbar,.client-head-actions,.client-nav,.hero-actions{display:none!important}.app-manual-page,.client-main{padding:0!important;background:#fff!important}.manual-hero,.manual-section{box-shadow:none!important;border:1px solid #d0d5dd!important;border-radius:10px!important;padding:14px!important;margin:0 0 10px!important;break-inside:avoid}.manual-hero{display:block!important}.manual-section-title h2{font-size:22px!important}.manual-steps,.manual-flow,.manual-rules-grid,.manual-dosdonts,.manual-checklist.two-cols{grid-template-columns:1fr 1fr!important}.manual-checklist label,.manual-steps article,.manual-flow div,.manual-rules-grid article{padding:10px!important;border-radius:10px!important}a{color:#111!important;text-decoration:none!important}}


/* v137 - Checkbox allineate, admin light come area azienda, pagamenti carta più chiari */
:root{--sm-admin-bg:#f7f9fb;--sm-admin-card:#ffffff;--sm-admin-line:#e4eaf0;--sm-admin-ink:#101828;--sm-admin-muted:#667085;--sm-admin-soft:#f8fbfd;--sm-admin-green:#157f4f;--sm-admin-blue:#2563eb}
.form label:has(> input[type="checkbox"]),
.form label:has(input[type="checkbox"]),
.feature-groups label,
.mini-check,
.check-line,
.manual-checklist label,
.inline-checks label{
  display:flex!important;
  align-items:flex-start!important;
  gap:10px!important;
  line-height:1.35!important;
  min-height:34px!important;
}
.form label:has(> input[type="checkbox"]) input[type="checkbox"],
.form label:has(input[type="checkbox"]) input[type="checkbox"],
.feature-groups label input[type="checkbox"],
.mini-check input[type="checkbox"],
.check-line input[type="checkbox"],
.manual-checklist input[type="checkbox"],
.inline-checks input[type="checkbox"]{
  width:18px!important;
  height:18px!important;
  min-width:18px!important;
  margin:1px 0 0 0!important;
  accent-color:#157f4f!important;
  flex:0 0 auto!important;
}
.feature-groups label span{line-height:1!important;min-width:20px;text-align:center}.feature-groups fieldset{align-content:start}.feature-groups legend{font-weight:760!important}.form .field-help{display:block;margin-top:6px;color:#667085;font-size:12px;font-weight:500;line-height:1.35}.payment-link-grid label input{margin-top:8px!important}

body.admin-shell-body{background:var(--sm-admin-bg)!important;color:var(--sm-admin-ink)!important}.admin-shell{display:grid!important;grid-template-columns:270px minmax(0,1fr)!important;min-height:100vh!important;background:var(--sm-admin-bg)!important}.admin-shell .sidebar{position:sticky!important;top:0!important;height:100vh!important;background:#ffffff!important;border-right:1px solid var(--sm-admin-line)!important;box-shadow:none!important;padding:18px 16px!important}.admin-shell .sidebar .brand{justify-content:flex-start!important;min-height:64px!important;padding:8px 6px 18px!important;border-bottom:1px solid var(--sm-admin-line)!important;margin-bottom:12px!important}.admin-shell .menu{display:grid!important;gap:6px!important}.admin-shell .menu a{display:flex!important;align-items:center!important;min-height:42px!important;padding:10px 12px!important;border:1px solid transparent!important;border-radius:14px!important;color:#475569!important;font-weight:650!important;background:transparent!important;transition:.16s ease!important}.admin-shell .menu a:hover{background:#f8fafc!important;border-color:#e6edf4!important;color:#0f172a!important;transform:none!important}.admin-shell .menu a.active{background:#f2faf5!important;border-color:#d7eddf!important;color:#157f4f!important;box-shadow:none!important}.admin-main{width:100%!important;max-width:none!important;padding:24px 28px 52px!important}.admin-head{background:#fff!important;border:1px solid var(--sm-admin-line)!important;border-radius:24px!important;padding:18px 20px!important;margin-bottom:18px!important;box-shadow:0 8px 22px rgba(15,23,42,.025)!important}.admin-head h1{margin:4px 0 0!important;font-size:clamp(26px,3vw,40px)!important;line-height:1.08!important;letter-spacing:-.04em!important}.admin-shell-body .panel,.admin-shell-body .admin-hero,.admin-shell-body .kpi,.admin-shell-body .price,.admin-shell-body .package-card,.admin-shell-body .plan-editor,.admin-shell-body .table{border-color:var(--sm-admin-line)!important;box-shadow:0 8px 24px rgba(15,23,42,.03)!important;background:#fff!important}.admin-shell-body .admin-hero{display:grid!important;grid-template-columns:minmax(0,1fr) auto!important;gap:20px!important;align-items:center!important;border-radius:26px!important;background:linear-gradient(180deg,#fff,#fbfdff)!important}.admin-shell-body .admin-hero h2{font-size:clamp(26px,3vw,40px)!important;line-height:1.08!important;letter-spacing:-.04em!important;margin:8px 0!important;color:#0f172a!important}.admin-shell-body .admin-hero p{max-width:880px!important;color:#667085!important;line-height:1.55!important}.admin-shell-body .cards{gap:14px!important}.admin-shell-body .kpi{border-radius:22px!important;padding:18px!important}.admin-shell-body .kpi span{font-weight:650!important;color:#667085!important}.admin-shell-body .kpi strong{font-size:30px!important;letter-spacing:-.035em!important;color:#0f172a!important}.admin-shell-body .form label{font-weight:620!important;color:#344054!important}.admin-shell-body input,.admin-shell-body select,.admin-shell-body textarea{border-color:#dbe3eb!important;background:#fff!important;box-shadow:none!important}.admin-shell-body input:focus,.admin-shell-body select:focus,.admin-shell-body textarea:focus{outline:3px solid rgba(21,127,79,.11)!important;border-color:#9ad4b2!important}.admin-shell-body .btn{box-shadow:none!important;border-color:#d0d7de!important;font-weight:680!important}.admin-shell-body .btn.primary{background:#157f4f!important;border-color:#157f4f!important;color:#fff!important}.admin-shell-body .btn.danger{background:#fff7ed!important;color:#9a3412!important;border-color:#fed7aa!important}.admin-shell-body .table{border-collapse:separate!important;border-spacing:0!important;overflow:hidden!important;border-radius:20px!important;width:100%!important}.admin-shell-body .table th{background:#f8fafc!important;color:#475569!important;font-weight:750!important;border-bottom:1px solid var(--sm-admin-line)!important}.admin-shell-body .table td{border-bottom:1px solid #edf1f5!important;vertical-align:top!important}.admin-soft-steps{display:flex;gap:8px;flex-wrap:wrap;margin-top:14px}.admin-soft-steps span{display:inline-flex;align-items:center;border:1px solid #dbe7f3;background:#f8fbff;color:#31506b;border-radius:999px;padding:8px 11px;font-size:12px;font-weight:700}.payment-provider-badge{min-width:190px;border:1px solid #dbe7f3;background:#fff;border-radius:22px;padding:18px;text-align:center;box-shadow:0 8px 20px rgba(15,23,42,.025)}.payment-provider-badge strong{display:block;font-size:20px;letter-spacing:-.02em;color:#0f172a}.payment-provider-badge span{display:inline-flex;margin-top:8px;border-radius:999px;padding:6px 10px;font-size:12px;font-weight:760;border:1px solid #e4eaf0;background:#f8fafc;color:#475569}.payment-provider-badge span.ok{background:#ecfdf5;color:#166534;border-color:#bbf7d0}.payment-provider-badge span.warn{background:#fffbeb;color:#92400e;border-color:#fde68a}.admin-payment-help{display:flex;gap:8px;align-items:flex-start;border:1px solid #dbeafe;background:#f8fbff;border-radius:18px;padding:14px 16px;margin-bottom:16px;color:#475569}.admin-payment-help strong{color:#1e3a8a}.manual-order-panel{background:linear-gradient(180deg,#fff,#fbfcfd)!important}.payment-orders-table .trial-actions{display:grid!important;gap:8px!important}.payment-orders-table .trial-actions form{display:flex!important;gap:8px!important;align-items:center!important;flex-wrap:wrap!important}.payment-orders-table .small-input{min-width:150px!important;margin:0!important;padding:9px 10px!important;border-radius:12px!important}.refined-payment-box{border-color:#dbeafe!important;background:linear-gradient(180deg,#fff,#f8fbff)!important}.card-pay-button{font-size:16px!important;min-height:52px!important}.secure-payment-note{border:1px solid #dbeafe;background:#f8fbff;border-radius:14px;padding:10px 12px;line-height:1.45}.secure-payment-note.warning{border-color:#fed7aa!important;background:#fff7ed!important;color:#9a3412!important}
@media(max-width:980px){.admin-shell{display:block!important}.admin-shell .sidebar{position:relative!important;height:auto!important;border-right:0!important;border-bottom:1px solid var(--sm-admin-line)!important}.admin-shell .menu{display:flex!important;overflow:auto!important;padding-bottom:6px!important}.admin-shell .menu a{white-space:nowrap!important}.admin-main{padding:18px!important}.admin-shell-body .admin-hero{grid-template-columns:1fr!important}.payment-provider-badge{text-align:left!important}.admin-payment-help{display:block!important}}

/* v138 - Stripe Checkout automatico */
.stripe-admin-settings .stripe-help-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;background:#f8fafc;border:1px solid #e2e8f0;border-radius:18px;padding:14px;margin-bottom:16px}.stripe-admin-settings .stripe-help-grid div{background:#fff;border:1px solid #edf2f7;border-radius:14px;padding:12px;min-width:0}.stripe-admin-settings .stripe-help-grid strong{display:block;font-weight:800;color:#0f172a;margin-bottom:4px}.stripe-admin-settings .stripe-help-grid span{display:block;color:#64748b;font-size:12px;word-break:break-all}.soft-danger{background:#fff7f7!important;border-color:#fee2e2!important;color:#7f1d1d!important;padding:10px 12px;border-radius:14px}.payment-provider-badge small{display:block;color:#64748b;margin-top:6px;font-size:12px;font-weight:700}.mini-link{display:inline-flex;margin-top:6px;font-size:12px;font-weight:800;color:#2563eb;text-decoration:none}.mini-link:hover{text-decoration:underline}.secure-payment-note.warning{background:#fff7ed;border-color:#fed7aa;color:#9a3412}.payment-result-card.success .notice{margin-top:14px}@media(max-width:900px){.stripe-admin-settings .stripe-help-grid{grid-template-columns:1fr}.stripe-admin-settings .three,.stripe-admin-settings .two{grid-template-columns:1fr}}


/* v140 - Badge credenziali e abbonamento */
.employee-badge-page .badge-tool-header{margin-bottom:18px}.badge-print-layout{display:grid;grid-template-columns:minmax(360px,760px) 1fr;gap:18px;align-items:start}.employee-access-badge-card{background:#fff;border:1px solid #dbe4ee;border-radius:28px;padding:28px;box-shadow:0 18px 44px rgba(15,23,42,.07);max-width:760px}.badge-brand-row{display:flex;align-items:center;gap:10px;color:#64748b;font-weight:800;margin-bottom:22px}.badge-brand-row img{width:34px;height:34px}.badge-employee-main{display:flex;align-items:center;gap:18px;border-bottom:1px solid #e8eef5;padding-bottom:20px;margin-bottom:20px}.badge-avatar{width:86px;height:86px;border-radius:24px;background:linear-gradient(135deg,#e0f2fe,#dcfce7);border:1px solid #bfdbfe;color:#0f172a;display:grid;place-items:center;font-size:30px;font-weight:900}.badge-employee-main h1{font-size:32px;line-height:1.05;margin:0 0 6px;letter-spacing:-.04em}.badge-employee-main p{margin:0;color:#64748b}.badge-credential-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin:16px 0}.badge-credential-grid div,.badge-access-box{border:1px solid #e2e8f0;background:#f8fafc;border-radius:18px;padding:14px}.badge-credential-grid span,.badge-access-box span{display:block;font-size:11px;text-transform:uppercase;letter-spacing:.08em;color:#64748b;font-weight:800;margin-bottom:6px}.badge-credential-grid strong,.badge-access-box strong{display:block;color:#0f172a;font-size:15px;word-break:break-word}.badge-credential-grid .pin-box{background:#fff7ed;border-color:#fed7aa}.badge-credential-grid .pin-box strong{font-size:28px;letter-spacing:.08em}.badge-access-box{margin-top:10px}.badge-access-box.light{background:#f0fdf4;border-color:#bbf7d0}.badge-note{margin-top:16px;color:#475569;font-size:13px;line-height:1.55}.badge-instructions-card{background:#fff;border:1px solid #e2e8f0;border-radius:24px;padding:22px}.badge-instructions-card h3{margin-top:0}.badge-instructions-card li{margin:8px 0;color:#334155}.subscription-hero-light{background:linear-gradient(135deg,#f8fafc,#eef6ff)!important;color:#0f172a!important;border:1px solid #dbe4ee}.subscription-hero-light h1{color:#0f172a!important}.subscription-hero-light p{color:#475569!important}.subscription-hero-light .hero-command-card{background:#fff;border-color:#e2e8f0}.subscription-hero-light .command-row span{color:#64748b}.subscription-hero-light .command-row b{color:#0f172a}.subscription-status-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin:18px 0}.subscription-status-grid div{background:#f8fafc;border:1px solid #e2e8f0;border-radius:18px;padding:15px}.subscription-status-grid span{display:block;color:#64748b;text-transform:uppercase;font-size:11px;letter-spacing:.08em;font-weight:800}.subscription-status-grid strong{display:block;margin-top:7px;word-break:break-word;color:#0f172a}@media(max-width:900px){.badge-print-layout,.subscription-status-grid{grid-template-columns:1fr}.employee-access-badge-card{padding:20px}.badge-credential-grid{grid-template-columns:1fr}}@media print{.no-print,.client-topbar,.client-head-actions,.client-nav{display:none!important}.client-main{padding:0!important}.badge-print-layout{display:block!important}.employee-access-badge-card{box-shadow:none!important;border:1px solid #111!important;border-radius:16px!important;max-width:none!important;margin:0!important}.badge-instructions-card{display:none!important}.badge-employee-main h1{font-size:26px!important}.badge-credential-grid{grid-template-columns:repeat(2,1fr)!important}.badge-access-box strong{font-size:11px!important}.badge-note{font-size:11px!important}}


/* v141 - Badge compatto, logo azienda e invio email più affidabile */
.compact-badge-page .badge-tool-header{margin-bottom:14px}.compact-badge-layout{grid-template-columns:minmax(320px,430px) 1fr;gap:16px}.compact-employee-badge{max-width:430px!important;padding:16px!important;border-radius:20px!important;box-shadow:0 10px 26px rgba(15,23,42,.055)!important}.compact-brand-row{margin-bottom:12px!important;padding-bottom:10px;border-bottom:1px solid #edf2f7}.compact-brand-row img.badge-company-logo{width:42px!important;height:42px!important;object-fit:contain;border-radius:12px;border:1px solid #e2e8f0;background:#fff;padding:4px}.badge-company-initials{width:42px;height:42px;border-radius:12px;background:#f1f5f9;border:1px solid #dbe4ee;display:grid;place-items:center;font-weight:850;color:#334155}.compact-brand-row strong{display:block;color:#0f172a;font-size:14px;line-height:1.1}.compact-brand-row small{display:block;color:#64748b;font-size:11px;margin-top:2px}.compact-employee-main{gap:10px!important;margin-bottom:12px!important;padding-bottom:12px!important}.compact-avatar{width:48px!important;height:48px!important;border-radius:15px!important;font-size:18px!important}.compact-employee-main h1{font-size:20px!important;letter-spacing:-.03em!important;margin-bottom:3px!important}.compact-employee-main p{font-size:12px!important;line-height:1.3}.compact-credential-grid{grid-template-columns:1fr 1fr!important;gap:7px!important;margin:10px 0!important}.compact-credential-grid div{padding:8px 9px!important;border-radius:12px!important}.compact-credential-grid span,.compact-access span{font-size:9px!important;margin-bottom:3px!important;letter-spacing:.07em}.compact-credential-grid strong,.compact-access strong{font-size:12px!important;line-height:1.2}.compact-credential-grid .compact-pin{grid-column:1/-1;background:#fff7ed!important;border-color:#fed7aa!important}.compact-credential-grid .compact-pin strong{font-size:22px!important;letter-spacing:.12em!important}.compact-access{padding:8px 9px!important;border-radius:12px!important;margin-top:8px!important}.compact-note{font-size:10.5px!important;margin-top:10px!important;line-height:1.35!important;color:#64748b!important}.email-delivery-settings input,.email-delivery-settings select{font-weight:500!important}.email-delivery-settings .muted{font-size:13px}.company-logo-preview{width:92px;height:92px;border-radius:22px;background:#f8fafc;border:1px solid #e2e8f0;display:grid;place-items:center;overflow:hidden;color:#475569;font-weight:850}.company-logo-preview img{width:100%;height:100%;object-fit:contain;padding:10px;background:#fff}.company-logo-upload-box{display:grid;grid-template-columns:auto 1fr;gap:16px;align-items:center}.compact-upload{padding:13px!important;border-radius:16px!important}@media(max-width:900px){.compact-badge-layout,.company-logo-upload-box{grid-template-columns:1fr}.compact-employee-badge{max-width:none!important}}@media print{@page{size:A4 portrait;margin:12mm}.compact-badge-page .client-main{padding:0!important}.compact-badge-layout{display:block!important}.compact-employee-badge{width:88mm!important;max-width:88mm!important;min-height:54mm!important;margin:0!important;padding:5mm!important;border:1px solid #111!important;border-radius:5mm!important;box-shadow:none!important;break-inside:avoid}.compact-brand-row{margin-bottom:3mm!important;padding-bottom:2.5mm!important}.compact-brand-row img.badge-company-logo,.badge-company-initials{width:12mm!important;height:12mm!important;border-radius:3mm!important}.compact-avatar{width:13mm!important;height:13mm!important;border-radius:3mm!important;font-size:10pt!important}.compact-employee-main{gap:3mm!important;margin-bottom:3mm!important;padding-bottom:3mm!important}.compact-employee-main h1{font-size:13pt!important}.compact-employee-main p{font-size:8pt!important}.compact-credential-grid{gap:1.8mm!important;margin:2.5mm 0!important}.compact-credential-grid div,.compact-access{padding:2mm!important;border-radius:2.5mm!important}.compact-credential-grid span,.compact-access span{font-size:6.5pt!important}.compact-credential-grid strong,.compact-access strong{font-size:8pt!important}.compact-credential-grid .compact-pin strong{font-size:14pt!important}.compact-note{font-size:7pt!important}}

/* === v142 - fix scroll fondo pagina area azienda === */
html,
body{
  min-height:100%!important;
  height:auto!important;
  overflow-x:hidden!important;
  overflow-y:auto!important;
}
.client-shell-body{
  min-height:100dvh!important;
  height:auto!important;
  overflow-y:auto!important;
  overscroll-behavior:auto!important;
}
.client-main{
  min-height:auto!important;
  overflow:visible!important;
  padding-bottom:140px!important;
}
.client-shell-body main,
.client-shell-body section,
.client-shell-body .panel,
.client-shell-body .client-panel,
.client-shell-body .employee-form-panel,
.client-shell-body .badge-print-layout,
.client-shell-body .compact-badge-layout{
  overflow:visible!important;
}
.sticky-form-actions,
.client-shell-body .sticky-form-actions{
  bottom:18px!important;
  margin-bottom:28px!important;
}
.employee-badge-page,
.compact-badge-page,
.email-delivery-settings,
.client-shell-body .employee-badge-page{
  padding-bottom:180px!important;
}
.compact-badge-layout,
.badge-print-layout{
  margin-bottom:120px!important;
}
.badge-instructions-card textarea{
  max-height:none!important;
  resize:vertical!important;
}
.client-shell-body:after{
  content:"";
  display:block;
  height:70px;
}
@media(max-width:900px){
  .client-main{padding-bottom:190px!important;}
  .sticky-form-actions,.client-shell-body .sticky-form-actions{position:static!important;margin-top:20px!important;}
  .employee-badge-page,.compact-badge-page{padding-bottom:220px!important;}
}
@media print{
  html,body,.client-shell-body,.client-main{overflow:visible!important;height:auto!important;min-height:0!important;padding-bottom:0!important;}
  .client-shell-body:after{display:none!important;}
}

/* v143 badge tessera */
.company-id-badge-card{padding:0!important;overflow:hidden;border-radius:22px!important;max-width:520px!important;background:#fff!important;border:1px solid #dbe4ee!important;box-shadow:0 10px 30px rgba(15,23,42,.05)!important}
.id-badge-shell{position:relative;aspect-ratio:1.586/1;background:linear-gradient(180deg,#ffffff 0%,#fbfdff 100%);display:flex;flex-direction:column;min-height:0}
.id-badge-topband{height:14px;background:linear-gradient(90deg,#0f766e 0%,#10b981 40%,#c7f9e8 100%)}
.id-badge-head{display:grid;grid-template-columns:auto 1fr auto;gap:10px;align-items:center;padding:14px 16px 10px 16px}
.id-badge-company-mark{width:54px;height:54px;display:grid;place-items:center;border-radius:14px;background:#f8fafc;border:1px solid #e2e8f0;overflow:hidden}
.id-company-logo{width:100%!important;height:100%!important;object-fit:contain;padding:8px;background:#fff;border:none!important;border-radius:0!important}
.id-company-initials{width:100%!important;height:100%!important;border-radius:0!important;background:#eef6ff;color:#0f172a;border:none!important;font-size:18px}
.id-badge-company-text strong{display:block;font-size:15px;line-height:1.15;color:#0f172a}
.id-badge-company-text small{display:block;margin-top:3px;color:#64748b;font-size:11px;letter-spacing:.03em}
.id-badge-type-pill{padding:6px 10px;border-radius:999px;border:1px solid #dbeafe;background:#f8fbff;color:#1d4ed8;font-size:10px;font-weight:800;letter-spacing:.08em}
.id-badge-body{padding:0 16px 16px 16px;display:flex;flex-direction:column;gap:12px;flex:1}
.id-badge-identity{display:grid;grid-template-columns:74px 1fr;gap:12px;align-items:center}
.id-badge-photo-wrap{width:74px;height:74px;border-radius:18px;overflow:hidden;background:#f8fafc;border:1px solid #e2e8f0;display:grid;place-items:center}
.id-badge-photo{width:100%;height:100%;object-fit:cover}
.id-badge-avatar{width:74px!important;height:74px!important;border-radius:18px!important;font-size:26px!important;background:linear-gradient(135deg,#f0fdf4,#e0f2fe)!important;border-color:#dbeafe!important}
.id-badge-person h1{margin:0 0 4px;font-size:21px!important;line-height:1.05!important;letter-spacing:-.03em;color:#0f172a}
.id-badge-person p{margin:0;color:#64748b;font-size:12px;line-height:1.35}
.id-badge-minirow{display:flex;flex-wrap:wrap;gap:6px;margin-top:8px}
.id-badge-minirow .mini-chip{display:inline-flex;align-items:center;padding:5px 8px;border-radius:999px;background:#f8fafc;border:1px solid #e2e8f0;color:#334155;font-size:10px;font-weight:700;line-height:1.2}
.id-badge-credentials{display:grid;grid-template-columns:1.05fr 1fr 1fr;gap:8px}
.id-cred-card{border:1px solid #e2e8f0;background:#f8fafc;border-radius:14px;padding:10px 11px;min-width:0}
.id-cred-card span{display:block;font-size:9px;font-weight:800;text-transform:uppercase;letter-spacing:.09em;color:#64748b;margin-bottom:4px}
.id-cred-card strong{display:block;font-size:12px;line-height:1.25;color:#0f172a;word-break:break-word}
.id-pin-card{background:#fffbeb;border-color:#fde68a}
.id-pin-card strong{font-size:24px;letter-spacing:.16em;white-space:nowrap}
.id-badge-footer{margin-top:auto;border-top:1px dashed #dbe4ee;padding-top:10px;display:grid;grid-template-columns:1fr 1fr;gap:8px}
.id-badge-footer span{display:block;font-size:9px;font-weight:800;text-transform:uppercase;letter-spacing:.09em;color:#64748b;margin-bottom:3px}
.id-badge-footer strong{display:block;font-size:11px;line-height:1.25;color:#0f172a;word-break:break-word}
@media(max-width:900px){.company-id-badge-card{max-width:none!important}.id-badge-credentials,.id-badge-footer{grid-template-columns:1fr}.id-pin-card strong{white-space:normal}}
@media print{
  @page{size:A4 portrait;margin:10mm}
  .company-id-badge-card{width:86mm!important;max-width:86mm!important;border-radius:4mm!important;border:0.3mm solid #111!important;box-shadow:none!important}
  .id-badge-shell{aspect-ratio:1.586/1!important;min-height:54mm!important}
  .id-badge-topband{height:3.2mm!important}
  .id-badge-head{padding:3mm 3.5mm 2.5mm 3.5mm!important;gap:2.5mm!important}
  .id-badge-company-mark{width:12mm!important;height:12mm!important;border-radius:3mm!important}
  .id-badge-company-text strong{font-size:8.8pt!important}
  .id-badge-company-text small{font-size:6.4pt!important}
  .id-badge-type-pill{font-size:6pt!important;padding:1mm 2mm!important}
  .id-badge-body{padding:0 3.5mm 3.5mm!important;gap:2.5mm!important}
  .id-badge-identity{grid-template-columns:15mm 1fr!important;gap:2.8mm!important}
  .id-badge-photo-wrap,.id-badge-avatar{width:15mm!important;height:15mm!important;border-radius:3mm!important}
  .id-badge-person h1{font-size:11.5pt!important;margin-bottom:1mm!important}
  .id-badge-person p{font-size:7pt!important}
  .id-badge-minirow{gap:1.4mm!important;margin-top:1.6mm!important}
  .id-badge-minirow .mini-chip{font-size:6pt!important;padding:1mm 1.6mm!important}
  .id-badge-credentials{gap:1.6mm!important}
  .id-cred-card{padding:1.7mm!important;border-radius:2.8mm!important}
  .id-cred-card span,.id-badge-footer span{font-size:5.8pt!important;margin-bottom:.5mm!important}
  .id-cred-card strong,.id-badge-footer strong{font-size:6.8pt!important}
  .id-pin-card strong{font-size:13pt!important;letter-spacing:.18em!important}
  .id-badge-footer{padding-top:1.8mm!important;gap:1.8mm!important}
}


/* v144 badge piccolo + Aruba mail */
.aruba-mail-settings{border-color:#dbe4ee!important;background:linear-gradient(180deg,#ffffff,#fbfdff)!important}
.aruba-mail-help{margin-top:12px;padding:12px 14px;border:1px solid #dbeafe;background:#f8fbff;border-radius:16px;color:#334155;font-size:13px;line-height:1.45}
.badge-print-layout.compact-badge-layout{grid-template-columns:minmax(300px,380px) minmax(280px,1fr)!important;align-items:start!important}
.company-id-badge-card{max-width:360px!important;width:100%!important;border-radius:18px!important;border:1px solid #d8e2ee!important;box-shadow:0 8px 22px rgba(15,23,42,.045)!important}
.id-badge-shell{aspect-ratio:1.62/1!important;background:#fff!important;min-height:0!important;overflow:hidden!important}
.id-badge-topband{height:7px!important;background:linear-gradient(90deg,#0f766e,#6ee7b7,#e0f2fe)!important}
.id-badge-head{padding:9px 11px 6px!important;gap:8px!important;grid-template-columns:48px 1fr auto!important}
.id-badge-company-mark{width:48px!important;height:32px!important;border-radius:9px!important;background:#fff!important;border:1px solid #e2e8f0!important}
.id-company-logo{padding:4px!important;object-fit:contain!important}
.id-company-initials{font-size:13px!important;background:#f8fafc!important}
.id-badge-company-text strong{font-size:12.5px!important;line-height:1.1!important;max-height:28px;overflow:hidden;display:-webkit-box!important;-webkit-line-clamp:2;-webkit-box-orient:vertical}
.id-badge-company-text small{font-size:8.8px!important;margin-top:1px!important;text-transform:uppercase;letter-spacing:.08em!important}
.id-badge-type-pill{font-size:8px!important;padding:4px 6px!important;background:#f8fafc!important;color:#475569!important;border-color:#dbe4ee!important}
.id-badge-body{padding:0 11px 10px!important;gap:7px!important}
.id-badge-identity{grid-template-columns:50px 1fr!important;gap:8px!important;align-items:center!important}
.id-badge-photo-wrap,.id-badge-avatar{width:50px!important;height:50px!important;border-radius:13px!important}
.id-badge-avatar{font-size:18px!important}
.id-badge-person h1{font-size:15px!important;line-height:1.05!important;margin-bottom:2px!important;letter-spacing:-.02em!important;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.id-badge-person p{font-size:9.5px!important;line-height:1.2!important;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.id-badge-minirow{gap:4px!important;margin-top:5px!important}
.id-badge-minirow .mini-chip{font-size:8px!important;padding:3px 5px!important;max-width:100%;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.id-badge-credentials{grid-template-columns:1fr 1fr 1fr!important;gap:5px!important}
.id-cred-card{border-radius:9px!important;padding:6px 7px!important;min-height:42px!important;background:#f8fafc!important}
.id-cred-card span{font-size:7.2px!important;letter-spacing:.08em!important;margin-bottom:2px!important}
.id-cred-card strong{font-size:8.8px!important;line-height:1.15!important;max-height:22px;overflow:hidden;word-break:break-word}
.id-pin-card{background:#fff7ed!important;border-color:#fed7aa!important}
.id-pin-card strong{font-size:16px!important;letter-spacing:.14em!important;max-height:none!important;white-space:nowrap!important}
.id-badge-footer{padding-top:6px!important;gap:6px!important;grid-template-columns:1fr!important;margin-top:0!important}
.id-badge-footer div:last-child{display:none!important}
.id-badge-footer span{font-size:7px!important;margin-bottom:1px!important}
.id-badge-footer strong{font-size:8.5px!important;line-height:1.15!important;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.badge-instructions-card{border-radius:18px!important;padding:16px!important}
@media(max-width:900px){.badge-print-layout.compact-badge-layout{grid-template-columns:1fr!important}.company-id-badge-card{max-width:380px!important}}
@media print{
  @page{size:A4 portrait;margin:10mm!important}
  .badge-print-layout.compact-badge-layout{display:grid!important;grid-template-columns:repeat(2,74mm)!important;gap:8mm!important;align-items:start!important}
  .company-id-badge-card{width:74mm!important;max-width:74mm!important;height:46mm!important;border-radius:3mm!important;border:.25mm solid #222!important;box-shadow:none!important;break-inside:avoid!important;page-break-inside:avoid!important}
  .id-badge-shell{width:74mm!important;height:46mm!important;aspect-ratio:auto!important}
  .id-badge-topband{height:1.6mm!important}
  .id-badge-head{padding:2mm 2.5mm 1.2mm!important;gap:1.8mm!important;grid-template-columns:13mm 1fr auto!important}
  .id-badge-company-mark{width:13mm!important;height:8mm!important;border-radius:1.8mm!important}
  .id-company-logo{padding:.8mm!important}
  .id-badge-company-text strong{font-size:7pt!important;line-height:1.05!important;max-height:14pt!important}
  .id-badge-company-text small{font-size:5.2pt!important}
  .id-badge-type-pill{font-size:5pt!important;padding:.8mm 1.4mm!important}
  .id-badge-body{padding:0 2.5mm 2.2mm!important;gap:1.6mm!important}
  .id-badge-identity{grid-template-columns:11.5mm 1fr!important;gap:1.8mm!important}
  .id-badge-photo-wrap,.id-badge-avatar{width:11.5mm!important;height:11.5mm!important;border-radius:2.2mm!important;font-size:7.5pt!important}
  .id-badge-person h1{font-size:9pt!important;margin-bottom:.5mm!important}
  .id-badge-person p{font-size:5.7pt!important}
  .id-badge-minirow{gap:.8mm!important;margin-top:1mm!important}
  .id-badge-minirow .mini-chip{font-size:5.2pt!important;padding:.6mm 1mm!important}
  .id-badge-credentials{gap:1mm!important}
  .id-cred-card{padding:1mm!important;border-radius:1.8mm!important;min-height:8.5mm!important}
  .id-cred-card span,.id-badge-footer span{font-size:4.8pt!important;margin-bottom:.2mm!important}
  .id-cred-card strong,.id-badge-footer strong{font-size:5.6pt!important;line-height:1.08!important}
  .id-pin-card strong{font-size:10pt!important;letter-spacing:.13em!important}
  .id-badge-footer{padding-top:1mm!important;gap:.8mm!important}
}


/* v145 badge davvero compatto + invio automatico server */
.email-delivery-settings,.aruba-mail-settings{display:none!important}
.mini-badge-page{padding-bottom:90px!important}
.badge-mini-toolbar{max-width:980px!important;margin-left:auto!important;margin-right:auto!important}
.mini-badge-stage{display:grid;grid-template-columns:300px minmax(260px,520px);gap:18px;align-items:start;justify-content:center;margin:18px auto 42px;max-width:920px}
.shiftmastro-mini-badge-card{width:286px;height:174px;background:#fff;border:1px solid #d8e0ea;border-radius:14px;overflow:hidden;box-shadow:0 8px 18px rgba(15,23,42,.06);position:relative}
.mini-badge-accent{height:5px;background:linear-gradient(90deg,#0f766e,#7dd3c7,#dff7f3)}
.mini-badge-inner{height:169px;padding:8px 9px 8px;display:flex;flex-direction:column;gap:6px}
.mini-badge-header{display:grid;grid-template-columns:36px 1fr auto;gap:7px;align-items:center;min-width:0}
.mini-badge-logo-box{width:36px;height:22px;border:1px solid #e2e8f0;border-radius:6px;background:#fff;display:grid;place-items:center;overflow:hidden;flex:0 0 auto;padding:2px}
.mini-badge-logo-box img{max-width:100%;max-height:100%;width:auto;height:auto;object-fit:contain;display:block;transform:scale(.92);transform-origin:center center}
.mini-badge-logo-box span{font-size:10px;font-weight:800;color:#0f766e}
.mini-badge-company{min-width:0}
.mini-badge-company strong{display:block;font-size:10px;line-height:1.05;color:#0f172a;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-weight:780}
.mini-badge-company small{display:block;font-size:6.8px;color:#64748b;text-transform:uppercase;letter-spacing:.08em;margin-top:1px;font-weight:650}
.mini-badge-staff{font-size:6px;border:1px solid #dbeafe;background:#f8fbff;color:#2563eb;border-radius:999px;padding:2px 4px;font-weight:780;letter-spacing:.07em}
.mini-badge-main{display:grid;grid-template-columns:40px 1fr;gap:7px;align-items:center;min-width:0}
.mini-badge-person-photo{width:40px;height:40px;border-radius:10px;border:1px solid #dbe4ee;background:#f8fafc;display:grid;place-items:center;overflow:hidden;flex:0 0 auto}
.mini-badge-person-photo img{width:100%;height:100%;object-fit:cover;display:block}
.mini-badge-person-photo span{font-size:14px;font-weight:820;color:#0f766e}
.mini-badge-person-text{min-width:0}
.mini-badge-person-text h1{margin:0 0 2px!important;font-size:12.5px!important;line-height:1.02!important;letter-spacing:-.02em;color:#0f172a;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-weight:820!important}
.mini-badge-person-text p{margin:0!important;font-size:7.8px!important;line-height:1.18;color:#64748b;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.mini-badge-credentials{display:grid;grid-template-columns:1.1fr .8fr .7fr;gap:4px;margin-top:1px}
.mini-badge-credentials div{border:1px solid #e2e8f0;background:#fbfdff;border-radius:8px;padding:4px 5px;min-width:0}
.mini-badge-credentials span{display:block;font-size:6px;text-transform:uppercase;letter-spacing:.08em;color:#64748b;font-weight:740;margin-bottom:1px}
.mini-badge-credentials strong{display:block;font-size:8.3px;line-height:1.05;color:#0f172a;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-weight:780}
.mini-badge-credentials .pin{background:#f0fdf4;border-color:#bbf7d0}
.mini-badge-credentials .pin strong{font-size:10.8px;color:#14532d;letter-spacing:.04em}
.mini-badge-footer{margin-top:auto;border-top:1px dashed #d8e0ea;padding-top:4px}
.mini-badge-footer span{display:block;font-size:6.5px;color:#64748b;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-weight:650}
.mini-badge-copy{background:#fff;border:1px solid #e2e8f0;border-radius:18px;padding:18px;box-shadow:0 8px 20px rgba(15,23,42,.04)}
.mini-badge-copy h3{margin:0 0 6px;font-size:18px}.mini-badge-copy p{margin:0 0 12px;color:#64748b;line-height:1.5}.mini-badge-copy textarea{min-height:170px;font-size:12px}
@media(max-width:900px){.mini-badge-stage{grid-template-columns:1fr;justify-items:center}.mini-badge-copy{width:100%;max-width:520px}.badge-mini-toolbar .section-head{display:block}.badge-mini-toolbar .hero-actions{margin-top:12px}}
@media print{
  @page{size:A4 portrait;margin:10mm}
  body{background:#fff!important}
  .no-print,.badge-mini-toolbar,.mini-badge-copy,.client-topbar,.client-nav,.client-head-actions,.appbar,.sidebar,.topbar,.menu,.public-footer{display:none!important}
  .client-main,.mini-badge-page{padding:0!important;margin:0!important;max-width:none!important;width:auto!important;background:#fff!important}
  .mini-badge-stage{display:grid!important;grid-template-columns:repeat(3,62mm)!important;gap:6mm!important;justify-content:start!important;align-items:start!important;margin:0!important;max-width:none!important}
  .shiftmastro-mini-badge-card{width:62mm!important;height:39mm!important;border-radius:2.6mm!important;border:.25mm solid #222!important;box-shadow:none!important;break-inside:avoid!important;page-break-inside:avoid!important}
  .mini-badge-accent{height:1.2mm!important}
  .mini-badge-inner{height:37.8mm!important;padding:1.8mm 2mm 1.8mm!important;gap:1.2mm!important}
  .mini-badge-header{grid-template-columns:9mm 1fr auto!important;gap:1.2mm!important}
  .mini-badge-logo-box{width:9mm!important;height:6mm!important;border-radius:1.2mm!important;padding:.4mm!important}
  .mini-badge-logo-box img{padding:0!important;max-width:100%!important;max-height:100%!important;width:auto!important;height:auto!important;transform:scale(.92)!important}
  .mini-badge-company strong{font-size:5.8pt!important}.mini-badge-company small{font-size:4.1pt!important}.mini-badge-staff{font-size:4pt!important;padding:.4mm .8mm!important}
  .mini-badge-main{grid-template-columns:9mm 1fr!important;gap:1.2mm!important}
  .mini-badge-person-photo{width:9mm!important;height:9mm!important;border-radius:1.6mm!important}.mini-badge-person-photo span{font-size:6pt!important}
  .mini-badge-person-text h1{font-size:7.6pt!important;margin-bottom:.3mm!important}.mini-badge-person-text p{font-size:4.6pt!important}
  .mini-badge-credentials{gap:.8mm!important}.mini-badge-credentials div{border-radius:1.2mm!important;padding:.7mm .8mm!important}.mini-badge-credentials span{font-size:4pt!important;margin-bottom:.2mm!important}.mini-badge-credentials strong{font-size:4.9pt!important}.mini-badge-credentials .pin strong{font-size:6.6pt!important}
  .mini-badge-footer{padding-top:.6mm!important}.mini-badge-footer span{font-size:4pt!important}
}

.mini-badge-logo-box img.logo-wide{object-fit:contain}


/* v147 - Badge formato tessera reale + foto/logo contenuti */
.employee-badge-page.mini-badge-page{background:#f7fafc!important;padding-bottom:70px!important}
.badge-mini-toolbar{max-width:1040px!important;margin:0 auto 18px!important;border-radius:24px!important}
.mini-badge-stage{display:grid!important;grid-template-columns:360px minmax(280px,520px)!important;gap:22px!important;align-items:start!important;justify-content:center!important;margin:22px auto 44px!important;max-width:980px!important}
.shiftmastro-mini-badge-card{width:342px!important;height:216px!important;max-width:342px!important;max-height:216px!important;aspect-ratio:85.6/54!important;background:#fff!important;border:1px solid #d7e0ea!important;border-radius:18px!important;overflow:hidden!important;box-shadow:0 16px 38px rgba(15,23,42,.10)!important;position:relative!important}
.shiftmastro-mini-badge-card,.shiftmastro-mini-badge-card *{box-sizing:border-box!important}
.mini-badge-accent{height:7px!important;background:linear-gradient(90deg,#0f766e,#2dd4bf,#e0f7f3)!important}
.mini-badge-inner{height:209px!important;padding:12px 14px 11px!important;display:flex!important;flex-direction:column!important;gap:9px!important;overflow:hidden!important}
.mini-badge-header{display:grid!important;grid-template-columns:58px minmax(0,1fr) auto!important;gap:10px!important;align-items:center!important;min-width:0!important}
.mini-badge-logo-box{width:58px!important;height:34px!important;border:1px solid #e2e8f0!important;border-radius:10px!important;background:#fff!important;display:grid!important;place-items:center!important;overflow:hidden!important;flex:0 0 auto!important;padding:4px!important}
.mini-badge-logo-box img{display:block!important;max-width:100%!important;max-height:100%!important;width:auto!important;height:auto!important;object-fit:contain!important;transform:none!important;padding:0!important}
.mini-badge-logo-box span{font-size:14px!important;font-weight:900!important;color:#0f766e!important;line-height:1!important}
.mini-badge-company{min-width:0!important;overflow:hidden!important}
.mini-badge-company strong{display:block!important;font-size:13px!important;line-height:1.05!important;color:#0f172a!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important;font-weight:900!important}
.mini-badge-company small{display:block!important;font-size:7.5px!important;color:#64748b!important;text-transform:uppercase!important;letter-spacing:.09em!important;margin-top:3px!important;font-weight:800!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important}
.mini-badge-staff{font-size:7px!important;border:1px solid #bfdbfe!important;background:#eff6ff!important;color:#1d4ed8!important;border-radius:999px!important;padding:3px 6px!important;font-weight:900!important;letter-spacing:.09em!important;white-space:nowrap!important}
.mini-badge-main{display:grid!important;grid-template-columns:78px minmax(0,1fr)!important;gap:12px!important;align-items:center!important;min-width:0!important}
.mini-badge-person-photo{width:78px!important;height:92px!important;border-radius:14px!important;border:1px solid #dbe4ee!important;background:#f8fafc!important;display:grid!important;place-items:center!important;overflow:hidden!important;flex:0 0 auto!important;box-shadow:inset 0 0 0 1px rgba(255,255,255,.7)!important}
.mini-badge-person-photo img{width:100%!important;height:100%!important;max-width:none!important;max-height:none!important;object-fit:cover!important;object-position:center center!important;display:block!important}
.mini-badge-person-photo span{font-size:22px!important;font-weight:950!important;color:#0f766e!important;line-height:1!important}
.mini-badge-person-text{min-width:0!important;overflow:hidden!important}
.mini-badge-person-text h1{margin:0 0 5px!important;font-size:19px!important;line-height:1.02!important;letter-spacing:-.03em!important;color:#0f172a!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important;font-weight:950!important}
.mini-badge-person-text p{margin:0!important;font-size:10.5px!important;line-height:1.22!important;color:#475569!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important;font-weight:700!important}
.mini-badge-credentials{display:grid!important;grid-template-columns:minmax(0,1.15fr) minmax(0,.85fr) minmax(0,.65fr)!important;gap:7px!important;margin-top:0!important;min-width:0!important}
.mini-badge-credentials div{border:1px solid #e2e8f0!important;background:#fbfdff!important;border-radius:11px!important;padding:7px 8px!important;min-width:0!important;overflow:hidden!important}
.mini-badge-credentials span{display:block!important;font-size:7px!important;text-transform:uppercase!important;letter-spacing:.09em!important;color:#64748b!important;font-weight:900!important;margin-bottom:2px!important;white-space:nowrap!important}
.mini-badge-credentials strong{display:block!important;font-size:10px!important;line-height:1.05!important;color:#0f172a!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important;font-weight:900!important;min-width:0!important}
.mini-badge-credentials .pin{background:#ecfdf5!important;border-color:#bbf7d0!important}
.mini-badge-credentials .pin strong{font-size:15px!important;color:#14532d!important;letter-spacing:.08em!important;line-height:1!important}
.mini-badge-footer{margin-top:auto!important;border-top:1px dashed #d8e0ea!important;padding-top:6px!important;min-width:0!important}
.mini-badge-footer span{display:block!important;font-size:7.5px!important;color:#64748b!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important;font-weight:750!important}
.mini-badge-copy{background:#fff!important;border:1px solid #e2e8f0!important;border-radius:22px!important;padding:20px!important;box-shadow:0 12px 28px rgba(15,23,42,.05)!important}
.mini-badge-copy textarea{min-height:190px!important;font-size:12px!important;line-height:1.42!important}
@media(max-width:900px){.mini-badge-stage{grid-template-columns:1fr!important;justify-items:center!important}.shiftmastro-mini-badge-card{width:min(342px,calc(100vw - 36px))!important;height:auto!important;min-height:216px!important}.mini-badge-copy{width:100%!important;max-width:540px!important}.badge-mini-toolbar .section-head{display:block!important}.badge-mini-toolbar .hero-actions{margin-top:12px!important}}
@media print{
  @page{size:A4 portrait;margin:10mm!important}
  html,body{width:auto!important;height:auto!important;background:#fff!important;-webkit-print-color-adjust:exact!important;print-color-adjust:exact!important}
  .no-print,.badge-mini-toolbar,.mini-badge-copy,.client-topbar,.client-nav,.client-head-actions,.appbar,.sidebar,.topbar,.menu,.public-footer{display:none!important}
  .client-main,.mini-badge-page,.employee-badge-page{padding:0!important;margin:0!important;max-width:none!important;width:auto!important;background:#fff!important}
  .mini-badge-stage{display:grid!important;grid-template-columns:repeat(2,85.6mm)!important;gap:8mm!important;justify-content:start!important;align-items:start!important;margin:0!important;max-width:none!important;width:auto!important}
  .shiftmastro-mini-badge-card{width:85.6mm!important;height:54mm!important;max-width:85.6mm!important;max-height:54mm!important;min-height:0!important;aspect-ratio:auto!important;border-radius:3mm!important;border:.28mm solid #202020!important;box-shadow:none!important;break-inside:avoid!important;page-break-inside:avoid!important;overflow:hidden!important}
  .mini-badge-accent{height:1.8mm!important}
  .mini-badge-inner{height:52.2mm!important;padding:2.6mm 3.2mm 2.4mm!important;gap:2mm!important;overflow:hidden!important}
  .mini-badge-header{grid-template-columns:16mm minmax(0,1fr) auto!important;gap:2mm!important;align-items:center!important}
  .mini-badge-logo-box{width:16mm!important;height:10mm!important;border-radius:1.8mm!important;padding:.9mm!important}
  .mini-badge-logo-box img{max-width:100%!important;max-height:100%!important;width:auto!important;height:auto!important;object-fit:contain!important;transform:none!important}
  .mini-badge-logo-box span{font-size:8pt!important}
  .mini-badge-company strong{font-size:8.8pt!important;line-height:1.05!important;max-height:9.4pt!important}
  .mini-badge-company small{font-size:5.2pt!important;margin-top:.5mm!important}
  .mini-badge-staff{font-size:5.2pt!important;padding:.8mm 1.4mm!important}
  .mini-badge-main{grid-template-columns:20mm minmax(0,1fr)!important;gap:3mm!important;align-items:center!important}
  .mini-badge-person-photo{width:20mm!important;height:24mm!important;border-radius:2.3mm!important}
  .mini-badge-person-photo span{font-size:13pt!important}
  .mini-badge-person-text h1{font-size:13pt!important;margin-bottom:1mm!important;line-height:1.05!important}
  .mini-badge-person-text p{font-size:7pt!important;line-height:1.18!important}
  .mini-badge-credentials{grid-template-columns:minmax(0,1.15fr) minmax(0,.85fr) minmax(0,.65fr)!important;gap:1.4mm!important}
  .mini-badge-credentials div{border-radius:2mm!important;padding:1.2mm 1.5mm!important;min-height:9.5mm!important}
  .mini-badge-credentials span{font-size:5pt!important;margin-bottom:.4mm!important}
  .mini-badge-credentials strong{font-size:6.6pt!important;line-height:1.08!important}
  .mini-badge-credentials .pin strong{font-size:10.5pt!important;letter-spacing:.08em!important}
  .mini-badge-footer{padding-top:1.2mm!important}
  .mini-badge-footer span{font-size:5.2pt!important}
}

/* v151 - Logo azienda: upload chiaro, ridimensionamento visivo e logo in testata cliente */
.company-logo-upload-box{align-items:flex-start!important}
.company-logo-preview-wrap{display:flex!important;flex-direction:column!important;align-items:center!important;gap:10px!important;min-width:136px!important}
.company-logo-preview{width:112px!important;height:112px!important;border-radius:28px!important;background:linear-gradient(180deg,#fff,#f8fafc)!important;border:1px solid #dbe5f0!important;display:grid!important;place-items:center!important;overflow:hidden!important;box-shadow:0 14px 34px rgba(15,23,42,.08)!important;color:#0f766e!important;font-weight:900!important;letter-spacing:.04em!important}
.company-logo-preview img{display:block!important;max-width:82%!important;max-height:82%!important;width:auto!important;height:auto!important;object-fit:contain!important;padding:0!important;background:transparent!important;border-radius:0!important}
.company-logo-preview span{font-size:28px!important;line-height:1!important}
.company-logo-status{display:flex!important;flex-direction:column!important;align-items:center!important;text-align:center!important;gap:2px!important;max-width:150px!important;padding:8px 10px!important;border-radius:999px!important;border:1px solid #dbe5f0!important;background:#f8fafc!important;color:#64748b!important;font-size:12px!important;line-height:1.15!important}
.company-logo-status b{font-size:12px!important;color:#334155!important}
.company-logo-status small{font-size:10.5px!important;color:#64748b!important}
.company-logo-status.ok{border-color:#bbf7d0!important;background:#ecfdf5!important;color:#166534!important}
.company-logo-status.ok b{color:#166534!important}
.company-logo-trigger{border-style:solid!important;background:linear-gradient(180deg,#ffffff,#f8fafc)!important}
.company-logo-selected{min-height:18px;margin:8px 0 0!important;font-size:12px!important;font-weight:700!important;color:#0f766e!important}
.client-brand-with-company{gap:9px!important;align-items:center!important}
.client-company-logo-circle{width:36px!important;height:36px!important;min-width:36px!important;border-radius:999px!important;border:1px solid #dbe5f0!important;background:#fff!important;display:grid!important;place-items:center!important;overflow:hidden!important;box-shadow:0 8px 20px rgba(15,23,42,.08)!important;margin-left:-4px!important}
.client-company-logo-circle img{display:block!important;max-width:76%!important;max-height:76%!important;width:auto!important;height:auto!important;object-fit:contain!important;padding:0!important;background:transparent!important;border-radius:0!important}
.client-company-logo-circle b{font-size:12px!important;line-height:1!important;font-weight:900!important;color:#0f766e!important;letter-spacing:.04em!important}
@media(max-width:900px){.company-logo-upload-box{grid-template-columns:1fr!important}.company-logo-preview-wrap{align-items:flex-start!important}.company-logo-status{align-items:flex-start!important;text-align:left!important;border-radius:16px!important}.client-company-logo-circle{width:32px!important;height:32px!important;min-width:32px!important}}
@media(max-width:560px){.client-product-logo{display:none!important}.client-company-logo-circle{margin-left:0!important}.client-brand-with-company{gap:8px!important}.company-logo-preview{width:96px!important;height:96px!important;border-radius:24px!important}}

/* FIX 152: logo azienda accanto al nome, logo ShiftMastro spostato a destra */
.client-shell-body .client-brand-with-company{
  gap:10px!important;
  align-items:center!important;
  min-width:260px!important;
}
.client-shell-body .client-brand-with-company .client-company-logo-circle{
  order:0!important;
  margin-left:0!important;
  width:38px!important;
  height:38px!important;
  min-width:38px!important;
  border-radius:999px!important;
  background:#fff!important;
  border:1px solid #dbe5f0!important;
  box-shadow:0 8px 18px rgba(15,23,42,.07)!important;
  display:grid!important;
  place-items:center!important;
  overflow:hidden!important;
}
.client-shell-body .client-brand-with-company .client-company-logo-circle img{
  max-width:78%!important;
  max-height:78%!important;
  width:auto!important;
  height:auto!important;
  object-fit:contain!important;
  display:block!important;
}
.client-shell-body .client-brand-with-company > .client-product-logo{
  display:none!important;
}
.client-shell-body .client-product-mini{
  display:inline-flex!important;
  align-items:center!important;
  gap:6px!important;
  padding:6px 9px!important;
  border-radius:999px!important;
  border:1px solid #e2e8f0!important;
  background:#ffffff!important;
  color:#64748b!important;
  font-size:11px!important;
  font-weight:800!important;
  white-space:nowrap!important;
}
.client-shell-body .client-product-mini img{
  width:18px!important;
  height:18px!important;
  border-radius:6px!important;
  display:block!important;
}
@media(max-width:900px){
  .client-shell-body .client-product-mini span{display:none!important;}
  .client-shell-body .client-product-mini{padding:6px!important;}
}
@media(max-width:560px){
  .client-shell-body .client-product-mini{display:none!important;}
}

/* Versione 154 - Kiosk GPS mobile e gestionale */
.kiosk-hero{background:linear-gradient(135deg,#0f172a,#1d4ed8 58%,#06b6d4);color:white}.kiosk-hero p{color:rgba(255,255,255,.86)}.kiosk-kpis .kpi strong{letter-spacing:-.04em}.kiosk-grid-2{display:grid;grid-template-columns:1fr 1fr;gap:18px;margin:18px 0}.kiosk-public-box code,.kiosk-url-line code{display:block;background:#0f172a;color:white;border-radius:16px;padding:14px 16px;overflow:auto;font-weight:850}.kiosk-copy-input{margin:0;min-width:340px;font-size:12px;background:#f8fafc}.checkline{display:flex!important;align-items:center;gap:9px;margin-top:10px;color:#344054;font-weight:850}.checkline input{width:auto;margin:0}.kiosk-inline-edit{display:grid;gap:8px;min-width:280px}.kiosk-inline-edit input,.kiosk-inline-edit select{margin:0;padding:9px 10px;border-radius:11px}.kiosk-tips{display:grid;gap:10px}.kiosk-tips span{display:block;background:#f8fafc;border:1px solid #e4e7ec;border-radius:16px;padding:14px 16px;font-weight:900;color:#344054}.kiosk-request-list{display:grid;gap:12px}.kiosk-request-list article{background:#f8fafc;border:1px solid #e4e7ec;border-radius:18px;padding:14px}.kiosk-request-list article b{display:block}.kiosk-request-list article span{display:block;color:#667085;font-size:13px;margin-top:3px}.kiosk-request-list article p{color:#344054;margin:8px 0 0;line-height:1.45}.kiosk-request-actions{display:grid;grid-template-columns:1fr auto auto;gap:8px;margin-top:10px}.kiosk-request-actions input{margin:0;padding:9px 10px;border-radius:11px}.public-calendar-body.kiosk-public-body{background:radial-gradient(circle at top,#e0f2fe,#f8fafc 42%,#eef2ff)}.kiosk-mobile-body{margin:0;background:linear-gradient(180deg,#ecfeff,#f8fafc 34%,#eef2ff);color:#101828;font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif}.kiosk-mobile-top{position:sticky;top:0;z-index:10;background:rgba(255,255,255,.88);backdrop-filter:blur(16px);border-bottom:1px solid #e4e7ec;padding:12px 14px;display:flex;align-items:center;justify-content:space-between;gap:10px}.kiosk-mobile-top a{font-weight:900;color:#1d4ed8;background:#eff6ff;border:1px solid #bfdbfe;border-radius:999px;padding:8px 10px;font-size:12px}.kiosk-mobile-company{display:flex;align-items:center;gap:10px;min-width:0}.kiosk-mobile-company img,.kiosk-mobile-company b{width:38px;height:38px;border-radius:50%;object-fit:contain;background:white;border:1px solid #e4e7ec;display:grid;place-items:center;text-align:center;font-size:12px;color:#1d4ed8}.kiosk-mobile-company span{font-weight:1000;line-height:1.05;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.kiosk-mobile-company small{display:block;color:#667085;font-size:11px;margin-top:3px}.kiosk-mobile-wrap{max-width:680px;margin:0 auto;padding:18px 14px 34px;display:grid;gap:14px}.kiosk-employee-hero{display:flex;align-items:center;gap:14px;background:linear-gradient(135deg,#0f172a,#1d4ed8);color:white;border-radius:28px;padding:18px;box-shadow:0 22px 48px rgba(15,23,42,.22)}.kiosk-employee-hero span{display:block;color:#cbd5e1;font-weight:850;font-size:12px;text-transform:uppercase;letter-spacing:.08em}.kiosk-employee-hero h1{margin:2px 0;font-size:26px;letter-spacing:-.04em}.kiosk-employee-hero p{margin:0;color:#e0f2fe}.kiosk-employee-avatar{width:72px;height:72px;border-radius:24px;display:grid;place-items:center;overflow:hidden;background:rgba(255,255,255,.14);border:1px solid rgba(255,255,255,.25);font-weight:1000;font-size:22px;flex:none}.kiosk-employee-avatar img{width:100%;height:100%;object-fit:cover}.kiosk-gps-panel{display:flex;align-items:center;justify-content:space-between;gap:12px;background:white;border:1px solid #dbeafe;border-radius:22px;padding:14px 16px;box-shadow:0 12px 30px rgba(16,24,40,.06)}.kiosk-gps-panel b{display:block}.kiosk-gps-panel span{display:block;color:#667085;font-size:13px;margin-top:2px}.kiosk-assignment-list{display:grid;gap:14px}.kiosk-assignment-card{background:white;border:1px solid #e4e7ec;border-radius:28px;padding:18px;box-shadow:0 18px 42px rgba(16,24,40,.08)}.kiosk-assignment-card h2{margin:8px 0 6px;font-size:24px;letter-spacing:-.035em}.kiosk-assignment-card p{margin:0;color:#667085;line-height:1.45}.kiosk-assignment-meta{display:flex;flex-wrap:wrap;gap:8px;margin:12px 0}.kiosk-assignment-meta span{background:#eff6ff;color:#1d4ed8;border:1px solid #bfdbfe;border-radius:999px;padding:7px 10px;font-size:12px;font-weight:900}.kiosk-punch-form,.kiosk-manual-form{display:grid;gap:10px;margin-top:12px}.kiosk-punch-form input,.kiosk-manual-form input{margin-top:6px}.kiosk-punch-btn:disabled{opacity:.45;cursor:not-allowed;transform:none}.kiosk-history-panel{padding:18px}.kiosk-timeline{margin-top:10px}.employee-login-panel.kiosk-login-panel h1{font-size:38px;letter-spacing:-.045em}.employee-login-panel .btn.full,.kiosk-assignment-card .btn.full{width:100%}@media(max-width:900px){.kiosk-grid-2{grid-template-columns:1fr}.kiosk-request-actions{grid-template-columns:1fr}.kiosk-copy-input{min-width:220px}.kiosk-hero h1{font-size:38px}}@media(max-width:560px){.kiosk-mobile-wrap{padding:14px 10px 28px}.kiosk-mobile-top{align-items:flex-start}.kiosk-mobile-top a{font-size:11px}.kiosk-employee-hero{border-radius:24px;padding:15px}.kiosk-employee-hero h1{font-size:22px}.kiosk-employee-avatar{width:60px;height:60px;border-radius:20px}.kiosk-gps-panel{display:grid}.kiosk-assignment-card{border-radius:24px;padding:15px}.kiosk-assignment-card h2{font-size:21px}.kiosk-assignment-meta{display:grid}.client-nav a[href="kiosk.php"]{display:inline-flex}}


/* v158 - Kiosk dipendente professionale e mobile-first */
.kiosk-mobile-body{background:linear-gradient(180deg,#eef7f5 0,#f8fafc 38%,#eef2ff 100%);}
.kiosk-mobile-wrap{max-width:960px;padding:22px 16px 88px;}
.kiosk-mobile-top{box-shadow:0 10px 28px rgba(15,23,42,.05)}
.kiosk-employee-hero{position:relative;overflow:hidden;background:linear-gradient(135deg,#0f172a 0,#14532d 62%,#059669 100%);border:1px solid rgba(255,255,255,.18)}
.kiosk-employee-hero:after{content:"";position:absolute;right:-55px;top:-70px;width:190px;height:190px;border-radius:50%;background:rgba(255,255,255,.12);filter:blur(.2px)}
.kiosk-employee-hero>*{position:relative;z-index:1}.kiosk-employee-hero h1{font-size:clamp(25px,4vw,38px)}
.kiosk-mobile-tabs{top:70px;border-radius:22px;box-shadow:0 14px 34px rgba(15,23,42,.09)}
.kiosk-mobile-tabs a{min-height:44px;color:#14532d;background:#ffffff;border-color:#dbe7e2;letter-spacing:-.01em}.kiosk-mobile-tabs a:before{font-size:15px}.kiosk-mobile-tabs a[href="#timbratura"]:before{content:"📍"}.kiosk-mobile-tabs a[href="#calendario"]:before{content:"📅"}.kiosk-mobile-tabs a[href="#richieste"]:before{content:"✍️"}.kiosk-mobile-tabs a[href="#storico"]:before{content:"🧾"}
.kiosk-summary-grid article{border-radius:22px;border-color:#dfe9e4;background:linear-gradient(180deg,#fff,#f8fffb);padding:18px}.kiosk-summary-grid b{font-size:clamp(22px,4vw,32px)}
.kiosk-gps-panel{border-radius:26px;padding:18px 20px;border-color:#bbf7d0;background:linear-gradient(135deg,#ffffff,#f0fdf4)}
.kiosk-gps-panel .btn{white-space:nowrap}.kiosk-assignment-card{border-radius:30px;border-color:#dfe9e4}.kiosk-assignment-card h2{font-size:clamp(24px,3vw,32px)}
.kiosk-calendar-panel{border-radius:30px;overflow:hidden}.kiosk-calendar-panel .section-head h2{font-size:clamp(24px,3.2vw,34px)}
.kiosk-week-grid{grid-template-columns:repeat(7,minmax(118px,1fr));gap:12px}.kiosk-day-card{min-height:164px;border-radius:22px;padding:13px}.kiosk-day-card header b{font-size:16px}.kiosk-event{border-radius:15px;padding:10px 11px}.kiosk-event b{font-size:13px}.kiosk-event span{font-size:12px;line-height:1.35}
.kiosk-request-grid{display:grid;grid-template-columns:1fr;gap:18px;margin:20px auto;max-width:920px}.kiosk-request-grid>.panel{position:relative;overflow:hidden;border-radius:30px;padding:0;border-color:#dfe7ee;background:#fff;box-shadow:0 16px 42px rgba(15,23,42,.065)}
.kiosk-request-grid>.panel:before{content:"";display:block;height:7px;background:linear-gradient(90deg,#15803d,#22c55e,#93c5fd)}
.kiosk-request-grid>.panel>.section-head{padding:22px 24px 0;margin:0}.kiosk-request-grid>.panel>.section-head h2{font-size:clamp(24px,3.2vw,34px);line-height:1.05;max-width:760px;margin:8px 0 8px}.kiosk-request-grid>.panel>.section-head p{font-size:15px;line-height:1.5;max-width:760px}.kiosk-request-grid .kiosk-mini-form{padding:18px 24px 24px;gap:14px}
.kiosk-mini-form .three,.kiosk-mini-form .two{display:grid!important;grid-template-columns:repeat(auto-fit,minmax(170px,1fr))!important;gap:14px!important}.kiosk-mini-form label{min-width:0;font-size:14px;color:#1f2937}.kiosk-mini-form input,.kiosk-mini-form select,.kiosk-mini-form textarea{min-height:50px;border-radius:16px;margin-top:7px;background:#fbfdff}.kiosk-mini-form textarea{min-height:108px;resize:vertical}.kiosk-mini-form .btn.full{min-height:54px;border-radius:18px;font-size:16px;box-shadow:0 12px 24px rgba(21,128,61,.18)}
.kiosk-request-grid .alert{margin:18px 24px 24px;border-radius:18px;padding:18px;font-size:16px}.kiosk-history-panel,.kiosk-request-history-grid>.panel{border-radius:30px}.kiosk-request-history-grid{max-width:920px;margin:0 auto 24px}.employee-request-list article{border-radius:20px}
@media(max-width:1200px){.kiosk-week-grid{display:flex;overflow-x:auto;scroll-snap-type:x mandatory;padding:4px 2px 10px}.kiosk-day-card{min-width:190px;scroll-snap-align:start}.kiosk-request-grid{max-width:760px}.kiosk-mini-form .three,.kiosk-mini-form .two{grid-template-columns:repeat(auto-fit,minmax(150px,1fr))!important}}
@media(max-width:720px){.kiosk-mobile-wrap{padding:14px 10px 96px}.kiosk-mobile-top{padding:10px 11px}.kiosk-mobile-company span{max-width:210px}.kiosk-mobile-top a{padding:8px 10px}.kiosk-employee-hero{border-radius:26px;padding:16px}.kiosk-summary-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.kiosk-summary-grid article{padding:14px;border-radius:18px}.kiosk-gps-panel{display:grid;gap:12px;border-radius:22px}.kiosk-gps-panel .btn{width:100%;min-height:48px}.kiosk-mobile-tabs{position:fixed;left:10px;right:10px;bottom:10px;top:auto;z-index:80;margin:0;padding:7px;border-radius:24px;background:rgba(255,255,255,.94)}.kiosk-mobile-tabs a{font-size:0;gap:0;min-height:50px;border-radius:18px;padding:8px 4px}.kiosk-mobile-tabs a:before{font-size:22px}.kiosk-mobile-tabs a:after{display:block;font-size:10px;font-weight:900;margin-top:2px;color:#14532d}.kiosk-mobile-tabs a[href="#timbratura"]:after{content:"Timbra"}.kiosk-mobile-tabs a[href="#calendario"]:after{content:"Calendario"}.kiosk-mobile-tabs a[href="#richieste"]:after{content:"Richieste"}.kiosk-mobile-tabs a[href="#storico"]:after{content:"Storico"}.kiosk-request-grid{max-width:none;gap:14px}.kiosk-request-grid>.panel{border-radius:24px}.kiosk-request-grid>.panel>.section-head{padding:18px 18px 0}.kiosk-request-grid>.panel>.section-head h2{font-size:25px;line-height:1.08}.kiosk-request-grid>.panel>.section-head p{font-size:14px}.kiosk-request-grid .kiosk-mini-form{padding:14px 18px 20px}.kiosk-mini-form .three,.kiosk-mini-form .two{grid-template-columns:1fr!important;gap:10px!important}.kiosk-mini-form input,.kiosk-mini-form select,.kiosk-mini-form textarea{min-height:52px;font-size:16px}.kiosk-mini-form .btn.full{width:100%;min-height:56px}.kiosk-calendar-panel{border-radius:24px;padding:18px}.kiosk-calendar-panel .section-head{display:block}.kiosk-calendar-panel .hero-actions{grid-template-columns:1fr 1fr;gap:8px;margin-top:14px}.kiosk-calendar-panel .hero-actions .btn.primary{grid-column:1/-1}.kiosk-day-card{min-width:176px}.kiosk-request-history-grid{grid-template-columns:1fr;max-width:none}}
@media(max-width:390px){.kiosk-mobile-company span{max-width:160px}.kiosk-employee-avatar{width:56px;height:56px}.kiosk-employee-hero{gap:11px}.kiosk-summary-grid article span{font-size:11px}.kiosk-request-grid>.panel>.section-head h2{font-size:23px}.kiosk-day-card{min-width:164px}}

/* v159 - Modifica luoghi di lavoro e geocodifica automatica indirizzi */
.kiosk-location-editor-panel{border-color:#cdebdc!important;background:linear-gradient(180deg,#ffffff,#fbfffd)!important;box-shadow:0 18px 46px rgba(15,23,42,.06)!important}
.kiosk-auto-geocode-form{position:relative!important}
.kiosk-geocode-box{display:flex!important;align-items:center!important;gap:12px!important;flex-wrap:wrap!important;margin:-4px 0 6px!important;padding:12px!important;border:1px dashed #b7e4c7!important;background:#f0fdf4!important;border-radius:18px!important}
.kiosk-geocode-box .btn,.kiosk-geocode-box .mini-btn{white-space:nowrap!important}
.kiosk-geocode-status{display:block!important;color:#166534!important;font-weight:800!important;line-height:1.35!important}
.kiosk-geocode-ok .kiosk-geocode-box{border-style:solid!important;border-color:#86efac!important;background:#ecfdf5!important}
.kiosk-coordinates-row input{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace!important;font-weight:800!important;color:#0f172a!important;background:#fbfdff!important}
.kiosk-locations-panel{background:linear-gradient(180deg,#fff,#f8fafc)!important;border-color:#dce7ef!important}
.kiosk-location-list{display:grid!important;grid-template-columns:repeat(auto-fit,minmax(320px,1fr))!important;gap:16px!important;margin-top:14px!important}
.kiosk-location-card{border:1px solid #dfe7ee!important;border-radius:26px!important;background:#fff!important;padding:18px!important;box-shadow:0 14px 34px rgba(15,23,42,.055)!important;display:grid!important;gap:13px!important;min-width:0!important}
.kiosk-location-card.is-active{border-color:#bbf7d0!important;box-shadow:0 16px 38px rgba(21,128,61,.08)!important}
.kiosk-location-card.is-inactive{opacity:.78!important;background:#f8fafc!important}
.kiosk-location-card.empty{place-items:start!important;background:#f8fafc!important;color:#475569!important}
.kiosk-location-card-head{display:flex!important;justify-content:space-between!important;gap:12px!important;align-items:flex-start!important}
.kiosk-location-card-head h3{margin:4px 0!important;font-size:22px!important;line-height:1.08!important;letter-spacing:-.035em!important;color:#0f172a!important}
.kiosk-location-card-head p{margin:0!important;color:#64748b!important;line-height:1.35!important;word-break:break-word!important}
.kiosk-location-metrics{display:grid!important;grid-template-columns:1.4fr .6fr!important;gap:10px!important}
.kiosk-location-metrics div{border:1px solid #e2e8f0!important;background:#f8fafc!important;border-radius:18px!important;padding:12px!important;min-width:0!important}
.kiosk-location-metrics small{display:block!important;text-transform:uppercase!important;letter-spacing:.08em!important;font-size:10.5px!important;font-weight:900!important;color:#64748b!important;margin-bottom:4px!important}
.kiosk-location-metrics b{display:block!important;color:#0f172a!important;font-size:14px!important;word-break:break-word!important}
.kiosk-location-note{margin:0!important;border-left:4px solid #22c55e!important;padding:9px 12px!important;border-radius:12px!important;background:#f0fdf4!important;color:#166534!important;font-weight:800!important;line-height:1.35!important}
.kiosk-location-edit-details{border:1px solid #dbeafe!important;background:#eff6ff!important;border-radius:20px!important;overflow:hidden!important}
.kiosk-location-edit-details summary{cursor:pointer!important;list-style:none!important;padding:13px 15px!important;font-weight:1000!important;color:#1d4ed8!important;display:flex!important;align-items:center!important;justify-content:space-between!important;gap:10px!important}
.kiosk-location-edit-details summary::-webkit-details-marker{display:none!important}
.kiosk-location-edit-details summary:after{content:"Modifica"!important;background:#ffffff!important;border:1px solid #bfdbfe!important;border-radius:999px!important;padding:6px 10px!important;font-size:12px!important;color:#1d4ed8!important}
.kiosk-location-edit-details[open] summary:after{content:"Chiudi"!important}
.kiosk-location-edit-form{padding:0 15px 15px!important;display:grid!important;gap:13px!important}
.kiosk-location-edit-form label,.kiosk-location-form label{font-weight:900!important;color:#1f2937!important}
.kiosk-location-edit-form input,.kiosk-location-form input{min-height:48px!important;border-radius:15px!important;margin-top:7px!important;background:#fff!important}
.kiosk-location-disable{padding:0 15px 15px!important;margin-top:-6px!important}
.kiosk-location-disable .mini-btn{width:100%!important;min-height:42px!important;border-radius:14px!important}
@media(max-width:720px){
  .kiosk-location-list{grid-template-columns:1fr!important;gap:12px!important}
  .kiosk-location-card{border-radius:22px!important;padding:15px!important}
  .kiosk-location-card-head{display:grid!important}
  .kiosk-location-metrics{grid-template-columns:1fr!important}
  .kiosk-geocode-box{display:grid!important;gap:9px!important}
  .kiosk-geocode-box .btn,.kiosk-geocode-box .mini-btn{width:100%!important;min-height:48px!important}
  .kiosk-location-edit-details summary{padding:14px!important}
  .kiosk-location-edit-form{padding:0 13px 14px!important}
}

/* ShiftMastro Kiosk v160 - timbratura predominante e professionale */
.kiosk-quick-punch-panel{position:relative!important;background:linear-gradient(180deg,#ffffff,#f8fffb)!important;border:1px solid #b7e4c7!important;border-radius:32px!important;padding:22px!important;box-shadow:0 24px 60px rgba(15,23,42,.12)!important;overflow:hidden!important}
.kiosk-quick-punch-panel:before{content:""!important;position:absolute!important;inset:0 0 auto 0!important;height:8px!important;background:linear-gradient(90deg,#047857,#22c55e,#93c5fd)!important}
.kiosk-quick-head{display:grid!important;gap:6px!important;margin-bottom:16px!important}.kiosk-quick-head h2{font-size:clamp(34px,7vw,54px)!important;line-height:.95!important;letter-spacing:-.06em!important;margin:0!important;color:#0f172a!important}.kiosk-quick-head p{margin:0!important;color:#475569!important;font-size:15px!important;line-height:1.45!important;max-width:620px!important}
.kiosk-quick-punch-form{display:grid!important;gap:16px!important}.kiosk-quick-grid{display:grid!important;grid-template-columns:1fr!important;gap:12px!important}.kiosk-quick-punch-form label{font-weight:950!important;color:#1f2937!important}.kiosk-quick-punch-form input,.kiosk-quick-punch-form select,.kiosk-quick-punch-form textarea{width:100%!important;box-sizing:border-box!important;border:1px solid #d8e2eb!important;background:#fff!important;border-radius:18px!important;padding:14px 15px!important;min-height:54px!important;font-size:16px!important;margin-top:7px!important;color:#0f172a!important}.kiosk-quick-punch-form textarea{min-height:82px!important;resize:vertical!important}
.kiosk-movement-chooser{display:grid!important;grid-template-columns:repeat(5,minmax(0,1fr))!important;gap:10px!important}.kiosk-move-pill{position:relative!important;display:grid!important;align-content:center!important;gap:2px!important;min-height:76px!important;padding:12px!important;border:1px solid #dbeafe!important;border-radius:20px!important;background:#f8fbff!important;cursor:pointer!important;box-shadow:0 8px 18px rgba(15,23,42,.04)!important;transition:.18s ease!important;overflow:hidden!important}.kiosk-move-pill input{position:absolute!important;opacity:0!important;pointer-events:none!important}.kiosk-move-pill span{font-size:14px!important;font-weight:1000!important;color:#0f172a!important}.kiosk-move-pill b{font-size:11px!important;color:#64748b!important;text-transform:uppercase!important;letter-spacing:.08em!important}.kiosk-move-pill:has(input:checked){background:#ecfdf5!important;border-color:#22c55e!important;box-shadow:0 12px 30px rgba(21,128,61,.16)!important}.kiosk-move-pill:has(input:checked):after{content:"✓"!important;position:absolute!important;right:10px!important;top:8px!important;width:22px!important;height:22px!important;border-radius:999px!important;background:#16a34a!important;color:#fff!important;display:grid!important;place-items:center!important;font-size:12px!important;font-weight:1000!important}.kiosk-move-pill.is-auto{background:#eef2ff!important;border-color:#c7d2fe!important}.kiosk-exit-reason{grid-template-columns:1fr 1fr!important;gap:12px!important;background:#fff7ed!important;border:1px solid #fed7aa!important;border-radius:22px!important;padding:14px!important}.kiosk-exit-other{display:none}.kiosk-quick-actions{display:grid!important;grid-template-columns:1.4fr .9fr!important;gap:10px!important}.kiosk-main-punch-btn{min-height:72px!important;border-radius:24px!important;font-size:22px!important;letter-spacing:.02em!important;font-weight:1000!important;box-shadow:0 22px 44px rgba(21,128,61,.26)!important}.kiosk-main-punch-btn:disabled{opacity:.55!important;box-shadow:none!important}.kiosk-manual-request-btn{min-height:72px!important;border-radius:24px!important;background:#fff!important;border:1px solid #dbeafe!important;color:#1d4ed8!important;font-weight:1000!important}.kiosk-assignment-list.compact{display:grid!important;gap:12px!important}.kiosk-job-card{padding:16px!important;border-radius:24px!important;box-shadow:0 12px 30px rgba(15,23,42,.055)!important}.kiosk-job-card h2{font-size:22px!important}.kiosk-use-assignment{min-height:48px!important;border-radius:16px!important;background:#f0fdf4!important;border:1px solid #bbf7d0!important;color:#166534!important;font-weight:1000!important}.kiosk-sticky-punch-bar{position:fixed!important;left:50%!important;transform:translateX(-50%)!important;bottom:12px!important;z-index:1000!important;width:min(680px,calc(100% - 22px))!important;background:rgba(15,23,42,.94)!important;color:#fff!important;backdrop-filter:blur(16px)!important;border:1px solid rgba(255,255,255,.12)!important;border-radius:28px!important;padding:10px!important;box-shadow:0 24px 70px rgba(15,23,42,.34)!important;display:grid!important;grid-template-columns:1fr auto!important;gap:12px!important;align-items:center!important}.kiosk-sticky-punch-bar small{display:block!important;color:#cbd5e1!important;font-size:11px!important;text-transform:uppercase!important;letter-spacing:.08em!important;font-weight:900!important}.kiosk-sticky-punch-bar b{display:block!important;font-size:18px!important;line-height:1.1!important}.kiosk-sticky-punch-btn{min-width:148px!important;min-height:58px!important;border:0!important;border-radius:20px!important;background:linear-gradient(135deg,#16a34a,#22c55e)!important;color:white!important;font-weight:1000!important;font-size:18px!important;letter-spacing:.04em!important;box-shadow:0 14px 28px rgba(34,197,94,.28)!important}.kiosk-sticky-punch-btn:disabled{opacity:.55!important;filter:grayscale(.4)!important;box-shadow:none!important}.kiosk-mobile-body .kiosk-mobile-wrap{padding-bottom:112px!important}
@media(max-width:720px){.kiosk-quick-punch-panel{border-radius:28px!important;padding:18px!important}.kiosk-quick-head h2{font-size:44px!important}.kiosk-movement-chooser{display:flex!important;overflow-x:auto!important;gap:9px!important;padding-bottom:4px!important;scroll-snap-type:x mandatory!important}.kiosk-move-pill{min-width:128px!important;scroll-snap-align:start!important}.kiosk-exit-reason{grid-template-columns:1fr!important}.kiosk-quick-actions{grid-template-columns:1fr!important}.kiosk-main-punch-btn,.kiosk-manual-request-btn{min-height:66px!important}.kiosk-sticky-punch-bar{border-radius:24px!important;grid-template-columns:1fr auto!important}.kiosk-sticky-punch-btn{min-width:124px!important;font-size:16px!important}.kiosk-job-card h2{font-size:20px!important}}
@media(max-width:390px){.kiosk-quick-head h2{font-size:38px!important}.kiosk-sticky-punch-bar{width:calc(100% - 16px)!important;bottom:8px!important}.kiosk-sticky-punch-btn{min-width:108px!important}.kiosk-sticky-punch-bar b{font-size:16px!important}}

/* ShiftMastro Kiosk v161 - pulsante timbratura sempre raggiungibile e ritimbratura dopo uscita */
.kiosk-closed-session-note{
  display:grid!important;
  gap:4px!important;
  padding:12px 14px!important;
  margin-top:10px!important;
  border-radius:18px!important;
  border:1px solid #bbf7d0!important;
  background:#ecfdf5!important;
  color:#166534!important;
}
.kiosk-closed-session-note b{font-size:14px!important;color:#14532d!important}
.kiosk-closed-session-note span{font-size:13px!important;line-height:1.35!important;color:#166534!important;font-weight:800!important}
.kiosk-sticky-punch-bar{
  position:fixed!important;
  left:50%!important;
  transform:translateX(-50%)!important;
  bottom:calc(12px + env(safe-area-inset-bottom,0px))!important;
  z-index:2147483000!important;
  display:grid!important;
  grid-template-columns:1fr auto!important;
  align-items:center!important;
  gap:12px!important;
  width:min(720px,calc(100% - 22px))!important;
  padding:10px!important;
  border-radius:30px!important;
  background:rgba(9,23,43,.96)!important;
  color:#fff!important;
  border:1px solid rgba(255,255,255,.16)!important;
  box-shadow:0 28px 80px rgba(15,23,42,.42)!important;
  backdrop-filter:blur(18px)!important;
  -webkit-backdrop-filter:blur(18px)!important;
}
.kiosk-sticky-punch-bar small{display:block!important;color:#cbd5e1!important;font-size:11px!important;text-transform:uppercase!important;letter-spacing:.1em!important;font-weight:1000!important;margin-bottom:2px!important}
.kiosk-sticky-punch-bar b{display:block!important;color:#fff!important;font-size:20px!important;line-height:1!important;font-weight:1000!important;letter-spacing:-.03em!important}
.kiosk-sticky-hint{display:block!important;color:#a7f3d0!important;font-size:12px!important;font-weight:900!important;margin-top:4px!important;line-height:1.15!important}
.kiosk-sticky-punch-btn{
  min-width:164px!important;
  min-height:64px!important;
  border:0!important;
  border-radius:22px!important;
  background:linear-gradient(135deg,#16a34a,#22c55e)!important;
  color:#fff!important;
  font-weight:1000!important;
  font-size:18px!important;
  letter-spacing:.04em!important;
  box-shadow:0 16px 32px rgba(34,197,94,.34)!important;
  cursor:pointer!important;
}
.kiosk-sticky-punch-btn:active,.kiosk-main-punch-btn:active{transform:scale(.98)!important}
.kiosk-mobile-body .kiosk-mobile-wrap{padding-bottom:150px!important}
.kiosk-main-punch-btn{position:sticky!important;bottom:104px!important;z-index:20!important}
@media(max-width:720px){
  .kiosk-sticky-punch-bar{
    width:calc(100% - 16px)!important;
    bottom:calc(8px + env(safe-area-inset-bottom,0px))!important;
    border-radius:26px!important;
    padding:9px!important;
    grid-template-columns:minmax(0,1fr) 132px!important;
  }
  .kiosk-sticky-punch-bar b{font-size:18px!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important}
  .kiosk-sticky-hint{font-size:11px!important}
  .kiosk-sticky-punch-btn{min-width:0!important;width:100%!important;min-height:62px!important;border-radius:20px!important;font-size:17px!important}
  .kiosk-main-punch-btn{position:static!important;min-height:74px!important;font-size:21px!important}
  .kiosk-quick-punch-panel{margin-bottom:12px!important}
}
@media(max-width:390px){
  .kiosk-sticky-punch-bar{grid-template-columns:1fr 112px!important;width:calc(100% - 12px)!important}
  .kiosk-sticky-punch-btn{font-size:15px!important}
  .kiosk-sticky-punch-bar b{font-size:16px!important}
}

/* ShiftMastro Kiosk v163 - pulsante timbratura meno invasivo e più luminoso */
.kiosk-sticky-punch-bar{
  background:rgba(255,255,255,.96)!important;
  color:#0f172a!important;
  border:1px solid rgba(187,247,208,.95)!important;
  box-shadow:0 12px 34px rgba(15,23,42,.14)!important;
  backdrop-filter:blur(18px)!important;
  -webkit-backdrop-filter:blur(18px)!important;
}
.kiosk-sticky-punch-bar small{
  color:#64748b!important;
}
.kiosk-sticky-punch-bar b{
  color:#14532d!important;
}
.kiosk-sticky-hint{
  color:#166534!important;
  opacity:.88!important;
}
.kiosk-sticky-punch-btn{
  background:linear-gradient(135deg,#dcfce7,#bbf7d0)!important;
  color:#14532d!important;
  border:1px solid #86efac!important;
  box-shadow:0 8px 18px rgba(22,163,74,.16)!important;
}
.kiosk-sticky-punch-btn:hover{
  background:linear-gradient(135deg,#bbf7d0,#86efac)!important;
  box-shadow:0 10px 22px rgba(22,163,74,.20)!important;
}
.kiosk-main-punch-btn{
  background:linear-gradient(135deg,#22c55e,#4ade80)!important;
  border-color:#22c55e!important;
  box-shadow:0 12px 26px rgba(34,197,94,.18)!important;
}
.kiosk-main-punch-btn:hover{
  box-shadow:0 14px 30px rgba(34,197,94,.22)!important;
}
@media(max-width:720px){
  .kiosk-sticky-punch-bar{
    background:rgba(255,255,255,.97)!important;
    border-color:#bbf7d0!important;
    box-shadow:0 10px 28px rgba(15,23,42,.13)!important;
  }
  .kiosk-sticky-punch-btn{
    min-height:58px!important;
  }
}

/* ShiftMastro Kiosk v164 - pulsante TIMBRA più elegante e professionale */
.kiosk-sticky-punch-bar{
  background:linear-gradient(135deg,rgba(255,255,255,.98),rgba(240,253,244,.97))!important;
  color:#0f172a!important;
  border:1px solid rgba(187,247,208,.95)!important;
  border-left:5px solid #22c55e!important;
  box-shadow:0 18px 45px rgba(15,23,42,.15),0 4px 16px rgba(34,197,94,.10)!important;
  border-radius:26px!important;
  padding:10px 10px 10px 15px!important;
  gap:12px!important;
}
.kiosk-sticky-punch-bar>div{
  display:grid!important;
  align-content:center!important;
  min-width:0!important;
}
.kiosk-sticky-punch-bar small{
  color:#64748b!important;
  font-size:10px!important;
  letter-spacing:.12em!important;
}
.kiosk-sticky-punch-bar b{
  color:#0f172a!important;
  font-size:18px!important;
  letter-spacing:-.035em!important;
}
.kiosk-sticky-hint{
  color:#15803d!important;
  font-size:11px!important;
  opacity:.9!important;
}
.kiosk-sticky-punch-btn{
  position:relative!important;
  min-width:154px!important;
  min-height:58px!important;
  padding:0 20px!important;
  border:0!important;
  border-radius:999px!important;
  background:linear-gradient(135deg,#16a34a 0%,#22c55e 52%,#86efac 100%)!important;
  color:#ffffff!important;
  font-size:17px!important;
  font-weight:1000!important;
  letter-spacing:.035em!important;
  box-shadow:0 12px 28px rgba(34,197,94,.28),inset 0 1px 0 rgba(255,255,255,.38)!important;
  overflow:hidden!important;
  transition:transform .16s ease,box-shadow .16s ease,filter .16s ease!important;
}
.kiosk-sticky-punch-btn:before{
  content:"✓"!important;
  display:inline-grid!important;
  place-items:center!important;
  width:25px!important;
  height:25px!important;
  margin-right:8px!important;
  border-radius:999px!important;
  background:rgba(255,255,255,.23)!important;
  color:#fff!important;
  font-size:14px!important;
  font-weight:1000!important;
  vertical-align:middle!important;
}
.kiosk-sticky-punch-btn:after{
  content:""!important;
  position:absolute!important;
  inset:0!important;
  background:linear-gradient(120deg,transparent 0%,rgba(255,255,255,.24) 34%,transparent 68%)!important;
  transform:translateX(-120%)!important;
  transition:transform .5s ease!important;
}
.kiosk-sticky-punch-btn:hover,
.kiosk-sticky-punch-btn:focus{
  filter:saturate(1.04)!important;
  box-shadow:0 15px 34px rgba(34,197,94,.34),inset 0 1px 0 rgba(255,255,255,.42)!important;
}
.kiosk-sticky-punch-btn:hover:after,
.kiosk-sticky-punch-btn:focus:after{
  transform:translateX(120%)!important;
}
.kiosk-sticky-punch-btn:active{
  transform:scale(.975)!important;
}
.kiosk-main-punch-btn{
  min-height:68px!important;
  border:0!important;
  border-radius:999px!important;
  background:linear-gradient(135deg,#16a34a,#22c55e 58%,#86efac)!important;
  color:#fff!important;
  box-shadow:0 14px 30px rgba(34,197,94,.24),inset 0 1px 0 rgba(255,255,255,.32)!important;
}
.kiosk-main-punch-btn:before{
  content:"✓"!important;
  display:inline-grid!important;
  place-items:center!important;
  width:28px!important;
  height:28px!important;
  margin-right:9px!important;
  border-radius:999px!important;
  background:rgba(255,255,255,.22)!important;
}
@media(max-width:720px){
  .kiosk-sticky-punch-bar{
    width:calc(100% - 18px)!important;
    border-radius:24px!important;
    grid-template-columns:minmax(0,1fr) 142px!important;
    padding:9px 9px 9px 13px!important;
    bottom:calc(9px + env(safe-area-inset-bottom,0px))!important;
  }
  .kiosk-sticky-punch-bar b{
    font-size:17px!important;
  }
  .kiosk-sticky-hint{
    font-size:10.5px!important;
  }
  .kiosk-sticky-punch-btn{
    min-width:0!important;
    width:100%!important;
    min-height:56px!important;
    font-size:15px!important;
    padding:0 12px!important;
  }
  .kiosk-sticky-punch-btn:before{
    width:22px!important;
    height:22px!important;
    margin-right:6px!important;
  }
  .kiosk-main-punch-btn{
    min-height:64px!important;
    font-size:20px!important;
  }
}
@media(max-width:390px){
  .kiosk-sticky-punch-bar{grid-template-columns:minmax(0,1fr) 118px!important;width:calc(100% - 12px)!important;}
  .kiosk-sticky-punch-bar small{font-size:9px!important;}
  .kiosk-sticky-punch-bar b{font-size:15px!important;}
  .kiosk-sticky-hint{display:none!important;}
  .kiosk-sticky-punch-btn{font-size:13px!important;}
  .kiosk-sticky-punch-btn:before{display:none!important;}
}


/* ShiftMastro v165 - Kiosk pulito senza pulsante flottante fisso */
.kiosk-sticky-punch-bar,
.kiosk-sticky-punch-btn,
.kiosk-sticky-hint{display:none!important;visibility:hidden!important;pointer-events:none!important;}
.kiosk-mobile-body .kiosk-mobile-wrap{padding-bottom:34px!important;}
.kiosk-main-punch-btn{position:static!important;bottom:auto!important;z-index:auto!important;display:flex!important;align-items:center!important;justify-content:center!important;gap:8px!important;min-height:68px!important;border-radius:22px!important;background:linear-gradient(135deg,#16a34a,#22c55e)!important;color:#fff!important;box-shadow:0 14px 30px rgba(22,163,74,.18)!important;letter-spacing:.01em!important;}
.kiosk-main-punch-btn:before{content:"✓";display:inline-grid;place-items:center;width:28px;height:28px;border-radius:999px;background:rgba(255,255,255,.22);font-size:15px;line-height:1;}
.kiosk-quick-actions{align-items:stretch!important;}
.kiosk-quick-punch-panel{margin-bottom:18px!important;}
@media(max-width:720px){
  .kiosk-mobile-body .kiosk-mobile-wrap{padding-bottom:28px!important;}
  .kiosk-main-punch-btn{min-height:70px!important;font-size:20px!important;border-radius:22px!important;}
  .kiosk-quick-punch-panel{padding:16px!important;border-radius:26px!important;}
  .kiosk-quick-head h2{font-size:38px!important;letter-spacing:-.045em!important;}
}

/* ShiftMastro v165 - blocchi vendita e guida pacchetti */
.package-ready-band{border:1px solid #bbf7d0;background:linear-gradient(135deg,#ecfdf5,#ffffff);border-radius:30px;padding:24px;box-shadow:0 18px 45px rgba(15,23,42,.07);display:grid;grid-template-columns:1.2fr .8fr;gap:18px;align-items:center}
.package-ready-band h2{margin:0 0 8px;color:#0f172a;letter-spacing:-.04em}.package-ready-band p{margin:0;color:#475569;line-height:1.5}.package-ready-list{display:grid;gap:10px;margin:0;padding:0;list-style:none}.package-ready-list li{background:#fff;border:1px solid #dcfce7;border-radius:16px;padding:12px 14px;font-weight:850;color:#166534}
.kiosk-commercial-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}.kiosk-commercial-grid article{border:1px solid #e2e8f0;border-radius:24px;background:#fff;padding:18px;box-shadow:0 10px 28px rgba(15,23,42,.05)}.kiosk-commercial-grid b{display:block;font-size:18px;color:#0f172a;margin-bottom:6px}.kiosk-commercial-grid p{margin:0;color:#64748b;line-height:1.45;font-size:14px}
@media(max-width:900px){.package-ready-band{grid-template-columns:1fr}.kiosk-commercial-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:560px){.kiosk-commercial-grid{grid-template-columns:1fr}.package-ready-band{padding:18px;border-radius:24px}}

/* =========================================================
   FIX 169 - Collegamenti utili: contrasto e leggibilita'
   ========================================================= */
.seo-footer-links{
  position:relative!important;
  margin-top:32px!important;
  padding:54px 0 58px!important;
  background:linear-gradient(135deg,#07111f 0%,#0b1f36 48%,#0f2a3d 100%)!important;
  color:#f8fafc!important;
  border-top:1px solid rgba(255,255,255,.08)!important;
  border-bottom:1px solid rgba(255,255,255,.08)!important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.06)!important;
}
.seo-footer-links:before{
  content:""!important;
  position:absolute!important;
  inset:0!important;
  pointer-events:none!important;
  background:
    radial-gradient(circle at 18% 18%,rgba(34,197,94,.16),transparent 30%),
    radial-gradient(circle at 86% 22%,rgba(59,130,246,.14),transparent 30%)!important;
}
.seo-footer-links .wrap{
  position:relative!important;
  z-index:1!important;
}
.seo-footer-links .section-head{
  margin-bottom:22px!important;
}
.seo-footer-links .section-head h2{
  color:#ffffff!important;
  text-shadow:0 1px 1px rgba(0,0,0,.24)!important;
}
.seo-footer-links .kicker{
  background:rgba(255,255,255,.12)!important;
  color:#ffffff!important;
  border:1px solid rgba(255,255,255,.26)!important;
  box-shadow:0 10px 26px rgba(0,0,0,.18)!important;
}
.seo-footer-grid{
  gap:20px!important;
}
.seo-footer-grid>div{
  background:rgba(255,255,255,.105)!important;
  border:1px solid rgba(255,255,255,.18)!important;
  box-shadow:0 18px 42px rgba(0,0,0,.18)!important;
  backdrop-filter:blur(10px)!important;
}
.seo-footer-grid h3{
  color:#ffffff!important;
  font-size:17px!important;
  letter-spacing:-.01em!important;
}
.seo-footer-grid a{
  color:#eef6ff!important;
  background:rgba(255,255,255,.075)!important;
  border:1px solid rgba(255,255,255,.09)!important;
  border-radius:13px!important;
  padding:10px 12px!important;
  margin:7px 0!important;
  font-weight:850!important;
  line-height:1.3!important;
}
.seo-footer-grid a:hover{
  color:#ffffff!important;
  background:rgba(255,255,255,.16)!important;
  border-color:rgba(255,255,255,.24)!important;
  text-decoration:none!important;
}
@media(max-width:700px){
  .seo-footer-links{
    padding:38px 0 42px!important;
    margin-top:22px!important;
  }
  .seo-footer-grid>div{
    padding:16px!important;
    border-radius:20px!important;
  }
  .seo-footer-grid a{
    padding:11px 12px!important;
    font-size:14px!important;
  }
}

/* Versione 170 - sezione dinamica e voci clienti commerciali */
.live-shift-section{position:relative;overflow:hidden}.live-shift-layout{display:grid;grid-template-columns:.85fr 1.15fr;gap:28px;align-items:center}.live-shift-copy{background:linear-gradient(180deg,#ffffff,#f7fbff);border:1px solid #dbe7ef;border-radius:32px;padding:30px;box-shadow:0 18px 44px rgba(15,23,42,.06)}.live-shift-copy h2{margin-top:14px}.live-benefits{display:flex;gap:10px;flex-wrap:wrap;margin-top:22px}.live-benefits span{background:#ecfdf5;border:1px solid #bbf7d0;color:#166534;border-radius:999px;padding:9px 12px;font-weight:950;font-size:13px}.shift-motion-card{position:relative;min-height:470px;border-radius:36px;padding:24px;overflow:hidden;background:radial-gradient(circle at 15% 15%,rgba(34,197,94,.20),transparent 34%),radial-gradient(circle at 88% 18%,rgba(59,130,246,.22),transparent 30%),linear-gradient(135deg,#0f172a,#18324c 55%,#0f5137);box-shadow:0 32px 90px rgba(15,23,42,.20);color:#fff}.motion-glow{position:absolute;inset:auto -80px -90px auto;width:260px;height:260px;background:#22c55e;filter:blur(85px);opacity:.38;animation:smGlow 7s ease-in-out infinite}.motion-top{position:relative;display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:18px}.motion-top b{font-size:22px;letter-spacing:-.03em}.motion-top span{background:rgba(255,255,255,.12);border:1px solid rgba(255,255,255,.18);border-radius:999px;padding:8px 11px;color:#dbeafe;font-weight:900;font-size:12px}.motion-grid{position:relative;display:grid;grid-template-columns:142px 1fr;gap:14px}.motion-side{background:rgba(255,255,255,.10);border:1px solid rgba(255,255,255,.14);border-radius:24px;padding:12px;display:grid;gap:8px;align-content:start;backdrop-filter:blur(12px)}.motion-side span{border-radius:14px;padding:11px 12px;color:#cbd5e1;font-weight:900}.motion-side .is-active{background:#fff;color:#166534;box-shadow:0 14px 28px rgba(0,0,0,.12)}.motion-board{display:grid;gap:10px}.motion-row{display:grid;grid-template-columns:24px 1fr auto auto;gap:10px;align-items:center;background:rgba(255,255,255,.94);color:#0f172a;border:1px solid rgba(255,255,255,.35);border-radius:18px;padding:13px;box-shadow:0 16px 38px rgba(0,0,0,.14);transform-origin:center;animation:smFloat 5.8s ease-in-out infinite}.motion-row:nth-child(2){animation-delay:.35s}.motion-row:nth-child(3){animation-delay:.7s}.motion-row:nth-child(4){animation-delay:1.05s}.motion-row i{width:13px;height:13px;border-radius:50%;background:#22c55e;box-shadow:0 0 0 6px rgba(34,197,94,.12)}.motion-row strong{font-weight:1000}.motion-row span{color:#64748b;font-weight:850;font-size:13px}.motion-row em{font-style:normal;background:#f0fdf4;color:#166534;border:1px solid #bbf7d0;border-radius:999px;padding:7px 9px;font-weight:950;font-size:12px}.row-b em{background:#eff6ff;color:#1d4ed8;border-color:#bfdbfe}.row-c em{background:#f8fafc;color:#334155;border-color:#e2e8f0}.row-d em{background:#fff7ed;color:#c2410c;border-color:#fed7aa}.motion-phone{position:absolute;right:24px;bottom:24px;width:172px;background:#ffffff;color:#0f172a;border-radius:30px;padding:20px 16px 16px;box-shadow:0 24px 70px rgba(0,0,0,.28);border:1px solid rgba(255,255,255,.5);animation:smPhone 6s ease-in-out infinite}.phone-notch{position:absolute;top:8px;left:50%;transform:translateX(-50%);width:54px;height:5px;background:#dbe1ea;border-radius:999px}.motion-phone small,.motion-phone span{display:block;color:#64748b;font-weight:900}.motion-phone strong{display:block;font-size:22px;margin:10px 0 5px;letter-spacing:-.04em}.motion-phone button{width:100%;border:0;border-radius:16px;padding:12px;margin-top:13px;background:linear-gradient(135deg,#16a34a,#22c55e);color:#fff;font-weight:1000;box-shadow:0 12px 24px rgba(22,163,74,.25)}.motion-bubble{position:absolute;background:#fff;color:#0f172a;border:1px solid #e2e8f0;border-radius:999px;padding:10px 13px;font-weight:950;box-shadow:0 16px 38px rgba(0,0,0,.16);font-size:13px}.bubble-one{left:26px;bottom:82px;animation:smBubble 7s ease-in-out infinite}.bubble-two{left:190px;bottom:28px;animation:smBubble 7s ease-in-out infinite .8s}.bubble-three{right:198px;top:92px;animation:smBubble 7s ease-in-out infinite 1.4s}.customer-voice-section{position:relative}.customer-voice-score{display:flex;align-items:center;justify-content:space-between;gap:18px;background:linear-gradient(135deg,#ecfdf5,#eff6ff);border:1px solid #cfe9d8;border-radius:28px;padding:20px 24px;margin-bottom:18px;box-shadow:0 16px 36px rgba(15,23,42,.055)}.customer-voice-score strong{font-size:24px;letter-spacing:-.03em;color:#172033}.customer-voice-score span{color:#64748b;font-weight:850}.customer-voice-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}.customer-voice-card{background:#fff;border:1px solid #e2e8f0;border-radius:30px;padding:24px;box-shadow:0 18px 48px rgba(15,23,42,.07);transition:transform .18s ease,box-shadow .18s ease}.customer-voice-card:hover{transform:translateY(-4px);box-shadow:0 26px 68px rgba(15,23,42,.10)}.customer-voice-card p{font-size:17px;line-height:1.62;color:#334155;margin:16px 0 22px;min-height:132px}.customer-voice-card strong{display:block;color:#172033;font-size:18px}.customer-voice-card span{display:block;color:#64748b;font-weight:850;margin-top:4px}.voice-avatar{width:48px;height:48px;border-radius:18px;display:grid;place-items:center;background:linear-gradient(135deg,#166534,#22c55e);color:#fff;font-weight:1000;font-size:19px;box-shadow:0 14px 28px rgba(22,101,52,.18)}@keyframes smFloat{0%,100%{transform:translateY(0)}50%{transform:translateY(-7px)}}@keyframes smPhone{0%,100%{transform:translateY(0) rotate(-1deg)}50%{transform:translateY(-10px) rotate(1deg)}}@keyframes smBubble{0%,100%{transform:translateY(0);opacity:.92}50%{transform:translateY(-9px);opacity:1}}@keyframes smGlow{0%,100%{transform:translate(0,0) scale(1)}50%{transform:translate(-40px,-18px) scale(1.12)}}@media(max-width:980px){.live-shift-layout{grid-template-columns:1fr}.shift-motion-card{min-height:560px;border-radius:28px}.motion-grid{grid-template-columns:1fr}.motion-side{grid-template-columns:repeat(3,1fr)}.motion-side span{font-size:12px;text-align:center}.motion-row{grid-template-columns:20px 1fr auto}.motion-row em{grid-column:2/-1;justify-self:start}.motion-phone{right:18px;bottom:18px}.bubble-two{left:20px;bottom:18px}.bubble-three{right:20px;top:auto;bottom:210px}.customer-voice-grid{grid-template-columns:1fr}.customer-voice-score{display:block}.customer-voice-score strong,.customer-voice-score span{display:block}.customer-voice-score span{margin-top:8px}.customer-voice-card p{min-height:0}}@media(max-width:560px){.live-shift-copy{padding:22px;border-radius:24px}.shift-motion-card{min-height:650px;padding:18px;border-radius:24px}.motion-top{align-items:flex-start;flex-direction:column}.motion-side{grid-template-columns:1fr 1fr}.motion-row{padding:12px}.motion-row span{font-size:12px}.motion-phone{left:18px;right:18px;bottom:70px;width:auto}.motion-bubble{font-size:12px;max-width:calc(100% - 36px)}.bubble-one{left:18px;bottom:240px}.bubble-two{left:18px;bottom:18px}.bubble-three{right:18px;bottom:200px}.customer-voice-score{padding:18px}.customer-voice-card{padding:21px;border-radius:24px}}
