
*{box-sizing:border-box}body{margin:0;font:16px/1.5 system-ui,-apple-system,Segoe UI,Roboto,sans-serif;background:#f4f5f7;color:#1c1e21}
header{background:#111827;color:#fff;padding:14px 20px;display:flex;justify-content:space-between;align-items:center}
header a{color:#cbd5e1;text-decoration:none;margin-left:16px}main{max-width:860px;margin:24px auto;padding:0 16px}
.card{background:#fff;border:1px solid #e3e5e8;border-radius:10px;padding:18px 20px;margin-bottom:18px}
h1{font-size:20px;margin:0}h2{font-size:17px;margin:0 0 12px}label{display:block;font-weight:600;margin:14px 0 4px}
small,.muted{color:#667085;font-weight:400}input[type=text],input[type=password],input[type=url],input[type=number],textarea{width:100%;padding:9px 10px;border:1px solid #c9ccd1;border-radius:7px;font:inherit}
textarea{min-height:84px}button,.btn{display:inline-block;background:#2563eb;color:#fff;border:0;border-radius:7px;padding:9px 16px;font:inherit;font-weight:600;cursor:pointer;text-decoration:none}
button.sec,.btn.sec{background:#e5e7eb;color:#111827}button.danger{background:#b42318}button[disabled]{opacity:.55;cursor:wait}
table{width:100%;border-collapse:collapse}td,th{text-align:left;padding:8px 6px;border-bottom:1px solid #eceef1;vertical-align:top}
.ok{color:#067647}.bad{color:#b42318}.pill{display:inline-block;padding:1px 9px;border-radius:99px;font-size:13px;background:#e5e7eb}
.pill.on{background:#d1fadf;color:#067647}.msg{padding:10px 14px;border-radius:8px;margin-bottom:16px;background:#fef3c7}.msg.err{background:#fee4e2}
.grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(150px,1fr));gap:10px}.post{border:1px solid #e3e5e8;border-radius:8px;padding:6px;font-size:13px}
.post img{width:100%;height:130px;object-fit:cover;border-radius:5px;display:block}.stats{display:flex;gap:22px;flex-wrap:wrap}.stats b{display:block;font-size:22px}
.row{display:flex;gap:10px;align-items:center;flex-wrap:wrap}form.inline{display:inline}.warn{background:#fff7ed;border:1px solid #fed7aa;padding:10px 12px;border-radius:8px;margin-top:10px}
