.template-modes {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}
.template-creator [type='checkbox'] {
  accent-color: var(--green);
}
.template-creator .confirm-reference {
  display: flex;
  align-items: flex-start;
  gap: 0.55rem;
}
.template-creator .reference-sheet {
  display: grid;
  gap: 0.5rem;
  justify-items: start;
}
.template-creator canvas {
  display: block;
  max-width: 100%;
  max-height: 43vh;
  width: auto;
  height: auto;
  background: #eee;
  border: 1px solid var(--line);
  touch-action: none;
  cursor: crosshair;
}
.template-creator .preview-source {
  display: grid;
  grid-template-columns: 76px minmax(0, 1fr);
  gap: 14px;
  align-items: center;
}
.template-creator .preview-source img {
  display: block;
  width: 76px;
  border-radius: 5px;
}
