:root{color:#0f172a;background:#eef3f9;font-family:PingFang SC,Noto Sans SC,sans-serif}*{box-sizing:border-box}html,body,#app{margin:0;height:100%}button,input{font:inherit}.login{min-height:100%;display:grid;place-items:center;padding:32px;background:radial-gradient(circle at 80% 10%,rgba(30,107,255,.16),transparent 28%),#f4f7fb}.card{width:min(420px,100%);padding:36px 32px;border-radius:24px;background:#fff;box-shadow:0 18px 50px #0f172a14;text-align:center}.brand{width:96px;height:96px;object-fit:contain;display:block;margin:0 auto}h1{margin:4px 0 0;font-size:22px;font-weight:800}.status{color:#64748b;font-size:14px;line-height:1.6}.qr{width:240px;height:240px;margin:20px auto;border-radius:16px;background:#f8fafc;display:grid;place-items:center;overflow:hidden}.qr img{width:100%;height:100%;object-fit:contain}.qr__wait{padding:16px;color:#94a3b8;font-size:13px}.refresh,.composer button,.ghost{border:0;cursor:pointer}.refresh{background:transparent;color:#1e6bff;font-weight:700}.desk{height:100%;display:grid;grid-template-columns:340px 1fr;background:#fff}.side{display:flex;flex-direction:column;min-height:0;border-right:1px solid #e6edf5;background:#f8fafc}.side__me,.chat__head{display:flex;align-items:center;gap:12px;padding:16px 18px;background:#fff;border-bottom:1px solid #e6edf5}.side__who{flex:1;min-width:0}.side__name,.chat__title{font-weight:700}.side__uid,.chat__sub,.thread__time{color:#94a3b8;font-size:12px}.avatar{width:40px;height:40px;border-radius:12px;object-fit:cover;background:#e2e8f0}.avatar--sm{width:36px;height:36px;border-radius:8px}.ghost{background:transparent;color:#64748b}.tabs{display:grid;grid-template-columns:1fr 1fr;gap:8px;padding:12px}.tabs button{height:36px;border:0;border-radius:999px;background:transparent;color:#64748b;cursor:pointer}.tabs button.on{background:#1e6bff;color:#fff}.dot,.badge{display:inline-flex;min-width:18px;height:18px;padding:0 5px;margin-left:6px;border-radius:999px;background:#ef4444;color:#fff;font-size:11px;align-items:center;justify-content:center}.threads{flex:1;overflow:auto;padding:0 8px 16px}.thread{width:100%;display:flex;gap:8px;align-items:center;text-align:left;border:0;background:transparent;border-radius:12px;padding:12px;cursor:pointer}.thread--on,.thread:hover{background:#fff}.thread__main{flex:1;min-width:0}.thread__top,.thread__preview{display:flex;gap:8px;align-items:center}.thread__title{flex:1;font-weight:650;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.thread__preview{margin-top:4px;color:#64748b;font-size:13px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.tag{flex:none;color:#1e6bff;background:#e8f1ff;border-radius:999px;padding:0 6px;font-size:11px}.chat{display:flex;flex-direction:column;min-width:0;min-height:0;background:#f4f7fb}.log{flex:1;overflow:auto;padding:20px 24px}.msg{display:flex;gap:10px;margin-bottom:14px;align-items:flex-start}.msg--mine{justify-content:flex-end}.msg--system{justify-content:center}.system{color:#94a3b8;font-size:12px}.msg__name{font-size:12px;color:#64748b;margin-bottom:4px}.bubble,.card-msg,.file{max-width:460px;padding:10px 12px;border-radius:12px;background:#fff;line-height:1.5;white-space:pre-wrap;word-break:break-word}.msg--mine .bubble{background:#1e6bff;color:#fff}.photo{max-width:240px;border-radius:12px}.card-msg__tag{color:#1e6bff;font-size:12px}.card-msg__title{font-weight:700}.card-msg__sum{color:#64748b;font-size:13px;margin-top:4px}.file{color:#1e6bff;display:inline-block}.composer{display:flex;gap:10px;padding:14px 18px;background:#fff;border-top:1px solid #e6edf5}.composer input{flex:1;height:42px;border:1px solid #e2e8f0;border-radius:12px;padding:0 12px}.composer button{height:42px;padding:0 18px;border-radius:12px;background:#1e6bff;color:#fff}.composer button:disabled{opacity:.5}.welcome,.empty,.notice-body{color:#94a3b8;padding:48px 20px;text-align:center}.notice-body{text-align:left;color:#334155;line-height:1.7;white-space:pre-wrap}@media(max-width:800px){.desk{grid-template-columns:1fr}.chat{display:none}.desk:has(.chat__head) .side{display:none}.desk:has(.chat__head) .chat,.desk:has(.welcome) .chat,.desk:has(.notice-body) .chat{display:flex}}
