.hdw-launcher{position:fixed;right:20px;bottom:20px;width:56px;height:56px;border-radius:28px;background:#2563eb;color:#fff;border:none;box-shadow:0 6px 16px #00000040;cursor:pointer;display:flex;align-items:center;justify-content:center;z-index:2147483647;transition:transform .18s ease}.hdw-launcher:hover{transform:scale(1.05)}.hdw-launcher:active{transform:scale(.97)}.hdw-pane{position:fixed;right:20px;bottom:88px;width:360px;height:540px;max-height:calc(100vh - 120px);background:#fff;border-radius:16px;box-shadow:0 12px 32px #00000038;display:flex;flex-direction:column;overflow:hidden;z-index:2147483646;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,sans-serif;color:#111827}.hdw-pane-header{display:flex;align-items:center;justify-content:space-between;padding:14px 16px;background:#2563eb;color:#fff}.hdw-pane-title{font-weight:600;font-size:14px}.hdw-pane-title-row{display:flex;align-items:center;gap:8px;min-width:0}.hdw-header-avatar{width:24px;height:24px;border-radius:50%;object-fit:cover;flex-shrink:0;border:1.5px solid rgba(255,255,255,.4)}.hdw-pane-close{background:transparent;border:none;color:#fff;cursor:pointer;padding:4px;border-radius:4px;display:flex;align-items:center}.hdw-pane-close:hover{background:#ffffff26}.hdw-msg-seen{font-size:10px;color:#9ca3af;text-align:right;margin-top:2px;padding-right:2px;letter-spacing:.02em}.hdw-msg-status{font-size:10px;text-align:right;margin-top:2px;padding-right:2px;letter-spacing:.02em;display:inline-flex;align-items:center;gap:6px;align-self:flex-end}.hdw-msg-status-sending{color:#9ca3af;font-style:italic}.hdw-msg-status-sent{color:#9ca3af}.hdw-msg-status-failed{color:#b91c1c}.hdw-msg-bubble-sending{opacity:.7}.hdw-msg-bubble-failed{background:#fee2e2!important;color:#7f1d1d!important}.hdw-msg-retry{background:none;border:none;color:#2563eb;font:inherit;font-size:10px;letter-spacing:.02em;padding:0 2px;cursor:pointer;text-decoration:underline}.hdw-msg-retry:hover{color:#1d4ed8}.hdw-thread{flex:1 1 auto;overflow-y:auto;padding:12px 12px 4px;background:#fff}.hdw-thread-empty{display:flex;align-items:center;justify-content:center}.hdw-muted{color:#6b7280;font-size:13px}.hdw-error{color:#b91c1c;font-size:13px;padding:0 12px;text-align:center}.hdw-system-msg{text-align:center;font-size:11px;color:#9ca3af;padding:4px 0 8px}.hdw-msg{display:flex;margin-bottom:8px}.hdw-msg-mine{justify-content:flex-end}.hdw-msg-theirs{justify-content:flex-start}.hdw-msg-col{display:flex;flex-direction:column;max-width:80%}.hdw-msg-bubble{padding:8px 12px;border-radius:14px;font-size:13px;line-height:1.4;white-space:pre-wrap;word-wrap:break-word}.hdw-msg-mine .hdw-msg-col{align-items:flex-end}.hdw-msg-mine .hdw-msg-bubble{background:#2563eb;color:#fff;border-bottom-right-radius:4px}.hdw-msg-theirs .hdw-msg-bubble{background:#e5e7eb;color:#111827;border-bottom-left-radius:4px}.hdw-msg-bubble p{margin:0}.hdw-msg-bubble p+p{margin-top:4px}.hdw-msg-bubble a{color:inherit;text-decoration:underline}.hdw-typing-bubble{display:inline-flex;align-items:center;gap:4px;padding:10px 12px}.hdw-typing-dot{width:6px;height:6px;border-radius:50%;background:#6b7280;animation:hdw-typing-bounce 1.2s infinite ease-in-out both}.hdw-typing-dot:nth-child(1){animation-delay:-.32s}.hdw-typing-dot:nth-child(2){animation-delay:-.16s}@keyframes hdw-typing-bounce{0%,80%,to{transform:scale(.7);opacity:.5}40%{transform:scale(1);opacity:1}}.hdw-composer{display:flex;flex-direction:column;padding:10px 12px;background:#fff}.hdw-composer-box{display:flex;flex-direction:column;border:1.5px solid #2563eb;border-radius:12px;background:#fff;overflow:hidden;box-shadow:0 0 0 3px #2563eb26}.hdw-composer-input{flex:1 1 auto;resize:none;border:none;border-radius:0;padding:12px 14px 8px;font-size:13px;line-height:20px;font-family:inherit;color:inherit;outline:none;background:transparent;overflow:hidden}.hdw-composer-input::placeholder{color:#9ca3af}.hdw-composer-toolbar{display:flex;align-items:center;justify-content:space-between;padding:4px 8px 8px}.hdw-composer-icons{display:flex;align-items:center;gap:2px}.hdw-composer-icon-btn{background:transparent;border:none;color:#9ca3af;cursor:pointer;padding:4px;border-radius:6px;display:flex;align-items:center;justify-content:center;transition:color .15s ease}.hdw-composer-icon-btn:hover{color:#6b7280}.hdw-composer-send{border:none;background:transparent;color:#2563eb;border-radius:6px;padding:4px;cursor:pointer;display:flex;align-items:center;justify-content:center;transition:color .15s ease,opacity .15s ease}.hdw-composer-send:disabled{color:#d1d5db;cursor:not-allowed;opacity:.6}.hdw-composer-send:not(:disabled):hover{color:#1d4ed8}.hdw-pre-chat{display:flex;flex-direction:column;gap:12px;padding:16px;background:#f9fafb;flex:1 1 auto;overflow-y:auto}.hdw-pre-chat-intro{font-size:13px;color:#4b5563;line-height:1.4}.hdw-pre-chat-label{display:flex;flex-direction:column;gap:4px;font-size:12px;color:#374151;font-weight:500}.hdw-pre-chat-input{border:1px solid #d1d5db;border-radius:8px;padding:8px 10px;font-size:13px;font-family:inherit;color:inherit;outline:none;background:#fff}.hdw-pre-chat-input:focus{border-color:#2563eb}.hdw-pre-chat-submit{border:none;background:#2563eb;color:#fff;border-radius:8px;padding:10px 14px;font-size:13px;font-weight:600;cursor:pointer;margin-top:4px}.hdw-pre-chat-submit:disabled{background:#9ca3af;cursor:not-allowed}.hdw-offline-message{resize:vertical;min-height:80px;font-family:inherit}.hdw-offline-confirm{flex:1 1 auto;display:flex;flex-direction:column;justify-content:center;gap:10px;padding:24px 20px;background:#f9fafb;text-align:center}.hdw-offline-confirm-title{font-size:15px;font-weight:600;color:#111827}.hdw-offline-confirm-body{font-size:13px;color:#4b5563;line-height:1.5}.hdw-composer-file-input{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);border:0}.hdw-composer-drag .hdw-composer-box{outline:2px dashed #2563eb;outline-offset:-2px;background:#eff6ff}.hdw-chip-strip{display:flex;flex-wrap:wrap;gap:6px;padding:8px 10px 0}.hdw-chip{display:flex;align-items:center;gap:6px;padding:6px 8px;background:#f3f4f6;border:1px solid #e5e7eb;border-radius:6px;font-size:12px;color:#374151;max-width:100%}.hdw-chip-error{background:#fef2f2;border-color:#fecaca;color:#991b1b}.hdw-chip-thumb{flex:0 0 auto;width:28px;height:28px;object-fit:cover;border-radius:4px;border:1px solid #e5e7eb;background:#f9fafb}.hdw-chip-error .hdw-chip-thumb{border-color:#fecaca}.hdw-chip-meta{display:flex;flex-direction:column;min-width:0;flex:1 1 auto}.hdw-chip-name{font-weight:500;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:140px}.hdw-chip-size,.hdw-chip-error{font-size:11px;color:#6b7280}.hdw-chip-error{color:#b91c1c}.hdw-chip-progress{height:3px;background:#e5e7eb;border-radius:2px;overflow:hidden;margin-top:2px}.hdw-chip-progress-bar{height:100%;background:#2563eb;transition:width .1s linear}.hdw-chip-remove,.hdw-chip-retry{flex:0 0 auto;background:none;border:0;padding:2px;cursor:pointer;color:#6b7280;display:inline-flex;align-items:center;justify-content:center;border-radius:4px}.hdw-chip-remove:hover,.hdw-chip-retry:hover{background:#e5e7eb;color:#111827}.hdw-chip-retry{color:#b91c1c}.hdw-composer-attach-error{padding:6px 12px;font-size:12px;color:#b91c1c;background:#fef2f2;border-bottom:1px solid #fecaca}.hdw-msg-attachments{display:flex;flex-wrap:wrap;gap:6px;margin-top:4px;max-width:260px}.hdw-attach-image{display:block;line-height:0;border-radius:8px;overflow:hidden;border:1px solid #e5e7eb;max-width:100%}.hdw-attach-image img{display:block;max-width:240px;max-height:240px;width:auto;height:auto;object-fit:cover}.hdw-attach-file{display:inline-flex;align-items:center;gap:8px;padding:8px 10px;background:#f9fafb;border:1px solid #e5e7eb;border-radius:8px;color:#1f2937;text-decoration:none;font-size:12px;max-width:100%}.hdw-attach-file:hover{background:#f3f4f6}.hdw-attach-file-meta{display:flex;flex-direction:column;min-width:0}.hdw-attach-file-name{font-weight:500;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:180px}.hdw-attach-file-size{font-size:11px;color:#6b7280}.hdw-attach-loading.hdw-attach-image{width:240px;height:160px;background:#f3f4f6}.hdw-attach-loading.hdw-attach-file{opacity:.6;cursor:progress}.hdw-attach-file-error{opacity:.7;cursor:default}
