.hr-guest-coordinator-overlay {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  background: rgba(0, 0, 0, .45);
  padding: 0;
  pointer-events: auto;
}

.hr-guest-coordinator-panel {
  width: 100%;
  max-height: min(88dvh, 100vh);
  border-radius: 28px 28px 0 0;
  padding: 18px 20px max(20px, env(safe-area-inset-bottom));
  overflow: hidden;
  overscroll-behavior: contain;
}

.hr-guest-coordinator-enter,
.hr-guest-coordinator-leave {
  transition: opacity .22s ease, transform .28s cubic-bezier(.22, 1, .36, 1);
}

.hr-guest-coordinator-enter-start,
.hr-guest-coordinator-leave-end {
  opacity: 0;
  transform: translateY(100%);
}

.hr-guest-coordinator-enter-end,
.hr-guest-coordinator-leave-start {
  opacity: 1;
  transform: translateY(0);
}

@media (min-width: 768px) {
  .hr-guest-coordinator-overlay {
    align-items: flex-end;
    justify-content: flex-end;
    background: transparent;
    padding: 1rem;
  }

  .hr-guest-coordinator-panel {
    width: 420px;
    height: 550px;
    max-height: 90vh;
    border-radius: 1.5rem;
    padding: 1.25rem;
  }

  .hr-guest-coordinator-enter-start,
  .hr-guest-coordinator-leave-end {
    transform: translateY(12px) scale(.98);
  }
}

@media (min-width: 1024px) {
  .hr-guest-coordinator-panel {
    width: 480px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hr-guest-coordinator-enter,
  .hr-guest-coordinator-leave {
    transition: opacity .01ms linear;
  }

  .hr-guest-coordinator-enter-start,
  .hr-guest-coordinator-leave-end,
  .hr-guest-coordinator-enter-end,
  .hr-guest-coordinator-leave-start {
    transform: none;
  }
}
