/* ideagraph — AI "Suggest links" panel */
.ai-suggest {
  position: absolute;
  top: 52px;
  left: 10px;
  width: min(340px, calc(100% - 20px));
  max-height: calc(100% - 64px);
  overflow-y: auto;
  z-index: 6;
  padding: 12px 13px;
  white-space: normal;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2); }
.ai-suggest-head {
  display: flex; align-items: center; justify-content: space-between;
  gap: 8px; margin-bottom: 10px; }
.ai-suggest-actions {
  display: flex; align-items: center; justify-content: space-between;
  gap: 8px; margin-bottom: 8px; }
.ai-suggest-hint { font-size: 11.5px; color: var(--text-faint); }
.ai-suggest-list { display: flex; flex-direction: column; gap: 7px; }
.ai-suggest-row {
  display: flex; align-items: center; gap: 10px;
  padding: 8px 9px; border-radius: var(--radius-sm);
  background: var(--bg-elev); border: 1px solid var(--border-soft); }
.ai-suggest-txt { flex: 1; min-width: 0; }
.ai-suggest-pair {
  font-size: 12.5px; font-weight: 600; color: var(--text);
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ai-suggest-reason {
  font-size: 11.5px; color: var(--text-dim); margin-top: 2px; line-height: 1.35; }
.ai-suggest-row .btn { flex-shrink: 0; }
.ai-suggest-empty { font-size: 12.5px; color: var(--text-dim); padding: 2px 0; }
