.chat-account{display:flex;align-items:center;flex-wrap:wrap;gap:14px;background:#edf4f6;padding:14px 18px;border-radius:6px 6px 0 0;border:1px solid var(--line);font-size:12px}.chat-account #chat-status{font:10px monospace;color:#087d76;margin-right:auto}.chat-account #chat-status.chat-offline{color:#9d5719}.chat-layout{display:grid;grid-template-columns:225px minmax(0,1fr);border:1px solid var(--line);border-top:0;border-radius:0 0 6px 6px;background:white;overflow:hidden}.chat-room-list{background:#f1f6f8;border-right:1px solid var(--line);padding:20px 12px}.chat-section-label{font:10px monospace;letter-spacing:1px;color:var(--muted);margin:0 10px 18px}.chat-room{width:100%;display:flex;align-items:center;gap:8px;border:0;border-radius:5px;background:transparent;color:var(--ink);padding:12px 10px;text-align:left;font-size:12px;line-height:1.6;margin-bottom:5px;overflow-wrap:anywhere}.chat-room.active{background:#d6ecef;box-shadow:inset 3px 0 var(--teal);color:#005a65;font-weight:bold}.chat-room:hover{background:#e1eef1}.chat-room i{width:7px;height:7px;border-radius:50%;background:var(--teal);margin-left:auto;flex-shrink:0}.chat-room-list>p{font-size:10px;color:var(--muted);padding:15px 10px;border-top:1px solid var(--line);margin-top:20px}.chat-conversation{min-width:0}#chat-room-head{padding:22px 24px 14px;border-bottom:1px solid var(--line);display:flex;gap:12px;align-items:start;justify-content:space-between}#chat-room-head h2{font-size:21px;margin:6px 0}#chat-room-head p{font-size:12px;color:var(--muted);margin:0}.chat-shared-label{font:8px monospace;white-space:nowrap;color:var(--teal);border:1px solid #c0dcdf;padding:5px;border-radius:4px}.chat-history-control{display:flex;gap:15px;padding:0 20px;border-bottom:1px solid #eff3f5}.chat-history-control button:disabled{opacity:.4;cursor:default}.chat-feed{height:440px;overflow-y:auto;overscroll-behavior:contain;padding:16px 24px;background:#fbfcfd;scroll-padding-top:20px}.chat-empty{padding:80px 20px;text-align:center;color:var(--muted);font-size:13px}.chat-empty strong{font-size:20px;color:var(--ink)}.chat-message{display:flex;gap:12px;padding:15px 0;border-bottom:1px solid #e8eef1}.chat-avatar{width:32px;height:32px;flex-shrink:0;display:grid;place-items:center;border-radius:7px;background:#dfedf1;color:#276c7b;font:10px monospace}.chat-message.own .chat-avatar{background:#173d52;color:#adf2f2}.chat-message-content{min-width:0;flex:1}.chat-message-meta{display:flex;flex-wrap:wrap;gap:10px;align-items:center;font-size:12px}.chat-message-meta strong small{font-weight:400;color:var(--teal);margin-left:7px}.chat-message-meta time{font:9px monospace;color:#7b8c97}.chat-message-body{font-size:14px;line-height:1.8;color:#233d4d;margin:7px 0;overflow-wrap:anywhere;white-space:normal}.chat-message-actions{display:flex;gap:14px}.chat-message-actions button{padding:2px 0;border:0;color:#66828f;background:transparent;font-size:10px}.chat-message-actions button:hover{color:var(--teal);text-decoration:underline}.chat-removed{font-size:12px;color:#8295a0}.chat-quote{display:block;max-width:100%;margin-top:10px;border:0;border-left:3px solid #8dbdc5;background:#eaf3f6;padding:8px 11px;font-size:11px;text-align:left;color:#52717f;overflow-wrap:anywhere}#chat-compose{padding:18px 23px 20px;border-top:1px solid var(--line)}#chat-compose>label{font-size:11px;color:var(--muted);display:block;margin-bottom:7px}#chat-draft{display:block;width:100%;resize:vertical;min-height:80px;max-height:250px;border:1px solid #ccdbe1;border-radius:5px;background:#fff;color:var(--ink);padding:12px;font:13px/1.7 Arial}.chat-compose-bottom{display:flex;gap:13px;align-items:center;margin-top:10px;font:9px monospace;color:var(--muted)}.chat-compose-bottom .button{margin-left:auto;background:var(--navy);color:#fff;border-color:var(--navy)}.chat-compose-bottom .button:disabled{opacity:.5;cursor:wait}#chat-send-error{font-size:12px;color:#a35822;margin-top:8px}#chat-reply{background:#e5f2f5;padding:10px 20px;display:flex;justify-content:space-between;gap:15px;font-size:11px}#chat-reply button{background:none;border:0;color:var(--teal);font-size:20px}.chat-footnote{font-size:11px;color:var(--muted);line-height:1.8;margin-top:18px;padding:0 5px}#chat-dialog{max-width:520px;width:calc(100% - 40px);max-height:85vh;overflow:auto;padding:27px;border:1px solid var(--line);border-radius:8px;color:var(--ink);box-shadow:0 15px 80px #001b3b55}#chat-dialog::backdrop{background:#09243599}#chat-dialog h2{margin-top:0;font-size:23px}#chat-dialog p{font-size:13px;color:var(--muted);line-height:1.8}#chat-dialog label{display:block;font-size:12px;margin:15px 0 6px}#chat-dialog input,#chat-dialog textarea{width:100%;border:1px solid #c7d7de;border-radius:5px;padding:11px;font:13px/1.7 Arial;color:var(--ink)}.chat-dialog-actions{display:flex;flex-wrap:wrap;gap:12px;justify-content:flex-end;margin-top:20px}#chat-dialog-error{font-size:12px;color:#a35822;margin-top:12px}.chat-report-item{border-bottom:1px solid var(--line);padding:16px 0}.chat-report-item>p{overflow-wrap:anywhere}.chat-report-item small{font:10px monospace;color:var(--muted)}@media(max-width:1050px){.chat-layout{grid-template-columns:180px minmax(0,1fr)}.chat-feed{padding:12px 16px}.chat-compose-bottom{flex-wrap:wrap}.chat-compose-bottom>span:nth-child(2){display:none}}@media(max-width:700px){.chat-layout{grid-template-columns:minmax(0,1fr)}.chat-room-list{border-right:0;border-bottom:1px solid var(--line);padding:13px}#chat-rooms{display:flex;gap:8px;overflow-x:auto}.chat-room{min-width:150px;width:auto;margin:0}.chat-room-list>p{margin:10px 0 0;padding:8px 0 0}.chat-section-label{margin-bottom:10px}.chat-feed{height:50vh;min-height:260px}#chat-room-head{padding:16px}.chat-message-meta{gap:6px}#chat-compose{padding:15px}.chat-account{align-items:start}.chat-account #chat-status{width:100%;order:3}.chat-shared-label{display:none}.chat-compose-bottom .button{font-size:11px;padding:9px 12px}}
