.tb-redesign{--red-green:#148459;--red-chart:var(--chart-color,#9f86f7);--red-panel:var(--cs);--red-border:var(--bd);--red-muted:var(--mu)}.tb-redesign.dark-mode{--red-green:#52e5ac;--red-panel:#111a16;--red-border:#25372d;--red-muted:#9cac9f;background:var(--dashboard-background,#0a100d)}.tb-redesign *{box-sizing:border-box}.tb-redesign [hidden]{display:none!important}.tb-redesign button,.tb-redesign input,.tb-redesign select,.tb-redesign textarea{font:inherit}.tb-redesign button{border-radius:10px;min-height:38px;font-size:12px}.tb-redesign input,.tb-redesign select,.tb-redesign textarea{background:var(--bg);color:var(--tx);border:1px solid var(--red-border);border-radius:10px;padding:10px 12px;max-width:100%}.tb-redesign button:focus-visible,.tb-redesign input:focus-visible,.tb-redesign select:focus-visible,.tb-redesign textarea:focus-visible,.tb-redesign summary:focus-visible{outline:2px solid var(--red-green);outline-offset:3px}.tb-redesign .pri{background:var(--red-green)!important;color:#fff!important;border-color:var(--red-green)!important;box-shadow:none;font-weight:650}.tb-redesign.dark-mode .pri{color:#062519!important}.tb-redesign .g{color:var(--red-green)!important}.tb-redesign .r{color:#e36770!important}.tb-redesign .mu{color:var(--red-muted)}.tb-redesign h1,.tb-redesign h2,.tb-redesign h3{letter-spacing:-.025em;text-align:start}.tb-redesign header{height:70px;min-height:70px;padding:12px 24px!important;display:flex;align-items:center;gap:24px}.tb-redesign header>.sp{display:none}.tb-redesign header:after{display:none}.tb-redesign header .integrated-brand{min-width:178px;width:178px;margin:0!important}.tb-redesign header .brand-mark{width:34px;height:34px}.tb-redesign header .brand-wordmark{font-size:23px}.tb-redesign header .cx-search{order:1;flex:1;min-width:0;max-width:1100px;margin:0;padding:0;background:none;border:0;box-shadow:none;flex-wrap:nowrap}.tb-redesign header .cx-search>label{position:absolute;width:1px;height:1px;clip:rect(0,0,0,0);overflow:hidden}.tb-redesign header .cx-search>input{width:100%;min-width:0;font-family:'Segoe UI',sans-serif;height:42px;background:var(--red-panel)}.tb-redesign header .cx-search>button{width:38px;min-width:38px;height:38px;border-radius:50%;padding:0;font-size:0}.tb-redesign header .cx-search>button:after{content:'?';font-size:19px}.tb-redesign #authToolbar{order:2}.tb-redesign #v,.tb-redesign #tradingChartPage{padding:24px;max-width:none!important;min-width:0}.tb-redesign .sn-path{display:none}.red-sr{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap}.red-heading{display:flex;align-items:center;justify-content:space-between;gap:18px;margin:0 0 24px}.red-heading h1{font-size:clamp(25px,2.5vw,34px);margin:0 0 7px}.red-heading p{margin:0;font-size:13px;color:var(--red-muted)}.red-actions,.red-pills{display:flex;gap:10px;flex-wrap:wrap}.red-pills button{background:none;min-height:35px;padding:7px 16px;border-radius:22px;border-color:var(--red-border)}.red-pills [aria-pressed=true]{border-color:var(--red-green);box-shadow:inset 0 0 0 1px var(--red-green);color:var(--tx)}.red-panel,.red-stat{background:var(--red-panel);border:1px solid var(--red-border);border-radius:16px;padding:22px;min-width:0}.red-panel h3{font-size:17px;margin:0 0 16px}.red-panel p{line-height:1.65}.red-empty{display:flex;align-items:center;justify-content:center;gap:14px;min-height:170px;color:var(--red-muted)}.red-panel-top{display:flex;align-items:center;justify-content:space-between;gap:12px}.red-panel-top h3{margin:0}.red-account-tools{display:flex;align-items:center;gap:22px;margin-bottom:20px;flex-wrap:wrap}.red-account-tools>label{flex:1;min-width:200px}.red-account-tools input{width:100%}.red-account-list{display:grid;gap:16px}.red-account-row{display:grid;grid-template-columns:minmax(250px,1.6fr) minmax(160px,.8fr) auto;gap:18px 25px;background:var(--red-panel);border:1px solid var(--red-border);border-radius:17px;padding:22px 25px;align-items:center}.red-account-name{grid-column:1;display:flex;align-items:center;gap:10px;flex-wrap:wrap}.red-account-name>strong{font-size:19px;width:100%}.red-account-name>small{color:var(--red-muted)}.red-badge{border-radius:20px;background:#52e5ac18;color:var(--red-green);padding:4px 10px;font-size:11px}.red-account-values{grid-column:1;display:grid;grid-template-columns:1.2fr 1fr .5fr;gap:18px}.red-account-values>div{border-inline-end:1px solid var(--red-border);min-width:0}.red-account-values>div:last-child{border:0}.red-account-values span{display:block;font-size:11px;color:var(--red-muted);margin-bottom:7px}.red-account-values b{font-size:23px;overflow-wrap:anywhere}.red-spark{grid-column:2;grid-row:1/3;color:var(--red-muted);font-size:13px}.red-spark svg{width:100%;max-width:240px}.red-account-actions{grid-column:3;grid-row:1/3;display:flex;align-items:center;gap:10px}.red-account-actions .pri{min-width:135px}.red-journal-tools{display:flex;gap:18px;align-items:end;margin:0 0 18px;flex-wrap:wrap}.red-journal-tools label{display:grid;gap:6px;font-size:11px;min-width:160px}.red-journal-tools .red-pills{margin-inline-start:auto}.tb-redesign .cx-filters{padding:16px;background:var(--red-panel);border:1px solid var(--red-border)}.red-journal-layout{display:grid;grid-template-columns:minmax(0,1fr);gap:16px}.red-journal-layout.has-selection{grid-template-columns:minmax(0,1.4fr) minmax(300px,.8fr)}.red-journal-list{padding:0;overflow:hidden}.red-table-scroll{overflow-x:auto}.red-table-scroll table{min-width:800px;width:100%;border-collapse:collapse;font-size:12px}.red-table-scroll th{color:var(--red-muted);font-size:11px;background:transparent;font-weight:500;text-transform:none;letter-spacing:0}.red-table-scroll th,.red-table-scroll td{text-align:start;padding:14px 12px;border-bottom:1px solid var(--red-border);max-width:210px;overflow-wrap:anywhere}.red-table-scroll td small{display:block;color:var(--red-muted);font-size:10px}.red-table-scroll tr.selected{background:#52e5ac12;box-shadow:inset 3px 0 var(--red-green)}.red-table-scroll td button{color:var(--red-green);border:0;background:none;padding:0;min-height:28px}.red-pagination{display:flex;align-items:center;justify-content:flex-end;gap:16px;padding:16px;font-size:12px;color:var(--red-muted)}.red-trade-detail{position:sticky;top:85px;align-self:start;max-height:calc(100vh - 110px);overflow:auto}.red-trade-detail>.tc{margin-top:16px;padding:0;background:none;border:0;box-shadow:none}.red-trade-detail .tc .t{flex-wrap:wrap;gap:8px}.red-trade-detail .th{grid-template-columns:1fr}.red-trade-detail .fg img{max-height:230px;object-fit:contain}.red-journal-list>.tc{margin:15px}.red-stat-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;margin-bottom:18px}.red-stat{min-height:125px}.red-stat>span{display:block;color:var(--red-muted);font-size:12px}.red-stat>strong{display:block;font-size:clamp(23px,2.5vw,34px);letter-spacing:-.04em;margin-top:20px;overflow-wrap:anywhere}.red-calendar-layout{display:grid;grid-template-columns:minmax(0,1fr) 285px;gap:20px;align-items:start}.red-calendar-main .red-stat-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.red-calendar-main .bar{padding:14px;border:1px solid var(--red-border);border-radius:12px;flex-wrap:wrap}.red-calendar-main .bar h2{font-size:18px}.red-calendar-main .account-calendar{gap:5px;min-width:650px}.red-calendar-main .d{min-height:92px;padding:10px;border-radius:9px;box-shadow:none;background:var(--red-panel);border-color:var(--red-border)}.red-calendar-main .d.w{background:#52e5ac13;border-color:#52e5ac44}.red-calendar-main .d.l{background:#f06c7512;border-color:#f06c7544}.red-calendar-main .d.sel{outline:2px solid var(--red-chart);outline-offset:-2px}.red-calendar-main .d small{font-size:10px}.red-calendar-main .week-total{min-height:92px;background:var(--red-panel);border-inline-start:2px solid var(--red-border)}.red-calendar-day{position:sticky;top:90px}.red-calendar-day>h3{margin-bottom:20px}.red-day-trade{border-bottom:1px solid var(--red-border);padding:15px 0}.red-day-trade strong{font-size:15px}.red-day-trade b{float:inline-end}.red-day-trade p{font-size:12px;color:var(--red-muted)}.red-calendar-day>.pri{width:100%;margin-top:20px}.red-week-note{font-size:11px;border-top:1px solid var(--red-border);padding-top:20px;margin-top:25px}.red-day-legacy .bar{flex-wrap:wrap}.red-overview .red-stat-grid{margin-top:18px}.red-more-stats{padding:14px 18px;margin:18px 0}.red-more-stats>summary{cursor:pointer;font-size:13px;font-weight:600}.red-more-stats .account-detail-metrics{margin-top:18px}.red-how{margin:20px 0;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:20px;padding:20px}.red-how h3{grid-column:1/-1;margin:0}.red-how p{font-size:12px;color:var(--red-muted);margin:7px 0 0}.red-insight-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.red-insight-grid>.balance-chart{grid-column:1/-1}.red-insight-grid .box{background:var(--red-panel);border-color:var(--red-border)}.red-insight-grid .insight-chart{max-height:340px}.tb-redesign .lot-layout{grid-template-columns:minmax(0,1.2fr) minmax(300px,1fr);align-items:start;gap:18px}.tb-redesign .lot-basic,.tb-redesign .lot-result,.tb-redesign .lot-advanced{background:var(--red-panel);border-color:var(--red-border);border-radius:16px}.tb-redesign .lot-basic .lot-fields{grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}.tb-redesign .lot-result{position:sticky;top:88px}.tb-redesign .lot-total strong{color:var(--red-green)}.red-chart-layout{display:grid;grid-template-columns:minmax(0,1fr) 290px;gap:18px}.red-chart-layout .trading-chart-panel{background:var(--red-panel);border-color:var(--red-border);padding:16px}.red-chart-note textarea{width:100%;resize:vertical;min-height:220px;line-height:1.6;font-size:13px}.red-chart-note button{width:100%;margin-top:14px}.red-chart-note p{font-size:11px;color:var(--red-muted)}.red-chart-layout #tradingChartHost{height:clamp(520px,calc(100vh - 230px),850px)}.red-economic-layout{display:grid;grid-template-columns:minmax(0,1fr) 280px;gap:18px}.red-economic-layout #econBox{min-width:0;background:var(--red-panel);border-color:var(--red-border)}.red-economic-layout .econ-tools{justify-content:flex-start;gap:8px}.red-economic-layout .econ-tools>input{max-width:180px}.red-economic-layout .econ-wrap{max-height:650px;border-color:var(--red-border)}.red-economic-layout .econ-detail div{position:static;width:auto;box-shadow:none;border:0;background:none}.red-event-detail{align-self:start;position:sticky;top:85px}.red-event-detail p,.red-event-detail table{font-size:12px}.red-event-detail table{width:100%;overflow-wrap:anywhere}.red-settings-layout{display:grid;grid-template-columns:205px minmax(0,1fr);gap:20px}.red-settings-nav{display:flex;flex-direction:column;align-self:start;gap:9px;padding:16px;border:1px solid var(--red-border);border-radius:14px;background:var(--red-panel)}.red-settings-nav button{text-align:start;border:0;background:none;padding:11px 14px}.red-settings-nav [aria-pressed=true]{background:#52e5ac15;color:var(--red-green);box-shadow:inset 2px 0 var(--red-green)}.red-settings-content{min-width:0}.red-settings-content .settings-module{background:var(--red-panel);border-color:var(--red-border);margin-top:0!important;margin-bottom:16px}.red-appearance-preview{margin-bottom:18px;display:grid;grid-template-columns:1fr 1fr;gap:18px;align-items:center}.red-appearance-preview h3{margin:0}.red-appearance-preview p{color:var(--red-muted);font-size:12px}.red-mini-preview{grid-column:2;grid-row:1/3;background:var(--bg);border:1px solid var(--red-border);height:140px;display:flex;padding:12px;gap:12px;border-radius:10px}.red-mini-preview>div{width:32px;border-inline-end:1px solid var(--red-border)}.red-mini-preview>section{display:flex;flex-wrap:wrap;gap:7px;width:100%}.red-mini-preview i{width:28%;height:24px;background:var(--red-panel);border:1px solid var(--red-border);border-radius:4px}.red-mini-preview svg{width:100%;height:65px}.red-profile{display:grid;grid-template-columns:1fr 1fr;gap:18px;align-items:start}.red-profile>.page-back-row,.red-profile>.profile-heading,.red-profile>.grid{grid-column:1/-1}.red-profile>.box{margin:0;background:var(--red-panel);border-color:var(--red-border)}.red-profile-sync{grid-column:2;grid-row:3;min-height:220px}.red-profile-form{grid-column:1;grid-row:3}.red-profile-backups,.red-profile-import{min-height:180px}.red-profile .f{grid-template-columns:1fr}.red-profile .profile-heading{margin:0}.red-profile .profile-heading h2{font-size:30px}.red-profile-sync .auth-avatar{width:44px!important;height:44px!important}.red-account-picker{display:grid;gap:12px;min-width:min(380px,90vw)}
.red-flow-steps{display:flex;align-items:center;justify-content:center;gap:15px;padding:18px 24px;border-bottom:1px solid var(--red-border)}.red-flow-steps button{border:0;background:transparent;color:var(--red-muted);border-radius:24px;padding:10px 20px}.red-flow-steps [aria-current=step]{color:var(--red-green);background:#52e5ac15;box-shadow:inset 0 0 0 1px var(--red-green)}.tb-redesign #m:has(.red-editor),.tb-redesign #m:has(.red-import){padding:20px;background:#0009;align-items:center}.red-editor{width:min(1240px,100%)!important;max-height:94dvh;display:flex;flex-direction:column;background:var(--red-panel);border-color:var(--red-border)}.red-editor .trade-editor-body{display:grid;grid-template-columns:minmax(0,1fr) 300px;gap:20px;padding:22px;overflow:auto}.red-editor .trade-fields{display:block;min-width:0}.red-editor-stage{display:grid;grid-template-columns:1fr 1fr;gap:16px}.red-editor-stage .trade-section-label,.red-editor-stage .w2,.red-editor-stage #diaryZones,.red-editor-stage #pv,.red-editor-stage #redZoneTabs{grid-column:1/-1}.red-editor-stage[data-editor-stage="2"]{display:block}.red-editor-stage label{display:flex;flex-direction:column;gap:8px;font-size:12px}.red-editor-stage #diaryZones{display:block;min-height:150px}.red-editor .zn{min-height:180px;background:var(--bg);border-color:var(--red-border)}.red-editor .th{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.red-editor .th img{height:170px;width:100%;object-fit:contain}.red-editor .diary-tools{display:flex;gap:8px;align-items:end;flex-wrap:wrap}.red-editor .diary-tools label{flex:1;min-width:150px}.red-editor .diary-tools button{font-size:10px}.red-editor-summary{align-self:start}.red-editor-summary dl,#redEditorReview dl{margin:20px 0 0}.red-editor-summary dl>div,#redEditorReview dl>div{display:flex;justify-content:space-between;gap:18px;border-top:1px solid var(--red-border);padding:12px 0;font-size:12px}.red-editor-summary dt,#redEditorReview dt{color:var(--red-muted)}.red-editor-summary dd,#redEditorReview dd{margin:0;text-align:end;overflow-wrap:anywhere}.red-editor .trade-modal-foot{display:flex;align-items:center;flex-wrap:wrap;gap:10px;padding:16px 22px}.red-import{width:min(1200px,100%)!important;max-height:94dvh;overflow:auto;display:grid;grid-template-columns:minmax(0,1fr) 290px;gap:18px;padding:25px!important;background:var(--red-panel)!important;border:1px solid var(--red-border)!important}.red-import>h3,.red-import>.red-flow-steps,.red-import>#importDestinationNotice,.red-import>.red-import-footer{grid-column:1/-1}.red-import>h3{margin:0;font-size:27px}.red-import>.red-flow-steps{padding:0 0 16px}.red-import-stage{grid-column:1;display:grid;grid-template-columns:1fr 1fr;gap:16px;align-content:start;min-width:0}.red-import-stage>label{display:grid;gap:8px;font-size:12px;min-width:0}.red-import-stage>#importDrop,.red-import-stage>#importPreview,.red-import-stage>.red-mapping{grid-column:1/-1}.red-import-summary{grid-column:2;grid-row:4/8;align-self:start}.red-import-summary p{font-size:12px}.red-import>p.mu{display:none}.red-import-footer{display:flex;align-items:center;justify-content:flex-end;gap:10px;flex-wrap:wrap}.red-mapping{border:1px solid var(--red-border);border-radius:10px;padding:12px}.red-mapping summary{cursor:pointer;font-weight:600}.red-mapping .f{margin-top:15px}.red-import .import-table{overflow:auto}.red-import .import-table table{min-width:500px}.red-import #importDestinationNotice{padding:14px;border:1px solid var(--red-border);border-radius:10px;background:var(--bg)}
@media(min-width:761px){.tb-redesign #app .sb,.tb-redesign #app.sidebar-compact .sb,.tb-redesign #app.sidebar-compact .sb:hover{width:220px!important;padding:16px 12px!important;margin:0!important;transition:none;box-shadow:none;background:transparent;border-color:var(--red-border)}.tb-redesign #app.sidebar-compact .nav-label,.tb-redesign #app .nav-label{display:inline!important;white-space:normal}.tb-redesign #app .main-navigation{gap:12px}.tb-redesign #app .sb .main-navigation>section>button{display:flex!important;align-items:center;justify-content:flex-start!important;gap:12px;min-height:43px;width:100%;padding:10px 14px!important;border:0!important;border-radius:9px;background:transparent!important;box-shadow:none!important;font-weight:500;color:var(--tx)!important;text-align:start}.tb-redesign #app .sb .main-navigation>section>button.on{background:#52e5ac16!important;color:var(--red-green)!important;box-shadow:inset 2px 0 var(--red-green)!important;font-weight:700}.tb-redesign #app .sb svg{width:21px!important;height:21px!important}.tb-redesign #app .sn-children{display:grid!important;padding:8px 0 8px 12px!important;margin:0 0 0 18px!important;border-inline-start:1px solid var(--red-border)!important;gap:7px}.tb-redesign #app .sn-children button{min-height:30px;font-size:11px;padding:6px 10px!important;background:none!important;border:0!important;justify-content:flex-start!important;color:var(--red-muted)!important;text-align:start}.tb-redesign #app .sn-children button.on{color:var(--red-green)!important}.red-account-context{font-size:11px;color:var(--red-muted);overflow-wrap:anywhere}}
@media(max-width:1200px){.red-account-row{grid-template-columns:minmax(200px,1fr) 150px}.red-account-actions{grid-column:2;grid-row:2}.red-spark{grid-row:1;grid-column:2}.red-journal-layout.has-selection{grid-template-columns:minmax(0,1fr)}.red-trade-detail{position:static;max-height:none}.red-calendar-layout{grid-template-columns:minmax(0,1fr)}.red-calendar-day{position:static}.red-how{grid-template-columns:1fr 1fr}.red-chart-layout{grid-template-columns:minmax(0,1fr) 245px}.red-economic-layout{grid-template-columns:minmax(0,1fr)}.red-event-detail{position:static}.red-editor .trade-editor-body{grid-template-columns:minmax(0,1fr) 250px}}
@media(max-width:760px){.tb-redesign header{height:auto!important;gap:10px!important}.tb-redesign header .integrated-brand{width:auto;min-width:0}.tb-redesign header .cx-search{order:3;flex-basis:100%;max-width:none}.tb-redesign #v,.tb-redesign #tradingChartPage{padding:18px 12px 35px!important}.tb-redesign #app .sb .sn-section{flex:0 0 auto!important}.tb-redesign .sn-children{display:none!important}.red-heading{flex-direction:column;align-items:flex-start;margin-bottom:20px;gap:15px}.red-heading h1{font-size:27px}.red-actions{width:100%}.red-actions button{flex:1}.red-account-tools{gap:12px}.red-account-tools>label{width:100%}.red-account-tools .red-pills{gap:6px}.red-pills button{font-size:11px;padding:7px 12px}.red-account-row{grid-template-columns:1fr;padding:20px;gap:18px}.red-account-values{grid-column:1;grid-row:2;gap:12px}.red-account-values b{font-size:19px}.red-spark{grid-column:1;grid-row:3}.red-spark svg{max-width:none;height:65px}.red-account-actions{grid-column:1;grid-row:4}.red-account-actions .pri{flex:1}.red-journal-tools{gap:10px}.red-journal-tools label{min-width:0;flex:1}.red-journal-tools .red-pills{margin:0;width:100%}.red-stat-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.red-stat{padding:15px;min-height:115px}.red-stat>strong{font-size:24px}.red-calendar-main .red-stat-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.red-calendar-main .red-stat{padding:12px}.red-calendar-main .red-stat>strong{font-size:20px}.red-calendar-main .red-stat>span{font-size:10px}.red-calendar-main .bar .sp{display:none}.red-calendar-main .bar .mu{font-size:10px}.red-calendar-day{padding:18px}.red-how{grid-template-columns:1fr}.red-insight-grid{grid-template-columns:1fr}.tb-redesign .lot-layout{grid-template-columns:1fr!important}.tb-redesign .lot-result{position:static}.tb-redesign .lot-basic .lot-fields{grid-template-columns:1fr}.red-chart-layout{grid-template-columns:1fr}.red-chart-layout #tradingChartHost{height:580px}.red-settings-layout{grid-template-columns:1fr}.red-settings-nav{flex-direction:row;overflow-x:auto;padding:8px;gap:6px}.red-settings-nav button{white-space:nowrap;flex:none;padding:8px 12px}.red-appearance-preview{display:block}.red-mini-preview{margin:15px 0;height:130px}.red-profile{grid-template-columns:1fr}.red-profile>*{grid-column:1!important;grid-row:auto!important}.red-profile-form{order:1}.red-profile-sync{order:2}.red-profile>.grid{order:3}.red-profile-import{order:4}.red-profile-backups{order:5}.tb-redesign #m:has(.red-editor),.tb-redesign #m:has(.red-import){padding:8px;align-items:stretch}.red-editor{max-height:98dvh}.red-editor .trade-editor-body{grid-template-columns:1fr;padding:15px}.red-editor-summary{display:none}.red-flow-steps{padding:12px 8px;gap:5px}.red-flow-steps button{font-size:11px;padding:8px 12px}.red-editor-stage{grid-template-columns:1fr}.red-editor .th{grid-template-columns:1fr}.red-editor .trade-modal-foot{padding:12px;gap:7px}.red-editor .trade-modal-foot .sp{display:none}.red-editor .trade-modal-foot button{flex:1;font-size:11px}.red-import{grid-template-columns:1fr!important;padding:16px!important;gap:14px}.red-import>*{grid-column:1!important;grid-row:auto!important}.red-import-stage{grid-template-columns:1fr;min-width:0}.red-import-summary{order:1}.red-import-footer{order:2}.red-import-footer button{flex:1;font-size:11px}.red-import>h3{font-size:23px}.red-import .f{grid-template-columns:1fr}}
.tb-redesign{font-family:'Segoe UI',sans-serif}.tb-redesign h3,.tb-redesign h4{color:var(--tx)!important}.tb-redesign header .cx-search input{font-family:'Segoe UI',sans-serif!important}.tb-redesign #m{z-index:1000!important}.red-flow-steps{background:transparent!important;box-shadow:none!important;border-radius:0}.red-overview-layout{display:grid;grid-template-columns:minmax(0,1fr) 280px;gap:18px;margin-top:20px;align-items:start}.red-overview-layout>.red-how{display:block;margin:0;position:sticky;top:90px}.red-overview-layout>.red-how>div{padding:14px 0;border-bottom:1px solid var(--red-border)}.red-overview-layout .insight-chart{max-height:280px}.red-overview-layout .balance-chart .insight-chart{max-height:330px}.red-overview-layout .insight-grid{margin-top:0}.red-settings-content{display:grid;grid-template-columns:minmax(0,1fr) 340px;gap:18px;align-items:start}.red-settings-content>.settings-module{grid-column:1/-1;margin:0!important}.red-settings-content>.red-theme-module{grid-column:1;grid-row:1}.red-settings-content>.red-appearance-preview{grid-column:2;grid-row:1;display:block;margin:0}.red-appearance-preview .red-mini-preview{margin:15px 0}.red-settings-content>.red-panel:not(.red-appearance-preview){grid-column:1/-1}.red-import>.red-import-stage{min-height:230px}.red-import-summary>p:first-of-type{padding-bottom:15px;border-bottom:1px solid var(--red-border)}
@media(max-width:1100px){.red-settings-content{grid-template-columns:1fr}.red-settings-content>.red-appearance-preview,.red-settings-content>.red-theme-module{grid-column:1;grid-row:auto}.red-overview-layout{grid-template-columns:minmax(0,1fr)}.red-overview-layout>.red-how{position:static;display:grid;grid-template-columns:1fr 1fr}}@media(max-width:760px){.red-overview-layout>.red-how{display:block}.red-settings-content{display:block}.red-settings-content>.red-appearance-preview,.red-settings-content>.settings-module{margin-bottom:16px!important}}
@media(max-width:760px){.tb-redesign #app main{inline-size:100%!important;max-inline-size:100vw!important;min-inline-size:0!important}.red-settings-layout{grid-template-columns:minmax(0,1fr);width:100%;min-width:0}.red-settings-nav,.red-settings-content,.red-appearance-preview,.red-mini-preview{min-width:0;max-width:100%;width:100%}.red-settings-content .saved-palettes,.red-settings-content .saved-palette,.red-settings-content .palette-save-form{min-width:0;max-width:100%;flex-wrap:wrap}.red-settings-content .saved-palette>div{min-width:0}.red-settings-content .saved-palette strong{overflow-wrap:anywhere}.red-settings-content .palette-save-form label{min-width:0;width:100%}.red-settings-content input{min-width:0}}
@media(min-width:761px){.tb-redesign #app.sidebar-compact .sb:not(:hover):not(:focus-within){width:76px!important;padding:16px 10px!important}.tb-redesign #app.sidebar-compact .sb:not(:hover):not(:focus-within) .nav-label,.tb-redesign #app.sidebar-compact .sb:not(:hover):not(:focus-within) .sn-children{display:none!important}.tb-redesign #app.sidebar-compact .sb:not(:hover):not(:focus-within) .main-navigation>section>button{justify-content:center!important;padding:10px!important}}

/* Account identity, controls and performance share the leading overview panel. */
.red-more-stats>summary{font-size:15px;margin-bottom:20px}
.red-more-stats>.red-heading{margin-top:4px}
.red-more-stats>.account-page-toolbar{margin-bottom:18px}
.red-more-stats>.red-stat-grid{margin-bottom:18px}

/* A separate heading and numeric trade-count row keep period statistics scannable. */
#v .account-detail-metrics .performance-period-title{text-align:center;font-size:17px;font-weight:650;margin:24px 0 20px;padding-top:22px;border-top:1px solid var(--bd)}
.account-detail-metrics .performance-trade-counts{grid-column:1/-1;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:20px;padding-bottom:20px;margin-bottom:4px;border-bottom:1px solid var(--bd)}
@media(max-width:650px){.account-detail-metrics .performance-trade-counts{grid-template-columns:repeat(2,minmax(0,1fr));gap:20px 10px}}
