/* A4 Community messages — reuses WerkDok 3.0 dark/light surfaces */
.wdm-state{font-size:13px;line-height:1.6;color:var(--ex-muted,#7395a6);padding:12px;margin:0}
.wdm-avatar{display:grid!important;place-items:center;flex:0 0 42px!important;width:42px!important;height:42px!important;border-radius:13px;background:linear-gradient(135deg,#0d7790,#20bac6);color:#fff;font-size:16px;font-weight:800}
.wdx-bubble.wdm-received{margin-left:0;margin-right:auto;background:var(--ex-panel,#123544);border:1px solid var(--ex-line,#24566b);border-radius:17px 17px 17px 5px;color:var(--text,#e5f5fa)}
html[data-theme='light'] .wdx-bubble.wdm-received{background:#eaf5f9;color:#163447;border-color:#c7dce6}

/* A5: status, privacy controls and tab badge */
.wdm-unread-badge{display:inline-flex;align-items:center;justify-content:center;min-width:21px;height:21px;padding:0 5px;border-radius:12px;margin-left:8px;background:#0796a8;color:#fff;font-size:11px;font-weight:700;line-height:1}
.wdm-unread-badge[hidden]{display:none}
.wdm-contact-unread{font-weight:700;color:#079caf!important}
.wdm-block-button{margin-left:auto;border:1px solid var(--ex-line,#24566b);border-radius:9px;background:transparent;color:inherit;padding:6px 10px;font-size:12px;cursor:pointer}
.wdm-block-button:disabled{opacity:.5}
.wdm-block-error{color:#c53636}
.wdm-new-notice{position:fixed;bottom:80px;right:20px;z-index:10000;border-radius:13px;padding:14px 20px;background:#063a48;color:#fff!important;box-shadow:0 6px 20px #0004;font-weight:700;text-decoration:none}
.wdm-new-notice[hidden]{display:none}

/* Deleted account DM archive: neutral label, no profile link or composer. */
.wdm-archive-heading{font-size:14px;font-weight:700;overflow-wrap:anywhere}
.wdm-archive-contact small{white-space:normal}
.wdm-archive-contact .wdm-avatar{display:inline-flex;justify-content:center;align-items:center}
