.hw-callback-dialog {
  width: min(calc(100vw - 24px), 510px);
  max-height: min(92dvh, 760px);
  padding: 0;
  overflow: hidden;
  border-radius: 22px;
  color: #13354b;
  box-shadow: 0 22px 90px #00180f52;
}
.hw-callback-dialog[open] { display: flex; flex-direction: column; }
.hw-callback-dialog > header {
  flex: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 12px clamp(15px, 4vw, 24px);
  background: #edf5f5;
  border-bottom: 1px solid #d7e6e8;
}
.hw-callback-dialog h2 { margin: 0; font-size: 1.22rem; font-weight: 760; line-height: 1.35; }
.hw-callback-dialog iframe {
  flex: 0 1 auto;
  display: block;
  min-height: 0;
  width: 100%;
  height: var(--callback-content-height, 470px);
  border: 0;
}
.hw-callback-dialog button {
  flex: none;
  width: 44px;
  height: 44px;
  min-width: 44px;
  margin: 0;
  padding: 0;
  border: 1px solid #afc7c8;
  border-radius: 50%;
  color: #153c49;
  font: 500 25px/1 system-ui, sans-serif;
}
