:root{--blue:#2668e8;--ink:#172033;--muted:#768198;--line:#e9edf4;--bg:#f6f8fc;--green:#18a875;--orange:#ed8c23;--red:#e55151}*{box-sizing:border-box}body{margin:0;font:14px Inter,"Microsoft YaHei",Arial;color:var(--ink);background:var(--bg)}.shell{min-height:100vh;display:flex}aside{width:238px;background:#17253c;color:#dbe5f5;padding:22px 14px;display:flex;flex-direction:column}.brand{font-size:18px;font-weight:700;display:flex;align-items:center;gap:10px;margin:0 8px 34px;color:#fff;line-height:1.15}.brand b{background:#3375f0;padding:8px 10px;border-radius:8px}.brand small,.user small{font-size:11px;color:#93a4bd;font-weight:400}nav{display:grid;gap:5px}.nav-item{border:0;background:transparent;color:#b5c2d6;padding:12px 14px;text-align:left;border-radius:8px;font:inherit;cursor:pointer}.nav-item:hover,.nav-item.active{background:#2b66d4;color:#fff}.user{border-top:1px solid #33455f;margin-top:auto;padding:17px 8px;display:flex;gap:10px;align-items:center}.avatar{background:#e7efff;color:#2b66d4;border-radius:50%;padding:7px;font-size:12px}main{flex:1;min-width:0}header{height:70px;background:#fff;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;padding:0 32px}.crumb{color:#9099ab}.header-right{color:#788399;font-size:13px}.dot{display:inline-block;width:8px;height:8px;border-radius:50%;background:var(--green)}button{font:inherit;cursor:pointer}.quiet{margin-left:16px;border:1px solid #dbe2ee;background:#fff;border-radius:6px;padding:7px 13px;color:#526077}section{padding:28px 32px;max-width:1500px}.title-row{display:flex;justify-content:space-between;align-items:flex-start;margin-bottom:24px}.title-row h1{margin:0 0 7px;font-size:25px}.subtitle{margin:0;color:var(--muted)}.primary{border:0;border-radius:7px;background:var(--blue);color:white;padding:10px 15px;box-shadow:0 4px 10px #2668e833}.cards{display:grid;grid-template-columns:repeat(4,1fr);gap:18px;margin-bottom:22px}.card,.panel{background:#fff;border:1px solid var(--line);border-radius:11px}.card{padding:20px}.card label{color:var(--muted)}.card strong{font-size:29px;display:block;margin:10px 0 4px}.card small{color:#909aac}.grid{display:grid;grid-template-columns:1.4fr 1fr;gap:20px}.panel{padding:20px}.panel h3{margin:0 0 17px;font-size:16px}.progress{height:9px;border-radius:8px;background:#edf1f8;overflow:hidden}.progress i{display:block;height:100%;background:linear-gradient(90deg,#3777ef,#4ea3ff);border-radius:8px}.progress-label{display:flex;justify-content:space-between;margin:14px 0 10px}.device{display:flex;padding:12px 0;border-bottom:1px solid var(--line);justify-content:space-between}.device:last-child{border:0}.badge{font-size:12px;padding:4px 8px;border-radius:20px;background:#eaf8f2;color:#139266}.warn{background:#fff4e8;color:#d37918}.danger{background:#fff0f0;color:#d84a4a}.toolbar{display:flex;justify-content:space-between;margin-bottom:16px}.search{border:1px solid #dfe5ef;border-radius:7px;padding:9px 12px;min-width:240px}.table-wrap{overflow:auto}.table{width:100%;border-collapse:collapse;background:#fff;border:1px solid var(--line);border-radius:10px;overflow:hidden}.table th{background:#f8faff;color:#6b768b;font-size:12px;text-align:left;padding:13px 15px}.table td{padding:14px 15px;border-top:1px solid var(--line)}.link-btn{border:0;background:transparent;color:var(--blue);padding:0 5px}.empty{padding:26px;text-align:center;color:#95a0b3}.modal{position:fixed;inset:0;background:#15233b66;display:grid;place-items:center;z-index:4}.hidden{display:none}.dialog{position:relative;width:min(440px,92vw);background:#fff;border-radius:12px;padding:24px}.dialog h2{margin:0 0 20px}.x{position:absolute;right:14px;top:12px;background:none;border:0;font-size:25px;color:#8390a5}.field{display:grid;gap:7px;margin:13px 0}.field input,.field select{border:1px solid #dce3ee;border-radius:7px;padding:10px;font:inherit}.form-actions{text-align:right;margin-top:22px}.form-actions button{margin-left:8px}.secondary{padding:9px 14px;border-radius:7px;border:1px solid #dfe5ed;background:#fff;color:#5b6880}@media(max-width:900px){aside{width:70px;padding:18px 8px}.brand span,.nav-item span,.user div{display:none}.brand{margin:0 8px 30px}.cards{grid-template-columns:repeat(2,1fr)}.grid{grid-template-columns:1fr}section{padding:20px}header{padding:0 20px}}@media(max-width:560px){.cards{grid-template-columns:1fr}.header-right{display:none}.toolbar{gap:10px;flex-direction:column}.search{width:100%}}.dialog.wide{width:min(920px,96vw)}.batch-table{width:100%;border-collapse:collapse;margin-top:8px}.batch-table th{text-align:left;font-size:12px;color:#6f7a8f;padding:8px;background:#f7f9fc}.batch-table td{padding:6px;border-bottom:1px solid var(--line)}.batch-table input{width:100%;border:1px solid #dce3ee;border-radius:6px;padding:8px;font:inherit}.batch-note{color:var(--muted);font-size:12px;line-height:1.6;margin:0 0 12px}.add-row{padding:7px 10px;border:1px dashed #aebed9;background:#fafcff;color:var(--blue);border-radius:6px;margin-top:10px}
