/* Account theme repair, scoped to dashboard and authentication only. Legacy theme uses high-specificity important rules. */
html body:is(#my-account,#authentication):not(#ea-account-scope#ea-account-scope#ea-account-scope#ea-account-scope#ea-account-scope#ea-account-scope#ea-account-scope#ea-account-scope#ea-account-scope#ea-account-scope){--ac-panel:#fff;--ac-soft:#eef4f8;--ac-field:#fff;--ac-ink:#193b55;--ac-muted:#526779;--ac-edge:#c4d4e0;--ac-accent:#806014;}
html[data-ea-theme="dark"] body:is(#my-account,#authentication):not(#ea-account-scope#ea-account-scope#ea-account-scope#ea-account-scope#ea-account-scope#ea-account-scope#ea-account-scope#ea-account-scope#ea-account-scope#ea-account-scope){--ac-panel:#162d43;--ac-soft:#203c55;--ac-field:#0c1b30;--ac-ink:#eef4fb;--ac-muted:#becddd;--ac-edge:#49637a;--ac-accent:#f1d17f;}
html body:is(#my-account,#authentication):not(#ea-account-scope#ea-account-scope#ea-account-scope#ea-account-scope#ea-account-scope#ea-account-scope#ea-account-scope#ea-account-scope#ea-account-scope#ea-account-scope) #main{max-width:1400px;margin:0 auto;padding:0 14px 28px!important;}
html body:is(#my-account,#authentication):not(#ea-account-scope#ea-account-scope#ea-account-scope#ea-account-scope#ea-account-scope#ea-account-scope#ea-account-scope#ea-account-scope#ea-account-scope#ea-account-scope) #main>.page-header{padding:28px 32px!important;margin:0 0 24px!important;background:linear-gradient(115deg,#0b214c,#124f69)!important;border:1px solid #3b657d!important;border-bottom:3px solid #c8a455!important;border-radius:22px!important;}
html body:is(#my-account,#authentication):not(#ea-account-scope#ea-account-scope#ea-account-scope#ea-account-scope#ea-account-scope#ea-account-scope#ea-account-scope#ea-account-scope#ea-account-scope#ea-account-scope) #main>.page-header :is(h1,span){color:#fff!important;margin:0!important;font-size:clamp(26px,3vw,38px)!important;line-height:1.2!important;border:0!important;}
html body:is(#my-account,#authentication):not(#ea-account-scope#ea-account-scope#ea-account-scope#ea-account-scope#ea-account-scope#ea-account-scope#ea-account-scope#ea-account-scope#ea-account-scope#ea-account-scope) #main>.page-header :is(h1,span)::after{display:none!important;}
html body:is(#my-account,#authentication):not(#ea-account-scope#ea-account-scope#ea-account-scope#ea-account-scope#ea-account-scope#ea-account-scope#ea-account-scope#ea-account-scope#ea-account-scope#ea-account-scope) #content{border:0!important;background:transparent!important;padding:0!important;color:var(--ac-ink)!important;}
html body:is(#my-account,#authentication):not(#ea-account-scope#ea-account-scope#ea-account-scope#ea-account-scope#ea-account-scope#ea-account-scope#ea-account-scope#ea-account-scope#ea-account-scope#ea-account-scope) .my-account-page-content-wrapper>.row{margin:0!important;gap:18px;}
html body:is(#my-account,#authentication):not(#ea-account-scope#ea-account-scope#ea-account-scope#ea-account-scope#ea-account-scope#ea-account-scope#ea-account-scope#ea-account-scope#ea-account-scope#ea-account-scope) .my-account-side-links{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;flex:0 0 100%!important;max-width:100%!important;width:100%!important;border:0!important;padding:0!important;}
html body:is(#my-account,#authentication):not(#ea-account-scope#ea-account-scope#ea-account-scope#ea-account-scope#ea-account-scope#ea-account-scope#ea-account-scope#ea-account-scope#ea-account-scope#ea-account-scope) .my-account-side-links>a{float:none!important;width:100%!important;max-width:none!important;margin:0!important;padding:0!important;border:1px solid var(--ac-edge)!important;border-radius:14px!important;background:var(--ac-panel)!important;color:var(--ac-ink)!important;box-shadow:0 5px 14px #071c3010;transition:border-color .15s,background-color .15s;}
html body:is(#my-account,#authentication):not(#ea-account-scope#ea-account-scope#ea-account-scope#ea-account-scope#ea-account-scope#ea-account-scope#ea-account-scope#ea-account-scope#ea-account-scope#ea-account-scope) .my-account-side-links .link-item{display:flex!important;align-items:center;gap:16px;min-height:94px;padding:22px!important;font-size:16px!important;font-weight:600!important;line-height:1.45!important;color:var(--ac-ink)!important;background:none!important;border:0!important;}
html body:is(#my-account,#authentication):not(#ea-account-scope#ea-account-scope#ea-account-scope#ea-account-scope#ea-account-scope#ea-account-scope#ea-account-scope#ea-account-scope#ea-account-scope#ea-account-scope) .my-account-side-links .fa{font-size:24px!important;flex:0 0 32px;color:var(--ac-accent)!important;}
html body:is(#my-account,#authentication):not(#ea-account-scope#ea-account-scope#ea-account-scope#ea-account-scope#ea-account-scope#ea-account-scope#ea-account-scope#ea-account-scope#ea-account-scope#ea-account-scope) .my-account-side-links>a:hover{background:var(--ac-soft)!important;border-color:var(--ac-accent)!important;}
html body:is(#my-account,#authentication):not(#ea-account-scope#ea-account-scope#ea-account-scope#ea-account-scope#ea-account-scope#ea-account-scope#ea-account-scope#ea-account-scope#ea-account-scope#ea-account-scope) .my-account-side-links>a:focus-visible{outline:3px solid var(--ac-accent)!important;outline-offset:3px;}
html body:is(#my-account,#authentication):not(#ea-account-scope#ea-account-scope#ea-account-scope#ea-account-scope#ea-account-scope#ea-account-scope#ea-account-scope#ea-account-scope#ea-account-scope#ea-account-scope) .my-account-page-content{order:-1;flex:0 0 100%!important;max-width:100%!important;width:100%!important;padding:20px 24px!important;border:1px solid var(--ac-edge)!important;border-radius:12px!important;background:var(--ac-panel)!important;color:var(--ac-ink)!important;font-size:16px;line-height:1.65;}
html body:is(#my-account,#authentication):not(#ea-account-scope#ea-account-scope#ea-account-scope#ea-account-scope#ea-account-scope#ea-account-scope#ea-account-scope#ea-account-scope#ea-account-scope#ea-account-scope) .ea-login-layout{gap:26px;}
html body:is(#my-account,#authentication):not(#ea-account-scope#ea-account-scope#ea-account-scope#ea-account-scope#ea-account-scope#ea-account-scope#ea-account-scope#ea-account-scope#ea-account-scope#ea-account-scope) :is(.ea-login-main,.ea-reg-benefit-card){background:var(--ac-panel)!important;color:var(--ac-ink)!important;border:1px solid var(--ac-edge)!important;border-radius:16px!important;box-shadow:0 5px 14px #071c3010;padding:28px!important;}
html body:is(#my-account,#authentication):not(#ea-account-scope#ea-account-scope#ea-account-scope#ea-account-scope#ea-account-scope#ea-account-scope#ea-account-scope#ea-account-scope#ea-account-scope#ea-account-scope) :is(.ea-login-main,.ea-reg-benefit-card) :is(h2,h3,p,label,small,span){color:var(--ac-ink)!important;line-height:1.5;}
html body:is(#my-account,#authentication):not(#ea-account-scope#ea-account-scope#ea-account-scope#ea-account-scope#ea-account-scope#ea-account-scope#ea-account-scope#ea-account-scope#ea-account-scope#ea-account-scope) :is(.ea-login-main,.ea-reg-benefit-card) a{color:var(--ac-accent)!important;text-decoration:underline;text-underline-offset:3px;}
html body:is(#my-account,#authentication):not(#ea-account-scope#ea-account-scope#ea-account-scope#ea-account-scope#ea-account-scope#ea-account-scope#ea-account-scope#ea-account-scope#ea-account-scope#ea-account-scope) .ea-login-main .form-control{background:var(--ac-field)!important;color:var(--ac-ink)!important;border:1px solid var(--ac-edge)!important;border-radius:8px!important;min-height:46px!important;font-size:16px!important;caret-color:var(--ac-ink);}
html body:is(#my-account,#authentication):not(#ea-account-scope#ea-account-scope#ea-account-scope#ea-account-scope#ea-account-scope#ea-account-scope#ea-account-scope#ea-account-scope#ea-account-scope#ea-account-scope) .ea-login-main .form-control::placeholder{color:var(--ac-muted)!important;opacity:1;}
html body:is(#my-account,#authentication):not(#ea-account-scope#ea-account-scope#ea-account-scope#ea-account-scope#ea-account-scope#ea-account-scope#ea-account-scope#ea-account-scope#ea-account-scope#ea-account-scope) .ea-login-main .form-control:focus{outline:2px solid var(--ac-accent)!important;outline-offset:2px;box-shadow:none!important;}
html body:is(#my-account,#authentication):not(#ea-account-scope#ea-account-scope#ea-account-scope#ea-account-scope#ea-account-scope#ea-account-scope#ea-account-scope#ea-account-scope#ea-account-scope#ea-account-scope) .ea-login-main .input-group button{background:var(--ac-soft)!important;color:var(--ac-ink)!important;border-color:var(--ac-edge)!important;min-width:46px;}
html body:is(#my-account,#authentication):not(#ea-account-scope#ea-account-scope#ea-account-scope#ea-account-scope#ea-account-scope#ea-account-scope#ea-account-scope#ea-account-scope#ea-account-scope#ea-account-scope) .ea-login-main .form-control-comment{color:var(--ac-muted)!important;}
html body:is(#my-account,#authentication):not(#ea-account-scope#ea-account-scope#ea-account-scope#ea-account-scope#ea-account-scope#ea-account-scope#ea-account-scope#ea-account-scope#ea-account-scope#ea-account-scope) .ea-login-main #submit-login{background:linear-gradient(#315875,#193b55)!important;color:#fff!important;border:1px solid #b99343!important;border-radius:9px!important;min-height:48px!important;}
html body:is(#my-account,#authentication):not(#ea-account-scope#ea-account-scope#ea-account-scope#ea-account-scope#ea-account-scope#ea-account-scope#ea-account-scope#ea-account-scope#ea-account-scope#ea-account-scope) .ea-login-main :is(.alert-danger,.help-block){color:#a51626!important;background:#fff0f2!important;border-color:#d67885!important;}
html[data-ea-theme="dark"] body#authentication:not(#ea-account-scope#ea-account-scope#ea-account-scope#ea-account-scope#ea-account-scope#ea-account-scope#ea-account-scope#ea-account-scope#ea-account-scope#ea-account-scope) .ea-login-main :is(.alert-danger,.help-block){color:#ffccd4!important;background:#472735!important;}
@media(max-width:900px){html body:is(#my-account,#authentication):not(#ea-account-scope#ea-account-scope#ea-account-scope#ea-account-scope#ea-account-scope#ea-account-scope#ea-account-scope#ea-account-scope#ea-account-scope#ea-account-scope) .my-account-side-links{grid-template-columns:repeat(2,minmax(0,1fr));}}
@media(max-width:575px){html body:is(#my-account,#authentication):not(#ea-account-scope#ea-account-scope#ea-account-scope#ea-account-scope#ea-account-scope#ea-account-scope#ea-account-scope#ea-account-scope#ea-account-scope#ea-account-scope) #main{padding:0 8px 20px!important;}html body:is(#my-account,#authentication):not(#ea-account-scope#ea-account-scope#ea-account-scope#ea-account-scope#ea-account-scope#ea-account-scope#ea-account-scope#ea-account-scope#ea-account-scope#ea-account-scope) #main>.page-header{padding:24px 20px!important;border-radius:16px!important;margin-bottom:16px!important;}html body:is(#my-account,#authentication):not(#ea-account-scope#ea-account-scope#ea-account-scope#ea-account-scope#ea-account-scope#ea-account-scope#ea-account-scope#ea-account-scope#ea-account-scope#ea-account-scope) .my-account-side-links{grid-template-columns:minmax(0,1fr);gap:10px;}html body:is(#my-account,#authentication):not(#ea-account-scope#ea-account-scope#ea-account-scope#ea-account-scope#ea-account-scope#ea-account-scope#ea-account-scope#ea-account-scope#ea-account-scope#ea-account-scope) .my-account-side-links .link-item{min-height:70px;padding:16px 18px!important;}html body:is(#my-account,#authentication):not(#ea-account-scope#ea-account-scope#ea-account-scope#ea-account-scope#ea-account-scope#ea-account-scope#ea-account-scope#ea-account-scope#ea-account-scope#ea-account-scope) .my-account-page-content{padding:16px 18px!important;}html body:is(#my-account,#authentication):not(#ea-account-scope#ea-account-scope#ea-account-scope#ea-account-scope#ea-account-scope#ea-account-scope#ea-account-scope#ea-account-scope#ea-account-scope#ea-account-scope) :is(.ea-login-main,.ea-reg-benefit-card){padding:20px!important;}}
@media(prefers-reduced-motion:reduce){html body:is(#my-account,#authentication):not(#ea-account-scope#ea-account-scope#ea-account-scope#ea-account-scope#ea-account-scope#ea-account-scope#ea-account-scope#ea-account-scope#ea-account-scope#ea-account-scope) .my-account-side-links>a{transition:none;}}

/* Continuous page background: body must grow with its content. */
html body:is(#my-account,#authentication):not(#ea-preserve-scope#ea-preserve-scope#ea-preserve-scope#ea-preserve-scope#ea-preserve-scope#ea-preserve-scope#ea-preserve-scope#ea-preserve-scope#ea-preserve-scope#ea-preserve-scope){height:auto!important;min-height:100vh!important}
