.wf-container{--wf-primary: #3d4f47;--wf-accent: #d4a84c;--wf-bg: #faf9f6;--wf-text: #2c4037;--wf-text-secondary: #5a6b62;--wf-font: system-ui, -apple-system, sans-serif;--wf-radius: 16px;--wf-shadow: 0 8px 32px rgba(0, 0, 0, .12), 0 2px 8px rgba(0, 0, 0, .08);--wf-shadow-lg: 0 16px 48px rgba(0, 0, 0, .16), 0 4px 12px rgba(0, 0, 0, .1);position:fixed;z-index:9999;font-family:var(--wf-font);font-size:15px;line-height:1.5;color:var(--wf-text);-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.wf-container *{box-sizing:border-box;margin:0;padding:0}.wf-bottom-right{bottom:20px;right:20px}.wf-bottom-left{bottom:20px;left:20px}.wf-launcher,.wf-close-btn,.wf-send-btn,.wf-quick-reply{-webkit-tap-highlight-color:transparent;touch-action:manipulation}.wf-launcher{display:flex;align-items:center;justify-content:center;border:none;cursor:pointer;background:var(--wf-primary);color:#fff;transition:all .3s cubic-bezier(.4,0,.2,1);box-shadow:var(--wf-shadow)}.wf-launcher:hover{transform:scale(1.05);box-shadow:var(--wf-shadow-lg)}.wf-launcher:active{transform:scale(.98)}.wf-launcher-icon{flex-shrink:0}.wf-launcher-desktop{padding:12px 24px;border-radius:50px;gap:8px}.wf-launcher-content{display:flex;align-items:center;gap:8px}.wf-launcher-text{font-size:15px;font-weight:600;white-space:nowrap}.wf-launcher-ios{width:56px;height:56px;border-radius:50%;padding:0}.wf-launcher-android{width:56px;height:56px;border-radius:16px;padding:0;box-shadow:0 3px 5px -1px #0003,0 6px 10px #00000024,0 1px 18px #0000001f}.wf-chat-window{display:flex;flex-direction:column;background:var(--wf-bg);overflow:hidden;animation:wf-slide-in .35s cubic-bezier(.4,0,.2,1)}.wf-chat-desktop{width:400px;height:600px;max-height:calc(100vh - 100px);border-radius:var(--wf-radius);box-shadow:var(--wf-shadow-lg)}.wf-chat-ios{position:fixed;bottom:0;left:0;right:0;height:85vh;height:85dvh;max-height:85vh;max-height:85dvh;border-radius:20px 20px 0 0;box-shadow:0 -4px 24px #0000001f;padding-bottom:env(safe-area-inset-bottom,0px)}.wf-chat-android{position:fixed;bottom:0;left:0;right:0;height:80vh;height:80dvh;max-height:80vh;max-height:80dvh;border-radius:12px 12px 0 0;box-shadow:0 -2px 16px #00000026,0 -1px 4px #0000001a;padding-bottom:env(safe-area-inset-bottom,0px)}@keyframes wf-slide-in{0%{opacity:0;transform:translateY(16px) scale(.96)}to{opacity:1;transform:translateY(0) scale(1)}}.wf-header{display:flex;align-items:center;justify-content:space-between;padding:14px 16px;background:var(--wf-primary);color:#fff;flex-shrink:0}.wf-header-left{display:flex;align-items:center;gap:10px}.wf-header-logo{border-radius:6px}.wf-header-info{display:flex;flex-direction:column}.wf-header-title{font-size:16px;font-weight:700;letter-spacing:-.01em}.wf-header-subtitle{font-size:12px;opacity:.8}.wf-close-btn{display:flex;align-items:center;justify-content:center;width:32px;height:32px;border:none;background:#ffffff26;color:#fff;border-radius:8px;cursor:pointer;transition:background .2s}.wf-close-btn:hover{background:#ffffff40}.wf-messages{flex:1;overflow-y:auto;padding:16px;display:flex;flex-direction:column;gap:12px;scroll-behavior:smooth;-webkit-overflow-scrolling:touch;overscroll-behavior:contain}.wf-message{display:flex;gap:8px;max-width:85%;animation:wf-fade-in .3s ease}.wf-message-user{align-self:flex-end;flex-direction:row-reverse}.wf-message-assistant{align-self:flex-start}@keyframes wf-fade-in{0%{opacity:0;transform:translateY(8px)}to{opacity:1;transform:translateY(0)}}.wf-avatar{display:flex;align-items:flex-end;justify-content:center;width:32px;height:32px;border-radius:50%;background:var(--wf-primary);color:#fff;flex-shrink:0;padding:6px}.wf-bubble{padding:10px 14px;border-radius:16px;font-size:14.5px;line-height:1.55;word-wrap:break-word;overflow-wrap:break-word}.wf-bubble-assistant{background:#fff;color:var(--wf-text);border:1px solid rgba(0,0,0,.06);border-radius:4px 16px 16px;box-shadow:0 1px 3px #0000000a}.wf-bubble-user{background:var(--wf-primary);color:#fff;border-radius:16px 4px 16px 16px}.wf-typing{display:flex;align-items:center;gap:4px;padding:12px 18px;min-height:40px}.wf-typing-dot{width:7px;height:7px;border-radius:50%;background:var(--wf-text-secondary);opacity:.4;animation:wf-dot-bounce 1.4s ease-in-out infinite}.wf-typing-dot:nth-child(2){animation-delay:.2s}.wf-typing-dot:nth-child(3){animation-delay:.4s}@keyframes wf-dot-bounce{0%,80%,to{transform:scale(.8);opacity:.4}40%{transform:scale(1.2);opacity:1}}.wf-quick-replies{display:flex;flex-wrap:wrap;gap:6px;padding:0 16px 8px;animation:wf-fade-in .3s ease}.wf-quick-reply{padding:7px 14px;border:1.5px solid var(--wf-primary);border-radius:20px;background:transparent;color:var(--wf-primary);font-size:13px;font-family:var(--wf-font);font-weight:500;cursor:pointer;transition:all .2s;white-space:nowrap}.wf-quick-reply:hover{background:var(--wf-primary);color:#fff}.wf-quick-reply:disabled{opacity:.5;cursor:not-allowed}.wf-input-bar{display:flex;align-items:flex-end;gap:8px;padding:10px 12px;border-top:1px solid rgba(0,0,0,.06);background:#fff}.wf-input{flex:1;padding:10px 14px;border:1.5px solid rgba(0,0,0,.1);border-radius:20px;font-size:14.5px;font-family:var(--wf-font);line-height:1.4;color:var(--wf-text);background:var(--wf-bg);resize:none;outline:none;transition:border-color .2s;max-height:120px}.wf-input:focus{border-color:var(--wf-primary)}.wf-input::placeholder{color:var(--wf-text-secondary)}.wf-send-btn{display:flex;align-items:center;justify-content:center;width:40px;height:40px;border:none;border-radius:50%;background:var(--wf-primary);color:#fff;cursor:pointer;transition:all .2s;flex-shrink:0}.wf-send-btn:hover:not(:disabled){background:var(--wf-accent);transform:scale(1.05)}.wf-send-btn:disabled{opacity:.4;cursor:not-allowed}.wf-input-ios .wf-input{font-size:16px}.wf-platform-ios.wf-bottom-right,.wf-platform-ios.wf-bottom-left,.wf-platform-android.wf-bottom-right,.wf-platform-android.wf-bottom-left{bottom:calc(20px + env(safe-area-inset-bottom,0px))}.wf-crisis-banner{display:flex;gap:10px;padding:10px 14px;background:#fef2f2;border-bottom:2px solid #dc2626;color:#991b1b;font-size:12.5px;line-height:1.5;flex-shrink:0}.wf-crisis-icon{flex-shrink:0;color:#dc2626;padding-top:1px}.wf-crisis-text{flex:1}.wf-crisis-link{color:#dc2626;font-weight:600;text-decoration:underline}.wf-error{padding:8px 14px;background:#fef2f2;border:1px solid #fecaca;border-radius:8px;color:#991b1b;font-size:13px;text-align:center}.wf-footer{padding:6px;text-align:center;flex-shrink:0}.wf-footer-text{font-size:11px;color:var(--wf-text-secondary);opacity:.6}.wf-messages::-webkit-scrollbar{width:4px}.wf-messages::-webkit-scrollbar-track{background:transparent}.wf-messages::-webkit-scrollbar-thumb{background:#00000026;border-radius:4px}@media(prefers-reduced-motion:reduce){.wf-chat-window,.wf-message,.wf-quick-replies{animation:none}.wf-typing-dot{animation:none;opacity:.6}.wf-launcher:hover{transform:none}}@media(prefers-color-scheme:dark){.wf-container[data-theme=auto]{--wf-bg: #1a1a2e;--wf-text: #e8e8ed;--wf-text-secondary: #9ca3af}.wf-container[data-theme=auto] .wf-bubble-assistant{background:#2a2a3e;border-color:#ffffff14;color:#e8e8ed}.wf-container[data-theme=auto] .wf-input-bar{background:#1a1a2e;border-top-color:#ffffff14}.wf-container[data-theme=auto] .wf-input{background:#2a2a3e;border-color:#ffffff1a;color:#e8e8ed}}
