/* Órbita V4 · geometría crítica antes del runtime. Solo layout; no datos ni AdSense. */
html.ml-orbita-enabled,html.ml-orbita-enabled body{max-width:100%;overflow-x:clip}
html.ml-orbita-enabled[data-orbita-section="inicio"] .hero-copy{width:100%!important;min-width:0!important}
html.ml-orbita-enabled[data-orbita-section="inicio"] .hero{min-height:1104px!important}
@media(min-width:901px) and (max-width:1279px){html.ml-orbita-enabled[data-orbita-section="inicio"] .hero{min-height:calc(55.5vw + 381px)!important}}
@media(max-width:900px){html.ml-orbita-enabled[data-orbita-section="inicio"] .hero{min-height:1280px!important}}
@media(max-width:620px){html.ml-orbita-enabled[data-orbita-section="inicio"] .hero{min-height:870px!important}}
@font-face{font-family:"Newsreader State Optional";font-style:normal;font-weight:600;font-display:optional;src:url(https://fonts.gstatic.com/s/newsreader/v26/cY9AfjOCX1hbuyalUrK4397yjA.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}
html.ml-orbita-enabled[data-orbita-section="estados"] .state-detail-hero h1{font-family:"Newsreader State Optional",Georgia,"Times New Roman",serif!important}
/* El header React legacy no debe ocupar ni un frame antes de que llegue la capa V4. */
html.ml-orbita-enabled .site-header{display:none!important}
html.ml-orbita-enabled[data-orbita-section="inicio"] :is(.hero-actions,.hero-proof,.hero-note,.hero-orbit){display:none!important}
/* Contraste de la tarjeta clara de preparación para invertir. */
html.ml-orbita-enabled .finance-advisor-preview aside.investment-entry p{color:#4E5C69!important}

.orb-runtime-reserve{width:min(1120px,calc(100% - 36px));margin:24px auto;border-radius:18px;background:transparent;contain:layout style paint;pointer-events:none}
/* Estas alturas son la geometría crítica medida por ruta. El runtime se carga después y todavía
   contiene fallbacks históricos: solo el placeholder usa !important para no volver a inflarse.
   El visual final conserva la misma altura mínima sin !important para que el auditor pueda medir
   su altura natural temporalmente con style.minHeight=0. */
.orb-glossary-reserve{min-height:var(--orb-glossary-reserve-d,104px)!important}
.orb-visual-reserve{min-height:var(--orb-reserve-d,360px)!important}
.orb-section-visual{min-height:var(--orb-reserve-d,360px)}
html.ml-orbita-enabled[data-orbita-section="carreras"] .orb-visual-reserve{min-height:var(--orb-reserve-d,225px)!important}
html.ml-orbita-enabled[data-orbita-section="carreras"] .orb-section-visual{min-height:var(--orb-reserve-d,225px)}
html.ml-orbita-enabled[data-orbita-section="estados"] .orb-visual-reserve{min-height:var(--orb-reserve-d,295px)!important}
html.ml-orbita-enabled[data-orbita-section="estados"] .orb-section-visual{min-height:var(--orb-reserve-d,295px)}
html.ml-orbita-enabled[data-orbita-section="aprende"] .orb-visual-reserve{min-height:var(--orb-reserve-d,250px)!important}
html.ml-orbita-enabled[data-orbita-section="aprende"] .orb-section-visual{min-height:var(--orb-reserve-d,250px)}
html.ml-orbita-enabled[data-orbita-section="economia"] .orb-visual-reserve{min-height:var(--orb-reserve-d,290px)!important}
html.ml-orbita-enabled[data-orbita-section="economia"] .orb-section-visual{min-height:var(--orb-reserve-d,290px)}
html.ml-orbita-enabled[data-orbita-section="finanzas"] .orb-visual-reserve{min-height:var(--orb-reserve-d,430px)!important}
html.ml-orbita-enabled[data-orbita-section="finanzas"] .orb-section-visual{min-height:var(--orb-reserve-d,430px)}

/* Las reservas publicitarias antiguas eran contenedores vacíos: no cargaban AdSense y dejaban huecos.
   Se colapsan; el script real de AdSense de index.html permanece intacto. */
.orb-ad-reserve,[data-orbita-ad-reserve]{display:none!important;width:0!important;height:0!important;min-height:0!important;margin:0!important;padding:0!important;border:0!important}
.orb-ad-reserve-group,.orb-ad-rectangle,.orb-ad-rail,.orb-ad-mobile-banner{display:none!important}

@media(max-width:760px){
  html.ml-orbita-enabled[data-orbita-section="calculadoras"] .calculator-hero{padding-block:10px!important}
  html.ml-orbita-enabled[data-orbita-section="calculadoras"] .calculator-hero-inner{gap:10px!important}
  html.ml-orbita-enabled[data-orbita-section="calculadoras"] .calculator-purpose{margin:5px 0 0!important;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden}
  html.ml-orbita-enabled.orb-purpose-ready[data-orbita-section="calculadoras"] .calculator-purpose{display:block!important;-webkit-line-clamp:unset!important;overflow:visible!important}
  html.ml-orbita-enabled[data-orbita-section="calculadoras"] .calculator-hero-proof{display:none!important}
  html.ml-orbita-enabled[data-orbita-section="calculadoras"] .calculator-hero-media{display:block!important;position:relative!important;width:100vw!important;height:220px!important;min-height:220px!important;margin:16px 0 0 calc(50% - 50vw)!important;border-radius:0!important;box-shadow:none!important}
  html.ml-orbita-enabled[data-orbita-section="calculadoras"] body:has(.calculator-hero) .calc-intro{display:none!important}
  html.ml-orbita-enabled[data-orbita-section="calculadoras"] .calculator-main{padding-top:6px!important}
  /* Reserva exactamente el bloque Paso a paso hasta que el internal.js lo inserta. */
  html.ml-orbita-enabled[data-orbita-section="calculadoras"] .calculator-main::before{content:'';display:block;height:131px;min-height:131px}
  html.ml-orbita-enabled[data-orbita-section="calculadoras"] .calculator-main:has(> .ml-calc-assistant)::before{display:none;height:0;min-height:0}
  .orb-runtime-reserve{width:calc(100% - 28px);margin-block:18px}
  .orb-glossary-reserve{min-height:var(--orb-glossary-reserve-m,178px)!important}
  .orb-visual-reserve{min-height:var(--orb-reserve-m,420px)!important}
  .orb-section-visual{min-height:var(--orb-reserve-m,420px)}
  html.ml-orbita-enabled[data-orbita-section="carreras"] .orb-visual-reserve{min-height:var(--orb-reserve-m,390px)!important}
  html.ml-orbita-enabled[data-orbita-section="carreras"] .orb-section-visual{min-height:var(--orb-reserve-m,390px)}
  html.ml-orbita-enabled[data-orbita-section="estados"] .orb-visual-reserve{min-height:var(--orb-reserve-m,330px)!important}
  html.ml-orbita-enabled[data-orbita-section="estados"] .orb-section-visual{min-height:var(--orb-reserve-m,330px)}
  html.ml-orbita-enabled[data-orbita-section="finanzas"] .orb-visual-reserve{min-height:var(--orb-reserve-m,670px)!important}
  html.ml-orbita-enabled[data-orbita-section="finanzas"] .orb-section-visual{min-height:var(--orb-reserve-m,670px)}
  html.ml-orbita-enabled[data-orbita-section="economia"] .orb-visual-reserve{min-height:var(--orb-reserve-m,455px)!important}
  html.ml-orbita-enabled[data-orbita-section="economia"] .orb-section-visual{min-height:var(--orb-reserve-m,455px)}
  html.ml-orbita-enabled[data-orbita-section="aprende"] .orb-visual-reserve{min-height:var(--orb-reserve-m,430px)!important}
  html.ml-orbita-enabled[data-orbita-section="aprende"] .orb-section-visual{min-height:var(--orb-reserve-m,430px)}
}

/* Inicio: el LCP es el H1; Chrome no lo cuenta hasta que termina la animación de opacidad. */
html.ml-orbita-enabled[data-orbita-section="inicio"] .hero-copy>*{animation:none!important}

/* Inicio en móvil: el panel crema del hero se extiende 14px más allá del texto (sin saltos). Doble clase: experience.css fija padding:0!important. */
@media(max-width:620px){html.ml-orbita-enabled.ml-orbita-enabled[data-orbita-section="inicio"] .hero-copy{width:calc(100% + 28px)!important;padding-inline:14px!important;margin-inline:-14px!important}}

/* Contenido siempre visible: las animaciones de entrada dejaban bloques en blanco al hacer scroll rápido. */
html.ml-orbita-enabled :is(.ml-premium-reveal,.career-reveal,.route-reveal){opacity:1!important;transform:none!important;transition:none!important}

/* Inicio en tablet: sin hueco de 56px sobre el panel crema y con margen interior para el texto. */
@media(min-width:621px) and (max-width:900px){html.ml-orbita-enabled.ml-orbita-enabled[data-orbita-section="inicio"] .hero-grid{padding-top:0!important}html.ml-orbita-enabled.ml-orbita-enabled[data-orbita-section="inicio"] .hero-copy{padding:24px 22px!important;border-radius:22px}}
