/*! Eight Forex design system (ef-design.css) - shared by eightforex.com and journal.eightforex.com.
   Generated by shared-design/gen_tokens.py from tokens + components.css. Do not edit the copies in the projects. */
@font-face{font-family:Inter;font-style:normal;font-weight:400 700;font-display:swap;src:url(fonts/inter-latin.woff2) format('woff2');unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
@font-face{font-family:Montserrat;font-style:normal;font-weight:600 800;font-display:swap;src:url(fonts/montserrat-latin.woff2) format('woff2');unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
/* ---- theme layer (generated by _shared/gen_theme.py) ---- */
:root,.scope-light,html.light .scope-light{--c-white:255 255 255;--c-gray-50:249 250 251;--c-gray-100:243 244 246;--c-gray-200:229 231 235;--c-gray-300:209 213 219;--c-gray-400:156 163 175;--c-gray-500:107 114 128;--c-gray-600:75 85 99;--c-gray-700:55 65 81;--c-gray-800:31 41 55;--c-gray-900:17 24 39;--c-ink-950:7 9 11;--c-ink-900:12 15 18;--c-ink-850:17 21 26;--c-ink-800:22 27 33;--c-ink-700:33 40 49;--c-ink-600:46 55 66;--c-brand-50:236 248 240;--c-brand-100:210 240 220;--c-brand-400:60 193 101;--c-brand-700:19 107 48;--c-loss:229 72 77;--c-loss-400:240 104 108;--c-amber-50:255 251 235;--c-amber-100:254 243 199;--c-amber-300:252 211 77;--c-amber-400:251 191 36;--c-amber-500:245 158 11;--c-amber-800:146 64 14;--c-amber-900:120 53 15;--ef-bg:255 255 255;--ef-surface:249 250 251;--ef-text:12 15 18;--ef-muted:75 85 99;--ef-subtle:107 114 128;--ef-border:229 231 235;--ef-hover:243 244 246;--ef-brand-text:19 107 48;--ef-brand-tint:236 248 240;--logo-l:block;--logo-d:none;color-scheme:light}
.scope-dark,.scope-fixed,html.dark .scope-dark,html.dark .scope-fixed,html.light .scope-fixed{--c-white:255 255 255;--c-gray-50:249 250 251;--c-gray-100:243 244 246;--c-gray-200:229 231 235;--c-gray-300:209 213 219;--c-gray-400:156 163 175;--c-gray-500:107 114 128;--c-gray-600:75 85 99;--c-gray-700:55 65 81;--c-gray-800:31 41 55;--c-gray-900:17 24 39;--c-ink-950:7 9 11;--c-ink-900:12 15 18;--c-ink-850:17 21 26;--c-ink-800:22 27 33;--c-ink-700:33 40 49;--c-ink-600:46 55 66;--c-brand-50:236 248 240;--c-brand-100:210 240 220;--c-brand-400:60 193 101;--c-brand-700:19 107 48;--c-loss:229 72 77;--c-loss-400:240 104 108;--c-amber-50:255 251 235;--c-amber-100:254 243 199;--c-amber-300:252 211 77;--c-amber-400:251 191 36;--c-amber-500:245 158 11;--c-amber-800:146 64 14;--c-amber-900:120 53 15;--ef-bg:14 18 22;--ef-surface:20 25 32;--ef-text:241 243 245;--ef-muted:179 187 197;--ef-subtle:154 163 174;--ef-border:42 49 59;--ef-hover:27 33 41;--ef-brand-text:90 212 134;--ef-brand-tint:16 42 27;--logo-l:none;--logo-d:block;color-scheme:dark}
html.dark .scope-light{--c-white:14 18 22;--c-gray-50:20 25 32;--c-gray-100:27 33 41;--c-gray-200:38 45 54;--c-gray-300:53 61 72;--c-gray-400:125 134 146;--c-gray-500:154 163 174;--c-gray-600:179 187 197;--c-gray-700:203 210 217;--c-gray-800:226 230 234;--c-gray-900:241 243 245;--c-ink-950:255 255 255;--c-ink-900:241 243 245;--c-ink-850:226 230 234;--c-ink-800:203 210 217;--c-ink-700:74 83 96;--c-ink-600:95 104 116;--c-brand-50:16 42 27;--c-brand-100:21 56 35;--c-brand-400:60 193 101;--c-brand-700:90 212 134;--c-loss:240 104 108;--c-loss-400:245 138 141;--c-amber-50:42 35 15;--c-amber-100:58 47 16;--c-amber-300:138 106 28;--c-amber-400:251 191 36;--c-amber-500:245 158 11;--c-amber-800:252 211 77;--c-amber-900:253 230 138;--ef-bg:14 18 22;--ef-surface:20 25 32;--ef-text:241 243 245;--ef-muted:179 187 197;--ef-subtle:154 163 174;--ef-border:42 49 59;--ef-hover:27 33 41;--ef-brand-text:90 212 134;--ef-brand-tint:16 42 27;--logo-l:none;--logo-d:block;color-scheme:dark}
html.light .scope-dark{--c-white:17 24 39;--c-gray-50:17 24 39;--c-gray-100:31 41 55;--c-gray-200:31 41 55;--c-gray-300:55 65 81;--c-gray-400:75 85 99;--c-gray-500:91 101 116;--c-gray-600:102 112 128;--c-gray-700:156 163 175;--c-gray-800:209 213 219;--c-gray-900:229 231 235;--c-ink-950:255 255 255;--c-ink-900:242 244 247;--c-ink-850:255 255 255;--c-ink-800:246 247 249;--c-ink-700:227 231 236;--c-ink-600:203 210 218;--c-brand-50:236 248 240;--c-brand-100:210 240 220;--c-brand-400:20 128 58;--c-brand-700:19 107 48;--c-loss:214 52 58;--c-loss-400:196 43 49;--c-amber-50:255 251 235;--c-amber-100:254 243 199;--c-amber-300:180 83 9;--c-amber-400:217 119 6;--c-amber-500:217 119 6;--c-amber-800:146 64 14;--c-amber-900:120 53 15;--ef-bg:255 255 255;--ef-surface:249 250 251;--ef-text:12 15 18;--ef-muted:75 85 99;--ef-subtle:107 114 128;--ef-border:229 231 235;--ef-hover:243 244 246;--ef-brand-text:19 107 48;--ef-brand-tint:236 248 240;--logo-l:block;--logo-d:none;color-scheme:light}
html.dark{color-scheme:dark}html.light{color-scheme:light}
html.dark .scope-light .scope-fixed:not(.no-ring){box-shadow:0 0 0 1px rgb(255 255 255/.08)}
/* ---- base ---- */
:root{--ef-brand:#1FA64A;--ef-brand-600:#18873C;--ef-brand-700:#136B30;--ef-font:Inter,system-ui,-apple-system,"Segoe UI",Roboto,sans-serif;--ef-font-display:Montserrat,Inter,system-ui,sans-serif;--ef-header-h:80px;--ef-max:72rem}
body{font-family:var(--ef-font)}
html{scroll-behavior:smooth}
.ef-display{font-family:var(--ef-font-display)}
:focus-visible{outline:2px solid var(--ef-brand);outline-offset:2px}

/* ---- logo (Maya's official header logos: light on light surfaces, dark on dark; 60px tall, native ratio) ---- */
.ef-logo{display:flex;align-items:center;flex-shrink:0;line-height:0;border-radius:8px}
.ef-logo img{height:60px;width:auto;max-width:none}
.ef-logo-l{display:var(--logo-l,block)}.ef-logo-d{display:var(--logo-d,none)}

/* ---- buttons ---- */
.ef-btn{display:inline-flex;align-items:center;justify-content:center;gap:.5rem;border-radius:.75rem;font-weight:600;white-space:nowrap;text-decoration:none;cursor:pointer;transition:background-color .15s,color .15s,border-color .15s}
.ef-btn--sm{border-radius:.5rem;padding:.5rem 1rem;font-size:.875rem;line-height:1.25rem}
.ef-btn-primary{background-color:var(--ef-brand-600);color:#fff;border:0}
.ef-btn-primary:hover{background-color:var(--ef-brand-700)}
.ef-btn-primary:disabled{opacity:.5;cursor:not-allowed}
.ef-btn-secondary{background-color:transparent;color:rgb(var(--ef-text));border:1px solid rgb(var(--ef-border))}
.ef-btn-secondary:hover{background-color:rgb(var(--ef-hover))}
.ef-iconbtn{display:inline-flex;height:2.25rem;width:2.25rem;flex-shrink:0;align-items:center;justify-content:center;border-radius:.5rem;border:1px solid rgb(var(--ef-border));background:transparent;color:rgb(var(--ef-muted));cursor:pointer}
.ef-iconbtn:hover{color:rgb(var(--ef-text));background-color:rgb(var(--ef-hover))}
.ef-iconbtn svg{height:1.125rem;width:1.125rem}

/* ---- header ---- */
.ef-header{position:sticky;top:0;z-index:30;background-color:rgb(var(--ef-bg)/.92);-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);border-bottom:1px solid rgb(var(--ef-border)/.7)}
.ef-header__inner{max-width:var(--ef-max);margin:0 auto;height:var(--ef-header-h);padding:0 1rem;display:flex;align-items:center;justify-content:space-between;gap:.75rem}
.ef-nav{display:none;align-items:center;gap:2rem;font-size:.875rem;line-height:1.25rem;font-weight:500}
.ef-nav a{position:relative;color:rgb(var(--ef-muted));text-decoration:none}
.ef-nav a:hover,.ef-nav a[aria-current=page]{color:rgb(var(--ef-text))}
.ef-nav a[aria-current=page]{font-weight:600}
.ef-nav a[aria-current=page]::after{content:"";position:absolute;left:0;right:0;bottom:-30px;height:2px;border-radius:9999px;background:var(--ef-brand)}
.ef-actions{display:flex;align-items:center;gap:.5rem}
.ef-only-desktop{display:none}
.ef-mobile-menu{border-top:1px solid rgb(var(--ef-border)/.7);background-color:rgb(var(--ef-bg));padding:.75rem 1.25rem;font-size:.875rem;font-weight:500}
.ef-mobile-menu[hidden]{display:none}
.ef-mobile-menu a{display:block;border-radius:.5rem;padding:.625rem .75rem;color:rgb(var(--ef-muted));text-decoration:none}
.ef-mobile-menu a:hover{background-color:rgb(var(--ef-hover));color:rgb(var(--ef-text))}
.ef-mobile-menu a[aria-current=page]{background-color:rgb(var(--ef-brand-tint));color:rgb(var(--ef-brand-text));font-weight:600}
.ef-menu-section{margin-top:.5rem;border-top:1px solid rgb(var(--ef-border)/.7);padding:.75rem .75rem .25rem}
.ef-label{margin:0 0 .5rem;font-size:.75rem;font-weight:600;color:rgb(var(--ef-subtle))}
@media (max-width:639.98px){.ef-hide-xs{display:none!important}}
@media (min-width:640px){.ef-header__inner{padding:0 1.25rem}}
@media (min-width:768px){.ef-nav{display:flex}.ef-only-desktop{display:block}.ef-menu-btn,.ef-mobile-menu{display:none!important}}

/* ---- theme switcher ---- */
.ef-tgroup{display:flex;width:100%;border-radius:.5rem;border:1px solid rgb(var(--ef-border));background-color:rgb(var(--ef-surface));padding:2px;color:rgb(var(--ef-muted))}
.ef-tgroup button{flex:1 1 0%;display:flex;align-items:center;justify-content:center;gap:.375rem;min-height:2.25rem;border:0;border-radius:.375rem;background:transparent;padding:.375rem .625rem;font:500 .75rem/1rem var(--ef-font);color:inherit;cursor:pointer}
.ef-tgroup button svg{height:1rem;width:1rem;flex-shrink:0}
.ef-tgroup button:hover{color:rgb(var(--ef-text))}
.ef-tgroup button[aria-pressed=true]{background-color:rgb(var(--ef-bg));color:rgb(var(--ef-text));box-shadow:0 1px 2px rgb(0 0 0/.12),0 0 0 1px rgb(var(--ef-border))}
.ef-tmenu{position:relative}
.ef-tmenu>summary{list-style:none}.ef-tmenu>summary::-webkit-details-marker{display:none}
.ef-tmenu__panel{position:absolute;right:0;z-index:40;margin-top:.5rem;width:16rem;border-radius:.75rem;border:1px solid rgb(var(--ef-border));background-color:rgb(var(--ef-bg));padding:.5rem;box-shadow:0 20px 25px -5px rgb(0 0 0/.15),0 8px 10px -6px rgb(0 0 0/.1)}
.ti{display:none}html[data-theme=light] .ti-light,html[data-theme=dark] .ti-dark,html[data-theme=system] .ti-system,html:not([data-theme]) .ti-system{display:block}

/* ---- footer (always dark, both themes) ---- */
.ef-footer{background-color:#07090B;color:#9CA3AF;font-size:.875rem;line-height:1.25rem}
.ef-footer__inner{max-width:var(--ef-max);margin:0 auto;padding:3rem 1.25rem}
.ef-footer__grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:2rem 1rem}
.ef-footer__brand{grid-column:1/-1}
.ef-footer__brand p{margin-top:1rem;max-width:20rem;line-height:1.625}
.ef-footer h2{margin:0;font:700 .875rem/1.25rem var(--ef-font-display);color:#fff}
.ef-footer ul{margin:.75rem 0 0;padding:0;list-style:none}.ef-footer li+li{margin-top:.5rem}
.ef-footer a{color:inherit;text-decoration:none}.ef-footer a:hover{color:#fff}
.ef-footer__legal{margin-top:2.5rem;max-width:48rem;font-size:.75rem;line-height:1.625;color:#8B939E}
.ef-footer__bottom{margin-top:1.5rem;border-top:1px solid rgb(255 255 255/.1);padding-top:1.5rem;display:flex;flex-direction:column;gap:.75rem}
.ef-footer__bottom nav{display:flex;flex-wrap:wrap;gap:.25rem 1.25rem}
.ef-badge{margin-left:.25rem;border-radius:9999px;background:rgb(255 255 255/.1);padding:.125rem .375rem;font-size:10px;font-weight:600;color:#D1D5DB}
@media (min-width:640px){.ef-footer__bottom{flex-direction:row;align-items:center;justify-content:space-between}}
@media (min-width:768px){.ef-footer__grid{grid-template-columns:1.4fr 1fr 1fr 1fr;gap:2.5rem}.ef-footer__brand{grid-column:auto}}

/* ---- charts & misc shared helpers ---- */
.ch-grid{stroke:rgb(var(--c-white))}.ch-base{stroke:rgb(var(--c-gray-400))}.ch-line{stroke:rgb(var(--c-brand-400))}.ch-text{fill:rgb(var(--c-gray-400))}
.grid-bg{background-image:linear-gradient(rgb(var(--c-ink-900)/.04) 1px,transparent 1px),linear-gradient(90deg,rgb(var(--c-ink-900)/.04) 1px,transparent 1px);background-size:40px 40px}
.tnum{font-variant-numeric:tabular-nums}
