/* 自动按商城购买窗口作用域生成，源样式为 commerce.css。 */
#store-checkout-host{color-scheme:light dark;--bg:#f5f7f8;--surface:#fff;--text:#172e32;--muted:#617579;--line:#dce7e7;--accent:#157568;--soft:#e9f3ef}#store-checkout-host *{box-sizing:border-box}#store-checkout-host{margin:0;background:var(--bg);color:var(--text);font:15px/1.65 system-ui,"Microsoft YaHei",sans-serif}#store-checkout-host header{padding:22px max(24px,calc((100vw - 1180px)/2));background:var(--surface);border-bottom:1px solid var(--line);display:flex;justify-content:space-between;align-items:center;gap:16px}#store-checkout-host .brand{font-size:22px;font-weight:750;text-decoration:none;color:var(--text)}#store-checkout-host .brand span{font-size:14px;font-weight:400;color:var(--muted);margin-left:12px}#store-checkout-host nav,#store-checkout-host .actions{display:flex;gap:12px;align-items:center;flex-wrap:wrap}#store-checkout-host a{color:var(--accent);overflow-wrap:anywhere}#store-checkout-host main{max-width:1180px;margin:auto;padding:32px 24px 70px}#store-checkout-host .intro{padding:20px 0 30px}#store-checkout-host .eyebrow{font-size:11px;letter-spacing:3px;color:var(--accent);font-weight:700}#store-checkout-host h1{font-size:clamp(28px,4vw,42px);line-height:1.3;letter-spacing:-1px;margin:12px 0}#store-checkout-host h2{font-size:20px;margin:0 0 12px}#store-checkout-host h3{font-size:17px;margin:0 0 12px}#store-checkout-host p{margin:8px 0 16px}#store-checkout-host .intro>p:last-child,#store-checkout-host .muted,#store-checkout-host .hint{color:var(--muted)}#store-checkout-host .hint{font-size:13px}#store-checkout-host .grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}#store-checkout-host .stack{display:grid;gap:16px}#store-checkout-host .panel{background:var(--surface);border:1px solid var(--line);border-radius:16px;padding:24px;min-width:0;overflow-wrap:anywhere}#store-checkout-host .summary{display:flex;justify-content:space-between;align-items:center;margin-bottom:22px;gap:16px}#store-checkout-host .summary p{margin:0}#store-checkout-host .tabs{margin:22px 0}#store-checkout-host .tabs button{background:var(--surface);color:var(--text);border:1px solid var(--line)}#store-checkout-host .tabs button[aria-current=true]{background:var(--accent);color:white}#store-checkout-host .price{font-size:26px;font-weight:700;color:var(--accent)}#store-checkout-host label{display:block;font-size:14px;margin-bottom:16px}#store-checkout-host input,#store-checkout-host select,#store-checkout-host textarea{display:block;width:100%;background:var(--surface);color:var(--text);padding:11px 12px;border:1px solid var(--line);border-radius:8px;font:inherit;margin-top:6px;min-width:0}#store-checkout-host textarea{resize:vertical}#store-checkout-host button,#store-checkout-host .button{border:0;background:var(--accent);color:#fff;border-radius:8px;padding:10px 18px;cursor:pointer;font:inherit;display:inline-block;text-decoration:none}#store-checkout-host button:hover,#store-checkout-host .button:hover{filter:brightness(.94)}#store-checkout-host button:disabled{opacity:.55;cursor:wait}#store-checkout-host .secondary{background:var(--soft);color:var(--accent)}#store-checkout-host .tag{display:inline-block;padding:3px 10px;border-radius:20px;background:var(--soft);font-size:12px;color:var(--accent);margin-bottom:12px}#store-checkout-host .details{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 18px}#store-checkout-host .details label{min-width:0}#store-checkout-host .wide{grid-column:1/-1}#store-checkout-host dialog{background:var(--surface);color:var(--text);border:1px solid var(--line);border-radius:18px;width:min(660px,calc(100vw - 32px));max-height:90vh;padding:28px}#store-checkout-host dialog::backdrop{background:#102a3266;backdrop-filter:blur(4px)}#store-checkout-host #notice{background:var(--soft);border:1px solid var(--line);padding:14px 18px;border-radius:10px}#store-checkout-host #notice[data-error=true]{background:#fff0ed;color:#a82e20}#store-checkout-host footer{text-align:center;color:var(--muted);font-size:13px;padding:24px}#store-checkout-host .empty{padding:40px;text-align:center;color:var(--muted)}#store-checkout-host .table-scroll{overflow-x:auto}#store-checkout-host table{width:100%;border-collapse:collapse;font-size:13px}#store-checkout-host th,#store-checkout-host td{padding:12px;border-bottom:1px solid var(--line);text-align:left}#store-checkout-host code{overflow-wrap:anywhere}#store-checkout-host details{margin:16px 0}#store-checkout-host summary{cursor:pointer;color:var(--accent)}#store-checkout-host [hidden]{display:none!important}#store-checkout-host :focus-visible{outline:3px solid #4bb4a7;outline-offset:3px}@media(max-width:700px){#store-checkout-host .grid,#store-checkout-host .details{grid-template-columns:1fr}#store-checkout-host header{padding:16px;align-items:flex-start;flex-direction:column}#store-checkout-host main{padding:20px 16px}#store-checkout-host .panel{padding:20px}#store-checkout-host .summary{align-items:flex-start;flex-direction:column}#store-checkout-host button{min-height:42px}#store-checkout-host .wide{grid-column:auto}}@media(prefers-color-scheme:dark){#store-checkout-host{--bg:#111c20;--surface:#19282d;--text:#e3efed;--muted:#a2b8b9;--line:#2c4449;--accent:#69cdb9;--soft:#213d39}#store-checkout-host button,#store-checkout-host .button{color:#092922}#store-checkout-host .tabs button[aria-current=true]{color:#092922}#store-checkout-host #notice[data-error=true]{background:#482820;color:#ffc5b9}}

/* 用户中心认证页：与AI管理后台保持相同的品牌区和单表单布局。 */
#store-checkout-host .portal-page.auth-mode{--auth-accent:#5966e8;--auth-surface:#f9fafc;--auth-text:#20263c;--auth-muted:#7b8498;--auth-line:#e1e5ef;background:var(--auth-surface);color:var(--auth-text)}
#store-checkout-host .portal-page.auth-mode>header,#store-checkout-host .portal-page.auth-mode>footer,#store-checkout-host .portal-page.auth-mode main>.intro{display:none}
#store-checkout-host .portal-page.auth-mode main{max-width:none;padding:0;margin:0}
#store-checkout-host .portal-page.auth-mode #notice{position:fixed;right:24px;top:24px;z-index:20;width:min(440px,calc(100vw - 48px));box-shadow:0 8px 30px #10172d15}
#store-checkout-host .portal-auth{display:grid;grid-template-columns:1fr 1fr;min-height:100vh;min-height:100svh;font-family:Inter,"PingFang SC","Microsoft YaHei",sans-serif}
#store-checkout-host .auth-brand-panel{position:relative;isolation:isolate;overflow:hidden;display:flex;flex-direction:column;justify-content:space-between;padding:42px clamp(32px,4.5vw,90px);background:#10172d;color:#fff}
#store-checkout-host .auth-brand-panel::before{content:"";position:absolute;inset:0;z-index:-1;background:radial-gradient(ellipse at 24% 50%,#5155c63d,transparent 66%),radial-gradient(circle at 75% 20%,#b6c3ff99 1px,transparent 2px),radial-gradient(circle at 25% 70%,#b6c3ff66 1px,transparent 2px);background-size:auto,173px 199px,239px 157px}
#store-checkout-host .auth-brand-panel::after{content:"";position:absolute;inset:40% 0 0;z-index:-1;background-image:linear-gradient(#8492ca13 1px,transparent 1px),linear-gradient(90deg,#8492ca13 1px,transparent 1px);background-size:64px 64px;mask-image:linear-gradient(transparent,#000)}
#store-checkout-host .auth-brand-header{display:flex;gap:14px;align-items:center;flex-wrap:wrap}#store-checkout-host .auth-mark{display:grid;place-items:center;position:relative;width:42px;height:42px;border-radius:13px;background:#ffffff0d;border:1px solid #ffffff20;font-size:29px;font-weight:750}#store-checkout-host .auth-mark>span{position:absolute;right:5px;bottom:1px;color:#8c9aff}#store-checkout-host .auth-brand-header>strong{font-size:24px;letter-spacing:2px}#store-checkout-host .auth-brand-badge{font-size:11px;color:#b2bad9;border:1px solid #ffffff20;border-radius:5px;padding:3px 9px;letter-spacing:1px}
#store-checkout-host .auth-brand-content{padding:50px 0 22px}#store-checkout-host .auth-eyebrow{font-size:10px;letter-spacing:3px;color:#a3afd8;margin:0 0 23px}#store-checkout-host .auth-eyebrow::before{content:"";display:inline-block;width:6px;height:6px;background:#8191fa;border-radius:50%;margin-right:10px;box-shadow:0 0 12px #8191fa}
#store-checkout-host .auth-brand-content h1{font-size:clamp(32px,3.2vw,54px);line-height:1.45;letter-spacing:0;font-weight:650;margin:0 0 18px}#store-checkout-host .auth-brand-content h1>span{color:#a5adff}#store-checkout-host .auth-brand-description{font-size:14px;color:#9ea9ca;line-height:1.9;max-width:360px}
#store-checkout-host .auth-orbital{position:relative;width:min(390px,100%);height:250px;margin:22px auto 0;display:grid;place-items:center}#store-checkout-host .auth-orbit{position:absolute;inset:29% 0;border:1px solid #8792dc3d;border-radius:50%;transform:rotate(-23deg)}#store-checkout-host .auth-orbit.orbit-two{inset:19% 8%;transform:rotate(30deg);border-color:#8792dc29}#store-checkout-host .auth-orbit.orbit-three{inset:5% 24%;transform:rotate(-30deg);border-color:#8792dc29}#store-checkout-host .auth-orb-core{width:132px;height:132px;display:flex;flex-direction:column;align-items:center;justify-content:center;border:1px solid #8b9aff3d;border-radius:50%;background:radial-gradient(circle at 35% 30%,#606dc85c,#1a2446 72%);box-shadow:0 0 70px #6374db22,inset 0 0 20px #8c9aff14}#store-checkout-host .auth-orb-core strong{font-size:44px;line-height:1.2;letter-spacing:-2px;font-weight:500}#store-checkout-host .auth-orb-core small{color:#919ecb;font-size:8px;letter-spacing:3px;margin-top:10px}#store-checkout-host .auth-orbit-label{position:absolute;padding:7px 12px;border:1px solid #ffffff15;border-radius:7px;background:#1b2542;color:#b8c2e3;font-size:11px;box-shadow:0 8px 24px #0002}#store-checkout-host .orbit-label-one{top:38px;right:5px}#store-checkout-host .orbit-label-two{bottom:22px;left:0}#store-checkout-host .auth-brand-footer{display:flex;flex-wrap:wrap;justify-content:space-between;gap:12px;color:#7683aa;font-size:10px;letter-spacing:1px}
#store-checkout-host .auth-login-panel{display:flex;flex-direction:column;justify-content:space-between;min-width:0;padding:42px clamp(28px,4.5vw,90px);background:var(--auth-surface)}#store-checkout-host .auth-panel-caption{display:flex;justify-content:space-between;align-items:center;gap:18px;font-size:12px;color:var(--auth-muted)}#store-checkout-host .auth-panel-caption nav{gap:20px}#store-checkout-host .auth-panel-caption a{font-size:12px;color:var(--auth-muted);text-decoration:none}#store-checkout-host .auth-panel-caption a:hover{color:var(--auth-accent)}
#store-checkout-host .auth-login-content{width:100%;max-width:380px;margin:62px auto}#store-checkout-host .auth-form-eyebrow{font-size:10px;letter-spacing:3px;color:var(--auth-accent);margin:0 0 15px;font-weight:650}#store-checkout-host .auth-login-content h2{font-size:40px;line-height:1.3;letter-spacing:-1px;font-weight:650;margin:0 0 14px}#store-checkout-host .auth-login-content h2>span{color:var(--auth-accent);padding-left:8px}#store-checkout-host .auth-description{font-size:14px;color:var(--auth-muted);margin-bottom:38px;line-height:1.8}#store-checkout-host .auth-login-content label{font-size:13px;font-weight:500;margin-bottom:24px;color:var(--auth-text)}#store-checkout-host .auth-login-content input{height:50px;margin-top:9px;padding:12px 15px;border-radius:9px;border-color:var(--auth-line);background:var(--surface);color:var(--auth-text);font-size:14px;transition:border-color .2s,box-shadow .2s}#store-checkout-host .auth-login-content input::placeholder{color:var(--auth-muted);font-weight:400}#store-checkout-host .auth-login-content input:focus{outline:none;border-color:var(--auth-accent);box-shadow:0 0 0 3px #5966e812}
#store-checkout-host .auth-password-field{position:relative;display:block}#store-checkout-host .auth-password-field input{padding-right:65px}#store-checkout-host .auth-password-toggle{position:absolute;right:6px;top:5px;height:40px;padding:0 10px;background:transparent;color:var(--auth-muted);font-size:12px;min-height:0}#store-checkout-host .auth-password-toggle:hover{background:#5966e80b;filter:none}#store-checkout-host .auth-login-content .auth-submit{display:flex;align-items:center;justify-content:center;gap:18px;width:100%;height:50px;margin-top:32px;border-radius:9px;background:var(--auth-accent);color:#fff;font-size:14px;box-shadow:0 6px 18px #5966e81c}#store-checkout-host .auth-submit>span{font-size:20px;line-height:1}#store-checkout-host .auth-switch-line{display:flex;align-items:center;justify-content:center;gap:8px;font-size:13px;color:var(--auth-muted);margin:24px 0 0}#store-checkout-host .auth-link{padding:2px 0;background:transparent;color:var(--auth-accent);font-size:13px;min-height:0}#store-checkout-host .auth-link:hover{text-decoration:underline;filter:none}#store-checkout-host .auth-form-note{text-align:center;font-size:11px;color:var(--auth-muted);border-top:1px solid var(--auth-line);padding-top:24px;margin:34px 0 0}#store-checkout-host .auth-copyright{text-align:center;font-size:11px;color:var(--auth-muted)}
@media(max-width:1000px){#store-checkout-host .portal-auth{grid-template-columns:44% 56%}#store-checkout-host .auth-brand-panel,#store-checkout-host .auth-login-panel{padding:32px}#store-checkout-host .auth-brand-header{gap:9px}#store-checkout-host .auth-brand-badge{font-size:10px}#store-checkout-host .auth-brand-content h1{font-size:34px}#store-checkout-host .auth-brand-footer>span:last-child{display:none}#store-checkout-host .auth-panel-caption nav{gap:12px}}
@media(max-width:700px){#store-checkout-host .portal-auth{grid-template-columns:1fr}#store-checkout-host .auth-brand-panel{padding:22px 24px}#store-checkout-host .auth-brand-content,#store-checkout-host .auth-brand-footer{display:none}#store-checkout-host .auth-brand-header>strong{font-size:21px}#store-checkout-host .auth-mark{width:35px;height:35px;font-size:25px}#store-checkout-host .auth-brand-badge{margin-left:auto}#store-checkout-host .auth-login-panel{padding:24px;min-height:calc(100svh - 80px)}#store-checkout-host .auth-panel-caption>span{display:none}#store-checkout-host .auth-panel-caption{justify-content:flex-end}#store-checkout-host .auth-login-content{margin:46px auto;max-width:380px}#store-checkout-host .auth-login-content h2{font-size:34px}#store-checkout-host .auth-description{margin-bottom:32px}#store-checkout-host .auth-login-content label{margin-bottom:22px}#store-checkout-host .portal-page.auth-mode #notice{right:16px;top:16px;width:calc(100vw - 32px)}#store-checkout-host .auth-copyright{padding-bottom:8px}}
@media(prefers-color-scheme:dark){#store-checkout-host .portal-page.auth-mode{--auth-surface:#151b2b;--auth-text:#e3e8f5;--auth-muted:#98a3be;--auth-line:#30394f;--auth-accent:#98a3ff}#store-checkout-host .auth-login-content input{background:#1d2538}#store-checkout-host .auth-login-content .auth-submit{background:#6370ed;color:#fff}#store-checkout-host .auth-brand-panel{background:#0d1324}#store-checkout-host .auth-link,#store-checkout-host .auth-panel-caption a:hover{color:#a6b0ff}}
@media(prefers-reduced-motion:reduce){#store-checkout-host .auth-login-content input{transition:none}}/* 与官网共享用户手动保存的主题，优先于系统外观。 */
html[data-theme=dark] #store-checkout-host{color-scheme:dark;--bg:#10172d;--surface:#17213b;--text:#edf1ff;--muted:#a0afca;--line:#91a5df30;--accent:#a9b2ff;--soft:#202c49}
html[data-theme=light] #store-checkout-host{color-scheme:light;--bg:#f9fafc;--surface:#fff;--text:#26395d;--muted:#6d7c96;--line:#8094c52d;--accent:#6063dc;--soft:#edf1fb}
html[data-theme=dark] #store-checkout-host .portal-page.auth-mode{--auth-surface:#10172d;--auth-text:#edf1ff;--auth-muted:#a0afca;--auth-line:#91a5df30}
html[data-theme=light] #store-checkout-host .portal-page.auth-mode{--auth-surface:#f9fafc;--auth-text:#20263c;--auth-muted:#7b8498;--auth-line:#e1e5ef}
#store-checkout-host .auth-panel-caption [data-site-theme]{padding:3px 8px;background:transparent;color:inherit;font-size:16px;min-height:0}
html[data-theme=dark] #store-checkout-host .portal-page.auth-mode .auth-form input{background:#17213b;color:#edf1ff;border-color:#91a5df45}
html[data-theme=dark] #store-checkout-host .portal-page.auth-mode .auth-form h2{color:#edf1ff}

#store-checkout-host .portal-page.auth-mode .auth-panel-caption{justify-content:flex-end}#store-checkout-host .portal-page.auth-mode .auth-login-panel{padding-left:24px;padding-right:24px}#store-checkout-host .auth-config-logo{width:42px;height:42px;object-fit:contain;border-radius:9px}#store-checkout-host .email-code-field{display:flex;align-items:center;gap:10px}#store-checkout-host .email-code-field input{flex:1;min-width:0}#store-checkout-host .email-code-field button{white-space:nowrap;margin-top:9px;font-size:12px;padding:12px 14px;height:50px;background:var(--auth-accent);color:#fff}#store-checkout-host .portal-page.register-mode .auth-login-content{margin:24px auto;max-width:400px}#store-checkout-host .portal-page.register-mode .auth-description{margin-bottom:22px}#store-checkout-host .portal-page.register-mode .auth-login-content label{margin-bottom:15px}#store-checkout-host .portal-page.register-mode .auth-login-content .auth-submit{margin-top:22px}#store-checkout-host .portal-page.register-mode .auth-form-note{margin-top:22px;padding-top:18px}#store-checkout-host .portal-page.register-mode .auth-switch-line{margin-top:18px}#store-checkout-host .portal-page.register-mode .auth-login-content h2{font-size:36px}#store-checkout-host .portal-page.auth-mode .auth-password-toggle{border:0}#store-checkout-host .portal-page .auth-panel-caption nav{margin-left:auto}@media(max-width:700px){#store-checkout-host .portal-page.register-mode .auth-login-content{margin:28px auto}#store-checkout-host .auth-config-logo{width:35px;height:35px}#store-checkout-host .email-code-field button{padding:10px;font-size:11px}}

#store-checkout-host .portal-page .auth-panel-caption .auth-close{position:fixed;right:24px;top:20px;display:flex;align-items:center;justify-content:center;width:40px;height:40px;border:1px solid var(--line,#dde2ed);border-radius:50%;font-size:28px;line-height:1;color:inherit;text-decoration:none;z-index:5}#store-checkout-host .portal-page .auth-close:hover{background:rgba(120,130,160,.12)}#store-checkout-host .portal-page .auth-close:focus-visible{outline:2px solid #6065ed;outline-offset:3px}

/* 官网与用户工作区统一导航及信息层级 */
#store-checkout-host .portal-page:not(.auth-mode){background:var(--bg)}#store-checkout-host .portal-page .portal-site-header{position:sticky;top:0;z-index:30;display:block;padding:0;background:var(--surface);border-bottom:1px solid var(--line)}#store-checkout-host .portal-nav-inner{width:min(1480px,calc(100% - 64px));height:84px;margin:auto;display:grid;grid-template-columns:240px 1fr auto;align-items:center;gap:24px}#store-checkout-host .portal-wordmark{display:flex;align-items:center;gap:12px;text-decoration:none;color:var(--text);font-size:23px;white-space:nowrap}#store-checkout-host .portal-brand-icon{display:grid;place-items:center;background:#6263e5;color:white;width:36px;height:39px;border-radius:10px;font-size:28px;letter-spacing:-3px;padding-right:3px}#store-checkout-host .portal-config-logo{width:38px;height:38px;object-fit:contain}#store-checkout-host .portal-page #site-links{justify-content:center;gap:26px;flex-wrap:nowrap}#store-checkout-host .portal-page #site-links a{color:var(--muted);text-decoration:none;font-size:13px;white-space:nowrap}#store-checkout-host .portal-page #site-links a:hover,#store-checkout-host .portal-page #site-links [aria-current=page]{color:var(--accent)}#store-checkout-host .portal-site-tools{display:flex;align-items:center;gap:12px;position:relative}#store-checkout-host .portal-site-tools>button{border:1px solid var(--line);background:transparent;color:var(--text);padding:6px;width:36px;height:36px;border-radius:50%;font-size:19px;line-height:1}#store-checkout-host .portal-site-tools #portal-account{background:var(--soft);color:var(--accent);font-size:16px;font-weight:600}#store-checkout-host .portal-page .nav-menu{display:none}#store-checkout-host .portal-page #portal-account-menu{position:absolute;right:0;top:50px;background:var(--surface);border:1px solid var(--line);padding:10px;border-radius:12px;box-shadow:0 12px 38px #1f33551a;width:200px;z-index:35}#store-checkout-host .portal-page #portal-account-menu a,#store-checkout-host .portal-page #portal-account-menu button,#store-checkout-host .portal-page #portal-account-menu strong{display:block;padding:10px;width:100%;font-size:13px;text-decoration:none;text-align:left;color:var(--text);background:transparent}#store-checkout-host .portal-page #portal-account-menu strong{color:var(--muted);font-size:12px;border-bottom:1px solid var(--line);overflow-wrap:anywhere}#store-checkout-host .portal-page #portal-account-menu a:hover,#store-checkout-host .portal-page #portal-account-menu button:hover{background:var(--soft);border-radius:6px}#store-checkout-host .portal-page:not(.auth-mode) main{max-width:1400px;padding:30px 32px 64px}#store-checkout-host .portal-page:not(.auth-mode) main>.intro{display:none}#store-checkout-host .portal-page #workspace{display:grid;grid-template-columns:200px minmax(0,1fr);gap:24px;align-items:start}#store-checkout-host .portal-page .summary{grid-column:1/-1;grid-row:1;background:transparent;padding:0;border:0;border-radius:0;margin:0;gap:12px}#store-checkout-host .portal-page .summary>div{flex:1}#store-checkout-host .portal-page .summary h2{font-size:25px;margin:0 0 5px}#store-checkout-host .portal-page .summary p{font-size:12px;color:var(--muted)}#store-checkout-host .portal-page .summary button{font-size:12px;padding:9px 14px;border:1px solid var(--line);background:var(--surface);color:var(--text)}#store-checkout-host .portal-stats{grid-column:1/-1;grid-row:2;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:18px}#store-checkout-host .portal-stats article{border:1px solid var(--line);background:var(--surface);border-radius:12px;padding:21px 24px;display:grid;gap:6px}#store-checkout-host .portal-stats span{font-size:12px;color:var(--muted)}#store-checkout-host .portal-stats strong{font-size:27px;font-weight:650;color:var(--text)}#store-checkout-host .portal-stats small{font-size:11px;color:var(--muted)}#store-checkout-host .portal-page .tabs{grid-column:1;grid-row:3;display:grid;gap:6px;margin:0;padding:12px;background:var(--surface);border:1px solid var(--line);border-radius:12px;position:sticky;top:108px}#store-checkout-host .portal-page .tabs button{display:flex;text-align:left;align-items:center;gap:12px;min-height:46px;padding:10px 14px;border:0;border-radius:7px;font-size:13px;background:transparent;color:var(--muted)}#store-checkout-host .portal-page .tabs .portal-tab-icon{width:18px;height:18px;flex:0 0 18px;display:block}#store-checkout-host .portal-page .tabs button[aria-current=true]{background:var(--soft);color:var(--accent);font-weight:600}#store-checkout-host .portal-content-panel{grid-column:2;grid-row:3;min-width:0}#store-checkout-host .portal-view-heading{margin:0 0 20px;padding:2px 0 0}#store-checkout-host .portal-view-heading h2{font-size:20px;margin:0 0 5px}#store-checkout-host .portal-view-heading p{font-size:12px;color:var(--muted);margin:0}#store-checkout-host .portal-page .panel{border-radius:12px}#store-checkout-host .portal-page #catalog{gap:18px}#store-checkout-host .portal-page #catalog>.empty{grid-column:1/-1}#store-checkout-host .portal-page #catalog .panel{display:flex;flex-direction:column}#store-checkout-host .portal-page #catalog .panel>button{margin-top:auto;align-self:flex-start;font-size:13px}#store-checkout-host .portal-page #catalog h2{font-size:17px}#store-checkout-host .portal-page #catalog .tag{align-self:flex-start}#store-checkout-host .portal-page #catalog p{font-size:13px}#store-checkout-host .portal-page #catalog .price{font-size:25px}#store-checkout-host .portal-page .empty{border:1px dashed var(--line);background:var(--surface);border-radius:12px;padding:70px 20px;font-size:13px;margin:0}#store-checkout-host .partner-overview{display:flex;justify-content:space-between;align-items:center;gap:24px;background:linear-gradient(115deg,var(--soft),var(--surface));padding:26px!important}#store-checkout-host .partner-overview h3{font-size:21px}#store-checkout-host .partner-overview p{margin-bottom:0;max-width:520px}#store-checkout-host .partner-overview button{white-space:nowrap;font-size:13px}#store-checkout-host .partner-detail{display:grid;grid-template-columns:1fr 1fr;gap:18px}#store-checkout-host .partner-detail h3,#store-checkout-host .partner-scope h3{font-size:15px}#store-checkout-host .partner-quantities{display:flex;align-items:baseline;gap:12px;margin:20px 0 14px}#store-checkout-host .partner-quantities strong{font-size:38px;line-height:1.2}#store-checkout-host .partner-quantities span{font-size:12px;color:var(--muted)}#store-checkout-host .partner-detail progress{width:100%;height:8px;accent-color:#6366e5;margin:0 0 8px}#store-checkout-host .partner-detail p:last-child,#store-checkout-host .partner-scope p:last-child{margin-bottom:0}#store-checkout-host .portal-page footer{font-size:11px;border-top:1px solid var(--line);background:var(--surface)}#store-checkout-host #site-license-result{white-space:pre-line}#store-checkout-host .portal-page .modal-heading{display:flex;justify-content:space-between;align-items:center}#store-checkout-host .portal-page .modal-heading button{background:transparent;color:var(--text);font-size:22px}#store-checkout-host .portal-page #site-search h2{margin-bottom:20px}#store-checkout-host .portal-page #site-search input{margin-bottom:18px}#store-checkout-host .portal-page #site-search button{margin-right:12px}
@media(max-width:1200px){#store-checkout-host .portal-nav-inner{grid-template-columns:auto 1fr auto;gap:18px}#store-checkout-host .portal-page #site-links{gap:16px}#store-checkout-host .portal-wordmark{font-size:20px}#store-checkout-host .portal-stats article{padding:18px}}@media(max-width:1000px){#store-checkout-host .portal-page .nav-menu{display:block;background:transparent;color:var(--text);font-size:13px;justify-self:end;padding:6px}#store-checkout-host .portal-nav-inner{grid-template-columns:1fr auto auto;height:72px}#store-checkout-host .portal-page #site-links{display:none;position:absolute;left:20px;right:20px;top:72px;padding:16px;background:var(--surface);border:1px solid var(--line);border-radius:10px;box-shadow:0 12px 30px #15264f20;flex-wrap:wrap;justify-content:flex-start}#store-checkout-host .portal-page #site-links.open{display:flex}#store-checkout-host .portal-page #site-links a{padding:10px}#store-checkout-host .portal-page #workspace{grid-template-columns:170px minmax(0,1fr);gap:18px}#store-checkout-host .portal-stats small{display:none}#store-checkout-host .partner-overview{align-items:flex-start;flex-direction:column}#store-checkout-host .partner-detail{grid-template-columns:1fr}#store-checkout-host .portal-page .tabs{top:92px}}@media(max-width:700px){#store-checkout-host .portal-nav-inner{width:calc(100% - 32px);gap:12px}#store-checkout-host .portal-wordmark{font-size:18px;gap:8px}#store-checkout-host .portal-brand-icon{width:30px;height:33px;font-size:24px}#store-checkout-host .portal-site-tools{gap:7px}#store-checkout-host .portal-site-tools>button{width:32px;height:32px;min-height:32px}#store-checkout-host .portal-page .nav-menu{font-size:0}#store-checkout-host .portal-page .nav-menu:after{content:'☰';font-size:21px}#store-checkout-host .portal-page:not(.auth-mode) main{padding:24px 16px 40px}#store-checkout-host .portal-page #workspace{grid-template-columns:minmax(0,1fr);gap:18px}#store-checkout-host .portal-page .summary{flex-direction:row;flex-wrap:wrap;align-items:center}#store-checkout-host .portal-page .summary>div{flex-basis:100%}#store-checkout-host .portal-page .summary h2{font-size:21px}#store-checkout-host .portal-stats{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}#store-checkout-host .portal-stats article{padding:16px}#store-checkout-host .portal-stats strong{font-size:24px}#store-checkout-host .portal-page .tabs{grid-row:3;grid-column:1;position:static;display:flex;overflow-x:auto;flex-wrap:nowrap;padding:7px;gap:3px;max-width:100%}#store-checkout-host .portal-page .tabs button{flex-shrink:0;min-height:40px;padding:8px 12px;font-size:12px}#store-checkout-host .portal-page .tabs button{gap:8px}#store-checkout-host .portal-page .tabs .portal-tab-icon{width:18px;height:18px}#store-checkout-host .portal-content-panel{grid-column:1;grid-row:4}#store-checkout-host .portal-view-heading{margin-bottom:16px}#store-checkout-host .portal-page .grid{grid-template-columns:1fr}#store-checkout-host .partner-overview{padding:22px!important}#store-checkout-host .portal-site-tools #portal-account-menu{right:0}#store-checkout-host .portal-page .portal-security-link{margin-left:0}}

#store-checkout-host .portal-page:not(.auth-mode) .partner-overview>button{background:#6366e5;color:#fff}
#store-checkout-host .build-tabs{display:flex;gap:8px;margin:0 0 20px;border-bottom:1px solid var(--line);padding-bottom:14px}#store-checkout-host .build-tabs button[aria-pressed=true]{background:#5965df;color:#fff;border-color:#5965df}#store-checkout-host .build-records-panel h2{margin-bottom:6px}#store-checkout-host .build-metrics{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin:22px 0}#store-checkout-host .build-metrics>div{background:var(--soft);border:1px solid var(--line);border-radius:10px;padding:16px 20px;display:grid;gap:4px}#store-checkout-host .build-metrics span{font-size:12px;color:var(--muted)}#store-checkout-host .build-metrics strong{font-size:27px;font-weight:650}#store-checkout-host .build-toolbar{display:flex;gap:12px;align-items:center;margin:20px 0}#store-checkout-host .build-toolbar input{max-width:360px;margin:0}#store-checkout-host .build-toolbar select{width:150px;margin:0}#store-checkout-host .build-table-wrap{width:100%;overflow:auto;border:1px solid var(--line);border-radius:10px}#store-checkout-host .build-table{width:100%;border-collapse:collapse;font-size:13px;white-space:nowrap;margin:0}#store-checkout-host .build-table th{background:var(--soft);font-weight:500;color:var(--muted);text-align:left}#store-checkout-host .build-table th,#store-checkout-host .build-table td{padding:16px;border-bottom:1px solid var(--line);vertical-align:middle}#store-checkout-host .build-table tr:last-child td{border-bottom:0}#store-checkout-host .build-table td strong{display:block;font-size:13px;font-weight:600;max-width:240px;overflow:hidden;text-overflow:ellipsis}#store-checkout-host .build-table td small{display:block;color:var(--muted);font-size:11px;margin-top:4px}#store-checkout-host .build-table tbody tr:hover{background:var(--soft)}#store-checkout-host .build-status{display:inline-block;border-radius:20px;padding:4px 10px;background:var(--soft);color:var(--muted);font-size:12px}#store-checkout-host .build-status-completed{background:#18a87518;color:#169365}#store-checkout-host .build-status-failed{background:#e14d6518;color:#d13f58}#store-checkout-host .build-status-building,#store-checkout-host .build-status-preparing,#store-checkout-host .build-status-verifying,#store-checkout-host .build-status-uploading{background:#5965df18;color:var(--accent)}#store-checkout-host .build-row-actions button,#store-checkout-host .build-row-actions .button{font-size:12px;min-height:30px;padding:6px 10px;display:inline-block;margin-right:6px;white-space:nowrap;text-decoration:none}#store-checkout-host .build-empty{text-align:center!important;padding:60px 20px!important;color:var(--muted);white-space:normal}#store-checkout-host .build-pagination{display:flex;align-items:center;justify-content:flex-end;gap:10px;margin-top:18px}#store-checkout-host .build-pagination span{color:var(--muted);font-size:12px;margin-right:auto}#store-checkout-host .build-pagination button{padding:7px 12px;font-size:12px}#store-checkout-host .build-pagination button:disabled{opacity:.45;cursor:default}#store-checkout-host .build-detail{width:640px;max-width:calc(100vw - 32px);overflow-wrap:anywhere}#store-checkout-host .build-detail p{padding:9px 0;border-bottom:1px solid var(--line);margin:0}#store-checkout-host .build-detail p strong{font-size:13px}#store-checkout-host .build-detail>button{margin-top:20px}#store-checkout-host .build-readiness{margin-bottom:20px}#store-checkout-host .build-readiness p{margin-bottom:10px}#store-checkout-host .build-advanced{margin:14px 0}#store-checkout-host .build-advanced>summary{font-size:14px;font-weight:600;color:var(--text)}#store-checkout-host .build-advanced[open]>summary{margin-bottom:20px}#store-checkout-host #build-records,#store-checkout-host #build-settings,#store-checkout-host #building{min-width:0}#store-checkout-host .build-records-panel{min-width:0}#store-checkout-host .build-server-status{display:flex;gap:12px;align-items:center;border-top:1px solid var(--line);padding-top:12px;flex-wrap:wrap}#store-checkout-host .build-server-status span{color:var(--muted)}@media(max-width:700px){#store-checkout-host .build-metrics{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}#store-checkout-host .build-metrics>div{padding:12px}#store-checkout-host .build-metrics strong{font-size:23px}#store-checkout-host .build-toolbar{flex-wrap:wrap}#store-checkout-host .build-toolbar input{flex:1;min-width:160px}#store-checkout-host .build-toolbar select{width:120px}#store-checkout-host .build-records-panel{padding:16px!important}#store-checkout-host .build-table th,#store-checkout-host .build-table td{padding:13px}#store-checkout-host .build-pagination{flex-wrap:wrap}#store-checkout-host .build-pagination span{width:100%}}

#store-checkout-host #build-services{grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}#store-checkout-host .online-build-service{border-top:1px solid var(--line);margin-top:18px;padding-top:16px}#store-checkout-host .online-build-service h3{font-size:14px;margin:0 0 10px}#store-checkout-host .online-build-service p{font-size:12px;line-height:1.8}#store-checkout-host .online-build-service button{font-size:13px}#store-checkout-host .build-platform-tabs{margin-bottom:12px;padding-bottom:12px}#store-checkout-host .build-readiness form{margin:20px 0;padding-top:16px;border-top:1px solid var(--line)}@media(max-width:700px){#store-checkout-host #build-services{grid-template-columns:1fr}}
#store-checkout-host .build-endpoint-options{border:1px solid var(--line);border-radius:8px;padding:12px 14px;margin:4px 0 18px}#store-checkout-host .build-endpoint-options summary{font-size:12px;color:var(--muted)}#store-checkout-host .build-endpoint-options[open] summary{margin-bottom:14px}#store-checkout-host #build-fields label small{display:block;font-weight:400;line-height:1.7;margin-top:7px}#store-checkout-host #build-fields label input{margin-bottom:0}

/* 商城分类与待上架状态，电脑和手机共用。 */
#store-checkout-host .catalog-categories{grid-column:1/-1;display:flex;flex-wrap:wrap;gap:8px;padding:8px;background:var(--surface);border:1px solid var(--line);border-radius:12px}#store-checkout-host .portal-page .catalog-categories button{display:inline-flex;align-items:center;gap:8px;padding:10px 16px;min-height:42px;border:1px solid transparent;background:transparent;color:var(--muted)}#store-checkout-host .portal-page .catalog-categories button[aria-pressed=true]{background:var(--soft);color:var(--accent);border-color:var(--line)}#store-checkout-host .catalog-count{font-size:11px;padding:1px 6px;border-radius:12px;background:var(--soft);font-variant-numeric:tabular-nums}#store-checkout-host .catalog-summary{grid-column:1/-1;margin:0;color:var(--muted);font-size:12px}#store-checkout-host .catalog-empty{grid-column:1/-1;text-align:center;padding:56px 24px!important}#store-checkout-host .catalog-empty h3{margin:0 0 12px}#store-checkout-host .catalog-empty p{margin:0}#store-checkout-host .catalog-categories button:focus-visible{outline:2px solid var(--accent);outline-offset:2px}@media(max-width:700px){#store-checkout-host .portal-page .catalog-categories button{padding:9px 12px;min-height:40px;font-size:12px}#store-checkout-host .catalog-categories{gap:4px}#store-checkout-host .catalog-empty{padding:40px 18px!important}}
/* 收银台：金额与二维码居中，二维码始终保留白底及静区。 */
#store-checkout-host #payment{width:min(460px,calc(100vw - 32px));max-height:calc(100svh - 32px);padding:0;border-radius:22px;box-shadow:0 24px 90px #10172d35;overflow:auto}
#store-checkout-host #payment::backdrop{background:#10172d70;backdrop-filter:blur(6px)}
#store-checkout-host .payment-heading{display:flex;align-items:center;gap:12px;padding:22px 24px;border-bottom:1px solid var(--line)}
#store-checkout-host .payment-heading h2{font-size:17px;margin:0;letter-spacing:.3px}#store-checkout-host .payment-heading p{margin:3px 0 0;color:var(--muted);font-size:12px}
#store-checkout-host .payment-mark{display:grid;place-items:center;flex:0 0 40px;width:40px;height:40px;border-radius:12px;background:var(--soft);color:var(--accent);font-size:23px;font-weight:650}
#store-checkout-host #dismiss-payment{margin-left:auto;align-self:flex-start;display:grid;place-items:center;width:30px;height:30px;min-height:30px;padding:0;background:transparent;color:var(--muted);font-size:25px;line-height:1;border-radius:8px}
#store-checkout-host #dismiss-payment:hover{background:var(--soft);color:var(--text)}
#store-checkout-host .payment-body{padding:24px 28px 20px;text-align:center}#store-checkout-host .payment-total>span{display:block;color:var(--muted);font-size:12px}#store-checkout-host .payment-total>strong{display:block;margin:2px 0 20px;font-size:40px;font-weight:720;line-height:1.35;letter-spacing:-1.4px;color:var(--text);font-variant-numeric:tabular-nums}
#store-checkout-host .payment-order-summary{margin:0 0 20px;padding:12px 14px;border:1px solid var(--line);border-radius:12px;background:var(--soft);text-align:left;font-size:12px}
#store-checkout-host .payment-order-summary>div{display:grid;grid-template-columns:56px minmax(0,1fr);gap:12px;align-items:start}#store-checkout-host .payment-order-summary>div+div{margin-top:7px}#store-checkout-host .payment-order-summary dt{color:var(--muted)}#store-checkout-host .payment-order-summary dd{margin:0;overflow-wrap:anywhere}#store-checkout-host .payment-order-summary #payment-product{font-weight:550}#store-checkout-host .payment-order-summary #payment-order-number{font-size:11px;font-family:ui-monospace,SFMono-Regular,Consolas,monospace;color:var(--muted);padding-top:1px;line-height:1.8}
#store-checkout-host .payment-channel{display:flex;align-items:center;justify-content:center;gap:7px;margin-bottom:14px;font-size:13px}#store-checkout-host .payment-channel>span{width:7px;height:7px;border-radius:50%;background:var(--accent);box-shadow:0 0 0 4px var(--soft)}#store-checkout-host .payment-channel strong{font-weight:550}
#store-checkout-host #payment-content{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:12px;min-height:258px;color:var(--muted);font-size:13px;overflow-wrap:anywhere}
#store-checkout-host .payment-qr{padding:12px;border:1px solid #e7eaf0;border-radius:16px;background:#fff;box-shadow:0 6px 24px #10172d0a;max-width:100%}
#store-checkout-host #payment-content img{display:block;width:232px;max-width:100%;height:auto;margin:0;image-rendering:pixelated;filter:none}
#store-checkout-host .payment-help{margin:14px 0 0;font-size:12px;color:var(--muted);line-height:1.7}
#store-checkout-host #payment-link{display:block;margin:16px auto 0;font-size:13px;max-width:258px}
#store-checkout-host .payment-loader{width:34px;height:34px;border:3px solid var(--line);border-top-color:var(--accent);border-radius:50%;animation:payment-loading .8s linear infinite}
#store-checkout-host .payment-redirect-mark,#store-checkout-host .payment-error-mark{display:grid;place-items:center;width:52px;height:52px;border-radius:16px;background:var(--soft);color:var(--accent);font-size:28px}#store-checkout-host .payment-error-mark{font-size:24px;font-weight:650}#store-checkout-host #payment-content>strong{color:var(--text);font-size:15px;font-weight:600}#store-checkout-host #payment-content>span:not([aria-hidden]){max-width:290px}#store-checkout-host #payment-content button{font-size:13px;padding:9px 18px;margin-top:4px}
#store-checkout-host .payment-footer{padding:16px 28px 20px;border-top:1px solid var(--line);background:color-mix(in srgb,var(--soft) 38%,var(--surface));text-align:center}#store-checkout-host .payment-footer p{margin:0;font-size:11px;color:var(--muted)}
@keyframes payment-loading{to{transform:rotate(360deg)}}
@media(prefers-reduced-motion:reduce){#store-checkout-host .payment-loader{animation:none}}
#store-checkout-host{--payment-success:#137f5b}html[data-theme=dark] #store-checkout-host{--payment-success:#68d6ad}
#store-checkout-host .payment-success-mark{display:grid;place-items:center;width:64px;height:64px;border-radius:50%;font-size:34px;line-height:1;color:var(--payment-success);background:color-mix(in srgb,var(--payment-success) 12%,var(--surface))}
#store-checkout-host .purchase-receipt{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:8px;padding:14px 18px;border:1px solid var(--line);border-radius:12px;background:var(--soft);margin-bottom:12px;font-size:13px}#store-checkout-host .purchase-receipt strong{color:var(--payment-success);font-size:14px}#store-checkout-host .purchase-receipt span{color:var(--muted);overflow-wrap:anywhere}
#store-checkout-host .purchased-now{border-color:var(--accent)!important;box-shadow:0 0 0 2px var(--soft)}#store-checkout-host .purchase-new-tag{display:inline-block;padding:3px 9px;margin-bottom:12px;border-radius:6px;color:var(--accent);background:var(--soft);font-size:11px}
@media(max-width:480px){#store-checkout-host #payment{border-radius:18px}#store-checkout-host .payment-heading{padding:18px 20px}#store-checkout-host .payment-body{padding:20px}#store-checkout-host .payment-total>strong{font-size:36px}#store-checkout-host .payment-order-summary{padding:10px 12px}#store-checkout-host .payment-footer{padding:14px 20px 18px}#store-checkout-host #payment-content{min-height:242px}#store-checkout-host .payment-qr{padding:10px}#store-checkout-host #payment-content img{width:220px}}

/* 表格订单：筛选、固定表头和操作列、分页。 */
#store-checkout-host .order-toolbar{display:flex;align-items:flex-end;flex-wrap:wrap;gap:12px;margin-bottom:4px}#store-checkout-host .order-toolbar label{margin:0;font-size:12px;min-width:140px}#store-checkout-host .order-toolbar label:first-child{flex:1;min-width:190px;max-width:300px}#store-checkout-host .order-toolbar input,#store-checkout-host .order-toolbar select{height:36px;font-size:12px;padding:7px 10px;margin-top:7px}#store-checkout-host .portal-page .order-toolbar button{min-height:36px;padding:7px 17px;font-size:12px}
#store-checkout-host .orders-data-panel{min-width:0;overflow:hidden;border:1px solid var(--line);border-radius:12px;background:var(--surface)}#store-checkout-host .orders-table-scroll{overflow:auto;max-height:620px;max-height:min(65vh,620px);position:relative}#store-checkout-host .orders-table{width:100%;min-width:1080px;table-layout:fixed;margin:0;font-size:12px}#store-checkout-host .orders-table th,#store-checkout-host .orders-table td{text-align:left;vertical-align:middle;padding:14px 12px;border-bottom:1px solid var(--line);overflow-wrap:anywhere}#store-checkout-host .orders-table th{position:sticky;top:0;z-index:2;background:var(--soft);color:var(--muted);font-size:11px;font-weight:500;white-space:nowrap;height:44px}#store-checkout-host .orders-table th:nth-child(1){width:190px}#store-checkout-host .orders-table th:nth-child(2){width:210px}#store-checkout-host .orders-table th:nth-child(3){width:100px}#store-checkout-host .orders-table th:nth-child(4){width:100px}#store-checkout-host .orders-table th:nth-child(5),#store-checkout-host .orders-table th:nth-child(6){width:90px}#store-checkout-host .orders-table th:nth-child(7){width:140px}#store-checkout-host .orders-table th:last-child{width:220px}#store-checkout-host .orders-table td:last-child,#store-checkout-host .orders-table th:last-child{position:sticky;right:0;border-left:1px solid var(--line);box-shadow:-5px 0 10px #10172d04}#store-checkout-host .orders-table td:last-child{background:var(--surface);z-index:1}#store-checkout-host .orders-table th:last-child{z-index:3}#store-checkout-host .orders-table tbody tr:hover td{background:var(--soft)}#store-checkout-host .orders-table tbody tr:last-child td{border-bottom:0}#store-checkout-host .orders-table td>strong{display:block;font-size:12px;font-weight:550;line-height:1.6}#store-checkout-host .orders-table small{display:block;margin-top:5px;color:var(--muted);font-size:11px}#store-checkout-host .order-table-amount>strong{font-size:14px!important;font-variant-numeric:tabular-nums}#store-checkout-host .order-table-date{color:var(--muted);font-size:11px}#store-checkout-host .order-id-cell{display:flex;align-items:center;gap:5px;min-width:0}#store-checkout-host .order-number{font-size:10px;font-family:ui-monospace,SFMono-Regular,Consolas,monospace;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;min-width:0;color:var(--muted)}#store-checkout-host .portal-page .order-copy{padding:3px 5px;min-height:24px;font-size:10px;color:var(--accent);background:transparent;flex-shrink:0}#store-checkout-host .order-badge{display:inline-block;padding:3px 7px;border-radius:5px;background:var(--soft);font-size:11px;color:var(--muted);white-space:nowrap}#store-checkout-host .order-payment-paid,#store-checkout-host .order-delivery-completed{background:color-mix(in srgb,var(--payment-success) 10%,var(--surface));color:var(--payment-success)}#store-checkout-host .order-payment-pending,#store-checkout-host .order-delivery-running{background:color-mix(in srgb,var(--accent) 10%,var(--surface));color:var(--accent)}#store-checkout-host .order-table-actions{display:flex;align-items:center;flex-wrap:wrap;gap:7px}#store-checkout-host .portal-page .order-table-actions button{min-height:30px;padding:5px 9px;font-size:11px;white-space:nowrap}#store-checkout-host .portal-page .order-table-actions .order-refund{padding:4px 0;background:transparent;color:var(--muted)}#store-checkout-host .orders-pagination{display:flex;align-items:center;justify-content:flex-end;gap:10px;padding:12px 16px;border-top:1px solid var(--line);font-size:12px;color:var(--muted)}#store-checkout-host .orders-pagination>span:first-child{margin-right:auto}#store-checkout-host .orders-pagination select{width:100px;margin:0;padding:6px 9px;font-size:12px}#store-checkout-host .portal-page .orders-pagination button{min-height:30px;font-size:12px;padding:5px 10px}#store-checkout-host .orders-pagination button:disabled{cursor:default;opacity:.4}#store-checkout-host .orders-table-empty{text-align:center!important;padding:50px 20px!important;color:var(--muted)}
@media(max-width:600px){#store-checkout-host .order-toolbar label{flex:1;min-width:120px}#store-checkout-host .order-toolbar label:first-child{flex-basis:100%;max-width:none}#store-checkout-host .orders-pagination{flex-wrap:wrap;gap:7px;padding:10px}#store-checkout-host .orders-pagination select{width:88px}#store-checkout-host .orders-table td:last-child,#store-checkout-host .orders-table th:last-child{width:180px}}

#store-checkout-host #credential{width:min(640px,calc(100vw - 32px));padding:0;border-radius:18px;overflow:hidden;box-shadow:0 24px 80px #10172d30}
#store-checkout-host .credential-heading{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:20px 24px;border-bottom:1px solid var(--line)}#store-checkout-host .credential-heading h2{font-size:18px;margin:0}
#store-checkout-host #dismiss-credential{display:grid;place-items:center;width:30px;height:30px;min-height:30px;padding:0;border-radius:8px;background:transparent;color:var(--muted);font-size:25px;line-height:1}
#store-checkout-host .credential-body{padding:20px 24px 24px}#store-checkout-host .credential-body p{color:var(--muted);font-size:12px;line-height:1.8;margin:0 0 18px}#store-checkout-host .credential-body label{font-size:12px;color:var(--muted);margin:0 0 8px}
#store-checkout-host #credential-value{display:block;box-sizing:border-box;width:100%;height:118px;min-height:118px;margin:0;padding:14px 16px;border:1px solid var(--line);border-radius:10px;background:var(--soft);color:var(--text);font:13px/1.85 ui-monospace,SFMono-Regular,Consolas,monospace;overflow-wrap:anywhere;word-break:break-all;resize:none}
#store-checkout-host #credential-value:focus-visible{outline:2px solid var(--accent);outline-offset:3px}
#store-checkout-host .credential-footer{display:flex;justify-content:flex-end;gap:10px;padding:16px 24px;border-top:1px solid var(--line);background:color-mix(in srgb,var(--soft) 38%,var(--surface))}#store-checkout-host .credential-footer button{min-height:40px;font-size:13px;padding:9px 18px}
#store-checkout-host .portal-page #licenses>.panel{padding:20px}#store-checkout-host .portal-page #licenses>.panel h3{font-size:15px;margin-bottom:9px}#store-checkout-host .portal-page #licenses>.panel p{font-size:12px;margin:7px 0}#store-checkout-host .portal-page #licenses>.panel>button{font-size:12px;min-height:36px;padding:8px 14px;margin-top:8px}
@media(max-width:600px){#store-checkout-host .credential-heading{padding:17px 20px}#store-checkout-host .credential-body{padding:18px 20px 22px}#store-checkout-host .credential-footer{padding:14px 20px}#store-checkout-host .credential-footer button{flex:1}#store-checkout-host #credential-value{font-size:12px;height:132px}#store-checkout-host .orders-table td:last-child{position:static;box-shadow:none}#store-checkout-host .orders-table th:last-child{right:auto;box-shadow:none}}
/* 用户与代理商共用顶部导航的选中状态。 */
#store-checkout-host .portal-nav-inner #site-links>a[aria-current=page]{position:relative;color:var(--accent);font-weight:600;background:var(--soft);border-radius:5px;box-shadow:0 0 0 7px var(--soft)}#store-checkout-host .portal-nav-inner #site-links>a[aria-current=page]:after{content:"";position:absolute;left:25%;right:25%;bottom:-16px;height:3px;border-radius:3px;background:var(--accent)}
@media(max-width:900px){#store-checkout-host .portal-nav-inner #site-links>a[aria-current=page]:after{display:none}}
/* 商品管理以列表呈现，全部状态仅在后台可见。 */
#store-checkout-host #products.product-management{display:block;min-width:0}#store-checkout-host .product-toolbar{display:flex;gap:12px;flex-wrap:wrap;align-items:center}#store-checkout-host .product-toolbar input{flex:1;min-width:180px;margin:0}#store-checkout-host .product-toolbar select{width:150px;margin:0}#store-checkout-host .product-list-summary{font-size:12px;color:var(--muted);margin:16px 0}#store-checkout-host .product-table-wrap{width:100%;max-width:100%;overflow-x:auto;border:1px solid var(--line);border-radius:10px;background:var(--surface)}#store-checkout-host .product-table{width:100%;min-width:1000px;border-collapse:collapse;font-size:13px}#store-checkout-host .product-table th{font-size:12px;white-space:nowrap;font-weight:500;padding:14px 16px;text-align:left;background:var(--soft)}#store-checkout-host .product-table td{padding:16px;vertical-align:middle;line-height:1.7;border-bottom:1px solid var(--line)}#store-checkout-host .product-table tr:last-child td{border-bottom:0}#store-checkout-host .product-table tbody tr:hover{background:var(--bg)}#store-checkout-host .product-table td:first-child{min-width:260px;max-width:350px}#store-checkout-host .product-table td>strong{display:block;font-size:13px;font-weight:550}#store-checkout-host .product-code,#store-checkout-host .product-platform{display:block;font-size:11px;color:var(--muted);margin-top:4px}#store-checkout-host .product-code{font-family:Consolas,monospace}#store-checkout-host .product-table td:nth-child(n+4){white-space:nowrap}#store-checkout-host .product-table td:last-child button{padding:7px 12px;font-size:12px}#store-checkout-host .product-status{display:inline-block;border-radius:5px;padding:3px 8px;font-size:11px;background:var(--soft);color:var(--muted)}#store-checkout-host .product-status[data-enabled=true]{background:#35a27714;color:#268063}#store-checkout-host .product-status[data-enabled=false]{background:var(--soft);color:var(--muted)}
@media(max-width:700px){#store-checkout-host .product-toolbar{gap:8px}#store-checkout-host .product-toolbar input{flex-basis:100%;min-width:0}#store-checkout-host .product-toolbar select{flex:1;width:0}#store-checkout-host .product-table{min-width:940px}#store-checkout-host .product-table td{padding:13px 12px}}
html[data-theme=dark] #store-checkout-host .product-status[data-enabled=true],#store-checkout-host :host([data-theme=dark]) .product-status[data-enabled=true]{background:#35a27726;color:#78d8b0}
#store-checkout-host .sku-cover-field>label{margin-bottom:8px}#store-checkout-host #sku-cover-preview{display:flex;align-items:center;gap:16px;flex-wrap:wrap;margin:10px 0}#store-checkout-host #sku-cover-image{display:block;width:260px;max-width:100%;height:162px;object-fit:contain;border:1px solid var(--line);border-radius:8px;background:var(--soft)}#store-checkout-host #sku-cover-status{margin:8px 0 0}#store-checkout-host .product-cover-thumb{float:left;width:52px;height:42px;object-fit:contain;border:1px solid var(--line);border-radius:5px;background:var(--soft);margin:0 10px 0 0}

/* 商城站点绑定指引与独立商品发布入口。 */
#store-checkout-host #market-sites .market-binding-guide{margin:18px 0 24px;padding:18px 20px;border:1px solid var(--line);border-radius:10px;background:var(--soft);font-size:13px;line-height:1.9}#store-checkout-host #market-sites .market-binding-guide h4{margin:0 0 8px;font-size:14px}#store-checkout-host #market-sites .market-binding-guide ol{margin:0;padding-left:20px}#store-checkout-host #market-sites .market-binding-guide li+li{margin-top:8px}#store-checkout-host #market-sites .market-binding-guide p{margin:12px 0 0}#store-checkout-host #market-sites .actions{gap:12px;margin-top:8px}#store-checkout-host #market-sites .market-creator-entry .button{max-width:100%;text-align:center}
@media(max-width:700px){#store-checkout-host #market-sites .market-binding-guide{padding:14px}#store-checkout-host #market-sites input::placeholder{font-size:12px}}

#store-checkout-host>header,#store-checkout-host>main,#store-checkout-host>footer{display:none!important}#store-checkout-host #store-login{width:min(520px,calc(100vw - 32px))}#store-checkout-host #store-login>.secondary{float:right}#store-checkout-host #auth{display:block;background:transparent;box-shadow:none;border:0;padding:18px 0 0;min-height:0}#store-checkout-host .auth-brand-panel{display:none}#store-checkout-host .auth-form-wrap{padding:16px 8px;max-width:none}#store-checkout-host .store-checkout-notice[data-error=true]{color:var(--accent)}#store-purchase-error{background:var(--surface);color:var(--ink);border:1px solid var(--line);border-radius:16px;padding:24px;max-width:calc(100vw - 32px)}
