.bbh-message-window.is-dm .bbh-message-bubble.outgoing{background:#a54f3b!important;color:#fff!important;border:2px solid #d99b00!important}.bbh-message-window.is-dm .bbh-message-bubble.incoming{border:1.5px solid #d99b00}.bbh-message-window.is-dm .bbh-message-bubble.outgoing .bbh-message-meta{color:#fff!important}.portal-dm-bubble:not(.mine){background:#a54f3b!important;color:#fff!important;border:2px solid #d99b00}.dm-photo-viewer{width:min(94vw,1100px);max-width:94vw;max-height:94vh;padding:48px 12px 12px;border:2px solid #d99b00;border-radius:16px;background:#12243a;overflow:auto}.dm-photo-viewer::backdrop{background:rgba(0,0,0,.8)}.dm-photo-viewer>img{display:block;max-width:100%;max-height:calc(90vh - 70px);object-fit:contain;margin:auto}.dm-photo-close{position:absolute;right:10px;top:6px;width:36px;height:36px;border:1px solid #d99b00;border-radius:50%;background:#a54f3b;color:#fff;font:28px system-ui;cursor:pointer}.dm-photo-tools{display:flex;gap:8px;flex-wrap:wrap;margin:12px 0}.dm-photo-tools button{border:1px solid #d99b00;border-radius:20px;background:#fff;color:#19437d;padding:8px 14px;font:inherit;cursor:pointer}.dm-photo-drafts{display:flex;gap:10px;flex-wrap:wrap}.dm-photo-drafts>div{position:relative}.dm-photo-drafts img{width:90px;height:90px;object-fit:cover;border-radius:10px;border:1px solid #d99b00}.dm-photo-drafts button{position:absolute;right:0;top:0;border:0;border-radius:50%;background:#19437d;color:#fff;width:24px;height:24px}.portal-dm-bubble img,.is-dm .bbh-message-media{display:block;max-width:min(260px,100%);max-height:240px;object-fit:cover;border-radius:10px;margin-top:8px}.dm-broadcast-dialog{max-width:600px;width:90vw;border:2px solid #d99b00;border-radius:18px;padding:24px;color:#173151}.dm-broadcast-dialog label{display:block;margin:12px 0}.dm-broadcast-dialog textarea,.dm-broadcast-dialog input{width:100%;font:inherit;padding:10px;box-sizing:border-box}.dm-broadcast-dialog button{margin:8px;padding:10px 18px;border:1px solid #d99b00;border-radius:20px;background:#19437d;color:white}.dm-broadcast-dialog::backdrop{background:#0008}

.portal-dm-bubble img,.is-dm .bbh-message-media{background:#fff}

/* Keep the composer at the bottom; give remaining panel space to message history. */
[data-client-communication-root] .bbh-communication-window{display:flex;flex-direction:column;min-height:0}
[data-client-communication-root] .bbh-message-window{flex:1 1 auto;min-height:240px}
[data-client-communication-root] .bbh-communication-header,[data-client-communication-root] [data-cc-typing],[data-client-communication-root] .bbh-communication-compose,[data-client-communication-root] .bbh-communication-footnote{flex:0 0 auto}
