.chat-launcher{position:relative;min-height:44px;padding:10px 16px;border:1px solid #e99b27;border-radius:999px;background:#102f4d;color:#fff;font:800 13px Manrope,Arial,sans-serif;cursor:pointer}.chat-unread{display:inline-flex;align-items:center;justify-content:center;min-width:20px;height:20px;padding:0 4px;border-radius:999px;background:#b91c1c;color:#fff!important;font-size:12px}.chat-unread[hidden]{display:none}.corporate-footer-actions .chat-launcher{flex:1 1 0;min-width:0}.corporate-chat{position:fixed;inset:0 0 0 auto;margin:0;width:min(920px,96vw);max-width:100vw;height:100dvh;max-height:100dvh;padding:0;border:0;border-left:2px solid #e99b27;background:#f3f7fb;color:#14344f;font:14px Manrope,Arial,sans-serif;box-sizing:border-box}.corporate-chat::backdrop{background:#061b3570}.corporate-chat *{box-sizing:border-box}.corporate-chat>header{display:flex;justify-content:space-between;align-items:center;background:#102f4d;color:#fff;padding:16px 20px}.corporate-chat h2{margin:0;font-size:22px}.corporate-chat h3{font-size:16px}.corporate-chat button{min-height:40px;border:1px solid #72899c;border-radius:8px;padding:8px 12px;background:#fff;color:#14344f;cursor:pointer;font:inherit}.corporate-chat button:hover{border-color:#a35b00;background:#fff2d8}.corporate-chat :focus-visible,.chat-launcher:focus-visible{outline:3px solid #c66c00;outline-offset:3px}.chat-pilot{margin:0;padding:10px 20px;background:#fff0d3;color:#694100;font-size:12px}.chat-layout{display:grid;grid-template-columns:270px minmax(0,1fr);height:calc(100% - 110px)}.chat-sidebar{padding:16px;border-right:1px solid #abbccc;overflow:auto}.chat-main{display:flex;flex-direction:column;padding:16px;min-height:0;gap:8px}.corporate-chat label{display:block;font-weight:700}.corporate-chat label small{display:block;font-size:12px;color:#3d566c;font-weight:400;margin:4px 0}.corporate-chat input,.corporate-chat textarea{display:block;width:100%;min-height:40px;padding:9px;border:1px solid #71899e;border-radius:6px;background:#fff;color:#14344f;font:inherit}.corporate-chat textarea{resize:vertical;max-height:140px}.chat-main>h3{margin:0;display:flex;align-items:center;gap:8px}.chat-history{flex:1;min-height:130px;overflow:auto;padding:10px;display:flex;flex-direction:column;gap:10px;background:#e5edf5;border-radius:8px}.chat-message{align-self:flex-start;background:#fff;border:1px solid #9eb4c6;border-radius:12px;padding:10px 12px;max-width:90%;min-width:120px;flex-shrink:0;overflow-wrap:anywhere}.chat-message.own{align-self:flex-end;background:#d8eaf8}.chat-message p{white-space:pre-wrap;margin:0 0 6px;color:#14344f}.chat-message small{color:#354e63;font-size:11px}.chat-compose{flex-shrink:0}.chat-compose>button{margin-top:6px;background:#124e76;color:#fff;border-color:#124e76;width:100%}.chat-compose>button:disabled{background:#526a7c;color:#fff;cursor:wait}.chat-conversation,.chat-people>button{display:grid;grid-template-columns:36px 1fr;width:100%;text-align:left;gap:5px;margin:8px 0}.chat-conversation small{grid-column:2;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#3d566c}.chat-conversation[aria-current]{border:2px solid #a35b00;background:#fff2d8}.chat-avatar{position:relative;display:inline-flex;align-items:center;justify-content:center;width:30px;height:30px;flex-shrink:0;border-radius:50%;background:#123d5b;color:#fff;font-size:11px}.chat-presence{position:absolute;right:-2px;bottom:-1px;width:11px;height:11px;border:2px solid #fff;border-radius:50%;background:#697586}.chat-presence.online{background:#16743c}.chat-presence.away{background:#a35b00}.chat-feedback{margin:0;font-size:12px;color:#3d566c;min-height:16px}.chat-hits{max-height:110px;overflow:auto}.chat-hits button{display:block;width:100%;text-align:left;margin:4px 0}.chat-highlight{outline:3px solid #a35b00}.corporate-chat mark{background:#ffcf73;color:#3c2900}.chat-main>button[hidden]{display:none}@media(max-width:620px){.corporate-chat{width:100vw}.chat-layout{grid-template-columns:1fr;height:calc(100% - 115px);grid-template-rows:170px minmax(0,1fr)}.chat-sidebar{padding:8px 12px;border-right:0;border-bottom:1px solid #abbccc}.chat-sidebar h3{display:none}.chat-conversations{display:flex;gap:6px}.chat-conversation{min-width:180px;max-width:220px}.chat-main{padding:10px}.chat-message{max-width:96%}.corporate-footer-actions{flex-wrap:wrap}.chat-launcher{font-size:12px;padding-inline:10px}}

.chat-main{overflow:auto}.chat-main>h3,.chat-main>label,.chat-main>.chat-hits,.chat-main>.chat-feedback,.chat-main>button{flex-shrink:0}.chat-main>.chat-hits:empty{display:none}@media(max-width:620px){.chat-layout{grid-template-rows:120px minmax(0,1fr)}.chat-main{gap:6px}.chat-compose textarea{min-height:60px;height:60px}.chat-compose label small{font-size:11px}.chat-main>label small{font-size:11px}}

.corporate-chat>header h2{color:#fff;opacity:1;visibility:visible}.chat-message p{font-family:Manrope,Arial,"Nimbus Sans","Segoe UI Emoji","Apple Color Emoji","Noto Color Emoji",sans-serif}

/* Compact message composer approved from the supplied visual references. */
.corporate-chat .chat-compose-compact{position:relative;flex-shrink:0;margin:0;padding:4px 0 0;overflow:visible}
.chat-compose-compact .chat-compose-label,.chat-compose-compact .chat-compose-help{position:absolute!important;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.corporate-chat .chat-compose-bar{display:flex;align-items:flex-end;gap:6px;min-height:56px;padding:7px 8px;border:1px solid #3f4446;border-radius:29px;background:#242626;color:#f4f5f5;box-shadow:0 2px 8px #102f4d19}
.corporate-chat .chat-compose-bar textarea{flex:1;min-width:0;min-height:26px!important;height:26px;max-height:120px;padding:3px 4px;margin:6px 0!important;border:0!important;border-radius:0;resize:none;background:transparent!important;color:#f4f5f5!important;box-shadow:none!important;font:14px/20px Manrope,Arial,"Nimbus Sans","Segoe UI Emoji","Apple Color Emoji","Noto Color Emoji",sans-serif;overflow-y:auto;outline-offset:1px}
.corporate-chat .chat-compose-bar textarea::placeholder{color:#b9bdbd;opacity:1}
.corporate-chat .chat-compose-icon,.corporate-chat .chat-compose-send{display:inline-flex;align-items:center;justify-content:center;flex:0 0 40px;width:40px;min-width:40px;height:40px;min-height:40px;padding:9px;margin:0;border:0;border-radius:50%;background:transparent;color:#eef1f1;cursor:pointer}
.corporate-chat .chat-compose-icon:hover{background:#3b3e3f;color:#fff}.corporate-chat .chat-compose-icon[aria-expanded=true]{background:#414646}
.corporate-chat .chat-compose-icon[aria-pressed=true]{background:#943b34;color:#fff}
.corporate-chat .chat-compose-send{background:#f5f7f7;color:#111b21}
.corporate-chat .chat-compose-send:hover{background:#dce6e8;color:#111b21}
.corporate-chat .chat-compose-send:disabled{background:#a7b5b9;color:#243a45;cursor:wait}
.corporate-chat .chat-compose-icon:disabled{color:#a7b5b9;cursor:wait}
.corporate-chat .chat-compose-bar svg,.corporate-chat .chat-attach-panel svg{width:24px;height:24px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round;flex-shrink:0}
.corporate-chat .chat-compose-send svg{fill:currentColor;stroke-width:1.3}
.corporate-chat .chat-compose-compact [hidden]{display:none!important}
.corporate-chat .chat-compose-popover{position:absolute;bottom:calc(100% + 10px);left:0;z-index:15;max-width:100%;border:1px solid #444c4f;border-radius:14px;background:#202323;color:#f1f4f4;box-shadow:0 8px 28px #0005}
.corporate-chat .chat-emoji-panel{display:flex;flex-direction:column;width:420px;max-height:min(430px,48dvh);padding:12px 12px 0;gap:8px}
.corporate-chat .chat-emoji-panel label{color:#f1f4f4;font-size:12px}.corporate-chat .chat-emoji-panel label small{color:#bec6c8;font-size:11px;font-weight:400}
.corporate-chat .chat-emoji-panel input{min-height:36px;padding:8px 10px;background:#303636;color:#f1f4f4;border-color:#667276;border-radius:8px;font-size:13px}.corporate-chat .chat-emoji-panel input::placeholder{color:#bec6c8}
.corporate-chat .chat-compose-popover h4{font:700 12px Manrope,Arial,sans-serif;color:#c6cdcf;margin:2px 4px}
.corporate-chat .chat-emoji-grid{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:2px;overflow-y:auto;min-height:80px;flex:1;padding:2px}
.corporate-chat .chat-emoji-grid button{display:flex;align-items:center;justify-content:center;min-width:0;min-height:54px;height:54px;border:0;padding:2px;background:transparent;color:#fff;font:38px/1 "Segoe UI Emoji","Noto Color Emoji",sans-serif;border-radius:6px}
.corporate-chat .chat-emoji-grid button:hover{background:#404a49}.corporate-chat .chat-emoji-grid p{grid-column:1/-1;color:#e1e7e8;font-size:13px}
.corporate-chat .chat-emoji-tabs{display:flex;gap:2px;justify-content:space-between;border-top:1px solid #495254;padding:7px 0;flex-shrink:0}
.corporate-chat .chat-emoji-tabs button{flex:1;min-width:0;min-height:32px;padding:3px;border:0;border-radius:8px;background:transparent;color:#e1e7e8;font:24px "Segoe UI Emoji","Noto Color Emoji",sans-serif}.corporate-chat .chat-emoji-tabs button[aria-pressed=true]{background:#3a5050;box-shadow:inset 0 -2px #8cd6c1}.corporate-chat .chat-emoji-tabs button:hover{background:#404a49}
.corporate-chat .chat-attach-panel{width:290px;padding:12px}
.corporate-chat .chat-attach-panel>button{display:flex;align-items:center;gap:10px;width:100%;min-height:44px;background:transparent;color:#c6cdcf;border:0;text-align:left;padding:8px 4px;cursor:default;opacity:1}.corporate-chat .chat-attach-panel>button svg{color:#b3a5f8}.corporate-chat .chat-attach-panel>button:nth-of-type(2) svg{color:#70bce9}.corporate-chat .chat-attach-panel>button:nth-of-type(3) svg{color:#e6ae7b}
.corporate-chat .chat-attach-panel small{font-size:10px;color:#b7c3c8;margin-left:auto;white-space:nowrap}.corporate-chat .chat-attach-panel p{margin:8px 4px 0;font-size:11px;line-height:1.5;color:#c6cdcf}
@media(max-width:620px){.corporate-chat .chat-compose-bar{gap:2px;padding:5px;min-height:52px}.corporate-chat .chat-compose-icon,.corporate-chat .chat-compose-send{flex-basis:36px;min-width:36px;width:36px;height:36px;min-height:36px;padding:7px}.corporate-chat .chat-compose-bar textarea{font-size:13px;margin:5px 0!important}.corporate-chat .chat-emoji-panel{width:min(420px,calc(100vw - 20px));max-height:45dvh;padding:10px 8px 0}.corporate-chat .chat-emoji-grid{grid-template-columns:repeat(6,minmax(0,1fr))}.corporate-chat .chat-emoji-grid button{font-size:36px}}
@media(forced-colors:active){.corporate-chat .chat-compose-bar,.corporate-chat .chat-compose-popover{background:Canvas;color:CanvasText;border:1px solid CanvasText}.corporate-chat .chat-compose-bar textarea{color:CanvasText!important}.corporate-chat .chat-compose-icon,.corporate-chat .chat-compose-send{color:ButtonText;background:ButtonFace}.corporate-chat .chat-emoji-tabs button[aria-pressed=true]{outline:2px solid Highlight}}

.corporate-chat .chat-message p{text-align:left;word-spacing:normal;letter-spacing:normal}

/* Message actions stay in a contextual menu; reactions are message content. */
.corporate-chat .chat-message{position:relative;padding-right:38px}
.corporate-chat .chat-message-more{position:absolute;right:2px;top:2px;display:flex;align-items:center;justify-content:center;width:32px;min-width:32px;height:36px;min-height:36px;padding:0;background:transparent;border:0;border-radius:8px;color:#3d566c;font:700 25px/1 Arial,sans-serif;opacity:.35}
.corporate-chat .chat-message:hover .chat-message-more,.corporate-chat .chat-message:focus-within .chat-message-more{opacity:1;background:#b8d1e354}
.corporate-chat .chat-message-menu{position:fixed;z-index:40;width:310px;max-width:calc(100vw - 20px);max-height:calc(100dvh - 24px);overflow:auto;background:#242929;color:#f4f6f6;border:1px solid #536162;border-radius:14px;padding:8px;box-shadow:0 10px 30px #0005}
.corporate-chat .chat-quick-reactions{display:flex;justify-content:space-between;gap:2px;padding:2px 0 8px;margin-bottom:4px;border-bottom:1px solid #526262}
.corporate-chat .chat-quick-reactions button{display:flex;align-items:center;justify-content:center;width:46px;min-width:0;min-height:46px;height:46px;padding:3px;background:transparent;color:#fff;border:0;border-radius:10px;font:32px/1 "Segoe UI Emoji","Apple Color Emoji","Noto Color Emoji",sans-serif}
.corporate-chat .chat-quick-reactions button:hover,.corporate-chat .chat-quick-reactions button[aria-pressed=true]{background:#49635d}
.corporate-chat .chat-message-menu>button{display:block;width:100%;min-height:42px;text-align:left;background:transparent;color:#f4f6f6;border:0;border-radius:7px;padding:10px 12px;font-size:14px}
.corporate-chat .chat-message-menu>button:hover{background:#3c4b48}
.corporate-chat .chat-message-info{margin:6px;padding:8px;border-top:1px solid #536162;color:#e1e9e9;font-size:12px;line-height:1.6}
.corporate-chat .chat-message-info[hidden]{display:none}
.corporate-chat .chat-message-reactions{display:flex;flex-wrap:wrap;gap:4px;margin:8px 0 0}
.corporate-chat .chat-message-reactions button{display:inline-flex;align-items:center;justify-content:center;gap:3px;min-height:36px;padding:3px 7px;border-radius:20px;border:1px solid #839caf;background:#f2f7fa;color:#17354b;font:20px/1.3 "Segoe UI Emoji","Apple Color Emoji","Noto Color Emoji",Arial,sans-serif}
.corporate-chat .chat-message-reactions button[aria-pressed=true]{border:2px solid #986000;background:#fff0d4}
.corporate-chat .chat-reply-quote{display:flex;flex-direction:column;gap:3px;max-width:100%;width:100%;padding:7px 9px;margin:0 0 8px;text-align:left;white-space:normal;overflow-wrap:anywhere;border:0;border-left:3px solid #a86a00;border-radius:6px;background:#c3d7e9;color:#17354b}
.corporate-chat .chat-reply-quote strong{font-size:11px;color:#17354b}.corporate-chat .chat-reply-quote span{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;font-size:12px;line-height:1.45;color:#17354b}
.corporate-chat .chat-reply-preview{display:flex;align-items:center;gap:8px;padding:9px 10px;margin:0 0 6px;border-left:3px solid #b17200;border-radius:8px;background:#d6e5f2;color:#17354b}
.corporate-chat .chat-reply-preview[hidden]{display:none}.corporate-chat .chat-reply-preview>div{flex:1;min-width:0}.corporate-chat .chat-reply-preview strong{display:block;font-size:12px;color:#17354b}.corporate-chat .chat-reply-preview span{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:12px;color:#314e63}
.corporate-chat .chat-reply-preview button{min-width:36px;min-height:36px;padding:3px;border:0;background:transparent;color:#17354b;font-size:22px}
@media(hover:none){.corporate-chat .chat-message-more{opacity:1}}
@media(max-width:620px){.corporate-chat .chat-message{padding-right:42px}.corporate-chat .chat-message-more{width:38px;min-width:38px;height:40px;min-height:40px}.corporate-chat .chat-message-menu{width:300px}}

/* Live chat alerts stay separate from the composer and use readable text. */
.chat-notices{position:fixed;right:max(16px,env(safe-area-inset-right));bottom:max(16px,env(safe-area-inset-bottom));z-index:2200;display:flex;flex-direction:column;gap:8px;width:min(340px,calc(100vw - 32px));max-height:75dvh;overflow:auto;font:13px/1.4 Manrope,Arial,sans-serif;color:#17354b}
.chat-notice{display:flex;align-items:flex-start;gap:4px;background:#f3f8fc;color:#17354b;border:1px solid #6b899f;border-left:4px solid #af6a00;border-radius:10px;box-shadow:0 6px 24px #001d3650;padding:5px;flex-shrink:0}
.chat-notice-open{display:flex;flex:1;flex-direction:column;gap:4px;min-width:0;min-height:44px;text-align:left;padding:7px;border:0;border-radius:5px;background:transparent;color:#17354b;font:inherit;cursor:pointer}
.chat-notice-open strong{font-size:13px;color:#17354b}.chat-notice-open span{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;overflow-wrap:anywhere;white-space:pre-wrap;color:#28475e}
.chat-notice-close{border:0;background:transparent;color:#17354b;min-width:36px;min-height:44px;font:24px Arial,sans-serif;cursor:pointer;border-radius:5px}
.chat-notice button:hover{background:#dcebf6}.chat-notice button:focus-visible{outline:3px solid #986000;outline-offset:1px}
@media(max-width:620px){.chat-notices{bottom:calc(82px + env(safe-area-inset-bottom));right:12px;width:calc(100vw - 24px)}}

.corporate-chat .chat-typing{display:flex;align-items:center;justify-content:center;gap:4px;align-self:flex-start;min-width:48px;min-height:32px;padding:7px 10px;margin:0;border:1px solid #98afc1;border-radius:10px;background:#d9e7f1;color:#35566e}
.corporate-chat .chat-typing[hidden]{display:none}.chat-typing span{width:6px;height:6px;border-radius:50%;background:#45657c;animation:chatTypingPulse 1s ease-in-out infinite}.chat-typing span:nth-child(2){animation-delay:.14s}.chat-typing span:nth-child(3){animation-delay:.28s}
@keyframes chatTypingPulse{0%,60%,100%{transform:translateY(0);opacity:.55}30%{transform:translateY(-3px);opacity:1}}
@media(prefers-reduced-motion:reduce){.chat-typing span{animation:none;opacity:1}}

/* File previews and voice recording use the existing light navy/amber form palette. */
.corporate-chat .chat-media-compose{margin-top:8px;padding:10px;border:1px solid #8aa5b9;border-radius:10px;background:#edf5fb;color:#153b56;min-width:0}
.corporate-chat .chat-media-compose[hidden],.corporate-chat .chat-record-panel[hidden],.corporate-chat .chat-media-actions[hidden]{display:none!important}
.corporate-chat .chat-media-compose :is(p,strong,small,span){color:#153b56}.corporate-chat .chat-media-status{margin:7px 0 0;font-size:12px;line-height:1.4;overflow-wrap:anywhere}
.corporate-chat .chat-media-actions{display:flex;gap:8px;margin-top:8px;flex-wrap:wrap}.corporate-chat .chat-media-actions button{min-height:40px;padding:7px 12px;font-weight:700}.corporate-chat .chat-media-actions .primary-action{background:#13527b;color:#fff;border-color:#13527b}
.corporate-chat .chat-file-preview{display:flex;flex-wrap:wrap;align-items:center;gap:8px;border-bottom:1px solid #b6ccdb;padding:6px 0;min-width:0}.corporate-chat .chat-file-preview>div{flex:1;min-width:100px}.corporate-chat .chat-file-preview :is(strong,small){display:block;overflow-wrap:anywhere}.corporate-chat .chat-file-preview>button{min-width:36px;font-size:20px}.corporate-chat .chat-file-preview :is(img,video,audio){width:min(300px,100%);max-height:180px;object-fit:contain}
.corporate-chat .chat-record-panel{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.corporate-chat .chat-record-panel .chat-record-dot{color:#a51b25;font-size:22px}.corporate-chat .chat-record-panel button{font-size:12px;min-height:40px;padding:6px 9px}
.corporate-chat .chat-message-files{display:grid;gap:7px;margin:8px 0 0;min-width:0}.corporate-chat .chat-file{display:grid;gap:5px;min-width:0;max-width:320px;padding:8px;border:1px solid #8da8bb;border-radius:8px;background:#edf5fb;color:#153b56}
.corporate-chat .chat-file :is(img,video){width:100%;max-width:280px;max-height:210px;object-fit:contain;aspect-ratio:4/3;background:#d4e3ed;border-radius:5px}.corporate-chat .chat-file audio{max-width:100%;width:280px;min-width:0}.corporate-chat .chat-file a{color:#13517b!important;font-size:12px;font-weight:700;overflow-wrap:anywhere}.corporate-chat .chat-file small{color:#284c65!important;font-size:11px}
@media(max-width:620px){.corporate-chat .chat-media-compose{padding:8px}.corporate-chat .chat-file-preview{gap:5px}.corporate-chat .chat-record-panel{gap:5px}.corporate-chat .chat-record-panel>span:nth-child(2){font-size:12px}}
