*{box-sizing:border-box;margin:0;padding:0}body{font-family:Segoe UI,Roboto,Helvetica,Arial,sans-serif;background:#fff;color:#1e293b;min-height:100vh}.page{max-width:1280px;margin:0 auto;padding:0 24px 48px}.topbar{display:flex;align-items:center;justify-content:space-between;padding:20px 0 16px;border-bottom:1px solid #e2e8f0;margin-bottom:20px}.topbar-left{display:flex;align-items:center;gap:14px}.logo{width:44px;height:44px;border-radius:10px;background:#1d4ed8;color:#fff;font-weight:700;display:flex;align-items:center;justify-content:center;font-size:18px}.topbar h1{font-size:20px;font-weight:700;color:#0f172a}.topbar p{font-size:13px;color:#64748b}.card{background:#fff;border:1px solid #e2e8f0;border-radius:12px;box-shadow:0 1px 3px #0f172a0d}.controls{display:flex;flex-wrap:wrap;align-items:flex-end;gap:16px;padding:18px;margin-bottom:20px}.settings{display:flex;flex-wrap:wrap;gap:16px;padding:18px;margin-bottom:20px;background:#f8fafc}.field{display:flex;flex-direction:column;gap:6px}.field.grow{flex:1;min-width:320px}.field label{font-size:12px;font-weight:600;color:#475569;text-transform:uppercase;letter-spacing:.4px}.field input,.field select{height:40px;min-width:170px;border:1px solid #cbd5e1;border-radius:8px;padding:0 12px;font-size:14px;color:#0f172a;background:#fff;outline:none}.field input:focus,.field select:focus{border-color:#1d4ed8;box-shadow:0 0 0 3px #1d4ed81f}.field input[type=password]{width:100%}.btn{height:40px;padding:0 18px;border-radius:8px;font-size:14px;font-weight:600;cursor:pointer;border:1px solid transparent;transition:all .15s}.btn.primary{background:#1d4ed8;color:#fff}.btn.primary:hover{background:#1e40af}.btn.primary:disabled{background:#93c5fd;cursor:not-allowed}.btn.ghost{background:#fff;border-color:#cbd5e1;color:#334155}.btn.ghost:hover{background:#f1f5f9}.live-pill{background:#dcfce7;color:#15803d;font-size:12px;font-weight:700;padding:6px 14px;border-radius:999px;letter-spacing:.5px}.search-field{flex:1;min-width:220px}.search-field input{width:100%}.chips{display:flex;flex-wrap:wrap;gap:10px;padding:14px;margin-bottom:20px}.chip{display:flex;flex-direction:column;gap:2px;align-items:flex-start;border:1px solid #e2e8f0;background:#f8fafc;border-radius:10px;padding:8px 14px;cursor:pointer;text-align:left}.chip:hover{border-color:#1d4ed8}.chip-active{border-color:#1d4ed8;background:#eff6ff;box-shadow:0 0 0 3px #1d4ed81a}.chip-warn{background:#fef6f6;border-color:#fecaca}.chip-label{font-size:12px;font-weight:700;color:#0f172a}.chip-nums{font-size:11px;color:#64748b}.chip-ok{color:#15803d}.chip-bad{color:#b91c1c}.head-right{display:flex;align-items:center;gap:10px}.filter-chip{background:#eff6ff;color:#1d4ed8;border-radius:8px;padding:5px 10px;font-size:12px;font-weight:600;cursor:pointer}.type-tag{background:#f1f5f9;color:#475569;border-radius:6px;padding:3px 8px;font-size:11px;font-weight:600;white-space:nowrap}.table-foot{padding:10px 18px;border-top:1px solid #e2e8f0;font-size:12px;color:#94a3b8}.bu-select{position:relative;min-width:260px}.bu-button{display:flex;align-items:center;justify-content:space-between;gap:10px;width:100%;height:40px;border:1px solid #cbd5e1;border-radius:8px;padding:0 12px;font-size:14px;color:#0f172a;background:#fff;cursor:pointer;text-align:left}.bu-button:hover{border-color:#1d4ed8}.bu-placeholder{color:#94a3b8}.bu-caret{color:#64748b;font-size:12px}.bu-panel{position:absolute;top:46px;left:0;width:340px;max-width:90vw;background:#fff;border:1px solid #e2e8f0;border-radius:10px;box-shadow:0 10px 30px #0f172a24;z-index:50;overflow:hidden}.bu-search{width:calc(100% - 20px);margin:10px;height:36px;border:1px solid #cbd5e1;border-radius:8px;padding:0 10px;font-size:13px;outline:none}.bu-search:focus{border-color:#1d4ed8;box-shadow:0 0 0 3px #1d4ed81f}.bu-list{max-height:300px;overflow:auto;border-top:1px solid #f1f5f9}.bu-item{display:flex;align-items:center;justify-content:space-between;gap:10px;width:100%;border:none;background:#fff;padding:9px 14px;font-size:13px;color:#334155;cursor:pointer;text-align:left}.bu-item:hover{background:#f8fafc}.bu-item.active{background:#eff6ff;color:#1d4ed8;font-weight:600}.bu-name{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.bu-meta{font-size:11px;color:#94a3b8;flex-shrink:0}.bu-none{padding:16px;text-align:center;font-size:13px;color:#94a3b8}.login-wrap{min-height:100vh;display:flex;align-items:center;justify-content:center;background:linear-gradient(135deg,#f8fafc,#eef2ff);padding:20px}.login-card{width:360px;max-width:100%;background:#fff;border:1px solid #e2e8f0;border-radius:16px;box-shadow:0 20px 50px #0f172a1f;padding:32px;text-align:center}.login-logo{width:52px;height:52px;margin:0 auto 14px;border-radius:12px;background:#1d4ed8;color:#fff;font-weight:700;font-size:22px;display:flex;align-items:center;justify-content:center}.login-card h1{font-size:19px;color:#0f172a;font-weight:700}.login-sub{font-size:13px;color:#64748b;margin:6px 0 22px}.login-field{display:flex;flex-direction:column;gap:6px;text-align:left;margin-bottom:14px}.login-field span{font-size:12px;font-weight:600;color:#475569;text-transform:uppercase;letter-spacing:.4px}.login-field input{height:42px;border:1px solid #cbd5e1;border-radius:8px;padding:0 12px;font-size:14px;outline:none}.login-field input:focus{border-color:#1d4ed8;box-shadow:0 0 0 3px #1d4ed81f}.login-err{background:#fef2f2;border:1px solid #fecaca;color:#b91c1c;border-radius:8px;padding:8px 12px;font-size:13px;margin-bottom:14px;text-align:left}.login-btn{width:100%;margin-top:4px}.error{padding:14px 18px;margin-bottom:20px;border:1px solid #fecaca;background:#fef2f2;color:#b91c1c;font-size:14px}.placeholder{padding:48px;text-align:center;color:#64748b;font-size:15px}.summary{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:16px;margin-bottom:20px}.stat{padding:20px}.stat-num{font-size:32px;font-weight:700;color:#0f172a}.stat.good .stat-num{color:#15803d}.stat.bad .stat-num{color:#b91c1c}.stat-label{font-size:14px;font-weight:600;color:#334155;margin-top:2px}.stat-sub{font-size:12px;color:#94a3b8;margin-top:4px}.table-card{overflow:hidden}.table-head{display:flex;align-items:center;justify-content:space-between;padding:12px 18px;border-bottom:1px solid #e2e8f0;flex-wrap:wrap;gap:10px}.tabs{display:flex;gap:6px;background:#f1f5f9;padding:4px;border-radius:10px}.tab{border:none;background:transparent;padding:8px 16px;border-radius:8px;font-size:13px;font-weight:600;color:#475569;cursor:pointer}.tab.active{background:#fff;color:#0f172a;box-shadow:0 1px 3px #0f172a1f}.tab.active[data-none]{display:none}.table-wrap{overflow:auto;max-height:62vh}table{width:100%;border-collapse:collapse;font-size:13px}thead th{position:sticky;top:0;background:#f8fafc;color:#475569;text-align:left;padding:12px 14px;font-size:12px;text-transform:uppercase;letter-spacing:.3px;border-bottom:1px solid #e2e8f0;white-space:nowrap;z-index:1}tbody td{padding:11px 14px;border-bottom:1px solid #f1f5f9;color:#334155;white-space:nowrap}tbody tr:hover{background:#f8fafc}tbody tr.row-unmatch{background:#fef6f6}tbody tr.row-unmatch:hover{background:#fdeaea}td.num,th.num{text-align:right;font-variant-numeric:tabular-nums}td.strong{font-weight:600;color:#0f172a}td.diff-bad{color:#b91c1c;font-weight:600}.badge{display:inline-block;padding:3px 10px;border-radius:999px;font-size:11px;font-weight:700}.badge-ok{background:#dcfce7;color:#15803d}.badge-warn{background:#fee2e2;color:#b91c1c}.empty{text-align:center;color:#94a3b8;padding:36px!important}
