/* MAIL_CHAT_CHANNELS_V1 */
.chat-v2{display:flex;flex-direction:column;gap:10px;height:min(690px,calc(100dvh - var(--head) - 110px));min-height:340px}
.chat-v2>select{width:100%}.chat-v2 .chat-log{flex:1;min-height:120px;overflow:auto;display:flex;flex-direction:column;gap:14px;padding-right:2px}.chat-v2 .chat-log:focus-visible{outline-offset:-2px}
.chat-row{display:grid;grid-template-columns:30px minmax(0,1fr);gap:8px}.chat-avatar{width:30px;height:30px;border-radius:9px;background:var(--sel);display:grid;place-items:center;font-size:11px;font-weight:700}.chat-meta{display:flex;align-items:center;gap:7px;font-size:12px}.chat-meta time{font-size:10px;color:var(--muted)}.chat-text{white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.5;margin-top:3px}.chat-empty{margin:0;font-size:13px}.chat-note{margin:0;font-size:11px}
.chat-compose{display:flex;gap:6px;align-items:flex-end}.chat-compose textarea{flex:1;min-height:66px;height:66px;max-height:160px;resize:vertical}.chat-send{min-width:40px;min-height:40px;padding:8px 12px;flex:none}
@media(max-width:760px){.chat-v2{height:calc(100dvh - 130px)}.chat-compose textarea,.chat-v2>select{font-size:16px}.chat-send{min-width:46px;min-height:46px}}
