/* Phone page routes keep the shared header still while the two content views move. */
@media(max-width:800px){
 /* Keep a visible, inexpensive placeholder while the second-level module
    loads. Previously the hub entry CSS hid all content until API bootstrap. */
 html[data-jx-hub-entry] #ws-route-loading{display:block!important;padding:25px 22px;color:var(--jx-ui-muted,#74869a);border-radius:18px;}
 html[data-jx-account-entry] :is(#loginPanel,#registerPanel){display:none}
 html[data-jx-hub-entry] #content > .ws-overview{display:none}
 .jx-mobile-body #mobile-report-section{
  margin:17px auto 0;width:100%;box-sizing:border-box;
 }
 #mobile-report-section[hidden]{display:none!important}
 #mobile-report-section h1{outline:none}
 .jx-route-outgoing{
  position:fixed!important;left:var(--jx-route-left)!important;top:var(--jx-route-top)!important;
  width:var(--jx-route-width)!important;margin:0!important;z-index:1;pointer-events:none!important;
 }
 .jx-route-moving{isolation:isolate;overflow-x:clip}
 .jx-route-moving > .jx-route-front{position:relative;z-index:3}
 .jx-route-plate{
  position:fixed;inset:0;z-index:2;max-width:none!important;margin:0!important;pointer-events:none;background:var(--jx-ui-bg,var(--jx-bg,#f5f7fb));
  box-shadow:-5px 0 18px rgba(24,40,56,.07);
 }
 /* Mobile documents paint their own header, even on a direct account visit. */
 html body{animation:none!important}
 html:is([data-jx-form-trip],[data-jx-page-slide]){overflow-x:clip;view-transition-name:none}
 html[data-jx-page-slide] body.ws-body{overflow-anchor:none}
 html[data-jx-page-slide] .ws-content.jx-content-enter{animation:none!important}
}
@media(max-width:800px) and (prefers-reduced-motion:no-preference){
 @keyframes jx-phone-route-arrive{
  from{transform:translate3d(var(--jx-phone-route-offset,100%),0,0)}
  to{transform:none}
 }
 html[data-jx-form-trip=back]{--jx-phone-route-offset:-18%}
 /* Use already-mounted content. The workbench, form and account first
    commit their authorized destination; header and loading text stay live. */
 html[data-jx-form-trip] :is(
  .ws-main[data-jx-workspace-ready] > .ws-content,
  .jx-phone-shell > .jx-mobile-content:not(:has(#mobile-entry-loading)),
  .jx-account-content:not([data-jx-account-loading]),
  .jx-report-content,
  .bp-content:not(:has(> .bp-loading)),.hr-content:not(:has(> .hr-loader)),
  .pc-wrap,.ai-simple,.ai-manage-shell,main.main-grid,
  .mg-shell > :is(section,.mg-grid,.mg-feedback),
  .market-shell > :is(section,.market-message),
  .skin-shell > :is(.skin-notice,#skin-catalog,.skin-grid),
  .ac-layout > :is(section,main),
  .jx-self-shell > section,
  body > .shell > :is(.list,.toolbar:not(:first-child),.note),
  body > .wrap > .panel,
  body > :is(.sheet-notice,.sheet-bar,.sheet-grid,.sheet-footer)
 ) {animation:jx-phone-route-arrive var(--jx-motion-duration-route,340ms) var(--jx-motion-ease-route,cubic-bezier(.30,.05,.20,1)) backwards!important}
}
