:root{color-scheme:dark;font-family:Inter,system-ui,sans-serif;background:#0c1115;color:#ecf1ee}*{box-sizing:border-box}body{margin:0}header{padding:22px 5%;border-bottom:1px solid #29332f;display:flex;align-items:center;gap:24px}header img{width:135px;height:45px;object-fit:contain}header span,.eyebrow,footer{font-size:11px;letter-spacing:2px;color:#9faeaa}header button{margin-left:auto}main{max-width:1200px;margin:55px auto;padding:0 24px}h1{font-size:clamp(28px,4vw,44px);letter-spacing:-1.5px;margin:10px 0 20px}h2{font-size:20px}p,small,.muted{color:#9faeaa;line-height:1.6}#login{max-width:480px;margin:10vh auto}label{display:flex;flex-direction:column;gap:9px;font-size:13px;color:#acbbb4}input,select,button{font:inherit;border:1px solid #34463e;border-radius:8px;padding:12px;background:#111c18;color:#eff6f1;min-width:0}input:focus,select:focus,button:focus-visible{outline:2px solid #82d5aa;outline-offset:2px}button{background:#a4e4b8;color:#10251a;cursor:pointer;font-weight:650}button:disabled{opacity:.5;cursor:wait}#loginForm{display:grid;gap:20px;margin:30px 0}.surface{border:1px solid #2a3831;background:#121b17;padding:24px;border-radius:14px;margin:20px 0}.heading,.inline{display:flex;align-items:center;justify-content:space-between;gap:20px}.inline{justify-content:flex-start;align-items:flex-end}.stats{display:grid;grid-template-columns:repeat(4,1fr);gap:15px}.stat{border:1px solid #2a3831;border-radius:12px;padding:22px}.stat strong{display:block;font-size:25px;margin-top:10px}.grid,.fields{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}.fields{grid-column:1/-1}.grid{margin-top:24px}summary{cursor:pointer;font-weight:650}.bot-head{display:flex;justify-content:space-between;gap:15px;align-items:center}.bot-head h2{margin:0}.bot-metrics{display:flex;flex-wrap:wrap;gap:24px;margin:25px 0}.bot-metrics strong{display:block;margin-top:6px}.actions{display:flex;gap:12px;margin-top:20px}.danger{background:transparent;color:#f3a9a9;border-color:#654343}fieldset{border:0;padding:0;margin:0}.positive{color:#a4e4b8}.negative{color:#f3a9a9}#message{position:sticky;bottom:20px;background:#22382c;padding:16px;border-radius:8px}#message:empty{display:none}footer{text-align:center;padding:30px} [hidden]{display:none!important}@media(max-width:700px){header span{display:none}main{margin-top:30px}.stats{grid-template-columns:1fr 1fr}.grid,.fields{grid-template-columns:1fr}.heading,.inline{align-items:stretch;flex-direction:column}.surface{padding:18px}.bot-head{align-items:flex-start}.stat{padding:15px}.stat strong{font-size:21px}}

body:has(#dashboard[hidden]) header,body:has(#dashboard[hidden]) footer{display:none}body:has(#dashboard[hidden]) main{min-height:100svh;margin:0 auto;display:grid;align-items:center}body:has(#dashboard[hidden]) #login{width:100%;margin:0 auto}
