#iwc-edit-confirm{position:fixed;z-index:10050;bottom:calc(100px + env(safe-area-inset-bottom,0px));left:50%;transform:translateX(-50%);width:max-content;max-width:calc(100vw - 28px);padding:13px 20px;border:1px solid rgba(255,255,255,.25);border-radius:14px;background:#263744;color:#fff;font:700 15px system-ui,-apple-system,sans-serif;box-shadow:0 5px 24px rgba(0,0,0,.3);cursor:pointer;touch-action:manipulation}
#iwc-edit-confirm:active{background:#40566a}
@media(min-width:701px){#iwc-edit-confirm{bottom:28px}}

/* V16.18: edit mode always hides the mobile dock and all its overlays. */
body.iwc-route-editing .v2-panel,body.iwc-route-editing #v3Panel{display:none!important;visibility:hidden!important;pointer-events:none!important;}
body.iwc-route-editing #iwc-edit-confirm{display:block!important;visibility:visible!important;pointer-events:auto!important;}

/* V16.19: hide both the sheet and the modal dimmer in edit mode on iOS. */
body.iwc-route-editing .v3-shell.flight-open::before,
body.iwc-route-editing .v3-shell.flight-open::after,
body.iwc-route-editing .v3-shell::before,
body.iwc-route-editing .v3-shell::after{display:none!important;opacity:0!important;pointer-events:none!important;}
body.iwc-route-editing #v3Panel{display:none!important;opacity:0!important;visibility:hidden!important;pointer-events:none!important;}
