.note .note-title-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1rem;
}

.note .note-title-row > h1 {
  font-size: 2rem;
  font-weight: 700;
  color: var(--font-color);
  margin: 0;
  line-height: 1.2;
}

.note .edit-link {
  margin-top: 1.5rem;
}

.note .edit-link a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  height: 36px;
  padding: 0 1rem;
  background-color: var(--color-button);
  color: white;
  border: none;
  border-radius: 4px;
  font-weight: 600;
  font-size: 0.85rem;
  text-decoration: none;
  cursor: pointer;
  transition: opacity 0.2s;

  &:hover {
    opacity: 0.9;
  }

  & svg,
  & img {
    flex-shrink: 0;
    width: 16px;
    height: 16px;
    filter: invert(1);
  }
}

.note .bottom-links {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--color-border);
}

.note .bottom-links .back-link {
  margin-top: 0;
  padding-top: 0;
  border-top: none;
}

.note .bottom-links .report-link a {
  text-decoration: none;
  font-size: 0.85rem;
  color: #52525b;
  padding: 0.4rem 0.8rem;
  transition: color 0.4s;
}

.note .bottom-links .report-link a:hover {
  color: var(--color-orange);
}

.note .thenote .content {
  white-space: pre-wrap;
}