.record-modal.stage-reason-dialog{width:min(560px,100vw - 32px);max-height:calc(100dvh - 32px);padding:24px;overflow-y:auto}.stage-reason-dialog textarea,.stage-reason-card textarea{box-sizing:border-box;resize:vertical;width:100%;font:inherit}.stage-reason-dialog .record-modal-actions{flex-wrap:wrap}.stage-reason-text,.record-history-list li span{white-space:pre-wrap;overflow-wrap:anywhere}.stage-reason-card{min-width:0}.pipeline-stage-row:has(.pipeline-stage-editor){flex-direction:column;align-items:stretch}.pipeline-stage-editor{min-width:0}.pipeline-stage-editor .record-modal-actions{flex-wrap:wrap}.stage-reason-card .stage-reason-display{height:auto;min-height:5rem}
