/* Campaign reports: recorded metrics, contact delivery details and read-only setup. */
.wcr-report { min-width: 0; }
.wcr-metrics { display: grid; grid-template-columns: repeat(auto-fit, minmax(145px, 1fr)); gap: 12px; margin: 20px 0 12px; }
.wcr-metric { min-width: 0; padding: 17px 18px; border: 1px solid #e4e7f1; border-radius: 12px; background: #fff; }
.wcr-metric > span { display: flex; gap: 7px; align-items: center; color: #526279; font-size: 13px; }
.wcr-metric > strong { display: block; margin-top: 10px; font-size: 25px; line-height: 1.25; overflow-wrap: anywhere; color: #19243b; }
.wcr-metric.untracked > strong { color: #68778d; font-size: 17px; font-weight: 500; }
.wcr-scope { margin: 0 0 22px; line-height: 1.6; }
.wcr-contact-tools { display: flex; flex-wrap: wrap; gap: 14px; align-items: end; justify-content: space-between; margin: 16px 0; }
.wcr-more-filter { width: 180px; margin: 0; }
.wcr-date-form { display: flex; flex-wrap: wrap; align-items: end; gap: 10px; padding: 14px; background: #f7f9fc; border-radius: 10px; }
.wcr-date-form .we-label { width: 180px; margin: 0; }
.wcr-contact-status { color: #526279; font-size: 13px; margin: 16px 0 9px; }
.wcr-table-wrap { max-width: 100%; max-height: 520px; overflow: auto; }
.wcr-table-wrap:focus-visible { outline: 3px solid #6b75e8; outline-offset: 3px; }
.wcr-recipient-table { min-width: 1160px; }
.wcr-recipient-table thead th { position: sticky; top: 0; z-index: 2; background: #f7f9fc; }
.wcr-recipient-table td { max-width: 280px; overflow-wrap: anywhere; vertical-align: top; }
.wcr-recipient-table td time { display: block; min-width: 130px; }
.wcr-pagination { display: flex; flex-wrap: wrap; gap: 16px; align-items: end; justify-content: space-between; margin: 16px 0; }
.wcr-pagination .we-label { width: 140px; margin: 0; }
.wcr-pagination p { color: #526279; font-size: 13px; }
.wcr-pagination > div { display: flex; gap: 8px; }
.wcr-setup-layout { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 24px; align-items: start; }
.wcr-setup-layout > div { min-width: 0; }
.wcr-setup h3 { margin: 20px 0 10px; }
.wcr-setup .we-facts dd { overflow-wrap: anywhere; }
.wcd-summary { margin: 14px 0; }
.wcd-summary > div { min-width: 0; width: 100%; }
.wcd-summary p { margin: 6px 0; line-height: 1.5; }
.wcd-summary small { display: block; color: #526279; line-height: 1.5; }
.wcd-line { display: grid; gap: 4px; margin: 7px 0; font-size: 12px; line-height: 1.5; white-space: normal; overflow-wrap: anywhere; }
.wcd-line .we-link { justify-self: start; text-align: left; }
.wcr-report .btn, .wcr-setup .btn { min-height: 40px; }
@media (max-width: 640px) {
  .wcr-metrics { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .wcr-metric { padding: 14px 12px; }
  .wcr-metric > strong { font-size: 22px; }
  .wcr-metric.untracked > strong { font-size: 15px; }
  .wcr-contacts > .we-card-head { flex-wrap: wrap; gap: 12px; }
  .wcr-contact-tools { align-items: stretch; }
  .wcr-contact-tools .we-chips { flex-wrap: wrap; width: 100%; }
  .wcr-more-filter { width: 100%; }
  .wcr-date-form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); padding: 12px; }
  .wcr-date-form .we-label { width: 100%; min-width: 0; }
  .wcr-date-form .input { width: 100%; min-width: 0; }
  .wcr-report .btn, .wcr-setup .btn, .wcr-report .we-chips button, .wcr-report select { min-height: 44px; }
  .wcd-line .we-link { min-height: 44px; display: inline-flex; align-items: center; }
  .wcr-pagination { gap: 10px; }
  .wcr-table-wrap { max-height: none; }
  .wcr-recipient-table, .wcr-recipient-table tbody { display: block; width: 100%; min-width: 0; }
  .wcr-recipient-table thead { display: none; }
  .wcr-recipient-table tr { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; padding: 16px 0; border-bottom: 1px solid #e4e7f1; }
  .wcr-recipient-table td { display: block; min-width: 0; max-width: none; padding: 0; border: 0; white-space: normal; }
  .wcr-recipient-table td:first-child, .wcr-recipient-table td:nth-child(5), .wcr-recipient-table td[colspan] { grid-column: 1 / -1; }
  .wcr-recipient-table td[data-label]::before { content: attr(data-label); display: block; color: #617087; font-size: 11px; margin-bottom: 4px; }
  .wcr-recipient-table td time { min-width: 0; }
  .wcr-setup-layout { grid-template-columns: minmax(0, 1fr); }
  .wcr-setup .we-phone { max-width: 100%; }
}
