#hd{position:fixed;right:16px;bottom:16px;z-index:9990;font-family:"Segoe UI",system-ui,-apple-system,Roboto,sans-serif}
.hd-fab{all:unset;cursor:pointer;display:flex;align-items:center;gap:8px;background:linear-gradient(135deg,#d50c0d,#a40a0b);color:#fff;border-radius:50px;padding:11px 18px 11px 14px;box-shadow:0 10px 26px rgba(213,12,13,.45);position:relative;font-weight:700;font-size:14px}
.hd-fab i{font-size:24px}.hd-fab em{font-style:normal}.hd-fab.hide{display:none}
.hd-pulse{position:absolute;inset:0;border-radius:50px;box-shadow:0 0 0 0 rgba(213,12,13,.55);animation:hdp 2.2s infinite}@keyframes hdp{70%{box-shadow:0 0 0 14px rgba(213,12,13,0)}100%{box-shadow:0 0 0 0 rgba(213,12,13,0)}}
.hd-box{display:none;width:340px;max-width:calc(100vw - 24px);height:480px;max-height:calc(100vh - 32px);background:#fff;border-radius:18px;box-shadow:0 22px 60px rgba(17,18,86,.35);overflow:hidden;flex-direction:column}.hd-box.on{display:flex}
.hd-box header{display:flex;align-items:center;gap:10px;padding:12px 14px;background:linear-gradient(135deg,#111256,#2a1459);color:#fff}
.hd-av{width:38px;height:38px;border-radius:50%;background:#f2b705;color:#111256;display:grid;place-items:center;font-weight:800;font-size:18px;flex:none}
.hd-box header div:nth-child(2){flex:1;line-height:1.25}.hd-box header b{display:block;font-size:14px}.hd-box header small{opacity:.85;font-size:11.5px;display:flex;align-items:center;gap:5px}.hd-box header small i{width:7px;height:7px;border-radius:50%;background:#4ade80;display:inline-block}
.hd-x{all:unset;cursor:pointer;font-size:24px;padding:0 4px;opacity:.85}
.hd-body{flex:1;overflow-y:auto;padding:12px;background:#f6f4ef;display:flex;flex-direction:column;gap:8px}
.hd-m{max-width:88%;padding:8px 12px;border-radius:14px;font-size:13.5px;line-height:1.45;color:#1f2433;animation:hdin .25s}@keyframes hdin{from{opacity:0;transform:translateY(6px)}}
.hd-m.bot{background:#fff;border-bottom-left-radius:4px;box-shadow:0 1px 3px rgba(0,0,0,.08);align-self:flex-start}.hd-m.me{background:#111256;color:#fff;border-bottom-right-radius:4px;align-self:flex-end}
.hd-m ul{margin:4px 0;padding-left:18px}.hd-m a{color:#d50c0d;font-weight:600}.hd-ok{color:#15803d;font-weight:700}.hd-no{color:#b91c1c;font-weight:700}
.hd-typing small{display:block;color:#6b7085;font-size:11.5px;margin-bottom:3px}
.hd-dots i{display:inline-block;width:7px;height:7px;border-radius:50%;background:#9aa0b8;margin:0 2px;animation:hdd 1s infinite}.hd-dots i:nth-child(2){animation-delay:.15s}.hd-dots i:nth-child(3){animation-delay:.3s}@keyframes hdd{50%{transform:translateY(-4px);background:#d50c0d}}
.hd-cta{display:flex;gap:6px;background:transparent !important;box-shadow:none !important;padding:0 !important;max-width:100%}
.hd-cta a{flex:1;text-align:center;color:#fff !important;padding:9px 6px;border-radius:12px;font-size:13px;text-decoration:none;display:flex;align-items:center;justify-content:center;gap:4px}.hd-cta .c1{background:#d50c0d}.hd-cta .c2{background:#111256}.hd-cta .c3{background:#16a34a}.hd-cta i{font-size:17px}
.hd-chips{display:flex;gap:6px;flex-wrap:wrap;padding:6px 12px 8px;background:#f6f4ef}.hd-chips button{border:1px solid #d8d3c4;background:#fff;border-radius:50px;padding:4px 11px;font-size:12px;cursor:pointer;color:#111256;font-weight:600}.hd-chips button:hover{background:#111256;color:#fff}
.hd-box form{display:flex;gap:6px;padding:10px;background:#fff;border-top:1px solid #eee}.hd-box input{flex:1;border:1px solid #ddd;border-radius:50px;padding:8px 14px;font-size:14px}.hd-box input:focus{outline:2px solid #111256}
.hd-box form button{border:0;background:#d50c0d;color:#fff;border-radius:50%;width:38px;height:38px;font-size:18px;cursor:pointer;display:grid;place-items:center}
@media(max-width:480px){#hd{right:8px;bottom:8px}.hd-box{height:calc(100vh - 16px);width:calc(100vw - 16px)}.hd-fab em{display:none}.hd-fab{padding:12px}}
