/* Recent-call gestures, scoped to the mobile Calls page. */
html:root.native-mobile body #overlay[data-panel="calls"] .call-swipe-shell {
  position: relative; overflow: hidden; min-width: 0; background: var(--page-bg);
}
html:root.native-mobile body #overlay[data-panel="calls"] .call-swipe-shell + .call-swipe-shell {
  border-top: 1px solid var(--page-line);
}
html:root.native-mobile body #overlay[data-panel="calls"] .call-swipe-shell > .call-history-row {
  position: relative; z-index: 2; width: 100%; box-sizing: border-box;
  background: var(--page-bg) !important; touch-action: pan-y;
  -webkit-user-select: none; user-select: none;
  transition: transform 220ms cubic-bezier(.22,.75,.25,1);
}
html:root.native-mobile body #overlay[data-panel="calls"] .call-swipe-shell.revealed > .call-history-row { transform: translateX(-152px); }
html:root.native-mobile body #overlay[data-panel="calls"] .call-swipe-shell.dragging > .call-history-row { transition: none; will-change: transform; }
html:root.native-mobile body #overlay[data-panel="calls"] .call-swipe-actions {
  position: absolute; z-index: 1; inset: 0 0 0 auto; width: 152px;
  display: grid; grid-template-columns: repeat(2,76px); align-items: center; justify-items: center;
}
html:root.native-mobile body #overlay[data-panel="calls"] .call-swipe-actions > button {
  display: grid; place-items: center; width: 64px; height: 48px; min-height: 44px;
  margin: 0; padding: 0; border: 0; border-radius: 28px;
  background: #8d8d92; color: #fff; box-shadow: none;
}
html:root.native-mobile body #overlay[data-panel="calls"] .call-swipe-actions > button:last-child { background: #ff4967; }
html:root.native-mobile body #overlay[data-panel="calls"] .call-swipe-actions > button:disabled { opacity: .4; }
html:root.native-mobile body #overlay[data-panel="calls"] .call-swipe-actions svg { width: 24px; height: 24px; margin: 0; }
html:root.native-mobile body #overlay[data-panel="calls"] .call-swipe-actions span { display: none; }
html:root.native-mobile body #overlay[data-panel="calls"] .call-history-row:focus-visible { outline: 2px solid var(--page-muted); outline-offset: -2px; }
@media (prefers-reduced-motion: reduce) {
  html:root.native-mobile body #overlay[data-panel="calls"] .call-swipe-shell > .call-history-row { transition: none; }
}
