
.Window.DialogWindow.LongTextPopup .LongText {
  border: solid var(--BorderColor) var(--BorderWidth);
  height: 100%;
  min-width: 600px;
  min-height: 400px;
  max-height: 85vh;
  overflow-x: scroll;
  overflow-y: scroll;
  text-overflow: initial;
  white-space: pre;
}
.Window.DialogWindow.LongTextPopup .LongText.WordWrap {
  white-space: pre-wrap;
}
.Window.DialogWindow.LongTextPopup .LongText[contenteditable='true'],
.Window.DialogWindow.LongTextPopup .LongText[contenteditable='plaintext-only'] {
  background-color: var(--LightBackgroundColor);
}
.Window.DialogWindow.LongTextPopup .Buttons {
  display: grid;
  grid-template-columns: auto auto 1fr auto auto;
  grid-template-areas: "Wrap Copy Spacer Ok Cancel";
}
.Window.DialogWindow.LongTextPopup .Buttons .Wrap {
  grid-area: Wrap;
}
.Window.DialogWindow.LongTextPopup .Buttons .Copy {
  grid-area: Copy;
}
.Window.DialogWindow.LongTextPopup .Buttons .Ok {
  grid-area: Ok;
}
.Window.DialogWindow.LongTextPopup .Buttons .Cancel {
  grid-area: Cancel;
}
.Window.DialogWindow.LongTextPopup:has(.LongText.WordWrap) .Buttons .Wrap {
  color: var(--PrimaryColor);
  background-color: var(--SecondaryColor);
}
.Window.DialogWindow.LongTextPopup.SubWindowOf-Page-System_Log .LongText {
  font-size: 10pt;
  font-family: monospace;
  white-space: pre;
  tab-size: 10pt;
}
.Window.DialogWindow.LongTextPopup.SubWindowOf-Page-System_Log .LongText.WordWrap {
  white-space: pre-wrap !important;
}
.PopupWindow {
  display: flex;
  flex-direction: column;
  gap: var(--ContextWindowPadding);
}
.PopupWindow .PopupWindowContent {
  width: 100%;
  height: 100%;
  flex-grow: 1;
  resize: none;
}
.PopupWindow textarea {
  border: var(--BorderWidth) solid var(--BorderColor);
  border-radius: var(--BorderRadius);
  background-color: var(--LightBackgroundColor);
}
.PopupWindow .Buttons {
  display: flex;
  gap: var(--ContextWindowPadding);
  justify-content: flex-end;
}
.PopupWindow .Buttons button {
  background-color: var(--PrimaryColor);
  color: var(--LightTextColor);
  border: none;
  padding: var(--ActionButtonVerticalPadding) var(--ActionButtonHorizontalPadding);
  cursor: pointer;
  line-height: var(--ActionButtonLineHeight);
  font-family: "SofiaPro", "Helvetica Neue", Helvetica, Arial, sans-serif;
  border-radius: var(--BorderRadius);
  width: max-content;
}
.PopupWindow .Buttons button:hover,
.PopupWindow .Buttons button.Active {
  background-color: var(--SecondaryColor) !important;
  color: var(--PrimaryColor) !important;
}
.PopupWindow .Buttons button:disabled {
  cursor: default;
  background-color: var(--DisabledColor);
  color: var(--LightTextColor);
}
.PopupWindow .Buttons button.Revert::after {
  font-family: 'IcoFont' !important;
  speak: none;
  font-style: normal;
  font-weight: normal;
  font-variant: normal;
  text-transform: none;
  white-space: nowrap;
  word-wrap: normal;
  direction: ltr;
  /* Better Font Rendering =========== */
  -webkit-font-feature-settings: "liga";
  -webkit-font-smoothing: antialiased;
}
.PopupWindow .Buttons button.Revert::after {
  content: "\ee0b";
}
.PopupWindow .Buttons button.Save::after {
  font-family: 'IcoFont' !important;
  speak: none;
  font-style: normal;
  font-weight: normal;
  font-variant: normal;
  text-transform: none;
  white-space: nowrap;
  word-wrap: normal;
  direction: ltr;
  /* Better Font Rendering =========== */
  -webkit-font-feature-settings: "liga";
  -webkit-font-smoothing: antialiased;
}
.PopupWindow .Buttons button.Save::after {
  content: "\ee00";
}
.PopupWindow .Buttons button.Delete::after {
  font-family: 'IcoFont' !important;
  speak: none;
  font-style: normal;
  font-weight: normal;
  font-variant: normal;
  text-transform: none;
  white-space: nowrap;
  word-wrap: normal;
  direction: ltr;
  /* Better Font Rendering =========== */
  -webkit-font-feature-settings: "liga";
  -webkit-font-smoothing: antialiased;
}
.PopupWindow .Buttons button.Delete::after {
  content: "\ef00";
}
.PopupWindow .Buttons button.Delete::after {
  font-family: 'IcoFont' !important;
  speak: none;
  font-style: normal;
  font-weight: normal;
  font-variant: normal;
  text-transform: none;
  white-space: nowrap;
  word-wrap: normal;
  direction: ltr;
  /* Better Font Rendering =========== */
  -webkit-font-feature-settings: "liga";
  -webkit-font-smoothing: antialiased;
}
.PopupWindow .Buttons button.Delete::after {
  content: "\ec53";
}
