/* Nexlume AI Site Assistant v2.0 */
.nexlume-ai-root{--nexlume-primary:#2563eb;position:fixed;bottom:22px;z-index:2147483647;width:max-content;max-width:calc(100vw - 24px);font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif}
.nexlume-pos-right{right:22px}.nexlume-pos-left{left:22px}
.nexlume-ai-fab{border:0;cursor:pointer;display:flex;align-items:center;gap:10px;padding:11px 17px;border-radius:999px;background:var(--nexlume-primary);color:#fff;box-shadow:0 12px 35px rgba(0,0,0,.20);font-weight:700;font-size:14px;transition:.25s;animation:nexlumeFloat 3s ease-in-out infinite}
.nexlume-ai-fab:hover{transform:translateY(-3px) scale(1.02)}
.nexlume-fab-icon{width:30px;height:30px;display:grid;place-items:center;border-radius:50%;background:rgba(255,255,255,.2);font-size:16px}
.nexlume-ai-window{position:absolute;right:0;bottom:68px;width:370px;height:570px;max-height:calc(100vh - 105px);overflow:hidden;border-radius:22px;background:#fff;box-shadow:0 25px 80px rgba(0,0,0,.24);display:flex;flex-direction:column;border:1px solid rgba(0,0,0,.08);transform-origin:bottom right;animation:nexlumeIn .22s ease-out}
.nexlume-pos-left .nexlume-ai-window{left:0;right:auto;transform-origin:bottom left}
.nexlume-ai-window[hidden]{display:none}
.nexlume-ai-header{padding:14px 14px 13px;display:flex;align-items:center;gap:11px;background:var(--nexlume-primary);color:#fff}
.nexlume-ai-avatar{width:40px;height:40px;border-radius:50%;background:rgba(255,255,255,.20);display:grid;place-items:center;font-size:20px;flex:0 0 40px}
.nexlume-ai-headings{min-width:0;flex:1}.nexlume-ai-headings strong{display:block;font-size:15px;line-height:1.2}.nexlume-ai-headings span{display:flex;align-items:center;gap:5px;font-size:11px;opacity:.88;margin-top:4px}
.nexlume-ai-headings i{width:6px;height:6px;border-radius:50%;background:#75f49a;display:inline-block}
.nexlume-ai-close{border:0;background:transparent;color:#fff;font-size:26px;line-height:1;cursor:pointer;width:34px;height:34px;border-radius:10px}
.nexlume-ai-close:hover{background:rgba(255,255,255,.15)}
.nexlume-ai-messages{flex:1;overflow:auto;padding:16px 14px 10px;background:#f7f8fb;scroll-behavior:smooth}
.nexlume-msg{display:flex;margin:0 0 10px}.nexlume-msg.nexlume-bot{justify-content:flex-start}.nexlume-msg.nexlume-user{justify-content:flex-end}
.nexlume-bubble{max-width:82%;padding:10px 12px;border-radius:16px 16px 16px 5px;background:#fff;color:#1f2937;font-size:14px;line-height:1.5;box-shadow:0 2px 8px rgba(0,0,0,.05);white-space:pre-wrap;overflow-wrap:anywhere}
.nexlume-user .nexlume-bubble{border-radius:16px 16px 5px 16px;background:var(--nexlume-primary);color:#fff;box-shadow:none}
.nexlume-quick-replies{display:flex;flex-wrap:wrap;gap:6px;margin:2px 0 12px}
.nexlume-quick{border:1px solid color-mix(in srgb,var(--nexlume-primary) 28%,#fff);color:var(--nexlume-primary);background:#fff;border-radius:999px;padding:7px 10px;font-size:11.5px;cursor:pointer}
.nexlume-quick:hover{background:var(--nexlume-primary);color:#fff}
.nexlume-typing{padding:0 15px 9px;font-size:11px;color:#7b8493;background:#f7f8fb;align-items:center;gap:3px}
.nexlume-typing:not([hidden]){display:flex}.nexlume-typing span{width:5px;height:5px;border-radius:50%;background:#9aa2ae;animation:nexlumeDot 1s infinite}.nexlume-typing span:nth-child(2){animation-delay:.15s}.nexlume-typing span:nth-child(3){animation-delay:.3s}.nexlume-typing em{font-style:normal;margin-left:5px}
.nexlume-ai-form{display:flex;align-items:flex-end;gap:7px;padding:10px 11px;background:#fff;border-top:1px solid #eceef2}
.nexlume-ai-form textarea{flex:1;resize:none;max-height:110px;border:1px solid #e1e4ea;border-radius:15px;padding:9px 11px;font:inherit;font-size:13px;outline:none;line-height:1.4;background:#fafbfc}
.nexlume-ai-form textarea:focus{border-color:var(--nexlume-primary);box-shadow:0 0 0 3px color-mix(in srgb,var(--nexlume-primary) 12%,transparent)}
.nexlume-ai-form button{width:40px;height:40px;border:0;border-radius:13px;background:var(--nexlume-primary);color:#fff;font-size:18px;cursor:pointer}
.nexlume-ai-form button:disabled{opacity:.5;cursor:not-allowed}.nexlume-branding{text-align:center;font-size:9px;color:#9aa0aa;padding:5px;background:#fff}
.nexlume-theme-midnight .nexlume-ai-window{background:#101827;color:#e8eef7}.nexlume-theme-midnight .nexlume-ai-messages,.nexlume-theme-midnight .nexlume-typing{background:#0b1220}.nexlume-theme-midnight .nexlume-bubble{background:#172235;color:#e8eef7}.nexlume-theme-midnight .nexlume-ai-form,.nexlume-theme-midnight .nexlume-branding{background:#101827;border-color:#233149}.nexlume-theme-midnight .nexlume-ai-form textarea{background:#0d1625;color:#fff;border-color:#29374d}
.nexlume-theme-emerald .nexlume-ai-header{background:linear-gradient(135deg,#059669,#10b981)}.nexlume-theme-sunset .nexlume-ai-header{background:linear-gradient(135deg,#f97316,#ef4444)}.nexlume-theme-violet .nexlume-ai-header{background:linear-gradient(135deg,#7c3aed,#c026d3)}.nexlume-theme-minimal .nexlume-ai-header{background:#111827}
@keyframes nexlumeIn{from{opacity:0;transform:translateY(12px) scale(.96)}to{opacity:1;transform:translateY(0) scale(1)}}@keyframes nexlumeFloat{0%,100%{box-shadow:0 12px 35px rgba(0,0,0,.20)}50%{box-shadow:0 15px 42px rgba(0,0,0,.27)}}@keyframes nexlumeDot{0%,60%,100%{transform:translateY(0);opacity:.45}30%{transform:translateY(-3px);opacity:1}}
@media(max-width:600px){.nexlume-ai-root{bottom:12px;left:12px!important;right:12px!important}.nexlume-ai-window{left:0;right:0;bottom:62px;width:auto;height:min(680px,calc(100vh - 90px));max-height:calc(100vh - 90px);border-radius:20px}.nexlume-ai-fab{margin-left:auto;margin-right:0}.nexlume-pos-left .nexlume-ai-fab{margin-left:0;margin-right:auto}.nexlume-fab-label{display:none}.nexlume-ai-fab{width:52px;height:52px;padding:0;justify-content:center}.nexlume-fab-icon{width:34px;height:34px}}

/* v2.0.2 balanced component sizing */
.nexlume-ai-window{box-sizing:border-box}
.nexlume-ai-window *{box-sizing:border-box}
.nexlume-ai-header{min-height:68px}
.nexlume-ai-messages{min-height:0}
.nexlume-quick-replies{align-items:center}
.nexlume-quick{line-height:1.25;white-space:normal}
.nexlume-ai-form{min-height:62px}
.nexlume-ai-form textarea{min-height:40px}
.nexlume-ai-form button{flex:0 0 40px}
.nexlume-branding{line-height:1.3}
@media(max-width:600px){
 .nexlume-ai-window{height:min(640px,calc(100vh - 90px))}
 .nexlume-ai-header{min-height:64px}
 .nexlume-ai-messages{padding:15px 12px 9px}
 .nexlume-ai-form{padding:9px}
}
