/* JLJAM OS 7.10.35 | Up/Down quick jump beside history, never in the four-button dock. */
@media(max-width:700px){
  body > #jljamNavRail:not([hidden]){
    box-sizing:border-box!important;
    width:max-content!important;min-width:0!important;max-width:calc(100vw - 18px)!important;
    gap:5px!important;padding:5px!important;
    right:clamp(8px,2.6vw,14px)!important;left:auto!important;
    height:55px!important;min-height:55px!important;max-height:55px!important;
    overflow:visible!important;
    align-items:center!important;justify-content:center!important;
    -webkit-backdrop-filter:none!important;backdrop-filter:none!important;
  }
  body > #jljamNavRail > .jljam-nav-button,
  body > #jljamNavRail > .jljam-jump-button{
    box-sizing:border-box!important;
    display:flex!important;flex:0 0 45px!important;
    width:45px!important;min-width:45px!important;max-width:45px!important;
    height:44px!important;min-height:44px!important;max-height:44px!important;
    justify-content:center!important;align-items:center!important;
    padding:0!important;margin:0!important;gap:0!important;
    overflow:hidden!important;white-space:nowrap!important;
    border:1px solid rgba(209,172,250,.44)!important;
    border-radius:12px!important;
    background:rgba(99,61,157,.68)!important;
    color:#fff!important;
    box-shadow:none!important;
    font:850 26px/1 system-ui,sans-serif!important;
    touch-action:manipulation!important;
    user-select:none!important;
  }
  body > #jljamNavRail > .jljam-nav-button>b{display:none!important}
  body > #jljamNavRail > .jljam-nav-button>span,
  body > #jljamNavRail > .jljam-jump-button>span{
    display:block!important;width:auto!important;
    color:inherit!important;font:850 26px/1 system-ui,sans-serif!important;
    white-space:nowrap!important;word-break:normal!important;
  }
  body > #jljamNavRail > .jljam-nav-button:disabled{opacity:.42!important}
  body > #jljamNavRail > .jljam-jump-button:focus-visible{outline:3px solid #ecc3ff!important;outline-offset:2px!important}
  /* Native workspaces hide the JLJAM four-button dock. Jump controls use that
     empty lower space without changing or replacing the normal navigation. */
  body > #jljamNavRail.jljam-nav-native{
    bottom:calc(14px + env(safe-area-inset-bottom,0px))!important;
  }
  body.bm-native #jljamBookingMission .bm-main{
    padding-bottom:calc(145px + env(safe-area-inset-bottom,0px))!important;
  }
  #jljamBookingMission [data-bm-card]{scroll-margin-top:14px}
}
@media(min-width:701px){
  #jljamNavRail .jljam-jump-button{
    display:flex;align-items:center;justify-content:center;
    min-width:44px;min-height:44px;padding:0 8px;
    border-radius:10px;border:1px solid #a77ac7;
    background:#49326a;color:white;font:700 23px/1 system-ui;
    cursor:pointer;touch-action:manipulation;
  }
  #jljamNavRail .jljam-jump-button:focus-visible{outline:3px solid #ecc3ff;outline-offset:2px}
}
