:root {
  --colorFg: #000;
  --colorFgFaded: #5a5959;
  --colorFgFadedMost: #a0a0a0;
  --colorBg: #fff;
  --colorBgDark: #efefef;
  --colorBgDarker: #e8e8e8;
  --colorHighlightBg: #2c78f2;
}
@media (prefers-color-scheme: dark) {
  :root {
    --colorFg: #fff;
    --colorFgFaded: #f2f3f3;
    --colorFgFadedMost: #c8c9c9;
    --colorBg: #353739;
    --colorBgDark: #2f3133;
    --colorBgDarker: #292b2d;
    --colorHighlightBg: #6ea4ff;
  }
}
body {
  font-family: Arial, sans-serif;
  color: var(--colorFg);
  background-color: var(--colorBg);
  margin: 0px;
  padding: 0px;
}
a {
  color: var(--colorHighlightBg);
}
.NotesEditor-placeholder {
  height: 100%;
}
.note-manager {
  position: relative;
  height: 100%;
}
.editor-wrapper {
  position: relative;
  padding: 0 3px;
}
.editor-wrapper .editor-contenteditable {
  padding: 0px;
  overflow: auto;
  overscroll-behavior: none;
  outline: none;
  width: 100%;
}
.editor-wrapper .bold {
  font-weight: 600;
}
.editor-wrapper .strikethrough {
  text-decoration: line-through;
}
.editor-wrapper .underline {
  text-decoration: underline;
}
.editor-wrapper .text-code {
  background-color: var(--colorBgDarker);
}
.editor-wrapper .quote {
  margin: 3px 0;
  color: var(--colorFgFaded);
  border-left-color: var(--colorFgFadedMost);
  border-left-width: 6px;
  border-left-style: solid;
  padding-left: 12px;
}
.editor-wrapper .hr {
  padding: 2px 2px;
  border: none;
  cursor: pointer;
}
.editor-wrapper .hr:after {
  content: '';
  display: block;
  height: 1px;
  background-color: var(--colorFgFadedMost);
  line-height: 1px;
}
.editor-wrapper .hr.selected {
  outline: 2px solid var(--colorHighlightBg);
  user-select: none;
}
.editor-wrapper .code-block {
  background-color: var(--colorBgDarker);
  display: block;
  padding: 6px 6px 6px 48px;
  margin: 6px 0 6px 0;
  overflow-x: auto;
  position: relative;
  tab-size: 2;
}
.editor-wrapper .code-block .code-attr {
  color: #b859b5;
}
.editor-wrapper .code-block .code-property {
  color: #ac884a;
}
.editor-wrapper .code-block .code-string {
  color: #50a14f;
}
.editor-wrapper .code-block .code-variable {
  color: #d34662;
}
.editor-wrapper .code-block .code-comment {
  color: #a0a1a7;
}
.editor-wrapper .code-block .code-function {
  color: #5180e8;
}
.editor-wrapper .code-block:before {
  background-color: var(--colorBgDark);
  content: attr(data-gutter);
  position: absolute;
  left: 0;
  top: 0;
  border-right: 1px solid var(--colorFgFaded);
  padding: 6px;
  color: var(--colorFgFadedMost);
  white-space: pre-wrap;
  text-align: right;
  min-width: 18px;
}
.editor-wrapper .ulList {
  padding: 0;
  margin: 7px;
  list-style-position: outside;
}
.editor-wrapper .olList-1,
.editor-wrapper .olList-2,
.editor-wrapper .olList-3,
.editor-wrapper .olList-4,
.editor-wrapper .olList-5 {
  padding: 0;
  margin: 14px;
  list-style-position: outside;
}
.editor-wrapper .ulList {
  list-style: unset;
}
.editor-wrapper .ulList .ulList {
  list-style: circle;
}
.editor-wrapper .ulList .ulList .ulList {
  list-style: square;
}
.editor-wrapper .olList-2 {
  list-style-type: upper-alpha;
}
.editor-wrapper .olList-3 {
  list-style-type: lower-alpha;
}
.editor-wrapper .olList-4 {
  list-style-type: upper-roman;
}
.editor-wrapper .olList-5 {
  list-style-type: lower-roman;
}
.editor-wrapper .listItem {
  margin: 3px 18px;
}
.editor-wrapper .listItemChecked,
.editor-wrapper .listItemUnchecked {
  position: relative;
  margin-left: 0;
  margin-right: 0;
  padding-left: 24px;
  padding-right: 24px;
  list-style-type: none;
  outline: none;
}
.editor-wrapper .listItemChecked {
  text-decoration: line-through;
}
.editor-wrapper .listItemChecked:before,
.editor-wrapper .listItemUnchecked:before {
  content: '';
  width: 14px;
  height: 14px;
  left: -3.5px;
  cursor: pointer;
  display: block;
  background-size: cover;
  position: absolute;
}
.editor-wrapper .listItemChecked:before {
  border: 1px solid #3d87f5;
  border-radius: 2px;
  background-color: #3d87f5;
  background-repeat: no-repeat;
}
.editor-wrapper .listItemChecked:after {
  content: '';
  cursor: pointer;
  border-color: #fff;
  border-style: solid;
  position: absolute;
  display: block;
  top: 2px;
  width: 3px;
  left: 2px;
  right: 2px;
  height: 6px;
  transform: rotate(45deg);
  border-width: 0 2px 2px 0;
}
.editor-wrapper .listItemUnchecked:before {
  border: 1px solid #999;
  border-radius: 2px;
}
.editor-wrapper .listItemUnchecked[dir='rtl']:before,
.editor-wrapper .listItemChecked[dir='rtl']:before {
  left: auto;
  right: 0;
}
.editor-wrapper .nestedListItem {
  list-style-type: none;
}
.editor-wrapper .nestedListItem:before,
.editor-wrapper .nestedListItem:after {
  display: none;
}
.editor-wrapper .editor-link {
  cursor: pointer;
}
.editor-wrapper .editor-image {
  position: relative;
  display: inline-block;
  padding: 0 2px;
}
.editor-wrapper .editor-image img.focused {
  outline: 2px solid #3c84f4;
  user-select: none;
  cursor: grab;
}
.editor-wrapper .editor-image .image-resizer {
  display: block;
  width: 7px;
  height: 7px;
  position: absolute;
  background-color: #3c84f4;
  border: 1px solid #fff;
}
.editor-wrapper .editor-image .image-resizer.image-resizer-n {
  top: -6px;
  left: 48%;
  cursor: n-resize;
}
.editor-wrapper .editor-image .image-resizer.image-resizer-ne {
  top: -6px;
  right: -6px;
  cursor: ne-resize;
}
.editor-wrapper .editor-image .image-resizer.image-resizer-e {
  bottom: 48%;
  right: -6px;
  cursor: e-resize;
}
.editor-wrapper .editor-image .image-resizer.image-resizer-se {
  bottom: -2px;
  right: -6px;
  cursor: nwse-resize;
}
.editor-wrapper .editor-image .image-resizer.image-resizer-s {
  bottom: -2px;
  left: 48%;
  cursor: s-resize;
}
.editor-wrapper .editor-image .image-resizer.image-resizer-sw {
  bottom: -2px;
  left: -6px;
  cursor: sw-resize;
}
.editor-wrapper .editor-image .image-resizer.image-resizer-w {
  bottom: 48%;
  left: -6px;
  cursor: w-resize;
}
.editor-wrapper .editor-image .image-resizer.image-resizer-nw {
  top: -6px;
  left: -6px;
  cursor: nw-resize;
}
.editor-wrapper .editor-table {
  border-collapse: collapse;
  border-spacing: 0;
  overflow-y: scroll;
  overflow-x: scroll;
  table-layout: fixed;
  width: max-content;
}
.editor-wrapper .editor-tableSelection *::selection {
  background-color: transparent;
}
.editor-wrapper .editor-tableCell {
  border: 1px solid var(--colorFgFadedMost);
  vertical-align: top;
  text-align: start;
  padding: 6px;
  position: relative;
  outline: none;
}
.editor-wrapper .editor-tableCellHeader {
  background-color: var(--colorBgDarker);
  text-align: start;
}

