/* Message window: the window openMessageWindow() opens (js/ui/messageWindow.js), with a
   title, a short message or a text box, and buttons. Used for messages such
   as "Could not open the file", the Clear saved data question, and the Export
   SVG window. */

#messageWindow:has(.messageParagraph) {
  width: min(480px, 94vw)
}

#messagePreview:has(.messageParagraph) {
  border: 0;
  padding: 0;
  background: none;
  text-align: left;
  display: block;
  min-height: 0;
  max-height: none
}

#messageWindow:has(.messageParagraph) #messageNote:empty {
  display: none
}

.messageParagraph {
  margin: 0 0 4px;
  font-size: 14px;
  line-height: 1.5;
  color: var(--mutedText)
}

dialog textarea {
  height: 200px;
  font: 12px/1.4 ui-monospace, Menlo, monospace
}

#messageNote {
  font-size: 13px;
  color: var(--mutedText);
  min-height: 1.2em;
  margin: 8px 0 0
}
