/* Table-only controls inherit the application's typography and colours. */
table.pulseTable > thead > tr > th { position: relative !important; }
table.pulseTable > thead > tr > th > .pulseTableSort {
  display: inline-flex !important; align-items: center; justify-content: flex-start;
  gap: 5px; max-width: 100%; width: 100%; min-width: 0; min-height: 0;
  padding: 0 10px 0 0 !important; border: 0 !important; background: transparent !important;
  box-shadow: none !important; color: inherit; font: inherit; line-height: inherit;
  text-align: inherit; white-space: normal; border-radius: 4px;
}
table.pulseTable .pulseTableSortLabel { min-width: 0; overflow-wrap: anywhere; color: inherit; font: inherit; }
table.pulseTable > thead > tr > th.pulseTableAlignRight > .pulseTableSort { justify-content: flex-end; }
.pulseTableScroll { min-width: 0; max-width: 100%; overflow-x: auto; }
/* Opt-in monitor tables keep one shared scroll surface for header, totals and rows. */
.pulseStickyScroll {
  max-height: clamp(240px, 65vh, 960px);
  max-height: clamp(240px, 65dvh, 960px);
  overflow: auto;
  scrollbar-gutter: stable;
  isolation: isolate;
}
table.pulseStickyTable > thead { position: sticky; top: 0; z-index: 4; }
table.pulseStickyTable > thead > tr > th { background: #fff; box-shadow: inset 0 -1px #e1e9f4; }
table.pulseStickyTable > tbody > .pulseStickyTotal > td {
  position: sticky;
  top: var(--pulse-sticky-top);
  z-index: 3;
  background: #fff;
  box-shadow: inset 0 -1px #e1e9f4;
}
table.pulseTable .pulseTableSortIcon { flex: 0 0 12px; color: #94a3b8; font-size: 12px; }
table.pulseTable .pulseTableSort.active .pulseTableSortIcon { color: #2563eb; }
table.pulseTable .pulseTableSort:hover { color: #2563eb; }
table.pulseTable .pulseTableSort:focus-visible { outline: 2px solid #93c5fd; outline-offset: 3px; }
table.pulseTable .pulseTableResize {
  position: absolute; top: 0; bottom: 0; right: -5px; width: 12px; z-index: 3;
  cursor: col-resize; touch-action: none; user-select: none; background: transparent;
}
table.pulseTable .pulseTableResize::after { content: ""; position: absolute; left: 5px; top: 25%; height: 50%; width: 1px; background: #dbe5f2; }
table.pulseTable .pulseTableResize:hover::after, table.pulseTable .pulseTableResize:focus-visible::after { background: #60a5fa; width: 2px; }
table.pulseTable .pulseTableResize:focus-visible { outline: 1px solid #93c5fd; outline-offset: -2px; }
table.pulseTableSized > tbody > tr > td, table.pulseTableSized > thead > tr > th { min-width: 0 !important; overflow-wrap: anywhere; }
.pulseColumnDragging, .pulseColumnDragging * { cursor: col-resize !important; user-select: none !important; }
.pulseMobileSort { display: none; }
@media (max-width: 768px) {
  .pulseMobileSort768 { display: flex; align-items: center; gap: 8px; margin-bottom: 10px; }
}
@media (max-width: 620px) {
  .pulseMobileSort620 { display: flex; align-items: center; gap: 8px; margin-bottom: 10px; }
}
.pulseMobileSort select { flex: 1; width: 0; min-width: 0; max-width: 100%; }
.pulseMobileSort .customSelectControl { flex: 1; min-width: 0; width: auto; }
