:root{font-family:Inter,"Microsoft YaHei","PingFang SC",system-ui,sans-serif;color:#162746;background:#f3f6fc;font-size:16px}*{box-sizing:border-box}body{margin:0;min-height:100vh}button,input{font:inherit}button{cursor:pointer}a{color:inherit;text-decoration:none}.hidden{display:none!important}.topbar{height:72px;background:#fff;border-bottom:1px solid #e5ebf5;display:flex;align-items:center;justify-content:space-between;padding:0 max(28px,calc((100vw - 1160px)/2));gap:24px}.brand{display:flex;align-items:center;gap:10px;font-size:1.28rem;font-weight:800;color:#102c61}.brand-mark{display:grid;place-items:center;background:#193c83;color:#ffda66;width:34px;height:34px;border-radius:10px}.topbar nav{display:flex;gap:8px}.topbar nav a{padding:10px 15px;border-radius:11px;color:#596d90;font-size:.9rem;font-weight:700}.topbar nav a.active,.topbar nav a:hover{background:#eaf0ff;color:#1b4ca5}.buyer-wrap{max-width:610px;margin:44px auto 70px;padding:0 18px}.buyer-head{display:flex;align-items:center;justify-content:space-between;margin:0 6px 22px}.eyebrow{font-size:.73rem;letter-spacing:.18em;color:#4e77c3;font-weight:800}.buyer-head h1,.dash-title h1,.login-card h1{font-size:2rem;margin:8px 0 6px;color:#10264b;letter-spacing:-.03em}.buyer-head p,.dash-title p,.login-card p{color:#667693;margin:0;line-height:1.55}.head-ornament{width:66px;height:66px;border-radius:20px;background:linear-gradient(145deg,#173d83,#6c95ea);color:#fff;display:grid;place-items:center;font-size:2rem;font-weight:800;box-shadow:0 12px 26px #294d9340}.buyer-card{padding:26px;border:1px solid #e3eaf6;border-radius:28px;background:#fff;box-shadow:0 18px 45px #213c6810}.segment{display:flex;padding:5px;background:#edf2fe;border-radius:18px;margin-bottom:26px}.segment button{border:0;background:transparent;color:#50658c;flex:1;padding:13px 8px;border-radius:14px;font-weight:700}.segment button.active{background:#fff;color:#143873;box-shadow:0 3px 12px #284b8012}.notice{display:flex;flex-direction:column;gap:6px;background:#fff8e7;border-left:4px solid #efad32;border-radius:12px;padding:15px 17px;margin-bottom:20px;line-height:1.5;color:#7b5717}.notice strong{font-size:.94rem}.notice span{font-size:.86rem}.panel{background:#f8faff;border:1px solid #e4ebf8;border-radius:20px;padding:20px}.stack{display:flex;flex-direction:column;gap:12px}.panel-title{display:flex;align-items:center;gap:12px;margin-bottom:7px}.icon-chip{display:grid;place-items:center;min-width:34px;height:34px;background:#dfe9ff;color:#245ac5;border-radius:10px;font-size:.8rem;font-weight:800}.panel-title h2,.section-heading h2{margin:0;color:#122d60;font-size:1.05rem}.panel-title p,.section-heading p{font-size:.83rem;color:#7a89a4;margin:4px 0 0}.stack label,.form-grid label{font-weight:700;color:#28416e;font-size:.88rem}input{width:100%;border:1px solid #d9e3f4;border-radius:12px;padding:13px 15px;background:#fff;color:#16305e;outline:0;min-height:46px}input:focus{border-color:#4a83eb;box-shadow:0 0 0 3px #5287e82c}input::placeholder{color:#a0aec7}.inline-form{display:flex;gap:10px}.inline-form input{min-width:0}.primary{border:0;border-radius:12px;background:#193d83;color:#fff;font-weight:800;padding:12px 20px;min-height:46px;white-space:nowrap;box-shadow:0 7px 16px #1c43852c}.primary:hover{background:#2852a0}.primary:disabled{opacity:.55;cursor:wait}.wide{width:100%}.ghost{border:1px solid #cad7ee;border-radius:11px;color:#214682;background:#fff;padding:11px 17px;font-weight:700}.ghost:hover{background:#eff4ff}.field-hint{margin:0;color:#8493ad;font-size:.8rem;line-height:1.5}.lookup-result{border:1px solid #cbdcf5;background:#fff;border-radius:14px;padding:16px;margin-top:2px}.lookup-result h3{margin:0 0 10px;color:#193d83;font-size:1rem}.lookup-result p{margin:6px 0;color:#50617c;font-size:.9rem}.spec-item{display:flex;justify-content:space-between;gap:10px;padding:9px 0;border-top:1px solid #e9eff9}.spec-item span{color:#61718b}.spec-item strong{color:#1a417f;text-align:right}.spec-total{background:#eaf1ff;border-radius:10px;padding:11px 12px;margin-top:6px;color:#184582;font-weight:800;text-align:right}.buyer-foot{text-align:center;color:#8898b3;font-size:.77rem;margin-top:24px}.result-card{border:1px solid #c9d9f2;border-radius:14px;padding:17px;background:#fff;margin-top:6px}.result-card strong{color:#123568}.result-card p{margin:8px 0 0;color:#65758d;line-height:1.55}.status-guide{background:#edf3ff;border-radius:20px;margin-top:20px;padding:20px}.status-guide h3{font-size:1rem;margin:0 0 14px;color:#16396d}.status-guide>div{display:flex;align-items:center;gap:14px;padding:10px 0;border-top:1px solid #dfe8f9}.status-guide b{display:grid;place-items:center;background:#d2e0ff;color:#164384;border-radius:50%;min-width:34px;height:34px}.status-guide span{display:flex;flex-direction:column;gap:2px}.status-guide small{color:#6c7f9e;font-size:.8rem}.admin-wrap{max-width:1160px;margin:42px auto 80px;padding:0 20px}.login-card{max-width:420px;margin:65px auto;padding:35px;box-shadow:0 18px 45px #213c6810}.login-card form{margin-top:25px}.dash-title{display:flex;justify-content:space-between;align-items:center;gap:20px;margin-bottom:25px}.metrics{display:grid;grid-template-columns:repeat(4,1fr);gap:16px;margin-bottom:24px}.metric{background:#fff;border:1px solid #e1e9f6;border-radius:17px;padding:20px;box-shadow:0 7px 23px #2c508009}.metric span{display:block;color:#7585a0;font-size:.85rem}.metric strong{display:block;color:#163b7a;font-size:1.85rem;margin-top:6px}.admin-grid{display:grid;grid-template-columns:185px minmax(0,1fr);gap:22px;align-items:start}.admin-menu{display:flex;flex-direction:column;background:#fff;border:1px solid #e1e9f6;border-radius:16px;padding:8px;gap:4px}.admin-menu button{border:0;border-radius:10px;text-align:left;background:transparent;padding:12px;color:#536a90;font-weight:700}.admin-menu button.active{background:#eaf0ff;color:#153d83}.admin-content{min-width:0}.admin-section{background:#fff;border:1px solid #e1e9f6;border-radius:19px;padding:24px;min-height:300px}.section-heading{display:flex;justify-content:space-between;gap:16px;align-items:start;margin-bottom:19px}.section-heading h2{font-size:1.28rem}.section-heading p{font-size:.88rem;line-height:1.5}.form-details{background:#f8faff;border:1px solid #e5ecf8;border-radius:14px;margin-bottom:18px}.form-details summary{padding:14px 17px;cursor:pointer;color:#24528f;font-weight:800}.form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;padding:18px}.form-grid label{display:flex;flex-direction:column;gap:7px}.form-grid button{align-self:end}.list{display:flex;flex-direction:column;gap:11px}.item-card{border:1px solid #e2eaf6;border-radius:14px;padding:16px;background:#fff}.item-head{display:flex;justify-content:space-between;gap:12px;align-items:start}.item-head strong{color:#1b3767;overflow-wrap:anywhere}.item-meta{color:#7787a1;font-size:.82rem;margin-top:7px;line-height:1.5;overflow-wrap:anywhere}.item-spec{margin-top:10px;background:#f2f6ff;border-radius:9px;padding:9px 11px;color:#24518d;font-size:.88rem}.item-actions{display:flex;flex-wrap:wrap;gap:7px;margin-top:12px}.item-actions button{font-size:.8rem;padding:7px 10px;border:1px solid #d2dff3;color:#25508b;background:#fff;border-radius:8px;font-weight:700}.item-actions button:hover{background:#eef4ff}.badge{font-size:.73rem;background:#e8f0ff;color:#2459a1;padding:5px 9px;border-radius:99px;white-space:nowrap;font-weight:800}.badge.completed{background:#e5f7ef;color:#168456}.badge.invalid{background:#fcecec;color:#c54848}.badge.cooldown{background:#fff4d9;color:#93661c}.empty{color:#8492a9;background:#f8faff;border:1px dashed #dce6f6;padding:35px 20px;text-align:center;border-radius:13px}.button-row{display:flex;flex-wrap:wrap;gap:10px}.toast{position:fixed;top:82px;right:20px;max-width:min(380px,calc(100vw - 40px));background:#173b78;color:#fff;padding:13px 18px;border-radius:11px;box-shadow:0 15px 40px #102d5f40;z-index:100;opacity:0;transform:translateY(-8px);pointer-events:none;transition:.2s}.toast.show{opacity:1;transform:translateY(0)}.toast.error{background:#a63e3e}@media(max-width:780px){.topbar{padding:0 18px;height:64px}.brand{font-size:1.05rem}.topbar nav a{padding:9px;font-size:.8rem}.buyer-wrap{margin-top:28px}.buyer-head h1{font-size:1.7rem}.head-ornament{width:51px;height:51px;border-radius:16px}.buyer-card{padding:18px;border-radius:22px}.admin-wrap{margin-top:27px}.dash-title h1{font-size:1.7rem}.metrics{grid-template-columns:repeat(2,1fr);gap:10px}.metric{padding:15px}.metric strong{font-size:1.45rem}.admin-grid{grid-template-columns:1fr;gap:12px}.admin-menu{flex-direction:row;overflow-x:auto;white-space:nowrap}.admin-menu button{flex:0 0 auto;padding:10px}.admin-section{padding:17px}.form-grid{grid-template-columns:1fr}.inline-form{flex-wrap:wrap}.inline-form button{width:100%}}@media(max-width:410px){.brand span:last-child{display:none}.buyer-head p{font-size:.88rem}.buyer-card{padding:14px}.panel{padding:16px}.dash-title{align-items:start}}
.nav-label{font-size:.88rem;font-weight:700;color:#50658c}.badge.awaiting_friend_code{background:#fff4d9;color:#93661c}.badge.queued{background:#e8f0ff;color:#2459a1}.badge.processing{background:#e7efff;color:#174c97}.result-card{margin-top:14px}
.operator-password{margin-top:20px}.item-actions .danger{color:#b43e3e;border-color:#f0c9c9}.item-actions .danger:hover{background:#fff2f2}
.operator-sharing-intro{margin:18px 0 12px;padding:12px 15px;border:1px solid #d9e7f8;border-radius:11px;background:#f4f8ff;color:#315783;font-size:.85rem;line-height:1.55}
.operator-merchant-card{padding:18px}.operator-sharing-settings{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin-top:15px}
.operator-sharing-option{display:flex;align-items:center;justify-content:space-between;gap:14px;min-width:0;padding:13px 14px;border:1px solid #dce7f6;border-radius:11px;background:#f8fbff;cursor:pointer}
.operator-sharing-copy{display:flex;flex-direction:column;gap:4px;min-width:0}.operator-sharing-copy strong{color:#173e77;font-size:.88rem}.operator-sharing-copy small{color:#7185a1;font-size:.76rem;line-height:1.45}
.operator-switch{position:relative;display:inline-flex;align-items:center;flex:none;width:46px;height:28px}.operator-switch input{position:absolute;inset:0;width:100%;height:100%;min-height:0;margin:0;padding:0;opacity:0;cursor:pointer;z-index:1}
.operator-switch-track{width:46px;height:28px;border-radius:999px;background:#c5d1e1;transition:background .16s}.operator-switch-track::after{content:"";display:block;width:20px;height:20px;margin:4px;border-radius:50%;background:#fff;box-shadow:0 1px 4px #193d8340;transition:transform .16s}
.operator-switch input:checked+.operator-switch-track{background:#2768cb}.operator-switch input:checked+.operator-switch-track::after{transform:translateX(18px)}.operator-switch input:focus-visible+.operator-switch-track{outline:3px solid #80adfa;outline-offset:3px}.operator-switch input:disabled+.operator-switch-track{opacity:.6}
@media(max-width:720px){.operator-sharing-settings{grid-template-columns:1fr}}
.operator-entry-intro{min-height:0;margin-bottom:20px;background:linear-gradient(110deg,#fff 55%,#f4f8ff)}.operator-entry-intro .field-hint{color:#59749a}.operator-entry-alerts{margin:15px 0;padding:13px 16px;border:1px solid #f1b7b7;border-left:4px solid #c44545;border-radius:11px;background:#fff2f2;color:#a02e2e;font-size:.85rem;font-weight:750}.operator-merchant-entry-error{border-color:#ecabab;background:#fffdfd}.operator-system-id{display:inline-block;padding:3px 8px;border-radius:7px;background:#eaf1ff;color:#18467f;font-weight:800}.operator-entry-health{display:flex;flex-wrap:wrap;gap:8px;margin-top:13px}.operator-entry-state{display:inline-flex;align-items:center;padding:5px 9px;border-radius:8px;font-size:.75rem;font-weight:750;line-height:1.45}.operator-entry-state.is-ok{background:#e9f7ef;color:#17724e}.operator-entry-state.is-unknown{background:#fff6df;color:#82611e}.operator-entry-state.is-error{background:#ffe9e9;color:#a62d2d}.operator-merchant-links{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px;margin-top:14px}.operator-entry-row{display:flex;flex-direction:column;justify-content:space-between;min-width:0;padding:12px 14px;border:1px solid #dce8f7;border-radius:11px;background:#fbfdff}.operator-entry-label{min-width:0}.operator-entry-label strong{display:block;margin-bottom:6px;color:#315b91;font-size:.78rem}.operator-entry-label code{display:block;color:#204873;font-size:.78rem;overflow-wrap:anywhere;user-select:all}.operator-entry-actions{display:flex;flex-wrap:wrap;gap:7px;margin-top:12px}.operator-entry-actions button{padding:6px 10px;border:1px solid #c9d9f0;border-radius:7px;background:#fff;color:#24558f;font-size:.75rem;font-weight:750}.operator-entry-actions button:hover{background:#edf4ff}.operator-executor-metrics{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:9px;margin-top:14px}.operator-executor-metrics>div{display:flex;flex-direction:column;min-width:0;padding:13px 14px;border:1px solid #dce7f7;border-radius:12px;background:#f6f9ff}.operator-executor-metrics span{color:#617b9c;font-size:.79rem;font-weight:750}.operator-executor-metrics strong{margin-top:5px;color:#183f7f;font-size:1.38rem;line-height:1.2;overflow-wrap:anywhere}.operator-executor-metrics strong em{font-size:.7rem;font-style:normal;font-weight:650;white-space:nowrap}.operator-executor-metrics small{margin-top:5px;color:#8496af;font-size:.7rem}.operator-executor-metrics>div:nth-child(2) strong{color:#128061}
@media(max-width:760px){.operator-executor-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}.operator-merchant-links{grid-template-columns:1fr}}
.password-field{position:relative}.password-field input{padding-right:78px}.password-field button{position:absolute;right:8px;top:50%;transform:translateY(-50%);border:0;border-radius:8px;background:transparent;color:#2459a1;font-size:.86rem;font-weight:700;padding:7px 10px;min-height:34px}.password-field button:hover{background:#eaf0ff}.password-field button:focus-visible{outline:2px solid #4a83eb;outline-offset:1px}
.brand-mark,.merchant-brand-mark{display:block;object-fit:contain;background:transparent;border-radius:0}.login-brand-logo{display:block;width:76px;height:76px;object-fit:contain;margin:0 0 10px}
/* 登录入口：品牌名与图标成组，页面名称只作次级说明。 */
.merchant-console #login-view{width:min(470px,calc(100vw - 32px));max-width:none;margin:clamp(32px,7vh,76px) auto 48px;padding:34px 38px 38px;border:1px solid #dfe8f4;border-radius:24px;background:#fff;box-shadow:0 24px 64px #1b37651c}
.login-brand{display:flex;align-items:center;gap:15px;padding-bottom:23px;border-bottom:1px solid #e7edf5}
.login-brand .login-brand-logo{flex:none;width:62px;height:62px;margin:0;object-fit:contain}
.login-brand-copy{display:flex;flex-direction:column;justify-content:center;min-width:0;gap:5px}
.login-brand-copy strong{color:#102d58;font-size:1.35rem;font-weight:850;letter-spacing:-.025em;line-height:1.22;white-space:nowrap}
.login-brand-copy span{color:#7184a1;font-size:.82rem;font-weight:650;letter-spacing:.06em}
.login-heading{margin:25px 0 0}
.merchant-console #login-view .login-heading h1{margin:0 0 7px;color:#14366b;font-size:1.5rem;font-weight:800;letter-spacing:-.025em}
.merchant-console #login-view .login-heading p{color:#7385a0;font-size:.9rem;line-height:1.5}
.merchant-console #login-view form{margin-top:27px;gap:10px}
.merchant-console #login-view form label{color:#28446d;font-size:.88rem}
.merchant-console #login-view form input{min-height:51px;border-radius:11px}
.merchant-console #login-view form label:not(:first-child){margin-top:8px}
.merchant-console #login-view form .primary{min-height:51px;margin-top:10px;border-radius:11px;font-size:.98rem}
@media(max-width:520px){.merchant-console #login-view{padding:28px 24px 30px;margin:30px auto}.login-brand{gap:12px;padding-bottom:20px}.login-brand .login-brand-logo{width:55px;height:55px}.login-brand-copy strong{font-size:1.18rem}.merchant-console #login-view .login-heading h1{font-size:1.35rem}}
.badge.friend_code_error{background:#fff1de;color:#a75b14}
.badge.delivery_blocked{background:#fff0d8;color:#86531a}
.item-actions .task-sample-probe{border-color:#d8b471;background:#fff8e9;color:#875411}
.item-actions .task-sample-probe:hover{background:#ffefd0}
.voucher-filters{display:grid;grid-template-columns:2fr 1fr 1fr;gap:10px;align-items:end}.voucher-filters label{display:flex;flex-direction:column;gap:6px;font-size:.85rem;font-weight:700;color:#305584}.voucher-filters input,.voucher-filters select{min-width:0}.voucher-message{margin:0;white-space:pre-wrap;overflow-wrap:anywhere;font:inherit;font-size:.88rem;line-height:1.6;color:#244575}.store-qr-preview{width:154px;height:154px;object-fit:contain;padding:6px;border:1px solid #dce6f6;border-radius:10px;background:#fff}.store-qr-code img{display:block;width:100%;height:100%;object-fit:contain}@media(max-width:640px){.voucher-filters{grid-template-columns:1fr 1fr}.voucher-filters label:first-child{grid-column:1/-1}}
#section-vouchers{background:#0e141e;border-color:#273747;color:#f3f7ff;min-height:600px}#section-vouchers h2,#section-vouchers h3{color:#fff}#section-vouchers .field-hint{color:#93a7bf}#section-vouchers .panel{background:#182330;border-color:#35485a;color:#e8f1fb}#section-vouchers .item-card{background:#14202d;border-color:#334656;color:#eaf2ff}#section-vouchers .item-head strong{color:#f4f8ff}#section-vouchers .item-spec{background:#1d2d40;color:#c8ddfa}#section-vouchers .item-meta{color:#97abc3}#section-vouchers input,#section-vouchers select,#section-vouchers textarea{background:#111b27;border:1px solid #394d60;color:#f3f7ff;border-radius:9px}#section-vouchers input::placeholder{color:#8196ad}#section-vouchers .ghost{background:#223447;color:#eaf2ff;border-color:#425669}#section-vouchers .item-actions button{background:#243447;color:#dbe9ff;border-color:#425669}.voucher-hero{display:flex;justify-content:space-between;align-items:center;gap:14px;padding:6px 0 24px;border-bottom:1px solid #2c3b4a}.voucher-hero h2{font-size:1.9rem;margin:0 0 6px}.voucher-hero p{margin:0;color:#96acc3}.voucher-gold{border:0;border-radius:10px;background:#f7ca49;color:#111827;font-weight:850;padding:13px 17px;white-space:nowrap}.voucher-gold:hover{background:#ffdc6a}.voucher-metrics{display:flex;flex-wrap:wrap;gap:28px;padding:20px 0 24px}.voucher-metrics span{color:#dbe8f9}.voucher-metrics b{margin-left:9px;color:#f7ca49}.voucher-metrics span:nth-child(2) b{color:#54dfbc}.voucher-metrics span:nth-child(3) b{color:#9bb6ff}.voucher-metrics span:nth-child(4) b{color:#fa8d9b}.voucher-specs-disclosure{margin-bottom:22px}.voucher-specs-disclosure summary{cursor:pointer;color:#d8e6fc;font-weight:750;margin-bottom:12px}.voucher-specs-disclosure[open]{padding:16px;border:1px solid #344657;border-radius:14px;background:#141f2b}.voucher-quick{background:#182330;border:1px solid #344657;border-radius:18px;padding:24px;margin-bottom:30px}.voucher-quick-heading{display:flex;align-items:baseline;flex-wrap:wrap;gap:14px}.voucher-quick h3{margin:0;font-size:1.25rem}.voucher-quick-heading p{margin:0;color:#9eb2c8;font-size:.84rem}.voucher-spec-chips{display:flex;flex-wrap:wrap;gap:9px;margin:21px 0}.voucher-spec-chips button{background:#111b27;border:1px solid #41566a;color:#f5f8ff;border-radius:10px;padding:10px 14px;font-weight:700}.voucher-spec-chips button.active{border-color:#f7ca49;color:#f7ca49;background:#302c1d}.voucher-issue-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr)) auto;gap:14px;align-items:end}.voucher-issue-grid label{display:flex;flex-direction:column;gap:7px;color:#afc4dc;font-size:.83rem}.voucher-issue-grid input,.voucher-issue-grid select{min-height:47px}.voucher-list-toolbar{display:flex;align-items:center;justify-content:space-between;gap:16px;flex-wrap:wrap}.voucher-list-toolbar h3{font-size:1.2rem;margin:0}.voucher-filters{display:flex;align-items:center;justify-content:flex-end;gap:8px;flex-wrap:wrap}.voucher-filters input{width:215px}.voucher-filters select{width:auto;min-width:110px}.voucher-filters input,.voucher-filters select,.voucher-filters button{min-height:42px;padding:8px 11px}.voucher-filters button:not(.voucher-gold){border:1px solid #3d5063;border-radius:9px;background:#223447;color:#f3f7ff;font-weight:700}.voucher-filters .voucher-gold{font-size:.85rem}.voucher-table-wrap{overflow-x:auto;border:1px solid #304252;border-radius:16px;background:#141f2b}.voucher-table{border-collapse:collapse;width:100%;min-width:780px}.voucher-table th{background:#1d2b39;color:#a9c1d8;font-size:.8rem;text-align:left;padding:14px 12px;white-space:nowrap}.voucher-table td{border-top:1px solid #2c3c4c;padding:15px 12px;color:#edf5ff;font-size:.86rem;vertical-align:middle}.voucher-table .voucher-code{font-family:ui-monospace,Consolas,monospace;color:#f6cf55;font-weight:800;letter-spacing:.03em}.voucher-table .voucher-note{max-width:180px;overflow-wrap:anywhere}.voucher-table .voucher-actions{white-space:nowrap}.voucher-table .voucher-actions button{border:1px solid #566478;border-radius:8px;background:#26384b;color:#eaf2ff;padding:7px 9px;margin-right:4px;font-size:.77rem;font-weight:700}.voucher-table .voucher-actions button.danger{background:#452b37;color:#ff9aa9;border-color:#67414b}.voucher-table .status-pill{display:inline-block;border-radius:99px;padding:5px 9px;font-weight:800;font-size:.74rem;background:#1d5749;color:#7ce5bd}.voucher-table .status-pill.redeemed{background:#4c3243;color:#ff9aaf}.voucher-table .status-pill.expired{background:#484332;color:#e7ca79}.voucher-table .status-pill.revoked{background:#49303a;color:#f49aaa}.voucher-table .voucher-legacy{color:#91a8c0;font-size:.7rem;margin-left:5px}@media(max-width:800px){.voucher-issue-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.voucher-list-toolbar{align-items:flex-start}.voucher-filters{justify-content:flex-start}}@media(max-width:520px){.voucher-hero{align-items:flex-start;flex-direction:column}.voucher-issue-grid{grid-template-columns:1fr}.voucher-filters input{width:100%}.voucher-filters select{flex:1}.voucher-quick{padding:16px}}
#dashboard.voucher-mode>.dash-title,#dashboard.voucher-mode>.metrics{display:none}
.topbar nav .nav-label{display:inline-block;padding:10px 15px;border-radius:11px;color:#50658c;font-size:.88rem;font-weight:700}.topbar nav .nav-label:hover,.topbar nav .nav-label:focus-visible{background:#eaf0ff;color:#1b4ca5}
.field-label-row{display:flex;align-items:center;justify-content:space-between;gap:10px}.help-link{border:0;background:none;color:#2862c8;font-size:.84rem;font-weight:700;padding:4px 0;white-space:nowrap}.help-link:hover{text-decoration:underline}
.friend-help-dialog{width:min(600px,calc(100vw - 24px),max(260px,calc(100dvh - 250px)));max-height:calc(100dvh - 24px);border:0;border-radius:15px;padding:0;background:#111d23;color:#f6f8fa;box-shadow:0 22px 70px #07111f70;overflow:hidden}.friend-help-dialog[open]{display:flex;flex-direction:column}.friend-help-dialog::backdrop{background:#0009}.friend-help-head{display:flex;align-items:center;justify-content:space-between;padding:14px 20px;border-bottom:1px solid #2b3a40;flex:none}.friend-help-head h2{font-size:1.15rem;margin:0}.dialog-close{border:0;background:transparent;color:#9eabb0;font-size:1.8rem;line-height:1;min-width:30px}.friend-help-body{min-height:0;overflow:hidden;padding:10px 20px;display:flex;flex-direction:column;align-items:center}.friend-help-body p{align-self:stretch;margin:0 0 8px;line-height:1.4;color:#b9c5c9;font-size:.88rem}.friend-help-body strong{color:#ffe132}.friend-help-body img{display:block;width:auto;max-width:100%;height:auto;max-height:calc(100dvh - 280px);object-fit:contain;border:1px solid #354247;border-radius:7px}.friend-help-body .field-hint{margin:7px 0 0;color:#9fb0b5}.friend-help-foot{display:flex;justify-content:flex-end;padding:10px 20px;border-top:1px solid #2b3a40;flex:none}.friend-help-foot .primary{background:#ffe132;color:#1b2025;min-width:115px}.friend-help-foot .primary:hover{background:#fff06d}
@media(max-width:410px){.topbar nav .nav-label{padding:9px;font-size:.79rem}.help-link{font-size:.77rem}.field-label-row{gap:5px}}
select,textarea{width:100%;border:1px solid #d9e3f4;border-radius:12px;padding:13px 15px;background:#fff;color:#16305e;font:inherit}select{min-height:46px}textarea{resize:vertical}.form-block{margin-bottom:18px}.search-order+.search-order{border-top:1px solid #dce6f6;margin-top:18px;padding-top:18px}.segment{margin-bottom:20px}
.store-promo{display:grid;grid-template-columns:minmax(0,1fr) 154px;align-items:center;gap:16px;padding:18px;margin-top:20px;background:#f8fbff;border:1px solid #d3e2ff;border-radius:17px}.store-promo h3{margin:0 0 10px;color:#102e63;font-size:1rem}.store-promo p{margin:0 0 14px;color:#7b8ba5;line-height:1.55;font-size:.87rem}.store-promo .button-row{align-items:center}.store-open{display:inline-flex;align-items:center;justify-content:center;background:#2379f5;color:#fff;font-size:.86rem;font-weight:800;border-radius:8px;padding:10px 12px;box-shadow:0 4px 10px #2379f52a}.store-open:hover{background:#1268e4}.store-copy{border:0;background:none;color:#24518d;font-weight:700;padding:8px 2px;font-size:.83rem}.store-copy:hover{text-decoration:underline}.store-promo-qr{display:flex;align-items:center;flex-direction:column;gap:6px}.store-qr-code{width:154px;height:154px;display:grid;place-items:center;background:#fff;border:1px solid #e8edf5;border-radius:10px;padding:8px;color:#9aa9bd;font-size:.74rem;text-align:center}.store-qr-code svg{display:block;width:100%;height:100%}.store-promo-qr small{color:#8c9bb0;font-size:.7rem;white-space:nowrap}#store-form{margin-top:18px}
@media(max-width:560px){.store-promo{grid-template-columns:minmax(0,1fr) 114px;gap:10px;padding:13px}.store-qr-code{width:114px;height:114px;padding:5px}.store-promo-qr small{font-size:.62rem}.store-open{font-size:.78rem;padding:9px}.store-copy{font-size:.76rem}}
.buyer-actions{display:flex;align-items:center}.buyer-actions .service-action{display:inline-flex;align-items:center;justify-content:center;gap:8px;border:1px solid #cfddf4;border-radius:999px;background:#f3f7ff;color:#193f7f;font-size:.9rem;font-weight:800;padding:9px 16px;min-height:42px;box-shadow:0 3px 10px #1b4b9020;transition:background .18s,border-color .18s,transform .18s}.buyer-actions .service-action svg{width:20px;height:20px;flex:none}.buyer-actions .service-action:hover{background:#e5efff;border-color:#9fbbea;transform:translateY(-1px)}.buyer-actions .service-action:focus-visible{outline:3px solid #9fbbea;outline-offset:2px}.buyer-info-dialog{width:min(430px,calc(100vw - 30px));border:1px solid #dce6f6;border-radius:18px;padding:0;background:#fff;color:#21395f;box-shadow:0 24px 75px #102c5a4d}.buyer-info-dialog::backdrop{background:#10213b83}.buyer-info-head{display:flex;align-items:center;justify-content:space-between;padding:18px 22px;border-bottom:1px solid #e7edf7}.buyer-info-head h2{font-size:1.13rem;color:#12366f;margin:0}.buyer-info-head .dialog-close{color:#6b7c99}.buyer-info-dialog p{padding:20px 22px;margin:0;white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.6}.buyer-info-foot{display:flex;justify-content:flex-end;align-items:center;gap:10px;padding:0 22px 20px;flex-wrap:wrap}.buyer-info-foot .store-open{min-height:44px}.buyer-info-foot .primary{min-height:44px}@media(max-width:410px){.buyer-actions .service-action{padding:8px 11px;gap:6px;font-size:.82rem}.buyer-actions .service-action svg{width:18px;height:18px}}
.buyer-announcement{display:flex;align-items:flex-start;gap:12px;background:#fff9e9;border-left:4px solid #f2ad2d;border-radius:16px;padding:17px 18px;margin:-3px 0 22px;color:#80530c;line-height:1.55;box-shadow:0 3px 16px #b2761210}.announcement-icon{font-size:1.16rem;color:#e8a023;line-height:1.5;flex:none}.buyer-announcement strong{display:block;font-size:.98rem;color:#7d4e05}.buyer-announcement p{margin:7px 0 0;font-size:.87rem;white-space:pre-line;overflow-wrap:anywhere}.buyer-announcement .announcement-warning{color:#d64427}.buyer-announcement p:empty{display:none}.announcement-toggle{display:flex;align-items:center;gap:10px;cursor:pointer}.announcement-toggle input{width:18px;height:18px;min-height:18px;accent-color:#2459a1;padding:0;flex:none}@media(max-width:560px){.buyer-announcement{padding:14px;gap:9px}.buyer-announcement strong{font-size:.9rem}.buyer-announcement p{font-size:.82rem}}
.lookup-friend-form{display:flex;flex-direction:column;gap:10px;margin-top:17px;padding-top:16px;border-top:1px solid #e4ebf7}.lookup-friend-heading{display:flex;justify-content:space-between;align-items:center;gap:10px}.lookup-friend-heading label{font-weight:800;color:#173d7b}.lookup-friend-help{border:0;background:transparent;color:#2464c6;font-size:.82rem;font-weight:700;padding:4px;white-space:nowrap}.lookup-friend-help:hover{text-decoration:underline}.lookup-friend-form .field-hint{margin:0}.lookup-friend-form .primary{align-self:flex-start}.lookup-friend-form input{max-width:100%}@media(max-width:450px){.lookup-friend-heading{align-items:flex-start;flex-direction:column;gap:2px}.lookup-friend-form .primary{width:100%}}
/* 充值码后台沿用全站浅色视觉，参考排版而非参考深色配色。 */
#section-vouchers{background:#fff;border-color:#e1e9f6;color:#17305e;min-height:600px}#section-vouchers h2,#section-vouchers h3{color:#122d60}#section-vouchers .field-hint{color:#7e90aa}#section-vouchers .panel,#section-vouchers .item-card{background:#f8faff;border-color:#e1e9f6;color:#17305e}#section-vouchers .item-head strong{color:#17305e}#section-vouchers .item-spec{background:#eef4ff;color:#24518d}#section-vouchers .item-meta{color:#7a89a4}#section-vouchers input,#section-vouchers select,#section-vouchers textarea{background:#fff;border:1px solid #d7e2f4;color:#17305e;border-radius:11px}#section-vouchers input::placeholder{color:#a1afc7}#section-vouchers .ghost,#section-vouchers .item-actions button{background:#fff;color:#24518d;border-color:#cddbf0}.voucher-hero{border-color:#e3eaf6}.voucher-hero p,.voucher-quick-heading p{color:#71839f}.voucher-gold{background:#1c4a99;color:#fff}.voucher-gold:hover{background:#2b61b7}.voucher-metrics span{color:#29446f}.voucher-metrics b{color:#1c4a99}.voucher-metrics span:nth-child(2) b{color:#14885b}.voucher-metrics span:nth-child(3) b{color:#3867b3}.voucher-metrics span:nth-child(4) b{color:#bf4961}.voucher-specs-disclosure summary{color:#315d9c}.voucher-specs-disclosure[open]{border-color:#dce6f5;background:#f8faff}.voucher-quick{background:#f6f9ff;border-color:#dce6f5}.voucher-issue-grid{grid-template-columns:minmax(170px,1.5fr) minmax(100px,.55fr) minmax(150px,1fr) auto}.voucher-issue-grid label{color:#31527f}.voucher-list-toolbar{gap:14px}.voucher-filters button:not(.voucher-gold){background:#f3f7ff;color:#27508d;border-color:#d1dff3}.voucher-table-wrap{border-color:#dbe5f4;background:#fff}.voucher-table th{background:#eef4fd;color:#506b94}.voucher-table td{border-color:#e4ebf5;color:#243e68}.voucher-table .voucher-code{color:#184686;font-size:.96rem;white-space:nowrap}.voucher-table .voucher-actions button{background:#f3f7ff;color:#2a5597;border-color:#d2dff2}.voucher-table .voucher-actions button.danger{background:#fff0f2;color:#b74459;border-color:#f1cbd2}.voucher-table .status-pill{background:#e2f7ee;color:#138053}.voucher-table .status-pill.redeemed{background:#fceaf0;color:#b44664}.voucher-table .status-pill.expired{background:#fff3d9;color:#916b15}.voucher-table .status-pill.revoked{background:#fcecef;color:#b14c5d}.voucher-table .voucher-legacy{color:#8b9db4}@media(max-width:1060px){.voucher-issue-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.voucher-issue-grid button{width:100%}}@media(max-width:600px){.voucher-issue-grid{grid-template-columns:1fr}.voucher-filters{width:100%}.voucher-filters input{width:100%}}
.action-dialog{width:min(440px,calc(100vw - 28px));border:1px solid #d9e5f5;border-radius:20px;padding:0;background:#fff;color:#18345f;box-shadow:0 26px 75px #14345c55}.action-dialog::backdrop{background:#132b4d80}.action-dialog-form{padding:0}.action-dialog-head{display:flex;align-items:center;justify-content:space-between;gap:15px;padding:20px 22px;border-bottom:1px solid #e6edf7}.action-dialog-head h2{margin:0;font-size:1.13rem;color:#15396e}.action-dialog-close{border:0;background:transparent;color:#8493aa;font-size:1.7rem;line-height:1}.action-dialog-message{margin:0;padding:20px 22px 0;line-height:1.6;color:#465e7e}.action-dialog-fields{display:grid;gap:14px;padding:20px 22px 0}.action-dialog-fields:empty{display:none}.action-dialog-fields label{display:grid;gap:7px;font-weight:750;font-size:.9rem}.action-dialog-error{min-height:18px;margin:10px 22px 0;color:#ba394a;font-size:.82rem}.action-dialog-actions{display:flex;justify-content:flex-end;gap:9px;padding:6px 22px 22px}
.language-switch{display:inline-flex;align-items:center;gap:2px;padding:3px;border:1px solid #cfddf4;border-radius:999px;background:#f3f7ff;flex:none}.language-switch button{border:0;background:transparent;color:#506b94;border-radius:999px;min-height:35px;padding:5px 10px;font-size:.8rem;font-weight:800;white-space:nowrap}.language-switch button.active{background:#fff;color:#173d83;box-shadow:0 2px 7px #193d8324}.language-switch button:focus-visible{outline:2px solid #4b81d5;outline-offset:2px}#buyer-actions{gap:9px}@media(max-width:520px){.topbar{padding:0 12px;gap:7px}.brand{font-size:.97rem}.brand-mark{width:29px;height:29px}.language-switch button{min-height:32px;padding:5px 7px;font-size:.73rem}#buyer-actions{gap:5px}.buyer-actions .service-action{padding:7px 9px;font-size:.75rem;min-height:38px}.buyer-actions .service-action svg{width:16px;height:16px}}@media(max-width:370px){.brand span:last-child{display:none}}
@media(max-width:520px){.topbar .brand span:last-child{display:none}}
/* 全站操作提示：顶部居中，避免宽屏时贴在右侧边缘。 */
.toast{left:50%;right:auto;top:82px;width:max-content;max-width:min(600px,calc(100vw - 32px));text-align:center;transform:translate(-50%,-10px)}
.toast.show{transform:translate(-50%,0)}
@media(max-width:780px){.toast{top:72px}}
/* 好友码说明弹窗与买家页面统一为浅色蓝白视觉。 */
.friend-help-dialog{background:#fff;color:#17345e;border:1px solid #dce6f6;box-shadow:0 24px 70px #183d7838}
.friend-help-dialog::backdrop{background:#17366380}
.friend-help-head{background:#f7faff;border-bottom:1px solid #e1e9f6}
.friend-help-head h2{color:#12366f}
.friend-help-head .dialog-close{color:#7187a7}
.friend-help-head .dialog-close:hover{color:#1b4e9b}
.friend-help-body{background:#fff}
.friend-help-body p{color:#526681}
.friend-help-body strong{color:#245db3}
.friend-help-body img{border:1px solid #d7e3f3}
.friend-help-body .field-hint{color:#7287a2}
.friend-help-foot{background:#f7faff;border-top:1px solid #e1e9f6}
.friend-help-foot .primary{background:#1d4388;color:#fff}
.friend-help-foot .primary:hover{background:#2a58a5}

/* 商家后台宽屏铺满可用视口；买家页和窄屏布局保持原样。 */
@media(min-width:1100px){
  .merchant-console .topbar{padding-left:clamp(28px,3vw,64px);padding-right:clamp(28px,3vw,64px)}
  .merchant-console .admin-wrap{width:100%;max-width:none;margin:28px auto 72px;padding-left:clamp(28px,3vw,64px);padding-right:clamp(28px,3vw,64px)}
  .merchant-console .admin-grid{grid-template-columns:220px minmax(0,1fr);gap:24px}
  .merchant-console .admin-content{min-width:0}
}
.job-filters{display:grid;grid-template-columns:minmax(250px,1fr) minmax(150px,220px);gap:12px;margin:0 0 18px}
.job-progress-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:14px 0 7px;color:#224b91;font-size:.86rem}
.job-progress-head strong{font-size:.93rem}
.job-progress-head span{color:#627895}
.job-progress-track{height:9px;border-radius:999px;background:#e5ecf8;overflow:hidden;margin-bottom:12px}
.job-progress-track>div{height:100%;border-radius:inherit;background:#346fee;transition:width .25s ease}
.reward-breakdown{display:grid;grid-template-columns:repeat(auto-fit,minmax(210px,1fr));gap:10px;margin:12px 0;color:#224b91}
.reward-breakdown-item{min-width:0;padding:10px 12px;border:1px solid #dbe5f7;border-radius:10px;background:#f6f9ff;font-size:.85rem}
.reward-breakdown-head,.buyer-reward-head{display:flex;align-items:center;justify-content:space-between;gap:12px}
.reward-breakdown-item .job-progress-track{margin:9px 0 0;height:6px}
.reward-breakdown-item strong{font-size:.9rem;font-variant-numeric:tabular-nums;color:#173d80}
.target-progress{grid-template-columns:repeat(auto-fit,minmax(min(100%,280px),1fr))}
.target-progress .reward-breakdown-head{flex-wrap:wrap;gap:6px}
.target-progress .reward-breakdown-head span{font-variant-numeric:tabular-nums}
.target-progress .item-meta{margin-top:8px}
[data-cooldown-until]{font-variant-numeric:tabular-nums;color:#93661c!important}
.buyer-reward-progress{margin:14px 0 2px;padding:12px 13px;border:1px solid #dbe5f7;border-radius:12px;background:#f6f9ff;color:#224b91;font-size:.86rem}
.buyer-reward-head span{font-variant-numeric:tabular-nums;color:#49688f}
.buyer-reward-progress .job-progress-track{margin:10px 0 0;height:7px}
.voucher-spec-form{display:grid;gap:14px}
.voucher-reward-row{display:grid;grid-template-columns:minmax(160px,1fr) minmax(180px,1fr) auto;align-items:end;gap:14px;margin-bottom:12px}
.voucher-reward-row.single{grid-template-columns:minmax(160px,1fr) minmax(180px,1fr)}
.voucher-reward-row label{min-width:0}
.voucher-reward-row select,.voucher-reward-row input{width:100%}
.voucher-reward-row .voucher-remove-reward{align-self:end;margin-bottom:1px}
.voucher-sample-enabled{appearance:auto!important;width:22px!important;height:22px!important;min-height:22px!important;padding:0!important;margin:7px 0!important;accent-color:#346fee;cursor:pointer}
@media(max-width:640px){.voucher-reward-row{grid-template-columns:1fr 1fr}.voucher-reward-row .voucher-remove-reward{grid-column:1/-1}}
.badge.cancelled{background:#edf0f5;color:#66758b}
@media(max-width:640px){.job-filters{grid-template-columns:1fr}}

/* 商家工作台：顶部工具栏 + 图标导航 + 二级导航 + 全宽内容区。 */
.merchant-topbar,.merchant-primary-nav{display:none}
.admin-menu-heading{padding:18px 12px 6px;color:#8793a9;font-size:.73rem;font-weight:800;letter-spacing:.08em}
.admin-menu-heading:first-child{padding-top:9px}
.admin-menu button small{float:right;color:#9aa9bc;font-size:.68rem;font-weight:600}
.module-pending{display:inline-flex;align-items:center;border:1px solid #e1e9f5;background:#f5f8fd;border-radius:999px;padding:6px 11px;color:#7184a4;font-size:.74rem;font-weight:800;white-space:nowrap}
.module-ready{display:inline-flex;align-items:center;border:1px solid #c8dcff;background:#edf4ff;border-radius:999px;padding:6px 11px;color:#1b4b9b;font-size:.74rem;font-weight:800;white-space:nowrap}
.module-skeleton{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin:24px 0}
.module-skeleton>div{display:flex;flex-direction:column;gap:15px;min-height:130px;padding:19px;border:1px dashed #d9e3f2;border-radius:14px;background:#f9fbfe}
.module-skeleton strong{color:#173967}.module-skeleton span{color:#8797ac;font-size:.86rem}
@media(min-width:1100px){
  .merchant-console{background:#fff}
  .merchant-console>.topbar{display:none}
  .merchant-console .admin-wrap{width:100%;max-width:none;margin:0;padding:0}
  .merchant-console #dashboard{display:grid;grid-template-columns:82px 222px minmax(0,1fr);grid-template-rows:74px auto auto minmax(0,1fr);min-height:100vh;background:#fff}
  .merchant-console .merchant-topbar{grid-column:1/-1;grid-row:1;display:flex;align-items:center;gap:clamp(12px,1.4vw,26px);padding:0 26px;border-bottom:1px solid #e7ebf2;background:#fff;position:sticky;top:0;z-index:20;min-width:0}
  .admin-sidebar-toggle{display:grid;place-items:center;flex:0 0 35px;width:35px;height:35px;padding:0;border:1px solid #dbe4f1;border-radius:8px;background:#fff;color:#365785;font-size:1.05rem;line-height:1}
  .admin-sidebar-toggle:hover,.admin-sidebar-toggle:focus-visible{background:#edf4ff;border-color:#a9c4ef;outline:none}
  .merchant-brand{display:flex;align-items:center;gap:9px;min-width:245px;color:#142a52;white-space:nowrap}
  .merchant-brand-mark{display:grid;place-items:center;width:32px;height:32px;border-radius:10px;background:#3259d7;color:#fff;font-size:1.15rem}
  .merchant-brand strong{font-size:1.15rem}.merchant-brand small{padding-left:7px;border-left:1px solid #d6dce8;color:#7d8da6;font-size:.7rem;font-weight:700}
  .merchant-top-search{display:flex;align-items:center;gap:7px;flex:0 1 430px;border:1px solid #edf0f5;border-radius:9px;background:#f5f6f9;padding:0 12px;color:#7888a2}
  .merchant-top-search input{border:0;box-shadow:none;min-height:40px;background:transparent;padding:8px 0;font-size:.87rem}
  .merchant-top-search input:focus{box-shadow:none}
  .merchant-top-notice{display:flex;align-items:center;gap:8px;margin-left:auto;color:#384a68;font-size:.82rem;white-space:nowrap}
  .notice-dot{width:8px;height:8px;background:#3775ec;border-radius:50%}
  .merchant-top-actions{display:flex;align-items:center;gap:14px;color:#18396a;font-size:.88rem;font-weight:800;white-space:nowrap}
  .merchant-top-actions button{padding:8px 13px;border:1px solid #d9e3f2;border-radius:8px;background:#fff;color:#45638d;font-size:.78rem;font-weight:700}
  .merchant-top-actions button:hover{background:#f1f5fc}
  .merchant-console .merchant-primary-nav{grid-column:1;grid-row:2/5;display:flex;flex-direction:column;gap:4px;align-items:stretch;padding:18px 8px;background:#f9fafc;border-right:1px solid #e6ebf2;position:sticky;top:74px;height:calc(100vh - 74px);z-index:5}
  .merchant-primary-nav button{display:flex;flex-direction:column;align-items:center;gap:2px;border:0;border-radius:10px;background:transparent;color:#576781;padding:10px 0;min-height:60px}
  .merchant-primary-nav button span{font-size:1.26rem;line-height:1.15}.merchant-primary-nav button small{font-size:.75rem;font-weight:750}
  .merchant-primary-nav button:hover,.merchant-primary-nav button.active{background:#eaf0ff;color:#2858c8}
  .merchant-console .admin-grid{display:contents}
  .merchant-console .admin-menu{grid-column:2;grid-row:2/5;display:flex;flex-direction:column;gap:2px;align-self:start;position:relative;top:auto;height:auto;overflow:visible;padding:14px 12px;border:0;border-right:1px solid #e8ecf2;border-radius:0;background:#fff}
  .merchant-console .admin-menu button{flex:none;padding:11px 14px;border-radius:8px;color:#364a6c;font-size:.85rem}
  .merchant-console .admin-menu button:hover{background:#f4f7fc}
  .merchant-console .admin-menu button.active{background:#eaf0ff;color:#2055c5}
  .merchant-console .dash-title{grid-column:3;grid-row:2;margin:0;padding:31px clamp(24px,2.3vw,46px) 15px;min-width:0}
  .merchant-console .dash-title h1{font-size:1.65rem;margin:7px 0 4px}
  .merchant-console .dash-title #logout-btn{display:none}
  .merchant-console .metrics{grid-column:3;grid-row:3;margin:0;padding:0 clamp(24px,2.3vw,46px) 20px;gap:12px}
  .merchant-console .metric{padding:16px 18px;border-radius:11px;box-shadow:none}
  .merchant-console .metric strong{font-size:1.5rem}
  .merchant-console .admin-content{grid-column:3;grid-row:4;min-width:0;padding:20px clamp(24px,2.3vw,46px) 70px;border-top:1px solid #e8edf5}
  .merchant-console .admin-section{padding:0;border:0;border-radius:0;box-shadow:none;min-height:0}
  .merchant-console #dashboard.compact-view>.dash-title,.merchant-console #dashboard.compact-view>.metrics{display:none}
  .merchant-console #dashboard.compact-view .admin-content{grid-row:2/5;padding-top:30px;border-top:0}
  .merchant-console .section-heading{padding-bottom:17px;border-bottom:1px solid #e8edf5}
  .merchant-console .section-heading h2{font-size:1.35rem}
  .merchant-console .item-card{border-radius:10px}
  .merchant-console #dashboard.sidebar-collapsed{grid-template-columns:0 0 minmax(0,1fr)}
  .merchant-console #dashboard.sidebar-collapsed .merchant-primary-nav,.merchant-console #dashboard.sidebar-collapsed .admin-menu{display:none}
}
@media(min-width:1100px) and (max-width:1380px){.merchant-top-notice{display:none}}
@media(max-width:1099px){
  .merchant-console .merchant-topbar,.merchant-console .merchant-primary-nav{display:none}
  .merchant-console .admin-menu-heading{display:none}
}
@media(max-width:700px){.module-skeleton{grid-template-columns:1fr}.module-skeleton>div{min-height:90px}}

/* 离线参考页面对应的业务模块骨架。 */
.scaffold-stat-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:13px;margin:18px 0 22px}
.scaffold-stat-grid article{display:flex;flex-direction:column;gap:7px;padding:20px;border:1px solid #dfe7f2;border-radius:12px;background:#fff;min-width:0}
.scaffold-stat-grid article.wide{grid-column:1/-1;background:#f7faff}
.scaffold-stat-grid span{font-size:.82rem;color:#687a96}.scaffold-stat-grid strong{font-size:1.7rem;color:#173e87}.scaffold-stat-grid small{color:#94a1b5;font-size:.74rem}
.scaffold-panel{border:1px solid #dfe7f2;border-radius:13px;padding:22px;margin:18px 0;background:#fff}
.scaffold-panel h2,.scaffold-panel h3{margin:0 0 15px;color:#16386d}.scaffold-panel h3{font-size:1.05rem}
.scaffold-panel .section-heading h2,.scaffold-panel .section-heading h3{margin:0}
.scaffold-chart{display:grid;grid-template-columns:repeat(24,minmax(0,1fr));align-items:end;gap:5px;height:180px;border-bottom:1px solid #dce5f3;padding:20px 4px 0}
.scaffold-chart-column{height:100%;display:flex;flex-direction:column;justify-content:flex-end;align-items:center;min-width:0}
.scaffold-chart-column span{display:block;width:100%;max-width:25px;min-height:3px;border-radius:5px 5px 0 0;background:#4b79e4}
.scaffold-chart-column small{height:19px;font-size:.65rem;color:#8494aa}
.scaffold-flow{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin-bottom:17px}.scaffold-flow span{border:1px solid #d7e3f5;border-radius:9px;background:#f3f7ff;color:#2c528c;padding:11px;font-size:.8rem;font-weight:750}.scaffold-flow i{color:#8ba3cb;font-style:normal}
.scaffold-product-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:13px;margin:15px 0 22px}
.scaffold-product{display:flex;flex-direction:column;text-align:left;gap:8px;min-height:94px;padding:18px;border:1px solid #dce5f3;border-radius:12px;background:#fff;color:#1c3f75}.scaffold-product strong{font-size:1rem}.scaffold-product small{font-size:.75rem;color:#8090aa}.scaffold-product.active{border-color:#4d78d7;background:#f1f5ff;box-shadow:0 0 0 2px #4d78d71c}
.scaffold-chips{display:flex;flex-wrap:wrap;gap:8px;min-height:40px;margin:14px 0}.scaffold-chip{display:inline-flex;align-items:center;gap:8px;border:1px solid #cbdcf8;border-radius:999px;padding:6px 8px 6px 13px;background:#edf4ff;color:#24518d;font-size:.84rem}.scaffold-chip button{border:0;border-radius:50%;width:21px;height:21px;background:#d4e3fb;color:#345b96;font-weight:800}
.scaffold-inline{display:flex;align-items:center;gap:10px;margin:12px 0}.scaffold-inline input{min-width:0}.scaffold-inline button{white-space:nowrap}
.scaffold-form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:15px;margin:19px 0}.scaffold-form-grid label,.scaffold-panel>label{display:flex;flex-direction:column;gap:7px;color:#304d77;font-size:.85rem;font-weight:750}.scaffold-form-grid select{width:100%}
/* 创建任务：样本固定规格采用整行卡片，保留原生 checkbox 的键盘与表单行为。 */
.scaffold-form-grid .create-sample-card{grid-column:1/-1;position:relative;display:grid;grid-template-columns:42px minmax(0,1fr) auto;align-items:center;gap:14px;min-height:86px;margin:0;padding:15px 18px;border:1px solid #d9e5f4;border-radius:14px;background:#f8fbff;color:#173d77;cursor:pointer;transition:background .18s,border-color .18s,box-shadow .18s}
.create-sample-card:hover{border-color:#a9c4eb;background:#f4f8ff}
.create-sample-icon{display:grid;place-items:center;width:42px;height:42px;border-radius:12px;background:#e5efff;color:#3567bc;font-size:1.35rem;line-height:1}
.create-sample-copy{display:flex;flex-direction:column;gap:5px;min-width:0}
.create-sample-heading{display:flex;align-items:center;gap:9px;flex-wrap:wrap;color:#163b75;font-size:1rem;font-weight:800;line-height:1.25}
.create-sample-tag{display:inline-flex;align-items:center;padding:3px 8px;border-radius:999px;background:#edf3fd;color:#5575a8;font-size:.68rem;font-weight:800;white-space:nowrap}
.create-sample-description{color:#7185a3;font-size:.79rem;font-weight:500;line-height:1.45}
#create-sample-enabled{position:absolute;width:1px;height:1px;min-height:0;margin:0;padding:0;border:0;opacity:0;pointer-events:none}
.create-sample-control{display:inline-flex;align-items:center;gap:10px;justify-self:end;white-space:nowrap}
.create-sample-state{color:#8293ac;font-size:.75rem;font-weight:800}
.create-sample-state::before{content:'未开启'}
.create-sample-switch{position:relative;display:block;width:49px;height:28px;flex:none;border:1px solid #c6d3e6;border-radius:999px;background:#dce5f2;box-shadow:inset 0 1px 2px #173c6a16;transition:background .18s,border-color .18s,box-shadow .18s}
.create-sample-switch::after{content:'';position:absolute;top:3px;left:3px;width:20px;height:20px;border-radius:50%;background:#fff;box-shadow:0 1px 4px #173b6b3b;transition:transform .18s}
.create-sample-card:has(#create-sample-enabled:checked){border-color:#8db1ea;background:#f0f6ff;box-shadow:0 0 0 2px #4f82d916}
#create-sample-enabled:checked + .create-sample-control .create-sample-state{color:#245caa}
#create-sample-enabled:checked + .create-sample-control .create-sample-state::before{content:'已开启'}
#create-sample-enabled:checked + .create-sample-control .create-sample-switch{border-color:#326cce;background:#3977dc}
#create-sample-enabled:checked + .create-sample-control .create-sample-switch::after{transform:translateX(21px)}
.create-sample-card:has(#create-sample-enabled:focus-visible){outline:3px solid #6ea0ef;outline-offset:3px}
.create-sample-card:has(#create-sample-enabled:disabled){opacity:.55;cursor:not-allowed}
@media(max-width:520px){.scaffold-form-grid .create-sample-card{grid-template-columns:minmax(0,1fr) auto;gap:10px;padding:14px}.create-sample-icon,.create-sample-state{display:none}}
.scaffold-readonly{display:block;min-height:46px;padding:13px 15px;background:#f7f9fd;border:1px solid #e0e7f2;border-radius:10px;color:#8491a6}
.scaffold-summary{display:flex;align-items:center;justify-content:space-between;gap:14px;flex-wrap:wrap;padding:16px;margin:18px 0;border-radius:10px;background:#f0f5ff;color:#2c5086}.scaffold-summary strong{color:#173d86}
.scaffold-notice{border-left:4px solid #5f87db;background:#f3f7ff;padding:14px 17px;border-radius:9px;color:#3d577d;line-height:1.55;font-size:.85rem}
.scaffold-toolbar{display:flex;align-items:center;justify-content:space-between;gap:16px;flex-wrap:wrap;margin:14px 0 20px}.scaffold-toolbar label{display:flex;align-items:center;gap:9px;font-size:.8rem;color:#516887;font-weight:700}.scaffold-toolbar select{width:auto;min-width:150px}
.scaffold-pills{display:flex;gap:6px;flex-wrap:wrap}.scaffold-pills button{border:1px solid #d9e4f5;border-radius:8px;background:#fff;padding:9px 12px;color:#50709f;font-size:.8rem;font-weight:750}.scaffold-pills button.active{background:#eaf1ff;border-color:#92b2ed;color:#1e54b3}
.scaffold-account-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(220px,1fr));gap:13px}.scaffold-account-card{display:flex;flex-direction:column;align-items:flex-start;gap:7px;min-height:165px;text-align:left;border:1px solid #dce5f4;border-radius:11px;background:#fff;padding:16px;color:#1b3d74}.scaffold-account-card:hover{border-color:#7299dc;background:#f9fbff}.scaffold-account-card strong{font-size:1rem}.scaffold-account-card small{color:#8496ae}.scaffold-account-card em{font-style:normal;font-weight:850;font-size:1.25rem;color:#2255ab;margin-top:auto}
#execution-account-search{width:min(360px,100%);flex:0 1 360px}
.scaffold-dialog{width:min(620px,calc(100vw - 24px));max-height:85vh}.scaffold-dialog-body{padding:22px;overflow:auto}.scaffold-dialog-body h3{color:#183b73;font-size:1rem;margin:20px 0 9px}.scaffold-detail-grid{display:grid;grid-template-columns:125px minmax(0,1fr);gap:9px}.scaffold-detail-grid span{color:#7d8ba1}.scaffold-detail-grid strong{overflow-wrap:anywhere}.scaffold-detail-row{padding:9px 0;border-top:1px solid #e7edf6;font-size:.82rem}
.scaffold-table-wrap{overflow:auto;border:1px solid #e1e8f3;border-radius:10px}.scaffold-table{border-collapse:collapse;width:100%;min-width:650px}.scaffold-table th{background:#f3f6fb;text-align:left;font-size:.8rem;color:#607593;padding:13px}.scaffold-table td{padding:17px 13px;border-top:1px solid #e8edf5;font-size:.82rem}.scaffold-empty-cell{text-align:center;color:#8c9bb1}.scaffold-pager{display:flex;align-items:center;justify-content:flex-end;gap:12px;margin-top:14px;font-size:.8rem;color:#7e8fa8}.scaffold-pager button{border:1px solid #d9e3f2;border-radius:7px;background:#fff;padding:7px 12px;color:#7386a3}.scaffold-pager button:disabled{opacity:.55;cursor:default}
@media(max-width:800px){.scaffold-stat-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.scaffold-product-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:550px){.scaffold-product-grid,.scaffold-form-grid{grid-template-columns:1fr}.scaffold-panel{padding:16px}.scaffold-chart{gap:2px}.scaffold-inline{flex-wrap:wrap}.scaffold-inline button{width:100%}}
#section-jobs .job-filters{grid-template-columns:minmax(250px,1fr) minmax(145px,210px) minmax(165px,215px) auto;align-items:center}
@media(max-width:550px){#section-jobs .job-filters{grid-template-columns:1fr}}
.steam-auth-dialog{width:min(500px,calc(100vw - 32px));max-height:calc(100dvh - 28px);padding:0;overflow-y:auto;border-radius:18px}
.steam-auth-dialog .action-dialog-head{padding:17px 22px}.steam-auth-dialog .action-dialog-head h2{font-size:1.15rem}.steam-auth-dialog .action-dialog-close{width:32px;height:32px;min-height:32px;padding:0;border:0;background:transparent;color:#7084a2;font-size:1.55rem;line-height:1}
.steam-auth-body{padding:17px 22px 20px}.steam-auth-account{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:11px 13px;border:1px solid #e2eaf7;border-radius:10px;background:#f7faff;font-size:.86rem}.steam-auth-account span{color:#7689a5}.steam-auth-account strong{color:#163d7c;overflow-wrap:anywhere}
.steam-auth-methods{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:4px;margin:15px 0;padding:4px;border-radius:11px;background:#edf3fc}.steam-auth-methods button{min-height:38px;border:0;border-radius:8px;background:transparent;color:#627899;font-weight:750}.steam-auth-methods button.active{background:#fff;color:#173f82;box-shadow:0 2px 8px #274e891c}
.steam-auth-dialog form{display:grid;gap:12px;margin:0}.steam-auth-dialog form.hidden,.steam-auth-dialog section.hidden{display:none}.steam-auth-dialog .steam-auth-field{display:grid;gap:6px;color:#24436f;font-size:.86rem;font-weight:750}.steam-auth-dialog input:not([type=checkbox]){width:100%;min-height:44px;padding:10px 12px;border-radius:9px}.steam-auth-dialog .steam-auth-save{display:flex;align-items:center;gap:9px;color:#395577;font-size:.82rem;line-height:1.35;cursor:pointer}.steam-auth-dialog .steam-auth-save input[type=checkbox]{appearance:auto;width:18px;height:18px;min-width:18px;min-height:18px;margin:0;padding:0;border:0;flex:none;accent-color:#1d58ad}.steam-auth-dialog .steam-auth-save span{flex:1}.steam-auth-dialog form>.primary,.steam-auth-dialog [data-start-qr]{width:100%;min-height:44px;padding:10px 16px;border-radius:9px}
.steam-auth-panel{min-width:0}.steam-auth-qr{width:190px;min-height:190px;max-width:100%;margin:8px auto 13px;background:#f7faff;color:#7489a5;display:grid;place-items:center;border:1px dashed #d8e4f3;border-radius:12px;text-align:center;font-size:.83rem}.steam-auth-qr p{margin:0}.steam-auth-qr svg{width:100%;height:auto}.steam-auth-panel>.field-hint{text-align:center;margin:9px 0 0}
.steam-auth-feedback{margin-top:15px}.steam-auth-dialog [data-status]{margin:0;padding:10px 12px;background:#eef5ff;color:#23518a;border-radius:9px;font-size:.82rem;line-height:1.45;overflow-wrap:anywhere}.steam-auth-dialog [data-error]{min-height:0;margin:6px 0 0;overflow-wrap:anywhere}.steam-auth-dialog [data-error]:empty,.steam-auth-dialog [data-expiry]:empty{display:none}.steam-auth-dialog [data-expiry]{margin:8px 0 0;font-size:.76rem}.steam-auth-dialog [data-guard],.steam-auth-dialog [data-playfab]{margin-top:11px;padding-top:12px;border-top:1px solid #e4ebf5}.steam-auth-dialog [data-playfab] p{font-size:.82rem;line-height:1.45}.steam-auth-dialog [data-playfab] button{min-height:38px;padding:8px 12px;border:1px solid #ccd9ee;border-radius:8px;background:#fff;color:#214a8c;font-weight:750}
@media(max-height:650px){.steam-auth-body{padding-top:12px;padding-bottom:14px}.steam-auth-methods{margin:10px 0}.steam-auth-qr{width:150px;min-height:150px}}
.steam-auth-dialog .action-dialog-close:focus-visible{outline:2px solid #8eb4f0;outline-offset:2px;border-radius:6px}
.execution-heading-actions{display:flex;align-items:center;justify-content:flex-end;gap:10px;flex-wrap:wrap}.execution-download-link{display:inline-flex;align-items:center;justify-content:center;min-height:42px;padding:9px 14px;border:1px solid #bcd2f5;border-radius:11px;background:#edf4ff;color:#16468e;font-weight:750;white-space:nowrap}.execution-download-link:hover,.execution-download-link:focus-visible{background:#deebff;border-color:#8eb3ed}.execution-software-panel{display:flex;align-items:center;gap:12px;flex-wrap:wrap;margin:14px 0 17px;padding:14px 16px;border:1px solid #d9e5f7;border-radius:13px;background:#f8fbff;color:#294b80}.execution-software-title{display:flex;gap:9px;align-items:center;flex-wrap:wrap}.execution-software-title span{font-size:.82rem;color:#7488a6}.execution-software-panel>a{color:#1956a3;text-decoration:underline;text-underline-offset:3px;overflow-wrap:anywhere;min-width:0}.execution-software-password{display:flex;align-items:center;gap:7px;flex-wrap:wrap}.execution-software-password strong{padding:5px 8px;border-radius:7px;background:#e6f0ff;color:#153d80;letter-spacing:.08em;user-select:all}.execution-software-password button{padding:5px 9px;border:1px solid #c6d8f1;border-radius:8px;background:#fff;color:#205090;font-weight:700}.operator-software-section{margin-bottom:20px}.operator-software-hint{grid-column:1/-1;margin:0}.operator-software-section input{min-width:0}
@media(max-width:760px){.execution-heading-actions{justify-content:flex-start;width:100%}.execution-heading-actions>*{flex:1 1 auto}.execution-software-panel{align-items:flex-start;flex-direction:column}.execution-software-panel>a{width:100%}}
.operator-created-credentials{margin:16px 0 20px;padding:18px;border:1px solid #bcd7f2;border-radius:14px;background:#f1f7ff}.operator-created-credentials>strong{display:block;color:#17437e;font-size:1rem}.operator-created-credentials>.field-hint{margin:5px 0 14px}.operator-credential-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin-bottom:14px}.operator-credential-grid>div{min-width:0;padding:10px 12px;border:1px solid #d8e6f6;border-radius:9px;background:#fff}.operator-credential-grid>div:nth-child(2),.operator-credential-grid>div:nth-child(3){grid-column:1/-1}.operator-credential-grid span{display:block;margin-bottom:5px;color:#6980a0;font-size:.78rem}.operator-credential-grid code{display:block;color:#153c76;font-size:.91rem;font-weight:700;overflow-wrap:anywhere;user-select:all}.operator-created-credentials>.primary{width:100%}
@media(max-width:520px){.operator-credential-grid{grid-template-columns:1fr}.operator-credential-grid>div:nth-child(2),.operator-credential-grid>div:nth-child(3){grid-column:auto}}
.brand{min-width:0}#buyer-store-name{max-width:min(28vw,280px);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}#buyer-brand-title{white-space:nowrap}

.target-quota{margin-top:8px;padding-top:8px;border-top:1px dashed #d8e4f8}.quota-progress{height:5px}.quota-progress>div{background:#d5a232}.account-scheduling-detail{color:#a06b1b!important;overflow-wrap:anywhere;line-height:1.5}

.customer-service-preview{padding:14px 16px;border:1px solid #d9e5f8;border-radius:12px;background:#f6f9ff}.customer-service-preview p{margin:10px 0 0;white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.7}#buyer-info-body{white-space:pre-wrap;overflow-wrap:anywhere}

/* Full-store statistics remain independent of task search and pagination. */
#section-jobs>.section-heading{align-items:flex-start;gap:22px;flex-wrap:wrap}
.task-statistics{flex:1 1 570px;max-width:880px;margin-left:auto;min-width:0;color:#24518d}
.task-statistics-pill{display:flex;align-items:center;justify-content:space-between;gap:12px 20px;flex-wrap:wrap;padding:14px 20px;border:1px solid #e0e9f7;border-radius:32px;background:#f7faff;font-size:.88rem}
.task-statistics-pill>span{display:inline-flex;align-items:center;gap:7px;white-space:nowrap}.task-statistics-pill i{font-style:normal;color:#7698bf;font-size:1rem}.task-statistics-pill strong{color:#102d58;font-size:1.03rem}
.task-statistics-speed{display:flex;justify-content:flex-end;gap:10px 20px;flex-wrap:wrap;margin:10px 5px 5px;font-size:.82rem}.task-statistics-speed strong{color:#174c97}.task-statistics>small{display:block;margin:7px 5px 0;color:#8192ab;line-height:1.5;font-size:.72rem}.task-statistics-other{margin:5px;font-size:.8rem;color:#6680a1}
@media(max-width:1100px){.task-statistics{max-width:none;flex-basis:100%;margin-left:0}.task-statistics-speed{justify-content:flex-start}}
@media(max-width:520px){.task-statistics-pill{justify-content:flex-start;border-radius:16px;padding:12px 14px;gap:10px 16px}.task-statistics-pill>span{flex:1 1 110px}.task-statistics-speed{gap:8px 14px}}

.item-actions .task-priority-button{color:#1756ad;border-color:#abc8f2;background:#edf4ff}.item-actions .task-priority-button:hover{background:#deebff}.task-priority-badge{background:#fff2cc;color:#8a6012;display:inline-block;vertical-align:middle;margin-left:7px;font-weight:700}

/* 订单中心：参考紧凑订单列表，长字段在详情行保留。 */
#section-orders{background:#f6f8fc;padding:18px;border-radius:12px}
.order-list-panel{min-width:0;padding:21px 16px 25px;border:1px solid #e6eaf1;border-radius:13px;background:#fff;box-shadow:0 3px 15px #25416908}
.order-list-heading{align-items:center;margin-bottom:10px}
.order-list-heading h2{font-size:1.2rem;color:#162846}
.order-list-heading p{color:#8b98a9;font-size:.77rem}
.order-list-heading .ghost{min-height:36px;padding:7px 13px;font-size:.78rem}
.order-search-row{display:flex;gap:10px;align-items:center;margin:12px 0 16px}.order-search-row input{flex:1;min-width:0;min-height:42px;padding:9px 13px;border:1px solid #d7e2f4;border-radius:8px;background:#fff;color:#26364d;font-size:.83rem}.order-search-row input:focus{outline:2px solid #9bbdf5;outline-offset:1px}.order-search-row .ghost{min-height:42px;padding:8px 15px;font-size:.8rem}
.order-table-wrap{width:100%;overflow-x:visible}
.order-table{width:100%;min-width:0;border-collapse:collapse;table-layout:fixed}
.order-table th:nth-child(1){width:10%}.order-table th:nth-child(2){width:7%}.order-table th:nth-child(3){width:14%}.order-table th:nth-child(4),.order-table th:nth-child(5),.order-table th:nth-child(6),.order-table th:nth-child(7),.order-table th:nth-child(9){width:4.8%}.order-table th:nth-child(8){width:5.5%}.order-table th:nth-child(10){width:11%}.order-table th:nth-child(11){width:5.5%}.order-table th:nth-child(12){width:6%}.order-table th:nth-child(13),.order-table th:nth-child(14){width:8.5%}
.order-table thead{background:#f7f8fa}.order-table th{padding:10px 6px;text-align:left;color:#33435d;font-size:.75rem;font-weight:800;border-bottom:1px solid #e8ebf0;white-space:normal;line-height:1.25}
.order-table td{padding:10px 6px;border-bottom:1px solid #edf0f4;color:#26364d;font-size:.75rem;vertical-align:middle;overflow-wrap:anywhere}
.order-table-row:hover{background:#fafcff}.order-table-row:has(.order-table-key[aria-expanded="true"]){background:#f6f9ff}
.order-table-key{display:block;width:100%;border:0;background:none;padding:0;color:#1b4a8e;font-size:inherit;font-weight:700;text-align:left;cursor:pointer;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.order-table-key:hover{text-decoration:underline;text-underline-offset:2px}.order-table-key:focus-visible{outline:2px solid #4580dd;outline-offset:3px;border-radius:3px}
.order-player strong,.order-product strong,.order-amount strong,.order-weapon strong{display:block;min-width:0;font-weight:650}.order-player strong{color:#1c457c}.order-player small,.order-product small,.order-amount small,.order-weapon small{display:block;margin-top:3px;color:#8998ad;font-size:.7rem;line-height:1.35}
.order-amount{font-variant-numeric:tabular-nums}.order-table-dash{color:#a5afbd}.order-type{display:inline-block;padding:3px 7px;border:1px solid #e0d3fb;border-radius:6px;background:#faf6ff;color:#7351ab;font-size:.72rem;font-weight:700;white-space:nowrap}
.order-table .badge{display:inline-block;border:1px solid currentColor;border-radius:6px;padding:3px 7px;background:#fff;font-size:.72rem}
.order-created,.order-completion{font-variant-numeric:tabular-nums}.order-created-at,.order-completed-at{display:block;white-space:nowrap;line-height:1.3}.order-created-at span,.order-created-at small,.order-completed-at span,.order-completed-at small{display:block}.order-created-at small,.order-completed-at small{color:#8998ad;font-size:.7rem}
.order-table .badge.completed{color:#399a45;background:#f4fff2}.order-table .badge.queued,.order-table .badge.processing{color:#3b72bf;background:#f5f9ff}.order-table .badge.cooldown,.order-table .badge.friend_code_error{color:#a36c1d;background:#fff9ed}.order-table .badge.invalid,.order-table .badge.cancelled{color:#9c6470;background:#fff7f7}
.order-detail-row[hidden]{display:none}.order-detail-row td{padding:0;background:#f7faff}.order-detail-content{padding:18px 20px 21px}.order-detail-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:13px 22px}.order-detail-grid span{display:block;color:#8796ab;font-size:.73rem;margin-bottom:3px}.order-detail-grid strong{color:#304966;font-size:.81rem;font-weight:650;overflow-wrap:anywhere}.order-detail-note{margin:15px 0 10px;color:#71819a;font-size:.78rem}.order-detail-content>.ghost{padding:7px 11px;font-size:.76rem;min-height:34px}
.order-table-empty{text-align:center;padding:42px!important;color:#8796ab!important}
.order-list-footer{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-top:14px;color:#8796ab;font-size:.76rem}.order-list-footer>div{display:flex;gap:7px}.order-list-footer button{padding:6px 11px;border:1px solid #dbe3ee;border-radius:6px;background:#fff;color:#5d7293;font-size:.76rem}.order-list-footer button:disabled{opacity:.45;cursor:default}
@media(max-width:780px){#section-orders{padding:10px}.order-list-panel{padding:16px 12px}.order-detail-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
/* Approved task cards: compact identity/metrics split and recipient grid. */
#jobs-list .task-card{padding:22px;border-radius:16px;background:#fff;min-width:0}
.task-card-header{display:flex;align-items:flex-start;justify-content:space-between;gap:18px}.task-card-heading{min-width:0}.task-card-heading>strong{color:#163c78;font-size:1.06rem;overflow-wrap:anywhere}.task-card-heading .item-meta{margin-top:6px}.task-card-controls{display:flex;align-items:center;justify-content:flex-end;flex-wrap:wrap;gap:10px;max-width:58%}.task-card-controls .item-actions{margin:0;justify-content:flex-end}.task-card-controls .badge{display:inline-block}
.task-overall{display:flex;align-items:center;gap:16px;margin:20px 0 18px;color:#173d80;font-size:.83rem}.task-overall>span{white-space:nowrap}.task-overall>strong{min-width:43px;text-align:right;font-size:.95rem}.task-overall .job-progress-track{flex:1;margin:0;height:9px}
.task-single{display:grid;grid-template-columns:minmax(0,.82fr) minmax(0,1.18fr);gap:16px}.task-identity,.task-summary-panel,.task-target-panel{min-width:0;border:1px solid #dde7f8;border-radius:12px;padding:18px;background:#f7faff}.task-summary-panel{background:#fcfdff}.task-identity-title{display:flex;align-items:center;justify-content:space-between;gap:9px;flex-wrap:wrap}.task-identity-title>strong{font-size:.97rem;color:#173d80}.task-currency{padding:4px 10px;font-size:.73rem;font-weight:750;border-radius:20px;background:#e7f0ff;color:#245faf}
.task-id{display:flex;align-items:center;gap:8px;color:#657da5;font-size:.8rem;margin-top:16px;min-width:0}.task-id>span{overflow-wrap:anywhere;min-width:0}.task-copy-id{flex:0 0 auto;cursor:pointer;border:0;background:transparent;color:#2866bd;font-size:1rem;padding:2px 5px;border-radius:5px}.task-copy-id:hover{background:#e8f0ff}.task-copy-id:focus-visible{outline:2px solid #3478dd;outline-offset:2px}.task-binding{color:#568773;font-size:.77rem;line-height:1.6;margin-top:14px}
.task-kpis{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:0}.task-metric{min-width:0}.task-metric>span{display:block;color:#6680a6;font-size:.78rem;line-height:1.5}.task-metric>strong{display:block;color:#174b98;font-size:1.45rem;line-height:1.35;font-variant-numeric:tabular-nums;overflow-wrap:anywhere;margin-top:5px}.task-metric small{font-size:.8rem;font-weight:650}.task-kpis .task-metric{padding:0 16px;border-left:1px solid #dfE7f4}.task-kpis .task-metric:first-child{padding-left:0;border:0}.task-kpis .task-metric:last-child{padding-right:0}
.task-finish-strip{padding:9px 12px;color:#188653;background:#e9f8f0;border-radius:8px;margin-top:18px;font-size:.8rem;line-height:1.5}.task-warning{color:#926311;background:#fff5dc}.task-timeline{display:flex;gap:12px 24px;justify-content:space-between;flex-wrap:wrap;color:#6880a7;font-size:.77rem;margin-top:18px;line-height:1.5}.task-timeline>span{min-width:0;overflow-wrap:anywhere}
.task-target-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.task-target-grid:has(>.task-target-panel:nth-child(2):last-child){grid-template-columns:repeat(2,minmax(0,1fr))}.task-target-panel{padding:16px}.task-target-panel .task-identity{border:0;padding:0;background:transparent}.task-identity-compact .task-id{margin-top:10px}.task-identity-compact .task-binding{display:none}.task-target-amount{margin-top:16px;color:#163c78;font-size:1rem;font-weight:800;font-variant-numeric:tabular-nums}.task-target-amount small{font-size:.76rem;font-weight:600}.task-target-panel>.job-progress-track{height:7px;margin:10px 0 0}
.task-live-metrics{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;margin-top:16px;padding-top:12px;border-top:1px solid #e1e9f5}.task-live-metrics .task-metric>strong{font-size:1rem}.task-live-metrics .task-metric+ .task-metric{padding-left:14px;border-left:1px solid #e1e9f5}.task-cooling{margin-top:12px;color:#ae7610;font-size:.85rem}.task-cooling strong,.task-live-metrics [data-cooldown-until]{color:#ae7610;font-size:1rem}.task-card .target-quota{margin-top:14px;padding-top:10px;border-top:1px solid #e6edf7}.task-card .target-quota .item-meta{font-size:.74rem;line-height:1.6}.task-card .target-quota .job-progress-track{margin:8px 0 0;height:5px}.task-card .quota-progress>div{background:#dea626}.task-current-note{margin-top:10px;color:#7790b0;font-size:.74rem;line-height:1.5;overflow-wrap:anywhere}.task-pending{font-size:.77rem;color:#5e7aa8;line-height:1.6;margin-top:10px}
.task-card-footer{margin-top:17px;padding-top:12px;border-top:1px solid #e4ebf6}.task-card-footer>.task-pending{margin:0 0 10px}.task-details>summary{display:flex;align-items:center;justify-content:space-between;gap:16px;cursor:pointer;color:#41699e;font-size:.8rem;list-style:none;line-height:1.6}.task-details>summary::-webkit-details-marker{display:none}.task-details>summary>span:first-child:before{content:'⌄';display:inline-block;margin-right:9px;color:#3275ce}.task-details[open]>summary>span:first-child:before{content:'⌃'}.task-details>summary>span:last-child{color:#2462b5;white-space:nowrap}.task-details-body{padding:10px 12px;background:#f7faff;border-radius:8px;margin-top:10px}.task-details-body .item-meta{margin-top:5px}
@media(max-width:1100px){.task-target-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.task-kpis .task-metric{padding:0 10px}.task-metric>strong{font-size:1.22rem}}
@media(max-width:760px){#jobs-list .task-card{padding:16px}.task-single{grid-template-columns:1fr}.task-target-grid,.task-target-grid:has(>.task-target-panel:nth-child(2):last-child){grid-template-columns:1fr}.task-card-header{flex-direction:column;gap:10px}.task-card-controls{max-width:100%;width:100%;justify-content:flex-start}.task-card-controls .item-actions{justify-content:flex-start}.task-overall{margin:16px 0}.task-kpis .task-metric>strong{font-size:1.2rem}.task-identity,.task-summary-panel{padding:16px}.task-details>summary{align-items:flex-start}.task-target-panel{padding:16px}}

/* Approved recharge workspace: horizontal overview/list pages, real statistics. */
#section-jobs>.task-workspace-heading{align-items:center;flex-wrap:wrap;margin-bottom:20px;gap:12px}
.task-workspace-heading h2{font-size:1.6rem!important;letter-spacing:-.02em}
.task-workspace-heading p{margin-top:6px}
.task-workspace-refresh{display:flex;align-items:center;gap:8px;color:#6581ac;font-size:.8rem;white-space:nowrap}
.task-workspace-refresh i{width:7px;height:7px;border-radius:50%;background:#3476ef}
.task-workspace-nav{display:flex;gap:8px;background:#f6f9ff;border:1px solid #dce7fa;border-radius:11px;margin-bottom:22px;padding:3px;overflow-x:auto}
.task-workspace-nav button{position:relative;display:flex;align-items:center;justify-content:center;gap:11px;min-height:48px;min-width:145px;border:0;border-radius:8px;background:transparent;color:#516989;font-size:.94rem;font-weight:700;padding:10px 22px;flex:none}
.task-workspace-nav button.active{background:#e6efff;color:#1e64d8}
.task-workspace-nav button.active:after{content:'';position:absolute;height:3px;background:#3378f6;bottom:-3px;left:12px;right:12px;border-radius:2px}
.task-workspace-nav button:focus-visible{outline:3px solid #96baf8;outline-offset:-3px}
.task-workspace-nav svg{width:21px;height:21px;flex:none}
#section-jobs .task-statistics{display:block;max-width:none;flex:none;margin:0;width:100%;min-width:0;color:#204675}
.task-overview-stats{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:14px;margin-bottom:18px}
.task-overview-stat{display:flex;align-items:center;gap:15px;padding:20px 17px;background:#f7faff;border:1px solid #dbe7f9;border-radius:11px;min-width:0}
.task-overview-icon{display:grid;place-items:center;width:43px;height:43px;border-radius:12px;background:#e9f1ff;color:#2876f0;flex:none}
.task-overview-icon svg{width:25px;height:25px}
.task-overview-stat>div{min-width:0}
.task-overview-stat>div>span{display:block;color:#526e96;font-size:.82rem}
.task-overview-stat strong{display:block;font-size:1.75rem;line-height:1.25;font-weight:800;color:#113670;margin-top:5px;overflow-wrap:anywhere}
.task-overview-rewards{padding:22px;border:1px solid #dce7fa;border-radius:12px;background:#fff;min-width:0}
.task-overview-rewards h3{margin:0 0 18px;font-size:1.14rem;color:#153b73}
.task-overview-live{display:grid;grid-template-columns:1.15fr 1fr;gap:20px;align-items:stretch;margin-bottom:16px;min-width:0}
.task-overview-blue{display:grid;grid-template-columns:64px repeat(3,minmax(0,1fr));align-items:center;gap:0;border:1px solid #edf3ff;background:#f5f9ff;border-radius:11px;padding:20px 15px;min-width:0}
.task-overview-blue h4{display:flex;flex-direction:column;align-items:center;gap:10px;margin:0;font-size:.9rem;color:#174785}
.task-overview-blue h4 svg{width:29px;height:29px;color:#2575f6}
.task-overview-kpi{padding:7px 16px;border-left:1px solid #d8e5fa;min-width:0}
.task-overview-kpi>span{display:block;font-size:.8rem;color:#6980a1;margin-bottom:12px}
.task-overview-kpi strong{display:block;font-size:1.35rem;color:#143e7d;line-height:1.4;overflow-wrap:anywhere}
.task-overview-kpi-primary strong{color:#2166da}
.task-overview-other{display:grid;gap:12px;min-width:0}
.task-overview-currency{display:grid;grid-template-columns:72px repeat(4,minmax(0,1fr));align-items:center;gap:10px;background:#f5f9ff;border-radius:10px;padding:16px 12px;min-width:0}
.task-overview-currency h4{display:flex;gap:8px;align-items:center;margin:0;font-size:.88rem;color:#174785}
.task-overview-currency h4 svg{width:21px;height:21px;color:#2672ed;flex:none}
.task-overview-currency>div{border-left:1px solid #dfeafa;padding-left:10px;min-width:0}
.task-overview-currency>div span{display:block;font-size:.7rem;color:#7890ad;margin-bottom:4px}
.task-overview-currency strong{font-size:.79rem;color:#224a82;line-height:1.5;overflow-wrap:anywhere}
.task-overview-future{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}
.task-overview-reserved{border:1px solid #e0eaf8;background:#f8faff;border-radius:10px;padding:17px;min-width:0}
.task-overview-reserved header{display:flex;align-items:center;gap:10px;margin-bottom:15px;flex-wrap:wrap}
.task-overview-reserved h4{font-size:.91rem;color:#294a79;margin:0}
.task-overview-reserved .task-overview-icon{width:34px;height:34px;border-radius:9px}
.task-overview-reserved .task-overview-icon svg{width:21px;height:21px}
.task-overview-pending{font-size:.68rem;color:#7891b2;background:#eaf0fb;border-radius:20px;padding:4px 9px;white-space:nowrap}
.task-overview-reserved-metrics{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0}
.task-overview-reserved-metrics>div{display:flex;align-items:center;justify-content:space-between;gap:7px;padding:10px 7px;font-size:.75rem;min-width:0;color:#7c90ae}
.task-overview-reserved-metrics>div:nth-child(even){border-left:1px solid #e0e9f7;padding-left:14px}
.task-overview-reserved-metrics>div:nth-child(n+3){border-top:1px solid #e0e9f7}
.task-overview-reserved-metrics strong{font-size:.78rem;white-space:nowrap;color:#657b9b}
.task-overview-foot{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;flex-wrap:wrap;margin-top:17px;color:#7a8da8;font-size:.75rem;line-height:1.6}
.task-overview-foot>p{margin:0}
.task-overview-foot>p>span{color:#7e9cc4;margin-right:5px}
.task-overview-explanation{min-width:0;max-width:100%;flex:1 0 auto;text-align:right}
.task-overview-explanation summary{cursor:pointer;color:#3071d5;font-size:.75rem;list-style:none}
.task-overview-explanation summary:after{content:'⌄';margin-left:9px}
.task-overview-explanation[open]{flex-basis:100%;text-align:left}
.task-overview-explanation[open] summary:after{content:'⌃'}
.task-overview-explanation p{margin:8px 0 0;line-height:1.75;max-width:100%;color:#7a8da8}
#section-jobs .task-list-toolbar{padding:13px;background:#f7faff;border:1px solid #e0e9f8;border-radius:11px;margin-bottom:15px;gap:12px;grid-template-columns:minmax(0,1fr) minmax(135px,185px) minmax(165px,210px) auto}
.task-list-search{position:relative;min-width:0}
.task-list-search svg{position:absolute;left:13px;top:50%;transform:translateY(-50%);width:20px;height:20px;color:#7990b0;pointer-events:none}
.task-list-search input{padding-left:42px}
#section-jobs .task-list-toolbar input,#section-jobs .task-list-toolbar select,#section-jobs .task-list-toolbar button{height:46px;min-height:46px;font-size:.87rem;border-radius:9px}
#jobs-tasklist-panel>#job-list-count{margin:0 0 11px}
@media(max-width:1250px){.task-overview-live{grid-template-columns:1fr}.task-overview-stat{gap:10px;padding:17px 12px}.task-overview-stat .task-overview-icon{width:35px;height:35px}.task-overview-reserved-metrics>div{flex-wrap:wrap}.task-overview-kpi strong{font-size:1.5rem}}
@media(max-width:900px){.task-overview-stats{grid-template-columns:repeat(3,minmax(0,1fr))}.task-overview-future{grid-template-columns:1fr}.task-overview-reserved-metrics{grid-template-columns:repeat(4,minmax(0,1fr))}.task-overview-reserved-metrics>div:nth-child(n+3){border-top:0}.task-overview-reserved-metrics>div:nth-child(n+2){border-left:1px solid #e0e9f7;padding-left:14px}#section-jobs .task-list-toolbar{grid-template-columns:1fr 1fr auto}.task-list-search{grid-column:1/-1}}
@media(max-width:560px){.task-workspace-heading h2{font-size:1.35rem!important}.task-workspace-refresh{font-size:.72rem}.task-workspace-nav button{min-width:125px;min-height:44px;padding:9px 16px;font-size:.88rem}.task-overview-stats{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.task-overview-stat:last-child{grid-column:1/-1}.task-overview-stat strong{font-size:1.5rem}.task-overview-rewards{padding:14px}.task-overview-blue{grid-template-columns:repeat(3,minmax(0,1fr));padding:14px 8px}.task-overview-blue h4{grid-column:1/-1;flex-direction:row;justify-content:flex-start;margin:0 6px 15px;font-size:.82rem}.task-overview-blue h4 svg{width:23px;height:23px}.task-overview-kpi{padding:5px 9px}.task-overview-kpi:nth-child(2){border-left:0}.task-overview-kpi>span{font-size:.69rem;margin-bottom:8px}.task-overview-kpi strong{font-size:1.03rem}.task-overview-currency{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px;padding:13px}.task-overview-currency h4{grid-column:1/-1;margin-bottom:3px}.task-overview-currency>div{padding-left:0;border-left:0}.task-overview-currency strong{font-size:.8rem}.task-overview-currency>div span{font-size:.68rem}.task-overview-reserved{padding:13px}.task-overview-reserved-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}.task-overview-reserved-metrics>div:nth-child(n+3){border-top:1px solid #e0e9f7}.task-overview-reserved-metrics>div:nth-child(odd){border-left:0;padding-left:7px}.task-overview-foot{font-size:.7rem}.task-overview-explanation{flex-basis:100%;text-align:left}#section-jobs .task-list-toolbar{grid-template-columns:1fr 1fr}.task-list-search{grid-column:1/-1}#section-jobs .task-list-toolbar button{grid-column:1/-1}}
/* Merchant voucher workspace: spacious light layout with bounded, server-paged rows. */
#section-vouchers{background:#fff;color:#183565}
#section-vouchers .voucher-hero{align-items:center;padding:3px 0 25px;border-color:#e2eaf5}
#section-vouchers .voucher-eyebrow{display:block;margin-bottom:12px;color:#5e80b8;font-size:.77rem;font-weight:800;letter-spacing:.12em}
#section-vouchers .voucher-hero h2{font-size:clamp(1.65rem,2.4vw,2.1rem);line-height:1.15}
#section-vouchers .voucher-hero p{line-height:1.5}
#section-vouchers .voucher-hero-action{display:inline-flex;align-items:center;justify-content:center;min-height:45px;padding:10px 20px;border-radius:12px;background:#1e4b9a;color:#fff;font-weight:800;white-space:nowrap;box-shadow:0 7px 18px #1c4a9923}
#section-vouchers .voucher-hero-action:hover{background:#2b5eaf}
#section-vouchers .voucher-metrics{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:13px;padding:22px 0 18px}
#section-vouchers .voucher-metrics span{display:flex;flex-direction:column;gap:10px;min-height:92px;padding:17px 20px;border:1px solid #e1e9f5;border-radius:15px;background:#f8faff;color:#6880a2;font-size:.86rem;font-weight:650}
#section-vouchers .voucher-metrics b{margin:0;font-size:1.55rem;line-height:1;color:#1c4a99;font-variant-numeric:tabular-nums}
#section-vouchers .voucher-specs-disclosure{margin:0 0 19px}
#section-vouchers .voucher-specs-disclosure summary{display:inline-flex;align-items:center;min-height:38px;margin:0;color:#24539a}
#section-vouchers .voucher-specs-disclosure[open]{padding:15px;margin-bottom:18px}
#section-vouchers .voucher-quick{padding:22px 26px;margin-bottom:28px;background:#f4f7fd;border-color:#dce6f5;border-radius:18px}
#section-vouchers .voucher-quick-heading h3{font-size:1.17rem}
#section-vouchers .voucher-quick-heading p{font-size:.85rem}
#section-vouchers .voucher-issue-grid{margin-top:17px;grid-template-columns:minmax(180px,2fr) minmax(110px,.7fr) minmax(160px,1.2fr) auto;gap:12px}
#section-vouchers .voucher-issue-grid label{gap:7px;font-weight:700}
#section-vouchers .voucher-issue-grid button{min-height:46px;padding-inline:20px}
#section-vouchers .voucher-list-toolbar{align-items:end;margin:3px 0 13px;gap:14px}
#section-vouchers .voucher-list-title h3{font-size:1.3rem}
#section-vouchers .voucher-list-title p{margin-top:5px}
#section-vouchers .voucher-filters{gap:8px}
#section-vouchers .voucher-filters input{width:235px}
#section-vouchers .voucher-filters select{max-width:180px}
#section-vouchers .voucher-filters button{white-space:nowrap}
#section-vouchers .voucher-table-wrap{border-radius:15px;box-shadow:0 8px 26px #173d7508}
#section-vouchers .voucher-table th{padding:14px 15px;background:#edf3fd;color:#4d6a99;font-weight:800}
#section-vouchers .voucher-table td{padding:14px 15px}
#section-vouchers .voucher-table tbody tr:hover{background:#f8faff}
#section-vouchers .voucher-table .voucher-code{font-size:.94rem;letter-spacing:.035em}
#section-vouchers .voucher-pagination{display:flex;align-items:center;justify-content:flex-end;gap:17px;flex-wrap:wrap;margin-top:14px;color:#617797;font-size:.86rem}
#section-vouchers .voucher-pagination label{display:flex;align-items:center;gap:8px}
#section-vouchers .voucher-pagination select{width:auto;min-height:37px;padding:6px 30px 6px 10px;font-weight:700}
#section-vouchers .voucher-page-actions{display:flex;gap:6px}
#section-vouchers .voucher-page-actions button{min-height:37px;padding:6px 12px;border:1px solid #d2def0;border-radius:9px;background:#fff;color:#24518c;font-weight:700}
#section-vouchers .voucher-page-actions button:hover:not(:disabled){background:#eaf1ff}
#section-vouchers .voucher-page-actions button:disabled{opacity:.45;cursor:default}
@media(max-width:1150px){#section-vouchers .voucher-issue-grid{grid-template-columns:repeat(2,minmax(0,1fr))}#section-vouchers .voucher-list-toolbar{align-items:flex-start;flex-direction:column}#section-vouchers .voucher-filters{justify-content:flex-start;width:100%}}
@media(max-width:620px){#section-vouchers .voucher-hero{align-items:flex-start}#section-vouchers .voucher-hero-action{width:100%}#section-vouchers .voucher-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}#section-vouchers .voucher-quick{padding:17px}#section-vouchers .voucher-issue-grid{grid-template-columns:1fr}#section-vouchers .voucher-filters input{width:100%}#section-vouchers .voucher-filters select{flex:1;min-width:0}#section-vouchers .voucher-pagination{justify-content:center}#section-vouchers .voucher-page-actions{width:100%;justify-content:center}}
.target-lookup-result{display:flex;flex-wrap:wrap;gap:8px 18px;margin:8px 0 12px;padding:12px 14px;border:1px solid #a9dbbd;border-radius:12px;background:#f1fbf4;color:#195e38;font-size:.86rem}.target-lookup-result strong{width:100%;font-size:.93rem}.target-lookup-result span{overflow-wrap:anywhere}.target-lookup-result small{width:100%;line-height:1.5}.target-lookup-result.warning{border-color:#f2cf95;background:#fff9ec;color:#84531e}.scaffold-chip{max-width:100%;overflow-wrap:anywhere}
.order-game-name{font-weight:700;color:#234778;max-width:150px;overflow-wrap:anywhere}.order-game-name .order-table-dash{font-weight:400}.order-name-lookup{display:block;border:0;background:transparent;color:#2863bd;padding:3px 0;font-size:.74rem;text-decoration:underline}

/* Buyer friend-code caution and accessible inline format errors. */
#redeem-form .friend-code-warning{margin:0;padding:10px 12px;border:1px solid #f4d4ba;border-radius:10px;background:#fff7ed;color:#9a4212;font-size:.84rem;line-height:1.65;overflow-wrap:anywhere}
#redeem-form .friend-code-error{margin:0;color:#b42318;font-size:.84rem;line-height:1.6;font-weight:600;overflow-wrap:anywhere}
#redeem-friend[aria-invalid="true"]{border-color:#d94841;box-shadow:0 0 0 3px #d9484112}

/* Execution workspace: top tabs and independently paginated lists. */
#section-execution .execution-workspace-nav{margin-top:17px}
#section-execution [data-execution-workspace-panel].hidden{display:none}
.execution-search-row{margin:16px 0 7px}
#execution-status-search{width:min(440px,100%)}
#section-execution .scaffold-pager{padding-top:12px;border-top:1px solid #e8eef8}
@media(max-width:550px){#section-execution .execution-workspace-nav button{min-width:0;flex:1;padding:9px 12px}.execution-search-row input{width:100%}}
#execution-shared-summary{margin-bottom:18px}.shared-execution-card{display:flex;flex-direction:column;gap:13px;min-width:0;padding:17px;border:1px solid #dae6f6;border-radius:13px;background:#f8fbff}.shared-execution-card .item-head strong{color:#19477e}.shared-execution-slots{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.shared-execution-slots span{display:flex;flex-direction:column;gap:4px;min-width:0;padding:10px;border:1px solid #e0e9f6;border-radius:9px;background:#fff;color:#69809f;font-size:.75rem}.shared-execution-slots strong{color:#1c4b8e;font-size:1.1rem;font-variant-numeric:tabular-nums}.shared-execution-card p{margin:0;color:#6d829e;font-size:.78rem;line-height:1.5}#execution-shared-list .empty{grid-column:1/-1}#execution-shared-list [data-shared-retry]{margin-left:9px;padding:6px 12px;font-size:.8rem;min-height:0}@media(max-width:480px){.shared-execution-slots{gap:5px}.shared-execution-slots span{padding:8px;font-size:.7rem}}

/* One activity can claim up to three recipient slots. Planned lanes are not occupancy. */
#section-execution .scaffold-account-grid{grid-template-columns:repeat(auto-fill,minmax(285px,1fr))}
.execution-capacity-card{display:grid!important;grid-template-columns:minmax(220px,1fr) minmax(440px,1.25fr);gap:22px;align-items:center}
.execution-speed-main{display:flex;flex-direction:column;gap:8px;min-width:0}
.execution-capacity-metrics{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}
.execution-capacity-metrics>div{display:flex;flex-direction:column;gap:6px;min-width:0;padding:13px 15px;border:1px solid #dce8fa;border-radius:11px;background:#fff}
.execution-capacity-metrics strong{font-size:1.35rem;color:#174c97}
.execution-capacity-metrics>div:nth-child(2) strong{color:#167451}
.execution-capacity-metrics>div:nth-child(3) strong{color:#265bc0}
.execution-slots{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;width:100%;min-width:0}
.execution-slots.compact{grid-template-columns:1fr;margin-top:5px}
.execution-slot{display:flex;flex-direction:column;gap:5px;min-width:0;padding:9px 11px;border:1px solid #dfe7f3;border-radius:9px;background:#f8fafd;color:#566c8b;font-size:.76rem;line-height:1.4;text-align:left}
.execution-slot.processing{border-color:#a9c4f5;background:#edf4ff;color:#174b9a}
.execution-slot.available{border-color:#b7dfca;background:#f1faf4;color:#176646}
.execution-slot.stale{border-color:#f2d29b;background:#fff9ed;color:#925a0b}
.execution-slot-top{display:flex;align-items:center;justify-content:space-between;gap:6px;min-width:0}
.execution-slot-top b{font-size:.78rem}.execution-slot-top strong{font-size:.72rem;font-weight:800;white-space:nowrap;color:inherit}
.execution-slot-target,.execution-slot-progress{display:block;overflow-wrap:anywhere;color:inherit}
.execution-slot-progress{font-weight:700}
.scaffold-account-card .execution-slots{margin-top:4px}
.scaffold-account-card .execution-slot{width:100%}
.scaffold-account-card .execution-slot-top strong{font-size:.72rem}
.scaffold-account-card .execution-slot-note{padding-top:2px;color:#647b9a}
.execution-slots-unavailable{display:block;color:#8092ad;font-size:.8rem}
@media(max-width:900px){.execution-capacity-card{grid-template-columns:1fr}}
@media(max-width:550px){.execution-capacity-metrics{gap:5px}.execution-capacity-metrics>div{padding:10px 7px}.execution-capacity-metrics strong{font-size:1.08rem}.execution-slots:not(.compact){grid-template-columns:1fr}}

/* Account management is a compact disclosure list; slot occupancy stays in the execution list. */
#execution-accounts-list details.item-card{padding:0;overflow:hidden}
.execution-account-summary{display:grid;grid-template-columns:minmax(170px,1.3fr) minmax(130px,1fr) minmax(170px,1.3fr) max-content max-content;align-items:center;gap:12px;min-height:62px;padding:12px 16px;cursor:pointer;list-style:none;color:#536b8e;font-size:.83rem}
.execution-account-summary::-webkit-details-marker{display:none}
.execution-account-summary:hover{background:#f7faff}
.execution-account-summary:focus-visible{outline:3px solid #70a0ec;outline-offset:-4px;border-radius:12px}
.execution-account-name{display:flex;align-items:center;gap:9px;min-width:0}
.execution-account-name strong{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#173a73;font-size:.96rem}
.execution-account-id,.execution-account-steam{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.execution-account-work{white-space:nowrap}.execution-account-work strong{color:#174688}
.execution-account-expand{display:inline-flex;align-items:center;gap:5px;white-space:nowrap;color:#2457a2;font-weight:750}
.execution-account-expand span{font-size:1.1rem;line-height:1;transition:transform .2s ease}
#execution-accounts-list details[open] .execution-account-expand span{transform:rotate(180deg)}
.execution-account-detail{border-top:1px solid #e7edf7;padding:5px 18px 18px;background:#fbfcff}
.execution-account-detail .item-actions{margin-top:16px}
@media(max-width:1000px){.execution-account-summary{grid-template-columns:minmax(140px,1.2fr) minmax(110px,1fr) max-content max-content}.execution-account-steam{display:none}}
@media(max-width:640px){.execution-account-summary{grid-template-columns:minmax(0,1fr) max-content;gap:8px;padding:12px}.execution-account-id,.execution-account-work{display:none}.execution-account-name{flex-wrap:wrap;gap:5px}.execution-account-detail{padding:5px 13px 15px}}

/* Visible recipient lookup progress and string-preserving game ID. */
#redeem-friend-check{display:inline-flex;align-items:center;justify-content:center;gap:8px;white-space:nowrap;flex-shrink:0;min-width:100px}
#redeem-friend-check:disabled{cursor:wait;opacity:.8;background:#edf3ff;color:#2455a0}
.resolve-spinner{display:inline-block;flex:0 0 auto;width:16px;height:16px;border:2px solid #4276c538;border-top-color:currentColor;border-radius:50%;animation:friend-resolve-spin .75s linear infinite}
.target-lookup-result.loading{border-color:#cbdcf9;background:#f0f5ff;color:#2455a0}
.resolve-loading-head{display:flex;align-items:center;gap:9px;width:100%}
.target-lookup-result .resolve-loading-head strong{width:auto}
.target-lookup-result .resolved-game-id{display:flex;flex-direction:column;gap:6px;width:100%;min-width:0;padding:10px 12px;border:1px solid #b8dfc8;border-radius:9px;background:#ffffffad}
.resolved-game-id span{font-size:.8rem;font-weight:700}
.resolved-game-id code{font-family:Consolas,monospace;font-size:1.05rem;font-weight:700;line-height:1.55;overflow-wrap:anywhere;word-break:break-all;user-select:all}
@keyframes friend-resolve-spin{to{transform:rotate(360deg)}}
@media(prefers-reduced-motion:reduce){.resolve-spinner{animation:none}}

/* Compact buyer redemption form: inset lookup action, no double-height button. */
#buyer-app .buyer-card{padding:20px}
#redeem-form{padding:18px;border-radius:17px;gap:10px}
#redeem-form .panel-title{gap:10px;margin-bottom:5px}
#redeem-form .panel-title h2{font-size:1rem}
#redeem-form .panel-title p{font-size:.78rem}
#redeem-form .icon-chip{width:32px;min-width:32px;height:32px;border-radius:10px}
#redeem-form label{font-size:.83rem}
#redeem-form input{height:48px;min-height:48px;padding:11px 13px;font-size:.94rem;border-radius:11px}
#redeem-form .redeem-friend-control{position:relative;display:block;width:100%}
#redeem-form #redeem-friend{padding-right:118px}
#redeem-form #redeem-friend-check{position:absolute;right:7px;top:7px;display:inline-flex;align-items:center;justify-content:center;gap:6px;width:100px;min-width:100px;height:34px;min-height:34px;padding:0 9px;border:1px solid #dce6f8;border-radius:8px;background:#edf3ff;color:#2455a0;font-size:.82rem;font-weight:700;line-height:1;white-space:nowrap;box-shadow:none}
#redeem-form #redeem-friend-check:hover:not(:disabled){background:#dfeaff;border-color:#bbcef2;color:#193d83}
#redeem-form #redeem-friend-check:focus-visible{outline:2px solid #497fd0;outline-offset:2px}
#redeem-form #redeem-friend-check:disabled{opacity:.85;cursor:wait}
#redeem-friend-check .resolve-spinner{width:12px;height:12px}
#redeem-form .friend-code-warning{padding:8px 10px;border-radius:9px;font-size:.78rem;line-height:1.55}
#redeem-form .friend-code-error{font-size:.78rem;line-height:1.5}
#redeem-form .voucher-preview{display:flex;flex-direction:column;gap:3px;margin:0;padding:9px 11px;border:1px solid #cbdcf9;border-radius:10px;background:#f0f5ff;color:#2455a0;font-size:.8rem;line-height:1.5;overflow-wrap:anywhere}
#redeem-form .voucher-preview.available{border-color:#b8dfc8;background:#f1fbf4;color:#195e38}
#redeem-form .voucher-preview.warning{border-color:#f2cf95;background:#fff9ec;color:#84531e}
#redeem-form .voucher-preview.error{border-color:#efc7c7;background:#fff5f4;color:#a53c3c}
#redeem-form .voucher-preview-main{display:flex;align-items:center;justify-content:space-between;gap:8px}
#redeem-form .voucher-preview-main strong{font-size:.86rem}
#redeem-form .voucher-preview-status{flex:none;font-size:.75rem;font-weight:800}
#redeem-form .voucher-preview small{font-size:.75rem;opacity:.86}
#redeem-form .redeem-code-list{display:flex;flex-direction:column;gap:11px}
#redeem-form .redeem-code-item{display:flex;flex-direction:column;gap:6px;min-width:0}
#redeem-form .redeem-code-input-row{display:flex;gap:8px;align-items:stretch}
#redeem-form .redeem-code-input-row input{min-width:0;flex:1}
#redeem-form .redeem-code-remove{flex:none;min-height:46px;padding:0 12px;border:1px solid #ebc8c8;border-radius:10px;background:#fff;color:#a43c3c;font-size:.82rem;font-weight:700}
#redeem-form .redeem-code-remove:hover{background:#fff2f2}
#redeem-form .redeem-code-actions{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap}
#redeem-form .redeem-code-actions .ghost{padding:8px 12px;border-radius:9px;font-size:.82rem}
#redeem-form .redeem-code-actions .field-hint{color:#61718b}
#redeem-form .redeem-code-actions .ghost:disabled{opacity:.55;cursor:not-allowed}
.batch-redeem-result{margin:12px 0}
.batch-redeem-result .batch-code-list{display:flex;flex-wrap:wrap;gap:8px;margin-top:12px}
.batch-redeem-result .batch-code-list button{border:1px solid #cad7ee;border-radius:9px;background:#fff;color:#214682;padding:8px 11px;font-size:.82rem;font-weight:700;overflow-wrap:anywhere}
.batch-redeem-result .batch-code-list button.active{background:#eaf0ff;border-color:#8fb3ed;color:#123d86}
#redeem-form .field-hint{margin:0;font-size:.76rem;line-height:1.55}
#redeem-form .target-lookup-result{margin:0;padding:11px 12px;border-radius:11px;font-size:.8rem;gap:6px 12px;line-height:1.5}
#redeem-form .target-lookup-result strong{font-size:.86rem}
#redeem-form .resolved-game-id{flex-direction:row;align-items:baseline;gap:9px;padding:8px 10px}
#redeem-form .resolved-game-id span{flex:0 0 auto;font-size:.77rem}
#redeem-form .resolved-game-id code{flex:1;min-width:0;font-size:.9rem;line-height:1.5}
#redeem-form .primary.wide{min-height:45px;padding:11px 16px;border-radius:11px;font-size:.92rem;box-shadow:0 5px 12px #1c43851a}
@media(max-width:550px){#buyer-app .buyer-card{padding:14px}#redeem-form{padding:14px;gap:9px}#redeem-form .field-label-row{gap:6px}#redeem-form .help-link{font-size:.75rem}#redeem-form #redeem-friend{font-size:.87rem}#redeem-form .resolved-game-id code{font-size:.85rem}}

/* Merchant submenu: all groups open by default, independently collapsible. */
.admin-menu-group{min-width:0}
.admin-menu-items{display:flex;flex-direction:column;gap:2px}
.admin-menu-items[hidden]{display:none!important}
.admin-menu .admin-menu-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;width:100%;min-height:42px;padding:10px 12px;border:0;border-radius:8px;background:transparent;color:#344968;font-size:.86rem;font-weight:800;letter-spacing:0;text-align:left;white-space:normal}
.admin-menu .admin-menu-heading:hover,.admin-menu .admin-menu-heading:focus-visible{background:#f2f6fd;color:#1d4a98;outline:none}
.admin-menu .admin-menu-heading:focus-visible{box-shadow:inset 0 0 0 2px #72a0e8}
.admin-menu .admin-menu-heading[aria-expanded="true"]{color:#1e52ad;background:#f3f7ff}
.admin-menu-chevron{flex:none;width:8px;height:8px;margin-right:3px;border-right:2px solid currentColor;border-bottom:2px solid currentColor;transform:rotate(45deg);transition:transform .15s ease}
.admin-menu-heading[aria-expanded="true"] .admin-menu-chevron{transform:rotate(225deg)}
.admin-menu-items button{width:100%}
@media(min-width:1100px){
  .merchant-console .admin-menu{align-self:start;position:sticky;top:74px;height:calc(100dvh - 74px);overflow:hidden}
  .merchant-console .admin-menu .admin-menu-heading{min-height:42px;padding:10px 14px;color:#344968;font-size:.86rem}
  .merchant-console .admin-menu .admin-menu-heading[aria-expanded="true"]{color:#1e52ad;background:#f3f7ff}
  .merchant-console .admin-menu-items button{padding:10px 18px;min-height:40px;white-space:nowrap}
}
@media(min-width:1100px) and (max-height:819px){
  .merchant-console .admin-menu{padding-top:8px;padding-bottom:8px}
  .merchant-console .admin-menu .admin-menu-heading{min-height:36px;padding-top:7px;padding-bottom:7px}
  .merchant-console .admin-menu-items button{min-height:33px;padding-top:7px;padding-bottom:7px}
}
@media(min-width:1100px) and (max-height:699px){
  .merchant-console .admin-menu{padding-top:6px;padding-bottom:6px}
  .merchant-console .admin-menu .admin-menu-heading{min-height:32px;padding-top:5px;padding-bottom:5px}
  .merchant-console .admin-menu-items button{min-height:29px;padding-top:5px;padding-bottom:5px}
}
@media(min-width:1100px) and (max-height:629px){
  .merchant-console .admin-menu{padding-top:5px;padding-bottom:5px}
  .merchant-console .admin-menu .admin-menu-heading{min-height:30px;padding-top:4px;padding-bottom:4px}
  .merchant-console .admin-menu-items button{min-height:27px;padding-top:4px;padding-bottom:4px}
}
@media(min-width:1100px) and (max-height:589px){
  .merchant-console .admin-menu{padding-top:4px;padding-bottom:4px}
  .merchant-console .admin-menu .admin-menu-heading{min-height:28px;padding-top:3px;padding-bottom:3px}
  .merchant-console .admin-menu-items button{min-height:24px;padding-top:3px;padding-bottom:3px;font-size:.8rem}
}
@media(max-width:1099px){
  .merchant-console .admin-menu{flex-direction:column;overflow:visible;white-space:normal}
  .merchant-console .admin-menu .admin-menu-heading{display:flex}
}
@media(min-width:1100px) and (max-height:539px){
  .merchant-console .admin-menu{position:relative;top:auto;height:auto;overflow:visible}
}

/* Full reward package names must wrap without squeezing progress or controls. */
.buyer-reward-head,.reward-breakdown-head{flex-wrap:wrap}
.buyer-reward-head strong,.reward-breakdown-head>span,.task-currency{min-width:0;overflow-wrap:anywhere}
.spec-item>span,#redeem-form .voucher-preview-main strong{min-width:0;overflow-wrap:anywhere}
#redeem-form .voucher-preview-status{flex-shrink:0}
@media(max-width:640px){
  .voucher-reward-row,.voucher-reward-row.single{grid-template-columns:minmax(0,1fr)}
  .voucher-reward-row .voucher-remove-reward{grid-column:auto}
  .spec-item{flex-wrap:wrap}
}

/* Buyer security footer: muted, icon-safe translations and narrow-screen wrapping. */
.buyer-foot.buyer-security-footer{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));align-items:start;gap:16px;width:100%;max-width:380px;margin:24px auto 0;line-height:1.5}
.buyer-security-item{display:flex;flex-direction:column;align-items:center;gap:7px;min-width:0}
.buyer-security-item svg{display:block;width:18px;height:18px;flex:0 0 auto;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
.buyer-security-label{display:block;min-width:0;max-width:100%;text-align:center;overflow-wrap:anywhere;word-break:keep-all}
