
*{box-sizing:border-box}
body{margin:0;font-family:ui-sans-serif,system-ui,-apple-system,"PingFang SC","Microsoft YaHei",sans-serif;font-size:14px;line-height:1.5}
a{color:inherit;text-decoration:none}
button,select{font:inherit}
button,summary{cursor:pointer}
p,h1,h2,h3{margin:0}
svg{width:16px;height:16px;flex-shrink:0;stroke:currentColor;stroke-width:1.6;fill:none;stroke-linecap:round;stroke-linejoin:round}
.sprite{position:absolute;width:0;height:0;overflow:hidden}
.shell{width:min(960px,calc(100% - 48px));margin:auto}
.site-header{border-bottom:1px solid var(--border)}
.header-inner{height:64px;display:flex;justify-content:space-between;align-items:center}
.brand{font-size:17px;font-weight:650;letter-spacing:-.4px}
.brand span{font-weight:450;color:var(--muted-foreground);margin-left:4px}
.page-heading{padding:28px 0 20px}
.page-heading h1{font-size:24px;font-weight:650;letter-spacing:-.6px}
.page-heading p{color:var(--muted-foreground);font-size:13px;margin-top:6px}
.muted{color:var(--muted-foreground)}
.account{margin-bottom:24px;box-shadow:none}
.account-content{padding:16px 20px;display:flex;align-items:center;justify-content:space-between;gap:16px;font-size:12px}
.account-name{display:flex;align-items:center;gap:10px;margin-top:4px}
.account-name strong{font-size:14px;font-weight:600}
.badge{border:1px solid var(--border);border-radius:6px;padding:2px 8px;font-size:11px;font-weight:500;display:inline-flex;align-items:center;white-space:nowrap;color:var(--foreground)}
.dark-badge{background:var(--primary);border-color:var(--primary);color:var(--primary-foreground)}
.account-state{text-align:right}
.account-state strong{font-weight:550}
.account-state p{margin-top:4px;color:var(--muted-foreground)}
.plans{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,280px),1fr));gap:20px}
.plan{display:flex;flex-direction:column}
.annual{border-color:var(--foreground)}
.plan-heading{display:flex;justify-content:space-between;align-items:center;gap:8px;margin-bottom:3px}
.plan-heading h3{font-size:18px}
.plan-content{display:flex;flex-direction:column;gap:20px;flex:1}
.price-context{font-size:12px;color:var(--muted-foreground);display:flex;gap:10px;align-items:center;min-height:20px}
.discount{color:var(--foreground);font-weight:500}
.price-line{display:flex;align-items:baseline;gap:4px;margin-top:5px}
.currency{font-size:20px;font-weight:500}
.amount{font-size:40px;font-weight:650;letter-spacing:-1.5px;line-height:1.25;font-variant-numeric:tabular-nums}
.price-unit{margin-left:8px;font-size:12px;color:var(--muted-foreground)}
.allowance{display:grid;grid-template-columns:1fr 1fr;gap:20px}
.allowance>div+div{border-left:1px solid var(--border);padding-left:20px}
.allowance strong{font-size:22px;font-weight:600;letter-spacing:-.4px}
.allowance strong span{font-size:12px;letter-spacing:0;font-weight:450}
.allowance small{display:block;color:var(--muted-foreground);font-size:12px;margin-top:3px}
.plan-note{color:var(--muted-foreground);font-size:12px;line-height:1.8;min-height:44px}
.purchase-button{width:100%}
.included{display:flex;justify-content:center;flex-wrap:wrap;gap:12px 24px;padding:18px 0 8px;color:var(--muted-foreground);font-size:12px}
.included span{display:flex;gap:6px;align-items:center}
.included svg{width:14px;height:14px;color:var(--foreground)}
.payment-note{text-align:center;color:var(--muted-foreground);font-size:12px}
.comparison{margin-top:36px;scroll-margin-top:20px}
.section-head{margin-bottom:16px}
.section-head h2{font-size:18px;font-weight:600;letter-spacing:-.4px}
.section-head p{font-size:13px;color:var(--muted-foreground);margin-top:6px}
.table-wrap{border:1px solid var(--border);border-radius:10px;overflow:hidden}
table{width:100%;border-collapse:collapse;table-layout:fixed;font-size:13px;text-align:left}
th,td{padding:13px 20px;border-bottom:1px solid var(--border);vertical-align:middle;line-height:1.6}
thead th{background:var(--muted);font-weight:550}
th:first-child{width:45%}
th:not(:first-child),td:not(:first-child){text-align:center}
tbody th{font-weight:450}
td:last-child{font-weight:550}
.table-sub{display:block;font-size:11px;font-weight:400;color:var(--muted-foreground);margin-top:3px}
.group-row th{background:var(--muted);color:var(--muted-foreground);font-size:11px;font-weight:500;padding-top:8px;padding-bottom:8px}
.last-row>*{border-bottom:0}
.table-foot{font-size:12px;color:var(--muted-foreground);margin-top:12px;line-height:1.7}
.shared-note{display:flex;align-items:start;gap:8px;color:var(--muted-foreground);font-size:12px;margin-top:10px;line-height:1.7}
.shared-note svg{margin-top:2px}
.roadmap{margin-top:16px;color:var(--muted-foreground);font-size:12px}
.roadmap p{margin-top:8px;line-height:1.8}
.purchase-info{margin-top:32px}
.info-grid{border-top:1px solid var(--border)}
.info-grid details{border-bottom:1px solid var(--border);padding:16px 0}
.info-grid summary{list-style:none;font-size:13px;font-weight:500;display:flex;justify-content:space-between;gap:16px}
.info-grid summary::-webkit-details-marker{display:none}
.info-grid summary:after{content:'+';color:var(--muted-foreground);font-size:18px;line-height:20px}
.info-grid details[open] summary:after{content:'−'}
.info-grid p{font-size:13px;color:var(--muted-foreground);line-height:1.8;margin-top:10px;max-width:800px}
.orders{margin-top:24px;padding:16px 20px;box-shadow:none}
.orders summary{font-size:13px;font-weight:500}
.orders summary span{font-size:12px;font-weight:400;margin-left:8px}
.orders p{font-size:13px;color:var(--muted-foreground);margin-top:12px}
.footer{padding:24px 0 32px;display:flex;justify-content:space-between;color:var(--muted-foreground);font-size:12px}
button:focus-visible,a:focus-visible,summary:focus-visible,select:focus-visible{outline:2px solid var(--ring);outline-offset:3px}

@media(max-width:640px){.shell{width:calc(100% - 32px)}
.header-inner{height:58px}
.page-heading{padding-top:24px}
.page-heading h1{font-size:22px}
.page-heading p{line-height:1.8}
.account-content{align-items:start;flex-direction:column;gap:12px;padding:16px}
.account-state{text-align:left}
.plans{grid-template-columns:1fr;gap:16px}
.included{justify-content:flex-start;gap:10px 16px}
.payment-note{text-align:left;line-height:1.8}
.comparison{margin-top:28px}
th,td{padding:12px 10px;font-size:12px}
th:first-child{width:42%}
.table-sub{font-size:10px}
.price-context{gap:8px}
.purchase-info{margin-top:28px}
}


.feature-status{display:inline-block;font-size:17px;line-height:1.4;vertical-align:middle}


.renewal-emphasis{font-weight:700;color:var(--foreground)}


.saving{font-weight:600;color:var(--foreground);white-space:nowrap;background:var(--muted);border-radius:4px;padding:1px 5px;font-size:11px}
.saving[hidden]{display:none}


.purchase-form{width:100%;margin:0}
.plan-heading h3{line-height:1.4}
.plan-heading{align-items:start}
.price-context{flex-wrap:wrap}
.pricing{margin-top:auto}
.plan-content{flex:1}
.orders ul{margin:12px 0 0;padding-left:20px}
.orders li{margin:8px 0}
.orders a{text-decoration:underline;text-underline-offset:3px}
.empty-state{padding:20px;border:1px solid var(--border);border-radius:10px;color:var(--muted-foreground)}

/* Shared login, checkout and order pages use the same tokens as the shop. */
.back-link{display:inline-block;margin-bottom:12px;color:var(--muted-foreground);font-size:12px}
.back-link:hover,.flow-link:hover{text-decoration:underline;text-underline-offset:4px}
.checkout-grid{display:grid;grid-template-columns:1fr 1fr;gap:20px;align-items:start}
.checkout-grid>*{min-width:0}
.order-summary h3{line-height:1.5;overflow-wrap:anywhere}
.flow-content{display:flex;flex-direction:column;gap:24px}
.order-details{display:grid;gap:16px;margin:0}
.order-details>div{display:flex;justify-content:space-between;gap:20px;align-items:baseline}
.order-details dt{flex-shrink:0;color:var(--muted-foreground);font-size:12px}
.order-details dd{margin:0;text-align:right;overflow-wrap:anywhere;min-width:0;font-weight:500}
.order-reference{font-size:11px;font-variant-numeric:tabular-nums}
.qr-panel{display:flex;flex-direction:column;align-items:center;gap:20px;text-align:center}
.qr{display:block;width:240px;max-width:100%;height:auto;aspect-ratio:1;background:#fff;border:1px solid var(--border);border-radius:10px;padding:12px}
.qr[hidden]{display:none}
.flow-status{width:100%;padding:14px 16px;background:var(--muted);border-radius:8px;font-size:13px;line-height:1.8;overflow-wrap:anywhere}
.flow-status:empty{display:none}
.flow-hint{font-size:13px;line-height:1.8;color:var(--muted-foreground)}
.flow-notice{margin-top:24px;padding:18px 20px;border:1px solid var(--border);border-radius:10px;font-size:13px}
.flow-notice strong{font-weight:600}
.flow-notice p{margin-top:6px;line-height:1.8;color:var(--muted-foreground)}
.flow-card{max-width:520px;margin:8px auto 36px}
.flow-link{font-size:13px;font-weight:500;align-self:flex-start}
@media(max-width:640px){
  .checkout-grid{grid-template-columns:1fr;gap:16px}
  .flow-notice{padding:16px}
  .order-details>div{gap:12px}
}
