/* Help Center: compact search, topic cards and article rows. Shared category/detail
   components retain the CMS data and navigation; styles are scoped to this page family. */
.fxm-help-page {
	--help-ink: #252735;
	--help-copy: #626777;
	--help-muted: #737887;
	--help-line: var(--color-outline-variant, #e2e7ff);
	--help-border: #e6e8f0;
	--help-accent: var(--color-primary, #4f34d9);
	--help-teal: var(--color-accent-teal, #89dfd7);
	--help-tint: #f7f5ff;
	min-height: 70vh;
	padding: 72px 0 48px;
	background: #fff;
	color: var(--help-ink);
	font-family: var(--font-family-body);
}
.fxm-help-shell { max-width: 1240px; margin: 0 auto; padding: 0 32px; }
.fxm-help-page :is(a, button) { touch-action: manipulation; }
.fxm-help-page :is(a, button):focus-visible { outline: 2px solid var(--help-accent); outline-offset: 4px; border-radius: 8px; }

/* ---------- breadcrumb ---------- */
.fxm-help-crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 8px; font-size: 13px; line-height: 1.5; color: var(--help-muted); }
.fxm-help-crumbs a { color: inherit; transition: color .15s ease; }
.fxm-help-crumbs a:hover { color: var(--help-accent); }
.fxm-help-crumbs svg { flex: 0 0 auto; color: #b4b9c6; }
.fxm-help-crumbs [aria-current] { min-width: 0; max-width: 420px; overflow: hidden; color: var(--help-ink); text-overflow: ellipsis; white-space: nowrap; }

/* ---------- landing hero + search ---------- */
.fxm-help-home-page { padding: 72px 0 64px; background: #fff; }
.fxm-help-hero { position: relative; isolation: isolate; overflow: hidden; padding: 26px 0 42px; border-bottom: 1px solid #f0edf7; background: #f8f6fd; }
.fxm-help-hero::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
	pointer-events: none;
	background: var(--fxm-img-ai-fine-texture-v1, url('../images/navigation/ai-fine-texture-v1.webp')) no-repeat right 55% / cover;
	opacity: .8;
	-webkit-mask-image: linear-gradient(90deg, transparent 25%, #000 85%);
	mask-image: linear-gradient(90deg, transparent 25%, #000 85%);
}
.fxm-help-hero-main { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.35fr); align-items: center; gap: 40px; margin: 28px 0 0; }
.fxm-help-hero-copy { min-width: 0; }
.fxm-help-hero-title { margin: 0; color: var(--help-ink); font-family: var(--font-family-heading); font-size: 34px; font-weight: 700; line-height: 1.25; text-wrap: balance; }
.fxm-help-hero-desc { max-width: 480px; margin: 8px 0 0; color: var(--help-copy); font-size: 14px; line-height: 1.65; text-wrap: pretty; }
.fxm-help-search { position: relative; display: flex; align-items: center; min-width: 0; width: 100%; height: 54px; margin: 0; padding: 5px 5px 5px 48px; border: 1px solid #d9d5e6; border-radius: 999px; background: #fff; transition: border-color .15s ease, box-shadow .15s ease; }
.fxm-help-search:focus-within { border-color: #a896ec; box-shadow: 0 0 0 3px rgba(79, 52, 217, .1); }
.fxm-help-search-icon { position: absolute; top: 50%; left: 20px; color: #98a0b3; transform: translateY(-50%); pointer-events: none; }
.fxm-help-search input { flex: 1; min-width: 0; height: 100%; padding: 0 8px 0 0; border: 0; background: transparent; color: var(--help-ink); font-size: 16px; outline: none; }
.fxm-help-search input::placeholder { color: #7d8192; }
.fxm-help-search input::-webkit-search-cancel-button { display: none; }
.fxm-help-search-clear { display: inline-flex; flex: 0 0 auto; align-items: center; justify-content: center; width: 32px; height: 32px; margin-right: 6px; border-radius: 50%; color: #98a0b3; transition: background-color .15s ease, color .15s ease; }
.fxm-help-search-clear:hover { background: #f2f3f8; color: var(--help-ink); }
.fxm-help-search button { flex: 0 0 auto; height: 100%; padding: 0 24px; border: 0; border-radius: 999px; background: var(--help-accent); color: #fff; font-size: 14px; font-weight: 500; cursor: pointer; transition: background-color .15s ease; }
.fxm-help-search button:hover { background: #4027be; }

/* ---------- sections ---------- */
.fxm-help-body { padding-top: 40px; }
.fxm-help-section + .fxm-help-section { margin-top: 44px; }
.fxm-help-section-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 12px 20px; margin-bottom: 22px; }
.fxm-help-section-head h2 { margin: 0; color: var(--help-ink); font-family: var(--font-family-heading); font-size: 21px; font-weight: 600; line-height: 1.4; overflow-wrap: anywhere; }
.fxm-help-section-note { margin: 0; color: var(--help-copy); font-size: 14px; }
.fxm-help-section-note strong { margin: 0 2px; color: var(--help-ink); font-weight: 600; font-variant-numeric: tabular-nums; }

/* ---------- category cards ---------- */
.fxm-help-cats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; margin: 0; padding: 0; list-style: none; }
.fxm-help-cats > li { display: flex; min-width: 0; }
.fxm-help-cat { display: flex; flex: 1; align-items: flex-start; gap: 16px; min-width: 0; padding: 24px; border: 1px solid #dfdfe9; border-radius: 13px; background: #fff; color: inherit; transition: border-color .2s ease, background-color .2s ease; }
.fxm-help-cat:hover { border-color: #bfb1ed; background: #fcfbff; }
.fxm-help-cat-icon { display: flex; flex: 0 0 auto; align-items: center; justify-content: center; width: 26px; height: 26px; margin-top: 1px; color: var(--help-accent); }
.fxm-help-cat-icon svg { width: 24px; height: 24px; stroke-width: 1.7; }
.fxm-help-cat-icon.is-large { width: 42px; height: 42px; }
.fxm-help-cat-icon.is-large svg { width: 32px; height: 32px; }
.fxm-help-cat-copy { display: flex; flex: 1; flex-direction: column; gap: 8px; min-width: 0; }
.fxm-help-cat-name { color: var(--help-ink); font-family: var(--font-family-heading); font-size: 17px; font-weight: 600; line-height: 1.45; overflow-wrap: anywhere; transition: color .2s ease; }
.fxm-help-cat:hover .fxm-help-cat-name { color: var(--help-accent); }
.fxm-help-cat-desc { display: -webkit-box; overflow: hidden; color: var(--help-copy); font-size: 14px; line-height: 1.7; overflow-wrap: anywhere; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
.fxm-help-cat-count { margin-top: 4px; color: var(--help-muted); font-size: 13px; font-variant-numeric: tabular-nums; }
.fxm-help-cat-arrow { flex: 0 0 auto; margin-top: 4px; color: #b4b9c6; transition: color .2s ease, transform .2s ease; }
.fxm-help-cat:hover .fxm-help-cat-arrow { color: var(--help-accent); transform: translateX(2px); }
.fxm-help-cats.is-compact { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.fxm-help-cats.is-compact .fxm-help-cat { align-items: center; gap: 12px; padding: 14px 16px; border-radius: 14px; }
.fxm-help-cats.is-compact .fxm-help-cat-icon { width: 24px; height: 24px; }
.fxm-help-cats.is-compact .fxm-help-cat-name { font-size: 15px; }
.fxm-help-cats.is-compact .fxm-help-cat-count { margin-top: 0; }
.fxm-help-cats.is-compact .fxm-help-cat-arrow { margin-top: 0; }

/* ---------- question rows ---------- */
.fxm-help-qlist { margin: 0; padding: 0; border-bottom: 1px solid var(--help-border); background: #fff; list-style: none; }
.fxm-help-qlist > li { min-width: 0; }
.fxm-help-qlist > li + li { border-top: 1px solid var(--help-border); }
.fxm-help-q { display: flex; align-items: center; gap: 28px; min-width: 0; min-height: 96px; padding: 22px 4px; color: inherit; transition: background-color .15s ease; }
.fxm-help-q:hover { background: #fbfaff; }
.fxm-help-q-copy { display: flex; flex: 1; flex-direction: column; gap: 7px; min-width: 0; }
.fxm-help-q-title { color: var(--help-ink); font-size: 16px; font-weight: 600; line-height: 1.5; overflow-wrap: anywhere; transition: color .15s ease; }
.fxm-help-q:hover .fxm-help-q-title { color: var(--help-accent); }
.fxm-help-q-summary { display: block; overflow: hidden; color: var(--help-muted); font-size: 14px; line-height: 1.7; text-overflow: ellipsis; white-space: nowrap; }
.fxm-help-q-meta { display: flex; flex: 0 1 auto; flex-direction: column; align-items: flex-end; gap: 5px; max-width: 24%; color: var(--help-muted); text-align: end; }
.fxm-help-q-category { font-size: 13px; line-height: 1.5; overflow-wrap: anywhere; }
.fxm-help-q-language { padding: 1px 6px; border: 1px solid #e0ddeb; border-radius: 5px; color: #716781; font-size: 11px; line-height: 1.5; }
.fxm-help-q-arrow { flex: 0 0 auto; color: #9398a7; transition: color .15s ease, transform .15s ease; }
.fxm-help-q:hover .fxm-help-q-arrow { color: var(--help-accent); transform: translateX(2px); }

/* ---------- search results and no matches ---------- */
.fxm-help-results-layout { display: grid; grid-template-columns: minmax(0, 1fr) 276px; align-items: start; gap: 56px; }
.fxm-help-results { min-width: 0; }
.fxm-help-results:only-child { grid-column: 1 / -1; }
.fxm-help-results .fxm-help-section-head { align-items: flex-start; margin-bottom: 0; padding-bottom: 22px; border-bottom: 1px solid var(--help-border); }
.fxm-help-results-heading { flex: 1; min-width: 0; }
.fxm-help-results-heading h2 { font-size: 23px; line-height: 1.5; }
.fxm-help-results-heading .fxm-help-section-note { margin-top: 8px; font-size: 13px; }
.fxm-help-search-reset { flex: 0 0 auto; display: inline-flex; align-items: center; min-height: 36px; color: var(--help-accent); font-size: 13px; }
.fxm-help-search-reset:hover { text-decoration: underline; text-underline-offset: 3px; }
.fxm-help-results .fxm-help-q-summary { display: -webkit-box; white-space: normal; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
.fxm-help-search-topics { position: sticky; top: 112px; min-width: 0; padding-left: 24px; border-left: 1px solid var(--help-border); }
.fxm-help-search-topics h2 { margin: 0 0 14px; color: var(--help-ink); font-family: var(--font-family-heading); font-size: 18px; font-weight: 600; line-height: 1.5; }
.fxm-help-topic-list { margin: 0; padding: 0; list-style: none; }
.fxm-help-topic-list li { min-width: 0; border-bottom: 1px solid var(--help-border); }
.fxm-help-topic { display: grid; grid-template-columns: minmax(0, 1fr) 14px; gap: 5px 14px; padding: 16px 0; color: var(--help-copy); }
.fxm-help-topic-name { grid-column: 1; color: var(--help-ink); font-size: 14px; line-height: 1.6; overflow-wrap: anywhere; transition: color .15s ease; }
.fxm-help-topic small { grid-column: 1; color: var(--help-muted); font-size: 12px; line-height: 1.5; }
.fxm-help-topic svg { grid-column: 2; grid-row: 1 / 3; align-self: center; color: #9398a7; }
.fxm-help-topic:hover :is(.fxm-help-topic-name, svg) { color: var(--help-accent); }
.fxm-help-search-empty { display: flex; align-items: flex-start; gap: 22px; margin-top: 28px; padding: 36px; border: 1px solid #e8e5ef; border-radius: 14px; background: #fcfbfe; }
.fxm-help-empty-mark { display: flex; flex: 0 0 auto; align-items: center; justify-content: center; width: 48px; height: 48px; border: 1px solid #e5dfef; border-radius: 12px; background: #fff; color: #8c80a6; }
.fxm-help-empty-copy { min-width: 0; }
.fxm-help-empty-copy h3 { margin: 0; color: var(--help-ink); font-family: var(--font-family-heading); font-size: 22px; font-weight: 600; line-height: 1.45; }
.fxm-help-empty-copy p { max-width: 640px; margin: 10px 0 0; color: var(--help-copy); font-size: 14px; line-height: 1.8; }
.fxm-help-search-empty .fxm-help-state-actions { justify-content: flex-start; gap: 12px; margin-top: 24px; }
.fxm-help-search-empty .fxm-help-btn-ghost { justify-content: center; min-height: 42px; border-radius: 10px; }
.fxm-help-results-layout.is-empty { grid-template-columns: minmax(0, 1fr); gap: 40px; }
.fxm-help-results-layout.is-empty .fxm-help-section-head { border-bottom: 0; padding-bottom: 0; }
.fxm-help-results-layout.is-empty .fxm-help-search-topics { position: static; padding: 0; border: 0; }
.fxm-help-results-layout.is-empty .fxm-help-topic-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px 32px; }

.fxm-help-chip { display: inline-flex; align-items: center; gap: 4px; height: 22px; padding: 0 9px; border-radius: 6px; background: #f2f3f8; color: var(--help-copy); font-size: 12px; line-height: 1; white-space: nowrap; }
.fxm-help-chip.is-hot { background: #fff4ec; color: #c2410c; }
.fxm-help-chip.is-link { height: 26px; padding: 0 11px; border-radius: 999px; background: var(--help-tint); color: var(--help-accent); font-size: 12.5px; font-weight: 500; transition: background-color .15s ease; }
.fxm-help-chip.is-link:hover { background: #efebff; }

/* ---------- AI prompt ---------- */
.fxm-help-ask { display: flex; align-items: center; gap: 24px; min-height: 86px; margin-top: 40px; padding: 22px 28px; border-radius: 14px; background: #f7f4fd var(--fxm-img-ai-fine-texture-v1, url('../images/navigation/ai-fine-texture-v1.webp')) center 58% / cover no-repeat; }
.fxm-help-ask.is-inline { margin-top: 28px; }
.fxm-help-ask-icon { display: none; }
.fxm-help-ask-copy { flex: 1; min-width: 0; }
.fxm-help-ask-copy h2 { margin: 0; color: var(--help-ink); font-family: var(--font-family-heading); font-size: 21px; font-weight: 600; line-height: 1.4; }
.fxm-help-ask-copy p { margin: 4px 0 0; color: var(--help-copy); font-size: 13.5px; line-height: 1.55; }
.fxm-help-ask .fxm-help-btn { flex: 0 0 auto; margin-top: 0; }
.fxm-help-ask.is-card { flex-direction: column; align-items: flex-start; gap: 14px; margin-top: 0; padding: 22px; }
.fxm-help-ask.is-card .fxm-help-btn { width: 100%; justify-content: center; }

/* ---------- buttons + states ---------- */
.fxm-help-btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-height: 42px; margin-top: 28px; padding: 10px 22px; border: 0; border-radius: 10px; background: var(--help-accent); color: #fff; font-size: 14px; font-weight: 500; line-height: 1.5; cursor: pointer; transition: background-color .15s ease; }
.fxm-help-btn:hover { background: #4027be; }
.fxm-help-btn-ghost { display: inline-flex; align-items: center; gap: 6px; padding: 9px 18px; border: 1px solid var(--help-line); border-radius: 999px; background: #fff; color: var(--help-copy); font-size: 13.5px; transition: color .15s ease, border-color .15s ease; }
.fxm-help-btn-ghost:hover { border-color: #cfc2f7; color: var(--help-accent); }
.fxm-help-state { display: flex; flex-direction: column; align-items: center; margin-top: 20px; padding: 72px 24px; border: 1px dashed #d9dcef; border-radius: 26px; background: #fff; text-align: center; }
.fxm-help-state.is-compact { margin-top: 0; padding: 48px 24px; border-radius: 20px; }
.fxm-help-state-icon { display: flex; align-items: center; justify-content: center; width: 76px; height: 76px; margin-bottom: 20px; border-radius: 50%; background: rgba(79, 52, 217, .07); color: rgba(79, 52, 217, .45); }
.fxm-help-state :is(h1, h2, h3) { margin: 0; color: var(--help-ink); font-family: var(--font-family-heading); font-size: 22px; font-weight: 600; line-height: 1.45; }
.fxm-help-state.is-compact :is(h2, h3) { font-size: 19px; }
.fxm-help-state p { max-width: 440px; margin: 10px 0 0; color: var(--help-muted); font-size: 14px; line-height: 1.8; text-wrap: pretty; }
.fxm-help-state-actions { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 12px; margin-top: 24px; }
.fxm-help-state-actions .fxm-help-btn { margin-top: 0; }

/* ---------- category page ---------- */
.fxm-help-category-page { padding-bottom: 64px; }
.fxm-help-subhead { position: relative; isolation: isolate; overflow: hidden; padding: 22px 0; border-bottom: 1px solid #f0edf7; background: #faf9fd; }
.fxm-help-subhead::before { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; background: var(--fxm-img-ai-fine-texture-v1, url('../images/navigation/ai-fine-texture-v1.webp')) right 55% / cover no-repeat; opacity: .6; mask-image: linear-gradient(90deg, transparent 35%, #000); }
.fxm-help-subhead.is-category { padding-top: 26px; padding-bottom: 38px; }
.fxm-help-category-intro { display: flex; align-items: flex-end; justify-content: space-between; gap: 28px; margin-top: 28px; }
.fxm-help-category-intro > div { min-width: 0; }
.fxm-help-category-intro h1 { margin: 0; color: var(--help-ink); font-family: var(--font-family-heading); font-size: 32px; font-weight: 700; line-height: 1.3; overflow-wrap: anywhere; text-wrap: pretty; }
.fxm-help-category-intro p { max-width: 780px; margin: 12px 0 0; color: var(--help-copy); font-size: 14px; line-height: 1.8; text-wrap: pretty; }
.fxm-help-category-total { flex: 0 0 auto; padding-bottom: 3px; color: var(--help-muted); font-size: 13px; font-variant-numeric: tabular-nums; }
.fxm-help-subbody { padding-top: 40px; }
.fxm-help-main { min-width: 0; }
.fxm-help-layout { display: grid; grid-template-columns: 248px minmax(0, 1fr); align-items: start; gap: 56px; }
.fxm-help-layout > .fxm-help-main:only-child { grid-column: 1 / -1; max-width: 920px; }
.fxm-help-side { position: sticky; top: 112px; min-width: 0; padding: 4px 20px 4px 0; border-right: 1px solid var(--help-border); }
.fxm-help-side-title { margin: 0 12px 18px; color: var(--help-muted); font-size: 13px; font-weight: 500; }
.fxm-help-side ul { display: flex; flex-direction: column; gap: 6px; margin: 0; padding: 0; list-style: none; }
.fxm-help-side-link { display: flex; align-items: center; gap: 10px; min-height: 48px; padding: 12px; border-radius: 8px; color: var(--help-copy); font-size: 14px; line-height: 1.5; transition: background-color .15s ease, color .15s ease; }
.fxm-help-side-link svg { flex: 0 0 auto; color: #98a0b3; }
.fxm-help-side-link span { flex: 1; min-width: 0; overflow-wrap: anywhere; }
.fxm-help-side-link small { flex: 0 0 auto; color: var(--help-muted); font-size: 12px; font-variant-numeric: tabular-nums; }
.fxm-help-side-link:hover { background: #f7f7fb; color: var(--help-ink); }
.fxm-help-side-link.is-current { background: #f3f0fc; color: var(--help-accent); font-weight: 600; }
.fxm-help-side-link.is-current svg { color: var(--help-accent); }
.fxm-help-ask.is-detail { margin-top: 36px; }

/* ---------- detail ---------- */
.fxm-help-detail-layout { display: grid; grid-template-columns: minmax(0, 1fr) 284px; align-items: start; gap: 56px; margin-top: 32px; }
.fxm-help-detail-layout > .fxm-help-article:only-child { grid-column: 1 / -1; width: 100%; max-width: 820px; margin-inline: auto; }
.fxm-help-article { min-width: 0; }
.fxm-help-article-category { display: inline-block; margin-bottom: 12px; color: var(--help-accent); font-size: 13px; line-height: 1.5; }
.fxm-help-article-category:hover { text-decoration: underline; text-underline-offset: 3px; }
.fxm-help-article h1 { margin: 0; color: var(--help-ink); font-family: var(--font-family-heading); font-size: 32px; font-weight: 700; line-height: 1.35; overflow-wrap: anywhere; text-wrap: pretty; }
.fxm-help-article-meta { display: flex; flex-wrap: wrap; gap: 8px 20px; margin-top: 12px; color: var(--help-muted); font-size: 12.5px; }
.fxm-help-article-meta span { display: inline-flex; align-items: center; gap: 6px; }
.fxm-help-article-meta svg { flex: 0 0 auto; color: #a3a9ba; }
.fxm-help-article-meta time { font-variant-numeric: tabular-nums; }
.fxm-help-notice { display: flex; align-items: flex-start; gap: 8px; margin: 16px 0 0; padding: 10px 12px; border-radius: 8px; background: #f7f6fb; color: var(--help-copy); font-size: 13px; line-height: 1.6; }
.fxm-help-notice svg { flex: 0 0 auto; margin-top: 2px; color: #8a7ca4; }
.fxm-help-article-rule { height: 1px; margin: 22px 0 26px; background: var(--help-border); }
.fxm-help-keywords { margin-top: 28px; padding-top: 22px; border-top: 1px solid var(--help-border); }
.fxm-help-keywords p { display: flex; align-items: center; gap: 6px; margin: 0 0 10px; color: var(--help-muted); font-size: 13px; }
.fxm-help-keywords ul { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.fxm-help-keywords a { display: inline-flex; align-items: center; min-height: 30px; max-width: 100%; padding: 4px 10px; border: 1px solid var(--help-border); border-radius: 6px; color: var(--help-copy); font-size: 12.5px; line-height: 1.5; overflow-wrap: anywhere; transition: border-color .15s ease, color .15s ease; }
.fxm-help-keywords li { min-width: 0; max-width: 100%; }
.fxm-help-keywords a:hover { border-color: #cfc2f7; color: var(--help-accent); }
.fxm-help-disclaimer { margin: 22px 0 0; color: var(--help-muted); font-size: 12px; line-height: 1.75; }
.fxm-help-article-foot { margin-top: 20px; }
.fxm-help-article-foot .fxm-help-btn-ghost { padding: 6px 0; border: 0; border-radius: 0; color: var(--help-accent); }
.fxm-help-article-foot .fxm-help-btn-ghost svg { flex: 0 0 auto; }
.fxm-help-aside { position: sticky; top: 112px; min-width: 0; padding-left: 24px; border-left: 1px solid var(--help-border); }
.fxm-help-related h2 { margin: 0 0 10px; color: var(--help-ink); font-family: var(--font-family-heading); font-size: 18px; font-weight: 600; line-height: 1.5; }
.fxm-help-related ul { margin: 0; padding: 0; list-style: none; }
.fxm-help-related li + li { border-top: 1px solid #f0f1f6; }
.fxm-help-related li a { display: flex; align-items: flex-start; gap: 12px; padding: 14px 0; color: var(--help-copy); font-size: 14px; font-weight: 400; line-height: 1.6; overflow-wrap: anywhere; transition: color .15s ease; }
.fxm-help-related li a span { flex: 1; min-width: 0; }
.fxm-help-related li a svg { flex: 0 0 auto; margin-top: 3px; color: #98a0b3; }
.fxm-help-related li a:hover { color: var(--help-accent); }
.fxm-help-related-all { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: 4px; padding: 14px 0 0; border-top: 1px solid var(--help-border); color: var(--help-accent); font-size: 13px; line-height: 1.6; }
.fxm-help-related-all svg { flex: 0 0 auto; }
.fxm-help-related-all:hover { text-decoration: underline; text-underline-offset: 3px; }

/* CMS answer body. pc-dist ships Tailwind preflight (no list markers, no heading sizes) and no `prose`. */
.fxm-help-content { color: #414654; font-size: 16px; line-height: 1.85; overflow-wrap: anywhere; }
.fxm-help-content > :first-child { margin-top: 0; }
.fxm-help-content > :last-child { margin-bottom: 0; }
.fxm-help-content p { margin: 0 0 1.15em; line-height: inherit; }
.fxm-help-content :is(h2, h3, h4) { margin: 1.9em 0 .7em; color: var(--help-ink); font-family: var(--font-family-heading); font-weight: 600; line-height: 1.45; }
.fxm-help-content h2 { font-size: 21px; }
.fxm-help-content h3 { font-size: 18.5px; }
.fxm-help-content h4 { font-size: 16.5px; }
.fxm-help-content :is(strong, b) { color: var(--help-ink); font-weight: 600; }
.fxm-help-content a { color: var(--help-accent); text-decoration: underline; text-decoration-color: rgba(79, 52, 217, .35); text-underline-offset: 3px; transition: text-decoration-color .15s ease; }
.fxm-help-content a:hover { text-decoration-color: currentColor; }
.fxm-help-content :is(ul, ol) { margin: 0 0 1.2em; padding-left: 1.4em; }
.fxm-help-content ul { list-style: disc; }
.fxm-help-content ol { list-style: decimal; }
.fxm-help-content li { margin: .45em 0; padding-left: .2em; line-height: 1.75; }
.fxm-help-content li::marker { color: var(--help-accent); font-weight: 600; }
.fxm-help-content li > :is(ul, ol) { margin: .4em 0 0; }
.fxm-help-content blockquote { margin: 1.6em 0; padding: 14px 18px; border-left: 2px solid #c5b9ec; border-radius: 0 8px 8px 0; background: #f8f7fc; color: var(--help-copy); font-size: 15px; line-height: 1.8; }
.fxm-help-content blockquote > :last-child { margin-bottom: 0; }
.fxm-help-content img { display: block; max-width: 100%; height: auto; margin: 1.4em auto; border-radius: 16px; }
.fxm-help-content table { display: block; max-width: 100%; margin: 1.4em 0; overflow-x: auto; border-collapse: collapse; font-size: 14px; }
.fxm-help-content :is(th, td) { padding: 10px 14px; border: 1px solid var(--help-line); text-align: left; vertical-align: top; }
.fxm-help-content th { background: var(--help-tint); font-weight: 600; }
.fxm-help-content hr { margin: 2em 0; border: 0; border-top: 1px solid var(--help-line); }
.fxm-help-content pre { max-width: 100%; margin: 1.4em 0; padding: 14px 16px; overflow-x: auto; border-radius: 12px; background: #f5f6fa; font-size: 13px; line-height: 1.7; }
.fxm-help-content code { padding: .1em .35em; border-radius: 6px; background: #f1f0fb; font-size: .9em; }
.fxm-help-content pre code { padding: 0; background: none; }

/* ---------- responsive ---------- */
@media (max-width: 1100px) and (min-width: 1024px) {
	.fxm-help-detail-layout { grid-template-columns: minmax(0, 1fr) 285px; gap: 28px; }
}
@media (max-width: 1023px) {
	.fxm-help-shell { padding: 0 24px; }
	.fxm-help-body, .fxm-help-subbody { padding-top: 32px; }
	.fxm-help-hero-main { grid-template-columns: minmax(0, 1fr); gap: 20px; margin-top: 20px; }
	.fxm-help-hero-title { font-size: 30px; }
	.fxm-help-hero-desc { max-width: none; }
	.fxm-help-cats { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
	.fxm-help-cats.is-compact { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.fxm-help-layout, .fxm-help-detail-layout { grid-template-columns: minmax(0, 1fr); gap: 24px; }
	.fxm-help-side, .fxm-help-aside { position: static; }
	.fxm-help-aside { margin-top: 8px; padding: 24px 0 0; border: 0; border-top: 1px solid var(--help-border); }
	/* Side nav becomes a scrollable chip row above the list. */
	.fxm-help-side { padding: 0; border: 0; background: none; }
	.fxm-help-side-title { display: none; }
	.fxm-help-side ul { flex-direction: row; gap: 8px; margin: 0 -24px; padding: 4px 24px 8px; overflow-x: auto; scrollbar-width: thin; scrollbar-color: #dcd6ed transparent; }
	.fxm-help-side li { flex: 0 0 auto; }
	.fxm-help-side-link { flex: 0 0 auto; min-height: 40px; padding: 8px 12px; border: 1px solid var(--help-border); border-radius: 8px; background: #fff; white-space: nowrap; }
	.fxm-help-side-link.is-current { border-color: #d6cffa; }
	.fxm-help-results-layout { grid-template-columns: minmax(0, 1fr); gap: 36px; }
	.fxm-help-search-topics { position: static; padding: 0; border: 0; }
	.fxm-help-topic-list, .fxm-help-results-layout.is-empty .fxm-help-topic-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px 28px; }
}
@media (max-width: 767.98px) {
	.fxm-help-page { padding: var(--fxm-m-header, 60px) 0 40px; }
	.fxm-help-home-page { padding: var(--fxm-m-header, 60px) 0 48px; }
	.fxm-help-shell { padding: 0 16px; }
	.fxm-help-subbody { padding-top: 24px; }
	.fxm-help-subhead { padding: 16px 0; }
	.fxm-help-subhead.is-category { padding-top: 18px; padding-bottom: 28px; }
	.fxm-help-category-intro { align-items: flex-start; flex-direction: column; gap: 10px; margin-top: 16px; }
	.fxm-help-category-intro h1 { font-size: 26px; }
	.fxm-help-category-intro p { font-size: 13px; line-height: 1.65; }
	.fxm-help-category-total { padding: 0; font-size: 12px; }
	.fxm-help-crumbs { flex-wrap: nowrap; gap: 4px; overflow: hidden; font-size: 12px; white-space: nowrap; }
	.fxm-help-crumbs svg { width: 12px; height: 12px; }
	.fxm-help-crumbs [aria-current] { flex: 1 1 auto; max-width: none; }
	.fxm-help-hero { padding: 16px 0 24px; }
	.fxm-help-hero::before { background-position: 70% center; opacity: .55; }
	.fxm-help-hero-main { gap: 18px; margin-top: 16px; }
	.fxm-help-hero-title { font-size: 27px; }
	.fxm-help-hero-desc { font-size: 13px; line-height: 1.6; }
	.fxm-help-search { height: 50px; padding-left: 42px; }
	.fxm-help-search-icon { left: 16px; }
	.fxm-help-search input { font-size: 16px; }
	.fxm-help-search button { padding: 0 16px; font-size: 13px; }
	.fxm-help-body { padding-top: 28px; }
	.fxm-help-section + .fxm-help-section { margin-top: 36px; }
	.fxm-help-section-head { margin-bottom: 18px; }
	.fxm-help-section-head h2 { font-size: 19px; }
	.fxm-help-cats, .fxm-help-cats.is-compact { grid-template-columns: minmax(0, 1fr); gap: 14px; }
	.fxm-help-cat { gap: 14px; padding: 20px; border-radius: 12px; }
	.fxm-help-cat-icon { width: 24px; height: 24px; }
	.fxm-help-cat-name { font-size: 16px; }
	.fxm-help-q { display: grid; grid-template-columns: minmax(0, 1fr) 18px; grid-template-areas: 'copy arrow' 'meta arrow'; gap: 10px 14px; padding: 20px 2px; }
	.fxm-help-q-copy { grid-area: copy; }
	.fxm-help-q-title { font-size: 15.5px; }
	.fxm-help-q-summary { display: -webkit-box; white-space: normal; -webkit-box-orient: vertical; -webkit-line-clamp: 2; font-size: 13.5px; }
	.fxm-help-q-meta { grid-area: meta; flex-direction: row; align-items: center; flex-wrap: wrap; gap: 6px 10px; max-width: none; text-align: start; }
	.fxm-help-q-category { font-size: 12px; }
	.fxm-help-q-arrow { grid-area: arrow; }
	.fxm-help-results-layout, .fxm-help-results-layout.is-empty { gap: 32px; }
	.fxm-help-results .fxm-help-section-head { padding-bottom: 20px; }
	.fxm-help-results-heading h2 { font-size: 20px; }
	.fxm-help-results-heading .fxm-help-section-note { margin-top: 6px; }
	.fxm-help-search-reset { font-size: 12px; }
	.fxm-help-search-empty { flex-direction: column; gap: 18px; margin-top: 22px; padding: 24px; }
	.fxm-help-empty-mark { width: 42px; height: 42px; border-radius: 10px; }
	.fxm-help-empty-copy h3 { font-size: 20px; }
	.fxm-help-empty-copy p { font-size: 13.5px; }
	.fxm-help-search-empty .fxm-help-state-actions { gap: 10px; margin-top: 20px; }
	.fxm-help-search-empty .fxm-help-state-actions > * { flex: 1 1 auto; }
	.fxm-help-topic-list, .fxm-help-results-layout.is-empty .fxm-help-topic-list { grid-template-columns: minmax(0, 1fr); gap: 0; }
	.fxm-help-ask { flex-direction: column; align-items: flex-start; gap: 14px; margin-top: 24px; padding: 18px; border-radius: 14px; }
	.fxm-help-ask-copy h2 { font-size: 19px; }
	.fxm-help-ask .fxm-help-btn { width: 100%; justify-content: center; }
	.fxm-help-state { padding: 48px 20px; border-radius: 20px; }
	.fxm-help-state :is(h1, h2) { font-size: 19px; }
	.fxm-help-side ul { margin: 0 -16px; padding: 4px 16px 8px; }
	.fxm-help-layout { gap: 24px; }
	.fxm-help-detail-layout { gap: 24px; margin-top: 24px; }
	.fxm-help-article h1 { font-size: 26px; line-height: 1.4; }
	.fxm-help-article-category { margin-bottom: 8px; }
	.fxm-help-article-meta { gap: 6px 14px; margin-top: 10px; font-size: 12px; }
	.fxm-help-article-rule { margin: 18px 0 20px; }
	.fxm-help-content { font-size: 15.5px; line-height: 1.85; }
	.fxm-help-content h2 { font-size: 18px; }
	.fxm-help-content h3 { font-size: 16.5px; }
	.fxm-help-ask.is-detail { margin-top: 28px; }
}
@media (prefers-reduced-motion: reduce) {
	.fxm-help-page :is(.fxm-help-cat, .fxm-help-cat-arrow, .fxm-help-q, .fxm-help-q-arrow, .fxm-help-btn, .fxm-help-search) { transition: none; }
	.fxm-help-page :is(.fxm-help-cat:hover .fxm-help-cat-arrow, .fxm-help-q:hover .fxm-help-q-arrow, .fxm-help-btn:hover) { transform: none; }
}
