*{box-sizing:border-box}.eps-fullscreen-page{margin:0;background:#08131f;color:#0d1b2a;font-family:Inter,ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif}.eps-fullscreen-page a{text-decoration:none}.eps-auth-shell{min-height:100vh;display:grid;grid-template-columns:minmax(360px,1.05fr) minmax(520px,1.25fr);background:#f5f7fa}.eps-auth-showcase{position:relative;overflow:hidden;padding:38px 44px;color:white;background:radial-gradient(circle at 75% 45%,rgba(201,168,76,.16),transparent 32%),linear-gradient(145deg,#07131f,#0d1b2a 55%,#13283b);display:flex;flex-direction:column;justify-content:space-between}.eps-auth-showcase:after{content:"";position:absolute;right:-8%;bottom:-8%;width:68%;height:72%;background:var(--eps-login-image,radial-gradient(circle at 40% 40%,rgba(201,168,76,.4),transparent 35%));background-size:cover;background-position:center;border-radius:50% 50% 0 50%;opacity:.95;filter:saturate(.95)}.eps-brand-row,.eps-showcase-copy,.eps-security-note{position:relative;z-index:2}.eps-brand-row{display:flex;align-items:center;gap:14px}.eps-brand-row img{max-width:92px;max-height:70px;object-fit:contain}.eps-brand-row strong{display:block;font-family:Georgia,serif;font-size:26px;letter-spacing:.06em}.eps-brand-row span{display:block;color:var(--eps-primary);letter-spacing:.35em;font-size:11px;margin-top:4px}.eps-logo-mark{width:58px;height:58px;border-radius:18px;display:grid;place-items:center;background:linear-gradient(135deg,var(--eps-primary),var(--eps-secondary));font-size:30px;box-shadow:0 12px 28px rgba(201,168,76,.25)}.eps-showcase-copy{max-width:430px}.eps-showcase-copy h1{font-size:clamp(36px,4vw,58px);line-height:1.06;margin:0 0 28px}.eps-feature-list{display:grid;gap:16px}.eps-feature-list article{display:flex;gap:12px;align-items:center}.eps-feature-icon{width:38px;height:38px;border:1px solid rgba(201,168,76,.8);border-radius:12px;display:grid;place-items:center;color:var(--eps-primary)}.eps-feature-list strong,.eps-feature-list small{display:block}.eps-feature-list small{color:#c2ccd6;margin-top:3px}.eps-security-note{font-size:14px;color:#dbe3ea}.eps-auth-main{position:relative;display:flex;flex-direction:column;align-items:center;justify-content:center;padding:74px 40px 34px;background:linear-gradient(180deg,#fbfcfd,#f3f6f9)}.eps-auth-topbar{position:absolute;top:24px;right:32px;display:flex;gap:10px;align-items:center;color:#4d5966}.eps-theme-toggle{border:1px solid #d8dee5;background:white;border-radius:999px;width:42px;height:42px;cursor:pointer}.eps-auth-card{width:min(100%,620px);background:rgba(255,255,255,.96);border:1px solid rgba(13,27,42,.08);border-radius:26px;padding:42px;box-shadow:0 28px 80px rgba(13,27,42,.13)}.eps-auth-card-logo{text-align:center;margin-bottom:18px}.eps-auth-card-logo img{max-width:160px;max-height:86px;object-fit:contain}.eps-auth-card h2{text-align:center;font-size:34px;margin:0 0 8px;color:#0a1521}.eps-auth-card>p{text-align:center;color:#6d7781;margin:0 0 26px}.eps-alert{background:#fff1f0;border:1px solid #ffccc7;color:#a8071a;border-radius:12px;padding:12px 14px;margin-bottom:18px}.eps-social-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px}.eps-social-btn{height:50px;border:1px solid #d8dee5;background:white;border-radius:12px;display:flex;align-items:center;justify-content:center;gap:9px;color:#111827;font-weight:600;cursor:pointer;transition:.18s}.eps-social-btn:hover{transform:translateY(-1px);box-shadow:0 8px 20px rgba(13,27,42,.08)}.eps-social-btn:disabled{opacity:.55;cursor:not-allowed}.eps-google-g{font-weight:800;color:#4285f4}.eps-divider{display:flex;align-items:center;gap:12px;color:#7b8490;margin:22px 0}.eps-divider:before,.eps-divider:after{content:"";height:1px;background:#dfe4e9;flex:1}.eps-login-form label,.eps-modal-card label{display:grid;gap:8px;font-weight:700;color:#18222d;margin-bottom:18px}.eps-login-form input,.eps-modal-card input{width:100%;height:52px;border:1px solid #cfd6dd;border-radius:12px;padding:0 15px;font-size:16px;outline:none;background:white}.eps-login-form input:focus,.eps-modal-card input:focus{border-color:var(--eps-primary);box-shadow:0 0 0 4px rgba(201,168,76,.12)}.eps-password-wrap{position:relative}.eps-password-wrap input{padding-right:48px}.eps-password-toggle{position:absolute;right:8px;top:7px;width:38px;height:38px;border:0;background:transparent;cursor:pointer;color:#64707d}.eps-form-row{display:flex;justify-content:space-between;gap:16px;align-items:center;margin:-2px 0 20px}.eps-form-row a{color:#b07d00;font-weight:600}.eps-check{display:flex!important;grid-template-columns:auto 1fr!important;align-items:center!important;gap:8px!important;margin:0!important;font-weight:500!important}.eps-check input{width:18px;height:18px}.eps-primary-btn{width:100%;height:56px;border:0;border-radius:12px;background:linear-gradient(135deg,#0b1622,#12263a);color:white;font-weight:800;font-size:17px;cursor:pointer;box-shadow:0 12px 28px rgba(13,27,42,.2);transition:.18s}.eps-primary-btn:hover{transform:translateY(-1px)}.eps-primary-btn.inline{display:inline-flex;width:auto;padding:0 24px;align-items:center}.eps-register-card{width:100%;margin-top:24px;border:1px solid #e0e5ea;background:#fff;border-radius:16px;padding:16px 18px;display:grid;grid-template-columns:auto 1fr auto;gap:14px;align-items:center;text-align:left;cursor:pointer}.eps-register-card>span:first-child{width:44px;height:44px;border:1px solid rgba(201,168,76,.4);border-radius:50%;display:grid;place-items:center;color:#c08d10}.eps-register-card strong{display:block;color:#bc8500;margin-top:4px}.eps-register-card b{font-size:30px;color:#818a94}.eps-auth-footer{display:flex;gap:24px;margin-top:24px;flex-wrap:wrap;justify-content:center}.eps-auth-footer a{color:#5d6874}.eps-modal[hidden]{display:none}.eps-modal{position:fixed;inset:0;z-index:9999;display:grid;place-items:center;padding:20px}.eps-modal-backdrop{position:absolute;inset:0;background:rgba(2,8,14,.72);backdrop-filter:blur(8px)}.eps-modal-card{position:relative;width:min(100%,480px);background:white;border-radius:24px;padding:32px;box-shadow:0 30px 100px rgba(0,0,0,.35)}.eps-modal-card h2{margin:0}.eps-modal-card p{color:#67717c}.eps-modal-close{position:absolute;right:16px;top:14px;width:38px;height:38px;border:0;border-radius:50%;font-size:24px;background:#f1f4f6;cursor:pointer}

/* Dashboard */
.eps-dashboard-shell{min-height:100vh;display:grid;grid-template-columns:260px 1fr;background:#f3f6f9}.eps-sidebar{background:linear-gradient(180deg,#081522,#0d1b2a);color:white;padding:24px 18px;display:flex;flex-direction:column;position:sticky;top:0;height:100vh}.eps-dashboard-brand{display:flex;align-items:center;gap:12px;color:white;padding:6px 8px 28px;border-bottom:1px solid rgba(255,255,255,.08)}.eps-dashboard-brand img{width:42px;height:42px;object-fit:contain}.eps-dashboard-brand>span{font-size:30px}.eps-dashboard-brand strong{line-height:1.15}.eps-sidebar nav{display:grid;gap:6px;margin-top:24px}.eps-sidebar nav a{color:#c8d1db;padding:13px 14px;border-radius:12px;display:grid;grid-template-columns:24px 1fr auto;gap:8px;align-items:center}.eps-sidebar nav a.active,.eps-sidebar nav a:hover{background:rgba(201,168,76,.13);color:white}.eps-sidebar nav em{font-size:10px;color:var(--eps-primary);font-style:normal}.eps-logout{margin-top:auto;color:#c7d0d9;padding:12px}.eps-dashboard-main{padding:28px;min-width:0}.eps-dashboard-header{display:flex;align-items:center;gap:16px;margin-bottom:24px}.eps-dashboard-header h1{margin:3px 0 0;font-size:28px}.eps-dashboard-header small{color:#7a8490}.eps-user-chip{margin-left:auto;display:flex;gap:10px;align-items:center;background:white;padding:8px 12px;border-radius:999px;border:1px solid #e1e6eb}.eps-user-chip img{border-radius:50%}.eps-menu-toggle{display:none}.eps-welcome-banner{background:radial-gradient(circle at 85% 20%,rgba(201,168,76,.25),transparent 28%),linear-gradient(135deg,#091725,#102b43);color:white;border-radius:24px;padding:32px;display:flex;justify-content:space-between;align-items:center;overflow:hidden;box-shadow:0 18px 50px rgba(13,27,42,.18)}.eps-welcome-banner>div:first-child{max-width:720px}.eps-welcome-banner small{letter-spacing:.2em;color:var(--eps-primary)}.eps-welcome-banner h2{font-size:34px;margin:12px 0}.eps-welcome-banner p{color:#c7d2dc;max-width:620px}.eps-bird-orb{font-size:110px;filter:drop-shadow(0 12px 26px rgba(0,0,0,.25))}.eps-stat-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:16px;margin:20px 0}.eps-stat-grid article,.eps-panel{background:white;border:1px solid #e1e6eb;border-radius:18px;padding:20px;box-shadow:0 8px 26px rgba(13,27,42,.05)}.eps-stat-grid span,.eps-stat-grid small{display:block;color:#78838f}.eps-stat-grid strong{display:block;font-size:32px;margin:8px 0;color:#0d1b2a}.eps-dashboard-grid{display:grid;grid-template-columns:1.4fr 1fr;gap:18px}.eps-panel h3{margin:0 0 16px}.eps-quick-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:12px}.eps-quick-grid a{border:1px solid #e1e6eb;border-radius:14px;padding:16px;color:#0d1b2a;display:grid;gap:4px}.eps-quick-grid a:hover{border-color:var(--eps-primary);background:#fffdf7}.eps-quick-grid a>strong{font-size:16px}.eps-quick-grid a>span{color:#7a8490;font-size:13px}.eps-empty-state{text-align:center;padding:30px 12px;color:#6d7781}.eps-empty-state>span{width:52px;height:52px;border-radius:50%;display:grid;place-items:center;background:#eff9f2;color:#188544;margin:0 auto 12px}.eps-empty-state strong{display:block;color:#15202b}

html[data-eps-theme="dark"] .eps-auth-main{background:#081522}.eps-auth-main:has(.eps-theme-toggle){}html[data-eps-theme="dark"] .eps-auth-card{background:#0d1b2a;color:white;border-color:rgba(255,255,255,.09)}html[data-eps-theme="dark"] .eps-auth-card h2,html[data-eps-theme="dark"] .eps-login-form label{color:white}html[data-eps-theme="dark"] .eps-auth-card>p{color:#b8c2cc}html[data-eps-theme="dark"] .eps-login-form input{background:#0a1723;border-color:#395063;color:white}html[data-eps-theme="dark"] .eps-register-card,html[data-eps-theme="dark"] .eps-social-btn{background:#0a1723;color:white;border-color:#31495d}html[data-eps-theme="dark"] .eps-auth-footer a{color:#c5d0da}

@media(max-width:1024px){.eps-auth-shell{grid-template-columns:42% 58%}.eps-auth-showcase{padding:28px}.eps-showcase-copy h1{font-size:38px}.eps-auth-card{padding:32px}.eps-stat-grid{grid-template-columns:repeat(2,1fr)}}
@media(max-width:780px){.eps-auth-shell{display:block;min-height:100vh;background:linear-gradient(180deg,#071522,#0d2234)}.eps-auth-showcase{display:none}.eps-auth-main{min-height:100vh;padding:104px 18px 28px;background:linear-gradient(180deg,#071522,#0d2234)}.eps-auth-topbar{top:24px;color:white}.eps-auth-card{background:transparent;border:0;box-shadow:none;padding:0;color:white}.eps-auth-card h2{color:white;font-size:30px}.eps-auth-card>p{color:#c7d2dc}.eps-auth-card-logo .eps-logo-mark{margin:auto}.eps-auth-card-logo img{filter:drop-shadow(0 6px 14px rgba(0,0,0,.25))}.eps-social-grid{grid-template-columns:1fr}.eps-social-btn{background:white}.eps-login-form label{color:white}.eps-login-form input{background:#091723;border-color:#385065;color:white}.eps-login-form input::placeholder{color:#8795a3}.eps-form-row{font-size:13px}.eps-register-card{background:transparent;border-color:#385065;color:white}.eps-auth-footer a{color:#d3dbe3;font-size:13px}.eps-divider:before,.eps-divider:after{background:#3a4d5f}.eps-dashboard-shell{grid-template-columns:1fr}.eps-sidebar{position:fixed;z-index:999;left:-280px;width:260px;transition:.2s}.eps-sidebar.is-open{left:0}.eps-dashboard-main{padding:18px}.eps-menu-toggle{display:inline-grid;place-items:center;width:42px;height:42px;border:1px solid #dfe4e8;border-radius:12px;background:white}.eps-user-chip span{display:none}.eps-welcome-banner{padding:24px}.eps-welcome-banner h2{font-size:26px}.eps-bird-orb{display:none}.eps-stat-grid{grid-template-columns:1fr 1fr}.eps-dashboard-grid{grid-template-columns:1fr}.eps-quick-grid{grid-template-columns:1fr 1fr}}
@media(max-width:480px){.eps-auth-main{padding-left:16px;padding-right:16px}.eps-auth-card h2{font-size:27px}.eps-form-row{align-items:flex-start}.eps-auth-footer{gap:12px}.eps-stat-grid,.eps-quick-grid{grid-template-columns:1fr}.eps-dashboard-header h1{font-size:23px}}
.eps-modal-card select{width:100%;height:52px;border:1px solid #cfd6dd;border-radius:12px;padding:0 15px;font-size:16px;background:white}.eps-order-list{display:grid}.eps-order-list a{display:flex;justify-content:space-between;gap:18px;padding:14px 4px;border-bottom:1px solid #e6eaee;color:#17212b}.eps-order-list a:last-child{border-bottom:0}.eps-order-list span:last-child{text-align:right}.eps-order-list strong,.eps-order-list small{display:block}.eps-order-list small{margin-top:4px;color:#7a8490}
.eps-alert-success{background:#effaf6;border-color:#a6dfcc;color:#12634f}

/* ========================================================================== 
   Authentication Experience v4 — approved light split layout
   --------------------------------------------------------------------------
   This layer intentionally uses new class names so future releases can evolve
   the login without breaking dashboard or legacy shortcode styles.
   ========================================================================== */
.eps-auth-v4{min-height:100svh;display:grid;grid-template-columns:minmax(440px,1fr) minmax(520px,1fr);background:#fff;color:#0b1930;overflow:hidden;font-family:Inter,ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif}
.eps-auth-v4 *{box-sizing:border-box}
.eps-auth-v4 button,.eps-auth-v4 input,.eps-auth-v4 select{font:inherit}
.eps-auth-v4 a{color:inherit;text-decoration:none}
.eps-auth-v4-story{position:relative;isolation:isolate;display:flex;align-items:center;min-height:100svh;padding:clamp(48px,6vw,96px);background:radial-gradient(circle at 0 0,rgba(79,91,255,.07),transparent 33%),radial-gradient(circle at 90% 42%,rgba(201,168,76,.08),transparent 27%),linear-gradient(145deg,#fbfcff 0%,#f5f7fc 56%,#fff 100%);border-inline-end:1px solid rgba(18,37,68,.045);overflow:hidden}
.eps-auth-v4-story:after{content:"";position:absolute;z-index:-2;width:520px;height:520px;inset:auto -260px -230px auto;border:2px solid rgba(255,255,255,.82);border-radius:50%;box-shadow:0 0 0 80px rgba(255,255,255,.25),0 0 0 160px rgba(255,255,255,.16)}
.eps-auth-v4-story-inner{position:relative;z-index:2;width:min(100%,650px);margin-inline:auto}
.eps-auth-v4-ambient{position:absolute;inset:0;z-index:-1;pointer-events:none}
.eps-auth-orb{position:absolute;border-radius:50%;filter:blur(1px);opacity:.65;animation:eps-auth-drift 9s ease-in-out infinite alternate}
.eps-auth-orb-one{width:340px;height:340px;inset:-190px auto auto -160px;background:radial-gradient(circle,rgba(79,91,255,.09),transparent 70%)}
.eps-auth-orb-two{width:260px;height:260px;inset:auto -90px 6% auto;background:radial-gradient(circle,rgba(201,168,76,.09),transparent 70%);animation-delay:-3s}
.eps-auth-feather{position:absolute;width:clamp(100px,10vw,170px);opacity:.7;pointer-events:none;animation:eps-auth-feather 11s ease-in-out infinite alternate}
.eps-auth-feather-one{inset:13% 8% auto auto;transform:rotate(9deg)}
.eps-auth-feather-two{inset:auto auto 8% -3%;transform:rotate(205deg);animation-delay:-5s}
.eps-login-brand-lockup{display:inline-flex;align-items:center;gap:20px;max-width:100%}
.eps-login-brand-lockup>img{width:108px;height:82px;object-fit:contain;flex:none}
.eps-login-brand-lockup>span{min-width:0}
.eps-login-brand-lockup strong{display:block;font-family:Georgia,"Times New Roman",serif;font-size:clamp(32px,3vw,50px);line-height:.95;letter-spacing:-.025em;color:#10254a;font-weight:500;white-space:nowrap}
.eps-login-brand-lockup small{display:block;margin-top:14px;color:#b18a35;font-size:12px;font-weight:700;letter-spacing:.09em;white-space:nowrap}
.eps-login-custom-logo{display:block;max-width:min(100%,440px);max-height:120px;width:auto;height:auto;object-fit:contain}
.eps-auth-v4-copy{margin-top:clamp(48px,7vh,90px);max-width:640px}
.eps-auth-v4-copy h1{margin:0;font-size:clamp(44px,5.2vw,78px);line-height:.98;letter-spacing:-.055em;color:#0a1a34;font-weight:780;text-wrap:balance}
.eps-auth-v4-copy h1 strong{display:block;margin-top:8px;background:linear-gradient(120deg,var(--eps-login-accent),var(--eps-brand-gold) 58%,#9a741b);-webkit-background-clip:text;background-clip:text;color:transparent;font-weight:780}
.eps-auth-v4-gold-line{display:block;width:58px;height:5px;border-radius:99px;margin:26px 0;background:linear-gradient(90deg,var(--eps-brand-gold),#e8d18a)}
.eps-auth-v4-copy p{max-width:580px;margin:0;color:#667085;font-size:clamp(17px,1.45vw,21px);line-height:1.62}
.eps-auth-v4-benefits{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin-top:42px;padding:22px 20px;background:rgba(255,255,255,.72);border:1px solid rgba(13,27,42,.07);border-radius:18px;box-shadow:0 20px 55px rgba(17,36,72,.07);backdrop-filter:blur(18px)}
.eps-auth-v4-benefits article{min-width:0;text-align:center;color:#182a48}
.eps-auth-v4-benefits article>span{display:grid;place-items:center;width:42px;height:42px;margin:0 auto 10px;border-radius:50%;background:rgba(201,168,76,.10);color:var(--eps-login-accent)}
.eps-auth-v4-benefits svg{width:21px;height:21px}
.eps-auth-v4-benefits strong{display:block;font-size:13px;line-height:1.25;font-weight:650}
.eps-auth-v4-form-side{position:relative;display:flex;align-items:center;justify-content:center;min-height:100svh;padding:110px clamp(36px,7vw,120px) 72px;background:#fff}
.eps-auth-v4-topbar{position:absolute;z-index:4;inset:34px 40px auto 40px;display:flex;align-items:center;justify-content:flex-end;gap:24px;color:#7a8492;font-size:14px}
.eps-auth-v4-create{display:flex;align-items:center;gap:18px}
.eps-auth-v4-create button{display:inline-flex;align-items:center;gap:12px;padding:12px 19px;border:1px solid #dbe1ea;border-radius:999px;background:#fff;color:#0c1c35;font-weight:650;cursor:pointer;box-shadow:0 7px 20px rgba(12,28,53,.045);transition:transform .25s ease,border-color .25s ease,box-shadow .25s ease}
.eps-auth-v4-create button:hover{transform:translateY(-2px);border-color:rgba(201,168,76,.42);box-shadow:0 12px 28px rgba(12,28,53,.09)}
.eps-language-static,.eps-language-switcher summary{display:flex;align-items:center;gap:7px;color:#5f6b7a;font-weight:650;cursor:pointer;list-style:none}
.eps-language-switcher{position:relative}
.eps-language-switcher summary::-webkit-details-marker{display:none}
.eps-language-switcher summary:after{content:"⌄";font-size:13px;margin-inline-start:2px}
.eps-language-menu{position:absolute;z-index:20;inset:calc(100% + 10px) 0 auto auto;min-width:190px;padding:8px;background:#fff;border:1px solid #e1e6ee;border-radius:14px;box-shadow:0 18px 50px rgba(15,31,58,.13)}
.eps-language-menu a{display:flex;align-items:center;gap:9px;padding:10px 12px;border-radius:9px;color:#26364e}
.eps-language-menu a:hover,.eps-language-menu a[aria-current="page"]{background:#fbf7eb;color:var(--eps-login-accent)}
.eps-auth-v4-form-wrap{width:min(100%,520px);margin:auto}
.eps-auth-v4-form-wrap>header{margin-bottom:26px}
.eps-auth-v4-form-wrap h2{margin:0;color:#101d31;font-size:clamp(32px,3vw,42px);line-height:1.12;letter-spacing:-.035em}
.eps-auth-v4-form-wrap>header p{margin:10px 0 0;color:#7a8492;font-size:15px}
.eps-auth-v4-mobile-logo{display:none}
.eps-auth-v4-form label{display:block;margin:0 0 17px;color:#26364d;font-size:14px;font-weight:650}
.eps-auth-v4-form label>span:first-child{display:block;margin-bottom:9px}
.eps-auth-input{position:relative;display:block}
.eps-auth-input>i{position:absolute;z-index:2;inset:50% auto auto 17px;transform:translateY(-50%);display:grid;place-items:center;color:#929dac;font-style:normal;pointer-events:none}
.eps-auth-input>i svg{width:21px;height:21px}
.eps-auth-v4-form input[type="text"],.eps-auth-v4-form input[type="email"],.eps-auth-v4-form input[type="password"],.eps-auth-v4-form input:not([type]){display:block;width:100%;height:58px;padding:0 52px;border:1px solid #d8e0ea;border-radius:11px;background:#fff;color:#13233b;font-size:16px;outline:none;box-shadow:0 5px 18px rgba(24,42,73,.025);transition:border-color .2s ease,box-shadow .2s ease,background .2s ease}
.eps-auth-v4-form input::placeholder{color:#9aa4b2}
.eps-auth-v4-form input:focus{border-color:color-mix(in srgb,var(--eps-login-accent) 65%,white);box-shadow:0 0 0 4px color-mix(in srgb,var(--eps-login-accent) 12%,transparent),0 10px 28px rgba(27,45,78,.05)}
.eps-auth-v4 .eps-password-toggle{position:absolute;z-index:3;inset:50% 10px auto auto;transform:translateY(-50%);display:grid;place-items:center;width:40px;height:40px;padding:0;border:0;border-radius:9px;background:transparent;color:#8793a3;cursor:pointer}
.eps-auth-v4 .eps-password-toggle:hover{background:#f4f6fa;color:#43526a}
.eps-auth-v4 .eps-password-toggle svg{width:21px;height:21px}
.eps-auth-v4-form-row{display:flex;align-items:center;justify-content:space-between;gap:20px;margin:3px 0 23px;font-size:14px}
.eps-auth-v4-form-row>a{color:var(--eps-login-accent);font-weight:650}
.eps-auth-v4-form-row>a:hover{text-decoration:underline}
.eps-auth-check{display:flex!important;align-items:center;gap:9px;margin:0!important;font-weight:500!important;color:#667085!important;cursor:pointer}
.eps-auth-check input{width:17px;height:17px;margin:0;accent-color:var(--eps-login-accent)}
.eps-auth-check span{margin:0!important}
.eps-auth-v4-submit{display:flex;align-items:center;justify-content:center;gap:14px;width:100%;height:58px;padding:0 24px;border:0;border-radius:10px;background:linear-gradient(115deg,var(--eps-login-accent),color-mix(in srgb,var(--eps-login-accent) 78%,#2222dd));color:#fff;font-size:16px;font-weight:750;cursor:pointer;box-shadow:0 14px 32px color-mix(in srgb,var(--eps-login-accent) 22%,transparent);transition:transform .25s cubic-bezier(.2,.8,.2,1),box-shadow .25s ease,filter .25s ease}
.eps-auth-v4-submit:hover{transform:translateY(-2px);filter:saturate(1.08);box-shadow:0 18px 38px color-mix(in srgb,var(--eps-login-accent) 30%,transparent)}
.eps-auth-v4-submit:active{transform:translateY(0)}
.eps-auth-v4-divider{display:flex;align-items:center;gap:14px;margin:28px 0 20px;color:#a0a8b4;font-size:13px}
.eps-auth-v4-divider:before,.eps-auth-v4-divider:after{content:"";flex:1;height:1px;background:#e6eaf0}
.eps-auth-v4-socials{display:grid;gap:11px}
.eps-auth-v4-social{display:flex;align-items:center;justify-content:center;gap:12px;width:100%;height:54px;border:1px solid #d9e0e9;border-radius:10px;background:#fff;color:#1a2a42;font-size:15px;font-weight:600;cursor:pointer;transition:transform .2s ease,border-color .2s ease,box-shadow .2s ease}
.eps-auth-v4-social:hover:not(:disabled){transform:translateY(-1px);border-color:#bfc8d6;box-shadow:0 9px 24px rgba(19,38,70,.07)}
.eps-auth-v4-social:disabled{opacity:.52;cursor:not-allowed}
.eps-google-symbol{display:grid;place-items:center;width:22px;height:22px;flex:0 0 22px}.eps-google-symbol svg{display:block;width:100%;height:100%}
.eps-apple-symbol{font-size:25px;line-height:1;color:#000}
.eps-auth-v4-legal{margin:30px 0 0;color:#9aa3af;font-size:12px;line-height:1.6;text-align:start}
.eps-auth-v4-legal a{color:var(--eps-login-accent);text-decoration:underline;text-underline-offset:2px}
.eps-auth-v4 .eps-alert{margin-bottom:20px}
.eps-auth-v4 [data-eps-auth-enter]{opacity:0;transform:translate3d(0,20px,0);animation:eps-auth-enter .75s cubic-bezier(.16,1,.3,1) forwards}
.eps-auth-v4 [data-eps-auth-enter="1"]{animation-delay:.08s}
.eps-auth-v4 [data-eps-auth-enter="2"]{animation-delay:.18s}
.eps-auth-v4 [data-eps-auth-enter="3"]{animation-delay:.3s}

@keyframes eps-auth-enter{to{opacity:1;transform:translate3d(0,0,0)}}
@keyframes eps-auth-drift{to{transform:translate3d(18px,14px,0) scale(1.05)}}
@keyframes eps-auth-feather{to{translate:14px -12px;rotate:4deg}}

/* Registration modal aligned with the new login. */
.eps-modal-card .eps-auth-v4-submit{margin-top:8px}
.eps-modal-card label{font-size:14px}

/* RTL uses logical flow; only input icons need mirrored positioning. */
[dir="rtl"] .eps-auth-input>i{inset:50% 17px auto auto}
[dir="rtl"] .eps-auth-v4 .eps-password-toggle{inset:50% auto auto 10px}
[dir="rtl"] .eps-auth-v4-form input{padding:0 52px}
[dir="rtl"] .eps-language-menu{inset:calc(100% + 10px) auto auto 0}

@media(max-width:1180px){
  .eps-auth-v4{grid-template-columns:minmax(390px,.9fr) minmax(480px,1.1fr)}
  .eps-auth-v4-story{padding:54px}
  .eps-auth-v4-copy h1{font-size:clamp(42px,5vw,64px)}
  .eps-auth-v4-benefits{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:900px){
  .eps-auth-v4{display:block;min-height:100svh;background:#fff;overflow:auto}
  .eps-auth-v4-story{display:none}
  .eps-auth-v4-form-side{display:block;min-height:100svh;padding:96px 24px 44px;background:radial-gradient(circle at 50% 0,rgba(79,91,255,.06),transparent 28%),#fff}
  .eps-auth-v4-topbar{inset:22px 22px auto 22px;justify-content:space-between}
  .eps-auth-v4-create>span{display:none}
  .eps-auth-v4-create button{padding:10px 15px}
  .eps-auth-v4-mobile-logo{display:flex;justify-content:center;margin:6px auto 42px}
  .eps-auth-v4-mobile-logo .eps-login-brand-lockup{display:flex;flex-direction:column;gap:8px;text-align:center}
  .eps-auth-v4-mobile-logo .eps-login-brand-lockup>img{width:82px;height:64px}
  .eps-auth-v4-mobile-logo .eps-login-brand-lockup strong{font-size:34px}
  .eps-auth-v4-mobile-logo .eps-login-brand-lockup small{margin-top:8px;font-size:10px;letter-spacing:.07em}
  .eps-auth-v4-form-wrap{width:min(100%,540px)}
}
@media(max-width:560px){
  .eps-auth-v4-form-side{padding:88px 18px 34px}
  .eps-auth-v4-topbar{inset:18px 18px auto 18px;gap:12px}
  .eps-auth-v4-create button{font-size:13px;padding:9px 13px}
  .eps-auth-v4-mobile-logo{margin-bottom:32px}
  .eps-auth-v4-form-wrap>header{margin-bottom:24px}
  .eps-auth-v4-form-wrap h2{font-size:32px}
  .eps-auth-v4-form-row{align-items:center;font-size:13px}
  .eps-auth-v4-form input[type="text"],.eps-auth-v4-form input[type="email"],.eps-auth-v4-form input[type="password"],.eps-auth-v4-form input:not([type]){height:56px;font-size:16px}
  .eps-auth-v4-submit{height:56px}
  .eps-auth-v4-legal{text-align:center}
}
@media(max-width:380px){
  .eps-auth-v4-topbar{position:static;margin:-64px 0 34px;justify-content:space-between}
  .eps-auth-v4-form-side{padding-top:82px}
  .eps-auth-v4-create button span:last-child{display:none}
  .eps-auth-v4-form-row{gap:10px}
}
@media(prefers-reduced-motion:reduce){
  .eps-auth-v4 *{scroll-behavior:auto!important}
  .eps-auth-v4 [data-eps-auth-enter]{opacity:1;transform:none;animation:none}
  .eps-auth-orb,.eps-auth-feather{animation:none}
  .eps-auth-v4-submit,.eps-auth-v4-create button,.eps-auth-v4-social{transition:none}
}
body.eps-modal-open{overflow:hidden}
body.eps-motion-none .eps-auth-v4 [data-eps-auth-enter],body.eps-motion-reduced .eps-auth-v4 [data-eps-auth-enter]{opacity:1;transform:none;animation:none}
body.eps-motion-none .eps-auth-orb,body.eps-motion-none .eps-auth-feather,body.eps-motion-reduced .eps-auth-orb,body.eps-motion-reduced .eps-auth-feather{animation:none}


/* ==========================================================================
   Alpha 0.9.0-alpha.7 — multilingual routing, gold auth and stable RTL
   ========================================================================== */
.eps-auth-v4 .eps-login-brand-lockup>img{
  width:var(--eps-login-emblem-desktop-size,92px);
  height:var(--eps-login-emblem-desktop-size,92px);
  object-fit:contain;
  image-rendering:auto;
  filter:none;
}
.eps-auth-v4 .eps-login-brand-lockup strong{
  font-size:var(--eps-login-brand-desktop-size,38px);
}
.eps-auth-v4-form-wrap{
  width:min(100%,var(--eps-login-form-max-width,500px));
}
.eps-auth-v4-form-wrap h2{
  font-size:var(--eps-login-form-title-size,38px);
}
.eps-auth-v4-logo .eps-login-brand-lockup{
  align-items:center;
}
.eps-auth-v4-logo .eps-login-brand-lockup small{
  letter-spacing:.12em;
}
.eps-language-globe{
  width:18px;
  height:18px;
  flex:0 0 18px;
}
.eps-language-menu-head{
  display:none;
}
.eps-language-menu-list{
  display:grid;
  gap:4px;
}
.eps-language-menu a{
  min-width:0;
}
.eps-language-menu a span{
  min-width:0;
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
}
.eps-language-menu a b{
  margin-inline-start:auto;
  color:var(--eps-login-accent,#C9A84C);
}
.eps-language-flag{
  width:24px;
  height:18px;
  flex:0 0 24px;
  object-fit:cover;
  border-radius:4px;
  box-shadow:0 0 0 1px rgba(15,31,58,.08);
}
.eps-language-open{
  overflow:hidden;
}
.eps-register-modal-card{
  width:min(calc(100vw - 32px),var(--eps-login-modal-max-width,520px));
  max-height:min(90svh,780px);
  overflow:auto;
  overscroll-behavior:contain;
  padding:34px;
  border:1px solid rgba(14,31,58,.08);
  border-radius:26px;
  background:
    radial-gradient(circle at 50% 0,rgba(201,168,76,.08),transparent 25%),
    #fff;
  box-shadow:0 34px 110px rgba(4,14,29,.34);
}
.eps-register-modal-card::-webkit-scrollbar{width:8px}
.eps-register-modal-card::-webkit-scrollbar-thumb{background:#d8dee8;border-radius:99px}
.eps-register-modal-card header{
  margin:0 46px 24px 0;
}
[dir="rtl"] .eps-register-modal-card header{
  margin:0 0 24px 46px;
}
.eps-register-brand{
  display:flex;
  justify-content:center;
  margin:-4px 0 10px;
}
.eps-register-brand img{
  width:72px;
  height:72px;
  display:block;
  object-fit:contain;
}
.eps-register-modal-card h2{
  margin:0;
  color:#101d31;
  font-size:32px;
  line-height:1.12;
  letter-spacing:-.035em;
}
.eps-register-modal-card header p{
  margin:8px 0 0;
  color:#737e8d;
  line-height:1.55;
}
.eps-register-modal-card label{
  display:grid;
  gap:8px;
  margin:0 0 15px;
  color:#26364d;
  font-size:13px;
  font-weight:700;
}
.eps-register-modal-card input:not([type="checkbox"]),
.eps-register-modal-card select{
  width:100%;
  height:54px;
  padding:0 15px;
  border:1px solid #d8e0ea;
  border-radius:11px;
  background:#fff;
  color:#13233b;
  font-size:15px;
  outline:none;
}
.eps-register-modal-card input:focus,
.eps-register-modal-card select:focus{
  border-color:color-mix(in srgb,var(--eps-login-accent) 65%,white);
  box-shadow:0 0 0 4px color-mix(in srgb,var(--eps-login-accent) 12%,transparent);
}
.eps-register-consent{
  display:flex!important;
  grid-template-columns:none!important;
  align-items:flex-start;
  gap:10px!important;
  margin:4px 0 18px!important;
  color:#6d7787!important;
  font-size:12px!important;
  font-weight:500!important;
  line-height:1.5;
}
.eps-register-consent input{
  width:17px!important;
  height:17px!important;
  flex:0 0 17px;
  margin:2px 0 0!important;
  accent-color:var(--eps-login-accent);
}
.eps-register-consent a{
  color:var(--eps-login-accent);
  text-decoration:underline;
  text-underline-offset:2px;
}
.eps-modal-close{
  position:absolute;
  z-index:5;
  inset:18px 18px auto auto;
  display:grid;
  place-items:center;
  width:42px;
  height:42px;
  margin:0;
  padding:0;
  border:0;
  border-radius:50%;
  background:var(--eps-login-navy,#081625);
  color:#fff;
  font-size:27px;
  font-weight:400;
  line-height:1;
  cursor:pointer;
  box-shadow:0 10px 25px rgba(8,22,37,.22);
}
[dir="rtl"] .eps-modal-close{
  inset:18px auto auto 18px;
}
.eps-modal-close span{
  display:block;
  width:100%;
  line-height:38px;
  text-align:center;
}
.eps-modal-backdrop{
  border:0;
  padding:0;
}
.eps-auth-v4 .eps-alert{
  padding:14px 16px;
  border-radius:13px;
  font-size:14px;
  line-height:1.45;
}
.eps-auth-v4-form input,
.eps-register-modal-card input,
.eps-register-modal-card select{
  min-width:0;
}
:lang(ar) .eps-login-brand-lockup small,
:lang(zh) .eps-login-brand-lockup small,
:lang(ja) .eps-login-brand-lockup small,
:lang(ko) .eps-login-brand-lockup small{
  letter-spacing:.035em;
}
:lang(zh) .eps-auth-v4,
:lang(ja) .eps-auth-v4,
:lang(ko) .eps-auth-v4{
  font-family:Inter,"Noto Sans CJK SC","PingFang SC","Microsoft YaHei",system-ui,sans-serif;
}
:lang(ar) .eps-auth-v4{
  font-family:Inter,"Noto Sans Arabic","Segoe UI",Tahoma,Arial,sans-serif;
}

@media(max-width:900px){
  .eps-auth-v4{
    overflow-x:hidden;
  }
  .eps-auth-v4-form-side{
    min-height:100svh;
    padding:86px 20px max(36px,env(safe-area-inset-bottom));
    background:
      radial-gradient(circle at 50% 6%,rgba(201,168,76,.07),transparent 24%),
      radial-gradient(circle at 8% 70%,rgba(201,168,76,.055),transparent 28%),
      #fff;
  }
  .eps-auth-v4-topbar{
    position:absolute;
    inset:18px 18px auto;
    z-index:80;
    gap:10px;
  }
  .eps-auth-v4-topbar .eps-language-switcher summary,
  .eps-auth-v4-topbar .eps-language-static{
    min-height:42px;
    padding:0 13px;
    border:1px solid #dce2eb;
    border-radius:999px;
    background:rgba(255,255,255,.94);
    color:#35445a;
    box-shadow:0 8px 24px rgba(14,31,58,.05);
    font-size:13px;
  }
  .eps-auth-v4-create button{
    min-height:42px;
    padding:0 14px;
    font-size:13px;
    white-space:nowrap;
  }
  .eps-auth-v4-mobile-logo{
    display:flex;
    justify-content:center;
    margin:20px auto 34px;
  }
  .eps-auth-v4-mobile-logo .eps-login-brand-lockup{
    width:100%;
    display:flex;
    flex-direction:column;
    align-items:center;
    gap:7px;
    text-align:center;
  }
  .eps-auth-v4-mobile-logo .eps-login-brand-lockup>img{
    width:var(--eps-login-emblem-mobile-size,88px);
    height:var(--eps-login-emblem-mobile-size,88px);
  }
  .eps-auth-v4-mobile-logo .eps-login-brand-lockup>span{
    width:100%;
  }
  .eps-auth-v4-mobile-logo .eps-login-brand-lockup strong{
    max-width:100%;
    font-size:var(--eps-login-brand-mobile-size,29px);
    line-height:1.05;
    white-space:normal;
    text-wrap:balance;
  }
  .eps-auth-v4-mobile-logo .eps-login-brand-lockup small{
    margin-top:9px;
    font-size:9px;
    line-height:1.35;
    letter-spacing:.08em;
    white-space:normal;
  }
  .eps-auth-v4-form-wrap{
    width:min(100%,var(--eps-login-form-max-width,500px));
  }
  .eps-auth-v4-form-wrap>header{
    margin-bottom:22px;
  }
  .eps-auth-v4-form-wrap h2{
    font-size:var(--eps-login-form-title-mobile-size,30px);
    line-height:1.12;
  }
  .eps-auth-v4-form-wrap>header p{
    margin-top:8px;
    font-size:14px;
  }
  .eps-language-switcher[open]::before{
    content:"";
    position:fixed;
    z-index:998;
    inset:0;
    background:rgba(7,18,34,.42);
    backdrop-filter:blur(7px);
    -webkit-backdrop-filter:blur(7px);
  }
  .eps-language-switcher[open] summary{
    position:relative;
    z-index:1001;
  }
  .eps-language-menu{
    position:fixed;
    z-index:1002;
    inset:76px 16px auto;
    width:auto;
    min-width:0;
    max-width:440px;
    max-height:min(70svh,560px);
    margin-inline:auto;
    padding:10px;
    overflow:auto;
    overscroll-behavior:contain;
    border-radius:20px;
    box-shadow:0 28px 90px rgba(7,18,34,.28);
  }
  [dir="rtl"] .eps-language-menu{
    inset:76px 16px auto;
  }
  .eps-language-menu-head{
    position:sticky;
    z-index:2;
    top:-10px;
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:12px;
    margin:-2px -2px 8px;
    padding:12px;
    border-bottom:1px solid #edf0f4;
    background:rgba(255,255,255,.96);
    backdrop-filter:blur(12px);
  }
  .eps-language-menu-head strong{
    color:#1b2b43;
    font-size:14px;
  }
  .eps-language-menu-head button{
    display:grid;
    place-items:center;
    width:34px;
    height:34px;
    padding:0;
    border:0;
    border-radius:50%;
    background:#f1f4f8;
    color:#293950;
    font-size:22px;
    line-height:1;
  }
  .eps-language-menu-list{
    gap:3px;
  }
  .eps-language-menu a{
    min-height:50px;
    padding:9px 11px;
    font-size:14px;
  }
  .eps-register-modal-card{
    max-height:min(88svh,720px);
    padding:28px 22px 24px;
    border-radius:24px;
  }
  .eps-register-modal-card header{
    margin:0 48px 20px 0;
  }
  [dir="rtl"] .eps-register-modal-card header{
    margin:0 0 20px 48px;
  }
  .eps-register-brand img{
    width:62px;
    height:62px;
  }
  .eps-register-modal-card h2{
    font-size:29px;
  }
  .eps-register-modal-card header p{
    font-size:14px;
  }
  .eps-modal-close{
    inset:16px 16px auto auto;
    width:40px;
    height:40px;
  }
  [dir="rtl"] .eps-modal-close{
    inset:16px auto auto 16px;
  }
  .eps-modal-close span{
    line-height:36px;
  }
}
@media(max-width:560px){
  .eps-auth-v4-form-side{
    padding-inline:16px;
  }
  .eps-auth-v4-topbar{
    inset-inline:14px;
  }
  .eps-auth-v4-create>span{
    display:none;
  }
  .eps-auth-v4-create button span[aria-hidden="true"]{
    display:none;
  }
  .eps-auth-v4-mobile-logo{
    margin-top:24px;
    margin-bottom:28px;
  }
  .eps-auth-v4-form label{
    margin-bottom:14px;
  }
  .eps-auth-v4-form input[type="text"],
  .eps-auth-v4-form input[type="email"],
  .eps-auth-v4-form input[type="password"],
  .eps-auth-v4-form input:not([type]){
    height:54px;
  }
  .eps-auth-v4-form-row{
    gap:12px;
    margin-bottom:20px;
  }
  .eps-auth-v4-form-row>a{
    text-align:end;
  }
  .eps-auth-v4-submit{
    height:55px;
  }
  .eps-auth-v4-divider{
    margin:23px 0 16px;
  }
  .eps-auth-v4-social{
    height:51px;
  }
  .eps-auth-v4-legal{
    margin-top:24px;
    padding-bottom:8px;
  }
  .eps-auth-v4 .eps-alert{
    padding:12px 13px;
    font-size:13px;
  }
}
@media(max-width:380px){
  .eps-auth-v4-topbar{
    position:absolute;
    margin:0;
  }
  .eps-auth-v4-form-side{
    padding-top:82px;
  }
  .eps-auth-v4-mobile-logo .eps-login-brand-lockup strong{
    font-size:min(var(--eps-login-brand-mobile-size,29px),27px);
  }
  .eps-auth-v4-mobile-logo .eps-login-brand-lockup>img{
    width:min(var(--eps-login-emblem-mobile-size,88px),80px);
    height:min(var(--eps-login-emblem-mobile-size,88px),80px);
  }
  .eps-register-modal-card{
    width:calc(100vw - 20px);
    padding-inline:18px;
  }
}


/* ==========================================================================
   Alpha 0.9.0-alpha.7 — stable translated pages and brand-gold authentication
   ========================================================================== */
.eps-auth-v4{direction:ltr}
[dir="rtl"] .eps-auth-v4-story,[dir="rtl"] .eps-auth-v4-form-side{direction:rtl}
[dir="rtl"] .eps-auth-v4-form-side{unicode-bidi:isolate}
.eps-auth-v4-form-row>a,.eps-auth-v4-legal a,.eps-register-consent a{color:var(--eps-brand-gold,#C9A84C)}
.eps-auth-v4-submit{background:linear-gradient(120deg,#8f6818,var(--eps-brand-gold,#C9A84C) 55%,#e4c76e);color:#081625;box-shadow:0 14px 32px rgba(201,168,76,.25)}
.eps-auth-v4-submit:hover{box-shadow:0 18px 38px rgba(201,168,76,.34)}
.eps-auth-check input,.eps-register-consent input{accent-color:var(--eps-brand-gold,#C9A84C)}
.eps-language-menu a:hover,.eps-language-menu a[aria-current="page"]{background:#fbf7eb;color:#8f6818}
.eps-language-menu a b{color:#9a741b}
.eps-modal-close:hover{background:var(--eps-brand-gold,#C9A84C);color:#081625}
@media(max-width:900px){
  [dir="rtl"] .eps-auth-v4-form-side{direction:rtl}
  [dir="rtl"] .eps-auth-v4-topbar{direction:rtl}
  [dir="rtl"] .eps-auth-v4-mobile-logo{direction:rtl}
}

/* ========================================================================== 
   Alpha 0.9.0-alpha.8 — configurable language catalog with country flags
   ========================================================================== */
.eps-language-flag-emoji{
  width:26px;
  min-width:26px;
  display:inline-grid;
  place-items:center;
  font-size:20px;
  line-height:1;
  font-family:"Apple Color Emoji","Segoe UI Emoji","Noto Color Emoji",sans-serif;
}
.eps-language-switcher summary .eps-language-flag-emoji{font-size:18px}
.eps-language-menu-list a{direction:ltr}
.eps-language-menu-list a[dir="rtl"]{direction:rtl;text-align:right}
.eps-auth-v4-form-row>a,
.eps-auth-v4-legal a,
.eps-register-consent a,
.eps-auth-v4-create button{
  color:#9a741b;
}
.eps-auth-v4-create button{
  border-color:rgba(201,168,76,.48);
  background:#fffdf7;
}
.eps-auth-v4-create button:hover{
  border-color:var(--eps-brand-gold,#C9A84C);
  background:#fbf4df;
}
@media(max-width:900px){
  .eps-language-menu-list a{
    grid-template-columns:30px minmax(0,1fr) 20px;
  }
  .eps-language-flag-emoji{font-size:22px}
}
.eps-language-flag-image img{display:block;width:22px;height:16px;object-fit:cover;border-radius:3px;box-shadow:0 0 0 1px rgba(13,27,42,.12)}

/* Alpha 0.9.0-alpha.12.10 — language menu alignment parity on login/mobile. */
.eps-language-menu-list a,
.eps-language-menu-list a[dir="rtl"]{
  display:grid;
  grid-template-columns:26px minmax(0,1fr) 20px;
  align-items:center;
  gap:10px;
  direction:ltr;
  text-align:left;
  min-height:42px;
}
.eps-language-menu-list a > .eps-language-flag-emoji,
.eps-language-menu-list a > .eps-language-flag-image{
  grid-column:1;
  justify-self:center;
}
.eps-language-menu-list a > span:not(.eps-language-flag-emoji):not(.eps-language-flag-image){
  grid-column:2;
  min-width:0;
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
}
.eps-language-menu-list a[dir="rtl"] > span:not(.eps-language-flag-emoji):not(.eps-language-flag-image){
  direction:rtl;
  text-align:left;
  unicode-bidi:plaintext;
}
.eps-language-menu-list a > b{
  grid-column:3;
  justify-self:end;
  margin-inline-start:0;
}
@media(max-width:900px){
  .eps-language-menu-list a,
  .eps-language-menu-list a[dir="rtl"]{
    grid-template-columns:30px minmax(0,1fr) 22px;
    min-height:48px;
    padding:11px 12px;
  }
}


/* Alpha 16 isolation: legacy dashboard selectors never style Elite Account. */
body.eps-account-document .eps-dashboard-shell,
body.eps-account-document .eps-sidebar,
body.eps-account-document .eps-dashboard-main,
body.eps-account-document .eps-dashboard-header,
body.eps-account-document .eps-welcome-banner {
    all:unset;
    display:none!important;
}


/* ==========================================================================
   ELITE AUTHENTICATION EXPERIENCE — ALPHA 16.2
   --------------------------------------------------------------------------
   Success feedback after logout or registration.
========================================================================== */
.eps-auth-v4 .eps-alert-success {
    border:1px solid #bfe3ca;
    background:#edf9f1;
    color:#216b41;
}

.eps-auth-v4 .eps-alert-success::before {
    content:"✓";
    display:inline-grid;
    width:22px;
    height:22px;
    margin-right:8px;
    place-items:center;
    border-radius:50%;
    background:#d7f1df;
    color:#216b41;
    font-weight:900;
}

@media (max-width:700px) {
    .eps-auth-v4 .eps-alert,
    .eps-auth-v4 .eps-alert-success {
        font-size:13px;
        line-height:1.5;
    }
}


/* ==========================================================================
   ALPHA 20.1.6 — AUTH GRID / HOME NAVIGATION HOTFIX
   --------------------------------------------------------------------------
   IMPORTANT:
   The authentication root must always have exactly two layout children:
   `.eps-auth-v4-story` and `.eps-auth-v4-form-side`.

   The Home link is mounted inside the form side because `frontend.css` is the
   canonical stylesheet loaded on this page. Do not move these rules only to
   `site.css`, which is not guaranteed to load in the auth experience.
========================================================================== */

.eps-auth-v4-form-side > .eps-auth-home-link {
    position:absolute;
    top:22px;
    left:clamp(22px,3vw,44px);
    z-index:90;
    display:inline-flex;
    min-height:44px;
    align-items:center;
    gap:8px;
    padding:9px 14px;
    border:1px solid rgba(201,168,76,.30);
    border-radius:999px;
    background:rgba(255,255,255,.94);
    color:#0d1b2a;
    font-size:11px;
    font-weight:850;
    line-height:1.2;
    text-decoration:none;
    box-shadow:0 9px 26px rgba(13,27,42,.10);
    backdrop-filter:blur(10px);
}

.eps-auth-v4-form-side > .eps-auth-home-link:hover,
.eps-auth-v4-form-side > .eps-auth-home-link:focus-visible {
    outline:none;
    border-color:#c9a84c;
    background:#fff8e6;
    color:#916407;
}

[dir="rtl"] .eps-auth-v4-form-side > .eps-auth-home-link {
    right:clamp(22px,3vw,44px);
    left:auto;
}

@media(max-width:900px) {
    .eps-auth-v4-form-side > .eps-auth-home-link {
        top:18px;
        left:18px;
        min-height:44px;
        max-width:calc(50vw - 28px);
        padding:9px 12px;
    }

    [dir="rtl"] .eps-auth-v4-form-side > .eps-auth-home-link {
        right:18px;
        left:auto;
    }

    .eps-auth-v4-form-side > .eps-auth-home-link span:last-child {
        overflow:hidden;
        text-overflow:ellipsis;
        white-space:nowrap;
    }
}

@media(max-width:560px) {
    .eps-auth-v4-form-side > .eps-auth-home-link {
        top:14px;
        left:14px;
        min-height:48px;
        max-width:150px;
        font-size:11px;
    }

    [dir="rtl"] .eps-auth-v4-form-side > .eps-auth-home-link {
        right:14px;
        left:auto;
    }
}


/* ==========================================================================
   ALPHA 20.1.7 — AUTH TOPBAR ALIGNMENT
   --------------------------------------------------------------------------
   All authentication navigation controls now share one flex row.
   Do not position the Home link independently from this topbar.
========================================================================== */

.eps-auth-v4-topbar {
    justify-content:space-between!important;
    gap:20px!important;
}

.eps-auth-v4-topbar > .eps-auth-home-link {
    position:static!important;
    top:auto!important;
    right:auto!important;
    bottom:auto!important;
    left:auto!important;
    flex:0 0 auto;
    display:inline-flex;
    min-height:44px;
    align-items:center;
    justify-content:center;
    gap:8px;
    margin:0!important;
    padding:9px 14px;
    border:1px solid rgba(201,168,76,.30);
    border-radius:999px;
    background:rgba(255,255,255,.94);
    color:#0d1b2a;
    font-size:11px;
    font-weight:850;
    line-height:1.2;
    text-decoration:none;
    box-shadow:0 9px 26px rgba(13,27,42,.10);
    backdrop-filter:blur(10px);
}

.eps-auth-v4-topbar > .eps-auth-home-link:hover,
.eps-auth-v4-topbar > .eps-auth-home-link:focus-visible {
    outline:none;
    border-color:#c9a84c;
    background:#fff8e6;
    color:#916407;
}

.eps-auth-v4-topbar-actions {
    display:flex;
    min-width:0;
    align-items:center;
    justify-content:flex-end;
    gap:24px;
}

.eps-auth-v4-topbar-actions > * {
    flex:0 0 auto;
}

/* Neutralize the previous direct-child mounting rules. */
.eps-auth-v4-form-side > .eps-auth-home-link {
    display:none!important;
}

[dir="rtl"] .eps-auth-v4-topbar {
    direction:rtl;
}

[dir="rtl"] .eps-auth-v4-topbar-actions {
    direction:rtl;
}

@media(max-width:1100px) {
    .eps-auth-v4-topbar {
        gap:12px!important;
    }

    .eps-auth-v4-topbar-actions {
        gap:12px;
    }

    .eps-auth-v4-topbar > .eps-auth-home-link {
        max-width:180px;
    }

    .eps-auth-v4-topbar > .eps-auth-home-link span:last-child {
        overflow:hidden;
        text-overflow:ellipsis;
        white-space:nowrap;
    }
}

@media(max-width:900px) {
    .eps-auth-v4-topbar {
        align-items:center!important;
    }

    .eps-auth-v4-topbar-actions {
        gap:10px;
    }

    .eps-auth-v4-topbar > .eps-auth-home-link {
        min-height:44px;
        max-width:150px;
        padding:8px 11px;
        font-size:10px;
    }
}

@media(max-width:700px) {
    .eps-auth-v4-topbar {
        position:static!important;
        display:grid!important;
        grid-template-columns:1fr!important;
        gap:12px!important;
        margin:-64px 0 28px!important;
    }

    .eps-auth-v4-topbar > .eps-auth-home-link {
        width:max-content;
        max-width:100%;
        min-height:48px;
        justify-self:start;
        padding:10px 14px;
        font-size:11px;
    }

    .eps-auth-v4-topbar-actions {
        width:100%;
        justify-content:space-between;
    }
}

@media(max-width:480px) {
    .eps-auth-v4-topbar-actions {
        align-items:stretch;
        flex-direction:column;
    }

    .eps-auth-v4-topbar-actions .eps-language-switcher,
    .eps-auth-v4-topbar-actions .eps-language-static,
    .eps-auth-v4-topbar-actions .eps-auth-v4-create {
        width:100%;
    }

    .eps-auth-v4-topbar-actions .eps-auth-v4-create {
        justify-content:space-between;
    }
}


/* ==========================================================================
   ALPHA 20.3.7 — COMPACT LOGIN MOBILE TOOLBAR
========================================================================== */
@media(max-width:700px) {
    .eps-auth-v4-topbar[data-eps-auth-mobile-toolbar] {
        position:static!important;
        width:100%!important;
        display:grid!important;
        grid-template-columns:repeat(3,minmax(0,1fr))!important;
        align-items:stretch!important;
        gap:7px!important;
        margin:-58px 0 24px!important;
    }

    .eps-auth-v4-topbar-actions[data-eps-auth-toolbar-actions] {
        display:contents!important;
    }

    .eps-auth-v4-topbar[data-eps-auth-mobile-toolbar] > .eps-auth-home-link,
    .eps-auth-v4-topbar[data-eps-auth-mobile-toolbar] .eps-language-switcher,
    .eps-auth-v4-topbar[data-eps-auth-mobile-toolbar] .eps-language-static,
    .eps-auth-v4-topbar[data-eps-auth-mobile-toolbar] .eps-auth-v4-create {
        width:100%!important;
        min-width:0!important;
        max-width:none!important;
        margin:0!important;
    }

    .eps-auth-v4-topbar[data-eps-auth-mobile-toolbar] > .eps-auth-home-link,
    .eps-auth-v4-topbar[data-eps-auth-mobile-toolbar] .eps-language-switcher > summary,
    .eps-auth-v4-topbar[data-eps-auth-mobile-toolbar] .eps-language-static,
    .eps-auth-v4-topbar[data-eps-auth-mobile-toolbar] .eps-auth-v4-create button {
        width:100%!important;
        min-width:0!important;
        min-height:40px!important;
        display:flex!important;
        align-items:center!important;
        justify-content:center!important;
        gap:5px!important;
        padding:6px 8px!important;
        border-radius:12px!important;
        font-size:9px!important;
        font-weight:780!important;
        line-height:1.05!important;
        text-align:center!important;
        white-space:nowrap!important;
        box-sizing:border-box!important;
    }

    .eps-auth-v4-topbar[data-eps-auth-mobile-toolbar] > .eps-auth-home-link {
        justify-self:stretch!important;
    }

    .eps-auth-v4-topbar[data-eps-auth-mobile-toolbar] > .eps-auth-home-link span:first-child {
        flex:0 0 auto;
        font-size:13px;
    }

    .eps-auth-v4-topbar[data-eps-auth-mobile-toolbar] > .eps-auth-home-link span:last-child {
        display:block!important;
        min-width:0;
        overflow:hidden;
        text-overflow:ellipsis;
    }

    .eps-auth-v4-topbar[data-eps-auth-mobile-toolbar] .eps-auth-v4-create {
        display:block!important;
    }

    .eps-auth-v4-topbar[data-eps-auth-mobile-toolbar] .eps-auth-v4-create > span,
    .eps-auth-v4-topbar[data-eps-auth-mobile-toolbar] .eps-auth-v4-create button span[aria-hidden="true"] {
        display:none!important;
    }

    .eps-auth-v4-topbar[data-eps-auth-mobile-toolbar] .eps-language-switcher > summary,
    .eps-auth-v4-topbar[data-eps-auth-mobile-toolbar] .eps-language-static {
        border:1px solid #dce2eb!important;
        background:rgba(255,255,255,.95)!important;
        color:#35445a!important;
        box-shadow:0 6px 18px rgba(14,31,58,.05)!important;
    }

    .eps-auth-v4-topbar[data-eps-auth-mobile-toolbar] .eps-language-current-label {
        min-width:0!important;
        overflow:hidden!important;
        text-overflow:ellipsis!important;
        white-space:nowrap!important;
    }

    .eps-auth-v4-topbar[data-eps-auth-mobile-toolbar] .eps-language-switcher > summary::after {
        content:""!important;
        flex:0 0 auto;
        width:6px!important;
        height:6px!important;
        margin:0 1px 3px 2px!important;
        border-right:1.5px solid currentColor!important;
        border-bottom:1.5px solid currentColor!important;
        background:none!important;
        transform:rotate(45deg)!important;
        transform-origin:center!important;
        line-height:0!important;
        opacity:.72;
    }

    .eps-auth-v4-topbar[data-eps-auth-mobile-toolbar] .eps-language-switcher[open] > summary::after {
        margin-bottom:-3px!important;
        transform:rotate(225deg)!important;
    }

    .eps-auth-v4-topbar[data-eps-auth-mobile-toolbar] .eps-language-menu {
        position:fixed!important;
        z-index:1000100!important;
        top:72px!important;
        right:12px!important;
        left:12px!important;
        width:auto!important;
        max-width:420px!important;
        max-height:min(54dvh,360px)!important;
        margin:auto!important;
        overflow-y:auto!important;
        border-radius:17px!important;
        padding:7px!important;
        box-shadow:0 22px 62px rgba(12,28,53,.22)!important;
    }

    .eps-auth-v4-topbar[data-eps-auth-mobile-toolbar] .eps-language-menu a {
        min-height:38px!important;
        padding:7px 10px!important;
        border-radius:10px!important;
        font-size:11px!important;
    }
}

@media(max-width:390px) {
    .eps-auth-v4-topbar[data-eps-auth-mobile-toolbar] {
        gap:5px!important;
        margin-top:-54px!important;
    }

    .eps-auth-v4-topbar[data-eps-auth-mobile-toolbar] > .eps-auth-home-link,
    .eps-auth-v4-topbar[data-eps-auth-mobile-toolbar] .eps-language-switcher > summary,
    .eps-auth-v4-topbar[data-eps-auth-mobile-toolbar] .eps-language-static,
    .eps-auth-v4-topbar[data-eps-auth-mobile-toolbar] .eps-auth-v4-create button {
        min-height:38px!important;
        padding:5px 6px!important;
        font-size:8px!important;
    }
}


/* RC.8.2 — Native WordPress password recovery inside Elite Login */
.eps-auth-recovery-copy{
    margin:0 0 8px;
    padding:16px 18px;
    border:1px solid rgba(201,168,76,.20);
    border-radius:14px;
    background:rgba(201,168,76,.07);
}
.eps-auth-recovery-copy strong{
    display:block;
    margin-bottom:5px;
    color:var(--eps-login-navy,#0D1B2A);
    font-size:15px;
    font-weight:850;
}
.eps-auth-recovery-copy p{
    margin:0;
    color:#6E7B8E;
    font-size:12px;
    line-height:1.55;
}
.eps-auth-recovery-back{
    display:flex;
    align-items:center;
    justify-content:center;
    min-height:44px;
    margin-top:4px;
    color:#6E7B8E;
    font-size:12px;
    font-weight:750;
    text-decoration:none;
}


/* ==========================================================================
 * SPRINT 31.6 — MOBILE REGISTRATION CENTER + NAVY BACKDROP
 * --------------------------------------------------------------------------
 * USER REQUEST:
 * Registration only. Do not change the visual background of other pages.
 *
 * GOALS:
 * - center the registration card on iPhone and Android;
 * - remove any magenta/pink background from the registration experience;
 * - use Elite navy behind the card;
 * - keep the white form card visually isolated and premium;
 * - let the CARD scroll when viewport height is short;
 * - keep external floating chat/widgets behind the registration modal.
 *
 * IMPORTANT:
 * This block is intentionally scoped to `[data-eps-register-modal]`.
 * Do not broaden these selectors to `.eps-modal` globally.
 * ========================================================================== */
@media (max-width: 900px){

    /*
     * Registration overlay owns the entire mobile viewport.
     * 100dvh follows Safari/Chrome mobile toolbar changes better than 100vh.
     */
    .eps-modal[data-eps-register-modal]{
        position:fixed!important;
        inset:0!important;
        z-index:2147483200!important;
        display:flex!important;
        align-items:center!important;
        justify-content:center!important;
        width:100vw!important;
        height:100dvh!important;
        min-height:100dvh!important;
        padding:
            max(14px,env(safe-area-inset-top))
            14px
            max(14px,env(safe-area-inset-bottom))!important;
        margin:0!important;
        overflow:hidden!important;
        background:#081625!important;
        isolation:isolate!important;
        box-sizing:border-box!important;
    }

    .eps-modal[data-eps-register-modal][hidden]{
        display:none!important;
    }

    /*
     * Force the registration background to Elite navy.
     * This specifically prevents theme/plugin accent colors from leaking into
     * the modal background (the pink/magenta seen in the reported screenshot).
     */
    .eps-modal[data-eps-register-modal] > .eps-modal-backdrop{
        position:absolute!important;
        inset:0!important;
        z-index:0!important;
        width:100%!important;
        height:100%!important;
        margin:0!important;
        padding:0!important;
        border:0!important;
        background:
            radial-gradient(circle at 50% 12%,rgba(201,168,76,.12),transparent 30%),
            linear-gradient(180deg,#081625 0%,#0D1B2A 58%,#10253A 100%)!important;
        backdrop-filter:none!important;
        -webkit-backdrop-filter:none!important;
        opacity:1!important;
    }

    /*
     * True centered card.
     * max-height is deliberately less than 100dvh so there is always navy
     * breathing room above and below on modern phones.
     */
    .eps-modal[data-eps-register-modal] > .eps-register-modal-card{
        position:relative!important;
        inset:auto!important;
        z-index:2!important;
        align-self:center!important;
        justify-self:center!important;
        width:min(100%,560px)!important;
        max-width:560px!important;
        height:auto!important;
        max-height:calc(
            100dvh
            - max(28px,env(safe-area-inset-top))
            - max(28px,env(safe-area-inset-bottom))
        )!important;
        margin:auto!important;
        padding:26px 22px 24px!important;
        overflow-x:hidden!important;
        overflow-y:auto!important;
        overscroll-behavior:contain!important;
        -webkit-overflow-scrolling:touch!important;
        border:1px solid rgba(201,168,76,.18)!important;
        border-radius:26px!important;
        background:
            radial-gradient(circle at 50% 0,rgba(201,168,76,.07),transparent 23%),
            #fff!important;
        box-shadow:
            0 26px 90px rgba(0,0,0,.42),
            0 0 0 1px rgba(255,255,255,.42) inset!important;
        transform:none!important;
        box-sizing:border-box!important;
        scroll-padding-top:18px!important;
        scroll-padding-bottom:24px!important;
    }

    .eps-modal[data-eps-register-modal] .eps-register-brand{
        margin:0 0 8px!important;
    }

    .eps-modal[data-eps-register-modal] .eps-register-brand img{
        width:58px!important;
        height:58px!important;
    }

    .eps-modal[data-eps-register-modal] .eps-register-modal-card header{
        margin:0 48px 20px 0!important;
    }

    [dir="rtl"] .eps-modal[data-eps-register-modal] .eps-register-modal-card header{
        margin:0 0 20px 48px!important;
    }

    .eps-modal[data-eps-register-modal] .eps-register-modal-card h2{
        font-size:clamp(28px,8vw,34px)!important;
        line-height:1.08!important;
        color:#0D1B2A!important;
    }

    .eps-modal[data-eps-register-modal] .eps-register-modal-card header p{
        margin-top:8px!important;
        color:#748094!important;
        font-size:14px!important;
        line-height:1.5!important;
    }

    .eps-modal[data-eps-register-modal] .eps-register-modal-card label{
        margin-bottom:14px!important;
        color:#21324A!important;
        font-size:13px!important;
    }

    .eps-modal[data-eps-register-modal] .eps-register-modal-card input:not([type="checkbox"]),
    .eps-modal[data-eps-register-modal] .eps-register-modal-card select{
        height:54px!important;
        border-radius:13px!important;
        border-color:#D5DEE9!important;
        background:#fff!important;
        color:#10213A!important;
        font-size:16px!important;
    }

    .eps-modal[data-eps-register-modal] .eps-register-modal-card input::placeholder{
        color:#9AA6B7!important;
    }

    .eps-modal[data-eps-register-modal] .eps-modal-close{
        position:absolute!important;
        top:16px!important;
        right:16px!important;
        width:42px!important;
        height:42px!important;
        border-radius:50%!important;
        background:#081625!important;
        color:#fff!important;
        transform:none!important;
    }

    [dir="rtl"] .eps-modal[data-eps-register-modal] .eps-modal-close{
        right:auto!important;
        left:16px!important;
    }

    /*
     * Prevent the global chat/widget from visually crossing the registration
     * layer. We do this by making the registration modal practically topmost,
     * without changing the chat itself on any other page/state.
     */
    body.eps-modal-open .eps-modal[data-eps-register-modal]{
        z-index:2147483200!important;
    }
}

/* Smaller Android/iPhone widths: preserve centering, only tighten spacing. */
@media (max-width: 430px){
    .eps-modal[data-eps-register-modal]{
        padding:
            max(12px,env(safe-area-inset-top))
            10px
            max(12px,env(safe-area-inset-bottom))!important;
    }

    .eps-modal[data-eps-register-modal] > .eps-register-modal-card{
        width:100%!important;
        max-width:none!important;
        padding:24px 18px 22px!important;
        border-radius:24px!important;
    }

    .eps-modal[data-eps-register-modal] .eps-register-brand img{
        width:54px!important;
        height:54px!important;
    }

    .eps-modal[data-eps-register-modal] .eps-register-modal-card h2{
        font-size:30px!important;
    }
}

/* Very short screens (landscape / compact Android): keep it usable via card scroll. */
@media (max-width: 900px) and (max-height: 650px){
    .eps-modal[data-eps-register-modal]{
        align-items:center!important;
        padding-top:max(8px,env(safe-area-inset-top))!important;
        padding-bottom:max(8px,env(safe-area-inset-bottom))!important;
    }

    .eps-modal[data-eps-register-modal] > .eps-register-modal-card{
        max-height:calc(
            100dvh
            - max(16px,env(safe-area-inset-top))
            - max(16px,env(safe-area-inset-bottom))
        )!important;
        padding-top:20px!important;
        padding-bottom:20px!important;
    }
}


/* ==========================================================================
 * SPRINT 31.7 — DESKTOP REGISTRATION BACKGROUND ONLY
 * --------------------------------------------------------------------------
 * SCOPE:
 * Desktop registration modal only.
 *
 * PURPOSE:
 * Remove the pink/magenta registration backdrop on desktop and use the Elite
 * navy identity instead.
 *
 * DO NOT MODIFY:
 * - registration card dimensions;
 * - form fields;
 * - buttons;
 * - animations;
 * - mobile registration behavior;
 * - login/reset screens;
 * - any other modal.
 * ========================================================================== */
@media (min-width: 901px){

    .eps-modal[data-eps-register-modal]{
        background:#081625!important;
    }

    .eps-modal[data-eps-register-modal] > .eps-modal-backdrop{
        background:
            radial-gradient(circle at 50% 12%,rgba(201,168,76,.10),transparent 30%),
            linear-gradient(180deg,#081625 0%,#0D1B2A 58%,#10253A 100%)!important;
        opacity:1!important;
        backdrop-filter:none!important;
        -webkit-backdrop-filter:none!important;
    }
}
