.mpm-service-launcher {
  position: fixed;
  right: 28px;
  bottom: 32px;
  z-index: 3000;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 15px 20px;
  border: 1px solid #e0e7f5;
  border-radius: 30px;
  background: #315fca;
  box-shadow: 0 8px 28px #24499b33;
  color: #fff;
  font-family: inherit;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.4;
  cursor: pointer;
}
.mpm-service-launcher:hover { background: #264fae; }
.mpm-service-launcher:focus-visible { outline: 3px solid #8baaff; outline-offset: 4px; }
.mpm-service-launcher[hidden] { display: none !important; }
.mpm-service-overlay[hidden], .mpm-service-loading[hidden], .mpm-service-load-error[hidden] { display: none !important; }
.mpm-service-overlay {
  position: fixed;
  inset: 0;
  z-index: 3001;
  background: rgba(0, 0, 0, .45);
  overflow: auto;
}
.mpm-service-dialog {
  position: relative;
  width: min(520px, calc(100vw - 32px));
  height: min(720px, 86vh);
  height: min(720px, 86dvh);
  margin: 7vh auto 0;
  border-radius: 16px;
  background: #fff;
  overflow: hidden;
}
.mpm-service-dialog iframe { display: block; width: 100%; height: 100%; border: 0; }
.mpm-service-loading, .mpm-service-load-error {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  background: #fff;
  color: #333;
  font-size: 14px;
}
.mpm-service-loading button, .mpm-service-load-error button { min-height: 40px; padding: 0 20px; border: 0; border-radius: 8px; background: #315fca; color: #fff; cursor: pointer; }
@media (max-width: 760px) {
  .mpm-service-launcher { right: 16px; bottom: 20px; padding: 12px 16px; }
  .mpm-service-dialog { width: 100%; height: 100vh; height: 100dvh; margin: 0; border-radius: 0; }
}
@media (max-height: 600px) and (min-width: 761px) {
  .mpm-service-dialog { height: calc(100vh - 32px); height: calc(100dvh - 32px); margin-top: 16px; }
}
