:root { color-scheme: dark; font-family: system-ui, -apple-system, "Segoe UI", sans-serif; background: #0e131b; color: #e5edf8; line-height: 1.55; }
* { box-sizing: border-box; }
[hidden] { display: none !important; }
body { margin: 0; }
main { width: min(1200px, calc(100% - 40px)); margin: 48px auto; }
header, .section-header, .actions, .pagination { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.eyebrow { color: #82b0ff; font-size: 12px; letter-spacing: .14em; margin: 0; }
h1 { font-size: 30px; letter-spacing: -.02em; margin: 5px 0; }
h2 { font-size: 18px; margin: 0 0 18px; }
.intro, .muted { color: #a0aec2; }
.intro { margin-bottom: 28px; }
.muted { font-size: 13px; }
.panel { background: #151d29; border: 1px solid #2b3749; border-radius: 14px; padding: 26px; margin-bottom: 22px; }
#login-panel { max-width: 580px; }
label { display: block; font-size: 13px; font-weight: 600; margin-bottom: 7px; }
input, select, textarea { width: 100%; padding: 11px 12px; font: inherit; background: #0e1622; color: inherit; border: 1px solid #3b495c; border-radius: 7px; }
input:focus, select:focus, textarea:focus, button:focus-visible { outline: 2px solid #80b0ff; outline-offset: 2px; }
textarea { resize: vertical; font-family: ui-monospace, monospace; font-size: 13px; }
.fields { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-bottom: 20px; }
button { cursor: pointer; border: 1px solid transparent; border-radius: 7px; padding: 10px 17px; color: #0d1a2e; background: #8bb7ff; font: inherit; font-size: 13px; font-weight: 600; }
button:hover { filter: brightness(1.1); }
button:disabled { cursor: default; opacity: .45; }
.quiet { color: #d8e6fa; background: #253247; border-color: #35455e; }
.danger { color: #ffb8b8; background: #432b36; padding: 7px 12px; }
.notice { border-color: #5b759d; background: #19273a; }
.actions { justify-content: flex-start; flex-wrap: wrap; margin-top: 12px; }
#message { padding: 13px 18px; border-radius: 8px; background: #163c35; color: #b3e8cd; overflow-wrap: anywhere; }
#message.error { background: #482b32; color: #ffc7cc; }
.table-scroll { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; font-size: 13px; text-align: left; }
th { color: #a9bad0; font-weight: 500; white-space: nowrap; }
th, td { padding: 13px 10px; border-bottom: 1px solid #2c384b; }
td { vertical-align: top; min-width: 95px; }
td:first-child { min-width: 180px; max-width: 320px; overflow-wrap: anywhere; }
td small { display: block; color: #a0aec2; margin-top: 5px; white-space: pre-wrap; }
.status-active { color: #8ad8b1; }
.status-expired, .status-revoked { color: #f5aaa9; }
.pagination { margin-top: 20px; justify-content: center; font-size: 13px; }
@media (max-width: 650px) { main { width: calc(100% - 24px); margin: 24px auto; } .panel { padding: 18px; } .fields { grid-template-columns: 1fr; gap: 12px; } h1 { font-size: 25px; } }
