/* Shared by the Vue layout and standalone HTML pages. */
.floating-service {
  position: fixed;
  right: max(24px, env(safe-area-inset-right));
  bottom: calc(130px + env(safe-area-inset-bottom));
  z-index: 100;
  display: grid;
  gap: 16px;
}

.floating-service > a,
.floating-service > button {
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 7px;
  width: 56px;
  padding: 12px 6px;
  border: 0;
  border-radius: 40px;
  background: #fff;
  color: #8e939b;
  font-family: inherit;
  font-size: 10px;
  line-height: 1.7;
  text-decoration: none;
  cursor: pointer;
}

.floating-service > a {
  height: 80px;
  box-shadow: 0 6px 24px #29313e0a;
}

.floating-service > button {
  min-height: 44px;
}

.floating-service i {
  color: #b0b4bc;
  font-size: 21px;
}

.floating-service > a > i,
.floating-service > a > svg {
  color: #50ba91;
}

.floating-service svg {
  width: 21px;
  height: 21px;
}

.floating-service > a:hover,
.floating-service > a:hover i,
.floating-service > a:hover svg,
.floating-service > button:hover,
.floating-service > button:hover i {
  color: #fa8919;
}

.floating-service > a:focus-visible,
.floating-service > button:focus-visible {
  outline: 2px solid #fa8919;
  outline-offset: 3px;
}

@media (max-width: 1200px) {
  .floating-service {
    right: max(10px, env(safe-area-inset-right));
    bottom: calc(80px + env(safe-area-inset-bottom));
  }

  .floating-service > a {
    width: 54px;
  }
}

@media (max-width: 900px) {
  .floating-service {
    bottom: calc(24px + env(safe-area-inset-bottom));
    gap: 10px;
  }

  .floating-service > a,
  .floating-service > button {
    width: 54px;
    box-shadow: 0 4px 18px #29313e14;
  }

  .floating-service > a {
    height: 72px;
  }

  .manual-page .floating-service {
    bottom: calc(90px + env(safe-area-inset-bottom));
  }
}
