/* Scoped to the Analítico preview; no changes to shared table layouts. */
#analytics-section .analytics-columns-toolbar {
  display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap;
  gap: 6px 12px; padding: 0 18px 10px; color: var(--muted, #64748b); font-size: 11px;
}
#analytics-section .analytics-columns-toolbar p { margin: 0; }
#analytics-section .analytics-columns-toolbar button { min-height: 28px; padding: 4px 9px; font-size: 11px; }
#analytics-column-status { min-height: 1.35em; }
#analytics-column-status[data-state="error"] { color: var(--danger, #b42318); }
#analytics-section .analytics-columns-enabled th { position: relative; white-space: nowrap; }
#analytics-section .analytics-column-handle {
  display: inline-flex; align-items: center; justify-content: center; vertical-align: middle;
  width: 20px; min-width: 20px; min-height: 24px; margin-left: 5px; padding: 0;
  border: 0; border-radius: 4px; background: transparent; box-shadow: none;
  color: inherit; opacity: .55; font: inherit; font-size: 17px; line-height: 1; cursor: grab;
  user-select: none; -webkit-user-drag: element;
}
#analytics-section .analytics-column-handle:hover:not(:disabled),
#analytics-section .analytics-column-handle:focus-visible { opacity: 1; background: color-mix(in srgb, currentColor 9%, transparent); }
#analytics-section .analytics-column-handle:focus-visible { outline: 2px solid var(--accent, #27857b); outline-offset: 2px; }
#analytics-section .analytics-column-handle:active:not(:disabled) { cursor: grabbing; }
#analytics-section .analytics-column-handle:disabled { cursor: default; opacity: .2; }
#analytics-section th.analytics-column-dragging { opacity: .45; }
#analytics-section th.analytics-column-drop-before::before,
#analytics-section th.analytics-column-drop-after::after {
  content: ''; position: absolute; top: 3px; bottom: 3px; width: 3px;
  background: var(--accent, #27857b); pointer-events: none; z-index: 2;
}
#analytics-section th.analytics-column-drop-before::before { left: 0; }
#analytics-section th.analytics-column-drop-after::after { right: 0; }
