.insight-page-heading,.insight-list-heading,.insight-section-heading,.insight-detail-toolbar,.insight-answer-heading{display:flex;align-items:center;justify-content:space-between;gap:18px;margin:0 0 22px}.insight-page-heading p{margin:4px 0 0}.insight-actions{display:flex;align-items:center;gap:12px}.insight-actions a{font-size:12px}.insight-metrics{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;margin-bottom:22px}.agentpair-web .insight-metrics .card{display:flex;flex-direction:column;min-width:0;padding:18px}.insight-label{font-size:12px;color:var(--ap-muted)}.insight-metrics strong{font-size:29px;font-weight:600;line-height:1.4;margin:8px 0 3px;font-variant-numeric:tabular-nums}.insight-metrics strong.insight-time{font-size:19px;line-height:1.7}.insight-metrics small{font-size:11px;color:var(--ap-muted)}.agentpair-web .insight-reception.card{display:flex;align-items:center;gap:13px;padding:16px 18px;margin-bottom:26px}.agentpair-web .insight-reception h2{font-size:14px;margin:0}.insight-reception p{font-size:12px;margin:3px 0 0}.insight-reception>a{font-size:12px;margin-left:auto;white-space:nowrap}.insight-indicator{height:8px;width:8px;border-radius:50%;background:var(--ap-primary);flex-shrink:0}.insight-list-heading{margin-bottom:12px}.insight-list-heading h2,.insight-section-heading h3{margin:0}.insight-toolbar{display:flex;align-items:center;gap:12px;margin-bottom:14px}.insight-toolbar label{margin:0}.insight-toolbar .insight-search{flex:1}.insight-toolbar input{width:100%;margin:0}.insight-toolbar select{margin:0}.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap}.agentpair-web .insight-session-table.card{padding:0;overflow-x:auto}.insight-session-table table{table-layout:fixed;min-width:780px}.insight-session-table th:first-child{width:38%}.insight-session-table th:nth-child(2){width:18%}.insight-session-table th:nth-child(3){width:8%}.insight-session-table th:nth-child(4),.insight-session-table th:nth-child(5){width:18%}.insight-session-table tbody tr:last-child td{border-bottom:0}.insight-session-title{font-size:14px;font-weight:500;line-height:1.55}.insight-session-title a{display:block}.insight-session-summary{font-size:12px;color:var(--ap-muted);margin:5px 0;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.insight-session-meta{font-size:11px;color:var(--ap-muted);display:flex;gap:7px;flex-wrap:wrap;margin-top:6px}.insight-session-meta span+span:before{content:'·';margin-right:7px;color:#ACB4BF}.insight-date{font-size:12px;line-height:1.8;color:var(--ap-muted);font-variant-numeric:tabular-nums}.insight-date span{display:block}.insight-status{display:inline-flex;align-items:center;gap:5px;padding:4px 7px;border-radius:5px;font-size:12px;background:#F0F2F5;color:var(--ap-muted);white-space:nowrap}.insight-status:before{content:'';width:5px;height:5px;border-radius:50%;background:currentColor}.insight-status.completed{background:var(--ap-success-soft);color:var(--ap-success)}.insight-status.queued,.insight-status.running{background:var(--ap-primary-soft);color:var(--ap-primary)}.insight-status.waiting,.insight-status.stale{background:var(--ap-attention-soft);color:var(--ap-attention)}.insight-status.failed{background:var(--ap-danger-soft);color:var(--ap-danger)}.insight-empty{padding:36px 22px;color:var(--ap-muted);text-align:center;font-size:13px}.insight-pagination{display:flex;align-items:center;justify-content:flex-end;gap:8px;margin-top:14px}.insight-pagination>span{margin-right:auto;font-size:12px}.insight-error{display:flex;align-items:center;gap:14px;border:1px solid #F0D2D3;background:var(--ap-danger-soft);color:var(--ap-danger);border-radius:7px;padding:12px 15px;margin-bottom:18px}.insight-error button{margin-left:auto;flex-shrink:0}.insight-detail-toolbar{margin-bottom:16px}.insight-detail-toolbar>button:last-child{margin-left:auto}.insight-answer-heading{align-items:flex-start;margin-bottom:12px}.agentpair-web .insight-answer-heading h2{font-size:20px;margin:6px 0 0}.insight-answer-text{font-size:17px;line-height:1.7;margin:8px 0 18px;white-space:pre-wrap}.insight-outcome{border-top:1px solid var(--ap-border);padding-top:16px}.insight-outcome p{font-size:15px;line-height:1.7;margin:5px 0 16px;white-space:pre-wrap}.insight-meta{display:flex;flex-wrap:wrap;gap:8px 18px;color:var(--ap-muted);font-size:12px}.insight-detail-notice{font-size:12px;margin:14px 0 0;color:var(--ap-attention)}.insight-detail-notice:empty{display:none}.insight-tabs{display:flex;gap:22px;border-bottom:1px solid var(--ap-border);margin:22px 0}.agentpair-web .insight-tabs button{border:0;border-bottom:2px solid transparent;border-radius:0;background:none;color:var(--ap-muted);padding:10px 0}.agentpair-web .insight-tabs button[aria-selected=true]{color:var(--ap-primary);border-color:var(--ap-primary);font-weight:600}.insight-section-heading{margin-bottom:16px}.insight-playback{display:flex;align-items:center;gap:7px;font-size:12px}.insight-playback select{margin:0;min-height:36px;padding:7px}.insight-steps{display:flex;overflow:auto;gap:0;margin-bottom:16px}.agentpair-web .insight-steps button{position:relative;flex:1;min-width:130px;display:flex;align-items:center;gap:9px;background:none;border:0;border-bottom:2px solid var(--ap-border);border-radius:0;text-align:left;color:var(--ap-muted);padding:12px 14px;font-size:13px}.insight-steps button span{display:grid;place-items:center;width:23px;height:23px;border-radius:50%;background:#EFF1F4;color:var(--ap-muted);font-size:12px;flex-shrink:0}.agentpair-web .insight-steps button[aria-pressed=true]{border-bottom-color:var(--ap-primary);color:var(--ap-text)}.insight-steps button[aria-pressed=true] span{background:var(--ap-primary);color:white}.insight-step-fields{display:grid;grid-template-columns:1fr 1fr;gap:22px;margin:14px 0}.insight-step-fields section+section{border-left:1px solid var(--ap-border);padding-left:22px}.insight-step-fields p{white-space:pre-wrap;margin:5px 0;font-size:14px}.insight-ref-list{display:flex;align-items:center;gap:7px;flex-wrap:wrap;margin-top:12px}.agentpair-web .insight-ref-list button{font-size:11px;background:var(--ap-primary-soft);color:var(--ap-primary);border:0;min-height:27px;padding:4px 7px}.insight-ref-label{font-size:12px;color:var(--ap-muted);margin-right:3px}.insight-tool-flow{display:grid;grid-template-columns:1fr 22px 1fr;gap:10px;align-items:start;margin:18px 0 0;padding-top:18px;border-top:1px solid var(--ap-border)}.insight-tool-flow>section{min-width:0}.insight-tool-flow>span{padding-top:28px;color:var(--ap-muted)}.insight-tool-flow h4{font-size:13px;margin:5px 0;font-weight:600}.insight-tool-flow .insight-preview{margin:5px 0;color:var(--ap-muted);font-size:12px;white-space:pre-wrap;max-height:77px;overflow:hidden}.insight-tool-flow details{margin-top:10px}.insight-evidence-item,.insight-finding{margin-bottom:12px}.agentpair-web .insight-evidence-item.card{padding:14px 18px}.insight-evidence-item>summary{display:flex;gap:12px;align-items:center;flex-wrap:wrap}.insight-evidence-item summary:before{content:'›';font-size:16px}.insight-evidence-item[open] summary:before{transform:rotate(90deg)}.insight-evidence-item pre{max-height:500px;overflow:auto;margin:12px 0 0}.insight-evidence-item:target,.insight-evidence-item.selected-evidence{border-color:var(--ap-primary)}.insight-evidence-meta{font-size:11px;color:var(--ap-muted);margin:10px 0 0;overflow-wrap:anywhere}.agentpair-web .insight-finding.card{padding:18px}.insight-finding-heading{display:flex;align-items:center;gap:10px;margin-bottom:10px}.insight-finding-heading h3{margin:0}.insight-severity{font-size:11px;background:var(--ap-attention-soft);color:var(--ap-attention);border-radius:5px;padding:4px 7px;flex-shrink:0}.insight-severity.high,.insight-severity.critical{background:var(--ap-danger-soft);color:var(--ap-danger)}.insight-severity.info,.insight-severity.low{background:#F0F2F5;color:var(--ap-muted)}.insight-finding p{margin:6px 0 14px;white-space:pre-wrap}.insight-finding .insight-step-fields{padding-top:14px;border-top:1px solid var(--ap-border);margin-bottom:4px}.agentpair-web .insight-limits.card{padding:16px 20px;margin-top:22px}.insight-limits p{font-size:12px;color:var(--ap-muted);margin:10px 0}.insight-limits dl{display:grid;grid-template-columns:110px minmax(0,1fr);gap:7px 15px;font-size:12px;margin-top:16px}.insight-limits dt{color:var(--ap-muted)}.insight-limits dd{margin:0;overflow-wrap:anywhere}.insight-footer{padding-top:22px;margin-top:22px;font-size:11px}.agentpair-web #insight-consent{width:min(560px,calc(100% - 40px));padding:26px;border:1px solid var(--ap-border);border-radius:12px;color:var(--ap-text);background:white}.agentpair-web #insight-consent::backdrop{background:#17233465}.insight-consent-check{display:flex;gap:9px;align-items:center;margin:18px 0;color:var(--ap-text)!important}.insight-consent-check input{margin:0!important}.agentpair-web #insight-consent .insight-actions{justify-content:flex-end}.agentpair-web #insight-consent-error{color:var(--ap-danger);font-size:12px}.insight-step-content-update{animation:insight-reveal .24s ease-out}@keyframes insight-reveal{from{opacity:.65;transform:translateY(3px)}to{opacity:1;transform:translateY(0)}}
@media(max-width:1150px){.insight-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}.agentpair-web .insight-reception.card{flex-wrap:wrap}.insight-reception>a{margin-left:21px}.insight-answer-heading{flex-wrap:wrap}}
@media(max-width:700px){.insight-page-heading{align-items:flex-start;flex-wrap:wrap}.insight-toolbar{flex-wrap:wrap}.insight-toolbar .insight-search{flex-basis:100%}.insight-metrics{gap:10px}.agentpair-web .insight-metrics .card{padding:14px}.insight-metrics strong{font-size:24px}.insight-metrics strong.insight-time{font-size:16px}.insight-section-heading{align-items:flex-start;flex-wrap:wrap}.insight-step-fields{grid-template-columns:1fr;gap:14px}.insight-step-fields section+section{border-left:0;border-top:1px solid var(--ap-border);padding:14px 0 0}.insight-tool-flow{grid-template-columns:1fr}.insight-tool-flow>span{padding:0;transform:rotate(90deg);justify-self:center}.insight-detail-toolbar{flex-wrap:wrap}.insight-tabs{gap:20px}.insight-answer-text{font-size:16px}}
@media(prefers-reduced-motion:reduce){.insight-step-content-update{animation:none}.insight-live *{scroll-behavior:auto!important}}
.agentpair-web .insight-automation.card{padding:14px 18px;margin-bottom:26px}.insight-automation>summary{display:flex;align-items:center;gap:12px;color:var(--ap-text);font-size:13px}.insight-automation>summary:before{content:'›';font-size:16px}.insight-automation[open]>summary:before{transform:rotate(90deg)}.insight-automation p{font-size:12px;margin:10px 0}.insight-automation-controls{display:flex;align-items:center;gap:12px;margin-top:5px}.insight-automation-controls select{flex:1;max-width:430px}.insight-automation-controls button{margin-left:auto}.insight-automation .insight-consent-check{font-size:12px!important;margin:12px 0}.insight-automation #insight-automation-result{color:var(--ap-muted)}
@media(max-width:700px){.insight-automation-controls{flex-wrap:wrap}.insight-automation-controls select{flex-basis:100%;max-width:none}.insight-automation-controls button{margin-left:0}.insight-pagination{flex-wrap:wrap}.insight-pagination>span{flex-basis:100%;margin-bottom:4px}}
.insight-budget-row{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin-top:10px}.insight-budget-row input{width:104px;margin:0}.insight-budget-row label{color:var(--ap-text)}.insight-budget-row button{font-size:12px}
