/* V229 - GPG workflow semplificato + logout operatore sempre visibile */
.v228-guard-home{padding-bottom:104px}.v228-current-service{background:linear-gradient(135deg,#082f55,#0f557f);color:#fff;border-radius:22px;padding:20px;margin:14px 0;box-shadow:0 14px 30px rgba(7,45,76,.18)}.v228-current-service small{display:block;opacity:.76;font-weight:900;letter-spacing:.08em}.v228-current-service h1{margin:6px 0 2px;color:#fff;font-size:25px}.v228-current-service p{margin:0 0 16px;color:#d9e9f4}.v228-status-live{display:inline-flex;align-items:center;gap:7px;background:#dff7e8;color:#12683b;border-radius:999px;padding:6px 10px;font-size:11px;font-weight:950;margin-bottom:12px}.v228-main-action{display:flex;align-items:center;justify-content:center;min-height:48px;border-radius:13px;background:#fff;color:#0a466f!important;text-decoration:none;font-weight:950}.v228-section-head{display:flex;align-items:end;justify-content:space-between;gap:12px;margin:18px 0 10px}.v228-section-head h2{margin:2px 0}.v228-section-head>a{font-weight:850;text-decoration:none}.v228-service-list{display:grid;gap:10px}.v228-service-row{display:grid;grid-template-columns:46px minmax(0,1fr) auto;align-items:center;gap:12px;background:#fff;border:1px solid #dce6ef;border-radius:16px;padding:13px;text-decoration:none;color:#16304a!important;box-shadow:0 5px 16px rgba(20,50,80,.05)}.v228-service-icon{width:46px;height:46px;border-radius:13px;display:grid;place-items:center;background:#edf5ff;color:#0e65c8;font-size:21px}.v228-service-copy{display:grid;gap:2px;min-width:0}.v228-service-copy small{font-size:9px;font-weight:950;color:#71839a;letter-spacing:.09em}.v228-service-copy b{font-size:14px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.v228-service-copy em{font-style:normal;color:#62758a;font-size:11px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.v228-service-open{font-size:11px;font-weight:900;color:#0f6fed}.v228-guard-service-page{padding-bottom:130px}.v228-live-banner{display:flex;align-items:center;justify-content:space-between;gap:14px;background:#eefaf2;border:1px solid #bfe7cc;border-radius:15px;padding:13px 15px;margin-bottom:14px;color:#175d37}.v228-live-banner span{font-weight:950}.v228-next-target{border:1px solid #dce8f3;background:#f9fcff;border-radius:16px;padding:16px;margin-bottom:12px}.v228-next-target>small{font-size:9px;letter-spacing:.1em;font-weight:950;color:#71839a}.v228-next-target h2{margin:5px 0 2px}.v228-next-target p{margin:0 0 8px;color:#61758a}.v228-next-target em{display:block;margin-top:7px;font-style:normal;color:#6b7f94}.v228-target-actions{display:grid;grid-template-columns:auto minmax(0,1fr);gap:10px;margin-top:14px}.v228-target-actions>a{display:flex;align-items:center;justify-content:center;min-height:44px;padding:0 14px;border-radius:11px;background:#edf5ff;color:#0f65c5!important;text-decoration:none;font-weight:900}.v228-target-actions form{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px}.v228-target-actions input{min-width:0}.v228-target-actions button{background:#0f6fed!important;color:#fff!important;font-weight:900!important}.v228-close-card{margin-top:18px;border:2px solid #ffd6d6;background:#fff8f8;border-radius:18px;padding:18px}.v228-close-card h2{margin:4px 0}.v228-close-card p{margin:0;color:#6e727a}.v228-close-card form{display:flex;gap:10px;align-items:end;justify-content:flex-end;margin-top:14px}.v228-close-card label{display:grid;gap:5px;font-size:11px;font-weight:850}.v228-close-card button{min-height:48px;padding:0 18px;border:0;border-radius:12px;background:#b42318!important;color:#fff!important;font-weight:950!important}.v228-completed{display:grid;grid-template-columns:52px minmax(0,1fr) auto;gap:14px;align-items:center;background:#effaf3;border:1px solid #bce6ca;border-radius:18px;padding:18px}.v228-completed>span{width:52px;height:52px;border-radius:50%;display:grid;place-items:center;background:#d9f4e3;color:#17723f;font-size:25px;font-weight:950}.v228-completed h2{margin:0 0 3px}.v228-completed p{margin:0;color:#607568}.v228-completed a{font-weight:900;text-decoration:none}.v228-start-card form{grid-template-columns:minmax(180px,1fr) minmax(150px,.7fr) auto}

/* Menu operatore: area scorrevole, versione e logout sempre in viewport. */
body.role-operatore .sidebar{height:100dvh!important;max-height:100dvh!important;display:flex!important;flex-direction:column!important;overflow:hidden!important;padding-bottom:0!important}
body.role-operatore .sidebar .side-brand,body.role-operatore .sidebar .side-user{flex:0 0 auto!important}
body.role-operatore .sidebar .side-nav{flex:1 1 auto!important;min-height:0!important;overflow-y:auto!important;overscroll-behavior:contain!important;padding-bottom:12px!important}
body.role-operatore .sidebar .sidebar-version{flex:0 0 auto!important;margin-top:auto!important}
body.role-operatore .sidebar .side-logout{display:block!important;visibility:visible!important;opacity:1!important;position:relative!important;bottom:auto!important;flex:0 0 auto!important;margin:0!important;padding:10px 12px calc(12px + env(safe-area-inset-bottom))!important;background:#fff!important;border-top:1px solid #dfe8f0!important;z-index:999!important}
body.role-operatore .sidebar .side-logout button{display:flex!important;width:100%!important;min-height:44px!important;align-items:center!important;justify-content:center!important;gap:8px!important;border-radius:12px!important;background:#fff1f2!important;border:1px solid #ffd3d7!important;color:#a72d3a!important;font-weight:950!important}
body.role-operatore .sidebar .side-logout button span{display:inline!important;visibility:visible!important;opacity:1!important}

@media(max-width:760px){.v228-service-row{grid-template-columns:42px minmax(0,1fr) auto}.v228-hero{display:grid}.v228-summary{grid-template-columns:1fr 1fr}.v228-start-card form{grid-template-columns:1fr}.v228-target-actions{grid-template-columns:1fr}.v228-target-actions form{grid-template-columns:1fr}.v228-close-card form{display:grid;grid-template-columns:1fr}.v228-close-card button{width:100%}.v228-completed{grid-template-columns:48px minmax(0,1fr)}.v228-completed a{grid-column:1/-1;display:flex;justify-content:center;padding:11px;border-radius:10px;background:#fff;border:1px solid #cfe6d7}.v228-live-banner{display:grid}.v228-guard-service-page{padding-left:12px;padding-right:12px}.v228-current-service{border-radius:18px}.v228-service-open{font-size:0}.v228-service-open:after{content:'›';font-size:22px}}
