.notes-template-select {
  max-width: 140px;
}

.note-md-rendered img.md-image,
.note-md-rendered img.md-attachment {
  display: block;
  max-width: 100%;
  height: auto;
  margin: 10px 0;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-subtle);
}

.wiki-suggest {
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 16px;
  z-index: 5;
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 6px;
  background: var(--bg-base);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-md);
  box-shadow: 0 10px 24px rgba(17, 18, 22, 0.12);
}

.wiki-suggest[hidden] {
  display: none;
}

.wiki-suggest-item {
  text-align: left;
  padding: 6px 10px;
  border: 0;
  border-radius: var(--radius-sm);
  background: transparent;
  font: inherit;
  font-size: 0.8125rem;
  color: var(--text-primary);
  cursor: pointer;
}

.wiki-suggest-item:hover,
.wiki-suggest-item.is-active {
  background: var(--bg-subtle, #f3f4f6);
}

.note-open-link {
  border: 0;
  cursor: pointer;
  font: inherit;
}

.wl-row.is-static {
  cursor: default;
}
