:root{font-family:system-ui,-apple-system,"Segoe UI",sans-serif;color:#1f2937;background:#f4f6f9}*{box-sizing:border-box}body{margin:0}button,input,textarea{font:inherit}button{border:0;border-radius:10px;background:#2767ee;color:white;padding:11px 16px;cursor:pointer;font-weight:600}button.light{background:#edf3ff;color:#2455b5;border:1px solid #d8e5ff}button:disabled{opacity:.6;cursor:wait}input,textarea{border:1px solid #dbe1ea;border-radius:10px;padding:11px;background:#fff;width:100%;outline-color:#79a3ff}header{display:flex;align-items:center;justify-content:space-between;margin-bottom:18px}.logo{font-weight:800;font-size:21px;color:#2257c9}.logo small{font-weight:500;color:#7a8798;font-size:12px}.app{max-width:1100px;margin:28px auto;padding:0 16px}.panel{background:#fff;border:1px solid #e6eaf0;border-radius:16px;padding:18px;box-shadow:0 5px 24px rgba(30,50,80,.035)}h2{font-size:18px;margin:0 0 16px}h3{font-size:14px;color:#667085;margin:20px 0 8px}label{display:block;font-size:13px;color:#5e6878;margin:10px 0}label input{margin-top:6px}.auth-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px}.auth-grid form button{width:100%;margin-top:10px}.inline{display:flex;align-items:end;gap:8px}.grow{flex:1}.layout{display:grid;grid-template-columns:310px 1fr;gap:14px}.sidebar{height:calc(100vh - 110px);overflow:auto}.chatbox{height:calc(100vh - 110px);display:flex;flex-direction:column}.chat-head{display:flex;justify-content:space-between;align-items:center;border-bottom:1px solid #edf0f4;padding-bottom:10px}.muted{font-size:12px;color:#8a94a3;margin:4px 0}.messages{overflow:auto;flex:1;padding:14px 4px}.message{max-width:82%;background:#f1f4f8;border-radius:12px;padding:10px 12px;margin:8px 0;white-space:pre-wrap;overflow-wrap:anywhere}.message.mine{margin-left:auto;background:#e8f1ff}.message .meta{font-size:11px;color:#8290a1;margin-top:5px}.composer{display:flex;gap:8px;align-items:end;border-top:1px solid #edf0f4;padding-top:10px}.composer textarea{resize:vertical;min-height:48px;max-height:150px}.composer button{min-width:90px}.list-item{border:1px solid #edf0f4;border-radius:10px;padding:10px;margin:7px 0;font-size:14px}.list-item button{padding:6px 9px;margin:4px 3px 0 0;font-size:12px}.list-item .light{margin-left:4px}#toast{display:none;margin:0 0 10px;padding:10px 12px;border-radius:10px;background:#eaf2ff;color:#234d9c}#toast.show{display:block}.search{display:flex;gap:6px}.search button{white-space:nowrap}a{color:#275fd0} @media(max-width:750px){.app{margin:12px auto}.auth-grid,.layout{grid-template-columns:1fr}.sidebar,.chatbox{height:auto}.chatbox{min-height:55vh}.messages{min-height:260px}.inline{align-items:center}}
