        * {
            box-sizing: border-box;
            margin: 0;
            padding: 0;
        }
        body {
            background-color: #121212;
            color: #ffffff;
            font-family: Arial, sans-serif;
            padding: 20px;
            min-height: 100vh;
            display: flex;
            flex-direction: column;
        }
        h2 { 
            color: #e0e0e0; 
            margin-bottom: 20px;
            font-size: 16px;
            font-weight: 400;
        }
        h2 a { 
            color: orange; 
            margin-bottom: 20px;
            font-size: 16px;
            font-weight: 400;
        }
        h3 {
            margin-bottom: 15px;
            font-weight: 600;
            font-size: 16px;
        }
        
        .submenu {
            font-size: 14px;
            color: #ccc;
        }
        
        /* --- ESTILIZAÇÃO DO SCROLL ESTILO MOBILE --- */
        ::-webkit-scrollbar {
            width: 6px;
            height: 6px;
        }
        ::-webkit-scrollbar-track {
            background: transparent;
        }
        ::-webkit-scrollbar-thumb {
            background: #444444;
            border-radius: 10px;
        }
        ::-webkit-scrollbar-thumb:hover {
            background: #666666;
        }
        /* Suporte para navegadores Firefox */
        html, body, .heatmap-container, div {
            scrollbar-width: thin;
            scrollbar-color: #444444 transparent;
        }
        /* ----------------------------------------------------------- */

        /* Área Superior: Grade Macro das Variações de Hoje */
        .section-overview {
            width: 100%;
            background-color: #1e1e1e;
            padding: 20px;
            border-radius: 8px;
            border: 1px solid #2d2d2d;
            margin-bottom: 24px;
        }
        .overview-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(110px, 1fr));
            gap: 8px;
            width: 100%;
        }
        .overview-cell {
            height: 60px;
            display: flex;
            flex-direction: column;
            justify-content: center;
            align-items: center;
            font-size: 14px;
            font-weight: bold;
            border-radius: 6px;
            color: #fff;
            cursor: pointer;
            transition: transform 0.2s, box-shadow 0.2s;
            border: 1px solid rgba(255,255,255,0.1);
        }
        .overview-cell:hover {
            transform: translateY(-2px);
            box-shadow: 0 4px 12px rgba(0,0,0,0.5);
        }
        .overview-label {
            font-size: 10px;
            opacity: 0.8;
            font-weight: normal;
            margin-top: 2px;
        }

        /* Container principal ocupando toda a largura */
        .container {
            display: flex;
            flex-direction: column;
            gap: 24px;
            width: 100%;
            flex-grow: 1;
        }

        /* Sub-containers de cada seção */
        .section-table, .section-heatmap {
            width: 100%;
            background-color: #1e1e1e;
            padding: 20px;
            border-radius: 8px;
            border: 1px solid #2d2d2d;
        }

        /* Container da Tabela e da Busca */
        .table-wrapper {
            display: flex;
            flex-direction: column;
            gap: 15px;
        }

        /* Link interativo acima da Tabela */
        .table-link {
            color: #00ff00;
            text-decoration: none;
            font-size: 13px;
            margin-bottom: 5px;
            display: inline-block;
            font-weight: bold;
            cursor: pointer;
        }
        .table-link:hover {
            text-decoration: underline;
        }

        /* Estilização do Botão Ver Mais */
        .btn-ver-mais {
            width: 100%;
            padding: 10px;
            background-color: #2d2d2d;
            border: 1px solid #444;
            border-radius: 6px;
            color: #ffffff;
            font-size: 13px;
            font-weight: bold;
            cursor: pointer;
            transition: background 0.2s, border-color 0.2s;
            text-align: center;
            display: block;
            margin-bottom: 15px;
        }
        .btn-ver-mais:hover {
            background-color: #3d3d3d;
            border-color: #00ff00;
        }

        /* Estilização da Searchbox */
        .search-box {
            width: 100%;
            padding: 12px;
            background-color: #1a1a1a;
            border: 1px solid #333;
            border-radius: 6px;
            color: #ffffff;
            font-size: 14px;
            outline: none;
            transition: border-color 0.2s;
        }
        .search-box:focus {
            border-color: #00ff00;
        }

        /* Tabela responsiva e expandida */
        table {
            border-collapse: collapse;
            width: 100%;
            background-color: #1a1a1a;
        }
        th, td {
            border: 1px solid #333;
            padding: 12px 15px;
            text-align: center;
        }
        th { background-color: #2d2d2d; }
        .clickable-row { cursor: pointer; transition: background 0.2s; }
        .clickable-row:hover { background-color: #2a2a2a; }
        
        /* Grid dinâmico e fluido para o Mapa de Calor */
        .heatmap-container {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(80px, 1fr));
            gap: 6px;
            width: 100%;
        }
        .heatmap-cell {
            height: 55px;
            display: flex;
            flex-direction: column;
            justify-content: center;
            align-items: center;
            font-size: 12px;
            font-weight: bold;
            border-radius: 4px;
            color: #fff;
            width: 100%;
            transition: transform 0.1s ease;
        }
        .heatmap-cell:hover {
            transform: scale(1.03);
        }
        .cell-date { font-size: 9px; opacity: 0.7; margin-bottom: 2px; }
        
        /* Estilização do Botão Visão Geral do Mercado */
        .btn-visao-geral {
            width: 100%;
            padding: 12px;
            background-color: rgba(0, 255, 0, 0.05);
            border: 1px solid #00ff00;
            border-radius: 6px;
            color: #00ff00;
            font-size: 13px;
            font-weight: bold;
            cursor: pointer;
            transition: background 0.2s, transform 0.1s, box-shadow 0.2s;
            text-align: center;
            display: block;
            margin-bottom: 5px;
            outline: none;
        }
        .btn-visao-geral:hover {
            background-color: rgba(0, 255, 0, 0.15);
            box-shadow: 0 0 10px rgba(0, 255, 0, 0.2);
        }
        .btn-visao-geral:active {
            transform: scale(0.98);
        }

        
        /* Estilos Base do Header (Configuração Mobile Padrão) */
        header.site-header {
            width: 100%;
            height: auto !important;
            min-height: auto !important;
            background-color: #1e1e1e;
            border: 1px solid #2d2d2d;
            border-radius: 8px;
            padding: 15px 25px !important;
            margin-bottom: 20px;
            display: flex;
            flex-direction: column !important;
            align-items: flex-start !important;
            text-align: left !important;
            gap: 15px !important;
            box-sizing: border-box;
        }
        header.site-header div {
            text-align: left !important;
            align-items: flex-start !important;
            justify-content: flex-start !important;
            max-width: 100% !important;
            margin-left: 0 !important;
        }

        /* Regras aplicadas apenas quando a tela for computadores (DESKTOP) */
        @media (min-width: 992px) {
            .container {
                flex-direction: row;
                align-items: flex-start;
            }
            .section-table {
                flex: 1;
                min-width: 320px;
            }
            .section-heatmap {
                flex: 3;
            }
            header.site-header {
                height: 90px !important;
                min-height: 90px !important;
                flex-direction: row !important;
                flex-wrap: nowrap !important;
                align-items: center !important;
                justify-content: flex-start !important;
                gap: 40px !important;
                padding: 0 25px !important;
            }
            header.site-header div {
                text-align: left !important;
                align-items: center !important;
                justify-content: flex-start !important;
            }
        }

