.aj-contact-launcher {
  position: fixed;
  z-index: 99998;
  left: -2px;
  bottom: 5vh;
  box-sizing: border-box;
  width: 38px;
  height: 160px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  margin: 0;
  padding: 8px 0 10px;
  border: 0;
  border-radius: 0 6px 6px 0;
  background: #00e5ff;
  color: #000;
  box-shadow: none;
  cursor: pointer;
  font-family: inherit;
  font-size: 13px;
  font-weight: 400;
  line-height: 1.3;
  letter-spacing: .08em;
  transform: translateX(-2px);
  transition: .3s all ease;
}

.aj-contact-launcher:hover,
.aj-contact-launcher:focus-visible {
  background: #00e5ff;
  box-shadow: 1px 1px 20px 1px rgb(0 0 0 / 40%);
  transform: translateX(0);
}
.aj-contact-launcher__icon { width: 26px; height: 26px; flex: 0 0 26px; display: grid; place-items: center; }
.aj-contact-launcher__icon svg { display: block; width: 26px; height: 26px; }
.aj-contact-launcher__label { writing-mode: vertical-rl; white-space: nowrap; font-size: 13px; font-weight: 400; }
.aj-contact-launcher__arrow { width: 12px; height: 12px; flex: 0 0 12px; display: grid; place-items: center; }
.aj-contact-launcher__arrow svg { display: block; width: 12px; height: 12px; overflow: visible; }
.aj-contact-launcher__arrow path { fill: none; stroke: currentColor; stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; }
.aj-contact-launcher:hover .aj-contact-launcher__arrow svg,
.aj-contact-launcher:focus-visible .aj-contact-launcher__arrow svg { animation: aj-contact-arrow-spin .3s ease 0s 1 both; }
@keyframes aj-contact-arrow-spin { from { transform: rotateY(0); } to { transform: rotateY(180deg); } }
body.aj-contact-modal-open .aj-contact-launcher { transform: translateX(-110%); }
.aj-contact-launcher:focus-visible,
.aj-contact-close:focus-visible,
.aj-contact-email:focus-visible { outline: 3px solid #e96656; outline-offset: 3px; }

.aj-contact-modal[hidden] { display: none !important; }
.aj-contact-modal {
  position: fixed;
  z-index: 100001;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 24px;
  color: #404040;
  font-family: inherit;
}

.aj-contact-backdrop {
  position: absolute;
  inset: 0;
  background: rgb(0 0 0 / 20%);
}

.aj-contact-dialog {
  position: relative;
  z-index: 1;
  width: min(100%, 720px);
  max-height: min(88vh, 820px);
  overflow: auto;
  border-radius: 3px;
  background: #fff;
  box-shadow: 0 12px 48px rgb(0 0 0 / 24%);
  outline: none;
}

.aj-contact-close {
  position: absolute;
  z-index: 2;
  top: 16px;
  right: 16px;
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: #627373;
  color: #fff;
  cursor: pointer;
}

.aj-contact-close svg { display: block; width: 20px; height: 20px; overflow: visible; }
.aj-contact-close svg path { fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; }

.aj-contact-close:hover { background: #4d5d5d; }
.aj-contact-content { padding: 68px 52px 48px; }

.static-migration-notice {
  margin: 0 auto;
  color: #404040;
  line-height: 1.8;
  text-align: left;
}

.static-migration-notice h3 {
  margin: 0 0 22px;
  color: #404040;
  font-size: 22px;
  font-weight: 600;
  line-height: 1.55;
  text-align: center;
}

.static-migration-notice p { margin: 0 0 18px; }
.static-migration-notice p:last-child { margin-bottom: 0; }

.static-migration-notice .aj-contact-email {
  color: #e96656;
  font-weight: 700;
  text-decoration: none;
  transition: color 200ms;
  overflow-wrap: anywhere;
}

.static-migration-notice .aj-contact-email:hover { color: #cb4332; }

@media (max-width: 600px) {
  .aj-contact-modal { padding: 0; }
  .aj-contact-dialog {
    width: 100%;
    max-width: none;
    height: 100%;
    max-height: none;
    border-radius: 0;
  }
  .aj-contact-close { top: max(16px, env(safe-area-inset-top)); right: 16px; }
  .aj-contact-content { padding: 76px 24px 32px; }
  .static-migration-notice h3 { font-size: 20px; }
}
