.recipeTextEditorSurface {
  min-height: 12rem;
  padding: 12px;
  border: 1px solid rgba(18, 20, 38, 0.14);
  border-radius: 8px;
  background: #fff;
  color: var(--text);
  font: inherit;
  line-height: 1.55;
  outline: none;
}

.recipeTextEditorSurface [data-recipe-text-red],
.recipeTextEditorSurface .recipeTextEditorRedText {
  color: #9b1c24;
}

.recipeTextEditorSurface:focus {
  border-color: rgba(112, 76, 43, 0.42);
  box-shadow: 0 0 0 3px rgba(191, 159, 122, 0.22);
}

.recipeTextEditorSurface p,
.recipeTextEditorSurface ul,
.recipeTextEditorSurface ol,
.recipeTextEditorSurface h2,
.recipeTextEditorSurface h3 {
  margin-top: 0;
}

.recipeTextEditorSurface p,
.recipeTextEditorSurface ul,
.recipeTextEditorSurface ol {
  margin-bottom: 0.95rem;
}

.recipeTextEditorSurface h2 {
  margin-bottom: 0.68rem;
  font-size: 1.18em;
  font-weight: 880;
  line-height: 1.22;
  color: var(--text);
}

.recipeTextEditorSurface h3 {
  margin-bottom: 0.56rem;
  font-size: 1.09em;
  font-weight: 820;
  line-height: 1.24;
  color: rgba(18,20,38,.74);
}
.recipeTextEditorSurface h3[data-recipe-text-red],
.recipeTextEditorSurface h3 .recipeTextEditorRedText {
  color: rgba(155,28,36,.82);
}

.recipeTextEditorSurface ul,
.recipeTextEditorSurface ol {
  padding-left: 1.35rem;
}

.recipeTextEditorSurface li {
  margin-bottom: 0.32rem;
}

.recipeTextEditorSurface p.recipeIngredientAutoBullet {
  position: relative;
  padding-left: 1.35rem;
}

.recipeTextEditorSurface p.recipeIngredientAutoBullet::before {
  content: "\2022";
  position: absolute;
  left: 0.25rem;
  top: 0;
  pointer-events: none;
  user-select: none;
}

.recipeTextEditorSurface p.recipeIngredientNote {
  margin-left: 1.35em;
}

.recipeTextEditorSurface p.recipeInstructionAutoNumber {
  position: relative;
  padding-left: calc(var(--recipe-instruction-number-width, 2ch) + 0.5ch);
}

.recipeTextEditorSurface p.recipeInstructionAutoNumber::before {
  content: attr(data-recipe-instruction-number) ".";
  position: absolute;
  left: 0;
  top: 0;
  width: var(--recipe-instruction-number-width, 2ch);
  color: var(--text);
  font-weight: 400;
  font-style: normal;
  font-variant-numeric: tabular-nums;
  pointer-events: none;
  user-select: none;
}

.recipeTextEditorSurface > :last-child {
  margin-bottom: 0;
}
