/* Insure With Sunny - chat widget */
#iws-chat{position:fixed;right:22px;bottom:88px;z-index:400;font-family:inherit}
#iws-chat-bubble{width:60px;height:60px;border-radius:50%;border:none;background:var(--navy,#0b2a4a);color:#fff;cursor:pointer;display:flex;align-items:center;justify-content:center;box-shadow:0 12px 30px rgba(11,42,74,.4);transition:transform .2s}
#iws-chat-bubble:hover{transform:scale(1.06)}
#iws-chat-bubble svg{width:28px;height:28px}
#iws-chat-bubble .iws-dot{position:absolute;top:2px;right:2px;width:14px;height:14px;border-radius:50%;background:var(--gold,#d9a441);border:2px solid #fff}
#iws-chat-panel{position:absolute;right:0;bottom:74px;width:372px;max-width:calc(100vw - 44px);height:520px;max-height:calc(100vh - 220px);background:#fff;border-radius:16px;box-shadow:0 24px 70px rgba(7,30,54,.45);display:flex;flex-direction:column;overflow:hidden;border:1px solid #e2e9f1}
#iws-chat-panel[hidden]{display:none}
.iws-chat-header{background:var(--navy,#0b2a4a);color:#fff;padding:14px 16px;display:flex;align-items:center;gap:10px}
.iws-chat-statusdot{width:10px;height:10px;border-radius:50%;background:#4ade80;flex-shrink:0}
.iws-chat-statusdot.away{background:var(--gold,#d9a441)}
.iws-chat-header div{flex:1;line-height:1.25}
.iws-chat-header strong{display:block;font-size:.98rem}
.iws-chat-header small{font-size:.75rem;color:#c4d4e4}
#iws-chat-close{background:none;border:none;color:#fff;font-size:1.5rem;cursor:pointer;line-height:1;padding:4px}
#iws-chat-msgs{flex:1;overflow-y:auto;padding:16px 14px;display:flex;flex-direction:column;gap:10px;background:#f4f7fb}
.iws-msg{max-width:82%;padding:10px 14px;border-radius:14px;font-size:.9rem;line-height:1.45;word-wrap:break-word}
.iws-msg.bot{background:#fff;border:1px solid #e2e9f1;color:#1d2c3d;border-bottom-left-radius:4px;align-self:flex-start}
.iws-msg.user{background:var(--navy,#0b2a4a);color:#fff;border-bottom-right-radius:4px;align-self:flex-end}
.iws-msg.typing{display:flex;gap:5px;padding:14px 16px}
.iws-msg.typing span{width:7px;height:7px;border-radius:50%;background:#9db2c7;animation:iws-blink 1.2s infinite}
.iws-msg.typing span:nth-child(2){animation-delay:.2s}
.iws-msg.typing span:nth-child(3){animation-delay:.4s}
@keyframes iws-blink{0%,80%,100%{opacity:.3}40%{opacity:1}}
#iws-chat-quick{display:flex;flex-wrap:wrap;gap:8px;padding:10px 14px;background:#f4f7fb;border-top:1px solid #e2e9f1}
#iws-chat-quick:empty{display:none}
.iws-quick{background:#fff;border:1px solid var(--blue,#1773c4);color:var(--blue,#1773c4);border-radius:20px;padding:7px 14px;font-size:.82rem;cursor:pointer;font-weight:600}
.iws-quick:hover{background:var(--blue,#1773c4);color:#fff}
#iws-chat-form{display:flex;gap:8px;padding:12px 14px;background:#fff;border-top:1px solid #e2e9f1}
#iws-chat-input{flex:1;border:1px solid #d5dee8;border-radius:22px;padding:10px 16px;font-size:.9rem;outline:none;font-family:inherit}
#iws-chat-input:focus{border-color:var(--blue,#1773c4)}
#iws-chat-send{width:42px;height:42px;border-radius:50%;border:none;background:var(--gold,#d9a441);color:#0b2a4a;cursor:pointer;display:flex;align-items:center;justify-content:center;flex-shrink:0}
#iws-chat-send svg{width:18px;height:18px}
#iws-chat-send:disabled{opacity:.5;cursor:default}
.iws-chat-disclaimer{font-size:.66rem;color:#8a9bab;text-align:center;padding:7px 14px;background:#fff;line-height:1.4}
@media(max-width:720px){
  #iws-chat{right:16px;bottom:152px}
  #iws-chat-panel{bottom:72px}
}
