
        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        body {
            font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
            line-height: 1.6;
            color: #ffffff;
            background: linear-gradient(135deg, #0a0e17 0%, #1a1f2e 50%, #0d1421 100%);
            min-height: 100vh;
        }

        /* Bloomberg Terminal Style Headers */
        .terminal-title {
            font-family: 'JetBrains Mono', 'SF Mono', 'Consolas', monospace;
            font-size: 2.0rem;
            font-weight: 600;
            letter-spacing: 3px;
            color: #00ff41;
            text-transform: uppercase;
            margin-bottom: 16px;
            padding-bottom: 10px;
            border-bottom: 1px solid rgba(0, 255, 65, 0.3);
        }

        .title-accent {
            color: #a855f7;
            font-weight: 400;
            font-size: 1.2rem;
        }

        .collapsible-header {
            font-family: 'JetBrains Mono', 'SF Mono', 'Consolas', monospace;
            font-size: 2.0rem;
            font-weight: 600;
            letter-spacing: 2px;
            color: #00ff41;
            background: linear-gradient(135deg, rgba(30, 40, 60, 0.9) 0%, rgba(20, 30, 50, 0.95) 100%);
            border: 1px solid rgba(0, 255, 65, 0.2);
            border-left: 3px solid #00ff41;
            padding: 18px 24px;
            transition: all 0.3s ease;
        }

        .collapsible-header:hover {
            background: linear-gradient(135deg, rgba(40, 50, 70, 0.95) 0%, rgba(30, 40, 60, 0.98) 100%);
            border-left-color: #00ff41;
            color: #00ff41;
        }

        .section-icon {
            color: #00ff41;
            margin-right: 6px;
            font-size: 0.8rem;
        }

        .collapsible-header:hover .section-icon {
            color: #00ff41;
        }

        /* Insights label - yellow like People Also Ask */
        .insights-label {
            color: #fbbf24 !important;
        }

        /* Sector Subsection Header - smaller than main section header */
        .sector-subsection-header {
            font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
            font-size: 0.85rem;
            font-weight: 500;
            color: rgba(255, 255, 255, 0.85);
            margin: 0 0 8px 0;
            padding: 0;
        }

        .sector-volume {
            font-size: 0.75rem;
            font-weight: 400;
            color: rgba(255, 255, 255, 0.5);
        }

        /* Chart Container - dark themed with subtle border */
        .chart-container {
            background: rgba(30, 35, 45, 0.95);
            padding: 12px 15px;
            border-radius: 8px;
            margin-bottom: 8px;
            border: 1px solid rgba(255, 255, 255, 0.08);
        }

        /* Chart Title Styling - smaller, muted */
        .chart-title {
            font-family: 'JetBrains Mono', 'SF Mono', 'Consolas', monospace;
            font-size: 0.65rem;
            font-weight: 400;
            letter-spacing: 0.5px;
            color: rgba(255, 255, 255, 0.5);
            margin: 0 0 8px 0;
            padding-bottom: 0;
            border-bottom: none;
            text-transform: uppercase;
        }

        /* AI Typewriter Effect Styles */
        .faq-answer p {
            font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
            line-height: 1.8;
            color: #e0e0e0;
        }

        .faq-answer p.ai-typing {
            font-family: 'JetBrains Mono', 'SF Mono', 'Consolas', monospace;
            font-size: 0.9rem;
            line-height: 1.9;
            color: #c8d4e0;
        }

        .ai-word {
            opacity: 0;
            animation: wordFadeIn 0.15s ease forwards;
        }

        @keyframes wordFadeIn {
            from {
                opacity: 0;
                transform: translateY(2px);
            }
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }

        .ai-cursor {
            display: inline-block;
            width: 2px;
            height: 1.1em;
            background: #4a9eff;
            margin-left: 2px;
            vertical-align: text-bottom;
            animation: cursorBlink 0.6s infinite;
        }

        @keyframes cursorBlink {
            0%, 50% { opacity: 1; }
            51%, 100% { opacity: 0; }
        }

        .faq-answer p.ai-complete {
            font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
            color: #e0e0e0;
        }

        .faq-answer p.ai-complete strong {
            color: #4a9eff;
            font-weight: 600;
        }

        /* Clickable Ticker Link Styles */
        .ticker-link {
            color: #a855f7;
            text-decoration: underline;
            transition: all 0.2s ease;
        }

        .ticker-link:hover {
            color: #c084fc;
            text-decoration: underline;
            text-underline-offset: 3px;
        }

        /* Loading Animation Styles */
        .loading-indicator {
            display: inline-flex;
            align-items: center;
            gap: 10px;
            color: #666;
            font-size: 14px;
        }

        .loading-spinner {
            width: 20px;
            height: 20px;
            border: 3px solid #e0e0e0;
            border-top: 3px solid #3b82f6;
            border-radius: 50%;
            animation: spin 1s linear infinite;
        }

        @keyframes spin {
            0% { transform: rotate(0deg); }
            100% { transform: rotate(360deg); }
        }

        .loading-dots::after {
            content: '';
            animation: dots 1.5s steps(4, end) infinite;
        }

        @keyframes dots {
            0%, 20% { content: ''; }
            40% { content: '.'; }
            60% { content: '..'; }
            80%, 100% { content: '...'; }
        }

        /* Analysis Input Section Styles */
        .analysis-input-section {
            background: rgba(255, 255, 255, 0.05);
            backdrop-filter: blur(10px);
            border-radius: 6px;
            padding: 8px 12px;
            box-shadow: none;
        }

        .analysis-input-group {
            display: flex;
            gap: 10px;
            flex-wrap: wrap;
            align-items: flex-end;
        }

        .analysis-form-field {
            flex: 1;
            min-width: 150px;
        }

        .analysis-form-field label {
            display: block;
            margin-bottom: 2px;
            font-weight: 500;
            font-size: 0.75em;
            text-transform: uppercase;
            letter-spacing: 0.5px;
            color: rgba(255, 255, 255, 0.7);
        }

        .analysis-form-field input,
        .analysis-form-field select {
            width: 100%;
            padding: 6px 10px;
            border: 1px solid rgba(255, 255, 255, 0.2);
            border-radius: 4px;
            font-size: 0.9em;
            transition: all 0.3s ease;
            background: rgba(255, 255, 255, 0.1);
            color: #ffffff;
        }

        .analysis-form-field input:focus,
        .analysis-form-field select:focus {
            outline: none;
            border-color: #4CAF50;
            background: rgba(255, 255, 255, 0.15);
        }

        .analysis-form-field input::placeholder {
            color: rgba(255, 255, 255, 0.5);
        }

        .analysis-form-field select {
            background: rgba(50, 50, 50, 0.8);
            color: #ffffff;
        }

        .analysis-form-field select option {
            background: #333333;
            color: #ffffff;
            padding: 10px;
        }

        .analyze-btn {
            padding: 6px 16px;
            background: linear-gradient(135deg, #4CAF50 0%, #45a049 100%);
            color: white;
            border: none;
            border-radius: 4px;
            font-size: 0.85em;
            font-weight: 600;
            cursor: pointer;
            transition: all 0.3s ease;
            box-shadow: none;
            text-transform: uppercase;
            letter-spacing: 0.5px;
            align-self: flex-end;
        }

        .analyze-btn:hover {
            background: linear-gradient(135deg, #45a049 0%, #3d8b40 100%);
            transform: translateY(-2px);
            box-shadow: 0 6px 20px rgba(76, 175, 80, 0.6);
        }

        .analyze-btn:active {
            transform: translateY(0);
        }

        .refresh-btn {
            padding: 10px 20px;
            background: rgba(100, 100, 100, 0.6);
            color: white;
            border: 1px solid rgba(255, 255, 255, 0.2);
            border-radius: 8px;
            font-size: 0.95em;
            font-weight: 500;
            cursor: pointer;
            transition: all 0.3s ease;
            display: inline-flex;
            align-items: center;
            gap: 8px;
        }

        .refresh-btn:hover {
            background: rgba(120, 120, 120, 0.7);
            border-color: rgba(255, 255, 255, 0.3);
            transform: translateY(-1px);
        }

        .refresh-btn:active {
            transform: translateY(0);
        }

        .refresh-btn.refreshing {
            opacity: 0.6;
            cursor: not-allowed;
        }

        .refresh-icon {
            display: inline-block;
            transition: transform 0.3s ease;
        }

        .refresh-btn.refreshing .refresh-icon {
            animation: spin 1s linear infinite;
        }

        @keyframes spin {
            from { transform: rotate(0deg); }
            to { transform: rotate(360deg); }
        }

        /* Mobile responsiveness for analysis inputs */
        @media (max-width: 768px) {
            .analysis-input-section {
                padding: 6px 10px;
            }

            .analysis-input-group {
                flex-direction: row;
                gap: 8px;
            }

            .analysis-form-field {
                min-width: 80px;
                flex: 1;
            }

            .analyze-btn {
                padding: 6px 12px;
                font-size: 0.8em;
            }

            .analysis-form-field input,
            .analysis-form-field select {
                font-size: 16px;
                min-height: 48px;
            }
        }

        .container {
            max-width: 1500px;
            margin: 0 auto;
            padding: 20px;
        }

        h1 {
            text-align: center;
            color: #ffffff;
            margin-bottom: 30px;
            font-size: 2.5em;
            text-shadow: 0 2px 4px rgba(0,0,0,0.3);
        }

        .alert-registration {
            background: linear-gradient(135deg, #1a1a1a 0%, #000000 100%);
            color: white;
            padding: 12px;
            border-radius: 15px;
            margin-bottom: 20px;
            box-shadow: 0 8px 25px rgba(0,0,0,0.15);
            text-align: center;
        }

        .alert-registration h3 {
            margin: 0 0 6px 0;
            font-size: 1.2em;
            font-weight: 600;
        }

        .alert-registration p {
            margin: 0 0 12px 0;
            opacity: 0.9;
            font-size: 0.9em;
        }

        .alert-form {
            max-width: 600px;
            margin: 0 auto;
        }

        .form-group {
            display: flex;
            gap: 8px;
            margin-bottom: 10px;
            align-items: center;
            justify-content: center;
        }

        .email-input {
            flex: 1;
            max-width: 280px;
            padding: 8px 12px;
            border: none;
            border-radius: 20px;
            font-size: 0.9em;
            outline: none;
            background: rgba(255,255,255,0.9);
            color: #2d3748;
        }

        .email-input::placeholder {
            color: #718096;
        }

        .alert-btn {
            padding: 8px 18px;
            background: rgba(255,255,255,0.2);
            color: white;
            border: 2px solid rgba(255,255,255,0.3);
            border-radius: 20px;
            font-weight: 600;
            cursor: pointer;
            transition: all 0.3s ease;
            white-space: nowrap;
            font-size: 0.9em;
        }

        .alert-btn:hover {
            background: rgba(255,255,255,0.3);
            border-color: rgba(255,255,255,0.5);
            transform: translateY(-2px);
        }

        .alert-btn:active {
            transform: translateY(0);
        }

        .alert-options {
            display: flex;
            justify-content: center;
            gap: 20px;
            margin-bottom: 15px;
            flex-wrap: wrap;
        }

        .checkbox-label {
            display: flex;
            align-items: center;
            gap: 8px;
            cursor: pointer;
            font-size: 0.9em;
            opacity: 0.9;
            transition: opacity 0.3s ease;
        }

        .checkbox-label:hover {
            opacity: 1;
        }

        .checkbox-label input[type="checkbox"] {
            width: 16px;
            height: 16px;
            cursor: pointer;
        }

        .alert-status {
            min-height: 25px;
            font-size: 0.9em;
            font-weight: 500;
        }

        .alert-status.success {
            color: #68d391;
        }

        .alert-status.error {
            color: #fc8181;
        }

        .alert-status.info {
            color: #90cdf4;
        }

        @media (max-width: 768px) {
            .form-group {
                flex-direction: column;
                gap: 15px;
            }
            
            .email-input {
                max-width: 100%;
                width: 100%;
            }
            
            .alert-options {
                flex-direction: column;
                gap: 10px;
                align-items: center;
            }
        }

        .stock-selector {
            text-align: center;
            margin-bottom: 30px;
        }

        .stock-buttons {
            display: inline-flex;
            background: rgba(255,255,255,0.1);
            border-radius: 25px;
            padding: 8px;
            backdrop-filter: blur(10px);
        }

        .stock-btn {
            padding: 12px 30px;
            margin: 0 5px;
            border: none;
            border-radius: 20px;
            background: transparent;
            color: white;
            font-weight: 600;
            cursor: pointer;
            transition: all 0.3s ease;
        }

        .stock-btn.active {
            background: rgba(255,255,255,0.3);
            transform: translateY(-2px);
            box-shadow: 0 5px 15px rgba(0,0,0,0.2);
        }

        .stock-btn:hover {
            background: rgba(255,255,255,0.2);
            transform: translateY(-1px);
        }

        .analysis-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
            gap: 25px;
            margin-bottom: 30px;
        }

        .card {
            background: rgba(255,255,255,0.95);
            border-radius: 20px;
            padding: 25px;
            box-shadow: 0 10px 30px rgba(0,0,0,0.1);
            backdrop-filter: blur(10px);
            transition: all 0.3s ease;
        }

        .card:hover {
            transform: translateY(-5px);
            box-shadow: 0 20px 40px rgba(0,0,0,0.15);
        }

        .card h3 {
            color: #4a5568;
            margin-bottom: 15px;
            display: flex;
            align-items: center;
            font-size: 1.3em;
        }

        .card-icon {
            margin-right: 10px;
            font-size: 1.5em;
        }

        .metric {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin: 12px 0;
            padding: 10px;
            background: #f7fafc;
            border-radius: 8px;
            border-left: 4px solid #667eea;
        }

        .metric-label {
            font-weight: 600;
            color: #4a5568;
        }

        .metric-value {
            font-weight: bold;
            color: #2d3748;
        }

        .positive {
            color: #38a169;
        }

        .negative {
            color: #e53e3e;
        }

        .recommendation-card {
            grid-column: 1 / -1;
            background: linear-gradient(135deg, #48bb78 0%, #38a169 100%);
            color: white;
            text-align: center;
        }

        .recommendation-card h3 {
            color: white;
            font-size: 1.8em;
            margin-bottom: 20px;
        }

        .recommendation {
            font-size: 2.5em;
            font-weight: bold;
            margin-bottom: 15px;
            text-transform: uppercase;
            letter-spacing: 2px;
            text-shadow: 0 2px 4px rgba(0,0,0,0.3);
        }

        .recommendation-reason {
            font-size: 1.1em;
            line-height: 1.6;
            opacity: 0.95;
        }

        .comparison-table {
            width: 100%;
            background: rgba(255,255,255,0.95);
            border-radius: 20px;
            overflow: hidden;
            box-shadow: 0 10px 30px rgba(0,0,0,0.1);
        }

        .comparison-table th,
        .comparison-table td {
            padding: 8px 15px;
            text-align: left;
            border-bottom: 1px solid #e2e8f0;
        }

        .comparison-table th {
            background: linear-gradient(135deg, #1a1a1a 0%, #000000 100%);
            color: white;
            font-weight: 600;
            text-align: center;
        }

        .comparison-table tr:hover {
            background: #f7fafc;
        }

        .highlight {
            background: #ffd700;
            font-weight: bold;
            border-radius: 4px;
            padding: 2px 6px;
        }

        @media (max-width: 768px) {
            .container {
                padding: 10px;
            }
            
            h1 {
                font-size: 2em;
            }
            
            .analysis-grid {
                grid-template-columns: 1fr;
            }
            
            .stock-buttons {
                flex-direction: column;
                padding: 10px;
            }
            
            .stock-btn {
                margin: 5px 0;
            }
        }

        .source-links {
            margin-top: 15px;
            padding-top: 15px;
            border-top: 1px solid #e2e8f0;
        }

        .source-item {
            margin: 5px 0;
        }

        .source-item a {
            color: #667eea;
            text-decoration: none;
            font-size: 0.8em;
            font-weight: 500;
            transition: all 0.3s ease;
        }

        .source-item a:hover {
            color: #764ba2;
            text-decoration: underline;
        }

        .analyst-consensus {
            margin: 20px 0;
            background: rgba(255,255,255,0.1);
            border-radius: 10px;
            padding: 20px;
            backdrop-filter: blur(5px);
        }

        .analyst-consensus h4 {
            color: white;
            margin-bottom: 15px;
            font-size: 1.2em;
            text-align: center;
        }

        .analyst-breakdown {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 12px;
        }

        .analyst-metric {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 8px 12px;
            background: rgba(255,255,255,0.1);
            border-radius: 6px;
            font-size: 0.9em;
        }

        .analyst-label {
            font-weight: 600;
            color: rgba(255,255,255,0.9);
        }

        .analyst-value {
            font-weight: bold;
            color: white;
        }

        .analyst-value.positive {
            color: #68d391;
        }

        .analyst-value.negative {
            color: #fc8181;
        }

        @media (max-width: 768px) {
            .analyst-breakdown {
                grid-template-columns: 1fr;
            }
        }

        .last-updated {
            text-align: center;
            color: rgba(255,255,255,0.8);
            margin-top: 20px;
            font-size: 0.9em;
        }

        /* Tooltip styles - People Also Ask style */
        .tooltip-header {
            position: relative;
            cursor: help;
            border-bottom: 1px dotted rgba(255,255,255,0.5);
        }

        .tooltip-header .tooltip-content {
            display: none;
            position: fixed;
            z-index: 10000;
            min-width: 280px;
            max-width: 350px;
            background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
            color: #fff;
            padding: 15px;
            border-radius: 10px;
            box-shadow: 0 8px 25px rgba(0,0,0,0.5), 0 0 0 1px rgba(255,255,255,0.1);
            border: 1px solid rgba(79, 195, 247, 0.3);
            font-size: 12px;
            font-weight: normal;
            text-align: left;
            line-height: 1.5;
            white-space: normal;
            pointer-events: none;
        }

        .tooltip-header:hover .tooltip-content {
            display: block;
        }

        .tooltip-header .tooltip-content::before {
            content: '';
            position: absolute;
            bottom: 100%;
            left: 20px;
            border-width: 8px;
            border-style: solid;
            border-color: transparent transparent #1a1a2e transparent;
        }

        .tooltip-content .tooltip-question {
            color: #fbbf24 !important;
            font-weight: 600;
            font-size: 13px;
            margin-bottom: 8px;
            display: flex;
            align-items: center;
            gap: 6px;
        }

        .tooltip-content .tooltip-question::before {
            content: '?';
            display: inline-flex;
            align-items: center;
            justify-content: center;
            width: 18px;
            height: 18px;
            background: #fbbf24 !important;
            color: #1a1a2e;
            border-radius: 50%;
            font-size: 11px;
            font-weight: bold;
        }

        .tooltip-content .tooltip-answer {
            color: rgba(255,255,255,0.9);
            font-size: 12px;
        }

        .tooltip-content .tooltip-values {
            margin-top: 10px;
            padding-top: 10px;
            border-top: 1px solid rgba(255,255,255,0.1);
            font-size: 11px;
        }

        .tooltip-content .tooltip-values span {
            display: block;
            margin: 3px 0;
        }

        .tooltip-content .value-green { color: #4ade80; }
        .tooltip-content .value-yellow { color: #fbbf24; }
        .tooltip-content .value-red { color: #f87171; }

        /* Position tooltips on left side for right-hand columns to prevent cutoff */
        .stock-prices-table th:nth-child(n+14) .tooltip-content {
            right: 0;
            left: auto;
            transform: translateX(0);
        }

        .stock-prices-table th:nth-child(n+14) .tooltip-content::before {
            left: auto;
            right: 20px;
        }

        .stock-prices-section {
            margin-bottom: 6px;
            padding: 0;
            background: transparent;
            border-radius: 10px;
            overflow-x: auto;
            -webkit-overflow-scrolling: touch;
        }

        .stock-prices-section h2 {
            text-align: center;
            color: #00ff41;
            margin-bottom: 10px;
            font-size: 0.9em;
            text-shadow: 0 2px 4px rgba(0,0,0,0.3);
        }

        .stock-prices-table {
            width: 100%;
            border-collapse: collapse;
            border-radius: 15px;
            overflow: hidden;
            box-shadow: 0 8px 25px rgba(0,0,0,0.1);
            margin-bottom: 20px;
            table-layout: fixed;
        }

        /* Desktop column widths */
        .stock-prices-table th:nth-child(1),
        .stock-prices-table td:nth-child(1) { width: 70px; } /* Symbol */
        .stock-prices-table th:nth-child(2),
        .stock-prices-table td:nth-child(2) { width: 70px; } /* Status */
        .stock-prices-table th:nth-child(3),
        .stock-prices-table td:nth-child(3) { width: 120px; } /* Company */
        .stock-prices-table th:nth-child(4),
        .stock-prices-table td:nth-child(4) { width: 70px; } /* Volume */
        .stock-prices-table th:nth-child(5),
        .stock-prices-table td:nth-child(5) { width: 70px; } /* Price */
        .stock-prices-table th:nth-child(6),
        .stock-prices-table td:nth-child(6) { width: 70px; } /* Change */
        .stock-prices-table th:nth-child(7),
        .stock-prices-table td:nth-child(7) { width: 70px; } /* % Change */
        .stock-prices-table th:nth-child(8),
        .stock-prices-table td:nth-child(8) { width: 80px; } /* 52-Week Range */
        .stock-prices-table th:nth-child(9),
        .stock-prices-table td:nth-child(9) { width: 70px; } /* Analyst Rating */
        .stock-prices-table th:nth-child(10),
        .stock-prices-table td:nth-child(10) { width: 75px; } /* Valuation Risk */
        .stock-prices-table th:nth-child(11),
        .stock-prices-table td:nth-child(11) { width: 55px; } /* Rel. Strength (RSI) */
        .stock-prices-table th:nth-child(12),
        .stock-prices-table td:nth-child(12) { width: 60px; } /* Strength (ADX) */
        .stock-prices-table th:nth-child(13),
        .stock-prices-table td:nth-child(13) { width: 55px; } /* Rel. Volume */
        .stock-prices-table th:nth-child(14),
        .stock-prices-table td:nth-child(14) { width: 55px; } /* MACD */
        .stock-prices-table th:nth-child(15),
        .stock-prices-table td:nth-child(15) { width: 75px; } /* Market Cap */
        .stock-prices-table th:nth-child(16),
        .stock-prices-table td:nth-child(16) { width: 50px; } /* PE Ratio */
        .stock-prices-table th:nth-child(17),
        .stock-prices-table td:nth-child(17) { width: 50px; } /* FWD PE */
        .stock-prices-table th:nth-child(18),
        .stock-prices-table td:nth-child(18) { width: 50px; } /* EPS */

        .stock-prices-table th {
            background: rgba(0,0,0,0.3);
            color: rgba(255, 255, 255, 0.7);
            padding: 8px 10px;
            text-align: left;
            font-weight: 400;
            font-size: 0.7em;
            border: none;
            border-bottom: 1px solid rgba(255,255,255,0.2);
            text-transform: uppercase;
            letter-spacing: 0.5px;
        }

        .stock-prices-table td {
            padding: 10px 12px;
            border-bottom: 1px solid rgba(255,255,255,0.1);
            font-size: 0.9em;
            vertical-align: middle;
            background: rgba(255,255,255,0.05);
            color: #ffffff;
        }

        .stock-prices-table tbody tr {
            transition: all 0.3s ease;
            border-left: 4px solid transparent;
        }

        .stock-prices-table tbody tr:hover {
            background-color: rgba(255,255,255,0.1);
        }

        .symbol-cell {
            font-weight: bold;
            color: #4CAF50;
            font-size: 1em;
        }

        .company-name {
            color: #ffffff;
            font-weight: 500;
        }

        .price-cell {
            font-weight: bold;
            color: #ffffff;
            font-size: 1.1em;
        }

        .change-positive {
            color: #10b981 !important;
            font-weight: 600;
        }

        .change-negative {
            color: #ef4444 !important;
            font-weight: 600;
        }

        .range-cell {
            color: #6b7280;
            font-size: 0.85em;
            line-height: 1.4;
            white-space: nowrap;
        }

        .market-cap {
            color: #4a5568;
            font-weight: 500;
        }

        .recommendation-buy {
            background: #d1fae5;
            color: #065f46;
            font-weight: bold;
            text-align: center;
            padding: 8px 12px;
            border-radius: 6px;
        }

        .recommendation-hold {
            background: #fef3c7;
            color: #92400e;
            font-weight: bold;
            text-align: center;
            padding: 8px 12px;
            border-radius: 6px;
        }

        .recommendation-sell {
            background: #fecaca;
            color: #991b1b;
            font-weight: bold;
            text-align: center;
            padding: 8px 12px;
            border-radius: 6px;
        }

        .yfinance-btn {
            background: linear-gradient(135deg, #1a1a1a 0%, #000000 100%);
            color: white;
            border: none;
            padding: 8px 12px;
            border-radius: 6px;
            font-size: 0.8em;
            font-weight: 600;
            cursor: pointer;
            transition: all 0.3s ease;
            white-space: nowrap;
        }

        .yfinance-btn:hover {
            background: linear-gradient(135deg, #5a67d8 0%, #6b46c1 100%);
            transform: translateY(-2px);
            box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
        }

        .yfinance-btn:active {
            transform: translateY(0);
        }

        .analysis-link-btn {
            background: linear-gradient(135deg, #10b981 0%, #059669 100%);
            color: white;
            border: none;
            padding: 8px 12px;
            border-radius: 6px;
            font-size: 0.8em;
            font-weight: 600;
            cursor: pointer;
            transition: all 0.3s ease;
            white-space: nowrap;
            text-decoration: none;
            display: inline-block;
        }

        .analysis-link-btn:hover {
            background: linear-gradient(135deg, #059669 0%, #047857 100%);
            transform: translateY(-2px);
            box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3);
            color: white;
            text-decoration: none;
        }

        .analysis-link-btn:active {
            transform: translateY(0);
        }

        .financial-performance-section {
            margin-bottom: 30px;
            padding: 25px;
            background: rgba(255,255,255,0.95);
            border-radius: 20px;
            box-shadow: 0 10px 30px rgba(0,0,0,0.1);
            backdrop-filter: blur(10px);
        }

        .financial-performance-section h3 {
            color: #2d3748;
            margin-bottom: 20px;
            font-size: 1.5em;
            text-align: center;
            display: flex;
            align-items: center;
            justify-content: center;
        }

        .financial-table {
            width: 100%;
            border-collapse: collapse;
            border-radius: 15px;
            overflow: hidden;
            box-shadow: 0 8px 25px rgba(0,0,0,0.1);
            margin-bottom: 15px;
        }

        .financial-table th {
            background: linear-gradient(135deg, #1a1a1a 0%, #000000 100%);
            color: white;
            padding: 10px 12px;
            text-align: left;
            font-weight: 600;
            font-size: 0.9em;
            border: none;
        }

        .financial-table td {
            padding: 10px 12px;
            border-bottom: 1px solid #e2e8f0;
            font-size: 0.9em;
            vertical-align: middle;
        }

        .financial-table tbody tr {
            transition: all 0.3s ease;
        }

        .financial-table tbody tr:hover {
            background-color: #f8fafc;
        }

        .financial-table tbody tr:last-child td {
            border-bottom: none;
        }

        .financial-table .metric-label {
            font-weight: 600;
            color: #4a5568;
        }

        .metric-positive {
            color: #059669;
            font-weight: 600;
        }

        .metric-negative {
            color: #dc2626;
            font-weight: 600;
        }

        .metric-neutral {
            color: #4a5568;
            font-weight: 500;
        }

        @media (max-width: 768px) {
            .financial-table {
                font-size: 0.8em;
            }
            
            .financial-table th,
            .financial-table td {
                padding: 8px 6px;
            }
        }

        .risk-factors-section,
        .outlook-section,
        .market-position-section,
        .recommendation-comparison-section {
            margin-bottom: 30px;
            padding: 25px;
            background: rgba(255,255,255,0.95);
            border-radius: 20px;
            box-shadow: 0 10px 30px rgba(0,0,0,0.1);
            backdrop-filter: blur(10px);
        }

        .risk-factors-section h3,
        .outlook-section h3,
        .market-position-section h3,
        .recommendation-comparison-section h3 {
            color: #2d3748;
            margin-bottom: 20px;
            font-size: 1.5em;
            text-align: center;
            display: flex;
            align-items: center;
            justify-content: center;
        }

        .risk-factors-table,
        .outlook-table,
        .market-position-table,
        .recommendation-table {
            width: 100%;
            border-collapse: collapse;
            border-radius: 15px;
            overflow: hidden;
            box-shadow: 0 8px 25px rgba(0,0,0,0.1);
            margin-bottom: 15px;
        }

        .risk-factors-table th,
        .outlook-table th,
        .market-position-table th,
        .recommendation-table th {
            background: linear-gradient(135deg, #1a1a1a 0%, #000000 100%);
            color: white;
            padding: 10px 12px;
            text-align: left;
            font-weight: 600;
            font-size: 0.9em;
            border: none;
        }

        .risk-factors-table td,
        .outlook-table td,
        .market-position-table td,
        .recommendation-table td {
            padding: 10px 12px;
            border-bottom: 1px solid #e2e8f0;
            font-size: 0.9em;
            vertical-align: middle;
        }

        .risk-factors-table tbody tr,
        .outlook-table tbody tr,
        .market-position-table tbody tr,
        .recommendation-table tbody tr {
            transition: all 0.3s ease;
        }

        .risk-factors-table tbody tr:hover,
        .outlook-table tbody tr:hover,
        .market-position-table tbody tr:hover,
        .recommendation-table tbody tr:hover {
            background-color: #f8fafc;
        }

        .risk-factors-table tbody tr:last-child td,
        .outlook-table tbody tr:last-child td,
        .market-position-table tbody tr:last-child td,
        .recommendation-table tbody tr:last-child td {
            border-bottom: none;
        }

        .risk-label,
        .outlook-label,
        .position-label,
        .rec-label {
            font-weight: 600;
            color: #4a5568;
        }

        .risk-high {
            color: #dc2626;
            font-weight: 600;
            background: rgba(220, 38, 38, 0.05);
            padding: 8px;
            border-radius: 4px;
        }

        .risk-medium {
            color: #d97706;
            font-weight: 600;
            background: rgba(217, 119, 6, 0.05);
            padding: 8px;
            border-radius: 4px;
        }

        .risk-low {
            color: #059669;
            font-weight: 600;
            background: rgba(5, 150, 105, 0.05);
            padding: 8px;
            border-radius: 4px;
        }

        .outlook-positive {
            color: #059669;
            font-weight: 600;
            background: rgba(5, 150, 105, 0.05);
            padding: 8px;
            border-radius: 4px;
        }

        .outlook-neutral {
            color: #4a5568;
            font-weight: 500;
            background: rgba(74, 85, 104, 0.05);
            padding: 8px;
            border-radius: 4px;
        }

        .outlook-negative {
            color: #dc2626;
            font-weight: 600;
            background: rgba(220, 38, 38, 0.05);
            padding: 8px;
            border-radius: 4px;
        }

        .position-strong {
            color: #059669;
            font-weight: 600;
            background: rgba(5, 150, 105, 0.05);
            padding: 8px;
            border-radius: 4px;
        }

        .position-good {
            color: #2563eb;
            font-weight: 600;
            background: rgba(37, 99, 235, 0.05);
            padding: 8px;
            border-radius: 4px;
        }

        .position-moderate {
            color: #d97706;
            font-weight: 600;
            background: rgba(217, 119, 6, 0.05);
            padding: 8px;
            border-radius: 4px;
        }

        .position-neutral {
            color: #4a5568;
            font-weight: 500;
            background: rgba(74, 85, 104, 0.05);
            padding: 8px;
            border-radius: 4px;
        }

        .rec-buy {
            background: #d1fae5;
            color: #065f46;
            font-weight: bold;
            text-align: center;
            padding: 8px 12px;
            border-radius: 6px;
            font-size: 1.1em;
        }

        .rec-hold {
            background: #fef3c7;
            color: #92400e;
            font-weight: bold;
            text-align: center;
            padding: 8px 12px;
            border-radius: 6px;
            font-size: 1.1em;
        }

        .rec-sell {
            background: #fecaca;
            color: #991b1b;
            font-weight: bold;
            text-align: center;
            padding: 8px 12px;
            border-radius: 6px;
            font-size: 1.1em;
        }

        .rec-positive {
            color: #10b981 !important;
            font-weight: 600;
            background: rgba(16, 185, 129, 0.15);
            padding: 8px;
            border-radius: 4px;
        }

        .rec-neutral {
            color: #fbbf24 !important;
            font-weight: 500;
            background: rgba(251, 191, 36, 0.1);
            padding: 8px;
            border-radius: 4px;
        }

        .rec-negative {
            color: #ef4444 !important;
            font-weight: 600;
            background: rgba(239, 68, 68, 0.15);
            padding: 8px;
            border-radius: 4px;
        }

        .rec-warning {
            color: #f59e0b !important;
            font-weight: 600;
            background: rgba(245, 158, 11, 0.15);
            padding: 8px;
            border-radius: 4px;
        }

        .rec-strong {
            color: #059669;
            font-weight: 600;
            background: rgba(5, 150, 105, 0.05);
            padding: 8px;
            border-radius: 4px;
        }

        .rec-good {
            color: #2563eb;
            font-weight: 600;
            background: rgba(37, 99, 235, 0.05);
            padding: 8px;
            border-radius: 4px;
        }

        .rec-moderate {
            color: #d97706;
            font-weight: 600;
            background: rgba(217, 119, 6, 0.05);
            padding: 8px;
            border-radius: 4px;
        }

        .analysis-sources {
            margin-top: 20px;
            padding: 20px;
            background: rgba(255,255,255,0.8);
            border-radius: 10px;
        }

        .analysis-sources h4 {
            color: #2d3748;
            margin-bottom: 15px;
            text-align: center;
        }

        .sources-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
            gap: 15px;
        }

        .source-category {
            background: #f7fafc;
            padding: 15px;
            border-radius: 8px;
        }

        .source-category h5 {
            color: #4a5568;
            margin-bottom: 10px;
            font-size: 0.9em;
            text-transform: uppercase;
            letter-spacing: 0.5px;
        }

        .source-category a {
            display: block;
            color: #667eea;
            text-decoration: none;
            font-size: 0.85em;
            margin: 5px 0;
            transition: all 0.3s ease;
        }

        .source-category a:hover {
            color: #764ba2;
            text-decoration: underline;
            transform: translateX(3px);
        }

        @media (max-width: 768px) {
            .risk-factors-table,
            .outlook-table,
            .market-position-table,
            .recommendation-table {
                font-size: 0.8em;
            }
            
            .risk-factors-table th,
            .risk-factors-table td,
            .outlook-table th,
            .outlook-table td,
            .market-position-table th,
            .market-position-table td,
            .recommendation-table th,
            .recommendation-table td {
                padding: 8px 6px;
            }
            
            .sources-grid {
                grid-template-columns: 1fr;
            }
            
            .sources-categories-grid {
                grid-template-columns: 1fr;
            }
            
            .methodology-grid {
                grid-template-columns: 1fr;
            }
        }

        .dataset-sources-section {
            margin: 40px 0;
            padding: 30px;
            background: rgba(255,255,255,0.95);
            border-radius: 20px;
            box-shadow: 0 10px 30px rgba(0,0,0,0.1);
        }

        .dataset-sources-section h2 {
            text-align: center;
            color: #2d3748;
            margin-bottom: 30px;
            font-size: 2em;
            text-shadow: 0 2px 4px rgba(0,0,0,0.1);
        }

        .comparison-table-section {
            margin: 40px 0;
            padding: 30px;
            background: rgba(255,255,255,0.95);
            border-radius: 20px;
            box-shadow: 0 10px 30px rgba(0,0,0,0.1);
        }

        .section-header {
            cursor: pointer;
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding-bottom: 10px;
            border-bottom: 2px solid #e2e8f0;
            margin-bottom: 20px;
            transition: all 0.3s ease;
        }

        .section-header:hover {
            border-bottom-color: #667eea;
        }

        .section-header h2 {
            color: #2d3748;
            font-size: 2em;
            text-shadow: 0 2px 4px rgba(0,0,0,0.1);
            margin: 0;
        }

        .section-toggle {
            font-size: 2em;
            font-weight: bold;
            color: #ffffff;
            width: 40px;
            height: 40px;
            display: flex;
            align-items: center;
            justify-content: center;
            border-radius: 50%;
            background: rgba(255, 255, 255, 0.15);
            transition: all 0.3s ease;
        }

        .section-toggle:hover {
            background: rgba(255, 255, 255, 0.25);
            transform: scale(1.1);
        }

        .section-content {
            max-height: 0;
            overflow: hidden;
            transition: all 0.4s ease;
        }

        .section-content.active {
            max-height: 15000px;
            overflow: visible;
        }

        .comparison-table-section h2 {
            text-align: center;
            color: #2d3748;
            margin-bottom: 30px;
            font-size: 2em;
            text-shadow: 0 2px 4px rgba(0,0,0,0.1);
        }

        .dataset-comparison-section {
            margin: 40px 0;
            padding: 30px;
            background: rgba(255,255,255,0.95);
            border-radius: 20px;
            box-shadow: 0 10px 30px rgba(0,0,0,0.1);
        }

        .dataset-comparison-section h2 {
            text-align: center;
            color: #2d3748;
            margin-bottom: 30px;
            font-size: 2em;
            text-shadow: 0 2px 4px rgba(0,0,0,0.1);
        }

        .dataset-comparison-table {
            width: 100%;
            border-collapse: collapse;
            border-radius: 15px;
            overflow: hidden;
            box-shadow: 0 8px 25px rgba(0,0,0,0.1);
            margin-bottom: 20px;
        }

        .dataset-comparison-table th {
            background: linear-gradient(135deg, #1a1a1a 0%, #000000 100%);
            color: white;
            padding: 10px 12px;
            text-align: left;
            font-weight: 600;
            font-size: 0.9em;
            border: none;
        }

        .dataset-comparison-table td {
            padding: 10px 12px;
            border-bottom: 1px solid #e2e8f0;
            font-size: 0.9em;
            vertical-align: middle;
        }

        .dataset-comparison-table tbody tr {
            transition: all 0.3s ease;
        }

        .dataset-comparison-table tbody tr:hover {
            background-color: #f8fafc;
        }

        .dataset-comparison-table tbody tr:last-child td {
            border-bottom: none;
        }

        .data-label {
            font-weight: 600;
            color: #4a5568;
        }

        .source-official {
            background: rgba(5, 150, 105, 0.1);
            color: #065f46;
            font-weight: 600;
            padding: 8px;
            border-radius: 4px;
        }

        .source-premium {
            background: rgba(139, 92, 246, 0.1);
            color: #5b21b6;
            font-weight: 600;
            padding: 8px;
            border-radius: 4px;
        }

        .source-comprehensive {
            background: rgba(37, 99, 235, 0.1);
            color: #1e40af;
            font-weight: 600;
            padding: 8px;
            border-radius: 4px;
        }

        .source-good {
            background: rgba(59, 130, 246, 0.1);
            color: #1d4ed8;
            font-weight: 600;
            padding: 8px;
            border-radius: 4px;
        }

        .source-standard {
            background: rgba(107, 114, 128, 0.1);
            color: #374151;
            font-weight: 500;
            padding: 8px;
            border-radius: 4px;
        }

        .source-legend {
            margin-top: 20px;
            padding: 20px;
            background: rgba(102, 126, 234, 0.05);
            border-radius: 10px;
            border: 1px solid rgba(102, 126, 234, 0.2);
        }

        .source-legend h4 {
            color: #2d3748;
            margin-bottom: 15px;
            text-align: center;
        }

        .legend-items {
            display: flex;
            flex-wrap: wrap;
            gap: 15px;
            justify-content: center;
        }

        .legend-item {
            padding: 8px 12px;
            border-radius: 4px;
            font-size: 0.85em;
            font-weight: 600;
        }

        .sources-categories-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
            gap: 25px;
            margin-bottom: 30px;
        }

        .source-category-card {
            background: linear-gradient(135deg, #f8fafc 0%, #edf2f7 100%);
            border-radius: 15px;
            padding: 25px;
            box-shadow: 0 8px 25px rgba(0,0,0,0.1);
            transition: all 0.3s ease;
            border-left: 5px solid #667eea;
        }

        .source-category-card:hover {
            transform: translateY(-3px);
            box-shadow: 0 12px 30px rgba(0,0,0,0.15);
        }

        .source-category-card h3 {
            color: #2d3748;
            margin-bottom: 20px;
            font-size: 1.2em;
            display: flex;
            align-items: center;
        }

        .source-metrics {
            display: flex;
            flex-direction: column;
            gap: 12px;
        }

        .metric-item {
            background: white;
            padding: 12px 15px;
            border-radius: 8px;
            border-left: 3px solid #667eea;
            font-size: 0.9em;
        }

        .metric-item strong {
            color: #4a5568;
            display: block;
            margin-bottom: 5px;
        }

        .metric-item a {
            color: #667eea;
            text-decoration: none;
            font-weight: 500;
            transition: color 0.3s ease;
        }

        .metric-item a:hover {
            color: #764ba2;
            text-decoration: underline;
        }

        .coverage-badge {
            display: inline-block;
            background: rgba(102, 126, 234, 0.1);
            color: #4c51bf;
            padding: 6px 12px;
            border-radius: 20px;
            font-size: 0.8em;
            font-weight: 600;
            margin-top: 8px;
        }

        .data-methodology {
            margin: 30px 0;
            padding: 25px;
            background: rgba(102, 126, 234, 0.05);
            border-radius: 15px;
            border: 1px solid rgba(102, 126, 234, 0.2);
        }

        .data-methodology h3 {
            color: #2d3748;
            margin-bottom: 20px;
            text-align: center;
            font-size: 1.3em;
        }

        .methodology-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
            gap: 20px;
        }

        .methodology-item {
            background: white;
            padding: 20px;
            border-radius: 10px;
            box-shadow: 0 4px 12px rgba(0,0,0,0.1);
        }

        .methodology-item h4 {
            color: #4a5568;
            margin-bottom: 12px;
            font-size: 1em;
            border-bottom: 2px solid #667eea;
            padding-bottom: 5px;
        }

        .methodology-item ul {
            list-style: none;
            padding: 0;
        }

        .methodology-item li {
            padding: 5px 0;
            font-size: 0.9em;
            color: #2d3748;
        }

        .methodology-item li strong {
            color: #4a5568;
        }

        .disclaimer-section {
            margin-top: 30px;
            padding: 25px;
            background: rgba(251, 191, 36, 0.1);
            border-radius: 15px;
            border: 2px solid rgba(251, 191, 36, 0.3);
        }

        .disclaimer-section h3 {
            color: #92400e;
            margin-bottom: 15px;
            text-align: center;
            font-size: 1.2em;
        }

        .disclaimer-content p {
            color: #744210;
            margin: 12px 0;
            font-size: 0.9em;
            line-height: 1.5;
        }

        .disclaimer-content p strong {
            color: #92400e;
            font-weight: 600;
        }

        .price-update-time {
            text-align: center;
            margin-top: 20px;
            padding-top: 15px;
            border-top: 1px solid #e2e8f0;
            display: flex;
            flex-direction: column;
            gap: 5px;
        }

        .price-update-time span:first-child {
            color: #4a5568;
            font-weight: 600;
            font-size: 0.9em;
        }

        .price-disclaimer {
            color: #6b7280;
            font-size: 0.8em;
            font-style: italic;
        }

        /* Data Sources Section - Collapsible */
        .data-sources-section {
            margin: 8px 0;
        }

        .data-sources-header {
            display: flex;
            justify-content: flex-start;
            align-items: center;
            background: transparent;
            border: none;
            padding: 8px 16px;
            margin: 0;
            cursor: pointer;
            color: rgba(255, 255, 255, 0.5);
            font-family: 'JetBrains Mono', monospace;
            font-size: 0.7rem;
            font-weight: 500;
            letter-spacing: 1px;
            transition: all 0.15s ease;
        }

        .data-sources-header:hover {
            background: rgba(255, 255, 255, 0.02);
            color: rgba(255, 255, 255, 0.7);
        }

        .data-sources-header .paa-toggle {
            margin-left: auto;
            color: rgba(255, 255, 255, 0.3);
            font-size: 0.6rem;
        }

        /* People Also Ask - Matches main section header style */
        .people-ask-section {
            margin: 0;
        }

        .people-ask-section h2 {
            margin: 0;
        }

        .collapsible-header {
            cursor: pointer;
            display: flex;
            justify-content: flex-start;
            align-items: center;
            padding: 18px 24px;
            background: rgba(0,0,0,0.3);
            color: #00ff41;
            border-radius: 8px;
            border: 1px solid rgba(0, 255, 65, 0.2);
            transition: all 0.3s ease;
            user-select: none;
            margin-bottom: 8px;
            font-size: 2.0rem;
            font-weight: 600;
        }

        .collapsible-header:hover {
            background: rgba(0,0,0,0.4);
            border-color: rgba(0, 255, 65, 0.4);
            color: #00ff41;
        }

        .section-toggle {
            font-size: 1.2em;
            font-weight: bold;
            min-width: 24px;
            text-align: center;
            margin-left: auto;
        }

        /* Level 1: Main People Also Ask header */
        .people-ask-header {
            display: flex;
            justify-content: flex-start;
            align-items: center;
            background: transparent;
            border: none;
            border-radius: 0;
            padding: 12px 20px;
            margin: 0;
            cursor: pointer;
            transition: all 0.15s ease;
        }

        .people-ask-header:hover {
            background: rgba(255, 255, 255, 0.02);
        }

        .paa-label {
            color: #fbbf24;
            font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
            font-size: 0.85rem;
            font-weight: 600;
            letter-spacing: 1.5px;
            text-transform: uppercase;
        }

        .paa-toggle {
            color: rgba(255, 255, 255, 0.35);
            font-size: 0.75rem;
            margin-left: auto;
            transition: transform 0.2s ease;
        }

        /* Level 2: Content container for all categories */
        .people-ask-content {
            padding: 8px 0 0 0;
        }

        /* Level 2: Category wrapper */
        .paa-category {
            margin-bottom: 4px;
        }

        .paa-category:last-child {
            margin-bottom: 0;
        }

        /* Level 2: Category sub-headers */
        .paa-category-header {
            display: flex;
            justify-content: flex-start;
            align-items: center;
            background: transparent;
            border: none;
            border-radius: 0;
            padding: 8px 20px 8px 20px;
            margin: 0;
            cursor: pointer;
            color: rgba(255, 255, 255, 0.6);
            font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
            font-size: 0.8rem;
            font-weight: 500;
            letter-spacing: 0.5px;
            transition: all 0.15s ease;
        }

        .paa-category-header:hover {
            background: rgba(255, 255, 255, 0.02);
            color: rgba(255, 255, 255, 0.85);
        }

        .paa-category-header span:first-child {
            text-transform: uppercase;
        }

        .paa-category-header .paa-toggle {
            margin-left: auto;
        }

        /* FAQ Container - 2 column grid on desktop */
        .faq-container {
            display: grid;
            grid-template-columns: repeat(2, 1fr);
            gap: 2px 20px;
            padding: 6px 20px 6px 32px;
            background: transparent;
            margin-top: 0;
        }

        /* FAQ Item - Minimal row style */
        .faq-item {
            border: none;
            border-radius: 0;
            overflow: hidden;
            transition: all 0.15s ease;
            background: transparent;
            display: flex;
            flex-direction: column;
        }

        .faq-item:hover {
            background: rgba(255, 255, 255, 0.015);
        }

        .faq-question {
            padding: 6px 8px;
            background: transparent;
            cursor: pointer;
            display: flex;
            justify-content: space-between;
            align-items: center;
            transition: all 0.15s ease;
            min-height: 28px;
        }

        .faq-question:hover {
            padding-left: 10px;
        }

        .faq-question h3 {
            color: rgba(255,255,255,0.6);
            font-size: 0.85em;
            font-weight: 400;
            margin: 0;
            flex: 1;
            line-height: 1.3;
            padding-right: 8px;
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;
        }

        .faq-question:hover h3 {
            color: rgba(255,255,255,0.9);
        }

        .faq-controls {
            display: flex;
            align-items: center;
            gap: 6px;
            flex-shrink: 0;
        }

        .faq-search {
            font-size: 0.75em;
            width: 18px;
            height: 18px;
            display: flex;
            align-items: center;
            justify-content: center;
            border-radius: 2px;
            background: transparent;
            color: rgba(255,255,255,0.2);
            text-decoration: none;
            transition: all 0.15s ease;
            cursor: pointer;
        }

        .faq-search:hover {
            color: rgba(255,255,255,0.6);
        }

        .faq-toggle {
            font-size: 0.8em;
            font-weight: normal;
            color: rgba(255,255,255,0.2);
            width: 16px;
            height: 16px;
            display: flex;
            align-items: center;
            justify-content: center;
            border-radius: 0;
            background: transparent;
            transition: all 0.15s ease;
        }

        .faq-item.active .faq-toggle {
            transform: rotate(45deg);
            color: rgba(255,255,255,0.5);
        }

        .faq-answer {
            padding: 0 8px 0 12px;
            background: transparent;
            max-height: 0;
            overflow: hidden;
            transition: all 0.2s ease;
            border-left: 1px solid rgba(255, 255, 255, 0.08);
            margin-left: 4px;
        }

        .faq-item.active .faq-answer {
            padding: 8px 8px 12px 12px;
            max-height: 500px;
        }

        .faq-answer p {
            color: rgba(255,255,255,0.55);
            line-height: 1.5;
            margin: 0;
            font-size: 0.8em;
        }

        .faq-answer strong {
            color: rgba(255,255,255,0.75);
            font-weight: 500;
        }

        @media (max-width: 768px) {
            .people-ask-header {
                padding: 10px 16px;
            }

            .paa-label {
                font-size: 0.75rem;
                letter-spacing: 1px;
            }

            .people-ask-content {
                padding: 4px 0 0 0;
            }

            .paa-category {
                margin-bottom: 2px;
            }

            .paa-category-header {
                padding: 6px 12px 6px 16px;
                font-size: 0.7rem;
            }

            .faq-container {
                grid-template-columns: 1fr;
                gap: 2px;
                padding: 4px 12px 4px 20px;
            }

            .faq-question {
                padding: 6px 6px;
                min-height: 28px;
            }

            .faq-question h3 {
                font-size: 0.82em;
                white-space: normal;
            }

            .faq-controls {
                gap: 4px;
            }

            .faq-search,
            .faq-toggle {
                width: 18px;
                height: 18px;
                font-size: 0.75em;
            }

            .faq-item.active .faq-answer {
                padding: 6px 6px 10px 10px;
            }

            .faq-answer {
                padding: 0 6px 0 10px;
                margin-left: 2px;
            }

            .faq-answer p {
                font-size: 0.78em;
            }
        }

        @media (max-width: 768px) {
            .container {
                padding: 10px;
            }

            h1 {
                font-size: 1.8em;
                margin-bottom: 20px;
            }

            h2 {
                font-size: 1.3em;
            }

            h3 {
                font-size: 1.1em;
            }

            /* Make tables horizontally scrollable */
            .stock-prices-section {
                padding: 15px;
                overflow-x: auto;
                overflow-y: visible;
                -webkit-overflow-scrolling: touch;
            }

            /* Loading indicator inside sections - dark background for visibility */
            .section-content .loading-indicator,
            .stock-prices-table .loading-indicator {
                background: rgba(20, 20, 20, 0.95);
                padding: 20px 30px;
                border-radius: 8px;
                color: #ffffff;
                justify-content: flex-start;
                margin-left: 0;
                margin-right: auto;
            }

            /* Ensure loading indicators are left-aligned on mobile */
            .loading-indicator {
                justify-content: flex-start !important;
            }

            .section-content .loading-spinner,
            .stock-prices-table .loading-spinner {
                border-top-color: #4ade80;
            }

            .stock-prices-table {
                font-size: 0.75em;
                min-width: 1425px;
                width: 1425px;
                border-collapse: separate;
                border-spacing: 0;
                white-space: nowrap;
                table-layout: fixed;
                display: table;
                margin-bottom: 20px;
            }

            .stock-prices-table thead {
                display: table-header-group;
                position: sticky;
                top: 0;
                z-index: 10;
            }

            .stock-prices-table thead th {
                position: sticky;
                top: 0;
                background: linear-gradient(135deg, #1a1a1a 0%, #000000 100%);
            }

            .stock-prices-table tbody {
                display: table-row-group;
            }

            .stock-prices-table tr {
                display: table-row;
            }

            .stock-prices-table th,
            .stock-prices-table td {
                display: table-cell;
                padding: 8px 6px;
                font-size: 1em;
                text-align: left;
                vertical-align: middle;
                box-sizing: border-box;
                border-bottom: 1px solid #e2e8f0;
            }

            /* Set fixed widths for columns to ensure alignment */
            .stock-prices-table th:nth-child(1),
            .stock-prices-table td:nth-child(1) {
                width: 65px; /* Symbol */
                position: sticky;
                left: 0;
                z-index: 5;
                background: #1a1a1a;
                box-shadow: 2px 0 5px rgba(0,0,0,0.3);
            }

            /* Symbol column header needs higher z-index */
            .stock-prices-table thead th:nth-child(1) {
                z-index: 15;
                background: #1a1a1a;
                box-shadow: 2px 0 5px rgba(0,0,0,0.3);
            }

            .stock-prices-table th:nth-child(2),
            .stock-prices-table td:nth-child(2) {
                width: 70px; /* Status */
            }

            .stock-prices-table th:nth-child(3),
            .stock-prices-table td:nth-child(3) {
                width: 120px; /* Company */
            }

            .stock-prices-table th:nth-child(4),
            .stock-prices-table td:nth-child(4) {
                width: 70px; /* Volume */
            }

            .stock-prices-table th:nth-child(5),
            .stock-prices-table td:nth-child(5) {
                width: 70px; /* Price */
            }

            .stock-prices-table th:nth-child(6),
            .stock-prices-table td:nth-child(6) {
                width: 70px; /* Change */
            }

            .stock-prices-table th:nth-child(7),
            .stock-prices-table td:nth-child(7) {
                width: 70px; /* % Change */
            }

            .stock-prices-table th:nth-child(8),
            .stock-prices-table td:nth-child(8) {
                width: 80px; /* 52-Week Range */
            }

            .stock-prices-table th:nth-child(9),
            .stock-prices-table td:nth-child(9) {
                width: 80px; /* Analyst Rating */
            }

            .stock-prices-table th:nth-child(10),
            .stock-prices-table td:nth-child(10) {
                width: 80px; /* Valuation Risk */
            }

            .stock-prices-table th:nth-child(11),
            .stock-prices-table td:nth-child(11) {
                width: 55px; /* RSI */
            }

            .stock-prices-table th:nth-child(12),
            .stock-prices-table td:nth-child(12) {
                width: 55px; /* ADX */
            }

            .stock-prices-table th:nth-child(13),
            .stock-prices-table td:nth-child(13) {
                width: 55px; /* Rel Volume */
            }

            .stock-prices-table th:nth-child(14),
            .stock-prices-table td:nth-child(14) {
                width: 55px; /* MACD */
            }

            .stock-prices-table th:nth-child(15),
            .stock-prices-table td:nth-child(15) {
                width: 80px; /* Market Cap */
            }

            .stock-prices-table th:nth-child(16),
            .stock-prices-table td:nth-child(16) {
                width: 55px; /* PE Ratio */
            }

            .stock-prices-table th:nth-child(17),
            .stock-prices-table td:nth-child(17) {
                width: 55px; /* FWD PE */
            }

            .stock-prices-table th:nth-child(18),
            .stock-prices-table td:nth-child(18) {
                width: 55px; /* EPS */
            }

            /* CheckIt Analytics text input - smaller height on mobile */
            input[type="text"][id*="search-input"] {
                padding: 3px 6px !important;
                font-size: 11px !important;
                height: auto !important;
                line-height: 1.1 !important;
                min-height: 0 !important;
                max-height: 28px !important;
            }

            /* Adjust CheckIt Analytics button padding on mobile */
            button[onclick*="searchCheckItAnalytics"] {
                padding: 8px 12px !important;
                font-size: 12px !important;
                line-height: 1.3 !important;
            }

            .company-name {
                font-size: 0.75em;
                max-width: 270px;
                overflow: hidden;
                text-overflow: ellipsis;
            }

            .symbol-cell {
                min-width: 60px;
            }

            .price-cell {
                min-width: 70px;
            }

            .price-update-time {
                flex-direction: column;
                text-align: center;
                font-size: 0.8em;
                gap: 5px;
            }

            /* Buttons on mobile */
            .refresh-btn,
            .yfinance-btn,
            .analysis-link-btn {
                padding: 8px 12px;
                font-size: 0.85em;
            }

            /* Header buttons container */
            div[style*="display: flex; gap: 10px;"] {
                flex-wrap: wrap;
                gap: 8px !important;
            }

            /* Email section on mobile */
            div[style*="background: linear-gradient(135deg, #667eea"] {
                flex-direction: column;
                padding: 10px !important;
            }

            input[type="email"] {
                width: 100% !important;
                max-width: 100% !important;
            }

            /* Analysis grid */
            .analysis-grid {
                grid-template-columns: 1fr;
                gap: 15px;
            }

            /* Tables in comparison sections */
            .financial-table,
            .risk-factors-table,
            .outlook-table,
            .market-position-table,
            .recommendation-table {
                font-size: 0.75em;
                overflow-x: auto;
                display: block;
            }

            .financial-table th,
            .financial-table td,
            .risk-factors-table th,
            .risk-factors-table td,
            .outlook-table th,
            .outlook-table td,
            .market-position-table th,
            .market-position-table td,
            .recommendation-table th,
            .recommendation-table td {
                padding: 6px 4px;
            }

            /* Notification positioning */
            .notification {
                left: 10px;
                right: 10px;
                width: auto;
            }
        }

        /* Extra small devices (phones in portrait) */
        @media (max-width: 480px) {
            h1 {
                font-size: 1.5em;
            }

            h2 {
                font-size: 1.1em;
            }

            .stock-prices-table {
                font-size: 0.7em;
                min-width: 1425px;
                width: 1425px;
            }

            .stock-prices-table th,
            .stock-prices-table td {
                padding: 6px 4px;
            }

            .refresh-btn,
            .yfinance-btn,
            .analysis-link-btn {
                padding: 6px 10px;
                font-size: 0.8em;
            }

            .stock-prices-section {
                padding: 10px;
            }

            /* Smaller CheckIt input on very small screens */
            input[type="text"][id*="search-input"] {
                padding: 2px 5px !important;
                font-size: 10px !important;
                line-height: 1.0 !important;
                min-height: 0 !important;
                max-height: 24px !important;
            }

            /* Smaller CheckIt button on very small screens */
            button[onclick*="searchCheckItAnalytics"] {
                padding: 6px 10px !important;
                font-size: 11px !important;
                line-height: 1.2 !important;
            }
        }
    
