/* SeoQuint chat + newsletter (v1.9.97). Colori dal tema se presenti. */
.scc-nl-consent{margin-top:.45rem;font-size:.7rem;line-height:1.35;opacity:.75}
.scc-nl-consent input{width:13px;height:13px;margin-top:.1rem!important}
.scc-nl-consent label{display:flex;gap:.5rem;align-items:flex-start;cursor:pointer;margin:0}
.scc-nl-consent label>span{flex:1;min-width:0}
.scc-nl-consent a{display:inline;white-space:normal}
.scc-nl-consent input{margin-top:.2rem;accent-color:var(--asb-accent,#c2185b);flex:none}
.scc-nl-consent p{margin:.3rem 0 0}
.scc-nl-consent a,.scc-pop a,.scc-chat a{color:inherit;text-decoration:underline}

.scc-pop{position:fixed;left:16px;bottom:72px;z-index:880;width:300px;max-width:calc(100vw - 32px);box-sizing:border-box;padding:16px 16px 12px;border-radius:12px;background:#1f2430;color:#eef0f4;box-shadow:0 10px 30px rgba(0,0,0,.3);font-size:.88rem;line-height:1.45;transform:translateY(20px);opacity:0;transition:.3s ease}
.scc-pop--in{transform:none;opacity:1}
.scc-pop__x{all:unset;position:absolute;top:6px;right:10px;font-size:1.4rem;cursor:pointer;opacity:.7}
.scc-pop__x:focus-visible{outline:2px solid currentColor}
.scc-pop__t{margin:0 0 4px;font-weight:700;font-size:1rem}
.scc-pop__d{margin:0 0 10px;opacity:.8}
.scc-pop__f{display:flex;flex-wrap:wrap;gap:6px}
.scc-pop__f input[type=email]{flex:1;min-width:0;padding:8px 10px;border:1px solid #3a4150;border-radius:6px;background:#151922;color:inherit;font:inherit}
.scc-pop__f button{padding:8px 12px;border:0;border-radius:6px;background:var(--asb-accent,#c2185b);color:#fff;font-weight:700;cursor:pointer}
.scc-pop__c{display:flex;gap:6px;align-items:flex-start;font-size:.74rem;opacity:.85;margin-top:4px}
.scc-pop__c input{margin-top:3px;flex:none;accent-color:var(--asb-accent,#c2185b)}
.scc-pop__s{margin:6px 0 0;font-size:.78rem;min-height:1em}

.scc-chat-btn{position:fixed;left:16px;bottom:16px;z-index:870;width:42px;height:42px;border-radius:50%;border:0;background:var(--asb-accent,#c2185b);color:#fff;display:flex;align-items:center;justify-content:center;cursor:pointer;opacity:.85;box-shadow:0 3px 10px rgba(0,0,0,.25);transition:opacity .2s,transform .2s}
.scc-chat-btn:hover,.scc-chat-btn:focus-visible{opacity:1;transform:scale(1.06)}
.scc-chat-btn:focus-visible{outline:2px solid #fff;outline-offset:2px}
.scc-chat{position:fixed;left:16px;bottom:68px;z-index:890;width:340px;max-width:calc(100vw - 32px);height:460px;max-height:calc(100vh - 100px);display:flex;flex-direction:column;border-radius:12px;overflow:hidden;background:#fff;color:#1f2430;box-shadow:0 12px 36px rgba(0,0,0,.28);font-size:.9rem;line-height:1.45}
.scc-chat[hidden]{display:none}
.scc-chat__h{display:flex;justify-content:space-between;align-items:center;padding:10px 14px;background:var(--asb-accent,#c2185b);color:#fff}
.scc-chat__x{all:unset;font-size:1.4rem;cursor:pointer;line-height:1}
.scc-chat__n{padding:6px 12px;font-size:.72rem;background:#f4f5f7;color:#555}
.scc-chat__m{flex:1;overflow-y:auto;padding:12px;display:flex;flex-direction:column;gap:8px}
.scc-chat__b{max-width:85%;padding:8px 11px;border-radius:12px;word-wrap:break-word}
.scc-chat__b--assistant{align-self:flex-start;background:#f0f1f4}
.scc-chat__b--user{align-self:flex-end;background:var(--asb-accent,#c2185b);color:#fff}
.scc-chat__b--wait{opacity:.6}
.scc-chat__f{display:flex;gap:6px;padding:8px;border-top:1px solid #e5e7eb}
.scc-chat__i{flex:1;min-width:0;padding:8px 10px;border:1px solid #d1d5db;border-radius:8px;font:inherit;color:inherit;background:#fff}
.scc-chat__f button{border:0;border-radius:8px;padding:0 12px;background:var(--asb-accent,#c2185b);color:#fff;cursor:pointer}
.scc-hp{position:absolute!important;left:-9999px!important;width:1px;height:1px;opacity:0}
@media (prefers-color-scheme:dark){
.scc-chat{background:#1f2430;color:#eef0f4}
.scc-chat__n{background:#151922;color:#aab}
.scc-chat__b--assistant{background:#2a303d}
.scc-chat__f{border-color:#3a4150}
.scc-chat__i{background:#151922;border-color:#3a4150}
}
@media (max-width:600px){
.scc-chat{left:8px;right:8px;width:auto;max-width:none;bottom:64px;height:70vh}
.scc-pop{left:8px;right:8px;width:auto;bottom:64px}
}
@media print{.scc-chat-btn,.scc-chat,.scc-pop{display:none!important}}
.scc-chat-btn{position:fixed}
.scc-chat-dot{position:absolute;top:2px;right:2px;width:10px;height:10px;border-radius:50%;background:#2ecc71;border:2px solid #fff}
.scc-chat-dot[hidden]{display:none}
.scc-chat__h strong{display:block}
.scc-chat__st{display:flex;align-items:center;gap:5px;font-size:.72rem;opacity:.9}
.scc-chat__st i{width:7px;height:7px;border-radius:50%;background:#cbd5e1}
.scc-chat{height:auto;max-height:calc(100vh - 100px)}
.scc-chat__m{min-height:90px;max-height:220px}
.scc-chat__form{display:flex;flex-direction:column;gap:6px;padding:8px 10px;border-top:1px solid #e5e7eb}
.scc-chat__who{display:flex;flex-direction:column;gap:6px}
.scc-chat--known .scc-chat__who{display:none}
.scc-chat__form input[type=text],.scc-chat__form input[type=email],.scc-chat__form textarea{width:100%;box-sizing:border-box;padding:7px 9px;border:1px solid #d1d5db;border-radius:8px;font:inherit;font-size:.85rem;color:inherit;background:transparent;resize:vertical}
.scc-chat__info{font-size:.72rem;opacity:.85}
.scc-chat__info summary{cursor:pointer;text-decoration:underline}
.scc-chat__info p{margin:.35rem 0}
.scc-chat__ok{display:flex;gap:6px;align-items:flex-start;font-size:.75rem}
.scc-chat__ok input{margin-top:2px;flex:none;accent-color:var(--asb-accent,#c2185b)}
.scc-chat__row{display:flex;align-items:center;gap:8px}
.scc-chat__err{flex:1;font-size:.75rem;color:#c0392b}
.scc-chat__row button{border:0;border-radius:8px;padding:7px 16px;background:var(--asb-accent,#c2185b);color:#fff;font-weight:700;cursor:pointer}
.scc-chat__form.is-busy{opacity:.6;pointer-events:none}
.scc-chat__foot{padding:0 10px 8px;text-align:right}
.scc-chat__forget{all:unset;cursor:pointer;font-size:.72rem;text-decoration:underline;opacity:.75}
.scc-chat__forget[hidden]{display:none}
@media (prefers-color-scheme:dark){.scc-chat__form{border-color:#3a4150}.scc-chat__form input,.scc-chat__form textarea{border-color:#3a4150!important}}
.scc-pop__c>span,.scc-chat__ok>span{flex:1;min-width:0}
.scc-chat--online .scc-chat__st i{background:#4ade80}
.scc-chat__form[hidden]{display:none}
.scc-chat__mail{background:rgba(194,24,91,.06)}
.scc-chat__ask{margin:0;font-size:.8rem;font-weight:600}
.scc-chat__note{flex:1;font-size:.7rem;opacity:.75}
.scc-chat__later{background:transparent!important;color:inherit!important;font-weight:400!important;text-decoration:underline;padding:7px 4px!important;margin-right:auto}
.scc-chat__err:empty{display:none}
