@media(max-width:600px){.message.rich.svelte-zsv8oa{gap:0}.message.rich.svelte-zsv8oa .message-avatar:where(.svelte-zsv8oa){display:none}.message.rich.svelte-zsv8oa .message-content:where(.svelte-zsv8oa){width:100%;max-width:100%;padding:0;background:transparent;border:0}.message.rich.svelte-zsv8oa .hexa-message-text{padding:12px}}@media(prefers-reduced-motion:reduce){.chat-window.svelte-zsv8oa{animation:none}}.chat-window.svelte-zsv8oa{position:fixed;bottom:24px;left:50%;transform:translate(-50%);width:min(720px,calc(100vw - 48px));height:min(740px,calc(100vh - 120px));height:min(740px,calc(100dvh - 120px));background:linear-gradient(180deg,#111827f7,#0a0f19fa);-webkit-backdrop-filter:blur(20px);backdrop-filter:blur(20px);border:1px solid rgba(255,255,255,.08);border-radius:20px;display:flex;flex-direction:column;z-index:9999;animation:svelte-zsv8oa-widgetSlideUp .35s cubic-bezier(.4,0,.2,1);box-shadow:0 20px 60px #00000080,0 0 40px #10b98114,inset 0 1px #ffffff0d;overflow:hidden;overscroll-behavior:contain}@keyframes svelte-zsv8oa-widgetSlideUp{0%{opacity:0;transform:translate(-50%,20px) scale(.98)}to{opacity:1;transform:translate(-50%) scale(1)}}.chat-header.svelte-zsv8oa{padding:1rem 1.25rem;background:linear-gradient(180deg,rgba(16,185,129,.08) 0%,transparent 100%);border-bottom:1px solid rgba(255,255,255,.06);display:flex;justify-content:space-between;align-items:center;flex-shrink:0}.chat-header-info.svelte-zsv8oa{display:flex;align-items:center;gap:.75rem}.chat-avatar.svelte-zsv8oa{width:40px;height:40px;background:linear-gradient(145deg,#1f2937e6,#111827f2);border-radius:12px;border:1px solid rgba(16,185,129,.2);display:flex;align-items:center;justify-content:center;color:#fff}.chat-avatar.hexa.svelte-zsv8oa{background:transparent;border:none;border-radius:0;overflow:visible}.chat-header.svelte-zsv8oa h3:where(.svelte-zsv8oa){margin:0;font-size:.95rem;font-weight:600;color:#fffffff2;letter-spacing:-.01em}.chat-status.svelte-zsv8oa{font-size:.7rem;color:#ffffffb3;display:flex;align-items:center;gap:.35rem;margin-top:2px}.status-dot.svelte-zsv8oa{width:6px;height:6px;background:#10b981;border-radius:50%;box-shadow:0 0 6px #10b98180;animation:svelte-zsv8oa-statusPulse 2s ease-in-out infinite}@keyframes svelte-zsv8oa-statusPulse{0%,to{opacity:1;box-shadow:0 0 6px #10b98180}50%{opacity:.6;box-shadow:0 0 3px #10b9814d}}.chat-header-actions.svelte-zsv8oa{display:flex;gap:.375rem}.header-btn.svelte-zsv8oa{width:34px;height:34px;min-width:44px;min-height:44px;border-radius:8px;background:#ffffff0d;border:1px solid rgba(255,255,255,.08);color:#ffffffb3;cursor:pointer;display:flex;align-items:center;justify-content:center;transition:all .2s ease;text-decoration:none}.header-btn.svelte-zsv8oa:hover:not(:disabled){background:#ffffff1a;border-color:#ffffff26;color:#fff}.header-btn.active.svelte-zsv8oa{background:#10b98133;border-color:#10b98166;color:#10b981}.header-btn.svelte-zsv8oa:disabled{opacity:.3;cursor:not-allowed}.header-btn.svelte-zsv8oa svg{width:16px;height:16px}.chat-messages.svelte-zsv8oa{flex:1;overflow-y:auto;padding:1rem;display:flex;flex-direction:column;gap:.875rem;overscroll-behavior:contain;-webkit-overflow-scrolling:touch}.chat-messages.svelte-zsv8oa::-webkit-scrollbar{width:4px}.chat-messages.svelte-zsv8oa::-webkit-scrollbar-track{background:transparent}.chat-messages.svelte-zsv8oa::-webkit-scrollbar-thumb{background:#ffffff26;border-radius:2px}.chat-messages.svelte-zsv8oa::-webkit-scrollbar-thumb:hover{background:#ffffff40}.jump-to-latest-widget.svelte-zsv8oa{position:sticky;bottom:.5rem;left:50%;transform:translate(-50%);width:44px;height:44px;border-radius:50%;background:#10b98140;border:1px solid rgba(16,185,129,.5);color:#10b981;display:flex;align-items:center;justify-content:center;cursor:pointer;animation:svelte-zsv8oa-jumpBtnPulse 1.5s ease-in-out infinite;z-index:10;margin:0 auto;transition:all .2s ease}.jump-to-latest-widget.svelte-zsv8oa:hover{background:#10b98166;transform:translate(-50%) scale(1.1)}.jump-to-latest-widget.svelte-zsv8oa svg{width:18px;height:18px}@keyframes svelte-zsv8oa-jumpBtnPulse{0%,to{box-shadow:0 0 #10b9814d}50%{box-shadow:0 0 0 6px #10b98100}}.message.svelte-zsv8oa{display:flex;gap:.625rem;max-width:88%;animation:svelte-zsv8oa-messageAppear .3s ease}@keyframes svelte-zsv8oa-messageAppear{0%{opacity:0;transform:translateY(8px)}to{opacity:1;transform:translateY(0)}}.message.no-animate.svelte-zsv8oa{animation:none}.message.user.svelte-zsv8oa{flex-direction:row-reverse;align-self:flex-end}.message-avatar.svelte-zsv8oa{width:28px;height:28px;min-width:28px;background:linear-gradient(145deg,#1f2937e6,#111827f2);border-radius:8px;border:1px solid rgba(16,185,129,.2);display:flex;align-items:flex-start;justify-content:center;color:#fff;flex-shrink:0;padding-top:2px}.message-avatar.hexa.svelte-zsv8oa{background:transparent;border:none;padding:0}.message-content.svelte-zsv8oa{padding:.625rem .875rem;border-radius:14px;background:#ffffff0a;border:1px solid rgba(255,255,255,.06);color:#ffffffe0;font-size:.85rem;line-height:1.5}.message.user.svelte-zsv8oa .message-content:where(.svelte-zsv8oa){background:linear-gradient(135deg,#10b98133,#06b6d426);border-color:#10b98140;color:#fffffff2;border-radius:14px 14px 4px}.message.svelte-zsv8oa:not(.user) .message-content:where(.svelte-zsv8oa){border-radius:14px 14px 14px 4px}.message-content.typing.svelte-zsv8oa{display:flex;gap:4px;padding:.75rem 1rem;background:#ffffff0a}.message-image.svelte-zsv8oa{display:block;max-width:220px;width:100%;height:auto;border-radius:10px;margin-top:.4rem}.message-content.svelte-zsv8oa:has(.message-image:where(.svelte-zsv8oa):first-child) .message-image:where(.svelte-zsv8oa){margin-top:0}.markdown-content.svelte-zsv8oa p{margin:0 0 .4rem}.markdown-content.svelte-zsv8oa p:last-child{margin-bottom:0}.markdown-content.svelte-zsv8oa strong{font-weight:600;color:#10b981}.message.user.svelte-zsv8oa .markdown-content:where(.svelte-zsv8oa) strong{color:#fffffff2}.markdown-content.svelte-zsv8oa ul,.markdown-content.svelte-zsv8oa ol{margin:.4rem 0;padding-left:1.1rem}.markdown-content.svelte-zsv8oa li{margin:.2rem 0}.markdown-content.svelte-zsv8oa code{background:#00000040;padding:.1rem .35rem;border-radius:4px;font-size:.8em}.markdown-content.svelte-zsv8oa h1,.markdown-content.svelte-zsv8oa h2,.markdown-content.svelte-zsv8oa h3{margin:.4rem 0 .2rem;font-weight:600}.markdown-content.svelte-zsv8oa h1{font-size:1rem}.markdown-content.svelte-zsv8oa h2{font-size:.95rem}.markdown-content.svelte-zsv8oa h3{font-size:.9rem}.typing-indicator.svelte-zsv8oa{display:flex;gap:4px}.typing-indicator.svelte-zsv8oa span:where(.svelte-zsv8oa){width:6px;height:6px;background:#fff6;border-radius:50%;animation:svelte-zsv8oa-typingBounce 1.4s infinite ease-in-out}.typing-indicator.svelte-zsv8oa span:where(.svelte-zsv8oa):nth-child(1){animation-delay:0s}.typing-indicator.svelte-zsv8oa span:where(.svelte-zsv8oa):nth-child(2){animation-delay:.2s}.typing-indicator.svelte-zsv8oa span:where(.svelte-zsv8oa):nth-child(3){animation-delay:.4s}@keyframes svelte-zsv8oa-typingBounce{0%,60%,to{transform:translateY(0)}30%{transform:translateY(-6px)}}.chat-input-area.svelte-zsv8oa{padding:.75rem;border-top:1px solid rgba(255,255,255,.06);background:#00000026;flex-shrink:0;display:flex;flex-direction:column;gap:.625rem}.completed-state-widget.svelte-zsv8oa{display:flex;align-items:center;justify-content:space-between;gap:.75rem;padding:.5rem}.completed-text-widget.svelte-zsv8oa{display:flex;align-items:center;gap:.375rem;color:#10b981e6;font-size:.75rem;font-weight:500}.completed-text-widget.svelte-zsv8oa svg{width:16px;height:16px}.new-conversation-btn-widget.svelte-zsv8oa{display:flex;align-items:center;gap:.375rem;padding:.5rem .875rem;background:linear-gradient(135deg,#10b981,#06b6d4);border:none;border-radius:18px;color:#fff;font-size:.75rem;font-weight:500;cursor:pointer;transition:all .2s ease}.new-conversation-btn-widget.svelte-zsv8oa:hover{transform:scale(1.05)}.new-conversation-btn-widget.svelte-zsv8oa svg{width:14px;height:14px}@keyframes svelte-zsv8oa-widgetModeSwitch{0%{opacity:0;transform:translateY(4px)}to{opacity:1;transform:translateY(0)}}.input-pill.svelte-zsv8oa{display:flex;align-items:center;gap:.375rem;padding:.375rem .375rem .375rem .875rem;background:#ffffff0a;border:1px solid rgba(255,255,255,.08);border-radius:24px;transition:all .2s ease;animation:svelte-zsv8oa-widgetModeSwitch .2s ease-out}.input-pill.svelte-zsv8oa:focus-within{border-color:#10b98159;background:#ffffff0f}.input-pill.svelte-zsv8oa input:where(.svelte-zsv8oa){flex:1;padding:.5rem 0;background:transparent;border:none;color:#fff;font-size:.85rem;outline:none;min-width:0}.input-pill.svelte-zsv8oa input:where(.svelte-zsv8oa)::placeholder{color:#ffffff80}.send-btn.svelte-zsv8oa{width:44px;height:44px;border-radius:50%;background:linear-gradient(135deg,#10b981,#06b6d4);border:none;color:#fff;cursor:pointer;display:flex;align-items:center;justify-content:center;transition:all .2s ease;flex-shrink:0}.send-btn.svelte-zsv8oa:hover:not(:disabled){transform:scale(1.08);box-shadow:0 4px 12px #10b98166}.send-btn.svelte-zsv8oa:disabled{opacity:.35;cursor:not-allowed}.send-btn.svelte-zsv8oa svg{width:16px;height:16px}.dictate-btn.svelte-zsv8oa{display:flex;align-items:center;justify-content:center;gap:.25rem;height:36px;min-width:36px;padding:0 .5rem;border-radius:18px;background:#ffffff0f;border:1px solid rgba(255,255,255,.08);color:#ffffffb3;cursor:pointer;transition:all .2s ease;flex-shrink:0}.dictate-btn.svelte-zsv8oa:hover:not(:disabled){background:#ffffff1a;color:#10b981}.dictate-btn.svelte-zsv8oa:disabled{opacity:.5;cursor:not-allowed}.dictate-btn.recording.svelte-zsv8oa{background:#ef444433;border-color:#ef444466;color:#fca5a5;animation:svelte-zsv8oa-dictatePulse 1.2s ease-in-out infinite}.dictate-btn.transcribing.svelte-zsv8oa{color:#fbbf24}.dictate-secs.svelte-zsv8oa{font-size:.7rem;font-weight:600;font-variant-numeric:tabular-nums}.dictate-btn.svelte-zsv8oa svg{width:16px;height:16px;flex-shrink:0}.dictate-btn.svelte-zsv8oa .spin{animation:svelte-zsv8oa-spin 1s linear infinite}@keyframes svelte-zsv8oa-dictatePulse{0%,to{box-shadow:0 0 #ef44444d}50%{box-shadow:0 0 0 5px #ef444400}}@keyframes svelte-zsv8oa-spin{to{transform:rotate(360deg)}}.sr-only-file.svelte-zsv8oa{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.image-chip.svelte-zsv8oa{position:relative;width:48px;height:48px;flex-shrink:0;border-radius:10px;overflow:visible}.image-chip.svelte-zsv8oa img:where(.svelte-zsv8oa){width:48px;height:48px;object-fit:cover;border-radius:10px;border:1px solid rgba(255,255,255,.12)}.image-chip-remove.svelte-zsv8oa{position:absolute;top:-6px;right:-6px;width:20px;height:20px;border-radius:50%;background:#111827f2;border:1px solid rgba(255,255,255,.2);color:#ffffffd9;display:flex;align-items:center;justify-content:center;cursor:pointer;padding:0;transition:all .2s ease}.image-chip-remove.svelte-zsv8oa:hover{background:#ef444440;border-color:#ef444480;color:#fca5a5}.image-chip-remove.svelte-zsv8oa svg{width:13px;height:13px}.voice-error.svelte-zsv8oa{position:absolute;bottom:100px;left:1rem;right:1rem;padding:.625rem 1rem;background:#ef444426;border:1px solid rgba(239,68,68,.3);border-radius:10px;color:#fca5a5;font-size:.75rem;display:flex;align-items:center;gap:.5rem;animation:svelte-zsv8oa-errorAppear .3s ease;z-index:100;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}@keyframes svelte-zsv8oa-errorAppear{0%{opacity:0;transform:translateY(10px)}to{opacity:1;transform:translateY(0)}}.voice-error.svelte-zsv8oa svg{width:14px;height:14px;flex-shrink:0}@media(max-width:768px){.chat-window.svelte-zsv8oa{width:calc(100vw - 2.5rem);max-width:720px;right:auto}}@media(max-width:480px){.chat-window.svelte-zsv8oa{position:fixed;inset:0;transform:none;animation:none;width:100%;max-width:none;height:100%;max-height:100dvh;max-height:-webkit-fill-available;border-radius:0;display:flex;flex-direction:column}.chat-header.svelte-zsv8oa{flex-shrink:0;padding:.875rem 1rem;padding-top:max(.875rem,env(safe-area-inset-top))}.chat-messages.svelte-zsv8oa{flex:1;min-height:0;overflow-y:auto;-webkit-overflow-scrolling:touch}.chat-input-area.svelte-zsv8oa{flex-shrink:0;padding:.5rem;padding-bottom:max(.5rem,env(safe-area-inset-bottom));background:#111827fa;gap:.5rem}.input-pill.svelte-zsv8oa{padding:.25rem .25rem .25rem .75rem;min-height:48px}.send-btn.svelte-zsv8oa{width:40px;height:40px;min-width:40px}.send-btn.svelte-zsv8oa svg{width:18px;height:18px}.voice-error.svelte-zsv8oa{bottom:80px;left:.5rem;right:.5rem}}@media(max-width:480px){body.chat-open{overflow:hidden;position:fixed;width:100%}}
