*{box-sizing:border-box}body{margin:0;background:#080a10;color:#f4f6fa;font-family:Tahoma,Arial;transition:.2s}header{height:70px;padding:0 6%;display:flex;justify-content:space-between;align-items:center;border-bottom:1px solid #222936;background:#0b0e15}header small{color:#9cff00}header a{color:#9cff00;text-decoration:none;margin-right:15px}header div{display:flex;align-items:center}header button{margin-left:12px;background:#171d27;color:#fff;border:1px solid #303744;border-radius:9px;padding:8px;cursor:pointer}main{max-width:1200px;margin:auto;padding:35px 6%}.stats{display:grid;grid-template-columns:repeat(3,1fr);gap:15px;margin-bottom:18px}.stats div,section{background:#10141d;border:1px solid #252c38;border-radius:18px;padding:20px}.stats b{display:block;font-size:28px;color:#9cff00;margin-top:8px}section{margin-bottom:18px}.head{display:flex;justify-content:space-between;align-items:center}.head h2{margin:0}button{background:#9cff00;color:#080a10;border:0;border-radius:9px;padding:10px 15px;font-weight:bold;cursor:pointer}.row{display:grid;grid-template-columns:1fr 150px 150px 100px;gap:10px;padding:10px 0;border-bottom:1px solid #242b36}input,select{background:#090c12;color:white;border:1px solid #303744;border-radius:8px;padding:10px;width:100%;margin-top:5px}label{font-size:10px;color:#aeb6c4}.table{overflow:auto}table{width:100%;border-collapse:collapse;font-size:11px}th,td{padding:12px;border-bottom:1px solid #242b36;text-align:right}.settings{display:grid;grid-template-columns:1fr 1fr auto;gap:12px;align-items:end}.login{position:fixed;inset:0;background:radial-gradient(circle at 50% 20%,#193000 0,#080a10 45%);display:grid;place-items:center;z-index:10}.loginbox{width:min(390px,90%);background:#111620;border:1px solid #2b3340;border-radius:22px;padding:30px;box-shadow:0 25px 80px #0009}.loginlogo{font-size:22px;font-weight:900}.loginlogo span{color:#9cff00}.loginbox h1{font-size:22px;margin:25px 0 8px}.loginbox p{color:#8f98a8;font-size:12px;margin-bottom:20px}.loginbox input{margin:8px 0}.loginbox button{width:100%;margin-top:10px}.loginbox #loginErr{color:#ff7d8c;margin-top:12px;font-size:12px}.hidden{display:none!important}.light{background:#f3f6fb;color:#172033}.light header{background:#fff;border-color:#dbe2ec}.light .stats div,.light section{background:#fff;border-color:#dce3ed;box-shadow:0 12px 35px #18253a12}.light header button{background:#e8eef6;color:#172033;border-color:#cbd5e1}.light input,.light select{background:#f8fafc;color:#172033;border-color:#cbd5e1}.light label{color:#64748b}.light th{color:#64748b}.light .login{background:radial-gradient(circle at 50% 20%,#dff5c2 0,#f3f6fb 45%)}.light .loginbox{background:#fff;border-color:#dce3ed;box-shadow:0 25px 70px #18253a18}.light .loginbox p{color:#64748b}@media(max-width:700px){.stats{grid-template-columns:1fr}.row,.settings{grid-template-columns:1fr}}
body.light{background:#f4f7fb;color:#18212f}
body.light header,body.light section,body.light .stats div{background:#fff;border-color:#e1e7ef;box-shadow:0 8px 24px rgba(25,40,60,.06)}
body.light header a{color:#5f9500}
body.light input,body.light select{background:#f8fafc;color:#18212f;border-color:#d6dee8}
body.light .login{background:#f4f7fb}
body.light .login>div{background:#fff;border-color:#e1e7ef;box-shadow:0 15px 40px rgba(25,40,60,.1)}
body.light th,body.light td{border-bottom-color:#e5eaf1}

.deleteBtn{background:#ff5c70;color:#fff}.row{grid-template-columns:1.2fr 130px 150px 90px 70px}@media(max-width:700px){.row{grid-template-columns:1fr}}

#payments{margin-bottom:18px}.payment-row{display:grid;grid-template-columns:1.4fr 1fr 190px;gap:12px;align-items:center;padding:12px 0;border-bottom:1px solid #29313e}.light .payment-row{border-bottom-color:#e1e7ef}
@media(max-width:800px){.payment-row{grid-template-columns:1fr}}
