/* V4.6.8.36.48.1.55.49 - Public Mobile Final Closure
 * Final mobile-only integrity layer for Market Positions and shared public chrome.
 * Desktop is intentionally untouched.
 */
@media (max-width:760px){
  body.emwh-public-standalone.emwh-mobile-filter-open{overflow:hidden!important;touch-action:none!important}

  body.emwh-public-standalone .emwh-public-mobile-filter-panel,
  body.emwh-public-standalone .emwh-public-mobile-filter-panel.is-open{
    position:fixed!important;
    z-index:100020!important;
    left:0!important;
    right:0!important;
    bottom:0!important;
    width:100%!important;
    height:min(88dvh,760px)!important;
    max-height:calc(100dvh - 12px)!important;
    margin:0!important;
    padding:0!important;
    overflow:hidden!important;
    border-radius:18px 18px 0 0!important;
    background:#fff!important;
    box-shadow:0 -22px 60px rgba(5,26,46,.30)!important;
  }

  body.emwh-public-standalone .emwh-public-mobile-filter-panel{
    transform:translate3d(0,105%,0)!important;
    visibility:hidden!important;
    pointer-events:none!important;
  }
  body.emwh-public-standalone .emwh-public-mobile-filter-panel.is-open{
    transform:translate3d(0,0,0)!important;
    visibility:visible!important;
    pointer-events:auto!important;
  }

  body.emwh-public-standalone .emwh-public-mobile-filter-head{
    position:relative!important;
    top:auto!important;
    z-index:4!important;
    flex:0 0 auto!important;
    min-height:62px!important;
    margin:0!important;
    padding:11px 14px!important;
    border-bottom:1px solid #e2e9ef!important;
    background:#fff!important;
  }

  body.emwh-public-standalone .emwh-public-market-filters--premium{
    display:flex!important;
    flex-direction:column!important;
    gap:0!important;
    height:calc(100% - 62px)!important;
    min-height:0!important;
    margin:0!important;
    padding:10px 12px 0!important;
    overflow-y:auto!important;
    overflow-x:hidden!important;
    overscroll-behavior:contain!important;
    -webkit-overflow-scrolling:touch!important;
    background:#fff!important;
  }

  body.emwh-public-standalone .emwh-public-market-filters--premium .emwh-market-filter{
    flex:0 0 auto!important;
  }

  body.emwh-public-standalone .emwh-public-filter-actions{
    position:sticky!important;
    z-index:5!important;
    bottom:0!important;
    display:grid!important;
    grid-template-columns:1fr!important;
    gap:7px!important;
    margin:10px -12px 0!important;
    padding:10px 12px calc(10px + env(safe-area-inset-bottom,0px))!important;
    border-top:1px solid #e2e9ef!important;
    background:rgba(255,255,255,.98)!important;
    box-shadow:0 -8px 20px rgba(8,35,63,.08)!important;
  }

  body.emwh-public-standalone .emwh-public-mobile-filter-apply{
    display:flex!important;
    align-items:center!important;
    justify-content:center!important;
    width:100%!important;
    min-height:44px!important;
    margin:0!important;
    padding:0 14px!important;
    border:1px solid #d89208!important;
    border-radius:9px!important;
    background:#efa719!important;
    color:#082844!important;
    font:800 11px/1 Inter,Arial,sans-serif!important;
    letter-spacing:.055em!important;
    text-transform:uppercase!important;
    cursor:pointer!important;
  }
  body.emwh-public-standalone .emwh-public-mobile-filter-apply:focus-visible,
  body.emwh-public-standalone .emwh-public-mobile-filter-close:focus-visible{
    outline:3px solid rgba(24,107,177,.28)!important;
    outline-offset:2px!important;
  }
  body.emwh-public-standalone .emwh-public-reset{
    display:flex!important;
    align-items:center!important;
    justify-content:center!important;
    width:100%!important;
    min-height:40px!important;
    margin:0!important;
  }

  body.emwh-public-standalone.emwh-mobile-filter-open:before{
    content:''!important;
    display:block!important;
    position:fixed!important;
    z-index:100010!important;
    inset:0!important;
    background:rgba(4,20,36,.54)!important;
  }

  body.emwh-public-standalone.emwh-mobile-filter-open .emwh-public-mobile-bottom-nav,
  body.emwh-public-standalone.emwh-mobile-filter-open .gt_float_switcher,
  body.emwh-public-standalone.emwh-mobile-filter-open .gtranslate_wrapper,
  body.emwh-public-standalone.emwh-mobile-filter-open #pojo-a11y-toolbar,
  body.emwh-public-standalone.emwh-mobile-filter-open .pojo-a11y-toolbar-toggle{
    visibility:hidden!important;
    pointer-events:none!important;
  }

  /* Keep compact availability semantics in the mobile list. */
  body.emwh-public-standalone .emwh-public-position-status{
    width:max-content!important;
    max-width:100%!important;
    min-height:24px!important;
    padding:4px 8px!important;
  }

  /* Narrow-phone text integrity: logistics must remain readable. */
  body.emwh-public-standalone .emwh-public-context-item strong{
    overflow:hidden!important;
    text-overflow:ellipsis!important;
    white-space:nowrap!important;
  }
}

@media (max-width:360px){
  body.emwh-public-standalone .emwh-public-mobile-filter-panel,
  body.emwh-public-standalone .emwh-public-mobile-filter-panel.is-open{
    height:92dvh!important;
    max-height:calc(100dvh - 6px)!important;
    border-radius:14px 14px 0 0!important;
  }
  body.emwh-public-standalone .emwh-public-mobile-filter-head{min-height:58px!important;padding:9px 12px!important}
  body.emwh-public-standalone .emwh-public-market-filters--premium{height:calc(100% - 58px)!important;padding-left:10px!important;padding-right:10px!important}
  body.emwh-public-standalone .emwh-public-filter-actions{margin-left:-10px!important;margin-right:-10px!important;padding-left:10px!important;padding-right:10px!important}
}

@media (prefers-reduced-motion:reduce){
  body.emwh-public-standalone .emwh-public-mobile-filter-panel{transition:none!important}
}
