html.soma-booking-open {
  overflow: hidden;
}

.soma-booking {
  box-sizing: border-box;
  width: min(760px, 100vw - 48px);
  height: min(860px, 100vh - 48px);
  max-width: none;
  max-height: none;
  padding: 0;
  border: 0;
  border-radius: 16px;
  background: #faf8f4;
  color: #2c3a2f;
  font-family: "Jost", system-ui, sans-serif;
  overflow: hidden;
}

@supports (height: 100dvh) {
  .soma-booking {
    height: min(860px, 100dvh - 48px);
  }
}

.soma-booking::backdrop {
  background: rgba(20, 26, 22, 0.62);
}

.soma-booking__panel {
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  min-width: 0;
  height: 100%;
}

.soma-booking__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 4px 6px 4px 20px;
  border-bottom: 1px solid rgba(44, 58, 47, 0.16);
}

.soma-booking__bar h2 {
  margin: 0;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.2;
}

.soma-booking__close {
  flex: 0 0 auto;
  min-width: 44px;
  min-height: 44px;
  padding: 0;
  border: 0;
  background: transparent;
  color: #2c3a2f;
  cursor: pointer;
  font: inherit;
  font-size: 28px;
  line-height: 1;
}

.soma-booking__close:focus-visible {
  outline: 3px solid #2c3a2f;
  outline-offset: -3px;
  border-radius: 8px;
}

.soma-booking__frame {
  flex: 1 1 auto;
  min-height: 0;
  width: 100%;
  border: 0;
  display: block;
}

.soma-booking__alt {
  margin: 0;
  padding: 10px 20px;
  border-top: 1px solid rgba(44, 58, 47, 0.16);
  font-size: 14px;
  line-height: 1.5;
  overflow-wrap: anywhere;
}

.soma-booking__alt a {
  color: inherit;
}

@media (max-width: 560px) {
  .soma-booking {
    width: 100vw;
    height: 100vh;
    max-width: none;
    max-height: none;
    margin: 0;
    border-radius: 0;
  }

  @supports (height: 100dvh) {
    .soma-booking {
      height: 100dvh;
    }
  }

  .soma-booking__panel {
    padding: env(safe-area-inset-top) env(safe-area-inset-right) env(safe-area-inset-bottom) env(safe-area-inset-left);
  }
}

@media (forced-colors: active) {
  .soma-booking {
    border: 1px solid CanvasText;
  }
}
