*{box-sizing:border-box;margin:0;padding:0}body{font-family:-apple-system,BlinkMacSystemFont,PingFang SC,Microsoft YaHei,sans-serif;background:#f5f6f8;color:#1f2329;font-size:14px}.hidden{display:none!important}.login-wrap{min-height:100vh;display:flex;align-items:center;justify-content:center}.login-card{width:360px;background:#fff;border:1px solid #e5e6eb;border-radius:12px;padding:32px}.login-card h1{font-size:20px;margin-bottom:6px}.login-card p{color:#86909c;font-size:13px;margin-bottom:22px}.field{width:100%;height:38px;border:1px solid #dcdfe6;border-radius:8px;padding:0 12px;font-size:14px;margin-bottom:14px;outline:none}.field:focus{border-color:#2f54eb}.btn{height:36px;padding:0 16px;border-radius:8px;border:1px solid #dcdfe6;background:#fff;cursor:pointer;font-size:13px;color:#1f2329;display:inline-flex;align-items:center;gap:6px;justify-content:center}.btn:hover{border-color:#2f54eb;color:#2f54eb}.btn-primary{background:#2f54eb;border-color:#2f54eb;color:#fff}.btn-primary:hover{background:#1d39c4;color:#fff}.btn-danger{color:#f53f3f;border-color:#f53f3f}.btn-danger:hover{background:#fff1f0;color:#f53f3f}.btn-full{width:100%}.btn-icon{width:36px;padding:0;font-size:15px}.app{display:flex;min-height:100vh}.sidebar{width:220px;background:#fff;border-right:1px solid #e5e6eb;display:flex;flex-direction:column;position:sticky;top:0;height:100vh}.brand{padding:20px 18px;font-size:17px;font-weight:700;color:#2f54eb;letter-spacing:.5px;border-bottom:1px solid #f2f3f5}.brand span{color:#86909c;font-size:12px;font-weight:400;display:block;margin-top:3px}.nav{padding:12px 0;flex:1}.nav-item{display:flex;align-items:center;gap:10px;padding:12px 20px;color:#4e5969;cursor:pointer;border-left:3px solid transparent;font-size:14px;user-select:none}.nav-item:hover{background:#f7f8fa}.nav-item.active{background:#eef2ff;color:#2f54eb;border-left-color:#2f54eb;font-weight:600}.sidebar-foot{padding:16px 20px;border-top:1px solid #f2f3f5}.sidebar-foot a{color:#86909c;font-size:13px;cursor:pointer;text-decoration:none}.sidebar-foot a:hover{color:#f53f3f}.main{flex:1;padding:24px 28px;min-width:0}.page-title{font-size:18px;font-weight:600;margin-bottom:18px}.cards{display:grid;grid-template-columns:repeat(4,1fr);gap:16px}.card{background:#fff;border:1px solid #e5e6eb;border-radius:12px;padding:18px 20px}.card .label{color:#86909c;font-size:13px;margin-bottom:8px}.card .num{font-size:28px;font-weight:700;line-height:1.2}.card .sub{color:#c9cdd4;font-size:12px;margin-top:6px}.panel{background:#fff;border:1px solid #e5e6eb;border-radius:12px;margin-top:16px}.panel-head{padding:14px 18px;border-bottom:1px solid #f2f3f5;font-size:14px;font-weight:600;display:flex;justify-content:space-between;align-items:center}.panel-body{padding:16px 18px}.grid2{display:grid;grid-template-columns:3fr 2fr;gap:16px;align-items:start}.bars{display:flex;align-items:flex-end;gap:14px;height:150px;padding:10px 4px 0}.bar-item{flex:1;display:flex;flex-direction:column;align-items:center;gap:6px;height:100%;justify-content:flex-end}.bar{width:70%;max-width:34px;background:linear-gradient(180deg,#69b1ff,#2f54eb);border-radius:5px 5px 0 0;min-height:3px}.bar-label{color:#86909c;font-size:11px}.bar-val{color:#4e5969;font-size:11px}.status-line{display:flex;justify-content:space-between;padding:10px 0;border-bottom:1px dashed #f2f3f5;font-size:13px}.status-line:last-child{border-bottom:none}.status-line b{font-weight:600}.act-item{display:flex;gap:10px;padding:10px 0;border-bottom:1px solid #f7f8fa;font-size:13px;align-items:flex-start}.act-item:last-child{border-bottom:none}.act-dot{width:8px;height:8px;border-radius:50%;background:#2f54eb;margin-top:6px;flex:none}.act-item .t{color:#c9cdd4;font-size:12px;white-space:nowrap}.toolbar{display:flex;align-items:center;gap:10px;padding:12px 14px;border-bottom:1px solid #eef0f3}.toolbar .grow{flex:1}.inp,.sel{height:34px;border:1px solid #dcdfe6;border-radius:8px;padding:0 12px;font-size:13px;outline:none;background:#fff;color:#1f2329}.inp:focus{border-color:#2f54eb}.search{width:230px}.table-wrap{overflow-x:auto}table{width:100%;border-collapse:collapse}thead th{background:#fafafa;color:#86909c;font-weight:400;font-size:12px;text-align:left;padding:10px 14px;border-bottom:1px solid #eef0f3;white-space:nowrap}thead th.sortable{cursor:pointer;user-select:none}thead th.sortable:hover{color:#2f54eb}.sort-arrow{font-size:10px;margin-left:3px;color:#c9cdd4}.sort-arrow.up,.sort-arrow.down{color:#2f54eb}tbody td{padding:13px 14px;border-bottom:1px solid #f2f3f5;font-size:13px}tbody tr:hover{background:#fafbfc}.tag{display:inline-block;padding:2px 12px;border-radius:12px;font-size:12px}.tag-ok{background:#e8f7ee;color:#00a854}.tag-off{background:#f2f3f5;color:#86909c}.switch{width:42px;height:23px;border-radius:12px;background:#dcdfe6;position:relative;cursor:pointer;transition:background .2s;flex:none}.switch .knob{position:absolute;top:2px;left:2px;width:19px;height:19px;border-radius:50%;background:#fff;box-shadow:0 1px 3px #0003;transition:left .2s}.switch.on{background:#3b82f6}.switch.on .knob{left:21px}.row-actions{display:flex;gap:8px;justify-content:flex-end}.link-btn{color:#2f54eb;cursor:pointer;font-size:13px;background:none;border:none;padding:0}.link-btn.danger{color:#f53f3f}.mail-row{display:flex;align-items:center;gap:13px;padding:14px 16px;border-bottom:1px solid #f2f3f5;cursor:pointer}.mail-row:hover{background:#fafbfc}.avatar{width:38px;height:38px;border-radius:50%;background:#eef2ff;color:#2f54eb;display:flex;align-items:center;justify-content:center;font-weight:600;font-size:15px;flex:none}.mail-main{flex:1;min-width:0}.mail-from{color:#86909c;font-size:12px;margin-bottom:2px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.mail-to{color:#2f54eb;font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;font-size:12px;margin-left:12px;text-decoration:none}a.mail-to:hover{text-decoration:underline}.mail-subject{font-weight:700;font-size:14px;color:#1f2329;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.mail-meta{color:#86909c;font-size:12px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;margin-top:2px}.mail-time{color:#86909c;font-size:12px;white-space:nowrap;align-self:flex-start;padding-top:2px}.check\oxed{width:15px;height:15px;cursor:pointer;accent-color:#2f54eb}.pager{display:flex;align-items:center;justify-content:flex-end;gap:12px;padding:12px 16px;color:#86909c;font-size:13px}.mask{position:fixed;inset:0;background:#0f172a66;display:none;align-items:center;justify-content:center;z-index:60}.modal{position:relative;width:480px;max-width:92vw;background:#fff;border-radius:12px;padding:22px;max-height:88vh;overflow:auto}.modal.wide{width:720px}.modal h3{font-size:16px;margin-bottom:18px;padding-right:36px}.modal-close{position:absolute;top:14px;right:14px;width:30px;height:30px;border:none;background:transparent;color:#86909c;font-size:20px;line-height:1;cursor:pointer;border-radius:8px;display:flex;align-items:center;justify-content:center}.modal-close:hover{background:#f2f3f5;color:#1f2329}.modal .field{margin-bottom:12px}.modal-foot{display:flex;justify-content:flex-end;gap:10px;margin-top:18px}.modal-foot.split{justify-content:space-between}.date-range{display:flex;align-items:center;gap:10px;margin-bottom:12px}.date-range .inp{flex:1}.date-range span{color:#86909c}.form-row{display:flex;gap:12px}.form-row>*{flex:1}.settings-block{margin-bottom:8px}.settings-block h4{font-size:14px;margin-bottom:12px;padding-left:10px;border-left:3px solid #2f54eb}.domain-list{margin:10px 0}.domain-item{display:flex;align-items:center;justify-content:space-between;padding:9px 12px;border:1px solid #f2f3f5;border-radius:8px;margin-bottom:8px;font-size:13px}.empty{padding:40px;text-align:center;color:#c9cdd4}.toast{position:fixed;top:22px;left:50%;transform:translate(-50%) translateY(-12px);background:#1f2329;color:#fff;padding:10px 18px;border-radius:8px;font-size:13px;opacity:0;pointer-events:none;transition:all .25s;z-index:99}.toast.show{opacity:1;transform:translate(-50%) translateY(0)}.radio-line{display:flex;gap:22px;align-items:center;font-size:13px;margin:6px 0 12px}.radio-line label{display:flex;align-items:center;gap:6px;cursor:pointer}.ns-lines{color:#4e5969;font-size:12px;line-height:1.8;font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace}.switch.disabled{opacity:.45;cursor:not-allowed}.switch.busy{opacity:.55;pointer-events:none}.ta{width:100%;border:1px solid #dcdfe6;border-radius:8px;padding:10px 12px;font-size:13px;outline:none;resize:vertical;font-family:inherit;line-height:1.6}.ta:focus{border-color:#2f54eb}.hint{color:#86909c;font-size:12px;margin:8px 0 12px;line-height:1.7}.mbr-dom-head{display:flex;justify-content:space-between;align-items:center;margin-bottom:8px;font-size:13px;color:#1f2329}.mbr-dom-list{max-height:180px;overflow:auto;border:1px solid #eef0f3;border-radius:8px;padding:8px 12px;margin-bottom:4px}.mbr-dom-item{display:flex;align-items:center;gap:8px;padding:5px 2px;font-size:13px;cursor:pointer}.len-row{display:flex;align-items:center;gap:8px}.len-sep{color:#86909c}#mbr-type-row{flex-wrap:wrap;gap:10px 16px}.boot{position:fixed;inset:0;display:flex;align-items:center;justify-content:center;color:#86909c;font-size:13px;background:#f5f6f8;z-index:5}.captcha-row{display:flex;gap:8px;align-items:center;margin-bottom:14px}.captcha-row .field{flex:1;margin-bottom:0}.captcha-img{width:120px;height:38px;border:1px solid #dcdfe6;border-radius:8px;cursor:pointer;background:#eef2f8;flex:none}.captcha-refresh{width:38px;height:38px;padding:0;flex:none}@media(max-width:960px){.cards{grid-template-columns:repeat(2,1fr)}.grid2{grid-template-columns:1fr}}