/* Anu Maasi — floating support chat (bottom right). */
.am{--am-green:#193b2d;--am-deep:#12291f;--am-cream:#f8f4e9;--am-paper:#fffdf8;--am-haldi:#ce542c;--am-gold:#e8bb75;--am-ink:#2b2a26;--am-dim:#6f6a5e;--am-line:#e6dcc6;
  --am-serif:'Fraunces',Georgia,serif;--am-sans:'Manrope','Segoe UI',system-ui,sans-serif;font-family:var(--am-sans);color:var(--am-ink)}
.am *{box-sizing:border-box}
.am-launch{position:fixed;right:22px;bottom:22px;z-index:70;width:70px;height:70px;border-radius:50%;padding:0;border:3px solid var(--am-gold);background:var(--am-cream);cursor:pointer;
  box-shadow:0 10px 30px rgba(18,41,31,.28),0 0 0 6px rgba(232,187,117,.18);transition:transform .35s cubic-bezier(.2,.8,.2,1),box-shadow .35s;animation:am-bob 4.5s ease-in-out infinite}
.am-launch:hover{transform:translateY(-3px) scale(1.04);box-shadow:0 14px 36px rgba(18,41,31,.34),0 0 0 8px rgba(232,187,117,.24)}
.am-launch img{width:100%;height:100%;border-radius:50%;display:block}
.am-launch::after{content:"";position:absolute;right:3px;bottom:4px;width:14px;height:14px;border-radius:50%;background:#3fbf6f;border:2.5px solid var(--am-cream)}
.am.open .am-launch{transform:scale(.0);opacity:0;pointer-events:none;animation:none}
@keyframes am-bob{0%,100%{translate:0 0}50%{translate:0 -4px}}

.am-hello{position:fixed;right:102px;bottom:34px;z-index:70;max-width:230px;background:var(--am-paper);border:1px solid var(--am-line);border-radius:18px 18px 4px 18px;padding:12px 34px 12px 14px;
  font-size:13.5px;line-height:1.45;box-shadow:0 10px 30px rgba(18,41,31,.16);opacity:0;transform:translateY(8px) scale(.96);transform-origin:bottom right;transition:.45s cubic-bezier(.2,.8,.2,1);pointer-events:none;cursor:pointer}
.am-hello b{font-family:var(--am-serif);font-weight:500;color:var(--am-green);font-size:15px;display:block;margin-bottom:2px}
.am-hello.show{opacity:1;transform:none;pointer-events:auto}
.am-hello button{position:absolute;top:6px;right:6px;border:0;background:none;color:var(--am-dim);font-size:16px;line-height:1;cursor:pointer;padding:4px}

.am-panel{position:fixed;right:22px;bottom:22px;z-index:72;width:380px;max-width:calc(100vw - 24px);height:min(600px,calc(100vh - 44px));display:flex;flex-direction:column;background:var(--am-paper);
  border-radius:24px;overflow:hidden;box-shadow:0 24px 70px rgba(18,41,31,.32);border:1px solid var(--am-line);
  opacity:0;transform:translateY(16px) scale(.97);transform-origin:bottom right;pointer-events:none;transition:.4s cubic-bezier(.2,.8,.2,1)}
.am.open .am-panel{opacity:1;transform:none;pointer-events:auto}
.am-head{display:flex;align-items:center;gap:12px;padding:14px 14px 14px 16px;background:var(--am-green);color:var(--am-cream);position:relative}
.am-head::after{content:"";position:absolute;left:0;right:0;bottom:0;height:3px;background:linear-gradient(90deg,var(--am-haldi),var(--am-gold))}
.am-head img{width:48px;height:48px;border-radius:50%;border:2px solid var(--am-gold);flex:none}
.am-head .who{flex:1;min-width:0}
.am-head .name{font-family:var(--am-serif);font-size:20px;line-height:1.1}
.am-head .sub{font-size:11.5px;color:#a9bfb2;margin-top:3px;display:flex;align-items:center;gap:6px}
.am-head .sub i{width:7px;height:7px;border-radius:50%;background:#3fbf6f;display:inline-block}
.am-x{border:0;background:rgba(255,255,255,.08);color:var(--am-cream);width:34px;height:34px;border-radius:50%;font-size:18px;cursor:pointer}
.am-x:hover{background:rgba(255,255,255,.16)}

.am-log{flex:1;overflow-y:auto;overflow-x:hidden;padding:18px 14px 8px;background:radial-gradient(ellipse at top,#fffaf0,var(--am-cream));scroll-behavior:smooth}
.am-msg{display:flex;gap:8px;margin-bottom:12px;align-items:flex-end;animation:am-in .35s cubic-bezier(.2,.8,.2,1)}
.am-msg img{width:28px;height:28px;border-radius:50%;flex:none;border:1.5px solid var(--am-gold)}
.am-msg .b{max-width:82%;padding:10px 13px;border-radius:16px 16px 16px 4px;background:#fff;border:1px solid var(--am-line);font-size:14px;line-height:1.5;word-wrap:break-word}
.am-msg .b a{color:var(--am-haldi);font-weight:600}
.am-msg .b strong{color:var(--am-green)}
.am-msg.me{justify-content:flex-end}
.am-msg.me .b{background:var(--am-green);color:var(--am-cream);border-color:var(--am-green);border-radius:16px 16px 4px 16px}
.am-msg.me .b a{color:var(--am-gold)}
.am-typing .b{display:flex;gap:4px;padding:13px 14px}
.am-typing .b span{width:7px;height:7px;border-radius:50%;background:var(--am-dim);opacity:.4;animation:am-dot 1.2s infinite}
.am-typing .b span:nth-child(2){animation-delay:.15s}.am-typing .b span:nth-child(3){animation-delay:.3s}
@keyframes am-dot{0%,60%,100%{opacity:.25;transform:none}30%{opacity:.9;transform:translateY(-3px)}}
@keyframes am-in{from{opacity:0;transform:translateY(6px)}}

.am-chips{display:flex;gap:6px;flex-wrap:wrap;padding:0 14px 10px;background:var(--am-cream)}
.am-chips button{border:1px solid var(--am-line);background:#fff;color:var(--am-ink);border-radius:99px;padding:7px 12px;font:600 12.5px var(--am-sans);cursor:pointer;transition:.2s}
.am-chips button:hover{border-color:var(--am-haldi);color:var(--am-haldi)}
.am-form{display:flex;gap:8px;padding:10px 12px;border-top:1px solid var(--am-line);background:var(--am-paper)}
.am-form textarea{flex:1;min-width:0;width:100%;resize:none;border:1px solid var(--am-line);border-radius:16px;padding:10px 14px;font:14px/1.4 var(--am-sans);max-height:110px;background:#fff;color:var(--am-ink);outline:none}
.am-form textarea:focus{border-color:var(--am-haldi)}
.am-form button{width:44px;height:44px;flex:none;border-radius:50%;border:0;background:var(--am-haldi);color:#fff;font-size:18px;cursor:pointer;align-self:flex-end;transition:.2s}
.am-form button:disabled{opacity:.45;cursor:default}
.am-foot{font-size:10.5px;color:var(--am-dim);text-align:center;padding:0 12px 9px;background:var(--am-paper)}
.am-foot a{color:var(--am-haldi)}

@media (max-width:760px){
  body:has(.mobile-nav) .am-launch{bottom:calc(88px + env(safe-area-inset-bottom))}
  body:has(.mobile-nav) .am-hello{bottom:calc(100px + env(safe-area-inset-bottom))}
  .am-launch{right:14px;width:60px;height:60px}
  .am-hello{right:84px}
  .am-panel{right:0;left:0;bottom:0;width:100%;max-width:none;height:min(88vh,100dvh - 40px);border-radius:24px 24px 0 0}
}
@media (prefers-reduced-motion:reduce){.am-launch{animation:none}.am-panel,.am-hello,.am-msg{transition:none;animation:none}}
