/* Project links */
.link-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  background: var(--surface-1);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 12px 14px;
  margin-bottom: 8px;
  box-shadow: var(--shadow-sm);
}

.link-info {
  min-width: 0;
  flex: 1;
}

.link-title {
  display: block;
  font-size: 15px;
  font-weight: 600;
  color: var(--text-primary);
  text-decoration: none;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.link-title:hover {
  color: var(--accent);
}

.link-url {
  font-size: 12px;
  color: var(--text-muted);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  margin-top: 2px;
}

.link-actions {
  display: flex;
  align-items: center;
  gap: 2px;
  flex: none;
}

.link-actions .delete-x,
.log-meta .delete-x {
  position: static;
  margin-left: 4px;
}

.move-btn {
  width: 30px;
  height: 30px;
  border-radius: 8px;
  border: none;
  background: none;
  color: var(--text-secondary);
  font-size: 15px;
  cursor: pointer;
  transition: background 0.15s ease;
}

.move-btn:hover:not(:disabled) {
  background: var(--surface-3);
}

.move-btn:disabled {
  opacity: 0.25;
  cursor: default;
}

/* Project log */
.log-form {
  background: var(--surface-1);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 14px;
  box-shadow: var(--shadow-sm);
}

.log-form textarea {
  width: 100%;
  resize: vertical;
  min-height: 64px;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1.5px solid var(--border);
  background: var(--surface-2);
  color: var(--text-primary);
  font-size: 15px;
  font-family: inherit;
  margin-bottom: 10px;
}

.log-form textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-wash);
}

.log-form .btn {
  flex: none;
  padding: 10px 18px;
}

.log-entry {
  background: var(--surface-1);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 12px 14px;
  margin-bottom: 8px;
  box-shadow: var(--shadow-sm);
}

.log-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 12px;
  font-weight: 500;
  color: var(--text-muted);
  margin-bottom: 6px;
}

.log-body {
  font-size: 14px;
  line-height: 1.5;
  white-space: pre-wrap;
  word-break: break-word;
}

.log-meta-actions {
  display: flex;
  align-items: center;
  gap: 2px;
}

.edit-btn {
  flex-shrink: 0;
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: none;
  border: none;
  border-radius: 50%;
  color: var(--text-secondary);
  font-size: 15px;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease;
}

.edit-btn:hover {
  background: var(--surface-3);
  color: var(--accent);
}

.log-edit-textarea {
  width: 100%;
  resize: vertical;
  min-height: 64px;
  padding: 10px 12px;
  border-radius: 10px;
  border: 1.5px solid var(--accent);
  background: var(--surface-2);
  color: var(--text-primary);
  font-size: 14px;
  font-family: inherit;
  margin-bottom: 8px;
}

.log-edit-textarea:focus {
  outline: none;
  box-shadow: 0 0 0 3px var(--accent-wash);
}

.log-edit-actions {
  display: flex;
  gap: 8px;
}

.log-edit-actions .btn {
  flex: none;
  padding: 8px 16px;
  font-size: 13px;
}

