/* Premium Payment Element order summary and Stripe promotion codes. */
.stripe-payment-modal--with-summary{width:min(620px,100%);max-height:min(96vh,940px)}
.stripe-payment-element__payment{gap:16px}.stripe-payment-element__mount{margin-top:10px}
.stripe-order-summary{display:grid;gap:9px;padding:14px;border:1px solid #e2e7ef;border-radius:17px;background:#f8fafc;color:#111827}.stripe-order-summary[hidden]{display:none}
.stripe-order-summary>header h3{margin:0;font-size:14px;letter-spacing:-.02em}
.stripe-order-product{display:grid;grid-template-columns:36px minmax(0,1fr) auto;align-items:center;gap:9px;padding:10px 0;border-bottom:1px solid #e5e9f0}
.stripe-order-product__icon{width:34px;height:34px;display:grid;place-items:center;border-radius:11px;background:#fff;border:1px solid #e1e6ee}
.stripe-order-product__icon img{width:23px;height:23px;object-fit:contain}
.stripe-order-product>span:nth-child(2){display:grid;gap:2px}
.stripe-order-product strong,.stripe-order-product b{font-size:12px}
.stripe-order-product small{color:#667085;font-size:10px}
.stripe-order-row,.stripe-order-due{display:flex;align-items:center;justify-content:space-between;gap:14px;font-size:11px}
.stripe-order-row>span,.stripe-order-due>span{color:#667085}
.stripe-order-row strong,.stripe-order-due strong{font-size:12px}
.stripe-order-total{margin-top:2px;padding-top:9px;border-top:1px solid #e5e9f0}
.stripe-order-total span,.stripe-order-total strong{color:#111827;font-size:13px;font-weight:850}
.stripe-order-due{padding:8px 10px;border-radius:10px;background:#eef4ff}
.stripe-order-due strong{color:#1d4ed8}
.stripe-order-coupon-toggle{width:max-content;display:flex;align-items:center;gap:5px;padding:2px 0;border:0;background:transparent;color:#2563eb;font:inherit;font-size:10.5px;font-weight:750;cursor:pointer}
.stripe-order-coupon{display:grid;gap:5px}
.stripe-order-coupon[hidden],.stripe-order-coupon-toggle[hidden],.stripe-order-coupon-applied[hidden]{display:none!important}
.stripe-order-coupon__controls{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:6px}
.stripe-order-coupon input{height:36px;padding:8px 10px;border:1px solid #d9e0ea;border-radius:10px;background:#fff;color:#111827;font-size:11px;text-transform:uppercase}
.stripe-order-coupon button{min-width:62px;border:0;border-radius:10px;background:#111827;color:#fff;font:inherit;font-size:10.5px;font-weight:800;cursor:pointer}
.stripe-order-coupon button:disabled{opacity:.6;cursor:wait}
.stripe-order-coupon>small{min-height:13px;font-size:9.5px}
.stripe-order-coupon>small.is-valid{color:#15803d}
.stripe-order-coupon>small.is-invalid{color:#b42318}
.stripe-order-coupon>small.is-checking{color:#667085}
.stripe-order-coupon-applied{width:max-content;display:flex;align-items:center;gap:4px;color:#667085;font-size:9.5px;font-weight:650}
.stripe-order-coupon-applied button{width:19px;height:19px;display:grid;place-items:center;padding:0;border:0;border-radius:6px;background:transparent;color:#667085;cursor:pointer}
.stripe-order-coupon-applied button:hover{background:rgba(102,112,133,.10)}
.stripe-order-coupon-applied button i{font-size:13px}
.stripe-order-discount[hidden]{display:none!important}
.stripe-order-discount strong{color:#15803d}
.stripe-payment-modal__footer p{max-width:520px;margin:0;color:inherit;font-size:9.5px;line-height:1.45}
.stripe-payment-modal__footer p a{color:#2563eb;font-weight:750;text-decoration:underline;text-underline-offset:2px}
.dashboard-dark .stripe-order-summary,html[data-dashboard-theme="dark"] .stripe-order-summary{background:#202020;border-color:#383838;color:#f5f5f5}
.dashboard-dark .stripe-order-product,html[data-dashboard-theme="dark"] .stripe-order-product,.dashboard-dark .stripe-order-total,html[data-dashboard-theme="dark"] .stripe-order-total{border-color:#383838}
.dashboard-dark .stripe-order-product__icon,html[data-dashboard-theme="dark"] .stripe-order-product__icon{background:#2a2a2a;border-color:#404040}
.dashboard-dark .stripe-order-product small,html[data-dashboard-theme="dark"] .stripe-order-product small,.dashboard-dark .stripe-order-row>span,html[data-dashboard-theme="dark"] .stripe-order-row>span,.dashboard-dark .stripe-order-due>span,html[data-dashboard-theme="dark"] .stripe-order-due>span{color:#a8b0bd}
.dashboard-dark .stripe-order-total span,.dashboard-dark .stripe-order-total strong,html[data-dashboard-theme="dark"] .stripe-order-total span,html[data-dashboard-theme="dark"] .stripe-order-total strong{color:#f5f5f5}
.dashboard-dark .stripe-order-due,html[data-dashboard-theme="dark"] .stripe-order-due{background:#17213a}
.dashboard-dark .stripe-order-coupon input,html[data-dashboard-theme="dark"] .stripe-order-coupon input{background:#1a1a1a;border-color:#3b3b3b;color:#f5f5f5}
.dashboard-dark .stripe-order-coupon button,html[data-dashboard-theme="dark"] .stripe-order-coupon button{background:#f5f5f5;color:#111}
.dashboard-dark .stripe-payment-modal__footer p a,html[data-dashboard-theme="dark"] .stripe-payment-modal__footer p a{color:#93b4ff}
@media(max-width:700px){.stripe-order-summary{padding:12px}.stripe-payment-modal--with-summary .stripe-payment-modal__body{padding-top:12px}}
.stripe-payment-quantity-layout{display:grid;grid-template-columns:minmax(0,.8fr) minmax(260px,1.2fr);align-items:start;gap:16px}.stripe-payment-quantity-layout .stripe-payment-element__quantity{height:100%}.stripe-payment-quantity-layout [data-order-summary-quantity-slot]{min-width:0}.stripe-payment-modal[data-payment-step="quantity"] .stripe-order-shipping{display:none}.stripe-payment-modal[data-payment-step="shipping"] .stripe-payment-element__next{grid-column:2}.stripe-payment-modal[data-payment-step="payment"] .stripe-payment-element__mount{margin-top:10px}@media(max-width:700px){.stripe-payment-quantity-layout{grid-template-columns:1fr}.stripe-payment-modal[data-payment-step="shipping"] .stripe-payment-element__next{grid-column:2}}
.stripe-payment-stepper--three{grid-template-columns:auto minmax(18px,1fr) auto minmax(18px,1fr) auto}.stripe-payment-stepper--three:has([data-payment-step-indicator="quantity"].complete)>i:first-of-type,.stripe-payment-stepper--three:has([data-payment-step-indicator="shipping"].complete)>i{background:#16a34a}.stripe-payment-element__quantity{display:grid;gap:14px;padding:14px;border:1px solid #e1e6ee;border-radius:16px;background:#f8fafc}.stripe-quantity-control{width:180px;display:grid;grid-template-columns:48px 1fr 48px;align-items:center;overflow:hidden;border:1px solid #d9e0ea;border-radius:14px;background:#fff}.stripe-quantity-control button{height:46px;border:0;background:#f3f6fa;color:#111827;cursor:pointer;font-size:18px}.stripe-quantity-control button:disabled{opacity:.38;cursor:not-allowed}.stripe-quantity-control output{display:grid;place-items:center;height:46px;border-inline:1px solid #d9e0ea;color:#111827;font-size:17px;font-weight:850}.dashboard-dark .stripe-payment-element__quantity,html[data-dashboard-theme="dark"] .stripe-payment-element__quantity{background:#1a1a1a;border-color:#343434}.dashboard-dark .stripe-quantity-control,html[data-dashboard-theme="dark"] .stripe-quantity-control{background:#202020;border-color:#3b3b3b}.dashboard-dark .stripe-quantity-control button,html[data-dashboard-theme="dark"] .stripe-quantity-control button{background:#292929;color:#f5f5f5}.dashboard-dark .stripe-quantity-control output,html[data-dashboard-theme="dark"] .stripe-quantity-control output{border-color:#3b3b3b;color:#f5f5f5}@media(max-width:520px){.stripe-payment-stepper--three>span em{display:none}}

/* Shared visual editor preference selector. */
.editor-preference-options{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.editor-preference-option{position:relative;display:grid;grid-template-columns:74px minmax(0,1fr) 20px;align-items:center;gap:12px;min-height:96px;padding:13px;border:1px solid var(--line);border-radius:16px;background:var(--solid);color:var(--text);font:inherit;text-align:left;cursor:pointer;transition:border-color .16s ease,background .16s ease,box-shadow .16s ease}.editor-preference-option>span:nth-child(2){display:grid;gap:5px}.editor-preference-option strong{font-size:14px}.editor-preference-option small{color:var(--muted);font-size:11px;line-height:1.45}.editor-preference-option.selected{border-color:#2563eb;background:color-mix(in srgb,#2563eb 8%,var(--solid));box-shadow:0 0 0 2px rgba(37,99,235,.10)}.editor-preference-check{color:#2563eb;opacity:0;font-size:19px}.editor-preference-option.selected .editor-preference-check{opacity:1}.editor-preference-option:disabled{cursor:wait;opacity:.72}.editor-preference-preview{position:relative;width:74px;height:66px;overflow:hidden;border:1px solid color-mix(in srgb,var(--line) 82%,transparent);border-radius:12px;background:color-mix(in srgb,var(--bg) 70%,var(--solid))}.editor-preference-preview i,.editor-preference-preview b{position:absolute;display:block}.editor-preference-preview-guided i:nth-child(1){inset:0 37px 0 0;background:linear-gradient(160deg,#2563eb,#60a5fa)}.editor-preference-preview-guided i:nth-child(2){left:10px;top:14px;width:17px;height:17px;border:3px solid #fff;border-radius:999px}.editor-preference-preview-guided i:nth-child(3){left:43px;top:12px;width:21px;height:5px;border-radius:999px;background:color-mix(in srgb,var(--muted) 34%,transparent);box-shadow:0 10px 0 color-mix(in srgb,var(--muted) 25%,transparent),0 20px 0 color-mix(in srgb,var(--muted) 20%,transparent)}.editor-preference-preview-guided b{right:9px;bottom:8px;width:20px;height:7px;border-radius:999px;background:#2563eb}.editor-preference-preview-classic i:nth-child(1){left:0;right:0;top:0;height:14px;background:linear-gradient(90deg,#2563eb,#60a5fa)}.editor-preference-preview-classic i:nth-child(2){left:7px;top:22px;width:26px;height:35px;border-radius:7px;background:color-mix(in srgb,var(--muted) 18%,transparent)}.editor-preference-preview-classic i:nth-child(3){right:7px;top:22px;width:28px;height:5px;border-radius:999px;background:color-mix(in srgb,var(--muted) 34%,transparent);box-shadow:0 10px 0 color-mix(in srgb,var(--muted) 25%,transparent),0 20px 0 color-mix(in srgb,var(--muted) 20%,transparent)}.editor-preference-preview-classic b{left:11px;top:27px;width:18px;height:18px;border:3px solid #2563eb;border-radius:6px}@media(max-width:700px){.editor-preference-options{grid-template-columns:1fr}.editor-preference-option{grid-template-columns:68px minmax(0,1fr) 20px}.editor-preference-preview{width:68px}}

/* Keep all selected cards equally clear in the dark theme. */
html[data-dashboard-theme="dark"] .accessory-option.selected,body.dashboard-dark .accessory-option.selected,html[data-dashboard-theme="dark"] .account-alert-destination-option.selected,body.dashboard-dark .account-alert-destination-option.selected,html[data-dashboard-theme="dark"] .billing-preview-card.highlighted,body.dashboard-dark .billing-preview-card.highlighted,html[data-dashboard-theme="dark"] .editor-preference-option.selected,body.dashboard-dark .editor-preference-option.selected{border-color:#ff746b!important;outline:0!important;background:color-mix(in srgb,#ff6157 14%,#111827)!important;box-shadow:0 0 0 2px rgba(255,97,87,.62),inset 0 0 0 1px rgba(255,255,255,.05)!important}html[data-dashboard-theme="dark"] .account-alert-destination-option.selected>i,body.dashboard-dark .account-alert-destination-option.selected>i,html[data-dashboard-theme="dark"] .editor-preference-option.selected .editor-preference-check,body.dashboard-dark .editor-preference-option.selected .editor-preference-check{color:#ff8b84!important}html[data-dashboard-theme="dark"] .billing-preview-card.highlighted strong,html[data-dashboard-theme="dark"] .billing-preview-card.highlighted>span:not(.billing-best-value-pill),html[data-dashboard-theme="dark"] .billing-preview-card.highlighted small,body.dashboard-dark .billing-preview-card.highlighted strong,body.dashboard-dark .billing-preview-card.highlighted>span:not(.billing-best-value-pill),body.dashboard-dark .billing-preview-card.highlighted small{color:#fff!important}

.username-confirmation{display:grid;gap:12px}.username-confirmation p{margin:0!important}.username-confirmation>strong{display:block;padding:13px 14px;overflow-wrap:anywhere;border:1px solid color-mix(in srgb,var(--primary) 28%,var(--line));border-radius:14px;background:color-mix(in srgb,var(--primary) 7%,var(--solid));color:var(--text);font-size:16px;letter-spacing:-.02em}

.onboarding-editor-preference{grid-template-columns:1fr;margin-top:14px;text-align:left}.onboarding-editor-note{display:block;margin:10px 0 0;color:var(--muted);font-size:11px;line-height:1.45;text-align:center}

/* Account and modal typography follows the compact dashboard scale. */
.account-page .account-content-head h1{font-size:30px}.account-page .account-content-head p{font-size:13px}.account-page .account-section-head h3,.account-page .account-card-head h3{font-size:17px}.account-page .account-section-head p,.account-page .account-card-head p{font-size:12.5px;line-height:1.5}.account-page .account-section-card label{font-size:11.5px}.account-page .account-section-card input,.account-page .account-section-card select,.account-page .account-section-card textarea{min-height:44px;font-size:13px}.account-page .account-section-card .btn{font-size:13px}.account-page .btn-soft{background:transparent}
.account-page .account-tab-panel .btn:not(.btn-danger){border:1px solid var(--line);background:transparent;color:var(--text);box-shadow:none}.account-page .account-tab-panel .btn:not(.btn-danger):not(:disabled):hover{border-color:color-mix(in srgb,var(--primary) 58%,var(--line));background:color-mix(in srgb,var(--primary) 7%,transparent);color:var(--primary)}

.app-modal h3{font-size:21px}.app-modal p{font-size:13px}.stripe-payment-modal__header h2{font-size:22px}.stripe-payment-modal__header p{font-size:12.5px}.subscription-product-modal{display:grid;gap:9px}.subscription-product-modal h2{margin:0 42px 0 0;font-size:30px;letter-spacing:-.04em}.subscription-product-modal>p{margin:0 0 14px;font-size:13px}.subscription-product-choices{display:grid;gap:12px}.subscription-product-choice{width:100%;display:grid;grid-template-columns:42px minmax(0,1fr) 20px;align-items:center;gap:12px;padding:15px;border:1px solid var(--line);border-radius:16px;background:var(--solid);color:var(--text);font:inherit;text-align:left;cursor:pointer;transition:border-color .16s ease,background .16s ease}.subscription-product-choice:hover,.subscription-product-choice:focus-visible{border-color:var(--primary);background:color-mix(in srgb,var(--primary) 6%,var(--solid));outline:0}.subscription-product-choice>span:nth-child(2){display:grid;gap:4px}.subscription-product-choice strong{font-size:17px;font-weight:800}.subscription-product-choice small{color:var(--muted);font-size:11.5px;line-height:1.4}.subscription-product-icon{width:40px;height:40px;display:grid;place-items:center;border-radius:13px;background:color-mix(in srgb,var(--primary) 9%,var(--solid));color:var(--primary);font-size:19px}.subscription-product-unsure{display:flex;align-items:center;justify-content:center;gap:7px;margin-top:8px;padding:10px;color:var(--text);font-size:13px;font-weight:800}.premium-plan-shell>.app-modal-close{top:22px;right:22px;width:36px;height:36px}.premium-plan-modal{position:relative;padding-top:0}.premium-plan-heading{min-height:36px;display:flex;align-items:center;gap:10px;margin:0 44px 12px 0}.premium-plan-modal h2{min-width:0;margin:0;font-size:24px;line-height:1.15;text-align:left;white-space:nowrap}.premium-plan-heading .premium-plan-back{position:static;width:30px;height:28px;display:grid;place-items:center;align-self:center;flex:0 0 30px;padding:0;border:0;border-radius:0;background:transparent;box-shadow:none;color:var(--text);cursor:pointer;line-height:1}.premium-plan-back i{display:block;font-size:18px;line-height:1}.premium-plan-option{align-items:center;font-size:13px}.premium-plan-option>input,.premium-plan-radio{align-self:center}.premium-plan-option small,.premium-plan-summary{font-size:11.5px}@media(max-width:620px){.subscription-product-modal h2{font-size:25px}.premium-plan-modal h2{font-size:19px}.premium-plan-heading{margin-right:44px}.stripe-payment-modal__header h2{font-size:20px}}
