:root{color-scheme:dark;--bg:#0b0d10;--card:#15191f;--card2:#1b2028;--text:#f4f7fb;--muted:#8f9aaa;--line:#252c36;--green:#3ee28c;--yellow:#ffbf47;--red:#ff5c6c}
*{box-sizing:border-box}html,body{margin:0;min-height:100%;background:var(--bg);color:var(--text);font-family:Inter,ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif}body{padding:max(18px,env(safe-area-inset-top)) 16px max(24px,env(safe-area-inset-bottom))}.hidden{display:none!important}.screen{min-height:90vh}.center{display:grid;place-items:center}.login-card{width:min(420px,100%);background:var(--card);border:1px solid var(--line);border-radius:26px;padding:26px;box-shadow:0 20px 80px #0008}.logo{font-size:42px}h1{font-size:30px;line-height:1.05;margin:6px 0 8px}h2{font-size:24px;margin:4px 0}p,.sub,.note{color:var(--muted)}form{display:flex;gap:10px;margin-top:24px}input,button{font:inherit}input{min-width:0;flex:1;padding:14px 16px;border-radius:14px;border:1px solid var(--line);background:#0f1216;color:var(--text);font-size:18px}button{border:0;border-radius:14px;padding:12px 15px;font-weight:750;background:#e8edf5;color:#0b0d10;cursor:pointer}button:active{transform:scale(.98)}.error{color:var(--red);min-height:24px;margin-top:10px}main{max-width:820px;margin:0 auto}header{display:flex;justify-content:space-between;align-items:center;margin:6px 2px 18px}.eyebrow,.label{font-size:12px;font-weight:800;letter-spacing:.12em;color:var(--muted)}.header-actions{display:flex;gap:8px}.icon-btn,.ghost,.link{background:var(--card);color:var(--text);border:1px solid var(--line)}.link{padding:6px 10px;background:transparent}.card{background:linear-gradient(180deg,var(--card2),var(--card));border:1px solid var(--line);border-radius:22px;padding:18px;margin-bottom:12px;box-shadow:0 10px 40px #0002}.hero{display:flex;gap:14px;justify-content:space-between;align-items:center}.status-row{display:flex;gap:10px;align-items:center}.dot{width:12px;height:12px;border-radius:99px;background:var(--muted);box-shadow:0 0 0 5px #8f9aaa18}.dot.online{background:var(--green);box-shadow:0 0 0 5px #3ee28c18}.dot.offline{background:var(--red);box-shadow:0 0 0 5px #ff5c6c18}.status-text{font-size:24px;font-weight:850}.actions{display:flex;gap:7px;flex-wrap:wrap;justify-content:flex-end}.actions button{font-size:13px;padding:9px 11px}.warning{background:var(--yellow)}.danger{background:var(--red);color:white}.success{background:var(--green)}.grid.two{display:grid;grid-template-columns:1fr 1fr;gap:12px}.metric .value{font-size:30px;font-weight:850;margin-top:6px}.section-head{display:flex;justify-content:space-between;align-items:flex-start;gap:16px}.badge{background:#252c36;border-radius:999px;padding:7px 10px;color:var(--muted);font-size:12px;font-weight:800}.stats3{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;margin-top:18px}.stats3 div{background:#0f1216;border:1px solid var(--line);padding:12px;border-radius:14px}.stats3 span{display:block;font-size:19px;font-weight:800}.stats3 small{display:block;color:var(--muted);margin-top:4px}.progress{height:13px;border-radius:999px;background:#0c0f13;overflow:hidden;border:1px solid var(--line);margin-top:14px}.progress.small{height:9px;margin-top:8px}.bar{height:100%;width:0;background:var(--green);border-radius:999px;transition:width .35s ease}.bar.warning{background:var(--yellow)}.bar.critical{background:var(--red)}.thresholds{display:flex;justify-content:space-between;color:var(--muted);font-size:11px;margin-top:7px}.limits{display:grid;gap:16px;margin-top:16px}.limit-head{display:flex;justify-content:space-between;gap:15px}.raw{white-space:pre-wrap;word-break:break-word;color:#aeb9c7;background:#0f1216;border:1px solid var(--line);padding:10px;border-radius:12px;max-height:130px;overflow:auto;font-size:12px}.alert{border-color:var(--yellow)}.alert.critical{border-color:var(--red)}footer{display:flex;justify-content:space-between;align-items:center;color:var(--muted);font-size:12px;padding:10px 4px 30px}@media(max-width:600px){body{padding-left:12px;padding-right:12px}h1{font-size:27px}.hero{align-items:flex-start;flex-direction:column}.actions{justify-content:flex-start}.stats3{grid-template-columns:1fr}}
