/* TC-017A compatibility guardrails for the current one-file CRM layout.
   Remove rules from this file as individual screens move to the new component structure. */

/* Generic .card elements are structural containers in the current CRM, not click targets.
   The explicit registry selector documents the most important workspace guardrail.
   Interactive list cards keep their lift through their dedicated classes. */
.card:hover,
.registry-card.card:hover {
  transform: none;
  border-color: var(--color-border);
  box-shadow: var(--shadow-sm);
}

/* Source labels can contain long registry names; unlike status badges they may wrap by words. */
.source-badge {
  white-space: normal;
  word-break: normal;
  overflow-wrap: break-word;
}

/* Existing dense tables keep horizontal overflow inside their own container. */
.tablewrap {
  max-width: 100%;
  overflow-x: auto;
  overscroll-behavior-x: contain;
}

.tablewrap th,
.tablewrap td {
  hyphens: none;
}
