:root{--firestarter-primary:#18181b;--firestarter-primary-foreground:#fafafa;--firestarter-background:#fff;--firestarter-foreground:#09090b;--firestarter-muted:#f4f4f5;--firestarter-muted-foreground:#71717a;--firestarter-border:#e4e4e7;--firestarter-ring:#18181b;--firestarter-radius:.5rem;--firestarter-shadow-sm:0 1px 2px 0 rgb(0 0 0/0.05);--firestarter-shadow:0 1px 3px 0 rgb(0 0 0/0.1),0 1px 2px -1px rgb(0 0 0/0.1);--firestarter-shadow-md:0 4px 6px -1px rgb(0 0 0/0.1),0 2px 4px -2px rgb(0 0 0/0.1);--firestarter-shadow-lg:0 10px 15px -3px rgb(0 0 0/0.1),0 4px 6px -4px rgb(0 0 0/0.1);--firestarter-shadow-xl:0 20px 25px -5px rgb(0 0 0/0.1),0 8px 10px -6px rgb(0 0 0/0.1)}#firestarter-chatbot-container *,.firestarter-chatbot-inline *{box-sizing:border-box;margin:0;padding:0}.firestarter-toggle-btn{position:fixed;z-index:9999;width:56px;height:56px;border-radius:50%;border:none;cursor:pointer;display:flex;align-items:center;justify-content:center;background:var(--firestarter-primary);color:var(--firestarter-primary-foreground);box-shadow:var(--firestarter-shadow-lg);transition:all .2s cubic-bezier(.4,0,.2,1);outline:none}.firestarter-toggle-btn:hover{transform:scale(1.05);box-shadow:var(--firestarter-shadow-xl)}.firestarter-toggle-btn:focus-visible{outline:2px solid var(--firestarter-ring);outline-offset:2px}.firestarter-toggle-btn.position-bottom-right{bottom:24px;right:24px}.firestarter-toggle-btn.position-bottom-left{bottom:24px;left:24px}.firestarter-toggle-btn.position-top-right{top:24px;right:24px}.firestarter-toggle-btn.position-top-left{top:24px;left:24px}.firestarter-toggle-btn svg{width:24px;height:24px;transition:transform .2s ease}.firestarter-toggle-btn.is-open svg{transform:rotate(90deg)}.firestarter-toggle-btn:not(.is-open):after{content:'';position:absolute;width:100%;height:100%;border-radius:50%;background:var(--firestarter-primary);animation:firestarter-pulse 2s ease-out infinite;z-index:-1}@keyframes firestarter-pulse{0%{transform:scale(1);opacity:.5}100%{transform:scale(1.5);opacity:0}}.firestarter-chat-window{position:fixed;z-index:9998;width:400px;max-width:calc(100vw - 32px);height:600px;max-height:calc(100vh - 100px);background:var(--firestarter-background);border:1px solid var(--firestarter-border);border-radius:var(--firestarter-radius);box-shadow:var(--firestarter-shadow-xl);display:flex;flex-direction:column;overflow:hidden;opacity:0;transform:translateY(20px) scale(.95);pointer-events:none;transition:all .3s cubic-bezier(.4,0,.2,1)}.firestarter-chat-window.is-open{opacity:1;transform:translateY(0) scale(1);pointer-events:auto}.firestarter-chat-window.position-bottom-right{bottom:96px;right:24px}.firestarter-chat-window.position-bottom-left{bottom:96px;left:24px}.firestarter-chat-window.position-top-right{top:96px;right:24px}.firestarter-chat-window.position-top-left{top:96px;left:24px}.firestarter-chat-window.position-top-right,.firestarter-chat-window.position-top-left{transform:translateY(-20px) scale(.95)}.firestarter-chat-window.position-top-right.is-open,.firestarter-chat-window.position-top-left.is-open{transform:translateY(0) scale(1)}.firestarter-chatbot-inline .firestarter-chat-window{position:relative;width:100%;max-width:100%;height:100%;max-height:none;bottom:auto;right:auto;left:auto;opacity:1;transform:none;pointer-events:auto}.firestarter-chat-header{display:flex;align-items:center;justify-content:space-between;padding:16px 20px;background:var(--firestarter-background);border-bottom:1px solid var(--firestarter-border);flex-shrink:0}.firestarter-chat-header-title{display:flex;align-items:center;gap:10px}.firestarter-chat-header-icon{width:32px;height:32px;border-radius:50%;background:var(--firestarter-primary);display:flex;align-items:center;justify-content:center}.firestarter-chat-header-icon svg{width:18px;height:18px;color:var(--firestarter-primary-foreground)}.firestarter-chat-header h3{font-size:16px;font-weight:600;color:var(--firestarter-foreground);font-family:-apple-system,BlinkMacSystemFont,'Segoe UI',Roboto,'Helvetica Neue',Arial,sans-serif;line-height:1.4}.firestarter-chat-header-actions{display:flex;gap:4px}.firestarter-header-btn{width:32px;height:32px;border-radius:6px;border:none;background:0 0;color:var(--firestarter-muted-foreground);cursor:pointer;display:flex;align-items:center;justify-content:center;transition:all .15s ease}.firestarter-header-btn:hover{background:var(--firestarter-muted);color:var(--firestarter-foreground)}.firestarter-header-btn svg{width:18px;height:18px}.firestarter-chat-messages{flex:1;overflow-y:auto;padding:20px;display:flex;flex-direction:column;gap:16px;scroll-behavior:smooth}.firestarter-chat-messages::-webkit-scrollbar{width:6px}.firestarter-chat-messages::-webkit-scrollbar-track{background:0 0}.firestarter-chat-messages::-webkit-scrollbar-thumb{background:var(--firestarter-border);border-radius:3px}.firestarter-chat-messages::-webkit-scrollbar-thumb:hover{background:var(--firestarter-muted-foreground)}.firestarter-message{display:flex;gap:12px;max-width:85%;animation:firestarter-message-in .3s ease}@keyframes firestarter-message-in{from{opacity:0;transform:translateY(10px)}to{opacity:1;transform:translateY(0)}}.firestarter-message.user{align-self:flex-end;flex-direction:row-reverse}.firestarter-message.assistant{align-self:flex-start}.firestarter-message-avatar{width:32px;height:32px;border-radius:50%;flex-shrink:0;display:flex;align-items:center;justify-content:center}.firestarter-message.user .firestarter-message-avatar{background:var(--firestarter-primary);color:var(--firestarter-primary-foreground)}.firestarter-message.assistant .firestarter-message-avatar{background:var(--firestarter-muted);color:var(--firestarter-foreground)}.firestarter-message-avatar svg{width:16px;height:16px}.firestarter-message-content{padding:12px 16px;border-radius:var(--firestarter-radius);font-size:14px;line-height:1.6;font-family:-apple-system,BlinkMacSystemFont,'Segoe UI',Roboto,'Helvetica Neue',Arial,sans-serif}.firestarter-message.user .firestarter-message-content{background:var(--firestarter-primary);color:var(--firestarter-primary-foreground);border-bottom-right-radius:4px}.firestarter-message.assistant .firestarter-message-content{background:var(--firestarter-muted);color:var(--firestarter-foreground);border-bottom-left-radius:4px}.firestarter-message-content p{margin:0 0 8px}.firestarter-message-content p:last-child{margin-bottom:0}.firestarter-message-content a{color:inherit;text-decoration:underline;text-underline-offset:2px}.firestarter-message.user .firestarter-message-content a{color:var(--firestarter-primary-foreground)}.firestarter-message-content code{font-family:ui-monospace,SFMono-Regular,'SF Mono',Menlo,Monaco,Consolas,monospace;font-size:13px;background:rgba(0,0,0,.1);padding:2px 6px;border-radius:4px}.firestarter-message-content pre{background:#1e1e1e;color:#d4d4d4;padding:12px;border-radius:6px;overflow-x:auto;margin:8px 0}.firestarter-message-content pre code{background:0 0;padding:0}.firestarter-message-content ul,.firestarter-message-content ol{margin:8px 0;padding-left:20px}.firestarter-message-content li{margin:4px 0}.firestarter-typing{display:flex;gap:4px;padding:8px 0}.firestarter-typing-dot{width:8px;height:8px;border-radius:50%;background:var(--firestarter-muted-foreground);animation:firestarter-typing-bounce 1.4s ease-in-out infinite}.firestarter-typing-dot:nth-child(1){animation-delay:0s}.firestarter-typing-dot:nth-child(2){animation-delay:.2s}.firestarter-typing-dot:nth-child(3){animation-delay:.4s}@keyframes firestarter-typing-bounce{0%,60%,100%{transform:translateY(0)}30%{transform:translateY(-6px)}}.firestarter-sources{margin-top:12px;padding-top:12px;border-top:1px solid var(--firestarter-border)}.firestarter-sources-title{font-size:12px;font-weight:500;color:var(--firestarter-muted-foreground);margin-bottom:8px;display:flex;align-items:center;gap:4px}.firestarter-sources-list{display:flex;flex-wrap:wrap;gap:6px}.firestarter-source-tag{display:inline-flex;align-items:center;gap:4px;padding:4px 10px;background:var(--firestarter-background);border:1px solid var(--firestarter-border);border-radius:9999px;font-size:12px;color:var(--firestarter-muted-foreground);text-decoration:none;transition:all .15s ease;max-width:200px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.firestarter-source-tag:hover{background:var(--firestarter-muted);color:var(--firestarter-foreground);border-color:var(--firestarter-foreground)}.firestarter-source-tag svg{width:12px;height:12px;flex-shrink:0}.firestarter-chat-input-container{padding:16px 20px;border-top:1px solid var(--firestarter-border);background:var(--firestarter-background);flex-shrink:0}.firestarter-chat-input-wrapper{display:flex;align-items:flex-end;gap:8px;background:var(--firestarter-muted);border:1px solid var(--firestarter-border);border-radius:var(--firestarter-radius);padding:4px 4px 4px 12px;transition:all .15s ease}.firestarter-chat-input-wrapper:focus-within{border-color:var(--firestarter-ring);box-shadow:0 0 0 3px rgba(24,24,27,.1)}.firestarter-chat-input{flex:1;border:none;background:0 0;padding:8px 0;font-size:14px;font-family:-apple-system,BlinkMacSystemFont,'Segoe UI',Roboto,'Helvetica Neue',Arial,sans-serif;color:var(--firestarter-foreground);resize:none;min-height:24px;max-height:120px;line-height:1.5;outline:none}.firestarter-chat-input::placeholder{color:var(--firestarter-muted-foreground)}.firestarter-send-btn{width:36px;height:36px;border-radius:6px;border:none;background:var(--firestarter-primary);color:var(--firestarter-primary-foreground);cursor:pointer;display:flex;align-items:center;justify-content:center;transition:all .15s ease;flex-shrink:0}.firestarter-send-btn:hover:not(:disabled){opacity:.9}.firestarter-send-btn:disabled{opacity:.5;cursor:not-allowed}.firestarter-send-btn svg{width:18px;height:18px}.firestarter-welcome{display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;padding:40px 20px;gap:16px}.firestarter-welcome-icon{width:56px;height:56px;border-radius:50%;background:var(--firestarter-muted);display:flex;align-items:center;justify-content:center}.firestarter-welcome-icon svg{width:28px;height:28px;color:var(--firestarter-primary)}.firestarter-welcome h4{font-size:18px;font-weight:600;color:var(--firestarter-foreground);font-family:-apple-system,BlinkMacSystemFont,'Segoe UI',Roboto,'Helvetica Neue',Arial,sans-serif}.firestarter-welcome p{font-size:14px;color:var(--firestarter-muted-foreground);max-width:280px;line-height:1.5;font-family:-apple-system,BlinkMacSystemFont,'Segoe UI',Roboto,'Helvetica Neue',Arial,sans-serif}.firestarter-quick-actions{display:flex;flex-wrap:wrap;gap:8px;justify-content:center;margin-top:8px}.firestarter-quick-action{padding:8px 16px;background:var(--firestarter-background);border:1px solid var(--firestarter-border);border-radius:9999px;font-size:13px;color:var(--firestarter-foreground);cursor:pointer;transition:all .15s ease;font-family:-apple-system,BlinkMacSystemFont,'Segoe UI',Roboto,'Helvetica Neue',Arial,sans-serif}.firestarter-quick-action:hover{background:var(--firestarter-muted);border-color:var(--firestarter-foreground)}.firestarter-error{display:flex;align-items:center;gap:8px;padding:12px 16px;background:#fef2f2;border:1px solid #fecaca;border-radius:var(--firestarter-radius);color:#dc2626;font-size:13px;animation:firestarter-shake .5s ease}@keyframes firestarter-shake{0%,100%{transform:translateX(0)}10%,30%,50%,70%,90%{transform:translateX(-2px)}20%,40%,60%,80%{transform:translateX(2px)}}.firestarter-error svg{width:16px;height:16px;flex-shrink:0}.firestarter-chat-footer{padding:8px 20px;text-align:center;border-top:1px solid var(--firestarter-border);background:var(--firestarter-background)}.firestarter-chat-footer a{font-size:11px;color:var(--firestarter-muted-foreground);text-decoration:none;display:inline-flex;align-items:center;gap:4px;transition:color .15s ease}.firestarter-chat-footer a:hover{color:var(--firestarter-foreground)}.firestarter-chat-footer svg{width:12px;height:12px}@media (max-width:480px){.firestarter-chat-window{width:100%;max-width:100%;height:100%;max-height:100%;border-radius:0;top:0;bottom:0;right:0;left:0}.firestarter-chat-window.position-bottom-right,.firestarter-chat-window.position-bottom-left,.firestarter-chat-window.position-top-right,.firestarter-chat-window.position-top-left{top:0;bottom:0;right:0;left:0}.firestarter-toggle-btn{width:52px;height:52px}.firestarter-toggle-btn.position-bottom-right{bottom:16px;right:16px}.firestarter-toggle-btn.position-bottom-left{bottom:16px;left:16px}.firestarter-toggle-btn.position-top-right{top:16px;right:16px}.firestarter-toggle-btn.position-top-left{top:16px;left:16px}}@media (prefers-color-scheme:dark){:root{--firestarter-primary:#fafafa;--firestarter-primary-foreground:#18181b;--firestarter-background:#09090b;--firestarter-foreground:#fafafa;--firestarter-muted:#27272a;--firestarter-muted-foreground:#a1a1aa;--firestarter-border:#27272a;--firestarter-ring:#fafafa}.firestarter-message.user .firestarter-message-content code{background:rgba(255,255,255,.1)}.firestarter-error{background:#450a0a;border-color:#7f1d1d;color:#fca5a5}}@media print{#firestarter-chatbot-container,.firestarter-toggle-btn{display:none !important}}@media (prefers-reduced-motion:reduce){.firestarter-toggle-btn:after,.firestarter-typing-dot,.firestarter-message{animation:none}.firestarter-chat-window,.firestarter-toggle-btn,*{transition-duration:.01ms !important}}