.line-editor {
  display: flex;
  align-items: stretch;
  width: 100%;
  height: 100%;
  min-height: inherit;
  background: inherit;
  overflow: hidden;
}
.line-gutter {
  margin: 0;
  padding: 1rem 0.55rem 1rem 0.75rem;
  min-width: 2.75rem;
  text-align: right;
  font-family: "JetBrains Mono", "Fira Code", ui-monospace, monospace;
  font-size: 0.9rem;
  line-height: 1.45;
  color: #6b7c99;
  background: #0d1524;
  border-right: 1px solid #2d3a4d;
  user-select: none;
  overflow: hidden;
  white-space: pre;
  cursor: pointer;
}
.line-gutter .ln {
  display: inline-block;
  min-width: 1.6em;
  padding: 0 0.2em;
  border-radius: 3px;
}
.line-gutter .ln.mark-error {
  background: rgba(255, 90, 90, 0.35);
  color: #ffb4b4;
  font-weight: 700;
  box-shadow: inset 3px 0 0 #ff5a5a;
}
.line-gutter .ln.mark-warning {
  background: rgba(255, 190, 60, 0.28);
  color: #ffd58a;
  font-weight: 600;
  box-shadow: inset 3px 0 0 #ffbe3c;
}
.line-editor textarea {
  flex: 1;
  width: auto !important;
  min-width: 0;
  border: none !important;
  padding-left: 0.75rem !important;
  font-size: 0.9rem;
  line-height: 1.45;
  tab-size: 2;
}
/* exercise mobile slightly smaller */
#screen-editor .line-gutter {
  font-size: 0.82rem;
  padding: 0.85rem 0.45rem 0.85rem 0.55rem;
  min-width: 2.4rem;
}
#screen-editor .line-editor textarea {
  font-size: 0.82rem;
  line-height: 1.45;
}
