:root{color:#172026;font-synthesis:none;text-rendering:optimizelegibility;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;background:#f5f7f8;font-family:Inter,Microsoft YaHei,PingFang SC,Arial,sans-serif}*{box-sizing:border-box}body{background:#f5f7f8;min-width:320px;min-height:100vh;margin:0}button,input,select,textarea{font:inherit}button{cursor:pointer}#app{min-height:100vh}.pay-shell{background:#eee;justify-content:center;min-height:100vh;display:flex}.pay-panel{background:#eee;align-content:start;gap:0;width:min(100%,430px);min-height:100vh;display:grid}.pay-header{text-align:center;background:#f7f7f7;justify-items:center;gap:14px;padding:34px 20px 28px;display:grid}.merchant-logo{color:#176c9f;background:linear-gradient(145deg,#fff,#cfd8d5 46%,#f1c84b 48%,#fff);border-radius:50%;place-items:center;width:76px;height:76px;font-size:34px;font-weight:900;display:grid;box-shadow:inset 0 -8px 16px #141f2624,0 8px 20px #141f261f}.merchant-pay-line{color:#69716f;margin:0;font-size:16px;line-height:1.5}.merchant-pay-line strong{color:#236a9f;font-weight:800}.pay-status{color:#6a7773;overflow-wrap:anywhere;margin:0;font-size:13px}.checkout-form{gap:0;display:grid}.amount-field{background:#fff;gap:12px;padding:13px 20px 28px}.amount-field>span{color:#8a8f8d;font-size:13px;font-weight:500}.amount-input{background:#fff;border-bottom:0;grid-template-columns:auto minmax(0,1fr);align-items:center;gap:7px;min-height:54px;padding:0;display:grid}.amount-input b{color:#111b18;font-size:19px;line-height:1}.amount-input input{color:#111b18;letter-spacing:0;border:0;height:54px;padding:0;font-size:28px;font-weight:700}.amount-input input::placeholder{color:#c8cdcb;font-size:18px;font-weight:500}.amount-input input:focus{outline:0}.payment-methods,.method-list{gap:10px;display:grid}.method-option{color:#172026;text-align:left;background:#fff;border:1px solid #dfe7e4;border-radius:8px;align-content:center;gap:3px;min-height:58px;padding:0 14px;transition:border-color .16s,box-shadow .16s,transform .16s;display:grid}.method-option:hover{transform:translateY(-1px);box-shadow:0 10px 24px #1a2f2b14}.method-option strong{font-size:15px}.method-option small{color:#73807c;overflow-wrap:anywhere;font-size:12px}.method-option.active{border-color:#172026;box-shadow:inset 4px 0 #172026}.method-option.wechat.active{border-color:#07c160;box-shadow:inset 4px 0 #07c160}.method-option.alipay.active{border-color:#1677ff;box-shadow:inset 4px 0 #1677ff}.method-option.unionpay.active{border-color:#d7373f;box-shadow:inset 4px 0 #d7373f}.pay-submit{color:#fff;background:#07c160;border:0;border-radius:25px;width:calc(100% - 40px);min-height:50px;margin:28px 20px 0;font-weight:800;transition:background .16s,transform .16s}.pay-submit:hover:not(:disabled){background:#06ad56;transform:translateY(-1px)}.pay-submit:disabled{color:#9a9a9a;opacity:1;cursor:not-allowed;background:#d5d5d5}.workspace{width:min(1280px,100% - 32px);margin:0 auto;padding:34px 0 48px}.workspace-header{justify-content:space-between;align-items:end;gap:24px;margin-bottom:22px;display:flex}.eyebrow{color:#476173;letter-spacing:.08em;text-transform:uppercase;margin:0 0 8px;font-size:12px;font-weight:700}h1,h2,h3{color:#101820;letter-spacing:0;margin:0}h1{font-size:clamp(30px,4vw,48px);line-height:1.05}h2{font-size:22px}h3{font-size:17px}.intro-copy,.section-head p{color:#53616a;max-width:680px;margin:12px 0 0;font-size:15px;line-height:1.65}.role-switch,.admin-tabs,.mode-tabs{background:#fff;border:1px solid #d9e1e5;border-radius:8px;gap:6px;padding:4px;display:flex}.role-switch button,.admin-tabs button,.mode-tabs button{color:#52636f;background:0 0;border:0;border-radius:6px;min-height:36px;padding:0 14px;font-weight:700}.role-switch button.active,.admin-tabs button.active,.mode-tabs button.active{color:#fff;background:#172026}.admin-tabs{width:fit-content;margin-bottom:18px}.compact-tabs{width:fit-content}.workspace-section{background:#fff;border:1px solid #dfe5e8;border-radius:8px;gap:20px;padding:22px;display:grid;box-shadow:0 12px 36px #14212d0f}.section-head{gap:4px;display:grid}.section-head.with-action{grid-template-columns:minmax(0,1fr) auto;align-items:start;gap:16px}.section-head.with-action button,.link-button{color:#1e5d88;background:#fff;border:1px solid #cbd8de;border-radius:6px;min-height:34px;font-weight:700}.section-head.with-action button{min-width:82px}.link-button{min-width:58px;padding:0 10px}.section-head.compact{border-top:1px solid #e4eaed;padding-top:10px}.send-form,.custom-grid{gap:16px;display:grid}.form-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;display:grid}.search-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;display:grid}.refund-form{grid-template-columns:repeat(5,minmax(0,1fr))}.master-form{padding-top:4px}label{gap:6px;display:grid}.check-row{color:#5b6870;align-items:center;gap:8px;min-height:38px;font-size:13px;font-weight:700;display:flex}.check-row input{width:16px;height:16px}label span,.meta-grid span,.result-block span{color:#5b6870;font-size:12px;font-weight:700}input,select,textarea{color:#172026;background:#fff;border:1px solid #cfdae0;border-radius:6px;width:100%}input,select{height:38px;padding:0 10px}input:disabled{color:#6b7880;background:#eef2f4}textarea{resize:vertical;min-height:240px;padding:12px;font-family:JetBrains Mono,Consolas,monospace;line-height:1.55}input:focus,select:focus,textarea:focus{border-color:#266fa4;outline:2px solid #266fa429}.meta-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;display:grid}.meta-grid div{background:#f7f9fa;border:1px solid #e0e7eb;border-radius:6px;gap:3px;min-height:58px;padding:10px;display:grid}.meta-grid strong{overflow-wrap:anywhere;font-size:14px}.meta-line{color:#53616a;font-size:14px}.notice{border-radius:6px;margin:0;padding:10px 12px;font-size:14px}.notice.error{color:#a5382e;background:#fff0ef}.notice.success{color:#216c42;background:#edf8f1}.actions,.search-actions{justify-content:flex-end;align-items:end;gap:8px;display:flex}.actions button,.search-actions button{color:#fff;background:#266fa4;border:0;border-radius:6px;min-width:118px;height:38px;font-weight:700}.search-actions button:nth-child(2){background:#1f7a55}.actions button:disabled,.search-actions button:disabled{opacity:.64;cursor:not-allowed}.table-wrap{border-top:1px solid #e4eaed;overflow-x:auto}table{border-collapse:collapse;width:100%;min-width:980px}th,td{text-align:left;vertical-align:top;border-bottom:1px solid #e4eaed;padding:11px 9px;font-size:13px}th{color:#5b6870;font-weight:700}td{color:#172026;overflow-wrap:anywhere}.empty-cell{color:#7c8b94;text-align:center;vertical-align:middle;height:88px}code,pre{color:#1e3542;background:#f3f6f7;border-radius:6px;font-family:JetBrains Mono,Consolas,monospace}code{overflow-wrap:anywhere;min-height:36px;padding:9px 10px;display:block}.result-block{border-top:1px solid #e4eaed;gap:12px;padding-top:18px;display:grid}pre{max-height:300px;margin:0;padding:14px;line-height:1.55;overflow:auto}@media (width<=920px){.workspace-header{grid-template-columns:1fr;display:grid}.search-grid,.refund-form{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (width<=640px){.pay-shell{padding:0}.pay-panel{min-height:100vh;box-shadow:none;border:0;border-radius:0}.workspace{width:min(100% - 20px,1280px);padding:22px 0}.workspace-section{padding:16px}.admin-tabs,.role-switch,.mode-tabs{width:100%;overflow-x:auto}.form-grid,.search-grid,.refund-form,.meta-grid,.section-head.with-action{grid-template-columns:1fr}.search-actions,.actions{justify-content:stretch}.search-actions button,.actions button{flex:1;min-width:0}}
