.filter-scrim {
  position: fixed;
  inset: 0;
  z-index: 40;
  background: rgba(0, 0, 0, 0.58);
}

.filter-sheet {
  position: fixed;
  inset: auto 0 0;
  z-index: 41;
  padding: 20px 16px calc(18px + env(safe-area-inset-bottom));
  overflow-x: hidden;
  color: #1D1D1E;
  background: #F5F2ED;
  border-radius: 22px 22px 0 0;
  animation: sheet-enter 200ms ease-out both;
}

.filter-sheet header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
}

.filter-sheet h3 {
  margin: 0;
  font-size: 24px;
}

.filter-sheet header button {
  border: 0;
  color: var(--accent);
  background: transparent;
}

@keyframes sheet-enter {
  from { transform: translateY(100%); }
  to { transform: translateY(0); }
}
