.contact-conversation-dialog{width:min(920px,calc(100vw - 32px));max-width:calc(100vw - 32px);max-height:calc(100dvh - 40px);overflow:auto;box-sizing:border-box;padding:24px;border:1px solid var(--line,#cbd7e0);border-radius:16px;background:#fffdf9;color:#193e5d}
.contact-conversation-dialog::backdrop{background:#10273c80;backdrop-filter:blur(3px)}
.contact-conversation-dialog>header{display:flex;justify-content:space-between;align-items:center;gap:16px}.contact-conversation-dialog h2{font-size:20px;margin:0}.contact-conversation-dialog>header button{width:44px;height:44px;font-size:24px;flex:none}
.contact-conversation-dialog>nav{display:flex;flex-wrap:wrap;gap:10px;margin:16px 0}.contact-conversation-dialog>nav button{display:grid;text-align:left;gap:6px;min-height:44px;max-width:100%;overflow-wrap:anywhere;padding:12px;border-radius:8px}
.contact-conversation-history{min-width:0;overflow-wrap:anywhere}.contact-conversation-dialog button:focus-visible{outline:3px solid #b27e3a;outline-offset:2px}
.contact-messenger-icon{width:44px;height:44px;display:inline-grid;place-items:center;padding:10px;border:1px solid #c5d7e4;border-radius:10px;background:#fff;cursor:pointer;box-sizing:border-box}.contact-messenger-icon img{width:24px;height:24px;display:block}.contact-messenger-icon[data-contact-internal=whatsapp]{background:#e4f6eb}
body[data-crm-appearance=night] .contact-conversation-dialog{background:#1d3448;color:#e5edf5;border-color:#5b7389}
@media(max-width:640px){.contact-conversation-dialog{padding:16px;width:calc(100vw - 20px);max-width:calc(100vw - 20px)}.contact-conversation-dialog h2{font-size:17px}}
body[data-crm-appearance=night] dialog.contact-conversation-dialog{background:#1d3448!important;color:#e5edf5!important;--paper:#1d3448;--ink:#e5edf5;--navy:#e5edf5;--muted:#c2d1de;--line:#526d83}
body[data-crm-appearance=night] .contact-conversation-dialog>nav button{background:#29465e;color:#e5edf5;border-color:#59738b}
body[data-crm-appearance=night] .contact-conversation-dialog>header button{background:#29465e;color:#e5edf5;border-color:#59738b}
