dialog {
  box-sizing: border-box;
  width: min(428px, 100vw - 24px);
  max-height: calc(100dvh - 32px);
  margin: auto;
  padding: 0;
  border: 0;
  border-radius: 12px;
  background: white;
}
dialog::backdrop {
  background: rgba(0, 0, 0, 0.6);
}
dialog .s-form-type-6__wrapper {
  width: 100%;
  height: auto;
}

body:has(dialog[open]) {
  overflow: hidden;
}

.dialog-close {
  position: absolute;
  z-index: 2;
  top: 8px;
  right: 8px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: white;
  color: #333;
  font-size: 27px;
  line-height: 1;
  cursor: pointer;
}

.office-map {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 280px;
  border: 0;
}

.website-field {
  display: none !important;
}

.sb-input__field:not(:placeholder-shown) ~ .sb-input__placeholder {
  top: 0;
}

input[type=submit]:disabled {
  opacity: 0.6;
}

.service-links {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px 28px;
  padding: 24px;
  background: #17191c;
  color: #fff;
}
.service-links a {
  color: inherit;
  text-decoration: underline;
}

@media (min-width: 640px) and (max-width: 959px) {
  .s-tariffs-card-type-1__cards-container {
    overflow-x: auto;
  }
}
