/* contactfix + equal tiles (govreg-cec demo, 18 Oct 2026, Jason): every eight-tile block is the same size on every profile,
   and the Contact box beside it is exactly as tall. --c8h is one tile; the gap matches tpl-charity8.css (0.7rem). */
body.ux.cec { --c8h: 146px; --c8g: 0.7rem; }
body.ux.cec .cec-contact.cfx dt { margin-top: 0.38rem; }
body.ux.cec .cec-contact.cfx dt:first-child { margin-top: 0; }
body.ux.cec .cec-contact.cfx dd { line-height: 1.4; }
body.ux.cec .cec-contact.cfx .cfx-pending { color: #8a8d91; }
@media (min-width: 981px) {
  body.ux.cec .cec-ph-kpis .kpi-row:has(.c8-tile) { grid-auto-rows: var(--c8h); gap: var(--c8g); min-height: 0 !important; }
  body.ux.cec .cec-ph-kpis .kpi-tile.c8-tile { height: var(--c8h); overflow: hidden; }
  body.ux.cec .cec-ph-row:has(.c8-tile) .cec-contact.cfx { height: calc(2 * var(--c8h) + var(--c8g)) !important; box-sizing: border-box; overflow: hidden; display: flex; flex-direction: column; }
  body.ux.cec .cec-contact.cfx dd { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  body.ux.cec .cec-contact.cfx dd br { display: none; }
  body.ux.cec .cec-contact.cfx dd.cfx-addr { white-space: normal; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
  body.ux.cec .cec-contact.cfx .cfx-src { margin-top: auto; padding-top: 0.5rem; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; line-height: 1.35; }
}
@media (max-width: 1180px) and (min-width: 981px) {
  body.ux.cec .cec-ph-row:has(.c8-tile) .cec-contact.cfx { height: calc(4 * var(--c8h) + 3 * var(--c8g)) !important; }
}
