.chart-wrapper{display:flex;flex-direction:column;flex:1;background:var(--bg-primary);overflow:hidden}.chart-title{display:flex;align-items:center;justify-content:space-between;padding:8px 14px;background:var(--bg-secondary);border-bottom:1px solid var(--border);font-size:13px;font-weight:600;color:var(--text-primary);flex-wrap:wrap;gap:8px}.chart-legend{display:flex;gap:12px;flex-wrap:wrap}.legend-item{display:flex;align-items:center;gap:4px;font-size:11px;color:var(--text-muted)}.legend-dot{width:8px;height:8px;border-radius:50%;display:inline-block}.chart-container{flex:1;min-height:420px;position:relative}.chart-loading{position:absolute;top:0;right:0;bottom:0;left:0;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:12px;background:#0f1117d9;z-index:10;color:var(--text-secondary);font-size:14px}.loading-spinner{width:36px;height:36px;border:3px solid var(--border);border-top-color:var(--gold);border-radius:50%;animation:spin .8s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}.chart-footer{display:flex;align-items:center;gap:16px;padding:6px 14px;background:var(--bg-secondary);border-top:1px solid var(--border);font-size:11px;color:var(--text-muted);flex-wrap:wrap}.footer-item{display:flex;align-items:center;gap:4px}.dot{width:8px;height:2px;display:inline-block;border-radius:1px}.dot.green{background:#10b981}.dot.red{background:#ef4444}.dot.gold{background:#f59e0b}.footer-note{margin-left:auto;color:var(--text-muted);font-style:italic}@media (max-width: 900px){.chart-container{min-height:300px}.chart-legend{display:none}}.signal-dashboard{display:flex;flex-direction:column;gap:0;border-bottom:1px solid var(--border)}.panel-badge{font-size:10px;font-weight:700;color:var(--green);background:#10b9811a;border:1px solid rgba(16,185,129,.3);padding:2px 7px;border-radius:10px;letter-spacing:.5px}.signal-box{margin:12px;padding:16px;border-radius:10px;border:1px solid;transition:all .3s}.signal-label{font-size:10px;font-weight:700;text-transform:uppercase;letter-spacing:1px;color:var(--text-muted);margin-bottom:6px}.signal-value{font-size:32px;font-weight:800;letter-spacing:-.5px;display:flex;align-items:center;gap:8px;margin-bottom:14px}.signal-arrow{font-size:28px}.confidence-section{display:flex;flex-direction:column;gap:6px}.confidence-header{display:flex;justify-content:space-between;font-size:12px;color:var(--text-muted)}.confidence-bar-bg{height:6px;background:#ffffff14;border-radius:3px;overflow:hidden}.confidence-bar-fill{height:100%;border-radius:3px;transition:width .5s ease}.info-card{padding:12px 14px;border-bottom:1px solid var(--border);display:flex;flex-direction:column;gap:6px}.info-card-header{display:flex;align-items:center;justify-content:space-between;gap:8px}.info-label{font-size:10px;font-weight:700;text-transform:uppercase;letter-spacing:.8px;color:var(--text-muted)}.phase-badge{font-size:11px;font-weight:700;padding:3px 9px;border-radius:12px;border:1px solid}.phase-desc{font-size:12px;color:var(--text-secondary);line-height:1.5}.event-name{font-size:13px;font-weight:600;color:var(--gold)}.event-desc{font-size:12px;color:var(--text-secondary)}.event-price{font-size:12px;color:var(--text-muted);font-variant-numeric:tabular-nums}.sr-card{display:flex;align-items:stretch;border-bottom:1px solid var(--border)}.sr-item{flex:1;padding:12px 14px;display:flex;flex-direction:column;gap:4px}.sr-divider{width:1px;background:var(--border)}.sr-label{font-size:10px;font-weight:700;text-transform:uppercase;letter-spacing:.8px;color:var(--text-muted)}.sr-value{font-size:14px;font-weight:700;font-variant-numeric:tabular-nums}.sr-value.green{color:var(--green)}.sr-value.red{color:var(--red)}.lz-list{display:flex;flex-wrap:wrap;gap:6px;margin-top:4px}.lz-badge{font-size:11px;padding:3px 8px;border-radius:4px;background:#f59e0b1a;border:1px solid rgba(245,158,11,.25);color:var(--gold);font-variant-numeric:tabular-nums}.loading-state{padding:12px;gap:10px}.skeleton-block{height:60px;border-radius:8px;background:linear-gradient(90deg,var(--bg-card) 25%,var(--bg-card-hover) 50%,var(--bg-card) 75%);background-size:200% 100%;animation:shimmer 1.5s infinite}.skeleton-block.tall{height:120px}.events-panel{border-bottom:1px solid var(--border)}.event-count{font-size:11px;color:var(--text-muted);background:var(--bg-card);padding:2px 7px;border-radius:10px;border:1px solid var(--border)}.events-list{display:flex;flex-direction:column;max-height:280px;overflow-y:auto}.event-item{display:flex;align-items:flex-start;gap:10px;padding:10px 14px;border-bottom:1px solid var(--border);transition:background .15s}.event-item:hover{background:var(--bg-card)}.event-item:last-child{border-bottom:none}.event-dot{width:8px;height:8px;border-radius:50%;flex-shrink:0;margin-top:4px}.event-content{flex:1;min-width:0;display:flex;flex-direction:column;gap:3px}.event-row{display:flex;align-items:center;justify-content:space-between;gap:6px}.event-name{font-size:12px;font-weight:600;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.event-signal{font-size:11px;font-weight:700;white-space:nowrap;flex-shrink:0}.event-meta{display:flex;align-items:center;gap:8px}.event-price{font-size:11px;color:var(--text-secondary);font-variant-numeric:tabular-nums}.event-time{font-size:10px;color:var(--text-muted)}.no-events{padding:20px 14px;text-align:center;color:var(--text-muted);font-size:12px}.events-loading{padding:10px 14px;display:flex;flex-direction:column;gap:8px}.skeleton-event{height:44px;border-radius:6px;background:linear-gradient(90deg,var(--bg-card) 25%,var(--bg-card-hover) 50%,var(--bg-card) 75%);background-size:200% 100%;animation:shimmer 1.5s infinite}.alerts-panel{display:flex;flex-direction:column;border-bottom:1px solid var(--border)}.panel-header{display:flex;align-items:center;justify-content:space-between;padding:10px 14px;background:var(--bg-secondary);border-bottom:1px solid var(--border)}.panel-title{font-size:12px;font-weight:700;text-transform:uppercase;letter-spacing:.8px;color:var(--text-secondary)}.alert-count-badge{font-size:11px;font-weight:700;color:var(--gold);background:#f59e0b26;border:1px solid rgba(245,158,11,.3);padding:2px 8px;border-radius:10px}.alerts-list{display:flex;flex-direction:column}.alert-item{display:flex;align-items:flex-start;gap:10px;padding:10px 14px;border-bottom:1px solid var(--border);border-left:3px solid transparent;transition:background .15s}.alert-item:hover{background:var(--bg-card)}.alert-item:last-child{border-bottom:none}.alert-icon{font-size:18px;flex-shrink:0;line-height:1;margin-top:1px}.alert-content{flex:1;min-width:0;display:flex;flex-direction:column;gap:3px}.alert-name{font-size:12px;font-weight:700}.alert-desc{font-size:11px;color:var(--text-secondary);line-height:1.4}.alert-meta{display:flex;align-items:center;gap:8px;margin-top:2px}.alert-price{font-size:11px;color:var(--text-muted);font-variant-numeric:tabular-nums}.alert-time{font-size:10px;color:var(--text-muted)}.alert-signal-badge{font-size:10px;font-weight:700;padding:3px 7px;border-radius:4px;border:1px solid;white-space:nowrap;flex-shrink:0}.no-alerts{padding:20px 14px;display:flex;flex-direction:column;align-items:center;gap:6px;color:var(--text-muted);font-size:12px;text-align:center}.no-alert-icon{font-size:24px;opacity:.4}.no-alert-sub{font-size:11px;color:var(--text-muted);opacity:.7}.alerts-footer{padding:8px 14px;font-size:10px;color:var(--text-muted);background:var(--bg-secondary);border-top:1px solid var(--border);text-align:center;letter-spacing:.3px}.alerts-loading{padding:10px 14px}.skeleton-alert{height:60px;border-radius:6px;background:linear-gradient(90deg,var(--bg-card) 25%,var(--bg-card-hover) 50%,var(--bg-card) 75%);background-size:200% 100%;animation:shimmer 1.5s infinite}@keyframes shimmer{0%{background-position:200% 0}to{background-position:-200% 0}}.header{display:flex;align-items:center;justify-content:space-between;padding:10px 16px;background:var(--bg-secondary);border-bottom:1px solid var(--border);gap:12px;flex-wrap:wrap}.header-brand{display:flex;align-items:center;gap:10px}.brand-icon{flex-shrink:0}.brand-text{display:flex;flex-direction:column;gap:1px}.brand-name{font-size:18px;font-weight:700;color:var(--gold);letter-spacing:-.3px}.brand-sub{font-size:11px;color:var(--text-muted);text-transform:uppercase;letter-spacing:.5px}.header-status{display:flex;align-items:center;gap:12px;flex-wrap:wrap}.alert-badge{display:flex;align-items:center;gap:6px;padding:4px 10px;border-radius:20px;background:#f59e0b26;border:1px solid rgba(245,158,11,.3);color:var(--gold);font-size:12px;font-weight:600}.alert-dot{width:7px;height:7px;border-radius:50%;background:var(--gold);display:inline-block}.last-update{display:flex;align-items:center;gap:5px;color:var(--text-muted);font-size:12px}.update-dot{width:6px;height:6px;border-radius:50%;background:var(--green);display:inline-block}.refresh-btn{display:flex;align-items:center;gap:6px;padding:6px 14px;border-radius:6px;border:1px solid var(--border);background:var(--bg-card);color:var(--text-secondary);font-size:13px;font-weight:500;transition:all .15s}.refresh-btn:hover:not(:disabled){background:var(--bg-card-hover);color:var(--text-primary);border-color:var(--gold-dark)}.refresh-btn:disabled{opacity:.6;cursor:not-allowed}.refresh-btn.spinning svg{animation:spin 1s linear infinite}@media (max-width: 600px){.brand-sub,.last-update{display:none}}.update-banner{position:fixed;bottom:0;left:0;right:0;z-index:9999;background:linear-gradient(135deg,#1e3a5f,#0f2744);border-top:2px solid #3b82f6;padding:12px 16px;box-shadow:0 -4px 20px #3b82f64d;animation:slideUp .4s ease-out}.update-banner.mandatory{background:linear-gradient(135deg,#7c1d1d,#450a0a);border-top-color:#ef4444;box-shadow:0 -4px 20px #ef444466}@keyframes slideUp{0%{transform:translateY(100%);opacity:0}to{transform:translateY(0);opacity:1}}.update-banner-content{display:flex;align-items:center;gap:12px;max-width:900px;margin:0 auto}.update-icon{font-size:24px;flex-shrink:0;animation:spin 2s linear infinite}@keyframes spin{0%{transform:rotate(0)}to{transform:rotate(360deg)}}.update-text{flex:1;min-width:0}.update-title{font-size:14px;font-weight:700;color:#93c5fd;margin-bottom:2px}.update-banner.mandatory .update-title{color:#fca5a5}.update-notes{font-size:12px;color:#94a3b8;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.update-current{font-size:11px;color:#64748b;margin-top:2px}.update-actions{display:flex;gap:8px;flex-shrink:0}.update-btn-install{background:#3b82f6;color:#fff;border:none;border-radius:6px;padding:8px 16px;font-size:13px;font-weight:600;cursor:pointer;transition:background .2s}.update-btn-install:hover{background:#2563eb}.update-banner.mandatory .update-btn-install{background:#ef4444}.update-banner.mandatory .update-btn-install:hover{background:#dc2626}.update-btn-dismiss{background:transparent;color:#64748b;border:1px solid #334155;border-radius:6px;padding:8px 12px;font-size:12px;cursor:pointer;transition:all .2s}.update-btn-dismiss:hover{background:#1e293b;color:#94a3b8}@media (max-width: 600px){.update-banner-content{flex-wrap:wrap}.update-notes{white-space:normal}}.app{min-height:100vh;display:flex;flex-direction:column;background:var(--bg-primary)}.timeframe-bar{display:flex;align-items:center;gap:12px;padding:8px 16px;background:var(--bg-secondary);border-bottom:1px solid var(--border);flex-wrap:wrap}.timeframe-label{color:var(--text-muted);font-size:12px;text-transform:uppercase;letter-spacing:.5px}.timeframe-buttons{display:flex;gap:4px}.tf-btn{padding:5px 14px;border-radius:6px;border:1px solid var(--border);background:transparent;color:var(--text-secondary);font-size:13px;font-weight:500;transition:all .15s}.tf-btn:hover{background:var(--bg-card);color:var(--text-primary);border-color:var(--gold-dark)}.tf-btn.active{background:var(--gold-dark);color:#000;border-color:var(--gold);font-weight:700}.current-price{margin-left:auto;display:flex;align-items:center;gap:8px}.price-label{color:var(--text-muted);font-size:12px;font-weight:600;text-transform:uppercase}.price-value{color:var(--gold);font-size:18px;font-weight:700;font-variant-numeric:tabular-nums}.error-banner{display:flex;align-items:center;justify-content:space-between;padding:10px 16px;background:#ef444426;border-bottom:1px solid rgba(239,68,68,.3);color:#fca5a5;font-size:13px}.error-banner button{padding:4px 12px;border-radius:4px;border:1px solid rgba(239,68,68,.5);background:#ef444433;color:#fca5a5;font-size:12px;transition:all .15s}.error-banner button:hover{background:#ef444459}.main-layout{display:flex;flex:1;gap:0;overflow:hidden}.chart-section{flex:1;min-width:0;display:flex;flex-direction:column;border-right:1px solid var(--border)}.dashboard-section{width:320px;flex-shrink:0;display:flex;flex-direction:column;overflow-y:auto;gap:0}@media (max-width: 900px){.main-layout{flex-direction:column}.chart-section{border-right:none;border-bottom:1px solid var(--border)}.dashboard-section{width:100%;flex-direction:row;flex-wrap:wrap;overflow-y:visible}}@media (max-width: 600px){.dashboard-section{flex-direction:column}.current-price{margin-left:0}.timeframe-bar{gap:8px}}:root{--bg-primary: #0f1117;--bg-secondary: #1a1d2e;--bg-card: #1e2235;--bg-card-hover: #252840;--border: #2d3154;--text-primary: #e2e8f0;--text-secondary: #94a3b8;--text-muted: #64748b;--gold: #f59e0b;--gold-light: #fbbf24;--gold-dark: #d97706;--green: #10b981;--red: #ef4444;--blue: #3b82f6;--purple: #8b5cf6;--orange: #f97316}*{margin:0;padding:0;box-sizing:border-box}html,body{height:100%;background:var(--bg-primary);color:var(--text-primary);font-family:Segoe UI,system-ui,-apple-system,sans-serif;font-size:14px;line-height:1.5;overflow-x:hidden}#root{min-height:100vh;display:flex;flex-direction:column}::-webkit-scrollbar{width:6px;height:6px}::-webkit-scrollbar-track{background:var(--bg-primary)}::-webkit-scrollbar-thumb{background:var(--border);border-radius:3px}::-webkit-scrollbar-thumb:hover{background:var(--text-muted)}button{cursor:pointer;font-family:inherit}.pulse{animation:pulse 2s infinite}@keyframes pulse{0%,to{opacity:1}50%{opacity:.5}}@keyframes fadeIn{0%{opacity:0;transform:translateY(8px)}to{opacity:1;transform:translateY(0)}}.fade-in{animation:fadeIn .3s ease-out}@keyframes glow{0%,to{box-shadow:0 0 5px #f59e0b4d}50%{box-shadow:0 0 20px #f59e0b99}}.glow-gold{animation:glow 2s ease-in-out infinite}
