.chat-layout{display:grid;grid-template-columns:minmax(240px,320px) minmax(0,1fr);gap:16px;margin-top:18px}.chat-sidebar{display:grid;align-content:start;gap:11px}.chat-sidebar h2,.chat-main h2{font-size:17px;margin:0}.chat-sidebar h3{margin:9px 0 0}.chat-room{display:grid;gap:4px;width:100%;text-align:right;padding:10px;border-radius:11px;border:1px solid #dde8ea;background:#f8fbfb;margin-top:7px}.chat-room:hover{border-color:var(--accent)}.chat-room small{color:#657d86}.chat-main{min-height:530px;display:flex;flex-direction:column;gap:12px}.chat-header{display:flex;justify-content:space-between;align-items:center;gap:12px;border-bottom:1px solid #e7eeee;padding-bottom:12px}.chat-header p{font-size:12px;margin:6px 0 0}.chat-messages{height:410px;min-height:150px;overflow-y:auto;padding:12px;background:#f5faf9;border:1px solid #e5efef;border-radius:12px;display:flex;flex-direction:column;gap:12px}.chat-bubble{max-width:80%;min-width:100px;border-radius:14px;padding:10px 13px;background:white;border:1px solid #dce8e8;overflow-wrap:anywhere}.chat-bubble.mine{background:#e1f4ec;align-self:flex-start}.chat-bubble.theirs{align-self:flex-end}.chat-sender{font-size:12px;font-weight:700;color:#245767}.chat-text{white-space:pre-wrap;line-height:1.9}.chat-bubble time{display:block;font-size:11px;color:#698087;margin-top:5px;direction:rtl}.chat-composer{display:flex;gap:10px;align-items:end}.chat-composer textarea{flex:1}.chat-add-area{padding:13px;background:#f4f9fa;border-radius:12px}.chat-add-area select{width:100%}@media(max-width:800px){.chat-layout{grid-template-columns:1fr}.chat-messages{height:320px}.chat-main{min-height:440px}}
