.mws-ai {
  position: fixed;
  z-index: 999999;
  right: 20px;
  bottom: 20px;
  font-family: inherit;
}
.mws-ai__launcher,
.mws-ai__form button,
.mws-ai__email {
  background: #0d1b4c;
  color: #fff;
  border: 0;
  border-radius: 999px;
  min-height: 44px;
  padding: 10px 18px;
  font-weight: 700;
  cursor: pointer;
}
.mws-ai__launcher:focus-visible,
.mws-ai__close:focus-visible,
.mws-ai__form button:focus-visible,
.mws-ai__email:focus-visible,
.mws-ai textarea:focus-visible {
  outline: 3px solid #f6c344;
  outline-offset: 3px;
}
.mws-ai__panel {
  position: absolute;
  right: 0;
  bottom: 58px;
  width: min(380px, calc(100vw - 32px));
  max-height: min(620px, calc(100vh - 110px));
  overflow: auto;
  background: #fff;
  color: #10172d;
  border: 1px solid #cbd5e1;
  border-radius: 16px;
  box-shadow: 0 18px 50px rgba(0, 0, 0, .24);
  padding: 22px;
}
.mws-ai__panel[hidden] { display: none; }
.mws-ai__close {
  position: absolute;
  top: 10px;
  right: 12px;
  width: 44px;
  height: 44px;
  border: 0;
  background: transparent;
  color: #10172d;
  font-size: 28px;
  cursor: pointer;
}
.mws-ai__eyebrow {
  display: block;
  padding-right: 44px;
  color: #176b48;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.mws-ai__panel h2 { margin: 8px 44px 8px 0; font-size: 24px; }
.mws-ai__messages {
  max-height: 220px;
  overflow-y: auto;
  padding: 10px;
  border: 1px solid #dbe3ea;
  border-radius: 10px;
  background: #f7f9fb;
}
.mws-ai__message { margin: 8px 0; padding: 9px 11px; border-radius: 10px; }
.mws-ai__message--assistant { background: #e7f4ec; }
.mws-ai__message--user { background: #e8edf8; margin-left: 20px; }
.mws-ai__form label { display: block; margin: 12px 0 6px; font-weight: 700; }
.mws-ai__form textarea { width: 100%; min-height: 80px; box-sizing: border-box; }
.mws-ai__form button { margin-top: 8px; border-radius: 8px; }
.mws-ai__form button:disabled { opacity: .6; cursor: wait; }
.mws-ai__status { min-height: 24px; color: #9c2d20; font-weight: 600; }
.mws-ai__email { display: inline-block; text-decoration: none; border-radius: 8px; }
.mws-ai__panel small { display: block; margin-top: 12px; }
@media (max-width: 480px) {
  .mws-ai { right: 12px; bottom: 12px; }
  .mws-ai__panel { width: calc(100vw - 24px); max-height: calc(100vh - 90px); }
}
