:root{color-scheme:dark;--bg:#081019;--panel:#10202d;--border:#284451;--text:#e2eff5;--muted:#93aebb;--green:#61ddbc;--amber:#ffd089}*{box-sizing:border-box}body{margin:0;background:var(--bg);color:var(--text);font:14px/1.65 system-ui,-apple-system,"PingFang SC",sans-serif}main{max-width:1300px;margin:auto;padding:32px 24px}header,.section-title,.toolbar,.card-title,.metrics,nav{display:flex;align-items:center;gap:12px}header,.section-title,.card-title{justify-content:space-between}header{margin-bottom:24px;flex-wrap:wrap}h1{font-size:29px;line-height:1.2;margin:6px 0}h2{font-size:18px;margin:0}p{margin:8px 0}.eyebrow{font-size:11px;letter-spacing:.16em;color:var(--green);margin:0}.subtitle,footer,.description,#updated{color:var(--muted)}a{color:#7bdfd3;text-decoration:none}nav{flex-wrap:wrap}button,select,input,textarea{font:inherit;color:var(--text);background:#142a38;border:1px solid #395966;border-radius:7px;padding:9px 12px}button{cursor:pointer;white-space:nowrap}button:hover{background:#224655}button:disabled{opacity:.45;cursor:not-allowed}.primary{background:#176755;border-color:#238873}.primary:hover{background:#238873}input,textarea{width:100%;outline:none}input:focus,textarea:focus,button:focus-visible,select:focus{border-color:var(--green);outline:2px solid #61ddbc30}.panel{background:var(--panel);border:1px solid var(--border);border-radius:12px;padding:22px}.groups{display:grid;grid-template-columns:1fr 1fr;gap:18px}.description{min-height:44px;margin:6px 0 15px}.metrics{gap:22px;margin:12px 0 16px}.metrics strong{font-size:23px;display:block;line-height:1.2}.metrics span{font-size:12px;color:var(--muted)}.badge{font-size:12px;padding:4px 9px;border-radius:20px;background:#173e37;color:#8bf0d1;white-space:nowrap}.badge.waiting{background:#403b29;color:var(--amber)}.notice{border:1px solid #315b55;background:#12312f;border-radius:10px;padding:14px 18px;display:flex;gap:18px;align-items:flex-start;margin-bottom:16px}.notice strong{white-space:nowrap}.notice span{color:#b9d5d0}.toolbar{flex-wrap:wrap;justify-content:space-between;margin:8px 0}.toolbar label{font-size:12px;color:var(--muted);display:flex;align-items:center;gap:5px}.toolbar input{width:auto}.key-input{resize:vertical;min-height:94px;font:13px/1.65 ui-monospace,monospace;overflow-wrap:anywhere}.key-input.masked{-webkit-text-security:disc}.key-input::placeholder{-webkit-text-security:none}.actions{display:flex;justify-content:space-between;gap:10px;align-items:center;margin:12px 0}.message{font-size:13px;min-height:24px;color:var(--amber);overflow-wrap:anywhere}.table-wrap{max-height:230px;overflow:auto;border-top:1px solid var(--border);margin-top:10px}table{width:100%;border-collapse:collapse;font-size:12px}td,th{padding:9px 5px;border-bottom:1px solid #233947;text-align:left}th{color:var(--muted);font-weight:500}.key-label{font-family:ui-monospace,monospace}.row-action{padding:3px 8px;font-size:12px;color:#ffb6b6}.status-quota,.status-invalid,.status-rate,.status-network{color:var(--amber)}.status-ok{color:var(--green)}.status-ready{color:var(--muted)}.history{margin-top:22px}.history-row{display:flex;justify-content:space-between;gap:12px;padding:10px 0;border-bottom:1px solid var(--border)}.history-row small{color:var(--muted)}footer{font-size:12px;margin-top:22px}.login{max-width:450px;margin:60px auto}.login label{display:block;margin:14px 0}.login button{width:100%}#login-error{color:#ffb6b6}#global-message{color:var(--amber);min-height:20px}[hidden]{display:none!important}@media(max-width:850px){.groups{grid-template-columns:1fr}.notice{display:block}.notice strong{display:block;margin-bottom:6px}.description{min-height:0}main{padding:22px 14px}.panel{padding:18px}.history-row{flex-direction:column;gap:2px}h1{font-size:25px}}
