:root {
    --athena-navy: #101a33;
    --athena-navy-soft: #1a294d;
    --athena-teal: #268d83;
    --athena-teal-dark: #19756e;
    --athena-mint: #eaf6f3;
    --athena-ink: #16213b;
    --athena-muted: #68738a;
    --athena-border: #dfe6ee;
    --athena-white: #ffffff;
    --athena-font: "Noto Naskh Arabic", "Traditional Arabic", "Geeza Pro", serif;
}

body.athena-auth-page-active {
    background: #f3f6f9;
}

body.athena-auth-page-active .entry-title,
body.athena-auth-page-active .wp-block-post-title,
body.athena-auth-page-active .page-header,
body.athena-auth-page-active .entry-header {
    display: none !important;
}

body.athena-auth-page-active .site-main,
body.athena-auth-page-active main,
body.athena-auth-page-active .entry-content,
body.athena-auth-page-active .wp-site-blocks {
    overflow: visible;
}


/* Full-width rescue for theme containers on login/register/account pages */
body.athena-auth-page-active .site,
body.athena-auth-page-active .site-main,
body.athena-auth-page-active .site-content,
body.athena-auth-page-active .content-area,
body.athena-auth-page-active .hentry,
body.athena-auth-page-active article.page,
body.athena-auth-page-active article.post,
body.athena-auth-page-active .inside-article,
body.athena-auth-page-active .entry-content,
body.athena-auth-page-active .wp-block-post-content,
body.athena-auth-page-active .wp-block-group__inner-container,
body.athena-auth-page-active .ast-container,
body.athena-auth-page-active .container,
body.athena-auth-page-active .content-wrapper {
    max-width: none !important;
}

body.athena-auth-page-active .site-main,
body.athena-auth-page-active .content-area,
body.athena-auth-page-active .entry-content,
body.athena-auth-page-active .wp-block-post-content,
body.athena-auth-page-active .inside-article {
    width: 100% !important;
}

body.athena-auth-page-active article.page,
body.athena-auth-page-active article.post,
body.athena-auth-page-active .inside-article,
body.athena-auth-page-active .entry-content,
body.athena-auth-page-active .wp-block-post-content,
body.athena-auth-page-active .wp-block-group__inner-container {
    margin: 0 !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
}

body.athena-auth-page-active .entry-content > .athena-auth,
body.athena-auth-page-active .entry-content > .athena-account,
body.athena-auth-page-active .wp-block-post-content > .athena-auth,
body.athena-auth-page-active .wp-block-post-content > .athena-account,
body.athena-auth-page-active .inside-article > .athena-auth,
body.athena-auth-page-active .inside-article > .athena-account {
    width: 100vw;
    max-width: 100vw;
    margin-left: calc(50% - 50vw) !important;
    margin-right: calc(50% - 50vw) !important;
}

@supports (width: 100dvw) {
    body.athena-auth-page-active .entry-content > .athena-auth,
    body.athena-auth-page-active .entry-content > .athena-account,
    body.athena-auth-page-active .wp-block-post-content > .athena-auth,
    body.athena-auth-page-active .wp-block-post-content > .athena-account,
    body.athena-auth-page-active .inside-article > .athena-auth,
    body.athena-auth-page-active .inside-article > .athena-account {
        width: 100dvw;
        max-width: 100dvw;
        margin-left: calc(50% - 50dvw) !important;
        margin-right: calc(50% - 50dvw) !important;
    }
}

.athena-auth,
.athena-auth * {
    box-sizing: border-box;
    font-family: var(--athena-font) !important;
}

.athena-auth {
    width: 100%;
    padding: clamp(24px, 5vw, 72px) 20px;
    color: var(--athena-ink);
    font-size: 17px;
    line-height: 1.7;
}

.athena-auth__shell {
    width: min(1080px, 100%);
    min-height: 650px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: minmax(330px, .9fr) minmax(420px, 1.1fr);
    overflow: hidden;
    background: var(--athena-white);
    border: 1px solid rgba(16, 26, 51, .08);
    border-radius: 28px;
    box-shadow: 0 24px 70px rgba(16, 26, 51, .13);
}

.athena-auth__shell--register {
    width: min(1180px, 100%);
    min-height: 720px;
    grid-template-columns: minmax(350px, .82fr) minmax(500px, 1.18fr);
}

.athena-auth__brand {
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    min-height: 650px;
    padding: 56px;
    color: #fff;
    background:
        linear-gradient(150deg, rgba(38, 141, 131, .32), transparent 52%),
        linear-gradient(155deg, var(--athena-navy-soft), var(--athena-navy));
}

.athena-auth__shell--register .athena-auth__brand {
    min-height: 720px;
}

.athena-auth__brand::after {
    content: "";
    position: absolute;
    inset: auto -85px -110px auto;
    width: 260px;
    height: 260px;
    border: 1px solid rgba(255,255,255,.12);
    border-radius: 50%;
}

.athena-auth__brand-glow {
    position: absolute;
    border-radius: 999px;
    filter: blur(2px);
    pointer-events: none;
}

.athena-auth__brand-glow--one {
    width: 220px;
    height: 220px;
    top: -90px;
    left: -60px;
    background: rgba(58, 193, 178, .22);
}

.athena-auth__brand-glow--two {
    width: 140px;
    height: 140px;
    right: -40px;
    bottom: 110px;
    background: rgba(255, 255, 255, .06);
}

.athena-auth__brand-content {
    position: relative;
    z-index: 1;
}

.athena-auth__mark-wrap,
.athena-auth__mobile-mark {
    display: flex;
    align-items: center;
    justify-content: center;
}

.athena-auth__mark-wrap {
    width: 74px;
    height: 74px;
    margin-bottom: 26px;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,.18);
    border-radius: 22px;
    background: rgba(255,255,255,.1);
    backdrop-filter: blur(10px);
}

.athena-auth__logo-image {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 8px;
}

.athena-auth__fallback-mark {
    display: grid;
    place-items: center;
    width: 100%;
    height: 100%;
    font-size: 48px;
    font-weight: 700;
    line-height: 1;
    color: #fff;
}

.athena-auth__eyebrow,
.athena-auth__kicker {
    margin: 0 0 12px;
    font-size: 17px;
    font-weight: 700;
}

.athena-auth__eyebrow {
    color: #8fe0d6;
}

.athena-auth__brand h2 {
    margin: 0 0 18px;
    font-size: clamp(38px, 4vw, 54px);
    font-weight: 700;
    line-height: 1.15;
    color: #fff;
}

.athena-auth__brand-copy {
    max-width: 410px;
    margin: 0;
    font-size: 19px;
    line-height: 1.9;
    color: rgba(255,255,255,.82);
}

.athena-auth__benefits {
    display: grid;
    gap: 14px;
    margin: 34px 0 0;
    padding: 0;
    list-style: none;
}

.athena-auth__benefits li {
    display: flex;
    align-items: center;
    gap: 11px;
    color: rgba(255,255,255,.92);
    font-size: 17px;
}

.athena-auth__benefits span {
    display: grid;
    place-items: center;
    flex: 0 0 24px;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    color: #102039;
    background: #8fe0d6;
    font-size: 15px;
    font-weight: 700;
}

.athena-auth__form-panel {
    display: flex;
    align-items: center;
    padding: clamp(34px, 6vw, 78px);
    background: #fff;
}

.athena-register__form-panel {
    align-items: flex-start;
    padding-top: clamp(38px, 5vw, 64px);
    padding-bottom: clamp(38px, 5vw, 64px);
}

.athena-auth__form-inner {
    width: 100%;
    max-width: 480px;
    margin: 0 auto;
}

.athena-register__form-inner {
    max-width: 610px;
}

.athena-auth__mobile-mark {
    display: none;
}

.athena-auth__header {
    margin-bottom: 32px;
}

.athena-auth__kicker {
    color: var(--athena-teal-dark);
}

.athena-auth__header h1,
.athena-auth__logged-in h1 {
    margin: 0 0 12px;
    font-size: clamp(36px, 4vw, 48px);
    font-weight: 700;
    line-height: 1.2;
    color: var(--athena-ink);
}

.athena-auth__header p,
.athena-auth__logged-in p {
    margin: 0;
    color: var(--athena-muted);
    font-size: 17px;
    line-height: 1.85;
}

.athena-auth__form-wrap form,
.athena-auth__form-wrap #loginform,
.athena-auth__form-wrap #pms_register-form {
    margin: 0;
}

.athena-auth__form-wrap p,
.athena-auth__form-wrap .pms-field,
.athena-auth__form-wrap .pms-form-field,
.athena-auth__form-wrap .pms-billing-field {
    margin: 0 0 20px;
}

.athena-auth__form-wrap label,
.athena-auth__form-wrap legend {
    display: block;
    margin-bottom: 8px;
    color: var(--athena-ink);
    font-size: 17px;
    font-weight: 700;
    line-height: 1.5;
}

.athena-auth__form-wrap input[type="text"],
.athena-auth__form-wrap input[type="email"],
.athena-auth__form-wrap input[type="password"],
.athena-auth__form-wrap input[type="tel"],
.athena-auth__form-wrap input[type="number"],
.athena-auth__form-wrap select,
.athena-auth__form-wrap textarea {
    width: 100%;
    min-height: 54px;
    margin: 0;
    padding: 12px 15px;
    border: 1px solid var(--athena-border);
    border-radius: 13px;
    outline: none;
    background: #fbfcfe;
    color: var(--athena-ink);
    font-size: 18px;
    line-height: 1.5;
    transition: border-color .2s ease, box-shadow .2s ease, background .2s ease;
}

.athena-auth__form-wrap textarea {
    min-height: 110px;
    resize: vertical;
}

.athena-auth__form-wrap input[type="text"]:focus,
.athena-auth__form-wrap input[type="email"]:focus,
.athena-auth__form-wrap input[type="password"]:focus,
.athena-auth__form-wrap input[type="tel"]:focus,
.athena-auth__form-wrap input[type="number"]:focus,
.athena-auth__form-wrap select:focus,
.athena-auth__form-wrap textarea:focus {
    border-color: var(--athena-teal);
    background: #fff;
    box-shadow: 0 0 0 4px rgba(38, 141, 131, .12);
}

.athena-auth__form-wrap .login-remember {
    display: flex;
    align-items: center;
    gap: 9px;
    margin-top: -2px;
}

.athena-auth__form-wrap .login-remember label,
.athena-auth__form-wrap label:has(input[type="checkbox"]),
.athena-auth__form-wrap label:has(input[type="radio"]) {
    display: flex;
    align-items: center;
    gap: 9px;
    margin: 0;
    color: var(--athena-muted);
    font-weight: 600;
}

.athena-auth__form-wrap input[type="checkbox"],
.athena-auth__form-wrap input[type="radio"] {
    width: 19px;
    height: 19px;
    margin: 0;
    accent-color: var(--athena-teal);
}

.athena-auth__form-wrap .login-submit {
    margin-top: 28px;
    margin-bottom: 0;
}

.athena-auth__form-wrap input[type="submit"],
.athena-auth__form-wrap button[type="submit"],
.athena-auth__primary-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 54px;
    padding: 12px 20px;
    border: 0;
    border-radius: 13px;
    cursor: pointer;
    text-decoration: none;
    color: #fff !important;
    background: linear-gradient(135deg, var(--athena-teal), var(--athena-teal-dark));
    box-shadow: 0 12px 25px rgba(38, 141, 131, .23);
    font-size: 18px;
    font-weight: 700;
    line-height: 1.4;
    transition: transform .18s ease, box-shadow .18s ease, filter .18s ease;
}

.athena-auth__form-wrap input[type="submit"]:hover,
.athena-auth__form-wrap button[type="submit"]:hover,
.athena-auth__primary-link:hover {
    transform: translateY(-1px);
    box-shadow: 0 15px 30px rgba(38, 141, 131, .3);
    filter: brightness(.98);
}

.athena-auth__form-wrap .pms-login-error,
.athena-auth__form-wrap .pms-alert,
.athena-auth__form-wrap .pms-error,
.athena-auth__form-wrap .pms-field-error,
.athena-auth__form-wrap .pms-form-error,
.athena-auth__notice {
    margin: 0 0 20px;
    padding: 13px 15px;
    border: 1px solid #f1c8c8;
    border-radius: 12px;
    color: #8c2d2d;
    background: #fff3f3;
    font-size: 16px;
    line-height: 1.7;
}

/* The native PMS login form prints its own Register/Lost Password links.
   Athena prints one clean copy below, so every native helper link is removed. */
.athena-login__form-wrap a,
.athena-login__form-wrap .pms-login-links,
.athena-login__form-wrap .pms-login-register,
.athena-login__form-wrap .pms-login-lost-password,
.athena-login__form-wrap .login-register,
.athena-login__form-wrap .login-lost-password {
    display: none !important;
}

.athena-auth__helper-row {
    display: flex;
    justify-content: flex-start;
    margin-top: 18px;
}

.athena-auth__helper-row a,
.athena-auth__register-prompt a,
.athena-auth__text-link {
    color: var(--athena-teal-dark);
    text-decoration: none;
    font-size: 18px;
    font-weight: 700;
}

.athena-auth__helper-row a:hover,
.athena-auth__register-prompt a:hover,
.athena-auth__text-link:hover {
    text-decoration: underline;
}

.athena-auth__divider {
    display: flex;
    align-items: center;
    gap: 14px;
    margin: 30px 0 22px;
    color: #9aa4b5;
    font-size: 16px;
}

.athena-auth__divider::before,
.athena-auth__divider::after {
    content: "";
    flex: 1;
    height: 1px;
    background: var(--athena-border);
}

.athena-auth__register-prompt {
    margin: 0;
    text-align: center;
    color: var(--athena-muted);
    font-size: 17px;
}

.athena-auth__logged-in {
    text-align: center;
}

.athena-auth__success-icon {
    display: grid;
    place-items: center;
    width: 72px;
    height: 72px;
    margin: 0 auto 24px;
    border-radius: 50%;
    color: #fff;
    background: linear-gradient(135deg, var(--athena-teal), var(--athena-teal-dark));
    box-shadow: 0 13px 30px rgba(38, 141, 131, .22);
    font-size: 34px;
    font-weight: 700;
}

.athena-auth__logged-in .athena-auth__primary-link {
    margin-top: 26px;
}

.athena-auth__text-link {
    display: inline-block;
    margin-top: 18px;
}

/* Registration form */
.athena-register__form-wrap #pms_register-form,
.athena-register__form-wrap form.pms-form {
    width: 100%;
}

.athena-register__form-wrap ul,
.athena-register__form-wrap .pms-form-fields-wrapper {
    margin: 0;
    padding: 0;
    list-style: none;
}

.athena-register__form-wrap fieldset {
    margin: 24px 0;
    padding: 20px;
    border: 1px solid var(--athena-border);
    border-radius: 16px;
    background: #fbfcfe;
}

.athena-register__form-wrap fieldset legend {
    padding: 0 8px;
    color: var(--athena-teal-dark);
}

.athena-register__form-wrap #pms-subscription-plans,
.athena-register__form-wrap .pms-subscription-plans,
.athena-register__form-wrap .pms-field-subscriptions,
.athena-register__form-wrap .pms-subscription-plan-wrapper {
    display: grid;
    gap: 12px;
    margin: 12px 0 24px;
}

.athena-register__form-wrap .pms-subscription-plan,
.athena-register__form-wrap #pms-subscription-plans > div,
.athena-register__form-wrap #pms-subscription-plans > label,
.athena-register__form-wrap .pms-subscription-plans > div,
.athena-register__form-wrap .pms-subscription-plans > label {
    display: block;
    margin: 0;
    padding: 16px 18px;
    border: 1px solid var(--athena-border);
    border-radius: 14px;
    background: #fbfcfe;
    transition: border-color .18s ease, box-shadow .18s ease, background .18s ease;
}

.athena-register__form-wrap .pms-subscription-plan:hover,
.athena-register__form-wrap #pms-subscription-plans > div:hover,
.athena-register__form-wrap #pms-subscription-plans > label:hover,
.athena-register__form-wrap .pms-subscription-plans > div:hover,
.athena-register__form-wrap .pms-subscription-plans > label:hover {
    border-color: rgba(38, 141, 131, .55);
    background: #fff;
    box-shadow: 0 8px 20px rgba(16, 26, 51, .07);
}

.athena-register__form-wrap .pms-subscription-plan label,
.athena-register__form-wrap #pms-subscription-plans label,
.athena-register__form-wrap .pms-subscription-plans label {
    display: flex;
    align-items: flex-start;
    gap: 11px;
    margin: 0;
    color: var(--athena-ink);
    cursor: pointer;
}

.athena-register__form-wrap .pms-subscription-plan-name,
.athena-register__form-wrap .pms-subscription-plan-price,
.athena-register__form-wrap .pms-subscription-plan-duration {
    font-weight: 700;
}

.athena-register__form-wrap .pms-subscription-plan-description,
.athena-register__form-wrap .pms-subscription-plan-details,
.athena-register__form-wrap small,
.athena-register__form-wrap .description {
    color: var(--athena-muted);
    font-size: 15px;
    line-height: 1.7;
}

.athena-register__form-wrap #pms-paygates-wrapper,
.athena-register__form-wrap #pms-payment-gateways,
.athena-register__form-wrap .pms-payment-gateways-wrapper,
.athena-register__form-wrap .pms-field-payment-gateways {
    margin: 24px 0;
    padding: 18px;
    border: 1px solid var(--athena-border);
    border-radius: 15px;
    background: var(--athena-mint);
}

.athena-register__form-wrap input[name="pms_register"],
.athena-register__form-wrap input.pms-form-submit,
.athena-register__form-wrap button.pms-form-submit {
    margin-top: 14px;
}

@media (max-width: 1080px) {
    .athena-auth {
        padding: 24px 16px;
    }

    .athena-auth__shell {
        width: min(100%, 1020px);
        grid-template-columns: minmax(300px, .88fr) minmax(0, 1.12fr);
    }

    .athena-auth__shell--register {
        width: min(100%, 1080px);
        grid-template-columns: minmax(320px, .84fr) minmax(0, 1.16fr);
    }

    .athena-auth__brand {
        padding: 42px;
    }

    .athena-auth__form-panel,
    .athena-register__form-panel {
        padding: 42px 34px;
    }
}

@media (max-width: 920px) {
    .athena-auth {
        padding: 18px 12px 26px;
    }

    .athena-auth__shell,
    .athena-auth__shell--register {
        width: 100%;
        min-height: auto;
        grid-template-columns: 1fr;
        border-radius: 22px;
    }

    .athena-auth__brand {
        display: none;
    }

    .athena-auth__form-panel,
    .athena-register__form-panel {
        min-height: auto;
        padding: 32px 24px 38px;
    }

    .athena-auth__form-inner,
    .athena-register__form-inner {
        max-width: 100%;
    }

    .athena-auth__mobile-mark {
        display: flex;
        align-items: center;
        justify-content: flex-start;
        gap: 12px;
        margin-bottom: 28px;
        color: var(--athena-ink);
        font-size: 18px;
        font-weight: 700;
    }

    .athena-auth__mobile-mark .athena-auth__logo-image,
    .athena-auth__mobile-mark .athena-auth__fallback-mark {
        width: 44px;
        height: 44px;
        flex: 0 0 44px;
        border-radius: 13px;
        background: var(--athena-teal);
        color: #fff;
        object-fit: contain;
        padding: 5px;
        font-size: 28px;
    }
}

@media (max-width: 640px) {
    .athena-auth {
        padding: 12px 0 20px;
    }

    .athena-auth__shell,
    .athena-auth__shell--register {
        border-radius: 18px;
        box-shadow: 0 16px 40px rgba(16, 26, 51, .12);
    }

    .athena-auth__form-panel,
    .athena-register__form-panel {
        padding: 26px 18px 32px;
    }

    .athena-auth__header,
    .athena-auth__mobile-mark {
        margin-bottom: 24px;
    }

    .athena-auth__header h1,
    .athena-auth__logged-in h1 {
        font-size: clamp(30px, 9vw, 36px);
    }

    .athena-auth__header p,
    .athena-auth__logged-in p,
    .athena-auth__register-prompt,
    .athena-auth__form-wrap label,
    .athena-auth__helper-row a,
    .athena-auth__register-prompt a,
    .athena-auth__text-link {
        font-size: 16px;
    }

    .athena-auth__form-wrap input[type="text"],
    .athena-auth__form-wrap input[type="email"],
    .athena-auth__form-wrap input[type="password"],
    .athena-auth__form-wrap input[type="tel"],
    .athena-auth__form-wrap input[type="number"],
    .athena-auth__form-wrap select,
    .athena-auth__form-wrap textarea {
        min-height: 52px;
        font-size: 17px;
    }

    .athena-auth__form-wrap input[type="submit"],
    .athena-auth__form-wrap button[type="submit"],
    .athena-auth__primary-link {
        min-height: 52px;
        font-size: 17px;
    }
}

@media (max-width: 420px) {
    .athena-auth__shell,
    .athena-auth__shell--register {
        border-radius: 16px;
    }

    .athena-auth__form-panel,
    .athena-register__form-panel {
        padding: 22px 14px 28px;
    }

    .athena-auth__mobile-mark {
        gap: 10px;
        font-size: 16px;
    }

    .athena-auth__mobile-mark .athena-auth__logo-image,
    .athena-auth__mobile-mark .athena-auth__fallback-mark {
        width: 40px;
        height: 40px;
        flex-basis: 40px;
        border-radius: 12px;
        font-size: 24px;
    }
}

/* Student account dashboard */
.athena-account,
.athena-account * {
    box-sizing: border-box;
    font-family: var(--athena-font) !important;
}

.athena-account {
    width: 100%;
    padding: clamp(24px, 5vw, 70px) 20px;
    color: var(--athena-ink);
    font-size: 17px;
    line-height: 1.75;
}

.athena-account__shell {
    width: min(1180px, 100%);
    margin: 0 auto;
    overflow: hidden;
    border: 1px solid rgba(16, 26, 51, .08);
    border-radius: 28px;
    background: #fff;
    box-shadow: 0 24px 70px rgba(16, 26, 51, .13);
}

.athena-account__hero {
    position: relative;
    min-height: 330px;
    overflow: hidden;
    padding: clamp(32px, 5vw, 58px);
    color: #fff;
    background:
        linear-gradient(145deg, rgba(38, 141, 131, .34), transparent 55%),
        linear-gradient(155deg, var(--athena-navy-soft), var(--athena-navy));
}

.athena-account__hero::after {
    content: "";
    position: absolute;
    left: -90px;
    bottom: -160px;
    width: 330px;
    height: 330px;
    border: 1px solid rgba(255, 255, 255, .12);
    border-radius: 50%;
}

.athena-account__hero-glow {
    position: absolute;
    border-radius: 999px;
    pointer-events: none;
}

.athena-account__hero-glow--one {
    width: 250px;
    height: 250px;
    top: -120px;
    right: -70px;
    background: rgba(75, 205, 190, .18);
}

.athena-account__hero-glow--two {
    width: 150px;
    height: 150px;
    left: 14%;
    bottom: -70px;
    background: rgba(255, 255, 255, .05);
}

.athena-account__topbar,
.athena-account__hero-copy,
.athena-account__hero-actions {
    position: relative;
    z-index: 2;
}

.athena-account__topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.athena-account__brand,
.athena-account__identity {
    display: flex;
    align-items: center;
    gap: 13px;
}

.athena-account__brand-mark {
    display: grid;
    place-items: center;
    flex: 0 0 54px;
    width: 54px;
    height: 54px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, .18);
    border-radius: 16px;
    background: rgba(255, 255, 255, .1);
    backdrop-filter: blur(10px);
}

.athena-account__brand-mark .athena-auth__logo-image,
.athena-account__brand-mark .athena-auth__fallback-mark {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 6px;
}

.athena-account__brand small,
.athena-account__identity small {
    display: block;
    color: #8fe0d6;
    font-size: 14px;
    font-style: normal;
    line-height: 1.35;
}

.athena-account__brand strong,
.athena-account__identity strong {
    display: block;
    color: #fff;
    font-size: 18px;
    font-weight: 700;
    line-height: 1.45;
}

.athena-account__avatar {
    display: grid;
    place-items: center;
    flex: 0 0 50px;
    width: 50px;
    height: 50px;
    border: 1px solid rgba(255, 255, 255, .2);
    border-radius: 50%;
    color: var(--athena-navy);
    background: #8fe0d6;
    font-size: 24px;
    font-weight: 700;
}

.athena-account__identity-copy {
    text-align: right;
}

.athena-account__identity em {
    display: block;
    max-width: 260px;
    overflow: hidden;
    color: rgba(255, 255, 255, .7);
    font-size: 13px;
    font-style: normal;
    line-height: 1.35;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.athena-account__hero-copy {
    max-width: 640px;
    margin-top: 48px;
}

.athena-account__kicker {
    margin: 0 0 10px;
    color: #8fe0d6;
    font-size: 17px;
    font-weight: 700;
}

.athena-account__hero h1 {
    margin: 0 0 12px;
    color: #fff;
    font-size: clamp(38px, 5vw, 58px);
    font-weight: 700;
    line-height: 1.15;
}

.athena-account__hero-copy > p:last-child {
    margin: 0;
    color: rgba(255, 255, 255, .82);
    font-size: 19px;
    line-height: 1.8;
}

.athena-account__hero-actions {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 28px;
}

.athena-account__hero-action {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 10px 22px;
    border: 1px solid rgba(255, 255, 255, .18);
    border-radius: 13px;
    text-decoration: none !important;
    font-size: 17px;
    font-weight: 700;
    line-height: 1.35;
    transition: transform .18s ease, background-color .18s ease, border-color .18s ease;
}

.athena-account__hero-action--primary {
    color: var(--athena-navy) !important;
    background: #8fe0d6;
    box-shadow: 0 10px 24px rgba(0, 0, 0, .12);
}

.athena-account__hero-action--secondary {
    color: #fff !important;
    background: rgba(255, 255, 255, .08);
    box-shadow: none;
    backdrop-filter: blur(6px);
}

.athena-account__hero-action:hover,
.athena-account__hero-action:focus-visible {
    transform: translateY(-1px);
}

.athena-account__hero-action--primary:hover,
.athena-account__hero-action--primary:focus-visible {
    background: #9be5dc;
}

.athena-account__hero-action--secondary:hover,
.athena-account__hero-action--secondary:focus-visible {
    color: #fff !important;
    border-color: rgba(255, 255, 255, .34);
    background: rgba(255, 255, 255, .14);
}

.athena-account__content {
    padding: clamp(28px, 5vw, 58px);
    background: #f7f9fc;
}

.athena-account__native {
    width: 100%;
    min-height: 250px;
    padding: clamp(22px, 4vw, 38px);
    border: 1px solid var(--athena-border);
    border-radius: 22px;
    background: #fff;
    box-shadow: 0 10px 30px rgba(16, 26, 51, .06);
    color: var(--athena-ink);
    text-align: right;
}

.athena-account__native,
.athena-account__native p,
.athena-account__native li,
.athena-account__native label,
.athena-account__native th,
.athena-account__native td,
.athena-account__native input,
.athena-account__native select,
.athena-account__native textarea,
.athena-account__native button,
.athena-account__native a {
    font-family: var(--athena-font) !important;
}

/* PMS account navigation: supports both current and older class names. */
.athena-account__native #pms-account-navigation,
.athena-account__native .pms-account-navigation,
.athena-account__native .pms-account-tabs,
.athena-account__native .pms-account__tabs,
.athena-account__native nav[class*="pms-account"] {
    width: 100%;
    margin: 0 0 30px !important;
    padding: 8px !important;
    border: 1px solid var(--athena-border);
    border-radius: 16px;
    background: #f5f8fb;
}

.athena-account__native #pms-account-navigation ul,
.athena-account__native .pms-account-navigation ul,
.athena-account__native ul.pms-account-navigation,
.athena-account__native .pms-account-tabs ul,
.athena-account__native ul.pms-account-tabs,
.athena-account__native .pms-account__tabs ul {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
    margin: 0 !important;
    padding: 0 !important;
    list-style: none !important;
}

.athena-account__native #pms-account-navigation li,
.athena-account__native .pms-account-navigation li,
.athena-account__native .pms-account-tabs li,
.athena-account__native .pms-account__tabs li {
    float: none !important;
    width: auto !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    list-style: none !important;
}

.athena-account__native #pms-account-navigation a,
.athena-account__native .pms-account-navigation a,
.athena-account__native .pms-account-tabs a,
.athena-account__native .pms-account__tabs a,
.athena-account__native nav[class*="pms-account"] a {
    display: flex !important;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 9px 14px !important;
    border: 0 !important;
    border-radius: 11px;
    color: var(--athena-muted) !important;
    background: transparent;
    box-shadow: none !important;
    text-align: center;
    text-decoration: none !important;
    font-size: 16px;
    font-weight: 700;
    line-height: 1.4;
    transition: color .18s ease, background .18s ease, box-shadow .18s ease;
}

.athena-account__native #pms-account-navigation .current a,
.athena-account__native #pms-account-navigation .active a,
.athena-account__native #pms-account-navigation li[class*="active"] a,
.athena-account__native .pms-account-navigation .current a,
.athena-account__native .pms-account-navigation .active a,
.athena-account__native .pms-account-navigation li[class*="active"] a,
.athena-account__native .pms-account-tabs .current a,
.athena-account__native .pms-account-tabs .active a,
.athena-account__native .pms-account-tabs li[class*="active"] a,
.athena-account__native a[aria-current="page"] {
    color: #fff !important;
    background: linear-gradient(135deg, var(--athena-teal), var(--athena-teal-dark)) !important;
    box-shadow: 0 8px 18px rgba(38, 141, 131, .2) !important;
}

.athena-account__native #pms-account-navigation a:hover,
.athena-account__native .pms-account-navigation a:hover,
.athena-account__native .pms-account-tabs a:hover,
.athena-account__native .pms-account__tabs a:hover {
    color: var(--athena-teal-dark) !important;
    background: var(--athena-mint);
}

/* Keep the active tab readable when it is hovered, focused, or tapped. */
.athena-account__native #pms-account-navigation .current a:hover,
.athena-account__native #pms-account-navigation .current a:focus,
.athena-account__native #pms-account-navigation .active a:hover,
.athena-account__native #pms-account-navigation .active a:focus,
.athena-account__native #pms-account-navigation li[class*="active"] a:hover,
.athena-account__native #pms-account-navigation li[class*="active"] a:focus,
.athena-account__native .pms-account-navigation .current a:hover,
.athena-account__native .pms-account-navigation .current a:focus,
.athena-account__native .pms-account-navigation .active a:hover,
.athena-account__native .pms-account-navigation .active a:focus,
.athena-account__native .pms-account-navigation li[class*="active"] a:hover,
.athena-account__native .pms-account-navigation li[class*="active"] a:focus,
.athena-account__native .pms-account-tabs .current a:hover,
.athena-account__native .pms-account-tabs .current a:focus,
.athena-account__native .pms-account-tabs .active a:hover,
.athena-account__native .pms-account-tabs .active a:focus,
.athena-account__native .pms-account-tabs li[class*="active"] a:hover,
.athena-account__native .pms-account-tabs li[class*="active"] a:focus,
.athena-account__native a[aria-current="page"]:hover,
.athena-account__native a[aria-current="page"]:focus {
    color: #fff !important;
    background: linear-gradient(135deg, var(--athena-teal), var(--athena-teal-dark)) !important;
    box-shadow: 0 8px 18px rgba(38, 141, 131, .2) !important;
}

.athena-account__native h2,
.athena-account__native h3,
.athena-account__native h4 {
    margin: 0 0 18px;
    color: var(--athena-ink);
    font-weight: 700;
    line-height: 1.35;
}

.athena-account__native h2 { font-size: 30px; }
.athena-account__native h3 { font-size: 24px; }
.athena-account__native h4 { font-size: 20px; }

.athena-account__native p {
    margin: 0 0 18px;
    color: var(--athena-muted);
    font-size: 17px;
    line-height: 1.8;
}

.athena-account__native p a,
.athena-account__native td a,
.athena-account__native .pms-account-subscription-action-link,
.athena-account__native a[class*="pms-action"] {
    color: var(--athena-teal-dark);
    font-weight: 700;
    text-decoration: none;
}

.athena-account__native p a:hover,
.athena-account__native td a:hover {
    text-decoration: underline;
}

/* Empty account state. */
.athena-account__native > p:first-of-type {
    padding: 18px 20px;
    border: 1px solid #cce6e1;
    border-radius: 14px;
    color: #315f59;
    background: var(--athena-mint);
}

.athena-account__native > p:first-of-type + p {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding: 18px 20px;
    border: 1px dashed #c9d3df;
    border-radius: 14px;
    background: #fbfcfe;
}

.athena-account__native > p:first-of-type + p a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    padding: 8px 17px;
    border-radius: 10px;
    color: #fff !important;
    background: var(--athena-teal);
    text-decoration: none !important;
    white-space: nowrap;
}

/* PMS account forms. */
.athena-account__native form,
.athena-account__native fieldset {
    width: 100%;
}

.athena-account__native fieldset {
    margin: 22px 0;
    padding: 22px;
    border: 1px solid var(--athena-border);
    border-radius: 16px;
    background: #fbfcfe;
}

.athena-account__native legend {
    padding: 0 8px;
    color: var(--athena-teal-dark);
    font-size: 18px;
    font-weight: 700;
}

.athena-account__native form p,
.athena-account__native .pms-field,
.athena-account__native .pms-form-field,
.athena-account__native .pms-billing-field {
    margin: 0 0 20px;
}

.athena-account__native label {
    display: block;
    margin-bottom: 8px;
    color: var(--athena-ink);
    font-size: 17px;
    font-weight: 700;
}

.athena-account__native input[type="text"],
.athena-account__native input[type="email"],
.athena-account__native input[type="password"],
.athena-account__native input[type="tel"],
.athena-account__native input[type="number"],
.athena-account__native select,
.athena-account__native textarea {
    width: 100%;
    min-height: 52px;
    margin: 0;
    padding: 11px 14px;
    border: 1px solid var(--athena-border);
    border-radius: 12px;
    outline: none;
    color: var(--athena-ink);
    background: #fbfcfe;
    font-size: 17px;
    transition: border-color .2s ease, box-shadow .2s ease, background .2s ease;
}

.athena-account__native input:focus,
.athena-account__native select:focus,
.athena-account__native textarea:focus {
    border-color: var(--athena-teal);
    background: #fff;
    box-shadow: 0 0 0 4px rgba(38, 141, 131, .12);
}

.athena-account__native input[type="submit"],
.athena-account__native button[type="submit"],
.athena-account__native .button,
.athena-account__native a.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 10px 22px;
    border: 0 !important;
    border-radius: 11px !important;
    cursor: pointer;
    color: #fff !important;
    background: linear-gradient(135deg, var(--athena-teal), var(--athena-teal-dark)) !important;
    box-shadow: 0 9px 20px rgba(38, 141, 131, .2) !important;
    text-decoration: none !important;
    font-size: 17px;
    font-weight: 700;
}

/* Subscription and payment tables. */
.athena-account__native .pms-account-subscription-details-table,
.athena-account__native .pms-payment-history,
.athena-account__native table {
    width: 100% !important;
    margin: 20px 0 0 !important;
    overflow: hidden;
    border: 1px solid var(--athena-border) !important;
    border-collapse: separate !important;
    border-spacing: 0 !important;
    border-radius: 14px;
    background: #fff;
    text-align: right;
}

.athena-account__native th,
.athena-account__native td {
    padding: 14px 16px !important;
    border: 0 !important;
    border-bottom: 1px solid var(--athena-border) !important;
    color: var(--athena-ink);
    text-align: right !important;
    vertical-align: middle;
}

.athena-account__native th {
    color: var(--athena-ink);
    background: #f2f6f9;
    font-size: 16px;
    font-weight: 700;
}

.athena-account__native td {
    font-size: 16px;
}

.athena-account__native tr:last-child td {
    border-bottom: 0 !important;
}

.athena-account__native .pms-alert,
.athena-account__native .pms-success,
.athena-account__native .pms-error,
.athena-account__native .pms-form-error {
    margin: 0 0 20px;
    padding: 14px 16px;
    border: 1px solid var(--athena-border);
    border-radius: 12px;
    font-size: 16px;
    line-height: 1.7;
}

.athena-account__native .pms-success {
    border-color: #b9ded7;
    color: #285f57;
    background: var(--athena-mint);
}

.athena-account__native .pms-error,
.athena-account__native .pms-form-error {
    border-color: #f1c8c8;
    color: #8c2d2d;
    background: #fff3f3;
}

@media (max-width: 820px) {
    .athena-account {
        padding: 20px 14px;
    }

    .athena-account__shell {
        border-radius: 22px;
    }

    .athena-account__hero {
        min-height: auto;
        padding: 30px 24px 36px;
    }

    .athena-account__topbar {
        align-items: flex-start;
        flex-direction: column;
    }

    .athena-account__hero-copy {
        margin-top: 38px;
    }

    .athena-account__content {
        padding: 18px;
    }

    .athena-account__native {
        padding: 20px;
        border-radius: 17px;
    }

    .athena-account__native #pms-account-navigation ul,
    .athena-account__native .pms-account-navigation ul,
    .athena-account__native ul.pms-account-navigation,
    .athena-account__native .pms-account-tabs ul,
    .athena-account__native ul.pms-account-tabs,
    .athena-account__native .pms-account__tabs ul {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .athena-account__native > p:first-of-type + p {
        align-items: stretch;
        flex-direction: column;
    }

    .athena-account__native table {
        display: block;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }
}

@media (max-width: 480px) {
    .athena-account__brand strong,
    .athena-account__identity strong {
        font-size: 16px;
    }

    .athena-account__identity em {
        max-width: 205px;
    }

    .athena-account__hero h1 {
        font-size: 38px;
    }

    .athena-account__hero-copy > p:last-child {
        font-size: 17px;
    }

    .athena-account__hero-actions {
        align-items: stretch;
        flex-direction: column;
    }

    .athena-account__hero-action {
        width: 100%;
        padding-inline: 16px;
        text-align: center;
    }

    .athena-account__native #pms-account-navigation ul,
    .athena-account__native .pms-account-navigation ul,
    .athena-account__native ul.pms-account-navigation,
    .athena-account__native .pms-account-tabs ul,
    .athena-account__native ul.pms-account-tabs,
    .athena-account__native .pms-account__tabs ul {
        grid-template-columns: 1fr;
    }
}

/* v1.3.2: final active-account-tab text fix.
 * PMS/theme versions may place the active class on the link itself and may
 * wrap the label in a span with its own color. Force the active label and all
 * descendants to remain white in every interaction state. */
body.athena-account-page-active .athena-account__native #pms-account-navigation li.current > a,
body.athena-account-page-active .athena-account__native #pms-account-navigation li.active > a,
body.athena-account-page-active .athena-account__native #pms-account-navigation li[class~="current"] > a,
body.athena-account-page-active .athena-account__native #pms-account-navigation li[class~="active"] > a,
body.athena-account-page-active .athena-account__native #pms-account-navigation li[class*="--current"] > a,
body.athena-account-page-active .athena-account__native #pms-account-navigation li[class*="--active"] > a,
body.athena-account-page-active .athena-account__native #pms-account-navigation a.current,
body.athena-account-page-active .athena-account__native #pms-account-navigation a.active,
body.athena-account-page-active .athena-account__native #pms-account-navigation a[class~="current"],
body.athena-account-page-active .athena-account__native #pms-account-navigation a[class~="active"],
body.athena-account-page-active .athena-account__native #pms-account-navigation a[class*="--current"],
body.athena-account-page-active .athena-account__native #pms-account-navigation a[class*="--active"],
body.athena-account-page-active .athena-account__native #pms-account-navigation a[aria-current],
body.athena-account-page-active .athena-account__native .pms-account-navigation li.current > a,
body.athena-account-page-active .athena-account__native .pms-account-navigation li.active > a,
body.athena-account-page-active .athena-account__native .pms-account-navigation li[class~="current"] > a,
body.athena-account-page-active .athena-account__native .pms-account-navigation li[class~="active"] > a,
body.athena-account-page-active .athena-account__native .pms-account-navigation li[class*="--current"] > a,
body.athena-account-page-active .athena-account__native .pms-account-navigation li[class*="--active"] > a,
body.athena-account-page-active .athena-account__native .pms-account-navigation a.current,
body.athena-account-page-active .athena-account__native .pms-account-navigation a.active,
body.athena-account-page-active .athena-account__native .pms-account-navigation a[class~="current"],
body.athena-account-page-active .athena-account__native .pms-account-navigation a[class~="active"],
body.athena-account-page-active .athena-account__native .pms-account-navigation a[class*="--current"],
body.athena-account-page-active .athena-account__native .pms-account-navigation a[class*="--active"],
body.athena-account-page-active .athena-account__native .pms-account-navigation a[aria-current],
body.athena-account-page-active .athena-account__native .pms-account-tabs li.current > a,
body.athena-account-page-active .athena-account__native .pms-account-tabs li.active > a,
body.athena-account-page-active .athena-account__native .pms-account-tabs li[class~="current"] > a,
body.athena-account-page-active .athena-account__native .pms-account-tabs li[class~="active"] > a,
body.athena-account-page-active .athena-account__native .pms-account-tabs li[class*="--current"] > a,
body.athena-account-page-active .athena-account__native .pms-account-tabs li[class*="--active"] > a,
body.athena-account-page-active .athena-account__native .pms-account-tabs a.current,
body.athena-account-page-active .athena-account__native .pms-account-tabs a.active,
body.athena-account-page-active .athena-account__native .pms-account-tabs a[class~="current"],
body.athena-account-page-active .athena-account__native .pms-account-tabs a[class~="active"],
body.athena-account-page-active .athena-account__native .pms-account-tabs a[class*="--current"],
body.athena-account-page-active .athena-account__native .pms-account-tabs a[class*="--active"],
body.athena-account-page-active .athena-account__native .pms-account-tabs a[aria-current] {
    color: #ffffff !important;
    -webkit-text-fill-color: #ffffff !important;
    background: linear-gradient(135deg, var(--athena-teal), var(--athena-teal-dark)) !important;
}

body.athena-account-page-active .athena-account__native #pms-account-navigation li.current > a *,
body.athena-account-page-active .athena-account__native #pms-account-navigation li.active > a *,
body.athena-account-page-active .athena-account__native #pms-account-navigation li[class~="current"] > a *,
body.athena-account-page-active .athena-account__native #pms-account-navigation li[class~="active"] > a *,
body.athena-account-page-active .athena-account__native #pms-account-navigation li[class*="--current"] > a *,
body.athena-account-page-active .athena-account__native #pms-account-navigation li[class*="--active"] > a *,
body.athena-account-page-active .athena-account__native #pms-account-navigation a.current *,
body.athena-account-page-active .athena-account__native #pms-account-navigation a.active *,
body.athena-account-page-active .athena-account__native #pms-account-navigation a[class~="current"] *,
body.athena-account-page-active .athena-account__native #pms-account-navigation a[class~="active"] *,
body.athena-account-page-active .athena-account__native #pms-account-navigation a[class*="--current"] *,
body.athena-account-page-active .athena-account__native #pms-account-navigation a[class*="--active"] *,
body.athena-account-page-active .athena-account__native #pms-account-navigation a[aria-current] *,
body.athena-account-page-active .athena-account__native .pms-account-navigation li.current > a *,
body.athena-account-page-active .athena-account__native .pms-account-navigation li.active > a *,
body.athena-account-page-active .athena-account__native .pms-account-navigation li[class~="current"] > a *,
body.athena-account-page-active .athena-account__native .pms-account-navigation li[class~="active"] > a *,
body.athena-account-page-active .athena-account__native .pms-account-navigation li[class*="--current"] > a *,
body.athena-account-page-active .athena-account__native .pms-account-navigation li[class*="--active"] > a *,
body.athena-account-page-active .athena-account__native .pms-account-navigation a.current *,
body.athena-account-page-active .athena-account__native .pms-account-navigation a.active *,
body.athena-account-page-active .athena-account__native .pms-account-navigation a[class~="current"] *,
body.athena-account-page-active .athena-account__native .pms-account-navigation a[class~="active"] *,
body.athena-account-page-active .athena-account__native .pms-account-navigation a[class*="--current"] *,
body.athena-account-page-active .athena-account__native .pms-account-navigation a[class*="--active"] *,
body.athena-account-page-active .athena-account__native .pms-account-navigation a[aria-current] *,
body.athena-account-page-active .athena-account__native .pms-account-tabs li.current > a *,
body.athena-account-page-active .athena-account__native .pms-account-tabs li.active > a *,
body.athena-account-page-active .athena-account__native .pms-account-tabs li[class~="current"] > a *,
body.athena-account-page-active .athena-account__native .pms-account-tabs li[class~="active"] > a *,
body.athena-account-page-active .athena-account__native .pms-account-tabs li[class*="--current"] > a *,
body.athena-account-page-active .athena-account__native .pms-account-tabs li[class*="--active"] > a *,
body.athena-account-page-active .athena-account__native .pms-account-tabs a.current *,
body.athena-account-page-active .athena-account__native .pms-account-tabs a.active *,
body.athena-account-page-active .athena-account__native .pms-account-tabs a[class~="current"] *,
body.athena-account-page-active .athena-account__native .pms-account-tabs a[class~="active"] *,
body.athena-account-page-active .athena-account__native .pms-account-tabs a[class*="--current"] *,
body.athena-account-page-active .athena-account__native .pms-account-tabs a[class*="--active"] *,
body.athena-account-page-active .athena-account__native .pms-account-tabs a[aria-current] * {
    color: #ffffff !important;
    -webkit-text-fill-color: #ffffff !important;
}

/* Interaction states must not be allowed to restore the theme's visited/hover color. */
body.athena-account-page-active .athena-account__native a.current:is(:link, :visited, :hover, :focus, :active),
body.athena-account-page-active .athena-account__native a.active:is(:link, :visited, :hover, :focus, :active),
body.athena-account-page-active .athena-account__native a[class*="--current"]:is(:link, :visited, :hover, :focus, :active),
body.athena-account-page-active .athena-account__native a[class*="--active"]:is(:link, :visited, :hover, :focus, :active),
body.athena-account-page-active .athena-account__native a[aria-current]:is(:link, :visited, :hover, :focus, :active),
body.athena-account-page-active .athena-account__native li.current > a:is(:link, :visited, :hover, :focus, :active),
body.athena-account-page-active .athena-account__native li.active > a:is(:link, :visited, :hover, :focus, :active),
body.athena-account-page-active .athena-account__native li[class*="--current"] > a:is(:link, :visited, :hover, :focus, :active),
body.athena-account-page-active .athena-account__native li[class*="--active"] > a:is(:link, :visited, :hover, :focus, :active) {
    color: #ffffff !important;
    -webkit-text-fill-color: #ffffff !important;
}

/* v1.3.4: remove any leftover PMS helper separator under the login button. */
.athena-login__form-wrap .pms-login-links,
.athena-login__form-wrap .pms-login-register,
.athena-login__form-wrap .pms-login-lost-password,
.athena-login__form-wrap .login-register,
.athena-login__form-wrap .login-lost-password,
.athena-login__form-wrap form > p:empty,
.athena-login__form-wrap form > div:empty,
.athena-login__form-wrap form > span:empty,
.athena-login__form-wrap a:empty {
    display: none !important;
}

/* Password reset page */
.athena-auth__shell--recover {
    min-height: 620px;
}

.athena-auth__shell--recover .athena-auth__brand {
    min-height: 620px;
}

.athena-recover__form-wrap form,
.athena-recover__form-wrap .pms-form,
.athena-recover__form-wrap #pms_recover_password-form,
.athena-recover__form-wrap #pms-recover-password-form {
    margin: 0;
}

.athena-recover__form-wrap input[type="submit"],
.athena-recover__form-wrap button[type="submit"] {
    margin-top: 10px;
}

.athena-recover__form-wrap .pms-success,
.athena-recover__form-wrap .pms-message,
.athena-recover__form-wrap .pms-notice,
.athena-recover__form-wrap .pms-alert-success {
    margin: 0 0 20px;
    padding: 14px 16px;
    border: 1px solid #bfe4dc;
    border-radius: 12px;
    color: #155f58;
    background: #eefaf7;
    font-size: 16px;
    line-height: 1.75;
}

.athena-recover__form-wrap .pms-error,
.athena-recover__form-wrap .pms-alert,
.athena-recover__form-wrap .pms-field-error,
.athena-recover__form-wrap .pms-form-error {
    margin: 0 0 20px;
    padding: 14px 16px;
    border: 1px solid #f1c8c8;
    border-radius: 12px;
    color: #8c2d2d;
    background: #fff3f3;
    font-size: 16px;
    line-height: 1.75;
}

.athena-recover__form-wrap .password-input-wrapper,
.athena-recover__form-wrap .wp-pwd {
    width: 100%;
}

.athena-recover__form-wrap .button.wp-hide-pw,
.athena-recover__form-wrap button.wp-hide-pw {
    width: auto;
    min-height: 42px;
    margin: 0;
    padding: 8px 12px;
    border: 1px solid var(--athena-border);
    border-radius: 10px;
    color: var(--athena-ink) !important;
    background: #fff;
    box-shadow: none;
}

@media (max-width: 820px) {
    .athena-auth__shell--recover,
    .athena-auth__shell--recover .athena-auth__brand {
        min-height: 0;
    }
}

/* v1.7.0: Logout is a secondary account action, not a navigation tab.
 * A restrained red treatment follows the common convention for sign-out /
 * destructive account actions without competing with the primary teal CTA. */
.athena-account__user-tools {
    display: flex;
    align-items: center;
    gap: 16px;
}

.athena-account__logout {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 42px;
    padding: 8px 14px;
    border: 1px solid rgba(255, 181, 176, .48);
    border-radius: 11px;
    color: #ffd1cd !important;
    background: rgba(180, 35, 24, .12);
    box-shadow: none !important;
    text-decoration: none !important;
    white-space: nowrap;
    font-size: 15px;
    font-weight: 700;
    line-height: 1.3;
    transition: color .18s ease, background .18s ease, border-color .18s ease, transform .18s ease;
}

.athena-account__logout svg {
    flex: 0 0 19px;
    width: 19px;
    height: 19px;
}

.athena-account__logout:hover,
.athena-account__logout:focus-visible {
    color: #fff !important;
    border-color: #b42318;
    background: #b42318;
    transform: translateY(-1px);
}

.athena-account__logout:focus-visible {
    outline: 3px solid rgba(255, 209, 205, .35);
    outline-offset: 3px;
}

@media (max-width: 820px) {
    .athena-account__user-tools {
        width: 100%;
        justify-content: space-between;
    }
}

@media (max-width: 480px) {
    .athena-account__user-tools {
        align-items: flex-start;
        gap: 10px;
    }

    .athena-account__logout {
        min-height: 40px;
        padding: 7px 10px;
        font-size: 14px;
    }
}


/* v1.7.1: The header contains the only logout control. Hide any native
 * PMS logout tab as a defensive fallback across plugin versions. */
.athena-account__native #pms-account-navigation li:has(a[href*="logout" i]),
.athena-account__native .pms-account-navigation li:has(a[href*="logout" i]),
.athena-account__native .pms-account-tabs li:has(a[href*="logout" i]),
.athena-account__native .pms-account__tabs li:has(a[href*="logout" i]),
.athena-account__native nav[class*="pms-account"] li:has(a[href*="logout" i]),
.athena-account__native #pms-account-navigation a[href*="logout" i],
.athena-account__native .pms-account-navigation a[href*="logout" i],
.athena-account__native .pms-account-tabs a[href*="logout" i],
.athena-account__native .pms-account__tabs a[href*="logout" i],
.athena-account__native nav[class*="pms-account"] a[href*="logout" i] {
    display: none !important;
}

/* v1.7.2: Display the status stored on the actual PMS subscription record. */
.athena-account__native .athena-subscription-status,
.athena-account-status-summary .athena-subscription-status {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 30px;
    padding: 4px 11px;
    border: 1px solid transparent;
    border-radius: 999px;
    font-size: 14px;
    font-weight: 800;
    line-height: 1.3;
    white-space: nowrap;
}

.athena-subscription-status--active {
    color: #176b4d;
    border-color: #a8dbc8;
    background: #eaf8f2;
}

.athena-subscription-status--pending {
    color: #875b00;
    border-color: #efd18b;
    background: #fff7df;
}

.athena-subscription-status--expired,
.athena-subscription-status--canceled,
.athena-subscription-status--abandoned {
    color: #9a3029;
    border-color: #efb6b0;
    background: #fff0ef;
}

.athena-subscription-status--paused,
.athena-subscription-status--trial {
    color: #51428e;
    border-color: #c9c0ed;
    background: #f4f1ff;
}

.athena-account-status-summary {
    display: grid;
    gap: 12px;
    margin: 0 0 22px;
    padding: 18px;
    border: 1px solid #e6e0f0;
    border-radius: 16px;
    background: #fbfaff;
}

.athena-account-status-summary > strong {
    color: #2f2442;
    font-size: 17px;
}

.athena-account-status-summary__item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
}

.athena-account-status-summary__plan {
    color: #574c67;
    font-weight: 700;
}

@media (max-width: 520px) {
    .athena-account-status-summary__item {
        align-items: flex-start;
        flex-direction: column;
    }
}


/* v1.7.3: Mobile account-header logout layout.
 * Keep the profile identity and sign-out action inside the hero card on
 * narrow screens. The logout action becomes a full-width secondary action
 * below the identity instead of being pushed outside the viewport. */
@media (max-width: 600px) {
    .athena-account__topbar {
        gap: 20px;
    }

    .athena-account__user-tools {
        display: flex;
        width: 100%;
        min-width: 0;
        flex-direction: column;
        align-items: stretch;
        justify-content: flex-start;
        gap: 12px;
    }

    .athena-account__identity {
        width: 100%;
        min-width: 0;
        padding: 12px;
        border: 1px solid rgba(255, 255, 255, .14);
        border-radius: 16px;
        background: rgba(255, 255, 255, .06);
    }

    .athena-account__identity-copy {
        flex: 1 1 auto;
        min-width: 0;
    }

    .athena-account__identity em {
        max-width: 100%;
    }

    .athena-account__logout {
        width: 100%;
        max-width: none;
        min-height: 48px;
        margin: 0;
        padding: 10px 16px;
        border-radius: 14px;
        color: #ffd7d3 !important;
        background: rgba(180, 35, 24, .16);
        box-sizing: border-box;
    }

    .athena-account__logout:hover,
    .athena-account__logout:focus-visible {
        transform: none;
    }
}


/* Cross-device safety */
img, svg, video, canvas, iframe {
    max-width: 100%;
}

@media (max-width: 820px) {
    .athena-account {
        padding: 18px 12px 28px;
    }

    .athena-account__shell {
        border-radius: 22px;
    }
}

@media (max-width: 640px) {
    .athena-account {
        padding: 12px 0 22px;
    }

    .athena-account__shell {
        border-radius: 18px;
    }

    .athena-account__hero,
    .athena-account__content,
    .athena-account__native {
        padding-left: 18px;
        padding-right: 18px;
    }
}

@media (max-width: 420px) {
    .athena-account__hero,
    .athena-account__content,
    .athena-account__native {
        padding-left: 14px;
        padding-right: 14px;
    }
}


/* =========================================================
   Athena 2.0.4 — SIMPLE VERTICAL LOGIN ON EVERY DEVICE
   One compact card. No split hero. No duplicated branding.
   ========================================================= */
body.athena-login-page-active {
    background: #f4f7f8 !important;
}

body.athena-login-page-active .athena-login {
    width: 100% !important;
    min-height: calc(100vh - 60px);
    min-height: calc(100dvh - 60px);
    display: grid;
    place-items: center;
    padding: clamp(18px, 4vw, 44px) 16px !important;
}

body.athena-login-page-active .athena-login .athena-auth__shell,
body.athena-login-page-active .athena-login .athena-auth__shell--login {
    width: min(540px, 100%) !important;
    min-height: 0 !important;
    display: block !important;
    overflow: hidden !important;
    margin: 0 auto !important;
    border: 1px solid rgba(16, 26, 51, .08) !important;
    border-radius: 24px !important;
    background: #fff !important;
    box-shadow: 0 18px 55px rgba(16, 26, 51, .11) !important;
}

/* Remove the giant left/right brand panel completely. */
body.athena-login-page-active .athena-login .athena-auth__brand {
    display: none !important;
}

body.athena-login-page-active .athena-login .athena-auth__form-panel {
    min-height: 0 !important;
    display: block !important;
    padding: clamp(30px, 6vw, 50px) clamp(22px, 6vw, 48px) !important;
    background: #fff !important;
}

body.athena-login-page-active .athena-login .athena-auth__form-inner {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
}

/* Compact brand at the top of the same card on EVERY device. */
body.athena-login-page-active .athena-login .athena-auth__mobile-mark {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 9px !important;
    margin: 0 0 24px !important;
    color: var(--athena-ink) !important;
    text-align: center !important;
    font-size: 17px !important;
    font-weight: 700 !important;
}

body.athena-login-page-active .athena-login .athena-auth__mobile-mark .athena-auth__logo-image,
body.athena-login-page-active .athena-login .athena-auth__mobile-mark .athena-auth__fallback-mark {
    width: 56px !important;
    height: 56px !important;
    flex: 0 0 56px !important;
    border: 1px solid rgba(16, 26, 51, .08) !important;
    border-radius: 17px !important;
    background: #eef7f5 !important;
    color: var(--athena-teal-dark) !important;
    object-fit: contain !important;
    padding: 6px !important;
    box-shadow: none !important;
}

body.athena-login-page-active .athena-login .athena-auth__header {
    margin: 0 0 28px !important;
    text-align: center !important;
}

body.athena-login-page-active .athena-login .athena-auth__kicker {
    margin: 0 0 5px !important;
    color: var(--athena-teal-dark) !important;
    font-size: 15px !important;
    font-weight: 700 !important;
}

body.athena-login-page-active .athena-login .athena-auth__header h1,
body.athena-login-page-active .athena-login .athena-auth__logged-in h1 {
    margin: 0 0 8px !important;
    color: var(--athena-ink) !important;
    font-size: clamp(32px, 6vw, 42px) !important;
    line-height: 1.2 !important;
    text-align: center !important;
}

body.athena-login-page-active .athena-login .athena-auth__header p,
body.athena-login-page-active .athena-login .athena-auth__logged-in p {
    max-width: 390px !important;
    margin: 0 auto !important;
    color: var(--athena-muted) !important;
    font-size: 16px !important;
    line-height: 1.75 !important;
    text-align: center !important;
}

body.athena-login-page-active .athena-login .athena-auth__form-wrap p {
    margin-bottom: 17px !important;
}

body.athena-login-page-active .athena-login .athena-auth__form-wrap label {
    margin-bottom: 7px !important;
    font-size: 16px !important;
}

body.athena-login-page-active .athena-login .athena-auth__form-wrap input[type="text"],
body.athena-login-page-active .athena-login .athena-auth__form-wrap input[type="email"],
body.athena-login-page-active .athena-login .athena-auth__form-wrap input[type="password"] {
    min-height: 54px !important;
    padding: 11px 14px !important;
    border-radius: 12px !important;
    background: #f9fbfc !important;
    font-size: 17px !important;
}

body.athena-login-page-active .athena-login .athena-auth__form-wrap .login-remember {
    margin: 2px 0 20px !important;
}

body.athena-login-page-active .athena-login .athena-auth__form-wrap .login-remember label {
    font-size: 15px !important;
    font-weight: 600 !important;
}

body.athena-login-page-active .athena-login .athena-auth__form-wrap .login-submit {
    margin: 0 !important;
}

body.athena-login-page-active .athena-login .athena-auth__form-wrap input[type="submit"],
body.athena-login-page-active .athena-login .athena-auth__primary-link {
    min-height: 54px !important;
    border-radius: 12px !important;
    background: #268d83 !important;
    box-shadow: 0 10px 22px rgba(38, 141, 131, .20) !important;
    font-size: 17px !important;
}

body.athena-login-page-active .athena-login .athena-auth__divider {
    margin: 24px 0 18px !important;
}

body.athena-login-page-active .athena-login .athena-auth__register-prompt {
    font-size: 15.5px !important;
}

body.athena-login-page-active .athena-login .athena-auth__register-prompt a {
    font-size: 15.5px !important;
}

/* Small tablets and phones: same design, just tighter. */
@media (max-width: 640px) {
    body.athena-login-page-active .athena-login {
        min-height: auto !important;
        padding: 12px 10px 20px !important;
        place-items: start center !important;
    }

    body.athena-login-page-active .athena-login .athena-auth__shell,
    body.athena-login-page-active .athena-login .athena-auth__shell--login {
        border-radius: 18px !important;
        box-shadow: 0 12px 32px rgba(16, 26, 51, .10) !important;
    }

    body.athena-login-page-active .athena-login .athena-auth__form-panel {
        padding: 24px 18px 28px !important;
    }

    body.athena-login-page-active .athena-login .athena-auth__mobile-mark {
        margin-bottom: 20px !important;
    }

    body.athena-login-page-active .athena-login .athena-auth__mobile-mark .athena-auth__logo-image,
    body.athena-login-page-active .athena-login .athena-auth__mobile-mark .athena-auth__fallback-mark {
        width: 50px !important;
        height: 50px !important;
        flex-basis: 50px !important;
        border-radius: 15px !important;
    }

    body.athena-login-page-active .athena-login .athena-auth__header {
        margin-bottom: 23px !important;
    }

    body.athena-login-page-active .athena-login .athena-auth__header h1,
    body.athena-login-page-active .athena-login .athena-auth__logged-in h1 {
        font-size: 32px !important;
    }

    body.athena-login-page-active .athena-login .athena-auth__header p,
    body.athena-login-page-active .athena-login .athena-auth__logged-in p {
        font-size: 15px !important;
    }
}

@media (max-width: 390px) {
    body.athena-login-page-active .athena-login {
        padding-left: 6px !important;
        padding-right: 6px !important;
    }

    body.athena-login-page-active .athena-login .athena-auth__form-panel {
        padding-left: 14px !important;
        padding-right: 14px !important;
    }
}


/* =========================================================
   Athena 2.0.5 — SIMPLE VERTICAL + LIGHT BRAND ENERGY
   Keeps one-column simplicity; adds restrained visual warmth.
   ========================================================= */
body.athena-login-page-active {
    background:
        radial-gradient(circle at 8% 10%, rgba(38,141,131,.10) 0 90px, transparent 92px),
        radial-gradient(circle at 92% 88%, rgba(244,189,69,.10) 0 120px, transparent 122px),
        linear-gradient(180deg, #f8faf9 0%, #f2f6f6 100%) !important;
}

body.athena-login-page-active .athena-login {
    position: relative !important;
    isolation: isolate;
}

body.athena-login-page-active .athena-login::before,
body.athena-login-page-active .athena-login::after {
    content: "";
    position: fixed;
    z-index: -1;
    border-radius: 999px;
    pointer-events: none;
    filter: blur(.2px);
}

body.athena-login-page-active .athena-login::before {
    width: 180px;
    height: 180px;
    top: 8vh;
    left: -70px;
    background: rgba(38,141,131,.07);
}

body.athena-login-page-active .athena-login::after {
    width: 240px;
    height: 240px;
    right: -110px;
    bottom: 6vh;
    background: rgba(244,189,69,.07);
}

body.athena-login-page-active .athena-login .athena-auth__shell,
body.athena-login-page-active .athena-login .athena-auth__shell--login {
    position: relative !important;
    overflow: hidden !important;
    border: 1px solid rgba(16,26,51,.08) !important;
    background: rgba(255,255,255,.97) !important;
    box-shadow:
        0 24px 70px rgba(16,26,51,.10),
        0 2px 8px rgba(16,26,51,.04) !important;
}

/* Athena accent line: gives identity without turning the page colorful. */
body.athena-login-page-active .athena-login .athena-auth__shell::before {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    height: 5px;
    background: linear-gradient(90deg, #f4bd45 0 18%, #268d83 18% 82%, #ef7b37 82% 100%);
}

body.athena-login-page-active .athena-login .athena-auth__form-panel {
    padding-top: clamp(38px, 6vw, 56px) !important;
}

body.athena-login-page-active .athena-login .athena-auth__mobile-mark {
    gap: 10px !important;
}

body.athena-login-page-active .athena-login .athena-auth__mobile-mark .athena-auth__logo-image,
body.athena-login-page-active .athena-login .athena-auth__mobile-mark .athena-auth__fallback-mark {
    width: 64px !important;
    height: 64px !important;
    flex-basis: 64px !important;
    border: 1px solid rgba(38,141,131,.16) !important;
    border-radius: 19px !important;
    background:
        radial-gradient(circle at 30% 25%, rgba(255,255,255,.9), transparent 42%),
        #edf8f6 !important;
    box-shadow:
        0 10px 26px rgba(38,141,131,.13),
        inset 0 0 0 1px rgba(255,255,255,.7) !important;
}

body.athena-login-page-active .athena-login .athena-auth__mobile-mark > span {
    color: #1b776f !important;
    letter-spacing: .01em;
}

body.athena-login-page-active .athena-login .athena-auth__kicker {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    min-height: 30px;
    padding: 4px 13px !important;
    margin-bottom: 9px !important;
    border: 1px solid rgba(38,141,131,.12);
    border-radius: 999px;
    background: #eef8f6;
    color: #217f76 !important;
}

body.athena-login-page-active .athena-login .athena-auth__header h1 {
    letter-spacing: -.015em;
}

body.athena-login-page-active .athena-login .athena-auth__form-wrap {
    position: relative;
    margin-top: 2px;
}

body.athena-login-page-active .athena-login .athena-auth__form-wrap input[type="text"],
body.athena-login-page-active .athena-login .athena-auth__form-wrap input[type="email"],
body.athena-login-page-active .athena-login .athena-auth__form-wrap input[type="password"] {
    border-color: #dce6e8 !important;
    background: #fbfdfd !important;
    box-shadow: inset 0 1px 2px rgba(16,26,51,.025) !important;
    transition: border-color .18s ease, box-shadow .18s ease, background .18s ease, transform .18s ease !important;
}

body.athena-login-page-active .athena-login .athena-auth__form-wrap input[type="text"]:hover,
body.athena-login-page-active .athena-login .athena-auth__form-wrap input[type="email"]:hover,
body.athena-login-page-active .athena-login .athena-auth__form-wrap input[type="password"]:hover {
    border-color: rgba(38,141,131,.42) !important;
    background: #fff !important;
}

body.athena-login-page-active .athena-login .athena-auth__form-wrap input[type="text"]:focus,
body.athena-login-page-active .athena-login .athena-auth__form-wrap input[type="email"]:focus,
body.athena-login-page-active .athena-login .athena-auth__form-wrap input[type="password"]:focus {
    border-color: #268d83 !important;
    background: #fff !important;
    box-shadow: 0 0 0 4px rgba(38,141,131,.10) !important;
}

body.athena-login-page-active .athena-login .athena-auth__form-wrap input[type="submit"],
body.athena-login-page-active .athena-login .athena-auth__primary-link {
    background: linear-gradient(135deg, #2b998e, #217d75) !important;
    box-shadow: 0 12px 26px rgba(38,141,131,.22) !important;
}

body.athena-login-page-active .athena-login .athena-auth__form-wrap input[type="submit"]:hover,
body.athena-login-page-active .athena-login .athena-auth__primary-link:hover {
    transform: translateY(-1px) !important;
    box-shadow: 0 16px 32px rgba(38,141,131,.27) !important;
}

body.athena-login-page-active .athena-login .athena-auth__divider {
    color: #9aa8aa !important;
}

body.athena-login-page-active .athena-login .athena-auth__divider::before,
body.athena-login-page-active .athena-login .athena-auth__divider::after {
    background: linear-gradient(90deg, transparent, #dbe4e6) !important;
}

body.athena-login-page-active .athena-login .athena-auth__divider::after {
    background: linear-gradient(90deg, #dbe4e6, transparent) !important;
}

body.athena-login-page-active .athena-login .athena-auth__register-prompt {
    padding: 13px 14px;
    border: 1px solid #e5ecee;
    border-radius: 12px;
    background: #fafcfc;
}

body.athena-login-page-active .athena-login .athena-auth__register-prompt a {
    color: #217d75 !important;
    text-underline-offset: 4px;
}

@media (max-width: 640px) {
    body.athena-login-page-active {
        background:
            radial-gradient(circle at 0 3%, rgba(38,141,131,.08) 0 70px, transparent 72px),
            linear-gradient(180deg, #f8faf9, #f2f6f6) !important;
    }

    body.athena-login-page-active .athena-login::before,
    body.athena-login-page-active .athena-login::after {
        display: none;
    }

    body.athena-login-page-active .athena-login .athena-auth__shell,
    body.athena-login-page-active .athena-login .athena-auth__shell--login {
        box-shadow: 0 14px 38px rgba(16,26,51,.10) !important;
    }

    body.athena-login-page-active .athena-login .athena-auth__form-panel {
        padding-top: 32px !important;
    }

    body.athena-login-page-active .athena-login .athena-auth__mobile-mark .athena-auth__logo-image,
    body.athena-login-page-active .athena-login .athena-auth__mobile-mark .athena-auth__fallback-mark {
        width: 56px !important;
        height: 56px !important;
        flex-basis: 56px !important;
        border-radius: 17px !important;
    }
}

@media (prefers-reduced-motion: reduce) {
    body.athena-login-page-active .athena-login *,
    body.athena-login-page-active .athena-login *::before,
    body.athena-login-page-active .athena-login *::after {
        transition: none !important;
    }
}


/* =========================================================
   Athena Auth usability refinement — UI1
   Presentation-only overrides. Core auth/subscription logic
   remains unchanged.
   ========================================================= */

.athena-auth {
    --athena-orange: #ee7b35;
    --athena-gold: #f0c65a;
    --athena-cream: #fffaf1;
    --athena-surface: #f7f9fb;
    padding: clamp(22px, 4vw, 52px) 20px;
    background:
        radial-gradient(circle at 8% 12%, rgba(240, 198, 90, .17), transparent 27%),
        radial-gradient(circle at 92% 84%, rgba(38, 141, 131, .12), transparent 30%),
        #f4f7f8;
}

.athena-auth__shell {
    border-color: rgba(16, 26, 51, .09);
    border-radius: 24px;
    box-shadow: 0 20px 55px rgba(16, 26, 51, .11);
}

.athena-auth__shell--login {
    width: min(960px, 100%);
    min-height: 560px;
    grid-template-columns: minmax(300px, .88fr) minmax(400px, 1.12fr);
}

.athena-auth__shell--register {
    width: min(1120px, 100%);
    min-height: 650px;
    grid-template-columns: minmax(320px, .8fr) minmax(500px, 1.2fr);
}

.athena-auth__brand {
    min-height: 560px;
    padding: 44px;
    background:
        radial-gradient(circle at 18% 12%, rgba(240, 198, 90, .16), transparent 31%),
        linear-gradient(150deg, rgba(38, 141, 131, .36), transparent 52%),
        linear-gradient(155deg, #203454, var(--athena-navy));
}

.athena-auth__shell--register .athena-auth__brand {
    min-height: 650px;
}

.athena-auth__mark-wrap {
    width: 68px;
    height: 68px;
    margin-bottom: 22px;
    border-radius: 19px;
    box-shadow: inset 0 0 0 1px rgba(255,255,255,.05);
}

.athena-auth__eyebrow {
    margin-bottom: 9px;
    color: #a7ebe2;
    font-size: 16px;
}

.athena-auth__brand-badge {
    display: inline-flex;
    align-items: center;
    min-height: 30px;
    margin: 0 0 18px;
    padding: 4px 11px;
    border: 1px solid rgba(255, 255, 255, .15);
    border-radius: 999px;
    color: #fff7dd;
    background: rgba(240, 198, 90, .10);
    font-size: 14px;
    font-weight: 700;
    line-height: 1.4;
}

.athena-auth__brand h2 {
    margin-bottom: 14px;
    font-size: clamp(34px, 3.4vw, 45px);
    line-height: 1.16;
}

.athena-auth__brand-copy {
    max-width: 380px;
    font-size: 17px;
    line-height: 1.85;
    color: rgba(255,255,255,.84);
}

.athena-auth__benefits {
    gap: 11px;
    margin-top: 28px;
}

.athena-auth__benefits li {
    gap: 10px;
    font-size: 16px;
    line-height: 1.55;
}

.athena-auth__benefits span {
    flex-basis: 25px;
    width: 25px;
    height: 25px;
    color: #16303a;
    background: linear-gradient(135deg, #b6eee7, #f5d77d);
    font-size: 13px;
}

.athena-auth__form-panel {
    padding: clamp(38px, 5vw, 58px);
}

.athena-register__form-panel {
    padding-top: clamp(34px, 4vw, 50px);
    padding-bottom: clamp(34px, 4vw, 50px);
}

.athena-auth__form-inner {
    max-width: 450px;
}

.athena-register__form-inner {
    max-width: 620px;
}

.athena-auth__header {
    margin-bottom: 26px;
}

.athena-auth__kicker {
    margin-bottom: 7px;
    color: var(--athena-teal-dark);
    font-size: 15px;
    font-weight: 800;
    letter-spacing: .01em;
}

.athena-auth__kicker::before {
    content: "";
    display: inline-block;
    width: 8px;
    height: 8px;
    margin-left: 7px;
    border-radius: 50%;
    background: var(--athena-orange);
    vertical-align: 1px;
}

.athena-auth__header h1,
.athena-auth__logged-in h1 {
    margin-bottom: 9px;
    font-size: clamp(34px, 3.7vw, 44px);
    line-height: 1.18;
}

.athena-auth__header p,
.athena-auth__logged-in p {
    max-width: 520px;
    font-size: 16.5px;
    line-height: 1.75;
}

.athena-auth__form-wrap p,
.athena-auth__form-wrap .pms-field,
.athena-auth__form-wrap .pms-form-field,
.athena-auth__form-wrap .pms-billing-field {
    margin-bottom: 17px;
}

.athena-auth__form-wrap label,
.athena-auth__form-wrap legend {
    margin-bottom: 7px;
    font-size: 16px;
    font-weight: 700;
}

.athena-auth__form-wrap input[type="text"],
.athena-auth__form-wrap input[type="email"],
.athena-auth__form-wrap input[type="password"],
.athena-auth__form-wrap input[type="tel"],
.athena-auth__form-wrap input[type="number"],
.athena-auth__form-wrap select,
.athena-auth__form-wrap textarea {
    min-height: 54px;
    border: 1.5px solid #d8e1e8;
    border-radius: 12px;
    background: #fbfcfd;
    font-size: 17px;
}

.athena-auth__form-wrap input[type="text"]:hover,
.athena-auth__form-wrap input[type="email"]:hover,
.athena-auth__form-wrap input[type="password"]:hover,
.athena-auth__form-wrap input[type="tel"]:hover,
.athena-auth__form-wrap input[type="number"]:hover,
.athena-auth__form-wrap select:hover,
.athena-auth__form-wrap textarea:hover {
    border-color: #b7c9d1;
}

.athena-auth__form-wrap .login-remember {
    margin-top: 2px;
}

.athena-auth__form-wrap .login-remember label {
    font-size: 15.5px;
}

.athena-auth__form-wrap input[type="checkbox"],
.athena-auth__form-wrap input[type="radio"] {
    width: 20px;
    height: 20px;
    flex: 0 0 20px;
}

.athena-auth__form-wrap .login-submit {
    margin-top: 23px;
}

.athena-auth__form-wrap input[type="submit"],
.athena-auth__form-wrap button[type="submit"],
.athena-auth__primary-link {
    min-height: 56px;
    border-radius: 12px;
    background: linear-gradient(135deg, #2c978c, #19756e);
    box-shadow: 0 10px 22px rgba(38, 141, 131, .20);
    font-size: 17px;
}

.athena-auth__form-wrap input[type="submit"]:active,
.athena-auth__form-wrap button[type="submit"]:active,
.athena-auth__primary-link:active {
    transform: translateY(0);
    box-shadow: 0 5px 12px rgba(38, 141, 131, .18);
}

.athena-auth__form-wrap input:focus-visible,
.athena-auth__form-wrap select:focus-visible,
.athena-auth__form-wrap textarea:focus-visible,
.athena-auth__form-wrap button:focus-visible,
.athena-auth__primary-link:focus-visible,
.athena-auth__secondary-action a:focus-visible,
.athena-auth__text-link:focus-visible {
    outline: 3px solid rgba(238, 123, 53, .35);
    outline-offset: 3px;
}

.athena-auth__trust-note {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 15px 0 0;
    color: #66758a;
    font-size: 14.5px;
    line-height: 1.5;
}

.athena-auth__trust-note span {
    display: inline-grid;
    place-items: center;
    flex: 0 0 20px;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    color: #176c64;
    background: #e5f5f2;
    font-size: 12px;
    font-weight: 800;
}

.athena-auth__secondary-action {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    flex-wrap: wrap;
    margin-top: 24px;
    padding: 14px 16px;
    border: 1px solid #e4e9ee;
    border-radius: 12px;
    background: #fafbfc;
    color: var(--athena-muted);
    font-size: 15.5px;
}

.athena-auth__secondary-action a {
    color: var(--athena-teal-dark);
    font-weight: 800;
    text-decoration: none;
}

.athena-auth__secondary-action a:hover {
    text-decoration: underline;
}

.athena-auth__steps {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
    margin: 20px 0 0;
    padding: 0;
    list-style: none;
}

.athena-auth__steps li {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    min-height: 42px;
    padding: 7px 8px;
    border: 1px solid #e3e9ed;
    border-radius: 11px;
    background: #fbfcfd;
    color: #526174;
    text-align: center;
    font-size: 13.5px;
    font-weight: 700;
    line-height: 1.35;
}

.athena-auth__steps li span {
    display: grid;
    place-items: center;
    flex: 0 0 22px;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    color: #fff;
    background: var(--athena-teal);
    font-size: 12px;
    font-weight: 800;
}

.athena-auth__form-wrap .pms-login-error,
.athena-auth__form-wrap .pms-alert,
.athena-auth__form-wrap .pms-error,
.athena-auth__form-wrap .pms-field-error,
.athena-auth__form-wrap .pms-form-error,
.athena-auth__notice {
    border-right: 4px solid #c94a4a;
    border-radius: 10px;
    font-size: 15px;
}

.athena-register__form-wrap fieldset {
    margin: 20px 0;
    padding: 18px;
    border-radius: 13px;
    background: #fcfdfd;
}

.athena-register__form-wrap .pms-subscription-plan,
.athena-register__form-wrap #pms-subscription-plans > div,
.athena-register__form-wrap #pms-subscription-plans > label,
.athena-register__form-wrap .pms-subscription-plans > div,
.athena-register__form-wrap .pms-subscription-plans > label {
    padding: 15px 16px;
    border-width: 1.5px;
    border-radius: 12px;
}

.athena-register__form-wrap .pms-subscription-plan:has(input[type="radio"]:checked),
.athena-register__form-wrap #pms-subscription-plans > div:has(input[type="radio"]:checked),
.athena-register__form-wrap #pms-subscription-plans > label:has(input[type="radio"]:checked),
.athena-register__form-wrap .pms-subscription-plans > div:has(input[type="radio"]:checked),
.athena-register__form-wrap .pms-subscription-plans > label:has(input[type="radio"]:checked) {
    border-color: var(--athena-teal);
    background: #edf8f6;
    box-shadow: 0 0 0 3px rgba(38, 141, 131, .09);
}

@media (max-width: 920px) {
    .athena-auth {
        padding: 16px 12px 24px;
    }

    .athena-auth__shell--login,
    .athena-auth__shell--register {
        min-height: auto;
        grid-template-columns: 1fr;
    }

    .athena-auth__form-panel,
    .athena-register__form-panel {
        padding: 30px 24px 34px;
    }

    .athena-auth__mobile-mark {
        margin-bottom: 22px;
    }
}

@media (max-width: 640px) {
    .athena-auth {
        padding: 8px 0 18px;
        background: #f4f7f8;
    }

    .athena-auth__shell,
    .athena-auth__shell--login,
    .athena-auth__shell--register {
        border-radius: 16px;
        box-shadow: 0 12px 32px rgba(16, 26, 51, .10);
    }

    .athena-auth__form-panel,
    .athena-register__form-panel {
        padding: 22px 17px 27px;
    }

    .athena-auth__header {
        margin-bottom: 22px;
    }

    .athena-auth__header h1,
    .athena-auth__logged-in h1 {
        font-size: clamp(29px, 9vw, 35px);
    }

    .athena-auth__header p,
    .athena-auth__logged-in p {
        font-size: 15.5px;
        line-height: 1.65;
    }

    .athena-auth__steps {
        grid-template-columns: 1fr;
        gap: 6px;
        margin-top: 16px;
    }

    .athena-auth__steps li {
        justify-content: flex-start;
        min-height: 38px;
        padding: 6px 10px;
        text-align: right;
    }

    .athena-auth__secondary-action {
        margin-top: 20px;
        font-size: 15px;
    }

    .athena-auth__trust-note {
        font-size: 14px;
    }
}

@media (max-width: 420px) {
    .athena-auth__form-panel,
    .athena-register__form-panel {
        padding: 20px 14px 25px;
    }

    .athena-auth__mobile-mark {
        margin-bottom: 20px;
    }
}


/* =========================================================
   Athena Account UI2 — usability-focused account dashboard
   Presentation only: no authentication/subscription logic.
   ========================================================= */
body.athena-account-page-active {
    background: #f4f7f8 !important;
}

body.athena-account-page-active .athena-account {
    padding: clamp(18px, 3vw, 38px) 16px 42px !important;
    font-size: 16px;
}

body.athena-account-page-active .athena-account__shell {
    width: min(1120px, 100%) !important;
    border-radius: 24px !important;
    border-color: rgba(16, 26, 51, .07) !important;
    box-shadow: 0 18px 52px rgba(16, 26, 51, .10) !important;
}

/* A shorter hero keeps account tasks above the fold. */
body.athena-account-page-active .athena-account__hero {
    min-height: 0 !important;
    padding: 30px clamp(28px, 4vw, 44px) 34px !important;
    background:
        radial-gradient(circle at 96% 0%, rgba(143, 224, 214, .14), transparent 24%),
        linear-gradient(145deg, rgba(38, 141, 131, .24), transparent 55%),
        linear-gradient(155deg, #1b3150, var(--athena-navy)) !important;
}

body.athena-account-page-active .athena-account__hero::after {
    width: 240px !important;
    height: 240px !important;
    left: -120px !important;
    bottom: -165px !important;
    opacity: .6;
}

body.athena-account-page-active .athena-account__hero-glow--one {
    width: 190px !important;
    height: 190px !important;
    top: -105px !important;
    right: -55px !important;
}

body.athena-account-page-active .athena-account__hero-glow--two {
    display: none !important;
}

body.athena-account-page-active .athena-account__topbar {
    gap: 18px !important;
}

body.athena-account-page-active .athena-account__brand {
    gap: 11px !important;
}

body.athena-account-page-active .athena-account__brand-mark {
    flex-basis: 46px !important;
    width: 46px !important;
    height: 46px !important;
    border-radius: 13px !important;
}

body.athena-account-page-active .athena-account__brand small,
body.athena-account-page-active .athena-account__identity small {
    font-size: 12.5px !important;
}

body.athena-account-page-active .athena-account__brand strong {
    font-size: 16px !important;
}

body.athena-account-page-active .athena-account__user-tools {
    gap: 10px !important;
}

body.athena-account-page-active .athena-account__identity {
    gap: 10px !important;
    min-width: 0;
    padding: 7px 10px !important;
    border: 1px solid rgba(255, 255, 255, .12);
    border-radius: 13px;
    background: rgba(255, 255, 255, .055);
}

body.athena-account-page-active .athena-account__avatar {
    flex-basis: 40px !important;
    width: 40px !important;
    height: 40px !important;
    font-size: 19px !important;
}

body.athena-account-page-active .athena-account__identity strong {
    font-size: 15px !important;
}

body.athena-account-page-active .athena-account__identity em {
    max-width: 220px !important;
    font-size: 12px !important;
}

body.athena-account-page-active .athena-account__logout {
    min-height: 38px !important;
    padding: 7px 11px !important;
    border-color: rgba(255, 209, 205, .34) !important;
    border-radius: 10px !important;
    color: #ffd7d3 !important;
    background: rgba(180, 35, 24, .10) !important;
    font-size: 13px !important;
}

body.athena-account-page-active .athena-account__logout svg {
    width: 17px !important;
    height: 17px !important;
}

/* Clearer page hierarchy, with less vertical travel. */
body.athena-account-page-active .athena-account__hero-copy {
    max-width: 620px !important;
    margin-top: 26px !important;
}

body.athena-account-page-active .athena-account__kicker {
    margin-bottom: 4px !important;
    color: #9be5dc !important;
    font-size: 14px !important;
}

body.athena-account-page-active .athena-account__hero h1 {
    margin-bottom: 6px !important;
    font-size: clamp(34px, 4.2vw, 46px) !important;
    line-height: 1.15 !important;
}

body.athena-account-page-active .athena-account__hero-copy > p:last-child {
    max-width: 580px;
    font-size: 16px !important;
    line-height: 1.65 !important;
}

body.athena-account-page-active .athena-account__hero-actions {
    gap: 10px !important;
    margin-top: 18px !important;
}

body.athena-account-page-active .athena-account__hero-action {
    min-height: 43px !important;
    padding: 8px 16px !important;
    border-radius: 11px !important;
    font-size: 14.5px !important;
}

body.athena-account-page-active .athena-account__hero-action--primary {
    background: #8fe0d6 !important;
    box-shadow: 0 8px 18px rgba(0, 0, 0, .10) !important;
}

body.athena-account-page-active .athena-account__hero-action--secondary {
    background: rgba(255, 255, 255, .06) !important;
}

/* Content is the primary workspace, not a second oversized frame. */
body.athena-account-page-active .athena-account__content {
    padding: clamp(22px, 3.4vw, 36px) !important;
    background: #f6f8fb !important;
}

body.athena-account-page-active .athena-account__native {
    width: min(980px, 100%) !important;
    min-height: 230px !important;
    margin: 0 auto !important;
    padding: clamp(20px, 3vw, 28px) !important;
    border-radius: 18px !important;
    border-color: #e2e8ef !important;
    box-shadow: 0 8px 24px rgba(16, 26, 51, .045) !important;
}

/* Three stable destinations: same order, same position, one glance. */
body.athena-account-page-active .athena-account__native #pms-account-navigation,
body.athena-account-page-active .athena-account__native .pms-account-navigation,
body.athena-account-page-active .athena-account__native .pms-account-tabs,
body.athena-account-page-active .athena-account__native .pms-account__tabs,
body.athena-account-page-active .athena-account__native nav[class*="pms-account"] {
    margin-bottom: 24px !important;
    padding: 6px !important;
    border-radius: 14px !important;
    background: #f3f6f8 !important;
}

body.athena-account-page-active .athena-account__native #pms-account-navigation ul,
body.athena-account-page-active .athena-account__native .pms-account-navigation ul,
body.athena-account-page-active .athena-account__native ul.pms-account-navigation,
body.athena-account-page-active .athena-account__native .pms-account-tabs ul,
body.athena-account-page-active .athena-account__native ul.pms-account-tabs,
body.athena-account-page-active .athena-account__native .pms-account__tabs ul {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 6px !important;
}

body.athena-account-page-active .athena-account__native #pms-account-navigation a,
body.athena-account-page-active .athena-account__native .pms-account-navigation a,
body.athena-account-page-active .athena-account__native .pms-account-tabs a,
body.athena-account-page-active .athena-account__native .pms-account__tabs a,
body.athena-account-page-active .athena-account__native nav[class*="pms-account"] a {
    min-height: 44px !important;
    padding: 8px 12px !important;
    border-radius: 10px !important;
    font-size: 14.5px !important;
}

body.athena-account-page-active .athena-account__native #pms-account-navigation .current a,
body.athena-account-page-active .athena-account__native #pms-account-navigation .active a,
body.athena-account-page-active .athena-account__native #pms-account-navigation li[class*="active"] a,
body.athena-account-page-active .athena-account__native .pms-account-navigation .current a,
body.athena-account-page-active .athena-account__native .pms-account-navigation .active a,
body.athena-account-page-active .athena-account__native .pms-account-navigation li[class*="active"] a,
body.athena-account-page-active .athena-account__native .pms-account-tabs .current a,
body.athena-account-page-active .athena-account__native .pms-account-tabs .active a,
body.athena-account-page-active .athena-account__native .pms-account-tabs li[class*="active"] a,
body.athena-account-page-active .athena-account__native a[aria-current="page"] {
    background: #268d83 !important;
    box-shadow: 0 6px 14px rgba(38, 141, 131, .17) !important;
}

/* A single, understandable empty state instead of two unrelated notices. */
body.athena-account-page-active .athena-account__native .athena-account-empty__message {
    position: relative;
    margin: 4px 0 8px !important;
    padding: 70px 20px 8px !important;
    border: 0 !important;
    border-radius: 16px 16px 0 0 !important;
    color: var(--athena-ink) !important;
    background: #fbfcfd !important;
    text-align: center !important;
    font-size: 18px !important;
    font-weight: 700 !important;
    line-height: 1.6 !important;
}

body.athena-account-page-active .athena-account__native .athena-account-empty__message::before {
    content: "＋";
    position: absolute;
    top: 20px;
    left: 50%;
    display: grid;
    place-items: center;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    color: var(--athena-teal-dark);
    background: var(--athena-mint);
    font-size: 20px;
    font-weight: 800;
    transform: translateX(-50%);
}

body.athena-account-page-active .athena-account__native .athena-account-empty__action {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    flex-wrap: wrap;
    gap: 8px !important;
    margin: 0 0 4px !important;
    padding: 8px 20px 24px !important;
    border: 0 !important;
    border-radius: 0 0 16px 16px !important;
    color: var(--athena-muted) !important;
    background: #fbfcfd !important;
    text-align: center !important;
    font-size: 15px !important;
    line-height: 1.6 !important;
}

body.athena-account-page-active .athena-account__native .athena-account-empty__action a {
    min-height: 42px !important;
    padding: 8px 16px !important;
    border-radius: 10px !important;
    color: #fff !important;
    background: var(--athena-teal) !important;
    text-decoration: none !important;
    font-size: 14.5px !important;
    font-weight: 700 !important;
}

/* Keep ordinary PMS copy calm; action links remain obvious. */
body.athena-account-page-active .athena-account__native p {
    font-size: 16px !important;
    line-height: 1.75 !important;
}

body.athena-account-page-active .athena-account__native h2 {
    font-size: 26px !important;
}

body.athena-account-page-active .athena-account__native h3 {
    font-size: 22px !important;
}

/* Forms: stronger grouping, clearer focus, same PMS fields and names. */
body.athena-account-page-active .athena-account__native fieldset {
    margin: 18px 0 !important;
    padding: 20px !important;
    border-radius: 14px !important;
    background: #fbfcfd !important;
}

body.athena-account-page-active .athena-account__native label {
    font-size: 15.5px !important;
}

body.athena-account-page-active .athena-account__native input[type="text"],
body.athena-account-page-active .athena-account__native input[type="email"],
body.athena-account-page-active .athena-account__native input[type="password"],
body.athena-account-page-active .athena-account__native input[type="tel"],
body.athena-account-page-active .athena-account__native input[type="number"],
body.athena-account-page-active .athena-account__native select,
body.athena-account-page-active .athena-account__native textarea {
    min-height: 50px !important;
    border-radius: 11px !important;
    font-size: 16px !important;
}

body.athena-account-page-active .athena-account__native input:focus-visible,
body.athena-account-page-active .athena-account__native select:focus-visible,
body.athena-account-page-active .athena-account__native textarea:focus-visible,
body.athena-account-page-active .athena-account__native a:focus-visible,
body.athena-account-page-active .athena-account__native button:focus-visible,
body.athena-account-page-active .athena-account__hero-action:focus-visible,
body.athena-account-page-active .athena-account__logout:focus-visible {
    outline: 3px solid rgba(143, 224, 214, .48) !important;
    outline-offset: 3px !important;
}

/* Tables stay readable and compact; no data structure is changed. */
body.athena-account-page-active .athena-account__native .pms-account-subscription-details-table,
body.athena-account-page-active .athena-account__native .pms-payment-history,
body.athena-account-page-active .athena-account__native table {
    margin-top: 16px !important;
    border-radius: 12px !important;
}

body.athena-account-page-active .athena-account__native th,
body.athena-account-page-active .athena-account__native td {
    padding: 12px 14px !important;
    font-size: 15px !important;
}

/* Subscription status summary now uses the same visual language as the dashboard. */
body.athena-account-page-active .athena-account-status-summary {
    gap: 10px !important;
    margin-bottom: 18px !important;
    padding: 15px 16px !important;
    border-color: #dfe8e6 !important;
    border-radius: 13px !important;
    background: #f8fbfa !important;
}

body.athena-account-page-active .athena-account-status-summary > strong {
    color: var(--athena-ink) !important;
    font-size: 15.5px !important;
}

@media (max-width: 820px) {
    body.athena-account-page-active .athena-account {
        padding: 14px 10px 28px !important;
    }

    body.athena-account-page-active .athena-account__shell {
        border-radius: 18px !important;
    }

    body.athena-account-page-active .athena-account__hero {
        padding: 24px 22px 28px !important;
    }

    body.athena-account-page-active .athena-account__topbar {
        align-items: stretch !important;
        flex-direction: column !important;
    }

    body.athena-account-page-active .athena-account__user-tools {
        width: 100% !important;
        flex-direction: row !important;
        align-items: center !important;
        justify-content: space-between !important;
    }

    body.athena-account-page-active .athena-account__identity {
        flex: 1 1 auto;
    }

    body.athena-account-page-active .athena-account__hero-copy {
        margin-top: 24px !important;
    }

    body.athena-account-page-active .athena-account__content {
        padding: 18px !important;
    }

    body.athena-account-page-active .athena-account__native {
        padding: 18px !important;
    }
}

@media (max-width: 560px) {
    body.athena-account-page-active .athena-account {
        padding: 0 0 20px !important;
    }

    body.athena-account-page-active .athena-account__shell {
        border-radius: 0 0 18px 18px !important;
        border-left: 0 !important;
        border-right: 0 !important;
    }

    body.athena-account-page-active .athena-account__hero {
        padding: 20px 16px 24px !important;
    }

    body.athena-account-page-active .athena-account__brand-mark {
        flex-basis: 42px !important;
        width: 42px !important;
        height: 42px !important;
    }

    body.athena-account-page-active .athena-account__brand strong {
        font-size: 15px !important;
    }

    body.athena-account-page-active .athena-account__user-tools {
        flex-direction: column !important;
        align-items: stretch !important;
    }

    body.athena-account-page-active .athena-account__identity {
        width: 100% !important;
    }

    body.athena-account-page-active .athena-account__identity em {
        max-width: 100% !important;
    }

    body.athena-account-page-active .athena-account__logout {
        width: 100% !important;
        min-height: 42px !important;
    }

    body.athena-account-page-active .athena-account__hero h1 {
        font-size: 34px !important;
    }

    body.athena-account-page-active .athena-account__hero-actions {
        align-items: stretch !important;
        flex-direction: column !important;
    }

    body.athena-account-page-active .athena-account__hero-action {
        width: 100% !important;
    }

    body.athena-account-page-active .athena-account__content {
        padding: 14px 10px !important;
    }

    body.athena-account-page-active .athena-account__native {
        padding: 14px !important;
        border-radius: 14px !important;
    }

    /* Keep all three destinations visible at once instead of stacking them. */
    body.athena-account-page-active .athena-account__native #pms-account-navigation ul,
    body.athena-account-page-active .athena-account__native .pms-account-navigation ul,
    body.athena-account-page-active .athena-account__native ul.pms-account-navigation,
    body.athena-account-page-active .athena-account__native .pms-account-tabs ul,
    body.athena-account-page-active .athena-account__native ul.pms-account-tabs,
    body.athena-account-page-active .athena-account__native .pms-account__tabs ul {
        grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
        gap: 4px !important;
    }

    body.athena-account-page-active .athena-account__native #pms-account-navigation a,
    body.athena-account-page-active .athena-account__native .pms-account-navigation a,
    body.athena-account-page-active .athena-account__native .pms-account-tabs a,
    body.athena-account-page-active .athena-account__native .pms-account__tabs a,
    body.athena-account-page-active .athena-account__native nav[class*="pms-account"] a {
        min-height: 42px !important;
        padding: 6px 5px !important;
        font-size: 13px !important;
        line-height: 1.25 !important;
    }

    body.athena-account-page-active .athena-account__native .athena-account-empty__message {
        padding: 64px 12px 6px !important;
        font-size: 16.5px !important;
    }

    body.athena-account-page-active .athena-account__native .athena-account-empty__action {
        padding: 8px 12px 20px !important;
        font-size: 14px !important;
    }

    body.athena-account-page-active .athena-account__native .athena-account-empty__action a {
        width: 100%;
    }

    body.athena-account-page-active .athena-account__native table {
        font-size: 14px !important;
    }
}


/* ===== Register page UI3 usability refinements ===== */
.athena-register .athena-auth__shell--register{
    min-height: 600px;
    grid-template-columns: minmax(320px, .76fr) minmax(520px, 1.24fr);
}
.athena-register .athena-auth__brand{
    min-height: 600px;
    padding: 42px 38px;
}
.athena-register .athena-auth__mark-wrap{
    width: 64px;
    height: 64px;
    margin-bottom: 18px;
    border-radius: 18px;
}
.athena-register .athena-auth__brand-badge{
    margin-bottom: 14px;
    font-size: 13px;
}
.athena-register .athena-auth__brand h2{
    margin-bottom: 12px;
    font-size: clamp(30px, 3vw, 40px);
}
.athena-register .athena-auth__brand-copy{
    max-width: 360px;
    font-size: 16px;
    line-height: 1.8;
}
.athena-register .athena-auth__benefits{
    gap: 10px;
    margin-top: 22px;
}
.athena-register .athena-auth__benefits li{
    font-size: 15px;
}
.athena-register .athena-auth__form-panel{
    padding-top: clamp(28px, 4vw, 40px);
    padding-bottom: clamp(30px, 4vw, 42px);
}
.athena-register .athena-auth__header{
    margin-bottom: 24px;
}
.athena-register .athena-auth__header h1{
    font-size: clamp(32px, 3.5vw, 42px);
    margin-bottom: 10px;
}
.athena-register .athena-auth__header p{
    font-size: 15.75px;
    line-height: 1.75;
}
.athena-register .athena-auth__steps{
    margin-top: 16px;
    gap: 10px;
}
.athena-register .athena-auth__steps li{
    min-height: 46px;
    padding: 8px 10px;
    border-radius: 12px;
    font-size: 13px;
}

/* Register chooser and plan cards from pricing plugin */
.athena-register__form-wrap .athena-unified-register,
.athena-register__form-wrap .athena-register-clean{
    width: 100%;
    margin: 0;
    padding: 0;
    direction: rtl;
    text-align: right;
}
.athena-register__form-wrap .athena-register-clean + .athena-register-clean{
    margin-top: 10px;
}
.athena-register__form-wrap .athena-register-clean__heading{
    margin: 0 0 18px;
    padding: 0 0 14px;
    border-bottom: 1px solid #e6ebef;
}
.athena-register__form-wrap .athena-register-clean__heading h2{
    margin: 0 0 6px !important;
    color: var(--athena-ink);
    font-size: clamp(24px, 3.1vw, 32px) !important;
    line-height: 1.35 !important;
}
.athena-register__form-wrap .athena-register-clean__heading p{
    margin: 0 !important;
    color: var(--athena-muted);
    font-size: 15px;
    line-height: 1.8;
}
.athena-register__form-wrap .athena-register-clean__courses,
.athena-register__form-wrap .athena-register-clean__plans{
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px !important;
    margin: 0 !important;
    padding: 0 !important;
}
.athena-register__form-wrap .athena-register-clean__course{
    display: flex !important;
    flex-direction: column;
    justify-content: center;
    min-height: 102px;
    padding: 18px;
    border: 1px solid #dbe5ea;
    border-right: 4px solid var(--athena-accent, var(--athena-teal));
    border-radius: 16px;
    background: #fff;
    color: var(--athena-ink) !important;
    text-decoration: none !important;
    box-shadow: 0 10px 24px rgba(16,47,83,.06);
    transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.athena-register__form-wrap .athena-register-clean__course:hover,
.athena-register__form-wrap .athena-register-clean__course:focus-visible{
    transform: translateY(-2px);
    border-color: color-mix(in srgb, var(--athena-accent, var(--athena-teal)) 45%, #dbe5ea);
    box-shadow: 0 15px 30px rgba(16,47,83,.1);
    outline: none;
}
.athena-register__form-wrap .athena-register-clean__course strong{
    font-size: 16px;
    line-height: 1.65;
}
.athena-register__form-wrap .athena-register-clean__course span{
    margin-top: 6px;
    color: var(--athena-accent, var(--athena-teal-dark));
    font-size: 13px;
    font-weight: 800;
}
.athena-register__form-wrap .athena-register-clean__plan{
    position: relative;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    min-height: 208px;
    padding: 26px 18px 18px !important;
    border: 2px solid #dbe5ea !important;
    border-radius: 18px !important;
    background: #fff !important;
    color: var(--athena-ink) !important;
    text-decoration: none !important;
    text-align: center !important;
    box-shadow: 0 12px 26px rgba(16,47,83,.06);
    transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.athena-register__form-wrap .athena-register-clean__plan:hover,
.athena-register__form-wrap .athena-register-clean__plan.is-selected,
.athena-register__form-wrap .athena-register-clean__plan:focus-visible{
    transform: translateY(-2px);
    border-color: var(--athena-teal) !important;
    box-shadow: 0 16px 34px rgba(38,141,131,.14);
    outline: none;
}
.athena-register__form-wrap .athena-register-clean__plan em{
    position: absolute;
    top: -12px;
    right: 50%;
    transform: translateX(50%);
    padding: 6px 14px;
    border-radius: 999px;
    background: #f2b447;
    color: #fff;
    font-size: 11px;
    font-style: normal;
    font-weight: 900;
}
.athena-register__form-wrap .athena-register-clean__plan-name{
    color: #40566d;
    font-size: 15px;
    font-weight: 900;
    line-height: 1.55;
}
.athena-register__form-wrap .athena-register-clean__plan > strong{
    display: block;
    margin: 10px 0 5px !important;
    color: var(--athena-ink) !important;
    font-size: 38px !important;
    line-height: 1 !important;
    direction: ltr;
}
.athena-register__form-wrap .athena-register-clean__plan > small{
    display: block;
    min-height: 24px;
    color: #6f8093;
    font-size: 13px;
    line-height: 1.7;
}
.athena-register__form-wrap .athena-register-clean__plan > b{
    display: block;
    width: 100%;
    margin-top: 16px;
    padding: 11px 12px;
    border-radius: 11px;
    background: linear-gradient(135deg, #2c978c, #19756e);
    color: #fff;
    font-size: 14px;
    line-height: 1.4;
}
.athena-register__form-wrap .athena-register-clean__form{
    margin-top: 22px;
    padding-top: 22px;
    border-top: 1px solid #e6ebef;
    scroll-margin-top: 24px;
}
.athena-register__form-wrap .athena-register-clean__form > h2{
    margin: 0 0 6px !important;
    color: var(--athena-ink);
    font-size: 25px !important;
    line-height: 1.45 !important;
}
.athena-register__form-wrap .athena-register-clean__form > p{
    margin: 0 0 16px !important;
    color: var(--athena-muted);
    line-height: 1.8;
}
.athena-register__form-wrap .athena-register-clean__form #pms-subscription-plans,
.athena-register__form-wrap .athena-register-clean__form .pms-subscription-plans,
.athena-register__form-wrap .athena-register-clean__form .pms-field-subscriptions{
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    margin: -1px !important;
    padding: 0 !important;
    overflow: hidden !important;
    clip: rect(0,0,0,0) !important;
    white-space: nowrap !important;
    border: 0 !important;
}
.athena-register__form-wrap .athena-register-clean__form .athena-unified-register__form{
    padding: 0 !important;
    border: 0 !important;
    background: transparent !important;
}
.athena-register__form-wrap .athena-register-clean__form .pms-form-fields-wrapper,
.athena-register__form-wrap .athena-register-clean__form #pms_register-form{
    width: 100% !important;
    max-width: none !important;
}
.athena-register__form-wrap .athena-register-clean a{
    text-decoration: none !important;
}
.athena-register__form-wrap .athena-register-clean ul,
.athena-register__form-wrap .athena-register-clean ol{
    margin: 0;
    padding: 0;
}

@media (max-width: 920px){
    .athena-auth__brand{
        display: none;
    }
    .athena-auth__mobile-mark{
        display: inline-flex;
        align-items: center;
        gap: 10px;
        margin: 0 0 16px;
        color: var(--athena-ink);
        font-size: 15px;
        font-weight: 800;
    }
    .athena-auth__mobile-mark .athena-auth__logo-image,
    .athena-auth__mobile-mark .athena-auth__fallback-mark{
        width: 42px;
        height: 42px;
        border-radius: 12px;
        background: #f0f6f7;
        padding: 4px;
    }
    .athena-register .athena-auth__form-inner{
        max-width: 700px;
    }
}

@media (max-width: 760px){
    .athena-register__form-wrap .athena-register-clean__courses,
    .athena-register__form-wrap .athena-register-clean__plans{
        grid-template-columns: 1fr !important;
    }
    .athena-register__form-wrap .athena-register-clean__plan{
        min-height: 188px;
    }
}

@media (max-width: 640px){
    .athena-register .athena-auth__shell,
    .athena-register .athena-auth__shell--register{
        border-radius: 14px;
    }
    .athena-register .athena-auth__form-panel{
        padding: 20px 16px 24px;
    }
    .athena-register .athena-auth__header h1{
        font-size: clamp(28px, 8vw, 34px);
        line-height: 1.2;
    }
    .athena-register .athena-auth__header p{
        font-size: 15px;
    }
    .athena-register .athena-auth__steps{
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 6px;
        margin-top: 14px;
    }
    .athena-register .athena-auth__steps li{
        justify-content: center;
        min-height: 56px;
        padding: 8px 6px;
        text-align: center;
        font-size: 12px;
        line-height: 1.35;
    }
    .athena-register .athena-auth__steps li span{
        width: 20px;
        height: 20px;
        flex-basis: 20px;
        font-size: 11px;
    }
    .athena-register__form-wrap .athena-register-clean__heading h2{
        font-size: 26px !important;
    }
    .athena-register__form-wrap .athena-register-clean__course,
    .athena-register__form-wrap .athena-register-clean__plan{
        border-radius: 14px !important;
    }
    .athena-register__form-wrap .athena-register-clean__plan > strong{
        font-size: 34px !important;
    }
    .athena-register__form-wrap .athena-register-clean__form > h2{
        font-size: 23px !important;
    }
}

@media (max-width: 380px){
    .athena-register .athena-auth__steps{
        grid-template-columns: 1fr;
    }
}

/* ===== Register UI4: unified centered experience ===== */
body.athena-register-page-active{
    background:#edf2f5 !important;
}

.athena-register--v4{
    position:relative;
    width:100vw !important;
    max-width:100vw !important;
    margin-left:calc(50% - 50vw) !important;
    margin-right:calc(50% - 50vw) !important;
    padding:clamp(28px,5vw,64px) 18px !important;
    background:
        radial-gradient(circle at 8% 9%, rgba(38,141,131,.08), transparent 24%),
        radial-gradient(circle at 92% 84%, rgba(240,198,90,.10), transparent 22%),
        #edf2f5;
}

.athena-register-v4__shell{
    width:min(980px,100%);
    margin:0 auto;
    overflow:hidden;
    border:1px solid rgba(16,26,51,.08);
    border-radius:28px;
    background:#fff;
    box-shadow:0 26px 70px rgba(16,26,51,.12);
}

.athena-register-v4__hero{
    position:relative;
    overflow:hidden;
    padding:32px 38px 30px;
    color:#fff;
    background:
        radial-gradient(circle at 9% -10%, rgba(76,192,180,.28), transparent 33%),
        radial-gradient(circle at 95% 110%, rgba(240,198,90,.14), transparent 31%),
        linear-gradient(135deg,#173453 0%,#101a33 72%);
}

.athena-register-v4__hero::after{
    content:"";
    position:absolute;
    left:-54px;
    bottom:-86px;
    width:190px;
    height:190px;
    border:1px solid rgba(255,255,255,.09);
    border-radius:50%;
    pointer-events:none;
}

.athena-register-v4__brandline{
    position:relative;
    z-index:1;
    display:flex;
    align-items:center;
    gap:12px;
    margin-bottom:24px;
}

.athena-register-v4__mark{
    display:grid;
    place-items:center;
    width:54px;
    height:54px;
    flex:0 0 54px;
    overflow:hidden;
    border:1px solid rgba(255,255,255,.16);
    border-radius:16px;
    background:rgba(255,255,255,.09);
}

.athena-register-v4__mark .athena-auth__logo-image,
.athena-register-v4__mark .athena-auth__fallback-mark{
    width:100%;
    height:100%;
    padding:6px;
    object-fit:contain;
}

.athena-register-v4__brandcopy{
    display:flex;
    flex-direction:column;
    gap:1px;
    line-height:1.45;
}

.athena-register-v4__brandcopy strong{
    color:#fff;
    font-size:16px;
    font-weight:900;
}

.athena-register-v4__brandcopy span{
    color:#9ee4dc;
    font-size:12.5px;
    font-weight:700;
}

.athena-register-v4__intro{
    position:relative;
    z-index:1;
    max-width:680px;
}

.athena-register-v4__kicker{
    margin:0 0 5px !important;
    color:#f3cf6b !important;
    font-size:14px !important;
    font-weight:900 !important;
}

.athena-register-v4__intro h1{
    margin:0 0 9px !important;
    color:#fff !important;
    font-size:clamp(32px,4vw,44px) !important;
    font-weight:900 !important;
    line-height:1.2 !important;
}

.athena-register-v4__intro>p:last-child{
    max-width:650px;
    margin:0 !important;
    color:rgba(255,255,255,.78) !important;
    font-size:15.5px !important;
    line-height:1.8 !important;
}

.athena-register-v4__steps{
    position:relative;
    z-index:1;
    display:grid;
    grid-template-columns:repeat(3,minmax(0,1fr));
    gap:10px;
    margin:24px 0 0 !important;
    padding:0 !important;
    list-style:none !important;
}

.athena-register-v4__steps li{
    display:flex;
    align-items:center;
    justify-content:center;
    gap:8px;
    min-height:46px;
    padding:8px 10px;
    border:1px solid rgba(255,255,255,.13);
    border-radius:13px;
    background:rgba(255,255,255,.07);
    color:rgba(255,255,255,.88);
    backdrop-filter:blur(3px);
}

.athena-register-v4__steps li span{
    display:grid;
    place-items:center;
    width:22px;
    height:22px;
    flex:0 0 22px;
    border-radius:50%;
    background:#8fe0d6;
    color:#102039;
    font-size:11px;
    font-weight:900;
}

.athena-register-v4__steps li strong{
    color:#fff;
    font-size:13.5px;
    font-weight:800;
    line-height:1.3;
}

.athena-register-v4__body{
    padding:clamp(28px,5vw,48px);
    background:#fff;
}

.athena-register-v4__body .athena-auth__form-wrap{
    width:100%;
    max-width:none;
}

.athena-register-v4__body .athena-unified-register,
.athena-register-v4__body .athena-unified-register--existing-page,
.athena-register-v4__body .athena-register-clean{
    width:100% !important;
    max-width:none !important;
    margin:0 !important;
    padding:0 !important;
    background:transparent !important;
}

.athena-register-v4__body .athena-register-clean__heading{
    margin:0 0 20px !important;
    padding:0 0 16px !important;
    border-bottom:1px solid #e7ecef !important;
}

.athena-register-v4__body .athena-register-clean__heading h2{
    margin:0 0 6px !important;
    color:#14243e !important;
    font-size:clamp(26px,3.1vw,34px) !important;
    font-weight:900 !important;
    line-height:1.35 !important;
}

.athena-register-v4__body .athena-register-clean__heading p{
    margin:0 !important;
    color:#6c7888 !important;
    font-size:14.5px !important;
    line-height:1.75 !important;
}

.athena-register-v4__body .athena-register-clean__courses{
    display:grid !important;
    grid-template-columns:repeat(2,minmax(0,1fr)) !important;
    gap:12px !important;
}

.athena-register-v4__body .athena-register-clean__course{
    position:relative;
    min-height:92px !important;
    padding:16px 17px !important;
    border:1px solid #dce5e9 !important;
    border-right:4px solid var(--athena-accent,var(--athena-teal)) !important;
    border-radius:15px !important;
    background:#fbfcfd !important;
    color:#16213b !important;
    box-shadow:none !important;
    transition:.16s ease;
}

.athena-register-v4__body .athena-register-clean__course:hover,
.athena-register-v4__body .athena-register-clean__course:focus-visible{
    transform:translateY(-2px);
    border-color:#b8d6d1 !important;
    background:#fff !important;
    box-shadow:0 10px 24px rgba(16,26,51,.08) !important;
    outline:none;
}

.athena-register-v4__body .athena-register-clean__course strong{
    color:#18253e !important;
    font-size:15.5px !important;
    font-weight:900 !important;
    line-height:1.55 !important;
}

.athena-register-v4__body .athena-register-clean__course span{
    margin-top:4px !important;
    color:var(--athena-teal-dark) !important;
    font-size:12.5px !important;
    font-weight:800 !important;
}

.athena-register-v4__body .athena-register-clean__plans{
    display:grid !important;
    grid-template-columns:repeat(2,minmax(0,1fr)) !important;
    gap:14px !important;
}

.athena-register-v4__body .athena-register-clean__plan{
    min-height:200px !important;
    padding:26px 18px 17px !important;
    border:1.5px solid #dce5e9 !important;
    border-radius:17px !important;
    background:#fff !important;
    box-shadow:0 8px 22px rgba(16,26,51,.05) !important;
}

.athena-register-v4__body .athena-register-clean__plan:hover,
.athena-register-v4__body .athena-register-clean__plan.is-selected,
.athena-register-v4__body .athena-register-clean__plan:focus-visible{
    transform:translateY(-2px) !important;
    border-color:#268d83 !important;
    box-shadow:0 12px 28px rgba(38,141,131,.12) !important;
    outline:none;
}

.athena-register-v4__body .athena-register-clean__plan>b{
    background:#268d83 !important;
    box-shadow:none !important;
}

.athena-register-v4__body .athena-register-clean__form{
    margin-top:26px !important;
    padding-top:24px !important;
    border-top:1px solid #e7ecef !important;
}

.athena-register-v4__body .athena-register-clean__form input[type=text],
.athena-register-v4__body .athena-register-clean__form input[type=email],
.athena-register-v4__body .athena-register-clean__form input[type=password],
.athena-register-v4__body .athena-register-clean__form input[type=tel],
.athena-register-v4__body .athena-register-clean__form select{
    min-height:52px !important;
    border:1px solid #d2dce3 !important;
    border-radius:12px !important;
    background:#fbfcfd !important;
}

.athena-register-v4__body .athena-register-clean__form input:focus-visible,
.athena-register-v4__body .athena-register-clean__form select:focus-visible{
    border-color:#268d83 !important;
    box-shadow:0 0 0 3px rgba(38,141,131,.12) !important;
    outline:none !important;
}

.athena-register-v4__login{
    display:flex;
    align-items:center;
    justify-content:center;
    gap:8px;
    margin-top:30px;
    padding:15px 18px;
    border-top:1px solid #e7ecef;
    color:#68738a;
    font-size:15px;
}

.athena-register-v4__login a{
    color:#19756e !important;
    font-weight:900 !important;
    text-decoration:none !important;
}

.athena-register-v4__login a:hover{
    text-decoration:underline !important;
}

@media(max-width:760px){
    .athena-register--v4{
        padding:14px 10px 26px !important;
    }
    .athena-register-v4__shell{
        border-radius:20px;
    }
    .athena-register-v4__hero{
        padding:24px 20px 22px;
    }
    .athena-register-v4__brandline{
        margin-bottom:19px;
    }
    .athena-register-v4__mark{
        width:46px;
        height:46px;
        flex-basis:46px;
        border-radius:13px;
    }
    .athena-register-v4__brandcopy strong{font-size:14.5px}
    .athena-register-v4__brandcopy span{font-size:11.5px}
    .athena-register-v4__intro h1{
        font-size:clamp(29px,8vw,36px) !important;
    }
    .athena-register-v4__intro>p:last-child{
        font-size:14.5px !important;
        line-height:1.7 !important;
    }
    .athena-register-v4__steps{
        margin-top:18px !important;
        gap:6px;
    }
    .athena-register-v4__steps li{
        flex-direction:column;
        gap:5px;
        min-height:65px;
        padding:7px 5px;
        text-align:center;
    }
    .athena-register-v4__steps li strong{
        font-size:11.5px;
    }
    .athena-register-v4__body{
        padding:24px 18px 28px;
    }
    .athena-register-v4__body .athena-register-clean__courses,
    .athena-register-v4__body .athena-register-clean__plans{
        grid-template-columns:1fr !important;
    }
    .athena-register-v4__body .athena-register-clean__course{
        min-height:84px !important;
    }
    .athena-register-v4__body .athena-register-clean__plan{
        min-height:180px !important;
    }
    .athena-register-v4__login{
        flex-wrap:wrap;
        margin-top:24px;
    }
}

@media(max-width:390px){
    .athena-register-v4__hero{
        padding:22px 16px 20px;
    }
    .athena-register-v4__body{
        padding:22px 14px 26px;
    }
    .athena-register-v4__steps{
        grid-template-columns:1fr;
    }
    .athena-register-v4__steps li{
        flex-direction:row;
        min-height:42px;
        justify-content:flex-start;
        padding-inline:10px;
        text-align:right;
    }
}

/* ===== UI5: lightweight register field validation ===== */
.athena-register__form-wrap .athena-basic-validation{
    display:block;
    min-height:0;
    margin:6px 2px 0;
    color:#b33b3b;
    font-size:13px;
    font-weight:700;
    line-height:1.45;
}
.athena-register__form-wrap .athena-basic-validation:empty{display:none}
.athena-register__form-wrap input.athena-field-invalid,
.athena-register__form-wrap select.athena-field-invalid{
    border-color:#cf5b5b!important;
    box-shadow:0 0 0 3px rgba(207,91,91,.09)!important;
}
.athena-register__form-wrap .athena-basic-password{
    position:relative;
    display:block;
    width:100%;
}
.athena-register__form-wrap .athena-basic-password>input{
    padding-left:72px!important;
}
.athena-register__form-wrap .athena-basic-password__toggle{
    position:absolute!important;
    left:8px!important;
    top:50%!important;
    transform:translateY(-50%)!important;
    width:auto!important;
    min-width:54px!important;
    min-height:34px!important;
    margin:0!important;
    padding:4px 9px!important;
    border:1px solid #d7e2e6!important;
    border-radius:9px!important;
    background:#f5f9f9!important;
    box-shadow:none!important;
    color:var(--athena-teal-dark)!important;
    font-family:inherit!important;
    font-size:12px!important;
    font-weight:800!important;
    line-height:1!important;
    cursor:pointer!important;
}
.athena-register__form-wrap .athena-basic-password__toggle:hover{background:#edf7f5!important}
.athena-register__form-wrap .athena-basic-password__toggle:focus-visible{
    outline:3px solid rgba(238,123,53,.28)!important;
    outline-offset:2px!important;
}
