*{box-sizing:border-box}
:root{--blue:#1769aa;--blue2:#0d4a7d;--bg:#f3f6fa;--text:#1d2939;--muted:#718096;--line:#e5ebf1;--green:#16834a;--red:#b53622}
body{margin:0;background:var(--bg);color:var(--text);font-family:-apple-system,BlinkMacSystemFont,"Segoe UI","Microsoft YaHei",sans-serif}
button,input,select,textarea{font:inherit}button{cursor:pointer}
.hero{min-height:40vh;max-height:500px;padding:46px 18px 54px;color:#fff;background:linear-gradient(145deg,var(--blue2),#2683c3);display:flex;align-items:center}
.hero-inner{width:min(930px,100%);margin:auto;text-align:center}.hero h1{font-size:clamp(31px,6vw,48px);margin:0 0 10px}.hero p{margin:0 0 28px;font-size:clamp(15px,2.5vw,19px);opacity:.92}
.search-box{display:flex;gap:10px;padding:12px;background:#fff;border-radius:17px;box-shadow:0 18px 45px #082a4650}
.search-box input{flex:1;min-width:0;padding:15px;border:1px solid #d9e2ec;border-radius:11px;font-size:16px;outline:none}
.btn{border:0;border-radius:11px;padding:12px 19px}.primary{background:var(--blue);color:#fff}.light{background:#eaf3fa;color:var(--blue)}
.wrap{width:min(930px,calc(100% - 26px));margin:auto}.nav-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-top:-23px;position:relative}
.nav-card{min-height:112px;border:1px solid #edf1f5;border-radius:16px;background:#fff;padding:17px;box-shadow:0 8px 24px #132b3e12;display:flex;align-items:center;gap:13px;text-align:left}
.nav-card>span:nth-child(2){flex:1}.nav-card b,.nav-card small{display:block}.nav-card small{margin-top:5px;color:var(--muted)}
.icon{width:43px;height:43px;display:grid;place-items:center;border-radius:13px;background:#edf5fb;font-size:22px}.nav-card i{color:#9aa7b6;font-size:20px;font-style:normal}
main{padding:27px 0 52px}.title-row{display:flex;justify-content:space-between;align-items:end;margin-bottom:14px}.title-row h2{margin:0;font-size:21px}.title-row span{font-size:13px;color:var(--muted)}
.product-card,.admin-order{background:#fff;border:1px solid #edf1f5;border-radius:15px;padding:17px;margin-bottom:12px;box-shadow:0 5px 18px #1f29370a}
.product-name{font-weight:780;font-size:16px;line-height:1.65}.product-meta{display:flex;gap:9px 18px;flex-wrap:wrap;margin:9px 0 14px;color:#65758a;font-size:14px}.price{color:#dd4d31!important;font-weight:850}
.empty{background:#fff;border-radius:15px;padding:44px 20px;text-align:center;color:var(--muted)}.error,.error-text{color:var(--red)}
footer{text-align:center;color:#8b97a6;font-size:13px;padding:0 15px 32px}.test-tag{position:fixed;right:10px;bottom:10px;z-index:20;background:#fff5d9;color:#8a5a00;border:1px solid #f2dda0;border-radius:10px;padding:8px 11px;font-size:12px}
.modal{display:none;position:fixed;inset:0;z-index:50;padding:16px;overflow:auto;background:#0f172a99}.modal.show{display:block}
.modal-box{width:min(730px,100%);margin:20px auto;background:#fff;border-radius:18px;overflow:hidden;box-shadow:0 25px 75px #0004}
.modal-head{display:flex;justify-content:space-between;gap:15px;padding:19px;border-bottom:1px solid var(--line)}.modal-head h2{font-size:20px;line-height:1.5;margin:0}
.modal-head button{border:0;border-radius:11px;background:#eef3f7;width:38px;height:38px;font-size:22px;color:#59687a}.modal-body{padding:19px}
.detail-grid,.admin-grid,.order-info{display:grid;grid-template-columns:95px 1fr;gap:10px 14px;line-height:1.7}.detail-grid>span,.admin-grid>span,.order-info>span{color:var(--muted)}.remark{white-space:pre-wrap}
.file-section{border-top:1px solid var(--line);margin-top:18px;padding-top:15px}.file-section ol{max-height:260px;overflow:auto;line-height:1.8;padding-left:24px}
.submit{width:100%;margin-top:14px;padding:14px;border:0;border-radius:11px;background:var(--blue);color:#fff;font-weight:750}
.payment-name{text-align:center;font-size:18px;font-weight:800;margin-bottom:12px}.notice{background:#fff7e5;color:#855b08;border-radius:13px;padding:14px;line-height:1.8}
.payment-image{display:block;max-width:min(100%,420px);max-height:58vh;object-fit:contain;margin:16px auto;border-radius:15px;border:1px solid var(--line)}
.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:11px}.form-grid label{font-size:13px;color:#68778a}.form-grid input,.form-grid select,.form-grid textarea{width:100%;margin-top:6px;padding:12px;border:1px solid #d8e1ea;border-radius:10px}.form-grid textarea{min-height:75px}.full{grid-column:1/-1}
.services{display:grid;grid-template-columns:1fr 1fr;gap:10px}.services div{background:#f6f9fc;border-radius:12px;padding:15px}.services b,.services small{display:block}.services small{margin-top:5px;color:var(--muted)}
.query{display:flex;gap:9px;flex-wrap:wrap}.query input{flex:1;min-width:150px;padding:12px;border:1px solid #d8e1ea;border-radius:10px}.hint{color:var(--muted);font-size:13px;line-height:1.8}
.center{min-height:100vh;display:grid;place-items:center;padding:20px}.login-card,.order-card{width:min(650px,100%);background:#fff;border-radius:18px;padding:24px;box-shadow:0 15px 50px #1f293714}.login-card{max-width:430px}
.login-card h1,.order-card h1{margin:0 0 20px;font-size:24px}.login-card input{width:100%;padding:14px;border:1px solid #d8e1ea;border-radius:10px}
.admin-header{position:sticky;top:0;z-index:5;padding:15px 18px;background:#fff;border-bottom:1px solid var(--line);display:flex;justify-content:space-between;align-items:center}.admin-header h1{margin:0;font-size:21px}.admin-header a{color:var(--blue);text-decoration:none}
.admin-wrap{width:min(900px,calc(100% - 24px));margin:18px auto}.tabs{display:flex;gap:8px;flex-wrap:wrap;margin-bottom:14px}.tabs button{border:0;border-radius:20px;padding:9px 15px;background:#e9f2f9;color:var(--blue)}.tabs button.active{background:var(--blue);color:#fff}
.admin-order h3{margin:0 0 12px;line-height:1.6}.actions{display:flex;gap:8px;flex-wrap:wrap;margin-top:15px}.actions a,.actions button{border:0;border-radius:10px;padding:10px 13px;text-decoration:none}.actions a{background:#e9f2f9;color:var(--blue)}
.confirm{background:var(--green);color:#fff}.reject{background:#fff0ed;color:var(--red)}.pending{color:#b86b00}.confirmed{color:var(--green)}.rejected{color:var(--red)}
.status-box{margin:20px 0;padding:18px;border-radius:13px;line-height:1.8}.status-box.pending{background:#fff7e5}.status-box.confirmed{background:#eaf8f0}.status-box.rejected{background:#fff0ed}
.download{display:block;width:100%;padding:14px;border-radius:11px;background:var(--green);color:#fff;text-align:center;text-decoration:none;font-weight:750}.back{display:inline-block;margin-top:15px;color:var(--blue);text-decoration:none}
@media(max-width:620px){.hero{min-height:40vh;padding-top:35px}.search-box{flex-wrap:wrap}.search-box input{flex-basis:100%}.search-box .btn{flex:1}.nav-card{min-height:104px;padding:13px;gap:9px}.icon{width:37px;height:37px;font-size:19px}.nav-card b{font-size:15px}.nav-card small{font-size:12px}.form-grid{grid-template-columns:1fr}.full{grid-column:auto}.detail-grid,.admin-grid,.order-info{grid-template-columns:78px 1fr}}

/* V2.1 极简付款与套餐功能 */
.package-badge{display:inline-block;margin-left:7px;padding:2px 7px;border-radius:999px;background:#fff0df;color:#b55a13;font-size:12px;vertical-align:middle}
.package-section{margin-top:18px;padding-top:16px;border-top:1px solid var(--line)}
.package-heading{font-size:16px;font-weight:800;margin-bottom:10px;color:#a45116}
.package-option{display:flex;align-items:center;gap:12px;padding:13px;margin-top:9px;border:1px solid #f0d4b6;border-radius:12px;background:#fff8ef}
.package-option>div{flex:1;min-width:0}.package-option b,.package-option small{display:block}.package-option b{line-height:1.55}.package-option small{margin-top:4px;color:#a26330}
.package-buy{border:0;background:#e87924;color:#fff;white-space:nowrap}
.payment-summary{display:grid;grid-template-columns:86px 1fr;gap:10px 14px;line-height:1.7;padding:15px;border-radius:13px;background:#f5f8fb}
.payment-summary span{color:var(--muted)}.big-price{font-size:22px}
.simple-fields{display:grid;gap:12px}.simple-fields label{display:block;color:#68778a;font-size:14px}.simple-fields small{color:#9aa7b6}
.simple-fields input,.simple-fields textarea{width:100%;margin-top:7px;padding:12px;border:1px solid #d8e1ea;border-radius:10px;background:#fff}
.simple-fields textarea{min-height:82px;resize:vertical}
.wechat-card{display:flex;align-items:center;gap:14px;margin-bottom:14px;padding:16px;border-radius:14px;background:linear-gradient(135deg,#eaf8f1,#f6fbf8);border:1px solid #cfeadd}
.wechat-card>div{flex:1}.wechat-card small,.wechat-card b{display:block}.wechat-card small{color:#53806a;margin-bottom:5px}.wechat-card b{font-size:21px;letter-spacing:.3px}
.copy-button{border:0;border-radius:10px;padding:11px 14px;background:#16834a;color:#fff;font-weight:700;white-space:nowrap}
.toast{position:fixed;left:50%;bottom:30px;z-index:100;transform:translate(-50%,20px);padding:11px 16px;border-radius:10px;background:#17212d;color:#fff;opacity:0;pointer-events:none;transition:.2s;box-shadow:0 8px 28px #0003;white-space:nowrap}
.toast.show{opacity:1;transform:translate(-50%,0)}
@media(max-width:520px){.package-option{align-items:flex-start;flex-direction:column}.package-buy{width:100%}.wechat-card{align-items:stretch;flex-direction:column}.copy-button{width:100%}.payment-summary{grid-template-columns:76px 1fr}}

/* V2.2 订单复制与同页查询/取货 */
.order-page{min-height:100vh;margin:0;padding:36px 18px;background:#f3f7fb}
.order-page-wrap{width:min(760px,100%);margin:0 auto;display:grid;gap:22px}
.order-page .order-card{width:100%}
.order-code-value{overflow-wrap:anywhere}
.copy-order-info{width:100%;margin-top:18px;padding:14px 16px;border:0;border-radius:12px;background:#eaf3fb;color:#1268a6;font-size:16px;font-weight:800;cursor:pointer}
.security-note{margin-top:14px;padding:14px 16px;border-radius:12px;background:#edf7ff;color:#175d8d;line-height:1.75;font-size:14px;border:1px solid #d5eaf8}
.pickup-card{width:100%;background:#fff;border-radius:18px;padding:24px;box-shadow:0 15px 50px #1f293714;border:2px solid #d6e8f6}
.pickup-title-row{display:flex;align-items:flex-start;justify-content:space-between;gap:18px;margin-bottom:20px}
.pickup-title-row h2{margin:0 0 8px;font-size:26px;color:#102a43}
.pickup-title-row p{margin:0;color:#68778a;line-height:1.75}
.pickup-icon{display:grid;place-items:center;flex:0 0 auto;width:54px;height:54px;border-radius:16px;background:#edf6fd;font-size:27px}
.pickup-form{display:grid;grid-template-columns:1fr 1fr;gap:14px}
.pickup-form label{font-size:14px;color:#58697d;font-weight:700}
.pickup-form input{width:100%;margin-top:8px;padding:15px 14px;border:1px solid #cfdce8;border-radius:11px;background:#fff;font-size:16px;outline:none}
.pickup-form input:focus{border-color:#287db8;box-shadow:0 0 0 3px #287db81a}
.pickup-submit{grid-column:1/-1;width:100%;padding:16px;border:0;border-radius:12px;background:#1e73b5;color:#fff;font-size:18px;font-weight:850;cursor:pointer}
.query-error{min-height:20px;margin-top:10px;color:#d04a34;font-size:14px}
.toast.show{opacity:1;transform:translate(-50%,0)}
@media(max-width:620px){
  .order-page{padding:18px 12px}
  .order-page .order-card,.pickup-card{padding:20px}
  .pickup-form{grid-template-columns:1fr}
  .pickup-submit{grid-column:auto}
  .pickup-title-row h2{font-size:23px}
  .pickup-icon{width:48px;height:48px}
}


/* V2.3 快捷入口响应优化 */
.nav-card{touch-action:manipulation;-webkit-tap-highlight-color:transparent;position:relative;z-index:1;transition:transform .12s ease,box-shadow .12s ease,opacity .12s ease}
.nav-card:active{transform:scale(.985)}
.nav-card.is-working{opacity:.72;cursor:wait}
.nav-card.is-working::after{content:"";position:absolute;right:16px;top:16px;width:16px;height:16px;border:2px solid #c8d8e6;border-top-color:var(--blue);border-radius:50%;animation:navSpin .7s linear infinite}
@keyframes navSpin{to{transform:rotate(360deg)}}

/* V2.3 简约订单状态页 */
.compact-order-page{width:min(700px,100%);gap:16px}
.compact-order-card,.compact-pickup-card{padding:22px}
.compact-order-head{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;margin-bottom:18px}
.compact-order-head h1{margin:0 0 5px;font-size:25px}
.compact-order-head p{margin:0;color:var(--muted);font-size:14px}
.status-pill{flex:0 0 auto;padding:7px 12px;border-radius:999px;font-size:13px;font-weight:800}
.status-pill.pending{background:#fff3d9;color:#9a5b00}.status-pill.confirmed{background:#e7f7ee;color:#137541}.status-pill.rejected{background:#fff0ed;color:#b53622}
.compact-product-summary{display:flex;justify-content:space-between;align-items:flex-start;gap:18px;padding:15px;border-radius:13px;background:#f6f9fc}
.compact-product-summary b{line-height:1.65}.compact-product-summary strong{flex:0 0 auto;color:#dd4d31;font-size:20px}
.compact-code-list{margin-top:12px;border:1px solid var(--line);border-radius:13px;overflow:hidden}
.compact-code-list>div{display:grid;grid-template-columns:72px 1fr;gap:12px;padding:12px 14px;align-items:center}
.compact-code-list>div+div{border-top:1px solid var(--line)}
.compact-code-list span{color:var(--muted);font-size:14px}.compact-code-list b{font-size:15px}
.compact-copy-button{margin-top:12px;padding:12px 14px;font-size:15px}
.compact-status-box{margin:12px 0 0;padding:13px 15px;font-size:15px;line-height:1.65}
.compact-security-note{margin:10px 2px 0;color:#7a8796;font-size:13px}
.compact-download{margin-top:12px}
.compact-back{margin-top:14px;font-size:14px}
.compact-pickup-head{margin-bottom:14px}
.compact-pickup-head h2{margin:0 0 5px;font-size:22px}.compact-pickup-head p{margin:0;color:var(--muted);font-size:14px;line-height:1.6}
.compact-pickup-form{grid-template-columns:1.35fr .75fr auto;align-items:end;gap:10px}
.compact-pickup-form label{font-size:13px}.compact-pickup-form input{padding:12px;margin-top:6px;font-size:15px}
.compact-pickup-form .pickup-submit{grid-column:auto;width:auto;min-width:115px;padding:13px 18px;font-size:16px;white-space:nowrap}
.compact-pickup-card{border-width:1px}
@media(max-width:620px){
  .compact-order-card,.compact-pickup-card{padding:18px}
  .compact-order-head h1{font-size:23px}
  .compact-product-summary{flex-direction:column;gap:6px}
  .compact-code-list>div{grid-template-columns:62px 1fr}
  .compact-pickup-form{grid-template-columns:1fr}
  .compact-pickup-form .pickup-submit{width:100%}
}

/* V2.6 Cloudflare 正式订单功能 */
.payment-steps{display:grid;gap:7px;margin:14px 0;padding:15px;border-radius:13px;background:#edf6fd;color:#245474;line-height:1.65}
.payment-steps b{color:#123c5a}.payment-steps span{display:block}
.order-submit-form{margin-top:14px}.proof-upload input{display:block}
.proof-preview{min-height:100px;display:grid;place-items:center;padding:12px;border:1px dashed #bfd0df;border-radius:12px;background:#f8fbfd;color:#8a98a8;text-align:center;overflow:hidden}
.proof-preview img{display:block;max-width:100%;max-height:320px;border-radius:10px;object-fit:contain}
.order-error{min-height:20px;margin-top:3px}
.submit:disabled,.pickup-submit:disabled{opacity:.65;cursor:wait}
.success-mark{width:62px;height:62px;margin:2px auto 14px;display:grid;place-items:center;border-radius:50%;background:#e7f7ee;color:#16834a;font-size:34px;font-weight:900}
.success-notice{background:#eaf8f0;color:#17613d}.order-created-codes{margin-top:14px}.order-status-link{margin-top:12px}
.admin-login-card{margin:42px auto;box-shadow:0 12px 40px #1f293718}
.admin-header-actions{display:flex;align-items:center;gap:12px}.admin-header-actions button{border:0;background:#eef3f7;color:#45576a;border-radius:9px;padding:8px 12px}.admin-header-actions a{font-size:14px}
.admin-order-title{display:flex;justify-content:space-between;align-items:flex-start;gap:14px}.admin-order-title h3{flex:1}
.actions .view-proof{background:#e9f2f9;color:var(--blue)}
.admin-message{min-height:8px;margin-bottom:8px;color:var(--red)}
[hidden]{display:none!important}
@media(max-width:620px){
  .payment-image{max-height:50vh}
  .admin-order-title{flex-direction:column;gap:5px}
  .admin-header{align-items:flex-start}.admin-header-actions{flex-direction:column;align-items:flex-end;gap:6px}
}


/* v2.4 compact admin */
.compact-admin-body{background:#f4f7fb;color:#152235}
.compact-header{position:sticky;top:0;z-index:30;display:flex;align-items:center;justify-content:space-between;padding:18px max(18px,calc((100vw - 760px)/2));background:rgba(255,255,255,.96);border-bottom:1px solid #e5ebf2;backdrop-filter:blur(12px)}
.compact-header h1{margin:0;font-size:24px}
.compact-header p{margin:3px 0 0;color:#8090a3;font-size:13px}
.icon-menu{width:42px;height:42px;border:0;border-radius:12px;background:#eef4f9;color:#36566f;font-size:25px;line-height:1}
.header-menu{position:absolute;right:max(18px,calc((100vw - 760px)/2));top:70px;min-width:170px;padding:8px;background:#fff;border:1px solid #e4eaf0;border-radius:14px;box-shadow:0 16px 40px rgba(22,42,66,.15)}
.header-menu[hidden]{display:none}
.header-menu a,.header-menu button{display:block;width:100%;padding:11px 12px;border:0;border-radius:9px;background:transparent;color:#24364a;text-align:left;text-decoration:none;font-size:15px}
.header-menu a:hover,.header-menu button:hover{background:#f1f6fa}
.compact-admin-main{max-width:760px;margin:0 auto;padding:22px 16px 60px}
.compact-login-card{max-width:520px;margin:8vh auto 0}
.compact-tabs{display:grid;grid-template-columns:repeat(3,1fr);gap:6px;padding:5px;background:#eaf1f7;border-radius:15px}
.compact-tabs button{border:0;border-radius:11px;padding:12px;background:transparent;color:#607489;font-size:16px;font-weight:700}
.compact-tabs button.active{background:#fff;color:#1672ad;box-shadow:0 4px 14px rgba(30,71,103,.10)}
.order-search{display:flex;align-items:center;gap:10px;margin:14px 0 10px;padding:0 14px;background:#fff;border:1px solid #e1e8ef;border-radius:13px}
.order-search span{color:#8090a3;font-size:14px}
.order-search input{flex:1;min-width:0;padding:13px 0;border:0;outline:0;background:transparent;font-size:15px}
.maintenance-hint{margin:0 2px 14px;color:#8a99aa;font-size:12px;line-height:1.6}
.compact-order-card{display:block;width:100%;margin:0 0 11px;padding:16px;border:1px solid #e4eaf0;border-radius:16px;background:#fff;color:inherit;text-align:left;box-shadow:0 7px 22px rgba(27,54,78,.05)}
.compact-order-top{display:flex;align-items:flex-start;justify-content:space-between;gap:12px}
.compact-order-top strong{display:-webkit-box;overflow:hidden;-webkit-line-clamp:2;-webkit-box-orient:vertical;font-size:16px;line-height:1.45}
.compact-status{flex:none;padding:5px 9px;border-radius:999px;font-size:12px;font-weight:700}
.compact-status.pending{background:#fff1dd;color:#ae6410}
.compact-status.confirmed{background:#e6f7ed;color:#16854b}
.compact-status.rejected{background:#fceae7;color:#b84a37}
.compact-order-bottom{display:flex;align-items:center;justify-content:space-between;margin-top:13px;color:#7d8d9d;font-size:13px}
.compact-order-bottom b{color:#ef5334;font-size:18px}
.compact-order-meta{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-top:8px;color:#9aa7b5;font-size:11px}
.compact-order-meta span:last-child{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.load-more{display:block;width:100%;margin-top:14px;padding:13px;border:0;border-radius:13px;background:#e6f1f8;color:#176fa8;font-weight:700}
.load-more[hidden]{display:none}
.order-modal[hidden]{display:none}
.order-modal{position:fixed;inset:0;z-index:80}
.order-modal-mask{position:absolute;inset:0;background:rgba(20,34,48,.46)}
.order-modal-card{position:absolute;left:50%;bottom:0;width:min(100%,680px);max-height:88vh;overflow:auto;transform:translateX(-50%);padding:24px 20px calc(24px + env(safe-area-inset-bottom));background:#fff;border-radius:24px 24px 0 0;box-shadow:0 -20px 50px rgba(15,30,45,.18)}
.modal-close{position:absolute;right:16px;top:14px;width:38px;height:38px;border:0;border-radius:11px;background:#edf3f7;color:#587086;font-size:23px}
.modal-order-head{padding-right:48px}
.modal-order-head h2{margin:13px 0 8px;font-size:20px;line-height:1.4}
.modal-order-head b{color:#ef5334;font-size:24px}
.modal-order-grid{display:grid;grid-template-columns:88px 1fr;gap:12px 10px;margin:20px 0;padding:16px;background:#f6f9fc;border-radius:14px}
.modal-order-grid dt{color:#8493a3}
.modal-order-grid dd{margin:0;overflow-wrap:anywhere;font-weight:600}
.modal-actions{display:grid;gap:10px}
.modal-actions button{width:100%;padding:14px;border:0;border-radius:13px;font-size:16px;font-weight:700}
.modal-actions .primary{background:#1978b6;color:#fff}
.modal-actions .secondary{background:#e8f3fa;color:#176fa8}
.modal-actions .quiet{background:#f2f4f6;color:#647487}
.modal-actions .quiet-danger{background:transparent;color:#b84a37}
.modal-footnote{margin:13px 2px 0;color:#8d9aa8;font-size:12px;text-align:center}
@media(min-width:700px){
  .order-modal-card{top:50%;bottom:auto;border-radius:22px;transform:translate(-50%,-50%)}
}


/* v2.4.1 customer preview and note visibility */
.compact-order-note{
  display:-webkit-box;
  overflow:hidden;
  margin-top:10px;
  padding:9px 10px;
  border-radius:10px;
  background:#fff8e9;
  color:#75561c;
  font-size:13px;
  line-height:1.5;
  -webkit-line-clamp:2;
  -webkit-box-orient:vertical;
}
.compact-order-note span{
  display:inline-block;
  margin-right:7px;
  padding:1px 6px;
  border-radius:999px;
  background:#f6dfaa;
  color:#76520e;
  font-size:11px;
  font-weight:700;
}
.customer-note-value{
  padding:10px 12px;
  border-radius:10px;
  background:#fff8e9;
  color:#6e501b;
  line-height:1.65;
}
.customer-note-empty{
  color:#9aa7b5;
  font-weight:400!important;
}
.modal-actions .customer-preview{
  background:#176fa8;
  color:#fff;
}


/* V1.3 本机订单找回与跨浏览器下载中心 */
.recent-orders-card{width:100%;background:#fff;border:1px solid #e1eaf2;border-radius:18px;padding:22px;box-shadow:0 10px 34px #1f29370d}
.recent-orders-head{display:flex;align-items:flex-start;justify-content:space-between;gap:14px;margin-bottom:14px}
.recent-orders-head h2{margin:0 0 6px;font-size:22px}.recent-orders-head p{margin:0;color:var(--muted);font-size:13px;line-height:1.65}
.recent-clear-button{flex:0 0 auto;border:0;border-radius:9px;padding:9px 12px;background:#f1f4f7;color:#68778a;font-size:13px}
.recent-empty{padding:22px 16px;border-radius:13px;background:#f7f9fb;color:#7b8794;text-align:center;line-height:1.7}
.recent-order-item{display:flex;align-items:center;gap:14px;padding:14px;border:1px solid var(--line);border-radius:13px;background:#fff}
.recent-order-item+.recent-order-item{margin-top:10px}.recent-order-main{flex:1;min-width:0}
.recent-order-title-row{display:flex;align-items:flex-start;gap:10px}.recent-order-title-row b{flex:1;min-width:0;line-height:1.55}
.recent-order-status{flex:0 0 auto;padding:4px 8px;border-radius:999px;font-size:12px;font-weight:800}
.recent-order-status.pending{background:#fff3d9;color:#9a5b00}.recent-order-status.confirmed{background:#e7f7ee;color:#137541}.recent-order-status.rejected{background:#fff0ed;color:#b53622}
.recent-order-meta{display:flex;gap:6px 13px;flex-wrap:wrap;margin-top:7px;color:#7b8794;font-size:12px}
.recent-order-actions{display:flex;flex-direction:column;gap:7px}.recent-order-actions button{border:0;border-radius:9px;padding:9px 12px;background:#e9f3fb;color:#1769aa;white-space:nowrap;font-size:13px}
.recent-order-actions .recent-remove{background:#f6f7f8;color:#7a8796}.recent-privacy-note{margin:12px 2px 0;color:#8a96a3;font-size:12px;line-height:1.65}
.download-page{min-height:100vh;margin:0;padding:24px 14px;background:#f3f7fb}.download-center-wrap{width:min(620px,100%);margin:0 auto;min-height:calc(100vh - 48px);display:grid;place-items:center}
.download-center-card{width:100%;padding:28px 24px;border-radius:20px;background:#fff;box-shadow:0 18px 55px #1f293718;text-align:center}
.download-center-icon{width:68px;height:68px;margin:0 auto 14px;display:grid;place-items:center;border-radius:20px;background:#eaf4fc;color:#1769aa;font-size:34px;font-weight:900}
.download-center-card h1{margin:0 0 8px;font-size:27px}.download-center-card>p{margin:0 0 18px;color:var(--muted);line-height:1.7}
.download-message{margin:14px 0;padding:14px;border-radius:12px;line-height:1.7}.download-message.pending{background:#fff7e5;color:#855b08}.download-message.confirmed{background:#eaf8f0;color:#17613d}.download-message.rejected{background:#fff0ed;color:#a83220}
.download-file-card{margin:14px 0;padding:14px;border:1px solid var(--line);border-radius:12px;text-align:left}.download-file-card span,.download-file-card b,.download-file-card small{display:block}.download-file-card span,.download-file-card small{color:var(--muted);font-size:13px}.download-file-card b{margin:6px 0;overflow-wrap:anywhere;line-height:1.55}
.embedded-guide{margin:14px 0;padding:16px;border-radius:13px;background:#edf6fd;color:#245474;text-align:left;line-height:1.7}.embedded-guide b{display:block;margin-bottom:5px}.embedded-guide p{margin:0 0 12px}
.primary-download-button,.secondary-download-button,.text-download-button{width:100%;border:0;border-radius:12px;padding:14px 16px;font-weight:800;font-size:16px}.primary-download-button{background:#1769aa;color:#fff}.secondary-download-button{margin-top:10px;background:#eaf3fb;color:#1769aa}.text-download-button{margin-top:6px;background:transparent;color:#66788a;font-size:14px}
.primary-download-button:disabled{opacity:.62;cursor:wait}.download-security-note{margin:16px 0 0!important;color:#8b97a6!important;font-size:12px!important;line-height:1.7!important}
@media(max-width:620px){.recent-orders-card{padding:18px}.recent-orders-head{flex-direction:column}.recent-clear-button{width:100%}.recent-order-item{align-items:stretch;flex-direction:column}.recent-order-actions{flex-direction:row}.recent-order-actions button{flex:1}.download-center-card{padding:24px 18px}}


/* V1.3.1 订单界面简化热修复 */
.success-simple{max-width:560px;margin:0 auto}
.success-mark-small{width:54px;height:54px;margin-bottom:12px;font-size:29px}
.success-main-copy{text-align:center;margin-bottom:16px}
.success-main-copy b,.success-main-copy span{display:block}
.success-main-copy b{font-size:21px;color:#17613d}
.success-main-copy span{margin-top:6px;color:#66788a;font-size:14px;line-height:1.55}
.success-product-card{display:grid;grid-template-columns:52px 1fr auto;gap:10px 12px;align-items:center;padding:15px;border:1px solid var(--line);border-radius:14px;background:#f7f9fb}
.success-product-card span{color:var(--muted);font-size:13px}
.success-product-card b{min-width:0;line-height:1.55}
.success-product-card strong{color:#dd4d31;font-size:19px;white-space:nowrap}
.success-actions{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-top:14px}
.success-actions .download,.success-actions button{margin:0;width:100%;padding:13px;border-radius:11px;font-size:15px;font-weight:800}
.success-copy-order{border:0;background:#eaf3fb;color:#1769aa}
.success-save-warning{margin-top:12px;padding:10px 12px;border-radius:10px;background:#fff7e5;color:#855b08;text-align:center;font-size:13px}
.success-credential-fold{margin-top:12px}
.success-credential-fold .order-created-codes{margin-top:10px}

.order-simple-page{gap:14px}
.order-home-link{display:inline-flex;width:max-content;color:#1769aa;text-decoration:none;font-size:14px}
.order-section-label{display:block;margin-bottom:5px;color:#8793a1;font-size:12px}
.order-focus-card{box-shadow:0 10px 34px #1f29370d}
.order-empty-focus{padding:24px 18px;border-radius:14px;background:#f7f9fb;text-align:center}
.order-empty-focus b,.order-empty-focus span{display:block}
.order-empty-focus b{font-size:17px}
.order-empty-focus span{margin-top:6px;color:#8491a0;font-size:13px}

.simple-recent-card{padding:18px}
.simple-recent-head{align-items:center;margin-bottom:12px}
.simple-recent-head h2{margin:0;font-size:21px}
.recent-limit{display:inline-block;margin-left:7px;padding:3px 7px;border-radius:999px;background:#edf4fa;color:#5f7890;font-size:11px;vertical-align:middle}
.simple-recent-item{position:relative;display:grid;grid-template-columns:1fr 34px;gap:8px;padding:0;overflow:hidden}
.recent-order-open{min-width:0;border:0;background:#fff;padding:14px 12px 14px 14px;text-align:left}
.recent-order-open:active{background:#f8fafc}
.simple-recent-meta{margin-top:8px}
.simple-recent-meta strong{color:#dd4d31;font-size:13px}
.recent-remove-icon{align-self:center;width:30px;height:30px;margin-right:8px;border:0;border-radius:50%;background:#f3f5f7;color:#8c98a5;font-size:20px;line-height:1}
.compact-recent-empty{padding:18px 14px}
.recent-clear-button{padding:7px 10px}

.manual-query-panel{overflow:hidden;border:1px solid #e1eaf2;border-radius:16px;background:#fff;box-shadow:0 10px 34px #1f29370d}
.manual-query-panel>summary{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:17px 18px;cursor:pointer;list-style:none}
.manual-query-panel>summary::-webkit-details-marker{display:none}
.manual-query-panel>summary span b,.manual-query-panel>summary span small{display:block}
.manual-query-panel>summary span b{font-size:16px}
.manual-query-panel>summary span small{margin-top:4px;color:#8995a2;font-size:12px}
.manual-query-panel>summary i{font-style:normal;color:#8a96a3;transition:transform .18s ease}
.manual-query-panel[open]>summary i{transform:rotate(180deg)}
.simple-pickup-card{border:0;border-top:1px solid var(--line);border-radius:0;box-shadow:none;padding:18px}
.simple-pickup-card .compact-pickup-form{grid-template-columns:1fr 1fr}
.simple-pickup-card .pickup-submit{grid-column:1/-1;width:100%}
.simple-pickup-card .manual-remember-option{grid-column:1/-1}

.focus-product-card{display:grid;grid-template-columns:1fr auto;gap:14px;align-items:center;padding:16px;border-radius:14px;background:#f6f9fc}
.focus-product-card div span,.focus-product-card div b{display:block}
.focus-product-card div span{margin-bottom:5px;color:#8793a1;font-size:12px}
.focus-product-card div b{font-size:17px;line-height:1.55}
.focus-product-card strong{color:#dd4d31;font-size:21px;white-space:nowrap}
.focus-status-message{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:12px;padding:13px 14px;border-radius:12px}
.focus-status-message b,.focus-status-message span{display:block}
.focus-status-message b{font-size:15px}
.focus-status-message span{color:inherit;font-size:13px;opacity:.8;text-align:right}
.focus-status-message.pending{background:#fff7e5;color:#855b08}
.focus-status-message.confirmed{background:#eaf8f0;color:#17613d}
.focus-status-message.rejected{background:#fff0ed;color:#a83220}
.focus-download{margin-top:12px}

.credential-fold{margin-top:12px;border:1px solid var(--line);border-radius:12px;background:#fff}
.credential-fold>summary{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:12px 14px;cursor:pointer;list-style:none;color:#5f7082;font-size:14px}
.credential-fold>summary::-webkit-details-marker{display:none}
.credential-fold>summary small{color:#96a0ab}
.credential-fold .compact-code-list{margin:0 12px 12px}
.credential-fold .compact-copy-button{width:calc(100% - 24px);margin:0 12px 12px}

@media(max-width:620px){
  .success-product-card{grid-template-columns:44px 1fr auto;padding:13px}
  .success-product-card b{font-size:15px}
  .success-product-card strong{font-size:17px}
  .success-actions{grid-template-columns:1fr}
  .simple-recent-card{padding:16px}
  .simple-pickup-card .compact-pickup-form{grid-template-columns:1fr}
  .focus-product-card{align-items:flex-start}
  .focus-status-message{align-items:flex-start;flex-direction:column;gap:4px}
  .focus-status-message span{text-align:left}
}


/* V1.3.2 精简文字与单按钮 */
.success-actions-single{grid-template-columns:1fr}
.success-actions-single .success-view-order{width:100%}
.order-focus-card .compact-order-head h1{margin-bottom:0}


/* CloudBase v2.5.0-ui1 企业微信/管理后台弹窗简化 */
.admin-focus-head{padding-right:48px}
.admin-focus-head h2{margin:13px 0 7px;font-size:21px;line-height:1.45}
.admin-focus-head>b{display:block;color:#ef5334;font-size:25px}
.admin-priority-grid{display:grid;grid-template-columns:160px 1fr;gap:10px;margin:18px 0}
.admin-priority-card{padding:13px 14px;border-radius:13px;background:#f6f9fc}
.admin-priority-card>span,.admin-priority-card>b{display:block}
.admin-priority-card>span{margin-bottom:5px;color:#8493a3;font-size:12px}
.admin-priority-card>b{font-size:15px}
.admin-note-card p{margin:0;padding:0;background:transparent;line-height:1.55}
.admin-primary-actions .primary{background:#168d4c}
.admin-order-details{margin-top:12px;border:1px solid #e2e9f0;border-radius:13px;background:#fff}
.admin-order-details>summary{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:13px 14px;cursor:pointer;list-style:none;color:#5e7082;font-size:14px}
.admin-order-details>summary::-webkit-details-marker{display:none}
.admin-order-details>summary small{color:#95a1ad}
.admin-fold-grid{margin:0 12px 12px}
.admin-customer-preview{width:calc(100% - 24px);margin:0 12px 12px;padding:12px;border:0;border-radius:11px;background:#edf4fa;color:#176fa8;font-size:14px;font-weight:700}
@media(max-width:620px){
  .admin-priority-grid{grid-template-columns:1fr}
  .admin-focus-head h2{font-size:19px}
}


/* CloudBase v2.5.0-ui2 极简管理员登录页 */
.admin-login-mode{min-height:100svh;background:#f3f6fa}
.admin-login-mode .compact-header{display:none!important}
.admin-login-mode .compact-admin-main{
  max-width:none;
  min-height:100svh;
  margin:0;
  padding:clamp(72px,15vh,150px) 18px 32px;
}
.admin-login-simple{
  width:min(430px,100%);
  max-width:430px;
  margin:0 auto;
  padding:26px;
  border:1px solid #e5ebf1;
  border-radius:18px;
  box-shadow:0 16px 46px rgba(31,41,55,.10);
}
.admin-login-simple h1{margin:0;text-align:center;font-size:24px}
.admin-login-subtitle{margin:7px 0 22px;color:#8090a3;text-align:center;font-size:13px}
.admin-login-form{gap:11px}
.admin-login-form label>span{display:block;margin-bottom:7px;color:#65758a;font-size:13px}
.admin-login-form input{margin-top:0}
.admin-login-form .submit{margin-top:2px}
.admin-login-memory{margin:13px 0 0;color:#96a1ad;text-align:center;font-size:12px}
.admin-login-simple .error-text{min-height:18px;text-align:center;font-size:13px}
@media(max-width:620px){
  .admin-login-mode .compact-admin-main{padding:84px 18px 28px}
  .admin-login-simple{padding:23px 20px}
}


/* CloudBase v2.5.0-ui3 始终可见的客户订单按钮 */
.admin-view-customer-button{
  width:100%;
  margin:16px 0 10px;
  padding:14px 16px;
  border:0;
  border-radius:13px;
  background:#e9f3fb;
  color:#126fa8;
  font-size:16px;
  font-weight:800;
  cursor:pointer;
}
.admin-view-customer-button:active{
  transform:translateY(1px);
}


/* V1.3.5 查询状态精确提示 */
.status-pill.not-found{
  background:#eef1f4;
  color:#5d6874;
}
.status-pill.incomplete{
  background:#fff5df;
  color:#8a5a00;
}
.status-pill.busy{
  background:#fff5df;
  color:#8a5a00;
}
.status-pill.network,
.status-pill.error{
  background:#fff0ed;
  color:#a83220;
}
.manual-query-panel:not([open]) .simple-pickup-card{
  display:none;
}


/* v2.6.0 缺货清单 */
.stockout-card{
  margin:0 0 11px;
  padding:16px;
  border:1px solid #e4eaf0;
  border-radius:16px;
  background:#fff;
  box-shadow:0 7px 22px rgba(27,54,78,.05);
}
.stockout-main{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:14px;
}
.stockout-main strong{
  min-width:0;
  color:#172634;
  font-size:17px;
  line-height:1.45;
  word-break:break-word;
}
.stockout-main b{
  flex:0 0 auto;
  padding:6px 10px;
  border-radius:999px;
  background:#eef7ff;
  color:#1672ad;
  font-size:13px;
}
.stockout-meta{
  display:flex;
  flex-wrap:wrap;
  gap:6px 18px;
  margin-top:10px;
  color:#8595a5;
  font-size:12px;
  line-height:1.5;
}
.stockout-actions{
  display:flex;
  justify-content:flex-end;
  margin-top:12px;
  padding-top:11px;
  border-top:1px solid #edf1f5;
}
.stockout-delete{
  min-width:76px;
  padding:8px 14px;
  border:0;
  border-radius:10px;
  background:#fff0ed;
  color:#b33f2f;
  font-size:14px;
  font-weight:700;
}
.stockout-delete:active{background:#fbded8}
@media(max-width:420px){
  .compact-tabs button{font-size:14px;padding:11px 5px}
  .stockout-main{align-items:flex-start}
}

.download-device-notice{margin:0;padding:12px 14px;border-radius:14px;background:#fff7df;color:#8a5b00;font-size:14px;line-height:1.55;text-align:center}

/* v1.4.7 */
.download-count-display{margin:0 0 14px;padding:10px 14px;border-radius:12px;background:#eef6fc;color:#1769aa;font-weight:800;text-align:center}
.download-short-note{margin:16px 0 0!important;color:#8b97a6!important;font-size:12px!important;line-height:1.7!important}

/* v2.90 付款进度与发货状态 */
.order-progress-strip{display:flex;flex-wrap:wrap;gap:8px;align-items:center;margin:10px 0 2px}
.order-progress-strip span,.order-progress-strip strong{display:inline-flex;align-items:center;min-height:28px;padding:4px 9px;border-radius:999px;font-size:12px;line-height:1.35}
.order-progress-strip .payment-progress{background:#eef4ff;color:#2457a7}
.order-progress-strip .payment-progress.underpaid{background:#fff1df;color:#a84f00}
.order-progress-strip .payment-progress.supplement_completed,.order-progress-strip .payment-progress.payment_confirmed{background:#e9f8ef;color:#187442}
.order-progress-strip strong{background:#fff0ec;color:#b53b1f}
.order-progress-strip .delivery-progress{background:#f0f2f5;color:#4f5c68}
.wecom-style-order-summary{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin:14px 0;padding:14px;border:1px solid #dfe7ef;border-radius:16px;background:#f8fbfe}
.wecom-style-order-summary>div{min-width:0;padding:10px;border-radius:12px;background:#fff}
.wecom-style-order-summary span,.wecom-style-order-summary b{display:block}
.wecom-style-order-summary span{margin-bottom:4px;color:#718096;font-size:12px}
.wecom-style-order-summary b{color:#172334;font-size:15px;line-height:1.45;word-break:break-word}
.wecom-style-order-summary .summary-warning{background:#fff5e8;border:1px solid #f6d3a6}
.wecom-style-order-summary .summary-warning b{color:#b65200}
.delivery-status-panel{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin:12px 0;padding:13px 14px;border-radius:14px;background:#edf8f1;border:1px solid #cde8d7}
.delivery-status-panel span{color:#557064;font-size:13px}
.delivery-status-panel strong{color:#176c3d;font-size:17px}
.delivery-status-panel small{width:100%;color:#66746d;line-height:1.5}
@media(max-width:520px){.wecom-style-order-summary{grid-template-columns:1fr}}
.customer-progress-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin:12px 0}
.customer-progress-grid>div{padding:12px;border-radius:13px;background:#f5f8fc;border:1px solid #e1e8f0}
.customer-progress-grid span,.customer-progress-grid b{display:block}
.customer-progress-grid span{margin-bottom:4px;color:#718096;font-size:12px}
.customer-progress-grid b{font-size:15px;color:#172334}
.customer-progress-grid .customer-progress-warning{background:#fff3e5;border-color:#f5d0a2}
.customer-progress-grid .customer-progress-warning b{color:#ad4c00}
@media(max-width:520px){.customer-progress-grid{grid-template-columns:1fr}}
.supplement-action-panel{display:flex;align-items:center;justify-content:space-between;gap:14px;margin:14px 0;padding:14px;border:1px solid #f1d6a8;border-radius:14px;background:#fff9ef}.supplement-action-panel>div{display:grid;gap:5px}.supplement-action-panel b{font-size:15px;color:#7a4b00}.supplement-action-panel span{font-size:13px;line-height:1.6;color:#6b5a3f}.supplement-primary-button,.supplement-secondary-button{flex:0 0 auto;border:0;border-radius:10px;padding:10px 14px;font-weight:700;cursor:pointer}.supplement-primary-button{background:#111827;color:#fff}.supplement-secondary-button{background:#fff;border:1px solid #d9b97b;color:#7a4b00}.supplement-primary-button:disabled{cursor:wait;opacity:.65}.supplement-invalidated-message{margin:12px 0;padding:12px 14px;border-radius:12px;background:#fff2f0;color:#9b2c20;font-size:13px;line-height:1.6}@media(max-width:640px){.supplement-action-panel{align-items:stretch;flex-direction:column}.supplement-primary-button,.supplement-secondary-button{width:100%}}

/* v2.90 XunhuPay order QR payment */
.payment-qr-panel{
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  gap:10px;
  margin:14px 0;
  padding:18px 14px 12px;
  border:1px solid #dce8f3;
  border-radius:16px;
  background:#f7fbff;
  text-align:center;
}
.payment-qr-image-frame{
  display:grid;
  place-items:center;
  width:240px;
  height:240px;
  min-width:240px;
  min-height:240px;
  margin:0 auto;
  background:#fff;
  border-radius:14px;
  overflow:hidden;
}
.payment-qr-image-frame img{
  display:block !important;
  width:240px !important;
  height:240px !important;
  min-width:240px !important;
  min-height:240px !important;
  max-width:240px !important;
  max-height:240px !important;
  object-fit:contain !important;
  aspect-ratio:1/1 !important;
}
.payment-qr-note{
  width:100%;
  margin-top:2px;
  color:#b26a00;
  font-size:14px;
  line-height:1.5;
  text-align:center;
}
@media (max-width:520px){
  .payment-qr-image-frame{
    width:min(240px,72vw);
    height:min(240px,72vw);
    min-width:min(240px,72vw);
    min-height:min(240px,72vw);
  }
  .payment-qr-image-frame img{
    width:min(240px,72vw) !important;
    height:min(240px,72vw) !important;
    min-width:min(240px,72vw) !important;
    min-height:min(240px,72vw) !important;
    max-width:min(240px,72vw) !important;
    max-height:min(240px,72vw) !important;
  }
}
/* v2.90 order detail compact payment row */
.payment-status-row{
  grid-column:1 / -1;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
}
.payment-status-row .payment-status-copy{
  min-width:0;
}
.payment-status-row .payment-received-amount{
  flex:0 0 auto;
  margin-left:auto;
  font-size:20px;
  line-height:1.2;
  color:#172334;
  white-space:nowrap;
}
/* v2.90 unpaid order QR refresh */
.payment-refresh-button{
  display:block;
  width:min(320px,100%);
  margin:14px auto;
  padding:12px 16px;
  border:0;
  border-radius:12px;
  background:#111827;
  color:#fff;
  font-weight:700;
  font-size:15px;
  cursor:pointer;
}
.payment-refresh-button:disabled{opacity:.65;cursor:wait}

.supplement-complete-message{align-items:flex-start}.supplement-complete-message b{font-size:16px}.supplement-complete-message span{font-size:12px;line-height:1.45;opacity:.72;text-align:right}.supplement-root-order-button{display:block;width:100%;margin-top:10px;border:0;border-radius:10px;padding:11px 14px;background:#eaf3fb;color:#0b67a3;font-weight:700;cursor:pointer}@media(max-width:640px){.supplement-complete-message span{text-align:left}}

.supplement-complete-message span{
  font-size:12px;
  line-height:1.45;
  opacity:.68;
  font-weight:400;
}
.supplement-root-credential-hint{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  padding:14px 16px;
}
.supplement-root-credential-hint small{
  font-size:12px;
  color:#7b8aa0;
}
