/* Match the existing homepage shell. This stylesheet is loaded only by Yanxuan's front header. */
body.xpt-unified-page>.xpt-page,
body.xpt-unified-page>.xpt-companies-page,
body.xpt-unified-page>.xpt-company-page,
body.xpt-unified-page>.xpt-detail,
body.xpt-unified-page>.xpt-my,
body.xpt-unified-page>.xpt-supplier,
body.xpt-unified-page>.xpt-supplier-guest,
body.xpt-unified-page>.xpt-mobile-page,
body.xpt-unified-page>.xpt-company-mobile,
body.xpt-unified-page>.xpt-mobile-supplier{
 width:100%!important;max-width:1680px!important;min-width:0;box-sizing:border-box;
 margin-left:auto!important;margin-right:auto!important;margin-top:0!important;
 padding-top:24px!important;padding-left:32px!important;padding-right:32px!important;
}
body.xpt-unified-page>:is(.xpt-page,.xpt-companies-page,.xpt-company-page,.xpt-detail,.xpt-my,.xpt-supplier,.xpt-supplier-guest,.xpt-mobile-page,.xpt-company-mobile,.xpt-mobile-supplier)>*{min-width:0;box-sizing:border-box}
body.xpt-unified-page .xpt-company-page .xpt-layout>*,body.xpt-unified-page .xpt-detail .xpt-detail-hero>*,body.xpt-unified-page .xpt-my .xpt-workbench>*{min-width:0}
/* Use the same native scrollbar gutter as the homepage, including on the workbench. */
html:has(>body.xpt-unified-page){scrollbar-width:auto}
html:has(>body.xpt-unified-page)::-webkit-scrollbar,body.xpt-unified-page::-webkit-scrollbar{width:initial}
@media(min-width:961px){
 body.xpt-unified-page>:is(.xpt-page,.xpt-companies-page,.xpt-company-page,.xpt-detail,.xpt-my,.xpt-supplier,.xpt-supplier-guest,.xpt-mobile-page,.xpt-company-mobile,.xpt-mobile-supplier){padding-right:92px!important}
 body.xpt-unified-page .xpt-company-page .xpt-layout{grid-template-columns:318px minmax(0,1fr)}
 body.xpt-unified-page .xpt-detail .xpt-detail-hero{grid-template-columns:minmax(0,1fr) 320px}
 body.xpt-unified-page .xpt-my .xpt-workbench{grid-template-columns:repeat(2,minmax(0,1fr))}
 /* The workbench's admin UI resets these two browser defaults; restore the homepage dimensions. */
 body.xpt-unified-page .xpt-business-bar nav a{box-sizing:content-box}
}
@media(max-width:600px){
 body.xpt-unified-page>:is(.xpt-page,.xpt-companies-page,.xpt-company-page,.xpt-detail,.xpt-my,.xpt-supplier,.xpt-supplier-guest,.xpt-mobile-page,.xpt-company-mobile,.xpt-mobile-supplier){padding-top:16px!important;padding-left:16px!important;padding-right:16px!important}
}
@media(max-width:360px){
 body.xpt-unified-page>:is(.xpt-page,.xpt-companies-page,.xpt-company-page,.xpt-detail,.xpt-my,.xpt-supplier,.xpt-supplier-guest,.xpt-mobile-page,.xpt-company-mobile,.xpt-mobile-supplier){padding-top:12px!important;padding-left:12px!important;padding-right:12px!important}
}
