/* V4.42 — Responsive presentation only. No business rules or permissions. */
@media screen and (max-width:1000px){
 body.wefit-glass .main,body.wefit-glass .content{min-width:0;max-width:100%}
 body.wefit-glass .content{padding-bottom:calc(112px + env(safe-area-inset-bottom,0px))}
 body.wefit-glass .glass-mobile-dock{min-height:68px;padding:6px;gap:3px}
 body.wefit-glass .glass-mobile-dock a{min-height:48px;line-height:1.2;text-align:center;overflow-wrap:anywhere}
 body.wefit-glass .sidebar{max-width:calc(100vw - 28px)}
 body.wefit-glass .sidebar-scroll{padding-bottom:calc(24px + env(safe-area-inset-bottom,0px))}
 body.wefit-glass .nav-link{min-height:44px}
 body.wefit-glass .topbar-left,body.wefit-glass .topbar-right{min-width:0;max-width:100%}
 body.wefit-glass .topbar-left>div{min-width:0}
 body.wefit-glass .topbar-left h1{overflow-wrap:anywhere}
 body.wefit-glass .topbar .icon-btn,body.wefit-glass .dialog .icon-btn{min-width:44px;min-height:44px;flex-shrink:0}
 body.wefit-glass .table-scroll,body.wefit-glass .wf430-table-wrap{max-width:100%;overflow-x:auto;overscroll-behavior-inline:contain}
 body.wefit-glass .panel,body.wefit-glass .stat-card,body.wefit-glass .summary-inline>div,body.wefit-glass .report-stats>div{min-width:0;max-width:100%}
 body.wefit-glass .pos-ref-layout,body.wefit-glass .pos-ref-browser,body.wefit-glass .pos-ref-order{min-width:0;max-width:100%}
 body.wefit-glass .pos-ref-layout{grid-template-columns:minmax(0,1fr)}
 body.wefit-glass .pos-ref-order{position:static;scroll-margin-top:150px}
 body.wefit-glass .pos-ref-toolbar{min-width:0;flex-wrap:wrap}
 body.wefit-glass .pos-ref-cats{max-width:100%;overflow-x:auto;flex-wrap:nowrap;scroll-snap-type:x proximity;padding-bottom:5px}
 body.wefit-glass .pos-ref-cats .cat-pill{flex:0 0 auto;min-height:44px;scroll-snap-align:start}
 body.wefit-glass .pos-ref-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
 body.wefit-glass .pos-ref-card .product-title{overflow-wrap:anywhere}
 body.wefit-glass .pos-ref-card .pos-ref-price{white-space:normal;overflow-wrap:anywhere}
 body.wefit-glass .cart-controls button{min-width:36px;min-height:36px}
 body.wefit-glass .pos-ref-checkout{min-height:48px}
 body.wefit-glass .wf442-cart-jump{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:44px}
}
@media screen and (max-width:720px){
 /* Keep the original header actions; the search takes its own row. */
 body.wefit-glass .topbar{height:auto;min-height:70px;padding:9px 12px;gap:8px;flex-wrap:wrap}
 body.wefit-glass .topbar-left{flex:1 1 100%;gap:8px}
 body.wefit-glass .topbar-left h1{font-size:clamp(17px,5vw,22px);line-height:1.2;margin:0}
 body.wefit-glass .topbar-right{flex:1 1 100%;display:flex;flex-wrap:wrap;justify-content:flex-end;gap:6px}
 body.wefit-glass .topbar-right .wf330-global-search{order:-1;width:100%;min-width:0;flex:1 1 100%}
 body.wefit-glass .wf330-global-search>input{min-height:44px;font-size:16px}
 body.wefit-glass .wf330-search-results{width:100%;min-width:0;right:0;max-height:45vh}
 body.wefit-glass .wf330-back{min-height:44px}
 body.wefit-glass .topbar-right>.btn{min-height:44px;white-space:normal}
 body.wefit-glass .topbar-right .logout-form{flex:none}
 body.wefit-glass .content{padding:14px 11px calc(112px + env(safe-area-inset-bottom,0px))}
 body.wefit-glass .page-heading,.wf430-head,.wf430-panel-head{min-width:0;flex-wrap:wrap;gap:10px}
 body.wefit-glass .page-heading>div{min-width:0;max-width:100%}
 body.wefit-glass .page-heading h2{font-size:clamp(22px,6vw,28px);overflow-wrap:anywhere}
 body.wefit-glass .panel{padding:14px 11px}
 body.wefit-glass .panel-title{flex-wrap:wrap;gap:9px;min-width:0}
 body.wefit-glass .panel-title>div{min-width:0}
 body.wefit-glass .hero-panel{padding:18px 14px;min-height:0}
 body.wefit-glass .hero-panel h2{font-size:24px}
 body.wefit-glass .hero-action{min-height:44px;white-space:normal}
 body.wefit-glass .stats-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}
 body.wefit-glass .stat-card{padding:13px;min-height:118px}
 body.wefit-glass .stat-card strong{font-size:clamp(18px,5vw,24px);overflow-wrap:anywhere}
 body.wefit-glass .stat-card small{overflow-wrap:anywhere}
 body.wefit-glass .wf404-person-main>div strong{overflow-wrap:anywhere}
 body.wefit-glass .wf404-person-main{gap:7px}
 body.wefit-glass .wf404-breakdown{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));padding:10px 0 0;gap:8px}
 body.wefit-glass .wf404-breakdown span{min-width:0;line-height:1.4}
 body.wefit-glass .wf404-breakdown b{display:block;white-space:normal;overflow-wrap:anywhere}
 body.wefit-glass .wf404-legend-head{font-size:10px;gap:6px}
 body.wefit-glass .wf404-share{min-width:0}
 body.wefit-glass .wefit-member-v371 .wm28-stats.wm440-stats-six{grid-template-columns:repeat(2,minmax(0,1fr))}
 body.wefit-glass .wefit-member-v371 .wm28-stat{min-width:0}
 body.wefit-glass .wefit-member-v371 .wm28-stat>span:last-child{min-width:0}
 body.wefit-glass .wefit-member-v371 .wm28-stat small{white-space:normal;overflow-wrap:anywhere}
 body.wefit-glass .wefit-member-v371 .wm28-row{grid-template-columns:19px 34px minmax(0,1fr) minmax(0,1fr) 44px!important;column-gap:6px!important;margin:7px 3px;padding:9px!important}
 body.wefit-glass .wefit-member-v371 .wm28-actions button{min-width:44px;min-height:44px}
 body.wefit-glass .wefit-member-v371 .wm28-person,body.wefit-glass .wefit-member-v371 .wm371-activities{min-width:0;overflow-wrap:anywhere}
 body.wefit-glass .wefit-member-v371.wm-has-selection .wm28-side{inset:0!important;width:100%!important;max-width:100%!important;height:100dvh!important;max-height:100dvh!important;border-radius:0!important;overflow-y:auto!important;overscroll-behavior:contain;padding-bottom:env(safe-area-inset-bottom,0px)}
 body.wefit-glass .wefit-member-v371 .wm365-pin-header{position:sticky;top:0;z-index:3;background:var(--paper);padding-top:max(10px,env(safe-area-inset-top,0px))}
 body.wefit-glass .wefit-member-v371 .wm365-pin-close{min-width:44px;min-height:44px}
 body.wefit-glass .wefit-member-v371 .wm28-profile-actions .btn{min-height:44px;white-space:normal}
 body.wefit-glass .pos-ref-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}
 body.wefit-glass .pos-ref-cover{height:clamp(95px,31vw,160px)}
 body.wefit-glass .pos-ref-cover img{width:100%;height:100%;object-fit:contain}
 body.wefit-glass .pos-ref-card{padding:9px}
 body.wefit-glass .pos-ref-card-bottom{gap:4px;align-items:center}
 body.wefit-glass .pos-ref-card-plus{width:36px;height:36px;flex-shrink:0}
 body.wefit-glass .pos-ref-card .product-title{min-height:0;font-size:14px;line-height:1.35}
 body.wefit-glass .pos-ref-card .wf334-pos-variant-label{font-size:11px;white-space:normal;overflow-wrap:anywhere}
 body.wefit-glass .pos-ref-items .cart-item{grid-template-columns:42px minmax(0,1fr) auto;gap:7px}
 body.wefit-glass .cart-description{min-width:0;overflow-wrap:anywhere}
 body.wefit-glass .pos-ref-footer{padding:13px;min-width:0}
 body.wefit-glass .pos-ref-footer .cart-row{flex-wrap:wrap;gap:7px}
 body.wefit-glass .pos-ref-footer .pos-discount-control{max-width:100%;min-width:0}
 body.wefit-glass .pos-ref-footer .cart-amount{white-space:normal;overflow-wrap:anywhere}
 body.wefit-glass .pos-ref-payment-box{min-width:0}
 body.wefit-glass .dialog:not(.wf439-dialog){width:calc(100% - 20px);max-width:calc(100% - 20px);max-height:calc(100dvh - 20px);margin:auto;overscroll-behavior:contain}
 body.wefit-glass .dialog .dialog-head{padding:14px;gap:8px}
 body.wefit-glass .dialog .dialog-head h3{overflow-wrap:anywhere}
 body.wefit-glass .dialog .dialog-body{min-width:0;max-width:100%;padding:14px}
 body.wefit-glass .dialog .dialog-actions{padding:12px;flex-wrap:wrap;gap:8px}
 body.wefit-glass .dialog .dialog-actions .btn{min-height:44px;white-space:normal}
 body.wefit-glass .dialog .dialog-body label{min-width:0;max-width:100%}
 body.wefit-glass :is(.dialog,.content,.login-card) :is(input:not([type=checkbox]):not([type=radio]):not([type=hidden]):not([type=color]):not([type=file]),select,textarea){font-size:16px;max-width:100%;min-width:0}
 body.wefit-glass :is(.dialog,.content,.login-card) :is(input:not([type=checkbox]):not([type=radio]):not([type=hidden]):not([type=color]),select){min-height:44px}
 body.wefit-glass .dialog .wizard-dates{grid-template-columns:minmax(0,1fr)}
 body.wefit-glass .dialog .wizard-dates input{width:100%;min-width:0}
 body.wefit-glass .dialog .wizard-actions .btn{min-height:44px;white-space:normal}
 body.wefit-glass .wp337 .wp337-add{min-height:44px}
 body.wefit-glass .wf430-panel,.wf430-profile,.wf430-layout{min-width:0}
 body.wefit-glass .wf430-quick .btn{min-height:44px;white-space:normal}
 body.wefit-glass .wf349-hr-layout,.wf349-hr-two,.wf352-stock-panel{min-width:0}
 body.wefit-glass .wf439-log .wf382-table-toolbar{min-width:0}
 body.wefit-glass .wf439-log .wf382-search input{font-size:16px}
 body.wefit-glass .report-stats{min-width:0;max-width:100%}
 body.wefit-glass .report-stats strong{overflow-wrap:anywhere}
 body.wefit-glass .summary-inline>div{flex:1 1 min(100%,140px)}
 body.wefit-glass.login-screen .login-side{min-height:100dvh;padding:18px 12px}
 body.wefit-glass.login-screen .login-card{max-width:100%;min-width:0}
}
@media screen and (max-width:380px){
 body.wefit-glass .content{padding-inline:8px}
 body.wefit-glass .stat-card{padding:10px}
 body.wefit-glass .wf404-person-main{flex-wrap:wrap}
 body.wefit-glass .wf404-person-main>div{flex:1 1 calc(100% - 20px)}
 body.wefit-glass .wf404-net{margin-left:17px}
 body.wefit-glass .wf404-legend-head{display:none}
 body.wefit-glass .pos-ref-card{padding:7px}
 body.wefit-glass .pos-ref-card-plus{width:31px;height:31px}
}
/* Desktop unchanged, including the cart layout. */
@media screen and (min-width:1001px){.wf442-cart-jump{display:none!important}}
@media print{.wf442-cart-jump{display:none!important}}
