/* Client emails (v2.7.0) */
.ce-row .main { min-width: 0; }
.ce-filter { flex-wrap: wrap; margin: var(--space-2xs) 0 var(--space-xs); }
.ce-n { opacity: .7; font-size: var(--step--2); margin-left: var(--space-3xs); }
.ce-st { display: block; margin-top: var(--space-3xs); }
.ce-head h2 { margin: 0; overflow-wrap: anywhere; }
.ce-head > .hstack { align-items: flex-start; justify-content: space-between; }
.ce-kv { margin: var(--space-xs) 0; }
.ce-head .ce-actions { flex-wrap: wrap; gap: var(--space-2xs); margin-top: var(--space-xs); justify-content: flex-start; }
.ce-actions .big { font-size: var(--step-0); padding: var(--space-xs) var(--space-m); }
.ce-preview-card { padding: 0; overflow: hidden; }
.ce-mailhead { padding: var(--space-xs) var(--space-s); border-bottom: 1px solid var(--border); background: var(--bg-soft, #FAFAFA); display: grid; gap: 2px; overflow-wrap: anywhere; }
.ce-preview { padding: var(--space-s); background: #fff; overflow-x: auto; }
.ce-preview img { max-width: 100%; height: auto; }
.ce-text { white-space: pre-wrap; font: var(--step--1)/1.5 ui-monospace, Menlo, Consolas, monospace; background: var(--bg-soft, #F6F6F6); padding: var(--space-xs); border-radius: 6px; overflow-wrap: anywhere; }
.ce-trail { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--space-xs); }
.ce-ev { border-left: 3px solid var(--border); padding-left: var(--space-xs); }
.ce-ev-approved, .ce-ev-sent, .ce-ev-signoff { border-left-color: var(--ok); }
.ce-ev-rejected, .ce-ev-failed { border-left-color: var(--bad, #C62828); }
.ce-ev-submitted, .ce-ev-held, .ce-ev-reopened { border-left-color: var(--warn); }
.ce-ev-h { display: flex; gap: var(--space-2xs); align-items: center; flex-wrap: wrap; }
.ce-ev-h .muted { margin-left: auto; }
.ce-diff { display: grid; gap: var(--space-2xs); margin-top: var(--space-3xs); }
.ce-old { text-decoration: line-through; color: var(--muted, #666); }
.ce-new { color: inherit; }
.ce-bot { font-size: var(--step--2); vertical-align: middle; }
.ce-exc .hstack { justify-content: space-between; }
.ce-settings h4 { margin: var(--space-2xs) 0 0; }
.linkbtn { background: none; border: 0; padding: 0; color: var(--accent, #FF3400); text-decoration: underline; cursor: pointer; font: inherit; }
.ce-kv dd, .ce-mailhead > div { overflow-wrap: anywhere; word-break: break-word; min-width: 0; }
