/* Logs page: keep the event detail panel in view while the table scrolls.
   The wrapper is `h-full` (one viewport tall), which a sticky child can't
   travel past, so it's allowed to grow with the table instead. */
div.flex.gap-4.h-full:has(> div.w-96.flex-shrink-0.overflow-y-auto) {
  height: auto;
  min-height: 100%;
  align-items: flex-start;
}

div.w-96.flex-shrink-0.overflow-y-auto {
  position: sticky;
  top: 0;
  max-height: calc(100vh - 7rem);
}

/* Threat Intel: no Block button for IPs on the ignore list (marked by
   waf-overrides.js). */
tr[data-waf-ignored] > td:last-child button.bg-red-600 {
  display: none;
}
