/* Pricing grid: copied 1:1 from the dashboard (staging-dashboard.myforexfunds.com/funded-trading-programs,
   build/assets/customer-*.css, .market-* rules). Do not restyle; only the additions at the end are ours. */
.market-plan__badge,.market-tier__badge{ background:var(--market-accent);letter-spacing:.04em;text-transform:uppercase;white-space:nowrap;color:var(--market-accent-ink);border-radius:999px;align-items:center;font-size:10px;font-weight:600;line-height:12px;display:flex;position:absolute;left:50%;transform:translate(-50%)}
/* every card has the frosted glass of the popular one, so the grid reads clearly over the moving background */
.market-plan,.market-tier{ background-color:#0e1a2480;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);background-image:linear-gradient(180deg, color-mix(in srgb, var(--market-accent) 20%, transparent) 0%, transparent 38.73%);outline:1px solid color-mix(in srgb, var(--market-accent) 25%, transparent);outline-offset:-1px}
.market-plan--popular,.market-tier--popular{ background-color:#0e1a2480;background-image:linear-gradient(180deg, color-mix(in srgb, var(--market-accent) 40%, transparent) 0%, transparent 57.69%);outline-color:color-mix(in srgb, var(--market-accent) 30%, transparent);-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px)}
.market-pricing{ flex-direction:column;gap:24px;display:flex;container-type:inline-size}
.market-offer{ --market-accent:#4fc3f7;--market-accent-ink:#04121f;flex-direction:column;gap:24px;min-width:0;display:flex}
.market-offer--accelerated{ --market-accent:#c084fc;--market-accent-ink:#1a1024}
.market-program-icon{ flex-shrink:0;width:27px;height:27px;overflow:visible}
.market-programs{ flex-direction:column;gap:12px;display:flex}
@container (width>=600px){ .market-programs{ flex-direction:row;justify-content:center;gap:16px}
}
.market-program{ --market-accent:#4fc3f7;outline:1px solid var(--market-accent);outline-offset:-1px;text-align:left;color:#fff;opacity:.4;cursor:pointer;background-image:linear-gradient(238deg,#4fc3f733 15%,#0092c433 87%);border:0;border-radius:999px;align-items:center;gap:12px;min-height:60px;padding:10px 28px 10px 25px;font-family:poppins,sans-serif;transition:opacity .15s;display:flex}
.market-program--accelerated{ --market-accent:#c084fc;background-image:linear-gradient(238deg,#c084fc66 15%,#9357cb66 96%)}
.market-program:hover{ opacity:.7}
.market-program--active,.market-program--active:hover{ opacity:1}
.market-program:focus-visible{ outline-width:2px}
.market-program__icon{ width:35px;height:35px}
.market-program__text{ flex-direction:column;gap:2px;min-width:0;display:flex}
.market-program__name{ font-size:16px;font-weight:600;line-height:20px}
.market-program__tagline{ color:#e6e6e6;font-size:12px;line-height:16px}
.market-options{ flex-direction:column;align-items:center;gap:14px;display:flex}
@container (width>=600px){ .market-options{ flex-direction:row;justify-content:center;gap:20px}
}
.market-options:not(:has(*)){ display:none}
.market-options__group{ flex-direction:column;align-items:center;gap:8px;display:flex}
@container (width>=600px){ .market-options__group{ flex-direction:row;gap:12px}
}
.market-options__label{ letter-spacing:.05em;text-transform:uppercase;color:#8c9bb0;font-size:12px;font-weight:500;line-height:16px}
@container (width>=600px){ .market-options__label{ font-size:10px;line-height:12px}
}
.market-options__divider{ background:#ffffff1f;width:1px;height:24px;display:none}
@container (width>=600px){ .market-options__divider{ display:block}
}
.market-segment{ outline-offset:-1px;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);background:#0e1a2480;border-radius:11px;outline:1px solid #ffffff14;gap:4px;padding:3px;display:flex}
@container (width>=600px){ .market-segment{ -webkit-backdrop-filter:none;backdrop-filter:none;background:#ffffff0a}
}
.market-segment__option{ white-space:nowrap;color:#b8c7db;cursor:pointer;background:0 0;border:0;border-radius:8px;align-items:center;height:30px;padding:0 12px;font-family:poppins,sans-serif;font-size:13px;font-weight:500;line-height:16px;transition:background .15s,color .15s;display:flex}
@container (width>=600px){ .market-segment__option{ padding:0 16px}
}
.market-segment__option:hover:not(:disabled){ color:#fff}
.market-segment__option:focus-visible{ outline:1px solid var(--market-accent);outline-offset:1px}
.market-segment__option:disabled{ opacity:.4;cursor:not-allowed}
.market-segment__option--active{ outline:1px solid color-mix(in srgb, var(--market-accent) 65%, transparent);outline-offset:-1px;background:color-mix(in srgb, var(--market-accent) 15%, transparent);color:#fff;font-weight:600}
.market-row-icon{ color:var(--market-accent);flex-shrink:0}
.market-info{ flex-shrink:0;margin:0 0 12px -12px;display:inline-flex}
.market-tiers__label--head .market-info{ margin-bottom:8px}
.market-info__trigger{ color:#ffffffd9;cursor:pointer;background:0 0;border:0;border-radius:50%;justify-content:center;align-items:center;width:16px;height:16px;padding:0;transition:color .15s;display:flex}
.market-info__trigger:hover,.market-info__trigger[aria-expanded=true]{ color:var(--market-accent)}
.market-info__trigger:focus-visible{ outline:1px solid var(--market-accent)}
.market-info__pop{ z-index:30;outline:1px solid color-mix(in srgb, var(--market-accent) 45%, transparent);outline-offset:-1px;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);text-align:left;white-space:normal;background:#0e1a24f5;border-radius:12px;flex-direction:column;gap:2px;width:min(280px,100vw - 48px);padding:12px 14px;font-family:poppins,sans-serif;display:flex;position:absolute;top:calc(100% + 6px);left:0;box-shadow:0 12px 32px #00000073,0 2px 8px #00000040}
.market-info__title{ color:#fff;font-size:12px;font-weight:600;line-height:16px}
.market-info__text{ color:#c9d6e6;font-size:12px;font-weight:400;line-height:17px}
.market-tiers{ gap:8px;padding-top:12px;display:none}
@container (width>=880px){ .market-tiers{ display:flex}
}
.market-tiers__labels{ flex-direction:column;flex:0 0 170px;min-width:0;display:flex}
.market-tiers__label{ color:#fff;border-bottom:1px solid #ffffff14;align-items:center;gap:12px;height:32px;font-size:13px;font-weight:500;line-height:18px;display:flex;position:relative}
.market-tiers__label--head{ border-bottom-color:#ffffff1a;align-items:flex-end;height:62px;padding-bottom:7px}
.market-tiers__label--last{ border-bottom-color:#ffffff1a}
.market-tiers__label--fee{ border-bottom:0;height:53px;font-size:14px;line-height:19px}
.market-tier{ text-align:center;color:#fff;border-radius:14px;flex-direction:column;flex:1 1 0;min-width:0;padding:0 8px 12px;display:flex;position:relative}
.market-tier__badge{ height:22px;padding:0 10px;top:-11px}
.market-tier__head{ border-bottom:1px solid #ffffff1a;justify-content:center;align-items:flex-end;height:62px;padding-bottom:7px;display:flex}
.market-tier__size{ letter-spacing:-.01em;font-size:22px;font-weight:500;line-height:28px}
.market-tier__cell{ white-space:nowrap;border-bottom:1px solid #ffffff14;justify-content:center;align-items:center;height:32px;font-size:14px;line-height:18px;display:flex}
.market-tier__cell:has(.market-tier__phase){ font-size:13px}
.market-tier__cell--last{ border-bottom-color:#ffffff1a}
.market-tier__phase{ color:#8c9bb0}
.market-tier__price{ letter-spacing:-.01em;white-space:nowrap;height:53px;color:var(--market-accent);justify-content:center;align-items:center;font-size:clamp(17px,1.9cqi,22px);font-weight:600;line-height:30px;display:flex}
.market-tier--popular .market-tier__price{ font-weight:700}
.market-tier__action{ align-items:flex-start;height:44px;display:flex}
.market-start{ letter-spacing:.03em;color:#fff;cursor:pointer;border:0;border-radius:10px;flex:auto;justify-content:center;align-items:center;width:100%;height:36px;font-family:poppins,sans-serif;font-size:12px;font-weight:600;line-height:16px;transition:transform .2s,box-shadow .2s,filter .2s;display:flex;position:relative;overflow:hidden;box-shadow:inset 0 0 0 1px #ffffff14,0 4px 20px #0ea5e959}
.market-start,.market-start[type=button]{ background-image:linear-gradient(#34d399 0%,#1a6d4f 100%)}
.market-start:after{ content:"";pointer-events:none;background:linear-gradient(110deg,#0000 30%,#ffffff47 50%,#0000 70%);position:absolute;inset:0;transform:translate(-120%)}
.market-start:hover:not(:disabled){ filter:brightness(1.1);transform:translateY(-2px);box-shadow:inset 0 0 0 1px #ffffff2e,0 8px 26px #34d39973}
.market-start:hover:not(:disabled):after{ transition:transform .6s;transform:translate(120%)}
.market-start:active:not(:disabled){ filter:brightness(.97);transform:translateY(0);box-shadow:inset 0 0 0 1px #ffffff14,0 3px 12px #34d39959}
@media (prefers-reduced-motion:reduce){ .market-start{ transition:box-shadow .2s,filter .2s}
.market-start:hover:not(:disabled){ transform:none}
.market-start:after{ display:none}
}
.market-start:focus-visible{ outline-offset:2px;outline:2px solid #34d399}
.market-start:disabled{ opacity:.6;cursor:not-allowed}
.market-start--large{ flex:none;height:44px;font-size:14px}
.market-start{ display:flex;position:relative;overflow:hidden;text-decoration:none}
.market-compact{ flex-direction:column;gap:20px;display:flex}
@container (width>=880px){ .market-compact{ display:none}
}
.market-chips{ flex-wrap:wrap;justify-content:center;gap:8px;padding-top:4px;display:flex}
.market-chip{ outline-offset:-1px;color:#b8c7db;cursor:pointer;background:#0e1a2480;border:0;border-radius:999px;outline:1px solid #ffffff14;align-items:center;height:36px;padding:0 14px;font-family:poppins,sans-serif;font-size:13px;font-weight:500;line-height:18px;transition:background .15s,color .15s;display:flex}
.market-chip:hover{ color:#fff}
.market-chip:focus-visible{ outline-color:var(--market-accent)}
.market-chip--active{ outline-color:color-mix(in srgb, var(--market-accent) 65%, transparent);background:color-mix(in srgb, var(--market-accent) 15%, transparent);color:#fff;font-weight:600}
.market-plan{ color:#fff;border-radius:14px;flex-direction:column;margin-top:12px;padding:0 16px 16px;display:flex;position:relative}
.market-plan__badge{ height:24px;padding:0 12px;font-size:11px;top:-12px}
.market-plan__head{ border-bottom:1px solid #ffffff1a;flex-wrap:wrap;align-items:baseline;gap:4px 10px;padding:22px 0 12px;display:flex}
.market-plan__size{ letter-spacing:-.01em;font-size:22px;font-weight:500;line-height:28px}
.market-plan__name{ color:#8c9bb0;font-size:13px;line-height:18px}
.market-plan__row{ border-bottom:1px solid #ffffff14;justify-content:space-between;align-items:center;gap:12px;min-height:44px;display:flex;position:relative}
.market-plan__label{ align-items:center;gap:12px;min-width:0;font-size:13px;font-weight:500;line-height:18px;display:flex}
.market-plan__label--fee{ font-size:14px;line-height:19px}
.market-plan__value{ text-align:right;white-space:nowrap;font-size:13px;font-weight:600;line-height:18px}
/* restored from the dashboard css (they sit just after the rules copied above) */
.market-plan__fee{ justify-content:space-between;align-items:center;gap:12px;height:64px;display:flex;position:relative}
.market-plan__price{ letter-spacing:-.01em;color:var(--market-accent);font-size:22px;font-weight:700;line-height:30px}

/* ours */
.mkt{position:relative;width:100%;max-width:1200px;margin-inline:auto;text-align:left}
.mkt .sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.mkt .market-info__pop[hidden]{display:none}
.mkt button{font-family:poppins,sans-serif}
.mkt svg{display:block}

/* phones: the accounts are a row you swipe; the neighbours peek in so it is clear there is more; dots under it.
   The fee sits on the right, large, in the program colour. */
.mkt .market-slider{position:relative;display:flex;gap:12px;overflow-x:auto;overscroll-behavior-x:contain;scroll-snap-type:x mandatory;scroll-padding:0 9%;padding:14px 9% 4px;margin:0 calc(var(--gutter, 16px) * -1);scrollbar-width:none;outline:none;-webkit-overflow-scrolling:touch}
.mkt .market-slider::-webkit-scrollbar{display:none}
.mkt .market-slider .market-plan{flex:0 0 82%;scroll-snap-align:center;scroll-snap-stop:always;margin-top:0;transition:opacity .25s,transform .35s cubic-bezier(.22,1,.36,1),box-shadow .3s}
.mkt .market-slider.market-nudge .market-plan{animation:mkNudge 1.1s cubic-bezier(.22,1,.36,1) .25s}
@keyframes mkNudge{45%{translate:-34px 0}}
.mkt .market-slider .market-plan.is-on{outline-color:color-mix(in srgb,var(--market-accent) 75%,transparent);box-shadow:0 22px 46px -26px var(--market-accent)}
.mkt .market-slider .market-plan:not(.is-on){opacity:.55;transform:scale(.96)}
.mkt .market-plan__fee{height:72px}
.mkt .market-plan__price{font-size:30px;line-height:34px;text-align:right}
.mkt .market-dots{display:flex;justify-content:center;gap:7px;margin-top:2px}
.mkt .market-dots i{width:6px;height:6px;border-radius:6px;background:rgba(255,255,255,.28);transition:width .3s,background .3s}
.mkt .market-dots i.on{width:20px;background:var(--market-accent)}
.mkt .market-plan__label--fee{white-space:nowrap}

/* phones: the account sizes in two even rows (7 sizes = 4 + 3, 5 = 3 + 2), each row centred, numbers a bit larger */
.mkt .market-chips{gap:8px;max-width:420px;margin:0 auto}
.mkt .market-chip{flex:0 0 calc((100% - (var(--per, 4) - 1) * 8px) / var(--per, 4));justify-content:center;height:42px;padding:0 6px;font-size:15px;font-variant-numeric:tabular-nums}
