:root { --bg:#0f172a; --card:#111827; --muted:#94a3b8; --text:#e5e7eb; --accent:#22c55e; --accent-2:#38bdf8; --danger:#ef4444; --border:#1f2937; }
* { box-sizing: border-box; }
html, body { height: 100%; }
body { margin: 0; font-family: system-ui, -apple-system, Segoe UI, Roboto, sans-serif; background: var(--bg); color: var(--text); }


.container { max-width: 980px; margin: 0 auto; padding: 16px; }
.nav { border-bottom: 1px solid var(--border); background: #0b1220; position: sticky; top:0; z-index: 10; }
.nav-inner { display:flex; align-items:center; justify-content: space-between; }
.brand { font-weight: 700; text-decoration: none; color: var(--text); }
.nav-right a, .nav-right form { margin-left: 8px; }


h1, h2, h3 { margin: 8px 0 12px; }
.muted { color: var(--muted); }
.mono { white-space: pre-wrap; background: #0b1020; padding: 12px; border-radius: 8px; border: 1px solid var(--border); }


.card { background: var(--card); border: 1px solid var(--border); border-radius: 12px; padding: 16px; margin: 12px 0; }
.card-header { margin-bottom: 8px; }
.card-actions { display:flex; gap: 8px; align-items: center; }


label { display:block; margin: 8px 0; font-weight: 600; }
input[type="text"], input[type="email"], input[type="password"], textarea { width: 100%; padding: 10px 12px; border-radius: 10px; border: 1px solid var(--border); background:#0b1020; color: var(--text); }
.checkbox { display:flex; align-items:center; gap:8px; font-weight: 600; }


.btn { appearance:none; border:none; background: var(--accent); color:#041417; padding:10px 14px; border-radius:10px; font-weight:700; cursor:pointer; text-decoration:none; display:inline-flex; align-items:center; gap:8px; }
.btn:hover { filter: brightness(1.05); }
.btn-outline { background: transparent; color: var(--text); border: 1px solid var(--border); }
.btn-danger { background: var(--danger); color:#fff; }
.inline { display:inline; }
.row { display:flex; gap: 8px; align-items:center; }
.space-between { justify-content: space-between; }
.center { align-items: center; }


.grid { display:grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 12px; }


.flash-list { display:grid; gap: 8px; margin: 12px 0; }
.flash { padding: 10px 12px; border-radius: 10px; }
.flash.success { background:#052e1b; border:1px solid #0f5132; }
.flash.info { background:#06263a; border:1px solid #0c4a6e; }
.flash.warning, .flash.danger { background:#3a1b05; border:1px solid #7c2d12; }


.sub { color: var(--muted); font-size: 0.9rem; }
.chip { display:inline-block; padding: 2px 8px; border-radius: 999px; background:#0b1020; border:1px solid var(--border); font-size: .8rem; }


.comment { padding: 8px 0; border-bottom: 1px solid var(--border); }
.comment:last-child { border-bottom: none; }
.comment .meta { color: var(--muted); font-size: 0.85rem; margin-bottom: 4px; }
.comment .body { white-space: pre-wrap; }

