/* Scenari Perfetti · guida webapp interna v9.20.2 */
.sp-mg-body{margin:0;background:#f5f6f8;color:#171c27;font:15px/1.55 system-ui,-apple-system,Segoe UI,sans-serif}
.sp-mg-body *{box-sizing:border-box}.sp-mg-body [hidden]{display:none!important}.sp-mg-body a{color:inherit}.sp-mg-body button,.sp-mg-body input{font:inherit}.sp-mg-shell{display:flex;min-height:100vh}
.sp-mg-sidebar{background:#101216;color:#f4f5f7;width:278px;flex:0 0 278px;position:sticky;top:0;height:100vh;display:flex;flex-direction:column;z-index:50;overflow:auto;scrollbar-color:#454852 #17191c}
.sp-mg-brand{display:flex;min-height:124px;align-items:center;padding:12px 27px 0;border-bottom:1px solid #2d3035}.sp-mg-brand img{width:192px;height:96px;object-fit:contain}
.sp-mg-sidegroup{padding:15px 14px}.sp-mg-side-title{font-size:10px;font-weight:800;letter-spacing:.16em;color:#a2a7b3;padding:0 13px}.sp-mg-home,.sp-mg-nav-chapter{display:flex;align-items:flex-start;gap:9px;padding:10px 12px;border-radius:9px;text-decoration:none;font-size:12px;color:#c9ccd4!important;line-height:1.35}.sp-mg-home{font-weight:700;color:#fff!important;background:#24262c}.sp-mg-nav-group{margin:13px 0 18px}.sp-mg-nav-group>strong{display:block;padding:0 12px 6px;text-transform:uppercase;font-size:10px;color:#e9434b;letter-spacing:.08em}.sp-mg-nav-chapter:hover,.sp-mg-nav-chapter.is-active{background:#262a30;color:#fff!important}.sp-mg-nav-chapter>span{min-width:24px;color:#ff6368;font-weight:700}.sp-mg-side-end{margin-top:auto;padding:18px 23px;border-top:1px solid #2d3035;display:grid;gap:9px}.sp-mg-side-end a{text-decoration:none;color:#fff;font-size:12px}.sp-mg-side-end small{font-size:10px;color:#9096a1}
.sp-mg-main{min-width:0;flex:1}.sp-mg-topbar{height:68px;background:#fff;border-bottom:1px solid #e4e6eb;display:flex;align-items:center;justify-content:space-between;padding:0 32px;gap:15px;position:sticky;top:0;z-index:21}.sp-mg-topbar>span{font-size:11px;font-weight:800;letter-spacing:.12em;color:#666c78}.sp-mg-top-actions{display:flex;align-items:center;gap:18px;font-size:12px;font-weight:700}.sp-mg-top-actions>a{color:#3e434c;text-decoration:none}.sp-mg-top-actions>span{display:grid;place-items:center;width:35px;height:35px;background:#111316;color:#fff;border-radius:50%}.sp-mg-menu{display:none;background:transparent;border:0;font-size:20px;cursor:pointer}
.sp-mg-content{width:min(1200px,100%);padding:36px 35px 60px;margin:0 auto}.sp-mg-hero{display:flex;justify-content:space-between;gap:35px;align-items:center;color:#fff;background:#111316;padding:41px 45px;border-radius:20px;position:relative;overflow:hidden}.sp-mg-hero:before{content:'';position:absolute;width:330px;height:330px;background:radial-gradient(circle,#e320331f,transparent 70%);right:-50px;top:-110px}.sp-mg-eyebrow{font-size:11px;color:#ed4a57;font-weight:850;letter-spacing:.15em}.sp-mg-hero h1{font-size:clamp(33px,4vw,55px);line-height:1.08;letter-spacing:-.055em;margin:14px 0}.sp-mg-hero h1 em{font-style:normal;color:#ff394b}.sp-mg-hero p{max-width:630px;color:#c8cbd0;margin:0 0 24px}.sp-mg-hero-actions{display:flex;gap:9px;flex-wrap:wrap}.sp-mg-hero-actions>a,.sp-mg-hero-actions>button{border-radius:10px;padding:11px 17px;border:1px solid #4d5056;background:transparent;color:#fff;text-decoration:none;font-size:13px;font-weight:700;cursor:pointer}.sp-mg-hero-actions .sp-mg-primary{background:#e52437;border-color:#e52437}.sp-mg-hero-aside{display:flex;flex-direction:column;justify-content:center;gap:4px;align-items:center;min-width:160px;z-index:1;padding:18px 0;border-left:1px solid #494b50}.sp-mg-hero-aside span{font-size:10px;letter-spacing:.12em;color:#cdd1d8}.sp-mg-hero-aside strong{font-size:72px;line-height:1;color:#fff}.sp-mg-hero-aside small{max-width:130px;text-align:center;color:#b6bbc3;font-size:11px}
.sp-mg-toolbar{margin:25px 0 10px;display:flex;align-items:center;gap:13px}.sp-mg-toolbar label{display:flex;align-items:center;gap:12px;background:#fff;border:1px solid #dce0e5;border-radius:12px;flex:1;min-height:50px;padding:0 17px}.sp-mg-toolbar label>span{font-size:23px;color:#6c7380}.sp-mg-toolbar input{background:none;border:0;outline:0;min-width:0;width:100%;color:#202530}.sp-mg-toolbar button{background:#fff;border:1px solid #dce0e5;border-radius:10px;padding:13px 14px;font-size:12px;cursor:pointer;font-weight:700}.sp-mg-toolbar>span{white-space:nowrap;font-size:12px;color:#69717d}.sp-mg-categories{display:flex;gap:7px;overflow-x:auto;padding:5px 1px 15px;scrollbar-width:thin}.sp-mg-categories button{white-space:nowrap;border:1px solid #dadfe5;background:#fff;color:#4d5661;border-radius:999px;padding:8px 13px;font-size:12px;font-weight:700;cursor:pointer}.sp-mg-categories button.is-active{background:#191b20;border-color:#191b20;color:#fff}.sp-mg-section{margin-top:22px}.sp-mg-section-title{display:flex;align-items:center;justify-content:space-between;gap:10px;margin:25px 0 12px}.sp-mg-section-title span{font-size:18px;font-weight:800}.sp-mg-section-title strong{font-size:12px;color:#727a85;font-weight:500}.sp-mg-no-results{border-radius:12px;background:#fff;border:1px dashed #c8cbd2;padding:25px;text-align:center;color:#696e79}
.sp-mg-chapter{background:#fff;border:1px solid #e4e8ed;box-shadow:0 2px 6px #0e132008;border-radius:15px;padding:29px 33px;margin:0 0 18px;scroll-margin-top:90px}.sp-mg-chapter:target{border-color:#e52437;box-shadow:0 0 0 2px #e524371c}.sp-mg-chapter-header{display:flex;gap:18px;align-items:flex-start;border-bottom:1px solid #e9ecf0;padding-bottom:20px;margin-bottom:22px}.sp-mg-number{flex:0 0 45px;display:grid;place-items:center;width:45px;height:45px;background:#16181d;border-radius:12px;font-size:16px;font-weight:800;color:#ff3c4d}.sp-mg-chapter-header>div{flex:1}.sp-mg-chapter-header p{margin:0 0 4px;text-transform:uppercase;font-size:10px;letter-spacing:.11em;color:#bd1d30;font-weight:800}.sp-mg-chapter h2{font-size:24px;letter-spacing:-.04em;line-height:1.25;margin:0}.sp-mg-chapter-header>a{text-decoration:none;color:#a1a6b0;font-size:21px}.sp-mg-intro{font-size:15px;color:#4d5664;margin:0 0 17px;max-width:900px}.sp-mg-chapter h3{font-size:15px;margin:20px 0 9px;letter-spacing:-.01em;color:#1c2430}.sp-mg-prose p,.sp-mg-prose li{color:#515c69;font-size:13px;line-height:1.7}.sp-mg-prose p{margin:0 0 10px}.sp-mg-prose ul{padding-left:21px;margin:8px 0 13px}.sp-mg-steps{background:#f8f9fb;border:1px solid #ebeef3;border-radius:12px;padding:12px 21px 15px;margin:22px 0}.sp-mg-steps h3{margin:9px 0 15px}.sp-mg-steps ol{list-style:none;counter-reset:guideStep;display:grid;gap:11px;margin:0;padding:0}.sp-mg-steps li{counter-increment:guideStep;display:flex;align-items:flex-start;gap:14px;color:#47515e;font-size:13px;line-height:1.6}.sp-mg-steps li:before{content:counter(guideStep);flex:0 0 26px;width:26px;height:26px;display:grid;place-items:center;background:#fbe7e9;color:#bf1f33;font-size:12px;font-weight:900;border-radius:7px}.sp-mg-fields{margin:19px 0}.sp-mg-table-wrap{overflow-x:auto;border:1px solid #e5e8ed;border-radius:10px}.sp-mg-table-wrap table{width:100%;border-collapse:collapse;font-size:12px}.sp-mg-table-wrap th,.sp-mg-table-wrap td{padding:11px 14px;text-align:left;border-bottom:1px solid #ebeef0;vertical-align:top}.sp-mg-table-wrap thead th{background:#191c21;color:#fff;font-size:11px}.sp-mg-table-wrap tbody th{background:#fbfcfd;width:30%;font-weight:800}.sp-mg-table-wrap tr:last-child th,.sp-mg-table-wrap tr:last-child td{border-bottom:0}.sp-mg-callout{padding:15px 18px;border-radius:10px;background:#f4f6f8;border-left:3px solid #697b8c;margin:19px 0 0}.sp-mg-callout b{font-size:11px;letter-spacing:.08em;color:#384757}.sp-mg-callout p{margin:5px 0 0;color:#394657;font-size:12px;line-height:1.65}.sp-mg-callout.sp-mg-warning{background:#fff1f2;border-color:#de273a}.sp-mg-warning b{color:#c72136}.sp-mg-chapter-footer{display:flex;gap:16px;justify-content:flex-end;flex-wrap:wrap;margin-top:22px;padding-top:15px;border-top:1px solid #eef1f4}.sp-mg-chapter-footer a{font-size:11px;text-decoration:none;font-weight:700;color:#b4273b}.sp-mg-footer{display:flex;gap:20px;justify-content:space-between;color:#737b87;font-size:11px;margin-top:34px}.sp-mg-backdrop{display:none}
.sp-mg-gate{min-height:100vh;background:#111316;display:grid;place-items:center;padding:22px}.sp-mg-gate-card{background:#fff;padding:38px;width:min(470px,100%);border-radius:20px;box-shadow:0 25px 100px #0005}.sp-mg-gate-card img{display:block;width:230px;height:105px;object-fit:contain;margin:0 auto 15px;background:#141414;border-radius:12px}.sp-mg-gate-card h1{font-size:28px;line-height:1.2;margin:10px 0}.sp-mg-gate-card p{font-size:13px;color:#565d65}.sp-mg-gate-card .sp-mg-eyebrow{color:#d62438}.sp-mg-login{display:grid;gap:15px;margin:20px 0}.sp-mg-login label{display:grid;font-size:12px;gap:7px;font-weight:700}.sp-mg-login input{width:100%;border:1px solid #ccd2d9;border-radius:8px;padding:12px}.sp-mg-login button{background:#e52437;color:#fff;border:0;border-radius:9px;font-weight:800;padding:13px;cursor:pointer}.sp-mg-gate-card>a{color:#bd1e32;text-decoration:none;font-size:12px;font-weight:750}.sp-mg-alert{color:#9d1527!important}
@media(max-width:1040px){.sp-mg-sidebar{width:245px;flex-basis:245px}.sp-mg-content{padding:25px 22px 55px}.sp-mg-hero{padding:32px}.sp-mg-hero-aside{min-width:120px}.sp-mg-hero-aside strong{font-size:55px}}
@media(max-width:760px){.sp-mg-sidebar{position:fixed;left:0;top:0;bottom:0;width:min(300px,86vw);transform:translateX(-102%);transition:transform .2s;z-index:80}.sp-mg-sidebar.is-open{transform:translateX(0)}.sp-mg-backdrop{display:block;position:fixed;inset:0;background:#10131999;border:0;z-index:70}.sp-mg-menu{display:block}.sp-mg-topbar{padding:0 15px;height:58px}.sp-mg-topbar>span{font-size:9px}.sp-mg-top-actions>a{display:none}.sp-mg-content{padding:16px 13px 45px}.sp-mg-hero{padding:25px;border-radius:14px;display:block}.sp-mg-hero-aside{display:none}.sp-mg-hero h1{font-size:34px}.sp-mg-toolbar{flex-wrap:wrap}.sp-mg-toolbar label{flex:1 1 100%}.sp-mg-chapter{padding:21px 16px;scroll-margin-top:75px}.sp-mg-number{flex-basis:37px;width:37px;height:37px}.sp-mg-chapter-header{gap:10px}.sp-mg-chapter h2{font-size:20px}.sp-mg-footer{display:grid}.sp-mg-chapter-footer{justify-content:flex-start}}
@media print{.sp-mg-sidebar,.sp-mg-topbar,.sp-mg-toolbar,.sp-mg-categories,.sp-mg-hero-actions,.sp-mg-chapter-footer,.sp-mg-backdrop{display:none!important}.sp-mg-shell,.sp-mg-main{display:block}.sp-mg-content{padding:0;width:100%}.sp-mg-hero{background:#16181d!important;print-color-adjust:exact;-webkit-print-color-adjust:exact;break-after:page}.sp-mg-hero h1{font-size:40px}.sp-mg-section-title{break-after:avoid}.sp-mg-chapter{border:1px solid #ccc;box-shadow:none;break-inside:avoid-page;margin:0 0 16px}.sp-mg-section,.sp-mg-chapter{display:block!important}.sp-mg-footer{margin-top:25px}body.sp-mg-body{background:#fff}}

/* Fix admin bar overlap v9.20.3 */
body.admin-bar .sp-mg-sidebar{top:32px;height:calc(100vh - 32px)}
body.admin-bar .sp-mg-topbar{top:32px}
@media(max-width:782px){body.admin-bar .sp-mg-sidebar{top:46px;height:calc(100vh - 46px)}body.admin-bar .sp-mg-topbar{top:46px}}
