.strategy-list{display:flex;flex-direction:column;height:100%;padding:0 1.5rem}.strategy-list-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:1rem}.strategy-list-header h2{font-size:1rem;color:#202124;font-weight:500}.btn-new{background:#202124;color:#fff;border:none;padding:.5rem 1rem;border-radius:20px;cursor:pointer;font-size:.875rem;font-weight:500;transition:all .2s}.btn-new:hover{background:#000}.strategy-items{flex:1;overflow-y:auto}.empty-state{text-align:center;padding:2rem 1rem;color:#5f6368}.empty-state .hint{font-size:.875rem;margin-top:.5rem;color:#80868b}.strategy-item{background:#fff;border:1px solid #e8eaed;border-radius:8px;padding:.75rem;margin-bottom:.5rem;cursor:pointer;transition:all .2s}.strategy-item:hover{border-color:#dadce0;box-shadow:0 1px 3px #0000001a}.strategy-item.active{border-color:#dadce0;background:#f1f3f4}.strategy-item-header{display:flex;justify-content:space-between;align-items:center}.strategy-item-header h3{font-size:.875rem;color:#202124;margin-bottom:.25rem;font-weight:500;flex:1}.strategy-actions{display:flex;gap:4px;opacity:0;transition:opacity .2s}.strategy-item:hover .strategy-actions{opacity:1}.btn-share,.btn-delete{background:transparent;border:none;color:#5f6368;font-size:1.2rem;cursor:pointer;width:24px;height:24px;border-radius:50%;display:flex;align-items:center;justify-content:center;transition:all .2s;line-height:1;padding:0}.btn-share:hover{background:#e8eaed;color:#5f6368}.btn-delete:hover{background:#f1f3f4;color:#202124}.strategy-description{font-size:.75rem;color:#5f6368;margin-bottom:.5rem;line-height:1.4;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.strategy-meta{display:flex;gap:.5rem;font-size:.7rem}.meta-item{background:#f1f3f4;padding:.2rem .5rem;border-radius:4px;color:#5f6368}.strategy-list-footer{padding:1rem 0;border-top:1px solid #e8eaed;margin-top:1rem}.btn-import-hub{width:100%;background:#202124;color:#fff;border:none;padding:.75rem 1rem;border-radius:8px;cursor:pointer;font-size:.875rem;font-weight:600;transition:all .3s;display:flex;align-items:center;justify-content:center;gap:.5rem}.btn-import-hub:hover{background:#000;transform:translateY(-2px);box-shadow:0 4px 12px #0003}.btn-import-hub:active{transform:translateY(0)}.strategy-builder{display:flex;flex-direction:column;height:100%;width:100%;padding:0}.messages-container{flex:1;overflow-y:auto;padding:2rem 3rem;display:flex;flex-direction:column;gap:1.5rem;max-width:900px;margin:0 auto;width:100%}.welcome-message{text-align:center;padding:4rem 2rem;max-width:600px;margin:0 auto}.welcome-message h2{font-size:2rem;color:#202124;margin-bottom:.5rem;font-weight:400}.welcome-message p{color:#5f6368;font-size:1rem;margin-bottom:1rem}.strategy-tips{background:#f8f9fa;border-radius:12px;padding:1.5rem;margin-bottom:2rem;text-align:left}.tips-title{font-size:1rem;font-weight:600;color:#202124;margin-bottom:1rem}.tips-list{list-style:none;padding:0;margin:0;display:flex;flex-direction:column;gap:.75rem}.tips-list li{color:#5f6368;font-size:.9rem;line-height:1.5;padding-left:1.5rem;position:relative}.tips-list li:before{content:"•";position:absolute;left:.5rem;color:#5f6368;font-weight:700}.tips-list li strong{color:#202124;font-weight:600}.example-prompts{display:flex;gap:.75rem;flex-wrap:wrap;justify-content:center}.example-prompts button{background:#f8f9fa;border:1px solid #dadce0;color:#202124;padding:.75rem 1.25rem;border-radius:24px;cursor:pointer;font-size:.875rem;transition:all .2s}.example-prompts button:hover{background:#e8eaed;border-color:#bdc1c6}.message{display:flex;gap:.75rem;max-width:100%}.message.user{justify-content:flex-end}.message.user .message-content{background:#f1f3f4;color:#202124;padding:1rem 1.25rem;border-radius:18px;max-width:80%}.message.assistant .message-content{background:transparent;color:#202124;padding:.5rem 0;max-width:100%}.message.assistant.streaming .cursor{display:inline-block;animation:blink 1s infinite;margin-left:2px}@keyframes blink{0%,50%{opacity:1}51%,to{opacity:0}}.message.error .message-content{background:#f1f3f4;color:#202124;padding:1rem 1.25rem;border-radius:8px;border-left:4px solid #202124}.message-content p{margin:0;line-height:1.6}.message-content pre{background:#f8f9fa;border:1px solid #e8eaed;border-radius:6px;padding:1rem;overflow-x:auto;margin:.5rem 0}.message-content code{background:#f8f9fa;padding:.2rem .4rem;border-radius:3px;font-size:.875rem}.message-content pre code{background:transparent;padding:0}.input-section{border-top:1px solid #e8eaed;padding:1rem;background:#fff}.input-wrapper{display:flex;gap:.5rem;align-items:flex-end;background:#f8f9fa;border:1px solid #dadce0;border-radius:24px;padding:.5rem .75rem;transition:all .2s}.input-wrapper:focus-within{background:#fff;border-color:#dadce0;box-shadow:0 1px 6px #0000001a}.idea-input{flex:1;background:transparent;border:none;padding:.5rem;color:#202124;font-size:1rem;font-family:inherit;resize:none;max-height:200px;overflow-y:auto}.idea-input:focus{outline:none}.idea-input::placeholder{color:#5f6368}.idea-input:disabled{opacity:.6;cursor:not-allowed}.btn-send{background:#202124;color:#fff;border:none;width:36px;height:36px;border-radius:50%;font-size:1.25rem;cursor:pointer;display:flex;align-items:center;justify-content:center;transition:all .2s;flex-shrink:0}.btn-send:hover:not(:disabled){background:#000}.btn-send:disabled{background:#dadce0;cursor:not-allowed}.hint-text{text-align:center;font-size:.75rem;color:#5f6368;margin-top:.5rem}.backtest-chart{margin:1rem 0}.backtest-chart h4{font-size:.875rem;color:#a5b4fc;margin-bottom:.75rem}.chart-empty{text-align:center;padding:2rem;color:#64748b;background:#0a0e27;border-radius:6px}.chart-legend{display:flex;justify-content:center;gap:1rem;margin-top:.5rem;font-size:.75rem}.legend-item{display:flex;align-items:center;gap:.5rem;color:#8892b0}.legend-dot{width:8px;height:8px;border-radius:50%;border:1px solid #fff}.legend-dot.entry{background:#34d399}.legend-dot.exit{background:#f87171}.modal-overlay{position:fixed;top:0;left:0;right:0;bottom:0;background-color:#00000080;display:flex;align-items:center;justify-content:center;z-index:1000}.modal-content{background:#fff;border-radius:12px;width:90%;max-width:600px;max-height:90vh;overflow-y:auto;box-shadow:0 4px 20px #00000026}.modal-header{display:flex;justify-content:space-between;align-items:center;padding:1.5rem;border-bottom:1px solid #e5e7eb}.modal-header h2{margin:0;font-size:1.5rem;color:#1f2937}.close-btn{background:none;border:none;font-size:2rem;color:#6b7280;cursor:pointer;padding:0;width:32px;height:32px;display:flex;align-items:center;justify-content:center;border-radius:4px;transition:background-color .2s}.close-btn:hover{background-color:#f3f4f6}.modal-body{padding:1.5rem}.strategy-info{margin-bottom:1.5rem;padding:1rem;background-color:#f9fafb;border-radius:8px}.strategy-info h3{margin:0 0 .5rem;font-size:1.125rem;color:#1f2937}.strategy-info p{margin:0;color:#6b7280;font-size:.875rem}.form-group{margin-bottom:1.5rem}.form-group label{display:block;margin-bottom:.5rem;font-weight:500;color:#374151}.form-group input,.form-group select{width:100%;padding:.75rem;border:1px solid #d1d5db;border-radius:6px;font-size:1rem;transition:border-color .2s;background-color:#fff}.form-group input:focus,.form-group select:focus{outline:none;border-color:#dadce0;box-shadow:0 0 0 3px #0000001a}.form-group small{display:block;margin-top:.25rem;color:#6b7280;font-size:.875rem}.risk-params{margin:1.5rem 0;padding:1rem;background-color:#f9fafb;border-radius:8px}.risk-params h4{margin:0 0 1rem;font-size:1rem;color:#374151}.params-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:.75rem}.param-item{display:flex;justify-content:space-between;padding:.5rem;background-color:#fff;border-radius:4px;font-size:.875rem}.param-item span:first-child{color:#6b7280}.param-item span:last-child{font-weight:600;color:#1f2937}.modal-actions{display:flex;gap:1rem;margin-top:1.5rem;padding-top:1.5rem;border-top:1px solid #e5e7eb}.btn-cancel,.btn-run{flex:1;padding:.75rem 1.5rem;border-radius:6px;font-size:1rem;font-weight:500;cursor:pointer;transition:all .2s}.btn-cancel{background-color:#fff;border:1px solid #d1d5db;color:#374151}.btn-cancel:hover{background-color:#f9fafb}.btn-run{background-color:#202124;border:none;color:#fff}.btn-run:hover:not(:disabled){background-color:#000}.btn-run:disabled{opacity:.6;cursor:not-allowed}.results-modal{background:#fff;border-radius:12px;width:95%;max-width:1200px;max-height:90vh;overflow-y:auto;box-shadow:0 4px 20px #00000026}.results-body{padding:1.5rem}.summary-cards{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:1rem;margin-bottom:2rem}.summary-card{background-color:#f9fafb;padding:1.25rem;border-radius:8px;border:1px solid #e5e7eb}.card-label{font-size:.875rem;color:#6b7280;margin-bottom:.5rem}.card-value{font-size:1.75rem;font-weight:700;color:#1f2937}.card-value.positive{color:#10b981}.card-value.negative{color:#ef4444}.card-sublabel{font-size:.75rem;color:#9ca3af;margin-top:.25rem}.chart-section{margin-bottom:2rem;padding:1.5rem;background-color:#f9fafb;border-radius:8px}.chart-section h3{margin:0 0 1rem;font-size:1.125rem;color:#1f2937}.stats-section{margin-bottom:2rem;padding:1.5rem;background-color:#f9fafb;border-radius:8px}.stats-section h3{margin:0 0 1rem;font-size:1.125rem;color:#1f2937}.stats-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:1rem}.stat-item{display:flex;justify-content:space-between;padding:.75rem;background-color:#fff;border-radius:6px;font-size:.875rem}.stat-item span:first-child{color:#6b7280}.stat-item span:last-child{font-weight:600;color:#1f2937}.trades-section{margin-bottom:2rem}.trades-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:1rem}.trades-section h3{margin:0;font-size:1.125rem;color:#1f2937}.pagination{display:flex;align-items:center;gap:1rem}.pagination-btn{padding:.5rem 1rem;background-color:#202124;color:#fff;border:none;border-radius:6px;cursor:pointer;font-size:.875rem;transition:background-color .2s}.pagination-btn:hover:not(:disabled){background-color:#000}.pagination-btn:disabled{background-color:#d1d5db;cursor:not-allowed}.pagination-info{font-size:.875rem;color:#6b7280}.trades-table-container{overflow-x:auto;border-radius:8px;border:1px solid #e5e7eb}.trades-table{width:100%;border-collapse:collapse;background-color:#fff}.trades-table thead{background-color:#f9fafb}.trades-table th{padding:.75rem 1rem;text-align:left;font-size:.875rem;font-weight:600;color:#374151;border-bottom:1px solid #e5e7eb}.trades-table td{padding:.75rem 1rem;font-size:.875rem;color:#1f2937;border-bottom:1px solid #f3f4f6}.trades-table tbody tr:hover{background-color:#f9fafb}.trades-table .positive{color:#10b981;font-weight:600}.trades-table .negative{color:#ef4444;font-weight:600}.btn-close{width:100%;padding:.75rem 1.5rem;background-color:#202124;border:none;border-radius:6px;color:#fff;font-size:1rem;font-weight:500;cursor:pointer;transition:background-color .2s}.btn-close:hover{background-color:#000}.strategy-hub{width:100%;height:100%;background:#fff;padding:20px;overflow-y:auto}.hub-header{text-align:center;margin-bottom:30px;margin-top:0;color:#202124}.hub-header h1{font-size:2rem;margin-bottom:10px;font-weight:500}.hub-header p{font-size:1rem;color:#5f6368}.hub-toolbar{background:#f8f9fa;border:1px solid #e8eaed;border-radius:8px;padding:20px;margin-bottom:20px}.search-section{display:flex;gap:10px;margin-bottom:15px}.filter-btn{display:flex;align-items:center;gap:8px;padding:8px 16px;background:#f8f9fa;color:#202124;border:1px solid #dadce0;border-radius:20px;cursor:pointer;font-size:.875rem;transition:all .2s}.filter-btn:hover{background:#e8eaed;border-color:#bdc1c6}.search-input{flex:1;padding:8px 12px;border:1px solid #dadce0;border-radius:20px;font-size:.875rem;background:#fff;color:#202124;transition:border-color .2s}.search-input:focus{outline:none;border-color:#dadce0}.search-btn{padding:8px 16px;background:#202124;color:#fff;border:none;border-radius:20px;cursor:pointer;font-size:1rem;transition:all .2s}.search-btn:hover{background:#000}.sort-section{display:flex;gap:10px;flex-wrap:wrap}.sort-btn{padding:6px 12px;background:#f8f9fa;border:1px solid #dadce0;border-radius:20px;cursor:pointer;font-size:.875rem;color:#202124;transition:all .2s}.sort-btn:hover{background:#e8eaed;border-color:#bdc1c6}.sort-btn.active{background:#e8eaed;color:#202124;border-color:#dadce0}.category-tabs{display:flex;gap:10px;margin-bottom:20px;flex-wrap:wrap}.category-tab{display:flex;align-items:center;gap:8px;padding:8px 16px;background:#f8f9fa;border:1px solid #dadce0;border-radius:20px;cursor:pointer;font-size:.875rem;color:#202124;transition:all .2s}.category-tab:hover{background:#e8eaed;border-color:#bdc1c6}.category-tab.active{background:#e8eaed;color:#202124;border-color:#dadce0}.cat-icon{font-size:1.2rem}.strategy-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(350px,1fr));gap:20px;margin-bottom:40px}.loading{text-align:center;padding:60px;font-size:1rem;color:#5f6368}.no-strategies{text-align:center;padding:60px;background:#f8f9fa;border:1px solid #e8eaed;border-radius:8px}.no-strategies p{font-size:1rem;color:#5f6368}.icon{display:inline-block}@media (max-width: 768px){.strategy-grid{grid-template-columns:1fr}.hub-header h1{font-size:2rem}.sort-section,.category-tabs{justify-content:center}}.strategy-card{background:#fff;border:1px solid #e8eaed;border-radius:8px;overflow:hidden;transition:all .2s;cursor:pointer;display:flex;flex-direction:column}.strategy-card:hover{border-color:#bdc1c6;box-shadow:0 2px 8px #0000001a}.card-header{display:flex;gap:15px;padding:15px;background:#f8f9fa;border-bottom:1px solid #e8eaed;color:#202124}.card-image{width:80px;height:80px;flex-shrink:0;border-radius:6px;overflow:hidden;background:#e8eaed}.card-image img{width:100%;height:100%;object-fit:cover}.default-image{width:100%;height:100%;display:flex;align-items:center;justify-content:center;font-size:2rem;color:#5f6368}.card-title-section{flex:1;min-width:0}.card-title{font-size:1rem;font-weight:500;margin:0 0 10px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#202124}.card-stats-row{display:flex;gap:15px;margin-bottom:5px}.stat-item{display:flex;flex-direction:column;gap:2px}.stat-label{font-size:.75rem;color:#5f6368}.stat-value{font-size:.875rem;font-weight:600;color:#202124}.card-body{padding:15px;flex:1}.card-description{font-size:.875rem;color:#5f6368;line-height:1.5;margin:0;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden;text-overflow:ellipsis}.card-footer{padding:15px;border-top:1px solid #e8eaed}.card-meta{display:flex;gap:15px;margin-bottom:10px;font-size:.875rem;color:#5f6368}.card-meta span{display:flex;align-items:center;gap:5px}.card-actions{display:flex;gap:8px;flex-wrap:wrap}.action-btn{flex:1;min-width:70px;padding:6px 12px;background:#f8f9fa;border:1px solid #dadce0;border-radius:20px;cursor:pointer;font-size:.875rem;color:#202124;transition:all .2s;display:flex;align-items:center;justify-content:center;gap:5px}.action-btn:hover{background:#e8eaed;border-color:#bdc1c6}.action-btn .icon{font-size:1rem}.import-btn{background:#202124;color:#fff;border-color:#202124}.import-btn:hover{background:#000;border-color:#000}@media (max-width: 480px){.card-header{flex-direction:column;align-items:center;text-align:center}.card-stats-row{justify-content:center}.action-btn{min-width:60px;font-size:.8rem}}.modal-overlay{position:fixed;top:0;left:0;right:0;bottom:0;background:#000000b3;display:flex;align-items:center;justify-content:center;z-index:1000;padding:20px}.modal-content{background:#fff;border-radius:16px;max-width:900px;width:100%;max-height:90vh;overflow-y:auto;box-shadow:0 20px 60px #0000004d}.strategy-detail{padding:0}.detail-header{display:flex;justify-content:space-between;align-items:center;padding:25px 30px;background:#e8eaed;color:#202124;border-radius:16px 16px 0 0}.detail-header h2{margin:0;font-size:1.8rem;font-weight:700}.close-btn{background:#fff3;border:none;color:#fff;font-size:1.5rem;width:40px;height:40px;border-radius:50%;cursor:pointer;transition:all .3s;display:flex;align-items:center;justify-content:center}.detail-stats{display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:15px;padding:25px 30px;background:#f8f9fa;border-bottom:1px solid #e0e0e0}.stat-box{text-align:center;padding:15px;background:#fff;border-radius:10px;box-shadow:0 2px 4px #0000000d}.stat-box .stat-label{font-size:.85rem;color:#666;margin-bottom:8px;display:block}.stat-box .stat-value{font-size:1.3rem;font-weight:700;color:#333}.stat-box .stat-value.positive{color:#10b981}.stat-box .stat-value.negative{color:#ef4444}.detail-section{padding:25px 30px;border-bottom:1px solid #e0e0e0}.detail-section h3{margin:0 0 15px;font-size:1.2rem;color:#333;font-weight:600}.detail-section p{margin:0;line-height:1.6;color:#666}.code-block{background:#1e1e1e;color:#d4d4d4;padding:15px;border-radius:8px;overflow-x:auto;font-family:Courier New,monospace;font-size:.9rem;line-height:1.5;margin:0}.detail-actions{display:flex;gap:15px;padding:25px 30px;background:#f8f9fa;border-bottom:1px solid #e0e0e0}.detail-actions .action-btn{flex:1;padding:12px 24px;border:none;border-radius:8px;cursor:pointer;font-size:1rem;font-weight:600;transition:all .3s;display:flex;align-items:center;justify-content:center;gap:8px}.like-btn{background:#f1f3f4;color:#202124;border:2px solid #dadce0}.like-btn:hover{background:#e8eaed;transform:translateY(-2px)}.import-btn{background:#202124;color:#fff}.import-btn:hover{background:#000;transform:translateY(-2px)}.backtest-btn{background:#f1f3f4;color:#202124;border:2px solid #dadce0}.backtest-btn:hover{background:#e8eaed;transform:translateY(-2px)}.comments-section{padding:25px 30px}.add-comment{margin-bottom:25px}.add-comment textarea{width:100%;padding:12px;border:2px solid #e0e0e0;border-radius:8px;font-size:.95rem;font-family:inherit;resize:vertical;margin-bottom:10px;transition:border-color .3s}.add-comment textarea:focus{outline:none;border-color:#dadce0}.add-comment button{padding:10px 24px;background:#202124;color:#fff;border:none;border-radius:8px;cursor:pointer;font-size:.95rem;font-weight:600;transition:all .3s}.add-comment button:hover:not(:disabled){background:#000;transform:translateY(-2px)}.add-comment button:disabled{opacity:.5;cursor:not-allowed}.comments-list{display:flex;flex-direction:column;gap:15px}.comment-item{padding:15px;background:#f8f9fa;border-radius:8px;border-left:3px solid #dadce0}.comment-header{display:flex;justify-content:space-between;margin-bottom:8px;font-size:.85rem}.comment-author{font-weight:600;color:#333}.comment-time{color:#999}.comment-content{color:#666;line-height:1.5}.no-comments{text-align:center;color:#999;padding:30px}.detail-footer{padding:20px 30px;background:#f8f9fa;text-align:center;color:#666;font-size:.9rem;border-radius:0 0 16px 16px}@media (max-width: 768px){.detail-stats{grid-template-columns:repeat(2,1fr)}.detail-actions{flex-direction:column}.detail-section{padding:20px}.code-block{font-size:.8rem}}.backtest-history-modal{width:90%;max-width:1200px;max-height:90vh;overflow-y:auto}.backtest-history-modal.large{width:95%;max-width:1400px}.modal-subtitle{font-size:.875rem;color:#5f6368;margin-top:.25rem}.loading-container,.error-container{padding:3rem;text-align:center}.spinner{width:40px;height:40px;margin:0 auto 1rem;border:4px solid #f3f3f3;border-top:4px solid #dadce0;border-radius:50%;animation:spin 1s linear infinite}.error-message{font-size:1.125rem;color:#202124;margin-bottom:.5rem}.error-hint{font-size:.875rem;color:#5f6368}.metrics-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:1rem;margin-bottom:2rem}.metric-card{background:#f8f9fa;border:1px solid #e8eaed;border-radius:8px;padding:1rem;text-align:center}.metric-label{font-size:.75rem;color:#5f6368;text-transform:uppercase;letter-spacing:.5px;margin-bottom:.5rem}.metric-value{font-size:1.5rem;font-weight:600;color:#202124}.metric-value.positive{color:#0f9d58}.metric-value.negative{color:#d93025}.chart-container{margin-bottom:2rem}.chart-container h3{font-size:1rem;color:#202124;margin-bottom:1rem;font-weight:500}.trades-container{margin-top:2rem}.trades-container h3{font-size:1rem;color:#202124;margin-bottom:1rem;font-weight:500}.trades-table-wrapper{max-height:400px;overflow-y:auto;border:1px solid #e8eaed;border-radius:8px}.trades-table{width:100%;border-collapse:collapse;font-size:.875rem}.trades-table thead{position:sticky;top:0;background:#f8f9fa;z-index:1}.trades-table th{padding:.75rem;text-align:left;font-weight:600;color:#5f6368;border-bottom:2px solid #e8eaed}.trades-table td{padding:.75rem;border-bottom:1px solid #f1f3f4;color:#202124}.trades-table td.positive{color:#0f9d58;font-weight:600}.trades-table td.negative{color:#d93025;font-weight:600}@media (max-width: 768px){.backtest-history-modal{width:95%}.metrics-grid{grid-template-columns:repeat(2,1fr)}.trades-table{font-size:.75rem}.trades-table th,.trades-table td{padding:.5rem}}.btn-edit-params,.btn-save-params,.btn-cancel-params{background:#202124;color:#fff;border:none;padding:.4rem .8rem;border-radius:6px;font-size:.75rem;cursor:pointer;transition:all .2s}.btn-edit-params:hover{background:#000}.btn-save-params{background:#34a853;color:#fff}.btn-save-params:hover{background:#2d8e47}.btn-cancel-params{background:#ea4335;color:#fff}.btn-cancel-params:hover{background:#c5221f}.param-input{background:#f8f9fa;border:1px solid #dadce0;border-radius:4px;padding:.3rem .5rem;font-size:.875rem;color:#202124;width:100px;text-align:right}.param-input:focus{outline:none;border-color:#dadce0;background:#fff}.params-panel{position:fixed;top:80px;right:0;width:400px;height:calc(100vh - 80px);min-width:300px;background:#fff;border-left:1px solid #dadce0;display:flex;flex-direction:column;z-index:50;overflow:hidden;box-shadow:-2px 0 8px #0000000d}.resize-handle{position:absolute;top:0;left:0;width:4px;height:100%;cursor:ew-resize;z-index:1000;background:transparent}.resize-handle:hover{background:#dadce0;opacity:.3}.panel-header{display:flex;justify-content:space-between;align-items:center;padding:1rem;border-bottom:1px solid #e8eaed}.panel-header h3{font-size:1rem;color:#202124;font-weight:500;margin:0}.close-btn{background:transparent;border:none;color:#5f6368;font-size:1.5rem;cursor:pointer;width:32px;height:32px;border-radius:50%;display:flex;align-items:center;justify-content:center;transition:background .2s}.close-btn:hover{background:#f1f3f4}.panel-body{flex:1;overflow-y:auto;padding:1rem}.params-content,.backtest-content{display:flex;flex-direction:column;gap:1rem}.param-group{margin-bottom:1rem}.param-group h4{font-size:.875rem;color:#5f6368;margin-bottom:.5rem;font-weight:500}.param-group pre{background:#f8f9fa;border:1px solid #e8eaed;border-radius:6px;padding:.75rem;color:#202124;font-family:Courier New,monospace;font-size:.75rem;overflow-x:auto;line-height:1.5;margin:0}.param-list{display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:.5rem}.param-row{background:#f8f9fa;border:1px solid #e8eaed;border-radius:6px;padding:.5rem .75rem;display:flex;flex-direction:column;gap:.25rem}.param-key{color:#5f6368;font-size:.75rem;font-weight:500}.param-value{color:#202124;font-weight:600;font-size:.875rem}.param-select{background:#f8f9fa;border:1px solid #dadce0;border-radius:4px;padding:.3rem .5rem;font-size:.875rem;color:#202124;width:100%;cursor:pointer}.param-select:focus{outline:none;border-color:#dadce0;background:#fff}.stats-grid{display:grid;grid-template-columns:1fr 1fr;gap:.75rem}.stat{background:#f8f9fa;border:1px solid #e8eaed;border-radius:8px;padding:.75rem;text-align:center}.stat-label{color:#5f6368;font-size:.75rem;margin-bottom:.25rem}.stat-value{color:#202124;font-weight:700;font-size:1.25rem}@media (max-width: 768px){.params-panel{width:calc(100% - 2rem);max-height:400px}.function-buttons{flex-wrap:wrap}}@keyframes spin{0%{transform:rotate(0)}to{transform:rotate(360deg)}}.auth-container{min-height:100vh;display:flex;align-items:center;justify-content:center;background:#e8eaed;padding:2rem}.auth-card{background:#fff;border-radius:16px;box-shadow:0 20px 60px #0000004d;width:100%;max-width:440px;padding:3rem 2.5rem;animation:slideUp .4s ease-out}@keyframes slideUp{0%{opacity:0;transform:translateY(30px)}to{opacity:1;transform:translateY(0)}}.auth-header{text-align:center;margin-bottom:2rem}.auth-header h1{font-size:2rem;color:#202124;margin-bottom:.5rem;font-weight:600}.auth-header p{font-size:.95rem;color:#5f6368}.auth-tabs{display:flex;gap:.5rem;margin-bottom:2rem;background:#f1f3f4;padding:.25rem;border-radius:8px}.auth-tab{flex:1;padding:.75rem 1rem;border:none;background:transparent;color:#5f6368;font-size:.95rem;font-weight:500;cursor:pointer;border-radius:6px;transition:all .2s}.auth-tab.active{background:#fff;color:#5f6368;box-shadow:0 1px 3px #0000001a}.auth-form{display:flex;flex-direction:column;gap:1.25rem}.form-group{display:flex;flex-direction:column;gap:.5rem}.form-group label{font-size:.875rem;color:#202124;font-weight:500}.form-group input{padding:.875rem 1rem;border:1px solid #dadce0;border-radius:8px;font-size:.95rem;transition:all .2s;outline:none}.form-group input:focus{border-color:#dadce0;box-shadow:0 0 0 3px #0000001a}.form-hint{font-size:.8rem;color:#5f6368}.error-message{background:#f1f3f4;color:#202124;padding:.875rem 1rem;border-radius:8px;font-size:.875rem;border-left:3px solid #202124}.auth-submit{padding:.875rem 1.5rem;background:#202124;color:#fff;border:none;border-radius:8px;font-size:1rem;font-weight:500;cursor:pointer;transition:all .2s;margin-top:.5rem}.auth-submit:hover:not(:disabled){background:#000;box-shadow:0 2px 8px #0003}.auth-submit:disabled{opacity:.6;cursor:not-allowed}.auth-footer{margin-top:2rem;text-align:center}.auth-footer p{font-size:.9rem;color:#5f6368}.link-button{background:none;border:none;color:#202124;font-size:.9rem;font-weight:500;cursor:pointer;padding:0;text-decoration:none;transition:color .2s}.link-button:hover{color:#000;text-decoration:underline}@media (max-width: 480px){.auth-card{padding:2rem 1.5rem}.auth-header h1{font-size:1.75rem}}.share-modal{max-width:600px;width:100%}.modal-header{display:flex;justify-content:space-between;align-items:center;padding:20px 25px;background:#e8eaed;color:#202124;border-radius:12px 12px 0 0}.modal-header h2{margin:0;font-size:1.5rem}.close-btn{background:#fff3;border:none;color:#fff;font-size:1.5rem;width:35px;height:35px;border-radius:50%;cursor:pointer;transition:all .3s;display:flex;align-items:center;justify-content:center}.close-btn:hover{background:#ffffff4d;transform:rotate(90deg)}form{padding:25px}.form-group label{display:block;margin-bottom:8px;font-weight:600;color:#333}.form-group input[type=text],.form-group input[type=url],.form-group textarea{width:100%;padding:10px 12px;border:2px solid #e0e0e0;border-radius:8px;font-size:.95rem;font-family:inherit;transition:border-color .3s}.form-group input[type=text]:focus,.form-group input[type=url]:focus,.form-group textarea:focus{outline:none;border-color:#dadce0}.form-group input[type=text]:disabled{background:#f5f5f5;color:#666;cursor:not-allowed}.form-group textarea{resize:vertical}.category-select{display:flex;gap:10px;flex-wrap:wrap}.category-btn{padding:10px 16px;border:2px solid #e0e0e0;background:#fff;border-radius:8px;cursor:pointer;font-size:.95rem;font-weight:500;transition:all .3s}.category-btn:hover{border-color:#dadce0;background:#f1f3f4}.category-btn.active{border-color:#dadce0;background:#e8eaed;color:#202124}.checkbox-group label{display:flex;align-items:center;gap:8px;cursor:pointer;font-weight:400}.checkbox-group input[type=checkbox]{width:18px;height:18px;cursor:pointer}.modal-actions{display:flex;gap:12px;justify-content:flex-end;margin-top:25px;padding-top:20px;border-top:1px solid #e0e0e0}.btn-cancel,.btn-submit{padding:10px 24px;border:none;border-radius:8px;font-size:1rem;font-weight:600;cursor:pointer;transition:all .3s}.btn-cancel{background:#f5f5f5;color:#666}.btn-cancel:hover{background:#e0e0e0}.btn-submit{background:#202124;color:#fff}.btn-submit:hover{background:#000;transform:translateY(-2px);box-shadow:0 4px 12px #0003}@media (max-width: 768px){.share-modal{max-width:95%}.category-select{flex-direction:column}.category-btn{width:100%}}.forward-test-container{display:flex;flex-direction:column;width:100%;min-height:calc(100vh - 120px);padding:24px;background:#f8f9fa;box-sizing:border-box}.forward-test-content{display:flex;flex:1;overflow:hidden;width:100%}.sessions-sidebar{width:300px;background:#fff;border-right:1px solid #e0e0e0;display:flex;flex-direction:column;overflow:hidden}.sidebar-header{padding:20px;border-bottom:1px solid #e0e0e0;display:flex;justify-content:space-between;align-items:center}.sidebar-header h2{margin:0;font-size:18px;font-weight:600;color:#202124}.session-limit{background:#e8eaed;color:#202124;padding:4px 12px;border-radius:12px;font-size:13px;font-weight:600}.sessions-list{flex:1;overflow-y:auto;padding:10px}.session-card{padding:12px;margin-bottom:8px;border:1px solid #e0e0e0;border-radius:8px;cursor:pointer;transition:all .2s;background:#fff}.session-card:hover{border-color:#dadce0;box-shadow:0 1px 3px #0000001a}.session-card.selected{border-color:#dadce0;background:#f1f3f4}.session-header{display:flex;justify-content:space-between;align-items:flex-start;margin-bottom:8px}.session-header h3{margin:0;font-size:14px;font-weight:600;color:#202124}.status-badge{padding:2px 8px;border-radius:10px;font-size:10px;font-weight:600;text-transform:uppercase;letter-spacing:.5px}.status-badge.active{background:#34a853;color:#fff}.status-badge.stopped{background:#fbbc04;color:#202124}.session-info{font-size:12px;color:#5f6368}.session-info p{margin:4px 0}.session-date{font-size:11px;color:#80868b}.forward-main-content{flex:1;overflow-y:auto;background:#fff;width:100%;border-radius:16px;border:1px solid #e0e0e0;padding:32px;box-shadow:0 4px 20px #0f172a0f;box-sizing:border-box}.config-section{max-width:1000px;margin:0 auto;padding:20px 0}.config-section h2{margin:0 0 8px;font-size:24px;font-weight:500;color:#202124}.subtitle{margin:0 0 32px;color:#5f6368;font-size:14px}.config-form{background:#f8f9fa;padding:24px;border-radius:8px}.form-group{margin-bottom:20px}.form-group label{display:block;margin-bottom:8px;font-weight:500;color:#202124;font-size:14px}.form-group input,.form-group select{width:100%;padding:10px 12px;border:1px solid #dadce0;border-radius:4px;font-size:14px;font-family:inherit;transition:border-color .2s}.form-group input:focus,.form-group select:focus{outline:none;border-color:#dadce0}.form-row{display:grid;grid-template-columns:1fr 1fr;gap:16px}.strategy-description{margin:8px 0 0;padding:8px;background:#fff;border-radius:4px;font-size:13px;color:#5f6368;font-style:italic}.ticker-suggestions{position:absolute;top:100%;left:0;right:0;max-height:200px;overflow-y:auto;background:#fff;border:1px solid #dadce0;border-radius:4px;box-shadow:0 2px 8px #0000001a;z-index:10;margin-top:4px}.suggestion-item{padding:10px 12px;cursor:pointer;font-size:14px;transition:background .2s}.suggestion-item:hover{background:#f1f3f4}.form-actions{margin-top:24px}.warning-text{margin:12px 0 0;color:#202124;font-size:13px}.session-view{padding:0}.session-view-header{display:flex;justify-content:space-between;align-items:flex-start;margin-bottom:24px;padding-bottom:16px;border-bottom:1px solid #e0e0e0}.session-view-header h2{margin:0 0 4px;font-size:20px;font-weight:500;color:#202124}.session-meta{margin:0;font-size:13px;color:#5f6368}.session-actions{display:flex;gap:8px;align-items:center}.auto-refresh-toggle{display:flex;align-items:center;gap:6px;font-size:13px;color:#5f6368;cursor:pointer;padding:6px 12px;border-radius:4px;transition:background .2s}.auto-refresh-toggle:hover{background:#f1f3f4}.auto-refresh-toggle input[type=checkbox]{cursor:pointer}.control-panel{background:#fff;border-radius:8px;padding:20px;margin-bottom:24px;border:1px solid #e0e0e0}.control-section h3{margin:0 0 16px;font-size:16px;font-weight:500;color:#202124}.section-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:16px}.section-header h3{margin:0}.btn-edit{padding:6px 12px;border:1px solid #dadce0;border-radius:4px;background:#fff;color:#5f6368;font-size:13px;font-weight:500;cursor:pointer;transition:all .2s}.btn-edit:hover{background:#f1f3f4;border-color:#5f6368}.params-display{display:grid;grid-template-columns:repeat(auto-fill,minmax(200px,1fr));gap:12px;padding:16px;background:#f8f9fa;border-radius:6px}.param-item{display:flex;justify-content:space-between;align-items:center;padding:8px 12px;background:#fff;border-radius:4px;border:1px solid #e0e0e0}.param-label{font-size:13px;color:#5f6368;font-weight:500}.param-value{font-size:14px;color:#202124;font-weight:600}.params-edit{padding:16px;background:#f8f9fa;border-radius:6px}.params-edit-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(250px,1fr));gap:16px;margin-bottom:16px}.param-edit-item{display:flex;flex-direction:column;gap:6px}.param-edit-label{font-size:13px;color:#5f6368;font-weight:500}.param-edit-input{padding:8px 12px;border:1px solid #dadce0;border-radius:4px;font-size:14px;color:#202124;background:#fff;transition:all .2s}.param-edit-input:focus{outline:none;border-color:#dadce0;box-shadow:0 0 0 2px #0000001a}.params-edit-buttons{display:flex;gap:12px}.btn-save{padding:10px 20px;border:none;border-radius:6px;background:#34a853;color:#fff;font-size:14px;font-weight:500;cursor:pointer;transition:all .2s}.btn-save:hover{background:#2d8e47;box-shadow:0 2px 4px #34a8534d}.btn-cancel{padding:10px 20px;border:1px solid #dadce0;border-radius:6px;background:#fff;color:#5f6368;font-size:14px;font-weight:500;cursor:pointer;transition:all .2s}.btn-cancel:hover{background:#f1f3f4;border-color:#5f6368}.status-row{display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:16px;margin-bottom:20px;padding:16px;background:#f8f9fa;border-radius:6px}.status-item{display:flex;flex-direction:column;gap:6px}.status-label{font-size:12px;color:#5f6368;font-weight:500}.status-value{font-size:16px;font-weight:600;color:#202124}.control-buttons{display:flex;gap:12px;flex-wrap:wrap}.btn-control{padding:10px 20px;border:none;border-radius:6px;font-size:14px;font-weight:500;cursor:pointer;transition:all .2s;display:flex;align-items:center;gap:6px}.btn-control.btn-start{background:#34a853;color:#fff}.btn-control.btn-start:hover{background:#2d8e47;box-shadow:0 2px 4px #34a8534d}.btn-control.btn-stop{background:#fbbc04;color:#202124}.btn-control.btn-stop:hover{background:#f9ab00;box-shadow:0 2px 4px #fbbc044d}.btn-control.btn-scan{background:#202124;color:#fff}.btn-control.btn-scan:hover{background:#000;box-shadow:0 2px 4px #0003}.stats-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:12px;margin-bottom:24px}.stat-card{background:#f8f9fa;padding:16px;border-radius:8px;border-left:3px solid #dadce0}.stat-label{font-size:12px;color:#5f6368;margin-bottom:6px;text-transform:uppercase;letter-spacing:.5px;font-weight:500}.stat-value{font-size:20px;font-weight:600;color:#202124}.stat-value.positive{color:#1e8e3e}.stat-value.negative{color:#d93025}.charts-container{display:flex;flex-direction:column;gap:24px;margin-bottom:24px}.insights-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(320px,1fr));gap:24px;margin-bottom:24px}.holdings-card,.analysis-card{background:#fff;border:1px solid #e0e0e0;border-radius:12px;padding:20px}.holdings-card h3,.analysis-card h3{margin:0 0 16px;font-size:16px;font-weight:600;color:#1f2937;display:flex;align-items:center;gap:8px}.holdings-table{width:100%;border-collapse:collapse;font-size:13px}.holdings-table th,.holdings-table td{padding:12px;border-bottom:1px solid #f1f5f9;text-align:left}.holdings-table th{font-size:12px;color:#94a3b8;text-transform:uppercase;letter-spacing:.5px}.holdings-table tbody tr:last-child td{border-bottom:none}.holdings-empty{text-align:center;color:#94a3b8}.btn-close-position{padding:6px 12px;border-radius:6px;border:1px solid #dadce0;background:transparent;color:#202124;font-size:13px;font-weight:500;cursor:pointer;transition:all .2s}.btn-close-position:disabled{border-color:#dadce0;color:#80868b;cursor:not-allowed}.btn-close-position:not(:disabled):hover{background:#e8eaed;color:#202124}.analysis-section{display:flex;flex-direction:column;gap:16px}.analysis-card h4{margin:0;font-size:14px;color:#475569}.analysis-metrics{display:grid;grid-template-columns:repeat(auto-fit,minmax(140px,1fr));gap:12px}.analysis-metric{background:#f8fafc;border-radius:8px;padding:12px;display:flex;flex-direction:column;gap:4px}.analysis-metric span{font-size:12px;color:#94a3b8;text-transform:uppercase;letter-spacing:.5px}.analysis-metric strong{font-size:16px;color:#1f2937}.analysis-meta{font-size:13px;color:#475569;line-height:1.6}.analysis-list{margin:0;padding-left:20px;color:#475569;font-size:13px}.analysis-divider{height:1px;background:#e2e8f0}.holdings-table .positive{color:#1e8e3e;font-weight:600}.holdings-table .negative{color:#d93025;font-weight:600}.chart-section{background:#fff;border-radius:8px;padding:20px;border:1px solid #e0e0e0}.chart-section h3{margin:0 0 12px;font-size:16px;font-weight:500;color:#202124}.no-data-message{display:flex;align-items:center;justify-content:center;min-height:300px;background:#f8f9fa;border-radius:6px;border:2px dashed #dadce0}.no-data-message p{color:#5f6368;font-size:14px;margin:0}.trades-section{margin-top:24px}.trades-section h3{margin:0 0 12px;font-size:16px;font-weight:500;color:#202124}.trades-table-wrapper{overflow-x:auto;border:1px solid #e0e0e0;border-radius:8px}.trades-table{width:100%;border-collapse:collapse;background:#fff}.trades-table th{background:#f8f9fa;padding:12px;text-align:left;font-weight:500;color:#5f6368;font-size:12px;text-transform:uppercase;letter-spacing:.5px;border-bottom:1px solid #e0e0e0}.trades-table td{padding:12px;border-bottom:1px solid #f0f0f0;font-size:13px;color:#202124}.trades-table tbody tr:hover{background:#f8f9fa}.trade-badge{padding:3px 10px;border-radius:12px;font-weight:600;font-size:11px;text-transform:uppercase;letter-spacing:.5px}.trade-badge.buy{background:#e6f4ea;color:#137333}.trade-badge.sell{background:#fce8e6;color:#c5221f}.notes-cell{max-width:200px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.btn-start{width:100%;padding:12px 24px;border:none;border-radius:4px;font-size:14px;font-weight:500;cursor:pointer;transition:all .2s;background:#202124;color:#fff}.btn-start:hover:not(:disabled){background:#000;box-shadow:0 1px 3px #0003}.btn-start:disabled{background:#dadce0;color:#80868b;cursor:not-allowed}.btn-back{padding:8px 16px;border:1px solid #dadce0;border-radius:4px;background:#fff;color:#5f6368;font-size:13px;font-weight:500;cursor:pointer;transition:all .2s}.btn-back:hover{background:#f1f3f4;border-color:#5f6368}.btn-icon{padding:8px 12px;border:1px solid #dadce0;border-radius:4px;background:#fff;font-size:14px;cursor:pointer;transition:all .2s}.btn-icon:hover{background:#f1f3f4}.btn-stop{padding:8px 16px;border:none;border-radius:4px;background:#fbbc04;color:#202124;font-size:13px;font-weight:500;cursor:pointer;transition:all .2s}.btn-stop:hover{background:#f9ab00}.btn-resume{padding:8px 16px;border:none;border-radius:4px;background:#34a853;color:#fff;font-size:13px;font-weight:500;cursor:pointer;transition:all .2s}.btn-resume:hover{background:#2d8e47}.btn-delete{padding:8px 16px;border:none;border-radius:4px;background:#ea4335;color:#fff;font-size:13px;font-weight:500;cursor:pointer;transition:all .2s;display:inline-flex;align-items:center;justify-content:center;gap:6px;white-space:nowrap}.btn-delete:hover{background:#d33426}.btn-delete-large{padding:12px 20px;border:none;border-radius:6px;background:#ea4335;color:#fff;font-size:16px;font-weight:500;cursor:pointer;transition:all .2s;display:flex;align-items:center;justify-content:center;gap:8px;white-space:nowrap;min-width:120px}.btn-delete-large:hover{background:#d33426;box-shadow:0 2px 8px #ea43354d}.empty-message{text-align:center;color:#80868b;padding:20px;font-size:13px}.loading{display:flex;align-items:center;justify-content:center;height:400px;color:#5f6368;font-size:14px}.positive{color:#1e8e3e}.negative{color:#d93025}.app-header{position:fixed;top:0;left:0;right:0;background:#fff;padding:1rem 2rem;border-bottom:1px solid #e8eaed;display:flex;justify-content:space-between;align-items:center;z-index:100}.app-header h1{font-size:1.5rem;color:#202124;font-weight:500;margin:0}.app-header>div:first-child{display:flex;align-items:center;gap:2rem}.header-nav{display:flex;gap:.5rem}.nav-btn{background:transparent;border:none;color:#5f6368;padding:.5rem 1rem;border-radius:20px;cursor:pointer;font-size:.875rem;font-weight:500;transition:all .2s}.nav-btn:hover:not(:disabled):not(.active){background:#f1f3f4}.nav-btn:disabled{opacity:.4;cursor:not-allowed}.nav-btn:disabled:hover{background:transparent}.nav-btn.active{background:#e8eaed;color:#5f6368}.header-right{display:flex;align-items:center;gap:1.5rem}.user-info{font-size:.875rem;color:#5f6368}.btn-logout{background:transparent;border:1px solid #dadce0;color:#5f6368;padding:.5rem 1rem;border-radius:20px;cursor:pointer;font-size:.875rem;font-weight:500;transition:all .2s}.btn-logout:hover{background:#f1f3f4;border-color:#5f6368}.forward-test-page{min-height:100vh;background-color:#f8fafc;padding-top:80px}.forward-test-content{padding:0}@media (max-width: 768px){.forward-test-header{padding:1rem;flex-direction:column;gap:1rem}.header-left{flex-direction:column;gap:1rem;align-items:flex-start}.forward-test-header h1{font-size:1.25rem}.header-nav{flex-wrap:wrap}.nav-btn{font-size:.8rem;padding:.4rem .8rem}}.strategy-hub-page{min-height:100vh;background-color:#f8fafc;padding-top:80px;display:flex;flex-direction:column}.strategy-hub-content{flex:1;width:100%;height:calc(100vh - 80px);overflow:hidden;background:#fff}.loading{display:flex;justify-content:center;align-items:center;height:50vh;font-size:1.125rem;color:#64748b}.app{min-height:100vh;min-width:1100px;display:flex;flex-direction:column;background:#fff}.app-container{margin-top:80px;min-height:calc(100vh - 80px);position:relative}.sidebar-left{position:fixed;left:0;top:80px;width:260px;height:calc(100vh - 80px);background:#f8f9fa;border-right:1px solid #e8eaed;padding:1.5rem 0;overflow-y:auto;z-index:50}.main-content{margin-left:260px;margin-right:0;background:#fff;height:calc(100vh - 80px);display:flex;flex-direction:column;position:relative;min-width:400px;transition:margin-right .3s ease}*{margin:0;padding:0;box-sizing:border-box}body{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen,Ubuntu,Cantarell,Fira Sans,Droid Sans,Helvetica Neue,sans-serif;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;background:#fff;color:#202124}code{font-family:source-code-pro,Menlo,Monaco,Consolas,Courier New,monospace}#root{min-height:100vh}::-webkit-scrollbar{width:8px;height:8px}::-webkit-scrollbar-track{background:#f1f3f4}::-webkit-scrollbar-thumb{background:#dadce0;border-radius:4px}::-webkit-scrollbar-thumb:hover{background:#bdc1c6}
