/* KOKO DATA rc.22 — Exclusivo tablet táctil en orientación horizontal.
   Activación mediante html.kdx-tablet-landscape (JS verifica dispositivo real).
   No se activa en móvil ni en equipos de escritorio convencionales. */
@media (min-width:560px) and (max-width:1700px){
html.kdx-tablet-landscape .kdx-hero{overflow-x:clip!important}
html.kdx-tablet-landscape .kdx-story{padding:28px 0 42px!important;overflow:visible!important;background:#050506!important;color:#f5f5f5!important}
html.kdx-tablet-landscape .kdx-scene-body .kdx.kdx-story{min-height:0!important;height:auto!important;padding:28px 0 42px!important}
html.kdx-tablet-landscape .kdx-story .kdx-shell{width:calc(100% - 40px)!important;max-width:1120px!important;min-width:0!important;min-height:0!important;height:auto!important;justify-content:flex-start!important;margin-inline:auto!important}
html.kdx-tablet-landscape .kdx-story .kdx-story__intro{margin:0 0 14px!important}
html.kdx-tablet-landscape .kdx-story .kdx-story__intro>p:not(.kdx-kicker){display:none!important}
html.kdx-tablet-landscape .kdx-story .kdx-story__intro h2{font-size:clamp(38px,5vw,58px)!important;line-height:.99!important;max-width:none!important;color:#fff!important}
html.kdx-tablet-landscape .kdx-story .kdx-story__intro h2 mark{color:#FEC300!important;background:transparent!important}
html.kdx-tablet-landscape .kdx-story .kdx-story__layout{display:flex!important;flex-direction:column!important;gap:7px!important;min-width:0!important;align-items:stretch!important}
html.kdx-tablet-landscape .kdx-story .kdx-story-tabs,html.kdx-tablet-landscape .kdx-story .kdx-story__stage-top,html.kdx-tablet-landscape .kdx-story .kdx-carousel-dots{display:none!important}
html.kdx-tablet-landscape .kdx-story .kdx-story__steps,html.kdx-tablet-landscape .kdx-story .kdx-story__steps.kdx-mobile-track{
    display:block!important;order:0!important;position:relative!important;
    width:100%!important;max-width:100%!important;min-width:0!important;
    height:auto!important;min-height:0!important;max-height:none!important;
    margin:0!important;padding:0!important;overflow:hidden!important;
    scroll-snap-type:none!important;scroll-behavior:auto!important;
  }
html.kdx-tablet-landscape .kdx-story .kdx-story__steps>.kdx-story__step,html.kdx-tablet-landscape .kdx-story .kdx-story__steps.kdx-mobile-track>.kdx-story__step.kdx-mobile-card{
    display:none!important;position:static!important;float:none!important;
    min-height:0!important;width:100%!important;max-width:100%!important;
    margin:0!important;opacity:1!important;transform:none!important;
  }
html.kdx-tablet-landscape .kdx-story .kdx-story__steps>.kdx-story__step.kdx-card-active,html.kdx-tablet-landscape .kdx-story .kdx-story__steps.kdx-mobile-track>.kdx-story__step.kdx-card-active{
    display:block!important;flex:none!important;
    padding:20px 26px 23px!important;
    background:#151518!important;border:1px solid rgba(254,195,0,.72)!important;
    border-radius:17px!important;color:#f6f6f7!important;
  }
html.kdx-tablet-landscape .kdx-story .kdx-story__step>span{display:none!important}
html.kdx-tablet-landscape .kdx-story .kdx-story__step h3{
    display:block!important;margin:0 0 9px!important;
    font-size:clamp(25px,3.1vw,34px)!important;line-height:1.11!important;
    color:#FEC300!important;
  }
html.kdx-tablet-landscape .kdx-story .kdx-story__step>p{
    display:block!important;margin:0!important;
    font-size:clamp(17px,1.65vw,20px)!important;line-height:1.47!important;
    color:#ededf0!important;max-width:100%!important;
  }
html.kdx-tablet-landscape .kdx-story .kdx-story__step details{display:block!important;margin:9px 0 0!important;color:#d5d5d8!important;font-size:13px!important}
html.kdx-tablet-landscape .kdx-story .kdx-story__step details summary{display:inline-flex!important;min-height:34px!important;align-items:center!important;font-size:12px!important;color:#FEC300!important}
html.kdx-tablet-landscape .kdx-story .kdx-story__step details p{font-size:14px!important;line-height:1.5!important}
html.kdx-tablet-landscape .kdx-story .kdx-story__step details a{color:#FEC300!important;font-size:13px!important}
html.kdx-tablet-landscape .kdx-story .kdx-story__stage{
    display:block!important;order:1!important;position:static!important;
    top:auto!important;left:auto!important;width:100%!important;max-width:100%!important;
    height:auto!important;min-height:0!important;max-height:none!important;
    margin:0!important;padding:13px 14px 16px!important;
    overflow:visible!important;border-radius:18px!important;
  }
html.kdx-tablet-landscape .kdx-story .kdx-story-board{
    display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;
    grid-auto-rows:auto!important;align-items:stretch!important;align-content:start!important;
    gap:12px!important;margin:0!important;padding:0!important;min-height:0!important;
  }
html.kdx-tablet-landscape .kdx-story .kdx-story-measure{
    display:flex!important;flex-direction:column!important;align-items:center!important;
    justify-content:flex-start!important;align-self:stretch!important;
    box-sizing:border-box!important;height:100%!important;min-height:0!important;
    gap:7px!important;margin:0!important;padding:16px 14px!important;
    border-radius:14px!important;
  }
html.kdx-tablet-landscape .kdx-story .kdx-story-measure>span{font-size:clamp(12px,1.35vw,15px)!important;line-height:1.3!important}
html.kdx-tablet-landscape .kdx-story .kdx-story-measure>strong{font-size:clamp(42px,5.2vw,66px)!important;line-height:1.06!important}
html.kdx-tablet-landscape .kdx-story .kdx-story-measure>b{font-size:clamp(16px,1.8vw,20px)!important}
html.kdx-tablet-landscape .kdx-story .kdx-story-measure>small{font-size:clamp(12px,1.4vw,14px)!important;line-height:1.4!important}
html.kdx-tablet-landscape .kdx-story .kdx-story-measure>a{margin-top:auto!important;font-size:12px!important;min-height:35px!important}
html.kdx-tablet-landscape .kdx-story .kdx-story-history{height:58px!important;min-height:0!important;max-height:65px!important}
html.kdx-tablet-landscape .kdx-story .kdx-story-board--price .kdx-story-price-territory{display:none!important}
html.kdx-tablet-landscape .kdx-story .kdx-story-board--price .kdx-story-price-meta{order:6!important}
html.kdx-tablet-landscape .kdx-story .kdx-story-board--price .kdx-story-price-yoy{order:3!important;color:#FEC300!important;font-weight:700!important}
html.kdx-tablet-landscape .kdx-story .kdx-story-board--price .kdx-story-history{order:4!important}
html.kdx-tablet-landscape .kdx-story .kdx-story-board--price .kdx-story-history-caption{order:5!important}
html.kdx-tablet-landscape .kdx-story .kdx-story-board--price .kdx-story-history-caption__full{display:none!important}
html.kdx-tablet-landscape .kdx-story .kdx-story-board--price .kdx-story-history-caption__compact{display:inline!important}
html.kdx-tablet-landscape .kdx-story .kdx-story-board--price .kdx-story-price-inspect{display:none!important}
html.kdx-tablet-landscape .kdx-story .kdx-story__caption{display:none!important}
html.kdx-tablet-landscape .kdx-story .kdx-story__stage>.kdx-context-button{display:none!important}
html.kdx-tablet-landscape .kdx-story .kdx-story__layout>.kdx-carousel-controls{display:none!important}
html.kdx-tablet-landscape .kdx-story .kdx-story__stage>.kdx-tablet-story-nav{
    display:flex!important;align-items:center!important;justify-content:center!important;
    gap:17px!important;width:max-content!important;max-width:100%!important;
    margin:14px auto 0!important;padding:0!important;color:#fff!important;
  }
html.kdx-tablet-landscape .kdx-story .kdx-tablet-story-nav button{
    display:grid!important;place-items:center!important;width:48px!important;height:48px!important;
    min-width:48px!important;min-height:48px!important;padding:0!important;
    border:1px solid #505057!important;border-radius:12px!important;
    background:#19191d!important;color:#FEC300!important;font-size:22px!important;
  }
html.kdx-tablet-landscape .kdx-story .kdx-tablet-story-nav button:disabled{opacity:.33!important}
html.kdx-tablet-landscape .kdx-story .kdx-tablet-story-nav span{min-width:52px!important;font-size:16px!important;font-weight:750!important;text-align:center!important}
html.kdx-tablet-landscape .kdx-story .kdx-tablet-story-nav button:focus-visible{outline:2px solid #FEC300!important;outline-offset:3px!important}
html.kdx-tablet-landscape .kdx-buildgap{padding:30px 0 42px!important;overflow:visible!important}
html.kdx-tablet-landscape .kdx-buildgap .kdx-shell{width:calc(100% - 40px)!important;max-width:1150px!important;min-width:0!important}
html.kdx-tablet-landscape .kdx-buildgap .kdx-buildgap__head{display:block!important;margin:0 0 10px!important}
html.kdx-tablet-landscape .kdx-buildgap .kdx-buildgap__head h2{font-size:clamp(36px,4.7vw,56px)!important;line-height:1!important}
html.kdx-tablet-landscape .kdx-buildgap .kdx-buildgap__toolbar{display:flex!important;flex-wrap:wrap!important;align-items:center!important;gap:12px!important;margin:14px 0 0!important}
html.kdx-tablet-landscape .kdx-buildgap .kdx-buildgap__stage{
    display:grid!important;grid-template-columns:minmax(0,1fr)!important;
    grid-auto-rows:auto!important;align-items:start!important;gap:12px!important;
    margin-top:12px!important;width:100%!important;min-width:0!important;
  }
html.kdx-tablet-landscape .kdx-buildgap .kdx-buildgap__chart{
    position:relative!important;display:block!important;float:none!important;box-sizing:border-box!important;
    flex:none!important;min-width:0!important;width:100%!important;
    height:auto!important;min-height:0!important;max-height:none!important;
    margin:0!important;padding:14px 17px 17px!important;overflow:hidden!important;
  }
html.kdx-tablet-landscape .kdx-buildgap .kdx-buildgap__charttop{display:flex!important;flex-wrap:wrap!important;gap:8px!important;margin:0 0 10px!important;padding:0 0 10px!important;font-size:11px!important}
html.kdx-tablet-landscape .kdx-buildgap .kdx-buildgap__legend{gap:9px!important;font-size:10px!important}
html.kdx-tablet-landscape .kdx-buildgap .kdx-buildgap__chart svg[data-build-svg]{
    display:block!important;position:static!important;
    flex:none!important;flex-basis:auto!important;flex-grow:0!important;flex-shrink:0!important;
    width:100%!important;min-width:100%!important;max-width:100%!important;
    height:clamp(410px,49vw,630px)!important;min-height:410px!important;max-height:630px!important;
    margin:0!important;padding:0!important;overflow:visible!important;
    object-fit:contain!important;transform:none!important;
  }
html.kdx-tablet-landscape .kdx-buildgap .kdx-buildgap__chart svg[data-build-svg] text{font-size:clamp(15px,1.45vw,19px)!important}
html.kdx-tablet-landscape .kdx-buildgap .kdx-buildgap__chart [data-build-method-marker] text{font-size:14px!important}
html.kdx-tablet-landscape .kdx-buildgap .kdx-buildgap__panel{
    display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;
    gap:12px!important;width:100%!important;
    height:auto!important;min-height:0!important;max-height:none!important;
    margin:0!important;padding:20px!important;
  }
html.kdx-tablet-landscape .kdx-buildgap .kdx-buildgap__panel>span{grid-column:1/-1!important}
html.kdx-tablet-landscape .kdx-buildgap .kdx-buildgap__year{grid-column:1/-1!important;font-size:clamp(42px,5vw,62px)!important;margin:0!important}
html.kdx-tablet-landscape .kdx-buildgap .kdx-buildgap__metrics{grid-column:1/-1!important;grid-row:auto!important;display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:9px!important;margin:0!important}
html.kdx-tablet-landscape .kdx-buildgap .kdx-buildgap__metrics>div,html.kdx-tablet-landscape .kdx-buildgap .kdx-buildgap__metrics>div:first-child{grid-column:auto!important;min-width:0!important;padding:12px!important}
html.kdx-tablet-landscape .kdx-buildgap .kdx-buildgap__metrics span{font-size:10px!important}
html.kdx-tablet-landscape .kdx-buildgap .kdx-buildgap__metrics strong{font-size:clamp(22px,2.6vw,32px)!important}
html.kdx-tablet-landscape .kdx-buildgap .kdx-buildgap__annual,html.kdx-tablet-landscape .kdx-buildgap .kdx-buildgap__cumulative{grid-column:auto!important;grid-row:auto!important;margin:0!important;padding:14px!important;display:block!important}
html.kdx-tablet-landscape .kdx-buildgap .kdx-buildgap__annual span,html.kdx-tablet-landscape .kdx-buildgap .kdx-buildgap__cumulative span{font-size:10px!important}
html.kdx-tablet-landscape .kdx-buildgap .kdx-buildgap__annual strong,html.kdx-tablet-landscape .kdx-buildgap .kdx-buildgap__cumulative strong{font-size:clamp(24px,3vw,37px)!important}
html.kdx-tablet-landscape .kdx-buildgap .kdx-buildgap__annual small,html.kdx-tablet-landscape .kdx-buildgap .kdx-buildgap__cumulative small{font-size:10px!important;display:block!important}
html.kdx-tablet-landscape .kdx-buildgap .kdx-buildgap__bde{grid-column:1/-1!important;padding:12px!important;margin:0!important}
html.kdx-tablet-landscape .kdx-buildgap .kdx-buildgap__panel>p,html.kdx-tablet-landscape .kdx-buildgap .kdx-buildgap__meta{grid-column:1/-1!important;display:block!important;margin:0!important;padding:0!important;font-size:13px!important}
html.kdx-tablet-landscape .kdx-buildgap .kdx-buildgap__panel>.kdx-context-button{grid-column:1/-1!important;justify-self:start!important}
html.kdx-tablet-landscape .kdx-buildgap .kdx-buildgap__method{font-size:11px!important}
@supports  (width: min(10px,20px)){html.kdx-tablet-landscape .kdx-buildgap .kdx-buildgap__stage,html.kdx-tablet-landscape .kdx-story .kdx-story__layout{max-width:100%!important}}
}
/* La barra de capítulos heredada NO debe mostrarse en ninguna orientación de tablet. */
html.kdx-tablet-device .kdx-chapter-dock{display:none!important}
html.kdx-tablet-device.kdx-scene-html{scroll-padding-bottom:0!important}
body.kdx-tablet-device.kdx-scene-body{padding-bottom:0!important}

/* Tablet horizontal: lectura vertical libre, ninguna pantalla comprimida al alto del navegador. */
html.kdx-tablet-landscape.kdx-scene-html{scroll-snap-type:none!important;scroll-padding-bottom:0!important}
body.kdx-tablet-landscape.kdx-scene-body .kdx:not(.kdx-nav){
  height:auto!important;min-height:0!important;max-height:none!important;
  scroll-snap-align:none!important;scroll-snap-stop:normal!important;
}
/* El diseño del capítulo reproduce el móvil: texto, cifras debajo y solo flechas. */
html.kdx-tablet-landscape .kdx-story .kdx-story__step details{display:none!important}
html.kdx-tablet-landscape .kdx-story .kdx-story__step.kdx-card-active{margin-bottom:0!important}
html.kdx-tablet-landscape .kdx-story .kdx-story__stage{margin-top:0!important}
html.kdx-tablet-landscape .kdx-story .kdx-story__layout{gap:9px!important}
/* SVG no puede reducirse al contenido mínimo cuando el flex de capítulos no cabe. */
html.kdx-tablet-landscape .kdx-buildgap .kdx-buildgap__chart svg[data-build-svg]{
 display:block!important;width:100%!important;min-width:0!important;max-width:100%!important;
 height:auto!important;min-height:0!important;max-height:none!important;
 aspect-ratio:980/620!important;flex:none!important;position:relative!important;
 transform:none!important;object-fit:contain!important;visibility:visible!important;
}
html.kdx-tablet-landscape .kdx-buildgap .kdx-buildgap__chart{
 display:block!important;min-height:0!important;max-height:none!important;
 height:auto!important;overflow:visible!important;
}
html.kdx-tablet-landscape .kdx-buildgap .kdx-buildgap__stage{
 display:grid!important;grid-template-columns:minmax(0,1fr)!important;
 grid-auto-rows:auto!important;align-items:start!important;height:auto!important;min-height:0!important;
}
