.acard-page .step-label {
    font-size: clamp(13px, 1.8vw, 15px);
    line-height: 1.4;
    letter-spacing: .08em;
}
.acard-page .access-card .resend-area {
    align-items: center;
    justify-content: flex-start;
    column-gap: 14px;
    row-gap: 8px;
    font-size: 14px;
}
.acard-page .access-card .resend-button {
    min-height: 44px;
    padding: 9px 14px;
    border: 1px solid #c6d0ff;
    border-radius: 10px;
    background: #eef1ff;
    color: #293bd0;
    font-size: 14px;
    font-weight: 700;
}
.acard-page .access-card .resend-button:not(:disabled):hover { background: #e2e7ff; }
.acard-page .access-card .resend-countdown { text-align: start; }
.acard-page .access-card .resend-countdown:empty { display: none; }

.acex-edit-address .woocommerce-address-fields .select2-container { width: 100% !important; }
.acex-edit-address .woocommerce-address-fields .select2-selection--single {
    display: flex;
    align-items: center;
    min-height: 48px;
    border: 1px solid #cbd6e7;
    background: #fff;
}
.acex-edit-address .woocommerce-address-fields .select2-selection__rendered {
    padding-inline: 13px 38px;
    color: #23324c;
}
.acex-edit-address .woocommerce-address-fields .select2-selection__arrow {
    inset-inline: auto 10px;
    top: 50%;
    transform: translateY(-50%);
}
.acex-edit-address .select2-container--open .select2-dropdown {
    border: 1px solid #cbd6e7;
    border-radius: 12px;
    box-shadow: 0 12px 30px #13233d24;
    overflow: hidden;
    font-family: inherit;
}
.acex-edit-address .select2-search--dropdown { padding: 9px; background: #f7f9fd; }
.acex-edit-address .select2-search--dropdown .select2-search__field {
    min-height: 40px;
    padding: 7px 10px;
    border: 1px solid #aebcdb;
    border-radius: 8px;
}
.acex-edit-address .select2-results__option { padding: 9px 13px; line-height: 1.35; }
.acex-edit-address .select2-results__option--highlighted[aria-selected] {
    background: #3546d5;
    color: #fff;
}
.acex-edit-address .woocommerce-address-fields :is(select, #billing_state) { min-height: 48px; }

.acex-edit-account .acex-native :is(input[type="text"],input[type="email"],input[type="password"]) {
    min-height: 48px;
    border: 1px solid #cbd6e7;
    background: #fff;
    box-shadow: none;
}
.acex-edit-account .acex-native input:focus,
.acex-edit-address .woocommerce-address-fields .select2-selection:focus-visible {
    border-color: #4354d8;
    outline: 2px solid #aebaff;
    outline-offset: 1px;
}
.acex-edit-account .woocommerce-EditAccountForm fieldset { padding: clamp(14px, 3vw, 22px); }
.acex-edit-account .acex-native .password-input { position: relative; }
.acex-edit-account .acex-native .password-input input { padding-inline-end: 48px; }
.acard-page.acex-edit-account .acex-native .show-password-input {
    display: grid !important;
    place-items: center;
    position: absolute;
    inset: 2px 2px auto auto;
    inset-inline: auto 2px;
    width: 44px;
    height: 44px;
    padding: 0;
    border: 0;
    border-radius: 9px;
    background: #f1f4fb;
    color: #23324c;
}
.acex-edit-account .acex-native .acfp-username {
    margin-block: 20px 0;
    padding: clamp(16px, 3vw, 25px);
    background: #fff;
    border: 1px solid #dce5f2;
    border-radius: 18px;
}
.acfp-username summary { cursor: pointer; font-weight: 750; }
.acfp-username form { margin-block-start: 15px; }
.acfp-username input { width: 100%; }

/* Compact access controls with a full touch target. */
.acard-page .access-card .resend-area { margin-top: 18px; padding-top: 14px; }
.acard-page .access-card .resend-button { padding: 5px 10px; font-size: 13px; gap: 6px; }
.acard-page .aco-panel .aco-eyebrow { font-size: clamp(13px, 1.8vw, 15px); line-height: 1.4; }
.acard-page .access-card :is(input[type=email],input[type=text],input[type=password]):not(.otp-input) { min-height: 44px; }
.acex-edit-address .woocommerce-address-fields .select2-selection--single,
.acex-edit-address .woocommerce-address-fields :is(select,#billing_state),
.acex-edit-account .acex-native :is(input[type=text],input[type=email],input[type=password]) { min-height: 44px; }

.acex-edit-account .acex-native .woocommerce-EditAccountForm fieldset {
    display: grid;
    grid-template-columns: repeat(2,minmax(0,1fr));
    gap: 12px 16px;
    padding: clamp(14px, 2vw, 20px);
    border: 1px solid #dce5f2;
    background: #f7f9fd;
}
.acex-edit-account .woocommerce-EditAccountForm fieldset legend { padding-inline: 6px; }
.acex-edit-account .woocommerce-EditAccountForm fieldset .form-row { margin: 0; padding: 0; min-width: 0; }
.acex-edit-account .woocommerce-EditAccountForm fieldset .form-row:first-of-type { grid-column: 1 / -1; }
.acex-edit-account .woocommerce-EditAccountForm fieldset label,
.acex-edit-account .acfp-username label { margin-block-end: 5px; }
.acard-page.acex-edit-account .acex-native .show-password-input {
    inset-block-start: 0 !important;
    inset-inline-end: 1px !important;
    transform: none !important;
    margin: 0 !important;
    background: transparent;
}
.acard-page.acex-edit-account .acex-native .show-password-input:hover { background: #eef2fc; }
.acex-edit-account .acex-native .acfp-username { padding: 0; overflow: clip; }
.acfp-username summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    min-height: 54px;
    padding: 12px 17px;
    list-style: none;
    color: #23324c;
}
.acfp-username summary::-webkit-details-marker { display: none; }
.acfp-username summary::after {
    content: '';
    width: 8px;
    height: 8px;
    margin-inline-end: 4px;
    border: solid currentColor;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
    flex-shrink: 0;
}
.acfp-username[open] summary { border-bottom: 1px solid #dce5f2; background: #f7f9fd; }
.acfp-username[open] summary::after { transform: rotate(225deg); }
.acfp-username form { margin: 0; padding: 15px 17px 17px; }
.acfp-username form .form-row { margin: 0 0 12px; }
.acfp-username form small { display: block; margin-block-start: 5px; color: #4c5e79; }
.acex-edit-account .acex-native :is(button[name=save_account_details],.acfp-username button[type=submit]) {
    background: #3546d5;
    color: #fff;
}
.acex-edit-account .acex-native :is(button[name=save_account_details],.acfp-username button[type=submit]):not(:disabled):hover {
    background: #2939be;
}
@media (max-width: 640px) {
    .acex-edit-account .acex-native .woocommerce-EditAccountForm fieldset { grid-template-columns: 1fr; }
}

/* Keep workspace theme styles from stretching the floating language prompt. */
body.acfp-workspace aside.region-suggestion {
    position: fixed !important;
    display: flex !important;
    align-items: center !important;
    flex-wrap: nowrap !important;
    gap: 4px !important;
    inline-size: max-content !important;
    max-inline-size: calc(100vw - 24px) !important;
    margin: 0 !important;
    padding: 0 !important;
    inset: auto max(12px, env(safe-area-inset-right)) max(12px, env(safe-area-inset-bottom)) auto !important;
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
}
body.acfp-workspace aside.region-suggestion > a {
    display: flex !important;
    align-items: center !important;
    flex: 0 1 auto !important;
    gap: 7px !important;
    width: auto !important;
    min-width: 0 !important;
    max-width: calc(100vw - 72px) !important;
    min-height: 44px !important;
    padding: 7px 11px !important;
    border-radius: 24px !important;
    background: #216b53 !important;
    color: #fff !important;
    font-size: 13px !important;
    line-height: 1.35 !important;
    white-space: normal !important;
}
body.acfp-workspace aside.region-suggestion > button {
    position: relative !important;
    display: grid !important;
    place-items: center !important;
    flex: 0 0 44px !important;
    min-width: 44px !important;
    width: 44px !important;
    height: 44px !important;
    margin: 0 !important;
    padding: 0 !important;
}
body.acfp-workspace aside.region-suggestion > button::before { inset: 8px !important; }
