/* Mobile shares business views and controls with PC; all overrides are scoped. */
.m-header,.m-tabbar{display:none}
body.hm-mobile{--m-nav:64px;--m-safe:env(safe-area-inset-bottom,0px);max-width:540px;margin:0 auto;padding-bottom:calc(var(--m-nav) + var(--m-safe));background:#f5f6f8;font-size:14px;overflow-wrap:anywhere}
.hm-mobile .utility,.hm-mobile .masthead,.hm-mobile>.nav{display:none}
.hm-mobile #app{width:100%;max-width:540px;min-height:calc(100dvh - 150px);padding:12px 12px 24px}
.hm-mobile .wrap{padding-left:12px;padding-right:12px}
.hm-mobile button{touch-action:manipulation}
.hm-mobile input:not([type=checkbox]):not([type=radio]),.hm-mobile select,.hm-mobile textarea{font-size:16px;max-width:100%;min-height:44px}
.hm-mobile input[type=checkbox],.hm-mobile input[type=radio]{width:18px;height:18px;accent-color:var(--orange);flex-shrink:0}
.hm-mobile .primary,.hm-mobile .outline,.hm-mobile .cc-button{min-height:44px;font-size:14px;padding:11px 16px;border-radius:7px}
.hm-mobile .m-icon{display:block;width:22px;height:22px;flex-shrink:0}
.hm-mobile .m-header:not([hidden]){display:flex;position:sticky;top:0;z-index:30;height:58px;padding:0 10px;align-items:center;gap:4px;background:#fff;border-bottom:1px solid #eceef0}
.hm-mobile .m-header>div{margin-left:auto;display:flex;align-items:center}
.hm-mobile .m-header h1{font-size:17px;letter-spacing:0;margin:0;line-height:1.4;min-width:0}
.hm-mobile .m-header-icon{display:grid;place-items:center;min-width:44px;height:44px;padding:10px}
.hm-mobile .m-header-brand{padding:8px 2px;min-height:44px;display:flex;align-items:center}
.hm-mobile .m-header-brand img{width:126px;max-height:40px;display:block}
.hm-mobile .m-header-account{font-size:13px;min-height:44px;padding:10px 5px;color:#a94409}
.hm-mobile .m-tabbar:not([hidden]){display:flex;position:fixed;bottom:0;left:50%;transform:translateX(-50%);width:100%;max-width:540px;height:calc(var(--m-nav) + var(--m-safe));padding:5px 4px calc(5px + var(--m-safe));z-index:40;background:#fff;border-top:1px solid #e9ecef;box-shadow:0 -3px 15px #25304705}
.hm-mobile .m-tabbar>button{flex:1;min-width:0;position:relative;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:4px;color:#657078;font-size:11px;min-height:50px;padding:5px 2px}
.hm-mobile .m-tabbar>button.active{color:#d7570b;font-weight:600}
.hm-mobile .m-tabbar>button.active:before{content:"";position:absolute;top:-5px;width:24px;height:3px;background:var(--orange);border-radius:0 0 3px 3px}
.hm-mobile .m-tabbar b{position:absolute;top:1px;left:calc(50% + 5px);border:2px solid white;border-radius:12px;background:#e86117;color:white;min-width:18px;height:18px;padding:0 3px;font:10px/14px Arial}
.hm-mobile .m-search{display:flex;align-items:center;gap:8px;width:100%;height:48px;padding:3px 4px 3px 12px;background:white;border:1px solid #f0b78c;border-radius:10px;margin:0 0 14px}
.hm-mobile .m-search>.m-icon{width:18px;height:18px;color:#8c9498}
.hm-mobile .m-search input{flex:1;width:100%;min-width:0;min-height:40px;border:0;background:transparent;outline-offset:0;padding:7px 0;font-size:14px}
.hm-mobile .m-search button{height:40px;padding:0 14px;background:var(--orange);color:white;border-radius:7px;flex-shrink:0;font-size:14px}
.hm-mobile .m-home-intro{display:flex;align-items:center;justify-content:space-between;font-size:12px;color:#6e767d;margin:0 0 9px}
.hm-mobile .m-home-intro button{display:flex;align-items:center;gap:2px;min-height:30px;color:#9b5d33;font-size:12px;padding:0}
.hm-mobile .m-home-intro .m-icon{width:12px;height:12px}
.hm-mobile .promotion-strip{font-size:12px;padding:10px 12px;margin-bottom:12px;flex-wrap:wrap;gap:8px}
.hm-mobile .hero,.hm-mobile .home-banner-image-only{min-height:270px;border-radius:12px}
.hm-mobile .hero-copy{padding:24px 20px 40px;max-width:330px}
.hm-mobile .hero h1{font-size:27px;line-height:1.5;margin-bottom:12px}
.hm-mobile .hero-copy .eyebrow{font-size:11px;margin-bottom:10px}
.hm-mobile .hero-copy p{font-size:13px;max-width:250px;margin-bottom:16px}
.hm-mobile .hero-tags{font-size:11px;gap:10px;flex-wrap:wrap;margin-top:14px}
.hm-mobile .hero>img{object-position:center}
.hm-mobile .home-banner-controls{left:18px;bottom:12px}
.hm-mobile .home-banner-dot{min-width:28px;min-height:24px;background-clip:content-box;padding:8px 4px;border-radius:0}
.hm-mobile .m-category-shortcuts{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin:14px 0;padding:12px 6px;background:white;border:1px solid #edf0f1;border-radius:12px}
.hm-mobile .m-category-shortcuts button{display:flex;align-items:center;flex-direction:column;gap:8px;padding:10px 3px;font-size:13px;min-height:77px}
.hm-mobile .m-category-shortcuts img,.hm-mobile .m-category-shortcuts .m-icon{width:28px;height:28px;color:#bc5a1c;object-fit:contain}
.hm-mobile .m-procurement-strip{display:flex;align-items:center;justify-content:space-between;padding:12px;border-radius:10px;background:#fff1e7;border:1px solid #ffe4cf;margin:14px 0}
.hm-mobile .m-procurement-strip>div{display:flex;align-items:center;gap:10px;color:#ad541a}
.hm-mobile .m-procurement-strip b{font-size:13px;display:block;font-weight:600}
.hm-mobile .m-procurement-strip small{display:block;color:#94735e;font-size:11px;margin-top:5px}
.hm-mobile .m-procurement-strip>button{min-width:40px;height:44px;display:grid;place-items:center;color:#a95623}
.hm-mobile .m-quick-actions{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));padding:12px 0;background:white;border-radius:12px;margin:14px 0}
.hm-mobile .m-quick-actions>button{display:flex;align-items:center;flex-direction:column;gap:10px;font-size:12px;padding:10px 2px;min-height:70px}
.hm-mobile .m-quick-actions img{width:22px;height:22px}
.hm-mobile .m-member-strip{display:flex;align-items:center;gap:10px;border-radius:10px;background:#fff;padding:14px;margin:14px 0;border:1px solid #e7ecee}
.hm-mobile .m-member-strip>div{flex:1;min-width:0}
.hm-mobile .m-member-strip b{font-size:13px}
.hm-mobile .m-member-strip p{font-size:12px;color:#7d858c;margin:6px 0 0}
.hm-mobile .m-member-strip button{display:flex;gap:3px;align-items:center;min-height:44px;font-size:12px;color:#b45b24;flex-shrink:0;padding:0}
.hm-mobile .m-member-strip .m-icon{width:14px;height:14px}
.hm-mobile .home-floor{margin:24px 0}
.hm-mobile .section-head{align-items:flex-start;flex-wrap:wrap;gap:8px;margin:22px 0 14px}
.hm-mobile .section-head h2{font-size:20px}
.hm-mobile .section-head p{font-size:12px;margin:7px 0 0}
.hm-mobile .section-head .text-button{font-size:12px;padding:8px 0;min-height:40px;margin-left:auto}
.hm-mobile .product-grid,.hm-mobile .cat-product-grid,.hm-mobile .cat-related-products,.hm-mobile .cc-product-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.hm-mobile .product-card{padding:12px;border-radius:10px}
.hm-mobile .product-image{height:128px;margin-bottom:10px}
.hm-mobile .product-card h3{font-size:14px;line-height:1.6}
.hm-mobile .product-card .spec{font-size:12px;line-height:1.6;margin-bottom:8px}
.hm-mobile .product-card .price{font-size:22px}
.hm-mobile .product-bottom{flex-wrap:wrap;gap:5px;margin-top:8px}
.hm-mobile .product-bottom .note{font-size:11px;flex:1}
.hm-mobile .add{width:44px;height:44px}
.hm-mobile .home-recommendations{padding:18px 10px}
.hm-mobile .workflow{grid-template-columns:1fr 1fr;gap:20px;padding:14px 0}
.hm-mobile .workflow p{font-size:12px}
.hm-mobile .m-home-end{text-align:center;color:#969da3;font-size:11px;letter-spacing:1px;margin:26px 0 6px}
/* Tap-based category tree preserves every enabled level. */
.hm-mobile .m-category-browser{display:grid;grid-template-columns:90px minmax(0,1fr);margin:0 -12px;background:white;min-height:calc(100dvh - 200px)}
.hm-mobile .m-category-rail{background:#edf0f3;align-self:start;position:sticky;top:58px;max-height:calc(100dvh - 125px - var(--m-safe));overflow-y:auto}
.hm-mobile .m-category-rail button{position:relative;display:flex;width:100%;align-items:center;flex-direction:column;gap:8px;padding:17px 5px;min-height:84px;font-size:12px;color:#606a72;border-bottom:1px solid #e5e9ed}
.hm-mobile .m-category-rail button>img{width:23px;height:23px}
.hm-mobile .m-category-rail button.active{background:white;color:#c85a15;font-weight:600}
.hm-mobile .m-category-rail button.active:before{content:"";position:absolute;left:0;top:25%;height:50%;width:3px;background:var(--orange);border-radius:0 3px 3px 0}
.hm-mobile .m-category-content{padding:17px 12px;min-width:0}
.hm-mobile .m-category-title{display:flex;align-items:center;justify-content:space-between;gap:8px;border-bottom:1px solid #edf0f1;padding-bottom:14px}
.hm-mobile .m-category-title small{font-size:10px;color:#969da3}
.hm-mobile .m-category-title h1{font-size:18px;margin:6px 0 0;letter-spacing:0}
.hm-mobile .m-category-title button,.hm-mobile .m-category-group-title button{display:flex;align-items:center;gap:2px;min-height:44px;font-size:11px;color:#a7683c;padding:0;flex-shrink:0}
.hm-mobile .m-category-title .m-icon,.hm-mobile .m-category-group-title .m-icon{width:12px;height:12px}
.hm-mobile .m-category-group{margin:18px 0 24px}
.hm-mobile .m-category-group-title{display:flex;align-items:center;justify-content:space-between;gap:6px;margin-bottom:8px}
.hm-mobile .m-category-group h2{font-size:14px;margin:0;line-height:1.5}
.hm-mobile .m-category-chips{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
.hm-mobile .m-category-leaf{display:flex;align-items:center;justify-content:space-between;gap:5px;min-height:48px;padding:10px 8px;background:#f5f7f8;border:1px solid #edf0f1;border-radius:6px;text-align:left;line-height:1.5;font-size:12px}
.hm-mobile .m-category-leaf small{color:#99a2a7;font-size:10px}
.hm-mobile .m-category-expand{grid-column:1/-1;border:1px solid #e8edf0;border-radius:7px;overflow:hidden}
.hm-mobile .m-category-expand>button{display:flex;align-items:center;justify-content:space-between;width:100%;min-height:48px;padding:12px;text-align:left;font-size:13px;background:#f7f9fa}
.hm-mobile .m-category-expand>button[aria-expanded=true]{color:#b75618;background:#fff5ed}
.hm-mobile .m-category-expand>button>span{font-size:17px;color:#a08069}
.hm-mobile .m-category-fourth{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;padding:10px}
.hm-mobile .m-category-fourth>button:first-child{grid-column:1/-1;text-align:left;min-height:40px;font-size:12px;color:#b45f27;padding:5px}
.hm-mobile .m-category-empty{padding:24px 0;font-size:13px;color:#8a9398}
/* Member home and complete permission-filtered menus. */
.hm-mobile .m-account-profile{padding:22px 18px;border-radius:14px;border:1px solid #ffe0c9;background:linear-gradient(120deg,#ffebdc,#fff9f3);margin-bottom:14px}
.hm-mobile .m-profile-row{display:flex;align-items:center;gap:12px}
.hm-mobile .m-avatar{height:48px;width:48px;flex-shrink:0;border:1px solid #f1c7a8;border-radius:50%;background:#fff9f4;color:#a75520;display:grid;place-items:center;font-size:24px}
.hm-mobile .m-profile-row>div:nth-child(2){min-width:0;flex:1}
.hm-mobile .m-account-profile h1{font-size:20px;letter-spacing:0;margin:0 0 7px}
.hm-mobile .m-account-profile p{font-size:12px;line-height:1.7;color:#8d6f58;margin:0}
.hm-mobile .m-profile-row>button{min-width:40px;height:44px;display:grid;place-items:center}
.hm-mobile .m-profile-role{display:flex;align-items:center;justify-content:space-between;gap:8px;border-top:1px solid #f2d9c5;padding-top:12px;margin-top:17px;font-size:12px;color:#9b633d}
.hm-mobile .m-profile-role>span{background:#fff9f1;border-radius:4px;padding:6px 8px}
.hm-mobile .m-profile-role button{display:flex;align-items:center;gap:5px;font-size:12px;min-height:40px}
.hm-mobile .m-profile-role .m-icon{width:13px;height:13px}
.hm-mobile .m-account-guest{text-align:center;padding:25px 15px}
.hm-mobile .m-account-guest .m-avatar{margin:0 auto 14px}
.hm-mobile .m-account-guest>div:last-child{display:flex;justify-content:center;gap:12px;margin-top:19px}
.hm-mobile .m-account-benefits{display:flex;justify-content:space-around;gap:10px;margin:20px 0;font-size:11px;color:#818b92}
.hm-mobile .m-account-benefits span{display:flex;align-items:center;flex-direction:column;gap:10px;text-align:center}
.hm-mobile .m-order-hub,.hm-mobile .m-account-group,.hm-mobile .m-account-links{background:white;border:1px solid #e9edef;border-radius:12px;padding:16px 14px;margin-bottom:14px}
.hm-mobile .m-order-hub>header{display:flex;align-items:center;justify-content:space-between;gap:10px}
.hm-mobile .m-order-hub h2,.hm-mobile .m-account-group h2{font-size:15px;margin:0;display:flex;align-items:center;gap:9px}
.hm-mobile .m-order-hub>header button{display:flex;align-items:center;gap:3px;font-size:12px;color:#8a939a;min-height:40px;padding:0}
.hm-mobile .m-order-hub>header .m-icon{width:13px;height:13px}
.hm-mobile .m-order-states{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;margin-top:13px}
.hm-mobile .m-order-states>button{display:flex;flex-direction:column;align-items:center;gap:11px;padding:10px 2px;font-size:12px}
.hm-mobile .m-order-states>button>span{position:relative}
.hm-mobile .m-order-states img{width:25px;height:25px}
.hm-mobile .m-order-states b{position:absolute;top:-8px;right:-12px;border:1px solid #f7ba90;color:#cf5b11;background:white;min-width:17px;border-radius:10px;padding:1px 4px;font:11px Arial}
.hm-mobile .m-account-group h2{padding:0 0 13px;border-bottom:1px solid #edf0f2}
.hm-mobile .m-account-group>div{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:3px 16px;margin-top:5px}
.hm-mobile .m-account-group>div>button{display:flex;align-items:center;justify-content:space-between;gap:6px;min-height:48px;padding:8px 0;text-align:left;font-size:13px}
.hm-mobile .m-account-group>div .m-icon{width:12px;height:12px;color:#b6bec3}
.hm-mobile .m-account-links{padding:0 14px}
.hm-mobile .m-account-links>button,.hm-mobile .m-menu-store{display:flex;align-items:center;justify-content:space-between;width:100%;min-height:52px;padding:12px 0;text-align:left;border-bottom:1px solid #edf0f2;font-size:13px}
.hm-mobile .m-account-links>button:last-child{border-bottom:0}
.hm-mobile .m-account-links .m-icon{width:14px;height:14px;color:#a2abb2}
.hm-mobile .m-logout{color:#b34535!important}
/* Shared catalog, product and purchase controls. */
.hm-mobile .cat-breadcrumb,.hm-mobile .cc-breadcrumb,.hm-mobile .auth-breadcrumb{font-size:12px;flex-wrap:wrap;gap:7px}
.hm-mobile .cat-heading{gap:10px;flex-wrap:wrap;margin-bottom:14px}
.hm-mobile .cat-heading h1{font-size:21px}
.hm-mobile .m-catalog-tools{display:flex;justify-content:space-between;gap:8px;margin:0 0 12px}
.hm-mobile .m-catalog-tools button{display:flex;align-items:center;gap:7px;min-height:44px;font-size:12px;padding:8px;background:white;border-radius:7px;border:1px solid #e7ecef;max-width:58%;text-align:left}
.hm-mobile .m-catalog-tools .m-icon{width:17px;height:17px}
.hm-mobile .cat-filters.m-filters-closed{display:none}
.hm-mobile .cat-filter-row{display:block;padding:12px}
.hm-mobile .cat-filter-label{display:block;margin-bottom:8px;width:auto}
.hm-mobile .cat-filter-options{flex-wrap:wrap;gap:5px}
.hm-mobile .cat-filter-options button{min-height:40px}
.hm-mobile .cat-price-filter{display:flex;flex-wrap:wrap;gap:8px}
.hm-mobile .cat-price-input{width:85px;min-width:0}
.hm-mobile .cat-price-note{flex-basis:100%}
.hm-mobile .cat-sortbar{flex-wrap:wrap;gap:10px;padding:10px}
.hm-mobile .cat-sort-options{display:flex;overflow:auto;flex:1;min-width:0;gap:4px}
.hm-mobile .cat-sort-options button{min-height:40px;font-size:12px;white-space:nowrap;padding:6px 10px}
.hm-mobile .cat-result-count{font-size:12px}
.hm-mobile .cat-card{padding:11px;min-width:0;border-radius:10px}
.hm-mobile .cat-card-image{height:125px}
.hm-mobile .cat-product-title{font-size:14px;line-height:1.6}
.hm-mobile .cat-card-spec,.hm-mobile .cat-sku{font-size:11px;line-height:1.6;overflow-wrap:anywhere}
.hm-mobile .cat-card-actions{flex-wrap:wrap;gap:7px}
.hm-mobile .cat-card-actions .cat-add{width:100%;min-height:44px;font-size:13px}
.hm-mobile .cat-card-actions .cat-quantity{flex:1}
.hm-mobile .cat-quantity{height:42px;min-width:0;display:flex;max-width:100%}
.hm-mobile .cat-quantity button{width:36px;min-height:40px}
.hm-mobile .cat-quantity input{width:44px;min-width:0;min-height:40px;font-size:16px}
.hm-mobile .cat-compare-toggle{min-height:38px;font-size:12px}
.hm-mobile .cat-product-list{grid-template-columns:1fr}
.hm-mobile .cat-product-list .cat-card{display:grid;grid-template-columns:90px minmax(0,1fr);gap:12px}
.hm-mobile .cat-product-list .cat-card-image{width:90px;height:110px}
.hm-mobile .cat-product-list .cat-card-actions{grid-column:2}
.hm-mobile .cat-service-strip{display:flex;flex-wrap:wrap;gap:12px;font-size:12px;padding:14px}
.hm-mobile .cat-compare-bar{align-items:flex-start;flex-wrap:wrap;padding:14px;gap:10px}
.hm-mobile .cat-compare-items{flex-wrap:wrap;gap:8px}
.hm-mobile .cat-compare-table{overflow-x:auto}
.hm-mobile .cat-compare-table table{min-width:480px}
.hm-mobile .cat-pagination{gap:6px;flex-wrap:wrap}
.hm-mobile .cat-pagination button{min-width:40px;min-height:44px}
.hm-mobile .cat-detail-main{grid-template-columns:1fr;gap:18px;padding:16px}
.hm-mobile .cat-detail-image{height:270px}
.hm-mobile .cat-detail-info h1{font-size:21px;line-height:1.6}
.hm-mobile .cat-detail-codes{font-size:12px;flex-wrap:wrap;gap:8px}
.hm-mobile .cat-detail-price{padding:15px 12px}
.hm-mobile .cat-detail-options{grid-template-columns:68px minmax(0,1fr);gap:10px}
.hm-mobile .cat-detail-options dd{margin:0;min-width:0}
.hm-mobile .cat-detail-options button{min-height:44px}
.hm-mobile .cat-detail-quantity-row{flex-wrap:wrap;gap:10px}
.hm-mobile .cat-detail-actions{display:grid;grid-template-columns:1fr 1fr 62px;gap:8px;position:fixed;bottom:calc(var(--m-nav) + var(--m-safe));left:50%;transform:translateX(-50%);width:100%;max-width:540px;background:#fff;padding:10px 12px;z-index:35;border-top:1px solid #e6e9ed;margin:0;box-shadow:0 -4px 16px #26313b06}
.hm-mobile .cat-detail-actions>button{padding:10px 5px;min-width:0;min-height:44px;flex-basis:auto;width:auto;white-space:normal;font-size:14px;border-radius:7px}
.hm-mobile .cat-detail-actions>.cat-detail-compare{font-size:12px}
.hm-mobile[data-page=product] #app{padding-bottom:90px}
.hm-mobile .cat-product-information{grid-template-columns:1fr;gap:14px}
.hm-mobile .cat-info-panel{padding:15px}
.hm-mobile .cat-detail-tabs{overflow-x:auto;white-space:nowrap}
.hm-mobile .cat-detail-tabs button{min-height:44px;font-size:13px;flex-shrink:0;padding:10px 13px}
.hm-mobile .cat-parameter-table{width:100%;table-layout:fixed}
.hm-mobile .cat-parameter-table th,.hm-mobile .cat-parameter-table td{padding:10px;font-size:12px;white-space:normal;overflow-wrap:anywhere}
.hm-mobile .cat-detail-support{display:flex;flex-wrap:wrap;gap:10px}
.hm-mobile .pr-tier-strip{overflow-x:auto;max-width:100%}
.hm-mobile .commerce-heading{flex-direction:column;align-items:flex-start;gap:15px;margin:5px 0 18px}
.hm-mobile .commerce-heading h1{font-size:23px}
.hm-mobile .commerce-steps{width:100%;justify-content:space-between;gap:8px}
.hm-mobile .commerce-steps li{font-size:11px;gap:5px}
.hm-mobile .commerce-steps li+li:before{display:none}
.hm-mobile .commerce-notice{padding:11px;font-size:12px;margin-bottom:15px}
.hm-mobile .commerce-cart-tabs>span,.hm-mobile .commerce-cart-head,.hm-mobile .commerce-goods-head{display:none}
.hm-mobile .commerce-seller{padding:12px;font-size:12px}
.hm-mobile .commerce-seller>span{font-size:11px;margin-left:auto}
.hm-mobile .commerce-cart-row{grid-template-columns:18px minmax(0,1fr) auto;gap:13px 8px;padding:17px 11px;align-items:start}
.hm-mobile .commerce-row-check{grid-column:1;grid-row:1;padding-top:24px}
.hm-mobile .commerce-cart-row>.commerce-item{grid-column:2/4;grid-row:1}
.hm-mobile .commerce-item{gap:10px}
.hm-mobile .commerce-item>img{width:62px;height:66px}
.hm-mobile .commerce-item-title{font-size:13px;line-height:1.7}
.hm-mobile .commerce-item p,.hm-mobile .commerce-item small{font-size:11px;line-height:1.6}
.hm-mobile .commerce-unit-price{grid-column:2;grid-row:2;font-size:13px}
.hm-mobile .commerce-quantity-cell{grid-column:3;grid-row:2}
.hm-mobile .commerce-quantity{width:120px;height:44px}
.hm-mobile .commerce-quantity button{width:35px;min-height:42px;flex-shrink:0}
.hm-mobile .commerce-quantity input{width:48px;min-height:42px;font-size:16px}
.hm-mobile .commerce-quantity-cell>small{font-size:11px;max-width:125px;text-align:right}
.hm-mobile .commerce-line-total{grid-column:3;grid-row:3;text-align:right;font-size:16px}
.hm-mobile .commerce-remove{grid-column:2;grid-row:3;min-height:40px;font-size:12px}
.hm-mobile .commerce-mobile-label{display:inline;font-size:11px;color:#89959d;margin-right:5px}
.hm-mobile .commerce-cart-bottom{display:block;position:fixed;bottom:calc(var(--m-nav) + var(--m-safe));left:50%;transform:translateX(-50%);width:100%;max-width:540px;z-index:35;margin:0;padding:0;border-width:1px 0 0}
.hm-mobile .commerce-cart-actions{padding:4px 12px;min-height:44px;border-bottom:1px solid #edf0f2;gap:12px;font-size:12px}
.hm-mobile .commerce-cart-actions>button{font-size:12px;min-height:40px;padding:5px 0}
.hm-mobile .commerce-cart-actions>button:last-child{margin-left:auto}
.hm-mobile .commerce-cart-total{justify-content:flex-end;padding-left:12px;gap:10px;min-height:64px}
.hm-mobile .commerce-cart-total>span{display:none}
.hm-mobile .commerce-cart-total>div{margin-right:auto}
.hm-mobile .commerce-cart-total strong{font-size:23px}
.hm-mobile .commerce-cart-total small{font-size:11px;text-align:left}
.hm-mobile .commerce-cart-total .primary{min-width:112px;height:64px;font-size:16px;border-radius:0;padding:10px 16px}
.hm-mobile .commerce-cart-total .primary>span{display:none}
.hm-mobile[data-page=cart] #app{padding-bottom:135px}
.hm-mobile .commerce-section{padding:17px 14px;margin-bottom:13px;border-radius:10px}
.hm-mobile .commerce-section-title{align-items:flex-start;gap:10px;margin-bottom:15px;flex-wrap:wrap}
.hm-mobile .commerce-section-title h2{font-size:16px}
.hm-mobile .commerce-section-title>span{font-size:11px;line-height:1.7}
.hm-mobile .commerce-addresses{grid-template-columns:1fr;gap:10px}
.hm-mobile .commerce-address{min-height:110px;padding:16px}
.hm-mobile .commerce-address.is-active{padding:15px}
.hm-mobile .commerce-address p{font-size:12px;margin:10px 0 5px}
.hm-mobile .commerce-address small{font-size:12px}
.hm-mobile .commerce-choices{gap:10px}
.hm-mobile .commerce-choice{min-width:0;max-width:none;flex-basis:100%;padding:14px}
.hm-mobile .commerce-choice b{font-size:13px}
.hm-mobile .commerce-choice small{font-size:12px}
.hm-mobile .commerce-invoice-detail{display:grid;grid-template-columns:auto minmax(0,1fr);padding:12px;gap:10px;font-size:12px}
.hm-mobile .commerce-goods-row{grid-template-columns:repeat(3,minmax(0,1fr));gap:13px;padding:17px 0;font-size:12px}
.hm-mobile .commerce-goods-row>.commerce-item{grid-column:1/-1}
.hm-mobile .commerce-goods-row>div:not(:first-child){text-align:left}
.hm-mobile .commerce-goods-row small{font-size:11px}
.hm-mobile .commerce-purchase-note{display:block;margin:18px 0 0}
.hm-mobile .commerce-purchase-note>b{display:block;padding:0;margin-bottom:10px}
.hm-mobile .commerce-purchase-note textarea{width:100%;min-height:90px;padding:12px 12px 30px}
.hm-mobile .commerce-order-summary{width:100%;padding:20px 16px}
.hm-mobile .commerce-submit-area{padding:17px 16px}
.hm-mobile .commerce-deliver-summary{text-align:left;font-size:12px}
.hm-mobile .commerce-confirm{justify-content:flex-start;text-align:left;font-size:12px}
.hm-mobile .commerce-submit-actions{position:fixed;bottom:calc(var(--m-nav) + var(--m-safe));left:50%;transform:translateX(-50%);width:100%;max-width:540px;z-index:35;display:flex;align-items:center;justify-content:space-between;gap:10px;background:white;border-top:1px solid #e6e9ed;padding:10px 12px}
.hm-mobile .commerce-submit-actions>.commerce-link{display:none}
.hm-mobile .commerce-submit-actions .primary{min-width:150px;height:46px;font-size:14px}
.hm-mobile .m-submit-total{text-align:left;min-width:0}
.hm-mobile .m-submit-total small{display:block;color:#8f989e;font-size:11px}
.hm-mobile .m-submit-total strong{display:block;font-size:22px;line-height:1.5;color:#df5e0c}
.hm-mobile[data-page=checkout] #app{padding-bottom:100px}
.hm-mobile .commerce-success{padding:25px 16px;gap:12px}
.hm-mobile .commerce-success-mark{width:36px;height:36px;font-size:20px}
.hm-mobile .commerce-success h2{font-size:22px}
.hm-mobile .commerce-success-reference{font-size:12px;gap:8px}
.hm-mobile .commerce-success-reference>span{margin-left:0;flex-basis:100%}
.hm-mobile .commerce-success-details{grid-template-columns:1fr 1fr;gap:18px}
.hm-mobile .commerce-success-details>div:first-child{grid-column:1/-1}
.hm-mobile .commerce-success-actions{gap:10px}
.hm-mobile .commerce-success-actions button{min-width:0;flex:1}
/* Order center, enterprise services, detail and logistics. */
.hm-mobile .customer-center{display:block}
.hm-mobile .cc-sidebar,.hm-mobile .cc-breadcrumb{display:none}
.hm-mobile .cc-workspace{min-width:0}
.hm-mobile .enterprise-identity{padding:14px;margin-bottom:14px;gap:10px;flex-wrap:wrap}
.hm-mobile .enterprise-identity h2{font-size:15px}
.hm-mobile .enterprise-identity p{font-size:12px;line-height:1.7}
.hm-mobile .cc-order-controls,.hm-mobile .cc-section-panel{padding:14px;border-radius:10px}
.hm-mobile .cc-title{flex-wrap:wrap;gap:10px}
.hm-mobile .cc-title h1,.hm-mobile .cc-section-panel h1{font-size:20px}
.hm-mobile .cc-status-tabs{display:flex;overflow-x:auto;flex-wrap:nowrap;white-space:nowrap;gap:12px;scrollbar-width:thin}
.hm-mobile .cc-status-tabs>button{min-height:44px;flex-shrink:0;font-size:13px;padding:10px 4px}
.hm-mobile .m-order-filter-toggle{display:flex;align-items:center;gap:8px;min-height:44px;width:100%;font-size:12px;color:#7a858c;text-align:left;padding:10px 0}
.hm-mobile .m-order-filter-toggle .m-icon{width:17px;height:17px}
.hm-mobile .m-order-filter-toggle .m-icon:last-child{margin-left:auto}
.hm-mobile .cc-filters{display:block}
.hm-mobile .cc-filter-fields,.hm-mobile .cc-extra-filters{grid-template-columns:1fr;gap:12px}
.hm-mobile .m-order-filter-closed{display:none!important}
.hm-mobile .cc-filter-actions{display:flex;gap:10px;flex-wrap:wrap;margin:14px 0 0}
.hm-mobile .cc-columns,.hm-mobile .cc-order-head{display:none}
.hm-mobile .cc-order-card{border-radius:10px;margin-top:14px;overflow:hidden}
.hm-mobile .cc-order-select{min-height:44px;align-items:flex-start;flex-wrap:wrap;gap:8px;padding:12px;font-size:12px}
.hm-mobile .cc-order-meta{flex-wrap:wrap;gap:7px;font-size:12px}
.hm-mobile .cc-order-tools{margin-left:auto;gap:10px}
.hm-mobile .cc-order-body{display:grid;grid-template-columns:1fr 1fr;gap:0}
.hm-mobile .cc-order-products{grid-column:1/-1;border-right:0}
.hm-mobile .cc-order-product{padding:14px 12px;gap:10px;grid-template-columns:58px minmax(0,1fr) auto}
.hm-mobile .cc-product-image{width:58px;height:62px}
.hm-mobile .cc-product-name{font-size:13px;line-height:1.7}
.hm-mobile .cc-product-name small{font-size:11px}
.hm-mobile .cc-order-cell{padding:12px;border-top:1px solid #edf0f2;border-right:0;font-size:13px;min-width:0;display:flex;align-items:flex-start;justify-content:center;flex-direction:column;gap:6px}
.hm-mobile .cc-order-cell:before{content:attr(data-label);font-size:11px;color:#969fa6}
.hm-mobile .cc-order-actions{grid-column:1/-1;display:flex;flex-direction:row;align-items:center;justify-content:flex-end;gap:8px;flex-wrap:wrap;border-top:1px solid #edf0f2;padding:10px 12px}
.hm-mobile .cc-order-actions>button{min-height:44px;font-size:12px;padding:9px 12px}
.hm-mobile .cc-details-link{min-height:38px}
.hm-mobile .cc-bulk-bar,.hm-mobile .cc-pagination{flex-wrap:wrap;gap:10px;padding:12px;font-size:12px}
.hm-mobile .cc-pagination button{min-width:40px;min-height:44px}
.hm-mobile .cc-section-body{padding:0}
.hm-mobile .cc-form,.hm-mobile .cc-wide-form{max-width:none;width:100%}
.hm-mobile .cc-address-grid,.hm-mobile .cc-coupon-grid,.hm-mobile .enterprise-role-grid,.hm-mobile .enterprise-permissions{grid-template-columns:1fr}
.hm-mobile .cc-security-row{align-items:flex-start;flex-wrap:wrap;gap:12px}
.hm-mobile .cc-section-actions,.hm-mobile .cc-text-actions{display:flex;flex-wrap:wrap;gap:10px}
.hm-mobile .cc-section-actions button,.hm-mobile .cc-text-actions button{min-height:44px}
.hm-mobile .cc-analytics-stats,.hm-mobile .enterprise-summary,.hm-mobile .cc-benefit-grid{grid-template-columns:1fr 1fr;gap:10px}
.hm-mobile .enterprise-matrix{max-width:100%;overflow-x:auto}
.hm-mobile .enterprise-matrix table{min-width:560px}
.hm-mobile .od-heading,.hm-mobile .od-summary-top,.hm-mobile .od-bottom-bar{flex-wrap:wrap;gap:12px}
.hm-mobile .od-heading h1,.hm-mobile .lg-page-title h1{font-size:22px}
.hm-mobile .od-summary,.hm-mobile .od-info-panel,.hm-mobile .od-items-panel,.hm-mobile .od-totals-panel{padding:16px 13px;border-radius:10px;margin-bottom:13px}
.hm-mobile .od-status-actions{display:flex;flex-wrap:wrap;gap:8px}
.hm-mobile .od-progress{gap:0;padding:18px 0 10px}
.hm-mobile .od-progress>div{min-width:0;flex:1;font-size:11px;text-align:center}
.hm-mobile .od-progress small{font-size:10px;line-height:1.6;display:block}
.hm-mobile .od-info-columns{grid-template-columns:1fr;gap:15px}
.hm-mobile .od-info-columns>div{border-right:0;border-bottom:1px solid #edf0f2;padding:0 0 15px}
.hm-mobile .od-extra-info{grid-template-columns:1fr;gap:12px}
.hm-mobile .od-item-tabs{overflow-x:auto;white-space:nowrap;gap:12px}
.hm-mobile .od-item-tabs button{min-height:44px;flex-shrink:0;font-size:12px}
.hm-mobile .od-totals-panel{display:block}
.hm-mobile .od-totals-panel>div{width:100%;max-width:none}
.hm-mobile .od-totals-note{margin-bottom:18px;font-size:12px}
.hm-mobile .od-bottom-bar{position:static;padding:14px;font-size:12px}
.hm-mobile .lg-breadcrumb{font-size:12px;flex-wrap:wrap}
.hm-mobile .lg-page-title{flex-wrap:wrap;gap:12px}
.hm-mobile .lg-status-card{padding:18px 14px}
.hm-mobile .lg-status-summary{gap:12px;flex-wrap:wrap}
.hm-mobile .lg-status-summary h2{font-size:20px}
.hm-mobile .lg-progress{margin:25px 0 0;padding:0;gap:0}
.hm-mobile .lg-progress>div{font-size:11px;min-width:0}
.hm-mobile .lg-parcel-tabs{overflow-x:auto;white-space:nowrap;flex-wrap:nowrap}
.hm-mobile .lg-parcel-tabs button{min-height:44px;flex-shrink:0;font-size:12px}
.hm-mobile .lg-waybill-bar{padding:14px;gap:10px;flex-wrap:wrap;font-size:12px}
.hm-mobile .lg-detail-grid{grid-template-columns:1fr}
.hm-mobile .lg-delivery-info{padding:17px 14px;border-right:0;border-bottom:1px solid #edf0f2}
.hm-mobile .lg-trace-panel{padding:20px 14px}
.hm-mobile .lg-timeline li{grid-template-columns:58px 12px minmax(0,1fr);gap:10px}
.hm-mobile .lg-timeline time{font-size:11px}
.hm-mobile .lg-timeline p{font-size:13px;line-height:1.8}
.hm-mobile .lg-admin-packages,.hm-mobile .lg-admin-events{max-width:100%;overflow-x:auto}
/* Administration: preserve controls, annotate table cells and present records as cards. */
.hm-mobile .management-shell{display:block;margin:0}
.hm-mobile .management-sidebar{display:none}
.hm-mobile .management-main{padding:0;min-width:0}
.hm-mobile .management-top{align-items:flex-start;flex-wrap:wrap;gap:10px;padding:8px 0 14px}
.hm-mobile .management-top h1{font-size:22px}
.hm-mobile .management-top>div:last-child{display:flex;flex-wrap:wrap;gap:8px}
.hm-mobile .mg-demo-note{font-size:12px;line-height:1.8;padding:12px;margin-bottom:14px}
.hm-mobile .mg-stats{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.hm-mobile .mg-stats>div{padding:16px 12px}
.hm-mobile .mg-stats strong{font-size:25px}
.hm-mobile .mg-overview-grid{grid-template-columns:1fr;gap:14px}
.hm-mobile .mg-panel{padding:16px 13px;min-width:0;border-radius:10px;margin-bottom:14px}
.hm-mobile .mg-panel-title{align-items:flex-start;flex-wrap:wrap;gap:10px}
.hm-mobile .mg-panel-title h2{font-size:16px}
.hm-mobile .mg-shortcuts{grid-template-columns:1fr 1fr;gap:10px}
.hm-mobile .mg-shortcuts button{min-height:50px;font-size:13px;padding:10px}
.hm-mobile .mg-list-intro{align-items:flex-start;gap:12px;flex-wrap:wrap;padding:0 0 15px}
.hm-mobile .mg-list-intro h2{font-size:18px}
.hm-mobile .mg-toolbar,.hm-mobile .integration-filters,.hm-mobile .pr-toolbar{display:flex;flex-wrap:wrap;gap:10px;padding:12px 0}
.hm-mobile .mg-search{width:100%;flex-basis:100%;max-width:none}
.hm-mobile .mg-search input{width:100%;min-width:0}
.hm-mobile .mg-count{font-size:12px}
.hm-mobile .mg-form-grid{grid-template-columns:1fr;gap:14px}
.hm-mobile .mg-field{min-width:0;font-size:13px}
.hm-mobile .mg-field input,.hm-mobile .mg-field textarea,.hm-mobile .mg-field select{width:100%;font-size:16px}
.hm-mobile .mg-field input[type=checkbox],.hm-mobile .mg-field input[type=radio]{width:18px}
.hm-mobile .mg-permission-field{grid-template-columns:1fr;gap:10px}
.hm-mobile .mg-permission-field label{min-height:44px;display:flex;align-items:center;gap:8px;line-height:1.6}
.hm-mobile .mg-form-actions{flex-wrap:wrap;gap:10px;padding-top:16px}
.hm-mobile .mg-form-actions button{min-height:44px}
.hm-mobile .mg-detail-summary{grid-template-columns:1fr;gap:14px}
.hm-mobile .m-stack-table{display:block!important;min-width:0!important;width:100%!important;border:0;table-layout:auto}
.hm-mobile .m-stack-table thead{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
.hm-mobile .m-stack-table tbody{display:block;width:100%}
.hm-mobile .m-stack-table tbody tr{display:block;border:1px solid #e5eaee;border-radius:9px;margin:12px 0;background:#fff;padding:7px 12px}
.hm-mobile .m-stack-table tbody td{display:grid;grid-template-columns:78px minmax(0,1fr);align-items:start;align-content:start;gap:10px;min-width:0;width:100%!important;padding:10px 0!important;border:0;border-bottom:1px solid #f1f3f5;font-size:13px!important;line-height:1.7;white-space:normal!important;text-align:left!important;overflow-wrap:anywhere}
.hm-mobile .m-stack-table tbody td:before{content:attr(data-label);color:#85919a;font-size:12px;grid-column:1;grid-row:1;align-self:start}
.hm-mobile .m-stack-table tbody td>*{grid-column:2;min-width:0;max-width:100%}
.hm-mobile .m-stack-table tbody td:has(>button){display:flex;align-items:center;flex-wrap:wrap}
.hm-mobile .m-stack-table tbody td:has(>button):before{width:78px;flex-shrink:0}
.hm-mobile .m-stack-table tbody td:last-child{border-bottom:0}
.hm-mobile .m-stack-table tbody td[data-label=""],.hm-mobile .m-stack-table tbody td.m-empty-cell{display:block}
.hm-mobile .m-stack-table tbody td[data-label=""]:before{display:none}
.hm-mobile .m-stack-table tbody td button{min-height:40px;font-size:12px;padding:8px}
.hm-mobile .m-stack-table .mg-row-actions,.hm-mobile .m-stack-table .cc-text-actions{display:flex;flex-wrap:wrap;gap:8px;justify-content:flex-start}
.hm-mobile .m-stack-table .mg-product,.hm-mobile .m-stack-table .od-product{display:flex;align-items:flex-start;gap:10px;min-width:0}
.hm-mobile .m-stack-table .mg-product img,.hm-mobile .m-stack-table .od-product img{width:44px;height:48px;flex-shrink:0}
.hm-mobile .mg-table-wrap:has(>.m-stack-table),.hm-mobile .cc-table-wrap:has(>.m-stack-table),.hm-mobile .pr-table-scroll:has(>.m-stack-table),.hm-mobile .od-table-wrap:has(>.m-stack-table),.hm-mobile .table-wrap:has(>.m-stack-table){overflow:visible;border:0}
.hm-mobile .m-admin-group{margin:16px 0 0}.m-admin-group>b{display:block;font-size:11px;font-weight:600;letter-spacing:.4px;color:#98a3a9;margin:0 0 8px 2px}.m-admin-group>.m-admin-menu{margin:0}.m-admin-menu{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin:15px 0}
.hm-mobile .m-admin-menu>button{display:flex;align-items:center;gap:8px;text-align:left;padding:14px 10px;min-height:64px;border:1px solid #e6ebef;border-radius:9px;font-size:13px;background:#fafbfc}
.hm-mobile .m-admin-menu>button.active{border-color:#fac394;background:#fff3e9;color:#b25215}
.hm-mobile .m-admin-menu>button>.m-icon{width:18px;height:18px;color:#a16b49}
.hm-mobile .m-admin-menu>button>.m-icon:last-child{margin-left:auto;width:12px}
.hm-mobile .home-editor-grid{grid-template-columns:1fr;gap:14px}
.hm-mobile .home-editor-toolbar{flex-direction:column;gap:14px;align-items:flex-start}
.hm-mobile .home-editor-toolbar>div:last-child{flex-wrap:wrap;justify-content:flex-start;width:100%;gap:8px}
.hm-mobile .home-editor-toolbar button{font-size:12px;min-height:44px;padding:10px 12px}
.hm-mobile .home-editor-toolbar #home-save-state{flex-basis:100%;text-align:left}
.hm-mobile .home-screen-list{position:static;padding:14px 10px}
.hm-mobile .home-screen-list .home-screen-row{display:flex;width:100%}
.hm-mobile .home-screen-list>.home-screen{max-width:none}
.hm-mobile .home-edit-panel{padding:16px}
.hm-mobile .home-banner-tabs{flex-wrap:wrap;gap:8px}
.hm-mobile .home-banner-tabs button{flex-basis:140px;min-height:44px}
.hm-mobile .home-banner-preview>img{height:160px}
.hm-mobile .home-product-picker{grid-template-columns:1fr}
.hm-mobile .home-inline-actions{flex-wrap:wrap;gap:10px}
.hm-mobile .home-order-buttons button{min-width:34px;min-height:44px}
.hm-mobile .home-preview-bar{flex-wrap:wrap;font-size:12px;padding:12px;gap:10px}
.hm-mobile .home-preview-bar>span{flex-basis:100%}
.hm-mobile .integration-grid,.hm-mobile .pr-lookup-grid,.hm-mobile .lg-carrier-mappings{grid-template-columns:1fr}
.hm-mobile .integration-summary{grid-template-columns:1fr 1fr;gap:10px}
.hm-mobile .integration-hero,.hm-mobile .integration-card-bottom,.hm-mobile .lg-settings-actions,.hm-mobile .pr-section-head{flex-wrap:wrap;gap:10px}
.hm-mobile .integration-tabs,.hm-mobile .pr-tabs,.hm-mobile .av-config-tabs{display:flex;overflow-x:auto;flex-wrap:nowrap;white-space:nowrap;gap:8px}
.hm-mobile .integration-tabs button,.hm-mobile .pr-tabs button,.hm-mobile .av-config-tabs button{min-height:44px;flex-shrink:0;font-size:12px;padding:10px 12px}
.hm-mobile .pr-intro,.hm-mobile .pr-rfq-card,.hm-mobile .pr-customer-intro{padding:15px}
.hm-mobile .pr-inquiry-row{grid-template-columns:22px minmax(0,1fr);gap:10px;padding:12px 0}
.hm-mobile .pr-inquiry-row>img{display:none}
.hm-mobile .pr-inquiry-row .mg-field{grid-column:2;width:100%}
.hm-mobile .pr-inquiry-row input[type=number]{width:100%}
.hm-mobile .pr-quote-actions{flex-wrap:wrap;gap:10px}
.hm-mobile .pr-quote-actions button{min-height:44px}
/* Authentication, assistant and dialogs. */
.hm-mobile .auth-layout,.hm-mobile .av-layout{grid-template-columns:1fr;gap:16px;margin:0}
.hm-mobile .auth-intro{padding:20px 14px}
.hm-mobile .auth-intro h1{font-size:25px;line-height:1.5}
.hm-mobile .auth-benefits{gap:14px;font-size:13px}
.hm-mobile .auth-card{padding:22px 17px;max-width:none;width:100%}
.hm-mobile .auth-card-heading h2{font-size:22px}
.hm-mobile .av-login-tabs{gap:5px}
.hm-mobile .av-login-tabs button{font-size:13px;min-height:44px;padding:10px 8px;flex:1}
.hm-mobile .av-code-field{display:flex;gap:8px}
.hm-mobile .av-code-field input{flex:1;min-width:0}
.hm-mobile .av-code-field button{font-size:12px;min-height:44px;padding:9px 11px;white-space:nowrap;flex-shrink:0}
.hm-mobile .av-service-cards{grid-template-columns:1fr}
.hm-mobile .av-config-actions{flex-wrap:wrap;gap:10px}
.hm-mobile .page-title{align-items:flex-start;flex-wrap:wrap;gap:12px;margin-bottom:18px}
.hm-mobile .page-title h1{font-size:24px}
.hm-mobile .page-title p{font-size:13px}
.hm-mobile .assistant-grid{display:block}
.hm-mobile .panel{padding:16px}
.hm-mobile .assistant-aside{display:grid;grid-template-columns:1fr;margin-top:16px}
.hm-mobile .assistant-tabs{gap:6px}
.hm-mobile .assistant-tabs button{font-size:12px;padding:10px 5px;min-height:44px}
.hm-mobile .field textarea{font-size:16px;line-height:1.7;padding:12px}
.hm-mobile .actions,.hm-mobile .result-footer{flex-wrap:wrap;gap:12px}
.hm-mobile .actions>.note{font-size:12px;max-width:none}
.hm-mobile .assistant-result .table-wrap{overflow:visible}
.hm-mobile .quantity button{width:38px;height:42px}
.hm-mobile dialog{width:calc(100% - 16px)!important;max-width:524px!important;max-height:calc(100dvh - 24px);padding:18px;border-radius:16px;overflow-y:auto;overscroll-behavior:contain}
.hm-mobile dialog .dialog-head{gap:12px;margin-bottom:18px}
.hm-mobile dialog .dialog-head h2{font-size:19px;line-height:1.5}
.hm-mobile dialog .close{width:44px;height:44px;padding:5px;flex-shrink:0}
.hm-mobile dialog .detail-layout{grid-template-columns:90px minmax(0,1fr);gap:14px}
.hm-mobile dialog .detail-layout img{width:90px;height:130px}
.hm-mobile dialog .detail-layout p{font-size:13px}
.hm-mobile dialog.m-navigation-sheet{position:fixed;top:auto;bottom:0;margin:0 auto;width:100%!important;max-width:540px!important;max-height:88dvh;border-radius:18px 18px 0 0;padding:16px 16px calc(20px + var(--m-safe))}
.hm-mobile .m-navigation-sheet .dialog-head{position:sticky;top:-16px;z-index:1;background:white;margin:0 -2px 14px;padding:6px 2px}
.hm-mobile .m-menu>p,.hm-mobile .m-search-help{font-size:13px;color:#7c8891;line-height:1.8}
body.hm-mobile:has(dialog[open]){overflow:hidden}
.hm-mobile.m-editing .m-tabbar,.hm-mobile.m-editing .cat-detail-actions,.hm-mobile.m-editing .commerce-cart-bottom,.hm-mobile.m-editing .commerce-submit-actions{visibility:hidden;pointer-events:none}
.hm-mobile #toast{bottom:calc(var(--m-nav) + var(--m-safe) + 16px);z-index:90;font-size:13px;max-width:calc(100% - 32px);width:max-content;padding:12px 16px}
.hm-mobile .footer .service-row{display:none}
.hm-mobile .footer-bottom{display:block;padding:16px 0;font-size:11px;line-height:1.8;color:#8e979d;border:0}
.hm-mobile .footer-bottom span{display:block;margin:3px 0}
@media(max-width:350px){.hm-mobile .m-header-brand img{width:110px}.hm-mobile .cat-detail-actions{grid-template-columns:1fr 1fr 54px;gap:5px}.hm-mobile .m-category-browser{grid-template-columns:78px minmax(0,1fr)}.hm-mobile .m-category-content{padding:15px 10px}.hm-mobile .m-category-chips,.hm-mobile .m-category-fourth{grid-template-columns:1fr}.hm-mobile .m-stack-table tbody td{grid-template-columns:65px minmax(0,1fr);gap:7px}.hm-mobile .product-card{padding:10px}.hm-mobile .product-image{height:105px}}
@media print{body.hm-mobile{max-width:none;padding:0}.hm-mobile .m-header,.hm-mobile .m-tabbar,.hm-mobile .cat-detail-actions,.hm-mobile .commerce-cart-bottom,.hm-mobile .commerce-submit-actions{display:none!important}.hm-mobile #app{max-width:none;padding:0}}
/* Layout details for shared DOM structures. */
.hm-mobile .cat-detail-options>div{display:flex;align-items:flex-start;gap:10px;flex-wrap:wrap;margin:13px 0}
.hm-mobile .cat-detail-options dt{width:68px;flex-shrink:0;font-size:12px}
.hm-mobile .cat-detail-options dd{flex:1;font-size:13px;line-height:1.8}
.hm-mobile .cc-order-card>header{display:flex;flex-wrap:wrap;gap:8px;padding:12px;align-items:flex-start}
.hm-mobile .cc-order-card>header .cc-order-select{padding:0;min-height:30px}
.hm-mobile .cc-order-card>header .cc-order-meta{flex:1;min-width:0;font-size:12px}
.hm-mobile .cc-order-card>header .cc-order-tools{flex-basis:100%;justify-content:flex-end}
.hm-mobile .cc-order-card>header .cc-order-tools button{min-height:40px}
.hm-mobile .cc-order-cell.cc-order-actions:before{display:none}
.hm-mobile .cc-order-product p{font-size:11px;line-height:1.7;overflow-wrap:anywhere}
.hm-mobile .od-progress>li,.hm-mobile .lg-progress>li{font-size:11px;min-width:0;flex:1}
.hm-mobile .od-progress small{white-space:normal}
.hm-mobile .lg-timeline li:before{left:73px}
.hm-mobile .pr-inquiry-row>input[type=checkbox]{grid-column:1;grid-row:1}
.hm-mobile .pr-inquiry-row>span:first-of-type{grid-column:2;grid-row:1}
.hm-mobile .pr-inquiry-row>input[type=number]{grid-column:2;grid-row:2;width:130px}
.hm-mobile .pr-inquiry-row>span:last-child{grid-column:2;grid-row:3;font-size:12px;color:#849098}
.hm-mobile .pr-inquiry-products .pr-inquiry-row{display:grid;grid-template-columns:22px minmax(0,1fr);gap:10px;padding:12px}
.hm-mobile .lg-timeline li:not(:last-child):before{left:72px}
.hm-mobile .cc-order-cell[data-label=下单日期]{font-size:13px;padding:12px;border-top:1px solid #edf0f2;overflow:visible}
.hm-mobile .cc-order-cell[data-label]:before{font-size:11px}
.hm-mobile .mg-stats>button{padding:16px 12px}
.hm-mobile .pr-tier-strip>span{min-width:90px;flex:1 0 auto}
.hm-mobile .cc-filter-fields>label{display:block}
.hm-mobile .cc-filter-fields>label>span{width:auto;text-align:left;display:block;font-size:12px;margin-bottom:7px}
/* Shared phone and tablet refinements: preserve local scrolling, avoid page overflow. */
.hm-mobile #app>*,.hm-mobile main,.hm-mobile section,.hm-mobile form,.hm-mobile fieldset{min-width:0;box-sizing:border-box}
.hm-mobile #app img,.hm-mobile #detail img{max-width:100%}.hm-mobile #app video{max-width:100%;height:auto}
.hm-mobile #app input,.hm-mobile #app select,.hm-mobile #app textarea,.hm-mobile #detail input,.hm-mobile #detail select,.hm-mobile #detail textarea{box-sizing:border-box;min-width:0;scroll-margin-block:100px}
.hm-mobile input[type=date]{width:100%;min-width:0}.hm-mobile button:focus-visible,.hm-mobile a:focus-visible{outline:2px solid #f18a43;outline-offset:2px}
.hm-mobile .m-header h1{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.hm-mobile .m-header>div{flex-shrink:0}
.hm-mobile .m-search{box-sizing:border-box}.hm-mobile .m-search input{font-size:14px;flex-basis:0}.hm-mobile .m-search .m-vision{width:36px;padding:4px;background:transparent;color:#7e8b98}.hm-mobile .m-search>button:last-child{padding:0 12px;white-space:nowrap}
.hm-mobile .hero-copy{padding:22px 18px 36px}.hm-mobile .hero h1{font-size:26px;line-height:1.45}.hm-mobile .m-category-shortcuts button{min-height:72px;padding:8px 3px}
.hm-mobile .cat-heading{gap:12px;flex-wrap:wrap;margin:18px 0}.hm-mobile .cat-heading h1{font-size:22px;margin:0 0 8px}.hm-mobile .cat-demo-mark{font-size:11px}
.hm-mobile .cat-sortbar{display:flex;flex-wrap:wrap;padding:10px 8px;gap:8px;border-radius:8px;background:#fff}.hm-mobile .cat-sort-options{flex:0 0 100%;display:flex;overflow:auto;gap:0;border-bottom:1px solid #edf0f3;padding-bottom:6px}.hm-mobile .cat-sort-options button{flex:1 0 auto;padding:8px 10px;min-height:44px;border:0;white-space:nowrap}.hm-mobile .cat-stock-filter{display:flex;align-items:center;gap:6px;font-size:12px;min-height:36px;margin-right:auto}.hm-mobile .cat-result-count{margin:0;font-size:11px;white-space:nowrap}.hm-mobile .cat-layout-options{margin-left:0;display:flex;flex-shrink:0}.hm-mobile .cat-layout-options button{width:36px;min-height:36px}
.hm-mobile .cat-product-title{font-size:14px;line-height:1.6;overflow-wrap:anywhere}.hm-mobile .cat-card-labels{flex-wrap:wrap;gap:4px}.hm-mobile .cat-card-image{height:auto;aspect-ratio:1}.hm-mobile .cat-card-image img{width:100%;height:100%;object-fit:contain}.hm-mobile .cat-card-actions .cat-quantity{max-width:100%}.hm-mobile .cat-detail-info h1{font-size:20px;line-height:1.55;overflow-wrap:anywhere}.hm-mobile .cat-detail-body img{height:auto}.hm-mobile .cat-detail-tabs{scrollbar-width:thin}.hm-mobile .cat-detail-tabs button{white-space:nowrap}
.hm-mobile .auth-layout{box-shadow:none;border:1px solid #e5e9ed;border-radius:12px;overflow:hidden}.hm-mobile .auth-intro{padding:20px 18px}.hm-mobile .auth-intro h1{font-size:22px;line-height:1.5}.hm-mobile .auth-card{padding:22px 18px}.hm-mobile .auth-card-heading h2{font-size:22px}.hm-mobile .auth-card .mg-field{margin-bottom:18px}.hm-mobile .auth-card .av-tabs{display:flex;gap:4px}.hm-mobile .auth-card button{min-height:44px}.hm-mobile .auth-submit{width:100%}
.hm-mobile #detail{box-sizing:border-box;width:calc(100% - 20px);max-width:520px;max-height:calc(100dvh - 24px);padding:18px;border-radius:12px}.hm-mobile #detail .dialog-head{gap:12px}.hm-mobile #detail .dialog-head h2{font-size:18px;line-height:1.5;min-width:0}.hm-mobile #detail .close{flex-shrink:0;min-width:40px;min-height:40px}.hm-mobile #detail .mg-form-grid,.hm-mobile #detail .fc-form-grid{grid-template-columns:minmax(0,1fr);gap:14px}.hm-mobile #detail .mg-form-actions,.hm-mobile #detail .fc-dialog-actions{gap:10px;flex-wrap:wrap}.hm-mobile #detail .mg-form-actions>button,.hm-mobile #detail .fc-dialog-actions>button{min-height:44px;flex:1}
.hm-mobile .commerce-cart-row .commerce-item{min-width:0}.hm-mobile .commerce-item h3,.hm-mobile .commerce-item p{overflow-wrap:anywhere}.hm-mobile .commerce-cart-actions{flex-wrap:wrap}.hm-mobile .commerce-cart-total{min-width:0}.hm-mobile .commerce-cart-total>div{min-width:0}.hm-mobile .commerce-cart-total strong{font-size:22px}.hm-mobile .commerce-submit-actions{padding-bottom:10px}.hm-mobile .checkout-fields,.hm-mobile .commerce-checkout-fields{grid-template-columns:minmax(0,1fr)}
.hm-mobile .cc-title{align-items:flex-start}.hm-mobile .cc-title h1{font-size:21px;line-height:1.5}.hm-mobile .cc-title-actions{display:flex;gap:8px;flex-wrap:wrap}.hm-mobile .cc-filter-fields>label input,.hm-mobile .cc-filter-fields>label select{width:100%}.hm-mobile .cc-order-product{min-width:0}.hm-mobile .cc-pagination{justify-content:center}.hm-mobile .cc-pagination>button{min-height:44px}.hm-mobile .m-account-links button{min-height:52px}.hm-mobile .m-account-profile h1{font-size:22px}
.hm-mobile .assistant-tabs{display:flex;gap:6px;overflow:auto}.hm-mobile .assistant-tabs button{flex:1;min-height:44px;white-space:nowrap}.hm-mobile .assistant-input textarea{width:100%;box-sizing:border-box}.hm-mobile .mg-toolbar{gap:8px}.hm-mobile .mg-toolbar select{flex:1;min-width:0}.hm-mobile .mg-panel-title{flex-wrap:wrap;gap:10px}.hm-mobile .management-table .m-empty-cell{width:100%}
.hm-mobile[data-page=factory]{max-width:100%;padding-bottom:calc(68px + var(--m-safe))}.hm-mobile[data-page=factory] #app{max-width:none;padding:0}.hm-mobile .fc-workspace-heading p{font-size:12px;line-height:1.8}.hm-mobile .fc-workspace-nav button{min-height:44px;font-size:12px}.hm-mobile .fc-register-search input{font-size:14px}.hm-mobile .fc-register-toolbar select{min-height:44px;font-size:13px}.hm-mobile .fc-register-name b{font-size:14px}.hm-mobile .fc-register-ops button{min-height:40px;font-size:12px}.hm-mobile .fc-register-pager{font-size:12px}.hm-mobile .fc-register-pager button{min-height:40px}.hm-mobile .fc-mine-toolbar{gap:12px}.hm-mobile .fc-mine-filters{flex-wrap:wrap}.hm-mobile .fc-fdv-dl dd{overflow-wrap:anywhere}
@media(max-width:360px){.hm-mobile #app{padding-left:10px;padding-right:10px}.hm-mobile .m-header-brand img{width:112px}.hm-mobile .m-search>button:last-child{padding:0 9px}.hm-mobile .m-search .m-vision{width:30px}.hm-mobile .cat-product-grid{gap:8px}.hm-mobile .cat-card{padding:8px}.hm-mobile .cat-sort-options button{font-size:11px;padding:8px}.hm-mobile .m-quick-actions{gap:4px}.hm-mobile .cat-detail-actions{grid-template-columns:1fr 1fr 48px}.hm-mobile .cat-detail-actions>button{font-size:12px}}
@media(min-width:600px) and (max-width:900px){body.hm-mobile,.hm-mobile #app{max-width:768px}.hm-mobile .m-tabbar,.hm-mobile .cat-detail-actions,.hm-mobile .commerce-cart-bottom,.hm-mobile .commerce-submit-actions{max-width:768px}.hm-mobile .m-category-shortcuts{grid-template-columns:repeat(6,minmax(0,1fr))}.hm-mobile .cat-product-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.hm-mobile .m-category-browser{grid-template-columns:110px minmax(0,1fr)}.hm-mobile .m-category-chips{grid-template-columns:repeat(2,minmax(0,1fr))}.hm-mobile .hero{min-height:300px}.hm-mobile .hero-copy{max-width:420px}.hm-mobile .m-account-benefits{gap:20px}}
.ss-staff-surface.hm-mobile>#mobile-header:not([hidden]),.ss-staff-surface.hm-mobile>#mobile-navigation:not([hidden]){display:flex!important}.ss-staff-surface.hm-mobile>.ss-staff-header{display:none}.ss-staff-surface.hm-mobile #app{padding:14px 12px 24px}.ss-staff-surface.hm-mobile .ss-login{grid-template-columns:1fr}.ss-staff-surface.hm-mobile .ss-login-intro{padding:24px 20px}.ss-staff-surface.hm-mobile .ss-login-card{padding:24px 20px}
.ss-staff-surface.hm-mobile{padding-bottom:calc(80px + env(safe-area-inset-bottom,0px))!important}
@media(max-width:360px){.hm-mobile .m-category-browser{margin-left:-10px;margin-right:-10px}}

/* ===== 移动端适配修正（V101.1）：按根因统一处理，勿逐页打补丁 ===== */

/* 1. 订单状态页签：6 个等分不横向滚动，避免最后一项被切半个字 */
.hm-mobile .cc-status-tabs{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:0;overflow:visible;padding:6px 10px 0}
.hm-mobile .cc-status-tabs>button{width:100%;min-width:0;min-height:44px;padding:10px 0;font-size:12.5px;text-align:center;white-space:nowrap;letter-spacing:-.2px}

/* 2. 角色权限对照：首列不换行 + 表格按内容展开，横向滑动且首列吸附 */
.hm-mobile .enterprise-matrix{max-width:100%;overflow-x:auto}
.hm-mobile .enterprise-matrix table{min-width:max-content}
.hm-mobile .enterprise-matrix thead th{white-space:nowrap}
.hm-mobile .enterprise-matrix th:first-child,
.hm-mobile .enterprise-matrix td:first-child{white-space:nowrap;position:sticky;left:0;z-index:1;background:#fff;box-shadow:1px 0 0 #eceff1}

/* 3. 首页横幅：文字压在商品图上读不清，加强左侧遮罩并收窄文案区 */
.hm-mobile .hero:after{background:linear-gradient(90deg,rgba(245,246,244,.99) 0%,rgba(245,246,244,.97) 50%,rgba(245,246,244,.86) 70%,rgba(245,246,244,.34) 100%)}
.hm-mobile .hero-copy{max-width:300px;padding:22px 18px 30px}
.hm-mobile .hero h1{font-size:24px;line-height:1.4}
.hm-mobile .hero-copy p{max-width:236px;font-size:12.5px}

/* 4. 商品详情底部操作栏：三按钮等分，禁止「加入对比」折行 */
.hm-mobile .cat-detail-actions{grid-template-columns:1.1fr 1fr 1fr;gap:6px;padding:8px 10px}
.hm-mobile .cat-detail-actions>button{min-width:0;padding:10px 4px;font-size:12.5px;white-space:nowrap;letter-spacing:-.2px}
.hm-mobile .cat-detail-actions>.cat-detail-compare{font-size:12.5px}

/* 5. 后台列表筛选：搜索独占一行，下拉两列一行，避免「全部」被压成一个字 */
.hm-mobile .mg-toolbar{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;align-items:stretch}
.hm-mobile .mg-toolbar>*{min-width:0}
.hm-mobile .mg-toolbar>.mg-search{grid-column:1/-1}
.hm-mobile .mg-toolbar select{width:100%;max-width:none;min-width:0;flex:none;height:40px}
.hm-mobile .mg-toolbar>.outline{height:40px;padding:0 10px;font-size:12px}
.hm-mobile .mg-toolbar>.mg-count{grid-column:1/-1;text-align:left;font-size:12px}

/* 6. 核验与登录配置页签：等分，不裁字 */
.hm-mobile .av-config-tabs{display:grid;grid-auto-flow:column;grid-auto-columns:minmax(0,1fr);gap:2px;overflow:visible}
.hm-mobile .av-config-tabs button{min-width:0;padding:10px 2px;font-size:12px;white-space:normal;text-align:center}

/* 7. 提示条避让底部固定栏（购物车结算条 / 详情操作栏 / 提交栏） */
body.hm-mobile:has(.commerce-cart-bottom) #toast,
body.hm-mobile:has(.commerce-submit-actions) #toast,
body.hm-mobile:has(.cat-detail-actions) #toast{bottom:calc(var(--m-nav) + var(--m-safe) + 84px)}

/* 8. 商品名：长型号名不再硬裁切，最多两行后省略 */
.hm-mobile .cat-product-title{white-space:normal}
.hm-mobile .cat-product-title b{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;white-space:normal;line-height:1.35;text-overflow:ellipsis}

/* 9. 极窄屏（≤360）：状态页签再收一次内边距与字距，保证 6 项都不溢出 */
@media (max-width:360px){
 .hm-mobile .cc-status-tabs{padding-left:4px;padding-right:4px}
 .hm-mobile .cc-status-tabs>button{font-size:12px;letter-spacing:-.3px}
 .hm-mobile .cat-detail-actions{gap:4px;padding:8px 6px}
 .hm-mobile .cat-detail-actions>button{font-size:12px;padding:10px 2px}
}

/* 10. 超窄屏（≤340）：状态页签改两行三列，避免缩字导致溢出 */
@media (max-width:340px){
 .hm-mobile .cc-status-tabs{grid-template-columns:repeat(3,minmax(0,1fr));padding:2px 4px 0}
 .hm-mobile .cc-status-tabs>button{font-size:12.5px;letter-spacing:0}
}
