/* Shared visual corrections, scoped to the actual components. */
html body:has(#app) :is(.asset-icon-wrap > img, img.hist-icon, #assetMiniIcon) {
 object-fit:contain!important; object-position:center!important; background:transparent!important;
 border:0!important;border-radius:0!important;box-shadow:none!important;filter:none!important;
}
html body:has(#app) #symbolModal .symbol-card .s-head .asset-icon-wrap>img {
 width:100%!important;height:100%!important;max-width:100%!important;max-height:100%!important;
 padding:0!important;margin:0!important;transform:none!important;
}
html body:has(#app) .lzx-v325-layout-menu.lzx-v332-layout-menu {
 --menu-bg:var(--brand-surface);--menu-fg:var(--brand-text);--menu-muted:var(--brand-muted);--menu-line:var(--brand-border);
 background:var(--menu-bg)!important;color:var(--menu-fg)!important;border-color:var(--menu-line)!important;
 box-shadow:0 14px 38px #0003!important;
}
html body.theme-light-mode:has(#app) .lzx-v325-layout-menu.lzx-v332-layout-menu {
 --menu-bg:#fff;--menu-fg:#1b2a37;--menu-muted:#607383;--menu-line:#dde5ec;
}
html body:has(#app) .lzx-v332-layout-menu .lzx-v332-layout-option {color:var(--menu-fg)!important}
html body:has(#app) .lzx-v332-layout-menu :is(.lzx-v332-menu-head,.lzx-v332-layout-footer) {border-color:var(--menu-line)!important}
html body:has(#app) .lzx-v332-layout-menu :is(.lzx-v332-menu-head span,.lzx-v332-layout-labels small,.lzx-v332-layout-footer) {color:var(--menu-muted)!important}
html body:has(#app) .lzx-v332-layout-menu .lzx-v332-layout-option:is(:hover,:focus-visible,.is-selected) {
 background:color-mix(in srgb,var(--brand-primary) 10%,var(--menu-bg))!important;border-color:var(--brand-primary)!important;
}
html body:has(#app) .lzx-v332-layout-menu .lzx-v332-layout-preview {background:var(--menu-bg)!important;border-color:var(--menu-muted)!important}
html body:has(#app) .lzx-v332-layout-menu .is-selected .lzx-v332-layout-preview {border-color:var(--brand-primary)!important}
html body:has(#app) .lzx-v332-layout-menu .is-selected .lzx-v332-layout-preview i {background:var(--brand-primary)!important}
html body:has(#app) .lzx-v332-layout-menu .lzx-v332-layout-current {color:var(--brand-primary)!important}
html body.theme-light-mode:has(#app) .history-performance {background:#f5faf9!important;color:#243641!important;border-color:#dce8e5!important}
html body.theme-light-mode:has(#app) .history-performance .mini-chart-caption {color:#5d727c!important}
html body.theme-light-mode:has(#app) .history-performance-head b {color:#087d65!important}
html body.theme-light-mode:has(#app) .history-performance.loss .history-performance-head b {color:#c4344d!important}
html[data-theme] body .main>.top {
 margin-inline:-28px!important;padding-inline:28px!important;width:calc(100% + 56px)!important;
 box-sizing:border-box!important;border-bottom:1px solid var(--ln)!important;
}
@media(max-width:1000px){html[data-theme] body .main>.top {margin-inline:-14px!important;padding-inline:14px!important;width:calc(100% + 28px)!important}}
@media(max-width:700px){html[data-theme] body .main>.top {margin-inline:-10px!important;padding-inline:10px!important;width:calc(100% + 20px)!important}}
html[data-theme] .campaign-settings .campaign-card {background:var(--cp-bg)!important;background-image:none!important;color:var(--cp-text)!important;border-color:var(--cp-line)!important}
html[data-theme] .campaign-settings {--cp-green:var(--ac);--cp-tint:var(--as)}
html[data-theme] .nfx-history-toolbar {grid-template-columns:minmax(0,1fr) minmax(180px,220px)!important}
html[data-theme] .nfx-search {width:100%!important;display:block!important;min-width:0!important}
html[data-theme] .nfx-search input {padding-left:38px!important;width:100%!important}
html[data-theme] .nfx-history-item:hover {background:var(--as)!important;border-color:var(--ln)!important}
html[data-theme] :is(.nfx-history-icon,.nfx-type,.nfx-count,.email-vars-box) {background:var(--as)!important;color:var(--ac)!important;border-color:var(--ln)!important}
html[data-theme] .email-vars-box {padding:12px 14px;margin-bottom:16px;border:1px solid var(--ln);border-radius:10px}
html[data-theme] .nfx-history-content p {color:var(--mu)!important}
html[data-theme] .ann-type-tab {background:var(--bg)!important;color:var(--tx)!important;border-color:var(--ln)!important}
html[data-theme] .ann-type-tab.active {background:var(--as)!important;color:var(--ac)!important;border-color:var(--ac)!important}
html[data-theme] .preview-header.email-brand-header {background:var(--email-header-bg)!important}
.ann-live-preview{grid-column:1/-1;min-width:0}
.ann-live-preview header{display:flex;justify-content:space-between;align-items:center;gap:12px;margin:10px 0}
.ann-live-preview small{color:var(--mu)}
.ann-live-preview iframe{display:block;width:100%;height:330px;border:1px solid var(--ln);border-radius:14px;background:var(--bg)}
html body.lzx-auth-compact-page :is(.lzx-auth-primary,.lzx-code-send-btn){background:var(--brand-primary)!important;background-image:none!important;border-color:var(--brand-primary)!important;color:#fff!important;box-shadow:0 8px 22px color-mix(in srgb,var(--brand-primary) 15%,transparent)!important}
html body.lzx-auth-compact-page .lzx-lang-trigger{color:var(--brand-primary)!important}
html body.lzx-auth-compact-page .country-flag{display:inline-flex!important;align-items:center;justify-content:center;width:24px!important;height:18px!important;min-width:24px!important;flex:none;font:700 10px/1 system-ui;color:inherit;overflow:hidden;border-radius:3px!important}
html body.lzx-auth-compact-page .country-flag img{display:block!important;width:100%!important;height:100%!important;object-fit:cover!important;border-radius:0!important}
html body.lzx-auth-compact-page .lzx-auth-field:has([data-country-select]) select{background:transparent!important;border:0!important;padding:0!important;box-shadow:none!important;flex:1;min-width:0;color:inherit!important;font:inherit}
html body.lzx-auth-compact-page .phone-field{gap:12px!important;padding-left:12px!important}
html body.lzx-auth-compact-page .phone-prefix{position:relative;display:inline-flex;align-items:center;gap:7px;flex:none;padding-right:12px;border-right:1px solid #8d9baa44;min-height:32px;font-size:13px}
html body.lzx-auth-compact-page .phone-prefix select{position:absolute;inset:0;width:100%;height:100%;opacity:0;cursor:pointer}
html body.lzx-auth-compact-page .phone-prefix:focus-within{outline:2px solid var(--brand-primary);outline-offset:3px;border-radius:4px}
html body.lzx-auth-compact-page .phone-field input{padding-left:0!important;min-width:0!important;width:100%!important}
html body.lzx-auth-compact-page #phoneFormatHelp{grid-column:1/-1!important;font-size:11px!important;line-height:1.5!important;text-align:left!important;color:#738495!important;margin:0!important}
html body.lzx-auth-compact-page .lzx-code-status:empty{display:none!important}
html body.orax-affiliate-auth .lzx-min-kicker{display:inline-block;margin-bottom:10px;font-size:10px;letter-spacing:.07em;color:var(--brand-primary)}
html body#oraxPublicAuth .lzx-auth-form .phone-field{display:flex!important;gap:12px!important;align-items:center!important}
html body#oraxPublicAuth .lzx-auth-form .phone-field .phone-prefix{width:auto!important;min-width:102px!important;height:32px!important;padding:0 10px 0 0!important;margin:0!important;flex:0 0 auto!important}
html body#oraxPublicAuth .lzx-auth-form .phone-field input{flex:1 1 0%!important;width:0!important;padding:0!important}
html body#oraxPublicAuth .lzx-auth-form .phone-prefix select{min-height:32px!important;height:32px!important}
html body#oraxPublicAuth .lzx-auth-form :is(.lzx-auth-primary,.lzx-code-send-btn){background:var(--brand-primary)!important;background-image:none!important}
html body#oraxPublicAuth .lzx-auth-field:has(#countrySelect){grid-column:1/-1!important}
html body#oraxPublicAuth .phone-prefix,html body#oraxPublicAuth .phone-prefix b,html body#oraxPublicAuth .phone-prefix>span{color:#e7eef3!important;opacity:1!important;font-size:13px!important}
html body#oraxPublicAuth[data-auth-theme=light] .phone-prefix,html body#oraxPublicAuth[data-auth-theme=light] .phone-prefix b,html body#oraxPublicAuth[data-auth-theme=light] .phone-prefix>span{color:#233847!important}
/* Compact OTC presentation. No changes to engine commands or timing. */
html[data-theme] .otc-console .admin-card-head{padding:12px 16px!important;min-height:0!important}
html[data-theme] .otc-console .admin-card-body{padding:14px 16px!important}
html[data-theme] .otc-console .otc-console-hero{padding:10px 14px!important;margin-bottom:12px!important}
html[data-theme] .otc-console :is(.otc-console-grid,.otc-action-panel,.otc-preview-grid){gap:10px!important}
html[data-theme] .otc-console .otc-action-group{padding:10px!important}
html[data-theme] .otc-console .otc-action-buttons .admin-btn{min-height:32px!important;padding:7px 10px!important}
html[data-theme] .otc-console .otc-preview-canvas-wrap{height:150px!important;min-height:150px!important}
html[data-theme] .otc-console #otcCandlePreviewCanvas{height:150px!important}
html[data-theme] .otc-console .otc-command-summary{grid-template-rows:repeat(4,1fr);gap:6px!important}
html[data-theme] .otc-console .otc-command-summary>div{padding:8px 10px!important;min-height:0!important}
html[data-theme] .otc-console .otc-status-details{margin-top:8px;border:1px solid var(--ln);border-radius:10px;padding:8px 10px}
html[data-theme] .otc-console .otc-status-details>summary{cursor:pointer;font-size:12px;color:var(--mu)}
html[data-theme] .otc-console #otcApplicationScope{font-size:11px!important;line-height:1.4!important;margin:8px 0!important}
html[data-theme] .otc-console .otc-future-table-wrap{max-height:260px!important}
html[data-theme] #futureTable td{padding:9px 10px!important}
html[data-theme] #futureTable .mini-action{display:inline-flex!important;align-items:center;justify-content:center;gap:5px;min-width:58px;min-height:30px;padding:5px 9px!important;border:1px solid currentColor!important;border-radius:8px!important;font-size:11px!important;cursor:pointer;margin:2px}
html[data-theme] #futureTable .mini-action.green{color:#078263!important;background:color-mix(in srgb,#12b88b 9%,var(--card))!important}
html[data-theme] #futureTable .mini-action.red{color:#ce344e!important;background:color-mix(in srgb,#ee4963 8%,var(--card))!important}
html[data-theme] #futureTable .mini-action[aria-pressed=true]{box-shadow:inset 0 0 0 1px currentColor;font-weight:700}
html[data-theme=dark] #futureTable .mini-action.green{color:#51d6ae!important}
html[data-theme=dark] #futureTable .mini-action.red{color:#ff8396!important}
html[data-theme] #futureTable .mini-action:focus-visible{outline:2px solid currentColor;outline-offset:2px}
@media(max-width:700px){html[data-theme] .nfx-history-toolbar{grid-template-columns:1fr!important}}

/* Pair information is a dialog, separate from the chart's market controls. */
html body.theme-light-mode:has(#app) #expiryPickerPanel .expiry-quick-grid button.active,
html body.theme-light-mode:has(#app) #expiryPickerPanel .expiry-picker-tabs button.active{background:color-mix(in srgb,var(--brand-primary) 12%,#fff)!important;border-color:var(--brand-primary)!important;color:#183b35!important;box-shadow:inset 0 0 0 1px var(--brand-primary)!important}
html body.theme-light-mode:has(#app) #expiryPickerPanel .expiry-quick-grid button.active b{color:#183b35!important}
html body.theme-light-mode:has(#app) #expiryPickerPanel .expiry-quick-grid button.active small{color:#40645c!important}
html body.theme-light-mode:has(#app) #expiryPickerPanel .expiry-picker-head button{background:#f3f6f9!important;border-color:#dbe4eb!important;color:#4f6474!important}
html body.theme-light-mode:has(#app) #expiryPickerPanel .expiry-clock-field{color:#4f6474!important}
#pairInfoDialog{--pi-bg:#121b22;--pi-card:#19252e;--pi-line:#2b3a45;--pi-fg:#eef5f7;--pi-muted:#94a5b0;
 width:min(860px,calc(100vw - 32px));max-height:calc(100dvh - 40px);padding:0;border:1px solid var(--pi-line);border-radius:20px;
 background:var(--pi-bg);color:var(--pi-fg);box-shadow:0 24px 80px #0005;font:14px/1.5 Inter,system-ui,sans-serif;overflow:auto;}
body.theme-light-mode #pairInfoDialog{--pi-bg:#f7fafb;--pi-card:#fff;--pi-line:#dce5eb;--pi-fg:#182a37;--pi-muted:#627786}
#pairInfoDialog::backdrop{background:#05101880;backdrop-filter:blur(5px)}
#pairInfoDialog *{box-sizing:border-box}
#pairInfoDialog header{display:flex;align-items:center;gap:14px;padding:24px;border-bottom:1px solid var(--pi-line)}
#pairInfoDialog header .asset-icon-wrap{width:44px;height:44px}
#pairInfoDialog h2{margin:0;font-size:24px;color:var(--pi-fg)}
#pairInfoDialog small,#pairInfoDialog p{color:var(--pi-muted)}
#pairInfoDialog header>button{margin-left:auto;width:36px;height:36px;border:1px solid var(--pi-line);border-radius:10px;background:var(--pi-card);color:var(--pi-fg);cursor:pointer;font-size:22px}
#pairInfoBody{padding:24px;display:grid;gap:18px}
.pair-info-top{display:grid;grid-template-columns:1fr 1fr 1fr;gap:12px}
#pairInfoDialog article{min-width:0;padding:16px;background:var(--pi-card);border:1px solid var(--pi-line);border-radius:14px}
#pairInfoDialog article>small{display:block;margin-bottom:8px}
#pairInfoDialog article>b{display:block;font-size:24px;color:var(--pi-fg);font-variant-numeric:tabular-nums}
.pair-info-windows{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
#pairInfoDialog dl{margin:12px 0 0;display:grid;gap:7px}
#pairInfoDialog dl div{display:flex;justify-content:space-between;gap:10px;font-size:12px}
#pairInfoDialog dt{color:var(--pi-muted)}
#pairInfoDialog dd{margin:0;font-variant-numeric:tabular-nums}
#pairInfoDialog [data-sign=up]{color:#00996f!important}#pairInfoDialog [data-sign=down]{color:#e3445c!important}
#pairInfoDialog .pair-info-chart{height:80px;width:100%;color:var(--brand-primary);display:block;margin-top:10px}
#pairInfoDialog .pair-info-foot{font-size:12px;margin:0}
.pair-info-indicators{display:grid;grid-template-columns:1fr 1fr;gap:12px}
@media(max-width:600px){#pairInfoDialog header,#pairInfoBody{padding:16px}#pairInfoDialog h2{font-size:21px}.pair-info-top{grid-template-columns:1fr 1fr}.pair-info-top article:first-child{grid-column:1/-1}.pair-info-windows{grid-template-columns:1fr}.pair-info-windows article>dl{grid-template-columns:repeat(3,1fr)}#pairInfoDialog dl div{display:grid;gap:3px}#pairInfoDialog article>b{font-size:21px}}

/* Country and phone menus use the same surface in both appearances. */
.landing-models{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;margin-bottom:14px}
.landing-model-card{overflow:hidden;border:1px solid var(--border);border-radius:14px;background:var(--card)}
.landing-model-card:has(input:checked){border-color:var(--brand-primary);box-shadow:0 0 0 2px color-mix(in srgb,var(--brand-primary) 12%,transparent)}
.landing-model-card label{display:block;cursor:pointer}.landing-model-card label>img{display:block;width:100%;height:145px;object-fit:cover;object-position:top;background:#0b121b}
.landing-model-card label>span{display:flex;align-items:center;gap:10px;padding:14px 16px 4px}.landing-model-card input{accent-color:var(--brand-primary)}
.landing-model-card small{display:block;padding:0 16px 10px;color:var(--muted)}.landing-model-card>a{display:inline-block;margin:0 16px 14px;color:var(--brand-primary);font-weight:650}
.landing-model-save{display:flex;align-items:center;justify-content:space-between;gap:16px;margin:0 0 24px}.landing-model-save small{color:var(--muted);max-width:380px}
@media(max-width:650px){.landing-models{grid-template-columns:1fr}.landing-model-save{align-items:stretch;flex-direction:column}}
#tabs .tab{isolation:isolate;overflow:hidden}
#tabs .tab>.tab-sparkline{position:absolute!important;inset:auto 0 0!important;width:100%!important;height:38px!important;z-index:-1!important;pointer-events:none;opacity:.5;background:none!important}
#tabs .tab>.tab-sparkline[data-direction=up]{color:#00ac82}#tabs .tab>.tab-sparkline[data-direction=down]{color:#ee5666}#tabs .tab>.tab-sparkline[data-direction=flat]{color:#8a9aa9}
.country-picker-search:focus{outline:2px solid var(--brand-primary)!important}
body#oraxPublicAuth .country-native,body#oraxPublicAuth .phone-picker-host>[data-phone-flag],body#oraxPublicAuth .phone-picker-host>#phoneDial,body#oraxPublicAuth .phone-picker-host>span,body#oraxPublicAuth .country-picker-host>[data-country-flag]{display:none!important}
body#oraxPublicAuth .country-picker-host{display:flex!important;grid-column:1/-1!important;padding:0!important}
body#oraxPublicAuth .phone-picker-host{min-width:110px!important;flex:0 0 110px!important;position:relative;display:flex!important;padding:0!important;border-right:1px solid #26364a}
body#oraxPublicAuth .country-picker-trigger{display:flex!important;align-items:center;gap:10px;width:100%;min-height:50px;padding:10px 14px;border:0!important;border-radius:10px;background:transparent!important;color:inherit!important;font:inherit;font-size:14px;cursor:pointer;box-shadow:none!important;text-align:left}
body#oraxPublicAuth .country-picker-trigger span{color:inherit!important;position:static!important;font-size:inherit!important}
.country-picker-chevron{margin-left:auto;opacity:.7}
.country-picker-trigger img,.country-picker-option img{width:24px!important;height:18px!important;object-fit:cover!important;flex:none;border-radius:3px!important;box-shadow:0 0 0 1px #8092a522;background:none!important}
body#oraxPublicAuth .country-picker-trigger:focus-visible{outline:2px solid var(--accent,#00bd95);outline-offset:-3px}
.country-picker-popup{--picker-bg:#101a28;--picker-fg:#e9f0f6;--picker-muted:#9aaec0;--picker-border:#2a3c50;position:fixed;inset:auto;margin:0;padding:8px;border:1px solid var(--picker-border);border-radius:12px;background:var(--picker-bg);color:var(--picker-fg);box-shadow:0 18px 60px #0004;overflow:hidden;font:14px/1.4 Inter,system-ui,sans-serif;box-sizing:border-box}
.country-picker-popup:popover-open{display:flex;flex-direction:column}
body.theme-light-mode .country-picker-popup{--picker-bg:#fff;--picker-fg:#213444;--picker-muted:#61768a;--picker-border:#d7e2ec}
body#oraxPublicAuth .country-picker-popup .country-picker-search{position:static!important;width:100%!important;min-height:42px!important;margin:0 0 6px!important;padding:10px 12px!important;border:1px solid var(--picker-border)!important;border-radius:8px!important;background:var(--picker-bg)!important;color:var(--picker-fg)!important;font:inherit!important;outline-offset:-2px;box-sizing:border-box}
.country-picker-search::placeholder{color:var(--picker-muted)!important}
.country-picker-list{overflow:auto;overscroll-behavior:contain;min-height:0;scrollbar-width:thin;scrollbar-color:var(--picker-border) transparent}
body#oraxPublicAuth .country-picker-option{display:flex;align-items:center;gap:12px;width:100%;min-height:43px;padding:9px 10px;border:0!important;border-radius:7px;background:transparent!important;color:var(--picker-fg)!important;text-align:left;font:inherit;box-shadow:none!important;cursor:pointer}
.country-picker-option span{flex:1;color:inherit!important}.country-picker-option small{color:var(--picker-muted)!important;font-size:12px}
body#oraxPublicAuth .country-picker-option:hover,body#oraxPublicAuth .country-picker-option:focus-visible,body#oraxPublicAuth .country-picker-option[aria-selected=true]{background:color-mix(in srgb,var(--accent,#00bd95) 13%,var(--picker-bg))!important;outline:0}
.country-picker-empty{padding:16px 10px;color:var(--picker-muted)}
.aff-postback-form{display:grid;gap:24px}
.aff-postback-form fieldset{margin:0;padding:0;border:0;min-width:0}
.aff-postback-form legend{display:flex;align-items:center;gap:9px;margin-bottom:16px;font-weight:650}
.aff-postback-form legend i{display:grid;place-items:center;width:26px;height:26px;border-radius:50%;background:var(--aff-tint);color:var(--aff-accent);font-size:12px;font-style:normal}
.aff-postback-preview{display:grid;gap:10px;padding:18px;border:1px solid var(--aff-line);border-radius:12px;background:var(--aff-panel-2)}
.aff-postback-preview code{display:block;overflow-wrap:anywhere;white-space:normal;font-size:12px;color:var(--aff-text);line-height:1.7}
.aff-postback-preview small{font-size:11px}
.aff-postback-actions{display:flex;justify-content:flex-end;border-top:1px solid var(--aff-line);padding-top:18px}
body.theme-light-mode .phone-picker-host{border-right-color:#dce6ee!important}
@media(max-width:600px){body#oraxPublicAuth .lzx-register-form{gap:12px!important}body#oraxPublicAuth .lzx-register-form>.lzx-auth-field{grid-column:1/-1!important}}

html body:has(#app) #expiryPickerPanel{width:286px!important;padding:13px!important;border-radius:12px!important}
html body:has(#app) #expiryPickerPanel .expiry-picker-head{align-items:flex-start!important;gap:12px!important;margin-bottom:12px!important}
html body:has(#app) #expiryPickerPanel .expiry-picker-head button{display:grid!important;place-items:center!important;position:static!important;flex:0 0 30px!important;width:30px!important;height:30px!important;min-width:30px!important;min-height:30px!important;padding:0!important;line-height:1!important;border-radius:8px!important;transform:none!important}
html body:has(#app) #expiryPickerPanel .expiry-picker-head button svg{display:block!important;width:16px!important;height:16px!important;pointer-events:none}
html body:has(#app) #expiryPickerPanel .expiry-quick-grid{gap:7px!important}
html body:has(#app) #expiryPickerPanel .expiry-quick-grid button{min-height:49px!important;padding:8px 5px!important;border-radius:9px!important}
html body:has(#app) #expiryPickerPanel .expiry-quick-grid button b{font-size:13px!important}
html body:has(#app) #expiryPickerPanel .expiry-quick-grid button small{font-size:9px!important}
html body:has(#app) #expiryPickerPanel .expiry-picker-note{font-size:10px!important;margin-top:11px!important;line-height:1.4!important}
.evaluation-reference{display:block;margin-top:4px}
