/* ZaxSocial · css/billing.css — subscription selection, payment state and receipts. Owner: U8. */
.zs-billing { width: min(100% - 32px, 1000px); margin: 0 auto; padding: 24px 0 calc(var(--zs-safe-bottom) + 36px); color: var(--zs-text); }
.zs-bill-header { display: flex; align-items: center; gap: 14px; margin-bottom: 22px; }.zs-bill-header__icon { display: grid; width: 48px; height: 48px; flex: 0 0 auto; place-items: center; border-radius: 16px; color: var(--zs-on-accent); background: linear-gradient(145deg,var(--zs-orchid-500),var(--zs-accent)); box-shadow: var(--zs-shadow-accent); }.zs-bill-header__icon svg { width: 23px; height: 23px; }.zs-bill-header h1 { margin: 0; font-size: clamp(25px,4vw,32px); letter-spacing: -.035em; }.zs-bill-header p { margin: 5px 0 0; color: var(--zs-text-secondary); font-size: 14px; }
.zs-bill-kicker { color: var(--zs-accent-text); font-size: 10px; font-weight: 750; letter-spacing: .1em; text-transform: uppercase; }.zs-bill-active { display: grid; gap: 5px; margin-bottom: 17px; padding: 18px; border: 1px solid var(--zs-hairline); border-radius: 20px; background: var(--zs-surface); box-shadow: var(--zs-shadow-xs); }.zs-bill-active b { font-size: 17px; }.zs-bill-active > span:not(.zs-bill-kicker) { color: var(--zs-text-secondary); font-size: 12px; }.zs-bill-active .zs-btn { margin-top: 8px; justify-self: start; }
.zs-bill-section-head { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; margin: 6px 2px 10px; }.zs-bill-section-head h2 { margin: 0; font-size: 15px; letter-spacing: -.01em; }.zs-bill-section-head span { color: var(--zs-text-secondary); font-size: 11px; text-align: right; }
.zs-bill-plans { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: 1fr; gap: 10px; padding-top: 8px; }
.zs-bill-plan { position: relative; display: flex; min-width: 0; flex-direction: column; align-items: flex-start; gap: 3px; padding: 14px 12px 12px; border: 1.5px solid var(--zs-hairline); border-radius: 18px; color: var(--zs-text); background: var(--zs-surface); box-shadow: var(--zs-shadow-xs); cursor: pointer; text-align: left; -webkit-tap-highlight-color: transparent; user-select: none; transition: border-color var(--zs-dur-fast) var(--zs-ease-standard), box-shadow var(--zs-dur-base) var(--zs-ease-standard), background-color var(--zs-dur-base) var(--zs-ease-standard), transform var(--zs-dur-fast) var(--zs-ease-standard); animation: zs-bill-plan-in var(--zs-dur-slow) var(--zs-ease-decelerate) both; animation-delay: calc(var(--zs-i, 0) * 40ms); }
.zs-bill-plan:active:not(.is-disabled) { transform: scale(.98); }
.zs-bill-plan:focus-visible { outline: none; box-shadow: var(--zs-focus-ring); }
.zs-bill-plan.is-selected { border-color: var(--zs-accent); background: color-mix(in srgb, var(--zs-accent-soft) 55%, var(--zs-surface)); box-shadow: 0 0 0 1.5px var(--zs-accent), var(--zs-shadow-sm); }
.zs-bill-plan.is-disabled { cursor: not-allowed; opacity: .62; box-shadow: none; }
.zs-bill-plan__badge { position: absolute; top: -9px; right: 10px; z-index: 1; max-width: calc(100% - 20px); overflow: hidden; padding: 3px 8px; border-radius: 99px; color: var(--zs-accent-ink); background: var(--zs-accent-soft); font-size: 10px; font-weight: 750; line-height: 1.3; text-overflow: ellipsis; white-space: nowrap; box-shadow: 0 0 0 2px var(--zs-bg); }
.zs-bill-plan__badge.is-best { color: var(--zs-on-accent); background: var(--zs-gradient-brand, var(--zs-accent)); }
.zs-bill-plan__radio { position: absolute; top: 14px; right: 11px; display: grid; width: 20px; height: 20px; place-items: center; border: 1.5px solid var(--zs-hairline-strong, var(--zs-text-tertiary, var(--zs-hairline))); border-radius: 50%; color: var(--zs-on-accent); background: var(--zs-surface); transition: background-color var(--zs-dur-fast) var(--zs-ease-standard), border-color var(--zs-dur-fast) var(--zs-ease-standard); }
.zs-bill-plan__tick { width: 13px; height: 13px; fill: none; stroke: currentColor; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 22; stroke-dashoffset: 22; transition: stroke-dashoffset var(--zs-dur-base) var(--zs-ease-standard); }
.zs-bill-plan.is-selected .zs-bill-plan__radio { border-color: var(--zs-accent); background: var(--zs-accent); }
.zs-bill-plan.is-selected .zs-bill-plan__tick { stroke-dashoffset: 0; }
.zs-bill-plan__duration { padding-right: 26px; color: var(--zs-text-secondary); font-size: 12px; font-weight: 650; line-height: 1.3; overflow-wrap: anywhere; }
.zs-bill-plan__price { margin-top: 2px; font-size: clamp(18px, 5.4vw, 24px); font-weight: 780; letter-spacing: -.035em; line-height: 1.15; font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.zs-bill-plan__per { color: var(--zs-text-secondary); font-size: 11px; line-height: 1.3; font-variant-numeric: tabular-nums; }
.zs-bill-plan__saving { margin-top: auto; padding: 2px 7px; border-radius: 99px; color: var(--zs-success-ink); background: var(--zs-success-soft); font-size: 10px; font-weight: 700; line-height: 1.5; }
.zs-bill-plan__saving.is-empty { visibility: hidden; }
.zs-bill-cta { display: grid; gap: 8px; margin-top: 4px; }
@keyframes zs-bill-plan-in { from { opacity: 0; transform: translateY(6px) scale(.985); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .zs-bill-plan, .zs-bill-plan__tick, .zs-bill-plan__radio { animation: none; transition: none; } }
.zs-bill-notice { margin: 10px 0 18px; padding: 13px 15px; border: 1px solid var(--zs-info); border-radius: 14px; color: var(--zs-info-ink); background: var(--zs-info-soft); font-size: 13px; }.zs-bill-terms { margin: 16px 4px; color: var(--zs-text-secondary); font-size: 11px; line-height: 1.5; }.zs-bill-result { display: grid; justify-items: center; gap: 12px; margin-top: 26px; padding: 30px 22px; border: 1px solid var(--zs-hairline); border-radius: 24px; background: var(--zs-surface); text-align: center; box-shadow: var(--zs-shadow-md); }.zs-bill-result__mark { display: grid; width: 58px; height: 58px; place-items: center; border-radius: 50%; color: var(--zs-accent); background: var(--zs-accent-soft); }.zs-bill-result.is-success .zs-bill-result__mark { color: var(--zs-success-ink); background: var(--zs-success-soft); }.zs-bill-result.is-failed .zs-bill-result__mark { color: var(--zs-danger-ink); background: var(--zs-danger-soft); }.zs-bill-result h1 { margin: 0; font-size: 23px; }.zs-bill-result p { max-width: 520px; margin: 0; color: var(--zs-text-secondary); font-size: 14px; line-height: 1.5; }.zs-bill-result__receipt { display: grid; gap: 4px; width: 100%; padding: 13px; border-radius: 13px; background: var(--zs-bg); font-size: 12px; }.zs-bill-result__receipt span { color: var(--zs-text-secondary); }.zs-bill-result .zs-link { color: var(--zs-accent-text); }
.zs-bill-consent { margin: 14px 0; }.zs-bill-terms a { color: var(--zs-accent-text); text-decoration: underline; text-underline-offset: 2px; }.zs-bill-history { margin-top: 22px; }.zs-bill-history h2 { margin: 0 0 9px; font-size: 15px; }.zs-bill-history__rows { display: grid; gap: 7px; }.zs-bill-history__rows .zs-item { border: 1px solid var(--zs-hairline); border-radius: 15px; background: var(--zs-surface); }.zs-bill-back { margin: 0 0 12px; border: 0; background: transparent; cursor: pointer; }.zs-bill-receipt { max-width: 640px; margin: 0 auto; padding: 24px; border: 1px solid var(--zs-hairline); border-radius: 22px; background: var(--zs-surface); }.zs-bill-receipt__head { display: flex; align-items: center; gap: 12px; }.zs-bill-receipt__head h1 { margin: 0; font-size: 20px; }.zs-bill-receipt__head p { margin: 3px 0; color: var(--zs-text-secondary); font-size: 12px; }.zs-bill-receipt__meta { display: flex; justify-content: space-between; gap: 10px; margin: 24px 0 18px; color: var(--zs-text-secondary); font-size: 11px; }.zs-bill-receipt__meta b { color: var(--zs-text); }.zs-bill-receipt__lines { display: grid; gap: 12px; padding: 14px 0; border-top: 1px solid var(--zs-hairline); border-bottom: 1px solid var(--zs-hairline); }.zs-bill-receipt__line,.zs-bill-receipt__total { display: flex; justify-content: space-between; gap: 12px; font-size: 13px; }.zs-bill-receipt__total { padding-top: 14px; font-size: 16px; }.zs-bill-receipt__foot { margin: 17px 0; color: var(--zs-text-secondary); font-size: 11px; }.zs-bill-receipt .zs-btn { margin-top: 8px; }
@media(min-width:680px) { .zs-billing { width: min(100% - 48px,1000px); padding-top: 30px; }}
@media(min-width:768px) { .zs-bill-plans { grid-template-columns: repeat(3,minmax(0,1fr)); gap: 14px; }.zs-bill-plan { padding: 18px 16px 16px; min-height: 150px; }.zs-bill-plan__price { font-size: clamp(20px,2.3vw,26px); }.zs-bill-cta { grid-template-columns: minmax(0,1fr) minmax(0,auto); max-width: 640px; } }
@media print { .zs-topbar,.zs-tabbar,.zs-sidebar,.zs-bill-back,.zs-bill-receipt .zs-btn { display:none; }.zs-bill-receipt { max-width:none; border:0; box-shadow:none; } }
/* Paged record lists (billing history, wallet activity): 10 rows per page + shared pager (UI-CHANGES-2026-10-14 §H). */
.zs-money-paged { scroll-margin-top: calc(var(--zs-safe-top, 0px) + 72px); }.zs-money-list { min-height: 72px; transition: opacity var(--zs-dur-base) var(--zs-ease-standard); }.zs-money-list.is-loading { opacity: .45; pointer-events: none; }.zs-money-list, .zs-money-list__page { grid-template-columns: minmax(0, 1fr); }.zs-money-list__page { display: grid; gap: 7px; min-width: 0; }.zs-money-list .zs-item { border: 1px solid var(--zs-hairline); border-radius: 15px; background: var(--zs-surface); }
.zs-money-pager:empty { display: none; }.zs-money-pager { margin-top: 14px; }.zs-money-pager__fallback { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; color: var(--zs-text-secondary); font-size: 12px; }.zs-money-pager__nav { display: flex; align-items: center; gap: 8px; }.zs-money-pager__page { min-width: 84px; text-align: center; font-variant-numeric: tabular-nums; }
.zs-bill-history .zs-chips, .zs-wallet-filters { margin: 0 0 12px; }
.zs-bill-history__rows .zs-item__trail { flex-direction: column; align-items: flex-end; gap: 4px; }.zs-bill-history__rows .zs-item__value { font-variant-numeric: tabular-nums; }

/* Plan selection details: token allowance, transparent benefits and compact mobile layout. */
.zs-bill-plan { gap:7px; padding-top:17px; }
.zs-bill-plan__tokens { display:flex; align-items:center; gap:7px; width:100%; margin-top:6px; padding:9px 10px; border:1px solid color-mix(in srgb,var(--zs-accent) 25%,var(--zs-hairline)); border-radius:13px; color:var(--zs-accent-text); background:color-mix(in srgb,var(--zs-accent-soft) 55%,var(--zs-surface)); }
.zs-bill-plan__tokens .zi { width:16px; height:16px; flex:0 0 auto; }
.zs-bill-plan__tokens b { font-size:14px; line-height:1.1; font-variant-numeric:tabular-nums; }
.zs-bill-plan__tokens span { min-width:0; color:var(--zs-text-secondary); font-size:10px; line-height:1.25; }
.zs-bill-plan.is-selected .zs-bill-plan__tokens { border-color:color-mix(in srgb,var(--zs-accent) 42%,var(--zs-hairline)); background:color-mix(in srgb,var(--zs-accent-soft) 78%,var(--zs-surface)); }
.zs-bill-plan__blurb { color:var(--zs-text-secondary); font-size:10px; line-height:1.4; }
.zs-bill-plan__saving { margin-top:5px; }
.zs-bill-benefits { display:grid; gap:16px; margin-top:24px; padding:22px; border:1px solid var(--zs-hairline); border-radius:23px; background:radial-gradient(ellipse at 100% 0%,color-mix(in srgb,var(--zs-accent-soft) 42%,transparent),transparent 48%),var(--zs-surface); box-shadow:var(--zs-shadow-xs); }
.zs-bill-benefits__head { display:flex; align-items:center; gap:13px; }
.zs-bill-benefits__icon { display:grid; width:42px; height:42px; flex:0 0 auto; place-items:center; border:1px solid color-mix(in srgb,var(--zs-accent) 24%,var(--zs-hairline)); border-radius:14px; color:var(--zs-accent-text); background:var(--zs-accent-soft); }
.zs-bill-benefits__icon .zi { width:20px; height:20px; }
.zs-bill-benefits__head h2 { margin:0; font-size:17px; letter-spacing:-.02em; }
.zs-bill-benefits__head p { margin:4px 0 0; color:var(--zs-text-secondary); font-size:11px; line-height:1.45; }
.zs-bill-benefits ul { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:10px; margin:0; padding:0; list-style:none; }
.zs-bill-benefits li { display:flex; align-items:flex-start; gap:9px; min-width:0; padding:13px; border:1px solid var(--zs-hairline); border-radius:15px; background:color-mix(in srgb,var(--zs-surface) 86%,var(--zs-bg)); }
.zs-bill-benefits li>.zi { width:17px; height:17px; flex:none; margin-top:1px; color:var(--zs-success-ink); }
.zs-bill-benefits li>span { display:grid; gap:4px; min-width:0; }
.zs-bill-benefits li b { font-size:11px; line-height:1.35; }
.zs-bill-benefits li small { color:var(--zs-text-secondary); font-size:10px; line-height:1.45; }
.zs-bill-benefits__note { margin:0; padding-top:13px; border-top:1px solid var(--zs-hairline); color:var(--zs-text-secondary); font-size:10px; line-height:1.5; }
@media(max-width:560px) { .zs-bill-benefits { gap:13px; margin-top:20px; padding:16px; border-radius:19px; }.zs-bill-benefits ul { grid-template-columns:minmax(0,1fr); gap:8px; }.zs-bill-benefits li { padding:11px; }.zs-bill-benefits__head h2 { font-size:15px; } }
@media(prefers-reduced-motion:reduce) { .zs-bill-plan__tokens,.zs-bill-benefits { animation:none; transition:none; } }

@media (prefers-reduced-motion: reduce) { .zs-money-list { transition: none; } }

/* ===================== AI plans · 2026-11 brand redesign (bp) ===================== */
html .zs-billing.bp{width:min(100% - 32px,1120px);padding-top:16px;padding-bottom:calc(var(--zs-safe-bottom,0px) + 110px)}
html .bp>*{animation:bp-rise .6s cubic-bezier(.2,.8,.2,1) both}
html .bp>*:nth-child(2){animation-delay:.07s}html .bp>*:nth-child(3){animation-delay:.12s}html .bp>*:nth-child(n+4){animation-delay:.18s}
html .bp h1,html .bp h2,html .bp p{margin:0}
/* hero */
html .bp-hero{position:relative;display:grid;gap:4px;margin-bottom:16px;padding:20px 18px 22px;overflow:hidden;overflow:clip;border-radius:28px;color:#fff;background:linear-gradient(135deg,#6B4EFF 0%,#B24BF3 55%,#FF5C8A 100%);box-shadow:0 28px 60px -30px rgba(107,78,255,.85)}
html .bp-hero::after{content:"";position:absolute;inset:0;pointer-events:none;background:linear-gradient(115deg,transparent 35%,rgba(255,255,255,.16) 48%,transparent 60%);background-size:250% 100%;animation:bp-sheen 6s ease-in-out infinite}
html .bp-hero__orb{position:absolute;border-radius:50%;pointer-events:none;background:rgba(255,255,255,.13)}
html .bp-hero__orb--a{width:260px;height:260px;top:-120px;right:-80px;animation:bp-breathe 7s ease-in-out infinite}
html .bp-hero__orb--b{width:170px;height:170px;bottom:-90px;left:-60px;background:rgba(255,255,255,.08);animation:bp-breathe 8s ease-in-out -3s infinite}
html .bp-hero__copy{position:relative;z-index:1;display:grid;justify-items:start;gap:11px}
html .bp-hero__art{position:relative;z-index:1;order:-1;width:min(70%,250px);height:auto;margin:-6px auto -4px;filter:drop-shadow(0 18px 28px rgba(40,10,110,.35))}
html .bp-chip{display:inline-flex;align-items:center;gap:7px;padding:7px 12px;border:1px solid rgba(255,255,255,.35);border-radius:999px;background:rgba(255,255,255,.16);backdrop-filter:blur(8px);-webkit-backdrop-filter:blur(8px);font-size:12px;font-weight:700}
html .bp-chip .zi{color:#FFD36B;animation:bp-wiggle 3.2s ease-in-out infinite}
html .bp-hero h1{color:#fff;font-size:clamp(27px,7.2vw,44px);font-weight:800;line-height:1.06;letter-spacing:-.04em;text-wrap:balance}
html .bp-hero p{max-width:560px;color:rgba(255,255,255,.9);font-size:14.5px;line-height:1.6}
html .bp-hero__trust{display:flex;flex-wrap:wrap;gap:6px 14px;margin:2px 0 0;padding:0;list-style:none}
html .bp-hero__trust li{display:inline-flex;align-items:center;gap:6px;color:rgba(255,255,255,.94);font-size:12px;font-weight:600}
html .bp-hero__trust .zi{color:#B9FFD9}
/* active plan */
html .bp .bp-status{display:flex;align-items:center;gap:13px;margin:0 0 16px;padding:15px 16px;border:1.5px solid transparent;border-radius:22px;background:linear-gradient(var(--zs-surface),var(--zs-surface)) padding-box,linear-gradient(120deg,#6B4EFF,#B24BF3 55%,#FF5C8A) border-box;box-shadow:0 18px 40px -30px rgba(107,78,255,.8)}
html .bp-status__icon{display:grid;place-items:center;flex:0 0 44px;width:44px;height:44px;border-radius:15px;color:#fff;background:linear-gradient(135deg,#6B4EFF,#B24BF3 55%,#FF5C8A)}
html .bp-status__text{display:grid;gap:2px;flex:1;min-width:0}
html .bp-status__text b{font-size:16px}
html .bp-status__text>span:last-child{color:var(--zs-text-secondary);font-size:12px}
html .bp-status__pill{padding:5px 10px;border-radius:999px;background:var(--zs-success-soft);color:var(--zs-success-ink);font-size:11.5px;font-weight:750}
/* section head */
html .bp .zs-bill-section-head{margin:4px 2px 12px}
html .bp .zs-bill-section-head h2{font-size:19px;font-weight:800;letter-spacing:-.02em}
html .bp .zs-bill-section-head span{font-size:12px}
/* layout */
html .bp-layout{display:grid;gap:14px;align-items:start}
/* plan cards */
html .bp .zs-bill-plans{gap:10px;padding-top:10px}
html .bp .zs-bill-plan{gap:6px;padding:18px 13px 13px;border:1.5px solid var(--zs-border);border-radius:22px;background:var(--zs-surface);box-shadow:var(--zs-shadow-xs),var(--zs-ring-inset)}
@media(hover:hover){html .bp .zs-bill-plan:not(.is-disabled):hover{transform:translateY(-3px);border-color:rgba(178,75,243,.5);box-shadow:0 20px 40px -28px rgba(107,78,255,.7)}}
html .bp .zs-bill-plan.is-selected{border-color:transparent;background:linear-gradient(color-mix(in srgb,var(--zs-accent-soft) 40%,var(--zs-surface)),color-mix(in srgb,var(--zs-accent-soft) 40%,var(--zs-surface))) padding-box,linear-gradient(135deg,#6B4EFF,#B24BF3 55%,#FF5C8A) border-box;box-shadow:0 22px 44px -26px rgba(107,78,255,.9)}
html .bp .zs-bill-plan__badge{display:inline-flex;align-items:center;gap:4px;top:-11px;left:12px;right:auto;padding:4px 9px;color:var(--zs-accent-text);background:var(--zs-surface);border:1px solid var(--zs-border);box-shadow:var(--zs-shadow-xs)}
html .bp .zs-bill-plan__badge.is-best{border-color:transparent;color:#fff;background:linear-gradient(100deg,#6B4EFF,#B24BF3 55%,#FF5C8A);box-shadow:0 8px 18px -8px rgba(107,78,255,.9)}
html .bp .zs-bill-plan__badge .zi{width:12px;height:12px}
html .bp .zs-bill-plan__radio{top:15px;width:22px;height:22px}
html .bp .zs-bill-plan.is-selected .zs-bill-plan__radio{border-color:transparent;background:linear-gradient(135deg,#6B4EFF,#FF5C8A)}
html .bp .zs-bill-plan__duration{font-size:12.5px;font-weight:700}
html .bp .zs-bill-plan__price{font-size:clamp(19px,5.6vw,26px);font-weight:850}
html .bp .zs-bill-plan.is-selected .zs-bill-plan__price{background:linear-gradient(100deg,#6B4EFF,#B24BF3 55%,#FF5C8A);-webkit-background-clip:text;background-clip:text;-webkit-text-fill-color:transparent;color:transparent}
html .bp .zs-bill-plan__per{font-size:11.5px}
html .zs-bill-plan__feats{display:grid;gap:6px;width:100%;margin-top:6px}
html .zs-bill-plan__feat{display:flex;align-items:center;gap:6px;min-width:0;padding:7px 9px;border-radius:12px;background:var(--zs-surface-2);color:var(--zs-text-secondary);font-size:11px;line-height:1.2}
html .zs-bill-plan__feat .zi{flex:none;color:#B24BF3}
html .zs-bill-plan__feat b{color:var(--zs-text);font-size:12.5px;font-variant-numeric:tabular-nums}
html .zs-bill-plan__feat{flex-wrap:wrap;column-gap:5px;row-gap:1px}
html .zs-bill-plan__feat span{min-width:0}
html .bp .zs-bill-plan.is-selected .zs-bill-plan__feat{background:var(--zs-surface)}
html .bp .zs-bill-plan__saving{margin-top:auto;padding:3px 9px;font-size:11px}
/* summary */
html .bp-summary{position:relative;display:grid;gap:12px;padding:18px 16px;overflow:hidden;overflow:clip;border:1px solid var(--zs-border);border-radius:24px;background:var(--zs-surface);box-shadow:var(--zs-shadow-sm),var(--zs-ring-inset)}
html .bp-summary::before{content:"";position:absolute;left:0;right:0;top:0;height:3px;background:linear-gradient(90deg,#6B4EFF,#B24BF3 55%,#FF5C8A)}
html .bp-summary__body{display:grid;gap:12px}
html .bp-summary__top{display:flex;align-items:flex-end;justify-content:space-between;gap:12px}
html .bp-summary__label{display:block;color:var(--zs-text-tertiary);font-size:11px;font-weight:750;letter-spacing:.08em;text-transform:uppercase}
html .bp-summary__plan{display:block;margin-top:3px;color:var(--zs-text);font-size:17px}
html .bp-summary__price{font-size:26px;font-weight:850;letter-spacing:-.03em;background:linear-gradient(100deg,#6B4EFF,#B24BF3 55%,#FF5C8A);-webkit-background-clip:text;background-clip:text;-webkit-text-fill-color:transparent;color:transparent;font-variant-numeric:tabular-nums}
html .bp-summary__list{display:grid;gap:7px;margin:0;padding:12px 0 0;border-top:1px dashed var(--zs-border);list-style:none}
html .bp-summary__list li{display:flex;align-items:flex-start;gap:8px;color:var(--zs-text-secondary);font-size:12.5px;line-height:1.45}
html .bp-summary__list .zi{flex:none;margin-top:1px;color:#B24BF3}
html .bp-summary__list li.is-save{color:var(--zs-success-ink);font-weight:650}
html .bp-summary__list li.is-save .zi{color:var(--zs-success-ink)}
html .bp-summary__empty{color:var(--zs-text-secondary);font-size:13px}
html .bp .zs-bill-consent{margin:0;padding:11px 12px;border-radius:14px;background:var(--zs-surface-2)}
html .bp .zs-bill-cta{display:grid;grid-template-columns:minmax(0,1fr);gap:9px;max-width:none;margin:0}
html .bp .zs-btn.bp-pay{position:relative;overflow:hidden;min-height:52px;border:0;border-radius:16px;color:#fff;background:linear-gradient(100deg,#6B4EFF 0%,#B24BF3 55%,#FF5C8A 100%);font-weight:800;box-shadow:0 14px 28px -12px rgba(107,78,255,.85)}
html .bp .zs-btn.bp-pay::after{content:"";position:absolute;top:0;bottom:0;left:-60%;width:40%;background:linear-gradient(100deg,transparent,rgba(255,255,255,.35),transparent);transform:skewX(-18deg);animation:bp-shine 3.8s ease-in-out 1.4s infinite}
html .bp .zs-btn.bp-pay[disabled]{filter:grayscale(.6);box-shadow:none}
html .bp .zs-btn.bp-wallet{min-height:48px;border-radius:16px;font-weight:700}
html .bp-secure{display:flex;align-items:center;justify-content:center;gap:6px;color:var(--zs-text-tertiary);font-size:11.5px;text-align:center}
/* benefits */
html .bp .zs-bill-benefits{margin-top:18px;padding:18px 16px;border:1px solid var(--zs-border);border-radius:24px;background:var(--zs-surface)}
html .bp .zs-bill-benefits__icon{border:0;color:#fff;background:linear-gradient(135deg,#6B4EFF,#B24BF3 55%,#FF5C8A)}
html .bp .zs-bill-benefits__head h2{font-size:18px;font-weight:800}
html .bp .zs-bill-benefits__head p{font-size:12.5px}
html .bp .zs-bill-benefits ul{grid-template-columns:minmax(0,1fr);gap:9px}
html .bp .zs-bill-benefits li{gap:12px;padding:13px;border-radius:18px;background:var(--zs-surface-2);transition:transform .18s ease,border-color .18s ease}
@media(hover:hover){html .bp .zs-bill-benefits li:hover{transform:translateY(-2px);border-color:rgba(178,75,243,.45)}}
html .bp-benefit__icon{display:grid;place-items:center;flex:0 0 40px;width:40px;height:40px;border-radius:13px;color:var(--zs-accent-text);background:var(--zs-accent-soft);border:1px solid color-mix(in srgb,#6B4EFF 22%,transparent)}
html .bp-benefit__icon .zi{animation:bp-bob 3.6s ease-in-out infinite;animation-delay:calc(var(--zs-i,0) * -.45s)}
html .bp .zs-bill-benefits li b{font-size:13.5px;font-weight:750}
html .bp .zs-bill-benefits li small{font-size:12px;line-height:1.5}
html .bp .zs-bill-benefits__note{font-size:11.5px}
html .bp .zs-bill-terms{font-size:11.5px;text-align:center}
@keyframes bp-rise{from{opacity:0;transform:translateY(14px)}to{opacity:1;transform:none}}
@keyframes bp-sheen{0%,100%{background-position:120% 0}50%{background-position:-20% 0}}
@keyframes bp-breathe{0%,100%{transform:scale(1)}50%{transform:scale(1.12)}}
@keyframes bp-bob{0%,100%{transform:translateY(0)}50%{transform:translateY(-3px)}}
@keyframes bp-wiggle{0%,80%,100%{transform:rotate(0)}85%{transform:rotate(-14deg)}92%{transform:rotate(12deg)}}
@keyframes bp-shine{0%,55%{left:-60%}100%{left:130%}}
@media(min-width:600px){
  html .bp-hero{padding:30px 28px}
  html .bp .zs-bill-benefits ul{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(min-width:768px){html .bp .zs-bill-plans{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(min-width:960px){
  html .bp-hero{grid-template-columns:minmax(0,1.2fr) minmax(240px,.8fr);align-items:center;gap:24px;padding:38px 42px;border-radius:32px}
  html .bp-hero__art{order:0;width:100%;max-width:340px;margin:0 auto}
  html .bp-layout{grid-template-columns:minmax(0,1fr) 340px;gap:18px}
  html .bp-summary{position:sticky;top:calc(var(--zs-safe-top,0px) + 84px);padding:22px 20px}
  html .bp .zs-bill-benefits{padding:24px}
  html .bp .zs-bill-benefits ul{grid-template-columns:repeat(4,minmax(0,1fr))}
  html .bp .zs-bill-benefits li{flex-direction:column}
}
@media(max-width:360px){html .bp .zs-bill-plans{grid-template-columns:minmax(0,1fr)}html .bp-hero h1{font-size:25px}}
@media(prefers-reduced-motion:reduce){html .bp *,html .bp *::before,html .bp *::after,html .bp>*{animation:none !important;transition:none !important}}

/* ── plan levels (Basic / Pro / Ultra) ── */
html .bp-tiers{display:grid;gap:20px;margin:0 0 18px;padding-top:12px}
html .bp-tier{position:relative;display:grid;align-content:start;gap:11px;padding:26px 16px 16px;border:1.5px solid var(--zs-border);border-radius:24px;background:var(--zs-surface);box-shadow:var(--zs-shadow-xs),var(--zs-ring-inset);cursor:pointer;outline:0;transition:transform .18s ease,box-shadow .18s ease,border-color .18s ease;animation:bp-rise .45s cubic-bezier(.2,.8,.2,1) both;animation-delay:calc(var(--zs-i,0)*70ms);-webkit-tap-highlight-color:transparent}
html .bp-tier:focus-visible{box-shadow:0 0 0 3px color-mix(in srgb,#B24BF3 45%,transparent)}
@media(hover:hover){html .bp-tier:not(.is-disabled):hover{transform:translateY(-3px);border-color:rgba(178,75,243,.5);box-shadow:0 20px 40px -28px rgba(107,78,255,.7)}}
html .bp-tier.is-selected{border-color:transparent;background:linear-gradient(color-mix(in srgb,var(--zs-accent-soft) 40%,var(--zs-surface)),color-mix(in srgb,var(--zs-accent-soft) 40%,var(--zs-surface))) padding-box,linear-gradient(135deg,#6B4EFF,#B24BF3 55%,#FF5C8A) border-box;box-shadow:0 22px 44px -26px rgba(107,78,255,.9)}
html .bp-tier.is-disabled{opacity:.55;cursor:not-allowed}
html .bp-tier .zs-bill-plan__radio{position:absolute;top:24px;right:16px;width:22px;height:22px}
html .bp-tier.is-selected .zs-bill-plan__radio{border-color:transparent;background:linear-gradient(135deg,#6B4EFF,#FF5C8A)}
html .bp-tier.is-selected .zs-bill-plan__tick{stroke-dashoffset:0}
html .bp-tier__badge{position:absolute;top:-11px;left:14px;display:inline-flex;align-items:center;gap:4px;padding:4px 10px;border-radius:999px;color:#fff;background:linear-gradient(100deg,#6B4EFF,#B24BF3 55%,#FF5C8A);box-shadow:0 8px 18px -8px rgba(107,78,255,.9);font-size:11px;font-weight:750;white-space:nowrap}
html .bp-tier__badge.is-mine{color:var(--zs-success-ink);background:var(--zs-success-soft);box-shadow:none;border:1px solid color-mix(in srgb,var(--zs-success-ink) 25%,transparent)}
html .bp-tier__head{display:flex;align-items:center;gap:11px;padding-right:30px}
html .bp-tier__head>span:last-child{display:grid;gap:1px;min-width:0}
html .bp-tier__icon{display:grid;place-items:center;flex:0 0 42px;width:42px;height:42px;border-radius:14px;color:#6B4EFF;background:color-mix(in srgb,#6B4EFF 12%,var(--zs-surface))}
html .bp-tier--pro .bp-tier__icon{color:#B24BF3;background:color-mix(in srgb,#B24BF3 13%,var(--zs-surface))}
html .bp-tier--ultra .bp-tier__icon{color:#fff;background:linear-gradient(135deg,#6B4EFF,#B24BF3 55%,#FF5C8A)}
html .bp-tier__name{color:var(--zs-text);font-size:18px;font-weight:850;letter-spacing:-.02em}
html .bp-tier__tag{color:var(--zs-text-secondary);font-size:12px;line-height:1.35}
html .bp-tier__price{display:flex;align-items:baseline;gap:3px}
html .bp-tier__price strong{color:var(--zs-text);font-size:clamp(24px,6.4vw,30px);font-weight:850;letter-spacing:-.03em;font-variant-numeric:tabular-nums}
html .bp-tier.is-selected .bp-tier__price strong{background:linear-gradient(100deg,#6B4EFF,#B24BF3 55%,#FF5C8A);-webkit-background-clip:text;background-clip:text;-webkit-text-fill-color:transparent;color:transparent}
html .bp-tier__price small{color:var(--zs-text-tertiary);font-size:12px}
html .bp-tier__list{display:grid;gap:8px;margin:0;padding:12px 0 0;border-top:1px dashed var(--zs-border);list-style:none}
html .bp-tier__list li{display:flex;align-items:flex-start;gap:8px;color:var(--zs-text-secondary);font-size:12.5px;line-height:1.45}
html .bp-tier__list li:first-child{color:var(--zs-text);font-weight:700}
html .bp-tier__list .zi{flex:none;margin-top:1px;color:#B24BF3}
html .bp-tier__note{padding:7px 10px;border-radius:12px;background:var(--zs-surface-2);color:var(--zs-text-secondary);font-size:11.5px}
html .bp-summary__list li.is-switch{padding:9px 10px;border-radius:12px;background:color-mix(in srgb,#FFB020 14%,var(--zs-surface));color:var(--zs-text);font-weight:600}
html .bp-summary__list li.is-switch .zi{color:#C27C00}
/* compare table */
html .bp-compare{margin-top:18px;padding:18px 16px;border:1px solid var(--zs-border);border-radius:24px;background:var(--zs-surface)}
html .bp-compare .zs-bill-benefits__head{display:flex;align-items:center;gap:12px;margin-bottom:12px}
html .bp-compare .zs-bill-benefits__icon{display:grid;place-items:center;flex:0 0 40px;width:40px;height:40px;border-radius:14px;border:0;color:#fff;background:linear-gradient(135deg,#6B4EFF,#B24BF3 55%,#FF5C8A)}
html .bp-compare .zs-bill-benefits__head h2{font-size:18px;font-weight:800}
html .bp-compare .zs-bill-benefits__head p{color:var(--zs-text-secondary);font-size:12.5px;line-height:1.45}
html .bp-compare__scroll{overflow-x:auto;-webkit-overflow-scrolling:touch;margin:0 -4px}
html .bp-compare__table{width:100%;min-width:0;border-collapse:separate;border-spacing:0;font-size:12.5px;table-layout:fixed}
html .bp-compare__table th,html .bp-compare__table td{padding:10px 6px;border-bottom:1px solid var(--zs-border);text-align:center;vertical-align:middle;overflow-wrap:anywhere}
html .bp-compare__table tbody tr:last-child th,html .bp-compare__table tbody tr:last-child td{border-bottom:0}
html .bp-compare__table thead th{color:var(--zs-text);font-size:13.5px;font-weight:800}
html .bp-compare__table thead th.is-mine{color:#B24BF3}
html .bp-compare__table tbody th{width:34%;color:var(--zs-text-secondary);font-weight:600;text-align:left}
html .bp-compare__table td{color:var(--zs-text);font-weight:700;font-variant-numeric:tabular-nums}
html .bp-compare__table td:last-child,html .bp-compare__table thead th:last-child{background:color-mix(in srgb,var(--zs-accent-soft) 35%,transparent)}
html .bp-compare__table thead th:last-child{border-radius:12px 12px 0 0}
html .bp-compare__table tbody tr:last-child td:last-child{border-radius:0 0 12px 12px}
@media(min-width:760px){html .bp-tiers{grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}html .bp-compare{padding:22px}html .bp-compare__table{font-size:13.5px}html .bp-compare__table th,html .bp-compare__table td{padding:12px 10px}}
@media(prefers-reduced-motion:reduce){html .bp-tier{animation:none;transition:none}}

/* ── AI plans page, simple layout (js/billing/plan.js): 1 how long · 2 which plan · 3 pay ── */
html .bp2{display:grid;gap:18px;width:100%;max-width:1000px;margin:0 auto;padding:18px 16px 36px;box-sizing:border-box}
html .bp2 h1,html .bp2 h2,html .bp2 p,html .bp2 ul{margin:0}
html .bp2-head{display:grid;gap:8px;justify-items:center;text-align:center;padding:8px 0 2px}
html .bp2-head__chip{display:inline-flex;align-items:center;gap:6px;padding:6px 12px;border-radius:999px;color:#fff;background:linear-gradient(100deg,#6B4EFF,#B24BF3 55%,#FF5C8A);font-size:12px;font-weight:750}
html .bp2-head h1{font-size:clamp(26px,6.6vw,38px);font-weight:850;letter-spacing:-.035em;line-height:1.1;color:var(--zs-text)}
html .bp2-head p{max-width:520px;color:var(--zs-text-secondary);font-size:14.5px;line-height:1.55}
html .bp2-status{display:flex;align-items:center;gap:11px;padding:12px 14px;border:1px solid var(--zs-border);border-radius:16px;background:var(--zs-surface)}
html .bp2-status>.zi{flex:none;color:#B24BF3}
html .bp2-status>span:nth-child(2){display:grid;gap:1px;flex:1;min-width:0}
html .bp2-status b{font-size:14.5px;color:var(--zs-text)}
html .bp2-status small{color:var(--zs-text-secondary);font-size:12px}
html .bp2-status__pill{padding:4px 10px;border-radius:999px;background:var(--zs-success-soft);color:var(--zs-success-ink);font-size:11.5px;font-weight:750}
html .bp2-step{display:grid;gap:12px}
html .bp2-step h2{display:flex;align-items:center;gap:10px;font-size:17px;font-weight:800;letter-spacing:-.01em;color:var(--zs-text)}
html .bp2-step h2 i{display:grid;place-items:center;flex:none;width:26px;height:26px;border-radius:50%;color:#fff;background:linear-gradient(135deg,#6B4EFF,#B24BF3);font-size:13px;font-style:normal;font-weight:800}
html .bp2-step__hint{margin-top:-4px;color:var(--zs-text-tertiary);font-size:12px}
/* 1 how long */
html .bp2-seg{display:flex;gap:4px;padding:4px;border:1px solid var(--zs-border);border-radius:16px;background:var(--zs-surface)}
html .bp2-seg__btn{flex:1 1 0;min-width:0;min-height:44px;padding:0 4px;border:0;border-radius:12px;font:inherit;font-size:14px;font-weight:700;color:var(--zs-text-secondary);background:transparent;cursor:pointer;-webkit-tap-highlight-color:transparent;transition:background .16s ease,color .16s ease}
html .bp2-seg__btn.is-on{color:#fff;background:linear-gradient(100deg,#6B4EFF,#B24BF3 55%,#FF5C8A);box-shadow:0 10px 20px -12px rgba(107,78,255,.9)}
html .bp2-seg__btn:focus-visible{outline:2px solid #6B4EFF;outline-offset:2px}
/* 2 plan cards */
html .bp2-cards{display:grid;gap:20px;padding-top:8px}
html .bp2-card{position:relative;display:grid;align-content:start;gap:12px;padding:24px 16px 16px;border:1.5px solid var(--zs-border);border-radius:22px;background:var(--zs-surface);cursor:pointer;outline:0;-webkit-tap-highlight-color:transparent;transition:border-color .16s ease,box-shadow .16s ease,transform .16s ease}
@media(hover:hover){html .bp2-card:not(.is-off):hover{transform:translateY(-2px);border-color:rgba(178,75,243,.55)}}
html .bp2-card:focus-visible{box-shadow:0 0 0 3px color-mix(in srgb,#B24BF3 45%,transparent)}
html .bp2-card.is-on{border-color:transparent;background:linear-gradient(color-mix(in srgb,var(--zs-accent-soft) 36%,var(--zs-surface)),color-mix(in srgb,var(--zs-accent-soft) 36%,var(--zs-surface))) padding-box,linear-gradient(135deg,#6B4EFF,#B24BF3 55%,#FF5C8A) border-box;box-shadow:0 20px 40px -26px rgba(107,78,255,.9)}
html .bp2-card.is-off{opacity:.55;cursor:not-allowed}
html .bp2-card__badge{position:absolute;top:-11px;left:16px;padding:3px 10px;border-radius:999px;color:#fff;background:linear-gradient(100deg,#6B4EFF,#B24BF3 55%,#FF5C8A);font-size:11px;font-weight:750;white-space:nowrap}
html .bp2-card__badge.is-mine{color:var(--zs-success-ink);background:var(--zs-success-soft);border:1px solid color-mix(in srgb,var(--zs-success-ink) 25%,transparent)}
html .bp2-card__head{display:flex;align-items:flex-start;justify-content:space-between;gap:10px}
html .bp2-card__head>div{display:grid;gap:2px;min-width:0}
html .bp2-card__name{font-size:19px;font-weight:850;letter-spacing:-.02em;color:var(--zs-text)}
html .bp2-card__tag{color:var(--zs-text-secondary);font-size:12.5px}
html .bp2-card__radio{display:grid;place-items:center;flex:none;width:24px;height:24px;border:2px solid var(--zs-border);border-radius:50%;color:#fff}
html .bp2-card__radio .zs-bill-plan__tick{stroke-dashoffset:24}
html .bp2-card.is-on .bp2-card__radio{border-color:transparent;background:linear-gradient(135deg,#6B4EFF,#FF5C8A)}
html .bp2-card.is-on .bp2-card__radio .zs-bill-plan__tick{stroke-dashoffset:0}
html .bp2-card__price{display:grid;gap:3px;justify-items:start}
html .bp2-card__price strong{font-size:clamp(26px,7vw,32px);font-weight:850;letter-spacing:-.03em;line-height:1.05;color:var(--zs-text);font-variant-numeric:tabular-nums}
html .bp2-card.is-on .bp2-card__price strong{background:linear-gradient(100deg,#6B4EFF,#B24BF3 55%,#FF5C8A);-webkit-background-clip:text;background-clip:text;-webkit-text-fill-color:transparent;color:transparent}
html .bp2-card__price span{color:var(--zs-text-secondary);font-size:12.5px}
html .bp2-card__save{padding:2px 9px;border-radius:999px;background:var(--zs-success-soft);color:var(--zs-success-ink);font-size:11.5px;font-style:normal;font-weight:750}
html .bp2-card__list{display:grid;gap:8px;padding:12px 0 0;border-top:1px dashed var(--zs-border);list-style:none}
html .bp2-card__list li{display:flex;align-items:flex-start;gap:8px;color:var(--zs-text);font-size:13.5px;line-height:1.4}
html .bp2-card__list .zi{flex:none;margin-top:1px;color:#B24BF3}
html .bp2-card__also{display:grid;gap:9px;padding:12px 0 0;border-top:1px dashed var(--zs-border)}
html .bp2-card__also-title{color:var(--zs-text-secondary);font-size:11.5px;font-weight:750;letter-spacing:.06em;text-transform:uppercase}
html .bp2-card__feats{display:grid;gap:8px;list-style:none;margin:0;padding:0}
html .bp2-card__feats li{display:flex;align-items:flex-start;gap:8px;color:var(--zs-text);font-size:13.5px;line-height:1.4}
html .bp2-card__feats .zi{flex:none;margin-top:1px;color:#0fa968}
html .bp2-card__pick{display:grid;place-items:center;min-height:42px;margin-top:2px;border:1.5px solid var(--zs-border);border-radius:13px;color:var(--zs-text);font-size:14px;font-weight:750}
html .bp2-card.is-on .bp2-card__pick{border-color:transparent;color:#fff;background:linear-gradient(100deg,#6B4EFF,#B24BF3 55%,#FF5C8A)}
/* 3 pay */
html .bp2-pay{display:grid;gap:12px;padding:16px;border:1px solid var(--zs-border);border-radius:22px;background:var(--zs-surface);box-shadow:var(--zs-shadow-sm)}
html .bp2-pay__top{display:flex;align-items:flex-end;justify-content:space-between;gap:12px}
html .bp2-pay__label{display:block;color:var(--zs-text-tertiary);font-size:11px;font-weight:750;letter-spacing:.08em;text-transform:uppercase}
html .bp2-pay__plan{display:block;margin-top:2px;font-size:17px;color:var(--zs-text)}
html .bp2-pay__price{font-size:26px;font-weight:850;letter-spacing:-.03em;color:var(--zs-text);font-variant-numeric:tabular-nums}
html .bp2-pay__switch{display:flex;align-items:flex-start;gap:8px;padding:10px 12px;border-radius:13px;background:color-mix(in srgb,#FFB020 15%,var(--zs-surface));color:var(--zs-text);font-size:13px;font-weight:600;line-height:1.45}
html .bp2-pay__switch .zi{flex:none;margin-top:1px;color:#C27C00}
html .bp2-pay__consent{padding:11px 12px;border-radius:13px;background:var(--zs-surface-2)}
html .bp2-pay__btns{display:grid;gap:9px}
html .bp2 .zs-btn.bp-pay{min-height:52px;border:0;border-radius:15px;color:#fff;background:linear-gradient(100deg,#6B4EFF 0%,#B24BF3 55%,#FF5C8A 100%);font-weight:800;box-shadow:0 14px 28px -12px rgba(107,78,255,.85)}
html .bp2 .zs-btn.bp-wallet{min-height:48px;border-radius:15px;font-weight:700}
html .bp2-pay__note{display:flex;align-items:flex-start;justify-content:center;gap:6px;color:var(--zs-text-tertiary);font-size:11.5px;line-height:1.5;text-align:center}
html .bp2-pay__note .zi{flex:none;margin-top:2px}
html .bp2-pay__empty{color:var(--zs-text-secondary);font-size:13.5px}
/* what every plan includes */
html .bp2-more{border:1px solid var(--zs-border);border-radius:18px;background:var(--zs-surface)}
html .bp2-more summary{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:14px 16px;font-size:14.5px;font-weight:750;color:var(--zs-text);cursor:pointer;list-style:none}
html .bp2-more summary::-webkit-details-marker{display:none}
html .bp2-more summary .zi{flex:none;color:var(--zs-text-secondary);transition:transform .18s ease}
html .bp2-more[open] summary .zi{transform:rotate(180deg)}
html .bp2-more ul{display:grid;gap:9px;padding:0 16px 14px;list-style:none}
html .bp2-more li{display:flex;align-items:flex-start;gap:8px;color:var(--zs-text-secondary);font-size:13.5px;line-height:1.45}
html .bp2-more li .zi{flex:none;margin-top:2px;color:#0fa968}
html .bp2-more p{padding:0 16px 16px;color:var(--zs-text-secondary);font-size:13px;line-height:1.5}
html .bp2 .zs-bill-terms{text-align:center}
@media(min-width:760px){html .bp2{padding:26px 24px 44px;gap:22px}html .bp2-cards{grid-auto-flow:column;grid-auto-columns:minmax(0,1fr);gap:16px}html .bp2-seg{max-width:560px}html .bp2-pay{max-width:560px}html .bp2-pay__btns{grid-template-columns:1fr 1fr}html .bp2-more ul{grid-template-columns:1fr 1fr}}
@media(prefers-reduced-motion:reduce){html .bp2-card,html .bp2-seg__btn{transition:none}}
