.communications{color:#1e293b;background:#fff;min-width:0;font:14px/1.5 system-ui,sans-serif}.communications header,.communications-actions{display:flex;align-items:center;gap:10px;flex-wrap:wrap}.communications header{justify-content:space-between}.communications h2,.communications h3{margin:8px 0}.communications button{cursor:pointer;padding:7px 10px;border:1px solid #cbd5e1;border-radius:8px;background:#fff;color:inherit}.communications button:disabled{cursor:wait;opacity:.5}.communications-layout{display:grid;grid-template-columns:minmax(180px,260px) minmax(0,1fr);gap:16px}.communications aside{min-width:0;border-right:1px solid #e2e8f0;padding:8px}.communications nav button{display:block;text-align:left;width:100%;margin:8px 0}.communications nav button.selected{border-color:#2563eb;background:#eff6ff}.communications nav small{display:block;overflow-wrap:anywhere;color:#64748b}.communications-unread{float:right;background:#2563eb;color:#fff;border-radius:20px;padding:0 7px}.communications label{display:grid;gap:4px;margin:8px 0}.communications select,.communications input,.communications textarea{font:inherit;padding:8px;border:1px solid #cbd5e1;border-radius:8px;max-width:100%;box-sizing:border-box}.communications textarea{width:100%;min-height:70px;max-height:200px;resize:vertical}.communications-conversation{min-width:0}.communications-members{color:#64748b}.communications-messages{height:min(55vh,600px);overflow:auto;overscroll-behavior:contain;padding:12px;background:#f8fafc;border-radius:12px}.communications-messages article{max-width:85%;width:fit-content;margin:12px 0;padding:10px;background:#fff;border:1px solid #e2e8f0;border-radius:12px;overflow-wrap:anywhere}.communications-messages article.own{margin-left:auto;background:#eff6ff}.communications-messages p{white-space:pre-wrap;margin:6px 0}.communications-messages img{max-width:220px;max-height:300px;object-fit:contain}.communications-message-actions{display:flex;gap:4px;flex-wrap:wrap}.communications-message-actions button,.communications-quote{font-size:12px}.communications [role=alert]{background:#fff7ed;color:#9a3412;padding:8px;border-radius:8px}.communications small{color:#64748b}.communications form{margin:8px 0}@media(max-width:700px){.communications-layout{grid-template-columns:1fr}.communications aside{border-right:0;border-bottom:1px solid #ddd}.communications nav{display:flex;overflow:auto;gap:8px}.communications nav button{min-width:150px;width:180px}.communications-messages{height:45vh}.communications-messages article{max-width:94%}}
