/* F3 extends the existing public pricing and workspace presentation. */
.xh-payment-hero { padding: 120px 0 80px; background: linear-gradient(180deg,#fafaf7,#fff); text-align: center; }
.xh-payment-hero .xh-container { max-width: 880px; }
.xh-payment-hero h1 { margin: 18px 0 22px; font-size: 56px; font-weight: 600; line-height: 1.15; letter-spacing: -.03em; text-wrap: balance; }
.xh-payment-hero p { color: var(--xh-fg-2); font-size: 19px; line-height: 1.7; }
.xh-payment-hero strong { color: var(--xh-fg); }
.xh-payment-catalog,.xh-payment-topups,.xh-payment-faq { max-width: 1240px; padding-top: 40px; padding-bottom: 80px; }
.xh-payment-section-heading { display: flex; align-items: center; justify-content: space-between; gap: 24px; margin-bottom: 24px; }
.xh-payment-section-heading h2,.xh-payment-faq > h2 { margin-top: 10px; font-size: 28px; letter-spacing: -.025em; font-weight: 600; }
.xh-payment-plan-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 14px; }
.xh-payment-plan-card { position: relative; padding: 26px 22px; min-height: 420px; display: flex; flex-direction: column; border: 1px solid var(--xh-border); border-radius: 16px; background: #fff; }
.xh-payment-plan-card.is-recommended { border-color: rgba(101,89,244,.4); background: linear-gradient(180deg,rgba(101,89,244,.04),rgba(74,61,219,.02)); }
.xh-payment-plan-card h3 { margin: 12px 0 20px; font-size: 23px; font-weight: 600; }
.xh-payment-price { font-size: 33px; font-weight: 600; letter-spacing: -.025em; white-space: nowrap; }
.xh-payment-price small { font-size: 12px; font-weight: 400; color: var(--xh-fg-3); }
.xh-payment-coins { margin-top: 14px; color: var(--xh-brand-solid); font-size: 17px; font-weight: 600; }
.xh-payment-disclosures { margin: 20px 0 24px; padding-left: 18px; color: var(--xh-fg-2); font-size: 12px; line-height: 1.8; }
.xh-payment-disclosures li + li { margin-top: 8px; }
.xh-payment-plan-card > .xh-btn { margin-top: auto; width: 100%; justify-content: center; }
.xh-pricing-live { display: block; text-align: center; }
.xh-pricing-switch { margin: 0 0 32px; padding: 4px; display: inline-flex; gap: 4px; border: 1px solid var(--xh-border); border-radius: 10px; background: #fff; }
.xh-pricing-switch-button { padding: 10px 22px; display: inline-flex; align-items: center; gap: 8px; border: 0; border-radius: 7px; background: transparent; color: var(--xh-fg-2); font: 500 14px/1.2 inherit; cursor: pointer; transition: color .15s ease,background .15s ease; }
.xh-pricing-switch-button span { padding: 2px 8px; border-radius: 999px; background: rgba(22,163,74,.12); color: #16803b; font-size: 11px; }
.xh-pricing-switch-button[aria-pressed="true"] { background: linear-gradient(135deg,#8377ff,#4a3ddb); color: #fff; }
.xh-pricing-switch-button[aria-pressed="true"] span { background: rgba(255,255,255,.22); color: #fff; }
.xh-pricing-live > .xh-pricing-eligibility { max-width: 100%; box-sizing: border-box; margin: 0; padding: 8px 14px; border-radius: 999px; background: rgba(101,89,244,.08); color: var(--xh-brand-solid); font-size: 12px; font-weight: 500; line-height: 1.5; overflow-wrap: anywhere; text-align: center; }
.xh-pricing-eligibility.is-ineligible { background: #f2f1ec; color: #65635d; }
.xh-pricing-eligibility.is-reserved { background: #fcf0dc; color: #8a5919; }
.xh-pricing-inline-link { color: inherit; font-weight: 600; }
.xh-pricing-live > .xh-payment-note { width: 100%; text-align: center; }
.xh-pricing-grid { width: 100%; display: grid; grid-template-columns: repeat(5,minmax(0,1fr)); gap: 14px; }
.xh-pricing-card { position: relative; min-width: 0; min-height: 520px; padding: 24px 20px; display: flex; flex-direction: column; border: 1px solid var(--xh-border); border-radius: 16px; background: #fff; text-align: left; }
.xh-pricing-card.is-recommended { border-color: rgba(101,89,244,.4); background: linear-gradient(180deg,rgba(101,89,244,.04),rgba(74,61,219,.02)); }
.xh-pricing-badge { position: absolute; top: -11px; left: 50%; transform: translateX(-50%); padding: 4px 12px; border-radius: 999px; background: linear-gradient(135deg,#8377ff,#4a3ddb); color: #fff; font-size: 11px; font-weight: 500; white-space: nowrap; }
.xh-pricing-card .xh-pricing-audience { margin: 0 0 6px; color: var(--xh-fg-3); font-size: 13px; }
.xh-pricing-title { margin-bottom: 16px; font-size: 20px; font-weight: 600; }
.xh-pricing-price { margin-bottom: 6px; display: flex; align-items: baseline; gap: 0; white-space: nowrap; }
.xh-pricing-price strong { font-size: 32px; font-weight: 600; letter-spacing: -.025em; }
.xh-pricing-price small { margin-left: 4px; color: var(--xh-fg-3); font-size: 14px; }
.xh-pricing-card .xh-pricing-price-detail { min-height: 16px; margin: 0 0 10px; color: var(--xh-fg-3); font-size: 11px; }
.xh-pricing-card .xh-pricing-promo { margin: 0 0 16px; padding: 6px 10px; border-radius: 6px; background: rgba(101,89,244,.08); color: var(--xh-brand-solid); font-size: 12px; font-weight: 500; }
.xh-pricing-promo.is-annual { background: rgba(22,163,74,.08); color: #16803b; }
.xh-pricing-promo-spacer { height: 36px; margin-bottom: 16px; }
.xh-pricing-benefits { margin: 0; padding: 16px 0 0; flex: 1; list-style: none; border-top: 1px solid var(--xh-border); color: var(--xh-fg-2); font-size: 13px; }
.xh-pricing-benefits li { position: relative; }
.xh-pricing-benefits li + li { margin-top: 8px; }
.xh-pricing-action { width: 100%; margin-top: 16px; padding: 10px 14px; justify-content: center; border: 0; border-radius: 8px; background: #1a1a1a; color: #fff; font-size: 14px; font-weight: 500; }
.xh-pricing-card.is-recommended .xh-pricing-action { background: linear-gradient(135deg,#8377ff,#4a3ddb); }
.xh-pricing-action:disabled { cursor: not-allowed; opacity: .52; }
.xh-pricing-disabled { margin-top: auto; padding: 10px; border-radius: 8px; background: var(--xh-bg-warm); color: var(--xh-fg-2); font-size: 12px; line-height: 1.55; text-align: center; }
.xh-pricing-annual-copy { max-width: 780px; margin: 6px auto 0; color: var(--xh-fg-2); font-size: 13px; font-weight: 500; line-height: 1.7; text-align: center; }
.xh-pricing-original-note { width: 100%; box-sizing: border-box; margin: 0; padding-top: 24px; color: var(--xh-fg-2); font-size: 13px; font-weight: 500; text-align: center; }
.xh-pricing-live .xh-pricing-original-custom { width: 100%; margin: 8px 0 0; color: var(--xh-fg-3); font-size: 13px; text-align: center; }
.xh-pricing-contact { padding: 0; border: 0; background: none; color: var(--xh-brand-solid); font: inherit; text-decoration: underline; cursor: pointer; }
.xh-payment-noscript { margin: 24px 0; padding: 20px; border: 1px solid var(--xh-border); border-radius: 14px; background: var(--xh-bg-warm); color: var(--xh-fg-2); font-size: 13px; line-height: 1.7; }
.xh-payment-noscript p { margin: 8px 0; }
.xh-payment-noscript a { color: var(--xh-brand-solid); }
.xh-payment-topups { padding-top: 16px; --os-border: rgba(15,23,42,.08); --os-subtle: #f5f5f2; --os-text-muted: #525252; --os-text-faint: #8a8a8a; --os-accent: #6559f4; --os-radius-md: 8px; }
.xh-payment-note { color: var(--xh-fg-2); font-size: 13px; line-height: 1.75; }
.xh-payment-note:empty { display: none; }
.xh-payment-note:not(:empty) { margin-bottom: 20px; }
.xh-payment-note .xh-btn { margin-left: 12px; }
.xh-payment-retry { margin-top: 18px; padding: 8px 0; border: 0; background: transparent; color: var(--xh-brand-solid); font: inherit; font-size: 12px; cursor: pointer; }
.xh-payment-review { max-width: 700px; margin: 44px auto 0; padding: 28px; border: 1px solid var(--xh-border); border-radius: 24px; box-shadow: 0 24px 70px -40px rgba(74,61,219,.4); background: #fff; }
.xh-payment-review h2 { margin-bottom: 24px; font-size: 26px; font-weight: 600; letter-spacing: -.03em; }
.xh-payment-method { margin: 20px 0; display: grid; gap: 8px; color: var(--xh-fg-2); font-size: 13px; }
.xh-payment-method select { width: 100%; padding: 12px 14px; border: 1px solid var(--xh-border); border-radius: 10px; background: #fff; color: var(--xh-fg); font: inherit; }
.xh-payment-review > .xh-btn { width: 100%; justify-content: center; }
.xh-payment-summary { padding: 20px; display: flex; align-items: center; justify-content: space-between; gap: 24px; background: var(--xh-bg-warm); border: 1px solid var(--xh-border); border-radius: 16px; }
.xh-payment-summary span { color: var(--xh-brand-solid); font-size: 12px; }
.xh-payment-summary h3 { margin: 8px 0; font-size: 22px; font-weight: 600; }
.xh-payment-summary p { font-size: 14px; color: var(--xh-fg-2); }
.xh-payment-summary > strong { flex: none; font: 600 28px/1.2 var(--xh-mono); }
.xh-payment-faq { max-width: none; padding: 96px 0; }
.xh-payment-faq > .xh-container { max-width: 820px; text-align: left; }
.xh-payment-faq > .xh-container > .xh-eyebrow { display: flex; width: max-content; margin-inline: auto; }
.xh-payment-faq h2 { margin-top: 16px; text-align: center; }
.xh-payment-faq > .xh-container > div { margin-top: 48px; display: flex; flex-direction: column; gap: 12px; text-align: left; }
.xh-payment-faq details { padding: 16px 20px; border: 1px solid var(--xh-border); border-radius: 10px; background: #fff; }
.xh-payment-faq summary { list-style: none; cursor: pointer; font-size: 15px; font-weight: 500; }
.xh-payment-faq summary::-webkit-details-marker { display: none; }
.xh-payment-faq summary span { margin-right: 8px; color: var(--xh-brand-solid); }
.xh-payment-faq p { margin-top: 12px; color: var(--xh-fg-2); font-size: 14px; line-height: 1.7; }
.xh-payment-faq a { color: var(--xh-brand-solid); }
.xh-pricing-story { position: relative; overflow: hidden; }
.xh-pricing-story.is-warm { border-top: 1px solid var(--xh-border); border-bottom: 1px solid var(--xh-border); background: #FAFAF7; }
.xh-pricing-story > .xh-container { max-width: 1100px; text-align: left; }
.xh-pricing-story > .xh-container > .xh-eyebrow { display: flex; width: max-content; margin-inline: auto; }
.xh-pricing-story .xh-h2 { max-width: 760px; margin: 16px auto 0; text-align: center; }
.xh-pricing-story > .xh-container > .xh-lead { max-width: 620px; margin: 14px auto 0; text-align: center; }
.xh-pricing-story-grid { margin-top: 56px; display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 16px; }
.xh-pricing-story-grid article { min-width: 0; padding: 24px; border: 1px solid var(--xh-border); border-radius: 14px; background: #fff; text-align: left; }
.xh-pricing-story-grid article:hover { border-color: var(--xh-border); box-shadow: none; transform: none; }
.xh-pricing-story-grid h3 { margin: 6px 0 10px; font-size: 19px; font-weight: 600; }
.xh-pricing-story-grid p { color: var(--xh-fg-2); font-size: 14px; line-height: 1.6; }
.xh-pricing-story-grid small { display: block; margin-top: 12px; padding-top: 12px; border-top: 1px dashed var(--xh-border); color: var(--xh-fg-3); font-size: 12px; line-height: 1.6; }
.xh-pricing-story-step { color: var(--xh-brand-solid); font: 500 12px/1.4 var(--xh-mono); }
.xh-pricing-story-grid .is-future { border-style: dashed; background: #FAFAF7; }
.xh-stars-explain .xh-pricing-story-grid { margin-bottom: 32px; }
.xh-stars-explain .xh-pricing-story-grid article { padding: 22px; }
.xh-stars-explain .xh-pricing-story-grid h3 { margin: 0 0 4px; font-size: 14px; }
.xh-stars-explain .xh-pricing-story-grid strong { display: block; margin: 0 0 12px; color: var(--xh-brand-solid); font-size: 12px; }
.xh-stars-explain .xh-pricing-story-grid strong.is-free { color: #16a34a; }
.xh-stars-explain .xh-pricing-story-grid p { margin-bottom: 10px; font-size: 13px; }
.xh-stars-explain .xh-pricing-story-grid small { margin: 0; padding: 0; border: 0; font-size: 12px; line-height: 1.5; }
.xh-stars-table { padding: 24px; border: 1px solid var(--xh-border); border-radius: 14px; background: #fff; text-align: left; }
.xh-stars-table h3 { margin-bottom: 16px; font-size: 16px; font-weight: 600; }
.xh-stars-table table { width: 100%; border-collapse: collapse; font-size: 13px; }
.xh-stars-table th,.xh-stars-table td { padding: 10px 8px; text-align: left; border-bottom: 1px dashed var(--xh-border); }
.xh-stars-table th { color: var(--xh-fg-3); font-weight: 500; border-bottom-style: solid; }
.xh-stars-table th:last-child,.xh-stars-table td:last-child { color: var(--xh-brand-solid); font-weight: 500; text-align: right; }
.xh-stars-table td:nth-child(2) { color: var(--xh-fg-3); }
.xh-stars-table tbody tr:last-child td { border-bottom: 0; }
.xh-stars-table > p { margin-top: 14px; color: var(--xh-fg-3); font-size: 12px; line-height: 1.6; }
.xh-pricing-rule-table { max-width: 900px; margin: 44px auto 0; overflow: hidden; border: 1px solid var(--xh-border); border-radius: 14px; background: #fff; }
.xh-pricing-rule-table > div { display: grid; grid-template-columns: 1fr 1.4fr 1.4fr; gap: 20px; padding: 15px 20px; border-bottom: 1px solid var(--xh-border); }
.xh-pricing-rule-table > div:last-child { border-bottom: 0; }
.xh-pricing-rule-table strong { font-size: 12px; color: var(--xh-fg); }
.xh-pricing-rule-table span { font-size: 13px; color: var(--xh-fg-2); }
.xh-pricing-cost { background: #FAFAF7; }
.xh-pricing-cost > .xh-container { max-width: 880px; text-align: center; }
.xh-pricing-cost .xh-h2 { margin-top: 16px; }
.xh-pricing-cost > .xh-container > .xh-lead { margin: 14px 0 32px; }
.xh-pricing-cost-card,.xh-pricing-cost-note { padding: 32px; border: 1px solid var(--xh-border); border-radius: 14px; background: #fff; text-align: left; }
.xh-pricing-cost-card h3 { margin-bottom: 14px; text-align: center; font-size: 14px; font-weight: 600; }
.xh-pricing-cost-rows { display: flex; flex-direction: column; gap: 10px; }
.xh-pricing-cost-rows article { display: grid; grid-template-columns: 40px 140px 1fr 130px; gap: 14px; align-items: center; padding: 14px 16px; border: 1px solid var(--xh-border); border-radius: 10px; background: #FAFAF7; }
.xh-pricing-cost-rows strong { color: var(--xh-brand-solid); font-size: 22px; }
.xh-pricing-cost-rows h4 { font-size: 14px; font-weight: 600; }
.xh-pricing-cost-rows p { color: var(--xh-fg-2); font-size: 12px; line-height: 1.6; }
.xh-pricing-cost-rows em { color: var(--xh-brand-solid); font-size: 14px; font-weight: 600; font-style: normal; text-align: right; }
.xh-pricing-cost-rows article:nth-child(2) strong,.xh-pricing-cost-rows article:nth-child(2) em { color: #f59e0b; }
.xh-pricing-cost-rows article:nth-child(3) strong,.xh-pricing-cost-rows article:nth-child(3) em { color: #ef4444; }
.xh-pricing-cost-rows article:nth-child(4) strong,.xh-pricing-cost-rows article:nth-child(4) em { color: #4A3DDB; }
.xh-pricing-cost-note { margin-top: 20px; padding: 24px; color: var(--xh-fg-3); font-size: 13px; line-height: 1.7; text-align: center; }
.xh-pricing-cost-note strong { color: var(--xh-fg-2); }
.xh-pricing-final { position: relative; overflow: hidden; border-top: 1px solid var(--xh-border); background: #fff; text-align: center; }
.xh-pricing-final .xh-h1 { margin-bottom: 20px; font-size: 56px; }
.xh-pricing-final .xh-lead { margin: 0 auto 34px; }
.xh-pricing-final-actions { display: flex; justify-content: center; gap: 12px; flex-wrap: wrap; }
.xh-pricing-final small { display: block; margin-top: 24px; color: var(--xh-fg-3); font-size: 12px; }
.xh-pricing-sales-strip { margin-top: 48px; padding-top: 32px; display: flex; justify-content: center; align-items: center; flex-wrap: wrap; gap: 24px; border-top: 1px solid var(--xh-border); color: var(--xh-fg-2); font-size: 13px; }
.xh-pricing-sales-strip span { display: inline-flex; align-items: center; gap: 8px; }
.xh-pricing-sales-strip span::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--xh-grad); }
.xh-pricing-sales-strip i { width: 1px; height: 12px; background: var(--xh-border-strong); }
.xh-pricing-footer-copy { max-width: 280px; margin-top: 16px; color: var(--xh-fg-2); font-size: 13px; line-height: 1.6; }
.xh-pricing-footer-bottom { align-items: flex-start; flex-direction: column; gap: 6px; }
.xh-footer .xh-pricing-contact { color: inherit; text-align: left; text-decoration: none; }
.xh-payment-order-row { display: grid; grid-template-columns: minmax(0,1fr) auto auto; align-items: center; gap: 24px; padding: 18px 0; color: inherit; border-bottom: 1px solid var(--xh-border); text-decoration: none; }
.xh-payment-order-row:hover { color: var(--xh-brand-solid); }
.xh-payment-order-row > div { display: grid; gap: 7px; }
.xh-payment-order-row strong { font-size: 13px; font-weight: 600; }
.xh-payment-order-row small { font-size: 11px; color: var(--xh-fg-3); }
.xh-payment-order-business { gap: 4px !important; }
.xh-payment-order-business .is-refunded { color: #1b7250; }
.xh-payment-filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 12px; }
.xh-payment-filter { padding: 7px 13px; border: 1px solid var(--xh-border); border-radius: 999px; background: #fff; color: var(--xh-fg-2); font: inherit; font-size: 12px; cursor: pointer; }
.xh-payment-filter[aria-pressed="true"] { border-color: var(--xh-brand-solid); background: rgba(101,89,244,.08); color: var(--xh-brand-solid); }
.xh-payment-state { padding: 5px 10px; border-radius: 999px; background: #f2f1ec; color: #65635d; font-size: 12px; white-space: nowrap; }
.xh-payment-state.is-pending,.xh-payment-state.is-processing { color: #6e53b6; background: #f1ecfb; }
.xh-payment-state.is-completed { color: #1b7250; background: #eaf6ef; }
.xh-payment-state.is-manual_review { color: #8a5919; background: #fcf0dc; }
.xh-payment-detail { max-width: 900px; padding: 28px; }
.xh-payment-order-heading { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 24px; }
.xh-payment-order-heading h2 { font-size: 22px; font-weight: 600; }
.xh-payment-facts { margin: 24px 0; border: 1px solid var(--xh-border); border-radius: 12px; overflow: hidden; }
.xh-payment-facts > div { display: grid; grid-template-columns: 110px minmax(0,1fr); gap: 12px; padding: 13px 16px; border-bottom: 1px solid var(--xh-border); }
.xh-payment-facts > div:last-child { border-bottom: 0; }
.xh-payment-facts dt { font-size: 12px; color: var(--xh-fg-3); }
.xh-payment-facts dd { margin: 0; overflow-wrap: anywhere; font: 500 12px/1.6 var(--xh-mono); }
.xh-payment-actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.xh-payment-actions form { margin: 0; }
.xh-payment-refunds { margin: 24px 0; padding: 18px; border: 1px solid var(--xh-border); border-radius: 14px; background: var(--xh-bg-warm); }
.xh-payment-refunds h3 { margin: 0 0 12px; font-size: 16px; }
.xh-payment-refund-list { display: grid; gap: 10px; }
.xh-payment-refund-item { display: grid; gap: 5px; padding: 12px; border-radius: 10px; background: #fff; }
.xh-payment-refund-item small { color: var(--xh-fg-3); line-height: 1.6; }
.xh-load-more { margin-top: 14px; }
[data-purchase-dialog][hidden] { display: none !important; }
.xh-purchase-dialog { width: min(580px,calc(100vw - 32px)); max-height: min(820px,calc(100vh - 32px)); padding: 0; border: 0; border-radius: 22px; overflow: hidden; color: var(--xh-fg); background: #fff; box-shadow: 0 30px 100px rgba(15,23,42,.28); }
.xh-purchase-dialog::backdrop { background: rgba(15,23,42,.46); backdrop-filter: blur(3px); }
.xh-purchase-dialog-panel { max-height: min(820px,calc(100vh - 32px)); display: flex; flex-direction: column; }
.xh-purchase-dialog-panel > header { padding: 20px 24px 16px; display: flex; align-items: center; justify-content: space-between; gap: 20px; border-bottom: 1px solid var(--xh-border); }
.xh-purchase-dialog-panel > header h2 { margin: 0; font-size: 20px; font-weight: 600; }
.xh-purchase-dialog-close { width: 36px; height: 36px; border: 0; border-radius: 50%; background: var(--xh-bg-warm); color: var(--xh-fg-2); font-size: 24px; line-height: 1; cursor: pointer; }
.xh-purchase-dialog-content { padding: 24px; overflow: auto; overscroll-behavior: contain; }
.xh-purchase-dialog-content .xh-payment-review { max-width: none; margin: 0; padding: 0; border: 0; border-radius: 0; box-shadow: none; }
.xh-purchase-dialog-content .xh-payment-summary { padding: 22px; background: linear-gradient(135deg,#faf9ff,#f6f5ef); }
.xh-purchase-dialog-content .xh-payment-summary > strong { color: var(--xh-brand-solid); font-size: 30px; }
.xh-purchase-dialog-loading { margin: 22px 0; padding: 28px; border-radius: 14px; background: var(--xh-bg-warm); color: var(--xh-fg-2); font-size: 14px; line-height: 1.7; text-align: center; }
.xh-purchase-dialog-content .xh-payment-plan-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
.xh-purchase-dialog-content .xh-payment-plan-card { min-height: 360px; }
.xh-purchase-dialog[data-purchase-kind="topup"] { width: min(860px,calc(100vw - 32px)); }
.xh-purchase-dialog[data-purchase-kind="topup"] .xh-purchase-dialog-panel > header { padding: 22px 28px 18px; }
.xh-purchase-dialog[data-purchase-kind="topup"] .xh-purchase-dialog-content { padding: 28px; background: linear-gradient(180deg,#faf9ff 0,#fff 180px); }
.xh-purchase-dialog[data-purchase-kind="topup"] .xh-os-pack-grid { margin: 0; display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 14px; }
.xh-purchase-dialog[data-purchase-kind="topup"] .xh-os-pack-card { min-width: 0; min-height: 246px; padding: 22px 20px 20px; position: relative; display: flex; flex-direction: column; border: 1px solid rgba(15,23,42,.09); border-radius: 16px; background: rgba(255,255,255,.92); box-shadow: 0 12px 32px -28px rgba(15,23,42,.38); }
.xh-purchase-dialog[data-purchase-kind="topup"] .xh-os-pack-card.is-recommended { border-color: rgba(101,89,244,.54); background: linear-gradient(160deg,#f5f3ff 0,#fff 70%); box-shadow: 0 18px 40px -28px rgba(74,61,219,.52); }
.xh-purchase-dialog[data-purchase-kind="topup"] .xh-os-pack-badge { position: absolute; top: 16px; right: 16px; padding: 4px 10px; border-radius: 999px; background: linear-gradient(135deg,#8377ff,#4a3ddb); color: #fff; font-size: 10px; font-weight: 600; }
.xh-purchase-dialog[data-purchase-kind="topup"] .xh-os-pack-label { display: flex; align-items: center; gap: 8px; color: var(--xh-fg-2); font-size: 12px; font-weight: 500; }
.xh-purchase-dialog[data-purchase-kind="topup"] .xh-os-pack-label > span { color: var(--xh-brand-solid); font-size: 17px; line-height: 1; }
.xh-purchase-dialog[data-purchase-kind="topup"] .xh-os-pack-amount { margin-top: 22px; display: block; color: var(--xh-fg); font-size: 30px; font-weight: 600; line-height: 1; letter-spacing: -.03em; }
.xh-purchase-dialog[data-purchase-kind="topup"] .xh-os-pack-amount small { margin-left: 3px; color: var(--xh-fg-3); font-size: 12px; font-weight: 400; letter-spacing: 0; }
.xh-purchase-dialog[data-purchase-kind="topup"] .xh-os-pack-card > p { margin: 12px 0 22px; color: var(--xh-fg-2); font-size: 12px; line-height: 1.65; }
.xh-purchase-dialog[data-purchase-kind="topup"] .xh-os-pack-footer { margin-top: auto; padding-top: 17px; display: flex; align-items: center; justify-content: space-between; gap: 12px; border-top: 1px solid var(--xh-border); }
.xh-purchase-dialog[data-purchase-kind="topup"] .xh-os-pack-footer > strong { font-size: 20px; font-weight: 600; letter-spacing: -.02em; }
.xh-purchase-dialog[data-purchase-kind="topup"] .xh-os-pack-footer .xh-btn { min-width: 104px; justify-content: center; }
body:has(.xh-purchase-dialog[open]) { overflow: hidden; }
[data-payment-status]:not(:empty) { margin: 16px 0; font-size: 14px; color: var(--xh-fg-2); }
@media (max-width: 1100px) { .xh-pricing-grid { grid-template-columns: repeat(3,minmax(0,1fr)); } }
@media (max-width: 1000px) { .xh-payment-plan-grid { grid-template-columns: repeat(2,minmax(0,1fr)); } }
@media (max-width: 768px) {
  .xh-pricing-grid { grid-template-columns: repeat(5,280px); overflow-x: auto; padding-bottom: 16px; scroll-snap-type: x mandatory; }
  .xh-pricing-grid > * { scroll-snap-align: center; }
}
@media (max-width: 680px) {
  .xh-payment-hero { padding: 92px 0 40px; }.xh-payment-hero h1 { font-size: 38px; }.xh-payment-hero p { font-size: 16px; }
  .xh-payment-plan-grid,.xh-purchase-dialog-content .xh-payment-plan-grid { grid-template-columns: 1fr; }
  .xh-payment-section-heading,.xh-payment-summary { align-items: flex-start; flex-direction: column; }
  .xh-payment-plan-card { min-height: 380px; }.xh-payment-detail,.xh-payment-review { padding: 20px; }
  .xh-purchase-dialog { width: calc(100vw - 20px); max-height: calc(100vh - 20px); border-radius: 16px; }.xh-purchase-dialog-panel { max-height: calc(100vh - 20px); }.xh-purchase-dialog-content { padding: 18px; }
  .xh-purchase-dialog[data-purchase-kind="topup"] { width: calc(100vw - 20px); }
  .xh-purchase-dialog[data-purchase-kind="topup"] .xh-purchase-dialog-panel > header { padding: 17px 18px 13px; }
  .xh-purchase-dialog[data-purchase-kind="topup"] .xh-purchase-dialog-content { padding: 16px; }
  .xh-purchase-dialog[data-purchase-kind="topup"] .xh-os-pack-grid { grid-template-columns: 1fr; gap: 12px; }
  .xh-purchase-dialog[data-purchase-kind="topup"] .xh-os-pack-card { min-height: 210px; padding: 18px; }
  .xh-purchase-dialog[data-purchase-kind="topup"] .xh-os-pack-amount { margin-top: 18px; font-size: 28px; }
  .xh-payment-order-row { gap: 12px; }.xh-payment-order-row > div { grid-column: 1 / -1; }
  .xh-pricing-card { min-height: 0; }.xh-pricing-audience,.xh-pricing-price-detail { min-height: 0; }
  .xh-pricing-live > .xh-pricing-eligibility { width: 100%; border-radius: 10px; }
  .xh-pricing-story-grid { margin-top: 30px; grid-template-columns: 1fr; }
  .xh-pricing-rule-table { overflow-x: auto; }
  .xh-pricing-rule-table > div { min-width: 560px; }
  .xh-pricing-final .xh-h1 { font-size: 36px; }
  .xh-purchase-dialog-panel > header { padding: 17px 18px 13px; }
  .xh-purchase-dialog-content .xh-payment-summary { width: 100%; box-sizing: border-box; gap: 10px; }
  .xh-purchase-dialog-content .xh-payment-summary > strong { font-size: 26px; }
  .xh-pricing-cost-card { padding: 20px; }
  .xh-pricing-cost-rows article { grid-template-columns: 34px minmax(0,1fr) auto; gap: 8px 10px; }
  .xh-pricing-cost-rows article p { grid-column: 2 / -1; }
}
@media (max-width: 480px) { .xh-pricing-grid { grid-template-columns: repeat(5,240px); } }
