/* The CRM's lead-to-customer and engagement reports (CRM 20). Same rules as
   crm/application.css: --shy-* tokens directly, every class prefixed crm-
   (every stylesheet loads on every page). */

/* Number columns: everything after the first, right-aligned. .shy-admin
   th/td set text-align: left, so these need the same weight. Headers may
   wrap (they're long); numbers and dates don't. */
.shy-admin .crm-numbers th:not(:first-child),
.shy-admin .crm-numbers td:not(:first-child) { text-align: right; font-variant-numeric: tabular-nums; }
.shy-admin .crm-numbers td:not(:first-child) { white-space: nowrap; }
.shy-admin .crm-numbers th { vertical-align: bottom; }
.shy-admin .crm-numbers tfoot th { border-top: 1px solid var(--shy-border-strong); }

/* 90 days of the rules' counts: scroll within the card. */
.crm-tag-days { max-height: 28rem; overflow-y: auto; }

@media (max-width: 600px) {
  .shy-admin .crm-numbers th,
  .shy-admin .crm-numbers td { padding: 0.5rem 0.4rem; }
}

/* Sortable column headers read as headers, not body links. */
.shy-admin .crm-engagement-contacts th a { color: inherit; }
.crm-report-filter { margin-bottom: 0.75rem; }
