.bot-widget {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 1200;
  font-family: inherit;
}
.bot-widget-toggle {
  width: 70px;
  height: 70px;
  padding: 0;
  border: 3px solid #fff;
  border-radius: 50%;
  overflow: hidden;
  background: #102b42;
  box-shadow: 0 5px 18px rgba(0, 0, 0, .28);
  cursor: pointer;
  transition: transform .18s ease, box-shadow .18s ease;
}
.bot-widget-toggle:hover,
.bot-widget-toggle:focus-visible {
  transform: scale(1.06);
  box-shadow: 0 7px 22px rgba(0, 0, 0, .36);
}
.bot-widget-toggle img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.bot-widget-panel {
  position: absolute;
  right: 0;
  bottom: 84px;
  width: min(390px, calc(100vw - 32px));
  height: min(650px, calc(100vh - 120px));
  overflow: hidden;
  border: 1px solid #dfe5e9;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 12px 40px rgba(16, 43, 66, .28);
}
.bot-widget-panel[hidden] {
  display: none;
}
.bot-widget-panel > header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 48px;
  padding: 0 14px;
  color: #fff;
  background: #102b42;
}
.bot-widget-panel > header button {
  border: 0;
  color: #fff;
  background: transparent;
  font-size: 26px;
  line-height: 1;
  cursor: pointer;
}
.bot-widget-panel iframe {
  display: block;
  width: 100%;
  height: calc(100% - 48px);
  border: 0;
}
@media (max-width: 600px) {
  .bot-widget {
    right: 14px;
    bottom: 14px;
  }
  .bot-widget-toggle {
    width: 62px;
    height: 62px;
  }
  .bot-widget-panel {
    right: -2px;
    bottom: 76px;
    width: calc(100vw - 28px);
    height: min(680px, calc(100vh - 100px));
  }
}
