* { box-sizing: border-box; }
body { font-family: -apple-system, Segoe UI, Roboto, sans-serif; background:#f4f5f7; margin:0; color:#1f2430; }
.wrap { max-width: 1100px; margin: 0 auto; padding: 24px; }
.card { background:#fff; border:1px solid #e2e4e9; border-radius:10px; padding:24px; margin-bottom:20px; }
h1,h2 { margin-top:0; }
nav { background:#1f2430; padding:14px 24px; display:flex; gap:18px; align-items:center; }
nav a { color:#fff; text-decoration:none; font-size:14px; opacity:.85; }
nav a:hover { opacity:1; }
nav .brand { font-weight:700; margin-right:auto; }
table { width:100%; border-collapse: collapse; font-size: 14px; }
th, td { text-align:left; padding:9px 8px; border-bottom:1px solid #eee; }
th { color:#666; font-weight:600; }
input, select, textarea { width:100%; padding:9px; border:1px solid #d4d6dc; border-radius:6px; font-size:14px; margin-bottom:12px; }
label { font-size: 13px; font-weight:600; color:#444; }
button, .btn { background:#2f6fed; color:#fff; border:none; padding:10px 16px; border-radius:6px; cursor:pointer; font-size:14px; text-decoration:none; display:inline-block; }
button.secondary, .btn.secondary { background:#e2e4e9; color:#1f2430; }
button.danger, .btn.danger { background:#d64545; }
.msg { padding:10px 14px; border-radius:6px; margin-bottom:16px; font-size:14px; }
.msg.ok { background:#e5f7ec; color:#187a3c; }
.msg.err { background:#fdecec; color:#c0392b; }
.badge { padding:2px 8px; border-radius:20px; font-size:12px; }
.badge.active { background:#e5f7ec; color:#187a3c; }
.badge.revoked { background:#fdecec; color:#c0392b; }
.grid { display:grid; grid-template-columns: 1fr 1fr; gap:20px; }
code { background:#f0f1f4; padding:2px 6px; border-radius:4px; }
