/* Seegna assistant */
#sg-chat-btn{position:fixed;right:22px;bottom:22px;z-index:9998;display:flex;align-items:center;gap:10px;border:0;cursor:pointer;background:var(--azure);color:#fff;padding:14px 20px 14px 16px;border-radius:999px;font:600 15px Inter,system-ui,sans-serif;box-shadow:0 14px 34px -10px rgba(31,111,224,.7);transition:transform .15s,background .2s}
#sg-chat-btn:hover{transform:translateY(-3px);background:var(--azure-d)}
#sg-chat{position:fixed;right:22px;bottom:92px;z-index:9999;width:min(390px,calc(100vw - 32px));height:min(600px,calc(100vh - 120px));padding:0;margin:0;background:#fff;border-radius:20px;box-shadow:0 24px 70px rgba(13,53,84,.35);display:none;flex-direction:column;overflow:hidden;font-family:Inter,system-ui,sans-serif;color:var(--head);border:1px solid var(--line)}
#sg-chat.open{display:flex;animation:sgup .22s ease-out}
@keyframes sgup{from{opacity:0;transform:translateY(14px)}to{opacity:1;transform:none}}
#sg-chat .sc-head{flex:none;background:linear-gradient(120deg,var(--head),#1a4a78);color:#fff;padding:16px 18px;display:flex;align-items:center;gap:12px}
#sg-chat .sc-head .av{width:44px;height:44px;border-radius:50%;background:#fff;display:grid;place-items:center;flex:none;overflow:hidden}
#sg-chat .sc-head .av img{width:30px;height:auto;display:block}
#sg-chat .sc-head b{display:block;font-size:16px}#sg-chat .sc-head small{opacity:.85;font-size:12.5px}
#sg-chat .sc-head button{margin-left:auto;background:rgba(255,255,255,.16);border:0;color:#fff;width:34px;height:34px;border-radius:50%;cursor:pointer;font-size:18px;line-height:1}
#sg-chat .sc-head button:hover{background:rgba(255,255,255,.3)}
#sg-chat .sc-body{flex:1 1 auto;min-height:0;overflow-y:auto;padding:16px;background:#f1f6fd;display:flex;flex-direction:column;gap:10px}
#sg-chat .sc-m{max-width:88%;padding:11px 14px;border-radius:16px;font-size:15px;line-height:1.5}
#sg-chat .sc-m a{color:var(--azure-d);font-weight:700}
#sg-chat .sc-m.bot{background:#fff;border:1px solid var(--line);border-bottom-left-radius:4px;align-self:flex-start}
#sg-chat .sc-m.me{background:var(--head);color:#fff;border-bottom-right-radius:4px;align-self:flex-end}
#sg-chat .sc-m ul{margin:6px 0 0;padding-left:18px}#sg-chat .sc-m li{margin:3px 0}
#sg-chat .sc-typing{display:flex;gap:4px;padding:14px}
#sg-chat .sc-typing i{width:7px;height:7px;border-radius:50%;background:#8fb2de;animation:sgb 1s infinite}
#sg-chat .sc-typing i:nth-child(2){animation-delay:.15s}#sg-chat .sc-typing i:nth-child(3){animation-delay:.3s}
@keyframes sgb{50%{transform:translateY(-4px);opacity:.5}}
#sg-chat .sc-chips{display:flex;flex-wrap:wrap;gap:8px;padding:4px 0 2px}
#sg-chat .sc-chips button{background:#fff;border:1.5px solid var(--azure);color:var(--azure-d);border-radius:999px;padding:8px 14px;font:600 14px Inter,system-ui,sans-serif;cursor:pointer}
#sg-chat .sc-chips button:hover{background:var(--azure);color:#fff}
#sg-chat .sc-form{flex:none;display:flex;gap:8px;padding:12px;border-top:1px solid var(--line);background:#fff}
#sg-chat .sc-form input{flex:1;border:1.5px solid #b9cfe6;border-radius:999px;padding:11px 16px;font:15px Inter,system-ui,sans-serif;min-width:0;color:var(--head)}
#sg-chat .sc-form input:focus{outline:2px solid var(--azure);border-color:transparent}
#sg-chat .sc-form button{border:0;background:var(--azure);color:#fff;border-radius:999px;padding:0 20px;font:700 15px Inter,system-ui,sans-serif;cursor:pointer}
#sg-chat .sc-form button:hover{background:var(--azure-d)}
#sg-chat .sc-foot{flex:none;font-size:11.5px;color:#5d6b7c;text-align:center;padding:0 12px 10px;background:#fff}
#sg-chat .sc-foot a{color:var(--azure-d);font-weight:700;text-decoration:none}
@media(max-width:920px){#sg-chat-btn{bottom:84px;right:14px}#sg-chat-btn span{display:none}#sg-chat-btn{padding:15px}#sg-chat{right:10px;left:10px;width:auto;bottom:146px;height:calc(100vh - 170px)}}
@media(prefers-reduced-motion:reduce){#sg-chat.open{animation:none}#sg-chat .sc-typing i{animation:none}}
