.menu-backdrop{position:fixed;top:0;left:0;right:0;bottom:0;background-color:#00000080;opacity:0;visibility:hidden;transition:opacity .3s ease,visibility .3s ease;z-index:100}.menu-backdrop.open{opacity:1;visibility:visible}.hamburger-menu{position:fixed;top:0;right:0;width:280px;height:100vh;background:#1e293b;border-left:1px solid #334155;transform:translate(100%);transition:transform .3s ease;z-index:105;display:flex;flex-direction:column}.hamburger-menu.open{transform:translate(0)}.menu-header{padding:1.5rem;border-bottom:1px solid #334155}.menu-header h2{margin:0;font-size:1.25rem;color:#f1f5f9;font-weight:600}.menu-links{list-style:none;margin:0;padding:1rem 0;flex:1}.menu-links li{margin:0}.menu-link{display:flex;align-items:center;gap:.75rem;padding:1rem 1.5rem;color:#cbd5e1;text-decoration:none;font-size:1rem;font-weight:500;transition:all .2s ease}.menu-link:hover{background-color:#334155;color:#f1f5f9}.menu-link.active{background-color:#3b82f626;color:#3b82f6;border-left:3px solid #3b82f6}.menu-icon{width:24px;height:24px;display:flex;align-items:center;justify-content:center}.menu-icon svg{width:20px;height:20px}.menu-footer{padding:1.5rem;border-top:1px solid #334155}.menu-footer p{margin:.25rem 0;font-size:.75rem;color:#64748b}@media (max-width: 640px){.hamburger-menu{width:100%}}.refresh-button-container{display:flex;align-items:center;gap:.75rem}.refresh-button{display:flex;align-items:center;gap:.5rem;padding:.5rem 1rem;background:#1e293b;border:1px solid #334155;border-radius:6px;color:#e2e8f0;font-size:.875rem;cursor:pointer;transition:all .2s ease}.refresh-button:hover:not(:disabled){background:#334155;border-color:#475569}.refresh-button:disabled{opacity:.6;cursor:not-allowed}.refresh-button.running{background:#1e40af;border-color:#3b82f6}.spinner{width:14px;height:14px;border:2px solid #94a3b8;border-top-color:#3b82f6;border-radius:50%;animation:spin 1s linear infinite}.refresh-error{padding:.25rem .5rem;background:#7f1d1d;color:#fca5a5;font-size:.75rem;border-radius:4px;cursor:help}.refresh-status{display:flex;align-items:center}.last-refreshed{font-size:.75rem;color:#64748b;white-space:nowrap}@media (max-width: 640px){.refresh-button-container{flex-direction:column;align-items:flex-end;gap:.25rem}.last-refreshed{font-size:.7rem}.refresh-button{padding:.4rem .75rem;font-size:.8rem}}.navbar{background:linear-gradient(135deg,#1e293b,#0f172a);border-bottom:1px solid #334155;position:sticky;top:0;z-index:100}.navbar-content{max-width:1400px;margin:0 auto;padding:1rem 1.5rem;display:flex;align-items:center;justify-content:space-between}.navbar-logo{text-decoration:none}.navbar-logo h1{margin:0;font-size:1.5rem;font-weight:700;background:linear-gradient(135deg,#3b82f6,#60a5fa);-webkit-background-clip:text;-webkit-text-fill-color:transparent;background-clip:text}.navbar-subtitle{color:#94a3b8;font-size:.9rem;font-weight:500}.navbar-actions{display:flex;align-items:center;margin-left:auto;margin-right:1rem}.hamburger{display:flex;flex-direction:column;justify-content:space-between;width:28px;height:20px;background:transparent;border:none;cursor:pointer;padding:0;z-index:110}.hamburger-line{display:block;width:100%;height:2px;background-color:#f1f5f9;border-radius:1px;transition:all .3s ease}.hamburger.open .hamburger-line:nth-child(1){transform:translateY(9px) rotate(45deg)}.hamburger.open .hamburger-line:nth-child(2){opacity:0}.hamburger.open .hamburger-line:nth-child(3){transform:translateY(-9px) rotate(-45deg)}@media (max-width: 640px){.navbar-content{padding:.75rem 1rem}.navbar-logo h1{font-size:1.25rem}.navbar-subtitle{display:none}.navbar-actions{margin-right:.5rem}}.score-badge{display:inline-flex;align-items:center;justify-content:center;font-weight:700;border-radius:8px;border:2px solid}.score-badge-small{padding:.2rem .4rem;font-size:.75rem;min-width:40px}.score-badge-medium{padding:.35rem .6rem;font-size:.9rem;min-width:50px}.score-badge-large{padding:.5rem 1rem;font-size:1.25rem;min-width:70px}.component-bars{display:flex;flex-direction:column;gap:.5rem}.component-bar-row{display:grid;grid-template-columns:70px 1fr 40px;align-items:center;gap:.5rem}.component-label{font-size:.75rem;color:#94a3b8;font-weight:500}.component-bar-track{height:8px;background-color:#1e293b;border-radius:4px;overflow:hidden}.component-bar-fill{height:100%;border-radius:4px;transition:width .3s ease}.component-value{font-size:.75rem;font-weight:600;text-align:right}.alert-badge{display:inline-flex;align-items:center;gap:.25rem;font-size:.75rem;font-weight:600;padding:.2rem .5rem;background-color:#0000004d;border-radius:4px}.alert-arrow{font-size:.85rem}.alert-value{font-weight:700}.stock-card{background-color:#1e293b;border:1px solid #334155;border-radius:12px;padding:1rem;cursor:pointer;transition:all .2s ease}.stock-card:hover{border-color:#3b82f6;transform:translateY(-2px);box-shadow:0 8px 25px #0000004d}.stock-card-header{display:flex;align-items:center;gap:.75rem;margin-bottom:1rem;padding-bottom:.75rem;border-bottom:1px solid #334155}.stock-rank{font-size:.85rem;font-weight:600;color:#64748b;min-width:28px}.stock-ticker{font-size:1.1rem;font-weight:700;color:#f1f5f9;flex:1}.stock-card-price{display:flex;align-items:center;gap:.5rem;margin-bottom:.75rem;padding:.5rem;background-color:#0f172a;border-radius:6px}.price-value{font-size:1rem;font-weight:600;color:#f1f5f9}.price-change{font-size:.85rem;font-weight:500}.price-change.positive{color:#22c55e}.price-change.negative{color:#ef4444}.stock-card-body{padding:.25rem 0}.stock-card-footer{margin-top:.75rem;padding-top:.75rem;border-top:1px solid #334155;display:flex;justify-content:flex-end}.loading-container{display:flex;flex-direction:column;align-items:center;justify-content:center;padding:4rem 2rem}.spinner{width:48px;height:48px;border:4px solid #334155;border-top-color:#3b82f6;border-radius:50%;animation:spin 1s linear infinite}.loading-message{margin-top:1rem;color:#94a3b8;font-size:.9rem}.cache-loading-state{display:flex;justify-content:center;align-items:center;min-height:60vh;padding:2rem}.loading-content{text-align:center;max-width:400px}.loading-icon{margin-bottom:1.5rem}.chart-icon{width:64px;height:64px;color:var(--primary-color, #3b82f6);animation:pulse 2s ease-in-out infinite}@keyframes pulse{0%,to{opacity:1}50%{opacity:.5}}.loading-content h2{margin:0 0 .5rem;font-size:1.5rem;color:var(--text-primary, #1f2937)}.loading-subtitle{color:var(--text-secondary, #6b7280);margin-bottom:2rem;font-size:.9rem}.progress-container{background:var(--bg-secondary, #f3f4f6);border-radius:12px;padding:1.5rem;margin-bottom:1.5rem}.progress-bar{height:12px;background:var(--bg-tertiary, #e5e7eb);border-radius:6px;overflow:hidden;margin-bottom:1rem}.progress-fill{height:100%;background:linear-gradient(90deg,var(--primary-color, #3b82f6),#60a5fa);border-radius:6px;transition:width .3s ease}.progress-text{display:flex;justify-content:space-between;font-size:.875rem}.progress-percent{font-weight:600;color:var(--text-primary, #1f2937)}.progress-eta{color:var(--text-secondary, #6b7280)}.progress-details{color:var(--text-secondary, #6b7280);font-size:.875rem}.current-ticker{margin-bottom:.25rem}.current-ticker strong{color:var(--text-primary, #1f2937);font-family:monospace}.ticker-count{margin:0}.spinner-large{width:48px;height:48px;border:4px solid var(--bg-tertiary, #e5e7eb);border-top-color:var(--primary-color, #3b82f6);border-radius:50%;animation:spin 1s linear infinite;margin:0 auto 1rem}@keyframes spin{to{transform:rotate(360deg)}}.loading-error{text-align:center;padding:2rem;background:#fef2f2;border-radius:12px;border:1px solid #fecaca}.loading-error h3{color:#dc2626;margin:0 0 .5rem}.loading-error p{color:#991b1b;margin:0}.app-footer{background:#0f172a;border-top:1px solid #334155;padding:1rem;margin-top:auto}.footer-content{max-width:1400px;margin:0 auto;display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:1rem}.footer-text{margin:0;color:#64748b;font-size:.85rem}.refresh-button{background:#334155;color:#f1f5f9;border:none;padding:.5rem 1rem;border-radius:6px;cursor:pointer;font-size:.85rem;font-weight:500;transition:background-color .2s ease}.refresh-button:hover{background:#475569}@media (max-width: 640px){.footer-content{flex-direction:column;text-align:center}}.rankings-page{min-height:100vh;display:flex;flex-direction:column}.rankings-header{max-width:1400px;margin:0 auto;padding:1.5rem;width:100%;box-sizing:border-box}.rankings-title h2{margin:0 0 .5rem;font-size:1.5rem;font-weight:700;color:#f1f5f9}.profile-description{margin:0;font-size:.9rem;color:#94a3b8}.alerts-banner{display:flex;align-items:center;gap:.5rem;margin-top:1rem;padding:.75rem 1rem;background-color:#eab30826;border:1px solid #eab308;border-radius:8px;color:#eab308;font-size:.85rem;font-weight:500}.alerts-icon{display:flex;align-items:center;justify-content:center;width:20px;height:20px;background-color:#eab308;color:#0f172a;border-radius:50%;font-size:.75rem;font-weight:700}.rankings-grid{max-width:1400px;margin:0 auto;padding:0 1.5rem 2rem;width:100%;box-sizing:border-box;display:grid;grid-template-columns:repeat(auto-fill,minmax(300px,1fr));gap:1rem;flex:1}.no-data{display:flex;justify-content:center;padding:4rem 2rem;color:#64748b}@media (max-width: 640px){.rankings-header{padding:1rem}.rankings-title h2{font-size:1.25rem}.rankings-grid{padding:0 1rem 1.5rem;grid-template-columns:1fr}}.score-gauge{display:flex;justify-content:center;padding:1rem}.gauge-container{position:relative;width:200px;height:120px}.gauge-background{position:absolute;top:0;left:0;width:200px;height:100px;overflow:hidden}.gauge-track{width:200px;height:200px;border:12px solid #334155;border-radius:50%;box-sizing:border-box}.gauge-fill{position:absolute;top:0;left:0;width:200px;height:200px;border:12px solid;border-radius:50%;box-sizing:border-box;clip-path:inset(0 0 50% 0);transform-origin:center center;transition:transform .5s ease}.gauge-center{position:absolute;top:50px;left:50%;transform:translate(-50%);text-align:center}.gauge-score{font-size:2rem;font-weight:700;line-height:1}.gauge-label{font-size:.75rem;color:#94a3b8;margin-top:.25rem}.gauge-markers{position:absolute;bottom:0;left:0;right:0;display:flex;justify-content:space-between;padding:0 10px}.marker{font-size:.65rem;color:#64748b}.marker-50{position:absolute;left:50%;transform:translate(-50%);bottom:0}.component-breakdown{background-color:#1e293b;border-radius:12px;padding:1.5rem}.breakdown-title{margin:0 0 1rem;font-size:1rem;font-weight:600;color:#f1f5f9}.breakdown-sections{display:flex;flex-direction:column;gap:.5rem}.component-section{background-color:#0f172a;border-radius:8px;overflow:hidden}.component-section-header{display:flex;align-items:center;justify-content:space-between;padding:.875rem 1rem;transition:background-color .2s ease}.component-section-header:hover{background-color:#1e293b}.component-section-title{display:flex;align-items:center;gap:.5rem}.component-color-dot{width:10px;height:10px;border-radius:50%}.component-name{font-weight:600;color:#f1f5f9}.component-weight{font-size:.75rem;color:#64748b}.component-section-score{display:flex;align-items:center;gap:.5rem;font-weight:700;font-size:1rem}.expand-icon{width:20px;height:20px;color:#64748b;transition:transform .2s ease}.expand-icon svg{width:100%;height:100%}.expand-icon.expanded{transform:rotate(180deg)}.component-section-details{padding:0 1rem 1rem;border-top:1px solid #1e293b}.detail-row{display:flex;justify-content:space-between;padding:.5rem 0;border-bottom:1px solid #1e293b}.detail-row:last-child{border-bottom:none}.detail-label{font-size:.85rem;color:#94a3b8}.detail-value{font-size:.85rem;font-weight:600;color:#f1f5f9}.history-chart-container{background-color:#1e293b;border-radius:12px;padding:1.5rem}.history-header{display:flex;align-items:center;justify-content:space-between;margin-bottom:1rem}.history-header h3{margin:0;font-size:1rem;font-weight:600;color:#f1f5f9}.frequency-toggle{display:flex;gap:.25rem;background-color:#0f172a;border-radius:6px;padding:.25rem}.frequency-toggle button{background:transparent;border:none;color:#94a3b8;padding:.4rem .75rem;border-radius:4px;font-size:.8rem;font-weight:500;cursor:pointer;transition:all .2s ease}.frequency-toggle button:hover{color:#f1f5f9}.frequency-toggle button.active{background-color:#334155;color:#f1f5f9}.chart-wrapper{width:100%;height:300px}.history-error{display:flex;justify-content:center;align-items:center;height:200px;color:#64748b}.recharts-legend-item-text{color:#94a3b8!important;font-size:.8rem}.detail-page{min-height:100vh;display:flex;flex-direction:column}.detail-content{max-width:1000px;margin:0 auto;padding:1.5rem;width:100%;box-sizing:border-box;flex:1}.back-button{display:inline-flex;align-items:center;gap:.5rem;background:transparent;border:1px solid #334155;color:#94a3b8;padding:.5rem 1rem;border-radius:8px;cursor:pointer;font-size:.9rem;font-weight:500;transition:all .2s ease;margin-bottom:1.5rem}.back-button:hover{border-color:#3b82f6;color:#3b82f6}.back-button svg{width:18px;height:18px}.detail-header{margin-bottom:2rem}.detail-ticker{margin:0 0 .5rem;font-size:2.5rem;font-weight:700;color:#f1f5f9}.detail-date{margin:0 0 .25rem;font-size:.9rem;color:#94a3b8}.detail-profile{margin:0;font-size:.85rem;color:#64748b}.detail-grid{display:grid;gap:1.5rem}.detail-gauge-section{background-color:#1e293b;border-radius:12px;padding:1.5rem}.error-container{display:flex;flex-direction:column;align-items:center;justify-content:center;padding:4rem 2rem;text-align:center}.error-container h3{margin:0 0 .5rem;color:#ef4444}.error-container p{margin:0 0 1.5rem;color:#94a3b8}@media (max-width: 640px){.detail-content{padding:1rem}.detail-ticker{font-size:2rem}}.compare-selector{background-color:#1e293b;border-radius:12px;padding:1.5rem;margin-bottom:1.5rem}.selector-header{display:flex;align-items:center;justify-content:space-between;margin-bottom:1rem}.selector-header h3{margin:0;font-size:1rem;font-weight:600;color:#f1f5f9}.selector-count{font-size:.85rem;color:#64748b}.selected-tickers{display:flex;flex-wrap:wrap;gap:.5rem;margin-bottom:1rem}.selected-ticker-chip{display:flex;align-items:center;gap:.5rem;background-color:#334155;padding:.5rem .75rem;border-radius:6px;font-size:.9rem;font-weight:600;color:#f1f5f9}.remove-chip{display:flex;align-items:center;justify-content:center;background:transparent;border:none;color:#94a3b8;padding:0;cursor:pointer;width:18px;height:18px}.remove-chip:hover{color:#ef4444}.remove-chip svg{width:100%;height:100%}.ticker-search{position:relative}.ticker-search input{width:100%;padding:.75rem 1rem;background-color:#0f172a;border:1px solid #334155;border-radius:8px;color:#f1f5f9;font-size:.9rem;box-sizing:border-box}.ticker-search input:focus{outline:none;border-color:#3b82f6}.ticker-search input::placeholder{color:#64748b}.ticker-dropdown{position:absolute;top:100%;left:0;right:0;margin:0;padding:0;list-style:none;background-color:#0f172a;border:1px solid #334155;border-radius:8px;overflow:hidden;z-index:10;margin-top:.25rem}.ticker-dropdown li{padding:.75rem 1rem;cursor:pointer;color:#f1f5f9;font-weight:500}.ticker-dropdown li:hover{background-color:#1e293b}.compare-grid{background-color:#1e293b;border-radius:12px;padding:1rem;overflow-x:auto}.compare-grid table{width:100%;border-collapse:collapse;font-size:.9rem}.compare-grid th,.compare-grid td{padding:.75rem 1rem;text-align:left;border-bottom:1px solid #334155}.ticker-header{font-weight:700;color:#f1f5f9;text-align:center!important;min-width:80px}.metric-header{width:180px}.metric-label{color:#94a3b8;font-weight:500;display:flex;align-items:center;gap:.5rem}.color-dot{width:8px;height:8px;border-radius:50%;flex-shrink:0}.value-cell{text-align:center;font-weight:600;border-radius:4px}.value-cell.best{font-weight:700}.main-row td{font-size:1rem}.main-row .metric-label{font-weight:700;color:#f1f5f9}.component-row .metric-label{font-weight:600;color:#f1f5f9}.sub-row .metric-label{color:#64748b;font-size:.85rem}.sub-row td{font-size:.85rem}.compare-grid-empty{background-color:#1e293b;border-radius:12px;padding:4rem 2rem;text-align:center;color:#64748b}@media (max-width: 640px){.compare-grid th,.compare-grid td{padding:.5rem .75rem;font-size:.8rem}.metric-header{width:120px}}.compare-page{min-height:100vh;display:flex;flex-direction:column}.compare-content{max-width:1200px;margin:0 auto;padding:1.5rem;width:100%;box-sizing:border-box;flex:1}.compare-header{margin-bottom:1.5rem}.compare-header h2{margin:0 0 .5rem;font-size:1.5rem;font-weight:700;color:#f1f5f9}.compare-header p{margin:0;font-size:.9rem;color:#94a3b8}.compare-loading{padding:2rem}.compare-error{background-color:#1e293b;border-radius:12px;padding:2rem;text-align:center}.compare-error p{color:#ef4444;margin:0 0 1rem}.retry-button{background:#3b82f6;color:#fff;border:none;padding:.75rem 1.5rem;border-radius:8px;cursor:pointer;font-size:.9rem;font-weight:600;transition:background-color .2s ease}.retry-button:hover{background:#2563eb}@media (max-width: 640px){.compare-content{padding:1rem}.compare-header h2{font-size:1.25rem}}.app{min-height:100vh;display:flex;flex-direction:column;background-color:#0f172a}.app-main{flex:1;display:flex;flex-direction:column}:root{--bg-primary: #0f172a;--bg-secondary: #1e293b;--bg-card: #334155;--text-primary: #f1f5f9;--text-secondary: #cbd5e1;--text-muted: #94a3b8;--accent: #3b82f6;--accent-hover: #2563eb;--border: #475569;--success: #22c55e;--warning: #eab308;--danger: #ef4444}*{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-color:var(--bg-primary);color:var(--text-primary);line-height:1.6}code{font-family:source-code-pro,Menlo,Monaco,Consolas,Courier New,monospace}button{cursor:pointer;border:none;background:none;font-family:inherit}button:disabled{cursor:not-allowed;opacity:.5}
