* { box-sizing: border-box; margin: 0; padding: 0; }
body { font-family: system-ui, -apple-system, sans-serif; max-width: 900px; margin: 0 auto; padding: 1rem; color: #1a1a1a; background: #fafafa; }
nav { display: flex; justify-content: space-between; align-items: center; padding: .75rem 0; border-bottom: 1px solid #ddd; margin-bottom: 2rem; }
.brand { font-weight: 700; text-decoration: none; color: #1a1a1a; font-size: 1.1rem; }
.nav-right { font-size: .9rem; }
.nav-right a { margin-left: .5rem; color: #555; }
h1 { margin-bottom: 1rem; }
h2 { margin: 1.5rem 0 .75rem; }
label { display: block; margin-bottom: .75rem; font-weight: 500; }
input[type="email"], input[type="password"], input[type="text"] { display: block; width: 100%; max-width: 400px; padding: .5rem; margin-top: .25rem; border: 1px solid #ccc; border-radius: 4px; font-size: 1rem; }
button, .btn { display: inline-block; padding: .5rem 1rem; background: #2563eb; color: #fff; border: none; border-radius: 4px; cursor: pointer; font-size: .9rem; text-decoration: none; }
button:hover, .btn:hover { background: #1d4ed8; }
.btn-danger { background: #dc2626; }
.btn-danger:hover { background: #b91c1c; }
table { width: 100%; border-collapse: collapse; margin-top: .5rem; }
th, td { text-align: left; padding: .5rem .75rem; border-bottom: 1px solid #e5e5e5; }
th { font-weight: 600; background: #f5f5f5; }
code { background: #e5e5e5; padding: .15rem .35rem; border-radius: 3px; font-size: .9em; }
pre { background: #1a1a1a; color: #e5e5e5; padding: 1rem; border-radius: 6px; overflow-x: auto; margin: .5rem 0; font-size: .85rem; }
.error { color: #dc2626; margin-bottom: 1rem; font-weight: 500; }
.success { background: #f0fdf4; border: 1px solid #86efac; padding: 1rem; border-radius: 6px; margin-bottom: 1rem; }
.warn { color: #d97706; font-size: .9rem; margin-top: .5rem; }
.active { color: #16a34a; font-weight: 500; }
.revoked { color: #dc2626; font-weight: 500; }
