/* Expanded tools are local-preview only; never restyle the released VAT menu. */
[data-business-tools-expanded-preview] {
  --bt-nav-focus: #ed0b60;
  --bt-nav-track: #ede8f2;
  --bt-nav-thumb: #aa92ca;
}
.nm-services-drop-elem__list[data-business-tools-expanded-preview],
.nm-burger-menu__item > ul > li[data-business-tools-expanded-preview] > ul,
[data-business-tools-expanded-preview] .nm-services-mob-section-elem__list,
.services__item[data-business-tools-expanded-preview] .services-tags__list {
  overflow-y: auto;
  overflow-x: hidden;
  overscroll-behavior-y: contain;
  scrollbar-gutter: stable;
  scrollbar-width: thin;
  scrollbar-color: var(--bt-nav-thumb) var(--bt-nav-track);
  scroll-padding-block: 8px;
  -webkit-overflow-scrolling: touch;
}
.nm-services-drop-elem__list[data-business-tools-expanded-preview] {
  max-height: min(645px, calc(100vh - 330px));
  max-height: min(645px, calc(100dvh - 330px));
  min-height: 120px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  /* A capped scrolling panel must still grow each row to fit its tallest tile. */
  grid-auto-rows: max-content;
  gap: 12px;
  padding: 4px 8px 8px 4px;
  align-content: start;
}
.nm-services-drop-elem__list[data-business-tools-expanded-preview]._is-active {
  display: grid;
}
[data-business-tools-expanded-preview] .nm-services-drop-elem__item {
  display: flex;
  flex-direction: column;
  min-height: 152px;
  width: 100%;
  flex-shrink: 0;
}
[data-business-tools-expanded-preview] .nm-services-drop-elem__item a {
  flex: 1 0 auto;
  height: auto;
  padding: 18px 16px;
  gap: 10px;
}
[data-business-tools-expanded-preview] .nm-services-drop-elem__name {
  /* Keep the description after the last line, not after a stretched title. */
  flex: none;
  font-size: 18px;
  line-height: 1.3;
  overflow-wrap: anywhere;
}
[data-business-tools-expanded-preview] .bt-nav-group {
  color: #6c607d;
  font-size: 12px;
  line-height: 1.4;
}
[data-business-tools-expanded-preview] .nm-services-drop-elem__price {
  margin-top: auto;
  min-height: 32px;
}
[data-business-tools-expanded-preview] .nm-services-drop-elem__price::after {
  width: 40px;
  height: 32px;
}
.nm-services-drop-elem._view-list .nm-services-drop-elem__list[data-business-tools-expanded-preview] {
  grid-template-columns: minmax(0, 1fr);
  grid-auto-rows: minmax(min-content, auto);
}
.nm-services-drop-elem._view-list [data-business-tools-expanded-preview] .nm-services-drop-elem__item {
  min-height: 64px;
}
.nm-services-drop-elem._view-list [data-business-tools-expanded-preview] .nm-services-drop-elem__item a {
  height: auto;
  min-height: 64px;
  padding: 14px 40px 14px 16px;
}
.nm-burger-menu__item > ul > li[data-business-tools-expanded-preview] > ul {
  max-height: min(480px, 50vh);
  max-height: min(480px, 50dvh);
  width: 100%;
  align-items: stretch;
}
.nm-burger-menu__item > ul > li[data-business-tools-expanded-preview] > ul > li {
  flex-shrink: 0;
  width: 100%;
}
.nm-burger-menu__item > ul > li[data-business-tools-expanded-preview] > ul > li > a {
  display: flex;
  align-items: center;
  min-height: 44px;
  overflow-wrap: anywhere;
}
[data-business-tools-expanded-preview] .bt-nav-toggle {
  appearance: none;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  letter-spacing: inherit;
  text-align: left;
  cursor: pointer;
}
.nm-burger-menu__item > ul > li[data-business-tools-expanded-preview] .bt-nav-toggle {
  margin-block: -10px;
}
[data-business-tools-expanded-preview] .nm-services-mob-section__info > p {
  display: flex;
  align-items: center;
  padding-block: 0;
}
[data-business-tools-expanded-preview] .nm-services-elem__name,
[data-business-tools-expanded-preview] .nm-services-mob-section-elem__name {
  overflow-wrap: anywhere;
}
[data-business-tools-expanded-preview] .nm-services-mob-section-elem__list {
  max-height: min(560px, 65vh);
  max-height: min(560px, 65dvh);
  padding: 4px 8px 8px 4px;
}
[data-business-tools-expanded-preview] .nm-services-mob-section-elem__item {
  flex-shrink: 0;
  gap: 12px;
}
.services__item[data-business-tools-expanded-preview] .services-tags__list {
  max-height: 320px;
  padding: 4px 8px 8px 4px;
}
[data-business-tools-expanded-preview] .services-tags__item {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  max-width: 100%;
  white-space: normal;
  overflow-wrap: anywhere;
}
[data-business-tools-expanded-preview] a:focus-visible,
[data-business-tools-expanded-preview] button:focus-visible {
  outline: 3px solid var(--bt-nav-focus);
  outline-offset: -3px;
}
@media (max-height: 650px) and (min-width: 1024px) {
  .nm-services-drop-elem__list[data-business-tools-expanded-preview] {
    max-height: calc(100vh - 290px);
    max-height: calc(100dvh - 290px);
  }
}
