.ts-chatbox-root.svelte-1gb2d8c{--cb-brand: #4f46e5;--cb-brand-rgb: 79, 70, 229;--cb-brand-hover: #4338ca;--cb-ink: #0f172a;--cb-muted: #64748b;--cb-muted-dark: #94a3b8;--cb-surface: #f8fafc;--cb-success: #22c55e;--cb-warning: #f59e0b;--cb-destructive: #ef4444;--cb-line: rgba(0, 0, 0, .1);font-family:ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;-webkit-font-smoothing:antialiased}.cb-shell.svelte-1gb2d8c{position:relative;background:#fff;border:1px solid var(--cb-line);box-shadow:0 24px 48px #0f172a1f}.dark .cb-shell.svelte-1gb2d8c{background:#0f172a;border-color:#ffffff1a;box-shadow:0 24px 48px #0006}.cb-header-bar.svelte-1gb2d8c{display:flex;align-items:center;justify-content:space-between;gap:.625rem;padding:.625rem .875rem;min-height:3.5rem;color:#fff;background:linear-gradient(135deg,var(--cb-brand) 0%,color-mix(in srgb,var(--cb-brand) 82%,#0f172a) 100%);border-bottom:1px solid rgba(255,255,255,.08);box-shadow:0 4px 12px #0000000a}.cb-header-main.svelte-1gb2d8c{display:flex;align-items:center;gap:.625rem;min-width:0;flex:1}.cb-header-avatar.svelte-1gb2d8c{width:2.25rem;height:2.25rem;border-radius:9999px;overflow:hidden;flex-shrink:0;display:flex;align-items:center;justify-content:center;background:#ffffff29;border:1.5px solid rgba(255,255,255,.4);box-shadow:0 2px 4px #00000014}.cb-header-avatar.svelte-1gb2d8c img:where(.svelte-1gb2d8c){width:100%;height:100%;-o-object-fit:cover;object-fit:cover}.cb-header-text.svelte-1gb2d8c{min-width:0;flex:1}.cb-header-name.svelte-1gb2d8c{margin:0;font-size:.875rem;font-weight:600;line-height:1.25;letter-spacing:-.01em;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.cb-header-status.svelte-1gb2d8c{margin:.125rem 0 0;font-size:.75rem;font-weight:400;line-height:1.2;color:#fffc;display:flex;align-items:center;gap:.35rem;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.cb-header-dot.svelte-1gb2d8c{width:.4375rem;height:.4375rem;border-radius:9999px;flex-shrink:0}.cb-header-dot-online.svelte-1gb2d8c{background:#10b981;box-shadow:0 0 0 2px #10b98140}.cb-header-dot-busy.svelte-1gb2d8c{background:#f59e0b;box-shadow:0 0 0 2px #f59e0b47;animation:svelte-1gb2d8c-cbStatusPulse 1.4s ease-in-out infinite}.cb-header-close.svelte-1gb2d8c{width:1.875rem;height:1.875rem;border-radius:9999px;border:none;padding:0;display:inline-flex;align-items:center;justify-content:center;flex-shrink:0;color:#ffffffd9;background:#ffffff1f;cursor:pointer;transition:all .2s cubic-bezier(.4,0,.2,1)}.cb-header-close.svelte-1gb2d8c:hover{color:#fff;background:#ffffff38;transform:scale(1.05)}.cb-header-close.svelte-1gb2d8c:active{transform:scale(.95)}.cb-header-close.svelte-1gb2d8c:focus-visible{outline:none;box-shadow:0 0 0 2px #fff,0 0 0 4px var(--cb-brand)}.cb-canvas.svelte-1gb2d8c{background:var(--cb-surface)}.dark .cb-canvas.svelte-1gb2d8c{background:#0f172a}.cb-composer.svelte-1gb2d8c{background:var(--cb-surface);padding:.375rem .5rem .5rem}.dark .cb-composer.svelte-1gb2d8c{background:#0f172a}.cb-branding.svelte-1gb2d8c{display:flex;align-items:center;justify-content:center;padding:.25rem 0 .375rem;background:transparent;font-size:.6875rem;color:var(--cb-muted);flex-shrink:0;-webkit-user-select:none;-moz-user-select:none;user-select:none}.dark .cb-branding.svelte-1gb2d8c{color:var(--cb-muted-dark)}.cb-branding.svelte-1gb2d8c a:where(.svelte-1gb2d8c){color:inherit;text-decoration:none;display:inline-flex;align-items:center;gap:.25rem;transition:opacity .15s ease}.cb-branding.svelte-1gb2d8c a:where(.svelte-1gb2d8c):hover{opacity:.85}.cb-branding-highlight.svelte-1gb2d8c{font-weight:700;color:var(--cb-brand)}.cb-composer-panel.svelte-1gb2d8c{border:1px solid var(--cb-line);border-radius:1rem;background:#fff;overflow:hidden;box-shadow:0 1px 2px #0f172a0d}.dark .cb-composer-panel.svelte-1gb2d8c{background:#0f172a;border-color:#ffffff1a}.cb-composer-alert.svelte-1gb2d8c{display:flex;align-items:flex-start;gap:.5rem;padding:.5rem .75rem;background:#fffbeb;border-bottom:1px solid #fde68a;color:#b45309;font-size:.75rem;font-weight:600;line-height:1.4}.dark .cb-composer-alert.svelte-1gb2d8c{background:#f59e0b1f;border-bottom-color:#f59e0b40;color:#fbbf24}.cb-attach-list.svelte-1gb2d8c{display:flex;flex-direction:column;gap:.375rem;padding:.375rem .375rem 0;max-height:7.5rem;overflow-y:auto}.cb-attach-card.svelte-1gb2d8c{display:flex;align-items:center;gap:.5rem;padding:.375rem .5rem;background:var(--cb-surface);border-radius:.625rem;border:1px solid var(--cb-line)}.dark .cb-attach-card.svelte-1gb2d8c{background:#ffffff0a;border-color:#ffffff1a}.dark .cb-attach-card-name.svelte-1gb2d8c{color:#f8fafc}.cb-attach-card-icon.svelte-1gb2d8c{width:2.25rem;height:2.25rem;border-radius:.5rem;flex-shrink:0;display:flex;align-items:center;justify-content:center;overflow:hidden;border:none;padding:0;cursor:default}.cb-attach-card-icon--image.svelte-1gb2d8c{cursor:pointer}.cb-attach-card-icon--image.svelte-1gb2d8c img:where(.svelte-1gb2d8c){width:100%;height:100%;-o-object-fit:cover;object-fit:cover}.cb-attach-card-icon--sheet.svelte-1gb2d8c{background:var(--cb-brand)}.cb-attach-card-icon--pdf.svelte-1gb2d8c{background:#dc2626}.cb-attach-card-icon--file.svelte-1gb2d8c{background:#71717a}.cb-attach-card-body.svelte-1gb2d8c{flex:1;min-width:0;display:flex;flex-direction:column;gap:.125rem}.cb-attach-card-name.svelte-1gb2d8c{font-size:.8125rem;font-weight:700;color:var(--cb-ink);white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block}.cb-attach-card-type.svelte-1gb2d8c{font-size:.6875rem;color:var(--cb-muted)}.cb-attach-card-remove.svelte-1gb2d8c{width:1.5rem;height:1.5rem;border-radius:9999px;background:var(--cb-ink);color:#fff;border:none;display:flex;align-items:center;justify-content:center;flex-shrink:0;cursor:pointer;transition:transform .15s ease,opacity .15s ease}.cb-attach-card-remove.svelte-1gb2d8c:hover{transform:scale(1.05);opacity:.9}.cb-attach-uploading.svelte-1gb2d8c{display:flex;align-items:center;gap:.5rem;padding:.625rem .75rem .25rem;font-size:.75rem;color:var(--cb-muted)}.cb-composer-form.svelte-1gb2d8c{display:flex;align-items:center;gap:.375rem;padding:.375rem .5rem .5rem}.cb-composer-input.svelte-1gb2d8c{flex:1;border-radius:0!important;padding:.5rem .25rem!important;background:transparent!important;border:none!important;box-shadow:none!important;font-size:.875rem;color:var(--cb-ink)}.cb-composer-input.svelte-1gb2d8c::-moz-placeholder{color:var(--cb-muted)}.cb-composer-input.svelte-1gb2d8c::placeholder{color:var(--cb-muted)}.dark .cb-composer-input.svelte-1gb2d8c{color:#f8fafc}.cb-composer-input.svelte-1gb2d8c:focus{outline:none;box-shadow:none!important}.cb-send-btn.svelte-1gb2d8c{width:2.5rem;height:2.5rem;border-radius:10px;display:inline-flex;align-items:center;justify-content:center;border:none;cursor:pointer;flex-shrink:0;font-weight:600;color:#fff;background:var(--cb-brand);transition:opacity .15s ease,background .15s ease}.cb-send-btn.svelte-1gb2d8c:hover:not(:disabled){background:var(--cb-brand-hover)}.cb-send-btn.svelte-1gb2d8c:focus-visible{outline:none;box-shadow:0 0 0 2px #fff,0 0 0 4px var(--cb-brand)}.cb-send-btn.svelte-1gb2d8c:disabled{opacity:.4;cursor:not-allowed}.cb-row.svelte-1gb2d8c{display:flex;align-items:flex-end;gap:.375rem;max-width:100%}.cb-row-user.svelte-1gb2d8c{flex-direction:row-reverse}.cb-avatar-slot.svelte-1gb2d8c{width:1.75rem;flex-shrink:0}.cb-avatar.svelte-1gb2d8c{width:1.75rem;height:1.75rem;border-radius:9999px;-o-object-fit:cover;object-fit:cover;display:block}.cb-avatar-fallback.svelte-1gb2d8c{display:flex;align-items:center;justify-content:center}.cb-msg-col.svelte-1gb2d8c{display:flex;flex-direction:column;gap:.25rem;max-width:min(85%,18rem);min-width:0}.cb-row-user.svelte-1gb2d8c .cb-msg-col:where(.svelte-1gb2d8c){align-items:flex-end}.cb-bubble.svelte-1gb2d8c{border-radius:1rem;padding:.5rem .75rem;font-size:.8125rem;line-height:1.42;word-break:break-word}.cb-msg-thumb.svelte-1gb2d8c{width:3rem;height:3rem;border-radius:.5rem;overflow:hidden;border:1px solid rgba(0,0,0,.08);padding:0;cursor:pointer;background:#fff}.cb-msg-thumb.svelte-1gb2d8c img:where(.svelte-1gb2d8c){width:100%;height:100%;-o-object-fit:cover;object-fit:cover}.cb-msg-file.svelte-1gb2d8c{display:inline-flex;align-items:center;gap:.35rem;font-size:.75rem;color:var(--cb-brand);text-decoration:none;max-width:10rem}.cb-msg-meta.svelte-1gb2d8c{display:flex;flex-wrap:wrap;align-items:center;gap:.2rem;margin-top:.125rem;padding:0 .15rem}.cb-msg-time.svelte-1gb2d8c{font-size:.625rem;color:var(--cb-muted);line-height:1.2}.cb-sender-label.svelte-1gb2d8c{font-size:.625rem;color:var(--cb-muted);font-weight:500}.dark .cb-msg-time.svelte-1gb2d8c,.dark .cb-sender-label.svelte-1gb2d8c,.dark .cb-attach-card-type.svelte-1gb2d8c,.dark .cb-attach-uploading.svelte-1gb2d8c{color:var(--cb-muted-dark)}.cb-preview-backdrop.svelte-1gb2d8c{position:fixed;top:0;right:0;bottom:0;left:0;z-index:100000;background:#000000b8;display:flex;align-items:center;justify-content:center;padding:1rem;cursor:zoom-out}.cb-preview-dialog.svelte-1gb2d8c{position:relative;max-width:min(92vw,720px);max-height:88vh}.cb-preview-img.svelte-1gb2d8c{max-width:100%;max-height:88vh;border-radius:.75rem;-o-object-fit:contain;object-fit:contain}.cb-preview-close.svelte-1gb2d8c{position:absolute;top:-.5rem;right:-.5rem;width:2rem;height:2rem;border-radius:9999px;background:#fff;color:#18181b;border:none;display:flex;align-items:center;justify-content:center;cursor:pointer;box-shadow:0 4px 12px #0003}.cb-launcher.svelte-1gb2d8c{background:var(--cb-brand);box-shadow:0 10px 24px rgba(var(--cb-brand-rgb),.3),0 2px 8px #0f172a1a}.cb-launcher.svelte-1gb2d8c:hover{background:var(--cb-brand-hover);box-shadow:0 12px 28px rgba(var(--cb-brand-rgb),.35),0 4px 12px #0f172a1f}.cb-input.svelte-1gb2d8c{background:#fff;border:1px solid var(--cb-line);border-radius:10px;padding:.625rem .875rem;font-size:.875rem;color:#0f172a;outline:none;width:100%;transition:box-shadow .2s ease,border-color .2s ease}.cb-input.svelte-1gb2d8c:focus{border-color:var(--cb-brand);box-shadow:0 0 0 3px color-mix(in srgb,var(--cb-brand) 20%,transparent)}.dark .cb-input.svelte-1gb2d8c{background:#ffffff0a;border-color:#ffffff1a;color:#fff}.cb-btn-primary.svelte-1gb2d8c{background:var(--cb-brand);color:#fff;display:inline-flex;align-items:center;justify-content:center;min-height:2.5rem;padding:.625rem 1rem;border-radius:10px;font-weight:600;font-size:.875rem;transition:background .15s ease,opacity .15s ease;border:none;cursor:pointer}.cb-btn-primary.svelte-1gb2d8c:hover:not(:disabled){background:var(--cb-brand-hover)}.cb-btn-primary.svelte-1gb2d8c:focus-visible{outline:none;box-shadow:0 0 0 2px #fff,0 0 0 4px var(--cb-brand)}.cb-btn-primary.svelte-1gb2d8c:disabled{opacity:.5;cursor:not-allowed}.cb-composer-btn.svelte-1gb2d8c{padding:.5rem;border-radius:9999px;color:var(--cb-muted);background:transparent;border:none;cursor:pointer;transition:color .2s ease,background .2s ease}.cb-composer-btn.svelte-1gb2d8c:hover:not(:disabled){color:var(--cb-brand);background:color-mix(in srgb,var(--cb-brand) 10%,transparent)}.cb-composer-btn.svelte-1gb2d8c:focus-visible{outline:none;box-shadow:0 0 0 2px var(--cb-brand);border-radius:9999px}.cb-composer-btn.svelte-1gb2d8c:disabled{opacity:.4;cursor:not-allowed}.cb-attach-label.svelte-1gb2d8c{position:relative;cursor:pointer;margin:0}.cb-attach-label-disabled.svelte-1gb2d8c{opacity:.4;pointer-events:none;cursor:not-allowed}.cb-file-input-hidden.svelte-1gb2d8c{position:absolute;top:0;right:0;bottom:0;left:0;width:100%;height:100%;opacity:0;cursor:pointer}.cb-file-input-hidden.svelte-1gb2d8c:disabled{cursor:not-allowed}.cb-bubble-user.svelte-1gb2d8c{background:var(--cb-brand);color:#fff;border-bottom-right-radius:.25rem!important}.cb-bubble-bot.svelte-1gb2d8c{background:#fff;color:var(--cb-ink);border:1px solid var(--cb-line);border-bottom-left-radius:.25rem!important;box-shadow:0 1px 2px #0f172a0a}.dark .cb-bubble-bot.svelte-1gb2d8c{background:#0f172a;color:#f8fafc;border-color:#ffffff1a}.dark .cb-bubble-user.svelte-1gb2d8c{background:var(--cb-brand);color:#fff}.cb-messages.svelte-1gb2d8c{scrollbar-width:thin;scrollbar-color:rgba(156,163,175,.5) transparent}.cb-messages.svelte-1gb2d8c::-webkit-scrollbar{width:5px}.cb-messages.svelte-1gb2d8c::-webkit-scrollbar-track{background:transparent;border-radius:10px}.cb-messages.svelte-1gb2d8c::-webkit-scrollbar-thumb{background-color:#9ca3af80;border-radius:10px}.cb-messages.svelte-1gb2d8c::-webkit-scrollbar-thumb:hover{background-color:#9ca3afcc}.dark .cb-messages.svelte-1gb2d8c::-webkit-scrollbar-thumb{background-color:#d1d5db4d}.cb-anchor-mobile.svelte-1gb2d8c{position:fixed;top:0;right:0;bottom:0;left:0;z-index:10000;display:flex;flex-direction:column;width:100%;max-width:100vw;height:100%;max-height:100dvh;margin:0;padding:0}.cb-panel-mobile.svelte-1gb2d8c{flex:1 1 auto;width:100%!important;min-height:0;height:100%!important;max-height:100dvh!important;border-radius:0!important;margin:0!important;box-shadow:none!important}.cb-mobile-header.svelte-1gb2d8c{padding-top:max(.5rem,env(safe-area-inset-top,0px))}.cb-mobile-footer.svelte-1gb2d8c{padding-bottom:env(safe-area-inset-bottom,.75rem)}@keyframes svelte-1gb2d8c-cbStatusPulse{0%,to{opacity:1}50%{opacity:.55}}.cb-activity.svelte-1gb2d8c{position:relative;overflow:hidden;background:#fff;border:1px solid var(--cb-line);box-shadow:0 1px 2px #0f172a0a;color:var(--cb-ink)}.dark .cb-activity.svelte-1gb2d8c{background:#0f172a;color:#f8fafc;border-color:#ffffff1a}.cb-activity-gloss.svelte-1gb2d8c:before{content:"";position:absolute;top:-1px;right:-1px;bottom:-1px;left:-1px;z-index:0;pointer-events:none;background:linear-gradient(105deg,transparent 0%,transparent 38%,rgba(var(--cb-brand-rgb),.07) 44%,rgba(255,255,255,.72) 50%,rgba(var(--cb-brand-rgb),.09) 56%,transparent 62%,transparent 100%);background-size:220% 100%;animation:svelte-1gb2d8c-cbGlossSweep 2.4s ease-in-out infinite}.cb-activity-inner.svelte-1gb2d8c{position:relative;z-index:1}.cb-think-dots.svelte-1gb2d8c span:where(.svelte-1gb2d8c){display:block;width:.45rem;height:.45rem;border-radius:9999px;background:rgba(var(--cb-brand-rgb),.55);animation:svelte-1gb2d8c-cbThinkBounce 1.2s ease-in-out infinite}.cb-think-dots.svelte-1gb2d8c span:where(.svelte-1gb2d8c):nth-child(2){animation-delay:.15s}.cb-think-dots.svelte-1gb2d8c span:where(.svelte-1gb2d8c):nth-child(3){animation-delay:.3s}.cb-bubble-streaming.svelte-1gb2d8c:after{content:"";display:inline-block;width:2px;height:1em;margin-left:2px;vertical-align:text-bottom;background:rgba(var(--cb-brand-rgb),.85);animation:svelte-1gb2d8c-cbCursorBlink 1s step-end infinite}@keyframes svelte-1gb2d8c-cbGlossSweep{0%{background-position:120% 0}to{background-position:-120% 0}}@keyframes svelte-1gb2d8c-cbThinkBounce{0%,80%,to{transform:translateY(0);opacity:.45}40%{transform:translateY(-4px);opacity:1}}@keyframes svelte-1gb2d8c-cbCursorBlink{0%,to{opacity:1}50%{opacity:0}}.cb-bubble-bot.svelte-1gb2d8c p{margin:0}.cb-bubble-bot.svelte-1gb2d8c ul,.cb-bubble-user.svelte-1gb2d8c ul,.cb-bubble-bot.svelte-1gb2d8c ol,.cb-bubble-user.svelte-1gb2d8c ol{margin:0;padding-left:1.1rem}.cb-bubble-bot.svelte-1gb2d8c a{color:inherit;text-decoration:underline;opacity:.9}.cb-bubble-user.svelte-1gb2d8c a{color:inherit;text-decoration:underline;opacity:.95}.cb-bubble-bot.svelte-1gb2d8c img,.cb-bubble-user.svelte-1gb2d8c img{border-radius:.5rem;margin-top:.25rem;max-width:100%;height:auto}
