.editor-shell {
  color: #000;
  border-radius: 2px;
  margin: 0 auto;
  font-family: -apple-system, BlinkMacSystemFont, Segoe UI, Roboto, Helvetica, Arial, sans-serif, Apple Color Emoji, Segoe UI Emoji, Segoe UI Symbol;
  font-weight: 400;
  line-height: 1.7;
  position: relative;
}

.editor-shell .editor-container {
  border-bottom-right-radius: 10px;
  border-bottom-left-radius: 10px;
  display: block;
  position: relative;
}

.editor-shell .editor-container.tree-view {
  border-radius: 0;
}

.editor-shell .editor-container.plain-text {
  border-top-left-radius: 10px;
  border-top-right-radius: 10px;
}

.editor-scroller {
  z-index: 0;
  resize: vertical;
  border: 0;
  outline: 0;
  display: flex;
  position: relative;
  overflow: auto;
}

.editor {
  resize: vertical;
  z-index: -1;
  flex: auto;
  max-width: 100%;
  position: relative;
}

.test-recorder-output {
  width: 100%;
  margin: 20px auto;
}

.editor-shell pre {
  color: #fff;
  background: #222;
  max-height: 400px;
  margin: 0;
  padding: 10px;
  font-size: 12px;
  line-height: 1.1;
  overflow: auto;
}

.tree-view-output {
  color: #fff;
  background: #222;
  border-bottom-right-radius: 10px;
  border-bottom-left-radius: 10px;
  margin: 1px auto 10px;
  padding: 0;
  font-size: 12px;
  display: block;
  position: relative;
  overflow: hidden;
}

.editor-shell pre::-webkit-scrollbar {
  background: none;
  width: 10px;
}

.editor-shell pre::-webkit-scrollbar-thumb {
  background: #999;
}

.editor-dev-button {
  cursor: pointer;
  background-color: #444;
  border: none;
  border-radius: 20px;
  outline: none;
  width: 40px;
  height: 40px;
  font-size: 12px;
  display: block;
  position: relative;
  box-shadow: 0 1px 10px #0000004d;
}

.editor-dev-button:after {
  content: "";
  filter: invert();
  background-size: contain;
  display: block;
  position: absolute;
  inset: 10px;
}

.editor-dev-button:hover {
  background-color: #555;
}

.editor-dev-button.active {
  background-color: #e92323;
}

.test-recorder-toolbar {
  display: flex;
}

.test-recorder-button {
  cursor: pointer;
  background-color: #222;
  border: none;
  border-radius: 4px;
  outline: none;
  width: 32px;
  height: 32px;
  padding: 6px;
  font-size: 10px;
  transition: box-shadow 50ms ease-out;
  display: block;
  position: relative;
  box-shadow: 1px 2px 2px #0006;
}

.test-recorder-button:active {
  box-shadow: 1px 2px 4px #0006;
}

.test-recorder-button + .test-recorder-button {
  margin-left: 4px;
}

.test-recorder-button:after {
  content: "";
  filter: invert();
  background-size: contain;
  display: block;
  position: absolute;
  inset: 8px;
}

#options-button {
  position: fixed;
  bottom: 20px;
  left: 100px;
}

#test-recorder-button {
  position: fixed;
  bottom: 20px;
  left: 150px;
}

#paste-log-button {
  position: fixed;
  bottom: 20px;
  left: 200px;
}

#options-button:after {
  background-image: url(../static/svg/gear.svg);
}

#test-recorder-button:after {
  background-image: url(../static/svg/journal-code.svg);
}

#paste-log-button:after {
  background-image: url(../static/svg/clipboard.svg);
}

#test-recorder-button-snapshot {
  margin-right: auto;
}

#test-recorder-button-snapshot:after {
  background-image: url(../static/svg/camera.svg);
}

#test-recorder-button-copy:after {
  background-image: url(../static/svg/clipboard.svg);
}

#test-recorder-button-download:after {
  background-image: url(../static/svg/download.svg);
}

.typeahead-popover {
  background: #fff;
  border-radius: 4px;
  margin-top: 25px;
  box-shadow: 0 5px 10px #0000004d;
}

.typeahead-popover ul {
  border-radius: 4px;
  max-height: 200px;
  margin: 0;
  padding: 0;
  list-style: none;
  overflow-y: scroll;
}

.typeahead-popover ul::-webkit-scrollbar {
  display: none;
}

.typeahead-popover ul {
  -ms-overflow-style: none;
  scrollbar-width: none;
}

.typeahead-popover ul li {
  cursor: pointer;
  border-radius: 4px;
  outline: none;
  min-width: 180px;
  margin: 0;
  font-size: 14px;
}

.typeahead-popover ul li.selected {
  background: #eee;
}

.typeahead-popover li {
  color: #050505;
  cursor: pointer;
  background-color: #fff;
  border: 0;
  border-radius: 4px;
  flex-direction: row;
  flex-shrink: 0;
  align-content: center;
  margin: 0 8px;
  padding: 8px;
  font-size: 15px;
  line-height: 16px;
  display: flex;
}

.typeahead-popover li.active {
  background-size: contain;
  width: 20px;
  height: 20px;
  display: flex;
}

.typeahead-popover li:first-child {
  border-radius: 8px 8px 0 0;
}

.typeahead-popover li:last-child {
  border-radius: 0 0 8px 8px;
}

.typeahead-popover li:hover {
  background-color: #eee;
}

.typeahead-popover li .text {
  flex-grow: 1;
  min-width: 150px;
  line-height: 20px;
  display: flex;
}

.typeahead-popover li .icon {
  -webkit-user-select: none;
  user-select: none;
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
  width: 20px;
  height: 20px;
  margin-right: 8px;
  line-height: 16px;
  display: flex;
}

.component-picker-menu {
  width: 200px;
}

.auto-embed-menu {
  width: 150px;
}

i.palette {
  background-image: url(../static/svg/palette.svg);
}

i.bucket {
  background-image: url(../static/svg/paint-bucket.svg);
}

i.bold {
  background-image: url(../static/svg/type-bold.svg);
}

i.italic {
  background-image: url(../static/svg/type-italic.svg);
}

i.clear {
  background-image: url(../static/svg/trash.svg);
}

i.code {
  background-image: url(../static/svg/code.svg);
}

i.ai {
  background-image: url(../static/svg/ai.svg);
}

i.underline {
  background-image: url(../static/svg/type-underline.svg);
}

i.strikethrough {
  background-image: url(../static/svg/type-strikethrough.svg);
}

i.subscript {
  background-image: url(../static/svg/type-subscript.svg);
}

i.superscript {
  background-image: url(../static/svg/type-superscript.svg);
}

i.link {
  background-image: url(../static/svg/link.svg);
}

i.columns {
  background-image: url(../static/svg/3-columns.svg);
}

.icon.plus {
  background-image: url(../static/svg/plus.svg);
}

.icon.caret-right {
  background-image: url(../static/svg/caret-right-fill.svg);
}

.icon.dropdown-more {
  background-image: url(../static/svg/dropdown-more.svg);
}

.icon.font-color {
  background-image: url(../static/svg/font-color.svg);
}

.icon.font-family {
  background-image: url(../static/svg/font-family.svg);
}

.icon.bg-color {
  background-image: url(../static/svg/bg-color.svg);
}

.icon.table {
  background-color: #6c757d;
  -webkit-mask-image: url(../static/svg/table.svg);
  mask-image: url(../static/svg/table.svg);
  -webkit-mask-size: contain;
  mask-size: contain;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
}

i.horizontal-rule {
  background-image: url(../static/svg/horizontal-rule.svg);
}

i.image {
  background-image: url(../static/svg/file-image.svg);
}

i.admonition {
  background-image: url(../static/svg/admonition.svg);
}

i.youtube {
  background-image: url(../static/svg/youtube.svg);
}

i.vimeo {
  background-image: url(../static/svg/vimeo.svg);
}

i.table {
  margin-bottom: unset;
  overflow: unset;
  max-width: unset;
  background-image: url(../static/svg/table.svg);
}

i.close {
  background-image: url(../static/svg/close.svg);
}

.icon.left-align, i.left-align {
  background-image: url(../static/svg/text-left.svg);
}

i.center-align {
  background-image: url(../static/svg/text-center.svg);
}

i.right-align {
  background-image: url(../static/svg/text-right.svg);
}

i.justify-align {
  background-image: url(../static/svg/justify.svg);
}

i.indent {
  background-image: url(../static/svg/indent.svg);
}

i.markdown {
  background-image: url(../static/svg/markdown.svg);
}

i.outdent {
  background-image: url(../static/svg/outdent.svg);
}

i.undo {
  background-image: url(../static/svg/arrow-counterclockwise.svg);
}

i.redo {
  background-image: url(../static/svg/arrow-clockwise.svg);
}

i.mic {
  background-image: url(../static/svg/mic.svg);
}

i.import {
  background-image: url(../static/svg/upload.svg);
}

i.export {
  background-image: url(../static/svg/download.svg);
}

i.diagram-2 {
  background-image: url(../static/svg/diagram-2.svg);
}

i.user {
  background-image: url(../static/svg/user.svg);
}

i.gif {
  background-image: url(../static/svg/filetype-gif.svg);
}

i.copy {
  background-image: url(../static/svg/copy.svg);
}

i.success {
  background-image: url(../static/svg/success.svg);
}

i.prettier {
  background-image: url(../static/svg/prettier.svg);
}

i.prettier-error {
  background-image: url(../static/svg/prettier-error.svg);
}

#block-controls {
  box-sizing: border-box;
  z-index: 9;
  border: 1px solid #ced0d4;
  border-radius: 4px;
  width: 32px;
  height: 32px;
  display: block;
  position: absolute;
  top: 16px;
  right: 10px;
  overflow: hidden;
  box-shadow: 0 1px 2px #0000001a;
}

#block-controls button {
  cursor: pointer;
  background-color: #fff;
  border: 1px solid #fff;
  border-radius: 4px;
  outline: none;
  padding: 3px;
  transition: background-color .1s;
  display: block;
}

#block-controls button:hover {
  background-color: #efefef;
}

#block-controls button:focus-visible {
  border-color: #00f;
}

#block-controls span.block-type {
  background-size: contain;
  width: 18px;
  height: 18px;
  margin: 2px;
  display: block;
}

#block-controls span.block-type.paragraph {
  background-image: url(../static/svg/text-paragraph.svg);
}

#block-controls span.block-type.h1 {
  background-image: url(../static/svg/type-h1.svg);
}

#block-controls span.block-type.h2 {
  background-image: url(../static/svg/type-h2.svg);
}

#block-controls span.block-type.quote {
  background-image: url(../static/svg/chat-square-quote.svg);
}

#block-controls span.block-type.ul {
  background-image: url(../static/svg/list-ul.svg);
}

#block-controls span.block-type.ol {
  background-image: url(../static/svg/list-ol.svg);
}

#block-controls span.block-type.code {
  background-image: url(../static/svg/code.svg);
}

.characters-limit {
  color: #888;
  text-align: right;
  font-size: 12px;
  display: block;
  position: absolute;
  bottom: 5px;
  left: 12px;
}

.characters-limit.characters-limit-exceeded {
  color: red;
}

.dropdown {
  z-index: 100;
  background-color: #fff;
  border-radius: 4px;
  min-height: 40px;
  display: block;
  position: fixed;
  box-shadow: 0 12px 28px #0003, 0 2px 4px #0000001a, inset 0 0 0 1px #ffffff80;
}

.dropdown .item {
  color: #050505;
  cursor: pointer;
  background-color: #fff;
  border: 0;
  border-radius: 4px;
  flex-direction: row;
  flex-shrink: 0;
  place-content: center space-between;
  min-width: 100px;
  max-width: 250px;
  margin: 0 8px;
  padding: 8px;
  font-size: 15px;
  line-height: 16px;
  display: flex;
}

.dropdown .item.fontsize-item, .dropdown .item.fontsize-item .text {
  min-width: unset;
}

.dropdown .item .active {
  background-size: contain;
  width: 20px;
  height: 20px;
  display: flex;
}

.dropdown .item:first-child {
  margin-top: 8px;
}

.dropdown .item:last-child {
  margin-bottom: 8px;
}

.dropdown .item:hover {
  background-color: #eee;
}

.dropdown .item .text {
  flex-grow: 1;
  min-width: 150px;
  line-height: 20px;
  display: flex;
}

.dropdown .item .icon {
  -webkit-user-select: none;
  user-select: none;
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
  width: 20px;
  height: 20px;
  margin-right: 12px;
  line-height: 16px;
  display: flex;
}

.dropdown .divider {
  background-color: var(--border-color);
  width: auto;
  height: 1px;
  margin: 4px 8px;
}

@media screen and (max-width: 1100px) {
  .dropdown-button-text {
    display: none;
  }

  .dialog-dropdown > .dropdown-button-text, .font-size .dropdown-button-text, .code-language .dropdown-button-text {
    display: flex;
  }
}

.icon.paragraph {
  background-image: url(../static/svg/text-paragraph.svg);
}

.icon.h1 {
  background-image: url(../static/svg/type-h1.svg);
}

.icon.h2 {
  background-image: url(../static/svg/type-h2.svg);
}

.icon.h3 {
  background-image: url(../static/svg/type-h3.svg);
}

.icon.h4 {
  background-image: url(../static/svg/type-h4.svg);
}

.icon.h5 {
  background-image: url(../static/svg/type-h5.svg);
}

.icon.h6 {
  background-image: url(../static/svg/type-h6.svg);
}

.icon.bullet-list, .icon.bullet {
  background-image: url(../static/svg/list-ul.svg);
}

.icon.check-list, .icon.check {
  background-image: url(../static/svg/square-check.svg);
}

.icon.numbered-list, .icon.number {
  background-image: url(../static/svg/list-ol.svg);
}

.icon.quote {
  background-image: url(../static/svg/chat-square-quote.svg);
}

.icon.admonition {
  background-image: url(../static/svg/admonition.svg);
}

.icon.youtube {
  background-image: url(../static/svg/youtube.svg);
}

.icon.vimeo {
  background-image: url(../static/svg/vimeo.svg);
}

.icon.code {
  background-image: url(../static/svg/code.svg);
}

.switches {
  z-index: 6;
  background: #fff;
  border: 2px solid #ccc;
  border-radius: 15px;
  animation: .4s slide-in;
  position: fixed;
  bottom: 70px;
  left: 10px;
}

@keyframes slide-in {
  0% {
    opacity: 0;
    transform: translateX(-200px);
  }

  100% {
    opacity: 1;
    transform: translateX(0);
  }
}

.switch {
  color: #444;
  background-color: #eeeeeeb3;
  border-radius: 10px;
  margin: 5px 0;
  padding: 5px 10px;
  display: block;
}

#rich-text-switch {
  right: 0;
}

#character-count-switch {
  right: 130px;
}

.switch label {
  vertical-align: middle;
  width: 100px;
  margin-right: 5px;
  font-size: 14px;
  line-height: 24px;
  display: inline-block;
}

.switch button {
  box-sizing: border-box;
  vertical-align: middle;
  cursor: pointer;
  background-color: #ced0d4;
  border: 2px solid #0000;
  border-radius: 12px;
  outline: none;
  width: 44px;
  height: 24px;
  transition: background-color .1s;
  display: inline-block;
  position: relative;
}

.switch button:focus-visible {
  border-color: #00f;
}

.switch button span {
  background-color: #fff;
  border-radius: 12px;
  width: 20px;
  height: 20px;
  transition: transform .2s;
  display: block;
  position: absolute;
  top: 0;
  left: 0;
}

.switch button[aria-checked="true"] {
  background-color: #1877f2;
}

.switch button[aria-checked="true"] span {
  transform: translateX(20px);
}

.editor-shell span.editor-image {
  cursor: default;
  -webkit-user-select: none;
  user-select: none;
  display: inline-block;
  position: relative;
}

.editor-shell .editor-image img {
  cursor: default;
  max-width: 100%;
}

.editor-shell .editor-image img.focused {
  -webkit-user-select: none;
  user-select: none;
  outline: 2px solid #3c84f4;
}

.editor-shell .editor-image img.focused.draggable {
  cursor: grab;
}

.editor-shell .editor-image img.focused.draggable:active {
  cursor: grabbing;
}

.editor-shell .editor-image .image-caption-container .tree-view-output {
  border-radius: 0;
  margin: 0;
}

.editor-shell .editor-image .image-caption-container {
  min-width: 100px;
  min-height: 25px;
  margin: 0;
  padding: 0;
  display: block;
  position: relative;
  overflow: hidden;
}

.editor-shell .editor-image .image-caption-button {
  color: #fff;
  cursor: pointer;
  -webkit-user-select: none;
  user-select: none;
  background-color: #00000080;
  border: 1px solid #ffffff4d;
  border-radius: 5px;
  width: 30%;
  min-width: 100px;
  margin: 0 auto;
  padding: 10px;
  display: block;
  position: absolute;
  bottom: 20px;
  left: 0;
  right: 0;
}

.editor-shell .editor-image .image-caption-button:hover {
  background-color: #3c84f480;
}

.editor-shell .editor-image .image-resizer {
  background-color: #3c84f4;
  border: 1px solid #fff;
  width: 7px;
  height: 7px;
  display: block;
  position: absolute;
}

.editor-shell .editor-image .image-resizer.image-resizer-n {
  cursor: n-resize;
  top: -6px;
  left: 48%;
}

.editor-shell .editor-image .image-resizer.image-resizer-ne {
  cursor: ne-resize;
  top: -6px;
  right: -6px;
}

.editor-shell .editor-image .image-resizer.image-resizer-e {
  cursor: e-resize;
  bottom: 48%;
  right: -6px;
}

.editor-shell .editor-image .image-resizer.image-resizer-se {
  cursor: nwse-resize;
  bottom: -2px;
  right: -6px;
}

.editor-shell .editor-image .image-resizer.image-resizer-s {
  cursor: s-resize;
  bottom: -2px;
  left: 48%;
}

.editor-shell .editor-image .image-resizer.image-resizer-sw {
  cursor: sw-resize;
  bottom: -2px;
  left: -6px;
}

.editor-shell .editor-image .image-resizer.image-resizer-w {
  cursor: w-resize;
  bottom: 48%;
  left: -6px;
}

.editor-shell .editor-image .image-resizer.image-resizer-nw {
  cursor: nw-resize;
  top: -6px;
  left: -6px;
}

.actions {
  text-align: right;
  margin: 10px;
  position: absolute;
  bottom: 0;
  right: 0;
}

.actions.tree-view {
  border-bottom-right-radius: 0;
  border-bottom-left-radius: 0;
}

.actions i {
  vertical-align: -.25em;
  background-size: contain;
  width: 15px;
  height: 15px;
  display: inline-block;
}

.actions i.indent {
  background-image: url(../static/svg/indent.svg);
}

.actions i.outdent {
  background-image: url(../static/svg/outdent.svg);
}

.actions i.lock {
  background-image: url(../static/svg/lock-fill.svg);
}

.actions i.image {
  background-image: url(../static/svg/file-image.svg);
}

.actions i.admonition {
  background-image: url(../static/svg/admonition.svg);
}

.actions i.table {
  background-image: url(../static/svg/table.svg);
}

.actions i.unlock {
  background-image: url(../static/svg/lock.svg);
}

.actions i.left-align {
  background-image: url(../static/svg/text-left.svg);
}

.actions i.center-align {
  background-image: url(../static/svg/text-center.svg);
}

.actions i.right-align {
  background-image: url(../static/svg/text-right.svg);
}

.actions i.justify-align {
  background-image: url(../static/svg/justify.svg);
}

.actions i.disconnect {
  background-image: url(../static/svg/plug.svg);
}

.actions i.connect {
  background-image: url(../static/svg/plug-fill.svg);
}

table.disable-selection {
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  user-select: none;
}

table.disable-selection span::selection {
  background-color: #0000;
}

table.disable-selection br::selection {
  background-color: #0000;
}

.table-cell-action-button-container {
  will-change: transform;
  position: absolute;
  top: 0;
  left: 0;
}

.table-cell-action-button {
  background-color: none;
  color: #222;
  cursor: pointer;
  border: 0;
  border-radius: 15px;
  justify-content: center;
  align-items: center;
  display: flex;
  position: relative;
}

i.chevron-down {
  background-color: #0000;
  background-image: url(../static/svg/chevron-down.svg);
  background-size: contain;
  width: 8px;
  height: 8px;
  display: inline-block;
}

.action-button {
  color: #222;
  cursor: pointer;
  background-color: #eee;
  border: 0;
  border-radius: 15px;
  margin-left: 5px;
  padding: 8px 12px;
  display: inline-block;
  position: relative;
}

.action-button:hover {
  color: #000;
  background-color: #ddd;
}

.action-button-mic.active {
  animation: 3s infinite mic-pulsate-color;
}

button.action-button:disabled {
  opacity: .6;
  cursor: not-allowed;
  background: #eee;
}

@keyframes mic-pulsate-color {
  0% {
    background-color: #ffdcdc;
  }

  50% {
    background-color: #ff8585;
  }

  100% {
    background-color: #ffdcdc;
  }
}

.debug-timetravel-panel {
  margin: auto;
  padding: 0 0 10px;
  display: flex;
  overflow: hidden;
}

.debug-timetravel-panel-slider {
  flex: 8;
  padding: 0;
}

.debug-timetravel-panel-button {
  color: #fff;
  background: none;
  border: 0;
  flex: 1;
  padding: 0;
  font-size: 12px;
}

.debug-timetravel-panel-button:hover {
  text-decoration: underline;
}

.debug-timetravel-button {
  color: #fff;
  background: none;
  border: 0;
  padding: 0;
  font-size: 12px;
  position: absolute;
  top: 10px;
  right: 15px;
}

.debug-timetravel-button:hover {
  text-decoration: underline;
}

.debug-treetype-button {
  color: #fff;
  background: none;
  border: 0;
  padding: 0;
  font-size: 12px;
  position: absolute;
  top: 10px;
  right: 85px;
}

.debug-treetype-button:hover {
  text-decoration: underline;
}

.connecting {
  color: #999;
  text-overflow: ellipsis;
  -webkit-user-select: none;
  user-select: none;
  white-space: nowrap;
  pointer-events: none;
  font-size: 15px;
  display: inline-block;
  position: absolute;
  top: 10px;
  left: 10px;
  overflow: hidden;
}

.ltr {
  text-align: left;
}

.rtl {
  text-align: right;
}

.toolbar {
  vertical-align: middle;
  border: 1px solid var(--border-color);
  background-color: var(--background);
  z-index: 9;
  flex-wrap: wrap;
  margin-bottom: 1rem;
  padding: 4px;
  display: flex;
  position: sticky;
  top: 100px;
}

button.toolbar-item {
  cursor: pointer;
  vertical-align: middle;
  background: none;
  border: 0;
  border-radius: 6px;
  flex-shrink: 0;
  justify-content: space-between;
  align-items: center;
  padding: 8px;
  display: flex;
}

button.toolbar-item:disabled {
  cursor: not-allowed;
}

button.toolbar-item.spaced {
  margin-right: 2px;
}

button.toolbar-item i.format {
  vertical-align: -.25em;
  opacity: .6;
  background-size: contain;
  width: 18px;
  height: 18px;
  display: inline-block;
}

button.toolbar-item:disabled .icon, button.toolbar-item:disabled .text, button.toolbar-item:disabled i.format, button.toolbar-item:disabled .chevron-down {
  opacity: .2;
}

button.toolbar-item.active {
  background-color: #dfe8fa4d;
}

button.toolbar-item.active i {
  opacity: 1;
}

.toolbar-item:hover:not([disabled]) {
  background-color: #eee;
}

.toolbar-item.font-family .text {
  max-width: 40px;
  display: block;
}

.toolbar .code-language {
  width: 150px;
}

.toolbar .toolbar-item .text {
  vertical-align: middle;
  color: #777;
  text-overflow: ellipsis;
  text-align: left;
  height: 20px;
  padding-right: 10px;
  font-size: 14px;
  line-height: 20px;
  display: flex;
  overflow: hidden;
}

.toolbar .toolbar-item .icon {
  -webkit-user-select: none;
  user-select: none;
  background-size: contain;
  width: 20px;
  height: 20px;
  margin-right: 8px;
  line-height: 16px;
  display: flex;
}

.toolbar i.chevron-down {
  -webkit-user-select: none;
  user-select: none;
  width: 16px;
  height: 16px;
  margin-top: 3px;
  display: flex;
}

.toolbar i.chevron-down.inside {
  pointer-events: none;
  width: 16px;
  height: 16px;
  margin-top: 11px;
  margin-left: -25px;
  margin-right: 10px;
  display: flex;
}

.toolbar .divider {
  background-color: #eee;
  width: 1px;
  margin: 0 4px;
}

.spacer {
  letter-spacing: -2px;
}

.editor-equation {
  cursor: default;
  -webkit-user-select: none;
  user-select: none;
}

.editor-equation.focused {
  outline: 2px solid #3c84f4;
}

.editor-shell button.item i {
  opacity: .6;
}

button.item.dropdown-item-active {
  background-color: #dfe8fa4d;
}

button.item.dropdown-item-active i {
  opacity: 1;
}

.editor-shell hr {
  cursor: pointer;
  border: none;
  margin: 1em 0;
  padding: 2px;
}

.editor-shell hr:after {
  content: "";
  background-color: #ccc;
  height: 2px;
  line-height: 2px;
  display: block;
}

.editor-shell hr.selected {
  -webkit-user-select: none;
  user-select: none;
  outline: 2px solid #3c84f4;
}

.TableNode__contentEditable {
  resize: none;
  cursor: text;
  -moz-tab-size: 1;
  tab-size: 1;
  -webkit-user-select: text;
  user-select: text;
  white-space: pre-wrap;
  word-break: break-word;
  z-index: 3;
  border: 0;
  outline: 0;
  min-height: 20px;
  padding: 0;
  font-size: 15px;
  display: block;
  position: relative;
}

.LexicalEditorTheme__blockCursor {
  pointer-events: none;
  display: block;
  position: absolute;
}

.LexicalEditorTheme__blockCursor:after {
  content: "";
  border-top: 1px solid #000;
  width: 20px;
  animation: 1.1s steps(2, start) infinite CursorBlink;
  display: block;
  position: absolute;
  top: -2px;
}

@keyframes CursorBlink {
  to {
    visibility: hidden;
  }
}

.dialog-dropdown {
  background-color: #eee;
  width: 100%;
  margin-bottom: 10px;
}

:is(.dark, [data-theme="dark"]) .toolbar i, :is(.dark, [data-theme="dark"]) .toolbar span {
  filter: invert() brightness(1.2);
}

:is(.dark, [data-theme="dark"]) .toolbar .toolbar-item:hover:not([disabled]), :is(.dark, [data-theme="dark"]) .toolbar .divider {
  background-color: #1c1c1c;
}

:is(.dark, [data-theme="dark"]) .editor-shell {
  color: #fff;
}

:is(.dark, [data-theme="dark"]) .dropdown {
  border: 1px solid var(--border-color);
  background: var(--canvas-800);
  color: var(--canvas-800);
  box-shadow: none;
}

:is(.dark, [data-theme="dark"]) .dropdown i {
  filter: invert();
}

:is(.dark, [data-theme="dark"]) .dropdown .item {
  color: #ccc;
  background-color: unset;
}

:is(.dark, [data-theme="dark"]) .dropdown .item:hover {
  background-color: #1c1c1c;
}

:is(.dark, [data-theme="dark"]) .action-button {
  background-color: #262626;
}

:is(.dark, [data-theme="dark"]) .action-button:hover {
  color: #fff;
  background-color: #383838;
}

:is(.dark, [data-theme="dark"]) .action-button i {
  filter: invert();
}

:is(.dark, [data-theme="dark"]) .link-editor .link-input {
  background-color: var(--canvas-700);
  color: #fff;
}

:is(.dark, [data-theme="dark"]) .link-editor div.link-edit, :is(.dark, [data-theme="dark"]) .link-editor div.link-trash {
  filter: invert();
}

:is(.dark, [data-theme="dark"]) .link-editor .link-input a {
  color: #66a7ff;
}

:is(.dark, [data-theme="dark"]) .editor-shell .inline-editor-image .image-caption-container {
  color: #eee;
  background-color: #222;
  min-width: 100%;
  display: block;
  overflow: hidden;
}

:is(.dark, [data-theme="dark"]) .dialog-dropdown {
  background-color: #222;
  width: 100%;
  margin-bottom: 10px;
}

