/* Sprint dependency table: flag the row you jump to via a "Blocked by" link.
   The anchor lives in the row's first cell (<a id="task-...">); :has() lifts the
   highlight to the whole row, and scroll-margin keeps it clear of the sticky
   header. The id^="task-" prefix scopes this to the generated dependency table. */

a[id^="task-"] {
  scroll-margin-top: 4rem;
}

table tbody tr:has(a[id^="task-"]:target) {
  box-shadow: inset 3px 0 0 0 var(--md-accent-fg-color);
  animation: tasknote-row-flash 1.6s ease-out 1;
}

@keyframes tasknote-row-flash {
  0%,
  70% {
    background-color: var(--md-accent-fg-color--transparent);
  }
  100% {
    background-color: transparent;
  }
}
