.sheet {
  position: fixed;
  inset: auto 0 0;
  width: var(--column);
  max-width: none;
  max-height: 70vh;
  max-height: 70dvh;
  margin: 0 auto;
  padding: 0 0 var(--safe-bottom);
  border: 0;
  border-radius: 16px 16px 0 0;
  background: var(--surface);
  color: var(--text);
  display: none;
  flex-direction: column;
  transition: transform 0.2s ease;
}

.sheet[open] {
  display: flex;
  animation: sheet-up 0.25s ease-out;
}

.sheet::backdrop {
  background: rgba(0, 0, 0, 0.55);
}

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

.sheet-handle {
  display: flex;
  justify-content: center;
  padding: 10px 0 6px;
  cursor: grab;
  touch-action: none;
}

.sheet-handle span {
  width: 40px;
  height: 4px;
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.3);
}

.sheet-title {
  margin: 0;
  padding: 4px 20px 12px;
  font-size: 1.0625rem;
  text-align: center;
}

.sheet-list {
  list-style: none;
  margin: 0;
  padding: 0 8px 12px;
  overflow-y: auto;
  overscroll-behavior: contain;
}

.sheet-list button {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  min-height: 48px;
  padding: 0 12px;
  border-radius: 10px;
  text-align: left;
}

.sheet-list button[aria-pressed="true"] {
  background: var(--surface-2);
  font-weight: 700;
}

.sheet-count {
  font-size: 0.8125rem;
  color: var(--text-faint);
}

@media (prefers-reduced-motion: reduce) {
  .sheet[open] { animation: none; }
  .sheet { transition: none; }
}
