html,body{width:100%;height:100%}input::-ms-clear,input::-ms-reveal{display:none}*,*:before,*:after{box-sizing:border-box}html{font-family:sans-serif;line-height:1.15;-webkit-text-size-adjust:100%;-ms-text-size-adjust:100%;-ms-overflow-style:scrollbar;-webkit-tap-highlight-color:rgba(0,0,0,0)}@-ms-viewport{width:device-width}body{margin:0}[tabindex="-1"]:focus{outline:none}hr{box-sizing:content-box;height:0;overflow:visible}h1,h2,h3,h4,h5,h6{margin-top:0;margin-bottom:.5em;font-weight:500}p{margin-top:0;margin-bottom:1em}abbr[title],abbr[data-original-title]{-webkit-text-decoration:underline dotted;text-decoration:underline;text-decoration:underline dotted;border-bottom:0;cursor:help}address{margin-bottom:1em;font-style:normal;line-height:inherit}input[type=text],input[type=password],input[type=number],textarea{-webkit-appearance:none}ol,ul,dl{margin-top:0;margin-bottom:1em}ol ol,ul ul,ol ul,ul ol{margin-bottom:0}dt{font-weight:500}dd{margin-bottom:.5em;margin-left:0}blockquote{margin:0 0 1em}dfn{font-style:italic}b,strong{font-weight:bolder}small{font-size:80%}sub,sup{position:relative;font-size:75%;line-height:0;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}pre,code,kbd,samp{font-size:1em;font-family:SFMono-Regular,Consolas,Liberation Mono,Menlo,Courier,monospace}pre{margin-top:0;margin-bottom:1em;overflow:auto}figure{margin:0 0 1em}img{vertical-align:middle;border-style:none}a,area,button,[role=button],input:not([type=range]),label,select,summary,textarea{touch-action:manipulation}table{border-collapse:collapse}caption{padding-top:.75em;padding-bottom:.3em;text-align:left;caption-side:bottom}input,button,select,optgroup,textarea{margin:0;color:inherit;font-size:inherit;font-family:inherit;line-height:inherit}button,input{overflow:visible}button,select{text-transform:none}button,html [type=button],[type=reset],[type=submit]{-webkit-appearance:button}button::-moz-focus-inner,[type=button]::-moz-focus-inner,[type=reset]::-moz-focus-inner,[type=submit]::-moz-focus-inner{padding:0;border-style:none}input[type=radio],input[type=checkbox]{box-sizing:border-box;padding:0}input[type=date],input[type=time],input[type=datetime-local],input[type=month]{-webkit-appearance:listbox}textarea{overflow:auto;resize:vertical}fieldset{min-width:0;margin:0;padding:0;border:0}legend{display:block;width:100%;max-width:100%;margin-bottom:.5em;padding:0;color:inherit;font-size:1.5em;line-height:inherit;white-space:normal}progress{vertical-align:baseline}[type=number]::-webkit-inner-spin-button,[type=number]::-webkit-outer-spin-button{height:auto}[type=search]{outline-offset:-2px;-webkit-appearance:none}[type=search]::-webkit-search-cancel-button,[type=search]::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{font:inherit;-webkit-appearance:button}output{display:inline-block}summary{display:list-item}template{display:none}[hidden]{display:none!important}mark{padding:.2em;background-color:#feffe6}html,body,#app{height:100%;margin:0;background:#f6f6f7;color:#171717}#app{overflow:auto}.shell{display:flex;min-height:100%;background:#fff}.sider{width:232px;flex:none;display:flex;flex-direction:column;padding:18px 12px 14px;border-right:1px solid #eee;background:#f7f7f8}.brand{display:flex;align-items:center;gap:10px;padding:0 8px 18px}.mark{width:28px;height:28px;border-radius:8px;background:#171717;color:#fff;display:grid;place-items:center;font-size:13px;font-weight:650}.brand strong{font-size:15px;font-weight:650}.nav{display:flex;flex-direction:column;gap:4px}.nav-link{display:flex;align-items:center;gap:10px;height:40px;padding:0 12px;border-radius:10px;color:#3f3f46;text-decoration:none;font-size:14px}.nav-link svg{width:16px;height:16px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}.nav-link:hover{background:#efeff1;color:#171717}.nav-link.active{background:#ececee;color:#171717;font-weight:600}.sider-foot{margin-top:auto;display:flex;align-items:center;gap:10px;padding:12px 8px 0}.avatar{width:32px;height:32px;border-radius:50%;background:#6d4aff;color:#fff;display:grid;place-items:center;font-size:13px}.logout{border:0;background:transparent;color:#71717a;cursor:pointer;padding:6px 8px}.logout:hover{color:#171717}.main{flex:1;min-width:0;padding:22px 28px 40px;background:#fff}.page-head{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;margin-bottom:18px}.page-head h1,.section-head h1{margin:0;font-size:22px;font-weight:650;letter-spacing:-.02em}.page-head p,.section-head p{margin:6px 0 0;color:#8a8a93;font-size:13px}.page-actions{display:flex;gap:8px;align-items:center;flex:none}.page-actions .ant-btn{height:36px;display:inline-flex;align-items:center;gap:6px}.icon{width:14px;height:14px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}.panel{border:1px solid #ececef;border-radius:12px;background:#fff}.filters{display:grid;grid-template-columns:repeat(4,minmax(160px,1fr));gap:14px 16px;padding:16px;margin-bottom:14px}.filters.cols-2{grid-template-columns:repeat(2,minmax(200px,1fr))}.field label{display:block;margin-bottom:8px;font-size:13px;color:#27272a}.field .ant-input,.field .ant-input-affix-wrapper,.field .ant-select,.field .ant-picker,.field .ant-input-number{width:100%}.table-wrap{overflow:hidden}.table-foot{display:flex;align-items:center;justify-content:space-between;padding:12px 16px;border-top:1px solid #f0f0f2;color:#71717a;font-size:13px}.empty{min-height:220px;display:grid;place-items:center;text-align:center;padding:48px 16px}.empty strong{display:block;font-size:15px;font-weight:650}.empty p{margin:8px 0 0;color:#8a8a93}.tag{display:inline-flex;align-items:center;height:22px;padding:0 8px;border-radius:6px;background:#f4f4f5;color:#52525b;font-size:12px}.tag.in_use,.tag.approved{background:#e8f8ee;color:#17803d}.tag.expired,.tag.void,.tag.rejected{background:#fdecec;color:#c24141}.tag.merchant_disabled,.tag.pending{background:#fff4e5;color:#b86e00}.mono{font-family:ui-monospace,Cascadia Mono,Consolas,monospace;font-size:12px}.login-wrap{min-height:100%;display:grid;place-items:center;padding:24px;background:#f6f6f7}.login-card{width:min(420px,100%);background:#fff;border:1px solid #ececef;border-radius:16px;padding:28px;box-shadow:0 10px 30px #0000000a}.login-card h1{margin:14px 0 4px;font-size:28px}.login-card .sub{margin:0 0 22px;color:#8a8a93}.settings-grid{display:grid;grid-template-columns:repeat(2,minmax(220px,1fr));gap:16px;padding:18px;max-width:760px}.form-card{max-width:480px;padding:18px 18px 8px}.row-actions{display:flex;align-items:center;gap:8px}.form-error{margin:12px 0 0;color:#c24141;font-size:13px}.ant-modal-content{border-radius:14px!important}.ant-btn-primary{background:#171717!important;border-color:#171717!important;box-shadow:none!important}.ant-btn-primary:hover{background:#2a2a2a!important;border-color:#2a2a2a!important}.ant-btn-primary.ant-btn-disabled,.ant-btn-primary:disabled{background:#e4e4e7!important;border-color:#e4e4e7!important;color:#71717a!important}.ant-btn{border-radius:8px;box-shadow:none}.ant-input,.ant-input-affix-wrapper,.ant-select-selector,.ant-picker,.ant-input-number{border-radius:8px!important;border-color:#e6e6ea!important;box-shadow:none!important}.ant-input:focus,.ant-input-affix-wrapper-focused,.ant-select-focused .ant-select-selector,.ant-picker-focused,.ant-input-number-focused{border-color:#171717!important}.ant-table{background:transparent}.ant-table-thead>tr>th{background:#fff!important;color:#71717a!important;font-weight:500;border-bottom:1px solid #f0f0f2!important}.ant-table-tbody>tr>td{border-bottom:1px solid #f4f4f5!important}.ant-table-tbody>tr:hover>td{background:#fafafa!important}.ant-pagination-item-active{border-color:#171717!important}.ant-pagination-item-active a{color:#171717!important}@media (max-width: 900px){.shell{display:block}.sider{width:auto;border-right:0;border-bottom:1px solid #eee}.nav{flex-direction:row;overflow:auto}.filters,.filters.cols-2,.settings-grid{grid-template-columns:1fr}}.extract-card,.result-list,.account-card{max-width:760px}.extract-card{padding:16px;margin-bottom:14px}.result-list{margin-bottom:14px}.result-row{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;padding:12px 16px;border-bottom:1px solid #f4f4f5}.result-row:last-child{border-bottom:0}.account-card{padding:18px}.account-grid{display:grid;grid-template-columns:120px 1fr;gap:10px 16px;margin:0 0 16px;font-size:14px}.account-grid dd{font-variant-numeric:tabular-nums}.account-grid dt,.account-grid dd{margin:0}.account-grid dt{color:#8a8a93}.code-line{font-size:28px;font-weight:650;letter-spacing:.08em;font-variant-numeric:tabular-nums}.buyer-actions{display:flex;gap:8px;flex-wrap:wrap}.extract-card .buyer-actions{margin-top:12px}.buyer-page{min-height:100%;box-sizing:border-box;display:flex;flex-direction:column;align-items:center;justify-content:center;padding:max(24px,env(safe-area-inset-top)) 16px max(32px,env(safe-area-inset-bottom));font-size:16px}.buyer-brand{display:flex;align-items:center;gap:12px;width:min(440px,100%);margin-bottom:20px}.buyer-brand .mark{width:40px;height:40px;border-radius:12px;font-size:18px}.buyer-brand strong{display:block;font-size:22px;font-weight:650;line-height:1.2}.buyer-brand p{margin:4px 0 0;color:#8a8a93;font-size:15px}.buyer-card{width:min(440px,100%);box-sizing:border-box;background:#fff;border:1px solid #ececef;border-radius:20px;padding:16px 16px 22px;box-shadow:0 12px 32px #0000000d}.mode-tabs{display:grid;grid-template-columns:1fr 1fr 1fr;gap:6px;margin-bottom:22px;padding:5px;border-radius:14px;background:#f4f4f5}.mode-tab{display:inline-flex;align-items:center;justify-content:center;gap:8px;height:48px;border:0;border-radius:12px;background:transparent;color:#71717a;font-size:16px;cursor:pointer}.mode-tab svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}.mode-tab.active{background:#fff;color:#171717;font-weight:650;box-shadow:0 1px 2px #1717170f}.field-label{display:block;margin:0 0 10px;font-size:16px;font-weight:650;color:#171717}.field-hint{margin:10px 0 0;color:#8a8a93;font-size:14px;line-height:1.5}.buyer-card .ant-input{min-height:48px;padding:12px 14px;font-size:16px}.buyer-card textarea.ant-input{min-height:168px;line-height:1.55}.extract-submit.ant-btn{height:50px;margin-top:20px;font-size:17px;border-radius:12px}.buyer-card .form-error{font-size:15px;line-height:1.5}.buyer-card .account-grid{grid-template-columns:5.5em 1fr;font-size:16px;gap:12px 14px}.buyer-card .code-line{font-size:32px}.buyer-card .buyer-actions .ant-btn{height:44px;padding:0 16px;font-size:16px}.buyer-card .result-list,.buyer-card .account-card{max-width:none;margin-top:16px}.batch-item{border-top:1px solid #f0f0f2;padding-top:8px}.batch-item .result-row{padding-left:0;padding-right:0;border-bottom:0}.batch-item .account-grid{margin-bottom:8px}.buyer-card .account-card{padding:16px 0 0;border:0;border-top:1px solid #f0f0f2;border-radius:0;box-shadow:none}.ticket-area{margin-top:16px;display:grid;gap:12px}.ticket-line{display:flex;align-items:center;gap:10px;flex-wrap:wrap}.ticket-reason{color:#525252}.ticket-form{display:grid;gap:8px}.ticket-form .field-label{margin-top:4px}.ticket-form input[type=file]{font-size:14px}.ticket-query-row{display:flex;gap:10px}.ticket-query-row .ant-input{flex:1}.ticket-result{display:grid;gap:14px}.ticket-form-title{font-size:15px;font-weight:650;color:#18181b}.ticket-none{color:#8a8a93}.copy-btn{margin-left:10px;padding:2px 10px;border:1px solid #e4e4e7;border-radius:999px;background:#fafafa;color:#52525b;font-size:12px;cursor:pointer}.copy-btn:hover{border-color:#171717;color:#171717}.card-list{display:grid;gap:4px}.result-card{border-top:1px solid #f0f0f2;padding-top:14px;margin-top:10px}.result-card:first-child{border-top:0;margin-top:0}.card-raw{font-size:13px;color:#71717a}@media (min-width: 768px){.buyer-page{justify-content:flex-start;padding-top:48px;padding-bottom:64px}.buyer-brand,.buyer-card{width:min(820px,100%)}.buyer-card{padding:28px 32px 32px}.result-card .account-grid,.ticket-result .account-grid{grid-template-columns:96px minmax(0,1fr) 96px minmax(0,1fr)}.result-card .account-grid dd,.ticket-result .account-grid dd{min-width:0;overflow-wrap:anywhere}.buyer-actions{justify-content:flex-start}.code-line{font-size:32px}}.buyer-page{background-color:#fafafa;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)' opacity='0.025'/%3E%3C/svg%3E")}.buyer-brand .mark{background:linear-gradient(145deg,#303036,#0a0a0a);box-shadow:inset 0 1px #ffffff2e,0 2px 6px #0000002e}.buyer-brand strong{font-size:24px;letter-spacing:-.02em}.buyer-card{border-color:#e7e7ea;border-radius:24px;box-shadow:0 1px 2px #1414180a,0 8px 24px #1414180d,0 24px 64px #1414180d}.mode-tab{transition:color .15s ease,background-color .15s ease,box-shadow .15s ease}.mode-tab.active{box-shadow:0 1px 2px #17171714,0 4px 12px #17171714}.extract-submit.ant-btn{transition:transform .15s ease,box-shadow .15s ease,background-color .15s ease}.extract-submit.ant-btn:hover{transform:translateY(-1px);box-shadow:0 6px 16px #17171738}.extract-submit.ant-btn:active{transform:translateY(0);box-shadow:0 2px 6px #1717172e}.result-card{background:#fcfcfd;border:1px solid #f0f0f2;border-radius:16px;padding:16px;margin-top:14px;transition:border-color .15s ease}.result-card:hover{border-color:#e3e3e7}.result-card:first-child{margin-top:18px}.code-line{font-family:ui-monospace,Cascadia Mono,Consolas,monospace;padding:12px 16px;background:#171717;color:#fafafa;border-radius:12px;text-align:center}.copy-btn{transition:background-color .15s ease,color .15s ease,border-color .15s ease,transform .1s ease}.copy-btn:hover{transform:translateY(-1px)}.copy-btn:active{transform:translateY(0) scale(.97)}.copy-btn:focus-visible,.mode-tab:focus-visible{outline:2px solid #171717;outline-offset:2px}.ticket-query-row .ant-input{box-shadow:none}@media (min-width: 768px){.result-card{padding:20px 24px}.code-line{max-width:420px;margin:0 auto 16px}}@media (prefers-reduced-motion: reduce){.buyer-page *,.buyer-page *:before,.buyer-page *:after{transition-duration:.01ms!important;animation-duration:.01ms!important}.extract-submit.ant-btn:hover,.copy-btn:hover{transform:none}}.account-grid dd.mono{font-size:16px;font-weight:650}.get-code.ant-btn{min-width:196px}
