.pad{padding:26px 24px;margin-bottom:18px}
.card h2{margin-bottom:8px;color:#fff;font:800 20px var(--sans)}
.card h3{margin:22px 0 8px;color:#fff;font:700 15px var(--sans)}
.muted{color:var(--muted)}
.small{font-size:12px}
.key-form{display:grid;grid-template-columns:2fr 2fr 1fr auto;gap:12px;align-items:end;margin:18px 0 8px}
.key-form label{display:grid;gap:6px;font-size:12px;color:var(--muted)}
.key-form input,.key-form select{min-height:40px;padding:8px 10px;border:1px solid var(--border2);border-radius:8px;background:rgba(13,25,36,.75);color:var(--text);font:inherit}
.key-form input:focus,.key-form select:focus{outline:2px solid var(--cyan);outline-offset:1px}
.notice-line{min-height:22px;color:var(--yellow);font-size:13px}
.new-key{margin:14px 0 18px;padding:16px;border:1px solid rgba(0,230,118,.45);border-radius:10px;background:rgba(0,230,118,.06)}
.new-key h3{margin-top:0}
.key-row{display:flex;gap:10px;align-items:center;flex-wrap:wrap}
.key-row code{flex:1;min-width:240px;padding:10px 12px;border-radius:8px;background:#04070b;border:1px solid var(--border2);word-break:break-all;user-select:all}
.table-wrap{overflow-x:auto;margin-top:12px}
table.keys,table.ref{width:100%;border-collapse:collapse;font-size:13px}
table.keys th,table.keys td,table.ref td{padding:9px 10px;border-bottom:1px solid rgba(49,74,97,.55);text-align:start;vertical-align:top}
table.keys th{color:var(--muted);font-weight:600;white-space:nowrap}
.status{padding:2px 8px;border-radius:999px;font-size:11px;border:1px solid var(--border2)}
.status.active{color:var(--green);border-color:rgba(0,230,118,.45)}
.status.revoked,.status.expired{color:var(--muted)}
.steps{margin:10px 0 6px;padding-inline-start:22px;color:var(--text)}
.steps li{margin:4px 0}
.plain{margin:8px 0;padding-inline-start:22px}
.plain li{margin:6px 0}
.code-head{display:flex;justify-content:space-between;align-items:center;gap:10px;margin-top:12px;padding:8px 12px;border:1px solid var(--border2);border-bottom:0;border-radius:8px 8px 0 0;background:rgba(13,25,36,.9);color:var(--muted);font-size:12px}
pre{margin:0 0 6px;padding:14px;overflow-x:auto;border:1px solid var(--border2);border-radius:0 0 8px 8px;background:#04070b;font-size:12.5px;line-height:1.6;direction:ltr;text-align:left}
code{font-family:var(--mono)}
.button.small{min-height:28px;padding:3px 10px;font-size:12px}
@media (max-width:760px){.key-form{grid-template-columns:1fr}.page{padding:28px 16px 60px}}
