:root{--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light;--bg:#f0f2f5;--sidebar:#304156;--sidebar-dark:#263445;--primary:#409eff;--success:#67c23a;--danger:#f56c6c;--warning:#e6a23c;--text:#303133;--muted:#909399;--border:#ebeef5;--panel:#fff}*{box-sizing:border-box}body{color:var(--text);background:var(--bg);margin:0;font-family:Helvetica Neue,Helvetica,PingFang SC,Hiragino Sans GB,Microsoft YaHei,Arial,sans-serif;font-size:14px}.admin-layout{min-height:100vh;display:flex}.sidebar{color:#bfcbd9;background:var(--sidebar);width:220px;position:fixed;inset:0 auto 0 0;box-shadow:2px 0 6px #0015292e}.brand{color:#fff;background:var(--sidebar-dark);align-items:center;gap:12px;height:60px;padding:0 18px;display:flex}.brand-logo{background:var(--primary);border-radius:8px;place-items:center;width:34px;height:34px;font-weight:700;display:grid}.brand-title{font-size:17px;font-weight:700}.brand-subtitle{color:#aebacd;margin-top:2px;font-size:12px}.menu{padding:12px 0}.menu-item{color:#bfcbd9;text-align:left;cursor:pointer;background:0 0;border:0;justify-content:space-between;align-items:center;width:100%;padding:13px 22px;font-size:14px;text-decoration:none;display:flex}.menu-count{color:#aebacd;text-align:center;background:#ffffff14;border-radius:10px;min-width:22px;padding:0 6px;font-size:12px;line-height:20px}.menu-item.active .menu-count{color:#fff;background:#409eff59}.panel-title-row{align-items:center;gap:10px;display:flex}.role-tag{border-radius:999px;padding:2px 10px;font-size:12px;font-weight:600;line-height:20px;display:inline-block}.role-edge{color:#1d6fd1;background:#ecf5ff}.role-master{color:#529b2e;background:#f0f9eb}.menu-item.active,.menu-item:hover{color:#fff;background:#263445}.main{width:calc(100% - 220px);min-width:0;margin-left:220px}.navbar{z-index:20;background:#fff;border-bottom:1px solid #e6e6e6;justify-content:space-between;align-items:center;gap:16px;min-height:60px;padding:10px 20px;display:flex;position:sticky;top:0;box-shadow:0 1px 4px #00152914}.breadcrumb{color:var(--muted);font-size:12px}h1{margin:4px 0 0;font-size:20px;font-weight:600}.navbar-actions,.query-form,.row-actions,.form-actions{flex-wrap:wrap;align-items:center;gap:8px;display:flex}.content{padding:16px}input,select,textarea{color:#606266;background:#fff;border:1px solid #dcdfe6;border-radius:4px;outline:none;min-height:32px;padding:6px 10px}textarea{resize:vertical;width:100%;min-height:92px}input:focus,select:focus,textarea:focus{border-color:var(--primary)}button{cursor:pointer}button:disabled{cursor:not-allowed;opacity:.55}.btn{border:1px solid #dcdfe6;border-radius:4px;min-height:32px;padding:7px 14px;font-size:14px}.btn.primary{color:#fff;background:var(--primary);border-color:var(--primary)}.btn.default{color:#606266;background:#fff}.link-btn{color:var(--primary);background:0 0;border:0;padding:0}.link-btn.danger{color:var(--danger)}.cards{grid-template-columns:repeat(auto-fit,minmax(160px,1fr));gap:14px;margin-bottom:14px;display:grid}.card,.panel{background:var(--panel);border:1px solid var(--border);border-radius:4px;box-shadow:0 1px 2px #00000008}.card{padding:18px}.label{color:var(--muted);font-size:13px}.value{color:#303133;margin-top:8px;font-size:28px;font-weight:600}.value.ok{color:var(--success)}.value.bad{color:var(--danger)}.value.repaired{color:var(--primary)}.value.offline,.value.cleaned{color:var(--warning)}.panel{margin-bottom:14px;padding:16px}.panel-title{color:#303133;font-size:16px;font-weight:600}.panel-desc{color:var(--muted);margin-top:4px;font-size:13px}.form-grid{grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:14px;margin-top:16px;display:grid}.form-grid label{color:#606266;gap:6px;display:grid}.form-grid label.wide{grid-column:1/-1}.form-actions{justify-content:flex-end;margin-top:14px}.install-log,.log{white-space:pre-wrap;color:#606266;border:1px solid var(--border);background:#f8f8f9;border-radius:4px;overflow:auto}.install-log{max-height:220px;margin:14px 0 0;padding:12px}.table-toolbar{justify-content:space-between;align-items:flex-start;gap:14px;margin-bottom:14px;display:flex}.table-wrap{overflow-x:auto}table{border-collapse:collapse;width:100%}th,td{border-bottom:1px solid var(--border);text-align:left;vertical-align:top;padding:12px 10px}th{color:#606266;background:#f8f8f9;font-weight:600}tbody tr:hover td{background:#f5f7fa}.badge{border-radius:4px;align-items:center;min-height:24px;padding:0 8px;font-size:12px;display:inline-flex}.MATCH,.succeeded{color:#529b2e;background:#f0f9eb;border:1px solid #e1f3d8}.pending,.running{color:#337ecc;background:#ecf5ff;border:1px solid #d9ecff}.failed,.MISMATCH,.SECURITY_ALERT,.ERROR,.PARTIAL{color:#c45656;background:#fef0f0;border:1px solid #fde2e2}.NOT_FOUND,.OFFLINE{color:#b88230;background:#fdf6ec;border:1px solid #faecd8}.offlineRow td{background:#fcfbf6}.muted{color:var(--muted);font-size:12px}.mono{font-family:Consolas,Monaco,monospace}.strong{font-weight:600}.ellipsis{text-overflow:ellipsis;white-space:nowrap;max-width:420px;overflow:hidden}.alert{border-radius:4px;margin-bottom:14px;padding:10px 14px}.alert.error{color:#f56c6c;background:#fef0f0;border:1px solid #fde2e2}.alert.success{color:#67c23a;background:#f0f9eb;border:1px solid #e1f3d8}.alert.info{color:#409eff;background:#ecf5ff;border:1px solid #d9ecff}.empty{color:var(--muted);text-align:center;padding:36px}.pagination{color:#606266;justify-content:space-between;align-items:center;gap:12px;padding-top:14px;font-size:13px;display:flex}.pager-actions{flex-wrap:wrap;justify-content:flex-end;align-items:center;gap:8px;display:flex}.pager-actions select{min-width:78px}.modal-backdrop{z-index:50;background:#00000073;justify-content:center;align-items:center;padding:24px;display:flex;position:fixed;inset:0}.modal{background:#fff;border-radius:4px;width:min(920px,100%);max-height:calc(100vh - 48px);padding:18px;overflow:hidden;box-shadow:0 12px 36px #0000002e}.dialog-head{justify-content:space-between;align-items:center;gap:12px;margin-bottom:14px;display:flex}.dialog-head h2{margin:0;font-size:18px}.log{max-height:calc(100vh - 150px);padding:12px}@media (width<=980px){.sidebar{display:none}.main{width:100%;margin-left:0}.navbar,.table-toolbar{flex-direction:column;align-items:stretch}.navbar-actions,.query-form{align-items:stretch}.navbar-actions input,.navbar-actions button,.query-form input,.query-form select{width:100%}}
