.chat{grid-template-columns:300px minmax(0,1fr);align-items:start;gap:16px;display:grid}.chat.chat-single{grid-template-columns:minmax(0,1fr);max-width:860px}.chat-people{flex-direction:column;gap:4px;max-height:72vh;padding:8px;display:flex;overflow-y:auto}.chat-people button{text-align:left;color:var(--ink);background:0 0;border-radius:12px;align-items:center;gap:10px;padding:10px;display:flex}.chat-people button:hover{background:#f6f9fd}.chat-people button.on{background:var(--blue-soft)}.chat-people span{flex-direction:column;flex:1;gap:2px;min-width:0;display:flex}.chat-people b{text-overflow:ellipsis;white-space:nowrap;font-size:14px;overflow:hidden}.chat-people small{color:var(--muted);text-overflow:ellipsis;white-space:nowrap;font-size:12.5px;overflow:hidden}.chat-people em{background:var(--orange);color:#fff;border-radius:999px;place-items:center;min-width:22px;height:22px;padding:0 6px;font-size:12px;font-style:normal;font-weight:800;display:grid}.chat-thread{flex-direction:column;gap:12px;min-height:60vh;display:flex}.chat-thread>header{border-bottom:1px solid #eef2f7;align-items:center;gap:10px;padding-bottom:10px;display:flex}.chat-thread>header h2{font-size:17px;font-weight:800}.chat-messages{flex-direction:column;flex:1;gap:10px;max-height:52vh;padding:4px;display:flex;overflow-y:auto}.chat-empty{color:var(--muted);text-align:center;padding:30px 0;font-size:14px}.chat-bubble{background:#f1f5fa;border-radius:14px 14px 14px 4px;flex-direction:column;align-self:flex-start;gap:4px;max-width:78%;padding:10px 12px;display:flex}.chat-bubble.mine{background:var(--blue);color:#fff;border-radius:14px 14px 4px;align-self:flex-end}.chat-bubble.report{color:var(--ink);background:#fff;border:1px solid #cfebd9}.chat-bubble.report.mine{border-color:#bfd6ff}.chat-bubble p{white-space:pre-wrap;overflow-wrap:anywhere;font-size:14px;line-height:1.5}.chat-bubble small{opacity:.75;font-size:11.5px}.chat-report strong{color:var(--green);align-items:center;gap:6px;margin-bottom:6px;font-size:13.5px;display:flex}.chat-report dl{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin:0 0 6px;display:grid}.chat-report dt{color:var(--muted);font-size:11.5px}.chat-report dd{margin:0;font-size:18px;font-weight:800}.chat-compose{border-top:1px solid #eef2f7;flex-direction:column;gap:8px;padding-top:10px;display:flex}.chat-compose textarea{border:1px solid var(--line);width:100%;font:inherit;resize:vertical;border-radius:12px;padding:10px 12px;font-size:14px}.chat-actions{flex-wrap:wrap;justify-content:flex-end;gap:8px;display:flex}.chat-period{flex-wrap:wrap;align-items:center;gap:8px;font-size:13.5px;font-weight:700;display:flex}.chat-period select{border:1px solid var(--line);height:34px;font:inherit;border-radius:9px;padding:0 8px}.chat-period small{color:var(--muted);font-weight:400}@media (max-width:900px){.chat{grid-template-columns:minmax(0,1fr)}.chat-people{max-height:220px}.chat-report dl{grid-template-columns:repeat(2,minmax(0,1fr))}}
