.anomaly-workspace{background:#fff!important;box-shadow:none!important;border:1px solid #e2e7e3!important;border-radius:10px!important;padding:24px!important;min-width:0}
.anomaly-workspace .anomaly-heading{display:flex;justify-content:space-between;align-items:flex-start;gap:16px;margin:0 0 20px;padding:0;border:0;min-height:0;background:none;box-shadow:none}
.anomaly-workspace h2{font-size:18px;line-height:1.4;margin:0;font-weight:600;color:#22352c}
.anomaly-heading p,.anomaly-workspace footer,.anomaly-scope{font-size:13px;color:#606e66;line-height:1.6}
.anomaly-heading p{margin:6px 0 0}.anomaly-query-scope{font-size:12px;color:#606e66;white-space:nowrap;line-height:26px}
/* Six equal cells = total plus five exclusive anomaly categories. */
.anomaly-summary{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:12px;margin:0 0 24px;padding:0}
.anomaly-summary .anomaly-metric{display:flex;flex-direction:column;align-items:flex-start;gap:12px;padding:16px 18px;border:1px solid #e0e7e2;border-radius:6px;background:#fafcfb;min-width:0}
.anomaly-summary .anomaly-metric-total{background:#eef3f0;border-color:#d6e1da}
.anomaly-summary span{font-size:13px;line-height:20px;color:#5d6a62;white-space:nowrap}
.anomaly-summary strong{font-size:28px;line-height:32px;font-weight:600;color:#24382e;font-variant-numeric:tabular-nums}
.anomaly-summary .anomaly-warning-text{color:#936000}.anomaly-summary .anomaly-ng-text{color:#a43b2c}.anomaly-summary .anomaly-zero{color:#79837d}
.anomaly-quick-heading{display:flex;align-items:baseline;gap:12px;margin-bottom:10px}.anomaly-quick-heading h3{font-size:14px;font-weight:600;color:#26382f;margin:0}.anomaly-quick-heading>span{font-size:12px;color:#657268}
.anomaly-tabs{display:flex;flex-wrap:wrap;gap:10px;border:0;margin:0 0 20px;padding:0}
.anomaly-workspace .anomaly-tabs button{display:inline-flex;align-items:center;justify-content:center;gap:10px;min-height:44px;border:1px solid #bac8bf!important;border-radius:6px!important;background:#fff!important;padding:9px 14px!important;color:#344b3d!important;font-size:14px;font-weight:500;line-height:22px;box-shadow:none!important;cursor:pointer;white-space:nowrap;transition:background-color .12s,border-color .12s}
.anomaly-workspace .anomaly-tabs button:hover{background:#f0f5f2!important;border-color:#819b8a!important}
.anomaly-workspace .anomaly-tabs button[aria-pressed=true]{background:#293f33!important;border-color:#293f33!important;color:#fff!important}
.anomaly-workspace .anomaly-tabs button:focus-visible{outline:3px solid #739580;outline-offset:3px}
.anomaly-tabs button>span{display:inline-flex;justify-content:center;align-items:center;min-width:26px;padding:0 7px;height:24px;border-radius:4px;background:#edf2ee;color:#405748;font-size:12px;line-height:24px;font-weight:600;font-variant-numeric:tabular-nums;margin:0}
.anomaly-tabs button[aria-pressed=true]>span{background:#fff;color:#24382e}
.anomaly-filters{display:flex;gap:14px;align-items:flex-end;flex-wrap:wrap;padding:20px 0 6px}.anomaly-filters label{display:grid;gap:7px;font-size:12px;color:#5f6964}.anomaly-filters input,.anomaly-filters select{height:36px;min-width:140px}.anomaly-filters button{height:36px}.anomaly-table{width:100%;table-layout:fixed;border-collapse:collapse}.anomaly-table th{font-size:12px;color:#68716e;background:transparent!important;text-align:left;font-weight:500;padding:12px}.anomaly-table th:nth-child(1){width:16%}.anomaly-table th:nth-child(2){width:20%}.anomaly-table th:nth-child(3){width:24%}.anomaly-table th:nth-child(4){width:24%}.anomaly-table th:nth-child(5){width:16%}.anomaly-table td{vertical-align:top;padding:16px 12px;text-align:left!important;border-top:1px solid #e9ece9;background:transparent!important;word-break:break-word;line-height:1.65;font-size:13px}.anomaly-table td>strong,.anomaly-table td>small{display:block}.anomaly-table p{margin:6px 0}.anomaly-table small{color:#727b76;font-size:12px}.anomaly-state{font-size:12px;padding:3px 7px;border-radius:3px;display:inline-block}.anomaly-state.is-warning{background:#fff5d6;color:#805500}.anomaly-state.is-ng{background:#fff0ed;color:#a13829}.anomaly-actions{display:flex;gap:8px;flex-wrap:wrap}.anomaly-actions button,.anomaly-link{font-size:12px!important;background:transparent!important;color:#334b40!important;border:1px solid #dce3de!important;padding:5px 8px!important;box-shadow:none!important}.anomaly-link{display:block;border:0!important;padding:2px 0!important;text-align:left}.anomaly-empty{height:140px;text-align:center!important;color:#68716e}.anomaly-workspace footer{padding-top:18px;border-top:1px solid #e9ece9}
.anomaly-cause{display:block;margin-top:7px;font-weight:500}
.anomaly-workspace .anomaly-filters{margin:0;padding:16px 0;border-top:1px solid #e6ebe7;gap:12px}
.anomaly-workspace .anomaly-filters input,.anomaly-workspace .anomaly-filters select,.anomaly-workspace .anomaly-filters button{height:40px}
.anomaly-workspace .table-wrap{overflow-x:auto}.anomaly-table{min-width:880px}
@media(max-width:1100px){.anomaly-summary{grid-template-columns:repeat(3,minmax(0,1fr))}.anomaly-tabs{display:grid;grid-template-columns:repeat(3,minmax(0,1fr))}.anomaly-workspace .anomaly-tabs button{justify-content:space-between}.anomaly-filters label{flex:1 1 160px;min-width:0}.anomaly-filters select,.anomaly-filters input{width:100%;min-width:0}}
@media(max-width:640px){.anomaly-workspace{padding:16px!important;border-radius:6px!important}.anomaly-workspace .anomaly-heading{display:block!important;margin-bottom:16px}.anomaly-query-scope{display:block;margin-top:6px}.anomaly-summary{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin-bottom:20px}.anomaly-summary .anomaly-metric{padding:12px 14px;gap:6px}.anomaly-summary strong{font-size:26px;line-height:30px}.anomaly-tabs{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.anomaly-workspace .anomaly-tabs button{padding:9px 10px!important;font-size:13px;gap:6px}.anomaly-quick-heading{gap:8px}.anomaly-quick-heading>span{font-size:12px}.anomaly-filters label{flex:1 1 130px}.anomaly-filters button{min-height:44px}}

/* One desktop operation bar; keep the existing anomaly table and filter geometry. */
#content .manual-review{display:grid;grid-template-columns:minmax(240px,1fr) minmax(240px,1.2fr) auto;gap:18px;align-items:center;margin:4px 0 14px;padding:14px 16px;background:#f7f9f7;border:1px solid #dfe6e0;border-radius:6px}
.manual-review-main>div{display:flex;align-items:center;gap:10px}.manual-review h3{margin:0;font-size:14px;line-height:22px;color:#26382f}.manual-review-mode{font-size:12px;color:#5a695e}
.manual-review-main p{margin:5px 0 0;font-size:12px;color:#5a695e;line-height:20px}.manual-review-status{display:grid;gap:4px;min-width:0}.manual-review-status strong{font-size:13px;line-height:20px;font-weight:600;color:#26382f}.manual-review-status span,.manual-review-status small{font-size:12px;line-height:18px;color:#5a695e;font-variant-numeric:tabular-nums}.manual-review-status progress{width:100%;height:5px;accent-color:#293f33}
.manual-review-actions{display:flex;align-items:center;gap:8px}.manual-review-actions button{height:36px;min-height:36px;white-space:nowrap;font-size:13px;padding:7px 12px!important;border-radius:5px!important;box-shadow:none!important}.manual-review-actions button:disabled{opacity:.55;cursor:not-allowed}.manual-review-actions button:focus-visible{outline:2px solid #739580;outline-offset:3px}

/* Capture spacing is review-only metadata. */
.anomaly-table{min-width:1200px}.anomaly-table th:nth-child(1){width:10%}.anomaly-table th:nth-child(2){width:13%}.anomaly-table th:nth-child(3){width:13%}.anomaly-table th:nth-child(4){width:18%}.anomaly-table th:nth-child(5){width:19%}.anomaly-table th:nth-child(6){width:10%}.anomaly-table th:nth-child(7){width:8%}.anomaly-table th:nth-child(8){width:9%}.capture-spacing strong{font-variant-numeric:tabular-nums;white-space:nowrap}.capture-speed{display:inline-block;padding:3px 6px;border-radius:4px;background:#eef2ef;color:#42564a;white-space:nowrap}.capture-speed.is-fast,.anomaly-table .capture-spacing-warning{background:#fff1df;color:#8b450b}.anomaly-table .capture-spacing-warning{padding:8px;border-radius:4px;font-weight:600}

/* Keep all eight columns visible despite later shared table rules. */
#content .anomaly-workspace .anomaly-table{table-layout:fixed;width:100%;min-width:1200px}
#content .anomaly-workspace .anomaly-table th:nth-child(1){width:10%;box-sizing:border-box}
#content .anomaly-workspace .anomaly-table th:nth-child(2){width:13%;box-sizing:border-box}
#content .anomaly-workspace .anomaly-table th:nth-child(3){width:13%;box-sizing:border-box}
#content .anomaly-workspace .anomaly-table th:nth-child(4){width:18%;box-sizing:border-box}
#content .anomaly-workspace .anomaly-table th:nth-child(5){width:19%;box-sizing:border-box}
#content .anomaly-workspace .anomaly-table th:nth-child(6){width:10%;box-sizing:border-box}
#content .anomaly-workspace .anomaly-table th:nth-child(7){width:8%;box-sizing:border-box}
#content .anomaly-workspace .anomaly-table th:nth-child(8){width:9%;box-sizing:border-box}
#content .anomaly-workspace .anomaly-table td{white-space:normal;overflow-wrap:anywhere}

/* Historical event mode: nine columns total 100%, existing table scroll retained. */
#content .anomaly-workspace .anomaly-table{min-width:1320px}
#content .anomaly-workspace .anomaly-table th:nth-child(1){width:10%;box-sizing:border-box}
#content .anomaly-workspace .anomaly-table th:nth-child(2){width:12%;box-sizing:border-box}
#content .anomaly-workspace .anomaly-table th:nth-child(3){width:8%;box-sizing:border-box}
#content .anomaly-workspace .anomaly-table th:nth-child(4){width:12%;box-sizing:border-box}
#content .anomaly-workspace .anomaly-table th:nth-child(5){width:17%;box-sizing:border-box}
#content .anomaly-workspace .anomaly-table th:nth-child(6){width:17%;box-sizing:border-box}
#content .anomaly-workspace .anomaly-table th:nth-child(7){width:8%;box-sizing:border-box}
#content .anomaly-workspace .anomaly-table th:nth-child(8){width:7%;box-sizing:border-box}
#content .anomaly-workspace .anomaly-table th:nth-child(9){width:9%;box-sizing:border-box}
.event-operating-mode{display:inline-block;white-space:nowrap;font-size:13px;line-height:22px;color:#344b3d}.event-operating-mode[data-event-mode="UNKNOWN"]{color:#68716e}
#content .trace-console-page .rev-table-fixed{min-width:1320px}
