/* IT-Talent · hero de portada (adaptación sin dependencias del diseño "FluxPay").
   Todo vive bajo .fxp y con prefijo fxp-, para no chocar con el resto del sitio.
   Colores y tipografías según el Manual de marca v1.0. */

.fxp {
  /* superficies "de página" (pestaña de navegación, barra de cifras, menú móvil) */
  --fxp-page: #ffffff;
  --fxp-page-ink: #0A1F5C;
  --fxp-page-muted: #4A5A85;
  --fxp-page-line: #DCE3F2;
  --fxp-primary: #0A1F5C;
  /* panel */
  --fxp-night: #06153F;
  --fxp-ink: #F5F8FF;
  --fxp-green: #35C92B;
  --fxp-green-strong: #1CA716;
  --fxp-glow-core: #E4F0FF;
  --fxp-glow-mid: #5E8DF0;
  --fxp-glow-wash: #1D4FB8;
  --fxp-glow: .8;
  --fxp-clear-w: 46%;
  --fxp-clear-h: 44%;
  --fxp-clear-y: 46%;
  --fxp-clear-keep: .1;

  --fxp-ease: cubic-bezier(0.22, 1, 0.36, 1);
  --fxp-gutter: clamp(16px, 4.3vw, 72px);
  --fxp-radius: clamp(10px, 1vw, 16px);
  --fxp-tab-h: clamp(60px, 4.9vw, 76px);
  --fxp-shoulder: calc(var(--fxp-tab-h) * .5);
  --fxp-tab-w: clamp(560px, 44vw, 720px);
  --fxp-head-h: 76px;
  --fxp-shelf-h: clamp(84px, 11dvh, 100px);
  --fxp-sans: "Space Grotesk", system-ui, -apple-system, "Segoe UI", sans-serif;
  --fxp-mono: "JetBrains Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;

  box-sizing: border-box;
  display: flex;
  width: 100%;
  min-height: 100dvh;
  padding: 8px;
  background: var(--fxp-page);
  color: var(--fxp-page-ink);
  font-family: var(--fxp-sans);
  -webkit-font-smoothing: antialiased;
}
@media (min-width: 1024px) {
  .fxp { --fxp-head-h: var(--fxp-tab-h); min-height: max(100dvh, 680px); padding: 10px; }
}

.fxp *, .fxp *::before, .fxp *::after { box-sizing: border-box; }
.fxp :where(h1, p, ul, ol, dl, dd) { margin: 0; padding: 0; }
.fxp :where(ul, ol) { list-style: none; }
.fxp :where(a) { color: inherit; text-decoration: none; }
.fxp :where(button) { margin: 0; padding: 0; border: 0; background: none; color: inherit; font: inherit; cursor: pointer; }
.fxp .fxp-sr { position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.fxp .fxp-flip-x { transform: scaleX(-1); }
.fxp .fxp-flip-y { transform: scaleY(-1); }
.fxp .fxp-flip-xy { transform: scale(-1, -1); }
.fxp :is(a, button):focus-visible { outline: 2px solid var(--fxp-green); outline-offset: 3px; }
.fxp :is(.fxp-nav-link, .fxp-menu-link):focus-visible { outline-color: var(--fxp-page-ink); outline-offset: -2px; }

/* ---------- panel ---------- */
.fxp-panel { position: relative; isolation: isolate; display: flex; flex: 1; flex-direction: column; min-width: 0; overflow: hidden; border-radius: var(--fxp-radius); background: var(--fxp-night); color: var(--fxp-ink); }
.fxp-glow { position: absolute; inset: 0; z-index: -2; pointer-events: none; opacity: var(--fxp-glow);
  background: radial-gradient(105% 60% at 50% 100%, var(--fxp-glow-core) 0%, var(--fxp-glow-mid) 32%, color-mix(in srgb, var(--fxp-glow-wash) 55%, transparent) 62%, transparent 100%); }
.fxp-field { position: absolute; inset: 0; z-index: -1; width: 100%; height: 100%; pointer-events: none;
  -webkit-mask-image: radial-gradient(var(--fxp-clear-w) var(--fxp-clear-h) at 50% var(--fxp-clear-y), rgb(0 0 0 / var(--fxp-clear-keep)) 35%, #000 100%);
  mask-image: radial-gradient(var(--fxp-clear-w) var(--fxp-clear-h) at 50% var(--fxp-clear-y), rgb(0 0 0 / var(--fxp-clear-keep)) 35%, #000 100%); }

/* ---------- encabezado ---------- */
.fxp-header { position: relative; z-index: 20; display: flex; flex: none; align-items: center; justify-content: space-between; height: var(--fxp-head-h); padding-inline: var(--fxp-gutter); }
.fxp-logo { display: inline-flex; align-items: center; border-radius: 8px; }
.fxp-logo img { display: block; width: clamp(150px, 13vw, 200px); height: auto; }
.fxp-header-end { display: flex; align-items: center; gap: 8px; }

.fxp-tab { position: absolute; top: -1px; left: 50%; display: none; transform: translateX(-50%); height: calc(var(--fxp-tab-h) + 1px); color: var(--fxp-page); }
@media (min-width: 1024px) { .fxp-tab { display: flex; } }
.fxp-tab-shoulder { flex: none; width: var(--fxp-shoulder); height: 100%; }
.fxp-tab-body { position: relative; display: flex; align-items: center; justify-content: center; width: var(--fxp-tab-w); margin-inline: -3px; background: var(--fxp-page); }
.fxp-links { position: relative; display: flex; align-items: center; }
.fxp-nav-pill { position: absolute; top: 50%; left: 0; height: 36px; width: 0; transform: translateY(-50%); border-radius: 999px; pointer-events: none;
  background: color-mix(in oklab, var(--fxp-primary) 8%, transparent); box-shadow: inset 0 0 0 1px color-mix(in oklab, var(--fxp-primary) 14%, transparent);
  transition: left .38s var(--fxp-ease), width .38s var(--fxp-ease), opacity .2s; opacity: 0; }
.fxp-nav-link { position: relative; z-index: 1; display: inline-flex; align-items: center; height: 36px; padding-inline: clamp(10px, .95vw, 16px); border-radius: 999px;
  color: var(--fxp-page-muted); font-family: var(--fxp-mono); font-size: clamp(11px, .4rem + .35vw, 12.5px); font-weight: 700; letter-spacing: .06em; text-transform: uppercase; transition: color .2s ease-out; }
.fxp-nav-link[data-lit], .fxp-nav-link[aria-current="page"] { color: var(--fxp-page-ink); }

.fxp-menu-btn { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 999px; color: #fff; background: rgb(255 255 255 / .08); box-shadow: inset 0 0 0 1px rgb(255 255 255 / .16); transition: background-color .2s; }
.fxp-menu-btn:hover { background: rgb(255 255 255 / .14); }
.fxp-menu { position: absolute; top: calc(var(--fxp-head-h) - 8px); left: var(--fxp-gutter); right: var(--fxp-gutter); padding: 8px; border-radius: 18px; background: var(--fxp-page);
  box-shadow: 0 0 0 1px var(--fxp-page-line), 0 28px 56px -24px rgb(0 0 0 / .7); opacity: 0; transform: translateY(-8px); visibility: hidden; transition: opacity .22s var(--fxp-ease), transform .26s var(--fxp-ease), visibility 0s .26s; }
.fxp-menu.is-open { opacity: 1; transform: none; visibility: visible; transition: opacity .22s var(--fxp-ease), transform .26s var(--fxp-ease); }
.fxp-menu-link { display: flex; align-items: center; min-height: 48px; padding-inline: 16px; border-radius: 12px; color: var(--fxp-page-muted); font-family: var(--fxp-mono); font-size: 13.5px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.fxp-menu-link:hover { background: color-mix(in oklab, var(--fxp-primary) 8%, transparent); color: var(--fxp-page-ink); }
@media (min-width: 1024px) { .fxp-menu-btn, .fxp-menu { display: none; } }

/* ---------- textos ---------- */
.fxp-stage { position: relative; z-index: 10; display: grid; flex: 1; grid-template-columns: minmax(0, 1fr); place-items: center; padding: clamp(16px, 3dvh, 36px) var(--fxp-gutter) clamp(20px, 3dvh, 36px); }
.fxp-copy { display: flex; flex-direction: column; align-items: center; width: 100%; text-align: center; }

.fxp-badge { display: inline-flex; align-items: center; gap: 10px; min-height: 32px; max-width: 100%; padding: 6px 16px 6px 14px; border-radius: 18px;
  background: rgb(14 32 80 / .7); box-shadow: inset 0 0 0 1px rgb(53 201 43 / .28), inset 0 1px 0 rgb(255 255 255 / .06);
  color: rgb(222 236 255 / .92); font-family: var(--fxp-mono); font-size: clamp(10.5px, .45rem + .25vw, 12px); font-weight: 700; letter-spacing: .08em; text-transform: uppercase; text-align: left;
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
@media (min-width: 640px) { .fxp-badge { border-radius: 999px; white-space: nowrap; } }
.fxp-badge-dot { flex: none; width: 6px; height: 6px; border-radius: 1px; background: var(--fxp-green); box-shadow: 0 0 8px 1px rgb(53 201 43 / .85); animation: fxp-blink 2.4s ease-in-out infinite; }
@keyframes fxp-blink { 50% { opacity: .45; } }

.fxp-title { max-width: 100%; margin-top: clamp(14px, 2.4dvh, 24px); color: var(--fxp-ink); font-family: var(--fxp-sans);
  font-size: clamp(2rem, min(1.5rem + 2.3vw, 7dvh), 4.2rem); font-weight: 500; line-height: 1.06; letter-spacing: -.035em; filter: drop-shadow(0 2px 18px rgb(2 8 30 / .5)); }
.fxp-title-set { display: block; }
.fxp-title-split .fxp-title-set-wide { display: none; }
@media (min-width: 640px) { .fxp-title-split .fxp-title-set-wide { display: block; } .fxp-title-split .fxp-title-set-phone { display: none; } }
.fxp-title-set-phone { font-size: min(1em, 9vw); }
.fxp-title-mask { display: block; overflow: hidden; padding: 0 .12em .1em; margin: 0 -.12em -.1em; text-wrap: balance; }
.fxp-title-line { display: block; background-image: linear-gradient(180deg, #ffffff 20%, #e1ecff 62%, #b4cdff 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.fxp-title-accent { font-family: var(--fxp-mono); font-weight: 700; font-size: .92em; letter-spacing: -.045em; background-image: linear-gradient(180deg, #8BF07F 10%, var(--fxp-green) 70%, #22A51A 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }

.fxp-lead { max-width: 62ch; margin-top: clamp(12px, 2dvh, 20px); color: rgb(222 236 255 / .82); font-size: clamp(15px, .55rem + .45vw, 18px); line-height: 1.55; text-wrap: balance; }

/* animación de entrada (solo con JS; sin JS todo se ve directamente) */
.fxp.js-anim .fxp-rise { opacity: 0; transform: translateY(16px); }
.fxp.js-anim .fxp-title-line { opacity: 0; transform: translateY(75%); filter: blur(10px); }
.fxp.js-anim.is-ready .fxp-rise { opacity: 1; transform: none; transition: opacity .6s var(--fxp-ease), transform .6s var(--fxp-ease); transition-delay: var(--d, 0s); }
.fxp.js-anim.is-ready .fxp-title-line { opacity: 1; transform: none; filter: none; transition: opacity .8s var(--fxp-ease), transform .8s var(--fxp-ease), filter .8s var(--fxp-ease); transition-delay: var(--d, 0s); }
.fxp.js-anim .fxp-tab { transform: translate(-50%, -105%); }
.fxp.js-anim.is-ready .fxp-tab { transform: translate(-50%, 0); transition: transform .75s var(--fxp-ease) .1s; }
.fxp.js-anim .fxp-shelf { transform: translateY(102%); }
.fxp.js-anim.is-ready .fxp-shelf { transform: none; transition: transform .85s var(--fxp-ease) .5s; }

/* ---------- botones ---------- */
.fxp-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: clamp(16px, 3dvh, 30px); }
.fxp-btn { position: relative; isolation: isolate; display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding-inline: clamp(18px, 1.6vw, 24px); overflow: hidden; border-radius: 10px;
  font-family: var(--fxp-mono); font-size: clamp(12px, .5rem + .3vw, 13.5px); font-weight: 700; letter-spacing: .05em; text-transform: uppercase; white-space: nowrap; touch-action: manipulation;
  transition: background-color .24s ease-out, box-shadow .24s ease-out, transform .15s var(--fxp-ease); }
.fxp-btn:active { transform: scale(.98); }
.fxp-btn-primary { background: var(--fxp-green-strong); background-image: linear-gradient(180deg, #2DBF24, #179012); color: #fff;
  box-shadow: inset 0 1px 0 rgb(255 255 255 / .35), inset 0 -1px 0 rgb(0 0 0 / .15), 0 0 0 1px rgb(53 201 43 / .5), 0 10px 28px -12px rgb(53 201 43 / .7); }
.fxp-btn-primary:is(:hover, :focus-visible) { box-shadow: inset 0 1px 0 rgb(255 255 255 / .35), 0 0 0 4px rgb(53 201 43 / .25), 0 14px 34px -12px rgb(53 201 43 / .9); }
.fxp-btn-primary::before { content: ""; position: absolute; inset: 0; z-index: -1; transform: translateX(-110%);
  background-image: linear-gradient(105deg, rgb(255 255 255 / 0) 22%, rgb(255 255 255 / .35) 46%, rgb(255 255 255 / .5) 50%, rgb(255 255 255 / .35) 54%, rgb(255 255 255 / 0) 78%); }
.fxp-btn-primary:is(:hover, :focus-visible)::before { transform: translateX(110%); transition: transform .85s cubic-bezier(.45, 0, .25, 1); }
.fxp-btn-secondary { background: rgb(10 20 52 / .86); background-image: linear-gradient(180deg, rgb(255 255 255 / .06), rgb(255 255 255 / 0)); color: var(--fxp-ink); box-shadow: inset 0 0 0 1px rgb(160 185 240 / .28), inset 0 1px 0 rgb(255 255 255 / .08); }
.fxp-btn-secondary:is(:hover, :focus-visible) { background-color: rgb(16 30 72 / .92); box-shadow: inset 0 0 0 1px rgb(160 185 240 / .4), 0 10px 28px -14px rgb(94 141 240 / .6); }
.fxp-btn-sm { min-height: 40px; padding-inline: 16px; font-size: 12px; }
@media (max-width: 479px) { .fxp-header-end .fxp-btn-sm { display: none; } }
.fxp-checks { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 20px; margin-top: 16px; color: rgb(222 236 255 / .75); font-size: 14px; }
.fxp-checks li { display: inline-flex; align-items: center; gap: 8px; }
.fxp-checks li::before { content: "✓"; color: var(--fxp-green); font-weight: 700; }

/* ---------- tarjeta "búsqueda en curso" ---------- */
.fxp-tx { width: min(100%, var(--fxp-tab-w)); margin-top: clamp(16px, 3dvh, 30px); padding: clamp(12px, 1.8dvh, 16px) 16px; border-radius: 14px; text-align: left;
  background-image: linear-gradient(180deg, rgb(16 34 82 / .95), rgb(8 18 48 / .97));
  box-shadow: inset 0 0 0 1px rgb(160 200 255 / .16), inset 0 1px 0 rgb(255 255 255 / .07), 0 28px 60px -28px rgb(0 0 0 / .8), 0 0 48px -16px rgb(53 201 43 / .25); }
.fxp-tx-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; font-family: var(--fxp-mono); font-size: 10.5px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.fxp-tx-live { display: inline-flex; flex: none; align-items: center; gap: 8px; color: rgb(222 236 255 / .92); white-space: nowrap; }
.fxp-tx-live-dot { position: relative; width: 6px; height: 6px; border-radius: 1px; background: var(--fxp-green); }
.fxp-tx-live-dot::after { content: ""; position: absolute; inset: -2px; border-radius: 2px; box-shadow: 0 0 0 1px rgb(53 201 43 / .7); animation: fxp-live 1.8s ease-out infinite; }
@keyframes fxp-live { from { opacity: 1; transform: scale(.6); } to { opacity: 0; transform: scale(1.5); } }
.fxp-tx-route { min-width: 0; overflow: hidden; color: rgb(222 236 255 / .72); text-overflow: ellipsis; white-space: nowrap; }
.fxp-swap { transition: opacity .25s ease, transform .35s var(--fxp-ease); }
.fxp-swap.is-out { opacity: 0; transform: translateY(-6px); }
.fxp-swap.is-in { opacity: 0; transform: translateY(6px); transition: none; }
.fxp-tx-body { display: grid; grid-template-areas: "from to" "track track"; grid-template-columns: 1fr 1fr; align-items: center; gap: 10px clamp(10px, 1.2vw, 16px); margin-block: clamp(11px, 1.8dvh, 16px); }
@media (min-width: 640px) { .fxp-tx-body { grid-template-areas: "from track to"; grid-template-columns: auto minmax(0, 1fr) auto; } }
.fxp-tx-party { display: flex; grid-area: from; align-items: center; gap: 10px; }
.fxp-tx-party-to { flex-direction: row-reverse; grid-area: to; text-align: right; }
.fxp-tx-coin { display: grid; flex: none; place-items: center; width: 30px; height: 30px; border-radius: 999px; background: rgb(94 141 240 / .16); box-shadow: inset 0 0 0 1px rgb(160 200 255 / .24);
  color: #d6e4ff; font-family: var(--fxp-mono); font-size: 11px; font-weight: 700; transition: background-color .4s, box-shadow .4s, color .4s; }
.fxp-tx-coin-on { background: rgb(53 201 43 / .28); box-shadow: inset 0 0 0 1px rgb(140 240 130 / .6), 0 0 18px rgb(53 201 43 / .55); color: #fff; }
.fxp-tx-meta { display: flex; flex-direction: column; gap: 1px; }
.fxp-tx-code { color: rgb(222 236 255 / .72); font-family: var(--fxp-mono); font-size: 10px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; white-space: nowrap; }
.fxp-tx-amount { color: var(--fxp-ink); font-family: var(--fxp-mono); font-size: clamp(14px, .55rem + .45vw, 17px); font-weight: 700; letter-spacing: -.01em; font-variant-numeric: tabular-nums; white-space: nowrap; transition: opacity .3s; }
.fxp-tx-amount-pending { opacity: .5; }
.fxp-tx-track { display: flex; grid-area: track; flex-direction: column; align-items: center; gap: 5px; min-width: 0; }
.fxp-tx-rate { max-width: 100%; overflow: hidden; text-overflow: ellipsis; padding: 2px 8px; border-radius: 999px; color: rgb(222 236 255 / .68); font-family: var(--fxp-mono); font-size: 10px; font-weight: 700; letter-spacing: .04em; white-space: nowrap;
  box-shadow: inset 0 0 0 1px rgb(160 200 255 / .16); transition: color .3s, background-color .3s, box-shadow .3s; }
.fxp-tx-rate-on { background: rgb(94 141 240 / .18); color: #e3ecff; box-shadow: inset 0 0 0 1px rgb(160 200 255 / .4); }
.fxp-tx-line { position: relative; display: flex; align-items: center; justify-content: space-between; width: 100%; height: 12px; }
.fxp-tx-run { position: absolute; inset: 5px 4px; overflow: hidden; border-radius: 999px; background: rgb(160 200 255 / .16); }
.fxp-tx-progress { position: absolute; inset: 0; border-radius: inherit; background: linear-gradient(90deg, #5E8DF0, var(--fxp-green)); transform-origin: left center; transform: scaleX(0); }
.fxp-tx-stop { position: relative; width: 7px; height: 7px; border: 1px solid #3A527E; border-radius: 50%; background: #102350; transition: background-color .24s, border-color .24s, box-shadow .24s; }
.fxp-tx-stop-on { border-color: #8BF07F; background: #8BF07F; box-shadow: 0 0 0 3px rgb(53 201 43 / .12); }
.fxp-tx-steps { display: flex; align-items: center; gap: 8px; padding-top: clamp(10px, 1.5dvh, 13px); border-top: 1px solid rgb(160 200 255 / .12);
  color: rgb(222 236 255 / .66); font-family: var(--fxp-mono); font-size: 9.5px; font-weight: 700; letter-spacing: .03em; text-transform: uppercase; }
.fxp-tx-step { display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; transition: color .3s; }
.fxp-tx-step + .fxp-tx-step::before { content: ""; width: clamp(8px, 1.4vw, 22px); height: 1px; margin-right: 2px; background: rgb(160 200 255 / .2); transition: background-color .24s; }
.fxp-tx-step-dot { flex: none; width: 6px; height: 6px; border-radius: 999px; background: rgb(160 200 255 / .34); transition: background-color .24s, box-shadow .24s; }
.fxp-tx-step-on { color: #e3ecff; }
.fxp-tx-step-on .fxp-tx-step-dot { background: var(--fxp-green); box-shadow: 0 0 8px rgb(53 201 43 / .8); }
.fxp-tx-step-on::before { background-color: rgb(53 201 43 / .5); }
.fxp-tx-settled { display: none; margin-left: auto; color: rgb(222 236 255 / .5); white-space: nowrap; text-transform: none; letter-spacing: 0; font-weight: 500; }
@media (min-width: 640px) { .fxp-tx-settled { display: list-item; list-style: none; } }
@media (max-width: 639px) { .fxp-tx-step:nth-child(2) .fxp-tx-step-label { display: none; } }

/* ---------- barra de cifras ---------- */
.fxp-shelf { position: relative; z-index: 10; display: flex; flex: none; justify-content: center; height: var(--fxp-shelf-h); margin-bottom: -1px; color: var(--fxp-page); }
.fxp-shelf-shoulder { flex: none; width: calc(var(--fxp-shelf-h) * .5); height: 100%; }
.fxp-shelf-body { position: relative; display: grid; flex: 0 1 var(--fxp-tab-w); grid-template-columns: repeat(3, minmax(0, 1fr)); align-items: center; min-width: 0; margin-inline: -3px; padding-top: 6px; background: var(--fxp-page); }
@media (min-width: 1024px) { .fxp-shelf { height: var(--fxp-tab-h); } .fxp-shelf-shoulder { width: var(--fxp-shoulder); } .fxp-shelf-body { flex-shrink: 0; } }
.fxp-stat { display: flex; flex-direction: column-reverse; align-items: center; gap: 2px; padding-inline: clamp(4px, .7vw, 12px); text-align: center; }
@media (min-width: 640px) { .fxp-shelf-body { display: flex; } .fxp-stat { flex: 1 1 auto; } .fxp-stat-label { white-space: nowrap; } }
.fxp-stat + .fxp-stat { border-left: 1px solid var(--fxp-page-line); }
.fxp-stat-value { color: var(--fxp-primary); font-family: var(--fxp-mono); font-size: clamp(19px, .6rem + .9vw, 26px); font-weight: 700; line-height: 1.1; letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.fxp-stat-label { color: var(--fxp-page-muted); font-size: clamp(11.5px, .42rem + .48vw, 14px); line-height: 1.3; }

/* ---------- movimiento reducido ---------- */
@media (prefers-reduced-motion: reduce) {
  .fxp .fxp-badge-dot, .fxp .fxp-tx-live-dot::after { animation: none; }
  .fxp .fxp-btn-primary:is(:hover, :focus-visible)::before { transition: none; }
}

/* ---------- convivencia con el encabezado normal del sitio ---------- */
body.has-fxp .topbar { display: none; }
body.has-fxp .site-header { position: fixed; top: 0; left: 0; right: 0; z-index: 50; transform: translateY(-110%); transition: transform .3s var(--fxp-ease); }
body.has-fxp .site-header.fxp-show { transform: none; }

/* teléfonos: la tarjeta no debe desbordar */
@media (max-width: 639px) {
  .fxp-tx-body { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .fxp-tx-party { min-width: 0; }
  .fxp-tx-code { white-space: normal; line-height: 1.25; }
  .fxp-tx-route { max-width: 55%; }
}

/* 4 cifras en el estante: 2x2 en teléfono */
@media (max-width: 639px) {
  .fxp-shelf-body { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 10px; }
  .fxp-stat:nth-child(odd) { border-left: 0; }
}
@media (min-width: 1024px) { .fxp-shelf-body { flex: 0 0 auto; } }
