:root{--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light;--page:#f3f3ef;--surface:#fcfcfb;--surface-2:#f6f6f3;--surface-hover:#f0efea;--ink:#0b0b0b;--ink-2:#52514e;--muted:#7a7873;--grid:#e1e0d9;--axis:#c3c2b7;--border:#0b0b0b1a;--border-strong:#0b0b0b2e;--accent:#2a78d6;--accent-ink:#1c5cab;--accent-wash:#2a78d61a;--s1:#2a78d6;--s2:#eb6834;--s3:#1baf7a;--s4:#eda100;--s5:#e87ba4;--good:#0ca30c;--good-ink:#006300;--warning:#fab219;--warning-ink:#8a5a00;--serious:#ec835a;--critical:#d03b3b;--critical-ink:#b02a2a;--div-neg:#2a78d6;--div-pos:#d03b3b;--shadow:0 1px 2px #0b0b0b0a, 0 1px 1px #0b0b0b08;--radius:10px;--radius-sm:6px;--font:system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;--mono:ui-monospace, "Cascadia Code", "SF Mono", Menlo, Consolas, monospace}@media (prefers-color-scheme:dark){:root:where(:not([data-theme=light])){--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark;--page:#0d0d0d;--surface:#1a1a19;--surface-2:#212120;--surface-hover:#262625;--ink:#fff;--ink-2:#c3c2b7;--muted:#8f8d86;--grid:#2c2c2a;--axis:#383835;--border:#ffffff1a;--border-strong:#ffffff2e;--accent:#3987e5;--accent-ink:#86b6ef;--accent-wash:#3987e529;--s1:#3987e5;--s2:#d95926;--s3:#199e70;--s4:#c98500;--s5:#d55181;--good-ink:#0ca30c;--warning-ink:#fab219;--critical-ink:#e66767;--div-neg:#3987e5;--div-pos:#e66767;--shadow:none}}:root[data-theme=dark]{--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark;--page:#0d0d0d;--surface:#1a1a19;--surface-2:#212120;--surface-hover:#262625;--ink:#fff;--ink-2:#c3c2b7;--muted:#8f8d86;--grid:#2c2c2a;--axis:#383835;--border:#ffffff1a;--border-strong:#ffffff2e;--accent:#3987e5;--accent-ink:#86b6ef;--accent-wash:#3987e529;--s1:#3987e5;--s2:#d95926;--s3:#199e70;--s4:#c98500;--s5:#d55181;--good-ink:#0ca30c;--warning-ink:#fab219;--critical-ink:#e66767;--div-neg:#3987e5;--div-pos:#e66767;--shadow:none}*{box-sizing:border-box}html,body{margin:0;padding:0}body{background:var(--page);color:var(--ink);font:14px/1.45 var(--font);-webkit-font-smoothing:antialiased}button,input,select,textarea{font:inherit;color:inherit}a{color:var(--accent-ink);text-decoration:none}a:hover{text-decoration:underline}:focus-visible{outline:2px solid var(--accent);outline-offset:2px;border-radius:4px}.num,td.num,th.num{font-variant-numeric:tabular-nums;text-align:right}.mono{font-family:var(--mono);font-size:12.5px}.muted{color:var(--muted)}.ink2{color:var(--ink-2)}.small{font-size:12px}.nowrap{white-space:nowrap}.truncate{text-overflow:ellipsis;white-space:nowrap;max-width:460px;overflow:hidden}.sr-only{clip:rect(0 0 0 0);white-space:nowrap;width:1px;height:1px;position:absolute;overflow:hidden}.app{grid-template-columns:232px minmax(0,1fr);min-height:100vh;display:grid}.sidebar{border-right:1px solid var(--border);background:var(--surface);flex-direction:column;gap:4px;height:100vh;padding:18px 12px;display:flex;position:sticky;top:0}.brand{align-items:center;gap:10px;padding:4px 8px 18px;display:flex}.brand-name{letter-spacing:-.01em;font-size:15px;font-weight:650}.brand-name span{color:var(--muted);font-weight:500}.nav{flex-direction:column;gap:2px;display:flex}.nav a{border-radius:var(--radius-sm);color:var(--ink-2);align-items:center;gap:10px;padding:8px 10px;font-weight:500;text-decoration:none;display:flex}.nav a:hover{background:var(--surface-hover);color:var(--ink)}.nav a.active{background:var(--accent-wash);color:var(--accent-ink)}.nav a .count{font-variant-numeric:tabular-nums;color:var(--muted);margin-left:auto;font-size:11.5px}.nav a.active .count{color:var(--accent-ink)}.sidebar-foot{border-top:1px solid var(--border);flex-direction:column;gap:8px;margin-top:auto;padding:10px 8px 0;display:flex}.main{min-width:0;padding:24px 28px 48px}.page-head{flex-wrap:wrap;justify-content:space-between;align-items:flex-end;gap:16px;margin-bottom:18px;display:flex}.page-head h1{letter-spacing:-.015em;margin:0;font-size:22px;font-weight:650}.page-head p{color:var(--ink-2);max-width:760px;margin:4px 0 0}.grid{gap:16px;display:grid}.cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.cols-3{grid-template-columns:repeat(3,minmax(0,1fr))}.cols-2-1{grid-template-columns:minmax(0,2fr) minmax(0,1fr)}.cols-1-2{grid-template-columns:minmax(0,1fr) minmax(0,2fr)}.kpis{grid-template-columns:repeat(auto-fit,minmax(170px,1fr));gap:12px;display:grid}.stack{flex-direction:column;gap:16px;display:flex}.row{flex-wrap:wrap;align-items:center;gap:10px;display:flex}.spread{justify-content:space-between;align-items:center;gap:10px;display:flex}.card{background:var(--surface);border:1px solid var(--border);border-radius:var(--radius);box-shadow:var(--shadow);min-width:0}.card-head{justify-content:space-between;align-items:flex-start;gap:12px;padding:14px 16px 0;display:flex}.card-head h2{margin:0;font-size:14px;font-weight:620}.card-head .sub{color:var(--muted);margin:2px 0 0;font-size:12.5px}.card-body{padding:12px 16px 16px}.card-body.flush{padding:8px 0 0}.note{color:var(--muted);margin:10px 0 0;font-size:12px}.callout{border-radius:var(--radius-sm);background:var(--surface-2);border:1px solid var(--border);color:var(--ink-2);align-items:flex-start;gap:10px;padding:10px 12px;font-size:12.5px;display:flex}.callout.warn{border-color:color-mix(in srgb, var(--warning) 55%, transparent)}.stat{padding:14px 16px}.stat .label{color:var(--ink-2);font-size:12.5px}.stat .value{letter-spacing:-.02em;margin-top:4px;font-size:24px;font-weight:640}.stat .sub{color:var(--muted);margin-top:2px;font-size:12px}.btn{border-radius:var(--radius-sm);border:1px solid var(--border-strong);background:var(--surface);cursor:pointer;white-space:nowrap;align-items:center;gap:6px;height:32px;padding:0 12px;font-weight:550;display:inline-flex}.btn:hover:not(:disabled){background:var(--surface-hover)}.btn:disabled{opacity:.45;cursor:not-allowed}.btn.primary{background:var(--accent);border-color:var(--accent);color:#fff}.btn.primary:hover:not(:disabled){background:var(--accent-ink)}.btn.danger{color:var(--critical-ink)}.btn.good{color:var(--good-ink)}.btn.sm{height:28px;padding:0 10px;font-size:13px}.input,.select{border-radius:var(--radius-sm);border:1px solid var(--border-strong);background:var(--surface);min-width:0;height:32px;padding:0 10px}textarea.input{resize:vertical;width:100%;height:auto;padding:8px 10px}.field{color:var(--ink-2);flex-direction:column;gap:4px;font-size:12.5px;display:flex}.seg{border:1px solid var(--border-strong);border-radius:var(--radius-sm);display:inline-flex;overflow:hidden}.seg button{cursor:pointer;height:30px;color:var(--ink-2);background:0 0;border:0;padding:0 11px;font-weight:520}.seg button+button{border-left:1px solid var(--border)}.seg button.on{background:var(--accent-wash);color:var(--accent-ink)}input[type=range]{accent-color:var(--accent);width:100%}.badge{border:1px solid var(--border);background:var(--surface-2);height:22px;color:var(--ink-2);white-space:nowrap;border-radius:999px;align-items:center;gap:6px;padding:0 8px;font-size:12px;font-weight:560;display:inline-flex}.badge .dot{background:currentColor;border-radius:50%;flex:none;width:7px;height:7px}.badge.low .dot,.badge.approve .dot,.badge.ok .dot,.badge.legitimate .dot{background:var(--good)}.badge.medium .dot,.badge.review .dot,.badge.warn .dot,.badge.open .dot,.badge.escalated .dot{background:var(--warning)}.badge.high .dot,.badge.decline .dot,.badge.alert .dot,.badge.confirmed_fraud .dot,.badge.failed .dot{background:var(--critical)}.badge.info .dot,.badge.running .dot{background:var(--accent)}.badge.synthetic{color:var(--ink-2);border-style:dashed}.live-dot{background:var(--good);border-radius:50%;width:8px;height:8px;animation:2s infinite pulse;box-shadow:0 0 #0ca30c80}.live-dot.off{background:var(--muted);animation:none}@keyframes pulse{0%{box-shadow:0 0 #0ca30c73}70%{box-shadow:0 0 0 7px #0ca30c00}to{box-shadow:0 0 #0ca30c00}}.table-wrap{overflow-x:auto}table.data{border-collapse:collapse;width:100%;font-size:13px}table.data th{text-align:left;color:var(--muted);border-bottom:1px solid var(--border);white-space:nowrap;background:var(--surface);padding:8px 12px;font-size:12px;font-weight:560;position:sticky;top:0}table.data td{border-bottom:1px solid var(--border);vertical-align:middle;padding:9px 12px}table.data tbody tr:hover{background:var(--surface-hover)}table.data tbody tr.clickable{cursor:pointer}table.data tbody tr.fresh{animation:1.6s ease-out fresh}@keyframes fresh{0%{background:var(--accent-wash)}to{background:0 0}}table.data tbody tr.selected{background:var(--accent-wash)}.scroll-y{max-height:560px;overflow-y:auto}.pbar{align-items:center;gap:8px;min-width:120px;display:flex}.pbar .track{background:var(--surface-hover);border-radius:3px;flex:1;height:6px;overflow:hidden}.pbar .fill{background:var(--accent);border-radius:3px;height:100%}.pbar .fill.medium{background:var(--warning)}.pbar .fill.high{background:var(--critical)}.pbar .v{text-align:right;font-variant-numeric:tabular-nums;width:52px;font-size:12.5px}.chart{width:100%;position:relative}.chart svg{width:100%;height:auto;display:block;overflow:visible}.chart text{fill:var(--muted);font-size:11px;font-family:var(--font)}.chart .gridline{stroke:var(--grid);stroke-width:1px;shape-rendering:crispedges}.chart .axisline{stroke:var(--axis);stroke-width:1px;shape-rendering:crispedges}.chart .crosshair{stroke:var(--axis);stroke-width:1px}.tooltip{pointer-events:none;z-index:5;background:var(--surface);border:1px solid var(--border-strong);border-radius:8px;min-width:140px;padding:8px 10px;font-size:12px;position:absolute;box-shadow:0 6px 20px #0000001f}.tooltip .t{color:var(--muted);margin-bottom:4px}.tooltip .r{justify-content:space-between;align-items:center;gap:8px;display:flex}.tooltip .r .k{color:var(--ink-2);align-items:center;gap:6px;display:flex}.tooltip .r b{font-variant-numeric:tabular-nums;color:var(--ink);font-weight:640}.key{border-radius:1px;width:12px;height:2px;display:inline-block}.key.box{border-radius:2px;width:10px;height:10px}.legend{color:var(--ink-2);flex-wrap:wrap;gap:6px 14px;margin-bottom:8px;font-size:12px;display:flex}.legend span{align-items:center;gap:6px;display:inline-flex}.case-layout{grid-template-columns:340px minmax(0,1fr);align-items:start;gap:16px;display:grid}.queue{max-height:calc(100vh - 170px);overflow-y:auto}.queue-item{border-bottom:1px solid var(--border);cursor:pointer;grid-template-columns:1fr auto;gap:2px 8px;padding:10px 14px;display:grid}.queue-item:hover{background:var(--surface-hover)}.queue-item.active{background:var(--accent-wash)}.queue-item .id{font-family:var(--mono);text-overflow:ellipsis;white-space:nowrap;font-size:12px;overflow:hidden}.hero-prob{letter-spacing:-.03em;font-size:40px;font-weight:660;line-height:1}.kv{grid-template-columns:max-content 1fr;gap:6px 16px;margin:0;font-size:13px;display:grid}.kv dt{color:var(--muted)}.kv dd{font-variant-numeric:tabular-nums;margin:0}.timeline{margin:0;padding:0;list-style:none}.timeline li{padding:0 0 12px 18px;font-size:13px;position:relative}.timeline li:before{content:"";background:var(--axis);border-radius:50%;width:7px;height:7px;position:absolute;top:6px;left:4px}.timeline li:after{content:"";background:var(--grid);width:1px;position:absolute;top:16px;bottom:0;left:7px}.timeline li:last-child:after{display:none}.signal{border-bottom:1px solid var(--border);grid-template-columns:1fr auto;gap:4px 12px;padding:10px 0;display:grid}.signal:last-child{border-bottom:0}.meter{background:var(--accent-wash);border-radius:3px;grid-column:1/-1;height:6px;overflow:hidden}.meter>div{background:var(--accent);border-radius:3px;height:100%}.empty{text-align:center;color:var(--muted);padding:40px 16px}.err{color:var(--critical-ink);font-size:13px}.fade{transition:opacity .2s}.fade.loading{opacity:.6}@media (width<=1180px){.cols-3{grid-template-columns:repeat(2,minmax(0,1fr))}.case-layout{grid-template-columns:280px minmax(0,1fr)}}@media (width<=900px){.app{grid-template-columns:1fr}.sidebar{z-index:10;border-right:0;border-bottom:1px solid var(--border);flex-direction:row;align-items:center;height:auto;padding:8px 12px;position:sticky;top:0;overflow-x:auto}.brand{padding:0 8px 0 0}.brand-name{display:none}.nav{flex-direction:row}.nav a{white-space:nowrap;padding:7px 9px}.nav a .count,.sidebar-foot{display:none}.main{padding:16px 16px 40px}.cols-2,.cols-3,.cols-2-1,.cols-1-2,.case-layout{grid-template-columns:minmax(0,1fr)}.queue{max-height:320px}}@media (prefers-reduced-motion:reduce){*{transition:none!important;animation:none!important}}.mt{margin-top:16px}
