.test-nav{display:flex;gap:6px;margin-left:40px;margin-right:auto}.test-nav button{border:0;padding:8px 14px;font-size:13px}.test-nav .selected{color:var(--accent);background:var(--selected)}.test-workspace{height:calc(100dvh - 66px);min-width:1080px;overflow:hidden;padding:22px 32px 24px}.test-heading{display:flex;align-items:center;justify-content:space-between;margin-bottom:20px}.test-heading h1{font-size:25px;font-weight:600;margin:0 0 8px}.test-heading p{margin:0;color:var(--muted);font-size:13px}.test-config{flex:none;max-height:46vh;overflow:auto;padding-bottom:16px;border-bottom:1px solid var(--line)}.test-fields{display:grid;grid-template-columns:1.1fr .9fr 1fr;gap:16px}.test-config label{display:flex;flex-direction:column;gap:9px;font-size:12px;color:var(--muted)}.test-config input{font-size:14px;width:100%;height:40px}.test-model-field{display:flex;gap:7px}.test-model-field input{flex:1;min-width:0}.test-model-field button{white-space:nowrap;font-size:12px}.test-options{display:flex;align-items:center;gap:28px;margin:12px 0}.test-options fieldset{border:0;padding:0;margin:0;display:flex;align-items:center;gap:12px}.test-options legend{float:left;color:var(--muted);font-size:12px;padding:0;line-height:32px;margin-right:12px}.test-options .test-limit{flex-direction:row;align-items:center;margin-left:auto;white-space:nowrap}.test-limit input{width:110px;height:34px}.test-submit-row{display:flex;align-items:end;gap:20px}.test-submit-row label{flex:0 1 360px}.test-submit-row>.primary{height:40px;min-width:132px}.test-hint{color:var(--muted);font-size:12px;margin:13px 0 0;line-height:1.7}#test-error:empty,#test-run-error:empty{display:none}.test-comparison{display:grid;flex:1;min-height:0;overflow:hidden;grid-template-columns:minmax(280px,.7fr) minmax(0,1.3fr);gap:32px;margin-top:22px}.test-source{height:100%;overflow:auto;overscroll-behavior:contain;min-width:0;border-right:1px solid var(--line);padding-right:32px}.test-section-head{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:12px;min-height:30px}.test-section-head h2{font-size:16px;font-weight:600}.test-section-head button{font-size:12px;padding:6px 9px}.test-section-head>span{font-size:12px;color:var(--muted)}.test-placeholder{color:var(--muted);font-size:14px;line-height:1.8}.test-reference{padding-top:22px;margin-top:24px;border-top:1px solid var(--line)}.test-reference h2{font-size:13px;font-weight:500;color:var(--accent);margin-bottom:15px}.test-run-meta{white-space:pre-line;font-size:12px;color:var(--muted);line-height:1.8;overflow-wrap:anywhere;margin:0 0 16px}.test-response .prose,.test-source .prose{font-size:14px}.test-response{min-width:0;height:100%;min-height:0;overflow:auto;overscroll-behavior:contain;padding-right:12px;scrollbar-gutter:stable}#test-thinking{margin:18px 0;border-top:1px solid var(--line);padding-top:14px}#test-thinking summary{cursor:pointer;font-size:13px;color:var(--muted);padding-bottom:12px}#test-saved-note{margin-top:22px;padding-top:20px;border-top:1px solid var(--line)}#test-saved-note label{display:block;font-size:12px;color:var(--muted);margin-bottom:9px}#test-record-note{display:block;resize:vertical;width:100%;background:var(--bg);border:1px solid var(--line);border-radius:6px;padding:10px 12px;color:var(--text);font-family:inherit;font-size:14px;line-height:1.6;margin-bottom:10px}textarea:focus-visible,summary:focus-visible{outline:2px solid var(--accent);outline-offset:3px}#test-save-note{font-size:12px}#test-save-status{font-size:12px;margin-left:12px;color:var(--muted)}.test-history-search{display:grid;grid-template-columns:minmax(160px,1fr) minmax(380px,1.9fr) minmax(160px,1fr) 110px auto;gap:10px;align-items:stretch;margin-bottom:10px}.history-filter{margin:0;border:1px solid var(--line);border-radius:6px;padding:9px 10px;min-width:0;display:flex;flex-direction:column;gap:7px;font-size:12px;color:var(--muted)}.history-filter input{width:100%;padding:7px 8px;height:34px;font-size:13px}.history-result{display:block;position:relative;padding-top:28px}.history-result legend{position:absolute;top:9px;left:10px;padding:0}.history-result .nav-group{flex-wrap:wrap;gap:2px}.history-result button{font-size:12px;padding:6px 8px;min-height:34px}.history-filter-actions{display:flex;align-items:center;gap:7px}.history-filter-actions button{font-size:12px}.history-state{min-height:24px;display:flex;align-items:center;gap:12px;font-size:12px;color:var(--muted);margin-bottom:8px}.history-state button{font-size:12px;padding:4px 8px}.history-state #test-history-error{color:#f0b0a3;display:flex;gap:10px;align-items:center}.history-pages{display:flex;gap:4px;align-items:center}.history-pages button{min-width:30px;padding:6px 8px}.history-pages button.selected{background:var(--selected);color:var(--accent);border-color:transparent}.history-page-gap{color:var(--muted);padding:0 4px}#test-history-count{margin-right:auto;color:var(--muted)}.test-records{border-collapse:collapse;width:100%;table-layout:fixed;font-size:13px}.test-records th{text-align:left;font-size:12px;font-weight:400;color:var(--muted);padding:12px;border-bottom:1px solid var(--line)}.test-records th:nth-child(1){width:27%}.test-records th:nth-child(2){width:10%}.test-records th:nth-child(3){width:17%}.test-records th:nth-child(4){width:20%}.test-records th:nth-child(5){width:19%}.test-records th:nth-child(6){width:7%}.test-records td{padding:17px 12px;border-bottom:1px solid var(--line);vertical-align:top;line-height:1.7;overflow-wrap:anywhere}.test-records strong{font-weight:500}.test-records small{display:block;font-size:12px;color:var(--muted);margin-top:4px}.test-records button{padding:6px 10px;font-size:12px}.test-record-note{white-space:pre-wrap}.test-history-pagination{display:flex;align-items:center;justify-content:flex-end;gap:18px;margin-top:22px;font-size:12px}.test-history-pagination button{font-size:12px}[data-status=failed],[data-status=interrupted]{color:#f0b0a3!important}[data-status=running]{color:var(--accent)!important}

.test-model-picker{margin-top:4px}.test-model-picker .test-hint{margin:0 0 8px}.test-model-picker .nav-group{gap:5px;max-height:52px;overflow:auto;align-items:flex-start}.test-model-picker button{max-width:100%;white-space:normal;overflow-wrap:anywhere;text-align:left}

.test-source-actions{display:flex;gap:8px}

.test-grade{margin:0 0 18px;padding-bottom:15px;border-bottom:1px solid var(--line)}.test-grade-line{display:flex;align-items:center;gap:12px}#test-grade-status{font-size:16px;font-weight:600}.test-grade-method{font-size:12px;color:var(--muted)}#test-grade-reason{margin:7px 0 0;font-size:12px;line-height:1.7;color:var(--muted)}[data-grade=pass]{color:#b8cbb0}[data-grade=fail]{color:#f0b0a3}[data-grade=ungraded],[data-grade=judging]{color:var(--muted)}.test-grade-label{font-weight:500}

.test-grade-line{flex-wrap:wrap}.test-grade-extracted{font-size:13px;line-height:1.75;white-space:pre-wrap;overflow-wrap:anywhere;margin:10px 0 0;color:var(--text)}#test-judge{font-size:12px;padding:5px 9px;margin-left:auto}#test-judge-error:empty{display:none}[data-grade=judging]{color:var(--accent)}

.test-addresses{display:flex;align-items:center;flex-wrap:nowrap;overflow:auto;gap:6px;margin:0;height:28px;white-space:nowrap}.test-address-caption{font-size:11px;color:var(--muted);margin-right:4px}.test-saved-address{display:inline-flex;align-items:center;background:var(--panel);border-radius:4px;max-width:100%;flex:none}.test-saved-address button{border:0;border-radius:4px;padding:4px 7px;font-size:11px;overflow-wrap:anywhere;text-align:left}.test-saved-address button:last-child{color:var(--muted);font-size:15px}.test-model-status-row{display:flex;align-items:center;gap:9px;font-size:11px;color:var(--muted)}.test-model-status-row{min-height:20px;line-height:20px}.test-model-status-row #test-model-status{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.test-model-status-row button{font-size:11px;padding:2px 7px}.test-model-picker .test-hint{font-size:11px}.test-model-picker .nav-group button{font-size:12px;min-height:28px;padding:4px 8px}.test-grade-method{overflow-wrap:anywhere}.test-records th:nth-child(3){width:17%}

.test-grade-indicator{display:inline-flex;align-items:center;vertical-align:middle;font-size:12px}.test-grade-icon{width:17px;height:17px;justify-content:center;border:1.4px solid currentColor;border-radius:50%;font-size:12px;font-weight:600;line-height:1;flex:none}.test-grade-icon[data-grade=pass]{background:transparent;color:#91bc92}.test-grade-icon[data-grade=fail]{background:transparent;color:#ce9288}.test-history-answer{font-size:13px;white-space:pre-wrap;overflow-wrap:anywhere;min-width:0}.test-verdict-line{display:flex;align-items:baseline;gap:8px}.test-verdict-line .test-grade-icon{align-self:flex-start;margin-top:3px}.test-record-note{white-space:pre-wrap;overflow-wrap:anywhere}

.test-question-link{display:inline-flex;align-items:center;border:1px solid var(--line);border-radius:6px;padding:8px 12px;text-decoration:none;font:inherit}

.test-model-reserved{height:112px;overflow:hidden;margin-top:6px}.test-model-reserved #test-addresses[hidden]{display:flex!important;visibility:hidden}.test-model-reserved #test-model-picker[hidden]{display:block!important;visibility:hidden}.test-model-picker .test-hint{margin-bottom:3px;line-height:16px}.test-settings-summary{display:flex;align-items:center;justify-content:space-between;gap:16px;border-bottom:1px solid var(--line);padding:0 0 16px;color:var(--muted);font-size:12px}.test-settings-summary span{overflow-wrap:anywhere}.test-settings-summary button{flex:none;font-size:12px}.test-source #test-run-meta{margin-top:22px;padding-top:18px;border-top:1px solid var(--line)}.test-source #test-run-meta:empty,.test-source #test-usage:empty{display:none}.test-source #test-saved-note{margin-top:18px;padding-top:16px}.test-pricing{margin:14px 0;font-size:12px}.test-price-head{display:flex;justify-content:space-between;align-items:baseline;gap:12px}.test-price-head>span{color:var(--muted)}.test-price-head strong{font-size:16px;font-weight:500}.test-price-hint{color:var(--muted);font-size:11px;line-height:1.7;margin:6px 0}.test-price-details summary{cursor:pointer;color:var(--muted);font-size:11px}.test-price-details p{font-size:11px;line-height:1.7;overflow-wrap:anywhere;margin:6px 0}.test-history-price{color:var(--text)!important}.test-response .test-grade{margin-bottom:16px}.test-comparison{align-items:stretch}.test-response .prose{font-size:14px;line-height:1.8}

.test-bench{display:flex;flex-direction:column;height:100%;min-height:0}.test-bench>.test-heading,.test-settings-summary{flex:none}.test-history{height:100%;min-height:0;display:flex;flex-direction:column;overflow:hidden}.test-history>.test-heading,.test-history-search,.history-state,.test-history-pagination{flex:none}#test-history-list{flex:1;min-height:0;overflow:auto}.test-history-pagination{padding-top:12px;margin-top:12px;border-top:1px solid var(--line)}#test-history-size{gap:4px}#test-history-size>span{margin-right:4px;color:var(--muted)}.source-score{gap:6px;flex-wrap:wrap}.test-response:focus-visible{outline:1px solid var(--accent);outline-offset:2px}.test-source{scrollbar-gutter:stable}.test-response>.test-section-head{position:sticky;top:0;background:var(--bg);z-index:1;padding-bottom:8px}

.test-stream-text{white-space:pre-wrap;overflow-wrap:anywhere;font-size:14px;line-height:1.8;color:var(--text)}

.test-stream-error:empty{display:none}.test-stream-error{display:flex;align-items:center;gap:10px;font-size:12px;color:var(--muted);padding:10px 0}.test-stream-error button{font-size:12px;padding:5px 8px}

.batch-options{display:flex;align-items:center;gap:8px}.batch-options>span{color:var(--muted);font-size:12px;white-space:nowrap}.batch-panel{min-height:0;overflow:auto;padding-top:20px}.batch-rows{display:flex;flex-direction:column}.batch-row{display:grid;grid-template-columns:1fr 1fr 1fr auto;gap:16px;align-items:center;padding:12px 0;border-bottom:1px solid var(--line);font-size:13px}.batch-row button{font-size:12px}.batch-panel .test-section-head>span{color:var(--muted);font-size:12px}
.batch-options>span{max-width:320px;white-space:normal;line-height:1.6}.test-records td:last-child button{display:block;min-width:48px;margin-bottom:5px}
