/* Shared inner-page presentation; business actions continue to use existing handlers. */
body.commerce-app{--orange:#2c7bfa;--orange-light:#edf5ff;--ink:#27364b;--muted:#929eaf;--border:#edf1f6;--cream:#f5f7fa}
.commerce-app[data-gaosu-page] .site-footer{display:none!important}
.commerce-app.gaosu-inner-mode .site-header{display:none}
.commerce-app .inner-page-header{max-width:600px;width:100%;min-width:0;margin:auto;border-bottom:1px solid #edf1f6;background:#fff;color:#27364b;box-sizing:border-box;gap:8px}
.commerce-app .inner-page-header[hidden]{display:none}
.commerce-app .inner-page-header .inner-page-title{min-width:0;overflow:hidden;text-overflow:ellipsis;font-size:15px;font-weight:600;color:#33475f}
.commerce-app .inner-page-header button,.commerce-app .inner-page-header a{color:#6c819c;flex-shrink:0}
.commerce-app .site-header{background:#fff!important;color:#27364b!important;border-color:#edf1f6}
.commerce-app .brand,.commerce-app .brand-symbol{letter-spacing:0}
.commerce-app .brand-symbol{background:#2c7bfa!important;color:#fff!important}
.commerce-app .cart-count{background:#2c7bfa}
.commerce-app .site-header .search-bar{border:1px solid #e5edfa;background:#f7faff}
.commerce-app .site-header .cart-icon{color:#718ba9}
.commerce-app[data-gaosu-page=account] .site-header .search-bar{display:none}
.commerce-app[data-gaosu-page=account] .site-header .header-actions{justify-content:flex-end}
.commerce-app[data-gaosu-page] #app{padding-top:0}
.commerce-app .gs-wrap{padding-top:20px;padding-bottom:30px}
.gs-page .gs-wrap,.gs-page section,.gs-page form,.gs-page input,.gs-page textarea,.gs-page label{min-width:0}
.gs-page h1,.gs-page h2,.gs-page p,.gs-profile h1,.gs-cert-details dd,.gs-record{overflow-wrap:anywhere}
.gs-page input,.gs-page textarea,.gs-page select{font-size:16px}
.gs-form .button,.gs-auth-prompt .button,.gs-certification-success .button{min-height:46px;display:inline-flex;align-items:center;justify-content:center;max-width:100%;white-space:normal}
.gs-service-cover,.gs-membership-cover{background:linear-gradient(125deg,#e6f1ff,#f1f7ff);border:1px solid #e2edfc;border-radius:15px;padding:23px 20px;margin-bottom:16px}
.gs-service-detail-heading{margin:0;gap:14px;align-items:center}
.gs-service-detail-heading .gs-icon{width:68px;height:68px;padding:4px;border-radius:17px;flex:none}
.gs-service-detail-heading>div{min-width:0}
.gs-service-detail-heading span{font-size:11px;color:#92a8c4}
.gs-service-detail-heading h1{font-size:23px;line-height:1.4;margin:7px 0}
.gs-service-detail-heading p{font-size:12px;color:#829abd;line-height:1.7;margin:0}
.gs-service-steps{display:flex;align-items:center;justify-content:space-between;gap:6px;border-top:1px solid #dce8f7;margin-top:22px;padding-top:17px;font-size:11px;color:#7c94b5}
.gs-service-steps span{display:flex;align-items:center;gap:6px;min-width:0}
.gs-service-steps i{font-style:normal;width:18px;height:18px;display:grid;place-items:center;background:#fff;color:#7ea7e3;border-radius:50%;flex:none}
.gs-service-steps>b{color:#b4c7df;font-weight:400;font-size:16px}
.gs-intro-card,.gs-auth-prompt,.gs-membership-notes{padding:22px 20px;border-radius:14px;background:#fff;margin:16px 0}
.gs-intro-card h2,.gs-auth-prompt h2,.gs-membership-notes h2{font-size:16px;color:#3b506c;margin:0 0 14px;font-weight:600}
.gs-service-introduction{margin:0;font-size:14px;line-height:1.9;color:#8391a5}
.gs-intro-card .gs-image{max-width:100%;margin:0 0 16px}
.gs-page .gs-info{line-height:1.9;font-size:12px;padding:13px 15px;color:#829ac0;background:#edf5ff}
.gs-page .gs-form{padding:23px 20px;margin-top:16px;max-width:100%}
.gs-form h2{font-size:18px;line-height:1.5;margin:0 0 19px;color:#354c69}
.gs-form label{margin:18px 0;color:#526680}
.gs-form label>span{font-size:13px;margin-bottom:9px}
.gs-form input:not([type=checkbox]),.gs-form textarea{background:#f8fafd;border-color:#e9eef5;border-radius:8px;color:#35475f;font-size:16px}
.gs-form input::placeholder,.gs-form textarea::placeholder{color:#b1bdcd;font-size:13px}
.gs-form .gs-consent{display:grid!important;grid-template-columns:18px minmax(0,1fr);gap:6px;align-items:start;font-size:11px!important;line-height:1.8!important;color:#96a4b8}
.gs-form .gs-consent input{width:14px;height:14px;margin:3px 0 0}
.gs-form .gs-consent a{grid-column:2;justify-self:start;min-width:0}
.gs-form [type=submit]{margin-top:8px;width:100%;border-radius:9px;font-size:14px}
.gs-service-cover+.gs-intro-card+.gs-info{margin:16px 0}
.gs-membership-cover{padding:24px 20px}
.gs-membership-cover>div{display:flex;align-items:center;justify-content:space-between;margin-bottom:14px}
.gs-membership-cover .gs-icon{width:60px;height:60px}
.gs-membership-cover>div>span{padding:4px 11px;border-radius:20px;background:#ffffffb3;color:#779ac8;font-size:11px}
.gs-membership-cover h1{font-size:24px;line-height:1.5;margin:0 0 12px;letter-spacing:-.3px;color:#3b567b}
.gs-membership-cover p{font-size:12px;line-height:1.8;color:#8ba1bd;margin:0}
.gs-auth-prompt p,.gs-membership-notes p{font-size:12px;line-height:1.9;color:#98a5b6;margin:8px 0}
.gs-auth-prompt .button{width:100%;margin-top:14px}
.gs-membership-notes>a{display:inline-block;font-size:12px;color:#7ba1d6;margin-top:10px}
.gs-cert-details{margin:15px 0 23px}
.gs-cert-details>div{display:grid;grid-template-columns:72px minmax(0,1fr);gap:10px;margin:14px 0;font-size:13px;line-height:1.8}
.gs-cert-details dt{color:#a2adbd}
.gs-cert-details dd{margin:0;min-width:0;color:#667d9d;word-break:break-word}
.gs-certification-success h2{margin:16px 0 12px}
.gs-certification-success .button{width:100%;font-size:14px}
.gs-certification-success>p{margin:18px 0 0;font-size:11px;text-align:center}
.gs-page .gs-certification-form .gs-muted{font-size:12px;margin:0;line-height:1.8}
.gs-profile{padding:24px 0 21px;gap:12px;align-items:center;margin-bottom:8px}
.gs-profile>div:nth-child(2){flex:1;min-width:0}
.gs-profile h1{font-size:20px;line-height:1.45;margin-bottom:7px}
.gs-profile p{font-size:12px;line-height:1.8}
.gs-profile-action{flex:none;margin-left:0;font-size:12px;padding:9px 12px}
.gs-profile-avatar{width:62px;height:62px;border-width:3px}
.gs-account-section{padding:21px 15px;margin:16px 0}
.gs-account-section .gs-heading h2{font-size:17px}
.gs-account-shortcuts{gap:4px}
.gs-account-shortcuts a{min-width:0;min-height:74px;font-size:12px;line-height:1.5;text-align:center}
.gs-account-shortcuts .gs-icon{width:46px;height:46px}
.gs-account-list>a{padding:18px 0;gap:12px}
.gs-account-list>a>div{flex:1;min-width:0}
.gs-account-list small{font-size:11px;line-height:1.7;overflow-wrap:anywhere}
/* Legacy mall components share the service portal's palette and bounded sizing. */
.commerce-app .sf-category,.commerce-app .sf-category *,.commerce-app .goods-page,.commerce-app .goods-page *{box-sizing:border-box}
.commerce-app .sf-category{width:100%;min-width:0;background:#f5f7fa;height:calc(100dvh - 128px - env(safe-area-inset-bottom));min-height:280px;border-top:1px solid #edf1f7}
.commerce-app .sf-category-sidebar{width:82px;flex:0 0 82px;background:#f0f4fa;padding-top:10px}
.commerce-app .sf-category-sidebar button{padding:17px 8px;font-size:12px;color:#8796aa;min-width:0}
.commerce-app .sf-category-sidebar button.active{color:#2c7bfa;background:#fff;border-radius:0 9px 9px 0}
.commerce-app .sf-category-sidebar button.active:before{background:#2c7bfa}
.commerce-app .sf-category-main{min-width:0;width:0;flex:1;padding:0 12px 28px;background:#fff;overflow-x:hidden;scroll-padding-bottom:25px}
.commerce-app .sf-category-heading{gap:10px;padding:19px 0 15px}
.commerce-app .sf-category-heading h1{font-size:17px;color:#354b67;font-weight:600;min-width:0;overflow-wrap:anywhere;line-height:1.5}
.commerce-app .sf-category-heading>span{font-size:10px;color:#a2afc0;flex-shrink:0}
.commerce-app .sf-category-tiles{padding:9px 0 19px;gap:16px 7px;border-color:#edf2f8}
.commerce-app .sf-category-tiles button{color:#8b9bb1;font-size:10px;gap:7px;min-width:0;overflow-wrap:anywhere}
.commerce-app .sf-category-tiles button.active{color:#2c7bfa}
.commerce-app .sf-catalog-controls{gap:6px;flex-wrap:wrap;padding:12px 0;border-color:#edf2f8;min-width:0}
.commerce-app .sf-sort{gap:14px;min-width:0}
.commerce-app .sf-sort button{font-size:11px;min-height:28px;padding:0;white-space:nowrap;color:#929fb1}
.commerce-app .sf-sort button.active{color:#2c7bfa}
.commerce-app #brand-filter{font-size:10px;color:#91a0b4;border:0;max-width:90px;min-width:0;background:#f7faff;border-radius:5px;padding:6px}
.commerce-app .sf-catalog-products{min-width:0}
.commerce-app .sf-product-row{min-width:0;gap:12px;padding:19px 0;border-bottom:1px solid #eff3f8}
.commerce-app .sf-product-row .sf-product-picture{width:98px;flex:0 0 98px;aspect-ratio:1;border-radius:10px;overflow:hidden;background:#f6f8fb}
.commerce-app .sf-product-row .sf-product-copy{min-width:0;flex:1;padding:0}
.commerce-app .sf-product-row .sf-product-name{font-size:13px;line-height:1.65;color:#3d4f67;font-weight:500;overflow-wrap:anywhere}
.commerce-app .sf-product-row .sf-product-copy>p{font-size:10px;color:#a0adbf;margin:5px 0 7px}
.commerce-app .sf-product-tags{gap:5px;flex-wrap:wrap;min-width:0}
.commerce-app .sf-product-tags span{background:#edf5ff;border-color:#e5effd;color:#6f9edc;font-size:9px}
.commerce-app .sf-product-tags small{color:#a2afbf}
.commerce-app .sf-product-bottom{gap:6px;min-width:0;flex-wrap:wrap}
.commerce-app .sf-product-bottom .price{color:#ed786b;font-size:19px;white-space:nowrap}
.commerce-app .sf-product-bottom button{width:27px;height:27px;background:#edf5ff;color:#4e91ed;flex:none}
.commerce-app .sf-sold{font-size:9px;color:#b0bbca;margin-top:7px}
.commerce-app .sf-search-details{font-size:11px;color:#98a9bf}
.commerce-app .sf-search-details a{background:#edf5ff;color:#7a9cc9}
.commerce-app .sf-pagination{margin:20px 0 8px;min-width:0;gap:8px;flex-wrap:wrap}
.commerce-app .sf-pagination>span{font-size:11px;color:#a6b1c0}
.commerce-app .sf-pagination .button{font-size:11px;padding:7px 10px;min-width:0}
.commerce-app .goods-page{background:#f5f7fa;color:#35465f;min-width:0;max-width:100%;--goods-red:#2c7bfa}
.commerce-app .goods-topbar{background:#fff;border-color:#edf1f6;gap:8px}
.commerce-app .goods-topbar nav{min-width:0}
.commerce-app .goods-topbar button[aria-current=true],.commerce-app .goods-topbar nav button.active{color:#2c7bfa;border-color:#2c7bfa}
.commerce-app .goods-card{border-radius:13px;background:#fff;margin:12px 12px 0;max-width:calc(100% - 24px)}
.commerce-app .goods-overview h1{color:#314760;font-size:19px;overflow-wrap:anywhere;line-height:1.6}
.commerce-app .goods-subtitle{color:#9ba9bb}
.commerce-app .goods-price{color:#ed786b}
.commerce-app .goods-summary-row,.commerce-app .goods-section-heading{min-width:0;gap:10px}
.commerce-app .goods-summary-row>*{min-width:0;overflow-wrap:anywhere}
.commerce-app .goods-summary-row .label{flex:none}
.commerce-app .goods-section-heading h2{color:#47617f}
.commerce-app .goods-section-heading .goods-muted{font-size:10px;line-height:1.7;text-align:right}
.commerce-app .goods-review-filters{gap:7px;flex-wrap:wrap}
.commerce-app .goods-review-filters button{background:#f5f8fd;color:#94a4b9;border-color:#eaf0f8;font-size:11px;padding:7px 11px}
.commerce-app .goods-review-filters button[aria-pressed=true]{color:#2c7bfa;background:#edf5ff;border-color:#dceaff}
.commerce-app .goods-actions{width:100%;max-width:600px;box-sizing:border-box;padding-inline:10px;gap:8px;border-color:#edf1f6}
.commerce-app .goods-actions>*,.commerce-app .goods-actions .goods-primary-actions{min-width:0}
.commerce-app .goods-actions [data-goods=add],.commerce-app .goods-add{background:#edf5ff;color:#4386e6;border-color:#dceaff}
.commerce-app .goods-actions [data-goods=buy],.commerce-app .goods-buy{background:#2c7bfa;color:white;border-color:#2c7bfa}
.commerce-app .goods-sheet,.commerce-app .modal,.commerce-app .bottom-sheet{box-sizing:border-box;width:100%;max-width:600px;min-width:0}
.commerce-app .goods-sheet input,.commerce-app .modal input,.commerce-app .modal textarea,.commerce-app .modal select{font-size:16px;min-width:0;max-width:100%;box-sizing:border-box}
.commerce-app .goods-sheet-main,.commerce-app .modal-body,.commerce-app .goods-sku-options{min-width:0;overflow-wrap:anywhere}
.commerce-app .goods-sku-options{gap:8px;flex-wrap:wrap}
.commerce-app .goods-sku-options button{min-width:0;max-width:100%;overflow-wrap:anywhere;white-space:normal}
.commerce-app .goods-sheet-footer,.commerce-app .dialog-actions{gap:8px;min-width:0}
.commerce-app .modal-header h2{font-family:inherit;font-size:18px;min-width:0;overflow-wrap:anywhere}
.commerce-app .modal-header .close-modal{flex:none}
@media(max-width:380px){
 .gs-page .gs-wrap{padding-inline:12px}
 .gs-service-cover,.gs-membership-cover,.gs-intro-card,.gs-auth-prompt,.gs-membership-notes,.gs-page .gs-form{padding:19px 16px}
 .gs-service-detail-heading{gap:11px}
 .gs-service-detail-heading .gs-icon{width:55px;height:55px}
 .gs-service-detail-heading h1{font-size:21px}
 .gs-service-steps{font-size:10px;gap:4px}
 .gs-service-steps span{gap:4px}
 .gs-membership-cover h1{font-size:22px}
 .gs-profile{flex-wrap:wrap;gap:10px;padding-inline:2px}
 .gs-profile>div:nth-child(2){flex:1;min-width:120px}
 .gs-profile h1{font-size:17px}
 .gs-profile-action{margin-left:auto}
 .gs-profile-avatar{width:51px;height:51px}
 .gs-account-shortcuts{gap:0}
 .gs-account-shortcuts .gs-icon{width:40px;height:40px}
 .gs-account-shortcuts a{font-size:11px}
 .gs-member-banner{flex-wrap:wrap}
 .gs-member-banner>span{margin-left:auto}
 .commerce-app .sf-category-sidebar{width:72px;flex-basis:72px}
 .commerce-app .sf-category-main{padding-inline:10px}
 .commerce-app .sf-product-row{gap:9px;padding-block:16px}
 .commerce-app .sf-product-row .sf-product-picture{width:80px;flex-basis:80px}
 .commerce-app .sf-sort{gap:11px}
 .commerce-app .sf-catalog-controls{row-gap:2px}
 .commerce-app .sf-product-row .sf-product-name{font-size:12px}
 .commerce-app .goods-card{margin-inline:10px;max-width:calc(100% - 20px)}
}
.commerce-app .goods-purchase-bar{min-width:0;max-width:600px;box-sizing:border-box;border-color:#edf1f6;padding-inline:10px;gap:5px}
.commerce-app .goods-purchase-bar>*{min-width:0}
.commerce-app .goods-purchase-bar .goods-add{background:#edf5ff;color:#4386e6;border-radius:9px 0 0 9px}
.commerce-app .goods-purchase-bar .goods-buy{background:#2c7bfa;color:#fff;border-radius:0 9px 9px 0}
.commerce-app .goods-sku-options>button.active,.commerce-app .goods-sku-options>button[aria-pressed=true]{background:#edf5ff;border-color:#a9ccff;color:#2c7bfa}
.commerce-app .goods-sku-sheet .goods-sheet-confirm{background:#2c7bfa;color:#fff;border-radius:9px;min-height:46px}
.commerce-app .goods-sku-sheet .goods-sheet-summary{gap:12px;min-width:0}
.commerce-app .goods-sheet-summary>div{min-width:0;overflow-wrap:anywhere}
.commerce-app .goods-sheet-summary>img{flex:none}
.commerce-app .goods-quantity-row{gap:8px;min-width:0;flex-wrap:wrap}
.commerce-app .goods-quantity{flex-shrink:0;max-width:100%}
.commerce-app .goods-details-table{table-layout:fixed;width:100%;overflow-wrap:anywhere}
.commerce-app .goods-description img{max-width:100%;height:auto}
@media(max-width:380px){.commerce-app .goods-purchase-bar{grid-template-columns:38px 38px 38px minmax(0,1fr) minmax(0,1fr);padding-inline:8px}.commerce-app .goods-purchase-bar>.goods-add,.commerce-app .goods-purchase-bar>.goods-buy{font-size:11px}.commerce-app .goods-topbar nav{gap:17px}}
.commerce-app.account-active[data-gaosu-page=account]>.site-header{display:flex}
.commerce-app .site-header .brand{font-family:inherit;font-size:15px;max-width:44%;min-width:0;gap:8px;color:#2e435e}
.commerce-app .site-header .gs-inner-brand-name{white-space:nowrap;font-weight:650}
.commerce-app .site-header .brand small{display:block;font-size:8px;font-weight:400;line-height:1.2;letter-spacing:2px;color:#9eafc7;margin-top:4px}
.gs-inner-brand-logo{display:block;width:31px;height:31px;object-fit:contain;flex:none;border-radius:7px}
.commerce-app .auth-page{color:#354b67;min-width:0;max-width:100%}
.commerce-app .auth-content{min-width:0}
.commerce-app .auth-shop-mark{background:#2c7bfa}
.commerce-app .auth-content h1{color:#354b67}
.commerce-app .auth-tabs>button[aria-selected=true]:after{background:#2c7bfa}
.commerce-app .auth-input-row{min-width:0;border-color:#eaf0f8}
.commerce-app .auth-input-row input:not([type=hidden]){min-width:0;font-size:16px;color:#3d536f}
.commerce-app .auth-primary{background:#2c7bfa;border-radius:9px;box-shadow:none;font-size:14px!important}
.commerce-app .auth-page button:focus-visible,.commerce-app .auth-page a:focus-visible{outline-color:#2c7bfa}
