/* Checkout: one amount and only the selected payment QR. */
.checkout-shell{max-width:860px}
.checkout-shell h1{font-size:32px}
.checkout-shell>.lead{font-size:15px;line-height:1.7;color:#718078}
.checkout-shell .panel{padding:28px;border-radius:12px;box-shadow:none}
.checkout-shell #checkout-order-title{font-size:20px;margin:0 0 14px}
.checkout-total{text-align:center;padding:8px 0 22px}
.checkout-total>span{display:block;font-size:13px;color:#75837c}
.checkout-total>strong{display:block;font-size:38px;font-weight:650;letter-spacing:-1px;line-height:1.3;margin:5px 0 9px;font-variant-numeric:tabular-nums}
.checkout-total>p{margin:0 0 7px;font-size:14px;color:#435b4f}
.checkout-total>small{font-size:12px;color:#819087}
.checkout-info{font-size:13px;border-top:1px solid #e5eae7;border-bottom:1px solid #e5eae7;padding:12px 0}
.checkout-info summary{cursor:pointer;color:#6d7e73}
.checkout-order-details{display:grid;grid-template-columns:110px 1fr;gap:10px 16px;line-height:1.7;padding:10px 0;margin:0;font-size:12px}
.checkout-order-details dt{color:#6c7e75}
.checkout-order-details dd{margin:0;overflow-wrap:anywhere}
.checkout-qr-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;margin:24px 0 12px}
.checkout-qr-card{min-width:0;padding:20px 14px;text-align:center;border:1px solid #e1e7e3;background:white;border-radius:10px}
.checkout-qr-card .qr-method{font-size:15px;font-weight:600;margin:0 0 18px;line-height:1.5}
.qr-method.wechat{color:#16864b}
.qr-method.alipay{color:#1677df}
/* The source image is unchanged; the window hides poster text on this page. */
.qr-window{position:relative;overflow:hidden;width:220px;max-width:100%;aspect-ratio:1;margin:0 auto;background:white;border-radius:4px}
.qr-window img{display:block;position:absolute;max-width:none;height:auto;margin:0;border:0;border-radius:0}
.qr-window.uncropped img{position:static;width:100%;height:100%;object-fit:contain}
.qr-caption{text-align:center;margin:12px 0 22px;font-size:12px;line-height:1.6;color:#7b8980}
.checkout-shell label[for="checkout-paid-method"]{display:block;font-weight:600;font-size:13px;margin:20px 0 8px}
.checkout-shell #checkout-paid-method{width:100%;min-height:42px;border:1px solid #cfddd6;border-radius:8px;background:white;padding:10px;color:#234b3d;font:inherit;font-size:14px}
.checkout-warning{font-size:12px;line-height:1.7;padding:11px 13px;background:#f8faf8;border:1px solid #e2e8e3;border-radius:7px;color:#6e7d73}
.checkout-status{font-size:12px;line-height:1.7;padding:0;color:#7c8b82;margin:14px 0}
.checkout-shell .actions{gap:10px;display:flex;flex-wrap:wrap}
.checkout-shell .actions button{font-size:14px;min-height:42px;padding:10px 16px}
.checkout-shell #checkout-order-notice{font-size:12px;line-height:1.7;color:#718078}
.checkout-shell #checkout-order>.muted{font-size:12px;line-height:1.7}
.checkout-code{font-size:23px;font-weight:700;letter-spacing:1px;padding:15px;background:#edf7f2;border:1px solid #bbd7c9;border-radius:8px;overflow-wrap:anywhere}
.activation-code-dialog{box-sizing:border-box;width:min(460px,calc(100% - 32px));padding:28px;border:1px solid #d5e2dc;border-radius:12px;color:#173b31;background:white;box-shadow:0 16px 60px #102f3026}
.activation-code-dialog::backdrop{background:#142b3077}
.activation-code-dialog h2{margin:8px 0 20px;font-size:24px}
.activation-code-dialog .checkout-code{user-select:all;text-align:center;font-size:21px}
.activation-code-dialog .actions{display:flex;gap:12px;flex-wrap:wrap}
.activation-code-dialog .code-success{font-size:13px;color:#28815e}
.activation-code-dialog .muted{font-size:13px;line-height:1.6}
/* Owner-only payment configuration. */
.commerce-admin{margin-top:30px}
.commerce-admin h2{margin-bottom:12px}
.commerce-admin h3{font-size:17px;margin-top:25px}
.commerce-config{background:#f5f8f6;border:1px solid #dce4df;padding:14px;border-radius:8px}
.commerce-admin .commerce-qr-row{display:grid;grid-template-columns:1fr 1fr;gap:18px}
.commerce-qr-variants{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin:16px 0}
.commerce-qr-variants figure{margin:0;min-width:0}
.commerce-qr-variants .qr-window{width:100%;max-width:150px}
.commerce-qr-variants figcaption{font-size:11px;text-align:center;margin-top:8px;color:#6b7b73}
.commerce-admin input[type="file"]{font-size:12px}
.commerce-admin .commerce-plan-list{margin:15px 0;padding:0;list-style:none}
.commerce-admin .commerce-plan-list li{padding:10px 0;border-bottom:1px solid #e2e8e4;display:flex;justify-content:space-between;gap:12px}
.commerce-admin .commerce-plan-list button{padding:4px 9px;font-size:12px}
.commerce-orders{width:100%;font-size:13px}
.commerce-orders td{padding:12px 8px}
.commerce-orders small{display:block;color:#73887b}
.commerce-admin .commerce-code-output{white-space:pre-wrap;overflow-wrap:anywhere;background:#eff7f2;padding:12px;border-radius:6px;font-size:13px}
.commerce-admin .commerce-confirm-label{display:flex;align-items:flex-start;gap:8px}
.commerce-admin .commerce-confirm-label input{width:auto;margin-top:5px}
.commerce-admin button{margin-right:5px}
.commerce-admin dialog{max-width:540px;min-width:0;width:calc(100% - 36px)}
@media(max-width:640px){
 .checkout-shell h1{font-size:27px}
 .checkout-shell .panel{padding:22px 18px}
 .checkout-total>strong{font-size:34px}
 .checkout-qr-grid{grid-template-columns:1fr;gap:14px}
 .checkout-order-details{grid-template-columns:76px 1fr;gap:8px 10px}
 .commerce-admin .commerce-qr-row,.commerce-admin .form-row{grid-template-columns:1fr}
}
.checkout-benefits{padding:6px 0 16px}.checkout-benefits h2,.checkout-how h2{font-size:20px}.checkout-benefits ul{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px;padding:0;list-style:none;margin:24px 0 16px}.checkout-benefits li{font-size:14px;line-height:1.8}.checkout-benefits span,.checkout-how span{display:block;font-size:13px;color:#677b70;line-height:1.9;margin-top:7px}.checkout-benefits>a{font-size:14px}.checkout-plan-options{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:22px 0}.checkout-plan-options button{background:#fff;border:1px solid #d5e1d8;border-radius:10px;padding:18px 14px;text-align:left;font:inherit;color:#325443;cursor:pointer}.checkout-plan-options button[aria-pressed=true]{border-color:#4a8061;background:#eef5ee;box-shadow:inset 0 3px #4a8061}.checkout-plan-options button span,.checkout-plan-options button small{display:block}.checkout-plan-options button strong{display:block;font-size:25px;font-variant-numeric:tabular-nums;margin:8px 0}.checkout-plan-options button small{font-size:12px;color:#6c8172;line-height:1.7}.checkout-plan-options button:focus-visible{outline:3px solid #7fb293;outline-offset:3px}.checkout-how{margin:32px 0}.checkout-how ol{padding-left:22px;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:28px;font-size:14px}.checkout-how li{padding-left:3px}.checkout-plan-options button:disabled{cursor:not-allowed}@media(max-width:640px){.checkout-benefits ul,.checkout-how ol{grid-template-columns:1fr;gap:18px}.checkout-plan-options{grid-template-columns:1fr}.checkout-plan-options button{display:grid;grid-template-columns:1fr auto;align-items:center;gap:0 14px}.checkout-plan-options button strong{grid-column:2;grid-row:1 / 3;margin:0}.checkout-plan-options button small{grid-column:1}}

.checkout-guidance{padding:20px 23px;border:1px solid #d7e4cc;background:#eff5e7;border-radius:11px;margin:22px 0}.checkout-guidance>strong{font-size:14px;color:#466b37}.checkout-guidance p{font-size:12px;color:#7e9568;line-height:1.9;margin:10px 0}.checkout-guidance a{font-size:11px;text-decoration:none;color:#76965a}.checkout-explainer{padding:16px 0;border-top:1px solid #e1e8d9;margin:0}.checkout-explainer>summary{font-size:12px;color:#8b9c79;cursor:pointer;line-height:1.8}.checkout-explainer>.checkout-benefits,.checkout-explainer>.checkout-how{margin-bottom:0}.checkout-plan-options>button.is-recommended{position:relative;border-color:#9ebc80}.plan-recommendation{display:block;font-style:normal;font-size:10px;color:#618b43;background:#eaf3df;padding:4px 7px;border-radius:4px;margin-bottom:8px;line-height:1.6}.checkout-shell>h1{font-size:30px}.checkout-shell>.lead{font-size:13px;line-height:1.9}.checkout-shell [hidden]{display:none!important}

/* Timed promotion: the server supplies the payable quote. */
.checkout-promotion{margin:16px 0;padding:14px 16px;border:1px solid #c9dece;border-radius:9px;background:#eef6ee;color:#245439}.checkout-promotion>strong{font-size:16px}.checkout-promotion p{font-size:12px;line-height:1.8;margin:6px 0}.checkout-promotion small{font-size:11px;line-height:1.7;color:#647b68}.plan-price{margin:8px 0}.checkout-plan-options button .plan-price>strong{margin:3px 0}.plan-original{font-size:12px;color:#7e8d81;text-decoration-thickness:1px}.plan-discount{display:inline-block!important;font-style:normal;font-size:10px;line-height:1.7;padding:1px 5px;margin-left:6px;border-radius:4px;background:#e1efdf;color:#396b35}.checkout-amount-entry{margin:14px 0 0;font-size:13px;font-weight:600;line-height:1.8;color:#365b34;background:#eff6eb;border-radius:6px;padding:10px}.commerce-promotion{margin:16px 0;border:1px solid #d8e5db;border-radius:8px;padding:14px;background:#f8fbf8}.commerce-promotion h3{margin:0 0 10px;font-size:15px}.commerce-promotion p{font-size:12px;line-height:1.8}.checkout-plan-options button:disabled{opacity:.55}
@media(max-width:640px){.checkout-plan-options button .plan-price{grid-column:2;grid-row:1 / 4;text-align:right;margin:0}.checkout-plan-options button .plan-price strong{margin:3px 0}.checkout-plan-options button.is-recommended .plan-recommendation{grid-column:1;max-width:fit-content}.plan-original{display:block}.plan-discount{margin:3px 0 0}.checkout-promotion{padding:12px 14px}}

.checkout-qr-single{display:block;max-width:360px;margin:20px auto 12px}.checkout-qr-single .checkout-qr-card{padding:22px 18px}.checkout-qr-single .qr-window{width:240px;max-width:100%}

/* Current access is separate from choosing another package. */
.checkout-membership .membership-state{font-size:12px;color:#647c6d;margin:8px 0}.checkout-membership .membership-remaining{display:block;font-size:30px;font-weight:650;color:#245439;margin:12px 0 18px}.checkout-membership .muted{font-size:13px;line-height:1.8}.checkout-membership .actions{margin-top:22px;align-items:center}.checkout-selection-navigation{justify-content:space-between;margin-bottom:14px}.checkout-selection-navigation .text-button{padding:4px 0;font-size:12px}.checkout-shell .text-button{cursor:pointer;font:inherit;font-size:13px;background:none;color:#416952;border:0}.checkout-saved-orders{margin:20px 0;padding:16px 0;border-top:1px solid #dde6df}.checkout-saved-orders summary{cursor:pointer;font-size:13px;color:#52715d}.checkout-saved-orders .muted{font-size:12px;line-height:1.8}.checkout-saved-orders .button{display:block;width:100%;margin:9px 0;text-align:left;overflow-wrap:anywhere;font-size:12px}.checkout-renewal-success{color:#276a47;font-size:15px;line-height:1.8}.checkout-renewal-expiry{font-weight:600;color:#294e3a;padding:14px;background:#eff7ef;border-radius:8px}@media(max-width:640px){.checkout-membership .membership-remaining{font-size:26px}.checkout-selection-navigation{align-items:flex-start;gap:10px}.checkout-membership .actions{align-items:flex-start}}

/* Taobao is the only new-purchase payment channel. */
.taobao-checkout .taobao-button,.legacy-checkout .taobao-button{display:inline-flex;align-items:center;justify-content:center;background:#f47b16;color:#fff;border:1px solid #e56a0b;border-radius:8px;text-decoration:none;font-weight:650;padding:11px 16px;min-height:42px;box-sizing:border-box}.taobao-checkout .taobao-button:hover{background:#e96a08}.taobao-checkout .taobao-button:focus-visible{outline:3px solid #f2bd88;outline-offset:3px}.taobao-panel-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:15px}.taobao-panel-heading h2{margin-top:6px}.taobao-plan-options{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin:22px 0}.taobao-plan-card{padding:21px 17px;border:1px solid #d9e4dd;border-radius:10px;background:#fcfdfb;min-width:0}.taobao-plan-card>p:first-child{font-size:12px;color:#668170;margin:0 0 9px}.taobao-plan-card h3{font-size:23px;margin:0 0 12px}.taobao-plan-card .muted{font-size:11px;line-height:1.8;margin-bottom:20px}.taobao-plan-card .button{width:100%;font-size:13px}.taobao-plan-card.is-recommended{border-color:#eaa15d;background:#fffaf4}.taobao-price-note{font-size:12px;line-height:1.8;color:#7a847b}.taobao-product-link{font-size:12px;color:#52715b}.taobao-redemption>p,.taobao-how p{font-size:13px;line-height:1.9;color:#657d6c}.taobao-redemption label{display:block;font-size:13px;margin-top:20px}.taobao-redemption input{width:100%;box-sizing:border-box;min-height:46px;letter-spacing:.6px}.taobao-redemption #renewal-notice{font-size:13px;line-height:1.8;color:#315f43}.taobao-how ol{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:25px;padding-left:22px;margin:24px 0;font-size:13px}.taobao-how li{padding-left:2px;line-height:1.8}.taobao-how span{display:block;font-size:12px;color:#728376;margin-top:7px}.taobao-how .actions{align-items:center;font-size:12px}.taobao-legacy-note{margin:24px 0;padding:18px 0;border-top:1px solid #dce5df;font-size:12px;color:#748477;line-height:1.9}.taobao-legacy-note strong{color:#536e5a}.taobao-checkout-notice{font-size:12px;line-height:1.8;color:#778373}.legacy-checkout #checkout-selection,.legacy-checkout #checkout-membership,.legacy-checkout .checkout-explainer,.legacy-checkout #checkout-reselect,.legacy-checkout #checkout-order-membership{display:none!important}.legacy-checkout .checkout-saved-orders{margin-top:15px}.legacy-checkout #legacy-checkout-empty p{font-size:13px;line-height:1.8;color:#6e8173}@media(max-width:640px){.taobao-plan-options{grid-template-columns:1fr;gap:11px}.taobao-plan-card{display:grid;grid-template-columns:1fr auto;align-items:center;gap:0 12px;padding:17px}.taobao-plan-card h3{font-size:20px}.taobao-plan-card>p:first-child{grid-column:1}.taobao-plan-card .muted{grid-column:1;margin:0}.taobao-plan-card .button{grid-column:2;grid-row:1 / 4;width:auto;font-size:12px;white-space:nowrap;padding:10px 13px}.taobao-how ol{grid-template-columns:1fr;gap:18px}.taobao-checkout .checkout-membership .actions{gap:12px}.taobao-panel-heading{align-items:center}.taobao-panel-heading .text-button{font-size:11px}}
