:root{font-family:"PingFang SC","Microsoft YaHei",system-ui,sans-serif;color:#203b30;background:#f3f6f4;font-synthesis:none}*{box-sizing:border-box}body{margin:0}button,input,select,textarea{font:inherit}button{cursor:pointer}button:disabled{cursor:default}button:focus-visible{outline:3px solid #74bea7;outline-offset:3px}.hidden{display:none!important}.pay-shell{max-width:500px;margin:0 auto;padding:25px 18px max(20px,env(safe-area-inset-bottom))}.pay-header{margin-bottom:19px;padding:0 4px}.pay-brand{display:flex;align-items:center;gap:10px;font-size:23px;font-weight:800;letter-spacing:-.02em}.brand-icon{display:grid;place-items:center;width:33px;height:33px;border-radius:10px;background:#096d58;color:#fff;font-size:18px}.pay-header p{margin:9px 0 0;color:#90a096;font-size:12px}.form-card{background:#fff;border:1px solid #e6ece7;border-radius:19px;padding:24px 22px;box-shadow:0 8px 30px #183b2b06}.field{display:flex;flex-direction:column;gap:9px;margin-bottom:21px}.field-label{font-size:13px;font-weight:700;color:#405b4c}.field-label small{font-size:12px;color:#9baa9e;font-weight:400}.field input:not([type=file]),.field select,.field textarea{width:100%;min-height:47px;border:1px solid #dde6df;border-radius:10px;padding:12px 13px;font-size:16px;color:#2c4938;background:#fcfdfb;outline:0}.field select{appearance:auto;padding-right:12px}.field input:focus,.field select:focus,.field textarea:focus{border-color:#5caa8b;box-shadow:0 0 0 3px #0b765f0a}.channel-field{border:0;padding:0;margin:0 0 21px;min-width:0}.channel-field legend{margin-bottom:10px;padding:0}.channel-options{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:11px}.channel-button{display:flex;align-items:center;gap:9px;border:1px solid #dfe7e1;border-radius:10px;background:#fff;min-height:49px;padding:12px;font-size:14px;font-weight:600;color:#577063}.channel-icon{width:23px;height:23px;display:grid;place-items:center;border-radius:6px;color:#fff;font-size:14px;font-weight:800}.alipay .channel-icon{background:#2389e9}.wechat .channel-icon{background:#28b26b}.channel-check{margin-left:auto;visibility:hidden;font-size:14px;color:#087357}.channel-button[aria-pressed=true]{background:#f0f8f3;border-color:#67ad91;color:#204f37}.channel-button[aria-pressed=true] .channel-check{visibility:visible}.channel-button:disabled{opacity:.48}.qr-entry{display:flex;align-items:center;justify-content:space-between;gap:12px;background:#f5f9f6;border-radius:10px;padding:12px 13px;margin:-4px 0 21px}.qr-entry-label{display:block;font-size:10px;color:#93a195;margin-bottom:3px}.qr-entry strong{display:block;font-size:12px;color:#55725e;max-width:190px;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.qr-entry button{background:transparent;border:0;color:#08735b;font-size:12px;font-weight:700;white-space:nowrap;padding:5px 0}.qr-entry button span{font-size:18px;padding-left:5px}.amount-input{display:flex;align-items:center;border:1px solid #dde6df;border-radius:10px;background:#fcfdfb;padding:0 14px;min-height:56px;gap:11px}.amount-input>span{font-size:21px;color:#577c63}.field .amount-input input{font-size:25px;font-weight:600;border:0;background:transparent;box-shadow:none;padding:12px 0;min-width:0}.amount-input:focus-within{border-color:#5caa8b;box-shadow:0 0 0 3px #0b765f0a}.amount-input input::placeholder{color:#b7c2b7;font-weight:400}.upload-box{position:relative;display:flex;align-items:center;gap:13px;padding:19px 16px;min-height:88px;border:1px dashed #b7cebf;border-radius:11px;background:#fcfdfb}.upload-box input{position:absolute;inset:0;width:100%;height:100%;opacity:0;cursor:pointer}.upload-box:focus-within{outline:3px solid #0b765f12;border-color:#5caa8b}.upload-icon{display:grid;place-items:center;width:39px;height:39px;border-radius:10px;background:#edf5ef;font-size:26px;font-weight:300;color:#75a289}.upload-copy{min-width:0;flex:1}.upload-copy strong{display:block;font-size:13px;font-weight:600;color:#54745e;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;max-width:240px}.upload-copy span{display:block;font-size:11px;color:#a0aea2;margin-top:5px}.upload-arrow{color:#abc2b1;font-size:21px}.receipt-preview{width:48px;height:54px;border:1px solid #dde8df;border-radius:5px;object-fit:cover;flex-shrink:0}.field-hint{margin:0;font-size:10px;color:#99aa9d;line-height:1.6}.field-error{margin:0;font-size:12px;color:#b75043;line-height:1.6;white-space:pre-wrap}.field-error:empty{display:none}#region-hint{margin:-10px 0 17px;color:#a18b56}.note-field textarea{resize:vertical;line-height:1.6;min-height:76px}.note-field{margin-bottom:21px}.submit-button{width:100%;border:0;background:#096d58;color:#fff;font-size:15px;font-weight:700;min-height:49px;border-radius:11px;padding:13px 16px;touch-action:manipulation}.submit-button:disabled{background:#98bdb0;opacity:.85}.submit-button:active:not(:disabled){background:#075442}.submit-hint{text-align:center;font-size:10px;color:#a0aea3;margin:10px 0 0}#form-error:not(:empty){margin-bottom:13px}.last-order{display:block;margin:18px auto 0;background:transparent;border:0;color:#7e9c88;font-size:11px;padding:6px}footer{font-size:10px;color:#a7b3a9;text-align:center;padding:20px 0 0;line-height:1.6}.result-card{text-align:center;padding:32px 22px}.result-icon{display:grid;place-items:center;background:#edf7ef;color:#219265;border-radius:50%;width:56px;height:56px;margin:0 auto 19px;font-size:26px}.result-card h1{font-size:21px;margin:0 0 10px}.result-description{font-size:12px;color:#94a799;margin:0 0 19px}.status-pill{display:inline-block;font-size:12px;border-radius:20px;padding:7px 15px;background:#fbf1d9;color:#a9863e}.status-pill.approved{background:#e5f5e9;color:#23805b}.status-pill.rejected{background:#fbeae4;color:#b4604b}.result-order{text-align:left;background:#f6f9f5;border-radius:10px;padding:13px;margin:24px 0 20px}.result-order span{font-size:10px;color:#97a69c}.result-order p{font-size:12px;color:#637d6b;word-break:break-all;margin:6px 0 0;line-height:1.7}.review-note{font-size:12px;line-height:1.7;text-align:left;padding:12px;background:#f7faf6;border-radius:8px;color:#6f8877;white-space:pre-wrap}.secondary-button{margin-top:10px;min-height:46px;width:100%;border:1px solid #dde8de;border-radius:10px;background:#fff;color:#63816b;font-size:13px}.result-card .field-error{margin:0 0 13px}.qr-dialog{width:min(360px,calc(100% - 32px));max-height:90dvh;overflow:auto;margin:auto;border:1px solid #e2ebe3;border-radius:18px;padding:22px;background:#fff;color:#355443;box-shadow:0 20px 80px #0a2b1d33}.qr-dialog::backdrop{background:#15362870}.qr-dialog-header{display:flex;align-items:center;justify-content:space-between;margin-bottom:18px;gap:8px}.qr-dialog h2{font-size:17px;margin:0}.qr-dialog-header button{border:0;background:#f2f7f2;color:#809786;border-radius:8px;font-size:23px;width:30px;height:30px;line-height:1}.qr-dialog>img{display:block;width:100%;max-height:300px;object-fit:contain;border:8px solid #f7faf5;border-radius:8px;background:#fff}.qr-dialog>p{text-align:center;font-size:12px;line-height:1.7}.qr-help{font-size:11px!important;color:#9aaa9c;margin-bottom:18px}@media(max-width:370px){.pay-shell{padding:20px 12px max(18px,env(safe-area-inset-bottom))}.form-card{padding:21px 17px}.channel-button{gap:7px;padding:11px 9px}.upload-box{padding:16px 12px}.upload-copy strong{font-size:12px}}@media(min-width:650px){.pay-shell{padding-top:45px;padding-bottom:40px}.form-card{padding:27px}.pay-header{margin-bottom:22px}}

.bank .channel-icon{background:#b18b42}.channel-button{justify-content:center;gap:5px;padding:12px 6px;font-size:13px}.channel-check{display:none}.channel-button[aria-pressed=true]{box-shadow:inset 0 0 0 1px #67ad91}.bank-details{margin:0 0 20px;background:#f6f9f5;border-radius:10px;padding:18px}.bank-details dt{font-size:12px;color:#8a9b8e;margin-bottom:5px}.bank-details dd{margin:0 0 17px;font-size:16px;word-break:break-word;user-select:text}.bank-details dd:last-child{margin-bottom:0;font-variant-numeric:tabular-nums;line-height:1.7}

.merchant-link{display:inline-block;color:#729480;margin-top:12px;text-decoration:none;font-size:12px;padding:4px}

/* Readable mobile payment and merchant forms. */
:root{font-size:15px;color:#243f33}
.pay-shell{padding-top:22px;padding-bottom:max(24px,env(safe-area-inset-bottom))}
.pay-header{margin-bottom:16px}.pay-header p{font-size:13px;color:#647b6b;line-height:1.65}
.form-card{padding:20px}.field{gap:7px;margin-bottom:17px}.field-label{font-size:15px;color:#355440}.field-label small{font-size:13px;color:#657d6b}
.field-hint,.submit-hint{font-size:13px!important;color:#657b69;line-height:1.65}
.field input::placeholder,.field textarea::placeholder{color:#758876;opacity:1}
.qr-entry{margin-bottom:17px}.qr-entry-label{font-size:12px;color:#647e6b}.qr-entry strong,.qr-entry button{font-size:14px}
.channel-button{font-size:15px;min-height:48px}.channel-field{margin-bottom:17px}.channel-field legend{font-size:15px}
.upload-copy strong{font-size:15px}.upload-copy span{font-size:13px;color:#687f6d}.upload-box{padding:16px 14px;min-height:80px}
.submit-button{font-size:16px}.note-field{margin-bottom:17px}.field textarea{line-height:1.65}
.result-description,.result-order p,.review-note,.qr-dialog>p,.bank-details dt{font-size:14px;line-height:1.7}.result-order span{font-size:13px}.status-pill{font-size:14px}.bank-details dd{font-size:17px}
footer,.last-order{font-size:12px;color:#6b806e}
@media(min-width:650px){.pay-shell{padding-top:28px}.form-card{padding:23px}}
@media(max-width:370px){.form-card{padding:18px 15px}.channel-button{font-size:14px;padding:10px 5px}.upload-copy strong{font-size:14px}.pay-shell{padding-top:18px}}

/* Center the payment page heading above the form. */
.pay-header{text-align:center;padding:0 8px;margin:4px 0 20px}
.pay-brand{justify-content:center;gap:10px;line-height:1.4}
.pay-header p{margin:10px 0 0;line-height:1.65}
@media(max-width:420px){.pay-header{margin-top:2px;margin-bottom:18px}}

/* Strong contrast and legible system sans-serif text. */
:root{font-family:"Microsoft YaHei","PingFang SC","Noto Sans CJK SC",Arial,sans-serif;color:#182c23;font-size:16px;font-weight:500}
.pay-header p{font-size:14px;color:#425e4c;font-weight:500}
.field-label,.channel-field legend{font-size:16px;color:#213b2c;font-weight:700}
.field-label small{font-size:14px;color:#4e6556}
.field input:not([type=file]),.field select,.field textarea{font-size:17px;font-weight:500;color:#203a2b;background:#fff;border-color:#cbd7cd}
.field input::placeholder,.field textarea::placeholder{color:#536d5b;opacity:1}
.field-hint,.submit-hint{font-size:14px!important;color:#425c49!important;font-weight:500;line-height:1.7}
.channel-button{font-size:16px;color:#294c37;font-weight:700}.channel-button:disabled{opacity:1;background:#f2f4f3;border-color:#d6ded8;color:#65776b}.channel-button:disabled .channel-icon{filter:saturate(.6)}
.qr-entry-label{font-size:13px;color:#4b6352}.qr-entry strong,.qr-entry button{font-size:15px;color:#23573d}
.upload-copy strong{font-size:16px;color:#244b34;font-weight:700}.upload-copy span{font-size:14px;color:#496651}.upload-box{border-color:#8fad98;background:#fff}
.amount-input>span{color:#315f42}.field .amount-input input{font-size:28px;font-weight:600}.amount-input input::placeholder{color:#536f5b;font-weight:500}
.submit-button{font-size:17px;font-weight:700}.submit-button:disabled{background:#e2e8e4;color:#53665a;opacity:1}
footer,.last-order{font-size:14px;color:#48624f;font-weight:500}
@media(max-width:370px){.field-label,.channel-field legend{font-size:16px}.channel-button{font-size:15px}.upload-copy strong{font-size:15px}}
