/* Mshauri — Wayvarn AI Assistant. Lightweight, dependency-free. */
.mshauri-wrap{--m-primary:var(--mshauri-primary,#0A66C2);--m-navy:var(--mshauri-navy,#0B1F3A);--m-grey:#f4f6f9;--m-border:#e3e8ef;font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Helvetica,Arial,sans-serif;}
.mshauri-launcher{position:fixed;right:24px;bottom:24px;z-index:99998;width:60px;height:60px;border:0;border-radius:50%;cursor:pointer;background:linear-gradient(140deg,var(--m-primary),var(--m-navy));color:#fff;box-shadow:0 10px 30px rgba(10,102,194,.32);display:flex;align-items:center;justify-content:center;transition:transform .18s ease,box-shadow .18s ease;}
.mshauri-launcher:hover{transform:translateY(-2px);box-shadow:0 14px 36px rgba(10,102,194,.42);}
.mshauri-launcher svg{width:26px;height:26px;}
.mshauri-panel{position:fixed;right:24px;bottom:96px;z-index:99999;width:380px;height:600px;max-height:calc(100vh - 120px);background:#fff;border:1px solid var(--m-border);border-radius:18px;box-shadow:0 24px 60px rgba(11,31,58,.22);display:flex;flex-direction:column;overflow:hidden;opacity:0;transform:translateY(12px) scale(.98);pointer-events:none;transition:opacity .18s ease,transform .18s ease;}
.mshauri-panel.is-open{opacity:1;transform:none;pointer-events:auto;}
.mshauri-embed .mshauri-panel{position:relative;right:auto;bottom:auto;width:100%;max-width:100%;height:600px;opacity:1;transform:none;pointer-events:auto;}
.mshauri-header{background:linear-gradient(135deg,var(--m-navy),var(--m-primary));color:#fff;padding:14px 16px;display:flex;align-items:center;gap:12px;}
.mshauri-avatar{width:38px;height:38px;border-radius:12px;background:rgba(255,255,255,.16);display:flex;align-items:center;justify-content:center;overflow:hidden;flex:0 0 auto;}
.mshauri-avatar img{width:100%;height:100%;object-fit:cover;}
.mshauri-avatar svg{width:20px;height:20px;}
.mshauri-id{flex:1;min-width:0;}
.mshauri-id strong{display:block;font-size:15px;line-height:1.2;}
.mshauri-id span{display:block;font-size:12px;opacity:.82;}
.mshauri-status{display:inline-flex;align-items:center;gap:5px;font-size:11px;opacity:.9;}
.mshauri-dot{width:7px;height:7px;border-radius:50%;background:#38d39f;display:inline-block;}
.mshauri-hbtn{background:transparent;border:0;color:#fff;opacity:.85;cursor:pointer;padding:4px;font-size:16px;line-height:1;}
.mshauri-hbtn:hover{opacity:1;}
.mshauri-body{flex:1;overflow-y:auto;padding:16px;background:var(--m-grey);}
.mshauri-msg{margin-bottom:12px;display:flex;}
.mshauri-msg.user{justify-content:flex-end;}
.mshauri-bubble{max-width:84%;padding:10px 13px;border-radius:14px;font-size:14px;line-height:1.5;white-space:pre-wrap;word-wrap:break-word;box-shadow:0 1px 2px rgba(11,31,58,.06);}
.mshauri-msg.bot .mshauri-bubble{background:#fff;color:var(--m-navy);border-bottom-left-radius:5px;}
.mshauri-msg.user .mshauri-bubble{background:var(--m-primary);color:#fff;border-bottom-right-radius:5px;}
.mshauri-actions{display:flex;flex-wrap:wrap;gap:8px;margin:0 0 14px 0;}
.mshauri-action{display:inline-flex;align-items:center;gap:6px;font-size:13px;padding:8px 12px;border-radius:999px;border:1px solid var(--m-primary);color:var(--m-primary);background:#fff;text-decoration:none;cursor:pointer;transition:background .15s ease,color .15s ease;}
.mshauri-action:hover{background:var(--m-primary);color:#fff;}
.mshauri-suggestions{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:12px;}
.mshauri-chip{font-size:12.5px;padding:7px 11px;border-radius:999px;border:1px solid var(--m-border);background:#fff;color:var(--m-navy);cursor:pointer;}
.mshauri-chip:hover{border-color:var(--m-primary);color:var(--m-primary);}
.mshauri-footer{border-top:1px solid var(--m-border);padding:10px;background:#fff;}
.mshauri-form{display:flex;gap:8px;align-items:flex-end;}
.mshauri-input{flex:1;resize:none;max-height:96px;border:1px solid var(--m-border);border-radius:12px;padding:10px 12px;font-size:14px;font-family:inherit;outline:none;color:var(--m-navy);background:#fff;}
.mshauri-input:focus{border-color:var(--m-primary);box-shadow:0 0 0 3px rgba(10,102,194,.12);}
.mshauri-send{border:0;background:var(--m-primary);color:#fff;width:40px;height:40px;border-radius:12px;cursor:pointer;display:flex;align-items:center;justify-content:center;}
.mshauri-send:disabled{opacity:.5;cursor:not-allowed;}
.mshauri-legal{text-align:center;font-size:10.5px;color:#8a97a8;margin-top:6px;}
.mshauri-typing span{display:inline-block;width:6px;height:6px;margin-right:3px;border-radius:50%;background:#9fb0c4;animation:mshauri-blink 1.2s infinite;}
.mshauri-typing span:nth-child(2){animation-delay:.2s}.mshauri-typing span:nth-child(3){animation-delay:.4s}
@keyframes mshauri-blink{0%,80%,100%{opacity:.3}40%{opacity:1}}
.mshauri-leadform{background:#fff;border:1px solid var(--m-border);border-radius:14px;padding:12px;margin-bottom:12px;}
.mshauri-leadform h4{margin:0 0 8px;font-size:14px;color:var(--m-navy);}
.mshauri-leadform input,.mshauri-leadform textarea,.mshauri-leadform select{width:100%;box-sizing:border-box;margin-bottom:8px;border:1px solid var(--m-border);border-radius:9px;padding:8px 10px;font-size:13px;font-family:inherit;}
.mshauri-leadform button{width:100%;border:0;background:var(--m-primary);color:#fff;border-radius:9px;padding:9px;font-size:13.5px;cursor:pointer;}
.mshauri-error{color:#b42318;font-size:12.5px;margin-bottom:10px;}
@media (max-width:520px){
 .mshauri-panel{right:0;left:0;bottom:0;width:100%;height:100dvh;max-height:100dvh;border-radius:0;}
 .mshauri-launcher{right:16px;bottom:16px;}
}

/* Widget position (default left). */
.mshauri-wrap.mshauri-left .mshauri-launcher{right:auto;left:24px;}
.mshauri-wrap.mshauri-left .mshauri-panel{right:auto;left:24px;transform-origin:bottom left;}
@media (max-width:520px){
 .mshauri-wrap.mshauri-left .mshauri-panel{left:0;right:0;}
 .mshauri-wrap.mshauri-left .mshauri-launcher{left:16px;right:auto;}
}
