:root{color:#171717;background:#fbfbfb;font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif}*{box-sizing:border-box}body{margin:0;min-height:100vh;background:#fbfbfb}.auth-shell{display:flex;align-items:center;justify-content:center;min-height:100vh;padding:24px}.auth-card{max-width:560px;padding:28px;border-radius:22px;border:1px solid #e5e5e5;background:#fff;box-shadow:0 18px 40px #17171714}.auth-brand{display:flex;align-items:center;gap:14px}.auth-brand img{width:40px;height:40px}.lede{color:#525252;margin:14px 0 18px}.app-shell{max-width:1340px;margin:0 auto;padding:22px 22px 60px}.topbar{display:flex;justify-content:space-between;align-items:flex-start;gap:20px;margin-bottom:20px}.topbar-brand{display:flex;align-items:center;gap:12px}.topbar-brand img{width:36px;height:36px}.eyebrow{color:#737373;font-size:.74rem;font-weight:700;letter-spacing:.14em;text-transform:uppercase}.topbar-title{margin:2px 0 0;font-size:1.6rem;letter-spacing:-.03em}.topbar-right{display:flex;flex-direction:column;align-items:flex-end;gap:10px}.tab-nav{display:flex;gap:6px}.tab-nav button{background:#fff;border:1px solid #e5e5e5;border-radius:999px;padding:6px 14px;font:inherit;color:#525252;cursor:pointer}.tab-nav button.active{background:#6d3bd7;border-color:#6d3bd7;color:#fff;font-weight:600}.session-chip{display:inline-flex;align-items:center;gap:10px;padding:6px 10px;border:1px solid #e5e5e5;border-radius:999px;background:#fff;color:#525252;font-size:.9rem}button{border:0;border-radius:999px;padding:8px 14px;background:#6d3bd7;color:#fff;font:inherit;font-weight:600;cursor:pointer}button.ghost-button{background:#fff;color:#525252;border:1px solid #e5e5e5;font-weight:500;padding:4px 10px}.back-link{color:#525252;text-decoration:none;font-size:.85rem}.back-link:hover{color:#6d3bd7}.banner{padding:10px 14px;border-radius:12px;background:#eff3ff;color:#1e40af;margin:8px 0;font-size:.9rem}.banner.error{background:#fee2e2;color:#991b1b}.banner.compact{padding:8px 12px;font-size:.85rem}.empty-state{padding:28px;color:#737373;background:#fff;border:1px dashed #e5e5e5;border-radius:16px;text-align:center}.empty-state.compact{padding:14px;border-radius:10px;text-align:left;font-size:.88rem}.code-block{background:#0f172a;color:#e2e8f0;padding:12px 14px;border-radius:10px;overflow-x:auto;font-size:.82rem;line-height:1.5}.pill{display:inline-flex;align-items:center;padding:3px 9px;border-radius:999px;background:#6d3bd71a;color:#6d3bd7;font-size:.78rem;font-weight:600}.pill.muted{background:#f4f4f5;color:#737373}.pill.warning{background:#fef3c7;color:#92400e}.pill.platform.polymarket{background:#dbeafe;color:#1e40af}.pill.platform.kalshi,.pill.verdict-relevant{background:#dcfce7;color:#166534}.pill.verdict-borderline{background:#fef3c7;color:#92400e}.pill.verdict-irrelevant{background:#fee2e2;color:#991b1b}.pill.h2h-polybridge{background:#dcfce7;color:#166534}.pill.h2h-polymarket{background:#fee2e2;color:#991b1b}.pill.h2h-tie{background:#f4f4f5;color:#525252}.pill.h2h-both_junk{background:#f4f4f5;color:#737373}.dashboard-page{display:flex;flex-direction:column;gap:14px}.card-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:14px}.stat-card{padding:16px 18px;border-radius:16px;border:1px solid #e5e5e5;background:#fff;box-shadow:0 8px 22px #1717170a}.stat-card.accent{border-color:#6d3bd74d;background:#faf8ff}.stat-label{color:#737373;font-size:.78rem;font-weight:600;letter-spacing:.05em;text-transform:uppercase;margin-bottom:4px}.stat-value{font-size:1.6rem;font-weight:700;letter-spacing:-.01em}.stat-value.small{font-size:1rem;font-weight:600;letter-spacing:0}.stat-value.h2h-polybridge{color:#166534}.stat-value.h2h-polymarket{color:#991b1b}.stat-sub{color:#737373;font-size:.78rem;margin-top:4px}.breakdown-list{display:flex;flex-direction:column;gap:6px;margin-top:8px}.breakdown-row{display:grid;grid-template-columns:1fr 140px 40px;align-items:center;gap:8px;font-size:.84rem}.breakdown-label{color:#525252;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.breakdown-bar{background:#f4f4f5;height:8px;border-radius:4px;overflow:hidden}.breakdown-fill{background:#6d3bd7;height:100%}.breakdown-count{color:#737373;text-align:right}.runs-page{display:grid;grid-template-columns:340px 1fr;gap:16px;height:calc(100vh - 140px);min-height:560px}.run-list{background:#fff;border:1px solid #e5e5e5;border-radius:16px;display:flex;flex-direction:column;overflow:hidden}.filter-row{display:flex;gap:12px;padding:10px 12px;border-bottom:1px solid #e5e5e5;background:#fafafa;font-size:.88rem;color:#525252}.filter-row select{background:#fff;border:1px solid #e5e5e5;border-radius:8px;padding:4px 8px;font:inherit;font-size:.88rem}.filter-row label{display:inline-flex;align-items:center;gap:6px}.run-list-scroll{overflow-y:auto;flex:1}.run-row{display:flex;flex-direction:column;gap:6px;padding:10px 12px;border-radius:0;background:transparent;border:0;border-bottom:1px solid #f4f4f5;cursor:pointer;text-align:left;width:100%;color:#171717;font-weight:400}.run-row:hover{background:#faf8ff}.run-row.selected{background:#faf8ff;border-left:3px solid #6d3bd7;padding-left:9px}.run-row-top{display:flex;justify-content:space-between;align-items:center;gap:8px}.run-title{font-weight:600;font-size:.92rem;line-height:1.25;overflow:hidden;text-overflow:ellipsis;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical}.run-row-meta{display:flex;gap:6px;flex-wrap:wrap}.run-detail-wrap{overflow-y:auto}.run-detail{background:#fff;border:1px solid #e5e5e5;border-radius:16px;padding:20px;display:flex;flex-direction:column;gap:16px}.run-detail.empty-state{padding:40px}.run-detail-header{display:flex;justify-content:space-between;align-items:flex-start;gap:16px}.run-detail-header h2{margin:6px 0 4px;font-size:1.3rem;letter-spacing:-.02em;line-height:1.25}.run-url{color:#6d3bd7;font-size:.82rem;text-decoration:none;word-break:break-all}.run-url:hover{text-decoration:underline}.run-detail-stats{display:flex;gap:6px;flex-wrap:wrap;align-items:flex-end}.metrics-bar{display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:10px;padding:14px;background:#fafafa;border-radius:12px}.metric-cell{display:flex;flex-direction:column;gap:2px}.metric-label{color:#737373;font-size:.72rem;text-transform:uppercase;letter-spacing:.06em;font-weight:600}.metric-value{font-size:1.1rem;font-weight:700}.metric-value.h2h-polybridge{color:#166534}.metric-value.h2h-polymarket{color:#991b1b}.metric-value.small{font-size:.9rem;font-weight:500}.overall-reasoning{padding:10px 14px;background:#f8fafc;border-left:3px solid #6d3bd7;font-size:.9rem;color:#334155;border-radius:0 10px 10px 0}.three-col{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.system-col{background:#fafafa;border:1px solid #e5e5e5;border-radius:12px;padding:12px;min-width:0}.system-col-header{display:flex;justify-content:space-between;align-items:baseline;margin-bottom:10px}.system-col-header h3{margin:0;font-size:1rem}.system-col-sub{color:#737373;font-size:.8rem}.ads-verdict-banner{padding:6px 10px;border-radius:8px;font-size:.82rem;font-weight:600;margin-bottom:8px}.ads-verdict-banner.ads-good_ad{background:#dcfce7;color:#166534}.ads-verdict-banner.ads-ok{background:#dbeafe;color:#1e40af}.ads-verdict-banner.ads-bad{background:#fee2e2;color:#991b1b}.ads-verdict-banner.ads-correctly_abstained{background:#f0fdf4;color:#166534}.ads-verdict-banner.ads-wrongly_abstained{background:#fef3c7;color:#92400e}.result-list{list-style:none;padding:0;margin:0;display:flex;flex-direction:column;gap:8px}.result-row{padding:8px 10px;background:#fff;border:1px solid #e5e5e5;border-radius:10px}.result-header{display:flex;gap:6px;align-items:center;margin-bottom:4px;flex-wrap:wrap}.result-rank{font-weight:700;font-size:.85rem;color:#737373}.result-question{font-size:.88rem;font-weight:500;line-height:1.3}.result-reasoning{font-size:.78rem;color:#737373;margin-top:4px;font-style:italic}.raw-detail{background:#fafafa;border:1px solid #e5e5e5;border-radius:12px;padding:8px 12px}.raw-detail summary{cursor:pointer;color:#525252;font-size:.85rem;font-weight:600;padding:4px 0}.raw-detail pre{max-height:400px;overflow:auto;background:#0f172a;color:#e2e8f0;padding:12px;border-radius:8px;font-size:.75rem;line-height:1.4}.override-banner{padding:6px 10px;border-radius:8px;background:#6d3bd714;color:#6d3bd7;font-size:.78rem;font-weight:600;margin-bottom:8px}.override-toggle{margin-top:10px;width:100%;background:#fff;color:#525252;border:1px dashed #d4d4d8;border-radius:10px;padding:8px 10px;font-size:.82rem;font-weight:500}.override-toggle:hover{border-color:#6d3bd7;color:#6d3bd7}.override-form{margin-top:10px;padding:12px;background:#fff;border:1px solid rgba(109,59,215,.25);border-radius:10px;display:flex;flex-direction:column;gap:10px}.override-header{display:flex;justify-content:space-between;align-items:center;font-size:.88rem}.override-rows{display:flex;flex-direction:column;gap:8px}.override-row{display:flex;flex-direction:column;gap:4px;padding:6px 8px;background:#fafafa;border-radius:8px}.override-row-question{display:flex;align-items:center;gap:6px;flex-wrap:wrap}.override-question{font-size:.84rem;line-height:1.3}.verdict-buttons{display:flex;gap:6px}.verdict-btn{flex:1;background:#fff;color:#525252;border:1px solid #e5e5e5;border-radius:999px;padding:4px 10px;font-size:.78rem;font-weight:500;cursor:pointer}.verdict-btn:hover{border-color:#6d3bd7}.verdict-btn.verdict-relevant.selected{background:#dcfce7;color:#166534;border-color:#166534}.verdict-btn.verdict-borderline.selected{background:#fef3c7;color:#92400e;border-color:#92400e}.verdict-btn.verdict-irrelevant.selected{background:#fee2e2;color:#991b1b;border-color:#991b1b}.override-notes{width:100%;background:#fafafa;border:1px solid #e5e5e5;border-radius:8px;padding:8px;font:inherit;font-size:.85rem;resize:vertical}.override-actions{display:flex;justify-content:flex-end}.override-actions button{padding:6px 14px;font-size:.85rem}.adhoc-page .adhoc-panel{max-width:760px;padding:28px;background:#fff;border:1px solid #e5e5e5;border-radius:16px}.adhoc-panel h2{margin-top:0}.adhoc-panel p{color:#525252;line-height:1.5}@media(max-width:900px){.runs-page{grid-template-columns:1fr;height:auto}.three-col{grid-template-columns:1fr}}
