/* Assignment editor sizing and readable block spacing for Lexxy. */
lexxy-editor {
  display: block;
  min-height: 18rem;
  line-height: 1.65;
}

lexxy-editor p,
lexxy-editor .lexxy-content > div {
  margin: 0.75rem 0;
}

lexxy-editor h1,
lexxy-editor h2,
lexxy-editor h3,
lexxy-editor h4 {
  margin: 1.35rem 0 0.55rem;
  line-height: 1.3;
  font-weight: 700;
}

/* Keep the student answer toolbar focused on everyday writing controls. */
lexxy-editor.student-answer-editor lexxy-toolbar > :not([name="bold"]):not([name="italic"]):not([name="unordered-list"]):not([name="ordered-list"]):not([name="undo"]):not([name="redo"]) {
  display: none !important;
}

/* Keep lists visible in rendered Action Text content as well as inside Lexxy. */
.lexxy-content ul,
.lexxy-content ol {
  margin: 0.75rem 0 0.75rem 1.5rem;
  padding-left: 1rem;
}

.lexxy-content ul { list-style: disc; }
.lexxy-content ol { list-style: decimal; }
