:root { --bg:#f5f6f8; --card:#fff; --line:#e5e7eb; --ink:#111827; --sub:#6b7280; --pri:#0aa06e; --pri2:#0b8f63; }
* { box-sizing:border-box; }
body { margin:0; font:15px/1.6 -apple-system,"PingFang SC","Microsoft YaHei","Noto Sans CJK SC",sans-serif; background:var(--bg); color:var(--ink); }
header { display:flex; align-items:center; gap:16px; padding:12px 18px; background:#fff; border-bottom:1px solid var(--line); }
.logo { font-weight:700; color:var(--ink); text-decoration:none; }
nav a { margin-right:12px; color:var(--sub); text-decoration:none; font-size:14px; }
main { max-width:900px; margin:16px auto; padding:0 14px 60px; }
footer { text-align:center; color:var(--sub); font-size:12px; padding:16px; }
.card { background:#fff; border:1px solid var(--line); border-radius:12px; padding:16px; margin-bottom:14px; }
table { width:100%; border-collapse:collapse; } th,td { text-align:left; padding:8px 6px; border-bottom:1px solid var(--line); font-size:14px; }
th { color:var(--sub); font-weight:500; font-size:12px; }
.muted { color:var(--sub); } .small { font-size:12px; }
h1 { font-size:20px; margin:6px 0 14px; }

/* 聊天页 */
.chat-body { background:#eef1f3; }
.chat-header { position:sticky; top:0; z-index:2; justify-content:space-between; background:#0aa06e; color:#fff; }
.chat-header .brand { font-weight:700; } .chat-header .brand span { font-weight:400; opacity:.85; font-size:12px; margin-left:6px; }
.chat-header .online { font-size:12px; opacity:.9; }
.msgs { max-width:720px; margin:0 auto; padding:16px 14px 120px; display:flex; flex-direction:column; gap:12px; }
.msg { display:flex; flex-direction:column; }
.msg.user { align-items:flex-end; }
.bubble { max-width:82%; padding:10px 13px; border-radius:14px; background:#fff; border:1px solid var(--line); white-space:normal; }
.msg.user .bubble { background:#0aa06e; color:#fff; border-color:#0aa06e; }
.chips { display:flex; gap:8px; flex-wrap:wrap; margin-top:10px; }
.chips button { border:1px solid #bfe6d7; background:#f2fbf7; color:#0b8f63; border-radius:20px; padding:7px 14px; font:inherit; }
.cards { display:grid; grid-template-columns:repeat(auto-fill,minmax(200px,1fr)); gap:10px; }
.house { background:#fff; border:1px solid var(--line); border-radius:12px; padding:12px; }
.h-title { font-weight:600; font-size:14px; margin-bottom:4px; }
.h-meta { color:var(--sub); font-size:12px; }
.h-price { color:#d97706; font-weight:700; margin-top:6px; }
.composer { position:fixed; left:0; right:0; bottom:0; display:flex; gap:8px; padding:10px 14px calc(10px + env(safe-area-inset-bottom)); background:#fff; border-top:1px solid var(--line); }
.composer input { flex:1; padding:11px 14px; border:1px solid var(--line); border-radius:22px; font:inherit; outline:none; }
.composer button { border:0; background:#0aa06e; color:#fff; border-radius:22px; padding:0 20px; font:inherit; }
.qrbox { max-width:720px; margin:0 auto 40px; background:#fff; border:1px solid var(--line); border-radius:12px; padding:16px; text-align:center; }
.qrbox img { width:200px; height:200px; margin-top:8px; }
.joinbtn { display:inline-block; margin-top:10px; background:#0aa06e; color:#fff; text-decoration:none; padding:10px 22px; border-radius:22px; }
