*{box-sizing:border-box}body{margin:0;background:#f5f7fb;color:#18212f;font-family:Arial,"Microsoft YaHei",sans-serif}button,input,select{font:inherit}button{border:1px solid #d8dee9;background:white;border-radius:8px;padding:9px 14px;cursor:pointer}.primary{background:#2563eb;color:white;border-color:#2563eb}.loginScreen{min-height:100vh;display:grid;place-items:center;background:linear-gradient(135deg,#0f172a,#1e3a8a);padding:20px}.loginScreen[hidden]{display:none}.loginCard{width:min(410px,94vw);background:white;border-radius:18px;padding:34px;box-shadow:0 30px 90px #0006}.loginCard h1{margin:10px 0 6px;font-size:25px}.loginCard p{margin:0 0 25px;color:#7b8798}.loginCard label{margin:14px 0}.loginCard input{width:100%;min-width:0}.loginBtn{width:100%;margin-top:8px;padding:11px}.logoMark{width:48px;height:48px;border-radius:14px;background:#2563eb;color:white;display:grid;place-items:center;font-size:26px;font-weight:bold}header{background:#111827;color:white;padding:18px 4%;display:flex;justify-content:space-between;align-items:center;gap:15px}header h1{margin:0 0 5px;font-size:24px}header p{margin:0;color:#b8c2d1}.headerActions{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.headerActions button{background:#1f2937;color:white;border-color:#445065}.roleBadge{font-size:11px;background:#2563eb;padding:3px 7px;border-radius:999px;margin-left:5px}main{width:min(1500px,94%);margin:22px auto}.card{background:white;border:1px solid #e5e9f0;border-radius:12px;padding:18px;margin-bottom:18px}.bindGate{max-width:700px;margin:55px auto;text-align:center;padding:40px}.bindGate h2{margin-top:0}.bindGate p{color:#64748b;line-height:1.8}.row{display:flex;gap:12px;align-items:end;flex-wrap:wrap}label{display:flex;flex-direction:column;gap:6px;font-size:13px;color:#596579}input,select{border:1px solid #d7dde8;border-radius:8px;padding:9px 11px;min-width:170px;background:white}.stats{display:grid;grid-template-columns:repeat(6,1fr);gap:12px;margin-bottom:18px}.stat{background:white;border:1px solid #e5e9f0;border-radius:12px;padding:16px}.stat b{display:block;font-size:20px;margin-top:8px}.sectionHead{display:flex;justify-content:space-between;align-items:center;margin-bottom:12px}.sectionHead h2{font-size:17px;margin:0}.tableWrap{overflow:auto}table{width:100%;border-collapse:collapse;white-space:nowrap}th,td{padding:10px;border-bottom:1px solid #edf0f5;text-align:right;font-size:13px}th:first-child,td:first-child,th:nth-child(4),td:nth-child(4){text-align:left}th{background:#fafbfc;color:#596579}.grid{display:grid;grid-template-columns:1fr 1fr;gap:18px}.item{display:flex;justify-content:space-between;align-items:center;gap:10px;padding:10px 4px;border-bottom:1px solid #edf0f5}.muted{color:#7b8798;font-size:12px}.bad{color:#dc2626;font-weight:bold;margin-top:10px}.ok{color:#059669}.actions{display:flex;justify-content:flex-end;gap:10px;margin-top:18px}dialog{border:0;border-radius:12px;width:min(600px,92vw);padding:22px;box-shadow:0 25px 70px #0004}dialog::backdrop{background:#0007}#modalContent{display:grid;gap:12px;max-height:65vh;overflow:auto}#modalContent label input,#modalContent label select{width:100%}.userList{border:1px solid #edf0f5;border-radius:10px;padding:0 10px}hr{border:0;border-top:1px solid #edf0f5;width:100%}@media(max-width:900px){.stats{grid-template-columns:repeat(2,1fr)}.grid{grid-template-columns:1fr}header{align-items:flex-start;flex-direction:column}}
