/* JLJAM 7.10.47: use the DOCUMENT as the only touch scroller for Smart Search on iPhone. */
@media(max-width:700px){
  html.cr-is-open, body.cr-is-open {
    height:auto!important;max-height:none!important;min-height:100%!important;
    overflow-x:hidden!important;overflow-y:auto!important;
    position:static!important;touch-action:auto!important;
    overscroll-behavior-y:auto!important;
  }
  body.cr-is-open > #app,
  body.cr-is-open > #auth,
  body.cr-is-open > #searchOverlay,
  body.cr-is-open > #accountMenu,
  body.cr-is-open > #busy,
  body.cr-is-open > #jljamNavRail,
  body.cr-is-open > #jljamTimeMachine,
  body.cr-is-open > #jljamOpportunityRadar,
  body.cr-is-open > #jljamBookingMission {display:none!important;visibility:hidden!important;pointer-events:none!important}
  body.cr-is-open #jlContactResearch:not([hidden]) {
    display:block!important;position:relative!important;
    inset:auto!important;top:auto!important;left:auto!important;right:auto!important;bottom:auto!important;
    width:100%!important;height:auto!important;min-height:100svh!important;max-height:none!important;
    padding:0!important;margin:0!important;
    overflow:visible!important;overflow-x:visible!important;overflow-y:visible!important;
    touch-action:auto!important;overscroll-behavior-y:auto!important;
    -webkit-overflow-scrolling:auto!important;
    transform:none!important;filter:none!important;
    isolation:auto!important;z-index:auto!important;
  }
  body.cr-is-open #jlContactResearch .cr-main {
    display:block!important;position:static!important;
    min-height:calc(100svh - 145px)!important;
    max-height:none!important;height:auto!important;
    overflow:visible!important;overflow-x:visible!important;overflow-y:visible!important;
    overscroll-behavior:auto!important;touch-action:auto!important;
    -webkit-overflow-scrolling:auto!important;
    padding:12px 12px 30px!important;margin:0 auto!important;
  }
  body.cr-is-open #jlContactResearch .cr-head {
    position:sticky!important;top:0!important;z-index:15!important;
    min-height:58px!important;height:auto!important;
    padding:calc(8px + env(safe-area-inset-top,0px)) 12px 8px!important;
  }
  body.cr-is-open #jlContactResearch .jss-tabs {
    position:sticky!important;top:calc(58px + env(safe-area-inset-top,0px))!important;z-index:14!important;
    display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:5px!important;
    padding:8px 10px!important;background:#100b1b!important;
  }
  body.cr-is-open #jlContactResearch .jss-tabs button {
    padding:10px 2px!important;min-height:46px!important;font-size:clamp(12px,3.25vw,16px)!important;
    touch-action:manipulation!important;
  }
  body.cr-is-open #jlContactResearch[data-jss-mode] .cr-main > [data-jss-view]{display:none!important}
  body.cr-is-open #jlContactResearch[data-jss-mode="search"] .cr-main > [data-jss-view="search"],
  body.cr-is-open #jlContactResearch[data-jss-mode="leads"] .cr-main > [data-jss-view="leads"],
  body.cr-is-open #jlContactResearch[data-jss-mode="review"] .cr-main > [data-jss-view="review"],
  body.cr-is-open #jlContactResearch[data-jss-mode="save"] .cr-main > [data-jss-view="save"]{display:block!important}
  body.cr-is-open #jlContactResearch .jss-footer {
    display:none!important;position:static!important;
  }
  body.cr-is-open #jlContactResearch input,
  body.cr-is-open #jlContactResearch textarea,
  body.cr-is-open #jlContactResearch select {
    pointer-events:auto!important;touch-action:auto!important;
    -webkit-user-select:text!important;user-select:text!important;
    -webkit-appearance:auto;
  }
  body.cr-is-open #jlContactResearch .cr-panel,
  body.cr-is-open #jlContactResearch .cr-search-panel {
    touch-action:auto!important;
  }
  body.cr-is-open #jlContactResearch .jljam-touch-check {padding:8px 14px;font-size:13px;color:#cdb4e8;background:#150d23;}
  body.cr-is-open #jlContactResearch .jljam-touch-check summary {padding:6px;min-height:38px;cursor:pointer;}
  body.cr-is-open #jlContactResearch .jljam-touch-check button{font-size:14px!important;min-height:42px!important;}
  body.cr-is-open #jlContactResearch .jljam-touch-check pre{font-size:12px;overflow-wrap:anywhere;white-space:pre-wrap;user-select:text;}
  body.cr-is-open #jlContactResearch .jljam-touch-check input {width:100%;font-size:16px!important;}
}
