.team-messages-launcher{display:flex;justify-content:flex-end;margin:0 0 16px}.team-messages-launcher[hidden]{display:none}.team-messages-launcher button{border:2px solid #0b8390;color:#075b69;min-height:46px}.team-messages-launcher .has-unread{background:#e3f5f4;font-weight:800}.team-messages-dialog{box-sizing:border-box;width:min(1060px,96vw);max-height:92dvh;padding:24px;border:1px solid #cbd8e4;border-radius:20px;color:#193253;background:#fff}.team-messages-dialog::backdrop{background:#102d4bc4}.team-messages-dialog *{box-sizing:border-box;min-width:0}.team-message-header,.team-message-tools{display:flex;align-items:center;gap:12px;justify-content:space-between;flex-wrap:wrap}.team-message-header h2{margin:0}.team-message-tools{justify-content:flex-start}.team-message-tools label{display:flex;flex-direction:row;align-items:center;gap:8px;margin:0}.team-message-tools input[type=checkbox]{width:20px;height:20px}.team-message-layout{display:grid;grid-template-columns:minmax(230px,32%) minmax(0,1fr);gap:20px}.team-message-list{border-right:1px solid #d8e2e9;padding-right:14px;max-height:62dvh;overflow:auto}.team-message-item{display:block;width:100%;text-align:left;color:#193253;background:#f6f9fc;border:1px solid #d5e0e8;padding:12px;border-radius:12px;margin-bottom:10px;overflow-wrap:anywhere}.team-message-item>*{display:block;margin:3px 0}.team-message-item.selected{border:2px solid #0b8390;background:#edf9f9}.team-message-item small{color:#4b6178}.team-message-conversation{overflow-wrap:anywhere}.team-message-conversation form{display:grid;gap:14px}.team-message-conversation label{display:grid;gap:6px;font-weight:650}.team-message-conversation input,.team-message-conversation textarea,.team-message-conversation select{max-width:100%;width:100%;padding:12px;border:1px solid #b8cbd9;border-radius:10px;font:inherit;color:inherit;background:white}.team-message-conversation textarea{resize:vertical}.team-message-history{max-height:42dvh;min-height:120px;overflow-y:auto;padding:12px;background:#f3f7fa;border-radius:12px;margin:12px 0}.team-message-bubble{background:white;padding:12px;border:1px solid #d6e2e8;border-radius:12px;max-width:94%;margin:0 auto 12px 0}.team-message-bubble.mine{background:#e3f4f4;margin-left:auto;margin-right:0}.team-message-bubble p{white-space:pre-wrap;margin:8px 0}.team-message-bubble small{display:block;color:#4b6178;font-size:.8rem}.team-messages-dialog [hidden]{display:none!important}.team-messages-dialog button:focus-visible{outline:3px solid #0b8390;outline-offset:3px}@media(max-width:700px){.team-messages-launcher{justify-content:stretch}.team-messages-launcher button{width:100%}.team-messages-dialog{width:100%;max-width:100%;max-height:100dvh;height:100dvh;margin:0;padding:16px;border-radius:0}.team-message-layout{grid-template-columns:1fr}.team-message-list{border-right:0;border-bottom:1px solid #d8e2e9;padding:0 0 12px;max-height:25dvh}.team-message-tools{gap:8px}.team-message-tools button{flex:1}.team-message-tools label{width:100%}.team-message-history{max-height:36dvh}.team-message-header h2{font-size:1.35rem}}
.team-message-header{position:sticky;top:0;z-index:3;background:#fff;padding:8px 0}
