.hagel-bot-fab{position:fixed;bottom:24px;right:24px;z-index:9990;width:56px;height:56px;border-radius:50%;background:linear-gradient(135deg,#e8621a,#cc4e0e);color:#fff;border:none;cursor:pointer;box-shadow:0 4px 16px #e8621a59,0 2px 4px #0000001a;display:flex;align-items:center;justify-content:center;transition:transform .3s cubic-bezier(.34,1.56,.64,1),box-shadow .3s ease}.hagel-bot-fab:hover{transform:scale(1.08);box-shadow:0 6px 24px #e8621a73,0 2px 8px #00000026}.hagel-bot-fab:active{transform:scale(.95)}.hagel-bot-fab-icon{width:26px;height:26px}.hagel-bot-fab-close{width:24px;height:24px}.hagel-bot-badge{position:absolute;top:-4px;right:-4px;width:20px;height:20px;border-radius:50%;background:#e8621a;color:#fff;font-size:11px;font-weight:700;display:flex;align-items:center;justify-content:center;border:2px solid white;animation:hagelBotPulse 2s ease-in-out infinite}@keyframes hagelBotPulse{0%,to{transform:scale(1)}50%{transform:scale(1.15)}}.hagel-bot-window{position:fixed;bottom:92px;right:24px;z-index:9991;width:380px;max-height:min(560px,calc(100vh - 120px));border-radius:20px;background:#fff;color:#1e293b;box-shadow:0 20px 60px #0f244033,0 4px 16px #0f24401a;display:flex;flex-direction:column;overflow:hidden;opacity:0;transform:translateY(16px) scale(.95);transition:opacity .3s ease,transform .3s cubic-bezier(.34,1.56,.64,1)}.hagel-bot-window[data-open=true]{opacity:1;transform:translateY(0) scale(1)}@media(max-width:480px){.hagel-bot-window{bottom:0;right:0;left:0;width:100%;max-height:calc(100vh - 60px);max-height:calc(100dvh - 60px);border-radius:20px 20px 0 0;overscroll-behavior:contain}.hagel-bot-fab{bottom:16px;right:16px}}.hagel-bot-header{display:flex;align-items:center;justify-content:space-between;padding:16px 20px;background:linear-gradient(135deg,#1b3a62,#234b78);color:#fff;flex-shrink:0}.hagel-bot-header-info{display:flex;align-items:center;gap:12px}.hagel-bot-avatar{width:44px;height:44px;border-radius:50%;background:#234b78;box-shadow:0 2px 10px #e8621a4d;display:flex;align-items:center;justify-content:center;flex-shrink:0;border:2px solid rgba(255,255,255,.25);overflow:hidden}.hagel-bot-avatar-icon{width:44px;height:44px;object-fit:cover}.hagel-bot-header-name{font-weight:700;font-size:15px;display:flex;align-items:center;gap:6px;line-height:1.2}.hagel-bot-ai-tag{font-size:9px;font-weight:700;letter-spacing:.05em;background:#e8621acc;color:#fff;padding:1px 5px;border-radius:4px;line-height:1.4}.hagel-bot-header-status{font-size:12px;color:#ffffffbf;display:flex;align-items:center;gap:5px}.hagel-bot-status-dot{width:7px;height:7px;border-radius:50%;background:#34d399;display:inline-block}.hagel-bot-close-btn{width:36px;height:36px;border-radius:10px;border:none;background:#ffffff1a;color:#fff;cursor:pointer;display:flex;align-items:center;justify-content:center;transition:background .2s}.hagel-bot-close-btn:hover{background:#fff3}.hagel-bot-messages{flex:1;overflow-y:auto;padding:20px 16px;display:flex;flex-direction:column;gap:12px;min-height:200px;scroll-behavior:smooth;background:#f8fafc}.hagel-bot-msg{max-width:82%;padding:8px 12px;border-radius:12px;font-size:14px;line-height:1.5;word-wrap:break-word;animation:hagelBotFadeIn .25s ease-out;position:relative}@keyframes hagelBotFadeIn{0%{opacity:0;transform:translateY(8px)}to{opacity:1;transform:translateY(0)}}.hagel-bot-msg.bot{align-self:flex-start;background:#fff;color:#1e293b;border-radius:12px 12px 12px 2px;box-shadow:0 1px 2px #00000014;margin-left:6px}.hagel-bot-msg.bot:before{content:"";position:absolute;left:-6px;bottom:0;width:12px;height:12px;background:#fff;clip-path:polygon(100% 0,100% 100%,0 100%)}.hagel-bot-msg.user{align-self:flex-end;background:linear-gradient(135deg,#e8621a,#cc4e0e);color:#fff;border-radius:12px 12px 2px;box-shadow:0 1px 2px #e8621a33;margin-right:6px}.hagel-bot-msg.user:after{content:"";position:absolute;right:-6px;bottom:0;width:12px;height:12px;background:#cc4e0e;clip-path:polygon(0 0,100% 100%,0 100%)}.hagel-bot-msg a{color:#cc4e0e;text-decoration:underline;text-underline-offset:2px;font-weight:500}.hagel-bot-msg.user a{color:#ffe5d2}.hagel-bot-msg strong{font-weight:600;color:#152e50}.hagel-bot-typing{display:flex;gap:5px;padding:4px;align-items:center}.hagel-bot-typing span{width:8px;height:8px;border-radius:50%;background:#94a3b8;animation:hagelBotTyping 1.2s ease-in-out infinite}.hagel-bot-typing span:nth-child(2){animation-delay:.15s}.hagel-bot-typing span:nth-child(3){animation-delay:.3s}@keyframes hagelBotTyping{0%,60%,to{transform:scale(.7);opacity:.35}30%{transform:scale(1);opacity:1}}.hagel-bot-quick{display:flex;flex-wrap:wrap;gap:8px;padding:4px 16px 14px;flex-shrink:0;background:#f8fafc}.hagel-bot-chip{padding:8px 16px;border-radius:20px;border:1.5px solid #CBD5E1;background:#fff;color:#334155;font-size:13px;font-weight:500;cursor:pointer;transition:all .2s ease;white-space:nowrap;box-shadow:0 1px 2px #0000000a}.hagel-bot-chip:hover{border-color:#e8621a;color:#cc4e0e;background:#fff4ed;box-shadow:0 2px 4px #e8621a1a}.hagel-bot-chip:active{transform:scale(.96);background:#ffe5d2}.hagel-bot-input-area{display:flex;align-items:center;gap:8px;padding:12px 16px;border-top:1px solid #E2E8F0;flex-shrink:0;background:#fff}.hagel-bot-input{flex:1;padding:10px 14px;border-radius:12px;border:1.5px solid #CBD5E1;background:#f1f5f9;font-size:16px;color:#1e293b;outline:none;transition:border-color .2s,background .2s,box-shadow .2s}.hagel-bot-input:focus{border-color:#e8621a;background:#fff;box-shadow:0 0 0 3px #e8621a1a}.hagel-bot-input::placeholder{color:#64748b}.hagel-bot-send{width:40px;height:40px;border-radius:12px;border:none;background:linear-gradient(135deg,#e8621a,#cc4e0e);color:#fff;cursor:pointer;display:flex;align-items:center;justify-content:center;flex-shrink:0;transition:transform .2s,opacity .2s}.hagel-bot-send:hover{transform:scale(1.05)}.hagel-bot-send:active{transform:scale(.95)}.hagel-bot-send:disabled{opacity:.5;cursor:not-allowed;transform:none}.hagel-bot-footer{padding:8px 16px;text-align:center;font-size:11px;color:#64748b;border-top:1px solid #E2E8F0;flex-shrink:0;background:#fff}
