:root { --bg:#0d1117; --card:#161b22; --line:#262d38; --gold:#e0b23c; --text:#e6edf3; --muted:#8b949e; }
* { box-sizing:border-box; }
body { margin:0; min-height:100vh; display:flex; align-items:center; justify-content:center;
       background:radial-gradient(1000px 600px at 50% -10%, #1b2230 0%, var(--bg) 60%);
       color:var(--text); font-family:"Segoe UI",Roboto,Arial,sans-serif; padding:24px; }
body.wide { align-items:flex-start; }
.card { width:100%; max-width:560px; background:var(--card); border:1px solid var(--line);
        border-radius:14px; padding:30px; box-shadow:0 20px 60px rgba(0,0,0,.45); }
body.wide .card { max-width:1150px; }
.topbar { display:flex; justify-content:space-between; align-items:baseline; }
h1 { font-size:23px; margin:0 0 14px; }
h2 { font-size:16px; margin:28px 0 12px; padding-top:18px; border-top:1px solid var(--line); }
a { color:var(--gold); }
.muted { color:var(--muted); font-size:12px; }
.grid { display:grid; grid-template-columns:repeat(auto-fit,minmax(200px,1fr)); gap:14px; margin-bottom:14px; }
label { display:block; font-size:13px; color:var(--muted); }
label.block { margin-bottom:14px; }
input, select, textarea { width:100%; margin-top:6px; padding:10px 12px; border-radius:8px;
        border:1px solid var(--line); background:#0b0f16; color:var(--text); font-size:14px; font-family:inherit; }
input:focus, select:focus, textarea:focus { outline:none; border-color:var(--gold); }
.btn { display:inline-block; margin-top:6px; padding:11px 20px; border-radius:8px; font-weight:600; cursor:pointer;
       text-decoration:none; background:linear-gradient(180deg,#f0c14b,#d19c2a); color:#1a1205; border:none; font-size:14px; }
.btn.ghost { background:transparent; border:1px solid var(--line); color:var(--text); }
.btn.tiny { padding:6px 10px; font-size:12px; }
form.inline { display:inline; }
.alert { padding:12px 14px; border-radius:8px; margin-bottom:14px; font-size:14px; }
.alert.err { background:#2a1214; border:1px solid #6b2226; color:#ffb4b4; }
.alert.ok { background:#0f2417; border:1px solid #1f6f3d; color:#8ce0a8; }
table { width:100%; border-collapse:collapse; font-size:13px; }
th, td { text-align:left; padding:9px 10px; border-bottom:1px solid var(--line); vertical-align:top; }
th { color:var(--muted); font-weight:600; font-size:12px; text-transform:uppercase; letter-spacing:.04em; }
td.nowrap { white-space:nowrap; }
code { background:#0b0f16; padding:2px 6px; border-radius:5px; font-size:12px; }
pre.key { background:#0b0f16; border:1px solid var(--line); border-radius:8px; padding:14px;
          overflow-x:auto; font-size:13px; color:var(--gold); }
.pill { padding:3px 9px; border-radius:999px; font-size:11px; text-transform:uppercase; }
.pill.active { background:#0f2417; color:#8ce0a8; }
.pill.suspended { background:#2b2408; color:#e9d8a6; }
.pill.revoked { background:#2a1214; color:#ffb4b4; }
.okc { color:#8ce0a8; } .errc { color:#ffb4b4; }
code.block { display:block; padding:10px 12px; border-radius:8px; background:#11151c; word-break:break-all; }
.btn.danger { background:#3a1417; border:1px solid #6b2226; color:#ffb4b4; }
.btn.danger:hover { background:#521a1f; }
