/* IDRA - widget chat n2h4.it */
.idra-panel{--idra-acc:#ffcc00;--idra-ink:#111;--idra-bg:#fff;--idra-soft:#f3f3f1;font-family:inherit;font-size:15px;line-height:1.45;color:var(--idra-ink);background:var(--idra-bg);border:1px solid #e2e2dd;border-radius:14px;box-shadow:0 10px 40px rgba(0,0,0,.12);display:flex;flex-direction:column;overflow:hidden}
.idra-head{display:flex;align-items:center;justify-content:space-between;padding:12px 16px;background:var(--idra-ink);color:#fff}
.idra-title{font-weight:600;letter-spacing:.02em}
.idra-title::before{content:"";display:inline-block;width:9px;height:9px;border-radius:50%;background:var(--idra-acc);margin-right:9px;vertical-align:middle}
.idra-x{background:none;border:0;color:#fff;font-size:24px;line-height:1;cursor:pointer;padding:0 4px}
.idra-notice{font-size:12px;color:#555;background:var(--idra-soft);padding:7px 16px;border-bottom:1px solid #e2e2dd}
.idra-notice a{color:inherit;text-decoration:underline}
.idra-log{flex:1;overflow-y:auto;padding:16px;display:flex;flex-direction:column;gap:10px}
.idra-msg{max-width:85%;padding:9px 13px;border-radius:12px;word-wrap:break-word}
.idra-msg p{margin:0 0 6px}.idra-msg p:last-child{margin:0}
.idra-msg ul{margin:4px 0 6px 18px;padding:0}.idra-msg li{margin:2px 0}
.idra-a{align-self:flex-start;background:var(--idra-soft);border-bottom-left-radius:4px}
.idra-u{align-self:flex-end;background:var(--idra-ink);color:#fff;border-bottom-right-radius:4px}
.idra-sys{align-self:center;max-width:95%;font-size:13px;color:#444;background:#fff8d6;border:1px solid #f0e2a0;text-align:center}
.idra-sys a{color:inherit;text-decoration:underline}
.idra-restart{margin-left:8px;border:0;background:var(--idra-ink);color:#fff;border-radius:6px;padding:3px 10px;cursor:pointer;font-size:12px}
.idra-typing span{display:inline-block;width:7px;height:7px;margin:0 2px;border-radius:50%;background:#999;animation:idra-b 1s infinite ease-in-out}
.idra-typing span:nth-child(2){animation-delay:.15s}.idra-typing span:nth-child(3){animation-delay:.3s}
@keyframes idra-b{0%,80%,100%{opacity:.3;transform:translateY(0)}40%{opacity:1;transform:translateY(-3px)}}
.idra-form{display:flex;gap:8px;padding:10px 12px;border-top:1px solid #e2e2dd}
.idra-input{flex:1;resize:none;border:1px solid #d6d6d0;border-radius:10px;padding:9px 11px;font:inherit;color:inherit;background:#fff;min-height:44px;max-height:120px}
.idra-input:focus{outline:2px solid var(--idra-acc);outline-offset:0;border-color:transparent}
.idra-send{border:0;border-radius:10px;background:var(--idra-acc);color:#111;font-weight:600;padding:0 18px;cursor:pointer}
.idra-send:disabled,.idra-input:disabled{opacity:.5;cursor:not-allowed}
.idra-foot{display:flex;justify-content:flex-end;padding:0 12px 10px}
.idra-end{border:0;background:none;color:#777;font-size:12px;text-decoration:underline;cursor:pointer}
.idra-end:disabled{visibility:hidden}
/* home: riquadro fisso */
.idra-inline{height:520px;max-width:1580px;margin:0 auto}
/* altre pagine: bolla */
.idra-root{position:fixed;left:20px;bottom:20px;z-index:2147483000}
.idra-bubble{display:flex;align-items:center;gap:8px;border:0;border-radius:30px;background:#111;color:#fff;padding:12px 18px;font-weight:600;cursor:pointer;box-shadow:0 6px 24px rgba(0,0,0,.25)}
.idra-bubble::before{content:"";width:10px;height:10px;border-radius:50%;background:#ffcc00}
.idra-float{position:absolute;left:0;bottom:60px;width:370px;height:540px;max-height:calc(100vh - 100px);display:none}
.idra-float.idra-show{display:flex}
@media (max-width:480px){.idra-float{position:fixed;left:8px;right:8px;bottom:76px;width:auto;height:calc(100vh - 96px)}.idra-inline{height:480px}.idra-msg{max-width:92%}}
.grecaptcha-badge{visibility:hidden}
.idra-rc{display:block;margin-top:2px;opacity:.8}
