#alv-chatbot-root{--alv-p:#0E1B2E;--alv-a:#C89B3C;--alv-bg:#fff;--alv-fg:#111827;--alv-sub:#f3f4f6;--alv-b:#e5e7eb;position:fixed;bottom:20px;right:20px;z-index:99999;font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,sans-serif;font-size:14px;line-height:1.45}
#alv-chatbot-root.alv-left{right:auto;left:20px}
#alv-chatbot-root.alv-dark{--alv-bg:#111827;--alv-fg:#f9fafb;--alv-sub:#1f2937;--alv-b:#374151}
.alv-fab{width:62px;height:62px;border-radius:50%;border:2px solid var(--alv-a);padding:0;background:var(--alv-p);color:#fff;cursor:pointer;box-shadow:0 8px 24px rgba(0,0,0,.28);display:flex;align-items:center;justify-content:center;position:relative;transition:transform .2s;animation:alv-pulse 2.8s infinite}
.alv-fab:hover{transform:scale(1.06);animation:none}
.alv-fab img{width:100%;height:100%;object-fit:cover;border-radius:50%;display:block}
.alv-fab svg{width:26px;height:26px;fill:currentColor}
.alv-badge-cnt{position:absolute;top:-4px;right:-4px;background:#dc2626;color:#fff;font-size:11px;font-weight:700;min-width:20px;height:20px;border-radius:99px;display:flex;align-items:center;justify-content:center;padding:0 5px}
.alv-teaser{position:absolute;bottom:74px;right:0;background:var(--alv-bg);color:var(--alv-fg);border:1px solid var(--alv-a);border-radius:14px;padding:11px 30px 11px 13px;width:265px;box-shadow:0 12px 30px rgba(0,0,0,.18);font-size:13px;cursor:pointer;animation:alv-pop .35s cubic-bezier(.16,1,.3,1)}
.alv-left .alv-teaser{right:auto;left:0}
.alv-teaser-x{position:absolute;top:6px;right:8px;border:0;background:none;color:var(--alv-fg);opacity:.6;cursor:pointer;font-size:15px}
.alv-win{position:fixed;bottom:92px;right:20px;width:375px;max-width:calc(100vw - 24px);height:560px;max-height:calc(100vh - 110px);background:var(--alv-bg);color:var(--alv-fg);border:1px solid var(--alv-b);border-radius:16px;box-shadow:0 18px 48px rgba(0,0,0,.25);display:none;flex-direction:column;overflow:hidden}
.alv-left .alv-win{right:auto;left:20px}
.alv-win.alv-lg{width:430px;height:620px}
.alv-win.alv-sm{width:330px;height:480px}
.alv-win.open{display:flex;animation:alv-pop .26s cubic-bezier(.16,1,.3,1)}
.alv-hd{background:var(--alv-p);color:#fff;padding:12px 14px;display:flex;align-items:center;justify-content:space-between;gap:10px}
.alv-hd-info{display:flex;align-items:center;gap:10px;min-width:0}
.alv-hd-logo{width:34px;height:34px;border-radius:50%;background:var(--alv-a);color:#0E1B2E;display:flex;align-items:center;justify-content:center;font-weight:700;overflow:hidden;flex-shrink:0}
.alv-hd-logo img{width:100%;height:100%;object-fit:cover}
.alv-hd-t{font-weight:600;font-size:14px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.alv-hd-s{font-size:11px;opacity:.85;display:flex;align-items:center;gap:5px}
.alv-dot{width:7px;height:7px;border-radius:50%;background:#22c55e;display:inline-block}
.alv-dot.off{background:#f59e0b}
.alv-hd-acts{display:flex;gap:4px}
.alv-icon-btn{background:rgba(255,255,255,.14);border:0;color:#fff;width:30px;height:30px;border-radius:8px;cursor:pointer;display:flex;align-items:center;justify-content:center;transition:background .15s}
.alv-icon-btn:hover{background:rgba(255,255,255,.24)}
.alv-icon-btn svg,.alv-tool svg,.alv-send svg,.alv-acts svg{width:15px;height:15px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round;display:block}
.alv-body{flex:1;overflow-y:auto;padding:12px;display:flex;flex-direction:column;gap:10px;background:var(--alv-bg)}
.alv-msg{max-width:86%;padding:9px 12px;border-radius:12px;word-wrap:break-word;position:relative;animation:alv-msg-in .22s ease-out}
.alv-msg.u{align-self:flex-end;background:var(--alv-p);color:#fff;border-bottom-right-radius:3px}
.alv-msg.b{align-self:flex-start;background:var(--alv-sub);color:var(--alv-fg);border-bottom-left-radius:3px}
.alv-msg.s{align-self:center;font-size:12px;opacity:.75;background:transparent;padding:4px}
.alv-msg[dir="rtl"]{text-align:right}
.alv-msg a{color:var(--alv-a);text-decoration:underline}
.alv-msg ul{margin:4px 0;padding-left:18px}
.alv-acts{display:flex;gap:8px;margin-top:5px;font-size:11px;opacity:.7}
.alv-acts button{border:0;background:none;color:inherit;cursor:pointer;padding:0}
.alv-cards{display:flex;flex-direction:column;gap:8px;margin-top:4px}
.alv-card{border:1px solid var(--alv-b);border-radius:10px;overflow:hidden;background:var(--alv-bg);display:flex;gap:10px;padding:8px;text-decoration:none;color:inherit}
.alv-card img{width:72px;height:66px;object-fit:cover;border-radius:6px;flex-shrink:0;background:var(--alv-sub)}
.alv-card-b{min-width:0;flex:1}
.alv-card-p{font-weight:700;color:var(--alv-a);font-size:13px}
.alv-card-t{font-weight:600;font-size:12px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.alv-card-m{font-size:11px;opacity:.75}
.alv-chips{display:flex;flex-wrap:wrap;gap:6px;padding:6px 12px;border-top:1px solid var(--alv-b);background:var(--alv-bg)}
.alv-chip{border:1px solid var(--alv-b);background:var(--alv-sub);color:var(--alv-fg);border-radius:99px;padding:5px 10px;font-size:12px;cursor:pointer}
.alv-chip:hover{border-color:var(--alv-a)}
.alv-ft{padding:8px 10px;border-top:1px solid var(--alv-b);display:flex;gap:6px;align-items:center;background:var(--alv-bg)}
.alv-in{flex:1;border:1px solid var(--alv-b);border-radius:99px;padding:8px 12px;font-size:13px;background:var(--alv-bg);color:var(--alv-fg);outline:0}
.alv-send{background:var(--alv-a);color:#0E1B2E;border:0;border-radius:99px;padding:8px 13px;font-weight:700;cursor:pointer;font-size:13px;display:inline-flex;align-items:center;gap:5px}
.alv-tool{border:0;background:var(--alv-sub);color:var(--alv-fg);width:32px;height:32px;border-radius:50%;cursor:pointer;display:flex;align-items:center;justify-content:center}
.alv-form{border:1px solid var(--alv-b);background:var(--alv-sub);border-radius:12px;padding:12px;display:flex;flex-direction:column;gap:8px}
.alv-form input,.alv-form select{padding:7px 9px;border:1px solid var(--alv-b);border-radius:7px;font-size:13px;background:var(--alv-bg);color:var(--alv-fg);width:100%;box-sizing:border-box}
.alv-form button{background:var(--alv-p);color:#fff;border:0;border-radius:8px;padding:9px;font-weight:600;cursor:pointer}
.alv-bar{display:flex;justify-content:space-between;padding:4px 12px 7px;font-size:11px;background:var(--alv-bg);border-top:1px solid var(--alv-b);opacity:.85}
.alv-bar button,.alv-bar a{border:0;background:none;color:inherit;cursor:pointer;text-decoration:underline;padding:0;font-size:11px}
.alv-hp{position:absolute;left:-9999px;opacity:0;height:0}
.alv-typing span{display:inline-block;width:6px;height:6px;border-radius:50%;background:currentColor;margin:0 2px;animation:alv-b 1s infinite}
.alv-typing span:nth-child(2){animation-delay:.15s}.alv-typing span:nth-child(3){animation-delay:.3s}
@keyframes alv-b{0%,80%,100%{opacity:.25}40%{opacity:1}}
@keyframes alv-pulse{0%{box-shadow:0 0 0 0 rgba(200,155,60,.55),0 8px 24px rgba(0,0,0,.28)}70%{box-shadow:0 0 0 12px rgba(200,155,60,0),0 8px 24px rgba(0,0,0,.28)}100%{box-shadow:0 0 0 0 rgba(200,155,60,0),0 8px 24px rgba(0,0,0,.28)}}
@keyframes alv-pop{from{opacity:0;transform:translateY(12px) scale(.97)}to{opacity:1;transform:translateY(0) scale(1)}}
@keyframes alv-msg-in{from{opacity:0;transform:translateY(6px)}to{opacity:1;transform:translateY(0)}}
@media(max-width:520px){#alv-chatbot-root{bottom:14px;right:14px}.alv-fab{width:54px;height:54px}.alv-win.open{bottom:78px;right:12px;left:12px;width:auto;max-width:none;height:66vh;max-height:500px;border-radius:16px}.alv-teaser{width:230px;bottom:64px}}
