.pnm-quickapps,
.pnm-quickapps * {
  box-sizing: border-box;
}

.pnm-quickapps {
  width: 100%;
  max-width: 998px;
  margin: 38px auto 30px;
  padding: 0 14px;
  font-family: inherit;
}

.pnm-quickapps__heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin: 0 0 14px;
}

.pnm-quickapps__title {
  position: relative;
  margin: 0;
  padding: 2px 0 2px 17px;
  color: #1f2b45;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.35;
  text-transform: uppercase;
}

.pnm-quickapps__title::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 5px;
  height: 100%;
  min-height: 25px;
  border-radius: 999px;
  background: #a52b17;
}

.pnm-quickapps__controls {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: 0 0 auto;
}

.pnm-quickapps__button {
  width: 36px;
  height: 36px;
  padding: 0;
  border: 1px solid #a52b17;
  border-radius: 10px;
  background: #fff;
  color: #a52b17;
  font: 400 26px/1 Arial, sans-serif;
  cursor: pointer;
  transition: background .18s ease, color .18s ease, opacity .18s ease;
}

.pnm-quickapps__button:hover:not(:disabled) {
  background: #a52b17;
  color: #fff;
}

.pnm-quickapps__button:disabled {
  opacity: .35;
  cursor: default;
}

.pnm-quickapps--no-overflow .pnm-quickapps__controls {
  visibility: hidden;
}

.pnm-quickapps__viewport {
  width: 100%;
  overflow-x: auto;
  overflow-y: hidden;
  padding: 3px 2px 9px;
  scrollbar-width: none;
  -ms-overflow-style: none;
  overscroll-behavior-x: contain;
  scroll-behavior: smooth;
}

.pnm-quickapps__viewport::-webkit-scrollbar {
  display: none;
}

.pnm-quickapps__track {
  display: flex;
  align-items: stretch;
  gap: 14px;
  width: max-content;
  min-width: 100%;
  margin: 0;
  padding: 0;
  scroll-snap-type: x proximity;
}

.pnm-quickapps__card {
  display: flex !important;
  flex: 0 0 86px;
  min-height: 118px;
  align-items: center;
  justify-content: flex-start;
  flex-direction: column;
  gap: 10px;
  margin: 0 !important;
  padding: 13px 8px 10px !important;
  border: 1px solid #dfe4eb !important;
  border-radius: 15px;
  background: #fff !important;
  box-shadow: 0 2px 8px rgba(31, 43, 69, .05);
  color: #26334d !important;
  text-decoration: none !important;
  white-space: normal !important;
  overflow: hidden;
  scroll-snap-align: start;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

.pnm-quickapps__card:hover,
.pnm-quickapps__card:focus {
  border-color: #cfd6df !important;
  box-shadow: 0 7px 16px rgba(31, 43, 69, .12);
  transform: translateY(-2px);
  text-decoration: none !important;
}

.pnm-quickapps__icon {
  display: flex;
  width: 48px;
  height: 48px;
  flex: 0 0 48px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: #f3f6fb;
  overflow: hidden;
}

.pnm-quickapps__icon img {
  display: block !important;
  width: auto !important;
  max-width: 36px !important;
  height: auto !important;
  max-height: 36px !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  object-fit: contain;
}

.pnm-quickapps__label {
  display: -webkit-box;
  width: 100%;
  min-height: 29px;
  overflow: hidden;
  color: #29364f;
  font-size: 11.5px;
  font-weight: 500;
  line-height: 1.25;
  text-align: center;
  text-decoration: none !important;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

@media (max-width: 800px) {
  .pnm-quickapps {
    margin: 30px auto 26px;
    padding: 0 11px;
  }

  .pnm-quickapps__heading {
    margin-bottom: 11px;
  }

  .pnm-quickapps__title {
    font-size: 17px;
  }

  .pnm-quickapps__button {
    width: 34px;
    height: 34px;
    border-radius: 9px;
    font-size: 24px;
  }

  .pnm-quickapps__track {
    gap: 10px;
  }

  .pnm-quickapps__card {
    flex-basis: 82px;
    min-height: 112px;
    padding: 11px 7px 9px !important;
    border-radius: 13px;
  }

  .pnm-quickapps__icon {
    width: 44px;
    height: 44px;
    flex-basis: 44px;
  }

  .pnm-quickapps__icon img {
    max-width: 33px !important;
    max-height: 33px !important;
  }
}

@media (max-width: 520px) {
  .pnm-quickapps {
    margin-top: 26px;
    margin-bottom: 22px;
  }

  .pnm-quickapps__heading {
    gap: 10px;
  }

  .pnm-quickapps__title {
    font-size: 16px;
    padding-left: 14px;
  }

  .pnm-quickapps__title::before {
    width: 4px;
    min-height: 22px;
  }

  .pnm-quickapps__controls {
    gap: 6px;
  }

  .pnm-quickapps__button {
    width: 32px;
    height: 32px;
    font-size: 22px;
  }

  .pnm-quickapps__track {
    gap: 9px;
  }

  .pnm-quickapps__card {
    flex-basis: 78px;
    min-height: 106px;
    padding: 10px 6px 8px !important;
    border-radius: 12px;
  }

  .pnm-quickapps__icon {
    width: 42px;
    height: 42px;
    flex-basis: 42px;
  }

  .pnm-quickapps__icon img {
    max-width: 31px !important;
    max-height: 31px !important;
  }

  .pnm-quickapps__label {
    font-size: 11px;
  }
}
