.moroxxo-ai{--mx-ai-ruby:#8f1d2c;--mx-ai-ink:#141414;--mx-ai-muted:#737373;--mx-ai-line:#e8e8e8;--mx-ai-bg:#fff;position:fixed;right:24px;bottom:24px;z-index:999980;font-family:"DM Sans",Arial,sans-serif;color:var(--mx-ai-ink);font-size:16px;line-height:1.45}
.moroxxo-ai *{box-sizing:border-box}
/* Own the popup geometry even when the theme has legacy !important overrides. */
body .moroxxo-ai .moroxxo-ai__panel{position:fixed!important;inset:auto 24px 24px auto!important;width:min(420px,calc(100vw - 48px))!important;max-width:none!important;height:min(580px,calc(100dvh - 64px))!important;max-height:none!important;border-radius:22px!important}
body .moroxxo-ai[data-stage="need_name"] .moroxxo-ai__panel{height:min(340px,calc(100dvh - 64px))!important}
body .moroxxo-ai .moroxxo-ai__launcher{border-radius:999px!important}
body .moroxxo-ai .moroxxo-ai__composer{flex:0 0 auto;margin:0}
body .moroxxo-ai .moroxxo-ai__composer textarea{flex:1 1 0;min-width:0;width:0;height:44px;font-size:16px!important}
body .moroxxo-ai .moroxxo-ai__composer button{padding:0;min-width:44px;min-height:44px}
body .moroxxo-ai .moroxxo-ai__messages{min-height:0}
body .moroxxo-ai .moroxxo-ai__quick:empty{display:none}
@media(max-width:640px){
 body .moroxxo-ai .moroxxo-ai__panel{inset:auto 8px 8px 8px!important;width:calc(100vw - 16px)!important;height:min(620px,calc(100dvh - 32px))!important;border-radius:20px!important}
 body .moroxxo-ai[data-stage="need_name"] .moroxxo-ai__panel{height:min(350px,calc(100dvh - 32px))!important}
}
.moroxxo-ai__launcher{appearance:none;border:1px solid rgba(0,0,0,.09);background:#fff;color:#111;min-height:58px;padding:8px 15px 8px 9px;border-radius:999px;display:flex;align-items:center;gap:10px;box-shadow:0 16px 45px rgba(0,0,0,.14);cursor:pointer;font:inherit;transition:transform .18s ease,box-shadow .18s ease}
.moroxxo-ai__launcher:hover{transform:translateY(-2px);box-shadow:0 20px 52px rgba(0,0,0,.17)}
.moroxxo-ai.is-open .moroxxo-ai__launcher{opacity:0;visibility:hidden;pointer-events:none;transform:translateY(8px)}
.moroxxo-ai__launcher-mark{width:42px;height:42px;border-radius:50%;display:grid;place-items:center;background:#25d366;color:#fff;overflow:hidden;flex:0 0 42px}
.moroxxo-ai__launcher-mark img{width:100%;height:100%;display:block;object-fit:cover}
.moroxxo-ai__launcher-copy{display:flex;flex-direction:column;align-items:flex-start;line-height:1.1}
.moroxxo-ai__launcher-copy strong{font-size:13px;letter-spacing:.01em}
.moroxxo-ai__launcher-copy small{font-size:10px;color:var(--mx-ai-muted);margin-top:4px}
.moroxxo-ai__greeting{position:absolute;right:0;bottom:74px;width:300px;padding:17px 42px 17px 18px;border:1px solid rgba(0,0,0,.08);border-radius:18px 18px 5px 18px;background:#fff;box-shadow:0 20px 55px rgba(0,0,0,.16);opacity:0;visibility:hidden;transform:translateY(8px);transition:.2s;pointer-events:none}
.moroxxo-ai.show-greeting:not(.is-open) .moroxxo-ai__greeting{opacity:1;visibility:visible;transform:none;pointer-events:auto}
.moroxxo-ai__greeting strong,.moroxxo-ai__greeting span{display:block}.moroxxo-ai__greeting strong{font-size:14px;margin-bottom:5px}.moroxxo-ai__greeting span{font-size:12px;line-height:1.5;color:#555}.moroxxo-ai__greeting button{position:absolute;right:9px;top:8px;width:28px;height:28px;border:0;border-radius:50%;background:#f3f3f3;font-size:18px;line-height:1}
.moroxxo-ai__panel{position:absolute;right:0;bottom:0;width:min(560px,calc(100vw - 40px));height:min(620px,calc(100dvh - 48px));background:var(--mx-ai-bg);border:1px solid rgba(0,0,0,.09);border-radius:22px;box-shadow:0 28px 80px rgba(0,0,0,.22);overflow:hidden;display:flex;flex-direction:column;opacity:0;visibility:hidden;pointer-events:none;transform:translateY(12px) scale(.985);transform-origin:bottom right;transition:opacity .18s ease,transform .18s ease,visibility .18s ease}
.moroxxo-ai.is-open .moroxxo-ai__panel{opacity:1;visibility:visible;pointer-events:auto;transform:none}
.moroxxo-ai[data-stage="need_name"] .moroxxo-ai__panel{height:min(390px,calc(100dvh - 48px))}
.moroxxo-ai[data-stage="need_complaint"] .moroxxo-ai__panel{height:min(440px,calc(100dvh - 48px))}
.moroxxo-ai__header{flex:0 0 auto;min-height:72px;padding:14px 18px;border-bottom:1px solid var(--mx-ai-line);display:flex;justify-content:space-between;align-items:center;background:linear-gradient(135deg,#fff 0%,#f8f3f4 100%)}
.moroxxo-ai__header>div{display:flex;flex-direction:column;gap:3px}
.moroxxo-ai__header strong{font-family:"Playfair Display",Georgia,serif;font-size:20px;line-height:1.15;font-weight:500}
.moroxxo-ai__eyebrow{font-size:9px;font-weight:700;letter-spacing:.18em;color:var(--mx-ai-ruby)}
.moroxxo-ai__close{width:34px;height:34px;border:0;background:#f4f4f4;border-radius:50%;font-size:23px;line-height:1;cursor:pointer;color:#333}
.moroxxo-ai__messages{flex:1 1 auto;min-height:150px;overflow:auto;padding:18px;background:#fafafa;scroll-behavior:smooth}
.moroxxo-ai__message{display:flex;margin:0 0 11px}
.moroxxo-ai__message.is-user{justify-content:flex-end}
.moroxxo-ai__bubble{max-width:88%;padding:12px 15px;border-radius:16px 16px 16px 5px;background:#fff;border:1px solid var(--mx-ai-line);font-size:14px;line-height:1.5;overflow-wrap:break-word}
.moroxxo-ai__message.is-user .moroxxo-ai__bubble{background:#171717;color:#fff;border-color:#171717;border-radius:16px 16px 5px 16px}
.moroxxo-ai__bubble a{color:var(--mx-ai-ruby);text-decoration:underline;text-underline-offset:2px}
.moroxxo-ai__quick{display:flex;gap:7px;overflow:auto;padding:10px 15px 8px;background:#fff;border-top:1px solid var(--mx-ai-line);scrollbar-width:none}
.moroxxo-ai__quick::-webkit-scrollbar{display:none}
.moroxxo-ai__quick button{flex:0 0 auto;white-space:nowrap;min-height:38px;border:1px solid #ddd;background:#fff;border-radius:999px;padding:8px 13px;font:inherit;font-size:11px;line-height:1.25;color:#333;cursor:pointer;text-align:left}
.moroxxo-ai__quick button:hover{border-color:#aaa}
.moroxxo-ai__handoff{padding:0 15px 9px;background:#fff}
.moroxxo-ai[data-stage="need_name"] .moroxxo-ai__handoff,.moroxxo-ai[data-stage="need_complaint"] .moroxxo-ai__handoff{display:none}
.moroxxo-ai__handoff a{display:flex;align-items:center;justify-content:center;min-height:44px;text-align:center;padding:10px 12px;border-radius:12px;background:#eaf8ef;color:#145c2d;text-decoration:none;font-size:12px;font-weight:650;border:1px solid #bfe5cd}
.moroxxo-ai__composer{display:flex;align-items:flex-end;gap:8px;padding:10px 12px 9px;background:#fff;border-top:1px solid var(--mx-ai-line)}
.moroxxo-ai__composer textarea{width:100%;min-height:42px;max-height:120px;resize:none;border:1px solid #ddd!important;border-radius:14px!important;padding:10px 11px!important;box-shadow:none!important;outline:none;font:inherit!important;font-size:13px!important;line-height:1.45!important;color:#111!important;background:#fff!important}
.moroxxo-ai__composer textarea:focus{border-color:#aaa!important}
.moroxxo-ai__composer button{flex:0 0 42px;width:42px;height:42px;border:0;border-radius:50%;background:var(--mx-ai-ruby);color:#fff;display:grid;place-items:center;cursor:pointer}
.moroxxo-ai__composer button:disabled{opacity:.45;cursor:wait}
.moroxxo-ai__composer button svg{width:18px;height:18px;fill:currentColor}
.moroxxo-ai__message.is-typing .moroxxo-ai__bubble{display:flex;gap:4px;padding:13px 15px}
.moroxxo-ai__message.is-typing span{width:5px;height:5px;border-radius:50%;background:#999;animation:moroxxo-ai-dot 1s infinite ease-in-out}
.moroxxo-ai__message.is-typing span:nth-child(2){animation-delay:.12s}.moroxxo-ai__message.is-typing span:nth-child(3){animation-delay:.24s}
@keyframes moroxxo-ai-dot{0%,60%,100%{transform:translateY(0);opacity:.45}30%{transform:translateY(-3px);opacity:1}}
@media (max-width:600px){
  .moroxxo-ai{right:12px;bottom:max(12px,env(safe-area-inset-bottom))}
  .moroxxo-ai__launcher{min-height:56px;padding:7px 14px 7px 7px}
  .moroxxo-ai__launcher-copy small{display:none}
  .moroxxo-ai__greeting{position:fixed;left:14px;right:14px;bottom:82px;width:auto;border-radius:17px 17px 5px 17px}
  .moroxxo-ai__panel{position:fixed;inset:auto 0 0 0;width:100vw;height:min(720px,calc(100dvh - 16px));max-height:none;border:0;border-radius:22px 22px 0 0;transform:translateY(18px);transform-origin:bottom center;padding-top:env(safe-area-inset-top);padding-bottom:env(safe-area-inset-bottom)}
  .moroxxo-ai[data-stage="need_name"] .moroxxo-ai__panel{height:min(430px,calc(100dvh - 16px))}
  .moroxxo-ai[data-stage="need_complaint"] .moroxxo-ai__panel{height:min(520px,calc(100dvh - 16px))}
  .moroxxo-ai__header{padding:14px 16px}
  .moroxxo-ai__messages{padding:16px 13px}
  .moroxxo-ai__bubble{max-width:90%;font-size:14px;line-height:1.55}
  .moroxxo-ai__quick{padding:9px 12px;flex-wrap:nowrap}
  .moroxxo-ai__quick button{flex:0 0 auto;max-width:220px}
  .moroxxo-ai__handoff{padding:0 12px 8px}
  .moroxxo-ai__composer{padding:9px 10px}
}
@media (prefers-reduced-motion:reduce){.moroxxo-ai__launcher,.moroxxo-ai__panel,.moroxxo-ai__message.is-typing span{transition:none;animation:none}}

/* Moroxxo Core 1.21.4 — closed AI must never create an invisible click shield. */
.moroxxo-ai:not(.is-open){pointer-events:none!important}
.moroxxo-ai:not(.is-open) .moroxxo-ai__launcher{pointer-events:auto!important}
.moroxxo-ai:not(.is-open) .moroxxo-ai__panel{visibility:hidden!important;pointer-events:none!important}
.moroxxo-ai:not(.is-open) .moroxxo-ai__greeting{pointer-events:none!important}
.moroxxo-ai.show-greeting:not(.is-open) .moroxxo-ai__greeting{pointer-events:auto!important}
