/* Canonical content components for the customer cabinet. Loaded after native/theme styles. */
html:not([data-store-theme=dark]) body:is(.ev-customer-ui,.ev-purchase-failed){--es-bg:#eee;--es-panel:#fff;--es-soft:#f7faf8;--es-ink:#25352c;--es-muted:#68736b;--es-line:#d7dfda;--es-link:#008548;--es-tint:#f1f6f3}
body:is(.ev-customer-ui,.ev-purchase-failed){--es-surface:var(--es-panel)}
/* Shared customer-account rhythm: one set of controls, labels, headings and feedback. */
body.ev-customer-ui{--ev-control-radius:10px;--ev-control-height:44px;--ev-field-gap:8px;--ev-section-gap:28px}
body.ev-customer-ui #primary .ev-heading-content{display:flex!important;flex-flow:row nowrap!important;align-items:center;gap:12px;width:100%;min-width:0}
body.ev-customer-ui #primary .ev-heading-content>.ev-customer-heading-icon{display:grid!important;flex-shrink:0!important;margin:0!important}
body.ev-customer-ui #primary .ev-heading-title{display:block;min-width:0;overflow-wrap:break-word;line-height:1.35}
body.ev-customer-ui #primary :is(.account-title,.ev-customer-heading){font-size:22px!important;font-weight:600!important;line-height:1.35!important;letter-spacing:-.35px!important;margin-bottom:20px!important}
body.ev-customer-ui #primary #content .post-text form label{font-size:13px!important;font-weight:600!important;line-height:1.5;color:var(--es-ink,#25352c)}
body.ev-customer-ui #primary #content .post-text :is(input:not([type=checkbox],[type=radio],[type=hidden],[type=file],[type=submit],[type=button],[type=reset],[type=range],[type=color]),select,textarea):not(.edd_sl_license_key,.__PrivateStripeElement-input,[aria-hidden=true]){box-sizing:border-box;min-height:var(--ev-control-height);padding:11px 13px!important;border:1px solid var(--es-line,#d7dfda)!important;border-radius:var(--ev-control-radius)!important;box-shadow:none!important;background:var(--es-soft,#f7faf8)!important;color:var(--es-ink,#25352c)!important;font-family:inherit!important;font-size:14px!important;line-height:1.5!important}
body.ev-customer-ui #primary :is(input,textarea)::placeholder{color:var(--es-muted,#68736b);opacity:1}
body.ev-customer-ui #primary select{cursor:pointer}
body.ev-customer-ui #primary :is(button,input[type=submit],input[type=button],[role=button],summary),body.ev-customer-ui .ev-account-nav-sheet :is(button,a,summary){cursor:pointer!important}
body.ev-customer-ui #primary :is(button,input,a)[disabled],body.ev-customer-ui #primary [aria-disabled=true]{cursor:default!important}
body.ev-customer-ui #primary :is(button,input[type=submit],input[type=button],.ev-record-actions a,.ev-download-toggle){font-family:inherit!important;font-size:13px;line-height:1.5}
body.ev-customer-ui #primary button:not([aria-label]):not(.ev-profile-section-nav button){border-radius:var(--ev-control-radius)}
body.ev-customer-ui #primary .post-text>.ev-profile-section-nav.ev-profile-category-nav{margin-bottom:32px!important}
body.ev-customer-ui #primary .ev-profile-category-nav>button{cursor:pointer!important}
body.ev-customer-ui #primary .ev-profile-tab-indicator{pointer-events:none}
body.ev-customer-ui #primary #edd_profile_editor_form :is(legend,h2,h3).ev-profile-section-heading{margin:0 0 20px!important;padding:0!important}
body.ev-customer-ui #primary #edd_profile_editor_form fieldset>p{margin-top:0!important;margin-bottom:18px!important}
body.ev-customer-ui #primary .ev-profile-heading-content{display:flex!important;align-items:center;gap:12px;min-width:0}
body.ev-customer-ui #primary .ev-profile-heading-content>.ev-customer-heading-icon{flex-shrink:0}
body.ev-customer-ui #primary .ev-profile-heading-text{min-width:0;line-height:1.35}
/* Feedback stays on the existing control surface, without an extra focus ring. */
body.ev-customer-ui :is(#primary,dialog,.ev-account-nav-sheet) :is(:focus,:focus-visible,:focus-within){outline:none!important;box-shadow:none!important}
body.ev-customer-ui #primary .ev-license-key-wrap:focus-within{outline:none!important;box-shadow:none!important}
body.ev-customer-ui #primary :is(input,select,textarea):focus{border-color:var(--es-muted,#78857e)!important}
body.ev-customer-ui #primary :is(button,a,summary):focus-visible{color:var(--es-ink,#25352c)}
@media(max-width:600px){body.ev-customer-ui #primary :is(.account-title,.ev-customer-heading){font-size:20px!important}body.ev-customer-ui #primary .ev-heading-content,body.ev-customer-ui #primary .ev-profile-heading-content{gap:10px}body.ev-customer-ui #primary .post-text>.ev-profile-section-nav.ev-profile-category-nav{margin-bottom:28px!important}}
/* Connected applications occupy their own customer page. */
body.ev-customer-ui #primary .ev-connected-applications-page .ev-connections>.ev-intro{margin-bottom:24px!important}
body.ev-customer-ui #primary .ev-connected-applications-page .ev-connections{max-width:none}
body.ev-customer-ui #primary .ev-connected-applications-page .ev-connection-card{max-width:780px!important;width:100%}

body.ev-customer-ui #primary #content .post-text :is(input:not([type=checkbox],[type=radio],[type=hidden],[type=file],[type=submit],[type=button],[type=reset],[type=range],[type=color]),select):not(.edd_sl_license_key,.__PrivateStripeElement-input,[aria-hidden=true]){height:44px!important;min-height:44px!important}
body.ev-customer-ui #primary #edd_profile_editor_form{margin:0!important;padding:0!important}
body.ev-customer-ui #primary #edd_profile_editor_form fieldset{margin:0 0 28px!important;padding:0!important}
body.ev-customer-ui #primary #edd_profile_editor_form fieldset>p label{margin-bottom:7px!important}
body.ev-customer-ui #primary #content .ev-proxy-format #edd-download-type{padding:10px 30px 10px 38px!important}
body.ev-customer-ui #primary button *{cursor:inherit!important}
body.ev-customer-ui dialog:focus{outline:none!important;box-shadow:none!important}
@media(max-width:600px){body.ev-customer-ui #primary #content .post-text :is(input:not([type=checkbox],[type=radio],[type=hidden],[type=file],[type=submit],[type=button],[type=reset],[type=range],[type=color]),select,textarea):not(.edd_sl_license_key,.__PrivateStripeElement-input,[aria-hidden=true]){font-size:16px!important}}


/* The profile tabs stick to the viewport, rather than an overflow-clipped article. */
body.ev-customer-ui #primary .post-text>.ev-profile-section-nav.ev-profile-category-nav{top:0!important}
body.ev-customer-ui #primary .ev-license-key-wrap{position:relative}
body.ev-customer-ui #primary .ev-license-copy-feedback{position:absolute;right:8px;bottom:-22px;color:var(--es-muted);font-size:11px;line-height:18px;pointer-events:none}
/* Stripe owns the fields and handlers; only their surrounding presentation changes. */
body.ev-customer-ui #primary #content #edd-stripe-add-new-card{margin:24px 0 0!important;padding:0!important;border:0!important;box-shadow:none!important;background:transparent!important}
body.ev-customer-ui #primary #content #edd-stripe-add-new-card .edd-stripe-new-card{padding:20px!important;border:1px solid var(--es-line)!important;border-radius:12px!important;background:var(--es-soft)!important;box-shadow:none!important}
body.ev-customer-ui #primary #content #edd-stripe-add-new-card p{margin:0 0 18px!important}
body.ev-customer-ui #primary #content #edd-stripe-add-new-card label{display:block;margin-bottom:8px!important}
body.ev-customer-ui #primary #content #edd-stripe-add-new-card .edd-description{display:block;font-size:12px!important;line-height:1.6!important;margin:0 0 8px!important;color:var(--es-muted)!important}
body.ev-customer-ui #primary #content #edd-stripe-add-new-card iframe{border:0!important;border-radius:0!important;box-shadow:none!important}
body.ev-customer-ui #primary #content #edd-stripe-add-new-card .edd-stripe-add-card-actions{display:flex;gap:10px;margin-top:18px!important;align-items:center;flex-wrap:wrap}
body.ev-customer-ui #primary #content #edd-stripe-add-new-card :is(.edd-stripe-add-new,#edd-stripe-add-new-cancel){display:inline-flex!important;align-items:center;justify-content:center;min-height:44px!important;height:44px!important;padding:10px 18px!important;margin:0!important;border-radius:10px!important;border:1px solid var(--es-line)!important;font-size:14px!important;line-height:22px!important;font-weight:600!important;box-shadow:none!important;cursor:pointer}
body.ev-customer-ui #primary #content #edd-stripe-add-new-card .edd-stripe-add-new{background:#00bd6b!important;border-color:#00bd6b!important;color:#fff!important}
body.ev-customer-ui #primary #content #edd-stripe-add-new-card #edd-stripe-add-new-cancel{background:var(--es-surface,#fff)!important;color:var(--es-ink)!important}
@media(max-width:960px){body.ev-customer-ui #primary .ev-connected-applications-page #evelode-apps-heading{display:none!important}}
@media(max-width:600px){body.ev-customer-ui #primary #content #edd-stripe-add-new-card .edd-stripe-new-card{padding:16px!important}body.ev-customer-ui #primary #content #edd-stripe-add-new-card .edd-stripe-add-card-actions>*{flex:1}}

body.ev-purchase-failed #primary .post{padding:28px!important;border:1px solid var(--es-line);border-radius:16px;background:var(--es-panel)}
.ev-purchase-failure-content{max-width:680px;margin:auto}.ev-purchase-failure-content h2{display:flex;align-items:center;gap:12px;margin:0 0 22px;font-size:24px;line-height:1.35;color:var(--es-ink)}.ev-result-icon{display:grid;place-items:center;flex:0 0 42px;width:42px;height:42px;border-radius:10px;color:#b84e4e;background:rgba(184,78,78,.1)}.ev-result-icon svg{width:24px;height:24px}.ev-result-message{font-size:15px;line-height:1.7;color:var(--es-muted)}.ev-result-actions{display:flex;flex-wrap:wrap;gap:10px;margin-top:24px}.ev-result-actions a{display:inline-flex;align-items:center;justify-content:center;gap:9px;min-height:44px;padding:10px 16px;border:1px solid var(--es-line);border-radius:10px;color:var(--es-ink);font-size:14px;text-decoration:none}.ev-result-actions a:first-child{background:#00bd6b;color:#fff;border-color:#00bd6b}.ev-result-actions svg{width:18px;height:18px}
.ev-invoice-saved-status{font-size:13px;color:var(--es-muted);margin:8px 0}

body.ev-customer-ui #primary .ev-license-management-wrap{overflow:visible!important;border:0!important;background:transparent!important}
body.ev-customer-ui #primary table.ev-license-management{display:block!important;width:100%!important;border:0!important;background:transparent!important}
body.ev-customer-ui #primary table.ev-license-management>thead{position:absolute!important;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}
body.ev-customer-ui #primary table.ev-license-management>tbody{display:block!important}
body.ev-customer-ui #primary table.ev-license-management>tbody>tr{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr));gap:22px;padding:22px!important;border:1px solid var(--es-line)!important;border-radius:12px;margin:0 0 16px;background:var(--es-panel)!important}
body.ev-customer-ui #primary table.ev-license-management>tbody>tr>td{display:block!important;min-width:0!important;width:auto!important;margin:0!important;padding:0!important;border:0!important;background:transparent!important;vertical-align:top;overflow-wrap:anywhere}
body.ev-customer-ui #primary table.ev-license-management>tbody>tr>td::before{content:attr(data-ev-label);display:block;font-size:12px;font-weight:500;line-height:1.5;color:var(--es-muted);margin:0 0 8px}
body.ev-customer-ui #primary table.ev-license-management>tbody>tr>td:first-child{grid-column:1/-1;font-size:16px;font-weight:600}
body.ev-customer-ui #primary #edd_sl_license_keys.ev-license-management td:nth-child(2){grid-column:1/-1}
body.ev-customer-ui #primary .ev-license-management .ev-license-key-wrap{margin:0!important}
body.ev-customer-ui #primary .ev-license-management .edd_sl_show_key[hidden]{display:none!important}
body.ev-customer-ui #primary .ev-license-management-heading{display:flex;align-items:center;gap:12px;margin:24px 0!important}
body.ev-customer-ui #primary .ev-license-management a:not(.edd_sl_show_key){display:inline-flex;align-items:center;gap:8px;min-height:40px;padding:9px 12px!important;border:1px solid var(--es-line);border-radius:9px;color:var(--es-ink)!important;font-size:13px;line-height:1.5;text-decoration:none}
@media(max-width:600px){body.ev-customer-ui #primary table.ev-license-management>tbody>tr{grid-template-columns:repeat(2,minmax(0,1fr));padding:16px!important;gap:18px}body.ev-customer-ui #primary table.ev-license-management>tbody>tr>td:last-child{grid-column:auto}}
body.ev-customer-ui #primary #content #edd_sl_license_sites.ev-license-management>tbody{border:1px solid var(--es-line);border-radius:12px;background:var(--es-panel)}
body.ev-customer-ui #primary #content #edd_sl_license_sites.ev-license-management>tbody>tr{grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:8px 12px;padding:8px 12px!important;margin:0!important;border:0!important;border-radius:0;background:transparent!important}
body.ev-customer-ui #primary #content #edd_sl_license_sites.ev-license-management>tbody>tr+tr{border-block-start:1px solid var(--es-line)!important}
body.ev-customer-ui #primary #content #edd_sl_license_sites.ev-license-management>tbody>tr>td:not([colspan]){grid-column:auto}
body.ev-customer-ui #primary #content #edd_sl_license_sites.ev-license-management>tbody>tr>td[colspan]{grid-column:1/-1;padding-block:6px!important;font-size:14px;font-weight:400;color:var(--es-muted)}
body.ev-customer-ui #primary #content #edd_sl_license_sites.ev-license-management>tbody>tr>td::before{display:none}
body.ev-customer-ui #primary #content #edd_sl_license_sites .ev-record-product{gap:8px}
body.ev-customer-ui #primary #content #edd_sl_license_sites .ev-record-product>div{font-size:14px;line-height:1.4}
body.ev-customer-ui #primary #content #edd_sl_license_sites .ev-record-product-icon{flex-basis:26px;width:26px;height:26px;border-radius:7px}
body.ev-customer-ui #primary #content #edd_sl_license_sites .ev-record-product-icon svg{width:15px;height:15px}
body.ev-customer-ui #primary #content #edd_sl_license_sites .ev-record-actions a{box-sizing:border-box;width:auto;max-width:100%;min-height:40px;padding:6px 10px!important;margin:0!important;justify-content:center;text-align:center}
body.ev-customer-ui #primary #content #edd_sl_license_add_site_form{margin-block-start:14px}
@media(max-width:600px){
 body.ev-customer-ui #primary #content #edd_sl_license_sites.ev-license-management>tbody>tr{grid-template-columns:minmax(0,1fr) fit-content(47%);gap:8px;padding:5px 8px!important}
 body.ev-customer-ui #primary #content #edd_sl_license_sites .ev-record-actions a{min-height:44px}
 body.ev-customer-ui #primary #content #edd_sl_license_sites .ev-record-actions a>.ev-resource-icon{display:none}
}
@media(max-width:360px){
 body.ev-customer-ui #primary #content #edd_sl_license_sites .ev-record-product-icon{display:none}
 body.ev-customer-ui #primary #content #edd_sl_license_sites .ev-record-actions a{font-size:12px;padding-inline:8px!important}
}

body.ev-customer-ui #primary #content #edd-stripe-add-new-card .edds-field-spacer-shim{display:none!important}
body.ev-customer-ui #primary #content #edd-stripe-add-new-card :is(.edd-stripe-add-card-errors,#edd-stripe-card-errors):empty{display:none!important}
body.ev-customer-ui #primary #content #edd-stripe-add-new-card #edd_cc_card_info{margin:0!important;padding:0!important;border:0!important}
body.ev-customer-ui #primary #content #edd-stripe-manage-cards .card-actions a{gap:7px;min-height:40px!important}
@media(max-width:600px){body.ev-customer-ui #primary #content #edd-stripe-manage-cards .card-actions a{min-height:44px!important}}
body.ev-customer-ui #primary #content #edd-stripe-manage-cards .card-actions .edd-stripe-update-card::before{content:"";display:inline-block;flex:0 0 15px;width:15px;height:15px;background:currentColor;mask:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%221.7%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22m15%204%205%205M4%2020l5-1L21%207l-5-5L4%2014z%22/%3E%3C/svg%3E") center/contain no-repeat;pointer-events:none}
body.ev-customer-ui #primary #content #edd-stripe-manage-cards .card-actions>.edd-stripe-default-card::before{content:"";display:inline-block;flex:0 0 15px;width:15px;height:15px;background:currentColor;mask:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%221.7%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22m12%203%203%206%206%201-4.5%204.5%201%206.5-5.5-3-5.5%203%201-6.5L3%2010l6-1z%22/%3E%3C/svg%3E") center/contain no-repeat;pointer-events:none}
body.ev-customer-ui #primary #content #edd-stripe-manage-cards .card-actions .edd-stripe-delete-card::before{content:"";display:inline-block;flex:0 0 15px;width:15px;height:15px;background:currentColor;mask:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%221.7%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M4%207h16M9%207V4h6v3M6%207l1%2014h10l1-14M10%2010v7m4-7v7%22/%3E%3C/svg%3E") center/contain no-repeat;pointer-events:none}

body.ev-customer-ui #primary #content #edd-stripe-manage-cards .card-actions a{font-size:12px!important;padding:9px 8px!important;gap:6px!important}

body.ev-customer-ui .ev-payment-edit-dialog>header>h2{display:flex;align-items:center;gap:10px}
body.ev-customer-ui .ev-payment-edit-dialog>header>h2::before{content:"";display:block;flex:0 0 21px;width:21px;height:15px;border:1.7px solid var(--es-link,#008548);border-radius:3px;background:linear-gradient(transparent 4px,var(--es-link,#008548) 4px,var(--es-link,#008548) 6px,transparent 6px)}

/* Connected identities keep their brand icon within the same neutral control surface. */
body.ev-customer-ui #primary #content .nsl-container .nsl-container-buttons{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px!important;width:100%!important;max-width:none!important;padding:0!important}
body.ev-customer-ui #primary #content .nsl-container .nsl-container-buttons>a{display:block!important;max-width:none!important;width:100%!important;padding:0!important;margin:0!important;border:0!important}
body.ev-customer-ui #primary #content .nsl-container .nsl-button{display:flex!important;align-items:center;gap:10px;min-height:46px!important;padding:10px 12px!important;border:1px solid var(--es-line)!important;border-radius:10px!important;background:var(--es-panel)!important;color:var(--es-ink)!important;box-shadow:none!important}
body.ev-customer-ui #primary #content .nsl-container .nsl-button-svg-container{display:grid!important;place-items:center;flex:0 0 22px;width:22px!important;min-width:22px!important;height:24px!important;padding:0!important;border:0!important;background:transparent!important}
body.ev-customer-ui #primary #content .nsl-container .nsl-button-svg-container svg{width:20px!important;height:20px!important}
body.ev-customer-ui #primary #content .nsl-container [data-provider=github] svg path,body.ev-customer-ui #primary #content .nsl-container [data-provider=amazon] svg path{fill:currentColor!important}
body.ev-customer-ui #primary #content .nsl-container .nsl-button-label-container{margin:0!important;padding:0!important;min-width:0!important;white-space:normal!important;font-family:inherit!important;font-size:13px!important;line-height:1.5!important;font-weight:400!important;letter-spacing:0!important;color:var(--es-ink)!important;text-align:left!important}
body.ev-customer-ui #primary #content .nsl-container .nsl-button-label-container b{font-weight:600}
body.ev-customer-ui #primary #content #passkey_app .secure-passkey-toolbar__label{display:none!important}
body.ev-customer-ui #primary #content #passkey_app[data-secure-passkeys-ready=false] :is(.secure-passkey-toolbar__meta,.secure-passkey-row--empty){visibility:hidden!important}
body.ev-customer-ui #primary #content #edd_profile_editor_form #edd_profile_emails_wrap{margin:0 0 10px!important;padding:0!important;min-height:0!important}
body.ev-customer-ui #primary #content #edd_profile_editor_form .edd-profile-emails{width:100%;margin:0 0 20px!important;padding:0!important;list-style:none!important}
body.ev-customer-ui #primary #content #edd_profile_editor_form .edd-profile-emails li{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:48px;padding:8px 0!important;margin:0!important;font-size:13px!important;line-height:1.5!important;overflow-wrap:anywhere}
body.ev-customer-ui #primary #content #edd_profile_editor_form .edd-profile-emails a.delete{display:inline-flex!important;align-items:center;justify-content:center;flex-shrink:0;min-height:36px!important;margin:0!important;padding:7px 10px!important;border:1px solid rgba(184,78,78,.22)!important;border-radius:8px!important;color:#b84e4e!important;background:rgba(184,78,78,.04)!important;font-size:12px!important;line-height:20px!important;text-decoration:none!important}
html[data-store-theme=dark] body.ev-customer-ui #primary #content #edd_profile_editor_form .edd-profile-emails a.delete{color:#ffb7b1!important;border-color:#704844!important;background:#302022!important}
@media(max-width:600px){body.ev-customer-ui #primary #content .nsl-container .nsl-container-buttons{grid-template-columns:minmax(0,1fr)}}


/* The mobile section button already supplies the page title. Keep only section headings in the contents. */
@media(max-width:960px){body.ev-customer-ui #primary #content .post-text .ev-mobile-page-title{display:none!important}}
/* Saving is one action group, separated by spacing rather than a fieldset rule. */
body.ev-customer-ui #primary #content #edd_profile_editor_form #edd_profile_submit_fieldset{border:0!important;margin:20px 0 0!important;padding:0!important}
body.ev-customer-ui #primary #content form.wpua-edit>p.submit{border:0!important;margin:20px 0 0!important;padding:0!important}

/* Shared content spacing; native table wrappers must not add a second inset. */
body.ev-customer-ui #primary #content .ev-account-table-scroll{margin:0!important}
body.ev-customer-ui #primary form.checkout-dashboard-searchform{margin:0 0 18px!important}
body.ev-customer-ui #primary #content .ev-downloads-intro{margin:0 0 16px!important;padding:0!important}
body.ev-customer-ui #primary #content .ev-downloads-intro p{margin-top:0!important}
body.ev-customer-ui #primary #content .ev-download-catalog .ev-record-product>div{display:block!important}
body.ev-customer-ui #primary #content .ev-download-catalog .aa-hd-label{display:inline-flex!important;margin:0 8px 4px 0!important;vertical-align:middle}
body.ev-customer-ui #primary #content .ev-download-product-title{display:inline!important;vertical-align:middle}
body.ev-customer-ui #primary #content .ev-purchase-history-table .ev-record-product{align-items:center!important}
body.ev-customer-ui #primary #content .ev-purchase-history-table .ev-record-product>div{margin:0!important;line-height:1.4}
/* Quiet grouped rows instead of a collection of oversized dashboard tiles. */
body.ev-customer-ui #primary #content .ev-dashboard-section>.ev-dashboard-detail-grid{grid-template-columns:minmax(0,1fr)!important;gap:0!important;border:0!important}
body.ev-customer-ui #primary #content .ev-dashboard-section .account-details-text{display:grid!important;grid-template-columns:minmax(105px,.8fr) minmax(0,1.2fr);align-items:start!important;gap:8px 16px!important;padding:12px 0!important;margin:0!important;border:0!important;border-bottom:1px solid var(--es-line,#e0e5e2)!important;border-radius:0!important;background:transparent!important}
body.ev-customer-ui #primary #content .ev-dashboard-section .account-details-text:last-child{border-bottom:0!important}
body.ev-customer-ui #primary #content .ev-dashboard-section .account-details-text>b{font-size:12px!important;line-height:1.6!important;font-weight:500!important;gap:7px!important}
body.ev-customer-ui #primary #content .ev-dashboard-section .ev-dashboard-value{font-size:14px!important;font-weight:500!important;line-height:1.55!important;letter-spacing:normal!important;min-width:0;overflow-wrap:anywhere;text-align:left!important}
body.ev-customer-ui #primary #content .ev-dashboard-section>.account-details-subsection-heading{margin-bottom:4px!important;font-size:13px!important;color:var(--es-ink)!important}
body.ev-customer-ui #primary #content .edd-github-repositories-repo-name a{gap:7px!important}
body.ev-customer-ui #primary #content .edd-github-repositories-repo-name .ev-resource-icon{width:18px!important;min-width:18px!important;margin:0!important;flex:0 0 18px!important}
body.ev-customer-ui #primary #content .edd-graftype-api-github-action:not(.button-disabled):is(:hover,:active,:focus){opacity:1!important;filter:none!important}
body.ev-customer-ui #primary #content .edd-graftype-api-github-action[data-type=join]:hover{background:#009b54!important;color:#fff!important;border-color:#009b54!important}
body.ev-customer-ui #primary #content .post-text>p+.ev-account-table-scroll{margin-top:16px!important}

/* Embedded sign-in providers are compact icons, separate from connected-account cards. */
body.ev-customer-ui #primary #content :is(#edd_login_form,#loginform) .nsl-container .nsl-container-buttons{display:flex!important;flex-flow:row wrap!important;align-items:center;justify-content:center!important;gap:8px!important;width:100%!important;max-width:100%!important;padding:0!important}
body.ev-customer-ui #primary #content :is(#edd_login_form,#loginform) .nsl-container .nsl-container-buttons>a{display:block!important;flex:0 0 44px!important;width:44px!important;min-width:44px!important;max-width:44px!important;height:44px!important;min-height:44px!important;padding:0!important;margin:0!important}
body.ev-customer-ui #primary #content :is(#edd_login_form,#loginform) .nsl-container .nsl-button{display:flex!important;align-items:center!important;justify-content:center!important;gap:0!important;width:44px!important;height:44px!important;min-height:44px!important;padding:0!important;margin:0!important;border-radius:12px!important}
body.ev-customer-ui #primary #content :is(#edd_login_form,#loginform) .nsl-container .nsl-button-svg-container{display:grid!important;place-items:center;flex:0 0 24px!important;width:24px!important;min-width:24px!important;height:24px!important;margin:0!important;padding:0!important}
body.ev-customer-ui #primary #content :is(#edd_login_form,#loginform) .nsl-container .nsl-button-svg-container svg{display:block!important;width:24px!important;height:24px!important}
body.ev-customer-ui #primary #content :is(#edd_login_form,#loginform) .nsl-container .nsl-button-label-container{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important;border:0!important}

/* Center the introduction and recovery action of the embedded account sign-in form. */
body.ev-customer-ui #primary #content #edd_login_form legend{display:block!important;width:100%!important;text-align:center!important}
body.ev-customer-ui #primary #content #edd_login_form .edd-lost-password{display:block!important;width:100%!important;text-align:center!important}
body.ev-customer-ui #primary #content #edd_login_form .edd-lost-password>a{display:inline-flex!important;align-items:center;justify-content:center;width:auto!important;max-width:100%!important}

/* Gallery review: one content rhythm for the remaining customer screens. */
body.ev-customer-ui #primary .ev-connected-applications-page .ev-connections>.ev-intro{margin:0 0 16px!important}
body.ev-customer-ui #primary .ev-connections-help{display:flex;align-items:center!important;gap:10px}
body.ev-customer-ui #primary .ev-connections-help>p{margin:0!important}
body.ev-customer-ui #primary .ev-connections-help>svg{flex:0 0 18px;margin:0!important}
body.ev-customer-ui #primary #content .ev-dashboard-section .account-details-text{grid-template-columns:minmax(154px,1fr) minmax(0,1.2fr)}
body.ev-customer-ui #primary .ev-dashboard-token-group{grid-column:1/-1;max-width:100%}
body.ev-customer-ui #primary .ev-license-key-wrap{align-items:center;gap:8px;width:calc(var(--ev-license-key-width,32ch) + 86px)!important;padding:9px 10px}
body.ev-customer-ui #primary #content .ev-license-key-wrap textarea.ev-license-key-full{white-space:pre!important;overflow:hidden!important;overflow-wrap:normal!important;word-break:normal!important;resize:none;min-height:20px!important;height:22px!important;max-height:22px!important;flex:1;width:0;min-width:0;padding:0!important;margin:0!important;border:0!important;background:transparent!important;box-shadow:none!important;font:13px/20px ui-monospace,SFMono-Regular,Consolas,monospace!important}
body.ev-customer-ui #primary .ev-license-copy-button{display:grid!important;place-items:center;flex:0 0 28px;width:28px!important;height:28px!important;min-height:28px!important;padding:4px!important;margin:0!important;background:transparent!important;border:0!important;color:var(--es-link);border-radius:6px}
body.ev-customer-ui #primary .ev-license-copy-button svg{width:18px;height:18px}
body.ev-customer-ui #primary #content .ev-download-live-search{margin-bottom:12px!important;background:var(--es-panel)!important}
body.ev-customer-ui #primary #content .ev-download-live-search input[type=search]{background:transparent!important}
body.ev-customer-ui #primary #content .ev-download-search-status:empty{display:none!important;min-height:0!important;margin:0!important}
body.ev-customer-ui #primary #content .ev-download-search-status:not(:empty){margin:4px 0 12px!important}
body.ev-customer-ui #primary #content .ev-download-catalog tbody tr{padding-block:18px!important}
body.ev-customer-ui #primary #content .edd-graftype-api-github-info{margin:0 0 22px!important;font-size:14px;line-height:1.7}
body.ev-customer-ui #primary #content .edd-github-repositories-repo-name a{display:inline-flex!important;justify-content:flex-start!important;align-items:center;gap:8px!important}
body.ev-customer-ui #primary #content .edd-github-repositories-repo-name .ev-resource-icon i{display:block;margin:0!important;font-size:18px;width:18px}
body.ev-customer-ui #primary #content .ev-record-product{align-items:center!important}
body.ev-customer-ui #primary #content .ev-record-product>div{margin:0!important;line-height:1.5}
body.ev-customer-ui #primary #content #edd-stripe-manage-cards .ev-payment-card-face>.ev-payment-card-symbol{align-self:start;grid-area:1/1/3/2;min-height:28px;height:28px;padding:0!important;border:0!important;border-radius:0!important;background:transparent!important}
body.ev-customer-ui #primary #content .edd-search-proxy-row{box-shadow:none!important;border:1px solid var(--es-line)!important;border-radius:10px!important;background:var(--es-panel)!important;padding:0!important}
body.ev-customer-ui #primary #content #edd-proxies-customer-tables-wrapper .edd-search-proxy-row>.edd-search-proxy-input{box-shadow:none!important;border:0!important;border-radius:0!important;background:transparent!important}
body.ev-customer-ui #primary #content #edd-proxies-customer-tables-wrapper .edd-search-proxy-row:focus-within{border-color:var(--es-muted)!important}
body.ev-customer-ui #primary #content #edd-proxies-customer-tables-wrapper .edd-search-proxy-search{min-height:44px}
body.ev-customer-ui #primary #content #edd-proxies-customer-tables-wrapper .ev-proxy-search-clear{display:grid;flex:0 0 36px;place-items:center;align-self:stretch;margin:0!important;padding:0!important;border:0!important;background:transparent!important;color:var(--es-muted)!important;box-shadow:none!important}
body.ev-customer-ui #primary #content #edd-proxies-customer-tables-wrapper .ev-proxy-search-clear:is(:hover,:focus-visible){color:var(--es-link)!important}
body.ev-customer-ui #primary #content .ev-proxy-format{height:44px!important;min-height:44px!important;padding:0!important;box-sizing:border-box}
body.ev-customer-ui #primary #content .ev-proxy-format #edd-download-type{height:42px!important;min-height:42px!important;margin:0!important;border:0!important;background:transparent!important}
body.ev-customer-ui #primary #content #edd-proxies-customer-tables-wrapper .ev-proxy-format{border:1px solid var(--es-line);border-radius:var(--ev-control-radius);background:var(--es-panel)}
html[data-store-theme=dark] body.ev-customer-ui #primary #content #edd-proxies-customer-tables-wrapper .ev-proxy-format{background:var(--es-soft)}
body.ev-customer-ui #primary #content #edd-proxies-customer-tables-wrapper .ev-proxy-format:focus-within{border-color:var(--es-muted)}
body.ev-customer-ui #primary #content #edd-proxies-customer-tables-wrapper .ev-proxy-format #edd-download-type{background:transparent!important}
body.ev-customer-ui #primary #content #edd-proxies-customer-tables-wrapper .edd-page-proxy-row{display:flex;flex-wrap:wrap;justify-content:center;gap:8px;margin-top:20px;overflow-anchor:none}
body.ev-customer-ui #primary #content #edd-proxies-customer-tables-wrapper :is(.edd-page-proxy-row,button)[hidden]{display:none!important}
body.ev-customer-ui #primary #content #edd-proxies-customer-tables-wrapper .ev-proxy-list-status{color:var(--es-muted);font-size:13px}
body.ev-customer-ui #primary #content #edd-proxies-customer-tables-wrapper .ev-proxy-list-status:empty{display:none}
body.ev-customer-ui #primary #content #edd-proxies-customer-tables-wrapper .edd-page-proxy-row .ev-proxy-list-status{flex-basis:100%;text-align:center}
body.ev-customer-ui #primary #content #edd-proxies-customer-tables-wrapper .ev-proxy-load-more:disabled{opacity:.65}
body.ev-customer-ui #primary #content #edd-proxies-customer-tables-wrapper .ev-proxy-bulk-action{gap:6px;vertical-align:middle}
body.ev-customer-ui #primary #content #edd-proxies-customer-tables-wrapper .ev-proxy-bulk-action>svg{display:block;flex:0 0 16px;margin:0}
body.ev-customer-ui #primary #content #edd-proxies-customer-tables-wrapper .ev-proxy-bulk-action>span{position:relative;inset-block-start:1px}
body.ev-customer-ui #primary #content h3.edd-proxies-customer-stats-wrapper{margin-block-start:0!important}
.ev-proxy-country{display:contents}
.ev-proxy-country-name{display:none}
@media(max-width:960px){
 .ev-proxy-country{display:inline-flex;align-items:center;gap:8px;max-width:100%;vertical-align:middle}
 .ev-proxy-country>.edd-proxies-proxy-img{flex:none}
 .ev-proxy-country-name{display:block;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:13px}
}
body.ev-customer-ui #primary #content .currency_switch_form select{width:100%!important;max-width:none!important;min-height:44px!important}
body.ev-customer-ui #primary #content #edd_wallet_deposit_amount_wrapper ul{gap:10px;margin:16px 0}
body.ev-customer-ui #primary #content #edd_wallet_deposit_amount_wrapper li label{min-height:44px!important;padding:10px 12px!important;font-size:14px!important}
body.ev-customer-ui #primary #content #edd_wallet_deposit_amount_wrapper #edd_wallet_custom_deposit{min-height:44px!important;height:44px!important;margin:0 12px 12px!important;width:calc(100% - 24px)}
body.ev-customer-ui #primary #content #edd_wallet_deposit_amount_wrapper li:has(input:checked){background:var(--es-tint);box-shadow:none!important}
body.ev-customer-ui #primary #content .edd-wallet-deposit:disabled{opacity:1!important;color:var(--es-muted)!important;background:var(--es-soft)!important;border:1px solid var(--es-line)!important;box-shadow:none!important}
@media(max-width:960px){body.ev-customer-ui #primary #content .ev-download-product-title{font-size:15px!important}body.ev-customer-ui #primary #content .ev-download-catalog .aa-hd-label{font-size:10px!important;padding:4px 7px!important}body.ev-customer-ui #primary #content .ev-download-toggle{min-height:40px!important;padding:8px 11px!important;font-size:13px!important}}
@media(max-width:359px){body.ev-customer-ui #primary #content .ev-dashboard-section .account-details-text{grid-template-columns:minmax(0,1fr);gap:4px}}
/* Preserve the order list, with one inset and less space between fields. */
body.ev-customer-ui #primary #content .ev-purchase-history-table{display:block!important;min-width:0!important;border:0!important;background:transparent!important}
body.ev-customer-ui #primary #content .ev-purchase-history-table>thead{position:absolute!important;clip-path:inset(50%);width:1px;height:1px;overflow:hidden}
body.ev-customer-ui #primary #content .ev-purchase-history-table>tbody{display:block!important}
body.ev-customer-ui #primary #content .ev-purchase-history-table>tbody>tr{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;align-items:start;gap:8px 20px!important;margin:0!important;padding:14px 18px!important;border:0!important;border-bottom:1px solid var(--es-line)!important;border-radius:0!important;background:transparent!important}
body.ev-customer-ui #primary #content .ev-purchase-history-table>tbody>tr:last-child{border-bottom:0!important}
body.ev-customer-ui #primary #content .ev-purchase-history-table>tbody>tr>td{display:block!important;grid-column:auto;min-width:0;width:auto!important;padding:0!important;margin:0!important;border:0!important;background:transparent!important;line-height:1.4}
body.ev-customer-ui #primary #content .ev-purchase-history-table>tbody>tr>td.ev-history-empty{display:none!important}
body.ev-customer-ui #primary #content .ev-purchase-history-table>tbody>tr>td:is(.edd_purchase_id,.edd_license_key){grid-column:1/-1}
body.ev-customer-ui #primary #content .ev-purchase-history-table td::before{display:block!important;content:attr(data-ev-label);font-size:12px;line-height:1.35;color:var(--es-muted);margin:0 0 3px!important}
body.ev-customer-ui #primary #content .ev-purchase-history-table td.edd_purchase_id::before{display:none!important}
body.ev-customer-ui #primary #content .ev-purchase-history-table .ev-order-number-copy{display:inline-flex!important;align-items:center;gap:7px;min-width:0;max-width:100%;min-height:32px!important;margin:0!important;padding:0!important;border:0!important;background:transparent!important;box-shadow:none!important;color:inherit!important;font:inherit!important;font-weight:650!important;text-align:start;vertical-align:middle;cursor:pointer;overflow-wrap:anywhere}
body.ev-customer-ui #primary #content .ev-order-number-copy-icon{display:inline-flex;flex:0 0 15px;color:var(--es-muted)}
body.ev-customer-ui #primary #content .ev-order-number-copy-icon svg{width:15px;height:15px}
body.ev-customer-ui #primary #content .ev-order-number-copy:is(:hover,:focus-visible,.is-copied) .ev-order-number-copy-icon{color:var(--es-link)}
body.ev-customer-ui #primary #content .ev-order-number-copy:focus-visible{outline:2px solid var(--es-link);outline-offset:3px;border-radius:3px}
body.ev-customer-ui #primary #content .ev-order-number-copy-feedback:not(:empty){margin-inline-start:8px;color:var(--es-muted);font-size:12px;font-weight:400;vertical-align:middle}
body.ev-customer-ui #primary #content .ev-purchase-history-table .ev-history-detail-actions{display:flex;align-items:center;flex-wrap:wrap;gap:0 6px}
body.ev-customer-ui #primary #content .ev-purchase-history-table .ev-history-detail-actions>.edd_purchase_status::after{content:" —"}
body.ev-customer-ui #primary #content .ev-purchase-history-table td:is(.edd_purchase_details,.edd_invoice,.edd_license_key)>a,
body.ev-customer-ui #primary #content .ev-purchase-history-table .ev-history-detail-actions>a{display:inline-flex!important;align-items:center;justify-content:flex-start!important;box-sizing:border-box;gap:6px!important;width:auto!important;max-width:100%;min-height:34px!important;padding:4px 0!important;margin:0!important;border:0!important;background:transparent!important;box-shadow:none!important;color:var(--es-link)!important;font-size:13px!important;line-height:1.4!important;white-space:normal;overflow-wrap:normal;word-break:normal;text-decoration:none!important}
body.ev-customer-ui #primary #content .ev-purchase-history-table>tbody>tr>td.edd_invoice:not(.ev-history-empty){display:flex!important;align-items:center;flex-wrap:wrap;gap:0 10px}
body.ev-customer-ui #primary #content .ev-purchase-history-table td.edd_invoice::before{flex:0 0 100%}
body.ev-customer-ui #primary #content .ev-purchase-history-table td a :is(.ev-resource-icon,.ev-receipt-resource-icon){display:grid!important;place-items:center;flex:0 0 16px!important;width:16px!important;height:16px!important;margin:0!important}
body.ev-customer-ui #primary #content .ev-purchase-history-table td a svg{width:16px!important;height:16px!important}
/* Center the visible letterforms, whose font box sits slightly above the icon. */
body.ev-customer-ui #primary #content .ev-purchase-history-table .ev-history-action-label{min-width:0;position:relative;inset-block-start:1.5px}
body.ev-customer-ui #primary #content .ev-purchase-history-table .ev-history-recovery .ev-history-action-label{inset-block-start:.5px}
@media(max-width:768px){body.ev-customer-ui #primary #content .ev-purchase-history-table>tbody>tr{padding-inline:0!important}}
@media(max-width:600px){
 body.ev-customer-ui #primary #content .ev-purchase-history-table>tbody>tr>td:is(.edd_purchase_details,.edd_invoice){grid-column:1/-1}
 body.ev-customer-ui #primary #content .ev-purchase-history-table td.edd_invoice>a{font-size:12px!important}
 body.ev-customer-ui #primary #content .ev-purchase-history-table td:is(.edd_purchase_details,.edd_invoice,.edd_license_key)>a,
 body.ev-customer-ui #primary #content .ev-purchase-history-table .ev-history-detail-actions>a{min-height:40px!important}
}
/* Keep one vertical inset per download row, including the open links. */
body.ev-customer-ui #primary #content .ev-downloads-intro{margin-bottom:8px!important}
body.ev-customer-ui #primary #content table.ev-download-catalog>tbody>tr{padding:0!important}
body.ev-customer-ui #primary #content table.ev-download-catalog>tbody>tr>td.ev-product-cell{gap:8px 16px;padding:13px 0!important}
body.ev-customer-ui #primary #content table.ev-download-catalog .ev-download-product-title{line-height:1.35}
body.ev-customer-ui #primary #content table.ev-download-catalog>tbody>tr>td.ev-download-files{gap:6px 10px;padding:0 0 12px!important}
body.ev-customer-ui #primary #content table.ev-download-catalog .ev-download-files a[data-ev-resource-kind]{min-height:40px;padding:8px 10px!important}
body.ev-customer-ui #primary #content table.ev-download-catalog .ev-download-toggle{min-height:40px!important;padding:7px 11px!important}
@media(max-width:700px){body.ev-customer-ui #primary #content table.ev-download-catalog .ev-download-toggle{min-height:44px!important}}
body.ev-customer-ui #primary #content #edd_sl_license_upgrades.ev-license-management>tbody>tr{grid-template-columns:minmax(0,1fr) auto!important;gap:18px}
body.ev-customer-ui #primary #content #edd_sl_license_upgrades.ev-license-management>tbody>tr>td:first-child{grid-column:1/-1}
body.ev-customer-ui #primary #content #edd_sl_license_upgrades .edd_sl_actions>a{white-space:nowrap;justify-content:center;min-height:42px;padding:9px 14px!important}
@media(max-width:600px){body.ev-customer-ui #primary #content #edd_sl_license_upgrades.ev-license-management>tbody>tr{grid-template-columns:minmax(0,1fr)!important}body.ev-customer-ui #primary #content #edd_sl_license_upgrades .edd_sl_actions>a{width:100%;box-sizing:border-box}}
.ev-purchase-failure-content{text-align:center}.ev-purchase-failure-content h2{justify-content:center}.ev-purchase-failure-content .ev-result-message p{text-align:center!important}.ev-purchase-failure-content .ev-result-actions{justify-content:center}
@media(max-width:600px){
 body.ev-purchase-failed #primary #content .post:has(.ev-purchase-failure-content){padding:24px 18px!important;background:var(--es-panel)!important;box-shadow:none!important}
 body.ev-purchase-failed #primary #content .post :is(.post-content,.post-text):has(.ev-purchase-failure-content){padding:0!important;border:0!important;border-radius:0!important;background:transparent!important;box-shadow:none!important}
 .ev-purchase-failure-content h2{flex-direction:column;gap:10px;margin-bottom:12px;font-size:22px}
 .ev-purchase-failure-content .ev-result-message p{margin:0}
 .ev-purchase-failure-content .ev-result-actions{display:grid;width:min(100%,280px);margin:20px auto 0}
}

/* The nested activation screen uses the same key control as the license list. */
body.ev-customer-ui #primary #content .edd-sl-manage-license-details{display:grid;grid-template-columns:minmax(0,1fr);gap:12px;margin:0 0 24px!important;padding:16px!important;border:1px solid var(--es-line);background:var(--es-soft)!important}
body.ev-customer-ui #primary #content .edd-sl-manage-license-details>span{margin:0}
body.ev-customer-ui #primary #content .edd-sl-manage-license-key{display:block;min-width:0}
body.ev-customer-ui #primary .ev-license-context-label{display:block;font-size:13px;font-weight:600;line-height:20px;color:var(--es-ink);margin-bottom:8px}
body.ev-customer-ui #primary #content .edd-sl-manage-license-key .ev-license-key-wrap{width:min(100%,380px)!important;min-height:44px;padding:0 4px 0 12px;margin:0!important;background:var(--es-panel)}
body.ev-customer-ui #primary #content .edd-sl-manage-license-key .ev-license-key-wrap:focus-within{border-color:var(--es-link)}
body.ev-customer-ui #primary #content .edd-sl-manage-license-key .ev-license-copy-button{flex:0 0 40px;width:40px!important;height:40px!important}
body.ev-customer-ui #primary #content .edd-sl-manage-license-key .ev-license-copy-button:is(:hover,:focus-visible),body.ev-customer-ui #primary #content .edd-sl-manage-license-key .ev-license-key-wrap:has(.is-copied) .ev-license-copy-button{background:var(--es-tint)!important}
body.ev-customer-ui #primary #content .edd-sl-manage-license-key .ev-license-copy-feedback{inset:-26px 0 auto auto}
body.ev-customer-ui #primary #content .edd-sl-manage-license-product{color:var(--es-muted);font-size:13px;line-height:1.5}
body.ev-customer-ui #primary #content .edd-sl-manage-license-product>span{color:var(--es-ink)}
@media(max-width:480px){
 body.ev-customer-ui #primary #content .edd-sl-manage-license-details{padding:12px!important}
 body.ev-customer-ui #primary #content .edd-sl-manage-license-key .ev-license-key-icon{display:none}
 body.ev-customer-ui #primary #content .edd-sl-manage-license-key textarea.ev-license-key-full{font-size:12px!important}
}
body.ev-customer-ui #primary #content .edd_all_access_pass_name{display:block;margin:0!important;padding:0!important}
@media(max-width:600px){body.ev-customer-ui #primary #content .edd_aelia_currencyselector_widget,body.ev-customer-ui #primary #content .currency_switch_form{display:block!important;width:100%!important;max-width:none!important}}

body.ev-customer-ui #primary #content .currency_switch_form{padding:0!important;margin:0!important;border:0!important;background:transparent!important;box-shadow:none!important}

/* The overview fills the account grid; token controls use half the content width. */
body.ev-customer-ui #primary .ev-dashboard-overview .ev-dashboard-sections{grid-template-columns:minmax(0,1fr)!important;max-width:none}
body.ev-customer-ui #primary article.post:has(.ev-dashboard-overview){box-sizing:border-box;width:100%!important;max-width:none!important;min-width:0;margin-inline:0!important}
@media(min-width:768px){body.ev-customer-ui #primary .ev-dashboard-token-group{width:50%}}

/* Match the license details heading to the adjacent analytics heading in stacked cards. */
@media(max-width:768px){
 body.ev-customer-ui #primary #edd_sl_license_keys .ev-license-details>.ev-record-heading{color:#111827}
 body.ev-customer-ui #primary #edd_sl_license_keys .ev-license-details>.ev-record-heading>span:first-child{align-items:center;justify-content:center;flex:0 0 18px;width:18px;height:18px;color:#00bf63}
 body.ev-customer-ui #primary #edd_sl_license_keys .ev-license-details>.ev-record-heading svg{display:block;width:18px;height:18px;stroke-width:2}
 html[data-store-theme=dark] body.ev-customer-ui #primary #edd_sl_license_keys .ev-license-details>.ev-record-heading{color:var(--es-ink)}
}

/* Paint the face and its actions from the native Stripe markup, before JS loads. */
@media(max-width:960px){body.ev-customer-ui #primary #content #edd-stripe-manage-cards[data-ev-billing-layout]>fieldset>legend{display:none!important}}
body.ev-customer-ui #primary #content #edd-stripe-manage-cards[data-ev-billing-layout]>fieldset{grid-template-columns:repeat(auto-fit,minmax(min(100%,280px),1fr))!important;gap:16px!important}
body.ev-customer-ui #primary #content #edd-stripe-manage-cards[data-ev-billing-layout]>fieldset>legend{min-height:36px;margin:0 0 24px!important}
body.ev-customer-ui #primary #content #edd-stripe-manage-cards[data-ev-billing-layout]>fieldset>.ev-payment-card-placeholder{grid-column:auto}
body.ev-customer-ui #primary #content #edd-stripe-manage-cards[data-ev-billing-layout]>fieldset>.edd-stripe-card-item{
 --ev-face-base:#126477;--ev-face-side:#2452a2;--ev-face-middle:#2264a7;--ev-face-end:#1d62a1;--ev-face-ink:#fff;
 --ev-face-light:#55f2db;--ev-face-bloom:#348fff;--ev-face-spark:#97ef9e;
 --ev-face-light-origin:81% -18%;--ev-face-bloom-origin:76% 113%;--ev-face-spark-origin:108% 35%;
 --ev-face-inset:clamp(16px,2.25vw,22px);--ev-card-delete:#a64349;
 position:relative;isolation:isolate;overflow:visible;box-sizing:border-box;display:grid!important;grid-template-columns:minmax(0,1fr);grid-template-rows:112px minmax(40px,auto) auto 1fr;align-content:start;
 min-width:0;min-height:0!important;height:auto;margin:0!important;padding:0!important;border:0!important;border-radius:0!important;background:none!important;box-shadow:none!important;color:var(--es-ink)!important;
 font-family:"Evelode Account",system-ui,sans-serif;
}
body.ev-customer-ui #primary #content #edd-stripe-manage-cards[data-ev-billing-layout]>fieldset>.edd-stripe-card-item::before{
 content:""!important;display:block!important;grid-area:1/1/3/2;z-index:-1;border:0;border-radius:16px;
 background:var(--ev-face-base);
 background:
  radial-gradient(ellipse 36% 55% at 103% 118%,color-mix(in oklab,var(--ev-face-end) 82%,transparent) 4%,transparent 100%),
  radial-gradient(ellipse 43% 90% at var(--ev-face-spark-origin),var(--ev-face-spark) 8%,color-mix(in oklab,var(--ev-face-spark) 78%,transparent) 37%,transparent 95%),
  radial-gradient(ellipse var(--ev-face-light-width,48%) 90% at var(--ev-face-light-origin),var(--ev-face-light) 10%,transparent 97%),
  radial-gradient(ellipse var(--ev-face-bloom-width,52%) 91% at var(--ev-face-bloom-origin),var(--ev-face-bloom) 10%,transparent 96%),
  radial-gradient(ellipse 66% 108% at -9% 107%,var(--ev-face-side),transparent 100%),
  linear-gradient(136deg in oklab,var(--ev-face-base),var(--ev-face-middle) 54%,var(--ev-face-end));
 box-shadow:0 9px 19px -12px #1027238c;
}
@media(max-width:360px){body.ev-customer-ui #primary #content #edd-stripe-manage-cards[data-ev-billing-layout]>fieldset>.edd-stripe-card-item{--ev-face-light-width:35%;--ev-face-bloom-width:37%}}
body.ev-customer-ui #primary #content #edd-stripe-manage-cards[data-ev-billing-layout]>fieldset>:is([data-ev-network=visa],[data-ev-network=diners],[data-ev-network=maestro],[data-ev-network=girocard]){
 --ev-face-base:#5940a0;--ev-face-side:#3946a0;--ev-face-middle:#6345af;--ev-face-end:#3052bc;
 --ev-face-light:#a893ff;--ev-face-bloom:#fc6dc8;--ev-face-spark:#5ad9ff;
 --ev-face-light-origin:76% -18%;--ev-face-bloom-origin:79% 115%;--ev-face-spark-origin:108% 6%;
}
body.ev-customer-ui #primary #content #edd-stripe-manage-cards[data-ev-billing-layout]>fieldset>:is([data-ev-network=amex],[data-ev-network=jcb],[data-ev-network=cartes-bancaires],[data-ev-network=vpay]){
 --ev-face-base:#1a609c;--ev-face-side:#3353a7;--ev-face-middle:#245cb1;--ev-face-end:#384eaa;
 --ev-face-light:#4adeff;--ev-face-bloom:#a373ff;--ev-face-spark:#ff894d;
 --ev-face-light-origin:90% -8%;--ev-face-bloom-origin:76% 113%;--ev-face-spark-origin:109% 48%;
}
body.ev-customer-ui #primary #content #edd-stripe-manage-cards[data-ev-billing-layout]>fieldset>:is([data-ev-network=mastercard],[data-ev-network=discover],[data-ev-network=interac],[data-ev-network=dankort]){
 --ev-face-base:#923763;--ev-face-side:#a33155;--ev-face-middle:#a63b66;--ev-face-end:#a53e67;
 --ev-face-light:#ff688f;--ev-face-bloom:#e267d8;--ev-face-spark:#ffca5e;
 --ev-face-light-origin:80% -15%;--ev-face-bloom-origin:79% 117%;--ev-face-spark-origin:107% 14%;
}
body.ev-customer-ui #primary #content #edd-stripe-manage-cards[data-ev-billing-layout]>fieldset>.edd-stripe-card-item:has(.card-is-default){
 --ev-face-base:#08705e;--ev-face-side:#086a78;--ev-face-middle:#087467;--ev-face-end:#106463;
 --ev-face-light:#53f5a6;--ev-face-bloom:#12cdd8;--ev-face-spark:#d6fa6b;
 --ev-face-light-origin:80% -15%;--ev-face-bloom-origin:78% 116%;--ev-face-spark-origin:105% 9%;
}
html[data-store-theme=dark] body.ev-customer-ui #primary #content #edd-stripe-manage-cards[data-ev-billing-layout]>fieldset>.edd-stripe-card-item{--ev-card-delete:#f2aeb1}
/* The native brand text also identifies the card if the logo is unavailable. */
#edd-stripe-manage-cards[data-ev-billing-layout] [data-ev-network=amex]{--ev-card-logo:url("./assets/card-networks/face/amex.png")}
#edd-stripe-manage-cards[data-ev-billing-layout] [data-ev-network=cartes-bancaires]{--ev-card-logo:url("./assets/card-networks/face/cartes-bancaires.png")}
#edd-stripe-manage-cards[data-ev-billing-layout] [data-ev-network=dankort]{--ev-card-logo:url("./assets/card-networks/face/dankort.png")}
#edd-stripe-manage-cards[data-ev-billing-layout] [data-ev-network=diners]{--ev-card-logo:url("./assets/card-networks/face/diners.png")}
#edd-stripe-manage-cards[data-ev-billing-layout] [data-ev-network=discover]{--ev-card-logo:url("./assets/card-networks/face/discover.png")}
#edd-stripe-manage-cards[data-ev-billing-layout] [data-ev-network=eftpos]{--ev-card-logo:url("./assets/card-networks/face/eftpos.png")}
#edd-stripe-manage-cards[data-ev-billing-layout] [data-ev-network=elo]{--ev-card-logo:url("./assets/card-networks/face/elo.png")}
#edd-stripe-manage-cards[data-ev-billing-layout] [data-ev-network=girocard]{--ev-card-logo:url("./assets/card-networks/face/girocard.png")}
#edd-stripe-manage-cards[data-ev-billing-layout] [data-ev-network=interac]{--ev-card-logo:url("./assets/card-networks/face/interac.png")}
#edd-stripe-manage-cards[data-ev-billing-layout] [data-ev-network=jcb]{--ev-card-logo:url("./assets/card-networks/face/jcb.png")}
#edd-stripe-manage-cards[data-ev-billing-layout] [data-ev-network=maestro]{--ev-card-logo:url("./assets/card-networks/face/maestro.png")}
#edd-stripe-manage-cards[data-ev-billing-layout] [data-ev-network=mastercard]{--ev-card-logo:url("./assets/card-networks/face/mastercard.png")}
#edd-stripe-manage-cards[data-ev-billing-layout] [data-ev-network=rupay]{--ev-card-logo:url("./assets/card-networks/face/rupay.png")}
#edd-stripe-manage-cards[data-ev-billing-layout] [data-ev-network=unionpay]{--ev-card-logo:url("./assets/card-networks/face/unionpay.png")}
#edd-stripe-manage-cards[data-ev-billing-layout] [data-ev-network=visa]{--ev-card-logo:url("./assets/card-networks/face/visa.png")}
#edd-stripe-manage-cards[data-ev-billing-layout] [data-ev-network=vpay]{--ev-card-logo:url("./assets/card-networks/face/vpay.png")}
body.ev-customer-ui #primary #content #edd-stripe-manage-cards[data-ev-billing-layout]>fieldset>.edd-stripe-card-item>.card-details{
 position:relative;grid-area:1/1;display:block;min-width:0;margin:0!important;padding:56px var(--ev-face-inset) 0!important;color:var(--ev-face-ink)!important;
 font-size:21px!important;line-height:1.25!important;font-weight:500;letter-spacing:.075em;font-variant-numeric:tabular-nums;
}
body.ev-customer-ui #primary #content #edd-stripe-manage-cards[data-ev-billing-layout]>fieldset>.edd-stripe-card-item .card-brand{
 position:absolute;inset-block-start:18px;inset-inline-start:var(--ev-face-inset);display:block;max-width:calc(100% - 116px);color:var(--ev-face-ink)!important;
 font-size:13px;font-weight:650;line-height:1.2;letter-spacing:.01em;overflow-wrap:anywhere;
}
body.ev-customer-ui #primary #content #edd-stripe-manage-cards[data-ev-billing-layout]>fieldset>.edd-stripe-card-item>.card-details::after{
 content:"";position:absolute;inset-block-end:-25px;inset-inline-end:var(--ev-face-inset);width:var(--ev-logo-width,66px);height:var(--ev-logo-height,34px);
 background:var(--ev-card-logo,none) right bottom/contain no-repeat;pointer-events:none;filter:drop-shadow(0 1px 2px #18262a35);
}
body.ev-customer-ui #primary #content #edd-stripe-manage-cards[data-ev-billing-layout]>fieldset>[data-ev-network=eftpos]>.card-details::after{
 background:#fff;mask:var(--ev-card-logo) right bottom/contain no-repeat;filter:none;
}
body.ev-customer-ui #primary #content #edd-stripe-manage-cards[data-ev-billing-layout]>fieldset>:is([data-ev-network=mastercard],[data-ev-network=maestro]){--ev-logo-width:45px;--ev-logo-height:31px}
body.ev-customer-ui #primary #content #edd-stripe-manage-cards[data-ev-billing-layout]>fieldset>:is([data-ev-network=interac],[data-ev-network=jcb],[data-ev-network=unionpay],[data-ev-network=diners],[data-ev-network=cartes-bancaires]){--ev-logo-width:48px;--ev-logo-height:29px}
body.ev-customer-ui #primary #content #edd-stripe-manage-cards[data-ev-billing-layout]>fieldset>[data-ev-network=amex]{--ev-logo-width:54px;--ev-logo-height:29px}
body.ev-customer-ui #primary #content #edd-stripe-manage-cards[data-ev-billing-layout]>fieldset>.edd-stripe-card-item .card-last-4{color:inherit!important;font-weight:650;white-space:nowrap}
body.ev-customer-ui #primary #content #edd-stripe-manage-cards[data-ev-billing-layout]>fieldset>.edd-stripe-card-item .default-card-sep{display:none}
body.ev-customer-ui #primary #content #edd-stripe-manage-cards[data-ev-billing-layout]>fieldset>.edd-stripe-card-item .card-is-default{
 position:absolute;inset-block-start:14px;inset-inline-end:var(--ev-face-inset);display:inline-flex;align-items:center;gap:5px;max-width:88px;
 padding:4px 8px;border:0;border-radius:999px;background:#0e2823d9;color:#dcffed;font-size:11px;font-weight:650;line-height:1.25;letter-spacing:0;
}
body.ev-customer-ui #primary #content #edd-stripe-manage-cards[data-ev-billing-layout]>fieldset>.edd-stripe-card-item .card-is-default::before{content:"";width:5px;height:5px;flex:0 0 5px;border-radius:50%;background:#76edac}
body.ev-customer-ui #primary #content #edd-stripe-manage-cards[data-ev-billing-layout]>fieldset>.edd-stripe-card-item>.card-meta{display:contents}
body.ev-customer-ui #primary #content #edd-stripe-manage-cards[data-ev-billing-layout]>fieldset>.edd-stripe-card-item .card-expiration{
 grid-area:2/1;position:relative;align-self:start;min-width:0;margin:0!important;padding:0 90px 12px var(--ev-face-inset)!important;
 color:var(--ev-face-ink)!important;font-size:12px;line-height:1.4!important;letter-spacing:.025em;font-variant-numeric:tabular-nums;
}
body.ev-customer-ui #primary #content #edd-stripe-manage-cards[data-ev-billing-layout]>fieldset>.edd-stripe-card-item .card-expiration-label{color:inherit}
body.ev-customer-ui #primary #content #edd-stripe-manage-cards[data-ev-billing-layout]>fieldset>.edd-stripe-card-item .card-address{grid-area:3/1;min-width:0;margin:0!important;padding:0 2px!important;color:var(--es-muted)!important;font-size:12px;line-height:1.4;overflow-wrap:anywhere}
body.ev-customer-ui #primary #content #edd-stripe-manage-cards[data-ev-billing-layout]>fieldset>.edd-stripe-card-item .card-address{padding-top:9px!important}
body.ev-customer-ui #primary #content #edd-stripe-manage-cards[data-ev-billing-layout]>fieldset>.edd-stripe-card-item>.card-update-form{display:none}
body.ev-customer-ui #primary #content #edd-stripe-manage-cards[data-ev-billing-layout]>fieldset>.edd-stripe-card-item>.card-actions{
 grid-area:4/1;align-self:end;box-sizing:border-box;display:flex!important;flex-wrap:wrap;align-items:stretch;gap:0;
 margin:7px 0 0!important;padding:0!important;border:0!important;background:none;font-size:0!important;line-height:0;
}
body.ev-customer-ui #primary #content #edd-stripe-manage-cards[data-ev-billing-layout]>fieldset>.edd-stripe-card-item>.card-actions[style*="display: none"]{display:none!important}
body.ev-customer-ui #primary #content #edd-stripe-manage-cards[data-ev-billing-layout]>fieldset>.edd-stripe-card-item>.card-actions>:is(.card-update,.card-set-as-default,.card-delete){display:flex;flex:0 1 auto;max-width:100%;min-width:0;margin-inline-end:6px}
body.ev-customer-ui #primary #content #edd-stripe-manage-cards[data-ev-billing-layout]>fieldset>.edd-stripe-card-item>.card-actions>.card-delete{margin-inline-end:0}
body.ev-customer-ui #primary #content #edd-stripe-manage-cards[data-ev-billing-layout]>fieldset>.edd-stripe-card-item>.card-actions a{
 display:inline-flex;align-items:center;justify-content:center;min-height:40px!important;padding:8px 10px!important;
 border:1px solid var(--es-line)!important;border-radius:9px;background:var(--es-panel)!important;color:var(--es-ink)!important;
 text-align:center;white-space:normal;overflow-wrap:anywhere;line-height:1.35!important;text-decoration:none!important;
}
body.ev-customer-ui #primary #content #edd-stripe-manage-cards[data-ev-billing-layout]>fieldset>.edd-stripe-card-item>.card-actions a.edd-stripe-update-card{color:var(--es-link)!important;font-weight:600}
body.ev-customer-ui #primary #content #edd-stripe-manage-cards[data-ev-billing-layout]>fieldset>.edd-stripe-card-item>.card-actions a.edd-stripe-delete-card{border-color:transparent!important;background:transparent!important;color:var(--ev-card-delete)!important}
body.ev-customer-ui #primary #content #edd-stripe-manage-cards[data-ev-billing-layout]>fieldset>.edd-stripe-card-item>.card-actions a:hover{background:var(--es-soft)!important;border-color:var(--es-link)!important}
body.ev-customer-ui #primary #content #edd-stripe-manage-cards[data-ev-billing-layout]>fieldset>.edd-stripe-card-item>.card-actions a.edd-stripe-delete-card:hover{background:color-mix(in srgb,var(--ev-card-delete) 8%,transparent)!important;border-color:transparent!important}
body.ev-customer-ui #primary #content #edd-stripe-manage-cards[data-ev-billing-layout]>fieldset>.edd-stripe-card-item>.card-actions a:focus-visible{outline:2px solid var(--es-link)!important;outline-offset:1px}
@media(max-width:600px){body.ev-customer-ui #primary #content #edd-stripe-manage-cards[data-ev-billing-layout]>fieldset>.edd-stripe-card-item>.card-actions a{min-height:44px!important}}
@media(max-width:380px){
 body.ev-customer-ui #primary #content #edd-stripe-manage-cards[data-ev-billing-layout]>fieldset>.edd-stripe-card-item >.card-actions>:is(.card-update,.card-set-as-default){margin-inline-end:4px}
 body.ev-customer-ui #primary #content #edd-stripe-manage-cards[data-ev-billing-layout]>fieldset>.edd-stripe-card-item>.card-actions a{padding-inline:5px!important;gap:4px!important}
 body.ev-customer-ui #primary #content #edd-stripe-manage-cards[data-ev-billing-layout]>fieldset>.edd-stripe-card-item>.card-actions :is(.edd-stripe-update-card,.edd-stripe-delete-card)::before{flex-basis:13px;width:13px;height:13px}
}

/* Compact native Stripe editor: the original fields stay in the same form. */
body.ev-customer-ui #primary #edd-stripe-manage-cards dialog.ev-payment-edit-dialog{width:min(520px,calc(100vw - 28px));padding:20px}
body.ev-customer-ui #primary #edd-stripe-manage-cards .ev-payment-edit-dialog>header{gap:10px;margin-bottom:12px}
body.ev-customer-ui #primary #edd-stripe-manage-cards .ev-payment-edit-dialog>header h2{font-size:19px!important}
body.ev-customer-ui #primary #edd-stripe-manage-cards .ev-payment-edit-dialog .ev-card-edit-sections[style*="display: block"]{grid-template-columns:minmax(0,1fr);gap:10px}
.ev-payment-edit-dialog .ev-card-edit-section{min-width:0;border:1px solid var(--es-line);border-radius:10px;background:var(--es-panel)}
.ev-payment-edit-dialog .ev-card-edit-section>summary{
 display:flex;align-items:center;gap:10px;box-sizing:border-box;min-height:44px;padding:8px 13px;
 border-radius:9px;color:var(--es-ink);font-size:13px;font-weight:600;line-height:1.4;list-style:none;
}
.ev-payment-edit-dialog .ev-card-edit-section>summary::-webkit-details-marker{display:none}
.ev-payment-edit-dialog .ev-card-edit-section>summary:hover{background:var(--es-soft)}
.ev-payment-edit-dialog .ev-card-edit-section>summary:focus-visible{outline:2px solid var(--es-link);outline-offset:-2px}
.ev-payment-edit-dialog .ev-card-edit-section>summary::after{
 content:"";width:6px;height:6px;flex:none;margin-inline-start:auto;margin-inline-end:2px;color:var(--es-muted);
 border:solid currentColor;border-width:0 1.5px 1.5px 0;transform:translateY(-2px) rotate(45deg);
}
.ev-payment-edit-dialog .ev-card-edit-section[open]>summary::after{transform:translateY(2px) rotate(225deg)}
.ev-payment-edit-dialog .ev-card-edit-date{margin-inline-start:auto;color:var(--es-muted);font-size:12px;font-weight:500;font-variant-numeric:tabular-nums;white-space:nowrap}
.ev-payment-edit-dialog summary:has(>.ev-card-edit-date)::after{margin-inline-start:3px}
body.ev-customer-ui #primary #edd-stripe-manage-cards .ev-payment-edit-dialog .ev-card-edit-section :is(.card-address-fields,.card-expiration-fields){
 grid-template-columns:repeat(2,minmax(0,1fr))!important;align-items:end;gap:10px 12px;margin:0!important;padding:3px 13px 13px;
}
body.ev-customer-ui #primary #edd-stripe-manage-cards .ev-payment-edit-dialog .ev-card-edit-section :is(input:not([type=hidden]),select){width:100%;min-width:0;max-width:100%;margin:0!important}
body.ev-customer-ui #primary #edd-stripe-manage-cards .ev-payment-edit-dialog .ev-card-edit-sections>p:has(>.edd-stripe-submit-update){margin:5px 0 0!important;gap:10px}
@media(max-width:600px){body.ev-customer-ui #primary #edd-stripe-manage-cards dialog.ev-payment-edit-dialog{padding:14px}}
.ev-payment-edit-dialog .ev-card-edit-section[data-section=address]{--ev-edit-section-icon:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%221.7%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M20%2010c0%205-8%2010-8%2010S4%2015%204%2010a8%208%200%201%201%2016%200Z%22%2F%3E%3Ccircle%20cx%3D%2212%22%20cy%3D%2210%22%20r%3D%222.5%22%2F%3E%3C%2Fsvg%3E");}
.ev-payment-edit-dialog .ev-card-edit-section[data-section=expiration]{--ev-edit-section-icon:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%221.7%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Crect%20x%3D%224%22%20y%3D%226%22%20width%3D%2216%22%20height%3D%2215%22%20rx%3D%222%22%2F%3E%3Cpath%20d%3D%22M8%203v6m8-6v6M4%2011h16m-11%204h2m2%200h2m-6%203h2%22%2F%3E%3C%2Fsvg%3E");}
.ev-payment-edit-dialog .ev-card-edit-section>summary::before{
 content:"";width:17px;height:17px;flex:0 0 17px;background:var(--es-link);mask:var(--ev-edit-section-icon) center/contain no-repeat;
}

body.ev-customer-ui #primary #edd-stripe-manage-cards .ev-payment-edit-dialog .ev-card-edit-sections :is(.edd-stripe-submit-update,.edd-stripe-cancel-update){
 padding:0 10px!important;white-space:nowrap!important;
}
@media(max-width:380px){
 body.ev-customer-ui #primary #edd-stripe-manage-cards .ev-payment-edit-dialog>header h2{font-size:16px!important}
}
@media(max-width:360px){
 body.ev-customer-ui #primary #edd-stripe-manage-cards .ev-payment-edit-dialog>header h2::before{display:none}
}
body.ev-customer-ui #primary #edd-stripe-manage-cards .ev-payment-edit-dialog .ev-card-edit-section .card-address-fields label{margin-bottom:4px!important}
body.ev-customer-ui #primary #edd-stripe-manage-cards .ev-payment-edit-dialog .ev-card-edit-section select{padding-inline:8px!important}
