/* A79.2 XO visual design layer */
.xo-tech-grid{background-image:linear-gradient(color-mix(in srgb,var(--xot-line) 45%,transparent) 1px,transparent 1px),linear-gradient(90deg,color-mix(in srgb,var(--xot-line) 45%,transparent) 1px,transparent 1px);background-size:28px 28px}
.xo-tech-label{font-size:.72rem;font-weight:800;letter-spacing:.08em;text-transform:uppercase;color:var(--xot-muted)}
.xo-tech-node{width:12px;height:12px;border-radius:50%;background:linear-gradient(135deg,#7138ee,#02d7c5);box-shadow:0 0 0 7px color-mix(in srgb,#54e5d4 13%,transparent)}
html[data-xo-theme="light"] .xo-pillar-card,html[data-xo-theme="dark"] .xo-pillar-card{position:relative;overflow:hidden}
.xo-pillar-card:after{content:"";position:absolute;right:-48px;top:-48px;width:180px;height:180px;border-radius:50%;pointer-events:none;background:radial-gradient(circle at 40% 40%,color-mix(in srgb,var(--xot-accent,#54e5d4) 24%,transparent),transparent 65%)}
.xo-pillar-card .mark{position:relative;display:grid;place-items:center;width:74px;height:74px;border-radius:22px;overflow:hidden;background:linear-gradient(145deg,color-mix(in srgb,var(--xot-accent,#54e5d4) 16%,var(--xot-surface)),color-mix(in srgb,#8d79ff 12%,var(--xot-surface)));border:1px solid var(--xot-line);box-shadow:var(--xot-shadow)}
.xo-pillar-card .mark:before,.xo-pillar-card .mark:after{content:"";position:absolute;border:1px solid color-mix(in srgb,var(--xot-accent,#54e5d4) 36%,transparent);border-radius:50%}
.xo-pillar-card .mark:before{width:52px;height:52px}.xo-pillar-card .mark:after{width:82px;height:82px}
.xo-pillar-card .mark img{position:relative;z-index:1;width:42px;height:42px}
.xo-pillar-card.academy{--xot-accent:#7556ee}.xo-pillar-card.labs{--xot-accent:#13cdb5}.xo-pillar-card.trading{--xot-accent:#21b8d8}

.xa-proof article,.xa-format-grid article,.xo-public-proof article,.xo-labs-intro-grid article{position:relative;overflow:hidden}
.xa-proof article:after,.xa-format-grid article:after,.xo-public-proof article:after,.xo-labs-intro-grid article:after{content:"";position:absolute;right:-18px;bottom:-18px;width:86px;height:86px;border-radius:50%;background:radial-gradient(circle,color-mix(in srgb,#54e5d4 13%,transparent),transparent 68%);pointer-events:none}
html[data-xo-theme="dark"] .xa-proof article,html[data-xo-theme="dark"] .xa-format-grid article,html[data-xo-theme="dark"] .xo-public-proof article,html[data-xo-theme="dark"] .xo-labs-intro-grid article,html[data-xo-theme="dark"] .xo-catalogue-empty{background:var(--xot-surface)!important;border-color:var(--xot-line)!important;color:var(--xot-text)!important}
html[data-xo-theme="dark"] .xa-proof p,html[data-xo-theme="dark"] .xa-format-grid p,html[data-xo-theme="dark"] .xo-public-proof span,html[data-xo-theme="dark"] .xo-labs-intro-grid p,html[data-xo-theme="dark"] .xo-catalogue-empty{color:var(--xot-muted)!important}
html[data-xo-theme="light"] .xa-proof article,html[data-xo-theme="light"] .xa-format-grid article,html[data-xo-theme="light"] .xo-public-proof article,html[data-xo-theme="light"] .xo-labs-intro-grid article{background:linear-gradient(150deg,#fff,#f7fbfd)!important;border-color:var(--xot-line)!important;box-shadow:var(--xot-shadow-light)!important}
.xa-portfolio-teaser{display:grid;grid-template-columns:minmax(0,1.1fr) minmax(280px,.9fr);gap:22px;align-items:center;padding:26px;border:1px solid var(--xot-line);border-radius:22px;background:linear-gradient(145deg,var(--xot-surface),color-mix(in srgb,#8d79ff 7%,var(--xot-surface)));box-shadow:var(--xot-shadow)}
.xa-portfolio-teaser h3{margin:.2em 0 .35em;font-size:clamp(1.4rem,2vw,2rem)}.xa-portfolio-teaser p{color:var(--xot-muted);line-height:1.55}
.xa-domain-mini{display:grid;grid-template-columns:repeat(3,1fr);gap:8px}
.xa-domain-mini span{min-height:84px;border:1px solid var(--xot-line);border-radius:14px;padding:11px;display:flex;align-items:flex-end;font-size:.78rem;font-weight:800;line-height:1.2;background:linear-gradient(145deg,color-mix(in srgb,#54e5d4 9%,var(--xot-surface)),color-mix(in srgb,#8d79ff 8%,var(--xot-surface)));position:relative;overflow:hidden}
.xa-domain-mini span:before{content:"";position:absolute;width:10px;height:10px;border-radius:50%;left:14px;top:14px;background:linear-gradient(135deg,#7138ee,#02d7c5);box-shadow:20px 13px 0 -3px color-mix(in srgb,#54e5d4 65%,transparent),42px 2px 0 -4px color-mix(in srgb,#8d79ff 70%,transparent)}
.xa-domain-mini span:after{content:"";position:absolute;left:19px;top:23px;width:45px;height:1px;transform:rotate(-10deg);background:color-mix(in srgb,var(--xot-muted) 25%,transparent)}

.xo-labs-workbench{display:grid;grid-template-columns:.92fr 1.08fr;min-height:265px;border:1px solid var(--xot-line);border-radius:18px;overflow:hidden;background:var(--xot-surface);box-shadow:var(--xot-shadow);margin-bottom:16px}
.xo-labs-guide{padding:18px;background:linear-gradient(160deg,color-mix(in srgb,#54e5d4 7%,var(--xot-surface)),var(--xot-surface));border-right:1px solid var(--xot-line)}
.xo-labs-guide header,.xo-labs-terminal header{display:flex;justify-content:space-between;gap:10px;align-items:center;margin-bottom:14px}.xo-labs-guide header b,.xo-labs-terminal header b{font-size:.77rem;letter-spacing:.08em;text-transform:uppercase}
.xo-labs-step{display:grid;grid-template-columns:28px 1fr;gap:10px;align-items:start;padding:9px 0;border-top:1px solid color-mix(in srgb,var(--xot-line) 72%,transparent)}.xo-labs-step:first-of-type{border-top:0}.xo-labs-step span{width:26px;height:26px;border-radius:8px;display:grid;place-items:center;background:color-mix(in srgb,#54e5d4 14%,var(--xot-surface));color:#079887;font-size:.74rem;font-weight:800}.xo-labs-step b{font-size:.88rem}.xo-labs-step small{display:block;color:var(--xot-muted);margin-top:3px}
.xo-labs-terminal{padding:18px;background:#071225;color:#cfe7ff}.xo-labs-terminal header{color:#7f95b3}.xo-labs-terminal pre{margin:0;font:600 .79rem/1.6 ui-monospace,SFMono-Regular,Menlo,monospace;white-space:pre-wrap}.xo-labs-terminal .ok{color:#55e7ba}.xo-labs-terminal .cmd{color:#69d8ff}.xo-labs-terminal .status{display:inline-flex;margin-top:16px;padding:5px 8px;border-radius:999px;background:#0c3c38;color:#65e7cb;font-size:.72rem;font-weight:800}
.xap-domain{isolation:isolate}.xap-domain:after{content:"";position:absolute;right:12px;top:12px;width:72px;height:72px;opacity:.55;z-index:-1;background:radial-gradient(circle at 18px 18px,var(--accent) 0 5px,transparent 6px),radial-gradient(circle at 54px 16px,color-mix(in srgb,var(--accent) 50%,#54e5d4) 0 4px,transparent 5px),radial-gradient(circle at 48px 52px,var(--accent) 0 5px,transparent 6px),linear-gradient(30deg,transparent 47%,color-mix(in srgb,var(--accent) 32%,transparent) 48% 51%,transparent 52%)}
.xap-domain-head{position:relative;z-index:1}.xap-domain-courses{position:relative;z-index:1}
.xap-card{background-image:radial-gradient(circle at 100% 0,color-mix(in srgb,var(--accent) 10%,transparent),transparent 34%)!important}
html[data-xo-theme="dark"] .xap-domain,html[data-xo-theme="dark"] .xap-card,html[data-xo-theme="dark"] .xap-panel,html[data-xo-theme="dark"] .xap-detail,html[data-xo-theme="dark"] .xap-level{background:var(--xot-surface)!important;border-color:var(--xot-line)!important;color:var(--xot-text)!important}
html[data-xo-theme="dark"] .xap-domain p,html[data-xo-theme="dark"] .xap-card-desc,html[data-xo-theme="dark"] .xap-muted,html[data-xo-theme="dark"] .xap-detail-facts p,html[data-xo-theme="dark"] .xap-chapter p{color:var(--xot-muted)!important}

.xac-hero{display:grid!important;grid-template-columns:minmax(0,1.35fr) minmax(280px,.65fr);gap:26px;align-items:center}
.xac-hero-copy{position:relative;z-index:2}.xac-hero-visual{position:relative;min-height:260px;border:1px solid var(--xot-line);border-radius:18px;overflow:hidden;background:linear-gradient(145deg,color-mix(in srgb,#54e5d4 8%,var(--xot-surface)),color-mix(in srgb,#8d79ff 10%,var(--xot-surface)));display:grid;place-items:center}
.xac-hero-visual:before{content:"";position:absolute;inset:0;background-image:linear-gradient(color-mix(in srgb,var(--xot-line) 45%,transparent) 1px,transparent 1px),linear-gradient(90deg,color-mix(in srgb,var(--xot-line) 45%,transparent) 1px,transparent 1px);background-size:30px 30px}
.xac-visual-core{position:relative;z-index:2;width:98px;height:98px;border-radius:28px;background:linear-gradient(145deg,color-mix(in srgb,#7138ee 16%,var(--xot-surface)),color-mix(in srgb,#02d7c5 12%,var(--xot-surface)));border:1px solid color-mix(in srgb,#54e5d4 30%,var(--xot-line));display:grid;place-items:center;box-shadow:0 16px 34px rgba(18,37,58,.18)}.xac-visual-core img{width:62px;height:62px}
.xac-orbit{position:absolute;z-index:1;inset:50% auto auto 50%;width:190px;height:190px;transform:translate(-50%,-50%);border-radius:50%;border:1px solid color-mix(in srgb,#8d79ff 26%,var(--xot-line));box-shadow:0 0 0 42px color-mix(in srgb,#54e5d4 4%,transparent)}
.xac-vtag{position:absolute;z-index:3;padding:6px 9px;border:1px solid var(--xot-line);border-radius:999px;background:color-mix(in srgb,var(--xot-surface) 92%,transparent);font-size:.67rem;font-weight:800;letter-spacing:.06em}.xac-vtag.a{left:16px;top:18px}.xac-vtag.b{right:16px;top:48%}.xac-vtag.c{left:24px;bottom:20px}
.xac-vmeta{position:absolute;right:14px;bottom:14px;z-index:3;padding:8px 10px;border-radius:10px;background:color-mix(in srgb,var(--xot-surface) 90%,transparent);border:1px solid var(--xot-line);font-size:.72rem;color:var(--xot-muted)}.xac-vmeta b{display:block;color:var(--xot-text);font-size:.94rem}
.xt-process-grid article,.xt-strategy-grid article{position:relative;overflow:hidden}.xt-process-grid article:after{content:"";position:absolute;right:-18px;top:-18px;width:74px;height:74px;border-radius:50%;background:radial-gradient(circle,color-mix(in srgb,#21b8d8 18%,transparent),transparent 68%)}
.xt-strategy-grid article:before{content:"";position:absolute;right:18px;bottom:18px;width:88px;height:48px;border-left:1px solid color-mix(in srgb,#54e5d4 28%,transparent);border-bottom:1px solid color-mix(in srgb,#54e5d4 28%,transparent);transform:skewY(-18deg);opacity:.75}
html[data-xo-theme="light"] .xt-copy>p{color:#5e6d84!important}
html[data-xo-theme="light"] .xt-signal-demo{background:linear-gradient(155deg,#eef7fb,#dfe8f5)!important;color:#0b1930!important;border:1px solid #ccd8e6!important;box-shadow:var(--xot-shadow)!important}
html[data-xo-theme="light"] .xt-signal-demo p,html[data-xo-theme="light"] .xt-signal-demo small,html[data-xo-theme="light"] .xt-signal-demo dt{color:#566983!important}
html[data-xo-theme="light"] .xt-signal-demo dd,html[data-xo-theme="light"] .xt-market strong{color:#0b1930!important}
html[data-xo-theme="light"] .xt-signal-demo dl{border-color:#9fb3c9!important}.xt-signal-demo dl>div{border-color:inherit!important}
html[data-xo-theme="light"] .xt-trust span{color:#38506d!important;border-color:#d6e0eb!important;background:#fff!important}
html[data-xo-theme="dark"] .xt-process-grid article,html[data-xo-theme="dark"] .xt-strategy-grid article{background:var(--xot-surface)!important;border-color:var(--xot-line)!important;color:var(--xot-text)!important}
@media(max-width:900px){.xa-portfolio-teaser{grid-template-columns:1fr}.xo-labs-workbench{grid-template-columns:1fr}.xo-labs-guide{border-right:0;border-bottom:1px solid var(--xot-line)}.xac-hero{grid-template-columns:1fr!important}.xac-hero-visual{min-height:220px}}
@media(max-width:620px){.xa-domain-mini{grid-template-columns:repeat(2,1fr)}.xac-hero-visual{min-height:205px}.xac-orbit{width:150px;height:150px}.xac-visual-core{width:82px;height:82px}.xac-visual-core img{width:52px;height:52px}}

.xo-labs-visual-stack{display:grid;gap:16px}
html[data-xo-theme="light"] .control-page-head h1,html[data-xo-theme="light"] .m1-topbar h1{color:#0b1930!important}
html[data-xo-theme="light"] .m1-panel h2,html[data-xo-theme="light"] .m1-panel h3,html[data-xo-theme="light"] .m1-card h3,html[data-xo-theme="light"] .m1-course-list h3,html[data-xo-theme="light"] .m1-kpis b{color:#0b1930!important}
html[data-xo-theme="light"] .m1-topbar p,html[data-xo-theme="light"] .m1-kicker{color:#60769a!important}
html[data-xo-theme="light"] .m1-topbar span,html[data-xo-theme="light"] .m1-panel-head>span,html[data-xo-theme="light"] .m1-course-list p,html[data-xo-theme="light"] .m1-card p,html[data-xo-theme="light"] .m1-note{color:#687b98!important}
html[data-xo-theme="light"] .m1-panel,html[data-xo-theme="light"] .m1-kpis article,html[data-xo-theme="light"] .m1-card{background:#fff!important;border-color:#dbe3ee!important}

html[data-xo-theme="dark"] .xap-map{background:linear-gradient(145deg,#0c1930,#101f39)!important;border-color:var(--xot-line)!important;color:var(--xot-text)!important}
html[data-xo-theme="dark"] .xap-map h2,html[data-xo-theme="dark"] .xap-map h3,html[data-xo-theme="dark"] .xap-map b{color:var(--xot-text)!important}
html[data-xo-theme="dark"] .xap-map .xap-muted,html[data-xo-theme="dark"] .xap-map small,html[data-xo-theme="dark"] .xap-map-note{color:var(--xot-muted)!important}
html[data-xo-theme="dark"] .xap-map-note,html[data-xo-theme="dark"] .xap-map-hub{background:#0d1b33!important;border-color:var(--xot-line)!important;color:var(--xot-text)!important;box-shadow:none!important}
html[data-xo-theme="dark"] .xap-domain-course{background:color-mix(in srgb,var(--accent) 12%,#111f3a)!important;border-color:color-mix(in srgb,var(--accent) 28%,var(--xot-line))!important;color:#f5f8ff!important}
html[data-xo-theme="dark"] .xap-domain-course:hover,html[data-xo-theme="dark"] .xap-domain-course:focus-visible{background:color-mix(in srgb,var(--accent) 18%,#111f3a)!important}
html[data-xo-theme="light"] .xt-signal-demo{background:linear-gradient(155deg,#173b5a,#0d2842)!important;color:#f7fbff!important;border-color:#2c5874!important}
html[data-xo-theme="light"] .xt-demo-head span,html[data-xo-theme="light"] .xt-market small,html[data-xo-theme="light"] .xt-signal-demo dt{color:#9db3cc!important}
html[data-xo-theme="light"] .xt-demo-head b,html[data-xo-theme="light"] .xt-market>span{color:#54e5d4!important}
html[data-xo-theme="light"] .xt-market strong,html[data-xo-theme="light"] .xt-signal-demo dd{color:#ffffff!important}
html[data-xo-theme="light"] .xt-signal-demo>p{color:#c7d6e7!important}
html[data-xo-theme="light"] .xt-signal-demo>small{color:#91a8c3!important}
html[data-xo-theme="light"] .xt-signal-demo dl,html[data-xo-theme="light"] .xt-signal-demo dl div{border-color:#4c6f8b!important}
html[data-xo-theme="dark"] .xo-release-note{background:#0b2a36!important;color:#bceee7!important;border-color:#154557!important}
html[data-xo-theme="dark"] .xo-release-note b{color:#66e3d5!important}

/* A79.2 owner-review corrections from 2026-09-29 screenshots */
.xo-catalogue .hx-section-head{align-items:start!important;margin-bottom:28px!important}
.xo-catalogue .hx-section-head .hx-kicker{grid-column:auto!important;margin:0 0 12px!important}
.xa-proof{padding-bottom:56px!important}
.xo-catalogue{padding-top:62px!important}
.xa-portfolio-teaser{grid-column:1/-1!important;width:100%;box-sizing:border-box}
html[data-xo-theme="light"] .xt-process-grid article,
html[data-xo-theme="light"] .xt-strategy-grid article{background:linear-gradient(145deg,#ffffff,#f5f9fc)!important;border-color:#dbe3ee!important;color:#0b1930!important;box-shadow:0 10px 28px rgba(13,31,57,.06)!important}
html[data-xo-theme="light"] .xt-process-grid h3,
html[data-xo-theme="light"] .xt-strategy-grid h3{color:#0b1930!important}
html[data-xo-theme="light"] .xt-process-grid p,
html[data-xo-theme="light"] .xt-strategy-grid p{color:#61708a!important}
html[data-xo-theme="light"] .xt-strategy-grid>article>span{color:#526a87!important}
html[data-xo-theme="light"] .xo-labs-model article{background:rgba(255,255,255,.72)!important;border-color:#dbe3ee!important}
html[data-xo-theme="light"] .xo-labs-model b{color:#078b7e!important}
html[data-xo-theme="light"] .xo-labs-model span{color:#61708a!important}
html[data-xo-theme="dark"] .xo-pillar-card ul{color:#a9bad0!important}
html[data-xo-theme="dark"] .xo-pillar-card strong{color:#4ee1d0!important}
html[data-xo-theme="dark"] .xo-final .xo-secondary{color:#f5f8ff!important;border-color:#405472!important;background:transparent!important}
html[data-xo-theme="dark"] .xo-final .xo-secondary:hover,
html[data-xo-theme="dark"] .xo-final .xo-secondary:focus-visible{border-color:#66e3d5!important;color:#66e3d5!important}
@media(max-width:980px){
 .xo-catalogue .hx-section-head{gap:18px!important}
 .xa-portfolio-teaser{grid-template-columns:1fr!important}
}
@media(max-width:620px){
 .xa-proof{padding-bottom:42px!important}
 .xo-catalogue{padding-top:48px!important}
}

/* A79.2 Trading Light-mode consolidation */
html[data-xo-theme="light"] .xt-process,
html[data-xo-theme="light"] .xt-strategies{
  background:var(--xot-bg)!important;
  color:var(--xot-text)!important;
}
html[data-xo-theme="light"] .xt-process .hx-section-head h2,
html[data-xo-theme="light"] .xt-strategies .hx-section-head h2,
html[data-xo-theme="light"] .xt-transparency h2,
html[data-xo-theme="light"] .xt-credits h2,
html[data-xo-theme="light"] .xt-safety h2,
html[data-xo-theme="light"] .xt-close h2{
  color:#0b1930!important;
}
html[data-xo-theme="light"] .xt-process .hx-section-head>p:not(.hx-kicker),
html[data-xo-theme="light"] .xt-strategies .hx-section-head>p:not(.hx-kicker),
html[data-xo-theme="light"] .xt-transparency p,
html[data-xo-theme="light"] .xt-credits p,
html[data-xo-theme="light"] .xt-safety p,
html[data-xo-theme="light"] .xt-close p:not(.hx-kicker){
  color:#5f7089!important;
}
html[data-xo-theme="light"] .xt-process-grid article,
html[data-xo-theme="light"] .xt-strategy-grid article{
  background:linear-gradient(150deg,#ffffff,#f5f9fc)!important;
  border-color:#d9e2ec!important;
  box-shadow:0 14px 34px rgba(20,44,78,.07)!important;
  color:#0b1930!important;
}
html[data-xo-theme="light"] .xt-process-grid article h3,
html[data-xo-theme="light"] .xt-strategy-grid article h3{
  color:#0b1930!important;
}
html[data-xo-theme="light"] .xt-process-grid article p,
html[data-xo-theme="light"] .xt-strategy-grid article p,
html[data-xo-theme="light"] .xt-strategy-grid>article>span{
  color:#61708a!important;
}
html[data-xo-theme="light"] .xt-transparency,
html[data-xo-theme="light"] .xt-credits,
html[data-xo-theme="light"] .xt-safety,
html[data-xo-theme="light"] .xt-close{
  background:linear-gradient(145deg,#ffffff,#f3f8fb)!important;
  border-color:#d9e2ec!important;
  color:#0b1930!important;
  box-shadow:0 16px 38px rgba(20,44,78,.07)!important;
}
html[data-xo-theme="light"] .xt-method,
html[data-xo-theme="light"] .xt-credit-card{
  background:#eef5f8!important;
  border-color:#cbd8e5!important;
  color:#0b1930!important;
}
html[data-xo-theme="light"] .xt-method span,
html[data-xo-theme="light"] .xt-safety-grid span{
  background:#ffffff!important;
  border-color:#cbd8e5!important;
  color:#21324a!important;
}
html[data-xo-theme="light"] .xt-method small,
html[data-xo-theme="light"] .xt-credit-card small,
html[data-xo-theme="light"] .xt-credit-card p{
  color:#687b95!important;
}
html[data-xo-theme="light"] .xt-credit-card strong{
  color:#0b1930!important;
}
html[data-xo-theme="light"] .xt-credit-card span{
  color:#40536f!important;
}
html[data-xo-theme="light"] .xt-credit-card hr{
  border-color:#cbd8e5!important;
}
html[data-xo-theme="light"] .xt-close .hx-button{
  box-shadow:0 8px 20px rgba(84,229,212,.16)!important;
}

/* A83-L3 customer workspace acceptance corrections. */
html[data-xo-theme="light"] .xoc-balance strong{color:#087b71!important}
html[data-xo-theme="light"] .xoc-balance small{color:#586d86!important}

/* Customer sign-in: HEXOUT, not a product-specific sign-in surface. */
html[data-xo-theme="light"] body.auth-page .auth-top{background:rgba(255,255,255,.96)!important;border-color:#dbe3ee!important}
html[data-xo-theme="light"] body.auth-page .logo::after{color:#0b1930!important}
html[data-xo-theme="light"] body.auth-page .auth-shell{color:#0b1930!important}
html[data-xo-theme="light"] body.auth-page .auth-brand-panel h1,
html[data-xo-theme="light"] body.auth-page .auth-card h2{color:#0b1930!important}
html[data-xo-theme="light"] body.auth-page .auth-brand-panel>p:not(.eyebrow),
html[data-xo-theme="light"] body.auth-page .auth-card>p,
html[data-xo-theme="light"] body.auth-page .auth-card label,
html[data-xo-theme="light"] body.auth-page .auth-help{color:#5b6e86!important}
html[data-xo-theme="light"] body.auth-page .auth-brand-panel .eyebrow,
html[data-xo-theme="light"] body.auth-page .auth-card .eyebrow{color:#087b71!important}
html[data-xo-theme="light"] body.auth-page .auth-trust span{background:#eef8f6!important;border-color:#c9e7e0!important;color:#36566b!important}
html[data-xo-theme="light"] body.auth-page .auth-card.panel{background:#fff!important;border-color:#dbe3ee!important;box-shadow:0 24px 64px rgba(16,41,67,.13)!important;color:#0b1930!important}
html[data-xo-theme="light"] body.auth-page input{background:#fff!important;color:#0b1930!important;border-color:#cbd8e6!important;color-scheme:light!important}
html[data-xo-theme="light"] body.auth-page .text-link{color:#087b71!important}

/* Academy customer colour hierarchy. */
html[data-xo-theme="light"] body.brand-academy .academy-eyebrow,
html[data-xo-theme="light"] body.brand-academy .academy-card-top,
html[data-xo-theme="light"] body.brand-academy .academy-card-category{color:#6553bf!important}

/* Labs customer pages: light mode uses readable paper panels, dark mode keeps the lab-console language. */
html[data-xo-theme="light"] body.brand-labs .academy-eyebrow{color:#087b71!important}
html[data-xo-theme="light"] body.brand-labs .labs-chip{background:#eaf7f5!important;border-color:#b9e3dc!important;color:#244f5c!important}
html[data-xo-theme="light"] body.brand-labs .labs-detail-back{color:#245e82!important}
html[data-xo-theme="light"] body.brand-labs .labs-detail-panel{background:#fff!important;border-color:#dbe3ee!important;color:#0b1930!important;box-shadow:0 12px 30px rgba(16,41,67,.06)!important}
html[data-xo-theme="light"] body.brand-labs .labs-detail-panel h2,
html[data-xo-theme="light"] body.brand-labs .labs-detail-panel h3{color:#0b1930!important}
html[data-xo-theme="light"] body.brand-labs .labs-detail-panel p,
html[data-xo-theme="light"] body.brand-labs .labs-detail-panel li,
html[data-xo-theme="light"] body.brand-labs .labs-product-note{color:#526a83!important}
html[data-xo-theme="light"] body.brand-labs .labs-detail-link{border-color:#8eb8dd!important;background:#f8fbfd!important;color:#1d5f9d!important}
html[data-xo-theme="light"] body.brand-labs .labs-purchase-card label{color:#344f68!important}
html[data-xo-theme="light"] body.brand-labs .labs-purchase-card select{background:#fff!important;border-color:#b9cadb!important;color:#0b1930!important;color-scheme:light!important}
html[data-xo-theme="light"] body.brand-labs .labs-book-preview{background:linear-gradient(135deg,#eef9f7,#f1f5ff)!important;border-color:#bee4dc!important}
html[data-xo-theme="light"] body.brand-labs .labs-book-preview p{color:#526a83!important}
html[data-xo-theme="light"] body.brand-labs .labs-book-preview p strong{color:#0b1930!important}
html[data-xo-theme="light"] body.brand-labs .labs-book-preview-button{background:#fff!important;border-color:#b8d5dc!important;color:#31556a!important}
html[data-xo-theme="light"] body.brand-labs .labs-book-preview-button small{color:#526a83!important;border-color:#cbd8e6!important}
html[data-xo-theme="light"] body.brand-labs .labs-category-head{color:#245b83!important}
html[data-xo-theme="light"] body.brand-labs .labs-category-card>strong,
html[data-xo-theme="light"] body.brand-labs .labs-journey-card>strong{color:#165fae!important}

/* Shared account pages: override legacy product-dark typography after the paper surfaces are applied. */
html[data-xo-theme="light"] body.workspace.shared-account-surface .panel h2,
html[data-xo-theme="light"] body.workspace.shared-account-surface .panel h3,
html[data-xo-theme="light"] body.workspace.shared-account-surface .panel b,
html[data-xo-theme="light"] body.workspace.shared-account-surface .panel strong,
html[data-xo-theme="light"] body.workspace.shared-account-surface .details dd,
html[data-xo-theme="light"] body.workspace.shared-account-surface .notification-item b,
html[data-xo-theme="light"] body.workspace.shared-account-surface .preference-card b,
html[data-xo-theme="light"] body.workspace.shared-account-surface .credit-principles b,
html[data-xo-theme="light"] body.workspace.shared-account-surface .wallet-boundary b{color:#0b1930!important}
html[data-xo-theme="light"] body.workspace.shared-account-surface .panel p,
html[data-xo-theme="light"] body.workspace.shared-account-surface .panel small,
html[data-xo-theme="light"] body.workspace.shared-account-surface .panel span:not(.access),
html[data-xo-theme="light"] body.workspace.shared-account-surface .details dt,
html[data-xo-theme="light"] body.workspace.shared-account-surface .notification-item small,
html[data-xo-theme="light"] body.workspace.shared-account-surface .notification-item time,
html[data-xo-theme="light"] body.workspace.shared-account-surface .preference-card p{color:#5b6f86!important}
html[data-xo-theme="light"] body.workspace.shared-account-surface .stats strong{color:#087b71!important}
html[data-xo-theme="light"] body.workspace.shared-account-surface .stats small,
html[data-xo-theme="light"] body.workspace.shared-account-surface .stats i{color:#5b6f86!important}
html[data-xo-theme="light"] body.workspace.shared-account-surface input:not([type="checkbox"]):not([type="radio"]),
html[data-xo-theme="light"] body.workspace.shared-account-surface select,
html[data-xo-theme="light"] body.workspace.shared-account-surface textarea{background:#fff!important;color:#0b1930!important;border-color:#bfcddd!important;color-scheme:light!important}
html[data-xo-theme="light"] body.workspace.shared-account-surface .empty-state{background:#f3f7fa!important;border-color:#dbe3ee!important;color:#60758c!important}
html[data-xo-theme="light"] body.workspace.shared-account-surface #hexo-purchase-panel{background:linear-gradient(135deg,#eef3fb,#f4f1ff)!important;border-color:#cbc5ec!important}
html[data-xo-theme="light"] body.workspace.shared-account-surface #hexo-purchase-panel .panel-head:after{color:#594b9a!important;border-color:#c9c0ed!important;background:#f7f4ff!important}
html[data-xo-theme="light"] body.workspace.shared-account-surface .credit-principles article,
html[data-xo-theme="light"] body.workspace.shared-account-surface .wallet-boundary article{background:#fff!important;border-color:#dbe3ee!important}
html[data-xo-theme="light"] body.workspace.shared-account-surface .credit-principles small,
html[data-xo-theme="light"] body.workspace.shared-account-surface .wallet-boundary small{color:#087b71!important}

/* Trading: inherit light semantic colours in main content while preserving the dark product sidebar. */
html[data-xo-theme="light"] body.workspace.brand-trading{
  --xt-text:#0b1930;--xt-muted:#5b6f86;--xt-dim:#526a80;--xt-line:#dbe3ee;
}
html[data-xo-theme="light"] body.workspace.brand-trading>aside{
  --xt-text:#f5f8fc;--xt-muted:#a7b8c9;--xt-dim:#8298ad;--xt-line:rgba(67,214,255,.15);
}
html[data-xo-theme="light"] body.workspace.brand-trading .app-head h1,
html[data-xo-theme="light"] body.workspace.brand-trading .journey-intro h2,
html[data-xo-theme="light"] body.workspace.brand-trading .panel h2,
html[data-xo-theme="light"] body.workspace.brand-trading .panel h3,
html[data-xo-theme="light"] body.workspace.brand-trading .panel b,
html[data-xo-theme="light"] body.workspace.brand-trading .panel strong{color:#0b1930!important}
html[data-xo-theme="light"] body.workspace.brand-trading .app-head .eyebrow,
html[data-xo-theme="light"] body.workspace.brand-trading .app-head .eyebrow::after{color:#087b71!important}
html[data-xo-theme="light"] body.workspace.brand-trading .status-pill{border-color:#b9e3d0!important;background:#f2fbf7!important;color:#087b71!important}
html[data-xo-theme="light"] body.workspace.brand-trading .trading-subnav{border-color:#dbe3ee!important}
html[data-xo-theme="light"] body.workspace.brand-trading .trading-subnav a{border-color:#dbe3ee!important;background:#fff!important;color:#526a80!important}
html[data-xo-theme="light"] body.workspace.brand-trading .trading-subnav a:hover{border-color:#9fcfc7!important;color:#0b1930!important}
html[data-xo-theme="light"] body.workspace.brand-trading .trading-subnav a.active{border-color:#99d8ce!important;background:#e9f8f5!important;color:#087b71!important;box-shadow:inset 0 -2px #087b71!important}
html[data-xo-theme="light"] body.workspace.brand-trading .panel,
html[data-xo-theme="light"] body.workspace.brand-trading .product-card,
html[data-xo-theme="light"] body.workspace.brand-trading .stats article,
html[data-xo-theme="light"] body.workspace.brand-trading .position-card{background:#fff!important;border-color:#dbe3ee!important;box-shadow:0 12px 30px rgba(16,41,67,.06)!important}
html[data-xo-theme="light"] body.workspace.brand-trading .panel p,
html[data-xo-theme="light"] body.workspace.brand-trading .panel small,
html[data-xo-theme="light"] body.workspace.brand-trading .panel span:not(.access),
html[data-xo-theme="light"] body.workspace.brand-trading .journey-intro>p{color:#5b6f86!important}
html[data-xo-theme="light"] body.workspace.brand-trading .stats strong{color:#0b1930!important}
html[data-xo-theme="light"] body.workspace.brand-trading .stats small,
html[data-xo-theme="light"] body.workspace.brand-trading .stats i{color:#526a80!important}
html[data-xo-theme="light"] body.workspace.brand-trading th{background:#eef3f7!important;color:#405a72!important;border-color:#dbe3ee!important}
html[data-xo-theme="light"] body.workspace.brand-trading td{color:#526a80!important;border-color:#e2e9f0!important}
html[data-xo-theme="light"] body.workspace.brand-trading td b{color:#0b1930!important}
html[data-xo-theme="light"] body.workspace.brand-trading input:not([type="checkbox"]):not([type="radio"]),
html[data-xo-theme="light"] body.workspace.brand-trading select,
html[data-xo-theme="light"] body.workspace.brand-trading textarea{background:#fff!important;color:#0b1930!important;border-color:#bfcddd!important;color-scheme:light!important}
html[data-xo-theme="light"] body.workspace.brand-trading .empty-state{background:#f2f6f9!important;border-color:#dbe3ee!important;color:#60758c!important}
html[data-xo-theme="light"] body.workspace.brand-trading .safety-banner{background:linear-gradient(135deg,#eef9f7,#f4f1ff)!important;border-color:#c5e4de!important}
html[data-xo-theme="light"] body.workspace.brand-trading .safety-banner b{color:#087b71!important}
html[data-xo-theme="light"] body.workspace.brand-trading .safety-banner p{color:#526a80!important}
html[data-xo-theme="light"] body.workspace.brand-trading .execution-boundary{background:linear-gradient(135deg,#123b57,#162b52)!important;border-color:#315874!important;color:#f5f8ff!important}
html[data-xo-theme="light"] body.workspace.brand-trading .execution-boundary h3{color:#f5f8ff!important}
html[data-xo-theme="light"] body.workspace.brand-trading .execution-boundary p{color:#c9d7e5!important}
html[data-xo-theme="light"] body.workspace.brand-trading .execution-boundary .button.secondary{border-color:#4d7897!important;background:rgba(255,255,255,.05)!important;color:#86ebf4!important}

/* A83-L3 final light-surface contrast corrections. */
html[data-xo-theme="light"] body.workspace.shared-account-surface .journey-intro h2{color:#0b1930!important}
html[data-xo-theme="light"] body.workspace.shared-account-surface .journey-intro>p{color:#526a83!important}
html[data-xo-theme="light"] body.workspace.shared-account-surface table td{color:#526a83!important}
html[data-xo-theme="light"] body.workspace.shared-account-surface table th{color:#405a72!important}
html[data-xo-theme="light"] body.workspace.shared-account-surface .access:not(.on){color:#526a83!important;background:#eef2f6!important;border-color:#d4dce7!important}
html[data-xo-theme="light"] body.brand-labs .labs-card-number{color:#087b71!important}
html[data-xo-theme="light"] body.brand-labs .labs-neighbour-nav small,
html[data-xo-theme="light"] body.brand-labs .labs-neighbour-nav span{color:#526a83!important}
html[data-xo-theme="light"] body.workspace.brand-trading>aside{
  background:linear-gradient(180deg,#061a2f 0%,#04111f 78%)!important;
  border-right:1px solid rgba(67,214,255,.15)!important;
}
html[data-xo-theme="light"] body.workspace.brand-trading>aside .xo-lockup-type strong,
html[data-xo-theme="light"] body.workspace.brand-trading>aside .account b{color:#f5f8fc!important}
html[data-xo-theme="light"] body.workspace.brand-trading>aside .xo-lockup-type small,
html[data-xo-theme="light"] body.workspace.brand-trading>aside .account small{color:#8298ad!important}

/* Shared-account header must remain HEXOUT, never inherit the XO-Trading pseudo-label. */
html[data-xo-theme] body.workspace.shared-account-surface .app-head .eyebrow{
  display:block!important;min-width:0!important;font-size:10px!important;color:#087b71!important;
}
html[data-xo-theme] body.workspace.shared-account-surface .app-head .eyebrow::after{
  content:none!important;display:none!important;
}
html[data-xo-theme] body.workspace.shared-account-surface .app-head::after{content:none!important;display:none!important}
