/* Test calls use the current theme tokens and the existing dialog shell. */
.agent-test-tabs{display:flex;gap:8px;padding:6px;background:var(--field-bg);border:1px solid var(--border);border-radius:16px;margin-bottom:24px}.agent-test-tabs button{flex:1;min-width:0;border:1px solid transparent;min-height:46px;padding:10px 12px;border-radius:11px;background:transparent;color:var(--text-muted);display:flex;align-items:center;justify-content:center;gap:8px;font:500 12px Inter,sans-serif;cursor:pointer}.agent-test-tabs [aria-selected=true]{background:var(--bg-raised);color:var(--text);border-color:var(--border);box-shadow:3px 3px 8px var(--shade),-2px -2px 6px var(--highlight)}.agent-test-tabs button:focus-visible,.agent-test-history-item:focus-visible{outline:2px solid var(--action);outline-offset:3px}.agent-test-intro,.agent-test-progress{display:flex;gap:16px;align-items:center;margin:8px 0 20px}.agent-test-intro>div,.agent-test-progress>div{min-width:0}.agent-test-intro h3,.agent-test-progress h3{margin:0 0 8px;font-size:20px;line-height:1.3}.agent-test-intro p,.agent-test-progress p{margin:0;font-size:12px;line-height:1.65}.agent-test-progress .eyebrow{display:block;margin-bottom:8px}.agent-test-notice{font-size:12px;line-height:1.65;padding:14px 16px;border-radius:14px;border:1px solid var(--border);background:var(--bg-raised);margin:0 0 24px;overflow-wrap:anywhere}.agent-test-blocked{border-color:var(--action-soft-br);background:var(--action-soft);color:var(--text)}.agent-test-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}.agent-test-grid>div{min-width:0}.agent-test-grid>.full{grid-column:1/-1}.agent-test-grid [hidden],#agent-test-panel [hidden]{display:none!important}.agent-test-grid select{max-width:100%;text-overflow:ellipsis}.agent-test-grid textarea{min-height:92px}.agent-test-form-actions,.agent-test-result-actions{display:flex;justify-content:flex-end;flex-wrap:wrap;gap:12px;margin-top:24px;padding-top:20px;border-top:1px solid var(--border)}#agent-test-result{padding:8px 0}.agent-test-progress.is-error .neo{color:var(--bad-text)}#agent-test-retry{margin-top:16px}#agent-test-retry .btn{margin-top:12px}#agent-test-history:empty{display:none}#agent-test-history{margin-top:28px;padding-top:20px;border-top:1px solid var(--border)}#agent-test-history summary{font-size:13px;cursor:pointer;min-height:32px}.agent-test-history-list{display:grid;gap:8px;margin-top:12px}.agent-test-history-item{display:flex;align-items:center;gap:12px;min-height:66px;padding:12px;border:1px solid var(--border);border-radius:14px;text-align:left;background:var(--bg-raised);color:var(--text);font:inherit;cursor:pointer}.agent-test-history-item>span:first-child{flex:1;min-width:0}.agent-test-history-item strong{display:block;font-size:12px;overflow-wrap:anywhere}.agent-test-history-item small{display:block;font-size:10px;color:var(--text-muted);margin-top:4px;overflow-wrap:anywhere}.agent-test-history-item .pill{font-size:10px;white-space:normal}#agent-test-panel{min-width:0}#agent-test-error{overflow-wrap:anywhere}
@media(max-width:560px){.agent-test-grid{grid-template-columns:1fr;gap:18px}.agent-test-tabs{gap:4px;padding:4px}.agent-test-tabs button{font-size:11px;gap:6px;padding:9px 6px}.agent-test-intro{align-items:flex-start;gap:12px}.agent-test-intro h3,.agent-test-progress h3{font-size:18px}.agent-test-intro .neo,.agent-test-progress .neo{width:40px;height:40px;border-radius:13px}.agent-test-form-actions .btn,.agent-test-result-actions .btn{flex:1;justify-content:center;padding:10px 12px;font-size:12px}.agent-test-history-item{flex-wrap:wrap;gap:8px}.agent-test-history-item>span:first-child{flex-basis:55%}.agent-test-history-item>.ph{display:none}}
#modal:has(#agent-test-root) .modal-content{padding-bottom:0}.agent-test-form-actions{position:sticky;bottom:-1px;z-index:2;padding:14px 0 18px;background:var(--bg);box-shadow:0 -10px 16px var(--bg);margin-top:20px}#agent-test-panel{padding-bottom:24px}#agent-test-panel .form-footer{position:static}.agent-test-result-actions{padding-bottom:16px}
