/* Company Messages is a separate, accessible workspace dialog. */
body.app-ready #bc-command-bar #bc-messages:not([hidden]){display:inline-flex!important;position:relative;align-items:center;justify-content:center;flex:0 0 36px}
#bc-command-bar #bc-messages>svg{width:18px;height:18px;flex:0 0 18px}
#bc-command-bar #bc-messages[hidden]{display:none!important}
#bc-message-count{position:absolute;top:-4px;right:-5px;min-width:15px;height:17px;padding:0 4px;border:2px solid #fff;border-radius:10px;background:#1468c3;color:#fff;font:700 9px/13px Inter,Arial,sans-serif}
#bc-message-count:empty{display:none}
.bcp-messages[hidden]{display:none!important}
.bcp-messages{position:fixed;inset:0;z-index:22000;display:flex;align-items:center;justify-content:center;padding:24px;background:rgba(9,24,43,.45);backdrop-filter:blur(5px);font:14px/1.5 Inter,'Segoe UI',Arial,sans-serif;color:#21344b;text-align:left}
.bcp-messages *{box-sizing:border-box}
/* Contain the application's generic header/footer styles inside the chat dialog. */
#bcp-messages .bcp-chat-form>header,#bcp-messages .bcp-chat-thread-head,#bcp-chat-picker>header{position:static;top:auto;z-index:auto;background:#fff;color:#21344b;box-shadow:none;text-align:left}
#bcp-messages .bcp-chat-form>header{padding:0}
#bcp-messages .bcp-chat-form>footer{position:static;background:#fff;color:#466c95;text-align:left;padding:18px 0 0}
#bcp-messages .bcp-chat-form>header h3{color:#1b3c60}
#bcp-messages .bcp-chat-top{position:static;top:auto;z-index:auto}
#bcp-chat-announcements[hidden]{display:none!important}
#bcp-chat-announcements{margin:12px 18px 0;padding:13px;border:1px solid #cddff2;border-radius:9px;background:#edf5ff;font-size:12px;color:#244d74}
#bcp-chat-announcements p{font-size:11px;color:#5a7692;margin:4px 0 10px}
#bcp-messages .bcp-chat-list-empty p{margin:7px 0;line-height:1.6}
#bcp-messages .bcp-chat-list-empty [data-chat=announcements]{margin-top:12px}
.bcp-messages button,.bcp-messages input,.bcp-messages textarea{font:inherit;letter-spacing:normal;text-transform:none;box-shadow:none}
.bcp-messages button{appearance:none;display:inline-flex;align-items:center;justify-content:center;gap:8px;border:0;border-radius:8px;background:transparent;color:inherit;cursor:pointer;margin:0;padding:8px;line-height:1.4;min-width:0;min-height:0;width:auto;height:auto}
.bcp-messages button:hover{background:#edf3fa}
.bcp-messages button:disabled{opacity:.5;cursor:default}
.bcp-messages button:focus-visible,.bcp-messages input:focus-visible,.bcp-messages textarea:focus-visible{outline:2px solid #3e89df;outline-offset:2px}
.bcp-messages input,.bcp-messages textarea{display:block;width:100%;min-width:0;margin:0;background:#fff;color:#21344b;border:1px solid #dce5ef;border-radius:8px;padding:10px 12px}
.bcp-messages svg{width:19px;height:19px;flex:none}
.bcp-messages h2,.bcp-messages h3,.bcp-messages p{margin:0;padding:0;letter-spacing:normal;text-transform:none;background:none;border:0}
.bcp-chat-window{width:min(1120px,100%);height:min(760px,calc(100dvh - 48px));min-height:320px;display:flex;flex-direction:column;background:#fff;border:1px solid #cbd7e5;border-radius:18px;overflow:hidden;box-shadow:0 30px 100px #071e3b4d}
.bcp-chat-top{display:flex;align-items:center;justify-content:space-between;gap:15px;background:#102d50;color:#fff;padding:17px 24px;flex:none;border-bottom:1px solid #264365}
.bcp-chat-brand{display:flex;align-items:center;gap:12px}.bcp-chat-brand>svg{width:25px;height:25px;color:#91c5ff}.bcp-chat-brand span{font-size:9px;letter-spacing:1.8px;color:#b3c9e2}.bcp-chat-brand h2{font-size:20px;font-weight:650;line-height:1.3;color:#fff}
.bcp-chat-top-right{display:flex;align-items:center;gap:18px}.bcp-chat-top-right>span{max-width:260px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:12px;color:#d3e1f0}.bcp-chat-top-right button{width:32px;height:32px;font-size:23px;color:#d3e1f0}.bcp-chat-top-right button:hover{background:#264365}
.bcp-chat-layout{display:grid;grid-template-columns:305px minmax(0,1fr);flex:1;min-height:0}.bcp-chat-sidebar{display:flex;flex-direction:column;min-height:0;background:#f8fafc;border-right:1px solid #e2e8f0}.bcp-chat-list-heading{display:flex;align-items:center;justify-content:space-between;padding:22px 20px 12px}.bcp-chat-list-heading h3{font-size:15px;font-weight:650}.bcp-chat-list-heading button{width:30px;height:30px;border:1px solid #d8e2ee;background:#fff;font-size:24px;font-weight:400;line-height:1}
.bcp-chat-search{margin:0 18px 15px;position:relative}.bcp-chat-search>span{position:absolute;left:12px;top:4px;font-size:25px;color:#7890a8}.bcp-chat-search input{padding:9px 10px 9px 36px;font-size:12px}.bcp-chat-filters{display:flex;gap:5px;padding:0 18px 14px;border-bottom:1px solid #e6ecf2}.bcp-chat-filters button{font-size:11px;padding:5px 12px;color:#61758d;border-radius:6px}.bcp-chat-filters button[aria-pressed=true]{background:#e4eefb;color:#155faf;font-weight:650}
#bcp-chat-list{overflow-y:auto;flex:1;overscroll-behavior:contain;padding:9px}.bcp-messages .bcp-chat-conversation{display:flex;width:100%;text-align:left;border:1px solid transparent;gap:10px;padding:12px 9px;border-radius:10px;margin-bottom:3px;position:relative}.bcp-messages .bcp-chat-conversation.is-selected{background:#eaf2fd;border-color:#cfdef2}.bcp-chat-avatar{display:inline-flex;align-items:center;justify-content:center;width:36px;height:36px;flex:0 0 36px;border-radius:50%;background:#e8eef5;color:#456280;font-size:11px;font-weight:650}.bcp-chat-avatar.is-group{background:#173e6c;color:#fff;border-radius:11px;font-size:22px;font-weight:400}.bcp-chat-conversation-copy{min-width:0;flex:1}.bcp-chat-conversation-copy>span{display:flex;align-items:center;gap:8px;justify-content:space-between}.bcp-chat-conversation-copy strong{font-size:12px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:145px}.bcp-chat-conversation-copy time{font-size:9px;white-space:nowrap;color:#7b8ba0}.bcp-chat-conversation-copy small{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-size:11px;margin-top:3px;color:#63758c;max-width:210px;padding-right:12px}.bcp-chat-conversation-copy em{display:block;font-style:normal;font-size:9px;text-transform:capitalize;color:#8291a2;margin-top:3px}.bcp-chat-unread{position:absolute;right:10px;bottom:14px;border-radius:8px;background:#176dc5;color:#fff;min-width:16px;padding:1px 4px;text-align:center;font-size:9px}.bcp-chat-private{padding:12px 18px;font-size:10px;color:#8190a1;border-top:1px solid #e6ecf2}.bcp-chat-list-empty{padding:28px 14px;color:#71849b;font-size:12px;text-align:center}.bcp-chat-list-empty strong{display:block;color:#475f79;font-size:13px;margin-bottom:6px}
.bcp-chat-main{display:flex;flex-direction:column;min-width:0;min-height:0;background:#fff}.bcp-chat-thread-head{display:flex;gap:12px;align-items:center;padding:19px 23px;border-bottom:1px solid #e5ebf2;min-height:82px}.bcp-chat-thread-head>div{flex:1;min-width:0}.bcp-chat-thread-head h3{font-size:15px;font-weight:650;color:#173651}.bcp-chat-thread-head p{margin-top:3px;font-size:10px;color:#7d8da2;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.bcp-messages .bcp-chat-subtle{border:1px solid #dce5ef;padding:6px 10px;font-size:11px;color:#536e8b}.bcp-messages .bcp-chat-back{display:none;font-size:28px;padding:0 5px}
.bcp-chat-feed{flex:1;min-height:0;overflow:auto;padding:18px 26px;background:linear-gradient(180deg,#fcfdff,#f7f9fc);overscroll-behavior:contain;scrollbar-width:thin}.bcp-chat-history-note{font-size:10px;text-align:center;color:#91a0b1;margin-bottom:22px!important}.bcp-chat-day{text-align:center;font-size:10px;color:#91a0b1;margin:18px 0}.bcp-chat-message{display:flex;align-items:flex-end;gap:9px;margin:16px 0}.bcp-chat-message>.bcp-chat-avatar{width:27px;height:27px;flex-basis:27px;font-size:9px}.bcp-chat-bubble{max-width:82%;min-width:145px;border:1px solid #e1e8f0;border-radius:13px 13px 13px 3px;background:#fff;padding:11px 14px;box-shadow:0 2px 3px #172b4b03}.bcp-chat-message.is-own{flex-direction:row-reverse}.bcp-chat-message.is-own>.bcp-chat-avatar{display:none}.bcp-chat-message.is-own .bcp-chat-bubble{background:#eaf2fd;border-color:#dae6f8;border-radius:13px 13px 3px 13px}.bcp-chat-message-meta{display:flex;align-items:center;justify-content:space-between;gap:22px;margin-bottom:5px}.bcp-chat-message-meta strong{font-size:10px;font-weight:650;color:#486482}.bcp-chat-message-meta time{font-size:9px;color:#8b9bb0}.bcp-chat-bubble p{font-size:12px;line-height:1.7;white-space:pre-wrap;overflow-wrap:anywhere;color:#2f435e}.bcp-chat-bubble mark{color:#125ba8;background:#d8e9ff;font-weight:600;padding:1px 3px;border-radius:3px}.bcp-messages .bcp-chat-record{display:flex;width:100%;justify-content:flex-start;margin-top:10px;padding:9px 10px;border:1px solid #cddff1;background:#f3f8ff;font-size:11px;color:#2264a7;text-align:left}.bcp-chat-record span{overflow-wrap:anywhere;flex:1}.bcp-chat-record svg{width:14px;height:14px}.bcp-chat-restricted{display:block;font-size:10px;color:#8b96a6;margin-top:8px}.bcp-messages .bcp-chat-older{display:flex;margin:auto;color:#316dab;font-size:11px;padding:6px 12px;border:1px solid #d9e4f0;background:#fff}.bcp-chat-feed-loading,.bcp-chat-empty-thread{padding:50px 20px;text-align:center;font-size:12px;color:#8a9bb0}.bcp-chat-empty-thread strong{font-size:15px;color:#4f6986}.bcp-chat-empty-thread p{margin-top:8px}
.bcp-chat-composer{position:relative;padding:16px 23px 14px;border-top:1px solid #e4ebf3;background:#fff}.bcp-chat-composer textarea{border:1px solid #dae4ef;background:#fafcfe;resize:vertical;min-height:76px;max-height:180px;font-size:12px;padding:13px 14px;line-height:1.6}.bcp-chat-composer textarea:focus{border-color:#91b7e5;background:#fff}.bcp-chat-compose-actions{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:10px}.bcp-chat-compose-actions>div{display:flex;align-items:center;gap:4px}.bcp-chat-compose-actions>div>button{width:30px;height:30px;color:#6883a0;font-size:18px}.bcp-chat-compose-actions>div>span{font-size:9px;color:#94a1b1;margin-left:7px}.bcp-messages .bcp-chat-primary{padding:9px 18px;border-radius:7px;background:#176bc1;color:#fff;font-weight:600;font-size:12px;box-shadow:0 2px 3px #1262b51a;white-space:nowrap}.bcp-messages .bcp-chat-primary:hover{background:#11589e}.bcp-chat-primary svg{width:15px;height:15px}.bcp-chat-status{font-size:11px;flex:none;color:#a74334;background:#fff4ef;padding:0 20px}.bcp-chat-status:empty{display:none}.bcp-chat-status.has-error{padding:8px 20px}
.bcp-chat-welcome{margin:auto;max-width:390px;padding:40px 22px;text-align:center}.bcp-chat-welcome>div{width:70px;height:70px;margin:0 auto 26px;background:#edf4fd;border:1px solid #d9e8fb;border-radius:22px;display:flex;align-items:center;justify-content:center;box-shadow:0 8px 22px #2369bb0d}.bcp-chat-welcome>div svg{width:29px;height:29px;color:#2471bd}.bcp-chat-welcome>span{display:block;font-size:9px;letter-spacing:1.6px;color:#7492b2}.bcp-chat-welcome h3{font-size:25px;line-height:1.35;letter-spacing:-.6px;color:#173653;font-weight:600;margin:12px 0}.bcp-chat-welcome p{font-size:12px;color:#7d8fa4;line-height:1.8;margin-bottom:23px}.bcp-chat-welcome small{display:block;font-size:10px;color:#98a6b7;margin-top:22px}
.bcp-chat-form{display:flex;flex-direction:column;min-height:0;flex:1;padding:25px 28px}.bcp-chat-form>header{display:flex;justify-content:space-between;align-items:center;margin-bottom:22px}.bcp-chat-form>header span{font-size:9px;letter-spacing:1.4px;color:#7b93ad}.bcp-chat-form h3{font-size:23px;font-weight:600;color:#1b3c60}.bcp-chat-form>header>button{font-size:24px;color:#8095ae}.bcp-chat-type{display:flex;gap:8px;margin-bottom:20px}.bcp-chat-type button{border:1px solid #dce5ee;padding:8px 16px;font-size:12px}.bcp-chat-type button[aria-pressed=true]{border-color:#8ab3e5;background:#ecf4fe;color:#2167b3}.bcp-chat-field{display:block;font-size:11px;color:#66809c;margin-bottom:15px}.bcp-chat-field input{margin-top:5px;font-size:12px}.bcp-chat-people{overflow:auto;min-height:60px;flex:1;overscroll-behavior:contain;padding:4px}.bcp-chat-person{display:flex;align-items:center;gap:12px;cursor:pointer;border-bottom:1px solid #edf1f6;padding:11px 5px}.bcp-chat-person>span:nth-child(2){flex:1;min-width:0}.bcp-chat-person strong{display:block;font-size:12px;overflow-wrap:anywhere}.bcp-chat-person small{display:block;font-size:10px;color:#8799ad;text-transform:capitalize;margin-top:3px}.bcp-chat-person input{width:17px;height:17px;accent-color:#176bc1;flex:none;margin-right:8px}.bcp-chat-form>footer{padding-top:18px;border-top:1px solid #e6ecf4}.bcp-chat-form>footer p{font-size:10px;color:#8193a7;margin-bottom:8px}.bcp-chat-form>footer p:first-child{color:#466c95;font-weight:600}.bcp-chat-form>footer>.bcp-chat-primary{margin-top:5px}
#bcp-chat-picker{position:absolute;left:23px;right:23px;bottom:calc(100% - 8px);border:1px solid #cddbea;border-radius:10px;background:#fff;box-shadow:0 -8px 30px #123b6812;overflow:hidden;z-index:2}#bcp-chat-picker[hidden]{display:none}#bcp-chat-picker>header{display:flex;align-items:center;justify-content:space-between;padding:6px 13px;border-bottom:1px solid #e5ebf3;font-size:11px;color:#567492}#bcp-chat-picker>div{max-height:190px;overflow:auto;padding:6px}#bcp-chat-picker>div>button{display:flex;width:100%;justify-content:flex-start;padding:9px 12px;text-align:left;font-size:12px;color:#32669b}#bcp-chat-picker>div>p{font-size:12px;color:#8497ab;padding:12px}#bcp-chat-picker input{border:0;border-bottom:1px solid #e5ebf3;border-radius:0;font-size:12px}
#bcp-chat-record-chip>span{display:inline-flex;align-items:center;gap:6px;border-radius:6px;background:#edf5ff;color:#30699f;padding:2px 6px;font-size:11px;margin-bottom:6px}#bcp-chat-record-chip svg{width:13px;height:13px}#bcp-chat-record-chip small{display:block;font-size:9px;color:#8b9cae;margin-bottom:8px}.bcp-chat-sr{position:absolute;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
@media(max-width:850px){.bcp-chat-layout{grid-template-columns:260px minmax(0,1fr)}.bcp-chat-compose-actions>div>span{display:none}.bcp-chat-feed{padding:15px}.bcp-chat-thread-head{padding:16px}.bcp-chat-composer{padding:14px}.bcp-chat-conversation-copy strong{max-width:115px}.bcp-chat-form{padding:20px}}
@media(max-width:640px){.bcp-messages{padding:0}.bcp-chat-window{width:100%;height:100dvh;max-height:100dvh;border:0;border-radius:0;min-height:0}.bcp-chat-top{padding:12px 16px}.bcp-chat-brand h2{font-size:17px}.bcp-chat-brand span{font-size:8px}.bcp-chat-top-right>span{max-width:130px;font-size:10px}.bcp-chat-top-right{gap:7px}.bcp-chat-layout{display:flex}.bcp-chat-sidebar{width:100%;border:0}.bcp-chat-main{display:none;width:100%}.bcp-chat-layout:has(.has-conversation) .bcp-chat-sidebar,.bcp-chat-layout:has(.bcp-chat-form) .bcp-chat-sidebar{display:none}.bcp-chat-main.has-conversation,.bcp-chat-main:has(.bcp-chat-form){display:flex}.bcp-messages .bcp-chat-back{display:flex}.bcp-chat-conversation-copy strong{max-width:none}.bcp-chat-conversation-copy small{max-width:85vw}.bcp-chat-thread-head{min-height:72px;padding:12px;gap:9px}.bcp-chat-thread-head h3{font-size:13px}.bcp-chat-thread-head p{max-width:55vw}.bcp-chat-bubble{max-width:88%}.bcp-chat-message>.bcp-chat-avatar{display:none}.bcp-chat-composer{padding:12px 12px max(12px,env(safe-area-inset-bottom))}.bcp-chat-composer textarea{min-height:66px;font-size:16px}.bcp-chat-form input{font-size:16px}.bcp-chat-compose-actions{margin-top:8px}.bcp-chat-filters button{padding:8px 16px}.bcp-chat-person{padding:13px 5px}.bcp-chat-status{padding-bottom:max(8px,env(safe-area-inset-bottom))}}
@media(prefers-reduced-motion:reduce){.bcp-messages *{scroll-behavior:auto!important}}
