:root{--bg:#f5f7f3;--surface:#fff;--ink:#213b2e;--muted:#65766b;--line:#dfe7de;--green:#176549;--hover:#104d37;--mint:#e8f2eb;--sand:#f5efdf;--lilac:#efedf6;--shadow:0 12px 36px -26px #214e3738;--ease:cubic-bezier(.2,.7,.2,1);font-family:Inter,"PingFang SC","Microsoft YaHei",system-ui,sans-serif;color:var(--ink);background:var(--bg);font-synthesis:none}*{box-sizing:border-box}body{margin:0;font-size:15px;line-height:1.65}button,input,textarea,select{font:inherit}button,a,input,textarea,select{-webkit-tap-highlight-color:transparent}button,a{touch-action:manipulation}button{cursor:pointer}a{color:inherit;text-decoration:none}h1,h2,h3,p{margin:0}h1,h2,h3{letter-spacing:-.035em}h1{font-size:44px;line-height:1.35;font-weight:650}h1 span{color:var(--green)}h2{font-size:23px;font-weight:650;line-height:1.5}h3{font-size:14px;font-weight:650}.muted,.hint,.footnote{color:var(--muted)}.hidden{display:none!important}.topbar{max-width:1180px;margin:auto;padding:0 30px;height:84px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--line)}.brand{display:flex;align-items:center;gap:11px;font-size:20px;font-weight:650;letter-spacing:-.03em}.brand img{width:32px;height:32px}.brand-sub{font-size:13px;font-weight:450;letter-spacing:.04em;border-left:1px solid #cbd7cc;padding-left:13px;margin-left:13px;color:var(--muted)}.text-link{background:none;border:0;padding:8px 4px;color:var(--green);font-weight:550;font-size:13px;min-height:40px;border-radius:8px;display:inline-flex;align-items:center;gap:8px}.shell{max-width:1120px;padding:0 24px;margin:0 auto}.intro{text-align:center;padding:62px 0 38px}.eyebrow{font-size:11px;letter-spacing:.12em;color:var(--muted);font-weight:600}.status-dot{display:inline-block;width:6px;height:6px;background:#508567;border-radius:50%;margin-right:5px;vertical-align:middle}.intro h1{margin:14px 0}.intro p{color:var(--muted);font-size:14px;line-height:1.9}.panel{background:var(--surface);border:1px solid var(--line);border-radius:26px;padding:30px;box-shadow:var(--shadow)}.redeem-layout{display:grid;grid-template-columns:minmax(0,1.35fr) minmax(0,.9fr);gap:24px;align-items:stretch}.tabs{display:inline-flex;background:var(--bg);padding:5px;border-radius:999px;gap:3px;margin-bottom:25px}.tab{border:0;background:transparent;border-radius:999px;color:var(--muted);padding:10px 24px;font-size:13px;min-height:42px;font-weight:550;white-space:nowrap;transition:background .16s,color .16s,transform .12s var(--ease)}.tab.active{background:var(--green);color:white;box-shadow:0 3px 8px -5px #14583b77}label{display:flex;align-items:baseline;flex-wrap:wrap;gap:8px;font-size:13px;font-weight:600;margin-bottom:8px}label:not(:first-child){margin-top:19px}.field-note{font-size:11px;font-weight:400;color:var(--muted)}input,textarea,select{width:100%;border:1px solid #d6e1d5;border-radius:14px;background:#fbfcfa;color:var(--ink);padding:12px 14px;outline:none;transition:border-color .16s,box-shadow .16s,background .16s;min-height:46px}textarea{resize:vertical;line-height:1.7}input:focus,textarea:focus,select:focus{border-color:#438367;background:#fff;box-shadow:0 0 0 4px #17654913}input::placeholder,textarea::placeholder{color:#849087;font-size:12px}.code-input{font-family:ui-monospace,SFMono-Regular,Consolas,monospace;letter-spacing:.035em;font-size:14px}.password-row{display:grid;grid-template-columns:1fr 1fr;gap:14px;margin-top:18px}.password-row label{margin-top:0}.hint{font-size:11px;line-height:1.8;margin:12px 0 18px}.button{border:1px solid transparent;display:inline-flex;align-items:center;justify-content:center;gap:13px;min-height:46px;padding:11px 24px;border-radius:999px;font-weight:600;font-size:13px;transition:background .16s,box-shadow .18s,transform .12s var(--ease);text-align:center}.primary{background:var(--green);color:white;box-shadow:0 4px 12px -7px #1765498a}.secondary{background:var(--mint);color:var(--green)}.wide{width:100%}.button:disabled{cursor:wait;opacity:.6}.button .arrow{transition:transform .18s}.button:not(:disabled):active,.tab:active,.small-button:active{transform:translateY(1px) scale(.98)}:is(button,a):focus-visible{outline:3px solid #387e5b;outline-offset:3px}.button.busy::after{content:"";width:13px;height:13px;border:2px solid #ffffff55;border-top-color:currentColor;border-radius:50%;animation:spin .8s linear infinite}.footnote{font-size:10px;text-align:center;line-height:1.8;margin-top:13px}.guide-panel{background:linear-gradient(145deg,#fff,#f3f7f1);display:flex;flex-direction:column;justify-content:center}.guide-panel h2{margin:9px 0 18px}.steps{list-style:none;padding:0;margin:4px 0 21px;display:grid;gap:23px}.steps li{display:flex;align-items:center;gap:14px}.step-icon{width:42px;height:42px;display:grid;place-items:center;flex-shrink:0;border-radius:14px;font-size:12px;font-weight:650}.mint{background:var(--mint);color:#397356}.sand{background:var(--sand);color:#806028}.lilac{background:var(--lilac);color:#716185}.steps p{color:var(--muted);font-size:11px;margin-top:4px;line-height:1.8}.subtle-note{border:1px solid var(--line);background:var(--bg);border-radius:17px;padding:16px 18px;margin:18px 0;font-size:12px}.subtle-note strong{font-weight:600}.subtle-note p{font-size:11px;line-height:1.9;color:var(--muted);margin-top:5px}.notice{padding:12px 15px;background:var(--sand);color:#725623;font-size:12px;border-radius:13px;margin:14px 0;line-height:1.8;white-space:pre-wrap}.notice.success{background:var(--mint);color:var(--green)}.notice.error{background:#f9eeea;color:#943f32}.result-panel{margin-top:28px;animation:appear .28s var(--ease)}.section-head{display:flex;align-items:center;justify-content:space-between;gap:16px;flex-wrap:wrap;margin-bottom:17px}.badge{border-radius:999px;display:inline-block;padding:4px 11px;font-size:11px;white-space:nowrap}.credential-grid{display:grid;grid-template-columns:1fr 1fr;gap:15px;margin-top:22px}.credential{background:var(--bg);padding:17px 19px;border:1px solid var(--line);border-radius:16px;overflow-wrap:anywhere}.credential>span{font-size:11px;color:var(--muted);display:block;margin-bottom:8px}.credential strong{font-size:16px;font-weight:550}.secret-line{display:flex;justify-content:space-between;gap:10px;align-items:center}.small-button{background:var(--mint);border:0;border-radius:999px;color:var(--green);padding:7px 13px;min-height:36px;font-size:11px;white-space:nowrap;transition:background .16s,transform .12s}.actions{display:flex;align-items:center;flex-wrap:wrap;gap:12px}pre,.pre-wrap{white-space:pre-wrap;overflow-wrap:anywhere;font:inherit}.subtle-note pre{margin:8px 0 0;font-size:12px}.faq{display:grid;grid-template-columns:.8fr 1.4fr;gap:30px;margin:62px 0}.faq h2{margin-top:9px}.faq details{border-bottom:1px solid var(--line);padding:16px 0}.faq details:first-child{padding-top:0}.faq summary{cursor:pointer;font-size:13px;font-weight:550;min-height:26px}.faq details p{font-size:12px;color:var(--muted);line-height:1.9;padding-top:12px}.footer{max-width:1120px;margin:0 auto;border-top:1px solid var(--line);padding:25px 24px 35px;display:flex;justify-content:space-between;gap:16px;color:var(--muted);font-size:11px;flex-wrap:wrap}.footer a{color:var(--green)}dialog{background:var(--surface);color:var(--ink);border:1px solid var(--line);border-radius:24px;width:min(530px,calc(100vw - 30px));padding:28px;box-shadow:0 30px 80px #17382430;max-height:90vh;overflow-y:auto}dialog::backdrop{background:#10271b60;backdrop-filter:blur(5px)}dialog h2{font-size:21px}dialog .muted{font-size:12px}dialog .button.wide{margin-top:19px}.icon-button{border:0;background:var(--bg);border-radius:50%;height:36px;width:36px;font-size:23px;color:var(--muted)}.toast{position:fixed;bottom:25px;left:50%;transform:translateX(-50%);background:#173f2e;color:#fff;border-radius:14px;box-shadow:var(--shadow);padding:12px 22px;font-size:13px;z-index:99;max-width:90vw}.mobile-only{display:none}.login-shell{max-width:1060px;margin:90px auto 100px;padding:0 30px;display:grid;grid-template-columns:1fr .85fr;gap:70px;align-items:center}.login-intro h1{margin:17px 0}.login-intro p{font-size:14px;line-height:2}.login-flow{display:flex;align-items:center;flex-wrap:wrap;gap:12px;margin-top:30px;font-size:11px}.login-flow span{background:var(--mint);padding:9px 15px;border-radius:999px}.login-flow b{color:#9bad9d;font-weight:400}.login-panel h2{margin-bottom:24px}.login-panel .button{margin-top:24px}.admin-shell{padding-top:32px;padding-bottom:60px}.page-heading{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:28px}.page-heading h1{font-size:29px;margin-top:9px}.page-heading .muted{font-size:12px}.stats{display:grid;grid-template-columns:repeat(4,1fr);gap:15px}.stat{padding:20px 23px;border:1px solid var(--line);background:var(--surface);border-radius:21px}.stat span{font-size:11px;color:var(--muted)}.stat strong{display:block;font-size:30px;font-weight:550;margin-top:5px;letter-spacing:-.05em}.stat:nth-child(2){background:#f2f6ee}.stat:nth-child(3){background:#f7f3e8}.stat:nth-child(4){background:#f3f0f7}.admin-tabs{display:flex;gap:5px;margin:30px 0 26px;border-bottom:1px solid var(--line);padding-bottom:16px;overflow-x:auto}.admin-tabs .tab{padding:9px 19px}.admin-pane>.muted{font-size:12px;margin-bottom:18px}.two-col{display:grid;grid-template-columns:1fr 1fr;gap:22px}.two-col .panel h2{margin:8px 0 23px}.two-col form{align-self:start}.product-list{display:grid;grid-template-columns:repeat(3,1fr);gap:15px;margin:20px 0}.product-card{background:var(--surface);border:1px solid var(--line);border-radius:20px;padding:19px 20px}.product-card h3{font-size:15px;margin-bottom:9px}.product-card p{font-size:11px;color:var(--muted);margin-top:5px}.product-card .counts{display:flex;gap:9px;flex-wrap:wrap;margin-top:12px}.table-wrap{padding:6px 18px;overflow-x:auto;border-radius:20px}table{border-collapse:collapse;width:100%;font-size:12px;white-space:nowrap}th{color:var(--muted);font-weight:500;text-align:left;font-size:11px;padding:16px 12px;border-bottom:1px solid var(--line)}td{padding:17px 12px;border-bottom:1px solid #e8eee6}tbody tr:last-child td{border-bottom:0}td .small-button+button{margin-left:7px}.table-note{font-size:10px;color:var(--muted);white-space:normal;max-width:240px}.empty{padding:35px 18px;text-align:center;font-size:13px;color:var(--muted);border:1px dashed #cad9c8;border-radius:18px;background:#f9fbf7}.issue-list{display:grid;gap:18px}.issue-card .muted{font-size:12px}.issue-card .description{white-space:pre-wrap;margin:15px 0;font-size:13px;overflow-wrap:anywhere}.issue-card .actions{margin-top:18px}input[type=file]{font-size:11px;padding:10px}input[type=file]::file-selector-button{border:0;background:var(--mint);border-radius:10px;padding:5px 9px;color:var(--green);margin-right:8px}
@media(hover:hover){.primary:not(:disabled):hover{background:var(--hover);box-shadow:0 6px 16px -8px #174d3777}.button:hover .arrow{transform:translateX(2px)}.secondary:hover,.small-button:hover{background:#dcebe0}.tab:not(.active):hover{background:#eaf0e6}.text-link:hover{color:#0c452d}.product-card{transition:transform .2s var(--ease),box-shadow .2s}.product-card:hover{transform:translateY(-2px);box-shadow:var(--shadow)}}
@media(max-width:850px){.redeem-layout{grid-template-columns:1.2fr 1fr;gap:16px}.panel{padding:23px}.password-row{grid-template-columns:1fr;gap:16px}.guide-panel h2{font-size:21px}.login-shell{gap:35px}.login-intro h1{font-size:35px}.two-col{grid-template-columns:1fr}.product-list{grid-template-columns:repeat(2,1fr)}}
@media(max-width:640px){.topbar{height:70px;padding:0 20px}.brand{font-size:18px;gap:9px}.brand img{width:29px;height:29px}.brand-sub{font-size:11px;margin-left:10px;padding-left:10px}.shell{padding:0 17px}.intro{padding:39px 0 27px}.intro h1{font-size:31px}.intro p{font-size:12px}.mobile-only{display:block}.redeem-layout{grid-template-columns:1fr;gap:18px}.panel{padding:23px;border-radius:23px}.tabs{width:100%;margin-bottom:23px}.tabs .tab{flex:1}.password-row{margin-top:17px}.guide-panel{padding:25px}.steps{gap:19px}.credential-grid{grid-template-columns:1fr}.credential strong{font-size:14px}.result-panel .actions{gap:10px}.result-panel .actions>.button{width:100%}.faq{grid-template-columns:1fr;margin:37px 5px;gap:24px}.faq h2{font-size:21px}.footer{padding:23px 21px;font-size:10px;gap:9px}.footer>span:nth-child(2){display:none}.login-shell{grid-template-columns:1fr;margin:38px auto 60px;padding:0 20px;gap:30px}.login-intro h1{font-size:32px}.login-intro p{font-size:12px}.login-flow{margin-top:18px}.admin-shell{padding-top:27px}.page-heading{align-items:start;flex-direction:column;gap:10px}.page-heading h1{font-size:25px}.stats{grid-template-columns:1fr 1fr;gap:12px}.stat{padding:16px 18px}.stat strong{font-size:28px}.admin-tabs{margin:24px 0 21px}.admin-tabs .tab{font-size:12px;padding:8px 16px}.product-list{grid-template-columns:1fr}.section-head h2{font-size:21px}.table-wrap{padding:0 8px}.small-button{min-height:40px}.button{min-height:46px}.topbar .actions{gap:5px}.topbar .text-link{font-size:11px}.panel .eyebrow{font-size:10px}}
@keyframes spin{to{transform:rotate(360deg)}}@keyframes appear{from{opacity:0;transform:translateY(5px)}to{opacity:1;transform:none}}@media(prefers-reduced-motion:reduce){*,*::before,*::after{animation:none!important;transition:none!important;scroll-behavior:auto!important}.button:active,.tab:active,.small-button:active,.product-card:hover{transform:none!important}}
.inventory-dialog{width:min(850px,calc(100vw - 30px))}.inventory-dialog>.actions{margin-top:18px}.product-card>.actions{margin-top:15px}.checkbox-label{align-items:center;font-size:12px}.checkbox-label input{width:18px;min-height:18px;accent-color:var(--green)}.card-search{margin-bottom:20px}.card-search input{flex:1;min-width:180px}.card-search .actions{flex-wrap:nowrap}dialog>p{margin:16px 0}dialog>.actions{margin-top:20px}
.import-dialog{width:min(1060px,calc(100vw - 30px));max-height:90vh}.import-counts{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;margin:20px 0}.import-count{border-radius:17px;padding:15px 19px;display:flex;flex-direction:column;gap:2px}.import-count strong{font-size:27px;line-height:1.3}.import-count span{font-size:12px;color:var(--muted)}.import-count.mint{background:var(--mint)}.import-count.sand{background:var(--sand)}.import-count.lilac{background:var(--lilac)}.import-dialog .table-wrap{margin-top:18px;border:1px solid var(--line);max-height:350px}.import-dialog th{position:sticky;top:0;background:var(--surface);z-index:1}.import-note{display:block;white-space:pre-wrap;overflow-wrap:anywhere;min-width:130px;max-width:260px;max-height:100px;overflow:auto}.import-account{display:block;white-space:normal;overflow-wrap:anywhere;min-width:120px;max-width:240px}.import-pagination{justify-content:center;margin-top:14px;font-size:12px}.import-problems{margin-top:25px;border:1px solid #ded8eb;background:#f9f7fc;border-radius:18px;padding:19px}.import-problems h3{font-size:15px}.import-problems>.muted{font-size:12px;margin:8px 0 13px}#import-problem-list{max-height:170px;overflow:auto;font-size:12px}#import-problem-list p+p{margin-top:9px}.import-problems details{margin:15px 0;font-size:12px}.import-problems summary{cursor:pointer;color:var(--green)}#import-rejected-raw{white-space:pre-wrap;overflow-wrap:anywhere;max-height:240px;overflow:auto;padding:13px;background:var(--surface);border-radius:10px;font-size:12px}.import-consent{display:flex;gap:10px;margin-top:23px!important;line-height:1.7;align-items:flex-start}.import-consent input{flex:0 0 18px;margin-top:2px}.import-footer{justify-content:flex-end}#import-file-status{margin-top:8px;overflow-wrap:anywhere}#import-result{margin-top:15px;white-space:pre-wrap}#import-review-warning{font-size:12px;line-height:1.9}#import-form>.notice{margin-bottom:15px}@media(max-width:640px){.import-dialog{padding:21px 15px}.import-counts{gap:8px}.import-count{padding:12px}.import-count strong{font-size:23px}.import-count span{font-size:11px}.import-footer .button{flex:1}.import-problems{padding:14px}.import-pagination{gap:8px}}

@media(max-width:640px){.import-dialog thead{display:none}.import-dialog table,.import-dialog tbody{display:block}.import-dialog tbody tr{display:grid;grid-template-columns:1fr 1fr;padding:12px 4px;gap:5px 12px}.import-dialog td{display:block;min-width:0;padding:4px;border:0;white-space:normal}.import-dialog td:nth-child(2){grid-column:1/-1;order:-1;font-size:14px;font-weight:600}.import-dialog td:nth-child(4){grid-column:1/-1}.import-dialog .import-account,.import-dialog .import-note{min-width:0;max-width:none}.import-dialog td:nth-child(3)::before{content:"密码 ";color:var(--muted);font-size:10px}.import-dialog td:nth-child(4)::before{content:"补充信息 ";color:var(--muted);font-size:10px}.import-dialog .table-wrap{max-height:310px}.import-consent{font-size:11px}.import-footer{position:sticky;bottom:-21px;background:var(--surface);padding:12px 0;margin-top:12px!important;z-index:2}}
