/* Bottom sheet motion: up on open, down on close, follows the finger while dragged (sheet-motion.js). */
@media (max-width: 720px) {
  .sheet[data-drag-sheet] { overscroll-behavior: contain; transition: transform .28s cubic-bezier(.22, 1, .36, 1); }
  .sheet[data-drag-sheet][open] { animation: sheet-motion-up .34s cubic-bezier(.22, 1, .36, 1); }
  .sheet[data-drag-sheet]::backdrop { opacity: calc(1 - var(--drag, 0)); transition: opacity .24s ease; }
  .sheet[data-drag-sheet][open]::backdrop { animation: sheet-motion-fade .3s ease; }
  .sheet[data-drag-sheet].is-dragging, .sheet[data-drag-sheet].is-dragging::backdrop { transition: none; }
  .sheet[data-drag-sheet].is-closing { transition: transform .24s cubic-bezier(.4, 0, 1, 1); }
  .sheet[data-drag-sheet] .sheet-handle { margin-bottom: 16px; position: relative; }
  .sheet[data-drag-sheet] .sheet-handle::after { content: ""; position: absolute; inset: -14px -40px; }
}
@keyframes sheet-motion-up { from { transform: translateY(100%); } }
@keyframes sheet-motion-fade { from { opacity: 0; } }
@media (prefers-reduced-motion: reduce) {
  .sheet[data-drag-sheet], .sheet[data-drag-sheet]::backdrop { animation: none !important; transition: none !important; }
}
/* Module switch card at the top of the Mais sheets (Ir para o ERP / Ir para o Gestão Chef). */
.erp-switch-card { display: flex; align-items: center; gap: 12px; margin: 16px 0 4px; padding: 12px 14px; border: 1px solid #d8ebdb; border-radius: 16px; background: #f4fbf4; color: #202124; }
.erp-switch-card:active { background: #e6f5e7; }
.erp-switch-mark { width: 40px; height: 40px; flex-shrink: 0; display: grid; place-items: center; border-radius: 12px; background: #fff; box-shadow: 0 1px 4px #2021240f; }
.erp-switch-copy { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.erp-switch-copy strong { font-size: 13px; font-weight: 650; }
.erp-switch-copy small { font-size: 11px; color: #7b818a; }
.erp-switch-card > .icon { width: 16px; height: 16px; color: #247b2b; }
.erp-switch-mark .icon { width: 22px; height: 22px; color: #247b2b; }
