/* Bound horizontal overflow without toggling document scroll locks or cancelling touch events. */
html{max-width:100%;overscroll-behavior-x:none;overscroll-behavior-y:none}
body.hejuo-ui{min-width:0;max-width:100%;overflow-x:clip}
/* clip does not create an extra scroll container, so sticky tabs keep their real ancestor. */
@supports(overflow:clip){html,body.hejuo-ui{overflow-x:clip!important}}
body.hejuo-ui :is(.page,.tab-page,dialog){min-width:0;box-sizing:border-box}
body.hejuo-ui .page{max-width:100%}
body.hejuo-ui :is(input,select,textarea,img,video){max-width:100%;box-sizing:border-box}
body.hejuo-ui :is(.project-copy,.member-menu-copy,.maie-plan-note,.trx-address-value,.agent-list-row>span,.account-info-card strong,.notification-detail-card p){min-width:0;overflow-wrap:anywhere}
/* Inner lists stop at their own boundary; ordinary vertical scrolling stays enabled. */
body.hejuo-ui :is(dialog,.mine-menu,.support-chat-log,#globalDetailBody,#maieDetailBody,#heroCountryProducts,.hero-country-content,.roaming-sheet-panel){overscroll-behavior:none}
/* Horizontal tabs remain scrollable; do not disable horizontal gestures or pinch zoom. */
body.hejuo-ui :is(.order-status-tabs,.invitation-history-tabs,.agent-price-tabs,.activation-tabs){overscroll-behavior-x:contain}
