*{margin:0;padding:0;box-sizing:border-box}
body{font-family:"Microsoft YaHei","PingFang SC",-apple-system,sans-serif;background:#eef2f7;color:#1f2937;font-size:13px;-webkit-font-smoothing:antialiased}
.app{display:flex;min-height:100vh}
.sidebar{width:76px;background:#fff;border-right:1px solid #eaedf2;display:flex;flex-direction:column;align-items:center;padding-top:12px;flex-shrink:0;gap:2px}
.nav-item{width:100%;display:flex;flex-direction:column;align-items:center;gap:3px;padding:8px 0;color:#8a94a6;font-size:10.5px;text-decoration:none;position:relative;white-space:nowrap}
.nav-item .ico{width:22px;height:22px;border-radius:6px;display:flex;align-items:center;justify-content:center;font-size:14px}
.nav-item.active{color:#2563eb;font-weight:600}
.nav-item.active::before{content:"";position:absolute;left:0;top:6px;bottom:6px;width:3px;background:#2563eb;border-radius:0 3px 3px 0}
.nav-item.active .ico{background:#e8f0fe}
.nav-item.logo{margin-bottom:10px}
.nav-item.logo .ico{background:#2563eb;color:#fff;font-size:15px;font-weight:700;border-radius:10px;width:34px;height:34px}
.main{flex:1;min-width:0}
.topbar{height:50px;background:#fff;border-bottom:1px solid #eaedf2;display:flex;align-items:center;padding:0 22px;gap:10px;color:#8a94a6;font-size:12.5px}
.topbar .crumb{color:#374151;font-weight:500}
.topbar .sep{color:#c7cedb}
.topbar .spacer{flex:1}
.user-chip{display:flex;align-items:center;gap:8px}
.avatar{width:28px;height:28px;border-radius:50%;background:#2563eb;color:#fff;display:flex;align-items:center;justify-content:center;font-size:12px;font-weight:600}
.link-btn{border:0;background:none;color:#2563eb;font-size:12px;cursor:pointer;font-family:inherit}
.content{padding:20px 24px 30px;max-width:1600px}
.page-head{display:flex;align-items:flex-start;justify-content:space-between;margin-bottom:16px}
.page-head h1{font-size:21px;font-weight:700;color:#111827;letter-spacing:.3px}
.page-head .desc{color:#8a94a6;font-size:12px;margin-top:5px}
.head-btns{display:flex;gap:8px;flex-wrap:wrap}
.btn{border:0;border-radius:7px;padding:8px 15px;font-size:12.5px;font-weight:600;cursor:pointer;font-family:inherit;transition:.15s}
.btn-primary{background:#2563eb;color:#fff;box-shadow:0 3px 8px rgba(37,99,235,.18)}
.btn-primary:hover{background:#1d4ed8}
.btn-ghost{background:#fff;color:#2563eb;border:1px solid #c9dbfb}
.btn-ghost:hover{background:#f5f9ff}
.btn-danger{background:#fff;color:#dc2626;border:1px solid #fecaca}
.btn:disabled{opacity:.5;cursor:not-allowed}
.stats{display:grid;grid-template-columns:repeat(4,1fr);gap:14px;margin-bottom:18px}
.stats.c3{grid-template-columns:repeat(3,1fr)}
.stats.c5{grid-template-columns:repeat(5,1fr)}
.stat{border-radius:10px;padding:15px 17px;border:1px solid rgba(0,0,0,.03);position:relative;overflow:hidden;cursor:pointer;transition:.15s}
.stat:hover{transform:translateY(-1px)}
.stat.b1{background:linear-gradient(120deg,#eef3ff,#e3ecff)}
.stat.b2{background:linear-gradient(120deg,#f3efff,#eae3ff)}
.stat.b3{background:linear-gradient(120deg,#eafaf1,#dcf5e8)}
.stat.b4{background:linear-gradient(120deg,#fff6e8,#ffedd4)}
.stat.b5{background:linear-gradient(120deg,#fef2f2,#fee2e2)}
.stat .lb{font-size:12px;color:#6b7280}
.stat .num{font-size:25px;font-weight:750;margin-top:7px;color:#1f2937;font-variant-numeric:tabular-nums;line-height:1.1}
.stat .sub{font-size:11px;color:#9aa3b2;margin-top:4px}
.stat .ic{position:absolute;right:15px;top:13px;font-size:20px;opacity:.5}
.note{background:#fff;border:1px solid #e6ecf5;border-left:3px solid #2563eb;border-radius:9px;padding:11px 15px;margin-bottom:15px;font-size:11.5px;color:#6b7280;line-height:1.7}
.note b{color:#2563eb}
.filter{background:#fff;border:1px solid #edf0f4;border-radius:9px;padding:13px 15px;display:flex;flex-wrap:wrap;gap:12px 16px;align-items:flex-end;margin-bottom:14px}
.fitem{display:flex;flex-direction:column;gap:5px}
.fitem label{font-size:11px;color:#9aa3b2}
.fitem input,.fitem select{border:1px solid #e2e7ef;border-radius:6px;padding:7px 10px;font-size:12px;color:#6b7280;min-width:130px;background:#fff;font-family:inherit;outline:none}
.fitem input:focus,.fitem select:focus,.f-field input:focus,.f-field select:focus{border-color:#2563eb}
.f-btns{display:flex;gap:8px;margin-left:auto}
.quick{display:flex;gap:8px;flex-wrap:wrap;margin-bottom:13px}
.chip{font-size:11.5px;padding:6px 13px;border-radius:20px;background:#fff;border:1px solid #e2e7ef;color:#6b7280;cursor:pointer}
.chip:hover{border-color:#bfd3fb}
.chip.on{background:#2563eb;color:#fff;border-color:#2563eb}
.table-card{background:#fff;border:1px solid #edf0f4;border-radius:9px;overflow:hidden}
.th-bar{padding:11px 14px;border-bottom:1px solid #eef1f5;display:flex;justify-content:space-between;align-items:center}
.th-bar .t{font-size:13px;font-weight:700;color:#374151}
.th-bar .t small{font-weight:400;color:#9aa3b2;margin-left:8px;font-size:11px}
.tbl-wrap{overflow-x:auto}
table{width:100%;border-collapse:collapse;white-space:nowrap}
thead th{background:#fafbfd;color:#8a94a6;font-size:11px;font-weight:600;text-align:right;padding:9px 10px;border-bottom:1px solid #eef1f5;cursor:default}
thead th:first-child,tbody td:first-child{text-align:left}
td{padding:0 10px;text-align:right;font-size:11.5px;color:#4b5563;border-bottom:1px solid #f2f4f7;height:38px}
tbody tr:hover td{background:#fafcff}
.row-actions{display:flex;gap:6px;justify-content:flex-end}
.mini-btn{border:1px solid #e2e7ef;background:#fff;color:#6b7280;border-radius:5px;padding:3px 9px;font-size:10.5px;cursor:pointer;font-family:inherit}
.mini-btn:hover{border-color:#bfd3fb;color:#2563eb}
.mini-btn.danger:hover{border-color:#fecaca;color:#dc2626}
.tag{display:inline-block;font-size:10px;font-weight:600;padding:2px 8px;border-radius:4px;background:#eef2f7;color:#6b7280}
.tag.blue{background:#e8f0fe;color:#2563eb}.tag.green{background:#eafaf1;color:#16a34a}
.tag.orange{background:#fff3e0;color:#d97706}.tag.red{background:#fef2f2;color:#dc2626}
.tag.purple{background:#f3e8ff;color:#9333ea}.tag.teal{background:#e0f7f4;color:#0d9488}
.st{font-size:10.5px;font-weight:600;padding:2px 8px;border-radius:20px;display:inline-block}
.st-done{background:#eafaf1;color:#16a34a}.st-wait{background:#fff7e6;color:#d97706}.st-rej{background:#fef2f2;color:#dc2626}.st-info{background:#e8f0fe;color:#2563eb}
.sub-line{display:block;font-size:10px;color:#9aa3b2;margin-top:2px}
mark{background:#fff3c4;padding:0 1px}
.empty{padding:48px 20px;text-align:center;color:#9aa3b2;font-size:13px}
.empty .big{font-size:36px;margin-bottom:10px;opacity:.5}
.empty a{color:#2563eb;text-decoration:none}
.pager{display:flex;justify-content:space-between;align-items:center;padding:11px 14px;border-top:1px solid #eef1f5;font-size:11.5px;color:#8a94a6}
.pager button{border:1px solid #e2e7ef;background:#fff;border-radius:5px;padding:4px 11px;font-size:11px;cursor:pointer;color:#6b7280;font-family:inherit}
.pager button:disabled{opacity:.4;cursor:not-allowed}
.modal-mask{position:fixed;inset:0;background:rgba(15,23,42,.45);display:none;align-items:center;justify-content:center;z-index:100;padding:20px}
.modal-mask.show{display:flex}
.modal{background:#fff;border-radius:12px;width:100%;max-width:720px;max-height:88vh;overflow:auto;box-shadow:0 20px 60px rgba(0,0,0,.2)}
.modal-hd{padding:15px 20px;border-bottom:1px solid #eef1f5;display:flex;justify-content:space-between;align-items:center}
.modal-hd h3{font-size:15px;color:#111827}
.modal-hd button{border:0;background:none;font-size:20px;color:#9aa3b2;cursor:pointer;line-height:1}
.modal-bd{padding:18px 20px}
.modal-ft{padding:13px 20px;border-top:1px solid #eef1f5;display:flex;justify-content:flex-end;gap:8px}
.f-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:13px}
.f-grid.c2{grid-template-columns:repeat(2,1fr)}
.f-field{display:flex;flex-direction:column;gap:5px}
.f-field label{font-size:11px;color:#6b7280;font-weight:600}
.f-field input,.f-field select,.f-field textarea{border:1px solid #e2e7ef;border-radius:6px;padding:8px 10px;font-size:12px;color:#374151;font-family:inherit;outline:none;background:#fff}
.f-field textarea{resize:vertical;min-height:60px}
.f-field .hint{font-size:10px;color:#9aa3b2}
.f-full{grid-column:1/-1}
.err{color:#dc2626;font-size:11.5px;margin-top:10px;min-height:16px}
.app-toast{position:fixed;bottom:28px;left:50%;transform:translateX(-50%) translateY(80px);background:#1f2937;color:#fff;padding:11px 20px;border-radius:8px;font-size:12.5px;opacity:0;transition:.25s;z-index:200;pointer-events:none}
.app-toast.show{transform:translateX(-50%) translateY(0);opacity:1}
.app-toast.err{background:#b91c1c}
.login-wrap{min-height:100vh;display:flex;align-items:center;justify-content:center;background:linear-gradient(135deg,#eef3ff,#f8fafc)}
.login-card{background:#fff;border-radius:14px;box-shadow:0 10px 40px rgba(30,64,175,.1);width:390px;padding:36px}
.login-card .lg{width:46px;height:46px;border-radius:12px;background:#2563eb;color:#fff;display:flex;align-items:center;justify-content:center;font-size:19px;font-weight:700;margin-bottom:16px}
.login-card h2{font-size:21px;color:#111827;margin-bottom:6px}
.login-card .sub{font-size:12px;color:#9aa3b2;margin-bottom:26px;line-height:1.6}
.login-card .f-field{margin-bottom:14px}
.login-card .btn{width:100%;margin-top:6px}
.login-msg{font-size:12px;margin-top:12px;min-height:18px;color:#dc2626}
.try-box{margin-top:18px;padding-top:16px;border-top:1px dashed #e2e8f0;text-align:center}
.try-line{display:flex;align-items:center;gap:8px;justify-content:center;font-size:12px;color:#8a94a6}
.try-line .btn-try{background:#fff7ed;color:#c2410c;border:1px solid #fed7aa;width:auto;margin:0;padding:9px 14px;font-size:12.5px;font-weight:600;box-shadow:none}
.try-line .btn-try:hover{background:#ffedd5}
.try-tip{font-size:11px;color:#a8b0bd;line-height:1.6;margin-top:9px}
.demo-tag{background:#fff7ed;color:#c2410c;border:1px solid #fed7aa;padding:3px 10px;border-radius:20px;font-size:11px;font-weight:600;margin-left:6px;white-space:nowrap}
.loading{display:flex;align-items:center;justify-content:center;min-height:100vh;color:#8a94a6;font-size:14px}
.tabs{display:flex;gap:4px;border-bottom:1px solid #e6ecf5;margin-bottom:14px;flex-wrap:wrap}
.tab{padding:9px 15px;font-size:12.5px;color:#8a94a6;cursor:pointer;border-bottom:2px solid transparent;margin-bottom:-1px}
.tab:hover{color:#2563eb}
.tab.on{color:#2563eb;font-weight:600;border-bottom-color:#2563eb}
.detail-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:12px 18px}
.detail-grid.c2{grid-template-columns:repeat(2,1fr)}
.dt-item{border-bottom:1px solid #f2f4f7;padding:8px 0}
.dt-item .k{font-size:11px;color:#9aa3b2;margin-bottom:3px}
.dt-item .v{font-size:12.5px;color:#374151;font-weight:500;word-break:break-all}
.dt-sec{font-size:13px;font-weight:700;color:#374151;margin:18px 0 8px;padding-left:9px;border-left:3px solid #2563eb}
.timeline{padding-left:14px;border-left:2px solid #e6ecf5;margin-left:6px}
.tl-item{position:relative;padding:0 0 14px 14px;font-size:12px;color:#6b7280}
.tl-item::before{content:"";position:absolute;left:-20px;top:3px;width:9px;height:9px;border-radius:50%;background:#bfd3fb;border:2px solid #fff}
.tl-item .tl-t{color:#9aa3b2;font-size:11px;margin-bottom:3px}
.tl-item .tl-c{color:#374151;line-height:1.6}
@media(max-width:1100px){.stats,.stats.c5{grid-template-columns:repeat(3,1fr)}}
@media(max-width:800px){.stats,.stats.c3,.stats.c5{grid-template-columns:repeat(2,1fr)}.f-grid,.detail-grid{grid-template-columns:repeat(2,1fr)}}
