/*
Theme Name: EASDOM
Theme URI: https://easdom.com
Author: EASDOM
Author URI: https://easdom.com
Description: Lightweight custom WordPress theme for EASDOM. Theme owns presentation and app shell; EJE owns product logic.
Version: 2.0.2
Requires at least: 6.9
Tested up to: 7.1
Requires PHP: 8.1
Text Domain: easdom
*/

:root {
  --easdom-bg:#fbf7ed;
  --easdom-surface:#fff;
  --easdom-ink:#10143f;
  --easdom-muted:#66708f;
  --easdom-gold:#946515;
  --easdom-gold-2:#a66b00;
  --easdom-green:#174b3f;
  --easdom-border:rgba(16,20,63,.10);
  --easdom-shadow:0 10px 30px rgba(16,20,63,.06);
  --easdom-radius:18px;
  --easdom-content:760px;
  --easdom-pad:20px;
  --easdom-header-h:56px;
  --easdom-nav-h:86px;
}

*,:before,:after{box-sizing:border-box}
html,body{margin:0;padding:0;min-height:100%;background:var(--easdom-bg);color:var(--easdom-ink)}
body{font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Inter,Helvetica,Arial,sans-serif;font-size:16px;line-height:1.55}
a{color:inherit;text-decoration:none}
img{max-width:100%;height:auto}
.easdom-site{min-height:100vh;background:var(--easdom-bg)}
.easdom-shell{width:min(100%,calc(var(--easdom-content) + (2 * var(--easdom-pad))));margin:0 auto;padding-inline:var(--easdom-pad)}

/* Header: one canonical implementation only. */
.easdom-app-header{position:sticky;top:0;z-index:100;background:rgba(251,247,237,.90);backdrop-filter:blur(12px);-webkit-backdrop-filter:blur(12px);transition:transform .2s ease;will-change:transform}
.easdom-app-header.is-hidden{transform:translateY(calc(-100% - 2px))}
.easdom-app-header__inner{min-height:var(--easdom-header-h);display:flex;align-items:center;justify-content:space-between;gap:16px}
.easdom-brand{display:block;flex:0 0 142px;width:142px;max-width:142px;line-height:0}
.easdom-brand .easdom-header-logo{display:block;width:142px;max-width:142px;height:auto}
.easdom-avatar-wrap{position:relative;z-index:2}
.easdom-avatar-button{width:34px;height:34px;border:1px solid var(--easdom-border);border-radius:50%;background:var(--easdom-surface);color:var(--easdom-ink);display:grid;place-items:center;font:700 12px/1 inherit;cursor:pointer;box-shadow:0 4px 12px rgba(16,20,63,.05)}
.easdom-avatar-menu{display:none;position:absolute;right:0;top:calc(100% + 10px);z-index:120;width:min(290px,calc(100vw - 32px));padding:10px;background:var(--easdom-surface);border:1px solid var(--easdom-border);border-radius:18px;box-shadow:0 18px 50px rgba(16,20,63,.14);overflow:hidden}
.easdom-avatar-wrap.is-open .easdom-avatar-menu{display:block}
.easdom-avatar-menu a{display:block;padding:11px 12px;border-radius:12px;font-size:14px}
.easdom-avatar-menu a:hover{background:#f5efe2}
.easdom-avatar-menu__identity{padding:12px;border-bottom:1px solid var(--easdom-border);margin-bottom:6px}
.easdom-avatar-menu__name{font-weight:700}
.easdom-avatar-menu__email{color:var(--easdom-muted);font-size:12px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.easdom-avatar-menu__label{padding:10px 12px 4px;color:#9a6505;font-size:10px;letter-spacing:.16em;font-weight:900}
.easdom-avatar-menu__divider{height:1px;background:var(--easdom-border);margin:7px 10px}

/* Blur is an independent overlay. Opening the avatar never mutates header geometry. */
.easdom-avatar-focus-backdrop[hidden]{display:none!important}
.easdom-avatar-focus-backdrop{position:fixed;inset:0;z-index:80;background:rgba(16,20,63,.08);opacity:0;pointer-events:none;backdrop-filter:blur(6px);-webkit-backdrop-filter:blur(6px);transition:opacity .16s ease}
.easdom-avatar-focus-backdrop.is-open{opacity:1;pointer-events:auto}

/* Page shell */
.easdom-main{padding:8px 0 calc(145px + env(safe-area-inset-bottom))}
.easdom-main--app{padding-top:10px}
.easdom-main--standard{padding-top:6px}
.easdom-standard-page,.easdom-standard-page .easdom-entry-content{margin:0;padding:0}
.easdom-app-content>.eje-today-app,.easdom-app-content>.eje-circle-app,.easdom-app-content>.eje-habits-app,.easdom-app-content>.eje-pa-app,.easdom-app-content>.eje-login-app{margin:0;padding:0;background:transparent;min-height:0}
.easdom-app-content>*:last-child{margin-bottom:24px}
.easdom-standard-page .easdom-entry-content>.wp-block-group:first-child,.easdom-standard-page .easdom-entry-content>.kb-row-layout-wrap:first-child{margin-top:0!important}
.easdom-standard-page .easdom-entry-content img[src*="Easdom-logo-dark"],.easdom-standard-page .easdom-entry-content img[src*="Easdom-logo-light"]{display:none!important}

.easdom-page-title{font-size:clamp(30px,7vw,48px);line-height:1.05;margin:20px 0 10px;letter-spacing:-.03em}
.easdom-page-kicker,.easdom-kicker,.easdom-section-label{color:var(--easdom-gold);font-size:13px;font-weight:800;letter-spacing:.12em;text-transform:uppercase}
.easdom-page-subtitle{color:var(--easdom-muted);margin:0 0 26px;font-size:17px}
.easdom-native-hero{padding:34px 0 22px}
.easdom-native-hero h1{font-family:Georgia,"Times New Roman",serif;font-size:clamp(42px,9vw,64px);line-height:.98;letter-spacing:-.035em;margin:6px 0 8px}
.easdom-native-hero p{margin:0;color:var(--easdom-muted);font-size:20px;line-height:1.5}

/* Shared content components */
.easdom-content-card,.easdom-menu-card{background:var(--easdom-surface);border:1px solid var(--easdom-border);border-radius:var(--easdom-radius);box-shadow:var(--easdom-shadow);overflow:hidden}
.easdom-content-card{padding:20px;margin-bottom:18px}
.easdom-content-card h2{margin:0 0 8px;font-size:20px}
.easdom-content-card p{margin:0;color:var(--easdom-muted)}
.easdom-menu-group{margin:22px 0}
.easdom-section-label{margin:0 0 9px}
.easdom-menu-card a{display:flex;align-items:center;justify-content:space-between;padding:16px 18px;border-bottom:1px solid var(--easdom-border);font-weight:650}
.easdom-menu-card a:last-child{border-bottom:0}
.easdom-menu-card b{font-size:24px;font-weight:400;color:var(--easdom-muted)}
.easdom-big-card-title{font-family:Georgia,"Times New Roman",serif;font-size:clamp(34px,7vw,48px)!important;line-height:1.04;margin:10px 0 6px!important}
.easdom-access-row{display:flex;align-items:center;justify-content:space-between;gap:16px}
.easdom-pill{display:inline-flex;align-items:center;justify-content:center;min-height:36px;padding:0 14px;border-radius:999px;background:#fff1c9;color:var(--easdom-gold-2);font-weight:750;white-space:nowrap}
.easdom-primary-button{display:inline-flex;align-items:center;justify-content:center;min-height:48px;padding:0 20px;border-radius:999px;background:var(--easdom-ink);color:#fff!important;text-decoration:none!important;font-weight:750}
.easdom-metric-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin-bottom:18px}
.easdom-metric-grid>div{background:#fff;border:1px solid var(--easdom-border);border-radius:18px;padding:18px 12px;text-align:center}
.easdom-metric-grid strong{display:block;font-size:28px}
.easdom-metric-grid span{display:block;font-size:12px;color:var(--easdom-muted);margin-top:5px}

/* Journey components owned by the theme */
.easdom-progress-track{height:12px;background:#e9e3d8;border-radius:999px;overflow:hidden;margin:16px 0 24px}
.easdom-progress-track i{display:block;height:100%;border-radius:inherit;background:linear-gradient(90deg,#d99a00,#f0bf49)}
.easdom-journey-summary{display:grid;grid-template-columns:1fr 1fr;gap:1px;padding:0;overflow:hidden}
.easdom-journey-summary>div{padding:24px}
.easdom-journey-summary>div+div{border-left:1px solid var(--easdom-border)}
.easdom-journey-summary span{display:block;color:var(--easdom-gold);font-size:12px;font-weight:800;letter-spacing:.14em}
.easdom-journey-summary strong{display:block;font-family:Georgia,"Times New Roman",serif;font-size:42px;line-height:1;margin:8px 0}
.easdom-journey-summary small{color:var(--easdom-muted)}
.easdom-journey-metrics strong{font-size:22px;overflow-wrap:anywhere}
.easdom-stage-list{background:#fff;border:1px solid var(--easdom-border);border-radius:22px;overflow:hidden}
.easdom-stage-row{display:grid;grid-template-columns:42px 1fr auto;align-items:center;gap:12px;padding:16px 18px;border-bottom:1px solid var(--easdom-border)}
.easdom-stage-row:last-child{border-bottom:0}
.easdom-stage-index{width:34px;height:34px;border-radius:50%;display:grid;place-items:center;background:#f3eee4;font-weight:800}
.easdom-stage-row strong,.easdom-stage-row small{display:block}
.easdom-stage-row small{color:var(--easdom-muted);margin-top:2px}
.easdom-stage-row b{color:var(--easdom-gold-2)}
.easdom-stage-row.is-current{background:#fff8e8}
.easdom-stage-row.is-current .easdom-stage-index{background:#f4c86b;color:#6d4600}
.easdom-stage-row.is-complete .easdom-stage-index{background:#e5f2e8;color:#245f39}

/* Achievements / AC */
.easdom-badge-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.easdom-badge-tile{min-height:140px;padding:18px;border-radius:20px;background:#fff;border:1px solid var(--easdom-border);display:flex;flex-direction:column;justify-content:center;text-align:center}
.easdom-badge-tile>span{font-size:32px;color:#b7b0a2}
.easdom-badge-tile strong{margin-top:8px}
.easdom-badge-tile small{color:var(--easdom-muted);margin-top:4px}
.easdom-badge-tile.is-earned>span{color:#d69a17}
.easdom-fact-list>div{display:flex;align-items:flex-start;justify-content:space-between;gap:18px;padding:14px 0;border-bottom:1px solid var(--easdom-border)}
.easdom-fact-list>div:last-child{border-bottom:0}
.easdom-fact-list span{color:var(--easdom-muted)}
.easdom-fact-list strong{max-width:58%;text-align:right}
.easdom-ac-circle h2{margin-bottom:4px}

/* Standard WordPress content */
.easdom-entry-content>*:first-child{margin-top:0}
.easdom-entry-content>*:last-child{margin-bottom:0}
.easdom-entry-content h1,.easdom-entry-content h2,.easdom-entry-content h3{line-height:1.15;color:var(--easdom-ink)}
.easdom-entry-content a{color:var(--easdom-gold-2);text-decoration:underline;text-underline-offset:2px}

/* Secondary back */
.easdom-secondary-back-wrap{width:min(calc(100% - 32px),920px);margin:8px auto 0}
.easdom-secondary-back{display:inline-flex;align-items:center;gap:7px;min-height:38px;color:var(--easdom-muted);font-size:14px;font-weight:800;text-decoration:none}
.easdom-secondary-back span:first-child{font-size:20px;line-height:1}

/* Canonical bottom navigation */
.easdom-bottom-nav{position:fixed;left:50%;bottom:max(12px,env(safe-area-inset-bottom));transform:translateX(-50%);width:min(calc(100% - 24px),620px);z-index:95;padding:7px 8px;background:rgba(255,255,255,.94);backdrop-filter:blur(18px);-webkit-backdrop-filter:blur(18px);border:1px solid var(--easdom-border);border-radius:22px;box-shadow:0 16px 44px rgba(16,20,63,.12);pointer-events:auto}
.easdom-bottom-nav__grid{display:grid;grid-template-columns:repeat(5,1fr);gap:4px}
.easdom-bottom-nav a,.easdom-bottom-nav__more{min-height:52px;border-radius:16px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px;font:inherit;font-size:11px;color:var(--easdom-muted);cursor:pointer}
.easdom-bottom-nav__more{appearance:none;border:0;background:transparent}
.easdom-bottom-nav a.is-active,.easdom-bottom-nav__more.is-active,.easdom-bottom-nav__more[aria-expanded="true"]{background:#f6ecd7;color:var(--easdom-gold-2)}
.easdom-bottom-nav__icon{font-size:20px;line-height:1}
/* Legacy fragment navs are never navigation owners inside the theme shell. */
.easdom-app-content .eje-bottom-nav,.easdom-app-content .eje-circle-bottom-nav,.easdom-app-content .eje-habits-bottom-nav,.easdom-app-content .eje-pa-bottom-nav{display:none!important;pointer-events:none!important}

/* More drawer */
.easdom-more-backdrop[hidden],.easdom-more-drawer[hidden]{display:none!important}
.easdom-more-backdrop{position:fixed;inset:0;z-index:140;background:rgba(16,20,63,.18);opacity:0;transition:opacity .2s ease;backdrop-filter:blur(2px);-webkit-backdrop-filter:blur(2px)}
.easdom-more-backdrop.is-open{opacity:1}
.easdom-more-drawer{position:fixed;z-index:150;top:0;right:0;height:100dvh;width:min(82vw,390px);background:var(--easdom-bg);border-left:1px solid #e7dcc8;box-shadow:-24px 0 60px rgba(33,27,17,.16);transform:translateX(102%);transition:transform .22s cubic-bezier(.2,.8,.2,1);padding:max(20px,env(safe-area-inset-top)) 18px calc(24px + env(safe-area-inset-bottom));overflow:auto}
.easdom-more-drawer.is-open{transform:translateX(0)}
.easdom-more-drawer__head{display:flex;justify-content:space-between;align-items:flex-start;gap:18px;padding:12px 4px 18px}
.easdom-more-drawer__head h2{margin:4px 0 0;color:var(--easdom-ink);font-family:Georgia,"Times New Roman",serif;font-size:30px;line-height:1.05}
.easdom-more-drawer__head button{appearance:none;border:1px solid #e7dcc8;background:#fff;width:38px;height:38px;border-radius:50%;font-size:24px;line-height:1;color:var(--easdom-ink);cursor:pointer}
.easdom-more-group{margin-top:22px}
.easdom-more-group__label{margin:0 8px 8px;color:#9a6505;font-size:10px;letter-spacing:.18em;font-weight:900}
.easdom-more-group a{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:54px;padding:0 15px;background:#fff;border:1px solid #e7dcc8;border-bottom:0;color:var(--easdom-ink);text-decoration:none;font-weight:800;font-size:14px}
.easdom-more-group a:first-of-type{border-radius:18px 18px 0 0}
.easdom-more-group a:last-of-type{border-bottom:1px solid #e7dcc8;border-radius:0 0 18px 18px}
.easdom-more-group a:only-of-type{border-radius:18px}
.easdom-more-group a b{font-size:22px;color:#7c86a1}
html.easdom-drawer-open{overflow:hidden}

/* Circle overlays: hidden means physically absent and never intercepting taps. */
.eje-circle-sheet-backdrop[hidden],.eje-circle-reward[hidden],[data-eje-sheet-backdrop][hidden],[data-eje-support-backdrop][hidden],[data-eje-encouragement-backdrop][hidden],[data-eje-history-backdrop][hidden],[data-eje-reward][hidden],[data-eje-received-reward][hidden]{display:none!important;pointer-events:none!important;visibility:hidden!important}
.eje-circle-sheet-backdrop:not(.is-open){pointer-events:none}
.eje-circle-sheet-backdrop.is-open{pointer-events:auto}

/* Footer for non-app pages */
.easdom-footer{padding:28px 0 40px;color:var(--easdom-muted);font-size:13px}
.easdom-footer__inner{display:flex;align-items:center;justify-content:space-between;gap:16px;flex-wrap:wrap}
.easdom-footer nav{display:flex;gap:16px;flex-wrap:wrap}

/* Journey route: theme-owned wrappers add almost no side gutter. */
body.easdom-route-easdom-journey-prototype .easdom-shell,body.easdom-route-journey .easdom-shell{width:100%;max-width:none}
body.easdom-route-easdom-journey-prototype .easdom-main>.easdom-shell,body.easdom-route-journey .easdom-main>.easdom-shell{padding-inline:4px}
body.easdom-route-easdom-journey-prototype .easdom-app-content,body.easdom-route-journey .easdom-app-content{width:100%;max-width:none}

@media (max-width:600px){
  :root{--easdom-pad:16px}
  .easdom-brand,.easdom-brand .easdom-header-logo{width:136px;max-width:136px;flex-basis:136px}
  .easdom-main{padding-top:4px;padding-bottom:calc(140px + env(safe-area-inset-bottom))}
  .easdom-content-card{padding:18px}
  .easdom-metric-grid strong{font-size:23px}
  .easdom-metric-grid span{font-size:11px}
  .easdom-journey-summary strong{font-size:34px}
  .easdom-journey-summary>div{padding:20px 16px}
  .easdom-fact-list>div{display:block}
  .easdom-fact-list strong{display:block;max-width:none;text-align:left;margin-top:4px}
  .easdom-secondary-back-wrap{width:calc(100% - 32px)}
  .easdom-more-drawer{width:82vw;max-width:none}
  body.easdom-route-easdom-journey-prototype .easdom-main>.easdom-shell,body.easdom-route-journey .easdom-main>.easdom-shell{padding-inline:2px}
}


/* Guest experience + theme-owned login */
.easdom-signin-arrow{font-size:18px;font-weight:700}
.easdom-login-screen{width:min(100%,620px);margin:0 auto;padding:56px 0 38px}
.easdom-login-intro{margin-bottom:22px}
.easdom-login-intro h1{font-family:Georgia,"Times New Roman",serif;font-size:clamp(44px,10vw,62px);line-height:.98;letter-spacing:-.035em;margin:7px 0 12px}
.easdom-login-intro p{margin:0;color:var(--easdom-muted);font-size:17px;line-height:1.55}
.easdom-login-card{background:#fff;border:1px solid var(--easdom-border);border-radius:24px;box-shadow:var(--easdom-shadow);padding:24px}
.easdom-login-card form{display:grid;gap:17px}
.easdom-login-card label>span:first-child{display:block;margin-bottom:7px;font-size:13px;font-weight:800}
.easdom-login-card input[type="text"],.easdom-login-card input[type="password"]{width:100%;min-height:50px;border:1px solid #ddd2bf;border-radius:14px;background:#fff;padding:0 14px;color:var(--easdom-ink);font:inherit;outline:none}
.easdom-login-card input:focus{border-color:#c89b44;box-shadow:0 0 0 3px rgba(200,155,68,.12)}
.easdom-password-field{position:relative;display:block}
.easdom-password-field input{padding-right:62px!important}
.easdom-password-field button{position:absolute;right:8px;top:50%;transform:translateY(-50%);appearance:none;border:0;background:transparent;color:var(--easdom-muted);font:700 12px/1 inherit;cursor:pointer;padding:9px}
.easdom-login-meta{display:flex;align-items:center;justify-content:space-between;gap:16px}
.easdom-login-remember{display:flex;align-items:center;gap:8px;color:var(--easdom-muted);font-size:13px}
.easdom-login-remember input{margin:0}
.easdom-login-meta>a,.easdom-login-support a{color:var(--easdom-gold-2);font-weight:750;text-decoration:none}
.easdom-login-submit{width:100%;border:0;font:inherit;cursor:pointer}
.easdom-login-error{margin-bottom:16px;padding:12px 14px;border:1px solid #efc9be;border-radius:14px;background:#fff2ee;color:#7d3827;font-size:13px}
.easdom-login-support{text-align:center;margin:18px 0 0;color:var(--easdom-muted);font-size:13px}
@media(max-width:600px){
  .easdom-login-screen{padding-top:38px}
  .easdom-login-card{padding:20px}
  .easdom-login-meta{align-items:flex-start;flex-direction:column;gap:10px}
}

/* 0.6.2 — one standard guest login surface */
body.easdom-route-easdom-login .easdom-app-header,
body.easdom-route-login .easdom-app-header{position:relative;transform:none!important}
body.easdom-route-easdom-login .easdom-main--app,
body.easdom-route-login .easdom-main--app{padding-top:0}
body.easdom-route-easdom-login .easdom-app-content,
body.easdom-route-login .easdom-app-content{max-width:560px;padding-inline:20px}
body.easdom-route-easdom-login .easdom-login-screen,
body.easdom-route-login .easdom-login-screen{padding-top:48px}
@media(max-width:560px){
  body.easdom-route-easdom-login .easdom-app-content,
  body.easdom-route-login .easdom-app-content{padding-inline:18px}
  body.easdom-route-easdom-login .easdom-login-screen,
  body.easdom-route-login .easdom-login-screen{padding-top:34px}
  body.easdom-route-easdom-login .easdom-login-intro h1,
  body.easdom-route-login .easdom-login-intro h1{font-size:42px}
}


/* 0.6.3 — account creation */
.easdom-secondary-button{display:flex;align-items:center;justify-content:center;width:100%;min-height:50px;box-sizing:border-box;border:1px solid #cfc3ad;border-radius:999px;background:#fff;color:var(--easdom-ink)!important;text-decoration:none!important;font-weight:800}
.easdom-login-divider{display:flex;align-items:center;gap:12px;margin:20px 0;color:var(--easdom-muted);font-size:12px}
.easdom-login-divider:before,.easdom-login-divider:after{content:"";height:1px;flex:1;background:#e9e1d3}
.easdom-create-account-button:hover{background:#fffaf0}
.easdom-signup-legal{margin:0;color:var(--easdom-muted);font-size:12px;line-height:1.55;text-align:center}
.easdom-signup-legal a{color:var(--easdom-gold-2);font-weight:750;text-decoration:none}
.easdom-hp{position:absolute!important;left:-9999px!important;width:1px!important;height:1px!important;opacity:0!important;pointer-events:none!important}
body.easdom-route-create-account .easdom-app-header{position:relative;transform:none!important}
body.easdom-route-create-account .easdom-app-content{max-width:560px;padding-inline:20px}
body.easdom-route-create-account .easdom-login-screen{padding-top:48px}
.easdom-login-card input[type="email"]{width:100%;min-height:50px;border:1px solid #ddd2bf;border-radius:14px;background:#fff;padding:0 14px;color:var(--easdom-ink);font:inherit;outline:none;box-sizing:border-box}
@media(max-width:560px){
  body.easdom-route-create-account .easdom-app-content{padding-inline:18px}
  body.easdom-route-create-account .easdom-login-screen{padding-top:34px}
  body.easdom-route-create-account .easdom-login-intro h1{font-size:42px}
}


/* 0.7.0 — compact auth forms + authentication hardening */
.easdom-login-card form{gap:12px}
.easdom-field-label{display:block;margin:0}
.easdom-login-card .easdom-field-label>span:first-child{margin:0}
.easdom-login-card input[type="text"],
.easdom-login-card input[type="email"],
.easdom-login-card input[type="password"]{min-height:48px;padding:0 14px;box-sizing:border-box}
.easdom-login-card input::placeholder{color:#8990a7;opacity:1}
.easdom-sitekit-google,.easdom-sitekit-google.googlesitekit-sign-in-with-google__frontend-output-button{width:100%;max-width:none!important;margin:0!important;text-align:center}
.easdom-sitekit-google>div,.easdom-sitekit-google iframe{max-width:100%!important}
.easdom-mepr-google-entry{margin:0 0 20px;padding:0;width:100%}
.easdom-mepr-google-entry .easdom-login-divider{margin-bottom:0}
.easdom-login-divider--compact{margin:14px 0}
.easdom-login-divider--compact span{white-space:nowrap}
.easdom-signup-intro{margin-bottom:16px}
.easdom-signup-intro h1{font-size:clamp(34px,8vw,46px);white-space:nowrap;letter-spacing:-.025em;margin-bottom:0}
.easdom-create-account-button{font-size:14px;min-height:48px;white-space:nowrap}
@media(max-width:420px){
  .easdom-signup-intro h1{font-size:34px}
  .easdom-create-account-button{font-size:13px}
  .easdom-login-card{padding:18px}
}

/* 0.7.1 — real Google Site Kit authentication on EASDOM auth + MemberPress checkout */


/* 0.7.2 — EASDOM MemberPress ReadyLaunch checkout redesign */
body.single-memberpressproduct.mepr-pro-template{
  background:var(--easdom-bg)!important;
  color:var(--easdom-ink)!important;
}
body.single-memberpressproduct.mepr-pro-template .site-header{
  min-height:64px!important;
  background:#20574f!important;
  border:0!important;
  box-shadow:none!important;
  padding:0 24px!important;
}
body.single-memberpressproduct.mepr-pro-template .site-branding__logo{
  width:170px!important;
  max-width:42vw!important;
  height:auto!important;
}
body.single-memberpressproduct.mepr-pro-template .mepr-header-login-link{
  color:#fff!important;
  font-weight:700!important;
  text-decoration:none!important;
  opacity:.94;
}
body.single-memberpressproduct.mepr-pro-template .site-main{
  width:min(1120px,calc(100% - 40px))!important;
  max-width:1120px!important;
  margin:0 auto!important;
  padding:42px 0 64px!important;
}
body.single-memberpressproduct.mepr-pro-template .mepr-before-signup-form{
  width:calc((100% - 44px)/2)!important;
  max-width:none!important;
  margin:0 0 18px auto!important;
  padding:0!important;
}
body.single-memberpressproduct.mepr-pro-template .easdom-mepr-google-entry{
  margin:0!important;
  padding:20px!important;
  border:1px solid var(--easdom-border)!important;
  border-radius:18px!important;
  background:rgba(255,255,255,.82)!important;
  box-shadow:0 12px 32px rgba(16,20,63,.055)!important;
}
body.single-memberpressproduct.mepr-pro-template .easdom-mepr-google-entry .googlesitekit-sign-in-with-google__frontend-output-button{
  width:100%!important;
  min-height:44px!important;
}
body.single-memberpressproduct.mepr-pro-template .easdom-login-divider--compact{
  margin:13px 0 0!important;
  color:var(--easdom-muted)!important;
  font-size:13px!important;
  text-align:center!important;
}
body.single-memberpressproduct.mepr-pro-template .easdom-login-divider--compact:before,
body.single-memberpressproduct.mepr-pro-template .easdom-login-divider--compact:after{
  background:rgba(16,20,63,.10)!important;
}
body.single-memberpressproduct.mepr-pro-template .mepr-signup-form{
  width:100%!important;
  max-width:none!important;
  margin:0!important;
}
body.single-memberpressproduct.mepr-pro-template .mepr-checkout-container{
  display:grid!important;
  grid-template-columns:minmax(0,1fr) minmax(0,1fr)!important;
  gap:44px!important;
  align-items:start!important;
  width:100%!important;
  max-width:none!important;
  margin:0!important;
}
body.single-memberpressproduct.mepr-pro-template .invoice-wrapper{
  grid-column:1!important;
  grid-row:1!important;
  position:sticky!important;
  top:88px!important;
  border:1px solid var(--easdom-border)!important;
  border-radius:22px!important;
  background:#fff!important;
  box-shadow:0 16px 44px rgba(16,20,63,.06)!important;
  padding:30px!important;
  box-sizing:border-box!important;
}
body.single-memberpressproduct.mepr-pro-template .form-wrapper{
  grid-column:2!important;
  grid-row:1!important;
  border:1px solid var(--easdom-border)!important;
  border-radius:22px!important;
  background:#fff!important;
  box-shadow:0 16px 44px rgba(16,20,63,.06)!important;
  padding:28px!important;
  box-sizing:border-box!important;
}
body.single-memberpressproduct.mepr-pro-template .invoice-heading{
  margin:0 0 8px!important;
  font-size:13px!important;
  line-height:1.3!important;
  letter-spacing:.12em!important;
  text-transform:uppercase!important;
  color:var(--easdom-gold)!important;
  font-weight:800!important;
}
body.single-memberpressproduct.mepr-pro-template .invoice-amount{
  font-family:Georgia,'Times New Roman',serif!important;
  font-size:48px!important;
  line-height:1!important;
  letter-spacing:-.035em!important;
  color:var(--easdom-ink)!important;
  margin:0 0 26px!important;
}
body.single-memberpressproduct.mepr-pro-template .have-coupon-link{
  display:inline-block!important;
  margin:0 0 18px!important;
  color:var(--easdom-gold)!important;
  font-size:14px!important;
  font-weight:700!important;
  text-decoration:none!important;
}
body.single-memberpressproduct.mepr-pro-template .have-coupon-link:hover{text-decoration:underline!important}
body.single-memberpressproduct.mepr-pro-template .mp-cart-item{
  display:grid!important;
  grid-template-columns:1fr auto!important;
  gap:12px!important;
  align-items:start!important;
  padding:18px 0!important;
  border-top:1px solid var(--easdom-border)!important;
  border-bottom:1px solid var(--easdom-border)!important;
}
body.single-memberpressproduct.mepr-pro-template .mp-cart-item-image{display:none!important}
body.single-memberpressproduct.mepr-pro-template .mp-cart-item-details p{
  margin:0!important;
  color:var(--easdom-ink)!important;
  font-size:15px!important;
  line-height:1.5!important;
}
body.single-memberpressproduct.mepr-pro-template .mp-cart-item-details .desc{
  margin-top:4px!important;
  color:var(--easdom-muted)!important;
  font-size:13px!important;
}
body.single-memberpressproduct.mepr-pro-template .mp-currency-cell{
  color:var(--easdom-ink)!important;
  font-weight:700!important;
}
body.single-memberpressproduct.mepr-pro-template .mp-cart-footer>div{
  display:flex!important;
  justify-content:space-between!important;
  align-items:center!important;
  padding:18px 0 0!important;
  font-size:15px!important;
}
body.single-memberpressproduct.mepr-pro-template .mp-cart-footer .bt{
  color:var(--easdom-ink)!important;
  font-weight:800!important;
}
body.single-memberpressproduct.mepr-pro-template .form-wrapper>.mp-form-row,
body.single-memberpressproduct.mepr-pro-template .form-wrapper>fieldset,
body.single-memberpressproduct.mepr-pro-template .form-wrapper>.mepr_spacer{
  margin-bottom:15px!important;
}
body.single-memberpressproduct.mepr-pro-template .mp-form-row-group{
  display:grid!important;
  grid-template-columns:1fr 1fr!important;
  gap:12px!important;
}
body.single-memberpressproduct.mepr-pro-template .mp-form-label{
  margin:0 0 6px!important;
}
body.single-memberpressproduct.mepr-pro-template .mp-form-label label,
body.single-memberpressproduct.mepr-pro-template .placeholder-text{
  color:var(--easdom-ink)!important;
  font-size:12px!important;
  line-height:1.3!important;
  font-weight:750!important;
  letter-spacing:.01em!important;
}
body.single-memberpressproduct.mepr-pro-template .mepr-form-input:not([type='checkbox']):not([type='radio']),
body.single-memberpressproduct.mepr-pro-template input[type='text'],
body.single-memberpressproduct.mepr-pro-template input[type='email'],
body.single-memberpressproduct.mepr-pro-template input[type='password']{
  width:100%!important;
  min-height:48px!important;
  border:1px solid rgba(16,20,63,.16)!important;
  border-radius:12px!important;
  background:#fff!important;
  color:var(--easdom-ink)!important;
  padding:0 14px!important;
  box-shadow:none!important;
  transition:border-color .18s ease,box-shadow .18s ease!important;
  box-sizing:border-box!important;
}
body.single-memberpressproduct.mepr-pro-template .mepr-form-input:focus,
body.single-memberpressproduct.mepr-pro-template input:focus{
  outline:none!important;
  border-color:rgba(148,101,21,.72)!important;
  box-shadow:0 0 0 3px rgba(148,101,21,.10)!important;
}
body.single-memberpressproduct.mepr-pro-template .mp-hide-pw{
  position:relative!important;
}
body.single-memberpressproduct.mepr-pro-template .mp-hide-pw .mepr-form-input{
  padding-right:48px!important;
}
body.single-memberpressproduct.mepr-pro-template .mp-hide-pw button.mp-hide-pw{
  position:absolute!important;
  right:4px!important;
  top:50%!important;
  transform:translateY(-50%)!important;
  width:40px!important;
  height:40px!important;
  min-width:40px!important;
  padding:0!important;
  margin:0!important;
  border:0!important;
  background:transparent!important;
  color:var(--easdom-muted)!important;
  box-shadow:none!important;
}
body.single-memberpressproduct.mepr-pro-template .mepr-payment-methods-wrapper{
  margin:22px 0 14px!important;
  padding:18px!important;
  border:1px solid var(--easdom-border)!important;
  border-radius:14px!important;
  background:#fbfaf7!important;
}
body.single-memberpressproduct.mepr-pro-template .mepr-payment-methods-icons{
  margin-bottom:8px!important;
}
body.single-memberpressproduct.mepr-pro-template .mepr-payment-method-icon img{
  max-height:28px!important;
  width:auto!important;
}
body.single-memberpressproduct.mepr-pro-template .mepr-payment-method-desc-text p{
  margin:0!important;
  color:var(--easdom-muted)!important;
  font-size:14px!important;
}
body.single-memberpressproduct.mepr-pro-template .mepr-checkbox-field{
  display:flex!important;
  align-items:flex-start!important;
  gap:9px!important;
  color:var(--easdom-muted)!important;
  font-size:12px!important;
  line-height:1.5!important;
}
body.single-memberpressproduct.mepr-pro-template .mepr-checkbox-field input[type='checkbox']{
  flex:0 0 auto!important;
  width:16px!important;
  height:16px!important;
  margin:2px 0 0!important;
}
body.single-memberpressproduct.mepr-pro-template .mepr-checkbox-field a{
  color:var(--easdom-gold)!important;
  text-decoration:none!important;
}
body.single-memberpressproduct.mepr-pro-template .mepr_spacer{display:none!important}
body.single-memberpressproduct.mepr-pro-template .mp-form-submit{
  margin-top:24px!important;
}
body.single-memberpressproduct.mepr-pro-template .mepr-submit{
  width:100%!important;
  min-height:52px!important;
  border:0!important;
  border-radius:999px!important;
  background:var(--easdom-ink)!important;
  color:#fff!important;
  font-size:15px!important;
  font-weight:800!important;
  letter-spacing:.01em!important;
  box-shadow:none!important;
  cursor:pointer!important;
  transition:transform .15s ease,opacity .15s ease!important;
}
body.single-memberpressproduct.mepr-pro-template .mepr-submit:hover{
  opacity:.93!important;
  transform:translateY(-1px)!important;
}
body.single-memberpressproduct.mepr-pro-template .cc-error,
body.single-memberpressproduct.mepr-pro-template .mepr-form-has-errors{
  color:#a33b34!important;
  font-size:12px!important;
}
body.single-memberpressproduct.mepr-pro-template .mepr_coupon{
  margin-bottom:18px!important;
}
body.single-memberpressproduct.mepr-pro-template .mepr_coupon .mp-form-label{
  display:none!important;
}
@media(max-width:760px){
  body.single-memberpressproduct.mepr-pro-template .site-header{padding:0 16px!important;min-height:58px!important}
  body.single-memberpressproduct.mepr-pro-template .site-branding__logo{width:148px!important}
  body.single-memberpressproduct.mepr-pro-template .site-main{
    width:min(100% - 24px,620px)!important;
    padding:22px 0 38px!important;
  }
  body.single-memberpressproduct.mepr-pro-template .mepr-before-signup-form{
    width:100%!important;
    margin:0 0 14px!important;
  }
  body.single-memberpressproduct.mepr-pro-template .easdom-mepr-google-entry{
    padding:14px!important;
    border-radius:16px!important;
  }
  body.single-memberpressproduct.mepr-pro-template .mepr-checkout-container{
    display:flex!important;
    flex-direction:column!important;
    gap:14px!important;
  }
  body.single-memberpressproduct.mepr-pro-template .invoice-wrapper,
  body.single-memberpressproduct.mepr-pro-template .form-wrapper{
    width:100%!important;
    padding:20px!important;
    border-radius:18px!important;
  }
  body.single-memberpressproduct.mepr-pro-template .invoice-wrapper{
    order:0!important;
    position:static!important;
  }
  body.single-memberpressproduct.mepr-pro-template .form-wrapper{order:1!important}
  body.single-memberpressproduct.mepr-pro-template .invoice-amount{font-size:40px!important;margin-bottom:20px!important}
  body.single-memberpressproduct.mepr-pro-template .mp-form-row-group{grid-template-columns:1fr 1fr!important;gap:9px!important}
}
@media(max-width:430px){
  body.single-memberpressproduct.mepr-pro-template .site-main{width:calc(100% - 18px)!important}
  body.single-memberpressproduct.mepr-pro-template .invoice-wrapper,
  body.single-memberpressproduct.mepr-pro-template .form-wrapper{padding:17px!important}
  body.single-memberpressproduct.mepr-pro-template .mp-form-row-group{grid-template-columns:1fr!important}
}


/* v0.7.2 — Guest Journey Day 1 stronger invitation glow */
#todayGlowGradient stop:nth-child(1){stop-opacity:0!important}
#todayGlowGradient stop:nth-child(2){stop-opacity:.04!important}
#todayGlowGradient stop:nth-child(3){stop-opacity:.42!important}
#todayGlowGradient stop:nth-child(4){stop-opacity:.32!important}
#todayGlowGradient stop:nth-child(5){stop-opacity:0!important}

.today-glow{
  animation:easdomDayOneGlow 1.75s ease-in-out infinite!important;
  transform-box:fill-box!important;
  transform-origin:center!important;
  filter:drop-shadow(0 0 9px rgba(240,173,31,.78))!important;
}
.today-halo{
  animation:easdomDayOneHalo 1.75s ease-in-out infinite!important;
  transform-box:fill-box!important;
  transform-origin:center!important;
  filter:drop-shadow(0 0 15px rgba(244,190,53,.58))!important;
}
#eje-day-1{cursor:pointer!important}

@keyframes easdomDayOneGlow{
  0%,100%{opacity:.74;transform:scale(.96)}
  50%{opacity:1;transform:scale(1.11)}
}
@keyframes easdomDayOneHalo{
  0%,100%{opacity:.44;transform:scale(.92)}
  50%{opacity:.98;transform:scale(1.19)}
}

@media(prefers-reduced-motion:reduce){
  .today-glow,.today-halo{animation:none!important}
}


/* 1.0.0-rc1 — V3 state-aware presentation */
.easdom-bottom-nav__grid{grid-template-columns:repeat(var(--easdom-nav-count,5),minmax(0,1fr))}
.easdom-points-metrics--v1 .easdom-points-coin{position:relative}
.easdom-points-coin>i{display:inline-grid;place-items:center;width:22px;height:22px;border-radius:50%;font-style:normal;font-size:11px;margin-bottom:6px}
.easdom-points-coin--total>i{background:#10143f;color:#fff}
.easdom-points-coin--required>i{background:#e9f5ef;color:#174b3f}
.easdom-points-coin--bonus>i{background:#fff2cf;color:#946515}
.easdom-points-coin--support>i{background:#eee7ff;color:#5d49a7}


/* EASDOM Journey: My History is intentionally hidden on the live Journey surface. */
#eje-history-summary{display:none!important;}

/* 2.0.1: additive states only; preserves the 2.0.0 visual language. */
.eje-readonly-pill{display:inline-flex;align-items:center;border:1px solid rgba(16,20,63,.12);border-radius:999px;padding:6px 10px;color:#66708f;background:#f7f3e9;font-size:12px;font-weight:700}
.eje-profile-edit-card .eje-pa-primary{border:0;cursor:pointer}
.eje-profile-edit-card .eje-pa-soft-cta{border:1px solid rgba(16,20,63,.10);background:#fff;color:#10143f;padding:10px 12px;border-radius:12px;font:700 13px/1.2 inherit}
