/* Only store checkout pages request this stylesheet. */
body.tx-checkout.tx-supply {
  --plan-surface:#fff;
  --plan-tint:#f0edff;
  --plan-line:#dedbea;
  --plan-strong:#392a68;
  --plan-highlight:#d8ceff;
  --plan-mark:#694de1;
  --plan-pattern:radial-gradient(ellipse at 100% 100%,#e5dcff 0,transparent 57%);
  --tx-bg:#f7f6fb;
}
body.tx-checkout.tx-qingxu {
  --plan-surface:#fffefa;
  --plan-tint:#edf1da;
  --plan-line:#dce1cf;
  --plan-strong:#234b36;
  --plan-highlight:#deed9d;
  --plan-mark:#4e7841;
  --plan-pattern:radial-gradient(ellipse at 100% 100%,#e4ecbe 0,transparent 57%);
  --tx-bg:#f6f6ed;
}
.tx-page.tx-checkout .plan-navigation {
  display:flex; align-items:center; justify-content:space-between; gap:12px;
  min-height:76px; padding:10px 0;
}
.tx-page.tx-checkout .plan-navigation .tx-crumb { margin:0; font-size:.86rem; color:var(--tx-muted); }
.plan-navigation .tx-crumb [aria-current] { color:var(--tx-text); }
.plan-navigation .plan-notice-link { display:inline-flex; align-items:center; gap:5px; min-height:40px; color:var(--tx-primary); font-size:.86rem; text-decoration:none; }
.plan-navigation .plan-notice-link:hover { text-decoration:underline; }
.tx-checkout:not(:has(#purchaseNotice)) .plan-notice-link { display:none; }
.tx-page.tx-checkout .tx-checkout-content { padding-top:0; }
.tx-page.tx-checkout .co-grid { display:grid; grid-template-columns:minmax(0,1.15fr) minmax(335px,.85fr); gap:clamp(18px,2.6vw,36px); }
.tx-page.tx-checkout .co-grid :is(.co-product,.co-card,.co-notice) {
  background:var(--plan-surface); color:var(--tx-text); border:1px solid var(--plan-line);
  border-radius:19px; box-shadow:0 8px 24px -18px var(--plan-strong);
}
.tx-page.tx-checkout .co-grid .co-product { padding:0; }
.tx-page.tx-checkout .co-grid .co-product::after { content:none; }
.tx-page.tx-checkout .co-product-top,
.tx-page.tx-checkout [data-checkout-preview] .co-product {
  display:grid; grid-template-columns:clamp(80px,8vw,114px) minmax(0,1fr); gap:0 clamp(16px,2vw,26px);
  padding:clamp(25px,3.4vw,44px) clamp(20px,2.8vw,36px); align-items:center;
  background:var(--plan-pattern),var(--plan-tint);
}
.tx-page.tx-checkout .co-product .co-product-logo {
  width:100%; height:auto; aspect-ratio:1; padding:11%; margin:0; object-fit:contain;
  display:grid; place-items:center; border-radius:21%; border:1px solid var(--plan-line);
  background:white; color:var(--plan-strong); box-shadow:0 9px 22px -15px var(--plan-strong);
}
.tx-page.tx-checkout .co-product .co-product-meta { min-width:0; }
.tx-page.tx-checkout .co-product .co-title {
  margin:0; color:var(--tx-text); font-size:clamp(1.55rem,3vw,2.75rem);
  line-height:1.17; font-weight:760; letter-spacing:-.042em; text-wrap:balance;
}
.tx-page.tx-checkout .co-product .co-price-row { display:flex; align-items:baseline; gap:.4rem; margin-top:8px; }
.tx-page.tx-checkout .co-product .co-price { color:var(--tx-primary); font-size:clamp(1.42rem,2.2vw,2rem); line-height:1.15; letter-spacing:-.037em; }
.tx-page.tx-checkout .co-product .co-price-unit { color:var(--tx-muted); font-size:.86rem; }
.tx-page.tx-checkout .co-product .co-summary {
  margin:0; padding:clamp(17px,2.45vw,29px) clamp(20px,2.8vw,36px);
  border-top:1px solid var(--plan-line); background:var(--plan-surface); overflow-wrap:anywhere; line-height:1.75;
}
.tx-page.tx-checkout .co-product .co-summary:empty { display:none; }
.tx-page.tx-checkout .co-product .co-summary::before {
  content:"套餐说明"; display:block; margin:0 0 5px; color:var(--tx-text); font-size:1rem; font-weight:720;
}
.tx-page.tx-checkout .co-product :is(.co-summary,.co-summary p,.co-summary span,.co-summary div,.co-sub) { color:var(--tx-muted); }
.tx-page.tx-checkout .co-product .co-summary p { margin:.26em 0; }
.tx-page.tx-checkout [data-checkout-preview] .co-product { padding:clamp(25px,3.4vw,44px) clamp(20px,2.8vw,36px) 0; }
.tx-page.tx-checkout [data-checkout-preview] .co-product-logo { grid-column:1; grid-row:1 / 3; }
.tx-page.tx-checkout [data-checkout-preview] :is(.co-title,.co-price-row) { grid-column:2; }
.tx-page.tx-checkout [data-checkout-preview] .co-product .co-summary {
  grid-column:1 / -1; margin:clamp(25px,3.4vw,44px) calc(-1 * clamp(20px,2.8vw,36px)) 0;
}
.tx-page.tx-checkout .co-grid .co-notice { padding:clamp(19px,2.6vw,32px); margin-top:18px; scroll-margin-top:85px; }
.tx-page.tx-checkout .co-notice h2 { font-size:1.2rem; padding:0; margin:0 0 7px; }
.tx-page.tx-checkout .co-notice :is(.co-notice-lead,.co-notice-body),
.tx-page.tx-checkout [data-checkout-preview] .co-notice>div { color:var(--tx-muted); font-size:.95rem; line-height:1.82; overflow-wrap:anywhere; }
.tx-page.tx-checkout .co-notice .co-notice-lead { margin:0 0 12px; }
.tx-page.tx-checkout .co-notice .co-notice-body :is(strong,span,font,em,b) { color:inherit !important; }
.tx-page.tx-checkout .co-grid .co-card { padding:clamp(20px,2.4vw,30px); }
.tx-page.tx-checkout .co-card .co-card-title {
  margin:0 0 20px; padding:0 0 14px; border-bottom:1px solid var(--plan-line);
  font-size:1.45rem; font-weight:750; letter-spacing:-.035em;
}
.tx-page.tx-checkout .co-card .co-invoice { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:8px; }
.tx-page.tx-checkout .co-card .co-inv {
  display:grid; grid-template-columns:16px minmax(0,1fr); gap:3px 7px; align-content:start;
  padding:12px; border:1px solid var(--plan-line); border-radius:11px; height:100%; background:var(--plan-surface);
}
.tx-page.tx-checkout .co-card .co-inv.on { border-color:var(--tx-primary); background:var(--plan-tint); box-shadow:inset 0 0 0 1px var(--tx-primary); }
.tx-page.tx-checkout .co-card .co-inv-dot { width:15px; height:15px; grid-row:1; grid-column:1; align-self:start; margin-top:5px; }
.tx-page.tx-checkout .co-card .co-inv-txt { display:contents; }
.tx-page.tx-checkout .co-card .co-inv-txt b { grid-row:1; grid-column:2; font-size:.94rem; }
.tx-page.tx-checkout .co-card .co-inv-price { grid-row:2; grid-column:1/-1; color:var(--tx-text); font-size:1.18rem; font-variant-numeric:tabular-nums; }
.tx-page.tx-checkout .co-card .co-inv-txt span { grid-row:3; grid-column:1/-1; margin:0; color:var(--tx-muted); font-size:.77rem; line-height:1.45; overflow-wrap:anywhere; }
.tx-page.tx-checkout .co-card .co-invoice-fields { background:var(--plan-tint); border:1px solid var(--plan-line); border-radius:11px; }
.tx-page.tx-checkout .co-card :is(.co-invoice-fields-title,.co-field>span) { color:var(--tx-text); }
.tx-page.tx-checkout .co-card .co-due {
  min-height:72px; padding:13px 18px; margin:16px 0 19px; background:var(--plan-strong); border-radius:12px;
}
.tx-page.tx-checkout .co-card .co-due .co-label { color:white; font-size:1rem; margin:0; }
.tx-page.tx-checkout .co-card .co-due .co-pay-amount { font-size:clamp(1.9rem,2.5vw,2.3rem); color:var(--plan-highlight); }
.tx-page.tx-checkout .co-card .co-label { font-weight:670; }
.tx-page.tx-checkout .co-card :is(.co-hint,.co-legal,.co-agree) { font-size:.82rem; line-height:1.6; }
.tx-page.tx-checkout .co-card :is(.co-hint,.co-legal) { color:var(--tx-muted); }
.tx-page.tx-checkout .co-card .co-chan button { min-height:40px; color:var(--tx-text); }
.tx-page.tx-checkout .co-card .co-chan button.active { color:var(--tx-primary); border-color:var(--tx-primary); }
.tx-page.tx-checkout .co-card .co-paybtn:not(:disabled) { min-height:48px; font-size:1rem; font-weight:720; }
.tx-page.tx-checkout .co-card .co-agree input { accent-color:var(--tx-primary); }
@media (max-width:800px) {
  .tx-page.tx-checkout .co-grid { display:flex; flex-direction:column; align-items:stretch; gap:12px; }
  .tx-page.tx-checkout .co-grid .co-left { display:contents; }
  .tx-page.tx-checkout .co-grid .co-product { order:0; }
  .tx-page.tx-checkout .co-grid :is(.co-right,.co-card) { order:1; }
  .tx-page.tx-checkout .co-grid .co-notice { order:2; margin:0; }
  .tx-page.tx-checkout .plan-navigation { min-height:52px; padding-block:3px; }
  .tx-page.tx-checkout .co-product-top,
  .tx-page.tx-checkout [data-checkout-preview] .co-product { grid-template-columns:65px minmax(0,1fr); }
  .tx-page.tx-checkout .co-card .co-card-title { margin-bottom:13px; padding-bottom:10px; }
}
@media (max-width:370px) {
  .tx-page.tx-checkout .plan-navigation .tx-crumb,.plan-navigation .plan-notice-link { font-size:.78rem; }
  .tx-page.tx-checkout .co-grid .co-card { padding:16px; }
  .tx-page.tx-checkout .co-product-top { gap:13px; padding:20px 16px; }
  .tx-page.tx-checkout .co-product .co-summary { padding:14px 16px; }
  .tx-page.tx-checkout .co-card .co-inv { padding:9px; }
}
