        /* Base Variables & Theme */
        :root {
            --primary-color: #14b18e; 
            --primary-dark: #0f8b6f;
            --dark-bg: #2c3e50; 
            --darker-bg: #1a252f;
            --text-dark: #333333;
            --text-light: #666666;
            --bg-light: #f4f7f6;
            --border-color: #e2e8f0;
            --up-color: #2e7d32; 
            --down-color: #d32f2f; 
        }
        body {
            font-family: Arial, Helvetica, sans-serif;
            margin: 0; padding: 0;
            color: var(--text-dark);
            line-height: 1.6;
            background-color: #ffffff;
        }
        a { text-decoration: none; color: var(--primary-color); transition: 0.3s; }
        a:hover { color: var(--primary-dark); }
        img { max-width: 100%; height: auto; display: block; }
        
        .container { width: 90%; max-width: 1300px; margin: 0 auto; }
        .section-padding { padding: 70px 0; }
        .bg-light { background-color: var(--bg-light); }
        
        .section-title { text-align: left; margin-bottom: 40px; border-bottom: 2px solid var(--border-color); padding-bottom: 15px; display: flex; justify-content: space-between; align-items: flex-end;}
        .section-title h2 { font-size: 28px; color: var(--dark-bg); margin: 0; font-weight: 700; position: relative; }
        .section-title h2::after { content: ''; position: absolute; bottom: -17px; left: 0; width: 80px; height: 3px; }
        .section-title p { color: var(--text-light); font-size: 14px; margin: 0; }

        .btn { display: inline-block; padding: 10px 20px; background-color: var(--primary-color); color: #fff; font-weight: bold; border-radius: 4px; border: 2px solid var(--primary-color); cursor: pointer; transition: 0.3s; font-size: 14px; }
        .btn:hover { background-color: transparent; color: var(--primary-color); }
        .btn-outline { background-color: transparent; color: var(--primary-color); border-color: var(--primary-color); }
        .btn-outline:hover { background-color: var(--primary-color); color: #fff; }

        /* PPT-Style Top Announcement Banner */
        .top-announcement { background: var(--darker-bg); color: #fff; height: 40px; overflow: hidden; position: relative; z-index: 1001; }
        .ppt-wrapper { animation: pptSlide 15s cubic-bezier(0.25, 1, 0.5, 1) infinite; }
        .ppt-item { height: 40px; display: flex; align-items: center; justify-content: center; font-size: 13px; }
        .ppt-item span { background: var(--primary-color); color: #fff; padding: 3px 8px; border-radius: 3px; margin-right: 12px; font-weight: bold; font-size: 11px; }
        @keyframes pptSlide { 0%, 25% { transform: translateY(0); } 33%, 58% { transform: translateY(-40px); } 66%, 91% { transform: translateY(-80px); } 100% { transform: translateY(0); } }

        /* Top Navigation */
        .header { background: #fff; padding: 15px 0; box-shadow: 0 2px 15px rgba(0,0,0,0.06); position: sticky; top: 0; z-index: 1000; }
        .nav-container { display: flex; justify-content: space-between; align-items: center; }
        .logo { font-size: 32px; font-weight: 900; color: var(--dark-bg); letter-spacing: -1px;}
        .logo span { color: var(--primary-color); }
        .main-menu { display: flex; gap: 28px; align-items: center; }
        .main-menu a { color: #333; font-size: 13px; font-weight: 700; text-transform: uppercase; }
        .main-menu a:hover { color: var(--primary-color); }
        .main-menu a.active { color: var(--primary-color); border-bottom: 2px solid var(--primary-color); padding-bottom: 5px;}
        .nav-actions { display: flex; gap: 15px; align-items: center; }
        
        /* Page Header Banner */
        .page-header { background: linear-gradient(to right, rgba(44, 62, 80, 0.9), rgba(44, 62, 80, 0.7)), url('/static/images/marketnews.jpg') no-repeat center center/cover; padding: 60px 0; color: #fff; text-align: center; }
        .page-header h1 { font-size: 36px; margin: 0 0 10px 0; text-transform: uppercase; letter-spacing: 1px;}
        .page-header p { font-size: 16px; color: #cbd5e1; margin: 0; }

        /* --- SECTION 1: Daily Prices (CSS Tabs) --- */
        .prices-container { display: flex; gap: 30px; background: #fff; border: 1px solid var(--border-color); border-radius: 8px; box-shadow: 0 10px 30px rgba(0,0,0,0.05); overflow: hidden; min-height: 500px;}
        .tabs-sidebar { width: 250px; background: var(--bg-light); border-right: 1px solid var(--border-color); }
        
        input[type="radio"][name="price-tabs"] { display: none; }
        .tab-label { display: block; padding: 15px 20px; font-size: 14px; font-weight: bold; color: var(--text-dark); cursor: pointer; border-bottom: 1px solid var(--border-color); transition: 0.3s; border-left: 4px solid transparent; }
        .tab-label:hover { background: #eef2f5; }
        
        #tab1:checked ~ .tabs-sidebar label[for="tab1"], #tab2:checked ~ .tabs-sidebar label[for="tab2"], #tab3:checked ~ .tabs-sidebar label[for="tab3"], #tab4:checked ~ .tabs-sidebar label[for="tab4"], #tab5:checked ~ .tabs-sidebar label[for="tab5"], #tab6:checked ~ .tabs-sidebar label[for="tab6"], #tab7:checked ~ .tabs-sidebar label[for="tab7"], #tab8:checked ~ .tabs-sidebar label[for="tab8"], #tab9:checked ~ .tabs-sidebar label[for="tab9"],#tab10:checked ~ .tabs-sidebar label[for="tab10"],#tab11:checked ~ .tabs-sidebar label[for="tab11"] { background: #fff; color: var(--primary-color); border-left: 4px solid var(--primary-color); border-right: 1px solid #fff; margin-right: -1px; }

        .tabs-content { flex: 1; padding: 30px; position: relative;  overflow-y: auto;}
        .tab-panel { display: none; animation: fadeIn 0.4s ease; max-height: 530px;}
        @keyframes fadeIn { from { opacity: 0; transform: translateY(5px); } to { opacity: 1; transform: translateY(0); } }

        #tab1:checked ~ .tabs-content #panel1, #tab2:checked ~ .tabs-content #panel2, #tab3:checked ~ .tabs-content #panel3, #tab4:checked ~ .tabs-content #panel4, #tab5:checked ~ .tabs-content #panel5, #tab6:checked ~ .tabs-content #panel6, #tab7:checked ~ .tabs-content #panel7, #tab8:checked ~ .tabs-content #panel8, #tab9:checked ~ .tabs-content #panel9, #tab10:checked ~ .tabs-content #panel10, #tab11:checked ~ .tabs-content #panel11 { display: block; }

        /* Table Styling */
        .data-table { width: 100%; border-collapse: collapse; font-size: 14px; }
        .data-table th { background: var(--bg-light); padding: 12px 15px; text-align: left; font-weight: bold; color: var(--dark-bg); border-bottom: 2px solid var(--border-color); }
        .data-table td { padding: 15px; border-bottom: 1px solid var(--border-color); vertical-align: middle; }
        .data-table tbody tr:hover { background: #fcfcfc;  cursor: pointer;}
        .mat-name { font-weight: bold; color: var(--dark-bg); }
        .mat-spec { font-size: 12px; color: var(--text-light); display: block; margin-top: 3px; }
        .price-val { font-size: 16px; font-weight: bold; color: var(--primary-color); }
        
        /* MINIATURIZED TEASER SPARKLINE */
        .sparkline { width: 35px; height: 12px; opacity: 0.6; display: block; }
        .action-link { font-size: 12px; font-weight: bold; background: var(--bg-light); padding: 5px 10px; border-radius: 3px; border: 1px solid #ddd; color: var(--text-dark);}
        .action-link:hover { background: var(--primary-color); color: #fff; border-color: var(--primary-color);}
        
        .up { color: var(--up-color); font-weight: bold; }
        .down { color: var(--down-color); font-weight: bold; }
        .flat { color: #888; font-weight: bold; }

        /* --- SECTION 2: Production Stats Table --- */
        .stats-wrapper { background: #fff; border-radius: 8px; box-shadow: 0 10px 30px rgba(0,0,0,0.05); overflow: hidden; border: 1px solid var(--border-color);max-height: 530px; overflow-y: auto;}
        .stats-table { width: 100%; border-collapse: collapse; font-size: 14px; }
        .stats-table th { background: var(--dark-bg); color: #fff; padding: 15px; text-align: left; font-weight: bold; }
        .stats-table td { padding: 12px 15px; border-bottom: 1px solid #eee; }
        .stats-table tbody tr:nth-child(even) { background-color: #fafafa; }
        .stats-table tbody tr:hover { background-color: #f0f4f8;  cursor: pointer;}
        .sector-col { font-weight: bold; color: var(--dark-bg); width: 20%; border-right: 1px solid #eee;}

        /* --- NEW SECTION: Analyst Perspectives --- */
        .analyst-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
        .insight-card { background: #fff; border: 1px solid var(--border-color); border-radius: 8px; padding: 30px; box-shadow: 0 5px 20px rgba(0,0,0,0.04); position: relative; transition: 0.3s; display: flex; flex-direction: column; justify-content: space-between;}
        .insight-card:hover { transform: translateY(-5px); box-shadow: 0 15px 30px rgba(0,0,0,0.08); border-color: var(--primary-color); }
        .quote-icon { font-size: 40px; color: var(--bg-light); position: absolute; top: 15px; left: 20px; font-family: Georgia, serif; line-height: 1; z-index: 1;}
        .insight-text { font-size: 14px; color: var(--text-dark); line-height: 1.7; position: relative; z-index: 2; margin-bottom: 25px; font-style: italic; height:100px; overflow:hidden; }
        .analyst-profile { display: flex; align-items: center; gap: 15px; border-top: 1px solid #eee; padding-top: 20px; margin-bottom: 20px;}
        .avatar { width: 45px; height: 45px; border-radius: 50%; background: #e2e8f0;background-size: cover; border: 2px solid #fff; box-shadow: 0 2px 5px rgba(0,0,0,0.1);}
        .analyst-info h4 { margin: 0; font-size: 15px; color: var(--dark-bg); }
        .analyst-info span { font-size: 12px; color: var(--primary-color); font-weight: bold; }
        .read-report { font-size: 12px; font-weight: bold; color: var(--text-light); text-transform: uppercase; letter-spacing: 0.5px; }
        .read-report:hover { color: var(--primary-color); }

        /* --- SECTION 4: Market Dynamics --- */
        .dynamics-layout { display: flex; gap: 30px; }
        .carousel-box { flex: 1.2; border-radius: 8px; overflow: hidden; position: relative; box-shadow: 0 10px 30px rgba(0,0,0,0.1); height: 500px; }
        .carousel-slide { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background-size: cover; background-position: center; opacity: 0; animation: fadeCarousel 15s infinite; }
        .carousel-slide:nth-child(1) {animation-delay: 0s; }
        .carousel-slide:nth-child(2) { animation-delay: 5s; }
        .carousel-slide:nth-child(3) { animation-delay: 10s; }
        @keyframes fadeCarousel { 0%, 28% { opacity: 1; z-index: 2; } 33%, 100% { opacity: 0; z-index: 1; } }
        
        .carousel-caption { position: absolute; bottom: 0; left: 0; right: 0; padding: 40px 30px 30px 30px; background: linear-gradient(to top, rgba(0,0,0,0.9), transparent); color: #fff; z-index: 3; }
        .carousel-tag { background: var(--primary-color); font-size: 11px; padding: 4px 10px; border-radius: 3px; text-transform: uppercase; font-weight: bold; margin-bottom: 10px; display: inline-block;}
        .carousel-caption h3 { margin: 0; font-size: 24px; line-height: 1.3;}

        .news-grid { flex: 2; display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
        .news-card { background: #fff; border: 1px solid var(--border-color); border-radius: 8px; padding: 25px; box-shadow: 0 5px 15px rgba(0,0,0,0.03); transition: 0.3s; }
        .news-card:hover { box-shadow: 0 10px 25px rgba(0,0,0,0.08); border-color: var(--primary-color);}
        .card-header { display: flex; justify-content: space-between; align-items: center; border-bottom: 1px solid #eee; padding-bottom: 12px; margin-bottom: 15px;}
        .card-header h3 { margin: 0; font-size: 18px; color: var(--dark-bg); }
        .card-header a { font-size: 12px; font-weight: bold; color: var(--text-light); }
        .news-links { list-style: none; padding: 0; margin: 0; }
        .news-links li { position: relative; padding-left: 15px; margin-bottom: 14px; font-size: 13px; line-height: 1.5; }
        .news-links li::before { content: '•'; position: absolute; left: 0; color: var(--primary-color); font-size: 16px; top: -2px;}
        .news-links a { color: #444; }
        .news-links a:hover { color: var(--primary-color); }

        /* --- SECTION 5: Weekly Review --- */
        .review-list { display: flex; flex-direction: column; gap: 30px; }
        .review-card { display: flex; gap: 30px; background: #fff; border: 1px solid var(--border-color); border-radius: 8px; padding: 25px; box-shadow: 0 5px 15px rgba(0,0,0,0.03); align-items: center; transition: 0.3s; }
        .review-card:hover { box-shadow: 0 10px 30px rgba(0,0,0,0.08); transform: translateY(-3px);}
        .review-img { width: 280px; height: 180px; border-radius: 6px; overflow: hidden; flex-shrink: 0; }
        .review-img img { width: 100%; height: 100%; object-fit: cover; transition: 0.5s;}
        .review-card:hover .review-img img { transform: scale(1.05); }
        .review-content { flex: 1; }
        .review-meta { font-size: 12px; color: var(--primary-color); font-weight: bold; margin-bottom: 10px; display: block; text-transform: uppercase;}
        .review-content h3 { margin: 0 0 15px 0; font-size: 22px; color: var(--dark-bg); line-height: 1.3;}
        .review-content p { color: var(--text-light); font-size: 14px; margin-bottom: 20px; line-height: 1.6;}
        
        /* Footer */
        footer { background: var(--darker-bg); color: #94a3b8; padding: 60px 0 20px 0; font-size: 14px; }
        .footer-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 40px; }
        .footer-col h4 { color: #fff; font-size: 16px; margin-bottom: 25px; text-transform: uppercase; position: relative; padding-bottom: 10px;}
        .footer-col h4::after { content:''; position:absolute; bottom:0; left:0; width:30px; height:2px; background:var(--primary-color); }
        .footer-col ul { list-style: none; padding: 0; margin: 0; }
        .footer-col ul li { margin-bottom: 12px; }
        .footer-col a { color: #94a3b8; }
        .footer-col a:hover { color: var(--primary-color); }
        .footer-bottom { text-align: center; border-top: 1px solid rgba(255,255,255,0.05); margin-top: 50px; padding-top: 25px; font-size: 13px;}
		.mytip{color:#666666;margin-left:20%;position:absolute;margin-top:10px;}
        /* =========================================
           H5 / Mobile Responsive Optimization
           ========================================= */
        @media (max-width: 768px) {
            /* Header & Navigation - App Style Horizontal Scroll */
            .header { padding: 10px 0; }
            .nav-container { flex-direction: row; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 8px; }
            
            /* Logo & Action Buttons */
            .logo { max-width: 120px; }
            .logo img { max-height: 30px; width: auto; }
            .nav-actions { gap: 10px; }
            .nav-actions span { display: none; } /* Hide the '|' separator to save space */
            .nav-actions a { font-size: 12px !important; }
            .nav-actions .btn { padding: 6px 12px !important; font-size: 12px !important; }
            
            /* Main Menu - Horizontal Scroll */
            .main-menu { 
                width: 100%; 
                flex-wrap: nowrap; 
                justify-content: flex-start; 
                overflow-x: auto; 
                -webkit-overflow-scrolling: touch; 
                gap: 20px; 
                padding: 12px 5px 5px 5px; 
                border-top: 1px solid var(--border-color);
                margin-top: 5px;
            }
            /* Hide scrollbar for a cleaner look */
            .main-menu::-webkit-scrollbar { display: none; }
            .main-menu { -ms-overflow-style: none; scrollbar-width: none; }
            .main-menu a { white-space: nowrap; font-size: 13px; }
            
            /* Page Header */
            .page-header { padding: 40px 0; }
            .page-header h1 { font-size: 26px; }
            .page-header p { font-size: 14px; }

            /* Section Titles */
            .section-title { flex-direction: column; align-items: flex-start; gap: 10px; margin-bottom: 30px; }
            .section-title h2 { font-size: 22px; }

            /* Prices Container (Tabs to Horizontal Scroll) */
            .prices-container { flex-direction: column; gap: 0; min-height: auto; }
            .tabs-sidebar { width: 100%; border-right: none; border-bottom: 1px solid var(--border-color); display: flex; overflow-x: auto; white-space: nowrap; -webkit-overflow-scrolling: touch; }
            .tab-label { display: inline-block; padding: 12px 15px; border-bottom: none; border-left: none; border-bottom: 3px solid transparent; }
            
            #tab1:checked ~ .tabs-sidebar label[for="tab1"], #tab2:checked ~ .tabs-sidebar label[for="tab2"], #tab3:checked ~ .tabs-sidebar label[for="tab3"], #tab4:checked ~ .tabs-sidebar label[for="tab4"], #tab5:checked ~ .tabs-sidebar label[for="tab5"], #tab6:checked ~ .tabs-sidebar label[for="tab6"], #tab7:checked ~ .tabs-sidebar label[for="tab7"], #tab8:checked ~ .tabs-sidebar label[for="tab8"], #tab9:checked ~ .tabs-sidebar label[for="tab9"], #tab10:checked ~ .tabs-sidebar label[for="tab10"] #tab11:checked ~ .tabs-sidebar label[for="tab11"] { 
                border-left: none; border-right: none; border-bottom: 3px solid var(--primary-color); margin-right: 0; margin-bottom: -1px;
            }
            .tabs-content { padding: 15px; overflow-x: auto; } 
            .data-table { min-width: 600px; } 

            /* Production Stats */
            .stats-wrapper { overflow-x: auto; }
            .stats-table { min-width: 600px; }

            /* Analyst Perspectives */
            .analyst-grid { grid-template-columns: 1fr; gap: 20px; }
            .insight-card { padding: 25px; }

            /* Market Dynamics */
            .dynamics-layout { flex-direction: column; gap: 25px; }
            .carousel-box { height: 300px; }
            .news-grid { grid-template-columns: 1fr; gap: 20px; }

            /* Weekly Review */
            .review-card { flex-direction: column; gap: 15px; padding: 20px; }
            .review-img { width: 100%; height: auto; }
            .review-content h3 { font-size: 18px; }

            /* Footer */
            .footer-grid { grid-template-columns: 1fr; gap: 30px; }
            
            /* Global Adjustments */
            .section-padding { padding: 40px 0; }
            .mytip{color:#666666;margin-top:10px; font-size:10px; margin-left:0px;}
            /* Top Announcement */
            .ppt-item { font-size: 12px; line-height: 1.3; padding: 0 10px; text-align: center; }
            .ppt-item span { margin-right: 6px; }
        }