/* Zusatz-Styles Modul sync/mail (nur Klassen mit Präfix m-sync-). Farben und Abstände kommen aus themes.css. */
.m-sync-liste{list-style:none;margin:0;padding:0;display:flex;flex-direction:column}
.m-sync-eintrag{display:flex;flex-direction:column;gap:6px;padding:14px 4px;border-bottom:1px solid var(--border);min-width:0}
.m-sync-eintrag:last-child{border-bottom:0}
.m-sync-kopf{display:flex;flex-wrap:wrap;align-items:center;gap:6px 10px;min-width:0}
.m-sync-firma{font-weight:650;color:var(--text);text-decoration:none;overflow-wrap:anywhere}
a.m-sync-firma:hover{text-decoration:underline}
.m-sync-betreff{font-weight:600;overflow-wrap:anywhere}
.m-sync-auszug{color:var(--text-muted);font-size:.92em;overflow-wrap:anywhere;white-space:pre-wrap;display:-webkit-box;-webkit-line-clamp:3;line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}
.m-sync-aktionen{display:flex;flex-wrap:wrap;gap:8px;margin-top:4px}
.m-sync-aktionen .knopf{min-height:var(--touch)}
@media (max-width:640px){.m-sync-aktionen .knopf{flex:1 1 44%}}

/* Editor */
.m-sync-editor{display:flex;flex-direction:column;gap:var(--gap)}
.m-sync-text{min-height:260px;line-height:1.5;font-family:var(--font-ui)}
.m-sync-vorschau{margin:0;white-space:pre-wrap;overflow-wrap:anywhere;font-family:var(--font-ui);line-height:1.5;background:var(--surface-2);border:1px solid var(--border);border-radius:var(--radius-sm);padding:12px;max-height:46vh;overflow:auto}
.m-sync-pruefung h3{margin-bottom:6px}
.m-sync-pruefliste{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:6px}
.m-sync-pruefliste li{display:flex;align-items:flex-start;gap:8px;font-size:.92em;overflow-wrap:anywhere}
.m-sync-pruefliste .icon{margin-top:2px}
.m-sync-ok{color:var(--success)}
.m-sync-fehlt{color:var(--danger)}
.m-sync-hinweis{color:var(--warning)}
.m-sync-kunde-treffer{margin-top:6px;border:1px solid var(--border);border-radius:var(--radius-sm);overflow:hidden}
.m-sync-kunde-treffer:empty{display:none}
.m-sync-kunde-treffer .zeile{padding:8px 12px}
