.pisell-persistent-bottom-sheet {
  display: flex;
  position: fixed;
  box-sizing: border-box;
  right: 0;
  bottom: 0;
  left: 0;
  width: 100%;
  max-height: var(--pisell-bottom-sheet-max-height, 95dvh);
  min-height: 0;
  flex-direction: column;
  overflow: hidden;
  border-radius: 16px 16px 0 0;
  background: #fff;
  box-shadow: 0 -4px 16px rgba(16, 24, 40, 0.12);
}

.pisell-persistent-bottom-sheet-header,
.pisell-persistent-bottom-sheet-footer {
  position: relative;
  z-index: 1;
  flex: 0 0 auto;
  background: #fff;
}

.pisell-persistent-bottom-sheet-body {
  box-sizing: border-box;
  height: var(--pisell-bottom-sheet-body-height, 0);
  min-height: 0;
  flex: 0 0 auto;
  overflow: hidden;
  transition: height var(--pisell-bottom-sheet-transition-duration, 240ms) ease;
}

.pisell-persistent-bottom-sheet-body-inner {
  display: flex;
  height: 100%;
  min-height: 0;
  flex-direction: column;
  overflow: hidden;
}

.pisell-persistent-bottom-sheet-mask {
  position: fixed;
  inset: 0;
  padding: 0;
  border: 0;
  appearance: none;
  background: rgba(16, 24, 40, 0.45);
  cursor: pointer;
}
