.tp-simulation-frame{display:block;width:100%;max-width:100%;min-width:0;overflow:hidden}
.customer-content:has(.tp-simulation-frame){min-width:0;max-width:100%;overflow-x:clip}
.tp-terms-dialog{background:#0d1c29;color:#dce8ef;border:1px solid #35505f;border-radius:18px;padding:28px;width:min(760px,calc(100% - 28px));max-height:90dvh;overflow:auto;box-shadow:0 24px 90px #0009}
.tp-terms-dialog::backdrop{background:#000b;backdrop-filter:blur(5px)}
.tp-terms-dialog header,.tp-terms-dialog footer{display:flex;align-items:center;justify-content:space-between;gap:16px}
.tp-terms-dialog h2{font-size:24px;margin:0}
.tp-terms-dialog>p,.tp-terms-dialog small{color:#9eb6c5}
.tp-dialog-close{color:inherit;background:none;border:0;font-size:28px}
.tp-terms-scroll{max-height:45dvh;overflow:auto;padding:20px;background:#08131f;border-radius:12px}
.tp-terms-body{white-space:pre-wrap;line-height:1.65}
.tp-agreement{display:flex;align-items:center;gap:12px;margin:20px 0}
.tp-terms-dialog footer{justify-content:flex-end;margin-bottom:14px}
.tp-terms-dialog button:disabled{opacity:.45;cursor:not-allowed}
.tp-error{color:#ff8e98}
.tp-retained{margin-top:28px;padding:24px;background:#0d1c29;border:1px solid #2e4353;border-radius:16px;color:#dce8ef}
.tp-retained p{color:#9eb6c5}
.tp-record-table{overflow:auto;margin:14px 0 28px}
.tp-record-table table{width:100%;font-size:13px}
.tp-record-table td,.tp-record-table th{padding:12px;white-space:nowrap;border-bottom:1px solid #2e4353}
.tp-record-table th{text-align:left;color:#9eb6c5}
@media(max-width:600px){.tp-terms-dialog{padding:20px}
.tp-terms-dialog h2{font-size:20px}
.tp-retained{padding:15px}
.tp-terms-scroll{padding:14px}
}


.tp-admin-records{background:#fff;color:#263548;border:1px solid #dee4ec;border-radius:8px;box-shadow:0 2px 7px #26354805}
.tp-admin-records p{color:#6a7a8b}
.tp-admin-records .tp-record-table th{background:#f5f7fa;color:#52697e}
.tp-admin-records .tp-record-table td,.tp-admin-records .tp-record-table th{border-color:#e3e8ee}
.tp-admin-records input,.tp-admin-records select{background:#fff;color:#263548;border:1px solid #d8e0e8;border-radius:5px;padding:10px;width:min(100%,650px);margin:10px 0}
.tp-admin-records label{display:block;color:#5b7085}
.tp-admin-records h2{font-size:22px;margin-bottom:20px}

.tp-mobile-dock{display:none}
@media(max-width:767px){
 body{padding-bottom:104px!important}
 .customer-body{padding-bottom:16px}
 .tp-mobile-dock{position:fixed;left:12px;right:12px;bottom:max(10px,env(safe-area-inset-bottom));z-index:1080;display:grid;grid-template-columns:repeat(5,minmax(0,1fr));min-height:76px;padding:7px 5px;background:rgba(6,22,33,.97);border:1px solid #294957;border-radius:27px;box-shadow:0 18px 48px rgba(0,0,0,.52),inset 0 1px rgba(255,255,255,.035);backdrop-filter:blur(18px);-webkit-backdrop-filter:blur(18px)}
 .tp-mobile-dock a{position:relative;display:flex;min-width:0;min-height:62px;flex-direction:column;align-items:center;justify-content:center;gap:5px;border-radius:21px;color:#7891a1!important;text-decoration:none!important;font-size:10px;font-weight:700;line-height:1.05;letter-spacing:.01em;text-align:center;-webkit-tap-highlight-color:transparent;transition:color .18s ease,background .18s ease,transform .18s ease}
 .tp-mobile-dock a:active{transform:scale(.96)}
 .tp-mobile-dock a>i{font-size:19px;line-height:22px}
 .tp-mobile-dock a>span:last-child{display:block;max-width:100%;white-space:normal}
 .tp-mobile-dock a.is-active{color:#43e0c0!important;background:radial-gradient(circle at 50% 18%,rgba(45,218,186,.18),transparent 68%)}
 .tp-mobile-dock a.is-active::after{content:"";position:absolute;left:50%;bottom:2px;width:26px;height:3px;border-radius:99px;background:#42e0c0;box-shadow:0 0 12px rgba(66,224,192,.7);transform:translateX(-50%)}
 .tp-dock-candles{position:relative;display:flex!important;width:22px;height:22px;align-items:center;justify-content:center;gap:3px}
 .tp-dock-candles b{position:relative;display:block;width:4px;height:10px;border:1.8px solid currentColor;border-radius:1px}
 .tp-dock-candles b::before{content:"";position:absolute;left:50%;top:-5px;width:1.8px;height:18px;border-radius:2px;background:currentColor;transform:translateX(-50%);z-index:-1}
 .tp-dock-candles b:nth-child(2){height:15px;transform:translateY(-1px)}
 .tp-dock-candles b:nth-child(3){height:7px;transform:translateY(2px)}
}


/* Native TP customer navigation uses the same plain rows as Copy Trading. */
body.tp-customer-nav .sidebar .nano-content>ul>li.nav-item>a,
body.tp-customer-nav .sidebar .nano-content>ul>li.nav-item:hover>a,
body.tp-customer-nav .sidebar .nano-content>ul>li.nav-item>a.active,
body.tp-customer-nav .customer-nav-bar .navbar-collapse .nav-item>a{background:transparent!important;border:0!important;box-shadow:none!important;color:#c8d9e8!important}
body.tp-customer-nav .sidebar .nano-content>ul>li.nav-item>a:hover,
body.tp-customer-nav .sidebar .nano-content>ul>li.nav-item>a.active,
body.tp-customer-nav .customer-nav-bar .navbar-collapse .nav-item>a:hover,
body.tp-customer-nav .customer-nav-bar .navbar-collapse .nav-item>a.active{color:#65dfca!important}
body.tp-customer-nav .sidebar .nano-content>ul>li.nav-item>a:focus-visible,
body.tp-customer-nav .customer-nav-bar .navbar-collapse .nav-item>a:focus-visible{outline:2px solid #65dfca;outline-offset:2px}

.tp-global-theme-toggle{position:absolute;top:18px;right:18px;z-index:9;display:grid;place-items:center;width:48px;height:48px;padding:0;border:1px solid #315263;border-radius:50%;background:#0d2430;color:#67e0ca;box-shadow:0 10px 30px #0005;cursor:pointer;transition:transform .18s ease,background .18s ease,color .18s ease}
.tp-global-theme-toggle:hover{transform:translateY(-1px)}
.tp-global-theme-toggle:focus-visible{outline:3px solid #65dfca;outline-offset:3px}
body.tp-theme-light,body.tp-theme-light .page-body,body.tp-theme-light .customer-body{background:#f2f7f8!important;color:#193044!important}
body.tp-theme-light .customer-content,body.tp-theme-light main,body.tp-theme-light .card,body.tp-theme-light .customer-details-card,body.tp-theme-light .wallet-details-card,body.tp-theme-light .tp-retained,body.tp-theme-light .tp-avatar-settings{background:#fff!important;color:#193044!important;border-color:#d4e1e5!important}
body.tp-theme-light .card-header,body.tp-theme-light .card-footer,body.tp-theme-light .modal-content,body.tp-theme-light .dropdown-menu{background:#f8fbfc!important;color:#193044!important;border-color:#d4e1e5!important}
body.tp-theme-light input,body.tp-theme-light select,body.tp-theme-light textarea{background:#fff!important;color:#193044!important;border-color:#bdced5!important}
body.tp-theme-light label,body.tp-theme-light small,body.tp-theme-light .text-muted,body.tp-theme-light .muted{color:#607887!important}
body.tp-theme-light table,body.tp-theme-light th,body.tp-theme-light td{color:#193044!important;border-color:#dbe5e8!important}
body.tp-theme-light .tp-terms-dialog{background:#fff;color:#193044;border-color:#cadadf}
body.tp-theme-light .tp-terms-scroll{background:#f1f6f7}
body.tp-theme-light .tp-global-theme-toggle{background:#e8f5f3;color:#132c3d;border-color:#bcd8d4;box-shadow:0 10px 30px #3452}
body.tp-theme-light{--background-primary:#f4f7f8;--surface:#fff;--surface-soft:#eef4f6;--text-primary:#173047;--border-color:#d5e1e5}
body.tp-theme-light .wallet-summary-panel,body.tp-theme-light .featured-investment-panel,body.tp-theme-light .market-terminal-panel{background:#fff!important;color:#173047!important;border-color:#cfdee3!important;box-shadow:0 12px 32px rgba(31,65,78,.09)!important}
body.tp-theme-light .wallet-summary-panel::after{border-color:rgba(16,169,159,.08)}
body.tp-theme-light .wallet-balance-row h2,body.tp-theme-light .wallet-stat strong,body.tp-theme-light .row-metric strong,body.tp-theme-light .row-main strong,body.tp-theme-light .timeline-row strong,body.tp-theme-light .featured-investment-header h2,body.tp-theme-light .market-terminal-header h2,body.tp-theme-light .panel-header h2,body.tp-theme-light .featured-metric-card strong,body.tp-theme-light .market-quote-name strong,body.tp-theme-light .market-quote-price strong{color:#173047!important}
body.tp-theme-light .wallet-currency-select{color:#173047!important}
body.tp-theme-light .account-status-block,body.tp-theme-light .wallet-stat span:not(.wallet-stat-icon),body.tp-theme-light .row-metric,body.tp-theme-light .row-main small,body.tp-theme-light .timeline-row small,body.tp-theme-light .featured-metric-card span,body.tp-theme-light .featured-metric-card small,body.tp-theme-light .market-quote-name small{color:#607786!important}
body.tp-theme-light .wallet-stat,body.tp-theme-light .featured-metric-card,body.tp-theme-light .market-quote-row,body.tp-theme-light .customer-list-row,body.tp-theme-light .timeline-row,body.tp-theme-light .empty-state{background:#f7fafb!important;border-color:#d8e4e8!important;color:#173047!important}
body.tp-theme-light .featured-chart-frame{background:#f7fafb!important;border-color:#d8e4e8!important}
body.tp-theme-light .ghost-button{background:#f1f6f7!important;color:#173047!important;border-color:#cadadf!important}
body.tp-theme-light .market-live-strip{background:#e7f7f3!important;color:#315f59!important;border-color:#c7e6df!important}
body.tp-theme-light .arena-page{--arena-bg:#f4f7f8;--arena-panel:#fff;--arena-line:#d4e1e5;--arena-text:#173047;--arena-muted:#607786;background:#f4f7f8;color:#173047}
body.tp-theme-light.customer-body:has(.arena-page){background:#f4f7f8!important}
body.tp-theme-light .arena-intro h2,body.tp-theme-light .arena-how span,body.tp-theme-light .arena-section h2,body.tp-theme-light .arena-profile h3,body.tp-theme-light .arena-return-grid strong,body.tp-theme-light .arena-rank-list dd,body.tp-theme-light .arena-missions-heading h2,body.tp-theme-light .arena-reward-wallet h2{color:#173047!important}
body.tp-theme-light .arena-intro>p,body.tp-theme-light .arena-section header p,body.tp-theme-light .arena-update,body.tp-theme-light .arena-footnote,body.tp-theme-light .arena-profile div>span,body.tp-theme-light .arena-return-grid span,body.tp-theme-light .arena-rank-list dt,body.tp-theme-light .arena-performance-note{color:#607786!important}
body.tp-theme-light .arena-intro .arena-notice,body.tp-theme-light .arena-section,body.tp-theme-light .arena-performance,body.tp-theme-light .arena-rank-list,body.tp-theme-light .arena-missions,body.tp-theme-light .arena-reward-wallet,body.tp-theme-light .arena-task-card,body.tp-theme-light .arena-reward-options article,body.tp-theme-light .arena-enrollment-copy,body.tp-theme-light .arena-account-status{background:#fff!important;color:#173047!important;border-color:#d4e1e5!important;box-shadow:0 10px 28px rgba(31,65,78,.06)}
body.tp-theme-light .arena-table th{background:#eaf1f3!important;color:#294554!important}
body.tp-theme-light .arena-table td{background:#fff!important;color:#173047!important;border-color:#dbe5e8!important}
body.tp-theme-light .arena-table tr.arena-is-me td{background:#e7f7f3!important}
body.tp-theme-light .arena-table-footer{background:#eef4f6!important}
body.tp-theme-light .arena-strength-score{background:radial-gradient(ellipse,#fff 32%,#fffffff0 55%,transparent 74%)}
body.tp-theme-light .arena-strength-score strong{color:#173047!important}
body.tp-theme-light .arena-fixed-action{background:#fff!important;border-color:#d4e1e5!important;backdrop-filter:none;box-shadow:0 -8px 26px rgba(31,65,78,.12)}
body.tp-theme-light .arena-fixed-action small{color:#607786!important}
body.tp-theme-light .arena-eyebrow{color:#08796e!important}
@media(max-width:767px){.tp-global-theme-toggle{top:10px;right:68px;width:42px;height:42px}body.tp-theme-light .tp-mobile-dock{background:rgba(255,255,255,.98);border-color:#cbdde2;box-shadow:0 12px 30px rgba(31,65,78,.18)}}

/* A solid, high-contrast light palette shared by native customer pages. */
body.tp-theme-light{--tp-ink:#172b3c;--tp-muted:#4f6674;--tp-teal:#08796e;--tp-line:#cbd8de;--tp-canvas:#f6f8fa;--tp-surface:#fff;background:var(--tp-canvas)!important;color:var(--tp-ink)!important}
body.tp-theme-light :is(.page-body,.customer-body,.customer-content){background:var(--tp-canvas)!important;color:var(--tp-ink)!important}
body.tp-theme-light :is(.customer-panel,.dashboard-quick-stats,.investment-card,.wallet-transaction-row,.wallet-remarks,.order-info-holder,.featured-investment-panel,.market-terminal-panel,.wallet-summary-panel,.tp-avatar-settings){background:#fff!important;color:var(--tp-ink)!important;border-color:var(--tp-line)!important;box-shadow:0 4px 18px rgba(23,43,60,.07)!important;backdrop-filter:none!important}
body.tp-theme-light :is(.customer-panel,.wallet-summary-panel,.featured-investment-panel,.market-terminal-panel)::before{opacity:0!important}
body.tp-theme-light :is(.customer-panel,.wallet-summary-panel,.featured-investment-panel,.market-terminal-panel)::after{opacity:0!important}
body.tp-theme-light :is(.customer-panel,.panel-header,.panel-header h2,.wallet-summary-panel h2,.dashboard-position-name strong,.customer-list-row strong,.featured-investment-panel h2,.market-terminal-panel h2,.tp-avatar-settings h2){color:var(--tp-ink)!important}
body.tp-theme-light :is(.section-kicker,.panel-header p,.customer-panel small,.customer-list-row small,.wallet-summary-panel .section-kicker,.wallet-summary-panel .account-status-block,.wallet-stat span:not(.wallet-stat-icon),.tp-avatar-settings p){color:var(--tp-muted)!important}
body.tp-theme-light :is(.panel-header a,.market-terminal-header a,.customer-panel a:not(.button),.trend-positive,.wallet-summary-panel .trend-positive,.wallet-summary-panel strong.green-text,.dashboard-position-row strong.green-text,.market-quote-price .positive){color:var(--tp-teal)!important}
body.tp-theme-light :is(.wallet-summary-panel .trend-negative,.wallet-summary-panel strong.red-text,.dashboard-position-row strong.red-text,.market-quote-price .negative){color:#bd314b!important}
body.tp-theme-light :is(.green-soft,.teal-soft){background:#d9f2eb!important;color:#08796e!important}
body.tp-theme-light .amber-soft{background:#fff0ce!important;color:#8c5900!important}
body.tp-theme-light :is(.wallet-stat,.featured-metric-card,.market-quote-row,.customer-list-row,.timeline-row,.empty-state,.featured-chart-frame){background:#f9fbfc!important;border-color:#d7e1e5!important;color:var(--tp-ink)!important}
body.tp-theme-light :is(.wallet-balance-toggle,.wallet-currency-select,.row-metric,.row-metric strong,.row-main strong,.timeline-row strong,.featured-metric-card strong,.market-quote-price strong){color:var(--tp-ink)!important}
body.tp-theme-light :is(.market-live-strip,.account-status-pill){background:#e0f3ee!important;color:#17685e!important;border-color:#b7dcd2!important}
body.tp-theme-light :is(.primary-button,.customer-action-strip .primary-button){background:#08796e!important;border-color:#08796e!important;color:#fff!important;box-shadow:none!important}
body.tp-theme-light :is(.outline-button,.customer-action-strip .outline-button){background:#fff8e7!important;border-color:#d3a75a!important;color:#765016!important;box-shadow:none!important}
body.tp-theme-light :is(.ghost-button,.customer-action-strip .ghost-button){background:#e9f0f2!important;border-color:#bdced5!important;color:var(--tp-ink)!important;box-shadow:none!important}
body.tp-theme-light :is(button,a,input,select,textarea):focus-visible{outline:2px solid #08796e!important;outline-offset:3px}
body.tp-theme-light input::placeholder,body.tp-theme-light textarea::placeholder{color:#5b7180!important;opacity:1}
body.tp-theme-light .tp-mobile-dock a{color:#536a78!important}
body.tp-theme-light .tp-mobile-dock a.is-active{color:#08796e!important;background:#e1f4ef!important}
body.tp-theme-light .tp-mobile-dock a.is-active::after{background:#08796e;box-shadow:none}
body.tp-theme-light .customer-page-header h1{color:#172b3c!important}
body.tp-theme-light .customer-page-header .eyebrow{color:#345365!important}
body.tp-theme-light .account-status-holder.green-status{background:#dceee8!important;color:#17685e!important;border-color:#a9d4c6!important}
body.tp-theme-light .account-status-holder.red-status{background:#fae7e9!important;color:#a52843!important;border-color:#e7bdc5!important}
