/* The guide follows the same index calculation used when an item is released. */
.column-entry.hn-insert-before::before,
.column-entry.hn-insert-after::after,
.column-items.hn-insert-empty::before {
  content: '';
  position: absolute;
  inset-inline: 7px;
  height: 3px;
  border-radius: 3px;
  background: var(--theme-accent, #4d8e75);
  box-shadow: 0 0 0 2px var(--theme-surface, #fff);
  z-index: 12;
  pointer-events: none;
}
.column-entry.hn-insert-before::before { top: 0; }
.column-entry.hn-insert-after::after { bottom: 0; }
.column-items.hn-insert-empty { position: relative; min-height: 14px; }
.column-items.hn-insert-empty::before { top: 0; }

/* Dropping in the center of a board opens it; near a list row edge inserts a row. */
.board-card.hn-board-drop-target .folder-card-view {
  transform: translateY(-3px) scale(1.06) !important;
  filter: drop-shadow(0 5px 10px rgba(40, 110, 76, .24));
}
.board-card.hn-board-drop-target .folder-icon-large {
  outline: 3px solid var(--theme-accent, #4d8e75);
  outline-offset: 5px;
}
.column-entry.column-board.hn-board-drop-target {
  outline: 3px solid var(--theme-accent, #4d8e75) !important;
  outline-offset: 2px;
  transform: scale(1.018);
  transition: transform .17s ease, outline-color .17s ease;
}
.breadcrumb-item.hn-board-drop-target {
  border-radius: 6px;
  outline: 2px solid var(--theme-accent, #4d8e75);
  outline-offset: 3px;
  background: var(--theme-hover, rgba(77, 142, 117, .14));
}
.hn-board-drop-invalid { outline: 2px dashed #b65c60 !important; outline-offset: 3px; }
.board-card.hn-board-drop-invalid .folder-icon-large { filter: grayscale(.8); }

@media (prefers-reduced-motion: reduce) {
  .board-card.hn-board-drop-target .folder-card-view,
  .column-entry.column-board.hn-board-drop-target { transition: none; }
}
