*{box-sizing:border-box} :root{--ink:#222a29;--muted:#6e7673;--line:#dfe5e0;--green:#285247;--bg:#f5f6f1;--lime:#dceba8;--white:#fff;--warn:#8a5a13}body{margin:0;background:var(--bg);color:var(--ink);font:15px/1.65 "Microsoft YaHei",system-ui,sans-serif}button,input,select{font:inherit}a{color:inherit;text-decoration:none}button,a,input,select{outline-offset:4px}button{cursor:pointer}.demo{padding:8px 24px;background:#e8eee2;color:#456047;text-align:center;font-size:12px;letter-spacing:.04em}.dot{display:inline-block;width:6px;height:6px;background:#66834c;border-radius:50%;margin-right:8px}header{max-width:1216px;margin:auto;height:100px;display:flex;align-items:center;gap:35px;padding:0 32px}.brand{display:flex;align-items:center;gap:12px;font-size:20px;font-weight:700;line-height:1.3}.brand small{display:block;color:var(--muted);font-size:10px;font-weight:400;letter-spacing:.12em;margin-top:5px}.brandmark{display:grid;place-items:center;background:var(--green);color:var(--lime);width:44px;height:44px;border-radius:13px;font-size:24px}nav{display:flex;gap:30px;margin:auto}nav a{font-size:14px;color:var(--muted)}nav a.active{color:var(--green);font-weight:700}.adminlink{font-size:12px;border:1px solid var(--line);padding:9px 15px;border-radius:20px}main{max-width:1216px;min-height:70vh;padding:24px 32px 60px;margin:auto}.hero{display:grid;grid-template-columns:1.35fr 1fr;gap:45px;align-items:center;padding:12px 0 44px}.eyebrow{font-size:11px;color:var(--green);font-weight:700;letter-spacing:.15em;text-transform:uppercase}.hero h1{font-size:clamp(32px,4vw,53px);line-height:1.22;letter-spacing:-2px;margin:15px 0 20px;font-weight:700}.hero p{color:var(--muted);max-width:430px;font-size:14px}.hero-art{background:#e6ecdf;border:1px solid #d8e0cf;border-radius:24px;padding:24px;transform:rotate(-1.5deg);position:relative}.art-label{font-size:10px;letter-spacing:.12em;color:#62755d}.art-card{margin:16px 0;background:white;border-radius:12px;padding:14px 18px;display:flex;align-items:center;gap:16px;box-shadow:0 10px 25px #193d2810}.art-icon,.product-icon{width:48px;height:48px;border:1px solid var(--line);border-radius:12px;display:grid;place-items:center;font-size:24px;background:#f9faf5}.art-card strong{display:block;font-size:14px}.art-card small{color:var(--muted);font-size:11px}.art-check{margin-left:auto;color:#55774b}.art-footer{display:flex;justify-content:space-between;font-size:11px;color:#63715e}.section-head{display:flex;align-items:center;justify-content:space-between;gap:20px;margin:10px 0 20px}.section-head h2{font-size:21px;margin:0}.section-head p{margin:4px 0;color:var(--muted);font-size:12px}.tag{display:inline-flex;align-items:center;background:#eaf1e6;color:#42633b;font-size:11px;border-radius:6px;padding:4px 9px}.tag.gray{background:#edf0ee;color:#65706a}.tag.amber{background:#fff1d9;color:var(--warn)}.grid{display:grid;grid-template-columns:1fr 1fr;gap:22px}.card{border:1px solid var(--line);border-radius:18px;background:var(--white);padding:27px}.product-top{display:flex;align-items:center;justify-content:space-between}.product-icon{width:52px;height:52px;background:#f0f5ec;border:0;color:var(--green)}.card h3{font-size:22px;margin:20px 0 8px}.desc{font-size:13px;color:var(--muted);min-height:46px}.features{border-top:1px solid #edf0eb;border-bottom:1px solid #edf0eb;padding:15px 0;margin:18px 0;display:grid;gap:8px;font-size:13px}.features span:before{content:'✓';color:#507943;margin-right:9px}.price-row{display:flex;justify-content:space-between;align-items:end;margin-top:25px}.price{font-size:34px;line-height:1.2;font-weight:700;letter-spacing:-1px}.price small{font-size:13px;font-weight:400;letter-spacing:0}.price.unset{font-size:21px;letter-spacing:0}.price-note{font-size:11px;color:var(--muted);margin-top:6px}.btn{border:1px solid var(--green);background:var(--green);color:#fff;border-radius:9px;padding:11px 20px;display:inline-block;font-size:13px;font-weight:600;text-align:center;cursor:pointer}.btn.secondary{background:white;color:var(--green)}.btn.ghost{background:transparent;border-color:var(--line);color:var(--muted)}.btn.danger{background:#fff;border-color:#d4b5ac;color:#935343}.btn:disabled{opacity:.45;cursor:not-allowed}.note{padding:16px 20px;background:#edf1e7;border-radius:10px;color:#596952;font-size:12px;margin-top:23px}.steps{display:grid;grid-template-columns:repeat(3,1fr);margin-top:25px;border:1px solid var(--line);border-radius:15px;overflow:hidden}.step{padding:20px 24px;border-right:1px solid var(--line);display:flex;align-items:start;gap:14px}.step:last-child{border:0}.step b{font-size:20px;color:#829276;font-weight:400}.step strong{font-size:13px;display:block}.step small{font-size:11px;color:var(--muted)}footer{max-width:1152px;margin:0 auto;padding:24px 0;border-top:1px solid var(--line);display:flex;justify-content:space-between;color:#7c847f;font-size:11px}.page-title{margin:8px 0 25px}.page-title h1{font-size:30px;margin:6px 0}.page-title p{color:var(--muted);font-size:13px;margin:0}.columns{display:grid;grid-template-columns:1.35fr 1fr;gap:22px}.panel{border:1px solid var(--line);border-radius:16px;background:#fff;padding:25px;margin-bottom:20px}.panel h2{margin:0 0 20px;font-size:18px}.panel h3{font-size:15px;margin:20px 0 10px}.row{display:flex;justify-content:space-between;align-items:center;gap:15px;margin:12px 0;font-size:13px}.muted{color:var(--muted)}.field{display:block;margin:17px 0;font-size:13px}.field input,.field select{display:block;margin-top:7px;width:100%;padding:11px 12px;border:1px solid #ccd5cc;border-radius:8px;background:white;color:var(--ink)}.choices{display:flex;gap:12px;margin:10px 0 20px}.choice{flex:1;border:1px solid var(--line);border-radius:9px;padding:12px;font-size:13px;cursor:pointer}.choice:has(input:checked){border-color:var(--green);background:#f1f6ee}.choice input{accent-color:var(--green)}.agree{display:flex;gap:8px;font-size:12px;color:var(--muted);align-items:start;margin:20px 0}.agree input{margin-top:5px;accent-color:var(--green)}.full{width:100%}.callout{padding:15px 17px;background:#fff7e8;border:1px solid #f1dfbd;border-radius:9px;font-size:12px;color:#80612d}.demo-pay{border:1px dashed #bbc8b6;background:#f4f7f0;padding:25px;border-radius:12px;text-align:center;margin:20px 0}.demo-pay strong{display:block;font-size:17px;margin:10px}.demo-pay p{font-size:12px;color:var(--muted)}.actions{display:flex;gap:10px;flex-wrap:wrap;margin-top:20px}.credential{border:1px solid var(--line);border-radius:10px;padding:15px;background:#f7f9f4;font-size:13px;overflow-wrap:anywhere}.credential p{margin:5px 0}.code{font-size:38px;font-weight:700;letter-spacing:.2em;margin:15px 0;color:var(--green)}.timeline{display:flex;gap:8px;margin:20px 0}.timeline span{height:5px;background:#e7ece3;flex:1;border-radius:3px}.timeline span.done{background:var(--green)}.empty{text-align:center;padding:45px 20px;color:var(--muted)}.stats{display:grid;grid-template-columns:repeat(3,1fr);gap:18px;margin-bottom:20px}.stat{background:#fff;border:1px solid var(--line);border-radius:12px;padding:18px}.stat b{font-size:28px;display:block}.stat small{font-size:12px;color:var(--muted)}.table-wrap{overflow:auto}table{border-collapse:collapse;width:100%;font-size:12px;white-space:nowrap}th,td{padding:14px 10px;text-align:left;border-bottom:1px solid var(--line)}th{color:var(--muted);font-weight:400}td .btn{padding:6px 10px;font-size:11px}details{border-bottom:1px solid var(--line);padding:17px 0;font-size:13px}summary{cursor:pointer;font-weight:600}details p{color:var(--muted);line-height:1.9}#toast{position:fixed;bottom:30px;left:50%;transform:translateX(-50%);padding:12px 24px;background:#243e34;color:white;border-radius:10px;box-shadow:0 5px 25px #0002;display:none;z-index:10;font-size:13px}.back{font-size:12px;color:var(--muted);display:inline-block;margin-bottom:15px}.small{font-size:12px}.serial{font:12px/1.5 Consolas,monospace;overflow-wrap:anywhere}
@media(max-width:760px){header{height:auto;min-height:95px;padding:20px;gap:16px;flex-wrap:wrap}.brand{font-size:17px}.brandmark{width:35px;height:35px;font-size:20px}nav{order:3;width:100%;justify-content:space-between;margin:0;gap:15px}.adminlink{margin-left:auto;padding:6px 10px}main{padding:15px 18px 40px}.hero{grid-template-columns:1fr;gap:15px;padding-bottom:30px}.hero h1{font-size:37px}.hero-art{display:none}.grid,.columns{grid-template-columns:1fr}.card,.panel{padding:22px}.steps{grid-template-columns:1fr}.step{border-right:0;border-bottom:1px solid var(--line);padding:15px 20px}.stats{gap:8px}.stat{padding:12px}.stat b{font-size:22px}.stat small{font-size:10px}footer{padding:20px;display:grid;gap:6px}.price{font-size:30px}.page-title h1{font-size:25px}.section-head{align-items:start}.actions .btn{flex-grow:1}}
textarea{width:100%;display:block;margin-top:7px;padding:11px;border:1px solid #ccd5cc;border-radius:8px;font:inherit;resize:vertical}textarea:focus{outline:2px solid #285247;outline-offset:2px}

.payment-qr{display:block;max-width:260px;width:100%;height:auto;max-height:340px;object-fit:contain;margin:18px auto;border:1px solid #dfe5e0;border-radius:10px;background:white;padding:10px}

.table-wrap th:last-child,.table-wrap td:last-child{position:sticky;right:0;background:#fff;box-shadow:-8px 0 10px -9px #1c332a55}

/* 转账备注码：显眼 + 可点击复制 */
.paynote{margin:16px 0;padding:14px 16px;border:1px dashed #a9c46a;background:#f4fae3;border-radius:12px;display:flex;align-items:center;justify-content:space-between;gap:14px;flex-wrap:wrap}
.paynote-text{display:grid;gap:2px;min-width:170px}
.paynote-text strong{font-size:14px;color:#2b4128}
.paynote-text span{font-size:12px;color:#5f6b44;line-height:1.5}
.paycode{display:inline-flex;align-items:center;gap:10px;border:1px solid #7fa03c;background:#e6f2c4;color:#25391f;border-radius:10px;padding:8px 16px;font:700 26px/1.2 Consolas,monospace;letter-spacing:.16em;cursor:pointer;transition:background .15s,transform .05s}
.paycode:hover{background:#dbedaf}
.paycode:active{transform:translateY(1px)}
.paycode small{font:400 10px/1.2 "Microsoft YaHei",sans-serif;letter-spacing:0;color:#5c6b47}
@media(max-width:760px){.paynote{padding:12px}.paycode{font-size:21px;padding:7px 12px;letter-spacing:.12em;width:100%;justify-content:center}}

/* 提货码：客户退出后凭它回到原订单 */
.claimbox{margin:14px 0;padding:13px 15px;border:1px dashed #a9c46a;background:#f4fae3;border-radius:12px}
.claimbox strong{display:block;font-size:13px;color:#2b4128;margin-bottom:7px}
.claimcode{font:13px/1.7 Consolas,monospace;color:#25391f;background:#fff;border:1px solid #d7e6b7;border-radius:8px;padding:8px 10px;word-break:break-all}
.claimbox .small{margin:8px 0 0}

/* 主页：企业微信联系卡片 */
.contact{display:flex;gap:30px;align-items:center;justify-content:space-between;margin-top:22px}
.contact-text{flex:1 1 320px}
.contact-text .eyebrow{font-size:11px;color:var(--green);font-weight:700;letter-spacing:.15em}
.contact-text h2{margin:8px 0 10px;font-size:19px}
.contact-text p{margin:0 0 6px}
.contact-qr{margin:0;flex:0 0 auto;text-align:center}
.contact-qr img{display:block;width:238px;height:auto;border-radius:14px;border:1px solid #dfe5e0;background:#fff}
.contact-qr figcaption{margin-top:9px;font-size:12px;color:var(--muted)}
@media(max-width:760px){.contact{flex-direction:column;gap:18px}.contact-qr img{width:100%;max-width:260px;margin:0 auto}}

/* 移动端加固：防止长内容把页面撑宽导致右侧被裁 */
@media(max-width:760px){
  body{overflow-x:hidden}
  nav{flex-wrap:wrap;justify-content:flex-start;gap:8px 16px}
  .row{flex-wrap:wrap;gap:8px 12px}
  .contact-text h2{font-size:17px}
  .contact-qr img{width:100%;max-width:230px}
}

/* 窄屏真正的原因：grid/flex 子项默认 min-width:auto，长行内容会把轨道撑破 */
@media(max-width:760px){
  .grid>*,.columns>*,.row>*,.card,.panel{min-width:0}
  .row span,.row strong,.features span{overflow-wrap:anywhere}
}
