/* Load after refined.css and mobile.css.
 * Safari/WebKit 18 resolves the zero-percent flex basis in an auto-height
 * dialog to zero, collapsing the issue body. Use its content-based basis;
 * retain shrinking, max-height containment and the inner fields scroller.
 */
dialog.issue-modal #modal-body {
  flex-basis: auto;
}
/* Batch result/form wrapper must remain scrollable in short viewports. */
dialog.issue-modal #modal-body > div {
  min-height: 0;
  overflow-y: auto;
  width: 100%;
  padding: 16px;
}
