


.stp-cost{--cielo:#170a26;--rosa:#FF175B;--viola:#660066;--testo:#f3e9f7;--tenue:#bfaecb;position:relative;width:100%;height:min(88vh,820px);min-height:560px;background:var(--cielo);color:var(--testo);font-family:"DM Sans",system-ui,sans-serif;overflow:hidden;border-radius:6px;box-sizing:border-box}
.stp-cost *{box-sizing:border-box}
.stp-cost svg.cielo{position:absolute;inset:0;width:100%;height:100%;display:block;touch-action:manipulation}
.stp-cost .testa{position:absolute;top:22px;left:26px;right:200px;pointer-events:none;z-index:2}
.stp-cost .testa h1{font-family:Oswald,"Arial Narrow",sans-serif;font-weight:700;color:var(--rosa);font-size:clamp(26px,3.4vw,42px);line-height:1;margin:0}
.stp-cost .testa p{margin:8px 0 0;font-size:15px;line-height:1.45;color:var(--tenue);max-width:46ch}
.stp-cost .logo{position:absolute;top:24px;right:26px;height:46px;z-index:2;opacity:.95}
.stp-cost .stella{fill:#fff}
.stp-cost .brilla{animation:stp-brilla 4s ease-in-out infinite}
@keyframes stp-brilla{0%,100%{opacity:.15}50%{opacity:.9}}
.stp-cost .filo{fill:none;stroke-width:1.6;opacity:.55;transition:opacity .25s,stroke-width .25s}
.stp-cost .filo.on{opacity:1;stroke-width:3}
.stp-cost .filo.off{opacity:.06}
.stp-cost .nodo{cursor:pointer;transition:opacity .25s;outline:none}
.stp-cost .nodo.dim{opacity:.28}
.stp-cost .alone{fill:#fff;opacity:.16;transform-box:fill-box;transform-origin:center;animation:stp-pulsa 3.2s ease-in-out infinite}
@keyframes stp-pulsa{0%,100%{transform:scale(1);opacity:.14}50%{transform:scale(1.32);opacity:.32}}
.stp-cost .nodo:hover .alone,.stp-cost .nodo.sel .alone,.stp-cost .nodo:focus-visible .alone{fill:var(--rosa);opacity:.75;animation-duration:1.4s}
.stp-cost .nodo:focus-visible .anello{stroke:#fff;stroke-width:2.5}
.stp-cost .anello{fill:none;stroke:rgba(255,255,255,.35);stroke-width:1.2}
.stp-cost .nodo text{font-family:Oswald,"Arial Narrow",sans-serif;font-size:13px;fill:var(--testo);text-anchor:middle;paint-order:stroke;stroke:var(--cielo);stroke-width:3px}
.stp-cost .legenda{position:absolute;left:0;right:0;bottom:0;z-index:2;display:flex;flex-wrap:wrap;align-items:center;gap:8px 10px;padding:14px 22px 18px;background:linear-gradient(transparent,rgba(23,10,38,.92) 35%)}
.stp-cost .legenda button{font:inherit;font-size:13px;color:var(--testo);background:rgba(255,255,255,.06);border:1px solid rgba(255,255,255,.18);border-radius:999px;padding:6px 12px 6px 10px;display:flex;align-items:center;gap:8px;cursor:pointer}
.stp-cost .legenda button:hover{background:rgba(255,255,255,.14)}
.stp-cost .legenda button[aria-pressed="true"]{background:#fff;color:var(--cielo);border-color:#fff}
.stp-cost .legenda button:focus-visible,.stp-cost .scheda button:focus-visible{outline:2px solid var(--rosa);outline-offset:2px}
.stp-cost .legenda .seg{width:22px;height:4px;border-radius:2px;flex:none}
.stp-cost .legenda .chips{display:contents}
.stp-cost .breve{display:none}
.stp-cost .legenda .tutti{display:none}
.stp-cost .legenda.filtrata .tutti{display:flex}
.stp-cost .legenda .spiega{display:none;position:relative;flex:0 0 100%;max-width:100%;background:rgba(23,10,38,.88);border:1px solid rgba(255,255,255,.16);border-left:4px solid var(--c,#fff);border-radius:8px;padding:10px 14px 11px;margin-bottom:4px}
.stp-cost .legenda.filtrata .spiega{display:block}
.stp-cost .legenda.filtrata.nascosta .spiega{display:none}
.stp-cost .legenda .spiega .x{position:absolute;top:6px;right:6px;width:30px;height:30px;border-radius:50%;border:0;background:rgba(255,255,255,.12);color:#fff;cursor:pointer;padding:0;display:flex;align-items:center;justify-content:center}
.stp-cost .x svg,.stp-cost .chiudi svg{display:block}
.stp-cost .legenda .spiega .x:hover{background:rgba(255,255,255,.24)}
.stp-cost .legenda .spiega b{padding-right:34px}
.stp-cost .legenda .spiega b{display:block;font-family:Oswald,"Arial Narrow",sans-serif;font-weight:500;font-size:16px;color:#fff;margin-bottom:3px}
.stp-cost .legenda .spiega p{margin:0;font-size:14px;line-height:1.5;color:var(--testo);max-width:760px}
.stp-cost .legenda .spiega small{display:block;margin-top:5px;font-size:12px;color:var(--tenue)}

@media (prefers-reduced-motion:reduce){.stp-cost .brilla,.stp-cost .alone{animation:none}.stp-cost .scheda{transition:none}}

/* Elementor-scoped improvements; no global html/body selectors */
.stp-cost{height:clamp(590px,80svh,850px);min-height:0;isolation:isolate;border-radius:12px}
.stp-cost .logo{max-width:32%;width:auto;object-fit:contain}
.stp-cost .nodo{touch-action:manipulation}
.stp-cost .nodo image{pointer-events:none}
.stp-cost .scheda{overscroll-behavior:contain;-webkit-overflow-scrolling:touch}
.stp-cost .scheda:not(.aperta){pointer-events:none;visibility:hidden}
.stp-cost .scheda.aperta{pointer-events:auto;visibility:visible}
.stp-cost .legenda button{min-height:36px;touch-action:manipulation}
@media (hover:none){.stp-cost .nodo .alone{animation:none}}
@media (max-width:700px){
 .stp-cost{height:clamp(620px,88svh,900px);display:flex;flex-direction:column;border-radius:12px}
 .stp-cost .testa{position:relative;top:auto;left:auto;right:auto;padding:18px 98px 10px 18px;flex:none}
 .stp-cost .testa h1{font-size:clamp(24px,5.5vw,32px)}
 .stp-cost .testa p{font-size:13px;line-height:1.4;margin-top:8px}
 .stp-cost .logo{height:34px;right:16px;top:18px}
 .stp-cost svg.cielo{position:relative;inset:auto;flex:1 1 auto;min-height:0;height:auto}
 .stp-cost .legenda{position:relative;flex:none;display:block;padding:8px 0 14px;background:none}
 .stp-cost .legenda .spiega{position:absolute;left:12px;right:12px;bottom:100%;margin:0 0 8px;width:auto;max-height:38svh;overflow:auto;background:rgba(23,10,38,.97);box-shadow:0 -6px 24px rgba(0,0,0,.35)}
 .stp-cost .legenda .chips{display:flex;flex-wrap:nowrap;overflow-x:auto;overscroll-behavior-x:contain;scrollbar-width:thin;gap:8px;padding:2px 16px 8px;-webkit-overflow-scrolling:touch}
 .stp-cost .legenda button{min-height:40px;flex:none;white-space:nowrap;font-size:12px;padding:7px 11px;gap:7px}
 .stp-cost .legenda .seg{width:18px}
 .stp-cost .lungo{display:none}.stp-cost .breve{display:inline}
 .stp-cost .scheda{top:auto;left:0;right:0;bottom:0;width:100%;max-height:min(75%,630px);border-radius:18px 18px 0 0;transform:translateY(105%);padding:24px 20px 28px}
 .stp-cost .scheda.aperta{transform:none}
}
@media (max-width:390px){.stp-cost .testa{padding:15px 82px 8px 14px}.stp-cost .testa h1{font-size:24px}.stp-cost .logo{height:27px;right:12px}}
@media(prefers-reduced-motion:reduce){.stp-cost .filo,.stp-cost .nodo{transition:none!important}}


.stp-guida{--viola:#660066;--rosa:#FF175B;font-family:"DM Sans",system-ui,sans-serif;color:#1d1020;line-height:1.55;max-width:860px;margin:0 auto}
.stp-guida *{box-sizing:border-box}
.stp-guida h1{font-family:Oswald,"Arial Narrow",sans-serif;font-weight:700;color:var(--rosa);font-size:2.2em;line-height:1.05;margin:0}
.stp-guida .sott{font-family:Oswald,"Arial Narrow",sans-serif;font-weight:500;color:var(--viola);font-size:1.25em;margin:.2em 0 1em}
.stp-guida h2{font-family:Oswald,"Arial Narrow",sans-serif;font-weight:700;color:var(--rosa);font-size:1.45em;margin:1.3em 0 .5em;padding-bottom:.2em;border-bottom:3px solid var(--viola)}
.stp-guida h3{font-family:Oswald,"Arial Narrow",sans-serif;font-weight:500;color:var(--viola);font-size:1.15em;margin:1em 0 .4em}
.stp-guida p{margin:0 0 .7em}
.stp-guida .perc .p{display:flex;gap:12px;align-items:flex-start;padding:.45em 0;border-bottom:1px solid #eadfea;break-inside:avoid}
.stp-guida .perc .seg{flex:none;width:28px;height:6px;border-radius:3px;margin-top:.6em;box-shadow:0 0 0 1px rgba(0,0,0,.08)}
.stp-guida .perc b,.stp-guida .a b{font-family:Oswald,"Arial Narrow",sans-serif;font-weight:500;color:var(--viola);font-size:1.05em}
.stp-guida .perc p,.stp-guida .a p{margin:.1em 0 0}
.stp-guida .a{padding:.4em 0 .5em;border-bottom:1px solid #eadfea;break-inside:avoid}
.stp-guida .tempo{font-size:.85em;color:#fff;background:var(--viola);border-radius:999px;padding:.1em .6em;margin-left:.4em;white-space:nowrap}
.stp-guida .gr h3{break-after:avoid}
.stp-guida ul{padding-left:1.2em;margin:.3em 0}.stp-guida li{margin:0 0 .4em}

.stp-guida-wrap{background:#fff;padding:clamp(36px,5vw,64px) clamp(16px,3vw,28px) 72px}
.stp-guida-wrap .stp-guida h1{font-size:clamp(28px,4vw,38px)}
@media(max-width:600px){.stp-guida-wrap{padding:34px 18px 55px}.stp-guida .tempo{display:inline-block;margin:5px 0 0}}


/* Scientist information drawer: isolated from Elementor theme rules */
.stp-cost .scheda{
 position:absolute;z-index:15;top:16px;right:16px;bottom:16px;left:auto;
 width:min(390px,calc(100% - 32px));max-width:100%;height:auto;
 display:block;overflow-x:hidden;overflow-y:auto;
 padding:28px 24px 24px;background:#fff;color:#1d1020;
 border-radius:14px;box-shadow:0 20px 65px rgba(0,0,0,.48);
 transform:translate3d(calc(100% + 40px),0,0);
 transition:transform .32s cubic-bezier(.22,.8,.22,1),visibility .32s;
 font-family:"DM Sans",system-ui,sans-serif;font-size:15px;line-height:1.55;
 scrollbar-gutter:stable;
}
.stp-cost .scheda.aperta{transform:translate3d(0,0,0);visibility:visible;pointer-events:auto}
.stp-cost .scheda .chiudi{
 position:sticky;top:0;float:right;z-index:2;
 display:flex;align-items:center;justify-content:center;
 width:40px;height:40px;min-height:40px;padding:0;
 border:0;border-radius:50%;background:#f4eaf4;color:#660066;
 cursor:pointer;box-shadow:none;font-size:20px;
}
.stp-cost .scheda .chiudi:hover{background:#ead7ea;color:#660066}
.stp-cost .scheda .chiudi svg{width:16px;height:16px;fill:none}
.stp-cost .scheda .corpo{clear:both;min-width:0;padding-top:4px}
.stp-cost .scheda .foto{display:flex;align-items:center;flex-wrap:wrap;gap:0;margin:2px 0 19px}
.stp-cost .scheda .foto img{display:block;flex:none;width:88px;height:88px;max-width:88px;object-fit:cover;object-position:center;border-radius:50%;border:3px solid white;box-shadow:0 0 0 2px #660066}
.stp-cost .scheda .foto img+img{margin-left:-17px}
.stp-cost .scheda h2{clear:both;margin:0 0 5px;padding:0;color:#660066;font:700 27px/1.13 Oswald,"Arial Narrow",sans-serif;overflow-wrap:anywhere}
.stp-cost .scheda .date{margin:0 0 15px;color:#eb1557;font:500 16px/1.3 Oswald,"Arial Narrow",sans-serif}
.stp-cost .scheda .tre{margin:0 0 22px;color:#251729;font:400 15px/1.65 "DM Sans",system-ui,sans-serif;overflow-wrap:break-word}
.stp-cost .scheda h3{margin:0 0 12px;color:#660066;font:500 19px/1.3 Oswald,"Arial Narrow",sans-serif}
.stp-cost .scheda .fam{margin:0 0 17px}
.stp-cost .scheda .fam .t{display:flex;align-items:center;gap:9px;margin:0 0 9px;color:#3d2644;font-size:13px;font-weight:700;line-height:1.45}
.stp-cost .scheda .fam .seg{display:inline-block;flex:0 0 22px;width:22px;height:4px;border-radius:4px}
.stp-cost .scheda .fam .chi{display:flex;flex-wrap:wrap;gap:7px}
.stp-cost .scheda .fam .chi button{display:inline-flex;align-items:center;justify-content:center;width:auto;min-height:34px;margin:0;padding:6px 11px;border:1px solid #e7dbe7;border-radius:999px;background:#fbf7fb;color:#3a1d40;font:500 12.5px/1.35 "DM Sans",system-ui,sans-serif;cursor:pointer;box-shadow:none;text-align:center}
.stp-cost .scheda .fam .chi button:hover{background:#f1e4f1;border-color:#d8beda;color:#660066}
@media (max-width:700px){
 .stp-cost .scheda{top:auto;right:0;bottom:0;left:0;width:100%;max-width:100%;height:auto;max-height:min(78%,640px);padding:18px 19px 30px;border-radius:20px 20px 0 0;transform:translate3d(0,105%,0)}
 .stp-cost .scheda.aperta{transform:translate3d(0,0,0)}
 .stp-cost .scheda .foto img{width:74px;height:74px;max-width:74px}
 .stp-cost .scheda h2{font-size:25px}
 .stp-cost .scheda .tre{font-size:14px}
}
@media (prefers-reduced-motion:reduce){.stp-cost .scheda{transition:none}}


/* Wordpress/Elementor isolation + consistent styles */
.stp-instance{container-type:inline-size;width:100%;max-width:100%;min-width:0;isolation:isolate}
.stp-instance .stp-cost button{font-family:"DM Sans",system-ui,sans-serif;letter-spacing:normal;text-transform:none}
.stp-instance .stp-cost .scheda{z-index:20}
.stp-instance .stp-cost .scheda .chiudi{appearance:none;-webkit-appearance:none}
.stp-instance .stp-cost svg.cielo{max-width:none}
.stp-instance .stp-cost .scheda button{cursor:pointer}
