:root { color-scheme: dark; --bg: #0b1220; --panel: #121e30; --line: #26354c; --text: #ecf2fa; --muted: #a0b2c9; --accent: #67d6ce; --danger: #ffadb5; }
* { box-sizing: border-box; }
body { margin: 0; background: var(--bg); color: var(--text); font: 15px/1.6 system-ui, -apple-system, sans-serif; }
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
.topbar { min-height: 80px; border-bottom: 1px solid var(--line); padding: 18px max(24px, calc((100vw - 1280px) / 2)); display: flex; justify-content: space-between; align-items: center; gap: 16px; background: #101a29; }
.brand { color: var(--text); font-size: 20px; display: flex; align-items: center; gap: 8px; white-space: nowrap; }
.brand strong { color: var(--accent); }
.logo { color: #0b1220; background: var(--accent); font-weight: 900; border-radius: 12px; width: 38px; height: 38px; text-align: center; line-height: 38px; margin-right: 8px; }
.account { display: flex; align-items: center; gap: 16px; }
.container { max-width: 1328px; margin: 0 auto; padding: 32px 24px 48px; }
.page-heading, .section-heading { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.page-heading { margin-bottom: 24px; }
h1, h2, p { margin-top: 0; }
h1 { font-size: clamp(26px, 3vw, 34px); line-height: 1.25; margin-bottom: 10px; letter-spacing: -.7px; }
h2 { font-size: 20px; margin-bottom: 8px; }
p { margin-bottom: 20px; }
.eyebrow { color: var(--accent); font-size: 11px; font-weight: 700; letter-spacing: 1.8px; margin-bottom: 12px; }
.muted { color: var(--muted); }
.small-text { font-size: 12px; }
.card { border: 1px solid var(--line); border-radius: 14px; padding: 24px; background: var(--panel); margin-bottom: 24px; min-width: 0; }
.metrics { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.metric { display: flex; flex-direction: column; gap: 6px; }
.metric strong { font-size: 32px; line-height: 1.4; }
.accent, .positive { color: var(--accent); }
.negative { color: var(--danger); }
.management { display: grid; grid-template-columns: minmax(260px, 1fr) minmax(0, 2fr); gap: 24px; align-items: start; }
.stack { display: flex; flex-direction: column; gap: 12px; }
label { font-weight: 600; font-size: 14px; }
input { width: 100%; border: 1px solid #405470; color: var(--text); background: #0c1625; padding: 12px 14px; border-radius: 8px; font: inherit; }
input:focus { border-color: var(--accent); outline: 2px solid #67d6ce55; outline-offset: 2px; }
.button { background: var(--accent); color: #071d20; border: 1px solid transparent; border-radius: 8px; padding: 11px 18px; font: inherit; font-weight: 650; cursor: pointer; display: inline-block; text-align: center; }
.button:hover { filter: brightness(1.1); text-decoration: none; }
.button:focus-visible, a:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }
.secondary { border-color: #405470; color: var(--text); background: transparent; }
.small { padding: 6px 11px; font-size: 12px; }
.danger { color: var(--danger); background: #3c202e; border-color: #6d3649; }
.notice { border-radius: 10px; padding: 14px 18px; margin-bottom: 24px; border: 1px solid var(--line); overflow-wrap: anywhere; }
.demo { color: #ffe0a0; background: #302918; border-color: #64512d; }
.error { color: #ffccd1; background: #342031; border-color: #6d3649; }
.success { color: #b8eee7; background: #12322f; border-color: #25635b; }
.table-wrap { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; font-size: 13px; }
th { text-align: left; color: var(--muted); font-weight: 500; font-size: 11px; text-transform: uppercase; letter-spacing: .6px; padding: 14px 12px; white-space: nowrap; }
td { padding: 15px 12px; border-top: 1px solid var(--line); overflow-wrap: anywhere; }
td:first-child, th:first-child { padding-left: 0; }
.badge { display: inline-block; background: #223248; color: #c8d6e7; padding: 3px 10px; font-size: 12px; border-radius: 20px; white-space: nowrap; }
.valid { background: #153b34; color: #a6e9d2; }
.revoked { background: #3c2631; color: #efb2bc; }
.actions { display: flex; flex-wrap: wrap; gap: 8px; }
.empty { text-align: center; color: var(--muted); padding: 30px 12px; }
.login { max-width: 480px; margin: 50px auto; padding: 32px; }
.login .small-text { margin: 20px 0 0; }
footer { color: var(--muted); font-size: 12px; text-align: center; border-top: 1px solid var(--line); padding: 24px; }
@media (max-width: 950px) { .metrics { grid-template-columns: repeat(2, 1fr); } .management { grid-template-columns: 1fr; gap: 0; } }
@media (max-width: 550px) { .metrics { grid-template-columns: 1fr; gap: 0; } .page-heading { align-items: start; flex-direction: column; } .container { padding: 24px 14px; } .card { padding: 18px; } .brand { font-size: 16px; } .account span { display: none; } .topbar { padding: 16px; } }
