/* ../../../../../../Views/Notes/Notes.css */
.notes {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}
@media (min-width: 600px) {
  .notes {
    grid-template-columns: 1fr 2fr;
    min-height: 88vh;
  }
}
.notes .editor .field:first-of-type {
  margin-top: 0;
}
.notes .editor {
  position: relative;
}
.notes .editor .note-tools {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  margin-bottom: 8px;
}
.notes .editor .note-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}
.notes .editor .note-actions .submit {
  flex: 1;
}
.notes .editor .note-actions select {
  margin-left: auto;
  width: auto;
  min-width: 96px;
  padding: 6px 10px;
}
.notes .editor .encrypted textarea {
  border-color: var(--error-text);
}
.modal.encryption {
  max-width: 520px;
}
.tree ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
.tree ul ul {
  padding-left: 28px;
}
.tree-row {
  display: flex;
  align-items: center;
  border-radius: 8px;
}
.tree-row.leaf {
  padding-left: 20px;
}
.tree-row:hover {
  background: var(--hover-bg);
}
.tree-row.selected {
  background: color-mix(in srgb, var(--accent) 16%, transparent);
}
.tree-row.selected .tree-label {
  color: var(--accent);
}
.tree-row.drop {
  background: color-mix(in srgb, var(--accent) 16%, transparent);
  box-shadow: inset 0 0 0 2px var(--accent);
}
.tree-row.dragging {
  opacity: 0.5;
}
.tree-row.leaf[draggable] {
  cursor: grab;
}
.tree-toggle svg.i {
  transition: transform 0.15s ease;
}
.tree-toggle.open svg.i {
  transform: rotate(90deg);
}
.tree-label {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  padding: 8px 6px;
  font-size: 0.95rem;
  font-weight: 400;
  text-align: left;
  color: var(--text);
  background: none;
  border: none;
}
