/**
 * Copyright (c) Meta Platforms, Inc. and affiliates.
 *
 * This source code is licensed under the MIT license found in the
 * LICENSE file in the root directory of this source tree.
 *
 *
 */
/* line 10, app/assets/stylesheets/sh_editor.scss */
.ShEditor__ltr {
  text-align: left;
}

/* line 13, app/assets/stylesheets/sh_editor.scss */
.ShEditor__rtl {
  text-align: right;
}

/* line 16, app/assets/stylesheets/sh_editor.scss */
.ShEditor__paragraph {
  margin: 0;
  position: relative;
}

/* line 20, app/assets/stylesheets/sh_editor.scss */
.ShEditor__quote {
  margin: 0;
  margin-left: 20px;
  margin-bottom: 10px;
  font-size: 15px;
  color: #65676b;
  border-left-color: #ced0d4;
  border-left-width: 4px;
  border-left-style: solid;
  padding-left: 16px;
}

/* line 31, app/assets/stylesheets/sh_editor.scss */
.ShEditor__h1 {
  font-size: 24px;
  color: #050505;
  font-weight: 400;
  margin: 0;
}

/* line 37, app/assets/stylesheets/sh_editor.scss */
.ShEditor__h2 {
  font-size: 15px;
  color: #65676b;
  font-weight: 700;
  margin: 0;
  text-transform: uppercase;
}

/* line 44, app/assets/stylesheets/sh_editor.scss */
.ShEditor__h3 {
  font-size: 12px;
  margin: 0;
  text-transform: uppercase;
}

/* line 49, app/assets/stylesheets/sh_editor.scss */
.ShEditor__indent {
  --lexical-indent-base-value: 40px;
}

/* line 52, app/assets/stylesheets/sh_editor.scss */
.ShEditor__textBold {
  font-weight: bold;
}

/* line 55, app/assets/stylesheets/sh_editor.scss */
.ShEditor__textItalic {
  font-style: italic;
}

/* line 58, app/assets/stylesheets/sh_editor.scss */
.ShEditor__textUnderline {
  text-decoration: underline;
}

/* line 61, app/assets/stylesheets/sh_editor.scss */
.ShEditor__textStrikethrough {
  text-decoration: line-through;
}

/* line 64, app/assets/stylesheets/sh_editor.scss */
.ShEditor__textUnderlineStrikethrough {
  text-decoration: underline line-through;
}

/* line 67, app/assets/stylesheets/sh_editor.scss */
.ShEditor__textSubscript {
  font-size: 0.8em;
  vertical-align: sub !important;
}

/* line 71, app/assets/stylesheets/sh_editor.scss */
.ShEditor__textSuperscript {
  font-size: 0.8em;
  vertical-align: super;
}

/* line 75, app/assets/stylesheets/sh_editor.scss */
.ShEditor__textCode {
  background-color: #f0f2f5;
  padding: 1px 0.25rem;
  font-family: Menlo, Consolas, Monaco, monospace;
  font-size: 94%;
}

/* line 81, app/assets/stylesheets/sh_editor.scss */
.ShEditor__hashtag {
  background-color: rgba(88, 144, 255, 0.15);
  border-bottom: 1px solid rgba(88, 144, 255, 0.3);
}

/* line 85, app/assets/stylesheets/sh_editor.scss */
.ShEditor__link {
  color: #216fdb;
  text-decoration: none;
}

/* line 89, app/assets/stylesheets/sh_editor.scss */
.ShEditor__link:hover {
  text-decoration: underline;
  cursor: pointer;
}

/* line 93, app/assets/stylesheets/sh_editor.scss */
.ShEditor__code {
  background-color: #f0f2f5;
  font-family: Menlo, Consolas, Monaco, monospace;
  display: block;
  padding: 8px 8px 8px 52px;
  line-height: 1.53;
  font-size: 13px;
  margin: 0;
  margin-top: 8px;
  margin-bottom: 8px;
  overflow-x: auto;
  position: relative;
  tab-size: 2;
}

/* line 107, app/assets/stylesheets/sh_editor.scss */
.ShEditor__code:before {
  content: attr(data-gutter);
  position: absolute;
  background-color: #eee;
  left: 0;
  top: 0;
  border-right: 1px solid #ccc;
  padding: 8px;
  color: #777;
  white-space: pre-wrap;
  text-align: right;
  min-width: 25px;
}

/* line 120, app/assets/stylesheets/sh_editor.scss */
.ShEditor__table {
  border-collapse: collapse;
  border-spacing: 0;
  overflow-y: scroll;
  overflow-x: scroll;
  table-layout: fixed;
  width: max-content;
  margin: 0px 25px 30px 0px;
}

/* line 129, app/assets/stylesheets/sh_editor.scss */
.ShEditor__tableSelection *::selection {
  background-color: transparent;
}

/* line 132, app/assets/stylesheets/sh_editor.scss */
.ShEditor__tableSelected {
  outline: 2px solid #3c84f4;
}

/* line 135, app/assets/stylesheets/sh_editor.scss */
.ShEditor__tableCell {
  border: 1px solid #bbb;
  width: 75px;
  min-width: 75px;
  vertical-align: top;
  text-align: start;
  padding: 6px 8px;
  position: relative;
  outline: none;
}

/* line 145, app/assets/stylesheets/sh_editor.scss */
.ShEditor__tableCellSortedIndicator {
  display: block;
  opacity: 0.5;
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background-color: #999;
}

/* line 155, app/assets/stylesheets/sh_editor.scss */
.ShEditor__tableCellResizer {
  position: absolute;
  right: -4px;
  height: 100%;
  width: 8px;
  cursor: ew-resize;
  z-index: 10;
  top: 0;
}

/* line 164, app/assets/stylesheets/sh_editor.scss */
.ShEditor__tableCellHeader {
  background-color: #f2f3f5;
  text-align: start;
}

/* line 168, app/assets/stylesheets/sh_editor.scss */
.ShEditor__tableCellSelected {
  background-color: #c9dbf0;
}

/* line 171, app/assets/stylesheets/sh_editor.scss */
.ShEditor__tableCellPrimarySelected {
  border: 2px solid #3c84f4;
  display: block;
  height: calc(100% - 2px);
  position: absolute;
  width: calc(100% - 2px);
  left: -1px;
  top: -1px;
  z-index: 2;
}

/* line 181, app/assets/stylesheets/sh_editor.scss */
.ShEditor__tableCellEditing {
  box-shadow: 0 0 5px rgba(0, 0, 0, 0.4);
  border-radius: 3px;
}

/* line 185, app/assets/stylesheets/sh_editor.scss */
.ShEditor__tableAddColumns {
  position: absolute;
  background-color: #eee;
  height: 100%;
  animation: table-controls 0.2s ease;
  border: 0;
  cursor: pointer;
}

/* line 193, app/assets/stylesheets/sh_editor.scss */
.ShEditor__tableAddColumns:after {
  background-image: url(/editor/images/icons/plus.svg);
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
  display: block;
  content: ' ';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0.4;
}

/* line 207, app/assets/stylesheets/sh_editor.scss */
.ShEditor__tableAddColumns:hover,
.ShEditor__tableAddRows:hover {
  background-color: #c9dbf0;
}

/* line 211, app/assets/stylesheets/sh_editor.scss */
.ShEditor__tableAddRows {
  position: absolute;
  width: calc(100% - 25px);
  background-color: #eee;
  animation: table-controls 0.2s ease;
  border: 0;
  cursor: pointer;
}

/* line 219, app/assets/stylesheets/sh_editor.scss */
.ShEditor__tableAddRows:after {
  background-image: url(/editor/images/icons/plus.svg);
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
  display: block;
  content: ' ';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0.4;
}

@keyframes table-controls {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}

/* line 241, app/assets/stylesheets/sh_editor.scss */
.ShEditor__tableCellResizeRuler {
  display: block;
  position: absolute;
  width: 1px;
  background-color: #3c84f4;
  height: 100%;
  top: 0;
}

/* line 249, app/assets/stylesheets/sh_editor.scss */
.ShEditor__tableCellActionButtonContainer {
  display: block;
  right: 5px;
  top: 6px;
  position: absolute;
  z-index: 4;
  width: 20px;
  height: 20px;
}

/* line 258, app/assets/stylesheets/sh_editor.scss */
.ShEditor__tableCellActionButton {
  background-color: #eee;
  display: block;
  border: 0;
  border-radius: 20px;
  width: 20px;
  height: 20px;
  color: #222;
  cursor: pointer;
}

/* line 268, app/assets/stylesheets/sh_editor.scss */
.ShEditor__tableCellActionButton:hover {
  background-color: #ddd;
}

/* line 271, app/assets/stylesheets/sh_editor.scss */
.ShEditor__characterLimit {
  display: inline;
  background-color: #ffbbbb !important;
}

/* line 275, app/assets/stylesheets/sh_editor.scss */
.ShEditor__ol1 {
  padding: 0;
  margin: 0;
  list-style: decimal;
  list-style-position: outside;
}

/* line 281, app/assets/stylesheets/sh_editor.scss */
.ShEditor__ol2 {
  padding: 0;
  margin: 0;
  list-style-type: upper-alpha;
  list-style-position: outside;
}

/* line 287, app/assets/stylesheets/sh_editor.scss */
.ShEditor__ol3 {
  padding: 0;
  margin: 0;
  list-style-type: lower-alpha;
  list-style-position: outside;
}

/* line 293, app/assets/stylesheets/sh_editor.scss */
.ShEditor__ol4 {
  padding: 0;
  margin: 0;
  list-style-type: upper-roman;
  list-style-position: outside;
}

/* line 299, app/assets/stylesheets/sh_editor.scss */
.ShEditor__ol5 {
  padding: 0;
  margin: 0;
  list-style-type: lower-roman;
  list-style-position: outside;
}

/* line 305, app/assets/stylesheets/sh_editor.scss */
.ShEditor__ul {
  padding: 0;
  margin: 0;
  list-style: disc;
  list-style-position: outside;
}

/* line 311, app/assets/stylesheets/sh_editor.scss */
.ShEditor__listItem {
  margin: 0 32px;
}

/* line 314, app/assets/stylesheets/sh_editor.scss */
.ShEditor__listItemChecked,
.ShEditor__listItemUnchecked {
  position: relative;
  margin-left: 8px;
  margin-right: 8px;
  padding-left: 24px;
  padding-right: 24px;
  list-style-type: none;
  outline: none;
}

/* line 324, app/assets/stylesheets/sh_editor.scss */
.ShEditor__listItemChecked {
  text-decoration: line-through;
}

/* line 327, app/assets/stylesheets/sh_editor.scss */
.ShEditor__listItemUnchecked:before,
.ShEditor__listItemChecked:before {
  content: '';
  width: 16px;
  height: 16px;
  top: 2px;
  left: 0;
  cursor: pointer;
  display: block;
  background-size: cover;
  position: absolute;
}

/* line 339, app/assets/stylesheets/sh_editor.scss */
.ShEditor__listItemUnchecked[dir='rtl']:before,
.ShEditor__listItemChecked[dir='rtl']:before {
  left: auto;
  right: 0;
}

/* line 344, app/assets/stylesheets/sh_editor.scss */
.ShEditor__listItemUnchecked:focus:before,
.ShEditor__listItemChecked:focus:before {
  box-shadow: 0 0 0 2px #a6cdfe;
  border-radius: 2px;
}

/* line 349, app/assets/stylesheets/sh_editor.scss */
.ShEditor__listItemUnchecked:before {
  border: 1px solid #999;
  border-radius: 2px;
}

/* line 353, app/assets/stylesheets/sh_editor.scss */
.ShEditor__listItemChecked:before {
  border: 1px solid #3d87f5;
  border-radius: 2px;
  background-color: #3d87f5;
  background-repeat: no-repeat;
}

/* line 359, app/assets/stylesheets/sh_editor.scss */
.ShEditor__listItemChecked:after {
  content: '';
  cursor: pointer;
  border-color: #fff;
  border-style: solid;
  position: absolute;
  display: block;
  top: 6px;
  width: 3px;
  left: 7px;
  right: 7px;
  height: 6px;
  transform: rotate(45deg);
  border-width: 0 2px 2px 0;
}

/* line 374, app/assets/stylesheets/sh_editor.scss */
.ShEditor__nestedListItem {
  list-style-type: none;
}

/* line 377, app/assets/stylesheets/sh_editor.scss */
.ShEditor__nestedListItem:before,
.ShEditor__nestedListItem:after {
  display: none;
}

/* line 381, app/assets/stylesheets/sh_editor.scss */
.ShEditor__tokenComment {
  color: slategray;
}

/* line 384, app/assets/stylesheets/sh_editor.scss */
.ShEditor__tokenPunctuation {
  color: #999;
}

/* line 387, app/assets/stylesheets/sh_editor.scss */
.ShEditor__tokenProperty {
  color: #905;
}

/* line 390, app/assets/stylesheets/sh_editor.scss */
.ShEditor__tokenSelector {
  color: #690;
}

/* line 393, app/assets/stylesheets/sh_editor.scss */
.ShEditor__tokenOperator {
  color: #9a6e3a;
}

/* line 396, app/assets/stylesheets/sh_editor.scss */
.ShEditor__tokenAttr {
  color: #07a;
}

/* line 399, app/assets/stylesheets/sh_editor.scss */
.ShEditor__tokenVariable {
  color: #e90;
}

/* line 402, app/assets/stylesheets/sh_editor.scss */
.ShEditor__tokenFunction {
  color: #dd4a68;
}

/* line 405, app/assets/stylesheets/sh_editor.scss */
.ShEditor__mark {
  background: rgba(255, 212, 0, 0.14);
  border-bottom: 2px solid rgba(255, 212, 0, 0.3);
  padding-bottom: 2px;
}

/* line 410, app/assets/stylesheets/sh_editor.scss */
.ShEditor__markOverlap {
  background: rgba(255, 212, 0, 0.3);
  border-bottom: 2px solid rgba(255, 212, 0, 0.7);
}

/* line 414, app/assets/stylesheets/sh_editor.scss */
.ShEditor__mark.selected {
  background: rgba(255, 212, 0, 0.5);
  border-bottom: 2px solid #ffd400;
}

/* line 418, app/assets/stylesheets/sh_editor.scss */
.ShEditor__markOverlap.selected {
  background: rgba(255, 212, 0, 0.7);
  border-bottom: 2px solid rgba(255, 212, 0, 0.7);
}

/* line 422, app/assets/stylesheets/sh_editor.scss */
.ShEditor__embedBlock {
  user-select: none;
}

/* line 425, app/assets/stylesheets/sh_editor.scss */
.ShEditor__embedBlockFocus {
  outline: 2px solid #3c84f4;
}

/* line 428, app/assets/stylesheets/sh_editor.scss */
.ShEditor__layoutContainer {
  display: grid;
  gap: 10px;
  margin: 10px 0;
}

/* line 433, app/assets/stylesheets/sh_editor.scss */
.ShEditor__layoutItem {
  border: 1px dashed #ddd;
  padding: 8px 16px;
}

/* line 437, app/assets/stylesheets/sh_editor.scss */
.ShEditor__autocomplete {
  color: #ccc;
}

/* line 440, app/assets/stylesheets/sh_editor.scss */
.ShEditor__hr {
  padding: 2px 2px;
  border: none;
  margin: 1em 0;
  cursor: pointer;
}

/* line 446, app/assets/stylesheets/sh_editor.scss */
.ShEditor__hr:after {
  content: '';
  display: block;
  height: 2px;
  background-color: #ccc;
  line-height: 2px;
}

/* line 453, app/assets/stylesheets/sh_editor.scss */
.ShEditor__hr.selected {
  outline: 2px solid #3c84f4;
  user-select: none;
}
