:root{--bg: #0f0d15;--panel: #1a1726;--border: #2c2740;--text: #ece8f5;--muted: #9c93b8;--accent: #d96fb0;--accent2: #7c6cf0}*{box-sizing:border-box}body{margin:0;font-family:ui-sans-serif,system-ui,-apple-system,Segoe UI,sans-serif;background:var(--bg);color:var(--text)}button{font:inherit;cursor:pointer;border:1px solid var(--border);background:var(--panel);color:var(--text);border-radius:8px;padding:6px 12px}button.primary{background:linear-gradient(90deg,var(--accent),var(--accent2));border:0;color:#fff}button.linklike{background:transparent;border:0;padding:0 4px;color:var(--muted);text-decoration:underline;text-underline-offset:3px}button.linklike:hover{color:var(--text)}button.danger{color:#f87171;border-color:#f87171}button.danger:hover:not(:disabled){background:#2a1a1f}button:disabled{opacity:.5;cursor:default}input,textarea,select{font:inherit;background:#110f1a;color:var(--text);border:1px solid var(--border);border-radius:8px;padding:8px 10px;width:100%}a{color:var(--accent)}.app{max-width:980px;margin:0 auto;padding:16px}.header{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:8px 12px;padding:12px 0;border-bottom:1px solid var(--border)}.header .row{flex-wrap:wrap;justify-content:flex-end}.brand{font-weight:700;font-size:20px}.brand small{color:var(--muted);font-weight:400;font-size:12px;margin-left:8px}.tabs{display:flex;flex-wrap:wrap;gap:8px;margin:16px 0}.tabs button.active{background:var(--accent2);border-color:var(--accent2);color:#fff}.panel{background:var(--panel);border:1px solid var(--border);border-radius:12px;padding:16px}.row{display:flex;gap:8px;align-items:center}.col{display:flex;flex-direction:column;gap:8px}.muted{color:var(--muted);font-size:13px}.card{border:1px solid var(--border);border-radius:10px;padding:12px;margin-bottom:10px;background:#161320}.card h4{margin:0 0 4px}.pill{font-size:12px;background:#231f33;border:1px solid var(--border);border-radius:999px;padding:2px 8px;color:var(--muted)}.pill.danger{color:#f87171;border-color:#f87171;background:#2a1a1f}.pill.success{color:#4ade80;border-color:#4ade80;background:#142a1c}.card.redacted,.panel.redacted,.msg.redacted{border:1px dashed #f87171;opacity:.72}.center{display:grid;place-items:center;min-height:100vh}.login{width:340px}.or{display:flex;align-items:center;gap:8px;color:var(--muted);font-size:12px}.or:before,.or:after{content:"";flex:1;height:1px;background:var(--border)}.spacer{flex:1}.msg{padding:6px 10px;border-radius:8px;background:#161320;margin-bottom:6px}.msg.mine{background:#2a2140}.msg.highlight,.panel.highlight{border:1px solid var(--accent);box-shadow:0 0 0 2px #d96fb059;animation:msg-flash 1.6s ease-out}@keyframes msg-flash{0%{box-shadow:0 0 0 3px #d96fb0b3}to{box-shadow:0 0 0 2px #d96fb033}}.dot{width:8px;height:8px;border-radius:50%;display:inline-block;margin-right:6px}.dot.on{background:#4ade80}.dot.off{background:#f87171}.error{color:#f87171;font-size:13px}.agora-password-reset{display:flex;flex-direction:column;gap:8px}.agora-password-reset-field{font-size:13px;color:var(--muted)}.agora-password-reset-error{color:#f87171;font-size:13px;margin:0}.agora-resend-error{color:#f87171;font-size:13px;margin-left:8px}.scroll{max-height:380px;overflow-y:auto}.prewrap{white-space:pre-wrap;overflow-wrap:anywhere}.clamp3{white-space:pre-wrap;overflow-wrap:anywhere;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}.md{overflow-wrap:anywhere}.md>:first-child{margin-top:0}.md>:last-child{margin-bottom:0}.md p{margin:0 0 8px}.md ul,.md ol{margin:0 0 8px;padding-left:20px}.md li{margin:2px 0}.md h1,.md h2,.md h3,.md h4{margin:10px 0 6px;line-height:1.25}.md h1{font-size:19px}.md h2{font-size:17px}.md h3{font-size:15px}.md h4{font-size:14px}.md code{background:#221d2e;border-radius:4px;padding:1px 4px;font-size:12px}.md pre{background:#221d2e;border-radius:8px;padding:8px 10px;overflow-x:auto}.md pre code{background:transparent;padding:0}.md blockquote{margin:0 0 8px;padding-left:10px;border-left:3px solid var(--border);color:var(--muted)}.md a{color:var(--accent)}.md hr{border:0;border-top:1px solid var(--border);margin:10px 0}.msg .md>:first-child{margin-top:0}.msg .md>:last-child{margin-bottom:0}.md .mention{color:var(--accent);cursor:pointer}.md .mention:hover{text-decoration:underline;text-underline-offset:3px}
