/* Keep long missed-call summaries inside the list row and clear of time/status metadata. */
.call-row {
  grid-template-columns: 42px minmax(0, 1fr) 86px;
  min-width: 0;
}

.call-main {
  min-width: 0;
  overflow: hidden;
}

.call-name,
.call-summary {
  display: block;
  min-width: 0;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.call-meta {
  width: 86px;
  min-width: 86px;
  justify-self: end;
  overflow: visible;
  white-space: nowrap;
}

.call-time,
.call-meta .badge {
  white-space: nowrap;
}

@media (max-width: 1050px) {
  .call-row {
    grid-template-columns: 42px minmax(0, 1fr) 82px;
    gap: 10px;
  }

  .call-meta {
    width: 82px;
    min-width: 82px;
  }
}

@media (max-width: 420px) {
  .call-row {
    grid-template-columns: 42px minmax(0, 1fr);
    align-items: start;
  }

  .call-meta {
    grid-column: 2;
    width: auto;
    min-width: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-top: 5px;
    text-align: left;
  }

  .call-time {
    margin-bottom: 0;
  }
}
