html {
  font-family: monospace;
  background: #1d1f21;
  color: #c5c8c6;
}

.line-content {
  position: absolute;
  left: 1.5em;
  right: 0;
  height: 1.5em;
  top: 0;
}

.line-summary {
  height: 100%;
  list-style: none;
  cursor: pointer;
  user-select: none;
  width: 1.2em;
  text-align: center;
  border-radius: 0.2em;
  background: #126eff;
  color: white;
  opacity: 0;
  font-weight: bold;
}

.line-summary::before {
  content: '＋';
}

.line-details[open] .line-summary::before {
   content: '—';
}

.line-details[open] .line-summary {
   opacity: 1;
}

.line-row:hover .line-summary {
   opacity: 1;
}

.line-row {
  position: relative;
  min-height: 1em;
  margin-bottom: 0;
  padding-bottom: 0;
  line-height: 1.4em;
}

.line-comment-input {
   width: 100%;
   box-sizing: border-box;
   resize: vertical;
}

.line-comment-actions {
   display: flex;
   flex-direction: row;
   justify-content: flex-end;
}

.red {
  color: #cc6666;
}

.green {
  color: #b5bd68;
}

.yellow {
  color: #f0c674;
}

.blue {
  color: #81a2be;
}

.purple {
  color: #b294bb;
}

.cyan {
  color: #8abeb7;
}

.white {
  color: #c5c8c6;
}

.diff-grid {
   display: grid;
   grid-template-columns: max-content 1fr max-content 1fr;
}

.line-num {
   min-width: 2em;
   text-align: center;
   user-select: none;
}
