*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:#f3f5f9;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,PingFang SC,Microsoft YaHei,sans-serif;-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility}a{color:#2f54eb;text-decoration:none;transition:color .15s}a:hover{color:#1d39c4}pre{margin:0;font-family:Menlo,Consolas,monospace}::-webkit-scrollbar{width:8px;height:8px}::-webkit-scrollbar-track{background:transparent}::-webkit-scrollbar-thumb{background:#d0d5dd;border-radius:8px;border:2px solid transparent;background-clip:content-box}::-webkit-scrollbar-thumb:hover{background:#98a2b3;border:2px solid transparent;background-clip:content-box}@keyframes page-fade-in{0%{opacity:0;transform:translateY(6px)}to{opacity:1;transform:none}}@keyframes card-rise-in{0%{opacity:0;transform:translateY(10px)}to{opacity:1;transform:none}}.page-enter{animation:page-fade-in .28s ease both}.ant-card{animation:card-rise-in .3s ease both}.app-header{background:#fff!important;border-bottom:1px solid #eef0f5;height:auto!important;line-height:1.4!important;padding:0!important;position:sticky;top:0;z-index:20;box-shadow:0 1px 2px #10182808}.app-header-main{height:60px;padding:0 24px;display:flex;align-items:center;gap:20px}.app-header-actions{display:flex;align-items:center;gap:10px;flex:none}.app-status{display:inline-flex;align-items:center;gap:6px;height:28px;padding:0 11px;border-radius:999px;background:#f2f4f7;color:#667085;font-size:12px;white-space:nowrap}.app-status .dot{width:6px;height:6px;border-radius:50%;background:#98a2b3}.app-status.on{background:#ecfdf3;color:#15803d}.app-status.on .dot{background:#16a34a}.app-logo{display:flex;align-items:center;gap:10px;flex:none;cursor:pointer;-webkit-user-select:none;user-select:none}.app-logo-mark{width:34px;height:34px;border-radius:10px;background:linear-gradient(135deg,#2f54eb,#5b8ff9);color:#fff;display:flex;align-items:center;justify-content:center;font-weight:700;font-size:14px}.app-logo-text{min-width:0}.app-logo-title{font-size:15px;font-weight:700;color:#111827;line-height:1.2;white-space:nowrap}.app-logo-sub{font-size:11px;color:#98a2b3;margin-top:2px;white-space:nowrap}.app-menu.ant-menu-horizontal{flex:1;min-width:0;border-bottom:none!important;background:transparent;line-height:60px}.app-menu.ant-menu-horizontal>.ant-menu-item,.app-menu.ant-menu-horizontal>.ant-menu-submenu{height:60px;line-height:60px;top:0;margin-inline:2px;padding-inline:12px;color:#475467}.app-menu.ant-menu-horizontal>.ant-menu-item-selected{color:#2f54eb!important;font-weight:600}.app-subbar{height:42px;padding:0 24px;display:flex;align-items:center;justify-content:space-between;gap:16px;background:#fbfcfe;border-top:1px solid #f4f6fa}.app-subbar-title{display:flex;align-items:baseline;gap:10px;min-width:0}.app-subbar-meta{display:flex;align-items:center;gap:6px;font-size:12px;color:#667085;white-space:nowrap;flex:none}.app-subbar-meta .sep{color:#d0d5dd}.app-header-title{font-size:14px;font-weight:700;color:#111827;line-height:1.3;white-space:nowrap}.app-header-sub{font-size:12px;color:#98a2b3;line-height:1.3;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.app-content{padding:20px 24px 40px}.kpi-card{border-radius:12px;background:#fff;border:1px solid #eef0f5;padding:16px 18px;height:100%;transition:box-shadow .2s ease,transform .2s ease,border-color .2s ease}.kpi-card:hover{box-shadow:0 6px 16px #10182814;transform:translateY(-2px);border-color:#dbe4ff}.kpi-top{display:flex;align-items:center;justify-content:space-between;color:#667085;font-size:12px;gap:8px}.kpi-top>span:first-child{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.kpi-icon{width:32px;height:32px;border-radius:9px;display:flex;align-items:center;justify-content:center;font-size:16px;transition:transform .25s ease;flex:none}.cell-ellipsis{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.dist-overview{display:flex;align-items:center;gap:16px;padding:12px 20px;border-bottom:1px solid #f2f4f7}.kpi-card:hover .kpi-icon{transform:scale(1.12)}.kpi-value{font-size:26px;font-weight:700;color:#111827;margin-top:10px;line-height:1.1;font-variant-numeric:tabular-nums}.kpi-foot{font-size:12px;color:#98a2b3;margin-top:6px}.cv-ev-summary{font-size:12px;color:#475467;background:#f7f9fc;border:1px solid #eef0f5;border-radius:6px;padding:8px 10px;margin-bottom:8px}.clickable-row{cursor:pointer}.clickable-row:hover>td{background:#f2f5fa!important}.section-title{font-size:15px;font-weight:700;color:#111827}.section-sub{font-size:12px;color:#98a2b3;margin-top:2px}.status-tag{display:inline-flex;align-items:center;gap:6px;border:none;border-radius:999px;padding:1px 9px;font-size:12px;font-weight:500;line-height:20px}.status-tag .dot{width:6px;height:6px;border-radius:50%;background:currentColor}.status-tag.passed,.status-tag.pass{color:#15803d;background:#ecfdf3}.status-tag.failed,.status-tag.fail{color:#b42318;background:#fef3f2}.status-tag.review,.status-tag.unknown{color:#b54708;background:#fffaeb}.status-tag.observing{color:#175cd3;background:#eff8ff}.status-tag.na,.status-tag.pending,.status-tag.canceled{color:#667085;background:#f2f4f7}.status-tag.running,.status-tag.queued{color:#175cd3;background:#eff8ff}.status-tag.running .dot{animation:dot-pulse 1.4s ease-in-out infinite}@keyframes dot-pulse{0%,to{opacity:1;transform:scale(1)}50%{opacity:.35;transform:scale(.75)}}.status-tag.done{color:#15803d;background:#ecfdf3}.status-tag.paused{color:#b54708;background:#fffaeb}.filter-bar{display:flex;flex-wrap:wrap;gap:10px;align-items:center;margin-bottom:16px}.customers-card{overflow:visible!important}.customers-filter{position:sticky;top:103px;z-index:15;background:#fff;margin:-18px -18px 16px;padding:14px 18px;box-shadow:0 6px 8px -8px #10182814}.customer-cell{display:flex;align-items:center;gap:10px}.customer-avatar{width:32px;height:32px;border-radius:9px;background:#eef2ff;color:#2f54eb;display:flex;align-items:center;justify-content:center;font-weight:700;font-size:13px;flex:none}.customer-name{font-weight:600;color:#111827}.customer-no{font-size:11px;color:#98a2b3;font-family:Menlo,Consolas,monospace}.amount{font-variant-numeric:tabular-nums;font-weight:600}.detail-hero{border-radius:14px;background:linear-gradient(120deg,#1e3a8a,#2f54eb 55%,#5b8ff9);color:#fff;padding:22px 24px;position:relative;overflow:hidden}.detail-hero:after{content:"";position:absolute;right:-60px;top:-80px;width:240px;height:240px;border-radius:50%;background:#ffffff14}.detail-hero h2{color:#fff;margin:0;font-size:22px}.detail-hero .meta{color:#ffffffb8;font-size:12px;margin-top:4px}.hero-metrics{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:10px;margin-top:18px;position:relative;z-index:1}.hero-metric{background:#ffffff1f;border:1px solid rgba(255,255,255,.16);border-radius:10px;padding:10px 12px}.hero-metric .label{font-size:11px;color:#ffffffb3}.hero-metric .value{font-size:18px;font-weight:700;margin-top:3px;font-variant-numeric:tabular-nums}.group-panel{border:1px solid #eef0f5;border-radius:12px;background:#fff;overflow:hidden}.group-panel-head{padding:14px 16px;border-bottom:1px solid #f2f4f7;font-weight:700;font-size:14px;display:flex;flex-direction:column;gap:2px}.scope-summary-btn{width:100%;display:flex;align-items:center;gap:10px;padding:12px;border-radius:10px;border:1px solid #dbe4ff;background:#f8faff;cursor:pointer;font:inherit;text-align:left;-webkit-appearance:none;-moz-appearance:none;appearance:none;transition:background .15s,border-color .15s}.scope-summary-btn:hover{background:#eef2ff;border-color:#b9c8ff}.scope-summary-btn.active{background:#eef2ff;border-color:#2f54eb;box-shadow:inset 0 0 0 1px #2f54eb}.scope-summary-btn:focus-visible,.group-item:focus-visible{outline:2px solid #2f54eb;outline-offset:-2px}.scope-badge{width:34px;height:34px;border-radius:9px;background:#98a2b3;color:#fff;font-size:11px;font-weight:700;display:flex;align-items:center;justify-content:center;flex:none}.scope-summary-btn.active .scope-badge{background:#2f54eb}.group-section-title{display:flex;align-items:center;justify-content:space-between;padding:14px 16px 6px;font-size:12px;font-weight:600;color:#667085}.group-item{display:flex;gap:10px;padding:12px 14px;cursor:pointer;border:0;border-left:3px solid transparent;background:transparent;width:100%;font:inherit;text-align:left;-webkit-appearance:none;-moz-appearance:none;appearance:none;transition:background .15s}.group-arrow{display:block;margin:6px 0 0 auto;color:#cbd5e1;font-size:11px}.group-item:hover .group-arrow,.group-item.active .group-arrow,.scope-summary-btn:hover .group-arrow,.scope-summary-btn.active .group-arrow{color:#2f54eb}.group-item+.group-item{border-top:1px solid #f7f8fc}.group-item:hover{background:#f8faff}.group-item.active{background:#eef2ff;border-left-color:#2f54eb}.group-seq{width:24px;height:24px;border-radius:7px;background:#f2f4f7;color:#667085;font-size:11px;font-weight:700;display:flex;align-items:center;justify-content:center;flex:none;margin-top:1px}.group-item.active .group-seq{background:#2f54eb;color:#fff}.group-name{font-size:13px;font-weight:600;color:#1f2937;line-height:1.35;word-break:break-all}.group-meta{font-size:11px;color:#98a2b3;margin-top:3px}.rule-toolbar{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:12px;margin-bottom:12px}.rule-summary{display:flex;gap:8px;flex-wrap:wrap}.summary-chip{border-radius:999px;background:#f7f8fc;padding:3px 10px;font-size:12px;color:#667085}.rule-row-fail td{background:snow!important}.rule-name{font-weight:600;color:#1f2937}.rule-code{font-family:Menlo,Consolas,monospace;font-size:11px;color:#2f54eb;background:#eef2ff;border-radius:5px;padding:1px 6px;margin-right:6px}.window-text{font-size:12px;color:#667085;font-variant-numeric:tabular-nums}.rule-card{border:1px solid #eef0f5;border-radius:12px;background:#fff;padding:16px;height:100%;transition:box-shadow .2s ease,border-color .2s ease,transform .2s ease}.rule-card:hover{box-shadow:0 6px 16px #10182814;border-color:#dbe4ff;transform:translateY(-2px)}.rule-card-head{display:flex;align-items:flex-start;justify-content:space-between;gap:8px}.rule-card-title{font-size:14px;font-weight:700;color:#111827}.rule-card-sub{font-size:11px;color:#98a2b3;margin-top:4px}.reason-tag{display:inline-block;background:#f7f8fc;color:#475467;border-radius:6px;padding:2px 7px;font-size:11px;margin:3px 4px 0 0}.job-progress-card{border-radius:14px;background:#fff;border:1px solid #eef0f5;padding:20px}.job-progress-top{display:flex;align-items:flex-start;justify-content:space-between;gap:16px}.job-id{font-family:Menlo,Consolas,monospace;font-size:12px;color:#667085}.chat-list{display:flex;flex-direction:column;gap:10px;padding:4px 2px 12px}.chat-row{display:flex;flex-direction:column;max-width:78%}.chat-row.internal{align-self:flex-end;align-items:flex-end}.chat-row.external{align-self:flex-start;align-items:flex-start}.chat-meta{font-size:11px;color:#98a2b3;margin-bottom:3px}.chat-bubble{border-radius:10px;padding:9px 12px;font-size:13px;line-height:1.55;white-space:pre-wrap;word-break:break-word;box-shadow:0 1px 2px #1018280a}.chat-row.internal .chat-bubble{background:#eef2ff;color:#1e3a8a;border-top-right-radius:3px}.chat-row.external .chat-bubble{background:#fff;color:#1f2937;border:1px solid #eef0f5;border-top-left-radius:3px}.chat-type{font-size:10px;color:#98a2b3;margin-top:3px}.chat-viewer{display:flex;height:100%;overflow:hidden;background:#f4f6fa}.cv-left{width:230px;flex:none;border-right:1px solid #e9edf3;background:#fff;display:flex;flex-direction:column}.cv-left-title{font-size:14px;font-weight:700;color:#1f2937;padding:16px 16px 10px}.cv-group-search{padding:0 10px 8px}.cv-group-list{flex:1;overflow-y:auto;padding:0 10px 12px}.cv-group-item{display:flex;align-items:center;gap:6px;width:100%;border:none;background:transparent;text-align:left;padding:8px 10px;border-radius:8px;cursor:pointer;margin-bottom:2px}.cv-group-item:hover{background:#f2f5fa}.cv-group-item.active{background:#e8f0fe;box-shadow:inset 0 0 0 1px #c9dcfb}.cv-group-badge{flex:none;font-size:10px;color:#15803d;background:#e7f6ec;border-radius:4px;padding:1px 5px}.cv-group-name{flex:1;min-width:0;font-size:12px;color:#344054;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.cv-group-hit{flex:none;font-size:10px;line-height:16px;color:#3875d1;background:#eef4ff;border-radius:8px;padding:0 6px}.cv-center{flex:1;min-width:0;display:flex;flex-direction:column}.cv-head{flex:none;display:flex;flex-direction:column;gap:8px;padding:12px 18px;background:#fff;border-bottom:1px solid #eef0f5}.cv-head-row{display:flex;align-items:center;gap:10px;flex-wrap:wrap}.cv-head-count{font-size:12px;color:#475467;white-space:nowrap}.cv-head-name{flex:1;min-width:0;font-size:15px;font-weight:600;color:#1f2937;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.cv-head-tags{flex:none;display:flex;gap:8px}.cv-tag{font-size:12px}.cv-loaded-hint{flex:none;text-align:center;font-size:11px;color:#98a2b3;padding:6px 0}.cv-msgs{flex:1;overflow-y:auto;display:flex;flex-direction:column;gap:10px;padding:10px 24px 24px}.cv-msg{display:flex;flex-direction:column;max-width:70%}.cv-msg.internal{align-self:flex-end;align-items:flex-end}.cv-msg.external{align-self:flex-start;align-items:flex-start}.cv-msg-meta{font-size:11px;color:#98a2b3;margin-bottom:3px}.cv-msg-group{color:#3875d1;cursor:pointer;margin-right:6px;text-decoration:none}.cv-msg-role{color:#b6bfcc}.cv-msg-time{margin-left:6px}.cv-msg-bubble{border-radius:3px 10px 10px;padding:8px 12px;font-size:13px;line-height:1.55;white-space:pre-wrap;word-break:break-word;background:#fff;color:#1f2937;border:1px solid #eef0f5;box-shadow:0 1px 2px #1018280a}.cv-msg.internal .cv-msg-bubble{background:#e8f0fe;color:#1e3a8a;border:none;border-top-left-radius:10px;border-top-right-radius:3px}.cv-mark{background:#fde68a;color:inherit;border-radius:2px;padding:0 1px}.cv-msg-focus .cv-msg-bubble{outline:2px solid #f59e0b;box-shadow:0 0 0 4px #f59e0b2e}.cv-msg-type{font-size:10px;color:#98a2b3;margin-top:3px}.cv-loading{padding:80px 0;text-align:center}.cv-right{width:250px;flex:none;border-left:1px solid #e9edf3;background:#fff;display:flex;flex-direction:column;padding:16px 14px 12px}.cv-right-title{font-size:13px;font-weight:700;color:#1f2937;margin-bottom:10px}.cv-right-hint{font-size:11px;color:#98a2b3;margin-bottom:6px}.cv-member-list{flex:1;overflow-y:auto}.cv-member-item{display:flex;align-items:center;gap:8px;padding:6px;border-radius:6px;cursor:pointer}.cv-member-item:hover{background:#f2f5fa}.cv-member-item.active{background:#e8f0fe;box-shadow:inset 0 0 0 1px #c9dcfb}.cv-member-hit{flex:none;font-size:10px;color:#3875d1}.cv-member-name{flex:1;min-width:0;font-size:12px;color:#344054;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.cv-empty-hint{text-align:center;color:#98a2b3;font-size:12px;padding:20px 8px}@media (max-width: 1200px){.hero-metrics{grid-template-columns:repeat(3,minmax(0,1fr))}.app-logo-sub{display:none}}@media (max-width: 1024px){.app-status-text{display:none}.app-status{padding:0 6px}.app-subbar-meta .sep,.app-subbar-meta .meta-extra{display:none}}@media (max-width: 900px){.app-header-main{padding:0 14px;gap:12px}.app-logo-text{display:none}.app-subbar{padding:0 14px}.app-subbar-meta{display:none}.app-content{padding:14px}.hero-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}}.full-page-center{min-height:100vh;display:flex;flex-direction:column;align-items:center;justify-content:center;padding:24px}
