.ag-message-contact{display:inline-flex;align-items:center;justify-content:center;gap:7px;min-height:40px;padding:8px 13px;border:1px solid #c9d9e9;border-radius:12px;background:#fff;color:#062b59;text-decoration:none;font-size:13px;font-weight:700;position:relative;z-index:3}.ag-message-contact svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.7}.ag-message-contact:hover{background:#edf6ff}.ag-presence{display:block;font-size:12px;line-height:1.5;color:#6b7788;font-weight:400;overflow-wrap:anywhere}.ag-presence:before{content:"";display:inline-block;width:7px;height:7px;border-radius:50%;margin-right:6px;background:#8995a6}.ag-presence.is-online{color:#16714c}.ag-presence.is-online:before{background:#1eaa70}.ag-messages-nav{position:relative;flex-shrink:0}.ag-message-count,.ag-unread{display:inline-flex;align-items:center;justify-content:center;min-width:19px;height:19px;border-radius:20px;background:#e56338;color:#fff;font:700 10px/1 sans-serif;padding:0 4px}.ag-message-count{position:absolute;right:-4px;top:-3px}.ag-message-count[hidden],.ag-unread[hidden]{display:none}.ag-messages-page{background:#f4f7fb;color:#102d50}.ag-messages-main{padding-top:28px;padding-bottom:50px}.ag-messages-heading{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:22px}.ag-messages-heading h1{margin:4px 0;font-size:32px}.ag-messages-heading a{font-size:14px;color:#245b8f}.ag-messages-layout{display:grid;grid-template-columns:310px minmax(0,1fr);gap:20px;align-items:start}.ag-message-inbox,.ag-message-thread{border:1px solid #dae3ee;border-radius:20px;background:#fff;overflow:hidden;min-width:0}.ag-message-inbox{max-height:80vh;overflow-y:auto}.ag-message-inbox h2{font-size:17px;padding:20px;margin:0}.ag-conversation{display:flex;flex-direction:column;gap:6px;text-decoration:none;color:#102d50;padding:17px 20px;border-top:1px solid #edf0f5;min-width:0}.ag-conversation:hover,.ag-conversation.is-selected{background:#edf5ff}.ag-conversation.is-selected{box-shadow:inset 3px 0 #16569b}.ag-conversation-line{display:flex;align-items:center;justify-content:space-between;gap:8px}.ag-conversation-line strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:14px}.ag-conversation-title{font-size:13px;color:#365773;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.ag-conversation-preview{font-size:12px;color:#6a798b;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.ag-message-inbox>[data-inbox-more]{display:block;margin:15px auto}.ag-message-inbox>[data-inbox-more][hidden]{display:none}.ag-thread-heading{padding:20px 24px;border-bottom:1px solid #e5ebf3;display:flex;flex-direction:column;gap:5px;min-width:0}.ag-thread-heading h2{margin:0;font-size:20px;overflow-wrap:anywhere}.ag-thread-heading a{font-size:14px;color:#245b8f;overflow-wrap:anywhere}.ag-thread-heading small{font-size:11px;color:#758193}.ag-message-history{height:45vh;min-height:200px;max-height:530px;overflow-y:auto;overscroll-behavior:contain;padding:20px 24px;display:flex;flex-direction:column;gap:12px;background:#f9fbfd;scrollbar-gutter:stable}.ag-chat-message{align-self:flex-start;max-width:85%;min-width:100px;background:#fff;border:1px solid #e0e8f1;border-radius:15px 15px 15px 4px;padding:11px 14px}.ag-chat-message.is-mine{align-self:flex-end;background:#e8f2ff;border-color:#d3e5fc;border-radius:15px 15px 4px 15px}.ag-chat-message p{margin:0;white-space:pre-wrap;overflow-wrap:anywhere;font-size:14px;line-height:1.55}.ag-chat-message footer{display:flex;gap:12px;justify-content:flex-end;flex-wrap:wrap;margin-top:7px;font-size:10px;color:#60748b}.ag-history-more{display:block;margin:12px auto}.ag-history-more[hidden]{display:none}.ag-message-compose{padding:19px 24px;border-top:1px solid #e5ebf3;display:flex;flex-direction:column;gap:10px}.ag-message-compose label{font-size:13px;font-weight:700}.ag-message-compose textarea{box-sizing:border-box;width:100%;max-width:100%;resize:vertical;min-height:80px;max-height:240px;border:1px solid #bccddd;border-radius:12px;padding:12px;font:inherit;font-size:14px;color:#102d50;background:#fff}.ag-message-compose textarea:focus{outline:2px solid #6b9ccd;outline-offset:1px}.ag-message-compose textarea[readonly]{background:#f0f4f8}.ag-message-compose>button{align-self:flex-end}.ag-compose-bottom{display:flex;align-items:center;justify-content:space-between;gap:14px}.ag-compose-bottom small{color:#728094;font-size:11px}.ag-message-compose button svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.7}.ag-message-compose button:disabled{opacity:.6;cursor:wait}.ag-compose-error,.ag-messages-connection{color:#984126;background:#fff3e9;border-radius:10px;padding:12px;font-size:13px;margin:0}.ag-messages-connection{margin-bottom:15px}.ag-compose-error[hidden],.ag-messages-connection[hidden]{display:none}.ag-messages-empty{padding:25px;color:#65788d;font-size:14px;line-height:1.6}.ag-messages-empty h2,.ag-messages-empty h3{color:#102d50}.ag-thread-empty{min-height:400px;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center}.ag-thread-empty>svg{width:46px;height:46px;fill:none;stroke:#5682ab;stroke-width:1.5}.ag-thread-empty p{max-width:370px}.ag-message-jump{display:block;margin:8px auto;border:0;border-radius:16px;padding:8px 16px;color:#fff;background:#155892;cursor:pointer;font-size:12px}.ag-message-jump[hidden]{display:none}.ag-messages-page .notice{overflow-wrap:anywhere}@media(max-width:800px){.ag-messages-layout{grid-template-columns:1fr;gap:14px}.ag-message-inbox{max-height:240px}.ag-message-inbox h2{font-size:15px;padding:14px 17px}.ag-conversation{padding:12px 17px}.ag-messages-main{padding-top:18px}.ag-messages-heading h1{font-size:27px}.ag-thread-heading{padding:17px}.ag-message-history{padding:17px;min-height:220px;height:45vh}.ag-message-compose{padding:17px}.ag-chat-message{max-width:92%}.ag-compose-bottom{flex-wrap:wrap}.ag-compose-bottom button{margin-left:auto}.ag-thread-empty{min-height:250px}}@media(prefers-reduced-motion:reduce){.ag-message-history{scroll-behavior:auto}}
.ag-chat-message{flex-shrink:0}.ag-chat-message footer{padding:0;background:none;border:0;min-height:0;width:auto}
@media(max-width:380px){.ag-header .ag-brand{min-width:0;width:94px;flex:0 1 94px;padding:6px 0;margin-left:0}.ag-header .ag-brand .ag-brand-logo{width:94px;max-width:100%}.ag-header .ag-header-actions{gap:4px}}
