/* Keep every sheet and its sticky controls below the iOS status bar. */
:root{--modal-safe-top:env(safe-area-inset-top,0px)}
#workoutModal{box-sizing:border-box;padding-top:var(--modal-safe-top);padding-left:env(safe-area-inset-left,0px);padding-right:env(safe-area-inset-right,0px)}
#workoutModal>.sheet{box-sizing:border-box;max-height:min(91vh,calc(100dvh - var(--modal-safe-top)))}
#workoutModal>.sheet.long-form-sheet{max-height:calc(100dvh - var(--modal-safe-top))}
.long-form-head>div,.long-form-head>h2{min-width:0;overflow-wrap:anywhere}
.long-form-close{min-width:44px;min-height:44px;flex-shrink:0;cursor:pointer}
