@charset "UTF-8";.table-container{overflow-x:auto;overflow-y:auto;border:1px solid var(--border-primary);border-radius:12px;background:var(--bg-card)}.table-container::-webkit-scrollbar{height:8px;width:8px}.table-container::-webkit-scrollbar-track{background:var(--bg-card);border-radius:0 0 12px 12px}.table-container::-webkit-scrollbar-thumb{background:var(--bg-tertiary);border-radius:4px}.table-container::-webkit-scrollbar-thumb:hover{background:var(--text-muted)}.data-table{width:100%;border-collapse:separate;border-spacing:0;font-size:.875rem}.data-table.compact{font-size:.8rem}.data-table.compact thead th,.data-table.compact tbody td{padding:.625rem .75rem}.data-table thead{position:sticky;top:0;z-index:20}.data-table thead th{background:var(--bg-card);color:var(--text);font-weight:600;text-align:left;padding:.875rem 1rem;border-bottom:2px solid var(--border-primary);white-space:nowrap;font-size:.8rem;text-transform:uppercase;letter-spacing:.05em}.data-table thead th.text-right{text-align:right}.data-table thead th.projected{color:var(--warn, #fbbf24);border-bottom-color:#fbbf2466}.data-table thead th.locked{opacity:.6;background:var(--bg-hover);position:relative}.data-table thead th.locked .lock-icon{font-size:.7rem;margin-left:.3rem;vertical-align:middle}.data-table tbody tr{transition:background-color .15s ease}.data-table tbody tr.clickable-row{cursor:pointer}.data-table tbody tr.clickable-row:hover{background:var(--accent-bg, rgba(56, 189, 248, .1))!important}.data-table tbody tr.clickable-row:hover td{color:var(--text-primary)!important}.data-table tbody tr.clickable-row:hover .sticky-col{background:var(--bg-hover)!important;color:var(--text-primary)}.data-table tbody tr.clickable-row.selected{background:var(--accent-bg, rgba(56, 189, 248, .15))!important;border-left:3px solid var(--accent, #38bdf8)}.data-table tbody tr.clickable-row.selected td{color:var(--text-primary)!important;font-weight:600}.data-table tbody tr.clickable-row.selected .sticky-col{background:var(--accent-bg, rgba(56, 189, 248, .15))!important;color:var(--text-primary)!important}.data-table tbody tr:hover,.data-table tbody tr.highlight-row{background:#38bdf814}.data-table tbody tr.highlight-row td{font-weight:600;color:var(--text)}.data-table tbody tr.margin-row td{color:var(--text-primary)}.data-table tbody tr.yoy-row{background:var(--bg-hover)}.data-table tbody tr.yoy-row td{font-size:.75rem;font-style:italic;padding:.4rem 1rem;color:var(--text-muted)}.data-table tbody tr.yoy-row td.positive{color:var(--success, #22c55e)}.data-table tbody tr.yoy-row td.negative{color:var(--danger, #ef4444)}.data-table tbody tr.yoy-row .sticky-col{font-weight:500;color:var(--text-muted);padding-left:2rem}.data-table tbody tr.section-divider td{background:var(--bg-hover);padding:.5rem 1rem;font-weight:600;font-size:.75rem;text-transform:uppercase;letter-spacing:.08em;color:var(--accent, #38bdf8);border-top:1px solid var(--border-primary);border-bottom:1px solid var(--border-primary)}.data-table tbody td{padding:.75rem 1rem;color:var(--text-muted);border-bottom:1px solid var(--border-secondary)}.data-table tbody td.text-right{text-align:right;font-variant-numeric:tabular-nums}.data-table tbody td.negative,.data-table tbody td.projected.negative{color:var(--danger)!important}.data-table tbody td.locked{opacity:.6;background:var(--bg-hover);text-align:center!important}.data-table .sticky-col{position:sticky!important;left:0!important;z-index:10;background:var(--bg-card);min-width:160px;border-right:1px solid var(--border-primary);font-weight:600;color:var(--text)}.data-table .sticky-col:after{content:"";position:absolute;right:0;top:0;bottom:0;width:1px;background:var(--bg-tertiary);pointer-events:none}.data-table thead th.sticky-col{z-index:25!important;border-right:1px solid var(--border-primary)}.view-more-btn{background:transparent;border:1px solid rgba(56,189,248,.4);border-radius:8px;padding:.75rem 1.25rem;color:var(--accent, #38bdf8);font-weight:600;font-size:.875rem;cursor:pointer;transition:all .2s ease;align-self:flex-start;margin-top:.5rem}.view-more-btn:hover{background:#38bdf81a;border-color:var(--accent, #38bdf8)}@media(max-width:768px){.table-container{border-radius:10px}.table-container::-webkit-scrollbar{height:6px}.table-container::-webkit-scrollbar-thumb{background:#38bdf866;border-radius:3px}.table-container::-webkit-scrollbar-track{background:var(--bg-hover);border-radius:3px}.data-table{font-size:.75rem}.data-table thead th,.data-table tbody td{padding:.5rem .625rem;font-size:.75rem}.data-table .sticky-col{min-width:100px;font-size:.7rem;padding:.5rem .625rem;background:var(--bg-card)!important}.data-table .sticky-col:after{width:2px;background:#38bdf84d}.data-table thead th{font-size:.7rem;padding:.625rem .5rem;white-space:nowrap}.data-table thead th.sticky-col{z-index:35!important}.data-table tbody td{font-size:.75rem;padding:.5rem;white-space:nowrap}.view-more-btn{width:100%;text-align:center}}@media(max-width:480px){.data-table{font-size:.75rem}.data-table thead th,.data-table tbody td{padding:.4rem .5rem;font-size:.75rem}.data-table .sticky-col{min-width:90px;font-size:.75rem}}html.light-theme .table-container{background:#fff;border-color:var(--border-primary)}html.light-theme .data-table thead th{background:#f8fafc!important;border-bottom-color:var(--text-secondary)!important;color:var(--text-secondary)!important}html.light-theme .data-table .sticky-col{background:#fff!important;border-right-color:var(--text-secondary)!important}html.light-theme .data-table tbody tr:hover,html.light-theme .data-table tbody tr:hover .sticky-col,html.light-theme .data-table tbody tr.selected,html.light-theme .data-table tbody tr.selected .sticky-col{background:var(--accent-bg, #e0f2fe)!important}html.light-theme .data-table tbody tr.highlight-row,html.light-theme .data-table tbody tr.highlight-row .sticky-col{background:#f1f5f9!important}html.light-theme .data-table tbody td{color:var(--text-primary)!important;border-bottom:1px solid var(--border-secondary)!important}html.light-theme .data-table tbody td:first-child{background:#fff!important}:root,html.dark-theme{--bg-primary: #0b1220;--bg-secondary: #111827;--bg-tertiary: #1f2937;--bg-card: rgba(17, 24, 39, .8);--bg-hover: rgba(31, 41, 55, .6);--text-primary: #f1f5f9;--text-secondary: #e2e8f0;--text-muted: #9ca3af;--text-tertiary: #6b7280;--text: #f1f5f9;--muted: #9ca3af;--border-primary: rgba(55, 65, 81, .5);--border-secondary: rgba(75, 85, 99, .3);--accent: #38bdf8;--accent-2: #a78bfa;--accent-3: #22d3ee;--accent-bg: rgba(56, 189, 248, .15);--accent-primary: #3b82f6;--input-bg: #0f1420;--primary: #3b82f6;--primary-dark: #2563eb;--accent-hover: #0ea5e9;--success: #34d399;--warning: #fbbf24;--danger: #f87171;--shadow-sm: 0 2px 8px rgba(0, 0, 0, .3);--shadow-md: 0 4px 16px rgba(0, 0, 0, .4);--shadow-lg: 0 8px 32px rgba(0, 0, 0, .5);--spacing-xs: .25rem;--spacing-sm: .5rem;--spacing-md: 1rem;--spacing-lg: 1.5rem;--spacing-xl: 2rem;--spacing-xxl: 3rem;--radius-sm: 4px;--radius-md: 8px;--radius-lg: 12px;--radius-xl: 16px;--card-bg: var(--bg-card);--border-color: var(--border-primary);--primary-color: var(--accent);--surface-bg: rgba(255, 255, 255, .02)}.light-theme{--bg-primary: #f1f5f9;--bg-secondary: #f8fafc;--bg-tertiary: #f1f5f9;--bg-card: #ffffff;--bg-hover: #f1f5f9;--text-primary: #0f172a;--text-secondary: #334155;--text-muted: #475569;--text: #0f172a;--muted: #334155;--border-primary: #cbd5e1;--border-secondary: #f1f5f9;--accent: #0ea5e9;--accent-2: #7c3aed;--accent-3: #0891b2;--accent-bg: #e0f2fe;--accent-primary: #2563eb;--input-bg: #f1f5f9;--primary: #2563eb;--primary-dark: #1e40af;--accent-hover: #0284c7;--success: #10b981;--warning: #f59e0b;--danger: #ef4444;--shadow-sm: 0 1px 3px 0 rgb(0 0 0 / .08), 0 1px 2px -1px rgb(0 0 0 / .08);--shadow-md: 0 4px 8px -1px rgb(0 0 0 / .1), 0 2px 4px -2px rgb(0 0 0 / .08);--shadow-lg: 0 10px 20px -3px rgb(0 0 0 / .12), 0 4px 8px -4px rgb(0 0 0 / .08);--card-bg: var(--bg-card);--border-color: var(--border-primary);--primary-color: var(--accent);--text-tertiary: #64748b;--surface-bg: #f1f5f9}.btn-primary{display:inline-flex;align-items:center;justify-content:center;padding:.625rem 1.5rem;background:var(--primary-color, #38bdf8);color:#fff;border:none;border-radius:8px;font-size:.9375rem;font-weight:600;cursor:pointer;transition:all .2s ease;letter-spacing:.01em;text-decoration:none;line-height:1.4}.btn-primary:hover{opacity:.9;transform:translateY(-1px)}.btn-secondary{display:inline-flex;align-items:center;justify-content:center;padding:.625rem 1.5rem;background:var(--surface-bg, rgba(255, 255, 255, .05));color:var(--text-primary, #f1f5f9);border:1px solid var(--border-color, rgba(55, 65, 81, .5));border-radius:8px;font-size:.9375rem;font-weight:500;cursor:pointer;transition:all .2s ease}.retry-btn{display:inline-flex;align-items:center;justify-content:center;padding:.625rem 1.5rem;background:var(--primary-color, #38bdf8);color:#fff;border:none;border-radius:8px;font-size:.9375rem;font-weight:600;cursor:pointer;transition:all .2s ease}.error-state,.loading-state,.empty-state{display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;padding:3rem 2rem;gap:1rem;border-radius:12px}.error-state .error-icon svg,.empty-state .empty-icon svg{width:48px;height:48px}.spinner{width:48px;height:48px;border:3px solid var(--border-color, rgba(55, 65, 81, .5));border-top-color:var(--primary-color, #38bdf8);border-radius:50%;animation:spin .8s linear infinite}.filters-section{border-radius:12px;padding:2rem}.filters-row{display:flex;flex-wrap:wrap;gap:1.5rem;align-items:flex-end;justify-content:center}.filter-group{display:flex;flex-direction:column;gap:.5rem}.select-wrapper{min-width:180px}.select-wrapper select{width:100%;padding:.75rem 2.5rem .75rem 1rem;border-radius:8px;font-size:.9375rem;cursor:pointer;appearance:none}.light-theme .app-shell{background:radial-gradient(circle at 15% 20%,rgba(14,165,233,.05),transparent 35%),radial-gradient(circle at 85% 0%,rgba(124,58,237,.04),transparent 30%),#f1f5f9!important}.light-theme .sidebar-nav{background:#fff!important;border-right:1px solid #cbd5e1!important}.light-theme .top-bar{background:#fff!important;border-bottom:1px solid #cbd5e1!important}.light-theme .card,.light-theme .panel,.light-theme .section,.light-theme .metric,.light-theme .stat,.light-theme .module,.light-theme .hero__panel,.light-theme .input-card{background:var(--bg-card)!important;border:1px solid var(--border-primary)!important;box-shadow:var(--shadow-sm)!important;transition:transform .2s ease,box-shadow .2s ease}.light-theme .card:hover,.light-theme .panel:hover,.light-theme .section:hover,.light-theme .metric:hover,.light-theme .stat:hover,.light-theme .module:hover{box-shadow:var(--shadow-md)!important;border-color:#7dd3fc!important}.light-theme .stat{background:#f0f9ff!important;border-color:#bae6fd!important}.light-theme .stat:hover{background:#e0f2fe!important;border-color:#7dd3fc!important}.light-theme .valuation-card,.light-theme .buy-price-card{background:#f0f9ff!important;border-color:#bae6fd!important}.light-theme .buy-price-card.primary{background:#e0f2fe!important;border-color:#7dd3fc!important}.light-theme .category-chart,.light-theme .kpi-card,.light-theme .summary-card,.light-theme .stat-card,.light-theme .action-card{background:#f0f9ff!important;border-color:#bae6fd!important}.light-theme .category-chart:hover,.light-theme .kpi-card:hover,.light-theme .summary-card:hover,.light-theme .stat-card:hover,.light-theme .action-card:hover{background:#e0f2fe!important;border-color:#7dd3fc!important}.light-theme .risk-card,.light-theme .panel__body .stat{background:#f0f9ff!important;border-color:#bae6fd!important}.light-theme .metric,.light-theme .module{background:#f0f9ff!important;border-color:#bae6fd!important;box-shadow:0 1px 3px #38bdf81a!important}.light-theme .empty-state{background:#fff!important;border-color:#bae6fd!important}.light-theme .empty-state h2{color:#0f172a!important}.light-theme .empty-state p{color:#475569!important}.light-theme .empty-icon{background:#e0f2fe!important;color:#0284c7!important}.light-theme .example-btn{background:#e0f2fe!important;border:1px solid #7dd3fc!important;color:#0369a1!important}.light-theme .example-btn:hover{background:#38bdf8!important;border-color:#0ea5e9!important;color:#fff!important}.light-theme .table-container{background:#fff!important;border-color:var(--border-primary)!important}.light-theme .data-table thead th,.light-theme .data-grid thead th{background:#f8fafc!important;color:var(--text-secondary)!important;border-bottom:1px solid var(--border-primary)!important}.light-theme .data-table tbody td,.light-theme .data-grid tbody td{color:var(--text-primary)!important;border-bottom:1px solid var(--border-secondary)!important}.light-theme .data-table tbody td:first-child,.light-theme .data-grid tbody td:first-child{background:#fff!important}.light-theme .circular-progress text{fill:var(--text-primary)!important}.light-theme .stat__label,.light-theme .stat__hint,.light-theme .metric__title,.light-theme .metric__detail,.light-theme .buy-price-label,.light-theme .buy-price-hint,.light-theme .valuation-card h4,.light-theme .valuation-card p,.light-theme .risk-label,.light-theme .kpi-label,.light-theme .category-name{color:#475569!important}.light-theme .stat__value,.light-theme .metric__value,.light-theme .buy-price-value,.light-theme .valuation-value,.light-theme .risk-value,.light-theme .kpi-value{color:#0f172a!important}.light-theme .eyebrow{color:#0284c7!important}.light-theme .section__header p{color:#475569!important}.light-theme .panel__header h3{color:#1e293b!important}.light-theme h1,.light-theme h2,.light-theme h3{color:var(--text-primary);font-weight:700;letter-spacing:-.025em}.light-theme .sidebar-nav{background:#fff;border-right:1px solid var(--border-primary)}.light-theme .sidebar-nav .menu-item{color:var(--text-secondary)}.light-theme .sidebar-nav .menu-item:hover{background:var(--bg-tertiary);color:var(--text-primary)}.light-theme .sidebar-nav .menu-item.active{background:#f0f9ff;color:var(--accent);font-weight:600}.light-theme .sidebar-nav .user-name{color:#0f172a!important}.light-theme .sidebar-nav .user-email{color:#64748b!important}.light-theme .sidebar-nav .menu-group-label{color:#475569!important;opacity:1!important}.light-theme .sidebar-nav .eyebrow{color:#475569!important}.light-theme .sidebar-nav .menu-item.danger{color:#dc2626!important}.light-theme .sidebar-nav .menu-item.danger:hover{background:#fef2f2!important;color:#b91c1c!important}.light-theme .sidebar-nav__footer .menu-item{color:#475569!important}.light-theme .sidebar-nav__footer .menu-item svg{color:#475569!important;stroke:#475569!important}.light-theme .sidebar-nav__footer .menu-item:hover{color:#0f172a!important}.light-theme .sidebar-nav__footer .menu-item:hover svg{color:#0f172a!important;stroke:#0f172a!important}.light-theme .toggle-group{background:#e0f2fe!important;border:1px solid #bae6fd!important;padding:3px!important}.light-theme .sub-tabs{background:#e0f2fe!important;border:1px solid #bae6fd!important;padding:.5rem!important}.light-theme .toggle-btn{background:transparent!important;color:#64748b!important;border:none!important}.light-theme .toggle-btn:hover:not(.active){background:#e2e8f0!important;color:#1e293b!important}.light-theme .toggle-btn.active{background:#38bdf8!important;color:#fff!important;box-shadow:0 2px 4px #38bdf833!important;border-radius:4px!important}.light-theme .sub-tab-btn{background:transparent!important;color:#64748b!important;border:1px solid transparent!important}.light-theme .sub-tab-btn:hover:not(.active){background:#e2e8f0!important;color:#1e293b!important}.light-theme .sub-tab-btn.active{background:#38bdf8!important;color:#fff!important;border-color:#38bdf8!important;box-shadow:0 2px 4px #38bdf833!important}.light-theme .toggle-btn svg{stroke:currentColor!important}.light-theme .period-units-controls,.light-theme .financials-controls,.light-theme .financials-controls--compact{background:#fff!important;border-color:#bae6fd!important;box-shadow:0 2px 8px #38bdf81a!important}.light-theme .financials-controls--compact .control-group{background:#f0f9ff!important;border-color:#bae6fd!important}.light-theme .select-wrapper select{background:#fff!important;border-color:#cbd5e1!important;color:#0f172a!important}.light-theme .select-wrapper select:hover{border-color:#0ea5e9!important}.light-theme .select-wrapper select:focus{border-color:#0ea5e9!important;box-shadow:0 0 0 3px #0ea5e926!important}.light-theme .select-wrapper select option{background:#fff!important;color:#0f172a!important}.light-theme .select-arrow{color:#64748b!important}.light-theme .btn-primary{background:#0ea5e9!important;color:#fff!important;border:none!important;border-radius:8px!important;padding:.625rem 1.5rem!important;font-size:.9375rem!important;font-weight:600!important;cursor:pointer!important;box-shadow:0 2px 4px #0ea5e94d!important;transition:all .2s ease!important;letter-spacing:.01em!important}.light-theme .btn-primary:hover{background:#0284c7!important;box-shadow:0 4px 12px #0ea5e966!important;transform:translateY(-1px)!important}.light-theme .retry-btn{background:#0ea5e9!important;color:#fff!important;border:none!important;border-radius:8px!important;padding:.625rem 1.5rem!important;font-size:.9375rem!important;font-weight:600!important;cursor:pointer!important;box-shadow:0 2px 4px #0ea5e94d!important;transition:all .2s ease!important}.light-theme .retry-btn:hover{background:#0284c7!important;box-shadow:0 4px 12px #0ea5e966!important;transform:translateY(-1px)!important}.light-theme .error-state,.light-theme .loading-state{background:#fff!important;border:1px solid #e2e8f0!important;border-radius:12px!important;padding:3rem 2rem!important;gap:1rem!important;box-shadow:0 1px 3px #0000000f!important}.light-theme .error-icon{color:#ef4444!important;opacity:1!important}.light-theme .error-icon svg{width:48px!important;height:48px!important}.light-theme .error-message{color:#475569!important;font-size:1rem!important;margin:.5rem 0!important}.light-theme .spinner{width:48px!important;height:48px!important;border:3px solid #e2e8f0!important;border-top-color:#0ea5e9!important;border-radius:50%!important}.light-theme .filters-section{background:#fff!important;border:1px solid #e2e8f0!important;border-radius:12px!important;padding:2rem!important;box-shadow:0 1px 3px #0000000f!important}.light-theme .market-ranking-page{padding:1.5rem!important;gap:1.5rem!important}.light-theme .market-ranking-page .section-header{margin-bottom:1rem!important}.light-theme .market-ranking-page .section-header h2{color:#0f172a!important;font-size:1.5rem!important;margin-bottom:.5rem!important}.light-theme .market-ranking-page .section-subtitle{color:#64748b!important}.light-theme .market-ranking-page .filter-group label{color:#475569!important}.light-theme .filters-row{gap:1.5rem!important}.light-theme .filter-group{gap:.5rem!important}.light-theme .select-wrapper{min-width:180px!important}.light-theme .select-wrapper select{padding:.75rem 2.5rem .75rem 1rem!important;font-size:.9375rem!important;border-radius:8px!important}.light-theme .results-header-card{background:#fff!important;border:1px solid #e2e8f0!important;border-radius:12px!important;padding:2rem!important;box-shadow:0 1px 3px #0000000f!important}.light-theme .results-header-card .header-left h3{color:#0f172a!important}.light-theme .period-badge{background:#e0f2fe!important;border-color:#0ea5e9!important;color:#0369a1!important}.light-theme .header-stats .stat-card{background:#f0f9ff!important;border:1px solid #bae6fd!important}.light-theme .stat-label{color:#64748b!important}.light-theme .stat-value{color:#0f172a!important}.light-theme .chart-card,.light-theme .table-card{background:#fff!important;border:1px solid #e2e8f0!important;box-shadow:0 1px 3px #0000000f!important}.light-theme .card-header{border-bottom-color:#e2e8f0!important}.light-theme .card-header h4{color:#0f172a!important}.light-theme .table-count{color:#64748b!important}.light-theme .chart-label .company-name,.light-theme .chart-value{color:#0f172a!important}.light-theme .rank-badge{background:#f1f5f9!important;color:#475569!important}.light-theme .rank-number{color:#475569!important}.light-theme .rank-number.gold{color:#d97706!important}.light-theme .rank-number.silver{color:#6b7280!important}.light-theme .rank-number.bronze{color:#92400e!important}.light-theme .company-name-table{color:#0369a1!important}.light-theme .cik-badge{color:#94a3b8!important}.light-theme .value-amount{color:#0f172a!important;font-weight:700!important}.light-theme .date-text{color:#64748b!important}.light-theme .data-table thead th{background:#f8fafc!important;color:#475569!important;border-bottom:2px solid #e2e8f0!important}.light-theme .data-table tbody tr{border-bottom:1px solid #f1f5f9!important}.light-theme .data-table tbody tr:hover{background:#f0f9ff!important}.light-theme .sticky-col{background:inherit!important}.light-theme .market-ranking-page .empty-state{background:#fff!important;border:1px solid #e2e8f0!important}.light-theme .market-ranking-page .empty-state h3{color:#0f172a!important}.light-theme .market-ranking-page .empty-state p{color:#64748b!important}.light-theme .market-ranking-page .empty-icon{color:#94a3b8!important}.light-theme [style*="rgba(255,255,255,0.02)"],.light-theme [style*="rgba(255, 255, 255, 0.02)"]{background:#f8fafc!important}.light-theme .chart-bar{background:linear-gradient(90deg,#0ea5e9,#38bdf8)!important;box-shadow:0 4px 12px #0ea5e940!important}.light-theme .mini-bar{background:linear-gradient(90deg,#0d9488,#14b8a6)!important}.light-theme .percent-text{color:#0f172a!important}@media(max-width:768px){.light-theme .data-table tr{background:#fff!important;border:1px solid #e2e8f0!important;box-shadow:0 1px 3px #0000000f!important}.light-theme .data-table tr:before{background:linear-gradient(90deg,#0ea5e9,#38bdf8)!important}.light-theme .data-table td{border-bottom-color:#f1f5f9!important}.light-theme .data-table td:before{color:#64748b!important}}.light-theme .sidebar-nav .menu-item svg{stroke:currentColor!important;opacity:1!important}.light-theme .top-bar{background:#fffc;-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);border-bottom:1px solid var(--border-primary);color:var(--text-primary)}.light-theme .top-bar h1,.light-theme .top-bar h2,.light-theme .top-bar .title,.light-theme .top-bar span,.light-theme .top-bar strong{color:var(--text-primary)}.light-theme .user-dropdown{background:#fff!important;border-color:#e2e8f0!important;box-shadow:0 10px 30px #0000001a!important}.light-theme .dropdown-item{color:#475569!important}.light-theme .dropdown-item:hover{background:#f1f5f9!important;color:#0f172a!important}.light-theme .dropdown-item.danger{color:#dc2626!important}.light-theme .dropdown-item.danger:hover{background:#fef2f2!important}.light-theme .dropdown-divider{background:#e2e8f0!important}*,*:before,*:after{box-sizing:border-box}html,body{margin:0;padding:0;width:100%;height:100%;font-family:Inter,system-ui,-apple-system,Segoe UI,Roboto,Helvetica,Arial,Noto Sans TC,Noto Sans SC,Noto Sans Devanagari,sans-serif;background:var(--bg-primary);color:var(--text-primary);transition:background-color .3s ease,color .3s ease}app-root{display:block;min-height:100vh;min-height:100dvh}@media(max-width:768px){body{font-size:14px}}@media(min-width:769px)and (max-width:1024px){body{font-size:16px}}@media(min-width:1025px){body{font-size:18px}}app-login,app-profile{display:block;width:100%;min-height:100vh;min-height:100dvh}input,textarea,select{background:var(--bg-tertiary);color:var(--text-primary);border:1px solid var(--border-primary);transition:background-color .2s ease,border-color .2s ease,color .2s ease}input::placeholder,textarea::placeholder{color:var(--text-muted)}input:focus,textarea:focus,select:focus{outline:none;border-color:var(--accent)}button{transition:background-color .2s ease,border-color .2s ease,color .2s ease}a{color:var(--accent)}.data-grid{background:var(--bg-card)!important;border-color:var(--border-primary)!important}.data-grid th{background:var(--bg-tertiary)!important;color:var(--text-muted)!important;border-color:var(--border-secondary)!important}.data-grid td{color:var(--text-primary)!important;border-color:var(--border-secondary)!important}.data-grid tr:hover{background:var(--bg-hover)!important}.modal-container,.modal-content{background:var(--bg-secondary)!important;border-color:var(--border-primary)!important;color:var(--text-primary)!important}.modal-header,.modal-footer{border-color:var(--border-secondary)!important}.light-theme .modal-container,.light-theme .modal-content,.light-theme .modal{background:#fff!important;color:#0f172a!important}.light-theme .modal h2,.light-theme .modal h3,.light-theme .modal-header h2,.light-theme .modal-header h3,.light-theme .modal__header h2,.light-theme .modal__header h3{color:#0f172a!important}.light-theme .modal label,.light-theme .form-group label,.light-theme .modal .form-label{color:#475569!important}.light-theme .modal .hint,.light-theme .modal .form-hint,.light-theme .modal small{color:#64748b!important}.light-theme .modal input,.light-theme .modal select,.light-theme .modal textarea{background:#f8fafc!important;color:#0f172a!important;border-color:#e2e8f0!important}.light-theme .modal input::placeholder,.light-theme .modal textarea::placeholder{color:#94a3b8!important}.light-theme .modal button.ghost,.light-theme .modal button.cancel-btn,.light-theme .modal button.secondary{color:#475569!important;border-color:#e2e8f0!important;background:transparent!important}.light-theme .modal button.ghost:hover,.light-theme .modal button.cancel-btn:hover{background:#f1f5f9!important;color:#0f172a!important}.light-theme app-settings-modal .modal-container{background:#fff!important;border-color:#e2e8f0!important;box-shadow:0 20px 60px #00000026!important}.light-theme app-settings-modal .modal-header{border-color:#e2e8f0!important}.light-theme app-settings-modal .modal-header h2{background:linear-gradient(135deg,#0ea5e9,#06b6d4)!important;-webkit-background-clip:text!important;-webkit-text-fill-color:transparent!important;background-clip:text!important}.light-theme app-settings-modal .setting-section h3{color:#0f172a!important}.light-theme app-settings-modal .setting-description{color:#475569!important}.light-theme app-settings-modal .account-info{background:#f1f5f9!important;border-color:#e2e8f0!important}.light-theme app-settings-modal .account-label{color:#475569!important}.light-theme app-settings-modal .account-value{color:#0f172a!important}.light-theme app-settings-modal .account-field:not(:last-child){border-color:#e2e8f0!important}.light-theme app-settings-modal .preference-field label{color:#0f172a!important}.light-theme app-settings-modal .preference-hint{color:#64748b!important}.light-theme app-settings-modal .suffix{color:#475569!important}.light-theme app-settings-modal .preference-input{background:#f8fafc!important;border-color:#e2e8f0!important;color:#0f172a!important}.light-theme app-settings-modal .language-option,.light-theme app-settings-modal .theme-option{background:#f1f5f9!important;border-color:#e2e8f0!important}.light-theme app-settings-modal .language-option .lang-name,.light-theme app-settings-modal .theme-option .theme-name{color:#0f172a!important}.light-theme app-settings-modal .language-option:hover,.light-theme app-settings-modal .theme-option:hover{background:#e0f2fe!important;border-color:#0ea5e9!important}.light-theme app-settings-modal .language-option.active,.light-theme app-settings-modal .theme-option.active{background:#e0f2fe!important;border-color:#0ea5e9!important;box-shadow:0 0 15px #0ea5e933!important}.light-theme app-settings-modal .language-option.active .lang-name,.light-theme app-settings-modal .theme-option.active .theme-name{color:#0ea5e9!important}.light-theme app-settings-modal .modal-footer{border-color:#e2e8f0!important}.light-theme app-settings-modal .btn-secondary{background:#e2e8f0!important;color:#1e293b!important;border:1px solid #cbd5e1!important}.light-theme app-settings-modal .btn-secondary:hover{background:#cbd5e1!important;border-color:#94a3b8!important;color:#0f172a!important}.light-theme app-settings-modal .modal-body::-webkit-scrollbar-track{background:#f1f5f9!important}.light-theme app-settings-modal .modal-body::-webkit-scrollbar-thumb{background:#cbd5e1!important}.light-theme .modal-header h4,.light-theme .modal-header h3,.light-theme .modal-header h2{color:#0f172a!important}.light-theme .modal-overlay .modal{background:#fff!important}.light-theme .watchlist-item,.light-theme .portfolio-item{background:#f0f9ff!important;border-color:#bae6fd!important;color:#0f172a!important}.light-theme .watchlist-item:hover,.light-theme .portfolio-item:hover{background:#e0f2fe!important;border-color:#7dd3fc!important}.light-theme .list-name{color:#0f172a!important}.light-theme .list-count{color:#475569!important}.light-theme .close-btn{color:#64748b!important}.light-theme .close-btn:hover{color:#0f172a!important}.light-theme .form-group label,.light-theme .modal-body label{color:#475569!important}.light-theme .loading,.light-theme .empty-state,.light-theme .empty-state p{color:#64748b!important}.light-theme .dialog-overlay .dialog,.light-theme .dialog{background:#fff!important;border-color:#e2e8f0!important}.light-theme .dialog-header{border-color:#e2e8f0!important}.light-theme .dialog-header h3,.light-theme .dialog-header h4,.light-theme .form-group label{color:#0f172a!important}.light-theme .form-group small{color:#64748b!important}.light-theme .form-group input,.light-theme .form-group select,.light-theme .form-group textarea,.light-theme .dialog input,.light-theme .dialog select,.light-theme .dialog textarea{background:#f8fafc!important;color:#0f172a!important;border-color:#e2e8f0!important}.light-theme .dialog input::placeholder,.light-theme .dialog textarea::placeholder{color:#94a3b8!important}.light-theme .cancel-btn{color:#475569!important;border-color:#e2e8f0!important;background:transparent!important}.light-theme .cancel-btn:hover{background:#f1f5f9!important;color:#0f172a!important}.light-theme .tab-btn{background:#fff!important;border-color:#e2e8f0!important;color:#475569!important}.light-theme .tab-btn:hover{background:#f1f5f9!important;color:#0f172a!important}.light-theme .tab-btn.active{background:#0ea5e9!important;border-color:#0ea5e9!important;color:#fff!important}.light-theme .summary-card{background:#f0f9ff!important;border-color:#bae6fd!important}.light-theme .summary-label{color:#475569!important}.light-theme .summary-value{color:#0f172a!important}.light-theme .summary-card.profit{border-color:#86efac!important}.light-theme .summary-card.profit .summary-value{color:#16a34a!important}.light-theme .summary-card.loss{border-color:#fecaca!important}.light-theme .summary-card.loss .summary-value{color:#dc2626!important}.light-theme .positive,.light-theme td.positive{color:#16a34a!important}.light-theme .negative,.light-theme td.negative{color:#dc2626!important}.light-theme .btn-icon{background:#f1f5f9!important;border-color:#e2e8f0!important;color:#475569!important}.light-theme .btn-icon:hover{background:#e2e8f0!important;color:#0f172a!important}.light-theme .btn-icon.danger:hover{background:#fef2f2!important;border-color:#fecaca!important;color:#dc2626!important}.light-theme .btn-secondary{background:#f1f5f9!important;border-color:#e2e8f0!important;color:#475569!important}.light-theme .btn-secondary:hover{background:#e2e8f0!important;color:#0f172a!important}.light-theme input[type=checkbox]{accent-color:#0ea5e9!important}.light-theme .modal-overlay .modal{background:#fff!important;border-color:#e2e8f0!important}.light-theme .modal-header{border-color:#e2e8f0!important}.light-theme .modal-header h3{color:#0f172a!important}.light-theme .modal-footer{border-color:#e2e8f0!important}.light-theme .modal-body{color:#0f172a!important}.light-theme .modal-body p{color:#475569!important}.light-theme .form-input{background:#f8fafc!important;border-color:#e2e8f0!important;color:#0f172a!important}.light-theme .form-input:focus{border-color:#0ea5e9!important}.light-theme .form-hint,.light-theme .btn-close{color:#64748b!important}.light-theme .btn-close:hover{color:#0f172a!important}.light-theme .data-grid-section{background:#fff!important;border-color:#e2e8f0!important}.light-theme .data-grid th{background:#f8fafc!important;color:#475569!important}.light-theme .data-grid td{color:#0f172a!important;border-color:#e2e8f0!important}.light-theme .data-grid td.positive{color:#16a34a!important}.light-theme .data-grid td.negative{color:#dc2626!important}.light-theme .data-grid td.highlight{color:#059669!important}.light-theme .company-name{color:#64748b!important}.light-theme .symbol-tag{color:#0284c7!important}.card,.panel{background:var(--bg-card);border-color:var(--border-primary);color:var(--text-primary)}.light-theme ::selection{background:#0284c733;color:inherit}.light-theme ::-webkit-scrollbar{width:8px;height:8px}.light-theme ::-webkit-scrollbar-track{background:var(--bg-tertiary)}.light-theme ::-webkit-scrollbar-thumb{background:var(--border-primary);border-radius:4px}.light-theme ::-webkit-scrollbar-thumb:hover{background:var(--text-muted)}.tooltip-container{position:relative;display:inline-flex;align-items:center;cursor:help;margin-left:.35rem}.tooltip-container .info-icon{display:inline-flex;align-items:center;justify-content:center;width:14px;height:14px;border-radius:50%;border:1px solid var(--muted);color:var(--muted);font-size:10px;font-family:monospace;font-weight:700;line-height:1;margin-left:4px;cursor:help;transition:all .2s ease}.tooltip-container .info-icon:hover{color:var(--accent);border-color:var(--accent);background-color:#3b82f61a}.tooltip-container .tooltip-text{visibility:hidden;width:240px;background-color:var(--bg-secondary);color:var(--text);text-align:left;border-radius:8px;padding:10px 12px;position:absolute;z-index:9999;top:50%;bottom:auto;left:100%;transform:translateY(-50%);margin-left:10px;opacity:0;transition:opacity .2s;font-size:.8rem;font-weight:400;line-height:1.4;border:1px solid var(--border-primary);box-shadow:0 4px 6px -1px #0000001a,0 2px 4px -1px #0000000f;pointer-events:none;white-space:normal}.tooltip-container .tooltip-text:after{content:"";position:absolute;top:50%;right:100%;margin-top:-6px;border-width:6px;border-style:solid;border-color:transparent var(--border-primary) transparent transparent}.tooltip-container .tooltip-text:before{content:"";position:absolute;top:50%;right:100%;margin-top:-5px;border-width:5px;border-style:solid;border-color:transparent var(--bg-secondary) transparent transparent;z-index:1}.tooltip-container:hover .tooltip-text{visibility:visible;opacity:1}@media(max-width:768px){.tooltip-container .tooltip-text{inset:auto auto 100% 50%;transform:translate(-50%);margin-left:0;margin-bottom:8px;width:max-content;max-width:min(260px,100vw - 1.5rem)}.tooltip-container .tooltip-text:after{top:100%;right:auto;left:50%;margin-top:0;margin-left:-6px;border-color:var(--border-primary) transparent transparent transparent}.tooltip-container .tooltip-text:before{top:100%;right:auto;left:50%;margin-top:0;margin-left:-5px;border-color:var(--bg-secondary) transparent transparent transparent}}.light-theme .analysis-page{background:#f8fafc!important}.light-theme .analysis-page .analysis-container{background:transparent!important}.light-theme .analysis-page .table-container{background:#fff!important;border-color:#cbd5e1!important}.light-theme .analysis-page .data-table{background:#fff!important}.light-theme .analysis-page .data-table thead th{background:#f8fafc!important;color:#334155!important;border-bottom-color:#cbd5e1!important}.light-theme .analysis-page .data-table tbody tr{background:transparent!important}.light-theme .analysis-page .data-table tbody tr:hover{background:#f1f5f9!important}.light-theme .analysis-page .data-table tbody tr.highlight-row{background:#f0f9ff!important}.light-theme .analysis-page .data-table td{color:#334155!important;border-bottom-color:#f1f5f9!important}.light-theme .analysis-page .data-table .sticky-col{background:#fff!important;border-right-color:#cbd5e1!important;color:#0f172a!important}.light-theme .analysis-page .panel,.light-theme .analysis-page .section,.light-theme .analysis-page .description-section{background:#fff!important;border-color:#e2e8f0!important;box-shadow:0 4px 12px #0000000d!important}.light-theme .analysis-page .analysis-ia-card,.light-theme .analysis-page .risk-card,.light-theme .analysis-page .valuation-card,.light-theme .analysis-page .metric,.light-theme .analysis-page .module{background:#f0f9ff!important;border-color:#bae6fd!important}.light-theme .analysis-page .analysis-ia-card:hover,.light-theme .analysis-page .risk-card:hover,.light-theme .analysis-page .valuation-card:hover,.light-theme .analysis-page .metric:hover,.light-theme .analysis-page .module:hover{background:#e0f2fe!important;border-color:#0ea5e9!important}.light-theme .analysis-page .analysis-ia-card h3,.light-theme .analysis-page .analysis-ia-card h4,.light-theme .analysis-page .analysis-ia-card .metric-value,.light-theme .analysis-page .analysis-ia-card .stat-value,.light-theme .analysis-page .risk-card h3,.light-theme .analysis-page .risk-card h4,.light-theme .analysis-page .risk-card .metric-value,.light-theme .analysis-page .risk-card .stat-value,.light-theme .analysis-page .valuation-card h3,.light-theme .analysis-page .valuation-card h4,.light-theme .analysis-page .valuation-card .metric-value,.light-theme .analysis-page .valuation-card .stat-value,.light-theme .analysis-page .metric h3,.light-theme .analysis-page .metric h4,.light-theme .analysis-page .metric .metric-value,.light-theme .analysis-page .metric .stat-value,.light-theme .analysis-page .module h3,.light-theme .analysis-page .module h4,.light-theme .analysis-page .module .metric-value,.light-theme .analysis-page .module .stat-value{color:#0f172a!important}.light-theme .analysis-page .analysis-ia-card p,.light-theme .analysis-page .analysis-ia-card .metric-label,.light-theme .analysis-page .analysis-ia-card .stat-label,.light-theme .analysis-page .risk-card p,.light-theme .analysis-page .risk-card .metric-label,.light-theme .analysis-page .risk-card .stat-label,.light-theme .analysis-page .valuation-card p,.light-theme .analysis-page .valuation-card .metric-label,.light-theme .analysis-page .valuation-card .stat-label,.light-theme .analysis-page .metric p,.light-theme .analysis-page .metric .metric-label,.light-theme .analysis-page .metric .stat-label,.light-theme .analysis-page .module p,.light-theme .analysis-page .module .metric-label,.light-theme .analysis-page .module .stat-label{color:#475569!important}.light-theme .analysis-page .sector-analysis-box,.light-theme .analysis-page .subsector-analysis-box{background:#fff!important;border-color:#e2e8f0!important}.light-theme .analysis-page .sector-analysis-box .select-wrapper select,.light-theme .analysis-page .subsector-analysis-box .select-wrapper select{background:#f1f5f9!important;border-color:#cbd5e1!important;color:#0f172a!important}.light-theme .analysis-page .toggle-group,.light-theme .analysis-page .sub-tabs{background:#e0f2fe!important;border-color:#bae6fd!important;padding:3px!important}.light-theme .analysis-page .toggle-btn,.light-theme .analysis-page .sub-tab-btn{color:#64748b!important;background:transparent!important}.light-theme .analysis-page .toggle-btn.active,.light-theme .analysis-page .sub-tab-btn.active{background:#38bdf8!important;color:#fff!important;border-color:#38bdf8!important}.light-theme .analysis-page .info-btn,.light-theme .analysis-page .help-btn{background:#0ea5e91a!important;border-color:#0ea5e959!important;color:#0284c7!important}.light-theme .analysis-page .info-btn:hover,.light-theme .analysis-page .help-btn:hover{background:#0ea5e938!important;border-color:#0ea5e9b3!important;color:#0369a1!important}@media print{html,body{background:#fff!important;background-color:#fff!important;background-image:none!important}}
