/* ── Sheet: a screen presented over the app ("Nova marcação") ──────────── */
/* Its own URL and its own layout, so Hotwire Native can present the same
   route as a native modal (docs/plan.md § 2). */
.sheet-frame {
  display: flex;
  flex-direction: column;
  height: 100dvh;
  padding-top: calc(env(safe-area-inset-top) + 24px);
  background: var(--sheet-backdrop);
}

.sheet {
  flex: 1;
  min-height: 0;
  display: flex;
  flex-direction: column;
  overflow-y: auto;
  padding: 12px var(--gutter) calc(24px + env(safe-area-inset-bottom));
  background: var(--cream);
  border-radius: var(--radius-sheet) var(--radius-sheet) 0 0;
  box-shadow: var(--shadow-sheet);
}

.sheet__grabber {
  flex: none;
  width: 40px;
  height: 5px;
  margin: 0 auto;
  border-radius: 3px;
  background: var(--grabber);
}

.sheet__header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-top: 16px;
}

.sheet__title {
  margin: 0;
  font: 800 28px/1 var(--font-display);
  letter-spacing: -.02em;
}

.sheet__close { font: 500 14px var(--font-body); color: var(--muted); }

.sheet .empty-card { margin: 18px 0 0; }
