body:has(#invit-journey){background:#f4f6fb!important;margin:0!important}.invit-journey{font:14px/1.5 Inter,Segoe UI,Arial,sans-serif;color:#0a1c44;background:#f4f6fb;max-width:1800px;margin:auto;padding:20px}.invit-journey *{box-sizing:border-box}.invit-journey h1,.invit-journey h2,.invit-journey p{margin:0}.invit-journey a{color:#1e5eff;text-decoration:none}.journey-header{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:12px 4px 25px;font-size:12px}.journey-header span{font-weight:800;letter-spacing:2px;font-size:11px}.journey-title{display:flex;justify-content:space-between;gap:20px;align-items:center;padding:12px 4px 24px}.invit-journey h1{font:700 28px/1.25 'Space Grotesk',Inter,sans-serif;color:#0a1c44!important}.journey-title p:not(.eyebrow){color:#72809a;font-size:13px;margin-top:8px}.invit-journey .eyebrow{font-size:10px;letter-spacing:1.5px;color:#72809a;margin-bottom:8px}.journey-stats{display:grid;text-align:right;font-size:11px;color:#72809a}.journey-stats strong{font-size:24px;color:#0a1c44}.journey-experience{display:grid;grid-template-columns:minmax(0,1fr) 280px;border:1px solid #dfe6f0;border-radius:18px;overflow:hidden;background:white}.journey-map-wrap{min-width:0;background:#090d17}.journey-toolbar{display:flex;justify-content:space-between;gap:15px;align-items:center;padding:16px 20px;background:#101620;border-bottom:1px solid #ffffff1a;color:#fff;min-height:80px}.journey-toolbar small{display:block;color:#a9bbd8;font-size:11px;margin-top:5px}.journey-controls{display:flex;gap:9px;align-items:center;flex-shrink:0}.journey-controls button{appearance:none;cursor:pointer;font:12px Inter,sans-serif;color:#d9e6ff;background:#1b2330;border:1px solid #ffffff20;border-radius:10px;padding:13px 16px;box-shadow:none}.journey-controls #j-locate{color:#ffd083;border-color:#ffd08340}.journey-zoom{display:flex;align-items:center;background:#0b111b;border:1px solid #ffffff20;border-radius:10px;padding:2px}.journey-zoom button{font-size:20px;border:0;background:transparent;padding:8px 12px}.journey-zoom output{font-size:10px;min-width:38px;text-align:center}.journey-controls button:disabled{opacity:.35;cursor:default}#journey-frame{height:680px;position:relative;overflow:hidden}#journey-svg{width:100%;height:100%;display:block;cursor:grab;touch-action:pan-y;font-family:Inter,Arial,sans-serif}#journey-svg:active{cursor:grabbing}.j-lesson,.j-sign,.j-zone,.j-chest{cursor:pointer}.j-lesson:hover .j-node,.j-lesson[aria-pressed=true] .j-node{stroke:#ffe0a0;stroke-width:2}.j-lesson:focus .j-node{stroke:#fff;stroke-width:3}.j-sign:hover rect,.j-sign:focus rect{stroke:#ffe0a0;stroke-width:1.5}.j-zone:focus ellipse,.j-chest:focus rect{stroke:#fff;stroke-width:2}.journey-legend{position:absolute;bottom:13px;left:15px;border-radius:9px;background:#101b2ae8;padding:10px 13px;display:flex;gap:15px;font-size:10px;pointer-events:none}.journey-legend span:nth-child(1){color:#b9ebc8}.journey-legend span:nth-child(2){color:#ffe0a0}.journey-legend span:nth-child(3){color:#a6b3c8}#journey-tip{position:absolute;z-index:4;max-width:235px;background:#fff;color:#0a1c44;border:1px solid #dce4ee;border-radius:10px;padding:12px 15px;box-shadow:0 8px 24px #0003;pointer-events:none;font-size:12px}#journey-detail{padding:26px 22px;background:#fff;display:flex;flex-direction:column;border-left:1px solid #e4e9f3}#journey-detail h2{font:700 21px/1.35 'Space Grotesk',Inter,sans-serif;color:#0a1c44!important;margin:10px 0}#journey-detail p{font-size:12px;color:#72809a;margin:8px 0}.lesson-state,.lesson-index{font-size:11px;color:#72809a}.invit-journey .journey-primary,#journey-dialog-link{display:block;text-align:center;background:#1e5eff;color:#fff!important;padding:13px 16px;border-radius:9px;margin:20px 0 8px;font-size:12px;font-weight:600}.journey-collection{border-top:1px solid #e4e9f3;margin-top:25px;padding-top:18px}.journey-collection b{font-size:14px}.journey-collection a{font-size:12px}.journey-progress{margin:35px 0 10px;height:5px;border-radius:4px;background:#e4e9f3}.journey-progress span{display:block;height:100%;background:#1e5eff;border-radius:4px}#journey-detail>small:last-child{color:#72809a;font-size:11px}#mis-recursos{background:#fff;border:1px solid #e4e9f3;border-radius:16px;margin-top:22px;padding:24px}.journey-section-head{display:flex;justify-content:space-between;align-items:center;gap:12px}.journey-section-head h2{font-size:19px;color:#0a1c44!important}.journey-section-head span,#mis-recursos>p{font-size:12px;color:#72809a}#mis-recursos>p{margin:8px 0 20px}#journey-resources{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:12px}.journey-resource{appearance:none;cursor:pointer;text-align:left;background:#f7f9fd;border:1px solid #e4e9f3;border-radius:12px;padding:18px;display:grid;gap:10px;color:#0a1c44;box-shadow:none}.journey-resource small{font-size:9px;letter-spacing:1px;color:#947036}.journey-resource span{font-size:11px;color:#1e5eff}.journey-resource:hover{border-color:#1e5eff}.journey-empty{padding:20px;color:#72809a;background:#f7f9fd;border-radius:10px}#journey-dialog{width:calc(100% - 32px);max-width:500px;padding:30px;border:1px solid #e4e9f3;border-radius:18px;background:#fff;color:#0a1c44}#journey-dialog::backdrop{background:#081735b0}#journey-dialog h2{font-size:23px;color:#0a1c44;margin:10px 0}#journey-dialog p{color:#72809a;font-size:14px}#journey-dialog-close{float:right;cursor:pointer;background:#f4f6fb;border:0;border-radius:8px;color:#0a1c44;padding:7px 12px}.invit-journey button:focus-visible,.invit-journey a:focus-visible{outline:3px solid #f7931a;outline-offset:4px}.invit-journey [hidden]{display:none!important}@media(min-width:1500px){#journey-frame{height:760px}}@media(max-width:1100px){.journey-experience{grid-template-columns:1fr}#journey-detail{border-left:0;border-top:1px solid #e4e9f3}.journey-toolbar{flex-wrap:wrap}.journey-progress{margin-top:18px}}@media(max-width:650px){.invit-journey{padding:12px}.journey-header span{font-size:8px;letter-spacing:1px}.journey-title{align-items:start}.invit-journey h1{font-size:23px}.journey-stats strong{font-size:20px}.journey-toolbar{padding:14px}.journey-controls{width:100%;gap:7px}.journey-controls button{font-size:11px;padding:10px}.journey-zoom button{font-size:20px;padding:5px 12px}#journey-frame{height:450px}.journey-legend{left:8px;gap:10px;font-size:9px}.journey-section-head{align-items:start}#mis-recursos{padding:18px}}

.treasure-node:not(.is-discovered){display:none!important}.treasure-node.is-discovered{display:inline}.reward-reveal{padding:0!important;width:min(540px,calc(100% - 32px))!important;max-width:540px!important;border:1px solid #ffffff25!important;border-radius:26px!important;background:radial-gradient(ellipse at 50% 20%,#344d90 0,#122657 42%,#081735 100%)!important;color:#fff!important;text-align:center;overflow:visible;box-shadow:0 0 100px #f7931a40,0 40px 140px #030917a6;font:15px/1.6 Inter,'Segoe UI',Arial,sans-serif!important}.reward-reveal::backdrop{background:radial-gradient(ellipse at center,#d488343d,#092351c9 55%,#040c21e8);backdrop-filter:blur(7px);animation:reveal-backdrop 1.1s ease-out both}.reveal-body{padding:42px 35px 32px;position:relative;overflow:hidden;border-radius:25px}.reveal-close{position:absolute;right:14px;top:12px;border:1px solid #ffffff30!important;background:#ffffff0c!important;color:#dbe7ff!important;border-radius:50%!important;width:34px;height:34px;padding:0!important;font-size:20px!important;z-index:2}.reveal-eyebrow{font-size:10px;letter-spacing:.22em;text-transform:uppercase;color:#ffc675;margin:0 0 5px!important}.reveal-chest{width:156px;height:150px;margin:10px auto 18px;position:relative;display:grid;place-items:center}.reveal-chest:before{content:'';position:absolute;inset:0;border-radius:50%;background:#f7931a25;box-shadow:0 0 65px 20px #f7931a26;animation:reveal-halo 1.4s ease-out both}.reveal-chest svg{position:relative;width:130px;filter:drop-shadow(0 5px 20px #f7931a55);overflow:visible}.reveal-chest .lid{transform-origin:60px 53px;transition:transform .7s cubic-bezier(.2,.8,.2,1)}.reveal-open .lid{transform:translateY(-15px) rotate(-10deg)}.reveal-chest .beam{opacity:0;transition:opacity .7s}.reveal-open .beam{opacity:1}.reward-reveal h2{font-size:29px!important;line-height:1.17!important;letter-spacing:-.035em;color:white!important;margin:8px 0 15px!important}.reward-reveal p{color:#d4def4!important;margin:12px auto 24px!important;max-width:400px;font-size:15px!important}.reward-reveal .reveal-action{display:block;width:100%;background:#f7931a!important;border:1px solid #f7931a!important;color:#0a1c44!important;border-radius:12px!important;font-weight:750!important;padding:14px 20px!important;font-size:15px!important;cursor:pointer;box-shadow:0 5px 20px #f7931a20}.reward-reveal button:focus-visible{outline:3px solid #fff;outline-offset:4px}.reveal-later{margin:13px 0 0;background:transparent!important;color:#c5d1eb!important;border:0!important;font-size:12px!important;padding:7px!important;box-shadow:none!important}.reveal-saved{font-size:11px;color:#a7bddf;margin-top:20px}.reveal-spark{position:absolute;color:#ffd088;font-size:22px;pointer-events:none;animation:reveal-spark 1.3s ease-out both}.reveal-spark.a{left:20%;top:25%}.reveal-spark.b{right:19%;top:18%;animation-delay:.1s}.reveal-spark.c{right:30%;top:34%;font-size:12px;animation-delay:.2s}.discovered-empty{padding:18px;background:#eaf0ff;border:1px solid #d5dfff;border-radius:12px;color:#40577d;font-size:13px}.treasure-catalog{background:#fff!important}.treasure-card{border-color:#e4e9f3!important}.treasure-card.is-open .reward-state{color:#15803d}.treasure-note{color:#59657f!important}@keyframes reveal-halo{from{opacity:0;transform:scale(.4)}to{opacity:1;transform:scale(1)}}@keyframes reveal-backdrop{from{opacity:0}to{opacity:1}}@keyframes reveal-spark{from{opacity:0;transform:translateY(18px) scale(.2)}to{opacity:.8;transform:translateY(0) scale(1)}}@media(prefers-reduced-motion:reduce){.reward-reveal::backdrop,.reveal-chest:before,.reveal-spark{animation:none!important}.reveal-chest .lid,.reveal-chest .beam{transition:none!important}}@media(max-width:540px){.reveal-body{padding:36px 23px 24px}.reward-reveal h2{font-size:25px!important}.reveal-chest{margin:0 auto 8px;height:125px}.reward-reveal{max-height:92dvh;overflow:auto}}


/* Propuesta visual compartida: Trader e Inversor. */
.invit-journey{--ink:#0a1c44;--muted:#63738d;--blue:#1e5eff;--orange:#f7931a}
.invit-journey .journey-experience{grid-template-columns:minmax(0,1fr) 320px;box-shadow:0 14px 40px #132b4b08;border-radius:22px}
.invit-journey #journey-detail{padding:0;background:#fff;gap:0;overflow:hidden}
.invit-journey .detail-hero{padding:25px 25px 23px;background:radial-gradient(ellipse at 100% 0,#284d883d,transparent 75%),#0a1c44;color:#fff;position:relative}
.invit-journey .detail-topline{display:flex;align-items:center;justify-content:space-between;margin-bottom:23px;font-size:10px;letter-spacing:1.3px;color:#b4c6e5}
.invit-journey .detail-step{border:1px solid #ffc77666;background:#ffc77612;color:#ffcf91;border-radius:10px;min-width:38px;height:38px;display:grid;place-items:center;font-size:16px;font-weight:700;letter-spacing:0}
.invit-journey .detail-hero .lesson-state{display:inline-flex;align-items:center;gap:7px;border-radius:20px;color:#fbd098;background:#f7931a16;padding:5px 10px;font-size:10px}
.invit-journey .detail-hero .lesson-state.is-done{background:#c3eed81a;color:#c3eed8}
.invit-journey .detail-hero .lesson-state.is-locked{color:#c1cce0;background:#ffffff12}
.invit-journey #journey-detail .detail-hero h2{font:600 23px/1.32 'Space Grotesk',Inter,sans-serif;color:#fff!important;margin:15px 0 11px;overflow-wrap:anywhere}
.invit-journey #journey-detail .detail-hero p{font-size:11px;line-height:1.6;color:#b4c6e5;margin:0}
.invit-journey .detail-body{padding:22px 24px;display:flex;flex-direction:column;gap:22px;flex:1}
.invit-journey .detail-caption{display:flex;align-items:center;gap:9px;font-size:11px;color:var(--muted)}
.invit-journey .detail-caption svg{width:16px;height:16px;color:var(--blue);flex-shrink:0}
.invit-journey #journey-detail .journey-primary,.invit-journey #journey-dialog-link{display:flex;justify-content:space-between;align-items:center;gap:10px;background:#f7931a!important;color:#0a1c44!important;border:1px solid #f7931a;box-shadow:0 5px 15px #f7931a22;border-radius:11px;padding:14px 17px;margin:15px 0 0;font:700 12px Inter,sans-serif;transition:background .18s,box-shadow .18s}
.invit-journey #journey-detail .journey-primary:hover,.invit-journey #journey-dialog-link:hover{background:#ffad43!important;color:#0a1c44!important;box-shadow:0 7px 22px #f7931a33}
.invit-journey .detail-progress{padding:17px 0;border-top:1px solid #e8edf5;border-bottom:1px solid #e8edf5;display:flex;gap:15px;align-items:center}
.invit-journey .detail-ring{--progress:0%;width:64px;height:64px;flex-shrink:0;border-radius:50%;display:grid;place-items:center;background:conic-gradient(#1e5eff var(--progress),#edf1f8 0)}
.invit-journey .detail-ring span{background:#fff;width:54px;height:54px;border-radius:50%;display:grid;place-items:center;font:700 14px 'Space Grotesk',Inter,sans-serif;color:#0a1c44}
.invit-journey .detail-progress strong{font-size:12px;color:#0a1c44}.invit-journey #journey-detail .detail-progress p{font-size:11px;line-height:1.55;margin:4px 0 0;color:#63738d}
.invit-journey .detail-treasures{border:1px solid #ecdcc3;background:linear-gradient(125deg,#fffaf0,#fffdf9);border-radius:14px;padding:17px;position:relative}
.invit-journey .detail-treasures-head{display:flex;gap:12px;align-items:center}.invit-journey .detail-treasures-head>svg{width:28px;height:28px;color:#ac6a16;flex-shrink:0}
.invit-journey .detail-treasures small{font-size:9px;letter-spacing:1.3px;color:#936a32;display:block;margin-bottom:4px}.invit-journey .detail-treasures b{font-size:13px;color:#0a1c44}
.invit-journey #journey-detail .detail-treasures p{font-size:11px;color:#7b6d59;line-height:1.6;margin:12px 0}
.invit-journey .detail-treasures a{display:flex;justify-content:space-between;align-items:center;font-size:11px;font-weight:600;color:#985e12;padding-top:10px;border-top:1px solid #ebdfcc}
.invit-journey .detail-treasures a:hover{color:#0a1c44;background:transparent}
.invit-journey #journey-detail .detail-note{font-size:10px;text-align:center;color:#63738d;line-height:1.6;margin:0}
.invit-journey #mis-recursos{padding:28px 30px 30px;border-radius:22px;box-shadow:0 12px 35px #132b4b06;margin-top:24px}
.invit-journey .collection-heading{display:flex;gap:14px;align-items:center}.invit-journey .collection-heading>span{display:grid;place-items:center;background:#fff3dd;color:#b97b28;width:46px;height:46px;border-radius:14px;flex-shrink:0}
.invit-journey .collection-heading svg{width:25px;height:25px}.invit-journey .collection-heading small{font-size:9px;letter-spacing:1.8px;color:#9c742d;display:block;margin-bottom:4px}
.invit-journey .journey-section-head h2{font:600 23px/1.25 'Space Grotesk',Inter,sans-serif}.invit-journey #journey-resource-count{padding:7px 12px;background:#f2f5fb;border-radius:30px;white-space:nowrap;color:#526584;font-size:11px}
.invit-journey #mis-recursos>p{margin:15px 0 23px;color:#63738d;font-size:13px}
.invit-journey #journey-resources{grid-template-columns:repeat(auto-fit,minmax(min(100%,300px),1fr));gap:18px}
.invit-journey #journey-resources .journey-resource{font-family:Inter,sans-serif;text-transform:none;letter-spacing:normal;position:relative;overflow:hidden;appearance:none;cursor:pointer;text-align:left;background:#fff!important;background-image:none!important;border:1px solid #e0e7f1;border-radius:17px;padding:22px;display:flex;flex-direction:column;gap:0;color:#0a1c44!important;box-shadow:0 4px 12px #16376b05;transition:transform .22s,border-color .22s,box-shadow .22s,background .22s;line-height:1.5;min-height:224px}
.invit-journey #journey-resources .journey-resource:before{content:'';position:absolute;top:0;left:0;right:0;height:3px;background:linear-gradient(90deg,#f7931a,#ffd69c);opacity:0;transition:opacity .22s}
.invit-journey #journey-resources .journey-resource:hover,.invit-journey #journey-resources .journey-resource:focus-visible{background:#fffaf2!important;color:#0a1c44!important;border-color:#edbf78;box-shadow:0 10px 28px #bc81251a;transform:translateY(-3px)}
.invit-journey #journey-resources .journey-resource:hover:before,.invit-journey #journey-resources .journey-resource:focus-visible:before{opacity:1}
.invit-journey .resource-top{display:flex;justify-content:space-between;align-items:center;gap:15px;width:100%;margin-bottom:18px}
.invit-journey .resource-emblem{width:49px;height:49px;border:1px solid #dee7fc;border-radius:14px;display:grid;place-items:center;background:linear-gradient(135deg,#eff4ff,#fff);color:#1e5eff!important;box-shadow:0 5px 10px #1e5eff09}
.invit-journey .resource-emblem svg{width:26px;height:26px}.invit-journey .resource-tag{font-size:9px!important;letter-spacing:.9px!important;color:#537b65!important;background:#eff8f1;border:1px solid #e0eee3;border-radius:20px;padding:4px 8px}
.invit-journey #journey-resources .journey-resource>b{font:600 17px/1.4 'Space Grotesk',Inter,sans-serif;color:#0a1c44!important;margin-bottom:7px}
.invit-journey #journey-resources .resource-description{font-size:12px;color:#63738d;line-height:1.65;max-width:65ch;margin-bottom:20px}
.invit-journey #journey-resources .resource-bottom{display:flex;justify-content:space-between;align-items:center;gap:10px;width:100%;border-top:1px solid #e9edf4;padding-top:14px;margin-top:auto}
.invit-journey .resource-bottom small{font-size:10px;letter-spacing:0;color:#7987a0}.invit-journey .resource-bottom>span{font-size:11px;font-weight:600;color:#1e5eff!important;display:flex;align-items:center;gap:10px}
.invit-journey .resource-bottom i{font-style:normal;background:#eff4ff;width:25px;height:25px;display:grid;place-items:center;border-radius:50%;transition:background .2s,color .2s}
.invit-journey .journey-resource:hover .resource-bottom i{background:#f7931a;color:#0a1c44}
.invit-journey #journey-dialog{padding:30px;border-radius:22px;box-shadow:0 25px 90px #0a1c4433}.invit-journey #journey-dialog:before{content:'TU COLECCIÓN · RECURSO DESCUBIERTO';display:block;font:600 9px Inter,sans-serif;letter-spacing:1.4px;color:#a9752c;margin-bottom:23px}
.invit-journey #journey-dialog-close:hover{background:#eaf0fc!important;color:#0a1c44!important}

@media(max-width:1100px){.invit-journey .journey-experience{grid-template-columns:minmax(0,1fr) 300px}.invit-journey #journey-detail{border-top:0;border-left:1px solid #e4e9f3}.invit-journey .detail-hero{padding:22px}.invit-journey .detail-body{padding:20px}.invit-journey #journey-frame{height:660px}}
@media(max-width:850px){.invit-journey .journey-experience{grid-template-columns:1fr}.invit-journey #journey-detail{border-left:0;border-top:1px solid #e4e9f3;display:grid;grid-template-columns:1fr 1fr}.invit-journey .detail-body{gap:18px}.invit-journey #journey-frame{height:520px}}
@media(max-width:560px){.invit-journey #journey-detail{display:flex}.invit-journey .detail-hero{padding:22px}.invit-journey #mis-recursos{padding:22px 18px}.invit-journey .journey-section-head{align-items:center}.invit-journey .collection-heading{gap:10px}.invit-journey .collection-heading>span{width:38px;height:38px}.invit-journey .journey-section-head h2{font-size:19px}.invit-journey #journey-resource-count{font-size:9px;padding:6px 8px}.invit-journey #journey-frame{height:auto;aspect-ratio:1/1}.invit-journey #journey-resources .journey-resource{min-height:0;padding:16px}.invit-journey .journey-controls{flex-wrap:wrap;gap:6px}.invit-journey .journey-controls button{white-space:nowrap}}
@media(prefers-reduced-motion:reduce){.invit-journey #journey-resources .journey-resource,.invit-journey #journey-resources .journey-resource:before{transition:none}.invit-journey #journey-resources .journey-resource:hover{transform:none}}

