/* Rules that belong to the campaigns screens only. Colours come from tokens.css. */

/* Campaign detail: one block per body variant inside the "Email shots" card */
.em-body-variant { padding: 16px 22px; border-top: 1px solid var(--em-line); }

/* Delivery report: one chip per queue status */
.em-status-chips { display: flex; flex-wrap: wrap; gap: 10px; }
.em-status-chip {
    display: flex;
    align-items: center;
    gap: 10px;
    flex: 1 1 150px;
    max-width: 240px;
    padding: 10px 14px;
    border: 1px solid var(--em-line);
    border-radius: var(--em-radius);
    background: var(--em-surface);
}
.em-status-chip--open { background: var(--em-warn-soft); border-color: color-mix(in srgb, var(--em-warn-ink) 45%, transparent); }
.em-status-chip--total { background: var(--em-surface-2); }
.em-status-chip__value { font-weight: 700; line-height: 1.2; font-variant-numeric: tabular-nums; }
.em-status-chip__label { color: var(--em-muted); font-size: .86rem; }

/* Delivery report: long SMTP detail text is cut with an ellipsis; the full text is in the title */
.em-text-truncate.em-clip { max-width: 38ch; }
