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

/* Contact lists: the inline rename row that replaces a list's name while it is being edited */
.em-rename { display: flex; align-items: center; gap: 6px; max-width: 420px; }
.em-rename[hidden] { display: none; }
.em-rename > .form-control { flex: 1 1 auto; min-width: 0; }

/* ISP breakdown: one stacked bar. Each legend row carries a swatch that reuses the segment's
   own classes (progress-bar bg-*), so the two can never drift apart. */
.em-isp-bar { --bs-progress-height: 12px; }
.em-isp-bar > .progress-bar { border-radius: 0; }
.em-swatch { display: inline-block; width: 10px; height: 10px; margin-right: 8px; border-radius: 3px; }

/* Import result: the read-only report of rows that were left out */
.em-report-text { height: 300px; resize: vertical; font-family: var(--em-font-mono); font-size: .9rem; }

/* Campaign log: one-line detail text; the full text is in the title attribute */
.em-log-detail { display: inline-block; max-width: 34ch; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; vertical-align: bottom; color: var(--em-muted); }
