.mogpa-ai{position:fixed;right:24px;bottom:24px;z-index:9999;font-family:Inter,system-ui,sans-serif}.mogpa-ai-launch{border:0;border-radius:999px;background:linear-gradient(135deg,#5b21b6,#7c3aed);color:#fff;padding:14px 18px;display:flex;align-items:center;gap:10px;font-weight:800;box-shadow:0 18px 45px rgba(91,33,182,.32);cursor:pointer}.mogpa-ai-launch span{width:30px;height:30px;border-radius:50%;display:grid;place-items:center;background:#fff;color:#6d28d9}.mogpa-ai-panel{position:absolute;right:0;bottom:64px;width:min(390px,calc(100vw - 28px));height:min(640px,calc(100vh - 110px));background:#fff;border:1px solid #ede9fe;border-radius:24px;box-shadow:0 28px 80px rgba(42,17,85,.24);overflow:hidden;display:none;grid-template-rows:auto 1fr auto auto}.mogpa-ai.open .mogpa-ai-panel{display:grid}.mogpa-ai.open .mogpa-ai-launch{display:none}.mogpa-ai-panel header{padding:16px 18px;background:linear-gradient(135deg,#5b21b6,#7c3aed);color:#fff;display:flex;align-items:center;justify-content:space-between}.mogpa-ai-brand{display:flex;align-items:center;gap:11px}.mogpa-ai-brand strong{display:block;font-size:14px}.mogpa-ai-brand small{display:block;font-size:11px;opacity:.9;margin-top:2px}.mogpa-ai-brand small i{display:inline-block;width:7px;height:7px;background:#34d399;border-radius:50%;margin-right:4px}.mogpa-ai-logo{width:38px;height:38px;border-radius:12px;background:#fff;color:#6d28d9;display:grid;place-items:center;font-size:20px}.mogpa-ai-panel header button{border:0;background:rgba(255,255,255,.13);color:#fff;width:32px;height:32px;border-radius:10px;font-size:22px;cursor:pointer}.mogpa-ai-body{padding:16px;overflow:auto;background:linear-gradient(180deg,#faf8ff,#fff)}.mogpa-ai-row{display:flex;gap:9px;margin-bottom:12px;align-items:flex-end}.mogpa-ai-row.user{justify-content:flex-end}.mogpa-ai-row .avatar{flex:0 0 28px;width:28px;height:28px;border-radius:10px;background:#ede9fe;color:#6d28d9;display:grid;place-items:center;font-size:13px}.mogpa-ai-row.user .avatar{display:none}.mogpa-ai-row .bubble{max-width:82%;padding:11px 13px;border-radius:16px 16px 16px 5px;background:#fff;border:1px solid #eee8ff;color:#24163a;font-size:13px;line-height:1.5;box-shadow:0 6px 18px rgba(88,28,135,.05);white-space:pre-wrap;overflow-wrap:anywhere}.mogpa-ai-row.user .bubble{background:linear-gradient(135deg,#6d28d9,#7c3aed);color:#fff;border:0;border-radius:16px 16px 5px 16px}.mogpa-ai-quick{display:flex;gap:7px;flex-wrap:wrap;margin:6px 0 10px 37px}.mogpa-ai-quick button,.mogpa-ai-actions a{border:1px solid #ddd6fe;background:#fff;color:#5b21b6;border-radius:999px;padding:7px 10px;font-size:11px;font-weight:700;cursor:pointer;text-decoration:none}.mogpa-ai-actions{display:flex;gap:7px;flex-wrap:wrap;margin:0 0 13px 37px}.mogpa-ai-typing .bubble{color:#7c6f8f}.mogpa-ai-form{display:flex;gap:8px;padding:12px;border-top:1px solid #eee8ff;background:#fff}.mogpa-ai-form textarea{resize:none;max-height:110px;flex:1;border:1px solid #e6def8;border-radius:14px;padding:11px 12px;font:inherit;font-size:13px;outline:none}.mogpa-ai-form textarea:focus{border-color:#8b5cf6;box-shadow:0 0 0 3px #ede9fe}.mogpa-ai-form button{border:0;width:42px;border-radius:13px;background:linear-gradient(135deg,#6d28d9,#7c3aed);color:#fff;font-size:19px;cursor:pointer}.mogpa-ai-panel footer{text-align:center;padding:7px 10px 10px;font-size:10px;color:#8a7e99;background:#fff}@media(max-width:640px){.mogpa-ai{right:14px;bottom:82px}.mogpa-ai-panel{position:fixed;inset:0;width:100vw;height:100dvh;border-radius:0}.mogpa-ai.open .mogpa-ai-launch{display:none}.mogpa-ai-panel header{padding-top:max(16px,env(safe-area-inset-top))}.mogpa-ai-form{padding-bottom:max(12px,env(safe-area-inset-bottom))}}

/* v2.28.3: unobtrusive mobile assistant launcher */
@media (max-width: 640px) {
  #mogpa-ai.mogpa-ai { right: max(12px, env(safe-area-inset-right)); bottom: max(18px, env(safe-area-inset-bottom)); }
  #mogpa-ai .mogpa-ai-launch { box-sizing: border-box; width: 54px; height: 54px; min-width: 54px; min-height: 54px; max-width: 54px; padding: 0; border-radius: 50%; display: flex; justify-content: center; align-items: center; box-shadow: 0 8px 24px rgba(91,33,182,.28); }
  #mogpa-ai .mogpa-ai-launch span { width: 34px; height: 34px; flex: 0 0 34px; font-size: 19px; }
  #mogpa-ai .mogpa-ai-launch b { display: none; }
  #mogpa-ai .mogpa-ai-panel { box-sizing: border-box; max-width: 100vw; max-height: 100dvh; }
  #mogpa-ai.open .mogpa-ai-launch { display: none; }
}
@media (min-width: 641px) and (max-width: 900px) {
  #mogpa-ai.mogpa-ai { right: 16px; bottom: 18px; }
  #mogpa-ai .mogpa-ai-launch { padding: 11px 14px; font-size: 13px; }
}
