/* Shared shell: the approved homepage header and footer on every current route. */
body>header.nf-site-header{position:sticky;top:0;z-index:60;display:block;height:auto;min-height:0;margin:0;padding:0;background:linear-gradient(110deg,#042144df,#04213bdb);border-bottom:1px solid #1c7397;box-shadow:0 2px 18px #00a4d414;backdrop-filter:blur(12px)}
body>header.nf-site-header>.header-inner,body>footer.nf-site-footer>.footer-inner{box-sizing:border-box;width:min(1120px,calc(100% - 72px));max-width:none;margin-inline:auto;padding-inline:0}
.nf-site-header a,.nf-site-footer a{text-decoration:none}.nf-site-header .brand{display:block;line-height:1}.nf-site-header .brand img{display:block;height:auto;object-fit:contain}.nf-site-header .header-tools{display:flex;align-items:center;flex:none}.nf-site-header .menu-button{display:none}.nf-site-header .menu-button svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round}
/* Header and footer composition from the approved homepage reference. */
.site-header .header-inner{display:grid;grid-template-columns:1fr auto 1fr;gap:28px;min-height:74px;align-items:center}
.site-header .brand{justify-self:start}.site-header .brand img{width:178px}
.site-header .main-nav{position:static;display:flex;justify-content:center;gap:30px;margin:0;padding:0;background:none;border:0}
.site-header .main-nav a,.site-header .main-nav a:nth-child(n){display:block;color:#e0eefa;font-size:12px;line-height:1.5;padding-block:10px;white-space:nowrap}
.site-header .main-nav a:hover{color:#4ce6ff}.site-header .main-nav .icon{display:none}
.site-header .header-tools{justify-self:end;gap:28px;margin:0}
.site-header .login-button{min-width:116px;min-height:40px;padding:9px 23px;font-size:12px;font-weight:500;border:1px solid #11bdf7;border-radius:7px;background:linear-gradient(110deg,#04223a55,#041d3966);color:#e5f5ff;box-shadow:0 0 0 3px #079bd414,inset 0 0 13px #0e88b911}
.site-header .login-button:hover{background:#0c3c5c;border-color:#70edff;box-shadow:0 0 16px #0cb9ed36}
.language-picker{position:relative;flex:none}
.language-toggle{display:flex;align-items:center;gap:8px;min-height:40px;padding:8px 2px;border:0;background:transparent;color:#d6e7f7;font-size:12px;line-height:1.5;cursor:pointer;white-space:nowrap}
.language-toggle:hover,.language-toggle[aria-expanded=true]{color:#60eaff}.language-toggle svg{width:11px;height:8px;fill:none;stroke:currentColor;stroke-width:1.3;transition:transform .15s}.language-toggle[aria-expanded=true] svg{transform:rotate(180deg)}
#language-options{position:absolute;top:calc(100% + 9px);right:-12px;display:grid;gap:3px;min-width:174px;padding:8px;background:linear-gradient(130deg,#073052f5,#041c36f9);border:1px solid #239cc4;border-radius:9px;box-shadow:0 12px 30px #000b28a6,0 0 15px #12abde26;backdrop-filter:blur(18px);z-index:45}
#language-options[hidden]{display:none}
#language-options a{display:flex;justify-content:space-between;align-items:center;gap:22px;padding:10px 12px;border-radius:5px;font-size:13px;line-height:1.5;color:#c7e4f6;white-space:nowrap}
#language-options a small{color:#83b8d5;font-size:10px}#language-options a:hover,#language-options a[aria-current=page]{background:#13506dc4;color:#71f1ff}#language-options a:focus-visible{outline:2px solid #65e9ff;outline-offset:-2px}
.site-footer>.footer-inner{display:flex;justify-content:space-between;align-items:center;min-height:115px;gap:32px;padding-block:26px}.site-footer .footer-brand{display:block;flex:none}.site-footer .footer-brand img{width:174px;display:block}.site-footer nav{display:flex;justify-content:center;gap:28px;flex-wrap:wrap;margin:0}.site-footer nav a{font-size:11px;line-height:1.6;color:#d6e8f6}.site-footer .risk-note{margin:0;border-left:1px solid #3d789c;padding:0 0 0 30px;color:#a7c2dc;line-height:1.8;font-size:10px;flex:none}.site-footer .risk-note span{color:#aacce6}
@media(max-width:1100px){.site-header .header-inner{gap:22px}.site-header .main-nav{gap:22px}.site-header .header-tools{gap:20px}.site-header .brand img{width:160px}.site-header .login-button{min-width:100px;padding-inline:18px}.site-footer>.footer-inner{gap:24px}.site-footer nav{gap:20px}.site-footer .risk-note{padding-left:22px}}
@media(max-width:850px){.site-header .header-inner{display:flex;justify-content:space-between;gap:14px}.site-header .main-nav{display:none;position:absolute;left:0;right:0;top:100%;padding:18px 24px;background:#052847f5;border-bottom:1px solid #2882a3;box-shadow:0 14px 22px #000d244a;justify-content:center;flex-wrap:wrap;gap:16px 26px}.site-header .main-nav.open{display:flex}.site-header .main-nav a:nth-child(n){display:block}.site-header .menu-button{display:block;color:#8acfe6;border:0;background:transparent;padding:8px}.site-header .header-tools{gap:19px}.site-footer>.footer-inner{flex-wrap:wrap;justify-content:center}.site-footer .risk-note{border:0;padding:0;text-align:center}.site-footer nav{gap:25px}}
@media(max-width:520px){.site-header .header-inner{min-height:68px;gap:8px}.site-header .brand img{width:134px}.site-header .header-tools{gap:12px}.site-header .login-button{min-width:0;min-height:35px;font-size:11px;padding:7px 14px}.language-toggle{font-size:11px;gap:5px;padding-inline:0}.site-header .menu-button{padding:5px}.site-header .menu-button .icon{width:18px;height:18px}#language-options{right:-12px;min-width:170px}.site-footer>.footer-inner{gap:22px;padding-block:29px}.site-footer .footer-brand{flex-basis:100%;display:flex;justify-content:center}.site-footer nav{gap:18px}.site-footer nav a{font-size:10px}.site-footer .risk-note{flex-basis:100%;font-size:10px}}
@media(max-width:370px){.site-header .brand img{width:112px}.site-header .header-tools{gap:9px}.site-header .login-button{padding-inline:10px}}

body>footer.nf-site-footer,body.nf-has-support>footer.nf-site-footer{display:block;min-height:0;height:auto;box-sizing:border-box;margin:28px 0 0;padding:0 0 env(safe-area-inset-bottom);background:linear-gradient(180deg,#03172d40,#02142da8);border-top:1px solid #26b7ec72;box-shadow:0 -1px 25px #06b8ef19;color:#bad6eb}
body>footer.nf-site-footer>.footer-inner{flex-wrap:nowrap;padding-right:38px}.nf-site-footer .footer-brand img{height:auto}.nf-site-footer .risk-note{max-width:270px;letter-spacing:normal;font-weight:400}.nf-site-footer nav{line-height:1.6}.nf-site-footer .footer-brand{margin:0}
body.cabinet-layout{grid-template-rows:auto minmax(0,1fr) auto}body.cabinet-layout>footer.nf-site-footer{margin-top:0}
@media(max-width:1100px){.nf-site-footer .risk-note{max-width:240px}}
@media(max-width:850px){body>footer.nf-site-footer>.footer-inner{flex-wrap:wrap;justify-content:center;padding-right:0}}
@media(max-width:700px){body>header.nf-site-header>.header-inner,body>footer.nf-site-footer>.footer-inner{width:calc(100% - 36px)}}
@media(max-width:520px){body>footer.nf-site-footer>.footer-inner{gap:16px;padding-block:20px}.nf-site-footer .risk-note{max-width:calc(100% - 140px)}body>footer.nf-site-footer .footer-brand{flex-basis:100%;display:flex;justify-content:center}.nf-site-footer nav{gap:12px 18px}}
@media(max-width:520px){body.nf-has-support #nf-support-widget{bottom:calc(12px + env(safe-area-inset-bottom))}}
/* On short cabinet screens, the full shared footer remains below the scrollable workspace. */
@media(max-height:620px){body.cabinet-layout{min-height:100dvh;height:auto;overflow:auto;display:flex;flex-direction:column}body.cabinet-layout>.auth-main{height:70dvh;min-height:360px;flex:none}body.cabinet-layout #auth-app{height:100%}}

/* One glass treatment over the same backdrop on every current page. */
body:has(>header.nf-site-header){background-image:linear-gradient(#00112950,#00122970),url('/assets/NikForex_Blue_Neon_Background.png');background-size:cover;background-position:center;background-attachment:fixed}
body>header.nf-site-header{background:linear-gradient(110deg,#04214485,#04213b85);-webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px)}
body>footer.nf-site-footer,body.nf-has-support>footer.nf-site-footer{background:linear-gradient(180deg,#03172d40,#02142da8);-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);font:10px/1.6 'Segoe UI',Arial,sans-serif}
body>footer.nf-site-footer .footer-brand{flex-direction:row;align-items:center;gap:0}

/* Keep chart samples interactive without painting point markers, including hover/focus. */
.strategy-axis-chart .chart-point,.return-chart .curve-point{fill:transparent!important;stroke:transparent!important;fill-opacity:0!important;stroke-opacity:0!important;pointer-events:all}
