
/* Entry actions stay outside the iPhone status area while only the form scrolls. */
:root.ep-ios:not(#ep-ios-x) .iosn-modal[data-gastos-entry-dialog] { z-index: 10000; }
:root.ep-ios:not(#ep-ios-x) .iosn-modal[data-gastos-entry-dialog] > .iosn-sheet { min-height: 0; }
:root.ep-ios:not(#ep-ios-x) .iosn-modal[data-gastos-entry-dialog] .iosn-sheet-nav { position: relative; z-index: 2; min-height: 56px; flex-shrink: 0; }
:root.ep-ios:not(#ep-ios-x) .iosn-modal[data-gastos-entry-dialog] .iosn-sheet-nav .ios-btn { min-height: 44px; min-width: 44px; touch-action: manipulation; }
:root.ep-ios:not(#ep-ios-x) .iosn-modal[data-gastos-entry-dialog] .iosn-sheet-body { min-height: 0; flex: 1 1 auto; overscroll-behavior-y: contain; -webkit-overflow-scrolling: touch; scroll-padding-block: 12px; }
@media (max-width: 760px) {
  :root.ep-ios:not(#ep-ios-x) .iosn-modal[data-gastos-entry-dialog] { --ep-gastos-safe-top: max(24px, calc(env(safe-area-inset-top, 0px) + 12px)); padding: var(--ep-gastos-safe-top) 0 0; box-sizing: border-box; }
  :root.ep-ios:not(#ep-ios-x) .iosn-modal[data-gastos-entry-dialog] > .iosn-sheet { max-height: calc(100dvh - var(--ep-gastos-safe-top)); }
  :root.ep-ios:not(#ep-ios-x) .iosn-modal[data-gastos-entry-dialog] .iosn-sheet-body { padding-bottom: calc(20px + env(safe-area-inset-bottom, 0px)); }
}
