.matching-test-header{align-items:center}.matching-test-safety{display:flex;align-items:flex-end;flex-direction:column;gap:4px}.matching-test-safety b{border-radius:99px;background:#e5f8f0;padding:5px 9px;color:#167c5c;font-size:11px}.matching-test-safety span{color:#657287;font-size:11px}
.matching-test-isolation{display:grid;grid-template-columns:auto minmax(0,1fr) auto;gap:10px;align-items:center;margin:0 0 14px;padding:11px 13px;border:1px solid #cce9dd;border-radius:10px;background:#f6fcf9;color:#4d625b}.matching-test-isolation strong{color:#147657;font-size:11px}.matching-test-isolation span{font-size:11px;line-height:1.55}.matching-test-isolation code{color:#566b63;font:10px var(--mono)}
.model-tabs{display:flex;overflow-x:auto;scrollbar-width:thin}.model-tabs button{flex:0 0 auto;white-space:nowrap}.matching-test-workspace{display:grid;grid-template-columns:minmax(270px,.7fr) minmax(500px,1.45fr) minmax(340px,.92fr);grid-template-areas:"input result prompt";gap:13px;align-items:start}.matching-test-workspace>.panel{min-width:0;padding:17px}.matching-test-workspace .panel-title{margin-bottom:14px;padding-bottom:12px}.matching-test-input-panel{grid-area:input}.matching-test-result-panel{grid-area:result}.matching-test-prompt-panel{grid-area:prompt}
.matching-test-input-panel,.matching-test-prompt-panel{position:sticky;inset:12px auto auto;width:auto;display:block;color:inherit}.matching-test-field{position:relative;display:flex;flex-direction:column;gap:7px;margin-bottom:15px}.matching-test-field>span{color:#445168;font-size:11px;font-weight:800}.matching-test-field textarea{min-height:118px;resize:vertical;line-height:1.65}.matching-test-field>small{color:#657287;font-size:10px;line-height:1.5}.matching-test-field>small i{font-style:normal}.matching-test-field textarea+small{position:absolute;right:8px;bottom:7px;padding:2px 4px;background:#fff}
.matching-test-pair{display:grid;grid-template-columns:1fr;gap:7px;margin-bottom:15px}.matching-test-pair .matching-test-field{margin:0}.matching-test-pair-arrow{height:20px;display:grid;place-items:center;color:#746add;font:15px var(--mono);pointer-events:none}
.matching-test-user-target{width:100%;display:flex;align-items:flex-start;flex-direction:column;gap:5px;padding:11px;border:1px solid #dcdfe7;border-radius:9px;background:#fff;color:#354156;text-align:left}.matching-test-user-target:hover{border-color:#9289e9;background:#faf9ff}.matching-test-user-target b{font-size:12px}.matching-test-user-target small{max-width:100%;overflow:hidden;color:#657287;font:10px var(--mono);text-overflow:ellipsis;white-space:nowrap}.matching-test-user-target.empty b{color:#56657b}
.matching-test-run-warning,.matching-test-copy-warning{margin:0 0 11px;padding:9px 10px;border-radius:8px;background:#fff7e8;color:#714e18;font-size:10px;line-height:1.55;box-shadow:inset 0 0 0 1px #f1dbb4}.matching-test-copy-warning{margin-top:-4px}.matching-test-input-panel>.wide{margin-top:2px}.matching-test-input-panel>.wide:disabled{cursor:not-allowed;opacity:.5}.matching-test-factors{margin-top:13px;border:1px solid #e3e6ec;border-radius:9px;overflow:hidden}.matching-test-factors>button{width:100%;display:flex;justify-content:space-between;border:0;background:#f7f8fa;padding:10px;color:#4d5b71;font-size:11px}.matching-test-factors>button b{color:#657287;font:10px var(--mono)}.matching-test-factors>div{max-height:260px;padding:7px;overflow:auto}.matching-test-factor{padding:8px;border-bottom:1px solid #eef0f4}.matching-test-factor:last-child{border:0}.matching-test-factor span{display:block;color:#6559d3;font-size:10px;font-weight:800}.matching-test-factor b{display:block;margin:3px 0;color:#344156;font-size:11px}.matching-test-factor p{margin:0;color:#5f6d82;font-size:10px;line-height:1.5}
.matching-test-result-panel{min-height:650px}.matching-test-state{min-height:555px;display:flex;align-items:center;justify-content:center;flex-direction:column;padding:30px;border:1px dashed #dfe2e9;border-radius:11px;background:#fafbfc;text-align:center}.matching-test-state[hidden]{display:none}.matching-test-empty-mark{width:42px;height:42px;display:grid;margin-bottom:12px;place-items:center;border-radius:50%;background:#eceaff;color:#6257d6;font-size:20px}.matching-test-state b{color:#39465b;font-size:14px}.matching-test-state span{max-width:380px;margin-top:6px;color:#5f6d82;font-size:11px;line-height:1.6}.matching-test-state.loading .matching-test-empty-mark{animation:matching-test-pulse 1.2s ease-in-out infinite}.matching-test-state.error{border-color:#f0cccc;background:#fffafa}.matching-test-state.error .matching-test-empty-mark{background:#ffebeb;color:#c84747}@keyframes matching-test-pulse{50%{transform:scale(.82);opacity:.55}}
.matching-test-results{display:flex;flex-direction:column;gap:12px}.matching-test-outcome{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:7px}.matching-test-outcome>div{display:flex;min-width:0;flex-direction:column;gap:4px;padding:10px;border-radius:9px;background:#f4f5f8}.matching-test-outcome span{color:#657287;font-size:10px}.matching-test-outcome b{overflow:hidden;color:#344156;font-size:14px;text-overflow:ellipsis;white-space:nowrap}.matching-test-outcome b.good{color:#14795a}
.matching-test-stage-rail{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));border:1px solid #e4e7ed;border-radius:10px;overflow:hidden}.matching-test-stage-rail>div{position:relative;display:flex;align-items:center;gap:7px;padding:9px;background:#fff}.matching-test-stage-rail>div+div{border-left:1px solid #e8eaf0}.matching-test-stage-rail i{width:24px;height:24px;display:grid;flex:none;place-items:center;border-radius:50%;background:#eceaff;color:#5b51ce;font:10px var(--mono)}.matching-test-stage-rail span{color:#526077;font-size:10px;font-weight:800}
.matching-test-block{border:1px solid #e4e7ed;border-radius:10px;overflow:hidden}.matching-test-block>header{height:auto;display:flex;align-items:center;justify-content:space-between;gap:10px;padding:10px 12px;background:#f7f8fa}.matching-test-block>header b{font-size:12px}.matching-test-block>header span{color:#5f6d82;font-size:10px}.matching-test-recall-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:1px;background:#e6e8ee}.matching-test-recall-grid>div{display:flex;flex-direction:column;gap:4px;padding:10px;background:#fff}.matching-test-recall-grid span{color:#657287;font-size:10px}.matching-test-recall-grid b{font:14px var(--mono)}
.matching-test-pair-result{display:grid;grid-template-columns:minmax(0,1fr) auto minmax(0,1fr);gap:12px;align-items:center;padding:12px}.matching-test-pair-result>div{min-width:0;display:flex;flex-direction:column;gap:4px;padding:10px;border-radius:8px;background:#f7f8fa}.matching-test-pair-result span{color:#657287;font-size:10px}.matching-test-pair-result b{overflow:hidden;color:#344156;font-size:12px;text-overflow:ellipsis;white-space:nowrap}.matching-test-pair-result code{overflow:hidden;color:#657287;font:9px var(--mono);text-overflow:ellipsis;white-space:nowrap}.matching-test-pair-result>i{color:#655bd0;font-style:normal}.matching-test-context-parties{display:flex;flex-direction:column;gap:9px;padding:10px}.matching-test-context-parties>article{border:1px solid #e7e9ee;border-radius:9px;overflow:hidden}.matching-test-context-parties h4{margin:0;padding:9px 10px;border-bottom:1px solid #e7e9ee;background:#fbfbfc;color:#46536a;font-size:11px}.matching-test-context-parties .matching-test-context-grid{padding:8px}
.matching-test-candidates{display:flex;gap:7px;padding:10px;overflow:auto}.matching-test-candidate-tab{min-width:160px;display:flex;align-items:flex-start;flex-direction:column;gap:5px;border:1px solid #e1e4ea;border-radius:9px;background:#fff;padding:10px;color:#344156;text-align:left}.matching-test-candidate-tab:hover,.matching-test-candidate-tab.active{border-color:#8f86e7;background:#faf9ff}.matching-test-candidate-tab>span{width:100%;display:flex;align-items:center;justify-content:space-between;gap:6px}.matching-test-candidate-tab b{max-width:100%;overflow:hidden;font-size:11px;text-overflow:ellipsis;white-space:nowrap}.matching-test-candidate-tab em{border-radius:99px;background:#f0f2f5;padding:3px 6px;color:#526077;font-size:9px;font-style:normal}.matching-test-candidate-tab em.good{background:#e5f8f0;color:#147858}.matching-test-candidate-tab small{color:#5f6d82;font:10px var(--mono)}
.matching-test-candidate-detail{padding:0 10px 11px}.matching-test-decision{display:grid;grid-template-columns:auto minmax(0,1fr);gap:5px 9px;margin-bottom:10px;padding:11px;border-radius:8px;background:#faf9ff;box-shadow:inset 0 0 0 1px #e3defa}.matching-test-decision>strong{grid-row:1/3;align-self:start;border-radius:99px;background:#eceaff;padding:4px 7px;color:#5c52cf;font-size:10px}.matching-test-decision>strong.good{background:#e2f7ed;color:#147858}.matching-test-decision b{font-size:12px}.matching-test-decision span{color:#5f6d82;font-size:10px;line-height:1.5}.matching-test-rounds{display:flex;flex-direction:column;gap:7px}.matching-test-round{border:1px solid #e5e7ed;border-radius:9px;overflow:hidden}.matching-test-round>summary{display:grid;grid-template-columns:auto 1fr auto auto;gap:8px;align-items:center;cursor:pointer;padding:10px;list-style:none}.matching-test-round>summary::-webkit-details-marker{display:none}.matching-test-round>summary::after{content:"›";color:#655bd0;font-size:16px;transition:transform .16s ease}.matching-test-round[open]>summary::after{transform:rotate(90deg)}.matching-test-round>summary i{width:24px;height:24px;display:grid;place-items:center;border-radius:50%;background:#eef0f5;color:#526077;font:10px var(--mono)}.matching-test-round>summary b{font-size:11px}.matching-test-round>summary span{color:#5f6d82;font:10px var(--mono)}.matching-test-round[open]>summary{border-bottom:1px solid #e5e7ed;background:#f8f8fb}.matching-test-round-body{display:flex;flex-direction:column;gap:8px;padding:10px}
.matching-test-context-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px}.matching-test-context-grid>div{min-width:0;padding:8px;border-radius:7px;background:#f6f7f9}.matching-test-context-grid span{display:block;color:#5f6d82;font-size:10px}.matching-test-context-grid p{max-height:110px;margin:4px 0 0;overflow:auto;color:#3f4c61;font-size:11px;line-height:1.5;white-space:pre-wrap;word-break:break-word}.matching-test-io{border:1px solid #e4e6ec;border-radius:8px;overflow:hidden}.matching-test-io>summary{cursor:pointer;padding:9px;color:#526077;font-size:10px;font-weight:800}.matching-test-io pre{max-height:280px;margin:0;padding:10px;overflow:auto;border-top:1px solid #e4e6ec;background:#171d2a;color:#dbe3ef;font:10px/1.55 var(--mono);white-space:pre-wrap;word-break:break-word}
.matching-test-prompt-note{display:flex;flex-direction:column;gap:4px;margin-bottom:11px;padding:9px;border:1px solid #e1def8;border-radius:8px;background:#f9f8ff}.matching-test-prompt-note b{color:#5147bd;font-size:10px}.matching-test-prompt-note span{color:#526077;font-size:10px;line-height:1.5}.matching-test-prompt-list{display:flex;max-height:calc(100vh - 350px);min-height:460px;overflow:auto;flex-direction:column;gap:9px}.matching-test-prompt-card{border:1px solid #e1e4ea;border-radius:9px;overflow:hidden}.matching-test-prompt-card>header{height:auto;display:flex;align-items:flex-start;justify-content:space-between;gap:8px;padding:10px;background:#f7f8fa}.matching-test-prompt-card header b{font-size:11px}.matching-test-prompt-card header code{display:block;margin-top:3px;color:#5f6d82;font:9px var(--mono)}.matching-test-prompt-card header em{border-radius:99px;background:#eceaff;padding:3px 6px;color:#5147bd;font-size:9px;font-style:normal}.matching-test-prompt-card p{margin:0;padding:9px 10px 0;color:#526077;font-size:10px;line-height:1.5}.matching-test-prompt-card textarea{width:calc(100% - 20px);min-height:210px;margin:9px 10px 10px;padding:10px;resize:vertical;border-color:#dfe2e8;border-radius:7px;background:#fff;color:#303b4e;font:11px/1.6 var(--mono)}.matching-test-prompt-card footer{display:flex;align-items:center;justify-content:space-between;padding:0 10px 9px;color:#5f6d82;font-size:10px}.matching-test-prompt-card footer button{min-height:32px;border:0;border-radius:6px;background:transparent;padding:6px 8px;color:#5147bd;font-size:10px;font-weight:800}
.matching-test-workspace button:focus-visible,.matching-test-workspace textarea:focus-visible,.matching-test-workspace select:focus-visible{outline:3px solid #8f86e7;outline-offset:2px}.trace-user-empty button{margin-top:10px}.matching-test-prompt-card>header,.matching-test-block>header{min-height:0}.matching-test-copy-warning[hidden]{display:none}@media(prefers-reduced-motion:reduce){.matching-test-state.loading .matching-test-empty-mark{animation:none}.matching-test-round>summary::after{transition:none}}
@media(max-width:1380px){.matching-test-workspace{grid-template-columns:minmax(260px,.68fr) minmax(480px,1.32fr);grid-template-areas:"input result" "prompt prompt"}.matching-test-prompt-panel{position:static}.matching-test-prompt-list{max-height:none;min-height:0;display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}.matching-test-prompt-card textarea{min-height:240px}}
@media(max-width:900px){.matching-test-workspace{grid-template-columns:1fr;grid-template-areas:"input" "prompt" "result"}.matching-test-input-panel{position:static}.matching-test-prompt-list{grid-template-columns:1fr}.matching-test-result-panel{min-height:0}.matching-test-state{min-height:360px}.matching-test-outcome,.matching-test-recall-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.matching-test-stage-rail{grid-template-columns:1fr}.matching-test-stage-rail>div+div{border-top:1px solid #e8eaf0;border-left:0}.matching-test-isolation{grid-template-columns:1fr}.matching-test-isolation code{display:none}}
@media(max-width:600px){.matching-test-outcome,.matching-test-recall-grid,.matching-test-context-grid,.matching-test-pair-result{grid-template-columns:1fr}.matching-test-pair-result>i{transform:rotate(90deg);text-align:center}.matching-test-safety{display:none}#matching-test-user-dialog{width:calc(100vw - 20px);max-height:calc(100vh - 20px)}#matching-test-user-dialog .trace-user-dialog-head{padding:17px 16px 13px}#matching-test-user-dialog .trace-user-dialog-search{align-items:stretch;flex-direction:column;padding:12px}#matching-test-user-dialog .trace-user-dialog-search span{text-align:left}#matching-test-user-dialog .trace-user-table-head{display:none}#matching-test-user-dialog .trace-user-list{padding:0 12px 12px}#matching-test-user-dialog .trace-user-row{min-width:0;grid-template-columns:minmax(0,1fr) auto;gap:5px 8px;padding:12px}#matching-test-user-dialog .trace-user-row>code:nth-child(1){grid-column:1/-1;grid-row:3}#matching-test-user-dialog .trace-user-row>code:nth-child(2){grid-column:1/-1;grid-row:2}#matching-test-user-dialog .trace-user-row>span:nth-child(3){grid-column:1;grid-row:1;font-weight:800}#matching-test-user-dialog .trace-user-row>code:nth-child(4){grid-column:1/-1;grid-row:5}#matching-test-user-dialog .trace-user-row>span:nth-child(5){grid-column:1/-1;grid-row:4;color:#657287}#matching-test-user-dialog .trace-user-row>b:nth-child(6){grid-column:2;grid-row:1}#matching-test-user-dialog .trace-user-dialog-footer{padding:12px}}
