.chat-search-bar{display:flex;gap:1rem;align-items:center;flex-wrap:wrap;margin:1rem 0}.chat-search-bar>label:first-child{flex:1;min-width:180px}.chat-conversation{border-radius:16px!important;padding:16px!important}.chat-conversation[hidden],.chat-compose [hidden]{display:none!important}.chat-conversation small{overflow:hidden;text-overflow:ellipsis;max-width:70vw}.chat-heading h1{font-size:1.4rem}.chat-heading>label{max-width:230px}.chat-history{background:var(--panel,#eef3f8);padding:16px}.chat-bubble{border-radius:16px!important;max-width:85%;overflow-wrap:anywhere}.chat-bubble.outgoing{background:#d6eee5;color:#12382c}.chat-bubble.incoming{background:#fff;color:#172d42}.chat-bubble p{white-space:pre-wrap}.chat-compose{position:relative;display:flex!important;flex-wrap:wrap;align-items:center;gap:8px;padding:12px!important;background:var(--panel,#eef3f8)}.chat-compose textarea{flex:1;width:auto!important;min-width:90px;min-height:48px;border-radius:20px;resize:vertical}.chat-tools{display:flex;gap:4px}.chat-tools button{font-size:24px;width:44px;height:44px;padding:4px}.chat-send{border-radius:24px;min-height:44px}.chat-compose #message-status{flex-basis:100%;margin:0;font-size:.9rem}.chat-emoji-panel{position:absolute;bottom:calc(100% + 4px);left:0;z-index:30;background:#fff;color:#172d42;border:1px solid #bccbd5;border-radius:18px;padding:12px;width:min(420px,100%);box-shadow:0 8px 30px #0003;box-sizing:border-box}.emoji-heading{display:flex;justify-content:space-between;align-items:center}.emoji-categories{display:flex;overflow:auto;gap:4px;padding:8px 0}.emoji-categories button{font-size:14px;white-space:nowrap;background:#e8eef4;color:#183a52;border-radius:20px;padding:8px}.emoji-categories button[aria-pressed=true]{background:#164e75;color:white}.emoji-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(42px,1fr));max-height:28vh;overflow:auto}.emoji-grid button{background:transparent;color:#172d42;font-size:26px;padding:4px;min-height:44px}.voice-tray{flex-basis:100%;display:flex;align-items:center;gap:8px;flex-wrap:wrap;border-top:1px solid #bccbd5;padding-top:8px}.voice-tray audio,.voice-message audio{max-width:100%;width:260px}.voice-message{display:flex;flex-direction:column;gap:6px;min-width:180px}.voice-speed{align-self:flex-end;padding:4px 12px}.online-body .online-dot{display:inline-block}.chat-shell{min-height:300px}@media(max-width:500px){.chat-heading{gap:6px;padding:10px!important}.chat-heading>label{max-width:160px;font-size:14px}.chat-compose{padding:8px!important;gap:4px}.chat-tools{gap:0}.chat-tools button{width:38px}.chat-send{padding:10px}.chat-bubble{max-width:92%}.chat-conversation-meta{font-size:12px}.chat-search-bar{gap:8px}}
.chat-compose .sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.chat-tools button{background:#fff;color:#173e5c;border:1px solid #c7d7e1;border-radius:50%}.chat-heading{display:grid!important;grid-template-columns:1fr auto;align-items:center}.chat-heading #chat-back{grid-column:1/-1;justify-self:start}.chat-heading h1{margin:0}.chat-heading #chat-presence-status{grid-column:1}.chat-heading>label{grid-column:2;grid-row:2/4;margin:0}.chat-heading select{max-width:140px}.voice-speed{background:#173e5c;color:#fff}
