/* modified from https://github.com/MatheusAvellar/textarea-line-numbers/ */
.tln-active,
.tln-wrapper,
.tln-line {
  margin: 0;
  border: 0;
  padding: 0;
  outline: 0;
  box-sizing: border-box;
  vertical-align: middle;
  list-style: none;
}
.tln-active {
  display: inline-block;
  padding: 0.625em;
  width: calc(100% - 3.75em);
  height: 100%;
  word-break: break-all;
  resize: none;
  overflow-wrap: normal;
  overflow-x: auto;
  white-space: pre;
  font: 1em/1.5 "Roboto Mono", monospace;
}
.tln-wrapper {
  width: 3.75em;
  padding: 0.6875em 0.3125em 2.1875em;
  height: 100%;
  word-break: break-all;
  overflow: hidden;
  display: inline-block;
  counter-reset: line;
}
.tln-line {
  width: 100%;
  display: block;
  text-align: right;
  line-height: 1.5;
  font-size: 1em;
  color: #aeaeae;
}
.tln-line::before {
  counter-increment: line;
  content: counter(line);
  font-size: 1em;
  user-select: none;
}
