/* AiFORMIQ startup mark. Motion begins after the overlay has painted. */
#aiformiq-boot[hidden],
#aiformiq-boot [hidden] {
  display: none !important;
}
#aiformiq-boot {
  position: fixed;
  inset: 0;
  z-index: 2147483000;
  display: grid;
  place-items: center;
  margin: 0;
  padding: 24px;
  min-height: 100vh;
  min-height: 100dvh;
  box-sizing: border-box;
  background: #111418;
  color: #f6f7f2;
  opacity: 1;
  font-family: Arial, sans-serif;
  isolation: isolate;
  transition: opacity 250ms ease-out;
}
#aiformiq-boot.af-exit {
  opacity: 0;
  pointer-events: none;
}
#aiformiq-boot .af-mark {
  width: 140px;
  height: auto;
  overflow: visible;
  display: block;
}
#aiformiq-boot .af-mark-group {
  animation: af-wait 2.4s ease-in-out 2.32s infinite;
  animation-play-state: paused;
}
#aiformiq-boot .af-left {
  animation: af-left 1800ms cubic-bezier(0.42, 0, 0.24, 1) both;
  animation-play-state: paused;
}
#aiformiq-boot .af-right {
  animation: af-right 2000ms cubic-bezier(0.42, 0, 0.24, 1) 120ms both;
  animation-play-state: paused;
}
#aiformiq-boot.af-playing .af-mark-group,
#aiformiq-boot.af-playing .af-left,
#aiformiq-boot.af-playing .af-right {
  animation-play-state: running;
}
#aiformiq-boot.af-ready .af-mark-group {
  animation: none;
}
#aiformiq-boot .af-recovery {
  position: absolute;
  inset-inline: 24px;
  top: calc(50% + 86px);
  text-align: center;
  font-size: 14px;
  line-height: 1.5;
}
#aiformiq-boot .af-recovery p {
  color: #c5c9c1;
  margin: 0 0 18px;
}
#aiformiq-boot .af-recovery button {
  font: inherit;
  color: #f6f7f2;
  background: transparent;
  border: 1px solid #59634e;
  border-radius: 6px;
  padding: 10px 16px;
  cursor: pointer;
  margin: 4px;
}
#aiformiq-boot .af-recovery button:focus-visible {
  outline: 2px solid #c7f36b;
  outline-offset: 4px;
}
html.af-booting {
  overflow: hidden;
}
@keyframes af-left {
  from {
    opacity: 0.25;
    transform: translate(-48px, 56px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
@keyframes af-right {
  from {
    opacity: 0.25;
    transform: translate(48px, -56px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
@keyframes af-wait {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0.82;
  }
}
@media (max-width: 620px) {
  #aiformiq-boot .af-mark {
    width: 96px;
  }
  #aiformiq-boot .af-mark-group {
    transform-box: fill-box;
    transform-origin: center;
    animation-name: af-phone-wait;
  }
  #aiformiq-boot .af-left,
  #aiformiq-boot .af-right {
    transform-box: fill-box;
    transform-origin: center;
  }
  #aiformiq-boot .af-left {
    animation-name: af-phone-left;
  }
  #aiformiq-boot .af-right {
    animation-name: af-phone-right;
  }
  #aiformiq-boot .af-recovery {
    top: calc(50% + 64px);
    font-size: 12px;
  }
}
@keyframes af-phone-left {
  from {
    opacity: 0.25;
    transform: translate(-48px, 56px) rotate(-12deg);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
@keyframes af-phone-right {
  from {
    opacity: 0.25;
    transform: translate(48px, -56px) rotate(12deg);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
@keyframes af-phone-wait {
  0%,
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
  50% {
    opacity: 0.7;
    transform: translateY(-6px) scale(0.94);
  }
}
@media (prefers-reduced-motion: reduce) {
  #aiformiq-boot {
    transition: none;
  }
  #aiformiq-boot .af-mark-group,
  #aiformiq-boot .af-left,
  #aiformiq-boot .af-right {
    animation: none;
  }
}
