.edpa-gated-target{position:relative!important;min-height:110px}.edpa-gate-overlay{position:absolute;inset:0;z-index:9998;background:rgba(255,255,255,.96);display:flex;align-items:center;justify-content:center;padding:16px;box-sizing:border-box;border-radius:inherit}.edpa-lock-card{max-width:420px;text-align:center;border:1px solid #d8e1ec;background:#fff;border-radius:8px;padding:18px;box-shadow:0 5px 18px rgba(15,23,42,.08);color:#172033}.edpa-lock-card strong,.edpa-lock-card span{display:block}.edpa-lock-card strong{font-size:17px;margin-bottom:5px}.edpa-lock-card span{font-size:12px;color:#64748b;margin-bottom:8px}.edpa-btn{display:inline-block;background:#147bd1;color:#fff!important;text-decoration:none;padding:8px 14px;border-radius:5px;font-weight:700}.edpa-commerce-note{font-size:10px!important;margin-top:8px!important}.edpa-status-badge{display:inline-block;padding:4px 8px;border-radius:999px;background:#eef2f6;font-size:11px}.edpa-status-badge.active,.edpa-status-badge.premium{background:#dcfce7;color:#15803d}

/* v1.0.47 member-facing Premium Access screens */
.edpa-member-page,.edpa-region-page{max-width:1180px;margin:40px auto;padding:0 20px;font-family:Inter,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:#14213d}
.edpa-member-head{display:flex;justify-content:space-between;align-items:flex-start;gap:24px;margin-bottom:24px}.edpa-member-eyebrow{display:block;font-size:12px;font-weight:800;letter-spacing:.12em;text-transform:uppercase;color:#2563eb;margin-bottom:7px}.edpa-member-head h1{margin:0;font-size:34px;line-height:1.15}.edpa-member-head p{margin:8px 0 0;color:#64748b}.edpa-member-status{display:inline-flex;align-items:center;justify-content:center;padding:8px 13px;border-radius:999px;font-size:12px;font-weight:800;white-space:nowrap}.edpa-member-status.active{background:#dcfce7;color:#15803d}.edpa-member-status.free{background:#eef2f7;color:#64748b}
.edpa-member-current,.edpa-region-card{background:#fff;border:1px solid #e3eaf3;border-radius:18px;box-shadow:0 12px 32px rgba(15,23,42,.06)}.edpa-member-current{display:flex;align-items:center;gap:18px;padding:22px;margin-bottom:24px}.edpa-member-current-icon{width:54px;height:54px;border-radius:15px;background:#fff4d6;color:#d89a00;display:flex;align-items:center;justify-content:center;font-size:26px;flex:0 0 54px}.edpa-member-current h2{margin:0 0 5px;font-size:20px}.edpa-member-current p{margin:0;color:#64748b}.edpa-member-current small{display:block;margin-top:6px;color:#64748b}.edpa-member-action{margin-left:auto;background:#2563eb;color:#fff!important;text-decoration:none;padding:11px 17px;border-radius:10px;font-weight:800;font-size:13px}
.edpa-plan-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}.edpa-plan-card{background:#fff;border:1px solid #e3eaf3;border-radius:18px;padding:24px;box-shadow:0 8px 24px rgba(15,23,42,.05);position:relative}.edpa-plan-card.premium{border:2px solid #2563eb;box-shadow:0 14px 34px rgba(37,99,235,.12)}.edpa-plan-card.current{background:#f8fbff}.edpa-plan-top{display:flex;justify-content:space-between;gap:10px;align-items:center}.edpa-plan-top h3{margin:0;font-size:20px}.edpa-plan-top span{font-size:10px;font-weight:800;text-transform:uppercase;background:#eaf2ff;color:#2563eb;padding:6px 8px;border-radius:999px}.edpa-plan-price{display:block;margin:22px 0 16px;font-size:27px;color:#14213d}.edpa-plan-card ul{list-style:none;padding:0;margin:0 0 22px;display:grid;gap:10px}.edpa-plan-card li{font-size:13px;color:#475569}.edpa-plan-button{width:100%;border:0;border-radius:10px;padding:12px 15px;font-weight:800;background:#2563eb;color:#fff;cursor:pointer}.edpa-plan-card.free .edpa-plan-button{background:#eef2f7;color:#64748b}.edpa-plan-button:disabled{cursor:default}.edpa-commerce-placeholder{margin-top:20px;padding:17px 19px;border:1px dashed #b9c9df;background:#f8fbff;border-radius:14px;display:flex;flex-wrap:wrap;gap:5px 14px;align-items:center;color:#52657d;font-size:13px}.edpa-commerce-placeholder strong{color:#19345f}.edpa-commerce-placeholder a{margin-left:auto;color:#2563eb;font-weight:800;text-decoration:none}
.edpa-region-card{padding:22px}.edpa-region-card-head{display:flex;align-items:center;gap:15px;padding-bottom:18px;border-bottom:1px solid #edf1f6}.edpa-region-card-head h2{margin:0 0 4px}.edpa-region-card-head p{margin:0;color:#64748b}.edpa-region-list{display:grid}.edpa-region-row{display:grid;grid-template-columns:minmax(180px,1fr) 140px 180px 120px;align-items:center;gap:15px;padding:16px 4px;border-bottom:1px solid #edf1f6}.edpa-region-row:last-child{border-bottom:0}.edpa-region-name{display:flex;align-items:center;gap:10px}.edpa-region-flag{width:32px;height:32px;border-radius:9px;background:#eaf2ff;color:#2563eb;display:flex;align-items:center;justify-content:center;font-weight:900}.edpa-region-expiry{font-size:12px;color:#64748b}.edpa-region-button{justify-self:end;border:1px solid #c9d8eb;border-radius:9px;padding:9px 13px;color:#2563eb;text-decoration:none;font-size:12px;font-weight:800;text-align:center}.edpa-region-button:hover{background:#eff6ff}
.edpa-public-plan-wrap{min-height:60vh;display:flex;align-items:center;justify-content:center;padding:30px}.edpa-public-plan-card{max-width:480px;width:100%;background:#fff;border:1px solid #e3eaf3;border-radius:20px;padding:42px;text-align:center;box-shadow:0 18px 45px rgba(15,23,42,.09)}.edpa-public-icon{width:60px;height:60px;margin:0 auto 15px;border-radius:18px;background:#eaf2ff;color:#2563eb;display:flex;align-items:center;justify-content:center;font-size:28px}.edpa-public-plan-card h2{margin:0 0 8px}.edpa-public-plan-card p{color:#64748b}.edpa-public-primary{display:inline-block;margin-top:10px;background:#2563eb;color:#fff!important;text-decoration:none;padding:12px 20px;border-radius:10px;font-weight:800}
.edpa-premium-gate{box-sizing:border-box;max-width:620px;margin:10vh auto;padding:46px 42px;text-align:center;background:#fff;border:1px solid #dfe7f2;border-radius:22px;box-shadow:0 20px 60px rgba(15,23,42,.12);font-family:Inter,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:#14213d}.edpa-gate-icon{width:64px;height:64px;margin:0 auto 17px;border-radius:20px;background:#eaf2ff;color:#2563eb;display:flex;align-items:center;justify-content:center;font-size:30px}.edpa-gate-kicker{font-size:11px;text-transform:uppercase;letter-spacing:.12em;font-weight:900;color:#2563eb}.edpa-premium-gate h1{margin:8px 0 10px;font-size:27px}.edpa-premium-gate p{margin:0 auto 18px;max-width:500px;color:#64748b;line-height:1.6}.edpa-premium-gate ul{display:grid;gap:9px;text-align:left;max-width:430px;margin:0 auto 24px;padding:17px 20px;background:#f8fbff;border:1px solid #e2eaf5;border-radius:14px;list-style:none;color:#41546e;font-size:13px}.edpa-premium-gate li:before{content:"✓";font-weight:900;color:#16a34a;margin-right:9px}.edpa-gate-primary,.edpa-gate-secondary{display:block;text-decoration:none!important;border-radius:10px;padding:12px 18px;font-weight:800;font-size:13px}.edpa-gate-primary{background:#2563eb;color:#fff!important}.edpa-gate-secondary{margin-top:9px;border:1px solid #d3deec;color:#52657d!important}
@media(max-width:900px){.edpa-plan-grid{grid-template-columns:1fr}.edpa-region-row{grid-template-columns:1fr 1fr}.edpa-region-button{justify-self:start}.edpa-region-expiry{order:4}.edpa-member-current{align-items:flex-start;flex-wrap:wrap}.edpa-member-action{margin-left:0}.edpa-member-head{flex-direction:column}}
@media(max-width:560px){.edpa-member-page,.edpa-region-page{margin:24px auto;padding:0 14px}.edpa-member-head h1{font-size:28px}.edpa-member-current{padding:17px}.edpa-region-row{grid-template-columns:1fr;gap:9px}.edpa-region-button{width:100%}.edpa-premium-gate{margin:5vh 14px;padding:34px 22px}}

/* v1.4.7 — canonical Premium Access login popup UI
   One clean feature modal + one clean page modal. */
.edpa-login-popup,
.edpa-login-popup *{box-sizing:border-box}

.edpa-login-popup{
  position:fixed;
  inset:0;
  z-index:2147483000;
  display:flex;
  align-items:center;
  justify-content:center;
  padding:20px;
  overflow:auto;
  background:rgba(24,43,67,.46);
  -webkit-backdrop-filter:blur(12px);
  backdrop-filter:blur(12px);
  font-family:Inter,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
  color:#10294b;
}

.edpa-login-popup[hidden]{display:none!important}

.edpa-login-dialog{
  position:relative;
  width:100%;
  max-height:calc(100dvh - 40px);
  overflow:auto;
  border:1px solid rgba(214,226,239,.96);
  border-radius:22px;
  background:#fff;
  box-shadow:0 26px 72px rgba(15,36,62,.22);
}

.edpa-login-close{
  -webkit-appearance:none!important;
  appearance:none!important;
  position:absolute!important;
  top:16px!important;
  right:16px!important;
  z-index:10!important;
  display:grid!important;
  place-items:center!important;
  width:40px!important;
  min-width:40px!important;
  max-width:40px!important;
  height:40px!important;
  min-height:40px!important;
  max-height:40px!important;
  margin:0!important;
  padding:0!important;
  border:1px solid #dbe6f2!important;
  border-radius:12px!important;
  background:#f8fbff!important;
  box-shadow:none!important;
  color:#6c8199!important;
  font:400 27px/1 Arial,sans-serif!important;
  text-align:center!important;
  text-transform:none!important;
  cursor:pointer!important;
  transition:border-color .16s ease,background .16s ease,color .16s ease!important;
}

.edpa-login-close:hover,
.edpa-login-close:focus-visible{
  border-color:#bcd1e8!important;
  background:#fff!important;
  color:#155EEF!important;
  outline:none!important;
}

.edpa-login-brand{
  display:flex;
  align-items:center;
  justify-content:center;
}

.edpa-login-brand img{
  display:block;
  width:auto;
  object-fit:contain;
}

.edpa-google-login{
  -webkit-appearance:none!important;
  appearance:none!important;
  width:100%!important;
  margin:0!important;
  border:0!important;
  outline:0!important;
  display:grid!important;
  grid-template-columns:46px minmax(0,1fr) 46px!important;
  align-items:center!important;
  gap:0!important;
  background:linear-gradient(135deg,#168cf6 0%,#1167e9 100%)!important;
  box-shadow:0 11px 26px rgba(17,103,233,.21)!important;
  color:#fff!important;
  font-family:inherit!important;
  font-style:normal!important;
  font-weight:700!important;
  line-height:1.2!important;
  letter-spacing:0!important;
  text-align:center!important;
  text-transform:none!important;
  text-decoration:none!important;
  cursor:pointer!important;
  transition:transform .16s ease,box-shadow .16s ease!important;
}

.edpa-google-login:hover{
  transform:translateY(-1px)!important;
  box-shadow:0 14px 30px rgba(17,103,233,.25)!important;
}

.edpa-google-login:focus-visible{
  outline:3px solid rgba(21,94,239,.20)!important;
  outline-offset:3px!important;
}

.edpa-google-login:disabled{
  opacity:.65!important;
  cursor:wait!important;
  transform:none!important;
}

.edpa-google-icon{
  display:grid;
  place-items:center;
  background:#fff;
}

.edpa-google-icon svg{display:block}
.edpa-google-login>span:nth-child(2){
  display:block!important;
  min-width:0!important;
  padding:0 8px!important;
  text-align:center!important;
  white-space:nowrap!important;
}
.edpa-google-arrow{
  display:grid!important;
  place-items:center!important;
  justify-self:stretch!important;
  font-weight:300!important;
  line-height:1!important;
}

/* ---------- Feature / shortcode login ---------- */
.edpa-login-popup.is-feature .edpa-login-dialog{
  width:min(420px,calc(100vw - 28px));
  padding:18px 26px 22px;
}

.edpa-login-popup.is-feature .edpa-login-brand{
  padding:4px 52px 0;
}

.edpa-login-popup.is-feature .edpa-login-brand img{
  max-width:158px;
  max-height:46px;
}

.edpa-feature-art{
  position:relative;
  width:158px;
  height:108px;
  margin:13px auto 0;
}

.edpa-feature-orbit{
  position:absolute;
  inset:13px 17px 6px;
  border-radius:999px;
  background:radial-gradient(circle at center,rgba(92,158,247,.10) 0 48%,transparent 49%);
}

.edpa-feature-shield{
  position:absolute;
  left:50%;
  top:50%;
  width:96px;
  height:96px;
  transform:translate(-50%,-50%);
  filter:drop-shadow(0 13px 20px rgba(42,111,213,.14));
}

.edpa-feature-shield svg{display:block;width:100%;height:100%}

.edpa-feature-card{
  position:absolute;
  width:42px;
  height:42px;
  display:grid;
  place-items:center;
  border-radius:13px;
  background:#fff;
  box-shadow:0 10px 22px rgba(27,67,119,.10);
}

.edpa-feature-card svg{display:block;width:20px;height:20px}
.edpa-feature-card.is-left{left:15px;top:37px}
.edpa-feature-card.is-right{right:15px;top:37px}

.edpa-feature-dot{
  position:absolute;
  width:7px;
  height:7px;
  border-radius:50%;
  background:#91bfff;
}
.edpa-feature-dot.is-a{left:25px;top:11px}
.edpa-feature-dot.is-b{right:26px;top:12px}
.edpa-feature-dot.is-c{right:48px;bottom:8px}

.edpa-login-popup.is-feature .edpa-login-content{
  padding:5px 8px 0;
  text-align:center;
}

.edpa-login-popup.is-feature .edpa-login-content h2{
  margin:11px 0 7px;
  color:#10294b;
  font-size:25px;
  line-height:1.14;
  letter-spacing:-.035em;
  font-weight:800;
}

.edpa-login-popup.is-feature .edpa-login-content>p{
  max-width:330px;
  margin:0 auto 18px;
  color:#607894;
  font-size:13.5px;
  line-height:1.5;
}

.edpa-login-popup.is-feature .edpa-google-login{
  min-height:58px!important;
  padding:7px 8px!important;
  border-radius:12px!important;
  font-size:15.5px!important;
}

.edpa-login-popup.is-feature .edpa-google-icon{
  width:40px;
  height:40px;
  border-radius:10px;
}

.edpa-login-popup.is-feature .edpa-google-icon svg{width:22px;height:22px}
.edpa-login-popup.is-feature .edpa-google-arrow{font-size:27px}

.edpa-login-quick{
  display:grid;
  grid-template-columns:1fr auto 1fr;
  align-items:center;
  gap:10px;
  margin:17px 0 0;
}

.edpa-login-quick span{height:1px;background:#d9e5f1}
.edpa-login-quick em{
  color:#7489a0;
  font-size:10.5px;
  line-height:1;
  font-style:normal;
  font-weight:600;
}

/* ---------- Whole-page login ---------- */
.edpa-login-popup.is-page .edpa-login-dialog{
  width:min(900px,calc(100vw - 36px));
  display:grid;
  grid-template-columns:41% 59%;
  overflow:hidden;
}

.edpa-page-pane{min-width:0}
.edpa-page-pane-visual{
  position:relative;
  min-height:500px;
  background:linear-gradient(180deg,#f5faff 0%,#edf6ff 100%);
}

.edpa-page-pane-content{
  min-height:500px;
  background:#fff;
}

.edpa-login-popup.is-page .edpa-login-brand{
  position:absolute;
  top:27px;
  left:28px;
  right:28px;
  justify-content:flex-start;
}

.edpa-login-popup.is-page .edpa-login-brand img{
  max-width:190px;
  max-height:54px;
}

.edpa-login-popup.is-page .edpa-login-visual{
  min-height:500px;
  padding:92px 24px 30px;
  display:flex;
  align-items:center;
  justify-content:center;
}

.edpa-login-popup.is-page .edpa-login-art{
  display:block;
  width:100%;
  max-width:330px;
  height:auto;
}

.edpa-login-popup.is-page .edpa-login-content{
  height:100%;
  padding:52px 42px 32px;
  display:flex;
  flex-direction:column;
  justify-content:center;
  text-align:left;
}

.edpa-login-badge{
  align-self:flex-start;
  display:inline-flex;
  align-items:center;
  gap:7px;
  min-height:32px;
  margin:0 0 17px;
  padding:0 12px;
  border-radius:999px;
  background:#e9f3ff;
  color:#1267df;
  font-size:11.5px;
  line-height:1;
  font-weight:700;
}

.edpa-badge-lock{
  display:grid;
  place-items:center;
  width:15px;
  height:15px;
}
.edpa-badge-lock svg{display:block;width:15px;height:15px}

.edpa-login-popup.is-page .edpa-login-content h2{
  max-width:430px;
  margin:0 0 13px;
  color:#10294b;
  font-size:40px;
  line-height:1.06;
  letter-spacing:-.048em;
  font-weight:800;
}

.edpa-login-popup.is-page .edpa-login-content>p{
  max-width:430px;
  margin:0 0 21px;
  color:#607894;
  font-size:13.5px;
  line-height:1.62;
}

.edpa-login-popup.is-page .edpa-google-login{
  min-height:62px!important;
  padding:7px 8px!important;
  border-radius:13px!important;
  font-size:16px!important;
}

.edpa-login-popup.is-page .edpa-google-icon{
  width:42px;
  height:42px;
  border-radius:10px;
}

.edpa-login-popup.is-page .edpa-google-icon svg{width:23px;height:23px}
.edpa-login-popup.is-page .edpa-google-arrow{font-size:28px}

.edpa-login-benefits{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  margin-top:23px;
}

.edpa-login-benefits>div{
  min-width:0;
  padding:0 10px;
  display:flex;
  flex-direction:column;
  align-items:center;
  text-align:center;
}

.edpa-login-benefits>div+div{border-left:1px solid #dfe8f2}

.edpa-login-benefits>div>span{
  width:44px;
  height:44px;
  margin-bottom:8px;
  display:grid;
  place-items:center;
  border-radius:50%;
}

.edpa-login-benefits>div>span svg{display:block;width:21px;height:21px}
.edpa-login-benefits .is-green{background:#def8ef;color:#0eb985}
.edpa-login-benefits .is-blue{background:#e2f1ff;color:#1784e6}
.edpa-login-benefits .is-purple{background:#eee7ff;color:#7550eb}

.edpa-login-benefits strong{
  color:#193451;
  font-size:10.5px;
  line-height:1.25;
  font-weight:700;
}

.edpa-login-benefits small{
  margin-top:4px;
  color:#768aa1;
  font-size:8.8px;
  line-height:1.42;
}

.edpa-back-tools{
  align-self:center;
  min-height:38px;
  margin-top:20px;
  padding:0 15px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  border-radius:999px;
  background:#edf5ff;
  color:#176bd5!important;
  text-decoration:none!important;
  font-size:11.5px;
  font-weight:700;
}

/* Login-required content stays visually normal until the protected action. */
.edpa-login-feature-target,
.edpa-limited-session-target{
  filter:none!important;
  opacity:1!important;
  pointer-events:auto!important;
}

.edpa-login-feature-target>.edpa-gate-overlay,
.edpa-limited-session-target>.edpa-gate-overlay{
  display:none!important;
}

/* ---------- Responsive ---------- */
@media(max-width:820px){
  .edpa-login-popup.is-page .edpa-login-dialog{
    width:min(650px,calc(100vw - 24px));
    display:block;
    overflow:auto;
  }

  .edpa-page-pane-visual,
  .edpa-page-pane-content{min-height:0}

  .edpa-login-popup.is-page .edpa-login-brand{
    position:static;
    padding:18px 64px 0;
    justify-content:center;
  }

  .edpa-login-popup.is-page .edpa-login-brand img{
    max-width:175px;
    max-height:50px;
  }

  .edpa-login-popup.is-page .edpa-login-visual{
    min-height:0;
    padding:7px 48px 0;
  }

  .edpa-login-popup.is-page .edpa-login-art{max-width:270px}

  .edpa-login-popup.is-page .edpa-login-content{
    padding:5px 26px 25px;
    text-align:center;
  }

  .edpa-login-popup.is-page .edpa-login-badge{align-self:center;margin-bottom:11px}
  .edpa-login-popup.is-page .edpa-login-content h2{
    max-width:none;
    font-size:30px;
    line-height:1.08;
  }
  .edpa-login-popup.is-page .edpa-login-content>p{
    max-width:500px;
    margin-left:auto;
    margin-right:auto;
    font-size:12.5px;
  }
  .edpa-login-popup.is-page .edpa-google-login{
    max-width:500px!important;
    margin-left:auto!important;
    margin-right:auto!important;
    min-height:58px!important;
  }
}

@media(max-width:460px){
  .edpa-login-popup{padding:9px}

  .edpa-login-popup.is-feature .edpa-login-dialog{
    width:min(410px,calc(100vw - 18px));
    padding:15px 16px 18px;
  }

  .edpa-login-popup.is-feature .edpa-login-brand{padding:2px 52px 0}
  .edpa-login-popup.is-feature .edpa-login-brand img{max-width:145px}
  .edpa-feature-art{width:146px;height:101px}
  .edpa-feature-shield{width:90px;height:90px}
  .edpa-login-popup.is-feature .edpa-login-content h2{font-size:22px}
  .edpa-login-popup.is-feature .edpa-login-content>p{font-size:12.5px}
  .edpa-login-popup.is-feature .edpa-google-login{font-size:14.5px!important}

  .edpa-login-popup.is-page .edpa-login-dialog{
    width:min(430px,calc(100vw - 18px));
  }

  .edpa-login-popup.is-page .edpa-login-brand{padding:15px 58px 0}
  .edpa-login-popup.is-page .edpa-login-visual{padding:5px 38px 0}
  .edpa-login-popup.is-page .edpa-login-content{padding:3px 18px 21px}
  .edpa-login-popup.is-page .edpa-login-content h2{font-size:27px}
  .edpa-login-benefits small{display:none}
  .edpa-login-benefits>div{padding:0 6px}
}

/* v1.4.12 — approved Option 12 Upgrade Plan button + frozen full-page gates. */

/* Option 12: modern 3D Premium button. */
.edpa-upgrade-plan-btn{
  -webkit-appearance:none!important;
  appearance:none!important;
  display:inline-grid!important;
  grid-template-columns:30px minmax(0,1fr) 24px!important;
  align-items:center!important;
  justify-content:center!important;
  column-gap:12px!important;
  min-width:238px!important;
  min-height:60px!important;
  margin:0!important;
  padding:0 20px!important;
  border:1px solid rgba(255,255,255,.24)!important;
  border-radius:14px!important;
  background:
    linear-gradient(180deg,rgba(255,255,255,.14),rgba(255,255,255,0) 48%),
    linear-gradient(135deg,#219cff 0%,#176ff3 48%,#0c4fce 100%)!important;
  box-shadow:
    0 6px 0 #073da7,
    0 15px 30px rgba(10,78,190,.30),
    inset 0 1px 0 rgba(255,255,255,.42),
    inset 0 -1px 0 rgba(0,43,132,.24)!important;
  color:#fff!important;
  font-family:Inter,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif!important;
  font-size:17px!important;
  line-height:1!important;
  font-weight:800!important;
  letter-spacing:-.01em!important;
  text-align:center!important;
  text-transform:none!important;
  text-decoration:none!important;
  cursor:pointer!important;
  transform:translateY(0)!important;
  transition:
    transform .16s ease,
    box-shadow .16s ease,
    filter .16s ease!important;
}

.edpa-upgrade-plan-btn .edpa-upgrade-crown{
  display:grid!important;
  place-items:center!important;
  width:30px!important;
  height:30px!important;
  color:#ffbf22!important;
  filter:drop-shadow(0 2px 2px rgba(91,57,0,.18))!important;
}

.edpa-upgrade-plan-btn .edpa-upgrade-crown svg{
  display:block!important;
  width:29px!important;
  height:26px!important;
}

.edpa-upgrade-plan-btn .edpa-upgrade-label{
  display:block!important;
  min-width:0!important;
  white-space:nowrap!important;
  text-align:center!important;
}

.edpa-upgrade-plan-btn .edpa-upgrade-arrow{
  display:grid!important;
  place-items:center!important;
  width:24px!important;
  height:24px!important;
  font-size:26px!important;
  font-weight:400!important;
  line-height:1!important;
}

.edpa-upgrade-plan-btn:hover{
  filter:brightness(1.04)!important;
  transform:translateY(-2px)!important;
  box-shadow:
    0 7px 0 #073da7,
    0 18px 34px rgba(10,78,190,.34),
    inset 0 1px 0 rgba(255,255,255,.46),
    inset 0 -1px 0 rgba(0,43,132,.24)!important;
}

.edpa-upgrade-plan-btn:active{
  transform:translateY(4px)!important;
  box-shadow:
    0 2px 0 #073da7,
    0 8px 18px rgba(10,78,190,.24),
    inset 0 1px 0 rgba(255,255,255,.32)!important;
}

.edpa-upgrade-plan-btn:focus-visible{
  outline:3px solid rgba(69,171,255,.48)!important;
  outline-offset:5px!important;
}

.edpa-upgrade-only-gate{
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  min-height:120px!important;
  padding:28px!important;
}

/*
 * FINAL / FROZEN WHOLE-PAGE RESTRICTION DESIGN
 * ------------------------------------------------------------
 * The website's real header and footer are never covered by the gate.
 * Only the visible page/calculator content between them is blurred/dimmed.
 * The same boundary is used for Premium and full-page Login Required.
 */
:root{
  --edpa-page-gate-top:0px;
  --edpa-page-gate-bottom:0px;
}

/* Whole-page Login Required: existing page login screen, same UI, new boundary. */
.edpa-login-popup.is-page.edpa-page-contained{
  position:fixed!important;
  left:0!important;
  right:0!important;
  top:var(--edpa-page-gate-top)!important;
  bottom:var(--edpa-page-gate-bottom)!important;
  inset-inline:0!important;
  width:auto!important;
  height:auto!important;
  min-height:0!important;
  max-height:none!important;
  margin:0!important;
  padding:24px!important;
  z-index:2147482000!important;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  overflow:auto!important;
  background:rgba(29,48,72,.46)!important;
  -webkit-backdrop-filter:blur(11px)!important;
  backdrop-filter:blur(11px)!important;
}

.edpa-login-popup.is-page.edpa-page-contained .edpa-login-dialog{
  margin:auto!important;
  max-height:calc(100% - 8px)!important;
}

/* Whole-page Premium: ONLY the approved 3D Upgrade Plan button. */
.edpa-page-upgrade-gate.edpa-page-contained{
  position:fixed!important;
  left:0!important;
  right:0!important;
  top:var(--edpa-page-gate-top)!important;
  bottom:var(--edpa-page-gate-bottom)!important;
  width:auto!important;
  height:auto!important;
  min-height:0!important;
  margin:0!important;
  padding:24px!important;
  z-index:2147481990!important;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  overflow:auto!important;
  background:rgba(29,48,72,.46)!important;
  -webkit-backdrop-filter:blur(11px)!important;
  backdrop-filter:blur(11px)!important;
}

/* Page-level gates must not lock or alter the website header/footer/page chrome. */
body.edpa-page-login-gate-open,
body.edpa-upgrade-gate-open{
  overflow:auto!important;
}

@media(max-width:820px){
  .edpa-login-popup.is-page.edpa-page-contained,
  .edpa-page-upgrade-gate.edpa-page-contained{
    padding:16px!important;
  }

  .edpa-upgrade-plan-btn{
    min-width:218px!important;
    min-height:56px!important;
    grid-template-columns:28px minmax(0,1fr) 22px!important;
    padding:0 17px!important;
    font-size:16px!important;
  }

  .edpa-upgrade-plan-btn .edpa-upgrade-crown{
    width:28px!important;
    height:28px!important;
  }

  .edpa-upgrade-plan-btn .edpa-upgrade-crown svg{
    width:27px!important;
    height:24px!important;
  }

  .edpa-upgrade-plan-btn .edpa-upgrade-arrow{
    width:22px!important;
    height:22px!important;
    font-size:24px!important;
  }
}

