/* Shared research and account surfaces. Trade direction retains the chart's own colours. */
:root {
  --desk-paper:#f4f7f5; --desk-panel:#fff; --desk-subtle:#eaf1ec; --desk-ink:#142f34;
  --desk-muted:#4e6565; --desk-rule:#ccd9d3; --desk-accent:#126157; --desk-focus:#006baa;
  --desk-night:#0d2c32; --desk-mint:#b6ead9; --desk-button:#116256; --desk-button-text:#fff;
}
html[data-theme=dark] {
  --desk-paper:#0d191d; --desk-panel:#14262b; --desk-subtle:#20363a; --desk-ink:#edf5f2;
  --desk-muted:#b0c3c0; --desk-rule:#385151; --desk-accent:#91dbbf; --desk-focus:#85d6fd;
  --desk-button:#a9e4ce; --desk-button-text:#0a322a;
}
.cpf-visually-hidden,.cpf-skip:not(:focus){position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
.cpf-welcome *, .cpf-guide * {box-sizing:border-box}
.cpf-welcome {margin:0;background:var(--desk-paper);color:var(--desk-ink);font:450 1rem/1.55 var(--cpf-type);-webkit-font-smoothing:antialiased}
.cpf-welcome a,.cpf-guide button,.cpf-guide-replay {font-family:inherit}
.cpf-welcome :focus-visible,.cpf-guide :focus-visible,button.cpf-guide-replay:focus-visible {outline:3px solid var(--desk-focus);outline-offset:3px}
.cpf-skip:focus {position:fixed;z-index:10;inset:8px auto auto 8px;background:var(--desk-panel);color:var(--desk-ink);padding:10px}
.cpf-welcome-bar {background:var(--desk-night);color:#fff}
.cpf-welcome-bar nav {max-width:78rem;margin:auto;padding:.65rem clamp(1rem,4vw,3.75rem);display:flex;align-items:center;justify-content:space-between;gap:.65rem}
.cpf-welcome-bar .cpf-entry-brand {display:flex;width:clamp(6.4rem,12vw,9rem);flex-shrink:0}
.cpf-welcome-bar .cpf-entry-brand img {width:100%;height:auto}
html[data-theme] .cpf-welcome-bar .cpf-lockup-light {display:none!important}
html[data-theme] .cpf-welcome-bar .cpf-lockup-dark {display:block!important}
.cpf-welcome-bar nav>div {display:flex;align-items:center;gap:clamp(.4rem,2vw,1.5rem)}
.cpf-welcome-bar nav>div a {display:inline-flex;align-items:center;min-height:44px;padding:0 .35rem;text-decoration:none;font-size:.89rem;font-weight:600;color:#e4f2eb}
.cpf-welcome-bar nav>div .cpf-welcome-signin {border:1px solid #75908b;padding-inline:1rem;border-radius:.55rem}
.cpf-welcome main,.cpf-welcome-footer {max-width:78rem;margin:auto;padding-inline:clamp(1rem,4vw,3.75rem)}
.cpf-welcome-hero {display:grid;grid-template-columns:minmax(0,1fr) minmax(0,.97fr);gap:clamp(2rem,5vw,5.25rem);align-items:center;padding-block:clamp(2.5rem,6vw,6rem)}
.cpf-walkthrough {margin-top:.7rem;color:var(--desk-accent)}
.cpf-walkthrough summary {width:fit-content;min-height:44px;padding:.65rem .25rem;cursor:pointer;font-weight:650}
.cpf-walkthrough summary span {margin-inline-start:.4rem;color:var(--desk-muted);font-weight:500;font-variant-numeric:tabular-nums}
.cpf-walkthrough video {display:block;width:100%;height:auto;aspect-ratio:16/9;background:#0c1d25;border-radius:.65rem}
.cpf-section-label {display:flex;align-items:center;gap:.6rem;margin:0 0 1.2rem;color:var(--desk-accent);font-size:.78rem;font-weight:700;letter-spacing:.1em;text-transform:uppercase}
.cpf-section-label::before {content:"";width:1.8rem;height:2px;background:currentColor}
.cpf-welcome h1 {font-size:clamp(2.6rem,5.1vw,5rem);line-height:1.04;letter-spacing:-.057em;margin:0;font-weight:690}
.cpf-welcome h1 em {display:block;font-style:normal;color:var(--desk-accent)}
.cpf-welcome-lead {max-width:48ch;margin:1.25rem 0 1.55rem;color:var(--desk-muted);font-size:clamp(1rem,1.4vw,1.16rem);line-height:1.6}
.cpf-welcome-actions {display:flex;align-items:center;gap:1.35rem;flex-wrap:wrap}
.cpf-cta,.cpf-text-link {min-height:46px;display:inline-flex;align-items:center;justify-content:center;font-weight:650}
.cpf-cta {background:var(--desk-button);color:var(--desk-button-text);text-decoration:none;padding:.7rem 1.25rem;border-radius:.6rem}
.cpf-text-link {color:var(--desk-accent);text-underline-offset:4px}
.cpf-cta-note {max-width:42ch;color:var(--desk-muted);font-size:.85rem;line-height:1.5;margin:1rem 0 0}
.cpf-welcome-section {padding-block:clamp(1.6rem,3.5vw,3.2rem);border-top:1px solid var(--desk-rule);display:grid;grid-template-columns:minmax(12rem,.7fr) minmax(0,1.5fr);gap:clamp(1rem,3.5vw,3.4rem)}
.cpf-section-intro h2 {font-weight:660;line-height:1.13;letter-spacing:-.045em;font-size:clamp(1.5rem,2.4vw,2.25rem);margin:0}
.cpf-section-intro p,.cpf-questions dd,.cpf-plan-fallback {color:var(--desk-muted);margin:.65rem 0 0}
.cpf-price-grid {align-self:start;display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,14rem),1fr));gap:.75rem}
.cpf-public-plan {background:var(--desk-panel);border:1px solid var(--desk-rule);border-radius:.85rem;padding:clamp(1rem,2vw,1.5rem)}
.cpf-public-plan h3 {margin:0;font-size:.97rem;font-weight:650}
.cpf-public-plan .cpf-text-link {gap:.5rem;margin-top:.35rem;font-size:.92rem}
.cpf-installed-tour {max-width:34rem;margin:0 auto 1rem}
.cpf-installed-tour:has(.cpf-guide[hidden]) {max-width:none;margin:0 0 .5rem}
.cpf-installed-tour [hidden] {display:none!important}
.cpf-public-plan p {font-size:.9rem;margin:.15rem 0;color:var(--desk-muted)}
.cpf-public-plan .cpf-public-price {font-size:clamp(2.35rem,4vw,3.4rem);letter-spacing:-.065em;font-weight:640;color:var(--desk-ink);font-variant-numeric:tabular-nums;line-height:1.15;margin:.8rem 0 .45rem}
.cpf-section-intro .cpf-test-notice {display:inline-flex;background:var(--desk-subtle);color:var(--desk-accent);font-weight:650;font-size:.8rem;padding:.35rem .65rem;border-radius:.35rem}
.cpf-questions dl {margin:0}.cpf-questions dl>div+div {margin-top:1.1rem;padding-top:1.1rem;border-top:1px solid var(--desk-rule)}
.cpf-questions dt {font-weight:675}.cpf-questions dd {margin:.25rem 0 0;max-width:62ch}
.cpf-welcome-end {padding-bottom:2rem;text-align:right}
.cpf-welcome-footer {padding-block:1.2rem 2.5rem;border-top:1px solid var(--desk-rule);font-size:.79rem;color:var(--desk-muted)}
.cpf-welcome-footer p {margin:.2rem 0}

.cpf-guide {box-sizing:border-box;width:100%;min-width:0;overflow:hidden;text-align:left;border:1px solid var(--desk-rule);border-radius:1.15rem;background:var(--desk-panel);color:var(--desk-ink);box-shadow:0 12px 36px -23px #153e3b4d;font:450 1rem/1.5 var(--cpf-type)}
.cpf-guide [hidden],.cpf-guide[hidden],.cpf-guide-replay[hidden] {display:none!important}
.cpf-guide-top {display:flex;align-items:center;justify-content:space-between;background:var(--desk-night);color:#e3f3ed;padding:.85rem 1.35rem;font-size:.79rem;font-weight:640}
.cpf-guide-count {color:#a8c5c1;font-variant-numeric:tabular-nums;letter-spacing:.08em}
.cpf-guide-count b {color:white}
.cpf-guide-stage {position:relative;display:flex;flex-direction:column;justify-content:center;height:clamp(10rem,14vw,13rem);margin:0 0 1rem;background:#12373b;color:#e5f5ef;padding:.5rem 1.35rem 1.55rem;overflow:hidden}
.cpf-guide-market {display:flex;align-items:baseline;gap:1.2rem;line-height:1}
.cpf-guide-market>span {display:inline-flex;align-items:baseline;gap:.4rem;color:#b2cbc7;font-size:.8rem}
.cpf-guide-market strong {color:#fff;font-size:1.15rem}.cpf-guide-market small {font:500 .65rem var(--cpf-type);color:#afd4cc}
.cpf-guide-plot {display:block;width:100%;height:calc(100% - 1.3rem);object-fit:fill;min-height:0}
.cpf-guide-stage .cpf-guide-example {position:absolute;bottom:.35rem;right:1.3rem;font-size:.63rem;letter-spacing:.035em;color:#bdd6ce}
.cpf-guide-table {display:grid;grid-template-columns:1fr 1.05fr 1fr;text-align:center;font-size:.83rem;font-variant-numeric:tabular-nums}
.cpf-guide-table>*{padding:.25rem;border-bottom:1px solid #365859}
.cpf-guide-table span {color:#bbd7d0;font-size:.71rem}.cpf-guide-table b {font-weight:500}
.cpf-guide-table strong {background:#264a4a;color:#dbf6e9}.cpf-guide-table>*:nth-child(n+7):nth-child(-n+9) {color:#edffc4;background:#355746}
.cpf-guide-trail {display:grid;gap:.35rem}
.cpf-guide-trail>div {display:flex;align-items:center;gap:.8rem;border-bottom:1px solid #35575a;padding:.3rem .15rem}
.cpf-guide-trail img {filter:brightness(0) invert(1);opacity:.78}
.cpf-guide-trail span {flex:1;font-size:.88rem;font-weight:650;display:flex;align-items:center;justify-content:space-between;gap:.45rem}
.cpf-guide-trail small {color:#bdd6ce;font-size:.7rem;font-weight:450}
.cpf-guide .cpf-guide-step h2 {margin:0 1.35rem .25rem;color:var(--desk-ink);font:670 clamp(1.16rem,1.8vw,1.45rem)/1.25 var(--cpf-type);letter-spacing:-.035em}
.cpf-guide .cpf-guide-step p {margin:0 1.35rem;color:var(--desk-muted);font-size:.91rem;line-height:1.55;min-height:4.65em}
.cpf-guide-step:last-of-type {margin-bottom:0}
.cpf-guide-actions {display:flex;align-items:center;gap:.5rem;border-top:1px solid var(--desk-rule);margin-top:.8rem;padding:.6rem 1rem}
.cpf-guide-actions button,.cpf-guide-replay {min-height:44px;border:0;border-radius:.55rem;padding:.55rem .85rem;font:630 .85rem var(--cpf-type);background:transparent;color:var(--desk-accent);cursor:pointer}
.cpf-guide-actions button:disabled {color:var(--desk-muted);opacity:.48;cursor:default}
.cpf-guide-actions [data-guide-next] {margin-inline-start:auto;background:var(--desk-button);color:var(--desk-button-text);padding-inline:1.2rem}
.cpf-guide-replay {border:1px solid var(--desk-rule);background:var(--desk-panel)}
html[lang=hi] .cpf-welcome h1 {letter-spacing:-.035em;line-height:1.22}
@media(max-width:800px) {
  .cpf-welcome-hero {grid-template-columns:1fr 1fr;gap:1.15rem}
  .cpf-welcome h1 {font-size:clamp(2.5rem,5.7vw,3.7rem)}
  .cpf-welcome-section {grid-template-columns:1fr}
}
@media(max-width:620px) {
  .cpf-welcome-hero {grid-template-columns:1fr;padding-block:1.7rem;gap:1.4rem}
  .cpf-welcome h1 {font-size:clamp(2.5rem,11vw,3.6rem);max-width:15ch}
  .cpf-section-label {margin-bottom:.7rem}.cpf-welcome-lead {margin:.75rem 0 1rem}
  .cpf-cta-note {margin:.5rem 0 0}.cpf-guide-stage {height:9.7rem}
  .cpf-price-grid {grid-template-columns:repeat(auto-fit,minmax(min(100%,9.25rem),1fr))}
  .cpf-welcome-end {text-align:left}.cpf-welcome-bar nav>div .cpf-welcome-signin {padding:0 .65rem}
}
@media(prefers-reduced-motion:no-preference) {
  @keyframes cpf-guide-enter {from{opacity:0;transform:translateY(4px)}to{opacity:1;transform:translateY(0)}}
  .cpf-guide-step:not([hidden]) {animation:cpf-guide-enter .2s ease-out}
  .cpf-cta,.cpf-guide-actions button,.cpf-session-card,.cpf-account-drawer nav a {transition:background-color .16s ease,color .16s ease,border-color .16s ease}
  dialog.cpf-account-drawer[open],dialog.cpf-product-dialog[open] {animation:cpf-guide-enter .16s ease-out}
}
@media(hover:hover) {.cpf-welcome-bar a:hover,.cpf-text-link:hover {text-decoration:underline;text-underline-offset:.25em}.cpf-cta:hover,.cpf-guide-actions [data-guide-next]:hover{filter:brightness(.93)}}

/* Entry keeps sign-in within reach on a phone, including at text zoom. */
html[data-theme] body.alpha-auth-shell:has(.alpha-auth-layout) {height:auto;min-height:100dvh;overflow:visible}
html[data-theme] body.alpha-auth-shell:has(.alpha-auth-layout)>.alpha-auth-page {display:block;height:auto;overflow:visible;flex:1;padding:clamp(1rem,3.4vw,3.5rem)}
html[data-theme] body.alpha-auth-shell .alpha-auth-page .alpha-auth-layout {display:grid;height:auto;max-height:none;min-height:0;overflow:visible;align-items:center;gap:clamp(1.5rem,5vw,5.5rem);margin:0 auto;grid-template-columns:minmax(0,1fr) minmax(0,.96fr)}
html[data-theme] body.alpha-auth-shell .alpha-auth-layout .alpha-auth-story,
html[data-theme] body.alpha-auth-shell .alpha-auth-layout .alpha-auth-card {height:auto;max-height:none;overflow:visible}
html[data-theme] body.alpha-auth-shell .alpha-auth-layout .alpha-auth-story {display:grid;gap:1.15rem;align-content:center;align-items:start;padding:0}
html[data-theme] body.alpha-auth-shell .alpha-auth-story .alpha-auth-story-copy h2 {font:680 clamp(1.75rem,3vw,3.15rem)/1.08 var(--cpf-type);letter-spacing:-.055em}
.cpf-entry-highlight {color:var(--desk-accent)}
html[data-theme] body.alpha-auth-shell .alpha-auth-story .alpha-auth-story-copy p {margin:.65rem 0 0;max-width:48ch;font-size:.95rem;line-height:1.5}
.cpf-entry-overview {margin-left:auto;color:#e0f4eb!important;text-decoration:underline;text-underline-offset:4px;font:600 .8rem var(--cpf-type);display:inline-flex;align-items:center;min-height:44px}
html[data-theme] .cpf-launch-bar .cpf-entry-overview+#loginTheme {margin-left:0}
.cpf-guide-replay {justify-self:start}
.cpf-entry-overview:focus-visible,.cpf-member-shell :is(button,a,summary):focus-visible {outline:3px solid var(--desk-focus)!important;outline-offset:2px}
@media(max-width:760px) {
  html[data-theme] body.alpha-auth-shell .alpha-auth-page .alpha-auth-layout {display:flex;flex-direction:column;gap:1.25rem;align-items:stretch}
  html[data-theme] body.alpha-auth-shell .alpha-auth-layout .alpha-auth-card {order:-1;border:1px solid var(--desk-rule);border-radius:.9rem;padding:1.1rem;background:var(--desk-panel)}
  html[data-theme] body.alpha-auth-shell .alpha-auth-story .alpha-auth-story-copy h2 {font-size:1.65rem}
  html[data-theme] body.alpha-auth-shell .alpha-auth-layout .alpha-auth-story {padding:0 .2rem}
  html[data-theme] body.alpha-auth-shell .alpha-auth-layout input:not([type=checkbox]) {font-size:16px!important}
}

/* Each quote has one observation time. The entire market row opens its desk. */
html[data-theme] body.cpf-member-shell .cpf-member-panel:has(.cpf-session-grid) {padding:clamp(.9rem,2.4vw,1.75rem);border-radius:1rem;background:var(--desk-panel)}
body.cpf-member-shell .cpf-section-heading {align-items:baseline;gap:.4rem 1rem;flex-wrap:wrap}
body.cpf-member-shell .cpf-section-heading h2 {font:680 clamp(1.45rem,2.6vw,2.15rem)/1.14 var(--cpf-type);letter-spacing:-.044em}
body.cpf-member-shell .cpf-section-heading p {font-size:.92rem;line-height:1.45}
body.cpf-member-shell [data-live-status]:not([hidden]) {padding:.55rem .75rem;border:0;border-left:3px solid var(--desk-accent);background:var(--desk-subtle);border-radius:0 .4rem .4rem 0;font-size:.83rem;color:var(--desk-ink)}
body.cpf-member-shell .cpf-session-grid {gap:0}
body.cpf-member-shell .cpf-session-card {position:relative;display:grid;grid-template-columns:minmax(9rem,1fr) minmax(12rem,1fr) minmax(0,.65fr) 1.75rem;align-items:center;gap:.4rem 1rem;padding:1rem .65rem;border:0;border-bottom:1px solid var(--desk-rule);border-radius:0;background:var(--desk-panel);text-align:left}
body.cpf-member-shell .cpf-session-card:hover {background:var(--desk-subtle)}
body.cpf-member-shell .cpf-session-card__head {display:flex;flex-wrap:wrap;align-items:center;gap:.25rem .5rem}
body.cpf-member-shell .cpf-session-card__head strong {font-size:1.04rem;letter-spacing:-.025em;color:var(--desk-ink)}
body.cpf-member-shell .cpf-session-card__head small {flex-basis:100%;font-size:.78rem}
body.cpf-member-shell .cpf-session-state {font-size:.67rem;text-transform:none;letter-spacing:0;padding:.13rem .45rem;line-height:1.4;min-height:0;background:var(--desk-subtle);color:var(--desk-muted);border:0;border-radius:.35rem}
body.cpf-member-shell .cpf-session-state.is-live {color:var(--desk-button-text);background:var(--desk-button)}
body.cpf-member-shell .cpf-directory-quote {gap:.1rem}
body.cpf-member-shell .cpf-directory-quote strong {color:var(--desk-ink);font:650 clamp(1.12rem,1.75vw,1.45rem)/1.2 var(--cpf-type);letter-spacing:-.035em;font-variant-numeric:tabular-nums}
body.cpf-member-shell .cpf-directory-quote small {font-size:.73rem;line-height:1.45;color:var(--desk-muted)}
.cpf-session-notes {color:var(--desk-muted);font-size:.8rem}
.cpf-session-arrow {width:21px;height:21px;grid-column:-2;justify-self:end}
html[data-theme=dark] .cpf-session-arrow {filter:invert(1)}
.cpf-member-shell .cpf-profile-guide,.alpha-app-shell .cpf-profile-guide {justify-content:flex-start;border-color:transparent;text-decoration:none}
@media(max-width:700px) {
  body.cpf-member-shell .cpf-session-card {grid-template-columns:minmax(0,1fr) minmax(0,1fr) 1.15rem;gap:.3rem .45rem;padding:.85rem .15rem}
  body.cpf-member-shell .cpf-session-card__head {display:grid;gap:.17rem}
  .cpf-session-notes {grid-column:1/3;grid-row:2}
  .cpf-session-arrow {grid-row:1;width:17px}
}

/* Show the working session first. Health, its timestamp and role remain accessible. */
@media(max-width:1024px) {
  html[data-theme] body.tx-workspace-page .tx-workbench-header .tx-session-health {display:flex;flex-wrap:wrap;align-items:center;justify-content:flex-start;gap:.25rem .5rem;min-height:0}
  html[data-theme] body.tx-workspace-page .tx-workbench-header .tx-session-health #sessionMarketContext {order:-1;min-width:0;max-width:100%;padding:0!important;margin:0!important}
  html[data-theme] body.tx-workspace-page .tx-workbench-header .tx-session-health .tx-paper-badge {font:550 .67rem/1.35 var(--cpf-type)}
  html[data-theme] body.tx-workspace-page .tx-workbench-header .cpf-market-timing summary {display:inline-flex;align-items:center;min-height:30px;font-size:.72rem}
  html[data-theme] body.tx-workspace-page .tx-command-centre .tx-workbench-header {row-gap:2px!important;align-content:start}
  html[data-theme] body.tx-workspace-page .tx-workbench-header #txHeaderQuotes {margin-block:0!important;padding-block:0!important}
  html[data-theme] body.tx-workspace-page .tx-workbench .vi-chart-toolbar {padding-block:2px!important;gap:4px}
  html[data-theme] body.tx-workspace-page .cpf-session-footer #tabsStrip button {font-family:var(--cpf-type)!important;font-size:.77rem!important}
}
html[data-theme] .alpha-session-shell .cpf-strike-dialog table {border-collapse:collapse}
html[data-theme] .cpf-member-header .cpf-member-brand {width:clamp(9.75rem,14vw,12rem);max-width:none;flex:0 0 auto}
html[data-theme] .cpf-member-header .cpf-member-brand img {width:100%;max-width:100%;height:auto;max-height:none}
html[data-theme] #txGlobalMarketRail.cpf-market-strip {display:flex!important;align-items:stretch;gap:.35rem;box-sizing:border-box;width:100%;max-width:100%;min-width:0;overflow-x:auto;overscroll-behavior-x:contain;padding:.35rem clamp(.6rem,2vw,1.75rem);margin:0;background:#14343a;border:0;border-bottom:1px solid #396065;scrollbar-width:thin;color:#fff}
html[data-theme] #txGlobalMarketRail.cpf-market-strip[hidden],html[data-theme] #txGlobalMarketRail.cpf-market-strip:empty {display:none!important}
html[data-theme] #txGlobalMarketRail.cpf-market-strip>button {box-sizing:border-box;flex:1 0 6.6rem;display:grid;align-content:center;justify-items:start;gap:.13rem;min-width:0;min-height:44px;padding:.35rem .65rem;margin:0;border:1px solid #416268;border-radius:.4rem;background:transparent;color:#f2faf7;text-align:left;font:600 .74rem/1.1 var(--cpf-type)}
html[data-theme] #txGlobalMarketRail.cpf-market-strip>button strong {font-size:1.03rem;font-variant-numeric:tabular-nums}
html[data-theme] #txGlobalMarketRail.cpf-market-strip>button .tx-quote-expiry {font-size:.7rem;color:#c7dbd9}
html[data-theme] #txGlobalMarketRail.cpf-market-strip>button[aria-pressed=true] {background:#255854;border-color:#8bdbc0}
html[data-theme] #txHeaderQuotes.cpf-session-market-strip {display:block;flex:0 0 auto;grid-column:1/-1;order:0;width:100%;min-width:0;max-width:100%;padding:0;margin:0}
.cpf-session-market-strip .tx-selected-price {display:none!important}
.cpf-watch-focus {display:flex;flex-wrap:wrap;gap:.35rem;margin:.6rem 0 .75rem}
.cpf-watch-focus button {display:inline-flex;align-items:center;gap:.4rem;min-height:42px;padding:.35rem .7rem;border:1px solid var(--desk-rule);border-radius:.5rem;background:var(--desk-panel);color:var(--desk-ink);font:600 .82rem var(--cpf-type);cursor:pointer}
.cpf-watch-focus button span {font-variant-numeric:tabular-nums;color:var(--desk-muted)}
.cpf-watch-focus button[aria-pressed=true] {color:var(--desk-button-text);border-color:var(--desk-button);background:var(--desk-button)}
.cpf-watch-focus button[aria-pressed=true] span {color:inherit}
body.cpf-member-shell [data-live-session-list] .cpf-session-card {display:grid;grid-template-columns:minmax(7rem,1fr) minmax(8rem,1.05fr) minmax(7rem,1.15fr) minmax(7.25rem,1.15fr) minmax(7rem,1fr) minmax(5.5rem,.65fr);gap:.8rem;padding:1rem .5rem;color:var(--desk-ink);align-items:center}
body.cpf-member-shell [data-live-session-list] .cpf-session-card__head {display:grid;justify-items:start;min-width:0;gap:.28rem}
.cpf-session-card a {text-decoration:none;color:var(--desk-accent)}
.cpf-session-card a:hover {text-decoration:underline;text-underline-offset:.2em}
.cpf-session-card__head>.cpf-row-link {font:700 1.06rem var(--cpf-type);color:var(--desk-ink)}
.cpf-row-visual {display:grid;align-content:center;justify-items:start;gap:.18rem;min-width:0;font:650 .8rem/1.3 var(--cpf-type)}
.cpf-row-visual small {font-size:.72rem;line-height:1.35;color:var(--desk-muted);font-weight:500}
.cpf-row-visual strong,.cpf-row-amounts {font-variant-numeric:tabular-nums}
.cpf-row-visual strong {color:var(--desk-ink);font-size:1rem}
.cpf-row-amounts {display:grid;gap:.12rem;font-weight:600}
.cpf-row-chart {display:block;width:100%;max-width:10.5rem;height:38px}
.cpf-chart-zero {stroke:var(--desk-rule);stroke-dasharray:3 3}
.cpf-member-shell .cpf-rise {color:#19694c}
.cpf-member-shell .cpf-fall {color:#a33849}
html[data-theme=dark] .cpf-member-shell .cpf-rise {color:#77deb0}
html[data-theme=dark] .cpf-member-shell .cpf-fall {color:#ffa5af}
.cpf-row-destinations {display:flex;flex-wrap:wrap;gap:.15rem .65rem}
.cpf-row-destinations a {display:inline-flex;align-items:center;min-height:30px;font:600 .77rem var(--cpf-type)}
@media(max-width:1080px) {
  body.cpf-member-shell [data-live-session-list] .cpf-session-card {grid-template-columns:repeat(5,minmax(0,1fr));row-gap:.3rem}
  .cpf-row-destinations {grid-column:1/-1}
}
@media(max-width:760px) {
  html[data-theme] .cpf-member-header .cpf-member-brand {width:clamp(7rem,calc(52vw - 3.25rem),10.5rem)}
  body.cpf-member-shell [data-live-session-list] .cpf-session-card {grid-template-columns:repeat(2,minmax(0,1fr));gap:.7rem .8rem;padding:1rem .15rem}
  .cpf-row-visual {align-self:stretch}
  .cpf-row-destinations {grid-column:auto;display:grid;align-content:center;gap:0}
  .cpf-row-destinations a {min-height:42px}
  .cpf-watch-focus {display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:.2rem}
  .cpf-watch-focus button {min-height:44px;justify-content:center;padding:.25rem .1rem;gap:.18rem;font-size:.74rem}
}
@media(max-width:360px) {.cpf-watch-focus {grid-template-columns:repeat(2,minmax(0,1fr))}}
.alpha-session-shell #memberDeskLoadStatus[hidden] {display:none!important}
.alpha-session-shell .cpf-desk-load[hidden],.alpha-session-shell .cpf-desk-load button[hidden] {display:none!important}
.alpha-session-shell .cpf-desk-load {display:flex;align-items:center;gap:.65rem;padding:.5rem 1rem;background:var(--desk-subtle);color:var(--desk-ink);font:600 .87rem/1.4 var(--cpf-type)}
.cpf-desk-load button {min-height:40px;padding:.2rem .8rem}
.cpf-desk-load[data-phase=loading]::before {content:"";flex:none;width:1rem;height:1rem;border:2px solid currentColor;border-right-color:transparent;border-radius:50%;animation:cpf-desk-loading .9s linear infinite}
@keyframes cpf-desk-loading {to {transform:rotate(1turn)}}
@media(prefers-reduced-motion:reduce){.cpf-desk-load[data-phase=loading]::before{animation:none}}
.alpha-session-shell #memberDeskLoadStatus {box-sizing:border-box;display:flex;align-items:center;gap:.7rem;min-height:40px;padding:.4rem clamp(.75rem,2vw,2rem);color:var(--desk-ink);background:var(--desk-subtle);font:600 .85rem/1.4 var(--cpf-type)}
#memberDeskLoadStatus button {min-height:40px;padding:.25rem .75rem;border:1px solid currentColor;border-radius:.4rem;color:inherit}
html[data-theme] #txGlobalMarketRail.cpf-market-strip button :is(span,strong) {color:#f1faf7!important}
html[data-theme] #txGlobalMarketRail.cpf-market-strip button .tx-quote-expiry {color:#c8ddda!important}
html[data-theme] body.alpha-session-shell .tx-workbench-header .cpf-session-lockup {width:clamp(8rem,13vw,12rem);height:auto;max-height:58px}
.tx-workbench-header .cpf-session-lockup .cpf-lockup {width:100%;height:auto}
#mobileChartFocusBar[hidden] {display:none!important}
html[data-theme] body.cpf-chart-focused {overflow:hidden!important;overscroll-behavior:none}
html[data-theme] body.cpf-chart-focused .tx-workbench.tx-command-centre {
  position:fixed!important;inset:0!important;z-index:2147483000;box-sizing:border-box;display:flex!important;flex-direction:column!important;
  width:100%!important;height:100vh!important;height:100dvh!important;min-height:0!important;max-height:100dvh!important;
  margin:0!important;padding:env(safe-area-inset-top) env(safe-area-inset-right) env(safe-area-inset-bottom) env(safe-area-inset-left)!important;
  border:0!important;border-radius:0!important;overflow:hidden!important;background:var(--desk-panel)!important
}
html[data-theme] body.cpf-chart-focused .tx-workbench.tx-command-centre>:not(.as-chart-body):not(#mobileChartFocusBar),
html[data-theme] body.cpf-chart-focused > .cpf-session-footer {display:none!important}
body.cpf-chart-focused #mobileChartFocusBar {display:flex;flex:none;align-items:center;justify-content:space-between;gap:1rem;padding:0 .65rem;background:#112e36;color:#fff;font:650 .96rem var(--cpf-type)}
#mobileChartFocusBar button {min-height:44px;padding:0 .65rem;border:0;background:transparent;color:#fff;text-decoration:underline;text-underline-offset:.2em;font:600 .87rem var(--cpf-type)}
body.cpf-chart-focused .as-chart-ohlc-tooltip {max-width:min(92vw,31rem);white-space:normal;overflow-wrap:anywhere}
html[data-theme] body.cpf-chart-focused .tx-workbench.tx-command-centre>.as-chart-body,
html[data-theme] body.cpf-chart-focused .tx-workbench :is(#viewCandles,.as-chart-wrap:not(.hidden),.as-chart-card) {
  display:flex!important;flex:1 1 0!important;flex-direction:column!important;width:100%!important;height:auto!important;min-height:0!important;max-height:none!important;overflow:hidden!important
}
html[data-theme] body.cpf-chart-focused .tx-workbench .as-chart-card>.as-chart-stage.vi-resizable-stage {flex:1 1 0!important;height:auto!important;min-height:0!important}
html[data-theme] body.cpf-chart-focused .vi-resizable-stage {
  /* Keep all three indicator labels and the shared time axis inside the lower pane. */
  --focus-pressure-min: min(96px, 45%);
  --focus-candle-min: 0px;
  grid-template-rows: minmax(var(--focus-candle-min), var(--candle-track, 68fr))
    8px minmax(var(--focus-pressure-min), var(--pully-track, 32fr)) !important;
}
html[data-theme] body.cpf-chart-focused .vi-resizable-stage:not([data-user-resized]) {
  --focus-candle-min: clamp(0px, 61dvh, calc(100% - var(--focus-pressure-min) - 8px));
}
html[data-theme] .as-chart-card:has(#chart[aria-busy="true"]) #chartTfButtons button[aria-pressed="true"] {
  box-shadow:inset 0 -3px var(--desk-accent,currentColor);
}
html[data-theme] body.cpf-chart-focused .tx-workbench .vi-chart-footer {flex:none;min-height:26px;font-size:.7rem}
@media(max-width:1024px) {
  html[data-theme] body.tx-market-active #chartToolbarActions #btnChartFit {order:-3;flex:none;min-width:48px}
}
.tx-workbench-header .cpf-session-lockup .cpf-lockup img {width:100%;height:auto;max-height:52px;object-fit:contain}
html[data-theme] .tx-workbench-header .cpf-session-lockup .cpf-lockup-dark {display:block!important}
html[data-theme] .tx-workbench-header .cpf-session-lockup .cpf-lockup-light {display:none!important}
html[data-theme] .tx-workbench [data-chart-brand] {
  display:inline-flex!important;align-items:center;flex:0 1 auto;min-width:0;
  width:clamp(9rem,14vw,12rem);height:auto;margin:0;text-decoration:none;
}
html[data-theme] .tx-workbench [data-chart-brand] .cpf-lockup {width:100%}
html[data-theme] .tx-workbench [data-chart-brand] .cpf-lockup-dark {display:block!important;width:100%;height:auto;max-height:50px;object-fit:contain}
html[data-theme] .tx-workbench [data-chart-brand] .cpf-lockup-light {display:none!important}
html[data-theme] #mobileChartFocusBar [data-chart-brand] {width:clamp(4.5rem,17vw,7.5rem)}
body.cpf-chart-focused #mobileChartFocusTitle {flex:1;min-width:0}
html[data-theme] body.alpha-session-shell > #tx-ra-attribution {box-sizing:border-box;flex:none;display:flex;align-items:baseline;flex-wrap:wrap;gap:.15rem .65rem;margin:0;padding:.45rem clamp(.75rem,2vw,1.5rem);border-top:1px solid var(--desk-rule);background:var(--desk-panel);color:var(--desk-muted);font:500 .72rem/1.45 var(--cpf-type)}
@media(min-width:1025px) {
  html[data-theme] body.tx-market-active .tx-workbench.tx-command-centre:has(>.cpf-session-market-strip) {grid-template-rows:auto auto auto minmax(0,1fr) auto!important}
  html[data-theme] body.tx-market-active .tx-workbench>.cpf-session-market-strip {grid-column:1/-1;grid-row:2}
  html[data-theme] body.tx-market-active .tx-workbench>.tx-workspace-strip {grid-column:1/-1;grid-row:3}
  html[data-theme] body.tx-market-active .tx-workbench.tx-command-centre>.as-chart-body,
  html[data-theme] body.tx-market-active .tx-workbench.tx-command-centre>.tx-analytics {grid-row:4}
  html[data-theme] body.tx-market-active .tx-workbench>#txLiveFeedStatus {grid-column:1/-1;grid-row:5}
  html[data-theme] body.tx-workspace-page .tx-workbench-header #txSession {display:flex!important;grid-area:1/3;align-items:center;gap:.6rem;margin:0;color:#f1faf7}
  html[data-theme] body.tx-workspace-page .tx-workbench-header #txSession small {color:#c8ddda}
}
@media(max-width:1024px) {
  html[data-theme] body.tx-market-active .tx-workbench.tx-command-centre>.tx-workbench-header {order:-4}
  html[data-theme] body.tx-market-active .tx-workbench.tx-command-centre>#txHeaderQuotes.cpf-session-market-strip {order:-3}
  html[data-theme] body.tx-workspace-page > .cpf-session-footer {padding-bottom:max(4px,env(safe-area-inset-bottom))}
  html[data-theme] body.alpha-session-shell > #tx-ra-attribution {padding-bottom:calc(56px + env(safe-area-inset-bottom))}
  html[data-theme] body.tx-workspace-page .tx-workbench-header .tx-session-health {display:flex!important;flex-flow:row wrap!important;align-items:center;justify-content:flex-start;gap:.15rem .5rem;width:100%;min-height:0}
  html[data-theme] body.tx-workspace-page .tx-workbench-header .tx-session-health #sessionMarketContext {flex:0 1 auto;width:auto!important}
  html[data-theme] body.tx-workspace-page .tx-workbench-header .tx-session-health .tx-paper-badge {order:2;font-size:.7rem}
  .tx-session-health #alertBellWrap {margin-inline-start:auto}
  html[data-theme] body.tx-workspace-page .cpf-session-footer #tabsStrip {min-width:100%}
}
html[data-theme] .alpha-session-shell .cpf-strike-dialog thead {background:var(--desk-subtle);color:var(--desk-ink)}
/* One header and one scroll surface. The main price plot owns the first screen. */
body.alpha-session-shell.cpf-session-header-ready > .tx-primary {display:none!important}
html[data-theme] body.cpf-session-header-ready .tx-workbench-header #txMenu {display:inline-flex!important;align-items:center;justify-content:center}
html[data-theme] body.cpf-session-header-ready .tx-workbench-header {
  display:flex!important;align-items:center;gap:8px;padding:3px 12px;min-height:46px;
}
html[data-theme] body.cpf-session-header-ready .tx-workbench-header .tx-session-health {margin-left:auto}
html[data-theme] body.cpf-session-header-ready .tx-workbench-header .cpf-session-lockup {flex:0 1 148px;min-width:74px;width:148px}
html[data-theme] body.cpf-session-header-ready .tx-workbench-header .cpf-session-lockup img {max-height:40px}
html[data-theme] body.tx-market-active.cpf-session-header-ready:not(.cpf-chart-focused) #mainContent {
  flex:1 1 0;height:auto;min-height:0;overflow-y:auto;overscroll-behavior-y:contain;
}
html[data-theme] body.tx-market-active.cpf-session-header-ready:not(.cpf-chart-focused) :is(#sectionCandles,.as-market-workspace-grid,.as-chart-column) {
  height:auto!important;min-height:0;overflow:visible!important;
}
html[data-theme] body.tx-market-active.cpf-session-header-ready:not(.cpf-chart-focused) .tx-workbench.tx-command-centre {
  height:auto!important;max-height:none!important;min-height:0;overflow:visible!important;
}
html[data-theme] body.tx-market-active.cpf-session-header-ready .tx-workbench.tx-command-centre:fullscreen {
  overflow-y:auto!important;height:100dvh!important;max-height:100dvh!important;
}
html[data-theme] body.tx-market-active.cpf-session-header-ready:not(.cpf-chart-focused) .tx-workbench :is(.as-chart-body,.as-chart-view,.as-chart-wrap:not(.hidden),.as-chart-card) {
  height:auto!important;min-height:0;overflow:visible!important;
}
html[data-theme] body.tx-market-active.cpf-session-header-ready:not(.cpf-chart-focused) .as-chart-card>.as-chart-stage.vi-resizable-stage {
  box-sizing:border-box;height:84dvh!important;min-height:0!important;flex:none!important;
}
html[data-theme] body.tx-market-active.cpf-session-header-ready:not(.cpf-chart-focused) .vi-resizable-stage:not([data-user-resized]) {
  grid-template-rows:minmax(61dvh,var(--candle-track,68fr)) auto minmax(0,var(--pully-track,32fr))!important;
}
html[data-theme] body.tx-market-active.cpf-session-header-ready .cpf-session-market-strip {padding-block:3px}
html[data-theme] body.tx-market-active.cpf-session-header-ready #txGlobalMarketRail button {min-height:42px;padding:2px 8px}
@media(min-width:1025px) {
  html[data-theme] body.tx-market-active.cpf-session-header-ready .tx-workbench.tx-command-centre:has(>.cpf-session-market-strip) {
    grid-template-rows:repeat(6,max-content)!important;align-content:start;
  }
  html[data-theme] body.tx-market-active.cpf-session-header-ready:not(.cpf-chart-focused) .tx-workbench>.as-chart-body {
    min-height:calc(84dvh + 7rem)!important;
  }
  html[data-theme] body.tx-market-active.cpf-session-header-ready .tx-workbench>#txActivityRail {grid-column:1/-1;grid-row:6}
}
body.alpha-session-shell #mainContent>#tx-ra-attribution {display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:.25rem 1rem;margin-top:1rem;padding:.55rem 1rem;border-top:1px solid var(--desk-rule);background:var(--desk-panel);color:var(--desk-muted);font:500 .72rem/1.45 var(--cpf-type)}
@media(min-width:1025px) and (max-height:760px) {
  html[data-theme] body.tx-market-active.cpf-session-header-ready #txHeaderQuotes #txGlobalMarketRail {padding-block:1px}
  html[data-theme] body.tx-market-active.cpf-session-header-ready #txHeaderQuotes #txGlobalMarketRail button {display:grid;grid-template-columns:auto auto;align-items:baseline;justify-content:start;gap:0 .55rem;padding-block:1px;min-height:32px}
  html[data-theme] body.tx-market-active.cpf-session-header-ready #txHeaderQuotes #txGlobalMarketRail button small {grid-column:1/-1}
  html[data-theme] body.tx-market-active.cpf-session-header-ready .tx-workbench>.tx-workspace-strip {padding-block:2px;min-height:0}
  html[data-theme] body.tx-market-active.cpf-session-header-ready .vi-chart-toolbar {min-height:0;padding-block:2px}
}
@media(max-width:1024px) {
  html[data-theme] body.tx-workspace-page.cpf-session-header-ready .tx-workbench.tx-command-centre>.tx-workbench-header:has(.cpf-account-trigger) {
    display:flex!important;flex-wrap:nowrap;align-items:center;justify-content:space-between;gap:4px;min-height:44px;padding:2px 6px;
  }
  html[data-theme] body.tx-market-active.cpf-session-header-ready .tx-workbench>.tx-session-health {
    display:flex;align-items:center;flex-flow:row wrap;order:-2;gap:4px 8px;padding:2px 8px;
    color:#e5f3f2;background:#14323a;font-size:.72rem;
  }
  html[data-theme] body.tx-market-active.cpf-session-header-ready .tx-workbench>.tx-session-health #sessionMarketContext {width:auto!important}
  html[data-theme] body.tx-market-active.cpf-session-header-ready #txHeaderQuotes #txGlobalMarketRail {padding-block:2px}
  html[data-theme] body.tx-market-active.cpf-session-header-ready .tx-workbench[data-mobile-view=chart]>#txActivityRail {order:5}
  html[data-theme] body.tx-market-active.cpf-session-header-ready .tx-workbench[data-mobile-view=chart]>.tx-mobile-tabs {order:4}
}
@media(max-width:1024px) and (max-height:520px) {
  html[data-theme] body.alpha-app-shell.tx-workspace-page.cpf-session-header-ready {
    --cpf-mobile-nav-height:45px;
  }
  html[data-theme] body.tx-workspace-page.cpf-session-header-ready>.cpf-session-footer {padding:0 4px env(safe-area-inset-bottom)}
  html[data-theme] body.tx-market-active.cpf-session-header-ready #sectionCandles,
  html[data-theme] body.tx-market-active.cpf-session-header-ready .tx-workbench>.as-chart-body {padding-block:0!important}
  html[data-theme] body.tx-market-active.cpf-session-header-ready .tx-workbench.tx-command-centre[data-mobile-view=chart]>#txHeaderQuotes.cpf-session-market-strip,
  html[data-theme] body.tx-market-active.cpf-session-header-ready .tx-workbench[data-mobile-view=chart]>.tx-session-health {order:3}
  html[data-theme] body.tx-market-active.cpf-session-header-ready .tx-workbench[data-mobile-view=chart]>.tx-workbench-header {flex-wrap:nowrap}
  html[data-theme] body.tx-market-active.cpf-session-header-ready .tx-workbench[data-mobile-view=chart]>#txLiveFeedStatus {order:4}
  html[data-theme] body.tx-market-active.cpf-session-header-ready .tx-workbench[data-mobile-view=chart] .vi-chart-toolbar {padding-block:0!important;min-height:44px}
}
html[data-theme] .alpha-session-shell .cpf-strike-dialog td {font-variant-numeric:tabular-nums}
body.alpha-session-shell :is(.flash-red,.flash-green,.flash-border-red,.flash-border-green) {animation-iteration-count:2}
.cpf-mentor-intro > img {display:block;width:100%;max-width:32rem;height:auto;aspect-ratio:3/2;object-fit:cover;border-radius:.75rem;margin-bottom:1.15rem}
@media (min-width: 48rem) {
  .cpf-welcome-tour {
    grid-template-columns: minmax(0, 1.5fr) minmax(12rem, .7fr);
    grid-template-areas: "tour mentor";
    align-items: start;
  }
  .cpf-welcome-tour > .cpf-mentor-intro { grid-area: mentor; }
  .cpf-welcome-tour > :is(.cpf-guide, .cpf-guide-replay) { grid-area: tour; }
}
@media (width < 48rem) {
  .cpf-welcome-tour > .cpf-mentor-intro {
    display: grid;
    grid-template-columns: minmax(0, 1fr) clamp(5.5rem, 27%, 9rem);
    grid-template-areas: "heading portrait" "description portrait";
    align-items: center;
    column-gap: .9rem;
  }
  .cpf-mentor-intro > h2 { grid-area: heading; }
  .cpf-mentor-intro > p { grid-area: description; }
  .cpf-mentor-intro > img { grid-area: portrait; margin: 0; }
}
.cpf-guide-topics {display:flex;flex-wrap:wrap;gap:.4rem;padding:.55rem .75rem;background:#12373b;border-top:1px solid #375a5b}
.cpf-guide-topics button {flex:1;min-height:44px;border:1px solid #5d817d;border-radius:.5rem;background:#143238;color:#e4eee9;font:600 .84rem var(--cpf-type);cursor:pointer}
.cpf-guide-topics button[aria-pressed=true] {background:#bdebd1;border-color:#bdebd1;color:#123a31}
.cpf-guide-topics button:focus-visible {outline-color:#f9cd7e}
.cpf-plan-mentor {margin:1rem 0;border-block:1px solid var(--desk-rule,#b6c8c4);padding:.4rem 0;color:var(--desk-ink,inherit)}
.cpf-plan-mentor summary {display:flex;align-items:center;gap:.6rem;min-height:48px;cursor:pointer;font-weight:650;list-style:none}
.cpf-plan-mentor summary::-webkit-details-marker {display:none}
.cpf-plan-mentor summary::after {content:"";flex:none;width:.48rem;height:.48rem;border:solid currentColor;border-width:0 1.5px 1.5px 0;transform:rotate(45deg);margin-inline:.3rem}
.cpf-plan-mentor[open] summary::after {transform:rotate(225deg)}
.tx-decision-filters {display:flex;flex-wrap:wrap;align-items:end;gap:.5rem;margin:.65rem 0 .85rem}
.tx-decision-filters[hidden] {display:none}
.tx-decision-filters label {display:grid;gap:.2rem;font-size:.8rem}
.tx-decision-filters :is(select,input,button,summary),.tx-decision-exports button {box-sizing:border-box;min-height:44px;border:1px solid var(--tx-border);border-radius:.5rem;padding:.4rem .7rem;background:var(--tx-raised);color:var(--tx-text);font:inherit}
html[data-theme=dark] .tx-decision-filters {color-scheme:dark}
html[data-theme=light] .tx-decision-filters {color-scheme:light}
.tx-decision-time-range summary {align-content:center;cursor:pointer;font-size:.84rem}
.tx-decision-time-range[open]>div,.tx-decision-exports {display:flex;align-items:end;flex-wrap:wrap;gap:.45rem;margin-top:.5rem}
.tx-decision-exports button {font-size:.8rem;cursor:pointer}
.tx-decision-table td,.tx-decision-date,.cpf-row-visual {font-variant-numeric:tabular-nums}
.tx-report-decisions {min-width:0;margin:.65rem 0;border:1px solid var(--tx-border);color:var(--tx-text)}
.tx-report-decisions>summary {min-height:44px;padding:.7rem .85rem;font-weight:650;cursor:pointer}
.tx-report-decisions__body {min-width:0;padding:0 .75rem .7rem}
.tx-report-day {display:grid;gap:.25rem;width:fit-content;font-size:.85rem}
.tx-report-day select {min-height:44px;padding:.4rem .65rem;border:1px solid var(--tx-border);border-radius:.5rem;background:var(--tx-raised);color:var(--tx-text);font:inherit}
html[data-theme=dark] .tx-report-day select {color-scheme:dark}
.tx-report-decisions output {display:block;padding-block:.35rem;color:var(--tx-muted);font-variant-numeric:tabular-nums}
.tx-report-decisions__pager {display:flex;flex-wrap:wrap;gap:.5rem}
.tx-report-decisions__pager button {min-height:44px;padding:.4rem .9rem;border:1px solid var(--tx-border);border-radius:.5rem;margin-top:.4rem;background:var(--tx-raised);color:var(--tx-text)}
.tx-report-decisions [hidden] {display:none!important}
@media (max-width:767px) {
  .tx-report-decisions .tx-decision-scroll {max-height:none;overflow:visible;border:0}
}
.tx-workbench-header #txMenu img {width:20px;height:20px;filter:brightness(0) invert(1)}
.tx-workbench-header #txMenu::before {content:none!important}
.tx-icon-button::before {-webkit-mask:var(--tx-icon) center / contain no-repeat;mask:var(--tx-icon) center / contain no-repeat}
#btnChartFit.tx-icon-button::before {background:transparent url('/static/brand/icons/scan.svg') center / contain no-repeat;-webkit-mask:none;mask:none}
html[data-theme=dark] #btnChartFit.tx-icon-button::before {filter:brightness(0) invert(1)}
#symbolPerformanceStatus[data-tone=success] {position:absolute!important;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap;padding:0;border:0;margin:-1px}
@media(max-width:1024px) {
  html[data-theme] body.cpf-session-header-ready :is(.tx-shared-chrome,.tx-workbench)>.tx-session-health {display:flex;flex-flow:row wrap;align-items:center;justify-content:flex-start;gap:2px 6px;width:100%;min-height:42px;margin:0;padding:0 8px;background:#14323a;color:#e5f3f2;font-size:.72rem}
  html[data-theme] body.tx-market-active.cpf-session-header-ready .tx-workbench[data-mobile-view=chart]>.tx-session-health {order:3}
  html[data-theme] body.cpf-session-header-ready .tx-session-health #sessionMarketContext {order:-1;flex:0 1 auto;width:auto!important;padding:0!important;margin:0!important}
  html[data-theme] .tx-session-health .cpf-market-timing summary {display:flex;align-items:center;min-height:44px;border:0;background:transparent!important;color:#c6efe6!important;font-size:.75rem;padding:.2rem .35rem;list-style:none}
  html[data-theme] .tx-session-health .cpf-market-timing summary::after {content:none!important}
  .tx-session-health .cpf-market-timing summary::-webkit-details-marker {display:none}
  .tx-session-health .cpf-market-timing summary::before {content:"";width:.45rem;height:.45rem;margin-right:.35rem;border:solid currentColor;border-width:0 1.5px 1.5px 0;transform:translateY(-2px) rotate(45deg)}
  .tx-session-health .cpf-market-timing[open] summary::before {transform:rotate(225deg)}
  .tx-session-health .cpf-time-panel {position:fixed;inset:auto auto auto .5rem;width:min(22rem,calc(100vw - 1rem));z-index:80}
  body.cpf-member-shell .cpf-session-card__head>.cpf-row-link {display:inline-flex;align-items:center;min-height:44px}
}
.tx-decision-filters button {cursor:pointer;font-weight:600}
.tx-decision-filters button[type=submit] {background:#185e59;color:white;border-color:#185e59}
.tx-decision-filters button:disabled {cursor:wait;opacity:.7}
.tx-decision-date {margin:.25rem 0 0;font-size:.82rem;font-weight:600}
.tx-decision-date:empty {display:none}
@media(min-width:651px) and (max-width:1024px) {
  .tx-decision-table .tx-decision-row td:last-child {min-width:9rem!important;max-width:16rem;white-space:normal}
}
@media(max-width:650px) {
  .tx-decision-filters {display:grid;grid-template-columns:minmax(0,1fr) auto;gap:.4rem;margin:.35rem 0 .55rem}
  .tx-decision-time-range[open] {grid-column:1/-1}
  .tx-decision-time-range[open]>div {display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}
  .tx-decision-filters :is(input,select,button) {width:100%;min-width:0}
  #sectionTradebook .flex-1.p-3,#sectionPaper .flex-1.p-3 {padding:.25rem}
  #viewTradebook,#viewPaper {border:0!important;border-radius:0;padding:.35rem .5rem}
  .tx-decision-heading {display:grid;gap:.2rem;margin:0}
  .tx-decision-heading>div:last-child {display:flex;flex-wrap:wrap;justify-content:space-between;gap:.15rem .4rem}
  #viewTradebook #decisionJournalPager {display:flex;flex-wrap:wrap;align-items:center;gap:.1rem}
  #viewTradebook #decisionJournalPager[hidden] {display:none}
  #viewTradebook #decisionJournalPager button {min-height:44px}
  #decisionJournalPager :is(#btnDecisionJournalNewest,#btnDecisionJournalNewer):disabled {display:none}
  #decisionJournalPager #decisionJournalPageLabel {min-width:0}
  #decisionJournalPageLabel[data-cpf-busy=false] {position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}
  html[data-theme] .tx-decision-time-range>summary {display:flex;align-items:center;gap:.25rem;list-style:none}
  .tx-decision-time-range>summary::-webkit-details-marker {display:none}
  html[data-theme] .tx-decision-time-range>summary::after {content:"";width:.45rem;height:.45rem;margin:.1rem .2rem .3rem .3rem;border:solid currentColor;border-width:0 1.5px 1.5px 0;border-radius:0;transform:rotate(45deg)}
  html[data-theme] .tx-decision-time-range[open]>summary::after {transform:rotate(225deg)}
  #viewTradebook .tx-decision-scroll {max-height:none;overflow:visible;border:0;border-radius:0}
  .tx-decision-table,.tx-decision-table tbody {display:block;width:100%;min-width:0}
  .tx-decision-table thead {position:absolute!important;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}
  .tx-decision-table tr.tx-decision-row {display:grid;grid-template-columns:minmax(0,1.2fr) repeat(2,minmax(0,1fr));grid-template-areas:"time side confidence" "reason reason tick" "entry stop target";align-items:baseline;gap:.45rem .5rem;padding:.7rem .15rem;border-top:1px solid var(--desk-rule,#435763)}
  .tx-decision-row td {min-width:0!important;width:auto!important;padding:0!important;white-space:normal;overflow-wrap:anywhere;font-size:.8rem}
  .tx-decision-row td:nth-child(1) {grid-area:time;font-weight:650}
  .tx-decision-row td:nth-child(2) {grid-area:tick;text-align:right}
  .tx-decision-row td:nth-child(3) {grid-area:side}
  .tx-decision-row td:nth-child(4) {grid-area:confidence;text-align:right}
  .tx-decision-row td:nth-child(5) {grid-area:entry}
  .tx-decision-row td:nth-child(6) {grid-area:stop}
  .tx-decision-row td:nth-child(7) {grid-area:target}
  .tx-decision-row td:nth-child(8) {grid-area:reason;line-height:1.4}
  .tx-decision-row td[data-mobile-label]::before {display:block;content:attr(data-mobile-label);font:500 .7rem/1.4 var(--cpf-type);color:var(--desk-muted)}
  .tx-decision-row td:nth-child(2)::before {display:inline;margin-right:.12rem}
  #paperTradeSummary>div:has(#paperSummaryPnl) {order:-4}
  #paperTradeSummary>div:has(#paperSummaryClosed) {order:-3}
  #paperTradeSummary>div:has(#paperSummaryActive) {order:-2}
  #paperTradeSummary>div:has(#paperSummaryWinRate) {order:-1}
  #paperTradeSummary>div[data-balance-unavailable] {display:none}
  body.tx-report-library #mainContent {padding:.5rem .65rem calc(4.5rem + env(safe-area-inset-bottom))}
  body.tx-report-library #viewBacktestResults,body.tx-report-library #viewBacktestResults>section[aria-labelledby=allBacktestsTitle] {padding:.45rem 0;border:0;background:transparent}
  body.tx-report-library .tx-symbol-performance {border:0;box-shadow:none;margin-inline:0;padding:.35rem 0}
  body.tx-report-library .tx-symbol-performance__heading {margin-bottom:.55rem}
  body.cpf-member-shell .cpf-commerce-intro__brand {display:none}
  body.cpf-member-shell .cpf-commerce-intro h1 {font-size:clamp(1.45rem,6.5vw,1.85rem);line-height:1.16}
}
.cpf-plan-mentor .cpf-mentor-portrait {flex:none;width:40px;height:40px;background:#b6cfc3;border-radius:50%;object-fit:cover}
.cpf-plan-mentor p {margin:.4rem 0 .8rem;font-size:.95rem;line-height:1.55}
html[lang=hi] .cpf-plan-mentor [lang=en],html:not([lang=hi]) .cpf-plan-mentor [lang=hi] {display:none}
@media(prefers-reduced-motion:reduce) {
  body.alpha-session-shell :is(.flash-red,.flash-green,.flash-border-red,.flash-border-green,.flash-up,.flash-down),.cpf-guide-step,.cpf-account-drawer {animation:none!important}
}

/* Reading a session on touch screens uses the document's native scroll.
   Only the Market canvas owns its own viewport for chart gestures. */
@media (max-width:1024px) {
  html:has(> #bodyRoot.tx-workspace-page:not(.tx-market-active)) {
    height:auto!important;min-height:100%;overflow-x:clip!important;overflow-y:auto!important;
    scroll-padding-bottom:calc(56px + env(safe-area-inset-bottom));
  }
  html[data-theme] #bodyRoot.tx-workspace-page:not(.tx-market-active) {
    display:block;height:auto!important;min-height:100dvh;max-height:none!important;
    overflow:visible!important;padding-bottom:calc(58px + env(safe-area-inset-bottom));
  }
  #bodyRoot.tx-workspace-page:not(.tx-market-active) #mainContent,
  #bodyRoot.tx-workspace-page:not(.tx-market-active) #mainContent>section[role=tabpanel]:not(.hidden),
  #bodyRoot.tx-workspace-page :is(#sectionOC,#sectionTradebook,#sectionPaper) > .h-full,
  #bodyRoot.tx-workspace-page :is(#sectionOC,#sectionTradebook,#sectionPaper) .p-3.flex-1,
  #bodyRoot.tx-workspace-page :is(#viewOC,#viewTradebook,#viewPaper,#viewBacktestResults) {
    height:auto!important;max-height:none!important;min-height:0;overflow:visible!important;
    flex:none;scrollbar-gutter:auto;
  }
  #bodyRoot.tx-workspace-page:not(.tx-market-active) #mainContent {display:block}
  #bodyRoot #ocTableWrap,#bodyRoot #viewTradebook .tx-decision-scroll {
    height:auto!important;max-height:none!important;overflow-x:auto;overscroll-behavior-y:auto;
    touch-action:pan-x pan-y pinch-zoom;
  }
  #bodyRoot.tx-workspace-page:not(.tx-market-active) #txGlobalMarketRail {padding-block:3px}
  #bodyRoot.tx-workspace-page:not(.tx-market-active) #txGlobalMarketRail>button {min-height:44px;padding-block:3px}
  #bodyRoot.tx-workspace-page:not(.tx-market-active) #txGlobalMarketRail .tx-quote-expiry {display:none}
  #bodyRoot #viewPaper {padding:.4rem .6rem!important}
  #viewPaper .tx-practice-nav {
    position:static;display:flex;flex-wrap:nowrap;overflow-x:auto;
    gap:.15rem;padding:.15rem 0;margin:0 0 .4rem;scrollbar-width:thin;
  }
  #viewPaper .tx-practice-nav button {flex:none;min-height:44px;padding:.4rem .65rem}
  #viewPaper[data-practice-view=ledger] #paperTradeSummary,
  #viewPaper[data-practice-view=open] #paperTradeSummary {
    display:flex;align-items:center;gap:1rem;margin:0 0 .5rem!important;padding:.3rem .25rem;
  }
  #viewPaper:is([data-practice-view=ledger],[data-practice-view=open]) #paperTradeSummary>div {
    display:none;padding:0!important;border:0;background:transparent;
  }
  #viewPaper[data-practice-view=ledger] #paperTradeSummary>div:has(:is(#paperSummaryPnl,#paperSummaryClosed)),
  #viewPaper[data-practice-view=open] #paperTradeSummary>div:has(:is(#paperSummaryUnrealized,#paperSummaryActive)) {display:block}
  #viewPaper #paperTradeSummary .text-lg {font-size:1.05rem}
  #viewPaper #journalCategoryFilters {margin-block:.5rem}
  #journalCategoryFilters>summary {padding:.65rem .25rem;font-weight:600;cursor:pointer}
  .tx-journal-export {border-top:1px solid var(--desk-rule)}
  .tx-journal-export button {min-height:44px}
}
@media (max-width:650px) {
  .tx-report-library #allBacktestsTitle {
    position:absolute;width:1px;height:1px;padding:0;overflow:hidden;clip-path:inset(50%);
  }
  .tx-report-library [data-operator-page-header] {padding-block:.3rem;margin-bottom:.35rem}
  .tx-report-library #backtestReportsCount {flex:1}
  .tx-report-library #btnRefreshBacktestRuns {min-height:44px}
  #viewOC .tx-chain-toolbar {display:flex;align-items:center;flex-wrap:wrap;gap:.3rem}
  #viewOC .tx-chain-controls {margin:0;gap:.2rem}
  #viewOC .tx-chain-toolbar :is(select,button) {min-height:44px}
  #bodyRoot #viewTradebook .tx-decision-scroll {overflow:visible}
}
@media (max-width:1024px) {
  #viewPaper .tx-closed-journal {min-width:0;border-inline:0;border-radius:0}
  #viewPaper .tx-closed-journal :is(table,tbody) {display:block;width:100%;min-width:0}
  #viewPaper .tx-closed-journal thead {position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}
  #viewPaper .tx-closed-trade {
    display:grid;grid-template-columns:repeat(3,minmax(0,1fr));
    grid-template-areas:"contract contract booked" "exited exited status" "entered entered points"
      "entry exit qty" "exit-reason exit-reason exit-reason" "entry-reason entry-reason entry-reason" "risk risk risk";
    gap:.55rem .6rem;align-items:baseline;padding:.75rem .25rem;
  }
  #viewPaper .tx-closed-trade td {
    padding:0!important;max-width:none;min-width:0;white-space:normal;text-align:left;
    font-variant-numeric:tabular-nums;overflow-wrap:anywhere;font-size:.82rem;line-height:1.35;
  }
  #viewPaper .tx-closed-trade td[data-label]::before {
    content:attr(data-label);display:block;color:var(--desk-muted);font:500 .7rem/1.4 var(--cpf-type);
  }
  .tx-closed-trade td:first-child {grid-area:status}
  .tx-closed-trade [data-field=contract] {grid-area:contract}
  .tx-closed-trade [data-field=booked] {grid-area:booked}
  .tx-closed-trade [data-field=exited] {grid-area:exited}
  .tx-closed-trade [data-field=entered] {grid-area:entered}
  .tx-closed-trade [data-field=entry] {grid-area:entry}
  .tx-closed-trade [data-field=exit] {grid-area:exit}
  .tx-closed-trade [data-field=qty] {grid-area:qty}
  .tx-closed-trade [data-field=points] {grid-area:points}
  .tx-closed-trade [data-field=risk] {grid-area:risk}
  .tx-closed-trade [data-field=entry-reason] {grid-area:entry-reason}
  .tx-closed-trade [data-field=exit-reason] {grid-area:exit-reason}
  #viewPaper .tx-closed-trade [data-field=contract],#viewPaper .tx-closed-trade [data-field=booked] {font-size:1rem;font-weight:700}
  #viewPaper .tx-closed-trade [data-field=booked] {text-align:right}
  #viewPaper .tx-closed-journal tr:not(.tx-closed-trade),
  #viewPaper .tx-closed-journal td[colspan] {display:block;width:100%;white-space:normal;overflow-wrap:anywhere}
  #viewPaper .tx-closed-trade [data-unavailable],#viewOC .tx-chain-summary [data-unavailable] {display:none}
  .tx-symbol-performance__table-wrap:has(:is(#symbolPerformanceSessions,#symbolPerformanceTrades)) {overflow:visible}
  .tx-symbol-performance__table-wrap :is(table,tbody):has(:is(#symbolPerformanceSessions,#symbolPerformanceTrades)),
  #symbolPerformanceSessions,#symbolPerformanceTrades {display:block;width:100%;min-width:0}
  .tx-symbol-performance__table-wrap table:has(:is(#symbolPerformanceSessions,#symbolPerformanceTrades)) thead {
    position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);
  }
  :is(#symbolPerformanceSessions,#symbolPerformanceTrades) tr {
    display:grid;grid-template-columns:repeat(3,minmax(0,1fr));align-items:baseline;gap:.55rem .6rem;
    padding:.75rem .2rem;border-bottom:1px solid var(--tx-border);
  }
  #symbolPerformanceSessions tr {grid-template-areas:"title title pnl" "count rate fund" "strategy strategy link"}
  #symbolPerformanceTrades tr {grid-template-areas:"title title pnl" "time time fund" "entry exit side" "link link link"}
  :is(#symbolPerformanceSessions,#symbolPerformanceTrades) td {
    padding:0;border:0;min-width:0;white-space:normal;overflow-wrap:anywhere;font-size:.8rem;line-height:1.36;
  }
  :is(#symbolPerformanceSessions,#symbolPerformanceTrades) td[data-label]::before {
    content:attr(data-label);display:block;color:var(--desk-muted);font:500 .7rem/1.4 var(--cpf-type);
  }
  :is(#symbolPerformanceSessions,#symbolPerformanceTrades) td[data-tone] {grid-area:pnl;text-align:right;font-size:1rem;font-weight:700}
  :is(#symbolPerformanceSessions,#symbolPerformanceTrades) td:nth-last-child(2) {grid-area:fund;text-align:right}
  :is(#symbolPerformanceSessions,#symbolPerformanceTrades) td:last-child {grid-area:link;text-align:right}
  :is(#symbolPerformanceSessions,#symbolPerformanceTrades) td:last-child a {display:inline-flex;min-height:44px;align-items:center}
  #symbolPerformanceSessions td:first-child,#symbolPerformanceTrades td:nth-child(2) {grid-area:title;font-weight:700}
  #symbolPerformanceSessions td:nth-child(2) {grid-area:strategy}
  #symbolPerformanceSessions td:nth-child(3) {grid-area:count}
  #symbolPerformanceSessions td:nth-child(4) {grid-area:rate}
  #symbolPerformanceTrades td:first-child {grid-area:time}
  #symbolPerformanceTrades td:nth-child(3) {grid-area:side;text-align:right}
  #symbolPerformanceTrades td:nth-child(4) {grid-area:entry}
  #symbolPerformanceTrades td:nth-child(5) {grid-area:exit}
}
@media (min-width:651px) and (max-width:1024px) {
  #viewPaper .tx-closed-trade {
    grid-template-columns:repeat(4,minmax(0,1fr));
    grid-template-areas:"contract contract status booked" "entered exited qty points" "entry exit exit-reason exit-reason"
      "entry-reason entry-reason risk risk";
  }
}

/* The member tabs share one scrollport, masthead and navigation history. */
#memberReportsPanel #sectionBacktestResults,
#memberReportsPanel #viewBacktestResults {display:block;height:auto;min-width:0}
#memberReportsPanel #viewBacktestResults,
#memberReportsPanel #viewBacktestResults > section:first-child {
  background:transparent;border:0;box-shadow:none;padding:0;margin:0;overflow:visible
}
#memberReportsPanel:not([data-report-view="run"]) #viewBacktestResults > :not(:first-child),
#memberReportsPanel[data-report-view="run"] #viewBacktestResults > :first-child,
#memberReportsPanel .cpf-report-return,
#memberReportsPanel[data-report-view="symbol"] :is(#individualSessionReports,.tx-symbol-performance__heading),
#memberReportsPanel[data-report-view="symbol"] [aria-labelledby="allBacktestsTitle"] > div:first-child {display:none}
#memberReportsPanel[data-report-view="run"] .cpf-report-return,
#memberReportsPanel[data-report-view="symbol"]:has(#symbolPerformanceDetail[hidden]) .cpf-report-return {
  display:inline-flex;align-items:center;min-height:44px;margin-bottom:.5rem
}
#memberReportsPanel .tx-symbol-performance {
  padding:0;margin:0;border:0;box-shadow:none;background:transparent;color:var(--cpf-ink)
}
.tx-symbol-performance:has(#symbolPerformanceDetail:not([hidden])) .tx-symbol-performance__heading,
[aria-labelledby="allBacktestsTitle"]:has(#symbolPerformanceDetail:not([hidden])) > div:first-child {display:none}
.tx-symbol-performance #symbolPerformanceDetail {
  padding:0;margin:0;border:0
}
#memberReportsPanel[data-report-view="list"] [aria-labelledby="allBacktestsTitle"] > div:first-child {
  margin-bottom:.6rem;color:var(--cpf-muted);font-size:.85rem
}
#memberReportsPanel #allBacktestsTitle {
  position:absolute;clip-path:inset(50%);width:1px;height:1px;overflow:hidden;white-space:nowrap
}
#symbolPerformanceDetail .tx-symbol-performance__backbar {position:static;margin:0 0 .3rem;padding:0;box-shadow:none;border:0;background:transparent;align-items:flex-start}
#symbolPerformanceDetail .tx-symbol-performance__backbar > p,
#symbolPerformanceDetail .tx-symbol-performance__detail-head > div > span {display:none}
#symbolPerformanceDetail #symbolPerformanceClose {
  display:inline-flex;width:auto;min-height:44px;padding:.25rem .5rem .25rem 0;border:0;
  color:var(--tx-text);background:transparent;box-shadow:none
}
#symbolPerformanceDetail .tx-symbol-performance__back-icon {background:currentColor;color:inherit}
#symbolPerformanceDetailTitle {font-size:clamp(1.3rem,4.8vw,1.9rem);line-height:1.18}
#memberReportsPanel :is(.tx-symbol-performance__metric strong,.tx-symbol-performance__metric small) {overflow-wrap:anywhere}
#memberReportsPanel .tx-symbol-performance__metric strong {font-variant-numeric:tabular-nums}
#memberReportsPanel #symbolPerformanceMetrics {margin-block:.65rem 1rem}
#memberReportsPanel #backtestFrozenSettings {max-height:22rem;overflow:auto}
#memberAccountPanel .cpf-section-heading {align-items:center;gap:.6rem}
#memberAccountPanel .cpf-section-heading h1 {margin:0;font-size:clamp(1.35rem,4.8vw,1.9rem)}
#memberAccountPanel #memberOrders {margin-block:1rem .5rem}
.cpf-member-shell [data-member-alert-settings] .tx-preferences-open {width:100%;min-height:44px;text-align:start}
@media(max-width:760px) {
  .cpf-member-shell .cpf-member-header__inner {flex-wrap:nowrap;gap:clamp(.15rem,1vw,.5rem)}
  .cpf-member-shell .cpf-member-header__actions {flex:none}
  .cpf-member-shell #memberReportsPanel {touch-action:pan-x pan-y pinch-zoom}
  #memberReportsPanel #btnRefreshBacktestRuns {min-height:44px;padding:.35rem .6rem}
  #memberReportsPanel .tx-symbol-performance__metric {padding:.55rem .65rem}
  #memberReportsPanel .tx-symbol-performance__metric small {font-size:.72rem}
  #memberReportsPanel .tx-symbol-performance__metric strong {font-size:1.05rem}
}
@media(max-width:359px) {
  html[data-theme] .cpf-member-header .cpf-member-brand {width:6.65rem}
}
