/* Keep the inbox timestamp, preview action and SLA warning in separate slots. */
@media (max-width: 720px) {
  html[data-theme="dark"] body .inbox .inbox-item .inbox-head time {
    right: 58px;
    top: 12px;
    white-space: nowrap;
    font-size: 11px !important;
    line-height: 18px;
  }
  html[data-theme="dark"] body .inbox .inbox-item .inbox-peek {
    right: 4px !important;
    top: 3px !important;
    width: 36px !important;
    height: 36px !important;
    min-height: 36px !important;
    display: grid;
    place-items: center;
  }
  html[data-theme="dark"] body .inbox .inbox-item:not(.sla-overdue) .inbox-name {
    padding-right: 104px;
  }
  html[data-theme="dark"] body .inbox .inbox-item.sla-overdue .inbox-head {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-rows: auto auto;
    align-items: start;
    column-gap: 6px;
    row-gap: 3px;
    width: 100%;
  }
  html[data-theme="dark"] body .inbox .inbox-item.sla-overdue .inbox-name {
    grid-column: 1;
    grid-row: 1;
    padding-right: 0 !important;
  }
  html[data-theme="dark"] body .inbox .inbox-item.sla-overdue .inbox-head time {
    position: static !important;
    grid-column: 2;
    grid-row: 1;
    margin-right: 48px;
  }
  html[data-theme="dark"] body .inbox .inbox-item.sla-overdue .sla-inline-chip {
    grid-column: 1 / -1;
    grid-row: 2;
    justify-self: end;
    width: max-content;
    max-width: calc(100% - 51px);
    margin-right: 51px;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 16px;
  }
}
