.chat-grid{display:grid;grid-template-columns:280px minmax(0,1fr);gap:20px}.chat-list{max-height:720px;overflow:auto}.chat-thread{display:block;width:100%;text-align:left;background:white;color:#14263d;border:1px solid #dce3eb;padding:14px;margin:0 0 8px;border-radius:12px;overflow-wrap:anywhere}.chat-thread strong,.chat-thread small,.chat-thread span{display:block;margin-bottom:6px}.chat-thread small{font-size:11px;color:#627489}.chat-thread span{font-size:12px;font-weight:400}.chat-thread.active{border-color:#b9223e;background:#fdf3f5}.chat-detail{min-width:0}.chat-admin-log{height:380px;overflow:auto;background:#f6f8fb;padding:14px;margin:16px 0;border-radius:12px}.chat-line{padding:12px;margin:0 0 10px;border-radius:10px;background:#fff;border:1px solid #e0e6ee;overflow-wrap:anywhere}.chat-line p{white-space:pre-wrap;margin:7px 0}.chat-line small{color:#627489;font-size:11px}.chat-team{border-left:3px solid #b9223e}.chat-visitor{background:#eaf0f8}.chat-reply textarea{width:100%;resize:vertical}@media(max-width:900px){.chat-grid{grid-template-columns:1fr}.chat-list{max-height:220px}}

body:has(#panel-chat:not([hidden])) #workspace main>header .toolbar,body:has(#panel-chat:not([hidden])) #notice{display:none}
