            body {
                font-family: "Consolas", "Menlo", "Monaco", "Courier New", "Segoe UI", Arial, monospace, sans-serif;
                background: #0e1016;
                margin: 0;
                padding: 0 18px; 
                min-height: 100vh;
                color: #eaeaea;
                display: flex;
                flex-direction: column;
                align-items: center;
                box-sizing: border-box;
            }
            h2 {
                color: #fff;
                text-align: center;
                margin: 40px 0 30px 0;
                font-size: 2.2rem;
                letter-spacing: 2px;
                font-weight: 700;
                text-shadow: 0 2px 16px #000a;
            }
            .strategy-block {
                width: 100%;
                max-width: 1100px;
                margin: 0 auto 38px auto;
                background: none;
                box-sizing: border-box;
            }
            .table-container {
                background: #181a20;
                border-radius: 18px;
                box-shadow:
                    0 4px 32px #000a,
                    0 1.5px 0 #23272f;
                padding: 18px 16px 18px 16px;
                margin: 0 auto 40px auto;
                width: 100%;
                max-width: 1100px;
                overflow-x: auto;
                height: 550px;
                overflow-y: auto;
                box-sizing: border-box;
            }

            @media (min-width: 1001px) {
                .table-container {
                    height: 625px;
                }
            }
            table {
                border-collapse: separate;
                border-spacing: 0;
                width: 100%;
                background: #181a20;
                color: #eaeaea;
                font-size: 1.01em;
                border-radius: 12px;
                overflow: hidden;
                box-shadow: 0 0.5px 0 #23272f;
                table-layout: fixed;
            }
                        /* Prevent flicker seams between header cells without forcing transforms */
                        thead, thead th {
                            backface-visibility: hidden;
                            -webkit-backface-visibility: hidden;
                            background-clip: padding-box;
                        }
                        .table-container {
                            -webkit-transform: translateZ(0);
                            transform: translateZ(0);
                            backface-visibility: hidden;
                        }
            th,
            td {
                padding: 13px 8px;
                text-align: center;
                border-bottom: 1px solid #23272f;
            }
            thead th { border-right: none !important; }
            /* Remove vertical dividers in header cells */
            thead th { box-shadow: none !important; }
            td.time-cell,
            td.sl-cell,
            td.tp-cell {
                font-size: 0.85em;
                opacity: 0.85;
            }
            td.time-cell {
                max-width: 220px;
                min-width: 120px;
                white-space: pre-line;
                overflow-wrap: break-word;
                word-break: break-word;
                line-height: 1.3em;
                height: auto;
                vertical-align: middle;
                overflow: visible;
                text-overflow: unset;
            }
            th:nth-child(1), td:nth-child(1) { min-width: 120px; }
            th:nth-child(2), td:nth-child(2) { min-width: 110px; max-width: 110px; }
            th:nth-child(3), td:nth-child(3) { min-width: 70px; max-width: 70px; }
            th:nth-child(4), td:nth-child(4) { min-width: 120px; }
            th:nth-child(5), td:nth-child(5) { min-width: 120px; }
            th:nth-child(6), td:nth-child(6) { min-width: 70px; }
            th:nth-child(7), td:nth-child(7) { min-width: 80px; }
            th:nth-child(8), td:nth-child(8) { min-width: 90px; }
            th {
                background: #23272f;
                color: #fff;
                font-weight: 700;
                text-transform: uppercase;
                font-size: 0.97em;
                letter-spacing: 1px;
                border: none;
                position: sticky;
                top: 0;
                z-index: 10;
            }
            tr:last-child td {
                border-bottom: none;
            }
            tr {
                transition: background 0.2s;
            }
            tr:nth-child(even) {
                background-color: #181a20;
            }
            tr:nth-child(odd) {
                background-color: #15171c;
            }
            tr:hover {
                background-color: #23272f;
            }
            td {
                font-size: 1em;
                font-family: inherit;
            }
            .dir-long,
            .pnl-pos,
            .reason-tp {
                color: #78b159;
                font-weight: bold;
            }
            .dir-short,
            .pnl-neg,
            .reason-sl {
                color: #dd2e44;
                font-weight: bold;
            }

        


            .strategy-block {
                width: 100%;
                max-width: 1100px;
                margin: 0 auto 38px auto;
                background: none;
                box-sizing: border-box;
            }
            .strategy-header {
                display: flex;
                align-items: center;
                gap: 18px;
                margin-bottom: 10px;
                margin-top: 32px;
                justify-content: flex-start;
                padding-left: 18px;
            }
            .strategy-header h2 {
                margin: 0;
                font-size: 2rem;
                color: #fff;
                letter-spacing: 1.5px;
                font-weight: 700;
                text-shadow: 0 2px 16px #000a;
            }

            @media (max-width: 440px) {
                .strategy-header h2 {
                    font-size: 1.65rem;
                    margin: 0 0 0 0;
                }
            }
            .strategy-img {
                width: 54px;
                height: 54px;
                border-radius: 12px;
                background: #23272f;
                object-fit: contain;
                box-shadow: 0 2px 12px #0005;
                border: 2px solid #23272f;
            }
            .total-return-container {
                display: flex;
                justify-content: center;
                align-items: center;
                margin: 12px 0 24px 0;
            }
            .stats-bar {
                display: flex;
                flex-wrap: nowrap;
                gap: 12px;
                margin: 0 auto 18px auto;
                justify-content: center;
                width: 100%;
                max-width: 1100px;
                box-sizing: border-box;
                padding: 0;
            }
            .stat-box {
                flex: 1 1 0;
                min-width: 0;
                max-width: none;
                background: linear-gradient(135deg, #181a20 80%, #23272f 100%);
                border-radius: 12px;
                padding: 14px 6px 10px 6px;
                box-shadow:
                    0 2px 12px #0003,
                    0 1.5px 0 #23272f;
                display: flex;
                flex-direction: column;
                align-items: center;
                justify-content: center;
                text-align: center;
                transition:
                    transform 0.13s,
                    box-shadow 0.13s;
                cursor: pointer;
                border: 1.5px solid #23272f;
                position: relative;
                box-sizing: border-box;
            }
            .stat-box:hover {
                transform: translateY(-3px) scale(1.035);
                box-shadow:
                    0 6px 32px #0007,
                    0 2px 0 #23272f;
                border-color: #06a091;
            }
            .stat-label {
                font-size: 0.93em;
                opacity: 0.7;
                margin-bottom: 2px;
                letter-spacing: 0.5px;
                width: 100%;
                text-align: center;
            }
            .stat-value {
                font-size: 1.18em;
                font-weight: bold;
                margin-bottom: 0;
                margin-top: 2px;
                width: 100%;
                text-align: center;
            }
            .stat-sharpe {
                color: #06a091;
            }
            .stat-win {
                color: #78b159;
            }
            .stat-rr {
                color: #eab308;
            }
            .stat-dd {
                color: #ef4444;
            }
            .stat-month {
                color: #3b82f6;
            }
            .stat-week {
                color: #f59e42;
            }
            .stat-n {
                color: #eaeaea;
            }

            @media (max-width: 1100px) {
                .stats-bar {
                    flex-wrap: wrap;
                    gap: 10px;
                }
                .stat-box {
                    min-width: 120px;
                    padding: 12px 4px 8px 4px;
                }
            }
            @media (max-width: 946px) and (min-width: 556px) {

                .stats-bar {
                    flex-wrap: wrap;
                    flex-direction: row;
                    gap: 10px;
                }
                .stat-box {
                    flex: 1 1 25%;
                    min-width: 120px;
                    max-width: calc(25% - 10px);
                    width: calc(25% - 10px);
                    margin-bottom: 8px;
                }
                .stats-bar .stat-box:nth-child(-n+4) {
                    order: 1;
                    flex-basis: 25%;
                    max-width: calc(25% - 10px);
                    width: calc(25% - 10px);
                }
                .stats-bar .stat-box:nth-child(n+5) {
                    order: 2;
                    flex-basis: 33.3333%;
                    max-width: calc(33.3333% - 10px);
                    width: calc(33.3333% - 10px);
                }
            }
            @media (max-width: 555px) {

                .stats-bar {
                    flex-wrap: wrap;
                    flex-direction: row;
                    gap: 10px;
                }
                .stat-box {
                    flex: 1 1 33.33%;
                    min-width: 100px;
                    max-width: calc(33.33% - 10px);
                    width: calc(33.33% - 10px);
                    margin-bottom: 8px;
                }
                .stats-bar .stat-box:nth-child(7):nth-last-child(1) {
                    flex-basis: 100%;
                    max-width: 100%;
                    width: 100%;
                }
            }
            @media (max-width: 365px) {
                .stats-bar {
                    flex-wrap: wrap;
                    flex-direction: row;
                    gap: 8px;
                }
                .stat-box {
                    flex: 1 1 48%;
                    min-width: 0;
                    max-width: 100%;
                    width: 100%;
                    margin-bottom: 8px;
                }

                .stats-bar .stat-box:nth-child(7):nth-last-child(1) {
                    flex-basis: 100%;
                    max-width: 100%;
                    width: 100%;
                }
            }
            @media (max-width: 1000px) {
                body {
                    padding: 0 8px;
                }
                .strategy-block,
                .table-container,
                .stats-bar {
                    margin-left: auto;
                    margin-right: auto;
                    left: 0;
                    right: 0;
                }
            }
        


            .info-popup {
                position: fixed;
                z-index: 9999;
                background: #23272f;
                color: #eaeaea;
                border-radius: 10px;
                box-shadow: 0 4px 24px #000a;
                padding: 16px 18px;
                font-size: 1.05em;
                max-width: 320px;
                min-width: 180px;
                pointer-events: none;
                opacity: 0;
                transition: opacity 0.18s;
                left: 0;
                top: 0;
            }
            .stat-total {
                color: #d1caff !important;
                background: linear-gradient(
                    135deg,
                    #23243a 80%,
                    #4f46e5 100%
                ) !important;
                border-color: #3b3b5c !important;
                box-shadow:
                    0 3px 16px #4f46e533,
                    0 1.5px 0 #23243a !important;
                display: flex;
                align-items: center;
                justify-content: center;
                flex-direction: row;
                min-height: 48px;
                height: 52px;
                max-height: 60px;
                min-width: 320px;
                max-width: 600px;
                padding: 0 32px;
                font-size: 1.15em;
                margin-bottom: 0;
                gap: 18px;
                white-space: nowrap;
                overflow: hidden;
                text-overflow: ellipsis;
                transition:
                    background 0.18s,
                    color 0.18s;
            }
            .stat-total-single {
                padding: 0 36px;
                height: 52px;
                min-height: 48px;
                max-height: 60px;
                border-radius: 14px;
            }
            .stat-total-label {
                color: #c7bfff !important;
                opacity: 0.92;
                font-size: 1.09em;
                font-weight: 500;
                margin-right: 12px;
                letter-spacing: 0.5px;
                white-space: nowrap;
                overflow: hidden;
                text-overflow: ellipsis;
            }
            .stat-total-value {
                color: #f3f3ff !important;
                font-weight: bold;
                font-size: 1.38em;
                margin-left: 8px;
                white-space: nowrap;
                overflow: hidden;
                text-overflow: ellipsis;
            }
            .stat-total-positive {
                color: #22c55e !important;
                text-shadow:
                    0 0 6px #22c55e66,
                    0 2px 12px #22c55e33,
                    0 1px 0 #1a3d2a44;
            }
            .stat-total-negative {
                color: #ef4444 !important;
                text-shadow:
                    0 0 6px #ef444466,
                    0 2px 12px #ef444433,
                    0 1px 0 #3d1a1a44;
            }

            [id^="equity-graph-icon"]:hover {
                transform: translateY(-3px) scale(1.035) !important;
                box-shadow: 0 6px 32px #0007, 0 2px 0 #23243a !important;
                border-color: #06a091 !important;
            }

            ::-webkit-scrollbar {
                width: 8px;
                height: 8px;
            }
            ::-webkit-scrollbar-track {
                background: #15171c;
                border-radius: 4px;
            }
            ::-webkit-scrollbar-thumb {
                background: linear-gradient(135deg, #23272f 0%, #3b3b5c 50%, #4f46e5 100%);
                border-radius: 4px;
                border: 1px solid #181a20;
            }
            ::-webkit-scrollbar-thumb:hover {
                background: linear-gradient(135deg, #3b3b5c 0%, #4f46e5 50%, #06a091 100%);
            }
            ::-webkit-scrollbar-corner {
                background: #15171c;
            }

            * {
                scrollbar-width: thin;
                scrollbar-color: #23272f #15171c;
            }
            /* Keep header cell backgrounds as defined on th; no extra overrides */
            @media (max-width: 1000px) {

                table {
                    border-radius: 12px !important;
                    overflow: hidden !important;
                }
                thead th:first-child {
                    border-top-left-radius: 12px !important;
                }
                thead th:last-child {
                    border-top-right-radius: 12px !important;
                }
                .table-container {
                    margin: 0 auto;
                    padding: 12px 1.2vw 10px 1.2vw;
                    width: 100%;
                    max-width: 1100px;
                    box-sizing: border-box;
                    overflow-x: auto;
                    overflow-y: visible;
                    max-height: none;
                    height: auto !important;
                    -webkit-overflow-scrolling: touch;
                }
                table {
                    width: 100%;
                    min-width: 800px;
                    max-width: 1100px;
                    margin: 0 auto;
                    transform: none !important;
                    will-change: auto;
                }
                .stat-total, .stat-total-single {
                    min-width: 0;
                    max-width: calc(100vw - 80px);
                    width: calc(100vw - 80px);
                    padding: 14px 8px 10px 8px;
                    font-size: 1.22em;
                    min-height: 56px;
                    height: auto;
                    max-height: none;
                    flex-direction: column;
                    gap: 6px;
                    align-items: center;
                    justify-content: center;
                }
                .stat-total-label {
                    font-size: 0.98em;
                    margin: 0;
                }
                @media (max-width: 390px) {
                .stat-total-label {
                    font-size: 0.85em;
                }
                }
                .stat-total-value {
                    font-size: 1.35em;
                    margin: 0;
                }
                #total-return-bar, #total-return-bar-v2 {
                    display: flex;
                    justify-content: center;
                    align-items: center;
                    width: 100vw;
                    margin: 16px 0 28px 0;
                    padding: 0 20px;
                    box-sizing: border-box;
                }
                #total-return-bar > div, #total-return-bar-v2 > div {
                    display: flex;
                    justify-content: center;
                    align-items: center;
                    flex-direction: row;
                    gap: 0;
                    width: auto;
                    max-width: calc(100vw - 40px);
                }
                [id^="equity-graph-icon"] {
                    margin-left: 18px;
                    padding: 7px 10px;
                    border-radius: 10px;
                    transition: transform 0.3s ease, box-shadow 0.3s ease, border 0.3s ease;
                    border: 2px solid #3b3b5c;
                    background: linear-gradient(135deg, #23243a 80%, #4f46e5 100%);
                    box-shadow: 0 2px 12px #0005;
                    display: inline-flex;
                    align-items: center;
                    justify-content: center;
                    cursor: pointer;
                    min-height: 44px;
                    flex-shrink: 0;
                }
                [id^="equity-graph-icon"] svg {
                    width: 28px;
                    height: 28px;
                    display: block;
                }
            }

            .pagination-container {
                display: flex;
                justify-content: center;
                align-items: center;
                gap: 10px;
                margin: 20px 0;
                padding: 0 20px;
                flex-wrap: wrap;
                position: relative;
            }
            @media (max-width: 460px) {
                .pagination-container {
                    justify-content: left;
                }
            }
            
            .pagination-button {
                background: linear-gradient(135deg, #181a20 80%, #23272f 100%);
                border: 1.5px solid #23272f;
                border-radius: 8px;
                color: #eaeaea;
                padding: 8px 12px;
                font-size: 0.9em;
                cursor: pointer;
                transition: all 0.2s ease;
                min-width: 40px;
                text-align: center;
                font-family: inherit;
                outline: none;
                -webkit-tap-highlight-color: rgba(0,0,0,0);
                -webkit-appearance: none;
                appearance: none;
                user-select: none;
                -webkit-user-select: none;
                -moz-user-select: none;
                -ms-user-select: none;
                -webkit-touch-callout: none;
                caret-color: transparent;
            }
            .pagination-button *,
            .pagination-button::selection,
            .pagination-button *::selection {
                user-select: none;
                -webkit-user-select: none;
                -moz-user-select: none;
                -ms-user-select: none;
                caret-color: transparent;
            }
            
            @media (hover: hover) and (pointer: fine) {
                .pagination-button:hover:not(:disabled) {
                    background: linear-gradient(135deg, #23272f 80%, #06a091 100%);
                    border-color: #06a091;
                    transform: translateY(-2px);
                    box-shadow: 0 4px 12px #0005;
                }
            }
            
            .pagination-button:disabled {
                opacity: 0.4;
                cursor: not-allowed;
            }
            
            .pagination-button.active {
                background: linear-gradient(135deg, #06a091 80%, #22c55e 100%) !important;
                border-color: #06a091 !important;
                color: #fff;
                font-weight: bold;
            }
            .pagination-button:focus,
            .pagination-button:active {
                outline: none;
                background: linear-gradient(135deg, #06a091 80%, #22c55e 100%);
                border-color: #06a091;
                color: #fff;
            }
            .pagination-button.active:focus,
            .pagination-button.active:active {
                background: linear-gradient(135deg, #06a091 80%, #22c55e 100%) !important;
                border-color: #06a091 !important;
            }
            
            .pagination-info {
                color: #b3b3d7;
                font-size: 0.85em;
                margin: 0 8px;
                white-space: nowrap;
                position: absolute;
                right: 0;
                top: 50%;
                transform: translateY(-50%);
                min-width: 110px;
                text-align: right;
                pointer-events: none;
            }
            
            @media (max-width: 1000px) {
                .pagination-container {
                    gap: 8px;
                    margin: 15px 0;
                    padding: 0 10px;
                }
                
                .pagination-button {
                    padding: 6px 10px;
                    font-size: 0.85em;
                    min-width: 35px;
                }
                
                .pagination-info {
                    font-size: 0.8em;
                    margin: 0 4px;
                }
            }

            @media (min-width: 1001px) {
                .pagination-container {
                    display: none;
                }
            }

            @media (max-width: 1000px) {
                .table-container {
                    overflow-x: auto;
                    overflow-y: hidden;
                }
                table {
                    overflow: visible;
                }
            }
        



        .time-cell .time-date {
            display: block;
            white-space: normal;
        }
        .time-cell .time-sep {
            display: none !important;
        }