/* Scoped to the existing signature dialog; the recovered design is preserved. */
[role="dialog"].signature-editor {
  max-height: calc(100vh - 24px) !important;
  max-height: calc(100dvh - 24px) !important;
  overflow: hidden !important;
}
.signature-editor > .signature-editor-body {
  flex: 1 1 auto;
  min-height: 0;
}
.signature-editor > .signature-editor-footer {
  flex-direction: row !important;
  flex-wrap: wrap;
  align-items: center;
  flex-shrink: 0;
}
.signature-editor-footer > .signature-save-feedback {
  order: -1;
  flex: 0 0 100%;
  margin: 0;
  max-height: 120px;
  max-height: min(22dvh, 120px);
  overflow-y: auto;
  font-size: 13px;
  line-height: 1.5;
  overflow-wrap: anywhere;
}
