:root{font-family:system-ui,Avenir,Helvetica,Arial,sans-serif;line-height:1.5;font-weight:400;color-scheme:light dark;color:#ffffffde;background-color:#242424;font-synthesis:none;text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}a{font-weight:500;color:#646cff;text-decoration:inherit}a:hover{color:#535bf2}body{margin:0;display:flex;place-items:center;min-width:320px;min-height:100vh}h1{font-size:3.2em;line-height:1.1}button{border-radius:8px;border:1px solid transparent;padding:.6em 1.2em;font-size:1em;font-weight:500;font-family:inherit;background-color:#1a1a1a;cursor:pointer;transition:border-color .25s}button:hover{border-color:#646cff}button:focus,button:focus-visible{outline:4px auto -webkit-focus-ring-color}@media (prefers-color-scheme: light){:root{color:#213547;background-color:#fff}a:hover{color:#747bff}button{background-color:#f9f9f9}}.app{min-height:100vh;background:linear-gradient(135deg,#667eea,#764ba2);padding:2rem}.container{max-width:800px;margin:0 auto;background:#fff;border-radius:12px;box-shadow:0 20px 40px #0000001a;padding:2rem}h1{text-align:center;color:#333;margin-bottom:.5rem;font-size:2.5rem}.container>p{text-align:center;color:#666;margin-bottom:2rem;font-size:1.1rem}.chat-form{margin-bottom:2rem}.input-group{margin-bottom:1rem}.message-input{width:100%;padding:1rem;border:2px solid #e1e5e9;border-radius:8px;font-size:1rem;font-family:inherit;resize:vertical;min-height:100px;box-sizing:border-box}.message-input:focus{outline:none;border-color:#667eea;box-shadow:0 0 0 3px #667eea1a}.message-input:disabled{background-color:#f8f9fa;cursor:not-allowed}.submit-button{width:100%;padding:1rem 2rem;background:linear-gradient(135deg,#667eea,#764ba2);color:#fff;border:none;border-radius:8px;font-size:1.1rem;font-weight:600;cursor:pointer;transition:all .3s ease}.submit-button:hover:not(:disabled){transform:translateY(-2px);box-shadow:0 8px 20px #667eea4d}.submit-button:disabled{background:#ccc;cursor:not-allowed;transform:none;box-shadow:none}.error{background:#fee;border:1px solid #fcc;border-radius:8px;padding:1rem;margin-bottom:1rem}.error h3{margin:0 0 .5rem;color:#c33}.error p{margin:0;color:#c33}.response{background:#f8f9fa;border:1px solid #e9ecef;border-radius:8px;padding:1.5rem;margin-bottom:2rem}.response h3{margin:0 0 1rem;color:#333}.response-content{background:#fff;border-radius:6px;padding:1rem;font-family:Segoe UI,Tahoma,Geneva,Verdana,sans-serif;line-height:1.6;color:#333;white-space:pre-wrap;word-wrap:break-word}.info{background:#f0f8ff;border:1px solid #b8d4f0;border-radius:8px;padding:1.5rem}.info h3{margin:0 0 1rem;color:#2c5282}.info ul{margin:0;padding-left:1.5rem}.info li{margin-bottom:.5rem;color:#4a5568}.info strong{color:#2c5282}@media (max-width: 768px){.app{padding:1rem}.container{padding:1.5rem}h1{font-size:2rem}}.browse{min-height:100vh;background:linear-gradient(135deg,#667eea,#764ba2);padding:20px}.browse .container{max-width:1200px;margin:0 auto;background:#fff;border-radius:12px;padding:30px;box-shadow:0 10px 30px #0000001a}.search-form{margin:30px 0}.search-group{display:flex;gap:10px;margin-bottom:20px}.search-input{flex:1;padding:15px;border:2px solid #e9ecef;border-radius:8px;font-size:16px;transition:border-color .3s ease}.search-input:focus{outline:none;border-color:#007bff}.search-button{padding:15px 30px;background:#007bff;color:#fff;border:none;border-radius:8px;font-size:16px;font-weight:600;cursor:pointer;transition:background-color .3s ease;white-space:nowrap}.search-button:hover:not(:disabled){background:#0056b3}.search-button:disabled{opacity:.6;cursor:not-allowed}.error{background:#f8d7da;color:#721c24;padding:20px;border-radius:8px;border:1px solid #f5c6cb;margin:20px 0}.video-results{margin-top:30px}.video-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(350px,1fr));gap:20px;margin-top:20px}.video-card{background:#f8f9fa;border-radius:12px;overflow:hidden;cursor:pointer;transition:transform .2s ease,box-shadow .2s ease;border:1px solid #e9ecef}.video-card:hover{transform:translateY(-5px);box-shadow:0 8px 25px #00000026}.video-thumbnail{position:relative;width:100%;height:200px;overflow:hidden}.video-thumbnail img{width:100%;height:100%;object-fit:cover}.duration-badge{position:absolute;bottom:8px;right:8px;background:#000c;color:#fff;padding:4px 8px;border-radius:4px;font-size:12px;font-weight:600}.video-info{padding:15px}.video-title{font-size:16px;font-weight:600;margin:0 0 8px;color:#333;line-height:1.4;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.video-channel{color:#666;font-size:14px;margin:0 0 8px;font-weight:500}.video-description{color:#777;font-size:13px;line-height:1.4;margin:0;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}.video-player-modal{position:fixed;top:0;left:0;right:0;bottom:0;z-index:1000;display:flex;align-items:center;justify-content:center;padding:20px}.modal-overlay{position:absolute;top:0;left:0;right:0;bottom:0;background:#000c}.modal-content{position:relative;background:#fff;border-radius:12px;max-width:900px;width:100%;max-height:90vh;overflow-y:auto;box-shadow:0 20px 60px #0000004d}.modal-header{padding:20px;border-bottom:1px solid #e9ecef;display:flex;justify-content:space-between;align-items:center}.modal-header h3{margin:0;font-size:18px;color:#333;line-height:1.4}.close-button{background:none;border:none;font-size:24px;cursor:pointer;color:#666;padding:0;width:30px;height:30px;display:flex;align-items:center;justify-content:center;border-radius:50%;transition:background-color .2s ease}.close-button:hover{background:#f8f9fa;color:#333}.video-player{position:relative;width:100%;height:400px}.video-player iframe{border-radius:0}.video-details{padding:20px}.video-details p{margin:10px 0;color:#333}.video-details strong{color:#666}.youtube-link{display:inline-block;margin-top:15px;padding:10px 20px;background:red;color:#fff;text-decoration:none;border-radius:6px;font-weight:600;transition:background-color .2s ease}.youtube-link:hover{background:#c00}@media (max-width: 768px){.search-group{flex-direction:column}.video-grid{grid-template-columns:1fr}.modal-content{margin:10px;max-height:calc(100vh - 20px)}.video-player{height:250px}}/**
* Copyright (c) 2014 The xterm.js authors. All rights reserved.
* Copyright (c) 2012-2013, Christopher Jeffrey (MIT License)
* https://github.com/chjj/term.js
* @license MIT
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the rights
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
* copies of the Software, and to permit persons to whom the Software is
* furnished to do so, subject to the following conditions:
*
* The above copyright notice and this permission notice shall be included in
* all copies or substantial portions of the Software.
*
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
* THE SOFTWARE.
*
* Originally forked from (with the author's permission):
*   Fabrice Bellard's javascript vt100 for jslinux:
*   http://bellard.org/jslinux/
*   Copyright (c) 2011 Fabrice Bellard
*   The original design remains. The terminal itself
*   has been extended to include xterm CSI codes, among
*   other features.
*/.xterm{cursor:text;position:relative;user-select:none;-ms-user-select:none;-webkit-user-select:none}.xterm.focus,.xterm:focus{outline:none}.xterm .xterm-helpers{position:absolute;top:0;z-index:5}.xterm .xterm-helper-textarea{padding:0;border:0;margin:0;position:absolute;opacity:0;left:-9999em;top:0;width:0;height:0;z-index:-5;white-space:nowrap;overflow:hidden;resize:none}.xterm .composition-view{background:#000;color:#fff;display:none;position:absolute;white-space:nowrap;z-index:1}.xterm .composition-view.active{display:block}.xterm .xterm-viewport{background-color:#000;overflow-y:scroll;cursor:default;position:absolute;right:0;left:0;top:0;bottom:0}.xterm .xterm-screen{position:relative}.xterm .xterm-screen canvas{position:absolute;left:0;top:0}.xterm .xterm-scroll-area{visibility:hidden}.xterm-char-measure-element{display:inline-block;visibility:hidden;position:absolute;top:0;left:-9999em;line-height:normal}.xterm.enable-mouse-events{cursor:default}.xterm.xterm-cursor-pointer,.xterm .xterm-cursor-pointer{cursor:pointer}.xterm.column-select.focus{cursor:crosshair}.xterm .xterm-accessibility:not(.debug),.xterm .xterm-message{position:absolute;left:0;top:0;bottom:0;right:0;z-index:10;color:transparent;pointer-events:none}.xterm .xterm-accessibility-tree:not(.debug) *::selection{color:transparent}.xterm .xterm-accessibility-tree{-webkit-user-select:text;user-select:text;white-space:pre}.xterm .live-region{position:absolute;left:-9999px;width:1px;height:1px;overflow:hidden}.xterm-dim{opacity:1!important}.xterm-underline-1{text-decoration:underline}.xterm-underline-2{text-decoration:double underline}.xterm-underline-3{text-decoration:wavy underline}.xterm-underline-4{text-decoration:dotted underline}.xterm-underline-5{text-decoration:dashed underline}.xterm-overline{text-decoration:overline}.xterm-overline.xterm-underline-1{text-decoration:overline underline}.xterm-overline.xterm-underline-2{text-decoration:overline double underline}.xterm-overline.xterm-underline-3{text-decoration:overline wavy underline}.xterm-overline.xterm-underline-4{text-decoration:overline dotted underline}.xterm-overline.xterm-underline-5{text-decoration:overline dashed underline}.xterm-strikethrough{text-decoration:line-through}.xterm-screen .xterm-decoration-container .xterm-decoration{z-index:6;position:absolute}.xterm-screen .xterm-decoration-container .xterm-decoration.xterm-decoration-top-layer{z-index:7}.xterm-decoration-overview-ruler{z-index:8;position:absolute;top:0;right:0;pointer-events:none}.xterm-decoration-top{z-index:2;position:relative}.terminal-page{display:flex;flex-direction:column;height:100vh;background-color:#0d1117;color:#f0f0f0}.terminal-header{display:flex;justify-content:space-between;align-items:center;padding:1rem 2rem;background-color:#161b22;border-bottom:1px solid #30363d}.terminal-header h1{margin:0;font-size:1.5rem;color:#f0f0f0}.terminal-controls{display:flex;align-items:center;gap:1rem}.status-indicator{display:flex;align-items:center;gap:.5rem;padding:.5rem 1rem;background-color:#21262d;border-radius:6px;font-size:.875rem}.status-dot{width:8px;height:8px;border-radius:50%;animation:pulse 2s infinite}.status-indicator.connected .status-dot{background-color:#3fb950;box-shadow:0 0 8px #3fb95099}.status-indicator.disconnected .status-dot{background-color:#f85149;box-shadow:0 0 8px #f8514999;animation:none}@keyframes pulse{0%,to{opacity:1}50%{opacity:.5}}.control-button{padding:.5rem 1rem;background-color:#238636;color:#fff;border:none;border-radius:6px;cursor:pointer;font-size:.875rem;font-weight:500;transition:background-color .2s}.control-button:hover{background-color:#2ea043}.control-button:active{background-color:#1f7a2f}.error-banner{padding:1rem 2rem;background-color:#f85149;color:#fff;font-weight:500;border-bottom:1px solid #e05149}.terminal-info{padding:1rem 2rem;background-color:#161b22;border-bottom:1px solid #30363d;font-size:.875rem;line-height:1.6}.terminal-info p{margin:.25rem 0}.terminal-container{flex:1;padding:1rem;overflow:hidden}.terminal{width:100%;height:100%;border-radius:6px;padding:.5rem;background-color:#1e1e1e}.xterm{padding:.5rem}.xterm-viewport{overflow-y:auto!important}.xterm-viewport::-webkit-scrollbar{width:10px}.xterm-viewport::-webkit-scrollbar-track{background:#1e1e1e}.xterm-viewport::-webkit-scrollbar-thumb{background:#404040;border-radius:5px}.xterm-viewport::-webkit-scrollbar-thumb:hover{background:#555}@media (max-width: 768px){.terminal-header{flex-direction:column;gap:1rem;padding:1rem}.terminal-controls{width:100%;justify-content:space-between}.terminal-info{padding:1rem;font-size:.75rem}}.agents-container{min-height:100vh;background:linear-gradient(135deg,#667eea,#764ba2);padding:20px}.agents-header{max-width:1400px;margin:0 auto 30px;text-align:center;color:#fff}.agents-header h1{margin:10px 0;font-size:2.5em;text-shadow:2px 2px 4px rgba(0,0,0,.2)}.agents-subtitle{font-size:1.1em;opacity:.95;margin:5px 0;color:#fff}.alert{max-width:1400px;margin:0 auto 20px;padding:16px 20px;border-radius:8px;display:flex;justify-content:space-between;align-items:center;font-size:14px;box-shadow:0 2px 8px #0000001a}.alert-success{background:#e8f5e9;color:#2e7d32;border:1px solid #c8e6c9}.alert-close{background:none;border:none;font-size:24px;cursor:pointer;color:inherit;opacity:.7;padding:0;margin-left:12px;transition:opacity .2s}.alert-close:hover{opacity:1}.agents-layout{max-width:1400px;margin:0 auto;display:grid;grid-template-columns:1fr 1fr;gap:20px;align-items:start}.agents-panel{background:#fff;border-radius:12px;padding:30px;box-shadow:0 10px 40px #0000001a}.agents-panel h2{margin:0 0 20px;color:#333;font-size:1.5em}.create-panel{position:sticky;top:20px}.message{padding:12px 16px;border-radius:8px;margin-bottom:20px;font-size:14px}.error-message{background:#fee;border:1px solid #fcc;color:#c33}.success-message{background:#efe;border:1px solid #cfc;color:#3c3}.agent-form{display:flex;flex-direction:column;gap:20px}.form-group{display:flex;flex-direction:column;gap:8px}.form-group label{font-weight:600;color:#555;font-size:14px}.form-group input,.form-group textarea,.form-group select{padding:12px;border:2px solid #e0e0e0;border-radius:8px;font-size:14px;font-family:inherit;transition:border-color .2s}.form-group input:focus,.form-group textarea:focus,.form-group select:focus{outline:none;border-color:#667eea}.form-group select{cursor:pointer;background-color:#fff}.form-group textarea{resize:vertical;font-family:inherit}.form-hint{font-size:12px;color:#888;margin-top:-4px}.form-hint code{background:#f5f5f5;padding:2px 6px;border-radius:4px;font-size:11px}.create-button{padding:14px 24px;background:linear-gradient(135deg,#667eea,#764ba2);color:#fff;border:none;border-radius:8px;font-size:16px;font-weight:600;cursor:pointer;transition:transform .2s,box-shadow .2s}.create-button:hover:not(:disabled){transform:translateY(-2px);box-shadow:0 6px 20px #667eea66}.create-button:disabled{opacity:.6;cursor:not-allowed}.info-box{margin-top:30px;padding:20px;background:#f8f9ff;border-radius:8px;border-left:4px solid #667eea}.info-box h3{margin:0 0 12px;font-size:14px;color:#667eea}.info-box ul{margin:0;padding-left:20px;font-size:13px;color:#666;line-height:1.8}.info-box code{background:#fff;padding:2px 6px;border-radius:4px;font-size:12px}.list-panel{max-height:calc(100vh - 140px);overflow-y:auto}.empty-state{text-align:center;padding:60px 20px;color:#999}.empty-state p{margin:10px 0;font-size:16px}.empty-hint{font-size:14px!important;color:#bbb!important}.agents-list{display:flex;flex-direction:column;gap:16px}.agent-card{border:2px solid #e0e0e0;border-radius:10px;padding:20px;transition:all .2s;background:#fff}.agent-card:hover{border-color:#667eea;box-shadow:0 4px 12px #667eea26;transform:translate(4px)}.agent-card.status-running{border-left:4px solid #4caf50}.agent-card.status-completed{border-left:4px solid #2196f3}.agent-card.status-failed{border-left:4px solid #f44336}.agent-card.status-stopped{border-left:4px solid #ff9800}.agent-card-header{display:flex;justify-content:space-between;align-items:flex-start;margin-bottom:16px}.agent-title{display:flex;flex-direction:column;gap:8px;flex:1}.agent-title h3{margin:0;font-size:18px;color:#333;font-weight:600}.status-badge{display:inline-flex;align-items:center;gap:6px;padding:4px 12px;border-radius:20px;font-size:12px;font-weight:600;text-transform:uppercase;letter-spacing:.5px;width:fit-content}.status-badge.status-idle{background:#e3f2fd;color:#1976d2}.status-badge.status-running{background:#fff3e0;color:#f57c00;animation:pulse 2s ease-in-out infinite}.status-badge.status-stopped{background:#f3e5f5;color:#7b1fa2}.status-badge.status-failed{background:#ffebee;color:#c62828}@keyframes pulse{0%,to{opacity:1}50%{opacity:.7}}.agent-name{display:flex;align-items:center;gap:8px;font-size:16px;color:#333}.status-icon{font-size:14px}.agent-time{font-size:12px;color:#999}.agent-card-body,.agent-details{display:flex;flex-direction:column;gap:10px;margin-bottom:16px}.detail-row{display:flex;align-items:center;gap:8px;font-size:14px}.detail-label{font-weight:600;color:#666;min-width:80px}.detail-value{color:#333;flex:1}.detail-value code{background:#f0f4ff;padding:4px 8px;border-radius:4px;font-size:12px;color:#667eea;font-family:Courier New,monospace}.agent-actions{display:flex;gap:10px;padding-top:12px;border-top:1px solid #f0f0f0}.agent-branch{font-size:12px}.agent-branch code{background:#f0f4ff;padding:4px 8px;border-radius:4px;font-size:11px;color:#667eea}.agent-prompt{font-size:13px;color:#666;line-height:1.5;font-style:italic}.agent-meta{display:flex;gap:12px;font-size:12px;color:#888}.agent-command{font-family:Courier New,monospace}.agent-exit-code{font-size:12px;color:#666;font-weight:500}.agent-actions,.agent-card-footer{display:flex;gap:10px;padding-top:12px;border-top:1px solid #f0f0f0}.view-button,.delete-button{padding:10px 18px;border:none;border-radius:6px;font-size:14px;font-weight:500;cursor:pointer;transition:all .2s;text-decoration:none;text-align:center}.view-button{flex:1;background:#667eea;color:#fff;display:inline-block}.view-button:hover{background:#5568d3;transform:translateY(-1px)}.delete-button{background:#fff;color:#666;padding:8px 12px;border:1px solid #e0e0e0;font-size:18px}.delete-button:hover{background:#fee;color:#c33;border-color:#fcc}@media (max-width: 1024px){.agents-container{grid-template-columns:1fr}.create-panel{position:static}.list-panel{max-height:none}}.list-panel::-webkit-scrollbar{width:8px}.list-panel::-webkit-scrollbar-track{background:#f0f0f0;border-radius:4px}.list-panel::-webkit-scrollbar-thumb{background:#ccc;border-radius:4px}.list-panel::-webkit-scrollbar-thumb:hover{background:#aaa}.agent-output-container{min-height:100vh;background:linear-gradient(135deg,#667eea,#764ba2);padding:20px}.loading,.error-message{max-width:600px;margin:100px auto;background:#fff;padding:60px;border-radius:12px;text-align:center;box-shadow:0 10px 40px #0000001a}.agent-output-header{max-width:1400px;margin:0 auto 20px;background:#fff;border-radius:12px;padding:24px;box-shadow:0 4px 20px #0000001a}.agent-info{display:flex;align-items:center;gap:12px;margin-bottom:16px}.agent-info h1{margin:0;font-size:1.8em;color:#333}.back-button{padding:8px 16px;background:#f5f5f5;color:#667eea;border:none;border-radius:6px;font-size:14px;font-weight:500;cursor:pointer;transition:all .2s;text-decoration:none}.back-button:hover{background:#e8e8f5;color:#5568d3}.status-badge{padding:6px 14px;border-radius:20px;font-size:13px;font-weight:600;white-space:nowrap}.status-badge.status-idle{background:#e8f5e9;color:#2e7d32}.status-badge.status-running{background:#fff3e0;color:#f57c00;animation:pulse 1.5s ease-in-out infinite}.status-badge.status-stopped,.status-badge.status-failed{background:#ffebee;color:#c62828}@keyframes pulse{0%,to{opacity:1}50%{opacity:.6}}.agent-metadata{display:flex;flex-wrap:wrap;gap:20px;font-size:13px;color:#666;margin-bottom:16px}.metadata-item{display:flex;align-items:center;gap:6px}.metadata-item .label{font-weight:500;color:#888}.metadata-item .value,.metadata-item code{background:#f0f4ff;padding:4px 8px;border-radius:4px;font-size:12px;color:#667eea;font-family:Monaco,Menlo,monospace}.stop-button{padding:10px 20px;background:#fee;color:#c33;border:none;border-radius:8px;font-size:14px;font-weight:500;cursor:pointer;transition:all .2s}.stop-button:hover{background:#fdd;transform:translateY(-1px)}.alert{max-width:1400px;margin:0 auto 20px;padding:12px 20px;border-radius:8px;font-size:14px}.alert-error{background:#ffebee;color:#c62828;border:1px solid #ffcdd2}.command-input-section{max-width:1400px;margin:0 auto 20px;background:#fff;border-radius:12px;padding:20px;box-shadow:0 4px 20px #0000001a}.command-form{display:flex;gap:12px;margin-bottom:8px}.command-input{flex:1;padding:12px 16px;border:2px solid #e0e0e0;border-radius:8px;font-size:14px;font-family:Monaco,Menlo,Ubuntu Mono,monospace;transition:border-color .2s}.command-input:focus{outline:none;border-color:#667eea}.command-input:disabled{background:#f5f5f5;cursor:not-allowed}.send-button{padding:12px 24px;background:linear-gradient(135deg,#667eea,#764ba2);color:#fff;border:none;border-radius:8px;font-weight:600;cursor:pointer;transition:transform .2s,box-shadow .2s}.send-button:hover:not(:disabled){transform:translateY(-2px);box-shadow:0 4px 12px #667eea66}.send-button:disabled{opacity:.6;cursor:not-allowed;transform:none}.command-hint{color:#666;font-size:13px}.output-section{max-width:1400px;margin:0 auto 20px;background:#fff;border-radius:12px;box-shadow:0 4px 20px #0000001a;overflow:hidden}.output-content{background:#1e1e1e;color:#d4d4d4;font-family:Courier New,Consolas,monospace;font-size:13px;line-height:1.6;padding:20px;height:60vh;overflow-y:auto;overflow-x:auto}.empty-output{display:flex;flex-direction:column;align-items:center;justify-content:center;height:100%;color:#888}.output-line{white-space:pre-wrap;word-wrap:break-word;margin:0;padding:2px 0}.output-line.command{color:#4fc3f7;font-weight:700;margin-top:16px;padding-top:16px;border-top:1px solid #333}.output-line.status{color:#888;font-style:italic;margin:12px 0;padding:8px;background:#ffffff0d;border-radius:4px}.output-line.stdout{color:#d4d4d4}.output-line.stderr{color:#f48771}.scroll-to-bottom{position:fixed;bottom:100px;right:40px;padding:12px 24px;background:#667eea;color:#fff;border:none;border-radius:24px;font-size:14px;font-weight:600;cursor:pointer;box-shadow:0 4px 12px #0003;transition:all .2s;z-index:100}.scroll-to-bottom:hover{transform:translateY(-2px);box-shadow:0 6px 16px #0000004d}.output-footer{max-width:1400px;margin:0 auto;padding:16px 24px;background:#fff;border-radius:12px;box-shadow:0 4px 20px #0000001a;display:flex;justify-content:space-between;align-items:center;font-size:14px}.status-indicator{font-weight:500;color:#666}.auto-scroll-toggle{display:flex;align-items:center;gap:8px}.auto-scroll-toggle label{display:flex;align-items:center;gap:6px;cursor:pointer;-webkit-user-select:none;user-select:none}.auto-scroll-toggle input[type=checkbox]{cursor:pointer}.output-content::-webkit-scrollbar{width:12px;height:12px}.output-content::-webkit-scrollbar-track{background:#2d2d2d}.output-content::-webkit-scrollbar-thumb{background:#555;border-radius:6px}.output-content::-webkit-scrollbar-thumb:hover{background:#777}@media (max-width: 768px){.agent-output-container{padding:10px}.agent-info{flex-direction:column;align-items:flex-start}.agent-metadata{flex-direction:column;gap:8px}.output-content{height:50vh;font-size:12px}.scroll-to-bottom{bottom:80px;right:20px}}
