/* Self-contained public login exit-intent modal. */
.exit-intent-overlay[hidden] { display: none; }
.exit-intent-overlay {
  position: fixed; inset: 0; z-index: 2147483000;
  display: grid; place-items: center; box-sizing: border-box;
  padding: 20px; background: rgba(5, 29, 25, .72);
  -webkit-backdrop-filter: blur(5px); backdrop-filter: blur(5px);
}
.exit-intent-overlay, .exit-intent-overlay * { box-sizing: border-box; }
.exit-intent-dialog {
  position: relative; isolation: isolate; width: min(100%, 490px);
  max-height: calc(100dvh - 40px); overflow-y: auto;
  margin: 0; padding: clamp(28px, 5vw, 44px) clamp(22px, 5vw, 42px) 34px;
  border: 1px solid rgba(221, 232, 226, .95); border-radius: 16px;
  background: #fff; color: #123a31; text-align: center;
  box-shadow: 0 28px 100px rgba(0, 0, 0, .34);
  font-family: inherit;
}
.exit-intent-close {
  position: absolute; top: 12px; right: 12px;
  display: grid; place-items: center; width: 38px; height: 38px;
  padding: 0; border: 1px solid transparent; border-radius: 8px;
  background: transparent; color: #49645b; font-size: 27px;
  font-weight: 400; line-height: 1; cursor: pointer;
}
.exit-intent-close:hover, .exit-intent-close:focus-visible { background: #edf4f0; color: #123a31; }
.exit-intent-close:focus-visible, .exit-intent-phone:focus-visible, .exit-intent-cta:focus-visible { outline: 3px solid #79ab94; outline-offset: 3px; }
.exit-intent-emblem {
  display: grid; place-items: center; width: 58px; height: 58px;
  margin: 0 auto 22px; border-radius: 14px;
  background: #e9f3ed; color: #145843;
}
.exit-intent-emblem svg { width: 30px; height: 30px; }
.exit-intent-title {
  margin: 0 0 14px; color: #133a30;
  font-size: clamp(22px, 4.5vw, 27px); font-weight: 700; line-height: 1.27;
}
.exit-intent-copy { margin: 0 0 20px; color: #556960; font-size: 15px; line-height: 1.65; }
.exit-intent-phone {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  margin: 0 0 24px; color: #155b46; font-size: 24px; font-weight: 700;
  line-height: 1.3; text-decoration: none;
}
.exit-intent-phone:hover { color: #0d4030; }
.exit-intent-phone svg { width: 21px; height: 21px; }
.exit-intent-cta {
  display: block; width: 100%; padding: 15px 18px;
  border: 1px solid #14513f; border-radius: 8px;
  background: #14513f; color: #fff; text-decoration: none;
  text-align: center; font-size: 14px; font-weight: 600;
  line-height: 1.4; letter-spacing: .02em;
}
.exit-intent-cta:hover, .exit-intent-cta:focus-visible { background: #0e3d30; color: #fff; }
@media (max-width: 440px) {
  .exit-intent-overlay { padding: 14px; }
  .exit-intent-dialog { max-height: calc(100dvh - 28px); padding: 35px 22px 26px; }
  .exit-intent-phone { font-size: 21px; }
}
@media (prefers-reduced-motion: reduce) { .exit-intent-overlay { -webkit-backdrop-filter: none; backdrop-filter: none; } }
