/* Brand accents only. Trading directions, errors and warnings retain meaning. */
html[data-theme] body:has(.main > .top),
html[data-theme] body:has(.orax372-content) {
 --ac:var(--brand-primary)!important;
 --as:color-mix(in srgb,var(--brand-primary) 14%,var(--card))!important;
 --primary:var(--ac)!important;
 --secondary:var(--brand-secondary)!important;
 background:var(--bg)!important;
}
html[data-theme="light"] body:has(.main > .top),
html[data-theme="light"] body:has(.orax372-content) {
 --ac:color-mix(in srgb,var(--brand-primary) 65%,#101820)!important;
}
html[data-theme] body .main > .top {
 position:sticky!important; top:0!important; z-index:80!important;
 background:var(--bg)!important; padding-bottom:14px!important;
}
html[data-theme] .main > .top .ban {
 background:color-mix(in srgb,var(--brand-primary) 9%,#101713)!important;
}
html[data-theme] .main > .top .ban .line {background:color-mix(in srgb,var(--brand-primary) 25%,#24312b)!important}
html[data-theme="light"] .main > .top .ban {background:#fff!important;border:1px solid #dfe7ed!important;color:#203442!important;box-shadow:none!important}
html[data-theme="light"] .main > .top .ban :is(#goalAmount,b) {color:#203442!important}
html[data-theme="light"] .main > .top .ban :is(small,#goalRemain) {color:#647788!important}
html[data-theme="light"] .main > .top .ban .line {background:#e1e7ee!important}
html[data-theme="light"] .main > .top .ban .pill {background:#f3f5f8!important;color:#203442!important;border:1px solid #dfe7ed!important}
html[data-theme="light"] .main > .top .goal-modes {background:#f3f5f8!important;border-color:#dfe7ed!important}
html[data-theme="light"] .main > .top .goal-mode {color:#647788!important}
html[data-theme="light"] .main > .top .goal-mode.on {background:#dcefe6!important;color:#087350!important}
html body.affiliate-suite-body.orax-affiliate-admin {
 --aff-accent:var(--brand-primary)!important;
 --aff-tint:color-mix(in srgb,var(--brand-primary) 13%,var(--aff-panel))!important;
}
html body.affiliate-suite-body.orax-affiliate-admin.theme-light-mode {
 --aff-accent:color-mix(in srgb,var(--brand-primary) 65%,#101820)!important;
}
html body:has(#app) #app #tabs .square.add-asset-tab,
html body:has(#app) #app #mobileAddAssetBtn.mobile-add-asset-btn {
 background:color-mix(in srgb,var(--brand-primary) 10%,var(--brand-surface))!important;
 border-color:color-mix(in srgb,var(--brand-primary) 45%,var(--brand-border))!important;
 color:var(--brand-primary)!important;box-shadow:none!important;
}
html body.theme-light-mode:has(#app) #app #tabs .square.add-asset-tab,
html body.theme-light-mode:has(#app) #app #mobileAddAssetBtn.mobile-add-asset-btn {
 background:color-mix(in srgb,var(--brand-primary) 7%,#fff)!important;
 color:color-mix(in srgb,var(--brand-primary) 65%,#101820)!important;
}
html body:has(#app) #app #tabs .square.add-asset-tab:hover {
 background:color-mix(in srgb,var(--brand-primary) 19%,var(--brand-surface))!important;
 border-color:var(--brand-primary)!important;
}
html body:has(#app) #app #tabs .add-asset-tab .material-symbols-outlined {color:inherit!important}
html body.theme-light-mode:has(#app) #app .asset-icon-wrap img,
html body.theme-light-mode:has(#app) #symbolModal .asset-icon-wrap img {
 background:transparent!important;
}
html body:has(#app) .risk-template-head .material-symbols-outlined {color:var(--brand-primary)!important}
html body:has(#app) .tournament-rank span {background:color-mix(in srgb,var(--brand-primary) 11%,transparent)!important}
html body:has(#app) :is(.tour-confirm-actions .tour-submit,.tournament-joined button) {
 box-shadow:0 10px 20px color-mix(in srgb,var(--brand-primary) 18%,transparent)!important;
}
@media(max-width:700px){html[data-theme] body .main>.top{padding-bottom:8px!important}}
/* One deposit surface: embedded account cards must not paint a second box. */
html body.deposit-embed-mode.deposit-page #depositFormBox,
html body.deposit-embed-mode.deposit-page #pixBox,
html body.deposit-embed-mode.deposit-page .lzx-account-card.lzx-deposit-stage {
 border:0!important;background:transparent!important;box-shadow:none!important;
}
html body #traderoomDepositModal .tr-deposit-head::after {display:none!important}
html body.theme-light-mode #traderoomDepositModal .tr-deposit-head-icon {
 background:color-mix(in srgb,var(--brand-primary) 9%,#fff)!important;
 border-color:color-mix(in srgb,var(--brand-primary) 25%,#e1e7eb)!important;
}
