*{box-sizing:border-box}
body{margin:0;font-family:-apple-system,BlinkMacSystemFont,"Microsoft YaHei",Segoe UI,sans-serif;background:#f4f6f8;color:#1f2937}
.shell{max-width:980px;margin:0 auto;padding:28px 16px}
.card{background:#fff;border:1px solid #e5e7eb;border-radius:10px;padding:20px;margin-bottom:16px;box-shadow:0 8px 26px rgba(15,23,42,.05)}
h1{font-size:24px;margin:0 0 6px}
h2{font-size:17px;margin:0 0 14px}
p{margin:0 0 12px;color:#6b7280;line-height:1.6}
.grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.grid-3{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
label{display:block;font-size:12px;font-weight:700;color:#4b5563;margin-bottom:6px}
input,select,textarea{width:100%;border:1px solid #d1d5db;border-radius:8px;padding:10px 12px;font-size:14px;background:#fff;color:#111827}
textarea{min-height:76px;resize:vertical}
button{border:0;border-radius:8px;padding:10px 14px;background:#2563eb;color:#fff;font-weight:700;cursor:pointer}
button.secondary{background:#0f766e}
button.ghost{background:#eef2ff;color:#3730a3}
button.warn{background:#dc2626}
button:disabled{opacity:.5;cursor:default}
.row{display:flex;gap:10px;align-items:center;flex-wrap:wrap}
.hidden{display:none!important}
.muted{color:#6b7280;font-size:12px}
.ok{color:#047857}
.err{color:#dc2626}
.commission-pending{color:#d97706;font-weight:700}
.download-hero{text-align:center}
.download-hero p{max-width:620px;margin-left:auto;margin-right:auto}
.download-btn{display:inline-block;margin-top:8px;padding:12px 18px;border-radius:8px;background:#2563eb;color:#fff;text-decoration:none;font-weight:700}
.download-steps{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}
.download-steps div{background:#f8fafc;border:1px solid #e5e7eb;border-radius:9px;padding:12px}
.download-steps b{display:inline-flex;align-items:center;justify-content:center;width:22px;height:22px;margin-right:6px;border-radius:50%;background:#eef2ff;color:#3730a3;font-size:12px}
.download-steps span{font-size:13px;color:#374151}
.stat{background:#f8fafc;border:1px solid #e5e7eb;border-radius:9px;padding:13px}
.stat span{display:block;color:#6b7280;font-size:12px}
.stat b{font-size:20px}
.business-breakdown{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px;margin-top:20px}
.business-breakdown>div{min-width:0;overflow-x:auto}
table{width:100%;border-collapse:collapse;font-size:13px}
th,td{padding:9px 8px;border-bottom:1px solid #e5e7eb;text-align:left;vertical-align:top}
th{font-size:12px;color:#6b7280;background:#f9fafb}
.code{font-family:Consolas,"SF Mono",monospace}
.pill{display:inline-block;padding:3px 8px;border-radius:99px;background:#eef2ff;color:#3730a3;font-size:12px;font-weight:700}
.linkbox{font-family:Consolas,"SF Mono",monospace;background:#f8fafc;border:1px dashed #cbd5e1;border-radius:8px;padding:10px;word-break:break-all}
.agent-settle-box{padding:12px 0;border-bottom:1px solid #e5e7eb}
.agent-settle-box:last-child{border-bottom:0}
.amount-panel{margin-top:14px;padding:10px 12px;border:1px solid #bfdbfe;border-radius:8px;background:#eff6ff;color:#1e3a8a;font-size:14px}
.amount-panel b,.amount-strong{color:#dc2626;font-size:18px}
.payment-panel{display:flex;align-items:center;justify-content:space-between;gap:18px;margin-top:16px;padding:16px;border:1px solid #dbeafe;border-radius:10px;background:#eff6ff}
.payment-panel[hidden]{display:none}
.payment-panel h2{margin-bottom:8px;color:#1d4ed8}
.payment-panel p{margin-bottom:6px;color:#374151}
.payment-qr{width:190px;max-width:42%;height:auto;border:1px solid #e5e7eb;border-radius:8px;background:#fff;padding:8px}
.proof-upload{margin-top:12px;padding-top:12px;border-top:1px solid #bfdbfe}
.proof-upload input{margin-bottom:8px;background:#fff}
.proof-upload button{margin-bottom:8px}
.proof-help{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin-top:10px;padding:10px 12px;border-radius:8px;background:#ecfdf5;color:#065f46;font-size:13px}
.proof-help[hidden]{display:none}
.course-entry{display:flex;align-items:center;justify-content:space-between;gap:20px;border-color:#ddd6fe;background:#faf5ff}
.course-entry h2{margin:6px 0}
.course-entry p{margin:0;color:#5b6472}
.course-entry-button{display:inline-flex;align-items:center;justify-content:center;text-decoration:none;white-space:nowrap}
.course-benefits{display:grid;gap:8px;margin:14px 0}
.course-benefits span{padding:10px 12px;border-radius:8px;background:#f5f3ff;color:#5b21b6}
.course-success{text-align:center}
.course-success img{display:block;width:230px;max-width:100%;height:auto;margin:16px auto;border:1px solid #e5e7eb;border-radius:12px;background:#fff;padding:8px}
.order-result p{margin-bottom:8px}
.activation-box{margin-top:12px;padding:14px;border:1px solid #bbf7d0;border-radius:10px;background:#f0fdf4}
.activation-box span{display:block;color:#047857;font-size:12px;font-weight:700;margin-bottom:6px}
.activation-box b{display:block;color:#065f46;font-size:20px;word-break:break-all}
.buy-shell{max-width:920px}
.buy-hero{display:flex;align-items:center;justify-content:space-between;gap:20px;background:linear-gradient(135deg,#fff 0%,#f5f3ff 100%);border-color:#ddd6fe}
.buy-kicker,.step-badge{display:inline-block;margin-bottom:7px;padding:4px 9px;border-radius:99px;background:#ede9fe;color:#6d28d9;font-size:12px;font-weight:700}
.promo-price{text-align:right;min-width:150px}
.promo-price .old-price{display:block;color:#9ca3af;text-decoration:line-through;font-size:12px}
.promo-price strong{display:block;color:#dc2626;font-size:40px;line-height:1.05}
.promo-price strong small{font-size:14px}
.promo-price>span:last-child{display:inline-block;padding:3px 8px;border-radius:99px;background:#fee2e2;color:#b91c1c;font-size:11px;font-weight:700}
.promoter-card{display:flex;align-items:center;justify-content:space-between;gap:18px}
.promoter-copy{min-width:0}
.promoter-copy h2{margin-bottom:4px}
.promoter-qr-wrap{text-align:center;flex:0 0 132px}
.promoter-qr{display:block;width:126px;height:126px;object-fit:contain;padding:5px;margin:0 auto 5px;border:1px solid #e5e7eb;border-radius:12px;background:#fff}
.promoter-qr-wrap span{color:#6b7280;font-size:11px}
.checkout-create-grid{margin:14px 0 12px}
.checkout-safe-note{margin:10px 0 0;color:#92400e}
.checkout-primary-action{width:100%;padding:12px 16px}
.checkout-links{display:flex;align-items:center;gap:14px;flex-wrap:wrap;margin-top:10px}
.checkout-links>a:not(.download-btn){color:#2563eb;font-size:13px}
.checkout-order-card{border-color:#ddd6fe}
.checkout-order-head{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;margin-bottom:16px}
.checkout-order-head h2{margin:2px 0 0}
.checkout-status{padding:6px 10px;border-radius:99px;background:#fef3c7;color:#92400e;font-size:12px;white-space:nowrap}
.checkout-status.status-confirmed{background:#d1fae5;color:#047857}
.checkout-status.status-pending_review{background:#dbeafe;color:#1d4ed8}
.checkout-status.status-rejected,.checkout-status.status-expired,.checkout-status.status-canceled{background:#fee2e2;color:#b91c1c}
.checkout-order-meta{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin-bottom:14px}
.checkout-order-meta>div{padding:11px;border:1px solid #e5e7eb;border-radius:9px;background:#f8fafc;min-width:0}
.checkout-order-meta span{display:block;margin-bottom:4px;color:#64748b;font-size:11px}
.checkout-order-meta b{display:block;overflow-wrap:anywhere;font-size:13px}
.checkout-access-card{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:14px;padding:14px;border:1px solid #bbf7d0;border-radius:10px;background:#f0fdf4}
.checkout-access-card span,.checkout-access-card small{display:block;color:#047857}
.checkout-access-card strong{display:block;margin:4px 0;color:#065f46;font-size:21px;letter-spacing:.5px}
.checkout-access-card small{font-size:11px;line-height:1.5}
.checkout-pay-layout{display:grid;grid-template-columns:180px 1fr;gap:18px;align-items:center;padding:16px;border:1px solid #dbeafe;border-radius:10px;background:#eff6ff}
.checkout-payment-qr{text-align:center}
.checkout-payment-qr img{display:block;width:158px;height:158px;object-fit:contain;margin:0 auto 6px;padding:5px;border:1px solid #e5e7eb;border-radius:10px;background:#fff}
.checkout-payment-qr strong{color:#1e3a8a;font-size:12px}
.checkout-payment-instruction p{margin-bottom:7px;color:#334155}
.checkout-payment-note{display:inline-block;margin-bottom:7px;padding:8px 12px;border:1px dashed #60a5fa;border-radius:8px;background:#fff;color:#1d4ed8;font-size:22px;letter-spacing:1px}
.checkout-payment-form{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin-top:14px}
.checkout-payment-form button{grid-column:1/-1;padding:12px}
.checkout-order-actions{display:flex;gap:10px;justify-content:flex-end;margin-top:12px}
.checkout-message-card{padding-top:13px;padding-bottom:13px}
.checkout-message-card p{margin:0}
.buy-rule-details summary{display:flex;align-items:center;justify-content:space-between;gap:12px;cursor:pointer;color:#4c1d95}
.buy-rule-details summary span{color:#6b7280;font-size:12px;font-weight:500}
.buy-rule-details[open] summary{margin-bottom:12px}
.buy-v2-shell{max-width:760px;padding-top:20px}
.buy-v2-hero{position:relative;overflow:hidden;margin-bottom:14px;padding:28px 28px 24px;border:1px solid #dbeafe;border-radius:20px;background:linear-gradient(145deg,#fff 0%,#f7f8ff 52%,#eff6ff 100%);box-shadow:0 16px 44px rgba(30,64,175,.08)}
.buy-v2-hero:after{position:absolute;right:-54px;top:-62px;width:210px;height:210px;border-radius:50%;background:radial-gradient(circle,rgba(59,130,246,.16),rgba(124,58,237,0) 68%);content:"";pointer-events:none}
.buy-v2-brand{display:flex;align-items:center;gap:9px;margin-bottom:20px}
.buy-v2-brand b{color:#1d4ed8;font-size:14px}
.buy-v2-brand span{padding:4px 9px;border:1px solid #dbeafe;border-radius:99px;background:#fff;color:#64748b;font-size:11px;font-weight:700}
.buy-v2-hero h1{position:relative;margin-bottom:9px;color:#0f172a;font-size:34px;letter-spacing:-1.2px;line-height:1.2;z-index:1}
.buy-v2-hero h1 em{color:#2563eb;font-style:normal}
.buy-v2-hero>p{position:relative;max-width:510px;margin-bottom:24px;color:#475569;font-size:15px;z-index:1}
.buy-v2-steps{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:0;margin:0;padding:0;list-style:none}
.buy-v2-steps li{position:relative;display:flex;align-items:center;gap:9px;color:#334155;font-size:13px;font-weight:700}
.buy-v2-steps li:not(:last-child):after{position:absolute;right:16px;width:32px;height:1px;background:#cbd5e1;content:""}
.buy-v2-steps b{display:inline-flex;align-items:center;justify-content:center;width:26px;height:26px;border-radius:50%;background:#2563eb;color:#fff;font-size:12px;box-shadow:0 5px 12px rgba(37,99,235,.25)}
.buy-v2-promise{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:14px;padding:17px 20px;border:1px solid #bfdbfe;border-radius:14px;background:#eff6ff}
.buy-v2-promise div span,.buy-v2-promise div strong{display:block}
.buy-v2-promise div span{margin-bottom:3px;color:#1d4ed8;font-size:11px;font-weight:700}
.buy-v2-promise div strong{color:#172554;font-size:16px}
.buy-v2-promise ul{display:flex;gap:20px;margin:0;padding:0;list-style:none}
.buy-v2-promise li{position:relative;padding-left:18px;color:#334155;font-size:12px}
.buy-v2-promise li:before{position:absolute;left:0;top:1px;display:flex;align-items:center;justify-content:center;width:14px;height:14px;border-radius:50%;background:#dbeafe;color:#1d4ed8;content:"✓";font-size:9px;font-weight:900}
.buy-v2-form-card{padding:26px;border-radius:18px;border-color:#e2e8f0;box-shadow:0 14px 38px rgba(15,23,42,.06)}
.buy-v2-section-head>span{display:inline-block;margin-bottom:6px;color:#2563eb;font-size:12px;font-weight:800}
.buy-v2-section-head h2{margin-bottom:4px;color:#0f172a;font-size:21px}
.buy-v2-section-head p{margin-bottom:0;font-size:13px}
.buy-v2-referral{display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:8px;margin:18px 0;padding:11px 13px;border:1px solid #bbf7d0;border-radius:10px;background:#f0fdf4}
.buy-v2-referral>span:first-child{color:#047857;font-size:11px;font-weight:700}
.buy-v2-referral b{color:#065f46;font-size:13px}
.buy-v2-referral small{color:#047857;font-size:11px}
.buy-v2-referral.is-error{border-color:#fecaca;background:#fef2f2}
.buy-v2-referral.is-error>*{color:#b91c1c!important}
.checkout-create-grid{margin:0 0 18px}
.checkout-create-grid input{height:46px;border-color:#cbd5e1;background:#fff}
.checkout-amount-field{margin:0 0 20px;padding:0;border:0}
.checkout-amount-field legend{margin-bottom:8px;color:#4b5563;font-size:12px;font-weight:700}
.checkout-amount-options{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:9px}
.checkout-amount-option{display:flex;min-height:62px;flex-direction:column;align-items:flex-start;justify-content:center;padding:9px 11px;border:1px solid #e2e8f0;background:#fff;color:#334155;box-shadow:none}
.checkout-amount-option b{font-size:15px}
.checkout-amount-option span{margin-top:3px;color:#94a3b8;font-size:10px;font-weight:600}
.checkout-amount-option.active{border-color:#2563eb;background:#eff6ff;color:#1d4ed8;box-shadow:0 0 0 1px rgba(37,99,235,.08)}
.checkout-amount-option.active span{color:#2563eb}
.checkout-primary-action{min-height:48px;border-radius:10px;background:linear-gradient(90deg,#2563eb,#4f46e5);box-shadow:0 8px 18px rgba(37,99,235,.22);font-size:15px}
.checkout-safe-note{margin:9px 0 0;color:#64748b;text-align:center;font-size:11px}
.buy-v2-contact{display:grid;grid-template-columns:62px 1fr auto;align-items:center;gap:12px;margin-top:22px;padding:13px;border:1px solid #e2e8f0;border-radius:12px;background:#f8fafc}
.buy-v2-contact .promoter-qr{width:62px;height:62px;margin:0;padding:3px;border-radius:8px}
.buy-v2-contact div>*{display:block}
.buy-v2-contact div b{margin-bottom:3px;color:#1e293b;font-size:13px}
.buy-v2-contact div span{color:#64748b;font-size:11px}
.buy-v2-contact div small{margin-top:4px;color:#2563eb;font-size:11px}
.buy-v2-contact button{padding:8px 10px;white-space:nowrap;font-size:11px}
.buy-secondary-info{margin-top:14px;color:#64748b;font-size:12px}
.buy-secondary-info summary{cursor:pointer;text-align:center}
.buy-secondary-info .checkout-links{justify-content:center}
.buy-secondary-info a{color:#2563eb}
.checkout-desktop-handoff{margin:0 0 16px;padding:18px;border:1px solid #93c5fd;border-radius:13px;background:linear-gradient(145deg,#eff6ff,#f5f3ff)}
.checkout-handoff-heading>span{color:#047857;font-size:11px;font-weight:800}
.checkout-handoff-heading h3{margin:3px 0 4px;color:#172554;font-size:18px}
.checkout-handoff-heading p{margin-bottom:13px;color:#475569;font-size:12px}
.checkout-handoff-data{display:grid;grid-template-columns:1fr 1fr;gap:9px}
.checkout-handoff-data>div{padding:10px 12px;border:1px solid #dbeafe;border-radius:9px;background:#fff}
.checkout-handoff-data span,.checkout-handoff-data b{display:block}
.checkout-handoff-data span{margin-bottom:3px;color:#64748b;font-size:10px}
.checkout-handoff-data b{color:#0f172a;font-size:14px;word-break:break-all}
.checkout-handoff-actions{display:flex;gap:9px;margin-top:12px}
.checkout-handoff-actions button{flex:1}
.checkout-app-return-hint{margin-top:10px}
.buy-rule-details h3{margin:18px 0 7px;font-size:14px}
.compact-button{padding:7px 10px}
button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible,summary:focus-visible{outline:3px solid rgba(37,99,235,.35);outline-offset:2px}
.admin-workflow{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:10px;margin:0 0 16px}
.admin-step{position:relative;display:grid;grid-template-columns:28px 1fr;grid-template-rows:auto auto;gap:1px 9px;text-align:left;padding:13px 38px 13px 13px;border:1px solid #e5e7eb;background:#fff;color:#334155;box-shadow:0 5px 18px rgba(15,23,42,.04)}
.admin-step>span{grid-row:1/3;display:flex;align-items:center;justify-content:center;width:28px;height:28px;border-radius:50%;background:#e2e8f0;color:#475569;font-size:13px;font-weight:800}
.admin-step>b{font-size:14px}
.admin-step>small{color:#64748b;font-size:11px;font-weight:500}
.admin-step>em{position:absolute;right:10px;top:10px;min-width:22px;height:22px;padding:0 6px;border-radius:99px;background:#f1f5f9;color:#64748b;font-size:11px;font-style:normal;line-height:22px;text-align:center}
.admin-step>em.has-items{background:#fee2e2;color:#b91c1c}
.admin-step.active{border-color:#7c3aed;background:#f5f3ff;color:#5b21b6}
.admin-step.active>span{background:#7c3aed;color:#fff}
.admin-work-panel{scroll-margin-top:14px}
.admin-dashboard-status{margin-bottom:14px;padding:12px 14px;border:1px solid #dbeafe;border-radius:9px;background:#eff6ff;color:#1e40af;font-size:13px}
.admin-dashboard-status.has-items{border-color:#fed7aa;background:#fff7ed;color:#9a3412}
.admin-dashboard-status.is-clear{border-color:#bbf7d0;background:#f0fdf4;color:#166534}
.admin-reconcile-card{margin:14px 0;padding:15px;border:1px solid #c4b5fd;border-radius:11px;background:#faf5ff}
.admin-reconcile-card h3{margin:0}
.admin-reconcile-card>p{margin:10px 0 0}
.admin-reconcile-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:9px;margin-top:10px}
.admin-reconcile-grid>div{display:flex;min-height:72px;flex-direction:column;padding:10px;border:1px solid #ede9fe;border-radius:9px;background:#fff}
.admin-reconcile-grid span{color:#64748b;font-size:12px}
.admin-reconcile-grid b{margin-top:auto;color:#5b21b6;font-size:17px}
.admin-todo-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:10px}
.admin-todo-card{display:flex;min-height:132px;flex-direction:column;align-items:flex-start;padding:15px;border:1px solid #e5e7eb;background:#fff;color:#334155;text-align:left;box-shadow:none}
.admin-todo-card:hover{border-color:#c4b5fd;background:#faf5ff}
.admin-todo-card>span{font-size:13px;font-weight:700}
.admin-todo-card>b{margin:8px 0 5px;color:#64748b;font-size:30px;line-height:1}
.admin-todo-card>small{margin-top:auto;color:#64748b;font-size:11px;line-height:1.45}
.admin-todo-card.has-items{border-color:#fed7aa;background:#fff7ed}
.admin-todo-card.has-items>b{color:#ea580c}
.admin-dashboard-columns{display:grid;grid-template-columns:1.2fr 1fr;gap:12px;margin-top:14px}
.admin-quick-card{padding:15px;border:1px solid #e5e7eb;border-radius:10px;background:#f8fafc}
.admin-quick-card h3{margin:0 0 5px}
.admin-quick-card p{margin:0 0 10px}
.admin-priority-list{margin:8px 0 0;padding-left:22px;color:#475569;font-size:13px;line-height:1.8}
.admin-account-link{padding:0;border:0;background:transparent;color:#2563eb;font-weight:800;text-decoration:underline;text-underline-offset:3px;box-shadow:none}
.admin-account-link:hover{background:transparent;color:#6d28d9}
.admin-panel-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:24px;margin-bottom:14px}
.admin-panel-heading>div{flex:0 0 auto}
.admin-panel-heading h2{margin:4px 0 0}
.admin-panel-heading p{max-width:610px;margin:0;text-align:right}
.step-kicker{color:#7c3aed;font-size:12px;font-weight:800}
.admin-callout{margin-bottom:12px;padding:11px 13px;border:1px solid #ddd6fe;border-radius:8px;background:#faf5ff;color:#5b21b6;font-size:13px;line-height:1.55}
.admin-checklist{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin:0 0 14px;padding:0;counter-reset:admin-check}
.admin-checklist li{position:relative;list-style:none;padding:11px 11px 11px 38px;border:1px solid #dbeafe;border-radius:8px;background:#eff6ff;color:#1e3a8a;font-size:12px;line-height:1.45;counter-increment:admin-check}
.admin-checklist li:before{content:counter(admin-check);position:absolute;left:11px;top:10px;display:flex;align-items:center;justify-content:center;width:19px;height:19px;border-radius:50%;background:#2563eb;color:#fff;font-size:11px;font-weight:800}
.admin-selection-empty,.admin-selection-ready{padding:13px 14px;border-radius:8px;font-size:13px}
.admin-selection-empty{border:1px dashed #cbd5e1;background:#f8fafc;color:#64748b}
.admin-selection-ready{display:flex;align-items:center;gap:12px;border:1px solid #bbf7d0;background:#f0fdf4;color:#065f46}
.admin-selection-ready span{color:#047857;font-size:12px}
.table-scroll{overflow-x:auto}
.account-action-row{display:flex;gap:6px;white-space:nowrap}
.account-more-select{min-width:126px;padding:7px 9px;font-size:12px}
.admin-user-table{min-width:860px}
.admin-user-table th,.admin-user-table td{vertical-align:top;line-height:1.55}
.admin-user-table th:nth-child(1),.admin-user-table td:nth-child(1){min-width:150px}
.admin-user-table th:nth-child(2),.admin-user-table td:nth-child(2){min-width:170px}
.admin-user-table th:nth-child(3),.admin-user-table td:nth-child(3){min-width:210px}
.admin-user-table th:nth-child(4),.admin-user-table td:nth-child(4){min-width:105px}
.admin-user-table th:nth-child(5),.admin-user-table td:nth-child(5){min-width:125px}
.admin-user-table th:nth-child(6),.admin-user-table td:nth-child(6){min-width:126px}
.admin-user-table .account-action-row{align-items:stretch;flex-direction:column;white-space:normal}
/* admin 工作面板表格统一排版：表头不换行、单元格对齐、窄表横向滚动 */
.admin-work-panel .table-scroll th{padding:9px 11px;white-space:nowrap;text-align:left;background:#f8fafc;color:#475569;font-size:12px;font-weight:700;border-bottom:1px solid #e2e8f0}
.admin-work-panel .table-scroll td{padding:9px 11px;vertical-align:top;line-height:1.55}
.admin-work-panel .table-scroll table:not(.admin-user-table){min-width:880px}
.admin-work-panel .table-scroll td:last-child{white-space:nowrap}
.admin-modal-backdrop{position:fixed;z-index:1000;inset:0;display:flex;align-items:center;justify-content:center;padding:20px;background:rgba(15,23,42,.52);backdrop-filter:blur(2px)}
.admin-modal-card{width:min(480px,100%);max-height:calc(100vh - 40px);overflow-y:auto;padding:22px;border:1px solid #e5e7eb;border-radius:14px;background:#fff;box-shadow:0 24px 70px rgba(15,23,42,.24)}
.admin-modal-head{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;margin-bottom:14px}
.admin-modal-head h2{margin:3px 0 0;font-size:20px}
.admin-modal-close{width:32px;height:32px;padding:0;border-radius:9px;background:#f1f5f9;color:#64748b;font-size:22px;line-height:32px}
.admin-warning{margin-bottom:15px;padding:11px 12px;border:1px solid #fde68a;border-radius:9px;background:#fffbeb;color:#92400e;font-size:12px;line-height:1.55}
.admin-cross-panel-notice{display:flex;align-items:center;justify-content:space-between;gap:14px}
.admin-cross-panel-notice>div{display:grid;gap:3px}
.admin-cross-panel-notice>div>span{color:#92400e}
.admin-cross-panel-notice button{flex:0 0 auto}
.admin-amount-options{display:grid;grid-template-columns:repeat(4,1fr);gap:8px;margin-bottom:10px}
.admin-amount-options button{padding:9px 6px;border:1px solid #ddd6fe;background:#f5f3ff;color:#6d28d9}
.admin-recharge-preview{margin-top:10px;padding:12px;border:1px solid #bfdbfe;border-radius:9px;background:#eff6ff;color:#1e3a8a}
.admin-recharge-preview b{margin-left:6px;color:#7c3aed;font-size:22px}
.admin-confirmation-box{margin-top:14px;padding:13px;border:1px solid #c4b5fd;border-radius:10px;background:#faf5ff;color:#4c1d95}
.admin-confirmation-box h3{margin:0 0 8px}
.admin-confirmation-box p{margin:5px 0;line-height:1.5}
.admin-payment-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-top:12px}
.admin-payment-grid label{margin-top:0}
.admin-payment-grid-wide{grid-column:1/-1}
.admin-modal-actions{display:flex;justify-content:flex-end;gap:10px;margin-top:16px}
.admin-drawer-open{overflow:hidden}
.admin-drawer-backdrop{position:fixed;z-index:1100;inset:0;display:flex;justify-content:flex-end;background:rgba(15,23,42,.48);backdrop-filter:blur(2px)}
.admin-drawer{width:min(680px,94vw);height:100%;overflow-y:auto;padding:24px;background:#fff;box-shadow:-24px 0 70px rgba(15,23,42,.2)}
.admin-drawer-head{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;margin-bottom:18px}
.admin-drawer-head h2{margin:4px 0 0}
.admin-detail-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.admin-detail-grid>div{display:flex;min-height:92px;flex-direction:column;padding:13px;border:1px solid #e5e7eb;border-radius:9px;background:#f8fafc}
.admin-detail-grid span{color:#64748b;font-size:12px}
.admin-detail-grid b{margin:5px 0;color:#111827;font-size:18px}
.admin-detail-grid small{margin-top:auto;color:#64748b}
.admin-account-meta{display:grid;gap:7px;margin-top:12px;padding:13px;border:1px solid #ddd6fe;border-radius:9px;background:#faf5ff;color:#5b21b6;font-size:13px}
.admin-user-filter-card{display:grid;grid-template-columns:1.35fr repeat(4,minmax(120px,1fr)) auto;gap:10px;align-items:end;margin:18px 0 10px;padding:13px;border:1px solid #cbd5e1;border-radius:10px;background:#f8fafc}
.admin-user-filter-card label{margin-top:0}
.admin-user-filter-actions{display:flex;gap:7px;white-space:nowrap}
.admin-create-account-panel{margin:12px 0 4px;border:1px solid #d8dee9;border-radius:10px;background:#fff}
.admin-create-account-panel>summary{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 14px;cursor:pointer;color:#1e293b;font-weight:700;list-style:none}
.admin-create-account-panel>summary::-webkit-details-marker{display:none}
.admin-create-account-panel>summary:after{content:'展开';padding:4px 9px;border-radius:999px;background:#eef2ff;color:#4f46e5;font-size:12px;font-weight:600}
.admin-create-account-panel[open]>summary:after{content:'收起'}
.admin-create-account-panel>summary small{margin-left:auto;color:#64748b;font-weight:400}
.admin-create-account-body{padding:2px 14px 14px;border-top:1px solid #eef2f7}
.admin-exception-tools{margin-top:12px}
.admin-exception-tools>summary{cursor:pointer;color:#64748b;font-size:13px}
.admin-code-actions{display:flex;align-items:center;flex-wrap:wrap;gap:8px;margin-top:8px}
.admin-code-actions .code{font-size:17px;font-weight:700}
.admin-drawer-actions{margin:16px 0;gap:8px}
.admin-one-time-code{padding:12px 14px;border:1px solid #bbf7d0;border-radius:9px;background:#f0fdf4;color:#166534;line-height:1.6}
.admin-one-time-code b{display:inline-block;margin-left:5px;font-size:17px}
.admin-detail-section{margin-top:18px;padding-top:18px;border-top:1px solid #e5e7eb}
.admin-detail-section-head{display:flex;align-items:center;justify-content:space-between;gap:12px}
.admin-detail-section-head h3{margin:0 0 10px}
.legacy-admin{margin-top:22px;border:1px solid #cbd5e1;border-radius:10px;background:#e2e8f0}
.legacy-admin>summary{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:15px 18px;cursor:pointer;color:#334155}
.legacy-admin>summary span{color:#64748b;font-size:12px}
.legacy-admin-content{padding:0 10px 1px}
.legacy-admin-content>.card{box-shadow:none}
.purchase-step{padding:4px 0 24px;margin-bottom:22px;border-bottom:1px solid #e5e7eb}
.purchase-step.last-step{padding-bottom:0;margin-bottom:0;border-bottom:0}
.step-title{display:flex;align-items:flex-start;gap:10px;margin-bottom:14px}
.step-title>span{display:flex;align-items:center;justify-content:center;flex:0 0 28px;width:28px;height:28px;border-radius:50%;background:#7c3aed;color:#fff;font-weight:800}
.step-title h2{margin:2px 0 1px}
.step-title p{margin:0;font-size:12px}
label em{color:#dc2626;font-style:normal}
input[readonly]{background:#f8fafc;color:#475569}
.offer-amount{display:flex;align-items:center;gap:10px}
.offer-amount b{font-size:24px}
.offer-amount small{margin-left:auto;color:#047857;font-weight:700}
.optional-details{margin-top:12px}
.optional-details summary{cursor:pointer;color:#6b7280;font-size:12px}
.optional-details input{margin-top:9px}
.primary-action{width:100%;padding:13px 18px;font-size:15px;background:linear-gradient(135deg,#7c3aed,#2563eb)}
.form-message{margin-top:12px}
.form-message a{color:#2563eb}
.payment-copy{flex:1}
.order-progress{margin-top:16px;padding:16px;border:1px solid #d8b4fe;border-radius:10px;background:#faf5ff}
.order-progress[hidden],.activation-box[hidden]{display:none}
.order-progress h2{margin-bottom:5px}
.activation-box button{margin-top:12px}
@media(max-width:960px){.admin-workflow,.admin-todo-grid,.admin-reconcile-grid,.admin-user-filter-card{grid-template-columns:repeat(2,minmax(0,1fr))}.admin-dashboard-columns{grid-template-columns:1fr}}
@media(max-width:720px){.grid,.grid-3,.download-steps,.business-breakdown,.admin-checklist,.checkout-order-meta,.checkout-payment-form,.admin-payment-grid,.admin-reconcile-grid,.admin-user-filter-card{grid-template-columns:1fr}.admin-payment-grid-wide{grid-column:auto}.admin-user-filter-actions{white-space:normal}.shell{padding:16px 10px}.card{padding:16px}table{font-size:12px}.payment-panel,.buy-hero,.promoter-card,.admin-panel-heading,.checkout-order-head,.checkout-access-card,.admin-cross-panel-notice{align-items:flex-start;flex-direction:column}.payment-qr{width:220px;max-width:100%}.promo-price{text-align:left}.promoter-qr-wrap{flex-basis:auto}.promoter-qr{margin-left:0}.checkout-pay-layout{grid-template-columns:1fr}.checkout-payment-qr{text-align:left}.checkout-payment-qr img{margin-left:0}.checkout-payment-note{font-size:18px}.buy-rule-details summary{align-items:flex-start;flex-direction:column}.admin-cross-panel-notice button{width:100%}.admin-workflow,.admin-todo-grid,.admin-detail-grid{grid-template-columns:1fr}.admin-todo-card{min-height:110px}.admin-panel-heading{gap:5px}.admin-panel-heading p{text-align:left}.legacy-admin>summary{align-items:flex-start;flex-direction:column;gap:4px}.admin-drawer{width:100%;max-width:none;padding:18px 14px}.admin-drawer-actions{align-items:stretch;flex-direction:column}.admin-drawer-actions button{width:100%}.buy-v2-shell{padding:0 0 14px}.buy-v2-hero{margin:0;padding:24px 18px 21px;border-width:0 0 1px;border-radius:0}.buy-v2-brand{margin-bottom:17px}.buy-v2-hero h1{font-size:29px}.buy-v2-hero>p{margin-bottom:21px;font-size:14px}.buy-v2-steps{gap:7px}.buy-v2-steps li{flex-direction:column;gap:6px;text-align:center;font-size:11px}.buy-v2-steps li:not(:last-child):after{right:-6px;top:13px;width:23px}.buy-v2-promise{align-items:flex-start;flex-direction:column;gap:10px;margin:12px 10px;padding:15px 16px}.buy-v2-promise ul{display:grid;gap:7px}.buy-v2-form-card{margin:0 10px 12px;padding:20px 16px;border-radius:15px}.buy-v2-referral{grid-template-columns:auto 1fr}.buy-v2-referral small{grid-column:1/-1;padding-left:0}.checkout-amount-options{grid-template-columns:repeat(2,minmax(0,1fr))}.checkout-amount-option{min-height:58px}.buy-v2-contact{grid-template-columns:54px 1fr}.buy-v2-contact .promoter-qr{width:54px;height:54px}.buy-v2-contact button{grid-column:1/-1;width:100%}.checkout-desktop-handoff{padding:15px}.checkout-handoff-data{grid-template-columns:1fr}.checkout-handoff-actions{flex-direction:column}.buy-rule-details,.checkout-message-card{margin-left:10px;margin-right:10px}}

/* Selected mobile concept 3 fidelity overrides */
body:has(.buy-v2-shell){background:#f3f6ff}
.buy-v2-shell{width:100%;max-width:420px;padding:18px 12px 26px}
.buy-v2-shell .card{border-color:#e8edfb;border-radius:15px;box-shadow:0 7px 24px rgba(71,85,155,.08)}
.buy-v2-hero{overflow:visible;margin:0;padding:8px 3px 0;border:0;border-radius:0;background:#f3f6ff;box-shadow:none;text-align:center}
.buy-v2-hero:after{display:none}
.buy-v2-brand{flex-direction:column;justify-content:center;gap:5px;margin-bottom:16px}
.buy-v2-brand b{color:#111827;font-size:15px;line-height:1.2}
.buy-v2-brand span{display:inline-flex;align-items:center;gap:4px;padding:4px 8px;border:1px solid #bfd6ff;background:#f8fbff;color:#3970d8;font-size:10px;line-height:1.1}
.buy-v2-brand span img{width:11px;height:11px;filter:invert(39%) sepia(97%) saturate(1262%) hue-rotate(200deg) brightness(91%)}
.buy-v2-hero h1{margin-bottom:9px;color:#111827;font-size:30px;letter-spacing:-.8px;line-height:1.25;text-align:center}
.buy-v2-hero h1 em{color:#2468f2}
.buy-v2-hero>p{max-width:330px;margin:0 auto 21px;color:#65708a;font-size:12px;line-height:1.65;text-align:center}
.buy-v2-steps{position:relative;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:0;margin:0;padding:18px 9px 15px;border:1px solid #e4eafa;border-radius:14px;background:#fff;box-shadow:0 6px 20px rgba(78,96,160,.07)}
.buy-v2-steps li{position:relative;display:flex;min-width:0;flex-direction:column;align-items:center;gap:8px;color:#25314a;font-size:12px;font-weight:700;line-height:1.2;text-align:center}
.buy-v2-steps li:not(:last-child):after{position:absolute;right:-14px;top:23px;width:28px;height:0;border-top:1px dashed #b8c7e5;background:none;content:""}
.buy-v2-steps b{display:flex;width:48px;height:48px;align-items:center;justify-content:center;border:0;border-radius:13px;background:#edf5ff;box-shadow:none}
.buy-v2-steps b img{width:27px;height:27px;filter:invert(38%) sepia(94%) saturate(1957%) hue-rotate(205deg) brightness(98%)}
.buy-v2-steps li:first-child b img,.buy-v2-steps li:last-child b img{width:34px;height:34px}
.buy-v2-steps li:nth-child(2) b{border-radius:50%;background:#675be8}
.buy-v2-steps li:nth-child(2) b img{width:26px;height:26px;filter:brightness(0) invert(1)}
.buy-v2-promise{display:block;margin:12px 0;padding:12px 14px 14px;border:1px solid #d6e4ff;border-radius:14px;background:#eaf2ff}
.buy-v2-promise h2{margin:0 0 11px;color:#3164ca;font-size:12px;line-height:1.2;text-align:center}
.buy-v3-benefits{display:grid;grid-template-columns:1fr 1fr;gap:16px}
.buy-v3-benefits>div{display:flex;align-items:center;gap:9px;min-width:0}
.buy-v3-benefits i{display:flex;flex:0 0 43px;width:43px;height:43px;align-items:center;justify-content:center;border-radius:50%;background:#3974ef}
.buy-v3-benefits i img{width:22px;height:22px;filter:brightness(0) invert(1)}
.buy-v3-benefits span,.buy-v3-benefits b,.buy-v3-benefits small{display:block}
.buy-v3-benefits b{color:#26324a;font-size:12px;line-height:1.2}
.buy-v3-benefits small{margin-top:3px;color:#5f6d88;font-size:10px;line-height:1.2}
.buy-v2-form-card{margin:0 0 12px;padding:16px 15px 14px;border-radius:15px}
.buy-v2-section-head{margin-bottom:10px}
.buy-v3-form-title{display:flex;align-items:center;justify-content:space-between;gap:8px}
.buy-v3-form-title>h2{margin:0;color:#1f2937;font-size:18px;line-height:1.2}
.buy-v2-referral{display:flex;align-items:center;gap:3px;margin:0;padding:0;border:0;background:transparent}
.buy-v2-referral>img{width:10px;height:10px;filter:invert(48%) sepia(64%) saturate(1885%) hue-rotate(206deg) brightness(94%)}
.buy-v2-referral>span:first-of-type{display:none}
.buy-v2-referral b{color:#6370a0;font-size:9px;line-height:1.2;white-space:nowrap}
.buy-v2-referral small{display:none}
.buy-v2-referral.is-error{border:0;background:transparent}
.buy-v2-referral.is-error b{color:#dc2626!important}
.checkout-create-grid{display:grid!important;grid-template-columns:1fr!important;gap:8px;margin:0 0 11px}
.checkout-create-grid label{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap}
.buy-v3-input-wrap{position:relative}
.buy-v3-input-wrap>img{position:absolute;left:11px;top:50%;width:13px;height:13px;transform:translateY(-50%);opacity:.55;filter:invert(48%) sepia(15%) saturate(512%) hue-rotate(184deg)}
.buy-v3-input-wrap input{height:42px;padding:10px 11px 10px 35px;border-color:#dbe3f3;border-radius:7px;color:#26324a;font-size:12px;line-height:1.2}
.buy-v3-input-wrap input::placeholder{color:#a4adbf}
.checkout-amount-field{margin:0 0 12px}
.checkout-amount-field legend{margin-bottom:7px;color:#28344c;font-size:12px;line-height:1.2}
.checkout-amount-options{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:0}
.checkout-amount-option{display:flex;min-width:0;min-height:35px;align-items:center;justify-content:center;padding:7px 2px;border-color:#e0e6f2;border-radius:0;background:#fff;color:#26324a;box-shadow:none}
.checkout-amount-option:first-child{border-radius:6px 0 0 6px}
.checkout-amount-option:last-child{border-radius:0 6px 6px 0}
.checkout-amount-option:not(:first-child){margin-left:-1px}
.checkout-amount-option b{font-size:12px;line-height:1.2}
.checkout-amount-option span{display:none}
.checkout-amount-option.active{position:relative;border-color:#3974ef;background:#f2f7ff;color:#2c67da;box-shadow:0 0 0 1px #3974ef;z-index:1}
.checkout-primary-action{min-height:45px;padding:11px;border-radius:7px;background:#2c67ed;box-shadow:0 7px 17px rgba(44,103,237,.24);font-size:13px;line-height:1.2}
.checkout-safe-note{display:flex;align-items:center;justify-content:center;gap:4px;margin:9px 0 0;color:#7e8ba6;font-size:9px;line-height:1.3}
.checkout-safe-note img{width:10px;height:10px;filter:invert(44%) sepia(99%) saturate(1549%) hue-rotate(202deg) brightness(96%)}
.buy-v2-contact{display:grid!important;grid-template-columns:56px 1fr auto!important;align-items:center;gap:9px;margin-top:12px;padding:10px;border:1px solid #e6ebf6;border-radius:10px;background:#fff}
.buy-v2-contact .promoter-qr{width:56px;height:56px;margin:0;padding:2px;border-radius:4px}
.buy-v2-contact div b{margin-bottom:3px;color:#1f2937;font-size:11px;line-height:1.2}
.buy-v2-contact div span{color:#73809a;font-size:9px;line-height:1.25}
.buy-v2-contact div small{margin-top:3px;color:#316adb;font-size:9px;line-height:1.2}
.buy-v2-contact button{grid-column:auto!important;width:auto!important;padding:7px 8px;background:#eef3ff;color:#3970df;font-size:9px;line-height:1.2}
.buy-secondary-info{margin-top:9px;font-size:9px}
.buy-secondary-info summary{color:#8390a7}
.buy-secondary-info .checkout-links{gap:8px;margin-top:7px}
.buy-rule-details{margin:2px 0 0;padding:5px 8px!important;border:0!important;border-radius:0!important;background:transparent!important;box-shadow:none!important}
.buy-rule-details summary{justify-content:center;color:#7d89a1;font-size:9px}
.buy-rule-details summary span{font-size:8px}
.checkout-message-card{margin:7px 0 0;padding:8px 10px!important;border:0!important;background:transparent!important;box-shadow:none!important}
.checkout-message-card p{display:flex;align-items:center;justify-content:center;gap:4px;color:#8792aa;font-size:8px;text-align:center}
.checkout-message-card img{width:10px;height:10px;filter:invert(44%) sepia(99%) saturate(1549%) hue-rotate(202deg) brightness(96%)}
.checkout-order-card{margin:0;padding:16px!important}
@media(max-width:430px){.buy-v2-shell{padding:14px 10px 22px}.buy-v2-hero h1{font-size:28px}.buy-v3-benefits{gap:10px}.buy-v2-contact{grid-template-columns:52px 1fr auto!important}.buy-v2-contact .promoter-qr{width:52px;height:52px}}
