.login-container{width:100%;min-height:100vh;display:flex;align-items:center;justify-content:center;background:linear-gradient(135deg,#667eea,#764ba2);position:relative;overflow:hidden}.login-bg-decor{position:absolute;width:100%;height:100%;top:0;left:0}.login-bg-circle{position:absolute;border-radius:50%;background:#ffffff0f}.circle-1{width:500px;height:500px;top:-200px;right:-100px}.circle-2{width:300px;height:300px;bottom:-100px;left:-80px}.circle-3{width:200px;height:200px;top:40%;left:60%}.login-card-wrapper{position:relative;z-index:1;width:100%;max-width:420px;padding:20px}.login-card{background:#fffffff7;border-radius:16px;box-shadow:0 20px 60px #00000026,0 0 0 1px #fff3;padding:40px 36px;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px)}.login-brand{text-align:center;margin-bottom:36px}.login-icon-box{width:64px;height:64px;margin:0 auto 16px;background:linear-gradient(135deg,#667eea,#764ba2);border-radius:16px;display:flex;align-items:center;justify-content:center;font-size:28px;color:#fff;box-shadow:0 8px 24px #667eea59}.login-title{margin-bottom:4px!important;color:#1a1a2e!important}.login-subtitle{font-size:13px;letter-spacing:2px;text-transform:uppercase}.login-btn{height:46px;font-size:16px;border-radius:10px;background:linear-gradient(135deg,#667eea,#764ba2)!important;border:none!important;box-shadow:0 4px 16px #667eea66;transition:all .3s!important}.login-btn:hover{transform:translateY(-1px);box-shadow:0 6px 20px #667eea80!important}.login-security-tip{display:flex;align-items:flex-start;gap:6px;margin-top:12px;padding:9px 11px;border-radius:6px;background:#f5f9ff;border:1px solid #e2ecff;color:#64748b;font-size:12px;line-height:1.55}.login-security-tip .anticon{color:#2f7cf6;margin-top:2px;flex:0 0 auto}.login-footer{text-align:center;margin-top:24px;padding-top:20px;border-top:1px solid #f0f0f0}.login-footer .dev-hint{display:block;margin-bottom:8px;font-size:12px}body{background:#f5f5f9}.admin-layout{min-height:100vh;background:#f5f5f9!important}.admin-layout .ant-layout{background:#f5f5f9!important}.admin-sider{position:fixed!important;left:0;top:0;bottom:0;z-index:100;box-shadow:2px 0 8px #00000014;overflow:hidden}.sider-inner{height:100%;display:flex;flex-direction:column}.admin-sider .ant-menu{flex:1;min-height:0;overflow-y:auto;overscroll-behavior:contain;padding:8px 8px 4px}.admin-sider .ant-menu-item{border-radius:8px;margin:2px 0;height:44px;line-height:44px;transition:all .2s}.admin-sider .ant-menu-item:hover{background:#ffffff14!important}.admin-sider .ant-menu-item-selected{background:linear-gradient(135deg,#667eea,#764ba2)!important;box-shadow:0 4px 12px #667eea4d}.admin-logo{flex-shrink:0;height:56px;display:flex;align-items:center;justify-content:center;gap:10px;padding:0 12px;border-bottom:1px solid rgba(255,255,255,.06)}.admin-logo .logo-icon{font-size:22px;color:#667eea;flex-shrink:0}.admin-logo .logo-text{color:#fff;font-size:15px;font-weight:700;white-space:nowrap;overflow:hidden}.sider-toggle-fab{position:fixed;top:50%;left:240px;transform:translate(-50%,-50%);z-index:1201;width:22px;height:48px;padding:0;border:1px solid rgba(255,255,255,.12);border-left:none;border-radius:0 10px 10px 0;background:linear-gradient(180deg,#667eea,#764ba2);color:#fff;font-size:11px;cursor:pointer;display:flex;align-items:center;justify-content:center;box-shadow:2px 0 8px #00000040;transition:left .2s ease,opacity .2s ease,filter .2s ease}.sider-toggle-fab:hover{filter:brightness(1.2)}.sider-toggle-fab.is-collapsed{left:0;border-radius:0 10px 10px 0}.sider-user{flex-shrink:0;display:flex;align-items:center;justify-content:space-between;gap:8px;margin:10px;padding:7px 8px 7px 7px;border-radius:14px;background:linear-gradient(180deg,#0c2246b8,#07152ea8);border:1px solid rgba(56,152,255,.2)}.user-trigger{display:flex;align-items:center;gap:10px;min-width:0;cursor:pointer;transition:background .2s;padding:2px 6px 2px 2px;border-radius:10px}.sider-user .user-trigger:hover{background:#3898ff24}.user-name{font-size:14px;font-weight:600;color:#e6f2ff;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.sider-action-btn{font-size:17px;width:34px;height:34px;display:flex;align-items:center;justify-content:center;color:#8fb3d9!important}.sider-action-btn:hover{color:#22d3ee!important;background:#22d3ee1f!important}.admin-content{margin-left:240px;margin-top:0;padding:16px;background:#f5f5f9;min-height:100vh;transition:margin-left .2s}.admin-content.is-full{margin-left:0}.sider-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;z-index:1100;background:#0f172a80;-webkit-backdrop-filter:blur(2px);backdrop-filter:blur(2px);animation:sider-backdrop-in .2s ease}@keyframes sider-backdrop-in{0%{opacity:0}to{opacity:1}}@media (max-width: 991px){.admin-content{margin-left:0!important;padding:12px}.admin-sider.is-mobile{z-index:1200;box-shadow:none;transform:translate(-100%);transition:transform .26s cubic-bezier(.4,0,.2,1)}.admin-sider.is-mobile.is-open{transform:translate(0);box-shadow:4px 0 24px #00000052}}.dash{--dash-accent: #22d3ee;--dash-accent-2: #3b82f6;--dash-amber: #fbbf24;--dash-text: #e6f2ff;--dash-text-2: #8fb3d9;--dash-text-3: #5b7ba3;--dash-line: rgba(56, 152, 255, .18);--dash-panel-bg: linear-gradient(180deg, rgba(12, 34, 70, .66) 0%, rgba(7, 21, 46, .62) 100%);position:relative;display:flex;flex-direction:column;gap:12px;box-sizing:border-box;margin:-16px;padding:14px 16px 16px;min-height:100vh;overflow-x:hidden;overflow-y:auto;color:var(--dash-text);font-family:-apple-system,BlinkMacSystemFont,Segoe UI,PingFang SC,Microsoft YaHei,sans-serif;background:radial-gradient(1200px 620px at 12% -12%,rgba(37,99,235,.22),transparent 62%),radial-gradient(900px 520px at 102% -6%,rgba(34,211,238,.12),transparent 58%),radial-gradient(700px 500px at 50% 118%,rgba(59,130,246,.12),transparent 60%),linear-gradient(165deg,#030b1c,#04122b 46%,#051730)}.dash:before{content:"";position:absolute;top:0;right:0;bottom:0;left:0;pointer-events:none;background-image:linear-gradient(rgba(56,152,255,.05) 1px,transparent 1px),linear-gradient(90deg,rgba(56,152,255,.05) 1px,transparent 1px);background-size:46px 46px;-webkit-mask-image:radial-gradient(circle at 50% 26%,#000 18%,transparent 76%);mask-image:radial-gradient(circle at 50% 26%,#000 18%,transparent 76%)}.dash-loading{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:14px;color:var(--dash-text-2)}.dash ::-webkit-scrollbar{width:5px;height:5px}.dash ::-webkit-scrollbar-track{background:transparent}.dash ::-webkit-scrollbar-thumb{background:#3898ff47;border-radius:3px}.dash ::-webkit-scrollbar-thumb:hover{background:#22d3ee80}.dash-header{position:relative;z-index:1;display:flex;align-items:center;justify-content:space-between;gap:16px;padding:0 4px 11px;border-bottom:1px solid var(--dash-line);flex:0 0 auto}.dash-header-left{display:flex;align-items:center;gap:12px;min-width:0}.dash-header-left h1{margin:0;font-size:20px;font-weight:700;letter-spacing:.6px;white-space:nowrap;background:linear-gradient(90deg,#eaf6ff,#7dd3fc 58%,#38bdf8);-webkit-background-clip:text;background-clip:text;-webkit-text-fill-color:transparent}.dash-header-sub{font-size:10px;letter-spacing:1.6px;color:#5b7ba3d9;white-space:nowrap;padding-left:12px;border-left:1px solid var(--dash-line)}.dash-live-dot{position:relative;width:9px;height:9px;border-radius:50%;background:#34d399;box-shadow:0 0 10px #34d399e6;flex:0 0 auto}.dash-live-dot:after{content:"";position:absolute;top:-4px;right:-4px;bottom:-4px;left:-4px;border-radius:50%;border:1px solid rgba(52,211,153,.55);animation:dash-pulse 2s ease-out infinite}@keyframes dash-pulse{0%{transform:scale(.7);opacity:.9}to{transform:scale(1.7);opacity:0}}.dash-header-right{display:flex;align-items:center;gap:14px;flex:0 0 auto}.dash-clock{display:flex;align-items:baseline;gap:8px;font-variant-numeric:tabular-nums}.dash-clock-date{font-size:12px;color:var(--dash-text-3)}.dash-clock-time{font-size:17px;font-weight:600;color:#7dd3fc;letter-spacing:1px;text-shadow:0 0 14px rgba(34,211,238,.5)}.dash-refresh{display:inline-flex;align-items:center;gap:5px;height:28px;padding:0 12px;font-size:12px;color:#b8dcff;cursor:pointer;background:#22d3ee14;border:1px solid rgba(56,152,255,.35);border-radius:4px;transition:all .2s}.dash-refresh:hover:not(:disabled){color:#eaf6ff;background:#22d3ee2e;border-color:#22d3eeb3;box-shadow:0 0 14px #22d3ee47}.dash-refresh:disabled{cursor:default;opacity:.65}.dash-refresh svg{width:13px;height:13px}.dash-refresh.is-loading svg{animation:dash-spin .9s linear infinite}@keyframes dash-spin{to{transform:rotate(360deg)}}.dash-updated{font-size:11px;color:var(--dash-text-3);white-space:nowrap}.dash-alert{position:relative;z-index:1;display:flex;align-items:center;gap:10px;flex:0 0 auto;padding:9px 14px;border-radius:10px;font-size:13px}.dash-alert.is-alert{background:linear-gradient(90deg,#7f1d1d8c,#450a0a59);border:1px solid rgba(248,113,113,.45);box-shadow:0 0 18px #ef444426;flex-wrap:wrap}.dash-alert.is-ok{background:#064e3b47;border:1px solid rgba(52,211,153,.3);color:#6ee7b7}.dash-alert-badge{display:inline-flex;align-items:center;justify-content:center;min-width:22px;height:22px;padding:0 6px;border-radius:11px;background:#ef4444;color:#fff;font-size:12px;font-weight:600;box-shadow:0 0 10px #ef44448c}.dash-alert-title{font-weight:500;color:#fca5a5}.dash-alert.is-ok .dash-alert-title{color:#6ee7b7;font-weight:400}.dash-alert-ok-dot{width:8px;height:8px;border-radius:50%;background:#34d399;box-shadow:0 0 8px #34d399cc}.dash-alert-more{margin-left:auto;background:#f871712e;border:1px solid rgba(248,113,113,.4);color:#fca5a5;font-size:12px;padding:3px 10px;border-radius:6px;cursor:pointer}.dash-alert-more:hover{background:#f871714d}.dash-alert-list{display:flex;gap:8px;flex-wrap:wrap;width:100%}.dash-alert-item{display:inline-flex;align-items:center;gap:6px;padding:3px 10px;border-radius:6px;background:#7f1d1d66;border:1px solid rgba(248,113,113,.3);font-size:12px}.dash-alert-code{color:#fecaca;font-family:ui-monospace,SFMono-Regular,Menlo,monospace}.dash-alert-status{color:#fca5a5}.dash-alert-hours{color:#f87171;font-weight:500}.dash-kpis{position:relative;z-index:1;display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:12px;flex:0 0 auto}.dash-kpi{--tone: #22d3ee;position:relative;overflow:hidden;padding:12px 14px 11px 18px;cursor:pointer;background:linear-gradient(180deg,#0e2850bd,#08183499);border:1px solid rgba(56,152,255,.2);border-radius:6px;transition:transform .22s,border-color .22s,box-shadow .22s}.dash-kpi:before{content:"";position:absolute;top:14px;bottom:14px;left:0;width:3px;border-radius:0 3px 3px 0;background:linear-gradient(180deg,var(--tone),transparent);box-shadow:0 0 12px var(--tone)}.dash-kpi-glow{position:absolute;right:-30px;bottom:-34px;width:96px;height:96px;border-radius:50%;background:radial-gradient(circle,var(--tone),transparent 68%);opacity:.16;pointer-events:none;transition:opacity .25s}.dash-kpi:hover{transform:translateY(-2px);border-color:#22d3ee8c;box-shadow:0 10px 26px #00224e99}.dash-kpi:hover .dash-kpi-glow{opacity:.34}.tone-cyan{--tone: #22d3ee}.tone-teal{--tone: #2dd4bf}.tone-blue{--tone: #3b82f6}.tone-sky{--tone: #38bdf8}.tone-purple{--tone: #a78bfa}.tone-red{--tone: #f87171}.tone-green{--tone: #34d399}.dash-kpi-label{font-size:12px;color:var(--dash-text-2);letter-spacing:.5px;margin-bottom:5px}.dash-kpi-value{display:flex;align-items:baseline;gap:4px;line-height:1.1}.dash-kpi-num{font-size:27px;font-weight:700;color:#f0f8ff;font-variant-numeric:tabular-nums;letter-spacing:.5px;text-shadow:0 0 20px rgba(34,211,238,.5)}.dash-kpi-unit{font-size:11px;color:var(--dash-text-3)}.dash-kpi-sub{margin-top:6px;font-size:11px;color:var(--dash-text-3);font-variant-numeric:tabular-nums}.dash-row{position:relative;z-index:1;display:grid;grid-template-columns:repeat(12,minmax(0,1fr));gap:12px;min-height:0}.dash-row-route{flex:1 1 252px;min-height:224px}.dash-row-mid,.dash-row-bottom{flex:1 1 200px;min-height:186px}.dash-col-3{grid-column:span 3}.dash-col-4{grid-column:span 4}.dash-col-6{grid-column:span 6}.dash-col-12{grid-column:span 12}.dash-panel{position:relative;display:flex;flex-direction:column;min-width:0;min-height:0;padding:10px 13px 12px;background:var(--dash-panel-bg);border:1px solid var(--dash-line);border-radius:6px}.dash-panel:before{content:"";position:absolute;top:0;left:14px;right:14px;height:1px;background:linear-gradient(90deg,transparent,rgba(34,211,238,.72),transparent)}.dash-panel-head{display:flex;align-items:center;justify-content:space-between;gap:10px;padding-bottom:7px;margin-bottom:8px;border-bottom:1px solid rgba(56,152,255,.13);flex:0 0 auto}.dash-panel-titles{display:flex;align-items:baseline;gap:9px;min-width:0}.dash-panel-title{display:flex;align-items:center;margin:0;font-size:13.5px;font-weight:600;color:#dcecff;white-space:nowrap}.dash-panel-title:before{content:"";width:3px;height:12px;margin-right:8px;border-radius:2px;background:linear-gradient(180deg,#22d3ee,#3b82f6);box-shadow:0 0 8px #22d3eebf}.dash-panel-sub{font-size:11px;color:var(--dash-text-3);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.dash-panel-extra{flex:0 0 auto}.dash-panel-body{position:relative;flex:1 1 auto;min-height:0}.dash-range{display:inline-flex;gap:2px;padding:2px;background:#06142cbf;border:1px solid rgba(56,152,255,.22);border-radius:5px}.dash-range button{padding:3px 11px;font-size:11.5px;color:var(--dash-text-2);cursor:pointer;background:transparent;border:none;border-radius:3px;transition:all .18s}.dash-range button:hover{color:#cfeeff}.dash-range button.active{color:#04121f;font-weight:600;background:linear-gradient(135deg,#67e8f9,#22d3ee);box-shadow:0 0 12px #22d3ee80}.dash-more{padding:0;font-size:11.5px;color:var(--dash-text-2);cursor:pointer;background:none;border:none;transition:color .18s}.dash-more:hover{color:var(--dash-accent)}.dash-more span{margin-left:2px}.dash-empty{display:flex;align-items:center;justify-content:center;height:100%;min-height:70px;font-size:12px;color:var(--dash-text-3)}.dash-status-wrap{display:flex;flex-direction:column;height:100%;min-height:0}.dash-status-chart{position:relative;flex:1 1 auto;min-height:110px}.dash-donut-center{position:absolute;top:0;right:0;bottom:0;left:0;display:flex;flex-direction:column;align-items:center;justify-content:center;pointer-events:none}.dash-donut-num{font-size:22px;font-weight:700;color:#f0f8ff;font-variant-numeric:tabular-nums;text-shadow:0 0 18px rgba(34,211,238,.55)}.dash-donut-label{margin-top:2px;font-size:10.5px;color:var(--dash-text-3);letter-spacing:.5px}.dash-status-legend{display:grid;grid-template-columns:1fr 1fr;gap:3px 12px;padding-top:7px;flex:0 0 auto}.dash-legend-row{display:flex;align-items:center;gap:6px;min-width:0;font-size:11px}.dash-legend-dot{width:7px;height:7px;border-radius:2px;flex:0 0 auto}.dash-legend-name{flex:1 1 auto;overflow:hidden;color:var(--dash-text-2);text-overflow:ellipsis;white-space:nowrap}.dash-legend-val{flex:0 0 auto;color:#cfe6ff;font-variant-numeric:tabular-nums}.dash-transit{display:flex;flex-direction:column;height:100%;min-height:0}.dash-transit-canvas{position:relative;flex:1 1 auto;min-height:130px;width:100%;max-width:880px;margin:0 auto}.dash-transit-chips{flex:0 0 auto;display:grid;grid-template-columns:repeat(auto-fit,minmax(112px,1fr));gap:5px 10px;width:100%;max-width:1040px;margin:8px auto 0;padding-top:8px;border-top:1px solid rgba(56,152,255,.14)}.dash-transit-chip{display:flex;align-items:center;gap:5px;min-width:0}.dash-transit-dot{flex:0 0 auto;width:6px;height:6px;border-radius:50%}.dash-transit-label{flex:1 1 auto;overflow:hidden;font-size:10.5px;color:var(--dash-text-2);text-overflow:ellipsis;white-space:nowrap}.dash-transit-value{flex:0 0 auto;font-size:13.5px;font-weight:700;color:#eaf6ff;font-variant-numeric:tabular-nums}.dash-transit-extra{font-size:11px;color:var(--dash-text-3);white-space:nowrap}.dash-transit-extra b{font-size:13px;font-weight:700;color:#7ef0ff;font-variant-numeric:tabular-nums}.dash-transit-extra em{margin-left:5px;font-style:normal;color:#f87171}.dash-rank-list{display:flex;flex-direction:column;gap:7px;height:100%;padding-right:2px;overflow-y:auto}.dash-rank-item{display:flex;align-items:center;gap:9px;flex:0 0 auto}.dash-rank-no{display:flex;align-items:center;justify-content:center;width:18px;height:18px;font-size:10.5px;font-weight:700;color:#7d97b5;background:#3898ff1f;border:1px solid rgba(56,152,255,.25);border-radius:4px;flex:0 0 auto}.dash-rank-no.rank-1{color:#062032;background:linear-gradient(135deg,#fde68a,#fbbf24);border-color:#fbbf24cc;box-shadow:0 0 10px #fbbf2480}.dash-rank-no.rank-2{color:#0b1a2a;background:linear-gradient(135deg,#e2e8f0,#94a3b8);border-color:#cbd5e1bf}.dash-rank-no.rank-3{color:#25130a;background:linear-gradient(135deg,#fdba74,#ea8b47);border-color:#fb923cbf}.dash-rank-main{flex:1 1 auto;min-width:0}.dash-rank-top{display:flex;align-items:baseline;justify-content:space-between;gap:8px;margin-bottom:4px}.dash-rank-name{overflow:hidden;font-size:12px;color:#cfe6ff;text-overflow:ellipsis;white-space:nowrap}.dash-rank-count{font-size:12px;font-weight:600;color:#7dd3fc;font-variant-numeric:tabular-nums;flex:0 0 auto}.dash-rank-bar{height:4px;overflow:hidden;background:#3898ff21;border-radius:2px}.dash-rank-bar span{display:block;height:100%;border-radius:2px;background:linear-gradient(90deg,#3b82f6bf,#22d3ee);box-shadow:0 0 8px #22d3ee73;transition:width .6s ease}.dash-health{display:grid;grid-template-columns:minmax(0,.95fr) minmax(0,1.05fr);gap:10px;height:100%;min-height:0}.dash-health-gauge{min-height:0}.dash-health-metrics{display:flex;flex-direction:column;justify-content:center;gap:7px;min-width:0}.dash-health-item{display:flex;align-items:baseline;justify-content:space-between;gap:8px;padding-bottom:5px;border-bottom:1px dashed rgba(56,152,255,.16)}.dash-health-item:last-child{border-bottom:none;padding-bottom:0}.dash-health-label{font-size:11px;color:var(--dash-text-2);white-space:nowrap}.dash-health-value{font-size:12.5px;font-weight:600;color:#cfe6ff;font-variant-numeric:tabular-nums;white-space:nowrap}.dash-health-value.is-money{color:var(--dash-amber)}.dash-health-value.is-good{color:#34d399}.dash-health-value.is-bad{color:#f87171}.dash-recent{display:flex;flex-direction:column;height:100%;overflow-y:auto}.dash-recent-item{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:7px 2px;border-bottom:1px dashed rgba(56,152,255,.14)}.dash-recent-item:last-child{border-bottom:none}.dash-recent-left{display:flex;flex-direction:column;gap:3px;min-width:0}.dash-recent-no{overflow:hidden;font-family:SFMono-Regular,Consolas,monospace;font-size:11.5px;color:#9fd8f5;text-overflow:ellipsis;white-space:nowrap}.dash-recent-name{font-size:11px;color:var(--dash-text-3);white-space:nowrap}.dash-recent-right{display:flex;flex-direction:column;align-items:flex-end;gap:4px;flex:0 0 auto}.dash-status-tag{padding:1px 7px;font-size:10.5px;border:1px solid;border-radius:3px;white-space:nowrap}.dash-recent-time{font-size:10.5px;color:var(--dash-text-3);font-variant-numeric:tabular-nums}@media (max-width: 1500px){.dash-kpi-num{font-size:24px}.dash-kpi{padding:10px 12px 10px 16px}}@media (max-width: 1280px){.dash-kpis{grid-template-columns:repeat(3,minmax(0,1fr))}.dash-col-6{grid-column:span 12}.dash-col-3,.dash-col-4{grid-column:span 6}.dash-row-route,.dash-row-mid,.dash-row-bottom{flex:0 0 auto}.dash-row-route .dash-panel{min-height:300px}.dash-row-mid .dash-panel,.dash-row-bottom .dash-panel{min-height:208px}.dash-transit-canvas{min-height:200px}}@media (max-width: 900px){.dash{overflow:visible}.dash-kpis{grid-template-columns:repeat(2,minmax(0,1fr))}.dash-col-3,.dash-col-4{grid-column:span 12}.dash-transit-canvas{min-height:260px}.dash-header{flex-direction:column;align-items:flex-start;gap:8px}.dash-header-sub{display:none}}.users-container{width:100%}.users-card{background:#fff;border-radius:16px;padding:24px;box-shadow:0 2px 12px #00000014}.users-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:24px;flex-wrap:wrap;gap:16px}.user-count{font-size:14px;color:#888;background:#f0f0f0;padding:4px 12px;border-radius:12px}.simple-table th{text-align:left;padding:14px 16px;font-size:13px;font-weight:700;color:#666;border-bottom:2px solid #f0f0f0;background:#fafafa}.simple-table td{padding:16px;font-size:14px;color:#333;border-bottom:1px solid #f0f0f0}.user-cell{display:flex;align-items:center;gap:12px}.user-avatar{width:42px;height:42px;border-radius:10px;background:linear-gradient(135deg,#3b82f6,#8b5cf6);color:#fff;font-size:16px;font-weight:700;display:flex;align-items:center;justify-content:center}.user-avatar-img{width:42px;height:42px;border-radius:10px;object-fit:cover;border:2px solid #e0e0e0}.user-name{font-size:14px;font-weight:600;color:#333}.user-phone{font-size:13px;color:#888;margin-top:4px}.role-tag{display:inline-block;padding:5px 14px;color:#fff;font-size:12px;border-radius:8px;font-weight:600;margin-right:6px;margin-bottom:4px}.role-tag-warning{border:2px solid #fbbf24}.role-tags{display:flex;flex-wrap:wrap;gap:4px}.switch-count{font-size:13px;color:#666;font-weight:600}.switch-count-high{color:#ef4444;font-weight:700}.status-tag{display:inline-block;padding:5px 14px;color:#fff;font-size:12px;border-radius:8px;font-weight:600}.lang-label{display:inline-block;padding:5px 12px;background:#f0f0f0;color:#666;font-size:13px;border-radius:8px;font-weight:600}.action-btn{padding:8px 14px;border:none;border-radius:8px;cursor:pointer;font-size:13px;font-weight:600;transition:all .2s}.users-toolbar{margin-bottom:16px}.filter-row{display:flex;flex-wrap:wrap;gap:12px;align-items:flex-end;padding:0 0 16px}.btn-secondary{padding:6px 16px;background:#f5f5f5;color:#333;border:1px solid #d9d9d9;border-radius:6px;cursor:pointer;font-size:13px;transition:all .2s}.btn-secondary:hover{border-color:#1890ff;color:#1890ff}.btn-secondary.btn-small{padding:6px 12px;font-size:12px}.modal-overlay{position:fixed;top:0;left:0;right:0;bottom:0;background:#00000080;display:flex;align-items:center;justify-content:center;z-index:1000;padding:20px}.modal-content{background:#fff;border-radius:16px;width:100%;max-width:480px;box-shadow:0 20px 60px #00000040;animation:slideUp .3s ease}.role-checkbox-group{display:flex;flex-wrap:wrap;gap:10px}.role-checkbox-item{display:flex;align-items:center;gap:6px;padding:8px 12px;background:#f9fafb;border:1px solid #e5e7eb;border-radius:8px;cursor:pointer;font-size:14px;color:#333}.role-checkbox-item:hover{border-color:#3b82f6}.role-checkbox-item input[type=checkbox]{width:16px;height:16px;accent-color:#3b82f6;cursor:pointer}.orders-container{width:100%}.notify-badge{display:inline-block;padding:2px 10px;border-radius:10px;font-size:12px;font-weight:600;line-height:20px;white-space:nowrap}.notify-ok{background:#e8f7ee;color:#1a9c54;border:1px solid #b7e4c7}.notify-fail{background:#fdecec;color:#d4380d;border:1px solid #ffccc7}.notify-none{background:#f2f3f5;color:#909399;border:1px solid #e4e7ed}.orders-card{background:#fff;border-radius:16px;padding:24px;box-shadow:0 2px 12px #00000014}.orders-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:24px;flex-wrap:wrap;gap:16px}.order-count{font-size:14px;color:#888;background:#f0f0f0;padding:4px 12px;border-radius:12px}.tracking-number{font-family:SF Mono,Consolas,monospace;font-size:13px;color:#3b82f6;font-weight:700}.recipient-name{font-size:14px;font-weight:600;color:#333}.recipient-phone{font-size:13px;color:#888;margin-top:4px}.orders-toolbar{margin-bottom:16px}.btn-primary.btn-small{padding:6px 12px;font-size:12px}.status-tag{display:inline-block;padding:2px 10px;border-radius:10px;font-size:12px;font-weight:500;color:#fff}.pagination{display:flex;justify-content:center;align-items:center;gap:16px;padding:20px 0 0}.page-btn{padding:6px 16px;background:#f5f5f5;border:1px solid #d9d9d9;border-radius:6px;cursor:pointer;font-size:13px;transition:all .2s}.page-btn:hover:not(:disabled){border-color:#1890ff;color:#1890ff}.page-info{font-size:13px;color:#666}.action-btn{padding:4px 10px;border:none;border-radius:4px;font-size:12px;cursor:pointer;transition:all .2s}.edit-btn{background:#e6f7ff;color:#1890ff}.edit-btn:hover{background:#bae7ff}.comment{max-width:200px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.agents-container{width:100%}.agents-card{background:#fff;border-radius:16px;padding:24px;box-shadow:0 2px 12px #00000014}.agents-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:24px;flex-wrap:wrap;gap:16px}.header-left{display:flex;align-items:baseline;gap:12px}.header-left h1{margin:0;font-size:24px;font-weight:700;color:#1e3a5f}.agent-count{font-size:14px;color:#888;background:#f0f0f0;padding:4px 12px;border-radius:12px}.header-right{display:flex;gap:12px;align-items:center}.search-input{padding:10px 16px;border:1px solid #e0e0e0;border-radius:10px;font-size:14px;width:280px;outline:none;transition:all .2s}.search-input:focus{border-color:#3b82f6;box-shadow:0 0 0 3px #3b82f61a}.add-user-btn{padding:10px 20px;background:linear-gradient(135deg,#3b82f6,#1d4ed8);color:#fff;border:none;border-radius:10px;font-size:14px;font-weight:600;cursor:pointer;transition:all .2s}.add-user-btn:hover{transform:translateY(-1px);box-shadow:0 4px 12px #3b82f64d}.table-container{overflow-x:auto}.simple-table th{text-align:left;padding:14px 16px;font-size:13px;font-weight:700;color:#666;border-bottom:2px solid #f0f0f0;background:#fafafa;text-transform:uppercase}.simple-table td{padding:14px 16px;font-size:14px;color:#333;border-bottom:1px solid #f0f0f0;font-weight:500}.agent-name{font-size:14px;font-weight:600;color:#333}.status-tag{display:inline-flex;align-items:center;padding:5px 14px;color:#fff;font-size:12px;border-radius:8px;font-weight:700}.rating{color:#eab308;font-weight:800;font-size:14px}.actions-cell{display:flex;gap:8px;align-items:center}.action-btn{padding:8px 14px;border:none;border-radius:10px;cursor:pointer;font-size:13px;font-weight:600;transition:all .2s}.edit-btn{background:#dbeafe;color:#1d4ed8}.edit-btn:hover{background:#bfdbfe}.status-btn{background:#fef3c7;color:#b45309}.status-btn:hover{background:#fde68a}.delete-btn{background:#fee2e2;color:#dc2626}.delete-btn:hover{background:#fecaca}.empty-cell{text-align:center;padding:40px;color:#888;font-size:14px}.modal-overlay{position:fixed;top:0;left:0;right:0;bottom:0;background:#00000080;display:flex;align-items:center;justify-content:center;z-index:1000;animation:fadeIn .2s ease;padding:20px}@keyframes fadeIn{0%{opacity:0}to{opacity:1}}.modal-content{background:#fff;border-radius:16px;width:100%;max-width:520px;box-shadow:0 20px 60px #00000040;animation:slideUp .3s ease;overflow:hidden}@keyframes slideUp{0%{transform:translateY(20px);opacity:0}to{transform:translateY(0);opacity:1}}.modal-header{padding:20px 24px;border-bottom:1px solid #f0f0f0;display:flex;justify-content:space-between;align-items:center}.modal-header h2{margin:0;font-size:20px;font-weight:700;color:#1e3a5f}.close-btn{width:36px;height:36px;border:none;background:#f0f0f0;border-radius:10px;font-size:24px;color:#666;cursor:pointer;display:flex;align-items:center;justify-content:center;transition:all .2s}.close-btn:hover{background:#e0e0e0;color:#333}.modal-body{padding:24px}.form-group{margin-bottom:20px}.form-label{display:block;font-size:14px;font-weight:600;color:#333;margin-bottom:8px}.form-input,.form-select{width:100%;padding:12px 14px;font-size:14px;border:1px solid #e0e0e0;border-radius:10px;outline:none;box-sizing:border-box;transition:all .2s}.form-input:focus,.form-select:focus{border-color:#3b82f6;box-shadow:0 0 0 3px #3b82f61a}.modal-footer{padding:20px 24px;border-top:1px solid #f0f0f0;display:flex;justify-content:flex-end;gap:12px}.btn-cancel{padding:10px 24px;background:#f0f0f0;color:#333;border:none;border-radius:10px;font-size:14px;font-weight:600;cursor:pointer;transition:all .2s}.btn-cancel:hover{background:#e0e0e0}.btn-save{padding:10px 24px;background:linear-gradient(135deg,#3b82f6,#1d4ed8);color:#fff;border:none;border-radius:10px;font-size:14px;font-weight:600;cursor:pointer;transition:all .2s}.btn-save:hover{box-shadow:0 4px 12px #3b82f64d}.flags-cell{display:flex;gap:6px;flex-wrap:wrap}.flag-tag{display:inline-flex;align-items:center;padding:4px 10px;font-size:12px;border-radius:6px;font-weight:600}.flag-recommend{background:#fef3c7;color:#b45309}.flag-pin{background:#fee2e2;color:#dc2626}.flag-none{background:#f3f4f6;color:#6b7280}.pagination{display:flex;justify-content:center;align-items:center;gap:16px;padding:20px;margin-top:16px;border-top:1px solid #f0f0f0}.page-btn{padding:8px 20px;background:#f0f0f0;color:#333;border:none;border-radius:8px;font-size:14px;font-weight:600;cursor:pointer;transition:all .2s}.page-btn:hover:not(:disabled){background:#e0e0e0}.page-btn:disabled{opacity:.5;cursor:not-allowed}.page-info{font-size:14px;color:#666;font-weight:500}.clickable-count{color:#1890ff;cursor:pointer;text-decoration:none;font-weight:500;transition:color .2s}.clickable-count:hover{color:#40a9ff;text-decoration:underline}.couriers-container{width:100%}.couriers-card{background:#fff;border-radius:12px;padding:24px;box-shadow:0 1px 3px #00000014}.couriers-header{margin-bottom:24px}.couriers-header h1{margin:0;font-size:20px;font-weight:600;color:#333}.courier-cell{display:flex;align-items:center;gap:12px}.courier-avatar{width:36px;height:36px;border-radius:50%;background:linear-gradient(135deg,#13c2c2,#52c41a);color:#fff;font-size:14px;font-weight:600;display:flex;align-items:center;justify-content:center}.courier-name{font-size:14px;font-weight:500;color:#333}.status-tag{display:inline-block;padding:4px 12px;color:#fff;font-size:12px;border-radius:4px}.rating{color:#faad14;font-weight:500}.reviews-container{width:100%}.reviews-card{background:#fff;border-radius:12px;padding:24px;box-shadow:0 1px 3px #00000014}.reviews-header{margin-bottom:24px;display:flex;justify-content:space-between;align-items:center}.reviews-header h1{margin:0;font-size:20px;font-weight:600;color:#333}.header-stats{display:flex;gap:12px}.stat-badge{padding:6px 12px;background:#f5f5f5;border-radius:20px;font-size:13px;color:#666}.stat-badge.normal{background:#e6f7ff;color:#1890ff}.stat-badge.malicious{background:#fff1f0;color:#ff4d4f}.reviews-toolbar{display:flex;justify-content:space-between;align-items:center;margin-bottom:20px;padding-bottom:16px;border-bottom:1px solid #f0f0f0}.filter-tabs{display:flex;gap:8px}.filter-btn.malicious.active{background:#ff4d4f;border-color:#ff4d4f}.btn-warning{padding:8px 16px;background:#faad14;color:#fff;border:none;border-radius:6px;cursor:pointer;font-size:14px;transition:background .2s}.btn-warning:hover{background:#d48806}.btn-danger{padding:8px 16px;background:#ff4d4f;color:#fff;border:none;border-radius:6px;cursor:pointer;font-size:14px;transition:background .2s}.btn-danger:hover{background:#d93636}.btn-danger.btn-small{padding:4px 12px;font-size:12px}.btn-secondary{padding:8px 16px;background:#f5f5f5;color:#666;border:1px solid #d9d9d9;border-radius:6px;cursor:pointer;font-size:14px}.simple-table th{text-align:left;padding:12px 16px;font-size:14px;font-weight:600;color:#333;border-bottom:2px solid #f0f0f0}.simple-table td{padding:12px 16px;font-size:14px;color:#666;border-bottom:1px solid #f5f5f5}.simple-table tbody tr:hover{background:#fafafa}.simple-table tbody tr.malicious-row{background:#fff1f0}.simple-table tbody tr.malicious-row:hover{background:#ffe7e6}.order-number{font-family:monospace;color:#1890ff;font-weight:500}.rating{font-size:14px}.comment{max-width:300px}.user-info{display:flex;flex-direction:column;gap:2px}.user-name{font-weight:500;color:#333}.user-id{font-size:12px;color:#999}.agent-info{display:flex;flex-direction:column;gap:2px}.agent-name{font-weight:500;color:#1890ff}.agent-location{font-size:12px;color:#999}.status-badge{padding:2px 8px;border-radius:10px;font-size:12px}.status-badge.normal{background:#e6f7ff;color:#1890ff}.status-badge.malicious{background:#fff1f0;color:#ff4d4f}.malicious-reason{margin-top:4px;font-size:12px;color:#ff4d4f}.modal-overlay{position:fixed;top:0;right:0;bottom:0;left:0;background:#00000073;display:flex;align-items:center;justify-content:center;z-index:1000}.modal-content{background:#fff;border-radius:8px;padding:24px;min-width:360px;max-width:480px}.modal-content h3{margin:0 0 12px;font-size:18px;color:#333}.modal-content p{margin:0 0 20px;color:#666;line-height:1.6}.modal-actions{display:flex;justify-content:flex-end;gap:8px}.empty-state{text-align:center;padding:60px 20px;color:#999}.filter-row{display:flex;flex-wrap:wrap;gap:12px;align-items:flex-end;padding:16px 0}.filter-group{display:flex;flex-direction:column;gap:4px;min-width:140px}.filter-group label{font-size:12px;color:#666;font-weight:500}.filter-input,.filter-select{padding:6px 10px;border:1px solid #d9d9d9;border-radius:6px;font-size:13px;background:#fff;outline:none;transition:border-color .2s}.filter-input:focus,.filter-select:focus{border-color:#1890ff;box-shadow:0 0 0 2px #1890ff1a}.filter-actions{display:flex;gap:8px;align-items:flex-end;padding-bottom:0}.btn-primary{padding:6px 16px;background:#1890ff;color:#fff;border:none;border-radius:6px;cursor:pointer;font-size:13px;transition:background .2s}.btn-primary.btn-small,.btn-secondary.btn-small{padding:6px 12px;font-size:12px}.settings-container{width:100%}.settings-card{background:#fff;border-radius:12px;padding:24px;box-shadow:0 1px 3px #00000014}.settings-header{margin-bottom:24px}.settings-header h1{margin:0;font-size:20px;font-weight:600;color:#333}.settings-section{margin-bottom:32px;padding-bottom:24px;border-bottom:1px solid #f0f0f0}.settings-section:last-child{margin-bottom:0;padding-bottom:0;border-bottom:none}.section-title{font-size:16px;font-weight:600;color:#333;margin:0 0 16px}.setting-item{margin-bottom:16px}.setting-item label{display:block;font-size:14px;color:#666;margin-bottom:8px}.setting-item input{width:100%;max-width:400px;padding:10px 12px;border:1px solid #d9d9d9;border-radius:6px;font-size:14px}.setting-item input:focus{outline:none;border-color:#1890ff}.buttons-group{display:flex;gap:12px;margin-top:16px}.btn-primary{padding:10px 20px;background:#1890ff;color:#fff;border:none;border-radius:6px;cursor:pointer;font-size:14px;transition:background .2s}.btn-primary:hover{background:#40a9ff}.btn-secondary{padding:10px 20px;background:#f5f5f5;color:#666;border:1px solid #d9d9d9;border-radius:6px;cursor:pointer;font-size:14px}.btn-secondary:hover{background:#e8e8e8}.users-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:16px}.users-count{font-size:14px;color:#666}.users-table{width:100%;border-collapse:collapse}.users-table th{text-align:left;padding:12px 16px;font-size:14px;font-weight:600;color:#333;border-bottom:2px solid #f0f0f0;background:#fafafa}.users-table td{padding:12px 16px;font-size:14px;color:#666;border-bottom:1px solid #f5f5f5}.users-table tbody tr:hover{background:#fafafa}.role-badge{display:inline-block;padding:2px 8px;border-radius:4px;font-size:12px;font-weight:500}.role-badge.role-admin{background:#fff1f0;color:#cf1322}.role-badge.role-operator{background:#e6f7ff;color:#0969da}.role-badge.role-finance{background:#fff7e6;color:#bf8700}.role-badge.role-customer_service{background:#f6ffed;color:#389e0d}.status-badge{display:inline-block;padding:2px 8px;border-radius:4px;font-size:12px}.status-badge.status-active{background:#f6ffed;color:#389e0d}.status-badge.status-disabled{background:#f5f5f5;color:#999}.btn-text{background:none;border:none;cursor:pointer;font-size:14px;padding:4px 8px}.btn-danger-text{color:#ff4d4f}.btn-danger-text:hover{text-decoration:underline}.role-list{display:grid;grid-template-columns:repeat(2,1fr);gap:16px}.role-item{padding:16px;background:#fafafa;border-radius:8px}.role-header{margin-bottom:8px}.role-desc{margin:0;font-size:13px;color:#666}.modal-overlay{position:fixed;top:0;left:0;right:0;bottom:0;background:#00000080;display:flex;justify-content:center;align-items:center;z-index:1000}.modal-content{background:#fff;border-radius:12px;padding:24px;min-width:400px;max-width:500px;box-shadow:0 4px 12px #00000026}.modal-content h3{margin:0 0 20px;font-size:18px;font-weight:600;color:#333}.form-group{margin-bottom:16px}.form-group label{display:block;font-size:14px;color:#666;margin-bottom:8px}.form-group input,.form-group select{width:100%;padding:10px 12px;border:1px solid #d9d9d9;border-radius:6px;font-size:14px;box-sizing:border-box}.form-group input:focus,.form-group select:focus{outline:none;border-color:#1890ff}.modal-actions{display:flex;justify-content:flex-end;gap:12px;margin-top:24px}.error-message{padding:12px;background:#fff1f0;color:#cf1322;border-radius:6px;font-size:14px;margin-top:16px}.success-message{padding:24px;background:#f6ffed;color:#389e0d;border-radius:6px;font-size:16px;text-align:center}.billing-container{width:100%}.billing-card{background:#fff;border-radius:12px;padding:24px;box-shadow:0 1px 3px #00000014}.billing-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:24px}.billing-header h1{margin:0;font-size:20px;font-weight:600;color:#333}.month-select{padding:8px 16px;border:1px solid #d9d9d9;border-radius:6px;font-size:14px;cursor:pointer}.stat-card{background:#fafafa;border-radius:8px;padding:20px;text-align:center}.stat-card.paid{background:#f6ffed}.stat-card.unpaid{background:#fff1f0}.stat-label{font-size:14px;color:#666;margin-bottom:8px}.stat-value.highlight{color:#1890ff}.stat-value.danger{color:#ff4d4f}.stat-sub{font-size:12px;color:#999;margin-top:4px}.filter-tabs{display:flex;gap:8px;margin-bottom:20px}.filter-btn{padding:8px 16px;border:1px solid #d9d9d9;border-radius:6px;background:#fff;cursor:pointer;font-size:14px;transition:all .2s}.filter-btn:hover{border-color:#1890ff;color:#1890ff}.filter-btn.active{background:#1890ff;border-color:#1890ff;color:#fff}.billing-table{width:100%;border-collapse:collapse}.billing-table th{text-align:left;padding:12px 16px;font-size:14px;font-weight:600;color:#333;border-bottom:2px solid #f0f0f0;background:#fafafa}.billing-table td{padding:12px 16px;font-size:14px;color:#666;border-bottom:1px solid #f5f5f5}.billing-table tbody tr:hover{background:#fafafa}.agent-name{font-weight:500;color:#333}.agent-id{font-family:monospace;color:#1890ff}.amount{font-weight:500;color:#333}.commission{color:#fa8c16}.account{font-family:monospace}.date{color:#999}.status-badge{display:inline-block;padding:4px 12px;border-radius:4px;font-size:12px;font-weight:500}.status-badge.paid{background:#f6ffed;color:#52c41a}.status-badge.unpaid{background:#fff1f0;color:#ff4d4f}.empty-state{text-align:center;padding:40px;color:#999}.reports-container{width:100%}.reports-card{background:#fff;border-radius:12px;padding:24px;box-shadow:0 1px 3px #00000014}.reports-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:24px}.reports-header h1{margin:0;font-size:20px;font-weight:600;color:#333}.date-select{padding:8px 16px;border:1px solid #d9d9d9;border-radius:6px;font-size:14px;cursor:pointer}.stats-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:16px;margin-bottom:24px}.stat-card{display:flex;align-items:center;gap:16px;background:#fafafa;border-radius:8px;padding:20px}.stat-icon{width:48px;height:48px;border-radius:8px;display:flex;align-items:center;justify-content:center;font-size:20px;font-weight:700}.stat-icon.revenue{background:#e6f7ff;color:#1890ff}.stat-icon.cost{background:#fff1f0;color:#ff4d4f}.stat-icon.profit{background:#f6ffed;color:#52c41a}.stat-icon.orders{background:#fff7e6;color:#fa8c16}.stat-content{flex:1}.stat-label{font-size:14px;color:#666;margin-bottom:4px}.stat-value{font-size:24px;font-weight:600;color:#333}.stat-value.success{color:#52c41a}.profit-rate-card{background:linear-gradient(135deg,#667eea,#764ba2);border-radius:12px;padding:24px;color:#fff;margin-bottom:24px}.profit-rate-label{font-size:14px;opacity:.9;margin-bottom:8px}.profit-rate-value{font-size:36px;font-weight:700;margin-bottom:16px}.profit-rate-bar{height:8px;background:#ffffff4d;border-radius:4px;overflow:hidden}.profit-rate-fill{height:100%;background:#fff;border-radius:4px;transition:width .3s ease}.view-tabs{display:flex;gap:8px;margin-bottom:20px}.view-tab{padding:10px 20px;border:1px solid #d9d9d9;border-radius:6px;background:#fff;cursor:pointer;font-size:14px;transition:all .2s}.view-tab:hover{border-color:#1890ff;color:#1890ff}.view-tab.active{background:#1890ff;border-color:#1890ff;color:#fff}.reports-table{width:100%;border-collapse:collapse}.reports-table th{text-align:left;padding:12px 16px;font-size:14px;font-weight:600;color:#333;border-bottom:2px solid #f0f0f0;background:#fafafa}.reports-table td{padding:12px 16px;font-size:14px;color:#666;border-bottom:1px solid #f5f5f5}.reports-table tbody tr:hover{background:#fafafa}.reports-table tfoot td{background:#fafafa;font-weight:600}.date-col{font-weight:500;color:#333}.amount{font-weight:500}.amount.revenue{color:#1890ff}.amount.cost{color:#ff4d4f}.amount.profit{color:#52c41a}.total{font-weight:600;color:#333}.rate-badge{display:inline-block;padding:4px 8px;border-radius:4px;font-size:12px;font-weight:500}.rate-badge.high{background:#f6ffed;color:#52c41a}.rate-badge.normal{background:#fafafa;color:#666}@media (max-width: 1024px){.stats-grid{grid-template-columns:repeat(2,1fr)}}.security-container{padding:0}.security-card{background:#fff;border-radius:16px;box-shadow:0 1px 3px #0000000f;overflow:hidden}.security-header{padding:24px 28px 16px;border-bottom:1px solid #f0f0f0}.security-header h1{margin:0;font-size:22px;font-weight:700;color:#1e3a5f}.security-subtitle{font-size:13px;color:#94a3b8;margin-top:4px;display:block}.security-tabs{display:flex;gap:0;padding:0 24px;border-bottom:1px solid #f0f0f0}.tab-btn{padding:14px 24px;border:none;background:none;cursor:pointer;font-size:14px;font-weight:500;color:#64748b;border-bottom:2px solid transparent;transition:all .2s;position:relative;bottom:-1px}.tab-btn:hover{color:#3b82f6}.tab-btn.active{color:#3b82f6;border-bottom-color:#3b82f6;font-weight:600}.tab-content{padding:20px 28px}.tab-toolbar{display:flex;align-items:center;gap:12px;margin-bottom:16px}.filter-select,.filter-input{padding:8px 12px;border:1px solid #e2e8f0;border-radius:8px;font-size:13px;color:#334155;outline:none;transition:border-color .2s}.filter-select:focus,.filter-input:focus{border-color:#3b82f6}.filter-input{width:240px}.log-count{font-size:13px;color:#94a3b8;margin-left:auto}.table-wrap{border:1px solid #f0f0f0;border-radius:12px;overflow:hidden}.data-table{width:100%;border-collapse:collapse;font-size:13px}.data-table th{background:#f8fafc;padding:12px 16px;text-align:left;font-weight:600;color:#475569;border-bottom:1px solid #e2e8f0;white-space:nowrap}.data-table td{padding:12px 16px;border-bottom:1px solid #f1f5f9;color:#334155;vertical-align:middle}.data-table tbody tr:hover{background:#f8fafc}.empty-row{padding:60px 20px;text-align:center;color:#94a3b8;font-size:14px}.action-tag{display:inline-block;padding:3px 10px;border-radius:6px;font-size:12px;font-weight:600;color:#fff;white-space:nowrap}.banned-overview{margin-bottom:16px}.stat-card{display:inline-flex;flex-direction:column;align-items:center;padding:16px 32px;background:#fef2f2;border:1px solid #fecaca;border-radius:12px}.stat-number{font-size:32px;font-weight:800}.stat-label{font-size:12px;color:#94a3b8;margin-top:4px}.banned-row{background:#fffbeb}.banned-avatar{background:#ef4444!important}.user-cell{display:flex;align-items:center;gap:10px}.user-avatar{width:36px;height:36px;border-radius:50%;display:flex;align-items:center;justify-content:center;color:#fff;font-weight:700;font-size:14px;flex-shrink:0}.user-name{font-weight:600;color:#1e3a5f}.user-phone{font-size:12px;color:#94a3b8}.role-list{display:flex;flex-wrap:wrap;gap:4px}.role-mini-tag{display:inline-block;padding:2px 8px;background:#e2e8f0;border-radius:4px;font-size:11px;font-weight:600;color:#475569}.ban-reason{color:#ef4444;font-size:13px;max-width:200px;display:inline-block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.actions-cell{display:flex;gap:8px}.action-btn{padding:5px 14px;border:1px solid #e2e8f0;border-radius:6px;font-size:12px;font-weight:500;cursor:pointer;background:#fff;color:#475569;transition:all .15s}.action-btn:hover{background:#f1f5f9}.danger-btn{color:#ef4444;border-color:#fca5a5}.danger-btn:hover{background:#fef2f2;border-color:#ef4444}.pagination{display:flex;align-items:center;justify-content:center;gap:16px;padding:16px 0 0}.pagination button{padding:6px 16px;border:1px solid #e2e8f0;border-radius:6px;background:#fff;cursor:pointer;font-size:13px;color:#475569}.pagination button:disabled{opacity:.4;cursor:not-allowed}.pagination button:hover:not(:disabled){background:#f1f5f9}.pagination span{font-size:13px;color:#64748b}.risk-overview-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:16px;margin-bottom:24px}.risk-card{padding:24px;border-radius:16px;text-align:center;border:1px solid}.risk-card.danger{background:#fef2f2;border-color:#fecaca}.risk-card.warning{background:#fffbeb;border-color:#fde68a}.risk-card.info{background:#eff6ff;border-color:#bfdbfe}.risk-icon{font-size:28px;margin-bottom:8px}.risk-number{font-size:36px;font-weight:800;color:#1e3a5f}.risk-label{font-size:14px;font-weight:600;color:#475569;margin-top:4px}.risk-desc{font-size:12px;color:#94a3b8;margin-top:6px}.risk-guide{background:#f8fafc;border:1px solid #e2e8f0;border-radius:12px;padding:24px}.risk-guide h3{margin:0 0 16px;font-size:16px;color:#1e3a5f}.guide-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:16px}.guide-item{padding:16px;background:#fff;border-radius:10px;border:1px solid #f0f0f0}.guide-title{font-weight:600;font-size:14px;color:#1e3a5f;margin-bottom:8px}.guide-text{font-size:13px;color:#64748b;line-height:1.6}.time-cell{white-space:nowrap;font-size:12px;color:#94a3b8}.detail-cell{max-width:200px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:12px;color:#64748b}.target-info{font-size:13px}.method-tag{display:inline-block;padding:2px 8px;border-radius:4px;color:#fff;font-size:12px;font-weight:600;font-family:monospace}.resource-tag{font-size:13px;color:#374151;font-weight:500}.resource-id{font-size:11px;color:#9ca3af;margin-left:6px;font-family:monospace}.operator-cell{display:flex;flex-direction:column;gap:2px}.op-name{font-size:13px;color:#1f2937;font-weight:500}.op-ip{font-size:11px;color:#9ca3af;font-family:monospace}.log-detail-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px 24px;margin-bottom:16px}.log-field{display:flex;flex-direction:column;gap:4px}.log-field label{font-size:11px;color:#9ca3af;font-weight:500;text-transform:uppercase}.log-field span{font-size:13px;color:#1f2937}.log-json-section{margin-top:16px;border-top:1px solid #e5e7eb;padding-top:12px}.log-json-section label{font-size:12px;color:#6b7280;font-weight:600;display:block;margin-bottom:8px}.log-json{background:#f8fafc;border:1px solid #e2e8f0;border-radius:6px;padding:12px;font-size:12px;line-height:1.6;overflow-x:auto;max-height:300px;overflow-y:auto;white-space:pre-wrap;word-break:break-all;color:#334155;margin:0}.warning-row{background:#fffbeb}.switch-count{display:inline-block;padding:4px 12px;border-radius:20px;font-size:13px;font-weight:700}.switch-count.normal{background:#e0f2fe;color:#0284c7}.switch-count.warning{background:#fef3c7;color:#d97706}.switch-count.danger{background:#fee2e2;color:#dc2626}.role-usage-list{display:flex;flex-direction:column;gap:16px}.role-usage-item{padding:12px;background:#f8fafc;border-radius:8px}.role-usage-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:8px}.role-usage-count{font-size:14px;font-weight:700;color:#1e3a5f}.role-usage-bar{height:8px;background:#e2e8f0;border-radius:4px;overflow:hidden}.role-usage-fill{height:100%;border-radius:4px;transition:width .3s ease}.role-usage-last{font-size:11px;color:#94a3b8;margin-top:6px}.email-center{padding:0}.email-center .page-header{margin-bottom:24px}.email-center .page-header h2{font-size:20px;margin:0 0 8px;color:#262626}.email-center .page-header .page-desc{color:#8c8c8c;margin:0}.email-center .email-tabs{background:#fff;padding:0 24px 24px;border-radius:8px}.overview-section .smtp-warning{margin-top:16px;padding:12px 16px;background:#fff2e8;border:1px solid #ffbb96;border-radius:6px;color:#d4380d}.variable-hint{margin-top:12px;padding:8px 12px;background:#f5f5f5;border-radius:4px}.preview-frame{margin-top:12px;border:1px solid #d9d9d9;border-radius:6px;overflow:auto;max-height:500px}.manual-send .template-preview-box{margin-bottom:16px;padding:12px 16px;background:#e6f7ff;border:1px solid #91d5ff;border-radius:6px}.manual-send .template-preview-box p{margin:0;word-break:break-all}.log-filters{display:flex;align-items:center}.inbox-section .unread-dot{color:#1677ff;font-size:16px;line-height:1}.inbox-section .star-btn{cursor:pointer;font-size:16px}.inbox-section .unread-row{background:#f6f9ff}.inbox-toolbar{display:flex;align-items:center}.email-detail{max-height:65vh;overflow:auto}.email-detail-header{padding:12px 16px;background:#fafafa;border-radius:6px;margin-bottom:16px}.email-detail .detail-row{margin-bottom:6px;line-height:1.6;word-break:break-all}.email-detail-body{padding:16px;border:1px solid #f0f0f0;border-radius:6px;min-height:200px;max-height:400px;overflow:auto}.email-detail-body img{max-width:100%;height:auto}.conv-container{padding:24px;max-width:1200px;margin:0 auto}.conv-card{background:#fff;border-radius:12px;padding:24px;box-shadow:0 1px 3px #00000014}.conv-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:20px}.conv-header h1{font-size:22px;font-weight:600;color:#1f2937}.conv-toolbar{margin-bottom:16px}.filter-input{border:1px solid #d1d5db;border-radius:8px;padding:8px 12px;font-size:14px;width:100%;max-width:320px;box-sizing:border-box}.filter-input:focus{outline:none;border-color:#3b82f6;box-shadow:0 0 0 2px #3b82f61a}.stat-badge{background:#f3f4f6;padding:4px 12px;border-radius:20px;font-size:13px;color:#6b7280}.simple-table{width:100%;border-collapse:collapse}.simple-table th{text-align:left;padding:12px;border-bottom:2px solid #e5e7eb;color:#6b7280;font-size:13px;font-weight:500}.simple-table td{padding:12px;border-bottom:1px solid #f3f4f6;font-size:14px}.user-cell{display:flex;align-items:center;gap:8px}.user-avatar{width:32px;height:32px;border-radius:50%;background:#3b82f6;color:#fff;display:flex;align-items:center;justify-content:center;font-size:14px;font-weight:600;flex-shrink:0}.user-name{font-weight:500;color:#1f2937}.user-phone{font-size:12px;color:#9ca3af}.msg-cell{color:#6b7280;font-size:13px}.time-cell{font-size:13px;color:#9ca3af;white-space:nowrap}.action-btn{padding:4px 12px;border-radius:6px;font-size:13px;border:none;cursor:pointer;font-weight:500;transition:opacity .15s}.action-btn:hover{opacity:.85}.edit-btn{background:#eff6ff;color:#3b82f6}.pagination{display:flex;justify-content:center;align-items:center;gap:12px;margin-top:20px}.page-btn{padding:6px 16px;border:1px solid #d1d5db;background:#fff;border-radius:6px;cursor:pointer;font-size:13px}.page-btn:disabled{opacity:.4;cursor:not-allowed}.page-btn:hover:not(:disabled){border-color:#3b82f6;color:#3b82f6}.empty-state,.empty-cell,.empty-row{text-align:center;padding:40px;color:#9ca3af;font-size:14px}.modal-overlay{position:fixed;top:0;left:0;right:0;bottom:0;background:#0006;display:flex;align-items:center;justify-content:center;z-index:1000}.modal-content{background:#fff;border-radius:12px;max-height:80vh;display:flex;flex-direction:column;box-shadow:0 20px 60px #00000026}.modal-header{display:flex;justify-content:space-between;align-items:center;padding:16px 20px;border-bottom:1px solid #e5e7eb}.modal-header h3{margin:0;font-size:16px;font-weight:600}.close-btn{background:none;border:none;font-size:22px;cursor:pointer;color:#9ca3af;padding:0 4px}.close-btn:hover{color:#1f2937}.btn-primary{background:#3b82f6;color:#fff;border:none;border-radius:6px;cursor:pointer;font-size:14px;font-weight:500}.btn-primary:hover{background:#2563eb}.btn-primary:disabled{opacity:.5;cursor:not-allowed}.btn-small{padding:6px 14px;font-size:13px}*{margin:0;padding:0;box-sizing:border-box}html,body,#root{height:100%;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,sans-serif}body{background-color:#f0f2f5}::-webkit-scrollbar{width:8px;height:8px}::-webkit-scrollbar-track{background:#f1f1f1}::-webkit-scrollbar-thumb{background:#888;border-radius:4px}::-webkit-scrollbar-thumb:hover{background:#555}
