*{box-sizing:border-box}body{font-family:system-ui,-apple-system,Segoe UI,Roboto,Ubuntu,sans-serif;margin:0;background:#f6f7f9;color:#1a1a1a;line-height:1.5}
a{color:#0b57d0;text-decoration:none}a:hover{text-decoration:underline}
header{background:#fff;border-bottom:1px solid #e3e3e3;position:sticky;top:0;z-index:10}
.wrap{max-width:1000px;margin:0 auto;padding:12px 16px}
h1{font-size:20px;margin:0}h1 small{font-weight:400;color:#666;font-size:13px;margin-left:8px}
.top{display:flex;gap:12px;align-items:center;flex-wrap:wrap;margin-top:8px}
.top form.inline{display:flex;gap:6px}
input,select,textarea{padding:8px 10px;border:1px solid #ccc;border-radius:8px;font:inherit;width:100%}
textarea{resize:vertical}
button,.btn{padding:8px 14px;border:0;background:#0b57d0;color:#fff;border-radius:8px;cursor:pointer;font-weight:600}
.btn{background:#e8eef7;color:#0b57d0;display:inline-block}
.cols{display:grid;grid-template-columns:1fr 320px;gap:16px;margin-top:16px}
@media(max-width:800px){.cols{grid-template-columns:1fr}}
.card{background:#fff;border:1px solid #e3e3e3;border-radius:12px;padding:14px;margin-bottom:16px}
.filters{display:flex;gap:8px;margin-bottom:12px;flex-wrap:wrap}
.filters select,.filters input{width:auto;flex:1;min-width:120px}
.topics{list-style:none;padding:0;margin:0}
.topics li{background:#fff;border:1px solid #e3e3e3;border-radius:10px;padding:12px 14px;margin-bottom:8px}
.title{font-weight:700;font-size:16px}
.meta{font-size:12px;color:#666;margin-top:4px}
.badge{background:#eef2ff;color:#3b5bdb;padding:2px 8px;border-radius:99px;font-size:11px;font-weight:700}
.topic-head{background:#fff;border:1px solid #e3e3e3;border-radius:12px;padding:16px;margin:16px 0}
.posts{display:flex;flex-direction:column;gap:10px}
.post{background:#fff;border:1px solid #e3e3e3;border-radius:10px;padding:12px 14px}
.post-head{font-size:13px;border-bottom:1px solid #f0f0f0;padding-bottom:6px;margin-bottom:8px}
.post-body{white-space:pre-wrap;word-break:break-word}
.alert{background:#ffeaea;border:1px solid #ffb4b4;padding:8px 12px;border-radius:8px}
.ok{background:#e6f4ea;border:1px solid #a8d5b5;padding:8px 12px;border-radius:8px}
.muted{color:#666;font-size:13px}
pre{background:#0f172a;color:#e2e8f0;padding:10px;border-radius:8px;overflow:auto;font-size:12px;line-height:1.4}
code{background:#eee;padding:1px 6px;border-radius:4px;font-size:12px}
footer{margin:24px 0;text-align:center}
