/* Better Messages renders notifications outside the main chat container. */
body .bm-toast-container {
 --bm-color-toast-bg:16,35,61;
 --bm-color-toast-text:239,245,255;
 --bm-color-toast-border:58,85,112;
 font-family:inherit;
}
body .bm-toast {
 --bm-toast-bg:16,35,61;
 --bm-toast-fg:239,245,255;
 --ptum-toast-accent:#67e8f9;
 background:#10233d; color:#eff5ff;
 border:1px solid #3a5570; border-inline-start:3px solid var(--ptum-toast-accent);
 border-radius:14px !important; padding:14px;
 box-shadow:0 12px 32px #0005; font-family:inherit; font-size:14px; line-height:1.5;
}
body .bm-toast--success { --ptum-toast-accent:#5ee2ad; }
body .bm-toast--error { --ptum-toast-accent:#ff929e; }
body .bm-toast--warning { --ptum-toast-accent:#f9cb75; }
body .bm-toast .bm-toast__icon { background:#183b57; color:var(--ptum-toast-accent); }
body .bm-toast .bm-toast__progress { background:var(--ptum-toast-accent); }
body .bm-toast :is(.bm-toast-site-message-title,.bm-toast-site-notification-title,.bm-toast-site-call-title) { color:#67e8f9; }
body .bm-toast :is(.bm-toast-site-message-content,.bm-toast-site-message-subject,.bm-toast-site-notification-content) { color:#bacbe2; }
body .bm-toast .bm-toast__close { min-width:32px; min-height:32px; color:#bacbe2 !important; }
body .bm-btn.bm-toast-close-all-notifications { background:#183b57; color:#67e8f9; border:1px solid #3a5570; min-height:44px; border-radius:12px !important; }
body .bm-btn.bm-toast-close-all-notifications:hover { background:#224a66; }
body .bm-toast-close-all-notifications .bm-toast-close-all-notifications-more { background:#10233d; }
body .bm-toast-push-proposal-container .bm-toast-push-proposal-content .bm-toast-push-proposal-agree { background:#67e8f9; color:#071528 !important; }
body .bm-toast-push-proposal-content > button { min-height:44px; }
body .bm-toast :is(a,button):focus-visible,body .bm-toast-close-all-notifications:focus-visible { outline:2px solid #67e8f9; outline-offset:2px; }
@media(max-width:600px) {
 body.logged-in .bm-toast-container:is(.bm-toast-container--bottom-left,.bm-toast-container--bottom-center,.bm-toast-container--bottom-right) { bottom:calc(88px + env(safe-area-inset-bottom,0px)) !important; }
}

/* Only incoming chat messages get this cue; calls and general notices keep theirs. */
body .bm-toast-site-message .bm-toast-site-message-container::after {
 content:'';
 display:block;
 flex:0 0 28px;
 align-self:center;
 width:28px;
 height:28px;

 background-color:#67e8f9;
 -webkit-mask:url('message-toast-icon.svg') center / contain no-repeat;
 mask:url('message-toast-icon.svg') center / contain no-repeat;
 pointer-events:none;
}
body .bm-toast-site-message .bm-toast-site-message-info { flex:1 1 0; min-width:0; }

/* Light-blue incoming-message alerts stand out against the navy site. */
body .bm-toast.bm-toast-site-message {
 --bm-toast-bg:207,239,255;
 --bm-toast-fg:16,36,62;
 --ptum-toast-accent:#087ca7;
 background:#cfefff;
 color:#10243e;
 border-color:#7dd3fc;
 border-left-color:#087ca7;
}
body .bm-toast.bm-toast-site-message .bm-toast-site-message-container::after { background-color:#087ca7; }
body .bm-toast.bm-toast-site-message .bm-toast-site-message-title { color:#10243e; }
body .bm-toast.bm-toast-site-message :is(.bm-toast-site-message-content,.bm-toast-site-message-subject) { color:#294a63; }
body .bm-toast.bm-toast-site-message .bm-toast__close { color:#294a63 !important; }
body .bm-toast.bm-toast-site-message :is(a,button):focus-visible { outline-color:#087ca7; }
