.ume-assistant { position: relative; z-index: 9997; font-family: Inter,Arial,sans-serif; }
.ume-assistant button,.ume-assistant input { font: inherit; }
.ume-assistant__launcher { position: fixed; right: 20px; bottom: 82px; display: flex; align-items: center; gap: 8px; min-height: 48px; padding: 6px 14px 6px 6px; border: 0; border-radius: 999px; background: linear-gradient(135deg,#064985,#199abf); color: #fff; box-shadow: 0 13px 34px rgba(2,47,97,.28); font-size: 12px; font-weight: 800; cursor: pointer; transition: transform .2s ease,box-shadow .2s ease; }
.ume-assistant__launcher:hover { transform: translateY(-3px); box-shadow: 0 20px 44px rgba(2,47,97,.36); }
.ume-assistant__launcher-icon,.ume-assistant__avatar { display: grid; place-items: center; flex: 0 0 auto; border-radius: 50%; background: #087eaa; }
.ume-assistant__launcher-icon { width: 36px; height: 36px; }
.ume-assistant__launcher-icon img { width: 26px; height: 26px; object-fit: contain; }
.ume-assistant__panel { position: fixed; right: 20px; bottom: 140px; display: flex; width: min(350px,calc(100vw - 24px)); height: min(540px,calc(100vh - 160px)); overflow: hidden; flex-direction: column; border: 1px solid #cfe2ed; border-radius: 19px; background: #fff; box-shadow: 0 22px 62px rgba(2,47,97,.28); }
.ume-assistant__panel[hidden] { display: none !important; }
.ume-assistant__header { display: flex; align-items: center; gap: 9px; padding: 12px 13px; background: linear-gradient(135deg,#022f61,#087eaa); color: #fff; }
.ume-assistant__avatar { width: 38px; height: 38px; background: rgba(255,255,255,.12); }
.ume-assistant__avatar img { width: 28px; height: 28px; object-fit: contain; }
.ume-assistant__header > span:nth-child(2) { display: flex; min-width: 0; flex: 1; flex-direction: column; }
.ume-assistant__header strong { font: 800 14px/1.2 Manrope,Arial,sans-serif; }
.ume-assistant__header small { margin-top: 2px; color: #d8f2f8; font-size: 9px; line-height: 1.25; }
.ume-assistant__close { width: 29px; height: 29px; border: 0; border-radius: 50%; background: rgba(255,255,255,.14); color: #fff; font-size: 21px !important; line-height: 1; cursor: pointer; }
.ume-assistant__messages { display: flex; min-height: 88px; padding: 12px; overflow-y: auto; flex: 1 1 auto; flex-direction: column; gap: 8px; background: #f6fafc; }
.ume-assistant__bubble { max-width: 90%; padding: 9px 11px; border-radius: 13px 13px 13px 4px; background: #fff; color: #365f7d; box-shadow: 0 4px 14px rgba(2,47,97,.07); font-size: 12px; line-height: 1.42; }
.ume-assistant__bubble.is-user { align-self: flex-end; border-radius: 15px 15px 4px 15px; background: #064985; color: #fff; }
.ume-assistant__quick { display: grid; padding: 9px 12px 5px; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 6px; background: #fff; }
.ume-assistant__quick::-webkit-scrollbar { display: none; }
.ume-assistant__quick button { min-width: 0; min-height: 38px; padding: 6px 8px; border: 1px solid #b9dbe7; border-radius: 10px; background: #edf8fc; color: #064985; font-size: 9.5px; line-height: 1.25; font-weight: 750; cursor: pointer; white-space: normal; }
.ume-assistant__form { display: flex; gap: 7px; padding: 8px 12px; background: #fff; }
.ume-assistant__form input { min-width: 0; height: 38px; flex: 1; padding: 8px 10px; border: 1px solid #b8ccd9; border-radius: 9px; color: #103e66; font-size: 12px; }
.ume-assistant__form input:focus { outline: 3px solid rgba(37,178,209,.18); border-color: #199abf; }
.ume-assistant__form button { padding: 8px 11px; border: 0; border-radius: 9px; background: #064985; color: #fff; font-size: 11px; font-weight: 800; cursor: pointer; }
.ume-assistant__links { display: flex; gap: 5px; padding: 0 12px 7px; }
.ume-assistant__links a { flex: 1; padding: 6px 5px; border-radius: 7px; background: #f2f8fc; color: #064985 !important; text-align: center; text-decoration: none; font-size: 9.5px; font-weight: 750; }
.ume-assistant__whatsapp { display: block; width: calc(100% - 24px); min-height: 36px; margin: 0 12px; padding: 9px 12px !important; border: 0; border-radius: 9px; background: #1fa855; color: #fff !important; text-align: center; text-decoration: none; font: 800 11px/1.2 Inter,Arial,sans-serif !important; cursor: pointer; }
.ume-assistant__whatsapp.is-pending { background: #607d72; }
.ume-assistant__notice { margin: 6px 12px 10px; color: #6e8799; font-size: 8.5px; line-height: 1.3; text-align: center; }
.ume-whatsapp-float { position: fixed; right: 20px; bottom: 20px; display: flex; height: 50px; min-width: 50px; padding: 0 13px; align-items: center; justify-content: center; gap: 7px; border: 0; border-radius: 999px; background: #1fa855; color: #fff !important; box-shadow: 0 13px 32px rgba(16,121,60,.30); text-decoration: none !important; cursor: pointer; }
.ume-whatsapp-float svg { width: 21px; height: 21px; fill: currentColor; }
.ume-whatsapp-float small { font-size: 11px; font-weight: 800; }
.ume-whatsapp-float.is-pending { background: #607d72; }
@media (prefers-reduced-motion:reduce) { .ume-assistant__launcher { transition: none; } }
@media (max-width:767px) {
  .ume-assistant__launcher { right: 12px; bottom: 70px; min-height: 45px; padding-right: 12px; }
  .ume-assistant__launcher-icon { width: 33px; height: 33px; }
  .ume-whatsapp-float { right: 12px; bottom: 12px; height: 47px; min-width: 47px; }
  .ume-assistant__panel { right: 12px; bottom: 126px; height: min(520px,calc(100vh - 138px)); }
}
