.khaveeai-root{--khaveeai-primary: #6929ff;position:relative;min-height:32px;width:100%}.khaveeai-root canvas{display:block;width:100%;height:100%}.khaveeai-overlay{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;background:transparent}.khaveeai-overlay--connecting,.khaveeai-overlay--error{background:#1e1e1e8c}.khaveeai-cta-button{font-family:inherit;font-size:clamp(14px,3.8vw,16px);font-weight:600;line-height:1.2;min-height:44px;padding:10px 24px;border:none;border-radius:999px;background:var(--khaveeai-primary);color:#fff;cursor:pointer;display:inline-flex;align-items:center;justify-content:center;gap:8px}.khaveeai-cta-button:hover:not(:disabled){background:color-mix(in srgb,var(--khaveeai-primary) 85%,black)}.khaveeai-cta-button:disabled{cursor:default;opacity:.85}.khaveeai-cta-button--retry{background:var(--khaveeai-primary);margin-left:8px}.khaveeai-cta-stack{display:flex;flex-direction:column;align-items:center;gap:14px}.khaveeai-suggested-prompts{display:flex;flex-wrap:wrap;justify-content:center;gap:8px;max-width:320px}.khaveeai-suggested-prompt-chip{font-family:inherit;font-size:clamp(12px,3.2vw,13px);font-weight:500;line-height:1.3;padding:8px 14px;border:1px solid rgba(255,255,255,.5);border-radius:999px;background:#ffffff26;color:#fff;cursor:pointer;transition:background .16s ease}.khaveeai-suggested-prompt-chip:hover{background:#ffffff47}.khaveeai-controls{position:absolute;left:50%;bottom:16px;transform:translate(-50%);display:flex;align-items:center;gap:16px;z-index:30}.khaveeai-control-btn{width:48px;height:48px;border:none;border-radius:999px;cursor:pointer;display:inline-flex;align-items:center;justify-content:center;font-family:inherit}.khaveeai-control-btn--mic{background:color-mix(in srgb,var(--khaveeai-primary) 8%,white);color:var(--khaveeai-primary)}.khaveeai-control-btn--mic:hover{background:color-mix(in srgb,var(--khaveeai-primary) 16%,white)}.khaveeai-control-btn--chat{background:#262626;color:#fff}.khaveeai-control-btn--chat:hover{background:#3a3a3a}.khaveeai-control-btn:focus-visible{outline:2px solid var(--khaveeai-primary);outline-offset:2px}.khaveeai-error-text{font-family:inherit;font-size:clamp(13px,3.2vw,14px);font-weight:400;line-height:1.5;color:#fff}.khaveeai-chat{display:flex;flex-direction:column;background:#fff;border-radius:24px;font-family:inherit;box-sizing:border-box;min-height:0;overflow:hidden}.khaveeai-chat--beside{width:320px;height:calc(100% - 32px);margin:16px}.khaveeai-chat--below{width:calc(100% - 32px);max-height:400px;margin:16px}.khaveeai-chat__header{flex-shrink:0;padding:12px;font-family:inherit;font-size:clamp(16px,4.5vw,20px);font-weight:600;line-height:1.2;color:#000;text-align:left;display:flex;align-items:center;justify-content:space-between}.khaveeai-chat__close{flex-shrink:0;appearance:none;border:none;background:transparent;color:#6b7280;width:24px;height:24px;border-radius:8px;display:inline-flex;align-items:center;justify-content:center;cursor:pointer;font-family:inherit}.khaveeai-chat__close:hover{background:#f3f4f6;color:#1f2430}.khaveeai-chat__transcript{flex:1;min-height:0;overflow-y:auto;display:flex;flex-direction:column;gap:12px;padding:0 24px 24px}.khaveeai-chat__bubble{padding:12px 16px;font-family:inherit;font-size:clamp(13px,3.4vw,15px);font-weight:400;line-height:1.5;word-break:break-word;max-width:80%}.khaveeai-chat__bubble--user{align-self:flex-end;background:var(--khaveeai-primary);color:#fff;border-radius:24px 24px 6px}.khaveeai-chat__bubble--assistant{align-self:flex-start;background:color-mix(in srgb,var(--khaveeai-primary) 4%,white);color:var(--khaveeai-primary);border-radius:24px 24px 24px 6px}.khaveeai-chat__typing{align-self:flex-start;display:inline-flex;align-items:center;gap:4px;padding:14px 16px;background:color-mix(in srgb,var(--khaveeai-primary) 4%,white);border-radius:24px 24px 24px 6px}.khaveeai-chat__typing-dot{width:6px;height:6px;border-radius:50%;background:color-mix(in srgb,var(--khaveeai-primary) 60%,transparent);animation:khaveeai-typing-bounce 1s infinite ease-in-out}.khaveeai-chat__typing-dot:nth-child(2){animation-delay:.15s}.khaveeai-chat__typing-dot:nth-child(3){animation-delay:.3s}@keyframes khaveeai-typing-bounce{0%,60%,to{transform:translateY(0);opacity:.5}30%{transform:translateY(-4px);opacity:1}}.khaveeai-chat__bubble--system{align-self:flex-start;background:transparent;color:inherit;opacity:.6;border-radius:24px 24px 24px 6px}.khaveeai-chat__input-row{flex-shrink:0;display:flex;align-items:center;gap:4px;height:44px;margin:0 24px 20px;padding:4px 4px 4px 16px;border:2px solid color-mix(in srgb,var(--khaveeai-primary) 16%,white);border-radius:14px;background:#fff;box-sizing:border-box}.khaveeai-chat__input-row:focus-within{border-color:var(--khaveeai-primary)}.khaveeai-chat__input{flex:1;resize:none;min-height:20px;max-height:96px;padding:8px 0;font-family:inherit;font-size:16px;font-weight:400;line-height:1.5;border:none;background:transparent;box-sizing:border-box}.khaveeai-chat__input:focus{outline:none}.khaveeai-chat__send{flex-shrink:0;width:32px;height:32px;background:var(--khaveeai-primary);color:#fff;border:none;border-radius:12px;cursor:pointer;display:inline-flex;align-items:center;justify-content:center;font-family:inherit}.khaveeai-chat__send:hover{background:color-mix(in srgb,var(--khaveeai-primary) 85%,black)}.khaveeai-chat__send:disabled{opacity:.4;cursor:default}.khaveeai-chat__send:focus-visible{outline:2px solid var(--khaveeai-primary);outline-offset:2px}.khaveeai-chat__disconnected{flex:1;min-height:0;display:flex;align-items:center;justify-content:center;padding:24px;font-family:inherit;font-size:clamp(13px,3.2vw,14px);font-weight:400;line-height:1.5;color:#0000008c;text-align:center}@media(prefers-color-scheme:dark){.khaveeai-chat__disconnected{color:#ffffff8c}}.khaveeai-chat__empty-state{flex:1;min-height:0;display:flex;flex-direction:column;align-items:center;justify-content:center;padding:24px;text-align:center;font-family:inherit}.khaveeai-chat__empty-heading{font-family:inherit;font-size:clamp(14px,3.8vw,16px);font-weight:600;line-height:1.2;margin:0 0 8px}.khaveeai-chat__empty-body{font-family:inherit;font-size:clamp(13px,3.2vw,14px);font-weight:400;line-height:1.5;margin:0;color:#0000008c}@media(prefers-color-scheme:dark){.khaveeai-chat__empty-body{color:#ffffff8c}}.khaveeai-layout{display:flex;width:100%;height:100%;min-height:0;align-items:stretch}.khaveeai-layout--beside{flex-direction:row}.khaveeai-layout--below{flex-direction:column}.khaveeai-floating-widget{--khaveeai-floating-width: 400px;--khaveeai-floating-offset-y: 0px;--khaveeai-floating-offset-x: 0px;--khaveeai-floating-launcher-size: 60px;--khaveeai-floating-z-index: 999999;position:fixed;bottom:calc(24px + var(--khaveeai-floating-offset-y));right:calc(24px + var(--khaveeai-floating-offset-x));z-index:var(--khaveeai-floating-z-index);display:flex;flex-direction:column;align-items:flex-end;gap:16px;font-family:inherit}#khaveeai-floating-preview .khaveeai-floating-widget{position:absolute}.khaveeai-floating-widget[data-position=bottom-left]{right:auto;left:calc(24px + var(--khaveeai-floating-offset-x));align-items:flex-start}.khaveeai-floating-widget[data-position=bottom-left] .khaveeai-floating-panel{transform-origin:bottom left}.khaveeai-floating-panel{width:var(--khaveeai-floating-width);background:#fff;border:1px solid #dde1ea;border-radius:20px;display:flex;flex-direction:column;overflow:hidden;transform-origin:bottom right;transition:transform .22s cubic-bezier(.2,.8,.2,1),opacity .18s ease}.khaveeai-floating-widget[data-open=false] .khaveeai-floating-panel{transform:scale(.9) translateY(12px);opacity:0;pointer-events:none;position:absolute;bottom:0;right:0}.khaveeai-floating-widget[data-open=true] .khaveeai-floating-panel{transform:scale(1) translateY(0);opacity:1}.khaveeai-floating-header{flex-shrink:0;padding:12px 18px;background:var(--khaveeai-primary);color:#fff;display:flex;align-items:center;justify-content:space-between}.khaveeai-floating-header-identity{display:flex;align-items:center;gap:8px;min-width:0}.khaveeai-floating-header-title{font-size:clamp(14px,3.6vw,15px);font-weight:600;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.khaveeai-floating-header-status{width:8px;height:8px;border-radius:50%;background:#ffffff59;flex-shrink:0;transition:background .2s ease}.khaveeai-floating-header-status--online{background:#34d399}.khaveeai-floating-close{appearance:none;border:none;background:#ffffff2e;color:#fff;width:28px;height:28px;border-radius:8px;display:inline-flex;align-items:center;justify-content:center;cursor:pointer;font-family:inherit}.khaveeai-floating-close:hover{background:#ffffff4d}.khaveeai-floating-avatar-area{--khaveeai-sheet-h: 300px;flex-shrink:0;height:420px;background:#6929ff;position:relative;overflow:hidden}.khaveeai-floating-avatar-area .khaveeai-overlay{align-items:flex-end;padding-bottom:96px}.khaveeai-floating-avatar-area canvas{display:block;width:100%;height:100%}.khaveeai-response-bubble{position:absolute;left:50%;bottom:calc(76px + env(safe-area-inset-bottom));transform:translate(-50%);max-width:calc(100% - 32px);z-index:20;background:#fff;color:#1f2430;font-size:clamp(13px,3.6vw,14px);line-height:1.4;padding:10px 16px;border-radius:16px;max-height:2.85em;overflow:hidden;overflow-wrap:break-word;opacity:0;pointer-events:none;cursor:pointer;transition:opacity .3s ease,background .16s ease}.khaveeai-response-bubble--visible{opacity:1;pointer-events:auto}.khaveeai-response-bubble--visible:hover{background:#f2f3f5}.khaveeai-floating-avatar-area .khaveeai-controls.khaveeai-floating-controls{bottom:calc(16px + env(safe-area-inset-bottom));left:50%;right:auto;transform:translate(-50%);display:flex;flex-direction:row;gap:16px;transition:bottom .3s ease-in-out}.khaveeai-floating-controls .khaveeai-control-btn{width:48px;height:48px;border-radius:50%;border:none;display:inline-flex;align-items:center;justify-content:center;cursor:pointer;font-family:inherit;transition:background .16s ease,transform .16s ease}.khaveeai-floating-controls .khaveeai-control-btn--mic{background:var(--khaveeai-primary);color:#fff}.khaveeai-floating-controls .khaveeai-control-btn--mic:hover{background:color-mix(in srgb,var(--khaveeai-primary) 85%,black)}.khaveeai-floating-controls .khaveeai-control-btn--chat{background:#1f2430;color:#fff}.khaveeai-floating-controls .khaveeai-control-btn--chat:hover{background:#12151d}.khaveeai-floating-avatar-area .khaveeai-controls.khaveeai-floating-controls.khaveeai-floating-controls--sheet-open{bottom:calc(var(--khaveeai-sheet-h) + 16px + env(safe-area-inset-bottom))}.khaveeai-floating-sheet{position:absolute;left:0;right:0;bottom:0;height:var(--khaveeai-sheet-h);max-height:75%;background:#fff;border-radius:20px 20px 0 0;overflow:hidden;display:flex;flex-direction:column;z-index:5;transform:translateY(100%);transition:transform .3s ease-in-out}.khaveeai-floating-sheet[data-chat-open=false]{transform:translateY(100%);pointer-events:none}.khaveeai-floating-sheet[data-chat-open=true]{transform:translateY(0)}.khaveeai-floating-widget[data-open=false] .khaveeai-floating-sheet{display:none}.khaveeai-floating-sheet-handle{flex-shrink:0;display:flex;justify-content:center;padding:10px 0 6px;cursor:pointer;user-select:none}.khaveeai-floating-sheet-grip{width:48px;height:6px;border-radius:999px;background:#cdd2dc}.khaveeai-floating-sheet .khaveeai-chat--below{flex:1;min-height:0;width:100%;max-height:none;margin:0;border-radius:0}.khaveeai-floating-sheet .khaveeai-chat__header{display:none}.khaveeai-floating-greeting{position:relative;max-width:240px;padding:12px 30px 12px 16px;background:#fff;border:1px solid #dde1ea;border-radius:16px;font-size:clamp(13px,3.2vw,14px);line-height:1.4;color:#1f2430;animation:khaveeai-greeting-in .22s cubic-bezier(.2,.8,.2,1)}.khaveeai-floating-greeting p{margin:0}.khaveeai-floating-greeting-dismiss{position:absolute;top:6px;right:6px;width:24px;height:24px;padding:0;border:none;border-radius:6px;background:transparent;color:#9aa1b0;display:inline-flex;align-items:center;justify-content:center;cursor:pointer;font-family:inherit}.khaveeai-floating-greeting-dismiss:hover{background:#f3f4f6;color:#1f2430}@keyframes khaveeai-greeting-in{0%{opacity:0;transform:translateY(6px)}to{opacity:1;transform:translateY(0)}}.khaveeai-floating-launcher{width:var(--khaveeai-floating-launcher-size);height:var(--khaveeai-floating-launcher-size);border-radius:50%;border:none;background:var(--khaveeai-primary);display:inline-flex;align-items:center;justify-content:center;cursor:pointer;color:#fff;position:relative;flex-shrink:0;font-family:inherit;transition:transform .16s ease,background .16s ease}.khaveeai-floating-launcher-badge{position:absolute;top:-1px;right:-1px;width:calc(var(--khaveeai-floating-launcher-size) * .2333);height:calc(var(--khaveeai-floating-launcher-size) * .2333);border-radius:50%;background:#ef4444;border:2px solid #ffffff}.khaveeai-floating-launcher:hover{transform:translateY(-2px);background:color-mix(in srgb,var(--khaveeai-primary) 85%,black)}.khaveeai-floating-launcher:focus-visible{outline:2px solid color-mix(in srgb,var(--khaveeai-primary) 85%,black);outline-offset:3px}.khaveeai-floating-launcher svg{width:calc(var(--khaveeai-floating-launcher-size) * .4333);height:calc(var(--khaveeai-floating-launcher-size) * .4333);transition:transform .2s ease,opacity .15s ease}.khaveeai-floating-icon-chat,.khaveeai-floating-icon-close{position:absolute}.khaveeai-floating-widget[data-open=true] .khaveeai-floating-icon-chat{transform:scale(.5) rotate(45deg);opacity:0}.khaveeai-floating-widget[data-open=false] .khaveeai-floating-icon-close{transform:scale(.5) rotate(-45deg);opacity:0}@media(prefers-reduced-motion:reduce){.khaveeai-floating-panel,.khaveeai-floating-launcher,.khaveeai-floating-launcher svg,.khaveeai-floating-sheet,.khaveeai-floating-controls.khaveeai-floating-controls,.khaveeai-floating-header-status,.khaveeai-response-bubble{transition:none!important}.khaveeai-floating-greeting{animation:none!important}.khaveeai-chat__typing-dot{animation:none!important;opacity:.8}}@media(max-width:480px){.khaveeai-floating-widget{--khaveeai-floating-width: calc(100vw - 32px) ;bottom:calc(16px + var(--khaveeai-floating-offset-y-mobile, var(--khaveeai-floating-offset-y)))}.khaveeai-floating-widget:not([data-position=bottom-left]){right:calc(16px + var(--khaveeai-floating-offset-x-mobile, var(--khaveeai-floating-offset-x)))}.khaveeai-floating-widget[data-position=bottom-left]{left:calc(16px + var(--khaveeai-floating-offset-x-mobile, var(--khaveeai-floating-offset-x)))}.khaveeai-floating-launcher{width:var(--khaveeai-floating-launcher-size-mobile, var(--khaveeai-floating-launcher-size));height:var(--khaveeai-floating-launcher-size-mobile, var(--khaveeai-floating-launcher-size))}.khaveeai-floating-launcher svg{width:calc(var(--khaveeai-floating-launcher-size-mobile, var(--khaveeai-floating-launcher-size)) * .4333);height:calc(var(--khaveeai-floating-launcher-size-mobile, var(--khaveeai-floating-launcher-size)) * .4333)}.khaveeai-floating-launcher-badge{width:calc(var(--khaveeai-floating-launcher-size-mobile, var(--khaveeai-floating-launcher-size)) * .2333);height:calc(var(--khaveeai-floating-launcher-size-mobile, var(--khaveeai-floating-launcher-size)) * .2333)}}@media(max-width:480px),(max-height:700px){.khaveeai-floating-avatar-area{height:min(420px,50dvh);--khaveeai-sheet-h: min(300px, 35.7dvh)}.khaveeai-floating-panel{max-height:calc(100dvh - 96px)}.khaveeai-suggested-prompts{display:none}}
