/* Client emails (v2.7.0) */
.ce-row .main { min-width: 0; }
.ce-filter { flex-wrap: wrap; margin: 8px 0 12px; }
.ce-n { opacity: .7; font-size: 12px; margin-left: 4px; }
.ce-st { display: block; margin-top: 4px; }
.ce-head h2 { margin: 0; overflow-wrap: anywhere; }
.ce-head > .hstack { align-items: flex-start; justify-content: space-between; }
.ce-kv { margin: 10px 0; }
.ce-head .ce-actions { flex-wrap: wrap; gap: 8px; margin-top: 12px; justify-content: flex-start; }
.ce-actions .big { font-size: 15px; padding: 12px 20px; }
.ce-preview-card { padding: 0; overflow: hidden; }
.ce-mailhead { padding: 12px 16px; border-bottom: 1px solid var(--border); background: var(--bg-soft, #FAFAFA); display: grid; gap: 2px; overflow-wrap: anywhere; }
.ce-preview { padding: 16px; background: #fff; overflow-x: auto; }
.ce-preview img { max-width: 100%; height: auto; }
.ce-text { white-space: pre-wrap; font: 13px/1.5 ui-monospace, Menlo, Consolas, monospace; background: var(--bg-soft, #F6F6F6); padding: 10px; border-radius: 6px; overflow-wrap: anywhere; }
.ce-trail { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.ce-ev { border-left: 3px solid var(--border); padding-left: 10px; }
.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: 8px; align-items: center; flex-wrap: wrap; }
.ce-ev-h .muted { margin-left: auto; }
.ce-diff { display: grid; gap: 8px; margin-top: 6px; }
.ce-old { text-decoration: line-through; color: var(--muted, #666); }
.ce-new { color: inherit; }
.ce-bot { font-size: 11px; vertical-align: middle; }
.ce-exc .hstack { justify-content: space-between; }
.ce-settings h4 { margin: 8px 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; }
