.chat-launcher{z-index:60;background-color:var(--primary);width:3.5rem;height:3.5rem;color:var(--primary-foreground);box-shadow:0 12px 30px -8px color-mix(in oklab, var(--primary) 55%, transparent);cursor:pointer;border-radius:9999px;justify-content:center;align-items:center;transition:transform .15s,background-color .15s;display:flex;position:fixed;bottom:1.25rem;right:1.25rem}.chat-launcher:hover{transform:translateY(-2px)}.chat-launcher:active{transform:translateY(0)}.chat-launcher-badge{background-color:var(--destructive);min-width:1.25rem;height:1.25rem;color:var(--destructive-foreground);text-align:center;border-radius:9999px;padding:0 .35rem;font-size:.7rem;font-weight:700;line-height:1.25rem;position:absolute;top:-.25rem;right:-.25rem}.chat-icon{width:1.5rem;height:1.5rem}.chat-panel{z-index:70;border:1px solid var(--border);background-color:var(--card);width:23rem;max-width:calc(100vw - 2rem);height:min(640px,100dvh - 7rem);color:var(--card-foreground);border-radius:.9rem;flex-direction:column;display:flex;position:fixed;bottom:1.25rem;right:1.25rem;overflow:hidden;box-shadow:0 24px 60px -16px #00000047}.chat-header{border-bottom:1px solid var(--border);background-color:var(--card);justify-content:space-between;align-items:flex-start;gap:.75rem;padding:.9rem 1rem;display:flex}.chat-header-titles{flex-direction:column;gap:.15rem;display:flex}.chat-heading{color:var(--foreground);font-size:.95rem;font-weight:600}.chat-subheading{color:var(--muted-foreground);font-size:.75rem}.chat-close-btn{border:1px solid var(--border);width:2rem;height:2rem;color:var(--muted-foreground);cursor:pointer;background-color:#0000;border-radius:9999px;justify-content:center;align-items:center;transition:background-color .15s,color .15s;display:flex}.chat-close-btn:hover{background-color:var(--accent);color:var(--foreground)}.chat-close-icon{width:1rem;height:1rem}.chat-body{background-color:var(--background);flex-direction:column;flex:1;min-height:0;display:flex}.chat-loading,.chat-thanks{text-align:center;color:var(--muted-foreground);flex:1;justify-content:center;align-items:center;padding:1.5rem;font-size:.85rem;display:flex}.chat-error-wrap{text-align:center;flex-direction:column;flex:1;justify-content:center;align-items:center;gap:.75rem;padding:1.5rem;display:flex}.chat-error-msg{color:var(--destructive);font-size:.85rem}.chat-retry-btn,.chat-restart-btn,.chat-type-btn,.chat-back-btn{border:1px solid var(--border);background-color:var(--card);color:var(--foreground);cursor:pointer;border-radius:.5rem;padding:.5rem 1rem;font-size:.85rem;font-weight:500;transition:background-color .15s}.chat-retry-btn:hover,.chat-restart-btn:hover,.chat-back-btn:hover{background-color:var(--accent)}.chat-type-btn{width:100%;padding:.7rem}.chat-type-btn:hover{background-color:var(--accent)}.chat-typeselect{flex-direction:column;flex:1;gap:.6rem;padding:1.25rem;display:flex}.chat-typeselect-prompt{color:var(--foreground);margin-bottom:.25rem;font-size:.85rem}.chat-thread{flex-direction:column;flex:1;gap:.5rem;min-height:0;padding:.85rem;display:flex;overflow-y:auto}.chat-history-btn{border:1px solid var(--border);background-color:var(--card);color:var(--muted-foreground);cursor:pointer;border-radius:9999px;align-self:center;padding:.3rem .75rem;font-size:.72rem}.chat-history-btn:disabled{opacity:.6;cursor:default}.chat-msg{flex-direction:column;max-width:80%;display:flex}.chat-msg-in{align-self:flex-start}.chat-msg-out{align-self:flex-end;align-items:flex-end}.chat-msg-bubble{word-break:break-word;border-radius:.85rem;padding:.55rem .75rem;font-size:.85rem;line-height:1.4}.chat-msg-in .chat-msg-bubble{background-color:var(--card);border:1px solid var(--border);color:var(--foreground);border-bottom-left-radius:.3rem}.chat-msg-out .chat-msg-bubble{background-color:var(--primary);color:var(--primary-foreground);border-bottom-right-radius:.3rem}.chat-msg-text{white-space:pre-wrap;margin:0}.chat-msg-status{color:var(--muted-foreground);margin-top:.15rem;font-size:.68rem}.chat-msg-failed{color:var(--destructive)}.chat-msg-system{align-self:center;max-width:90%}.chat-msg-system-text{color:var(--muted-foreground);background-color:var(--muted);border-radius:9999px;padding:.2rem .6rem;font-size:.72rem}.chat-attach-img{border-radius:.4rem;max-width:100%;margin-top:.3rem}.chat-attach-media{max-width:100%;margin-top:.3rem}.chat-attach-link{margin-top:.3rem;font-size:.8rem;text-decoration:underline;display:inline-block}.chat-typing{background-color:var(--card);border:1px solid var(--border);border-radius:.85rem;align-self:flex-start;gap:.2rem;padding:.55rem .75rem;display:inline-flex}.chat-typing span{background-color:var(--muted-foreground);border-radius:9999px;width:.4rem;height:.4rem;animation:1.2s ease-in-out infinite chat-typing-blink}.chat-typing span:nth-child(2){animation-delay:.2s}.chat-typing span:nth-child(3){animation-delay:.4s}@keyframes chat-typing-blink{0%,80%,to{opacity:.3}40%{opacity:1}}.chat-dropzone{border:1px dashed var(--border);text-align:center;color:var(--muted-foreground);border-radius:.5rem;padding:1rem;font-size:.8rem}.chat-composer{border-top:1px solid var(--border);background-color:var(--card);flex-direction:column;gap:.4rem;padding:.6rem;display:flex}.chat-attach-chips{flex-wrap:wrap;gap:.35rem;display:flex}.chat-attach-chip{border:1px solid var(--border);color:var(--foreground);background-color:var(--muted);border-radius:9999px;align-items:center;gap:.35rem;padding:.2rem .5rem;font-size:.72rem;display:inline-flex}.chat-attach-name{text-overflow:ellipsis;white-space:nowrap;max-width:8rem;overflow:hidden}.chat-attach-progress{color:var(--muted-foreground)}.chat-attach-failed{color:var(--destructive)}.chat-attach-remove{width:1rem;height:1rem;color:var(--muted-foreground);cursor:pointer;background:0 0;border:none;justify-content:center;align-items:center;display:inline-flex}.chat-attach-remove:hover{color:var(--destructive)}.chat-inline-error{color:var(--destructive);margin:0;font-size:.72rem}.chat-composer-row{align-items:flex-end;gap:.4rem;display:flex}.chat-attach-btn{border:1px solid var(--border);width:2.25rem;height:2.25rem;color:var(--muted-foreground);cursor:pointer;background-color:#0000;border-radius:.5rem;flex-shrink:0;justify-content:center;align-items:center;display:flex}.chat-attach-btn:hover{background-color:var(--accent);color:var(--foreground)}.chat-attach-btn:disabled{opacity:.5;cursor:default}.chat-attach-icon{width:1.1rem;height:1.1rem}.chat-file-input{display:none}.chat-input{resize:none;border:1px solid var(--border);background-color:var(--background);color:var(--foreground);border-radius:.5rem;flex:1;max-height:7rem;padding:.5rem .6rem;font-family:inherit;font-size:.85rem;overflow-y:auto}.chat-input:focus{border-color:var(--ring);outline:none}.chat-send-btn{background-color:var(--primary);width:2.25rem;height:2.25rem;color:var(--primary-foreground);cursor:pointer;border:none;border-radius:.5rem;flex-shrink:0;justify-content:center;align-items:center;transition:opacity .15s;display:flex}.chat-send-btn:disabled{opacity:.45;cursor:default}.chat-send-icon{width:1.1rem;height:1.1rem}.chat-card-wrap{border-top:1px solid var(--border);background-color:var(--card);flex-direction:column;align-items:center;gap:.6rem;padding:.85rem;display:flex}.chat-feedback-prompt{color:var(--foreground);text-align:center;margin:0;font-size:.85rem}.chat-feedback-row{gap:.75rem;display:flex}.chat-feedback-btn{border:1px solid var(--border);width:2.5rem;height:2.5rem;color:var(--foreground);cursor:pointer;background-color:#0000;border-radius:9999px;justify-content:center;align-items:center;transition:background-color .15s;display:flex}.chat-feedback-btn:hover{background-color:var(--accent)}.chat-thumb-icon{width:1.25rem;height:1.25rem}.chat-feedback-note{color:var(--muted-foreground);text-align:center;margin:0;font-size:.85rem}.chat-form{flex-direction:column;gap:.75rem;padding:1rem;display:flex;overflow-y:auto}.chat-form-field{flex-direction:column;gap:.3rem;display:flex}.chat-form-label{color:var(--foreground);font-size:.78rem;font-weight:500}.chat-req{color:var(--primary)}.chat-form-input{border:1px solid var(--border);background-color:var(--background);color:var(--foreground);border-radius:.5rem;padding:.5rem .6rem;font-family:inherit;font-size:.85rem}.chat-form-input:focus{border-color:var(--ring);outline:none}.chat-form-input-error{border-color:var(--destructive)}.chat-form-textarea{resize:vertical;min-height:4rem}.chat-form-error{color:var(--destructive);margin:0;font-size:.72rem}.chat-consent{color:var(--muted-foreground);align-items:flex-start;gap:.5rem;font-size:.75rem;display:flex}.chat-consent input{margin-top:.15rem}.chat-consent-text{white-space:pre-wrap}.chat-form-submit{background-color:var(--primary);color:var(--primary-foreground);cursor:pointer;border:none;border-radius:.5rem;padding:.6rem;font-size:.85rem;font-weight:600;transition:opacity .15s}.chat-form-submit:disabled{opacity:.55;cursor:default}.chat-back-btn{color:var(--muted-foreground);cursor:pointer;background-color:#0000;border:none;align-self:center;font-size:.8rem}.chat-back-btn:hover{color:var(--foreground)}.chat-phone{gap:.4rem;display:flex;position:relative}.chat-phone-dial{border:1px solid var(--border);background-color:var(--background);color:var(--foreground);cursor:pointer;border-radius:.5rem;flex-shrink:0;padding:0 .6rem;font-size:.85rem}.chat-phone-input{flex:1}.chat-phone-list{z-index:10;border:1px solid var(--border);background-color:var(--popover);width:16rem;max-width:calc(100vw - 4rem);max-height:14rem;color:var(--popover-foreground);border-radius:.5rem;position:absolute;bottom:calc(100% + .4rem);left:0;overflow-y:auto;box-shadow:0 8px 24px -8px #00000040}.chat-phone-search{border:none;border-bottom:1px solid var(--border);width:100%;color:var(--popover-foreground);background-color:#0000;padding:.5rem .6rem;font-size:.8rem}.chat-phone-search:focus{outline:none}.chat-phone-option{cursor:pointer;justify-content:space-between;align-items:center;padding:.45rem .6rem;font-size:.8rem;display:flex}.chat-phone-option:hover{background-color:var(--accent)}.chat-phone-option-active{font-weight:600}.chat-phone-option-dial{color:var(--muted-foreground)}.chat-captcha-msg,.chat-conn-line{color:var(--muted-foreground);border-top:1px solid var(--border);text-align:center;background-color:var(--card);padding:.4rem .85rem;font-size:.72rem}@media (width<=640px){.chat-panel{border:none;border-radius:0;width:100vw;max-width:100vw;height:100dvh;bottom:0;right:0}}
