:root{color-scheme:dark;--bg:#050505;--card:#101010;--line:#252525;--muted:#8a8a8a;--text:#f4f4f4}
*{box-sizing:border-box}
body{margin:0;min-height:100vh;background:radial-gradient(ellipse at top left,#141414 0,#090909 45%,#050505 100%);color:var(--text);font:13px/1.5 "Segoe UI",Arial,sans-serif}
button,input,select,textarea{font:inherit}
button,a,input,select,textarea{-webkit-tap-highlight-color:transparent}
button{cursor:pointer}
button:disabled{opacity:.45;cursor:wait}
a{color:inherit;text-decoration:none}
button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:2px solid #fff;outline-offset:3px}
[hidden]{display:none!important}
header{height:56px;border-bottom:1px solid #202020;background:#090909;display:flex;align-items:center;justify-content:space-between;padding:0 26px;gap:20px}
.brand{display:flex;align-items:center;gap:10px}
.brand-mark{display:inline-block;width:30px;height:30px;border-radius:7px;background-image:url('/brand.png');background-position:-19px -19px;background-repeat:no-repeat;flex-shrink:0}
.brand strong{font-size:16px;letter-spacing:-.6px}
.brand-label{font-size:9px;font-weight:600;letter-spacing:1.3px;color:#9c9c9c;border-left:1px solid #393939;padding-left:11px;margin-left:2px}
.header-actions{display:flex;align-items:center;gap:9px}
.local{font-size:10px;color:#a6a6a6;margin-right:12px;white-space:nowrap}
.local i{display:inline-block;width:5px;height:5px;background:#e8e8e8;border-radius:50%;margin-right:7px}
.button{border:1px solid #303030;border-radius:7px;padding:9px 13px;display:inline-flex;align-items:center;justify-content:center;gap:7px;white-space:nowrap;font-weight:600;transition:background .15s,border-color .15s}
.subtle{background:#151515;color:#ddd}
.subtle:hover{background:#222;border-color:#444}
.primary{background:#f1f1f1;color:#111;border-color:#f1f1f1;box-shadow:0 2px 12px #ffffff0a}
.primary:hover{background:#fff}
.header-actions .button{padding:6px 10px;font-size:10px}
main{width:min(100% - 36px,1000px);padding:24px 0 20px;margin:0 auto}
.page-heading{display:none}
.eyebrow{font-size:9px;letter-spacing:2px;color:#898989;font-weight:700;margin:0 0 12px}
h1{font-size:30px;line-height:1.2;letter-spacing:-1.1px;font-weight:650;margin:0 0 10px}
h1 span{color:#757575}
.subtitle{margin:0;color:#929292;font-size:12px}
.edition{font-size:9px;letter-spacing:1.5px;color:#acacac;text-align:right;margin-bottom:2px}
.edition span{display:block;margin-top:6px;color:#505050;font-size:8px}
.stats{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:12px;margin-bottom:23px}
.stats article{min-height:81px;border:1px solid var(--line);border-radius:11px;background:linear-gradient(145deg,#141414,#0d0d0d);padding:13px 15px;position:relative}
.stat-top{font-size:9px;font-weight:600;letter-spacing:.55px;color:#999;display:flex;align-items:center;justify-content:space-between;gap:4px}
.stat-top span{font-size:15px;background:#202020;border:1px solid #2b2b2b;color:#dedede;width:29px;height:29px;display:grid;place-items:center;border-radius:8px;flex:none}
.stats strong{display:block;font-size:26px;line-height:1.15;letter-spacing:-1px;margin:-2px 0 0;font-weight:650;font-variant-numeric:tabular-nums}
.stats small{display:none}
.workspace{border:1px solid var(--line);border-radius:11px;background:#0d0d0d;overflow:hidden}
.toolbar{padding:12px;display:flex;gap:9px;border-bottom:1px solid #252525;background:#111}
.search{display:flex;align-items:center;gap:9px;flex:1;border:1px solid #2b2b2b;border-radius:7px;background:#090909;padding:0 11px;min-width:130px}
.search>span{font-size:20px;color:#777}
.search input{border:0;background:transparent;min-width:0;width:100%;padding:9px 0;color:#eee;outline:none}
input::placeholder{color:#686868}
select{background:#171717;border:1px solid #303030;color:#ddd;border-radius:7px;padding:0 30px 0 11px;font-size:11px;min-width:112px}
.table-heading{padding:18px 16px 14px;display:flex;justify-content:space-between;align-items:center;gap:16px}
h2{font-size:14px;font-weight:650;margin:0}
.count{font-size:10px;color:#aaa;background:#242424;border:1px solid #333;border-radius:5px;vertical-align:middle;padding:1px 6px;margin-left:6px}
.table-heading p{font-size:10px;color:#727272;margin:4px 0 0}
.bulk{display:flex;gap:8px;align-items:center;font-size:10px}
.bulk .button{padding:6px 10px}
.table-scroll{overflow-x:auto}
table{border-collapse:collapse;width:100%;text-align:left;min-width:780px}
thead{background:#151515;border-block:1px solid #242424}
th{font-size:9px;letter-spacing:.55px;color:#939393;font-weight:600;padding:11px 12px}
th.checkbox,td.checkbox{width:34px;padding-left:16px;padding-right:4px}
td{border-bottom:1px solid #202020;padding:13px 12px;font-size:11px;color:#c1c1c1;max-width:220px}
tbody tr:last-child td{border-bottom:0}
tbody tr:hover{background:#141414}
input[type=checkbox]{accent-color:#fff;width:12px;height:12px;cursor:pointer}
.key-code{font-family:Consolas,monospace;color:#ddd;font-size:11px;white-space:nowrap}
.key-id{display:block;font-size:8px;color:#595959;margin-top:3px}
.badge{display:inline-flex;align-items:center;gap:5px;padding:4px 8px;border:1px solid #383838;border-radius:6px;background:#1c1c1c;color:#c2c2c2;font-size:10px;white-space:nowrap}
.badge.active{background:#dedede;color:#111;border-color:#dedede}
.badge.blocked{background:repeating-linear-gradient(135deg,#191919,#191919 3px,#202020 3px,#202020 6px);color:#8e8e8e}
.account-cell{white-space:nowrap}
.account-cell img{width:22px;height:22px;object-fit:cover;border-radius:50%;vertical-align:middle;margin-right:8px}
.account-handle{display:block;margin-left:30px;color:#707070;font-size:9px}
.note-cell{overflow-wrap:anywhere}
.dim{color:#666}
.actions-heading{text-align:right;padding-right:16px}
.row-actions{display:flex;justify-content:flex-end;gap:6px}
.row-actions button{background:#181818;border:1px solid #303030;color:#bfbfbf;border-radius:6px;padding:5px 8px;font-size:10px}
.row-actions button:hover{color:#fff;border-color:#666}
.empty{min-height:190px;display:flex;flex-direction:column;align-items:center;justify-content:center;padding:26px;text-align:center}
.empty-icon{font-size:23px;color:#868686;width:44px;height:44px;display:grid;place-items:center;background:#161616;border:1px solid #282828;border-radius:11px;margin-bottom:11px}
.empty h3{font-size:13px;margin:0 0 5px;color:#d4d4d4}
.empty p{font-size:11px;color:#727272;margin:0 0 14px}
.empty button{font-size:10px;padding:7px 12px}
.table-footer{border-top:1px solid #232323;padding:11px 16px;display:flex;justify-content:space-between;font-size:9px;color:#656565}
footer{display:flex;justify-content:space-between;margin-top:16px;font-size:9px;color:#626262;letter-spacing:.15px}
footer strong{font-weight:500;color:#aaa}
footer>span:last-child{font-size:8px;letter-spacing:1px}
footer b{font-weight:400;margin:0 8px;color:#444}
.toast{position:fixed;bottom:22px;left:50%;transform:translateX(-50%);max-width:90vw;background:#ececec;color:#111;border:1px solid #fff;border-radius:9px;padding:12px 18px;font-size:12px;box-shadow:0 6px 30px #0008;z-index:10}
dialog{border:1px solid #333;border-radius:14px;background:#101010;color:#eee;padding:25px;width:min(480px,94vw);box-shadow:0 20px 100px #000a}
dialog::backdrop{background:#000b;backdrop-filter:blur(5px)}
.dialog-head{display:flex;justify-content:space-between;align-items:center}
.dialog-head .eyebrow{margin:0}
.close{border:0;background:transparent;color:#aaa;font-size:25px;line-height:1}
.close:hover{color:#fff}
dialog h2{font-size:23px;letter-spacing:-.6px;margin-top:18px}
dialog p{color:#858585;font-size:12px;margin:9px 0 22px}
dialog label{display:block;font-size:11px;color:#aaa;margin-top:16px}
dialog input,dialog textarea{display:block;width:100%;margin-top:7px;background:#080808;border:1px solid #333;border-radius:7px;padding:11px;color:#e5e5e5}
dialog input:disabled{color:#888}
dialog textarea{resize:vertical;min-height:130px;font:11px/1.8 Consolas,monospace;white-space:pre;overflow:auto}
.form-row{display:grid;grid-template-columns:1fr 2fr;gap:15px}
.optional{font-size:9px;color:#5c5c5c;margin-left:5px}
.wide{width:100%;margin-top:19px}
dialog .subtle.wide{margin-top:9px}
.locked{position:fixed;inset:0;z-index:20;background:#050505;display:grid;place-items:center;text-align:center}
.locked>div{padding:46px 54px;border:1px solid #282828;border-radius:15px;background:#0c0c0c}
.locked .brand-mark{margin-bottom:20px}
.locked h2{font-size:27px}
.locked p:not(.eyebrow){color:#888;line-height:1.8}
.locked kbd{color:#eee;border:1px solid #444;border-radius:4px;padding:1px 5px}
@media(max-width:760px){header{padding:0 15px}.local{display:none}main{width:min(100% - 24px,600px);padding-top:16px}.stats{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin-bottom:15px}.stats article{min-height:75px;padding:12px}.stats article:last-child{grid-column:span 2}.toolbar{flex-wrap:wrap}.search{flex-basis:100%;height:39px}.toolbar select{height:38px;flex:1}.toolbar>.button{height:38px;flex:1}.table-heading{padding:15px 12px 12px}.table-footer{gap:10px;flex-wrap:wrap}footer{gap:8px;flex-wrap:wrap}.header-actions .button span{display:none}}
@media(max-width:420px){.brand-label{display:none}.header-actions{gap:5px}.header-actions .button{padding:6px 8px}.form-row{grid-template-columns:1fr}.locked>div{padding:36px 24px}}

.locked a.button{display:inline-flex;align-items:center;justify-content:center;text-decoration:none;margin-top:20px}.locked .login-note{font-size:11px;opacity:.5;margin-top:28px}

.row-actions{flex-wrap:wrap;min-width:170px}.badge.expired{color:#aaa;border:1px solid #555}
