.admin-layout{min-height:100vh;background:#f8fafc}.admin-header{background:linear-gradient(135deg,#667eea,#764ba2);color:#fff;padding:2rem 3rem;box-shadow:0 4px 6px #0000001a}.admin-header-content{display:flex;justify-content:space-between;align-items:center;gap:2rem;max-width:1400px;margin:0 auto}.admin-header-content>div{flex:1}.admin-header-content h1{font-size:2rem;font-weight:700;margin:0 0 .5rem}.admin-subtitle{font-size:1rem;opacity:.9;margin:0}.admin-logout-btn{padding:.75rem 1.5rem;background:#fff;color:#8b5cf6;border:2px solid white;border-radius:8px;font-size:.95rem;font-weight:600;cursor:pointer;transition:all .2s;white-space:nowrap}.admin-logout-btn:hover{background:#ffffffe6;transform:translateY(-2px);box-shadow:0 4px 12px #00000026}.admin-tabs{display:flex;background:#fff;border-bottom:2px solid #e2e8f0;padding:0 3rem;gap:.5rem}.admin-tab{display:flex;align-items:center;gap:.5rem;padding:1rem 1.5rem;border:none;background:transparent;color:#64748b;font-size:.95rem;font-weight:500;cursor:pointer;border-bottom:3px solid transparent;transition:all .2s;position:relative;top:2px}.admin-tab:hover{color:#475569;background:#f8fafc}.admin-tab-active{color:#667eea;border-bottom-color:#667eea;background:#f8fafc}.admin-tab-icon{font-size:1.2rem}.admin-tab-label{font-weight:600}.admin-content{padding:2rem 3rem;max-width:1400px;margin:0 auto}@media(max-width:768px){.admin-header{padding:1.5rem 1rem}.admin-header-content{flex-direction:column;align-items:flex-start;gap:1rem}.admin-header-content h1{font-size:1.5rem}.admin-logout-btn{width:100%;text-align:center}.admin-tabs{padding:0 1rem;overflow-x:auto}.admin-tab{padding:.75rem 1rem;font-size:.85rem}.admin-tab-label{display:none}.admin-tab-icon{font-size:1.5rem}.admin-content{padding:1rem}}.general-settings{max-width:900px;margin:0 auto;padding:2rem}.settings-section{margin-bottom:3rem}.settings-section h2{font-size:1.5rem;color:#1a1a1a;margin-bottom:.5rem;font-weight:600}.settings-description{color:#666;margin-bottom:1.5rem;font-size:.95rem}.settings-card{background:#fff;border-radius:12px;padding:2rem;box-shadow:0 2px 8px #0000000d;border:1px solid #e5e5e5}.form-group{margin-bottom:1.5rem}.form-group label{display:block;font-weight:500;color:#333;margin-bottom:.5rem;font-size:.95rem}.settings-input{width:100%;padding:.75rem;border:1px solid #d1d5db;border-radius:8px;font-size:.95rem;transition:all .2s}.input-with-toggle{position:relative;display:flex;align-items:center}.input-with-toggle .settings-input{padding-right:3rem;flex:1}.toggle-visibility-btn{position:absolute;right:.5rem;background:transparent;border:none;cursor:pointer;padding:.5rem;font-size:1.2rem;display:flex;align-items:center;justify-content:center;transition:transform .2s;border-radius:4px}.toggle-visibility-btn:hover{background:#f3f4f6;transform:scale(1.1)}.toggle-visibility-btn:active{transform:scale(.95)}.settings-input:focus{outline:none;border-color:#8b5cf6;box-shadow:0 0 0 3px #8b5cf61a}.input-hint{font-size:.85rem;color:#666;margin-top:.5rem}.settings-btn{padding:.75rem 1.5rem;border:none;border-radius:8px;font-size:.95rem;font-weight:500;cursor:pointer;transition:all .2s}.settings-btn-primary{background:linear-gradient(135deg,#8b5cf6,#7c3aed);color:#fff}.settings-btn-primary:hover:not(:disabled){transform:translateY(-2px);box-shadow:0 4px 12px #8b5cf64d}.settings-btn-primary:disabled{opacity:.5;cursor:not-allowed}.settings-alert{margin-top:1rem;padding:1rem;border-radius:8px;font-size:.9rem;animation:slideDown .3s ease}.settings-alert-success{background:#ecfdf5;color:#065f46;border:1px solid #6ee7b7}@keyframes slideDown{0%{opacity:0;transform:translateY(-10px)}to{opacity:1;transform:translateY(0)}}.info-grid{display:grid;gap:1rem}.info-item{display:flex;justify-content:space-between;align-items:center;padding:.75rem 0;border-bottom:1px solid #f3f4f6}.info-item:last-child{border-bottom:none}.info-label{font-weight:500;color:#666;font-size:.9rem}.info-value{color:#1a1a1a;font-family:Monaco,Courier New,monospace;font-size:.9rem}@media(max-width:768px){.general-settings{padding:1rem}.settings-card{padding:1.5rem}}.usage-tracking{padding:2rem;max-width:1400px;margin:0 auto}.usage-header{margin-bottom:2rem}.usage-header h2{font-size:1.75rem;color:#1a1a1a;margin-bottom:.5rem;font-weight:600}.usage-description{color:#666;font-size:.95rem}.summary-cards{display:grid;grid-template-columns:repeat(auto-fit,minmax(250px,1fr));gap:1.5rem;margin-bottom:2rem}.summary-card{background:#fff;border-radius:12px;padding:1.5rem;box-shadow:0 2px 8px #0000000d;border:1px solid #e5e5e5;display:flex;align-items:center;gap:1rem;transition:transform .2s}.summary-card:hover{transform:translateY(-2px);box-shadow:0 4px 12px #0000001a}.summary-icon{font-size:2.5rem;opacity:.9}.summary-content{flex:1}.summary-label{font-size:.85rem;color:#666;margin-bottom:.25rem}.summary-value{font-size:1.75rem;font-weight:700;color:#1a1a1a}.summary-card-primary .summary-value{color:#8b5cf6}.summary-card-info .summary-value{color:#3b82f6}.summary-card-success .summary-value{color:#10b981}.usage-filters{background:#fff;border-radius:12px;padding:1.5rem;box-shadow:0 2px 8px #0000000d;border:1px solid #e5e5e5;margin-bottom:2rem;display:flex;flex-wrap:wrap;gap:1rem;align-items:flex-end}.filter-group{flex:1;min-width:180px}.filter-group label{display:block;font-size:.85rem;color:#666;margin-bottom:.5rem;font-weight:500}.filter-group select,.filter-group input{width:100%;padding:.5rem .75rem;border:1px solid #d1d5db;border-radius:8px;font-size:.9rem;transition:all .2s}.filter-group select:focus,.filter-group input:focus{outline:none;border-color:#8b5cf6;box-shadow:0 0 0 3px #8b5cf61a}.filter-clear-btn{padding:.5rem 1rem;border:1px solid #d1d5db;background:#fff;border-radius:8px;font-size:.9rem;cursor:pointer;transition:all .2s}.filter-clear-btn:hover{background:#f9fafb;border-color:#8b5cf6;color:#8b5cf6}.breakdown-section{display:grid;grid-template-columns:repeat(auto-fit,minmax(400px,1fr));gap:1.5rem;margin-bottom:2rem}.breakdown-card{background:#fff;border-radius:12px;padding:1.5rem;box-shadow:0 2px 8px #0000000d;border:1px solid #e5e5e5}.breakdown-card h3{font-size:1.1rem;color:#1a1a1a;margin-bottom:1rem;font-weight:600}.usage-table{width:100%;border-collapse:collapse;font-size:.9rem}.usage-table thead{background:#f9fafb;border-bottom:2px solid #e5e5e5}.usage-table th{text-align:left;padding:.75rem;font-weight:600;color:#666;font-size:.85rem;text-transform:uppercase;letter-spacing:.5px}.usage-table td{padding:.75rem;border-bottom:1px solid #f3f4f6}.usage-table tbody tr:hover{background:#fafbfc}.usage-table tbody tr:last-child td{border-bottom:none}.model-name{font-family:Monaco,Courier New,monospace;color:#3b82f6;font-weight:500}.operation-name{font-weight:500;color:#666}.cost-cell{font-weight:600;color:#8b5cf6}.timestamp-cell{font-size:.85rem;color:#666}.logs-section{background:#fff;border-radius:12px;padding:1.5rem;box-shadow:0 2px 8px #0000000d;border:1px solid #e5e5e5}.logs-section h3{font-size:1.25rem;color:#1a1a1a;margin-bottom:1rem;font-weight:600}.logs-table-container{overflow-x:auto}.logs-table{min-width:900px}.loading-state{text-align:center;padding:3rem;color:#666;font-size:1rem}.empty-state{text-align:center;padding:3rem;color:#999;font-style:italic}@media(max-width:1024px){.breakdown-section{grid-template-columns:1fr}}@media(max-width:768px){.usage-tracking{padding:1rem}.summary-cards{grid-template-columns:1fr}.usage-filters{flex-direction:column;align-items:stretch}.filter-group{width:100%}.breakdown-section{grid-template-columns:1fr}.breakdown-card{overflow-x:auto}}.agent-management{display:grid;grid-template-columns:350px 1fr;height:calc(100vh - 120px);gap:0;background:#f9fafb}.agent-list-panel{background:#fff;border-right:1px solid #e5e5e5;display:flex;flex-direction:column;overflow:hidden}.agent-list-header{padding:1.5rem;border-bottom:1px solid #e5e5e5;display:flex;justify-content:space-between;align-items:center}.agent-list-header h2{font-size:1.25rem;color:#1a1a1a;font-weight:600;margin:0}.add-agent-btn{width:36px;height:36px;border:none;background:linear-gradient(135deg,#8b5cf6,#7c3aed);color:#fff;border-radius:8px;font-size:1.25rem;cursor:pointer;transition:all .2s}.add-agent-btn:hover{transform:scale(1.1);box-shadow:0 4px 12px #8b5cf64d}.agent-list{flex:1;overflow-y:auto;padding:.5rem}.agent-card{display:flex;align-items:center;gap:1rem;padding:1rem;margin-bottom:.5rem;border-radius:10px;cursor:pointer;transition:all .2s;border:2px solid transparent}.agent-card:hover{background:#f9fafb}.agent-card-active{background:linear-gradient(135deg,#8b5cf61a,#7c3aed1a);border-color:#8b5cf6}.agent-card-icon{font-size:2rem;opacity:.9}.agent-card-content{flex:1;min-width:0}.agent-card-name{font-weight:600;color:#1a1a1a;font-size:.95rem;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.agent-card-type{font-size:.8rem;color:#666;margin-top:.25rem}.agent-card-badge{background:#10b981;color:#fff;font-size:.75rem;padding:.25rem .5rem;border-radius:12px;font-weight:500}.agent-loading,.agent-empty{padding:2rem;text-align:center;color:#666;font-size:.9rem}.agent-details-panel{background:#f9fafb;overflow-y:auto}.agent-details-empty{display:flex;flex-direction:column;align-items:center;justify-content:center;height:100%;color:#666}.empty-icon{font-size:4rem;margin-bottom:1rem;opacity:.5}.agent-details-empty p{font-size:1.1rem}.agent-details{padding:2rem;max-width:1200px}.agent-details-header{display:flex;justify-content:space-between;align-items:flex-start;margin-bottom:2rem;background:#fff;padding:1.5rem;border-radius:12px;box-shadow:0 2px 8px #0000000d;border:1px solid #e5e5e5}.agent-details-title{display:flex;gap:1rem;align-items:center}.agent-details-icon{font-size:3rem}.agent-details-title h2{font-size:1.75rem;color:#1a1a1a;margin:0 0 .25rem;font-weight:600}.agent-details-subtitle{font-size:.9rem;color:#666;margin:0;font-family:Monaco,Courier New,monospace}.agent-details-actions{display:flex;gap:.5rem}.agent-action-btn{padding:.5rem 1rem;border:1px solid #d1d5db;background:#fff;border-radius:8px;font-size:.9rem;cursor:pointer;transition:all .2s}.agent-action-btn:hover{background:#f9fafb;border-color:#8b5cf6;color:#8b5cf6}.agent-action-btn-danger:hover{border-color:#ef4444;color:#ef4444}.agent-info-section{background:#fff;padding:1.5rem;border-radius:12px;box-shadow:0 2px 8px #0000000d;border:1px solid #e5e5e5;margin-bottom:1.5rem}.agent-info-section h3{font-size:1.1rem;color:#1a1a1a;margin-bottom:1rem;font-weight:600}.agent-info-grid{display:grid;gap:1rem;margin-bottom:1rem}.agent-info-item{display:flex;justify-content:space-between;align-items:center;padding:.75rem 0;border-bottom:1px solid #f3f4f6}.agent-info-item:last-child{border-bottom:none}.agent-info-label{font-weight:500;color:#666;font-size:.9rem}.agent-info-value{color:#1a1a1a;font-family:Monaco,Courier New,monospace;font-size:.9rem}.agent-status-badge{padding:.25rem .75rem;border-radius:12px;font-size:.85rem;font-weight:500}.status-active{background:#d1fae5;color:#065f46}.status-inactive{background:#f3f4f6;color:#6b7280}.agent-description{margin-top:1rem;padding-top:1rem;border-top:1px solid #f3f4f6}.agent-description p{color:#666;line-height:1.6;margin:0}.agent-knowledge-section{margin-top:1.5rem}.agent-placeholder-section{background:#fff;padding:3rem;border-radius:12px;box-shadow:0 2px 8px #0000000d;border:1px solid #e5e5e5;margin-top:1.5rem}.placeholder-content{text-align:center;max-width:500px;margin:0 auto}.placeholder-icon{font-size:4rem;margin-bottom:1rem;opacity:.5}.placeholder-content h3{font-size:1.25rem;color:#1a1a1a;margin-bottom:.5rem}.placeholder-content p{color:#666;line-height:1.6}@media(max-width:1024px){.agent-management{grid-template-columns:280px 1fr}}@media(max-width:768px){.agent-management{grid-template-columns:1fr;height:auto}.agent-list-panel{height:auto;border-right:none;border-bottom:1px solid #e5e5e5}.agent-list{max-height:300px}.agent-details{padding:1rem}.agent-details-header{flex-direction:column;gap:1rem}.agent-details-actions{width:100%}.agent-action-btn{flex:1}}.kb-container{max-width:1400px;margin:0 auto;padding:2rem;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,sans-serif}.kb-header{margin-bottom:2rem}.kb-header h1{font-size:2.5rem;margin-bottom:.5rem;color:#1a202c}.kb-header p{color:#718096;font-size:1.1rem}.kb-alert{padding:1rem;border-radius:8px;margin-bottom:1.5rem;display:flex;justify-content:space-between;align-items:center}.kb-alert button{background:none;border:none;font-size:1.5rem;cursor:pointer;padding:0 .5rem;opacity:.7}.kb-alert button:hover{opacity:1}.kb-alert-error{background-color:#fed7d7;color:#c53030;border-left:4px solid #c53030}.kb-alert-success{background-color:#c6f6d5;color:#2f855a;border-left:4px solid #2f855a}.kb-upload-section{background:#fff;border-radius:12px;padding:2rem;box-shadow:0 1px 3px #0000001a;margin-bottom:2rem}.kb-upload-section h2{font-size:1.5rem;margin-bottom:1.5rem;color:#2d3748}.kb-form-group{margin-bottom:1.5rem}.kb-form-group label{display:block;font-weight:600;color:#2d3748;margin-bottom:.5rem}.kb-select{width:100%;padding:.75rem;border:1px solid #cbd5e0;border-radius:6px;font-size:1rem;background:#fff;cursor:pointer;transition:border-color .2s}.kb-select:focus{outline:none;border-color:#4299e1;box-shadow:0 0 0 3px #4299e11a}.kb-agent-description{margin-top:.5rem;color:#718096;font-size:.9rem;font-style:italic}.kb-info-text{margin-top:.75rem;padding:.75rem 1rem;background:#e6fffa;border:1px solid #81e6d9;border-radius:6px;color:#234e52;font-size:.9rem;line-height:1.5}.kb-info-text strong{color:#1a5653}.kb-dropzone{border:2px dashed #cbd5e0;border-radius:8px;padding:3rem;text-align:center;background:#f7fafc;transition:all .3s ease;cursor:pointer}.kb-dropzone-disabled{opacity:.5;cursor:not-allowed;background:#edf2f7}.kb-dropzone-disabled:hover{border-color:#cbd5e0;background:#edf2f7}.kb-dropzone:hover{border-color:#4299e1;background:#ebf8ff}.kb-dropzone-active{border-color:#3182ce;background:#bee3f8}.kb-dropzone p{margin:.5rem 0;color:#4a5568}.kb-browse-btn{display:inline-block;padding:.75rem 1.5rem;background:#4299e1;color:#fff;border-radius:6px;cursor:pointer;margin-top:1rem;transition:background .2s}.kb-browse-btn:hover{background:#3182ce}.kb-supported-types{font-size:.875rem;color:#a0aec0;margin-top:1rem}.kb-file-selected{padding:1rem;background:#fff;border-radius:6px}.kb-file-selected p{font-size:1.1rem;font-weight:600;color:#2d3748}.kb-file-size{font-size:.9rem;color:#718096;margin-top:.25rem}.kb-file-selected button{margin-top:1rem;padding:.5rem 1rem;background:#e2e8f0;border:none;border-radius:4px;cursor:pointer}.kb-file-selected button:hover{background:#cbd5e0}.kb-upload-actions{margin-top:1.5rem;text-align:center}.kb-progress-bar{width:100%;height:8px;background:#e2e8f0;border-radius:4px;overflow:hidden;margin-top:1rem}.kb-progress-fill{height:100%;background:linear-gradient(90deg,#4299e1,#3182ce);transition:width .3s ease}.kb-btn{padding:.75rem 1.5rem;border:none;border-radius:6px;font-size:1rem;font-weight:500;cursor:pointer;transition:all .2s}.kb-btn:disabled{opacity:.5;cursor:not-allowed}.kb-btn-primary{background:#4299e1;color:#fff}.kb-btn-primary:hover:not(:disabled){background:#3182ce}.kb-btn-secondary{background:#e2e8f0;color:#2d3748}.kb-btn-secondary:hover{background:#cbd5e0}.kb-btn-danger{background:#fc8181;color:#fff}.kb-btn-danger:hover:not(:disabled){background:#f56565}.kb-btn-small{padding:.5rem 1rem;font-size:.875rem}.kb-documents-section,.kb-logs-section{background:#fff;border-radius:12px;padding:2rem;box-shadow:0 1px 3px #0000001a;margin-bottom:2rem}.kb-section-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:24px}.kb-header-actions{display:flex;gap:12px}.kb-section-header h2{font-size:1.5rem;color:#2d3748;margin:0}.kb-table-container{overflow-x:auto}.kb-table{width:100%;border-collapse:collapse}.kb-table th{background:#f7fafc;padding:1rem;text-align:left;font-weight:600;color:#4a5568;border-bottom:2px solid #e2e8f0}.kb-table td{padding:1rem;border-bottom:1px solid #e2e8f0}.kb-table tbody tr:hover{background:#f7fafc}.kb-table-empty{text-align:center;padding:3rem;color:#a0aec0}.kb-doc-name{display:flex;flex-direction:column}.kb-doc-name strong{color:#2d3748;margin-bottom:.25rem}.kb-doc-filename{font-size:.875rem;color:#718096}.kb-agent-info{display:flex;flex-direction:column}.kb-agent-info strong{color:#2d3748;margin-bottom:.25rem}.kb-agent-code{font-size:.75rem;color:#718096;font-family:Courier New,monospace;background:#edf2f7;padding:.125rem .375rem;border-radius:3px}.kb-no-agent{color:#a0aec0;font-style:italic;font-size:.875rem}.kb-actions{display:flex;gap:.5rem}.kb-badge{display:inline-block;padding:.25rem .75rem;border-radius:12px;font-size:.875rem;font-weight:500}.badge-info{background:#bee3f8;color:#2c5282}.badge-warning{background:#fbd38d;color:#7c2d12}.badge-success{background:#9ae6b4;color:#22543d}.badge-error{background:#fc8181;color:#742a2a}.badge-default{background:#e2e8f0;color:#4a5568}.kb-logs-container{max-height:500px;overflow-y:auto}.kb-logs-empty{text-align:center;padding:2rem;color:#a0aec0}.kb-log-item{border-left:4px solid #e2e8f0;padding:1rem;margin-bottom:1rem;border-radius:6px;background:#f7fafc}.kb-log-started{border-left-color:#4299e1}.kb-log-in_progress{border-left-color:#ed8936}.kb-log-completed{border-left-color:#48bb78}.kb-log-failed{border-left-color:#f56565}.kb-log-header{display:flex;align-items:center;gap:1rem;margin-bottom:.75rem}.kb-log-type{font-weight:600;color:#2d3748;text-transform:capitalize}.kb-log-time{font-size:.875rem;color:#718096;margin-left:auto}.kb-log-details{display:flex;gap:1.5rem;font-size:.875rem;color:#4a5568}.kb-log-error{margin-top:.75rem;padding:.75rem;background:#fed7d7;color:#c53030;border-radius:4px;font-size:.875rem}@media(max-width:768px){.kb-container{padding:1rem}.kb-header h1{font-size:2rem}.kb-table{font-size:.875rem}.kb-actions{flex-direction:column}.kb-log-details{flex-direction:column;gap:.5rem}}.test-agents-container{height:100%;display:flex;flex-direction:column;background:#f8f9fa}.test-agents-header{padding:24px;background:#fff;border-bottom:1px solid #e5e7eb}.test-agents-header h2{margin:0 0 8px;font-size:28px;color:#111827}.test-agents-header p{margin:0;color:#6b7280;font-size:14px}.test-agents-layout{display:grid;grid-template-columns:320px 1fr;gap:0;flex:1;overflow:hidden}.agent-selector{background:#fff;border-right:1px solid #e5e7eb;display:flex;flex-direction:column;overflow:hidden}.agent-selector h3{padding:20px;margin:0;font-size:16px;font-weight:600;color:#374151;border-bottom:1px solid #e5e7eb}.agent-list{flex:1;overflow-y:auto;padding:8px}.agent-item{display:flex;align-items:flex-start;gap:12px;padding:12px;border:2px solid transparent;border-radius:8px;background:#fff;cursor:pointer;transition:all .2s;text-align:left;width:100%;margin-bottom:8px}.agent-item:hover{background:#f9fafb;border-color:#e5e7eb}.agent-item.selected{background:linear-gradient(135deg,#eff6ff,#f0f9ff);border-color:#3b82f6}.agent-icon{font-size:24px;min-width:24px}.agent-info{flex:1;display:flex;flex-direction:column;gap:4px}.agent-name{font-weight:600;color:#111827;font-size:14px}.agent-desc{font-size:12px;color:#6b7280;line-height:1.4}.test-page-display{display:flex;flex-direction:column;background:#fff;overflow:hidden}.test-page-header{padding:20px 24px;border-bottom:1px solid #e5e7eb;display:flex;justify-content:space-between;align-items:center;gap:20px}.selected-agent-info{display:flex;align-items:center;gap:16px;flex:1}.selected-agent-icon{font-size:40px;min-width:40px}.selected-agent-info h3{margin:0 0 4px;font-size:20px;color:#111827}.selected-agent-info p{margin:0;font-size:14px;color:#6b7280}.test-page-actions{display:flex;gap:12px}.action-btn{padding:10px 20px;border:none;border-radius:8px;font-weight:600;font-size:14px;cursor:pointer;transition:all .2s;display:flex;align-items:center;gap:8px}.action-btn.primary{background:linear-gradient(135deg,#667eea,#764ba2);color:#fff}.action-btn.primary:hover{transform:translateY(-2px);box-shadow:0 4px 12px #667eea4d}.action-btn.secondary{background:#fff;color:#667eea;border:2px solid #667eea}.action-btn.secondary:hover{background:#f0f9ff}.test-instructions{padding:20px 24px;background:#fffbeb;border-bottom:1px solid #fef3c7}.test-instructions h4{margin:0 0 12px;font-size:16px;color:#92400e}.test-instructions ol{margin:0;padding-left:20px;color:#78350f}.test-instructions li{margin-bottom:8px;line-height:1.6;font-size:14px}.test-instructions strong{color:#451a03;font-weight:600}.iframe-container{flex:1;display:flex;flex-direction:column;overflow:hidden;padding:20px;background:#f3f4f6}.test-iframe{width:100%;height:100%;border:2px solid #e5e7eb;border-radius:12px;background:#fff;box-shadow:0 4px 6px #0000000d}.loading-state{display:flex;flex-direction:column;align-items:center;justify-content:center;height:100%;gap:16px}.spinner{width:48px;height:48px;border:4px solid #f3f4f6;border-top:4px solid #667eea;border-radius:50%;animation:spin 1s linear infinite}@keyframes spin{0%{transform:rotate(0)}to{transform:rotate(360deg)}}.loading-state p{color:#6b7280;font-size:14px}@media(max-width:1024px){.test-agents-layout{grid-template-columns:1fr}.agent-selector{border-right:none;border-bottom:1px solid #e5e7eb;max-height:300px}.test-page-header{flex-direction:column;align-items:flex-start}.test-page-actions{width:100%}.action-btn{flex:1}}
