/* Home page application action, aligned with the existing Hey EKT launcher. */
.ekt-home-application {
  --ekt-home-apply-inset: 24px;
  --ekt-home-apply-clearance: 74px;
  position: fixed;
  right: max(var(--ekt-home-apply-inset), env(safe-area-inset-right));
  bottom: max(var(--ekt-home-apply-inset), env(safe-area-inset-bottom));
  z-index: 9989;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  max-width: calc(100vw - 40px);
  padding: 8px 16px;
  border: 1px solid #0e3b2e;
  border-radius: 12px;
  background: #0e3b2e;
  color: #fff;
  font: 650 13px/1.4 Inter, Arial, sans-serif;
  text-align: center;
  text-decoration: none;
  box-shadow: 0 5px 18px #0e3b2e24;
}
body:has(#ekt-hey-widget .ekt-hey-toggle) .ekt-home-application {
  bottom: calc(max(var(--ekt-home-apply-inset), env(safe-area-inset-bottom)) + var(--ekt-home-apply-clearance));
}
.ekt-home-application:hover { background: #174e3d; color: #fff; }
.ekt-home-application:focus-visible { outline: 3px solid #347d62; outline-offset: 4px; }
body:has(.ekt-site-mobile-menu[open], #ekt-hey-widget .ekt-hey-toggle[aria-expanded="true"]) .ekt-home-application { visibility: hidden; }
@media (max-width: 600px) {
  .ekt-home-application { --ekt-home-apply-inset: 16px; --ekt-home-apply-clearance: 70px; }
}
@media print { .ekt-home-application { display: none; } }
