.mobile-account-primary,.mobile-account-more>summary{display:none}
@media(max-width:767px){
 body.mobile-account{background:#f5f7f9;padding-bottom:calc(80px + env(safe-area-inset-bottom))!important}
 body.mobile-account .account-compact-wrap{width:100%!important;padding:12px!important;margin:0!important}
 body.mobile-account .account-compact-topbar{padding:10px 12px!important;min-height:0!important;gap:8px!important}
 body.mobile-account .account-compact-topnav,body.mobile-account .mobile-account-shortcuts{display:none!important}
 body.mobile-account .account-page-layout:not(.hidden){display:block!important}
 body.mobile-account .account-page-sidebar{padding:12px!important;margin-bottom:12px!important;border-radius:10px!important;box-shadow:none!important;position:static!important}
 body.mobile-account .account-page-profile{padding:0!important;margin:0 0 10px!important;gap:10px!important}
 body.mobile-account .account-avatar{width:36px!important;height:36px!important;font-size:16px!important}
 body.mobile-account .account-page-profile b{font-size:15px!important;overflow-wrap:anywhere}
 body.mobile-account .account-page-profile span{font-size:12px!important;overflow-wrap:anywhere}
 body.mobile-account .mobile-account-primary.account-page-nav{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:6px!important}
 body.mobile-account .mobile-account-primary a{display:flex!important;align-items:center;justify-content:center;min-height:44px!important;font-size:13px!important;padding:8px 4px!important;text-decoration:none!important;white-space:normal!important;text-align:center}
 body.mobile-account .mobile-account-more>summary{display:list-item;min-height:44px;padding:12px 0;font-size:13px;font-weight:600;cursor:pointer}
 body.mobile-account .mobile-account-more .account-page-nav{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:6px!important}
 body.mobile-account .mobile-account-more .account-page-nav :is(a,button){min-height:44px!important;padding:8px!important;font-size:13px!important}
 body.mobile-account :is(.account-card,.profile-editor,.profile-block){padding:12px!important;border-radius:10px!important;box-shadow:none!important;margin-bottom:12px!important}
 body.mobile-account .account-page-hero{display:block!important;min-height:0!important}
 body.mobile-account .account-page-hero>div{width:100%!important;min-width:0!important}
 body.mobile-account .account-page-hero .account-head-actions{display:none!important}
 body.mobile-account .account-page-main{width:100%!important;min-width:0!important}
 body.mobile-account .account-page-hero :is(.eyebrow,#accountLevelBadge){display:none!important}
 body.mobile-account .account-page-hero h1{font-size:20px!important;margin:0!important}
 body.mobile-account .account-head-actions a[href="/checkout"]{display:none!important}
 body.mobile-account #accountStats{display:block!important;margin:0 0 12px!important}
 body.mobile-account #accountStats>.account-kpi-grid{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:8px!important;width:100%!important;margin:0!important}
 body.mobile-account #accountStats .account-kpi-grid>*{width:100%!important;min-width:0!important;padding:10px!important;margin:0!important}
 body.mobile-account .account-page-section-head{gap:8px!important;align-items:center!important;margin-bottom:10px!important}
 body.mobile-account .account-page-section-head h2{font-size:18px!important;margin:0!important}
 body.mobile-account .account-page-section-head>div>span{display:none!important}
 body.mobile-account .account-order-row{display:grid!important;grid-template-columns:minmax(0,1fr) auto!important;gap:8px!important;padding:12px!important;border-radius:10px!important;margin:0 0 8px!important;box-shadow:none!important}
 body.mobile-account .account-order-main{grid-column:1/-1!important;grid-row:1!important;min-width:0!important;padding:0!important}
 body.mobile-account .ecommerce-order-status{grid-column:1/-1!important;grid-row:2!important;max-width:none!important;display:flex!important;flex-wrap:wrap;gap:6px!important}
 body.mobile-account .account-order-money{grid-column:1!important;grid-row:3!important;display:block!important;min-width:0!important;overflow-wrap:anywhere}
 body.mobile-account .account-order-money>span{display:block!important;font-size:12px!important}
 body.mobile-account .account-order-actions{grid-column:2!important;grid-row:3!important;align-self:end!important}
 body.mobile-account .ecommerce-order-note{grid-column:1/-1!important;grid-row:4!important;font-size:12px!important}
 body.mobile-account .ecommerce-order-note>span:last-child{display:none!important}
 body.mobile-account .account-order-main b{display:block!important;font-size:14px!important;overflow-wrap:anywhere;white-space:normal!important;text-overflow:clip!important}
 body.mobile-account .account-order-main small{font-size:12px!important;white-space:normal!important}
 body.mobile-account .account-order-cta{min-height:44px!important;font-size:13px!important;padding:10px!important}
 body.mobile-account .account-page-filter-tabs{display:flex!important;overflow:auto;flex-wrap:nowrap!important;gap:6px!important;padding-bottom:6px!important}
 body.mobile-account .account-page-filter-tabs button{flex-shrink:0;min-height:44px!important}
 body.mobile-account :is(.account-detail-box,.account-detail-summary,.account-detail-header){padding:12px!important;border-radius:10px!important;box-shadow:none!important;margin-bottom:12px!important;overflow-wrap:anywhere}
 body.mobile-account .account-detail-info-grid,body.mobile-account .account-payment-grid{display:grid!important;grid-template-columns:minmax(0,1fr)!important;gap:12px!important}
 body.mobile-account .order-page-toolbar{display:flex!important;gap:8px!important;margin-bottom:12px!important}
 body.mobile-account .order-page-toolbar :is(a,button){min-height:44px!important;font-size:13px!important;padding:10px!important}
 body.mobile-account .order-page-toolbar [data-pdf-status]{width:100%}
 body.mobile-account .order-page-toolbar [data-pdf-status]:empty{display:none}
 body.mobile-account .account-proof-card{display:grid!important;grid-template-columns:64px minmax(0,1fr)!important;gap:10px!important;padding:10px!important}
 body.mobile-account .account-proof-image,body.mobile-account .account-proof-image img{width:64px!important;height:80px!important;object-fit:contain!important}
 body.mobile-account .account-proof-info{min-width:0!important;font-size:13px!important;overflow-wrap:anywhere}
 body.mobile-account .account-upload-preview:has(span){display:none!important}
 body.mobile-account .account-upload-preview img{max-height:160px!important;object-fit:contain!important}
 body.mobile-account .account-proof-upload{padding:12px!important;gap:10px!important}
 body.mobile-account :is(input,select,textarea){font-size:16px!important;max-width:100%;min-width:0}
 body.mobile-account input[type=file]{width:100%;font-size:14px!important}
 body.mobile-account :is(.shipping-actions a,.shipping-actions button){min-height:44px!important}
 body.mobile-account .shipping-tracking{display:grid!important;grid-template-columns:minmax(0,1fr)!important}
 body.mobile-account .profile-heading h1{font-size:20px!important}
 body.mobile-account .profile-heading .eyebrow,body.mobile-account .profile-step{display:none!important}
 body.mobile-account .profile-save-bar{position:static!important;padding:12px 0 0!important;display:grid!important;gap:8px!important}
 body.mobile-account .address-card{padding:12px!important;margin:8px 0!important}
 body.mobile-account .address-card p{margin:6px 0!important;line-height:1.5!important}
 body.mobile-account .address-dialog{max-height:90dvh;margin:auto auto 0;width:100%;max-width:100%;border-radius:14px 14px 0 0;padding:16px 12px calc(16px + env(safe-area-inset-bottom))}
 body.mobile-account .address-dialog>header{position:sticky;top:-16px;background:#fff;z-index:1;padding:8px 0}
 body.mobile-account .address-dialog>header button{min-height:44px;min-width:44px}
 body.mobile-account .address-form{gap:10px;margin-top:10px}
 body.mobile-account .address-check{min-height:44px}
 body.mobile-account .address-check input{width:20px!important;height:20px!important;min-width:20px!important;min-height:20px!important;flex:0 0 20px}
 .customer-order-page body.mobile-account .account-page-sidebar{display:none!important}
 .customer-order-page body.mobile-account #accountDetailSection{padding:0!important;border:0!important;background:transparent!important}
 body.mobile-account :is(a,button,input,select,textarea,summary):focus-visible{outline:3px solid #1677ff;outline-offset:2px}
 /* Authentication and panel visibility take precedence over mobile layouts. */
 body.mobile-account #accountSection.hidden,
 body.mobile-account .hidden,
 body.mobile-account [hidden]{display:none!important}
}
