/* WiOffers Enterprise v4.4.2 - Unified public AI Assistant widget */
.wo-ai-launcher{position:fixed;right:22px;bottom:22px;width:58px;height:58px;padding:0;border:1px solid rgba(64,196,99,.26);border-radius:20px;background:#fff;color:#07130b;display:grid;place-items:center;box-shadow:0 18px 45px rgba(20,170,80,.28);cursor:pointer;z-index:1200;transition:transform .22s ease,box-shadow .22s ease;overflow:hidden}
.wo-ai-launcher:hover{transform:translateY(-3px) scale(1.02);box-shadow:0 22px 52px rgba(20,170,80,.34)}
.wo-ai-launcher img{display:block;width:34px;height:34px;object-fit:contain;pointer-events:none}
html[dir="rtl"] .wo-ai-launcher{right:auto;left:22px}
.wo-ai-panel{position:fixed;right:22px;bottom:92px;width:min(390px,calc(100vw - 28px));height:min(610px,calc(100vh - 125px));background:#fff;border:1px solid #e3e8e5;border-radius:28px;box-shadow:0 28px 80px rgba(0,0,0,.24);z-index:1199;display:none;overflow:hidden;color:#0b0d0c;font-family:inherit}
.wo-ai-panel.open{display:flex;flex-direction:column}
html[dir="rtl"] .wo-ai-panel{right:auto;left:22px}
.wo-ai-head{padding:17px 18px;border-bottom:1px solid #e3e8e5;display:flex;align-items:center;gap:12px;background:linear-gradient(135deg,#fff,#f4f8f5)}
.wo-ai-mark{width:42px;height:42px;border-radius:15px;background:#40c463;display:grid;place-items:center;color:#07130b;font-weight:800;flex:0 0 auto}
.wo-ai-title{flex:1;min-width:0}.wo-ai-title strong,.wo-ai-title span{display:block}.wo-ai-title strong{font-size:.95rem}.wo-ai-title span{font-size:.77rem;color:#66706a;margin-top:2px;line-height:1.4}
.wo-ai-close{border:0;background:transparent;color:#0b0d0c;font-size:1.2rem;cursor:pointer;width:35px;height:35px;border-radius:12px}.wo-ai-close:hover{background:#edf4ef}
.wo-ai-messages{flex:1;overflow:auto;padding:18px;display:flex;flex-direction:column;gap:12px;scroll-behavior:smooth}
.wo-ai-msg{max-width:86%;padding:12px 14px;border-radius:18px;line-height:1.65;font-size:.9rem;white-space:pre-wrap;word-break:break-word}
.wo-ai-msg.assistant{align-self:flex-start;background:#f4f8f5;border:1px solid #e3e8e5}.wo-ai-msg.user{align-self:flex-end;background:#40c463;color:#07130b}.wo-ai-msg.error{align-self:flex-start;background:#fff1f0;border:1px solid #f3c2bf;color:#8f2720}
.wo-ai-typing{display:inline-flex;gap:4px;align-items:center}.wo-ai-typing i{width:6px;height:6px;border-radius:50%;background:currentColor;opacity:.35;animation:woDot 1s infinite}.wo-ai-typing i:nth-child(2){animation-delay:.15s}.wo-ai-typing i:nth-child(3){animation-delay:.3s}@keyframes woDot{0%,70%,100%{transform:translateY(0);opacity:.3}35%{transform:translateY(-4px);opacity:1}}
.wo-ai-actions{display:flex;flex-wrap:wrap;gap:7px;max-width:94%;align-self:flex-start}.wo-ai-action{display:inline-flex;align-items:center;padding:8px 11px;border:1px solid #dce6df;border-radius:999px;background:#fff;color:#225d39;text-decoration:none;font-size:.76rem;font-weight:700}.wo-ai-action:hover{border-color:#40c463;background:#f4fbf6}
.wo-ai-suggestions{padding:0 18px 12px;display:flex;gap:7px;overflow:auto}.wo-ai-suggestions button{border:1px solid #e3e8e5;background:#fff;color:#0b0d0c;border-radius:999px;padding:8px 11px;font:inherit;font-size:.75rem;white-space:nowrap;cursor:pointer}.wo-ai-suggestions button:hover{border-color:#40c463}
.wo-ai-form{padding:12px;border-top:1px solid #e3e8e5;display:grid;grid-template-columns:1fr 44px;gap:8px;background:#fff}.wo-ai-form textarea{resize:none;height:44px;max-height:110px;border:1px solid #e3e8e5;border-radius:15px;background:#f4f8f5;color:#0b0d0c;padding:11px 13px;font:inherit;outline:0}.wo-ai-form textarea:focus{border-color:#40c463}.wo-ai-send{border:0;border-radius:15px;background:#40c463;color:#07130b;font-size:1.05rem;cursor:pointer}.wo-ai-send:disabled,.wo-ai-form textarea:disabled{opacity:.55;cursor:not-allowed}.wo-ai-note{font-size:.68rem;color:#66706a;padding:0 16px 11px;text-align:center;line-height:1.5}
@media(max-width:640px){.wo-ai-launcher{right:14px;bottom:max(14px,env(safe-area-inset-bottom));width:54px;height:54px}html[dir="rtl"] .wo-ai-launcher{left:14px}.wo-ai-panel,.wo-ai-panel.open{right:8px;left:8px;bottom:calc(76px + env(safe-area-inset-bottom));width:auto;height:min(620px,calc(100vh - 100px - env(safe-area-inset-bottom)));border-radius:24px}html[dir="rtl"] .wo-ai-panel{right:8px;left:8px}}
@media print{.wo-ai-launcher,.wo-ai-panel{display:none!important}}

/* Business Portal support escalation */
.wo-ai-escalate{max-width:94%;align-self:flex-start;border:1px solid #b9dfc5;background:#f1fbf4;border-radius:18px;padding:13px 14px;color:#0b2414;font-size:.82rem;line-height:1.55}
.wo-ai-escalate strong{display:block;font-size:.88rem;margin-bottom:4px}.wo-ai-escalate p{margin:0 0 10px;color:#506159}.wo-ai-escalate>div{display:flex;flex-wrap:wrap;gap:7px}
.wo-ai-escalate button,.wo-ai-escalate a{font:inherit;font-size:.76rem;font-weight:800;border-radius:999px;padding:8px 11px;cursor:pointer;text-decoration:none;display:inline-flex;align-items:center;justify-content:center}
.wo-ai-escalate-primary{border:1px solid #31b85c;background:#40c463;color:#07130b}.wo-ai-escalate-cancel{border:1px solid #d7e4db;background:#fff;color:#39483f}.wo-ai-escalate.loading{opacity:.72}
