.ps {
  overflow: hidden !important;
  overflow-anchor: none;
  -ms-overflow-style: none;
  touch-action: auto;
  -ms-touch-action: auto;
}
.ps__rail-x {
  bottom: 0;
  height: 15px;
  opacity: 0;
  transition: background-color 0.2s linear, opacity 0.2s linear;
  -webkit-transition: background-color 0.2s linear, opacity 0.2s linear;
}
.ps__rail-x,
.ps__rail-y {
  display: none;
  position: absolute;
}
.ps__rail-y {
  border-radius: var(--border-r);
  right: 0;
  transition: background-color 0.2s linear;
  -webkit-transition: background-color 0.2s linear;
  width: 4px;
}
.ps--active-x > .ps__rail-x,
.ps--active-y > .ps__rail-y {
  background-color: rgba(86, 74, 140, 0.1);
  display: block;
}
.ps--focus > .ps__rail-x,
.ps--focus > .ps__rail-y,
.ps--scrolling-x > .ps__rail-x,
.ps--scrolling-y > .ps__rail-y {
  background-color: rgba(86, 74, 140, 0.1);
  opacity: 1;
}
.ps .ps__rail-x.ps--clicking,
.ps .ps__rail-x:focus,
.ps .ps__rail-y.ps--clicking,
.ps .ps__rail-y:focus {
  opacity: 1;
  width: 6px;
}
@media (hover: hover) {
  .ps:hover > .ps__rail-x,
  .ps:hover > .ps__rail-y {
    background-color: rgba(86, 74, 140, 0.1);
    opacity: 1;
  }
  .ps .ps__rail-x:hover,
  .ps .ps__rail-y:hover {
    opacity: 1;
    width: 6px;
  }
}
.ps__thumb-x {
  border-radius: 6px;
  bottom: 2px;
  height: 6px;
  transition: background-color 0.2s linear, height 0.2s ease-in-out;
  -webkit-transition: background-color 0.2s linear, height 0.2s ease-in-out;
}
.ps__thumb-x,
.ps__thumb-y {
  background-color: #aaa;
  position: absolute;
}
.ps__thumb-y {
  border-radius: var(--border-r);
  right: 0;
  transition: background-color 0.2s linear, width 0.2s ease-in-out;
  -webkit-transition: background-color 0.2s linear, width 0.2s ease-in-out;
  width: 4px;
}
.ps__rail-x.ps--clicking .ps__thumb-x {
  height: 6px;
}
.ps__rail-y.ps--clicking .ps__thumb-y {
  width: 6px;
}
@media (hover: hover) {
  .ps__rail-x:focus > .ps__thumb-x,
  .ps__rail-x:hover > .ps__thumb-x {
    height: 6px;
  }
  .ps__rail-y:focus > .ps__thumb-y,
  .ps__rail-y:hover > .ps__thumb-y {
    width: 6px;
  }
}
@supports (-ms-overflow-style: none) {
  .ps {
    overflow: auto !important;
  }
}
@media (-ms-high-contrast: none), screen and (-ms-high-contrast: active) {
  .ps {
    overflow: auto !important;
  }
}
.ps__rail-y {
  opacity: 1;
}
@media (hover: hover) {
  .ps__rail-y:hover {
    width: 6px;
  }
  .ps__rail-y:hover .ps__thumb-y {
    background-color: var(--primary-dark);
    display: block;
    width: 6px;
  }
}
.ps__rail-y .ps__thumb-y {
  background-color: var(--primary-dark);
  display: block;
}
@media (hover: hover) {
  .dark-theme #header-menu .ps__rail-y:hover .ps__thumb-y {
    background-color: var(--primary-light);
  }
}
.dark-theme #header-menu .ps__rail-y .ps__thumb-y {
  background-color: var(--primary-light);
}
.dark-theme #header-menu .ps--active-x > .ps__rail-x,
.dark-theme #header-menu .ps--active-y > .ps__rail-y,
.dark-theme #header-menu .ps--focus > .ps__rail-x,
.dark-theme #header-menu .ps--focus > .ps__rail-y,
.dark-theme #header-menu .ps--scrolling-x > .ps__rail-x,
.dark-theme #header-menu .ps--scrolling-y > .ps__rail-y {
  background-color: #564a8c;
}
@media (hover: hover) {
  .dark-theme #header-menu .ps:hover > .ps__rail-x,
  .dark-theme #header-menu .ps:hover > .ps__rail-y {
    background-color: #564a8c;
  }
}
