/* Nuoce homepage navigation: compact, square-cornered mega menu with blue focus states. */
:root {
  --jls-nav-blue: #0052d9;
  --jls-nav-ink: #1f2937;
  --jls-nav-muted: #667085;
  --jls-nav-line: #e3eaf2;
  --jls-nav-header-height: 62px;
  --jls-nav-gutter: max(24px, calc((100vw - 1240px) / 2));
}

.tpm-topnav-shell #navigationBar .pls-nav-list { align-items: stretch; }
.tpm-topnav-shell #navigationBar .pls-nav-item__link,
.tpm-topnav-shell #navigationBar .pls-nav-item__trigger {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  height: var(--jls-nav-header-height);
  padding: 0 16px;
  border: 0;
  border-radius: 0;
  background: transparent !important;
  color: var(--jls-nav-ink) !important;
  font-size: 14px;
  font-weight: 500;
  line-height: var(--jls-nav-header-height);
  white-space: nowrap;
}
.tpm-topnav-shell #navigationBar .pls-nav-item__icon { width: 17px; height: 17px; object-fit: contain; }
.tpm-topnav-shell #navigationBar .pls-nav-item__link::after,
.tpm-topnav-shell #navigationBar .pls-nav-item__trigger::after {
  position: absolute;
  right: 16px;
  bottom: 0;
  left: 16px;
  height: 2px;
  background: var(--jls-nav-blue);
  content: "";
  opacity: 0;
  transform: scaleX(.35);
  transition: opacity .16s ease, transform .16s ease;
}
.tpm-topnav-shell #navigationBar .pls-nav-item__link:hover,
.tpm-topnav-shell #navigationBar .pls-nav-item__link:focus-visible,
.tpm-topnav-shell #navigationBar .pls-nav-item.is-current .pls-nav-item__link,
.tpm-topnav-shell #navigationBar .pls-nav-item__trigger:hover,
.tpm-topnav-shell #navigationBar .pls-nav-item__trigger:focus-visible,
.tpm-topnav-shell #navigationBar .pls-nav-item.is-open .pls-nav-item__trigger {
  color: var(--jls-nav-blue) !important;
  background: transparent !important;
}
.tpm-topnav-shell #navigationBar .pls-nav-item__link:hover::after,
.tpm-topnav-shell #navigationBar .pls-nav-item__link:focus-visible::after,
.tpm-topnav-shell #navigationBar .pls-nav-item.is-current .pls-nav-item__link::after,
.tpm-topnav-shell #navigationBar .pls-nav-item__trigger:hover::after,
.tpm-topnav-shell #navigationBar .pls-nav-item__trigger:focus-visible::after,
.tpm-topnav-shell #navigationBar .pls-nav-item.is-open .pls-nav-item__trigger::after {
  opacity: 1;
  transform: scaleX(1);
}

.tpm-topnav-shell #navigationBar .pls-nav-product-item > .pls-nav-mega-dropdown {
  position: fixed !important;
  top: var(--jls-nav-header-height) !important;
  right: 0 !important;
  left: 0 !important;
  z-index: 1200;
  display: flex !important;
  width: 100vw !important;
  max-width: none !important;
  min-height: 0 !important;
  height: auto !important;
  max-height: calc(100vh - var(--jls-nav-header-height)) !important;
  max-height: calc(100dvh - var(--jls-nav-header-height)) !important;
  box-sizing: border-box;
  padding: 0 var(--jls-nav-gutter) !important;
  overflow-x: hidden;
  overflow-y: auto;
  isolation: isolate;
  border: 1px solid var(--jls-nav-line);
  border-radius: 0;
  background: #fff;
  box-shadow: 0 18px 38px rgba(31, 41, 55, .12);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity .16s ease, visibility .16s ease;
  scrollbar-width: thin;
}
.tpm-topnav-shell #navigationBar .pls-nav-product-item > .pls-nav-mega-dropdown::before {
  position: fixed !important;
  inset: var(--jls-nav-header-height) 0 0;
  z-index: 0;
  display: block !important;
  background: rgba(246, 249, 252, .96);
  content: "" !important;
  opacity: 0;
  pointer-events: none;
  transition: opacity .16s ease;
}
.tpm-topnav-shell #navigationBar .pls-nav-product-item:hover > .pls-nav-mega-dropdown,
.tpm-topnav-shell #navigationBar .pls-nav-product-item:focus-within > .pls-nav-mega-dropdown,
.tpm-topnav-shell #navigationBar .pls-nav-product-item.is-open > .pls-nav-mega-dropdown {
  opacity: 1 !important;
  visibility: visible !important;
  pointer-events: auto !important;
}
.tpm-topnav-shell #navigationBar .pls-nav-product-item:hover > .pls-nav-mega-dropdown::before,
.tpm-topnav-shell #navigationBar .pls-nav-product-item:focus-within > .pls-nav-mega-dropdown::before,
.tpm-topnav-shell #navigationBar .pls-nav-product-item.is-open > .pls-nav-mega-dropdown::before { opacity: 1; }
.tpm-topnav-shell #navigationBar .pls-nav-mega-dropdown::after { display: none; }

.tpm-topnav-shell #navigationBar .pls-nav-mega-intro,
.tpm-topnav-shell #navigationBar .pls-nav-mega-content {
  position: relative;
  z-index: 1;
}
.tpm-topnav-shell #navigationBar .pls-nav-mega-intro {
  position: relative;
  display: flex;
  flex: 0 0 240px;
  flex-direction: column;
  align-items: flex-start;
  min-height: 472px;
  box-sizing: border-box;
  padding: 36px 30px 30px 0;
  isolation: isolate;
  background: transparent;
}
.tpm-topnav-shell #navigationBar .pls-nav-mega-intro::before {
  position: absolute;
  inset: -1px 0;
  left: calc(-1 * var(--jls-nav-gutter) - 1px);
  z-index: -1;
  border-right: 1px solid var(--jls-nav-line);
  background: #f4f8fc;
  content: "";
  pointer-events: none;
}
.tpm-topnav-shell #navigationBar .pls-nav-mega-kicker {
  margin: 0 0 12px;
  color: var(--jls-nav-blue);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .04em;
}
.tpm-topnav-shell #navigationBar .pls-nav-mega-intro .pls-nav-dropdown__title {
  color: #111827;
  font-size: 25px;
  font-weight: 650;
  line-height: 34px;
}
.tpm-topnav-shell #navigationBar .pls-nav-mega-intro .pls-nav-dropdown__description {
  margin: 12px 0 0;
  color: #68758a;
  font-size: 13px;
  line-height: 22px;
}
.tpm-topnav-shell #navigationBar .pls-nav-mega-intro__rule {
  width: 32px;
  height: 2px;
  margin-top: 22px;
  background: var(--jls-nav-blue);
}
.tpm-topnav-shell #navigationBar .pls-nav-mega-more {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: auto;
  color: var(--jls-nav-blue);
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
}
.tpm-topnav-shell #navigationBar .pls-nav-mega-more span { transition: transform .16s ease; }
.tpm-topnav-shell #navigationBar .pls-nav-mega-more:hover span { transform: translateX(3px); }

.tpm-topnav-shell #navigationBar .pls-nav-mega-content {
  flex: 1 1 auto;
  min-width: 0;
  padding: 36px 0 30px 32px;
}
.tpm-topnav-shell #navigationBar .pls-nav-mega-featured {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}
.tpm-topnav-shell #navigationBar .pls-nav-mega-featured__card {
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr) 14px;
  gap: 12px;
  align-items: center;
  min-width: 0;
  min-height: 88px;
  box-sizing: border-box;
  padding: 12px;
  border: 1px solid #e1ebf8;
  border-radius: 0;
  background: #f4f8fd;
  color: var(--jls-nav-ink);
  text-decoration: none;
  transition: border-color .16s ease, background-color .16s ease;
}
.tpm-topnav-shell #navigationBar .pls-nav-mega-featured__card:hover,
.tpm-topnav-shell #navigationBar .pls-nav-mega-featured__card:focus-visible {
  border-color: #b8d1f7;
  background: #edf4ff;
}
.tpm-topnav-shell #navigationBar .pls-nav-mega-featured__icon {
  display: grid;
  width: 52px;
  height: 52px;
  place-items: center;
  background: #e8f1fd;
}
.tpm-topnav-shell #navigationBar .pls-nav-mega-featured__icon img {
  width: 38px;
  height: 38px;
  object-fit: contain;
}
.tpm-topnav-shell #navigationBar .pls-nav-mega-featured__copy {
  display: grid;
  gap: 5px;
  min-width: 0;
}
.tpm-topnav-shell #navigationBar .pls-nav-mega-featured__copy strong {
  overflow: hidden;
  color: #172033;
  font-size: 15px;
  font-weight: 650;
  line-height: 21px;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.tpm-topnav-shell #navigationBar .pls-nav-mega-featured__copy small {
  overflow: hidden;
  color: #64748b;
  font-size: 11px;
  line-height: 17px;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.tpm-topnav-shell #navigationBar .pls-nav-mega-featured__arrow {
  color: var(--jls-nav-blue);
  font-size: 17px;
}

.tpm-topnav-shell #navigationBar .pls-nav-mega-groups {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  margin-top: 24px;
  padding-top: 22px;
  border-top: 1px solid var(--jls-nav-line);
}
.tpm-topnav-shell #navigationBar .pls-nav-mega-group {
  min-width: 0;
  padding: 0 22px;
  border-right: 1px solid var(--jls-nav-line);
}
.tpm-topnav-shell #navigationBar .pls-nav-mega-group:first-child { padding-left: 0; }
.tpm-topnav-shell #navigationBar .pls-nav-mega-group:last-child { padding-right: 0; border-right: 0; }
.tpm-topnav-shell #navigationBar .pls-nav-mega-group__head {
  display: grid;
  grid-template-columns: 24px minmax(0, 1fr);
  gap: 8px;
  align-items: center;
}
.tpm-topnav-shell #navigationBar .pls-nav-mega-group__icon {
  width: 22px;
  height: 22px;
  object-fit: contain;
}
.tpm-topnav-shell #navigationBar .pls-nav-mega-group__mark {
  justify-self: start;
  width: 3px;
  height: 22px;
  background: var(--jls-nav-blue);
}
.tpm-topnav-shell #navigationBar .pls-nav-mega-group__title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  color: #1f2937;
  font-size: 15px;
  font-weight: 650;
  line-height: 22px;
  text-decoration: none;
  text-align: left !important;
}
.tpm-topnav-shell #navigationBar .pls-nav-mega-group__title span {
  color: var(--jls-nav-blue);
  font-size: 15px;
}
.tpm-topnav-shell #navigationBar .pls-nav-mega-group__head p {
  grid-column: 1 / -1;
  min-height: 40px;
  margin: 8px 0 13px;
  color: var(--jls-nav-muted);
  font-size: 12px;
  line-height: 20px;
}
.tpm-topnav-shell #navigationBar .pls-nav-mega-links { display: grid; gap: 7px; }
.tpm-topnav-shell #navigationBar .pls-nav-mega-links a {
  display: flex;
  flex-direction: row !important;
  justify-content: flex-start;
  gap: 9px;
  align-items: center;
  min-height: 66px;
  text-align: left !important;
  box-sizing: border-box;
  padding: 11px 12px;
  border: 1px solid #e9eef5;
  border-radius: 0;
  background: #fbfcfe;
  color: #344054;
  text-decoration: none;
  transition: border-color .16s ease, background-color .16s ease, color .16s ease;
}
.tpm-topnav-shell #navigationBar .pls-nav-mega-links a:hover,
.tpm-topnav-shell #navigationBar .pls-nav-mega-links a:focus-visible {
  border-color: #c9dcfa;
  background: #f4f8ff;
  color: var(--jls-nav-blue);
}
.tpm-topnav-shell #navigationBar .pls-nav-mega-link-icon {
  flex: 0 0 20px;
  width: 20px;
  height: 20px;
  object-fit: contain;
}
.tpm-topnav-shell #navigationBar .pls-nav-mega-link-copy { display: grid; gap: 3px; min-width: 0; }
.tpm-topnav-shell #navigationBar .pls-nav-mega-link-copy > span { font-size: 13px; line-height: 19px; }
.tpm-topnav-shell #navigationBar .pls-nav-mega-link-copy small { color: #8290a5; font-size: 11px; line-height: 17px; }
.tpm-topnav-shell #navigationBar .pls-nav-mega-badge { margin-left: 6px; color: var(--jls-nav-blue); font-size: 10px; font-style: normal; }

.tpm-topnav-shell #navigationBar .pls-nav-item__link:focus-visible,
.tpm-topnav-shell #navigationBar .pls-nav-item__trigger:focus-visible,
.tpm-topnav-shell #navigationBar .pls-nav-mega-more:focus-visible,
.tpm-topnav-shell #navigationBar .pls-nav-mega-featured__card:focus-visible,
.tpm-topnav-shell #navigationBar .pls-nav-mega-group__title:focus-visible,
.tpm-topnav-shell #navigationBar .pls-nav-mega-links a:focus-visible {
  outline: 2px solid rgba(0, 82, 217, .38);
  outline-offset: 2px;
}

@media (max-width: 1200px) and (min-width: 769px) {
  .tpm-topnav-shell #navigationBar .pls-nav-item__link,
  .tpm-topnav-shell #navigationBar .pls-nav-item__trigger { padding-right: 10px; padding-left: 10px; font-size: 13px; }
  .tpm-topnav-shell #navigationBar .pls-nav-mega-intro { flex-basis: 210px; padding-right: 22px; }
  .tpm-topnav-shell #navigationBar .pls-nav-mega-content { padding-left: 22px; }
  .tpm-topnav-shell #navigationBar .pls-nav-mega-featured__card { grid-template-columns: 46px minmax(0, 1fr) 12px; gap: 9px; padding: 10px; }
  .tpm-topnav-shell #navigationBar .pls-nav-mega-featured__icon { width: 46px; height: 46px; }
  .tpm-topnav-shell #navigationBar .pls-nav-mega-featured__icon img { width: 34px; height: 34px; }
  .tpm-topnav-shell #navigationBar .pls-nav-mega-group { padding-right: 16px; padding-left: 16px; }
}
@media (max-width: 980px) and (min-width: 769px) {
  .tpm-topnav-shell #navigationBar .pls-nav-mega-featured { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tpm-topnav-shell #navigationBar .pls-nav-mega-groups { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 24px; }
  .tpm-topnav-shell #navigationBar .pls-nav-mega-group:nth-child(2) { border-right: 0; }
  .tpm-topnav-shell #navigationBar .pls-nav-mega-group:nth-child(3) { padding-left: 0; }
}
@media (max-width: 768px) {
  .tpm-topnav-shell #navigationBar .pls-nav-mega-dropdown { display: none !important; }
  .tpm-topnav-shell #navigationBarM .pls-m-nav-menu-trigger,
  .tpm-topnav-shell #navigationBarM .pls-m-nav-menu-item > a,
  .tpm-topnav-shell #navigationBarM .pls-m-nav-submenu__item > a { color: var(--jls-nav-ink); border-radius: 0; }
  .tpm-topnav-shell #navigationBarM .pls-m-nav-menu-item.is-open > .pls-m-nav-menu-trigger,
  .tpm-topnav-shell #navigationBarM .pls-m-nav-submenu__item > a:hover,
  .tpm-topnav-shell #navigationBarM .pls-m-nav-submenu__item > a:focus-visible,
  .tpm-topnav-shell #navigationBarM .pls-m-nav-submenu__item.is-all > a { color: var(--jls-nav-blue); }
  .tpm-topnav-shell #navigationBarM .pls-m-nav-menu-item.is-current > a,
  .tpm-topnav-shell #navigationBarM .pls-m-nav-menu-item.is-open > .pls-m-nav-menu-trigger { color: var(--jls-nav-blue) !important; }
}
.tpm-topnav-shell #navigationBarM .pls-m-nav-icon {
  width: 20px;
  height: 20px;
  margin-right: 10px;
  object-fit: contain;
  vertical-align: middle;
}
.tpm-topnav-shell #navigationBarM .pls-m-nav-submenu__item > a > .pls-m-nav-icon { width: 18px; height: 18px; margin-right: 8px; }

@media (prefers-reduced-motion: reduce) {
  .tpm-topnav-shell #navigationBar .pls-nav-item__link::after,
  .tpm-topnav-shell #navigationBar .pls-nav-item__trigger::after,
  .tpm-topnav-shell #navigationBar .pls-nav-product-item > .pls-nav-mega-dropdown,
  .tpm-topnav-shell #navigationBar .pls-nav-product-item > .pls-nav-mega-dropdown::before,
  .tpm-topnav-shell #navigationBar .pls-nav-mega-more span,
  .tpm-topnav-shell #navigationBar .pls-nav-mega-featured__card,
  .tpm-topnav-shell #navigationBar .pls-nav-mega-links a { transition: none; }
}

/* 2026-10-10 desktop product menu reference pass: text-led catalog, quiet hover states, and a clearer page scrim. */
@media screen and (min-width: 769px) {
  .tpm-topnav-shell #navigationBar .pls-nav-product-item > .pls-nav-item__trigger .pls-nav-item__chevron {
    display: none !important;
  }

  .tpm-topnav-shell #navigationBar .pls-nav-product-item > .pls-nav-mega-dropdown {
    min-height: 452px !important;
    padding: 0 var(--jls-nav-gutter) !important;
    background: rgba(255, 255, 255, .985) !important;
    border-color: #e6edf2 !important;
    box-shadow: 0 18px 40px rgba(34, 59, 74, .14) !important;
  }

  .tpm-topnav-shell #navigationBar .pls-nav-product-item > .pls-nav-mega-dropdown::before {
    display: block !important;
    background: rgba(238, 243, 247, .84) !important;
    opacity: 0 !important;
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
  }
  .tpm-topnav-shell #navigationBar .pls-nav-product-item:hover > .pls-nav-mega-dropdown::before,
  .tpm-topnav-shell #navigationBar .pls-nav-product-item:focus-within > .pls-nav-mega-dropdown::before,
  .tpm-topnav-shell #navigationBar .pls-nav-product-item.is-open > .pls-nav-mega-dropdown::before {
    opacity: 1 !important;
  }

  .tpm-topnav-shell #navigationBar .pls-nav-mega-intro {
    flex: 0 0 238px;
    min-height: 452px;
    padding: 34px 30px 30px 0;
    border-right: 1px solid #e8eef2;
    background: #fff;
  }
  .tpm-topnav-shell #navigationBar .pls-nav-mega-intro::before {
    display: none !important;
  }
  .tpm-topnav-shell #navigationBar .pls-nav-mega-all {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin: 0 0 32px;
    color: #202d35;
    font-size: 19px;
    font-weight: 550;
    line-height: 28px;
    text-decoration: none;
  }
  .tpm-topnav-shell #navigationBar .pls-nav-mega-all > span:last-child {
    color: #667984;
    font-size: 23px;
    font-weight: 400;
    line-height: 20px;
    transition: transform .16s ease, color .16s ease;
  }
  .tpm-topnav-shell #navigationBar .pls-nav-mega-all:hover,
  .tpm-topnav-shell #navigationBar .pls-nav-mega-all:focus-visible {
    color: var(--jls-nav-blue);
  }
  .tpm-topnav-shell #navigationBar .pls-nav-mega-all:hover > span:last-child,
  .tpm-topnav-shell #navigationBar .pls-nav-mega-all:focus-visible > span:last-child {
    color: var(--jls-nav-blue);
    transform: translateX(2px);
  }
  .tpm-topnav-shell #navigationBar .pls-nav-mega-kicker {
    display: block;
    margin: 0 0 12px;
    color: #667984;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: .02em;
  }
  .tpm-topnav-shell #navigationBar .pls-nav-mega-categories {
    display: grid;
    gap: 2px;
    margin: 0;
    padding: 0;
    list-style: none;
  }
  .tpm-topnav-shell #navigationBar .pls-nav-mega-categories li { margin: 0; padding: 0; }
  .tpm-topnav-shell #navigationBar .pls-nav-mega-categories a {
    display: block;
    margin-left: -12px;
    padding: 9px 12px;
    color: #27363e;
    font-size: 14px;
    line-height: 22px;
    text-decoration: none;
    transition: color .16s ease, background-color .16s ease;
  }
  .tpm-topnav-shell #navigationBar .pls-nav-mega-categories a:hover,
  .tpm-topnav-shell #navigationBar .pls-nav-mega-categories a:focus-visible {
    background: #f3f6f8;
    color: var(--jls-nav-blue);
  }
  .tpm-topnav-shell #navigationBar .pls-nav-mega-intro .pls-nav-dropdown__description {
    max-width: 188px;
    margin: auto 0 0;
    color: #83939c;
    font-size: 12px;
    line-height: 20px;
  }
  .tpm-topnav-shell #navigationBar .pls-nav-mega-intro__rule,
  .tpm-topnav-shell #navigationBar .pls-nav-mega-more,
  .tpm-topnav-shell #navigationBar .pls-nav-mega-intro .pls-nav-dropdown__title {
    display: none !important;
  }

  .tpm-topnav-shell #navigationBar .pls-nav-mega-content {
    min-width: 0;
    padding: 34px 0 34px 34px;
  }
  .tpm-topnav-shell #navigationBar .pls-nav-mega-featured {
    display: none !important;
  }
  .tpm-topnav-shell #navigationBar .pls-nav-mega-groups {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    align-items: start;
    gap: 0;
    padding: 0;
  }
  .tpm-topnav-shell #navigationBar .pls-nav-mega-group {
    min-width: 0;
    min-height: 290px;
    padding: 0 24px;
    border-right: 1px solid #e8eef2;
  }
  .tpm-topnav-shell #navigationBar .pls-nav-mega-group:first-child { padding-left: 0; }
  .tpm-topnav-shell #navigationBar .pls-nav-mega-group:last-child {
    padding-right: 0;
    border-right: 0;
  }
  .tpm-topnav-shell #navigationBar .pls-nav-mega-group__head {
    display: block;
    margin: 0 0 16px;
  }
  .tpm-topnav-shell #navigationBar .pls-nav-mega-group__icon,
  .tpm-topnav-shell #navigationBar .pls-nav-mega-group__title > span {
    display: none !important;
  }
  .tpm-topnav-shell #navigationBar .pls-nav-mega-group__title {
    display: inline-block;
    margin: 0;
    color: #202d35;
    font-size: 16px;
    font-weight: 600;
    line-height: 24px;
    text-decoration: none;
  }
  .tpm-topnav-shell #navigationBar .pls-nav-mega-group__title:hover,
  .tpm-topnav-shell #navigationBar .pls-nav-mega-group__title:focus-visible {
    color: var(--jls-nav-blue);
  }
  .tpm-topnav-shell #navigationBar .pls-nav-mega-group__head p {
    max-width: 250px;
    margin: 6px 0 0;
    color: #85959e;
    font-size: 12px;
    line-height: 19px;
  }
  .tpm-topnav-shell #navigationBar .pls-nav-mega-links {
    display: grid;
    gap: 3px;
  }
  .tpm-topnav-shell #navigationBar .pls-nav-mega-links a {
    display: block;
    min-height: 0;
    margin: 0;
    padding: 10px 12px;
    border: 0 !important;
    border-radius: 2px;
    background: transparent !important;
    color: #34454e;
    text-align: left !important;
    text-decoration: none;
    transition: background-color .16s ease, color .16s ease;
  }
  .tpm-topnav-shell #navigationBar .pls-nav-mega-links a:hover,
  .tpm-topnav-shell #navigationBar .pls-nav-mega-links a:focus-visible {
    border-color: transparent !important;
    background: #f1f5f8 !important;
    color: var(--jls-nav-blue);
  }
  .tpm-topnav-shell #navigationBar .pls-nav-mega-link-icon { display: none !important; }
  .tpm-topnav-shell #navigationBar .pls-nav-mega-link-copy {
    display: grid;
    gap: 3px;
    min-width: 0;
  }
  .tpm-topnav-shell #navigationBar .pls-nav-mega-link-copy > span {
    overflow: hidden;
    color: inherit;
    font-size: 13px;
    line-height: 20px;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
  .tpm-topnav-shell #navigationBar .pls-nav-mega-link-copy small {
    overflow: hidden;
    color: #82929b;
    font-size: 11px;
    line-height: 17px;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
  .tpm-topnav-shell #navigationBar .pls-nav-mega-badge {
    margin-left: 6px;
    color: var(--jls-nav-blue);
    font-size: 10px;
    font-style: normal;
  }
}

@media screen and (max-width: 1120px) and (min-width: 769px) {
  .tpm-topnav-shell #navigationBar .pls-nav-mega-intro { flex-basis: 204px; padding-right: 22px; }
  .tpm-topnav-shell #navigationBar .pls-nav-mega-content { padding-left: 24px; }
  .tpm-topnav-shell #navigationBar .pls-nav-mega-group { padding-right: 14px; padding-left: 14px; }
  .tpm-topnav-shell #navigationBar .pls-nav-mega-group:first-child { padding-left: 0; }
  .tpm-topnav-shell #navigationBar .pls-nav-mega-group:last-child { padding-right: 0; }
  .tpm-topnav-shell #navigationBar .pls-nav-mega-link-copy small { display: none; }
}


/* 2026-10-10 desktop product menu balance pass: use the available width, keep the catalog compact, and leave the page visible behind it. */
@media screen and (min-width: 769px) {
  .tpm-topnav-shell #navigationBar .pls-nav-product-item > .pls-nav-mega-dropdown {
    min-height: 380px !important;
    padding-left: clamp(32px, 4vw, 72px) !important;
    padding-right: clamp(32px, 4vw, 72px) !important;
    background: rgba(255, 255, 255, .985) !important;
    box-shadow: 0 16px 34px rgba(34, 59, 74, .13) !important;
  }

  .tpm-topnav-shell #navigationBar .pls-nav-product-item > .pls-nav-mega-dropdown::before {
    background: rgba(221, 230, 237, .48) !important;
    -webkit-backdrop-filter: blur(3px);
    backdrop-filter: blur(3px);
  }

  .tpm-topnav-shell #navigationBar .pls-nav-mega-intro {
    flex: 0 0 220px;
    min-height: 378px;
    box-sizing: border-box;
    padding: 28px 28px 24px 0;
    background: #fbfcfd;
  }

  .tpm-topnav-shell #navigationBar .pls-nav-mega-all {
    margin-bottom: 26px;
    font-size: 18px;
    line-height: 26px;
  }

  .tpm-topnav-shell #navigationBar .pls-nav-mega-categories {
    gap: 0;
  }

  .tpm-topnav-shell #navigationBar .pls-nav-mega-categories a {
    margin-left: -10px;
    padding: 8px 10px;
  }

  .tpm-topnav-shell #navigationBar .pls-nav-mega-intro .pls-nav-dropdown__description {
    max-width: 192px;
    line-height: 19px;
  }

  .tpm-topnav-shell #navigationBar .pls-nav-mega-content {
    display: flex;
    min-width: 0;
    flex: 1 1 auto;
    flex-direction: column;
    box-sizing: border-box;
    padding: 28px 0 24px 30px;
  }

  .tpm-topnav-shell #navigationBar .pls-nav-mega-groups {
    display: grid;
    flex: 1 1 auto;
    min-height: 0;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    align-items: stretch;
    gap: 0;
    margin: 0;
    padding: 0;
    border-top: 0;
  }

  .tpm-topnav-shell #navigationBar .pls-nav-mega-group {
    height: 100%;
    min-height: 0;
    box-sizing: border-box;
    padding: 0 28px;
    border-right: 1px solid #e8eef2;
  }

  .tpm-topnav-shell #navigationBar .pls-nav-mega-group:first-child {
    padding-left: 0;
  }

  .tpm-topnav-shell #navigationBar .pls-nav-mega-group:last-child {
    padding-right: 0;
    border-right: 0;
  }

  .tpm-topnav-shell #navigationBar .pls-nav-mega-group__head {
    margin-bottom: 15px;
  }

  .tpm-topnav-shell #navigationBar .pls-nav-mega-group__head p {
    max-width: 290px;
  }

  .tpm-topnav-shell #navigationBar .pls-nav-mega-links {
    gap: 2px;
  }

  .tpm-topnav-shell #navigationBar .pls-nav-mega-links a {
    padding: 9px 10px;
    border-radius: 0;
  }

  .tpm-topnav-shell #navigationBar .pls-nav-mega-link-copy {
    gap: 2px;
  }

  .tpm-topnav-shell #navigationBar .pls-nav-mega-link-copy > span {
    font-size: 14px;
    line-height: 21px;
  }
}

@media screen and (max-width: 1120px) and (min-width: 769px) {
  .tpm-topnav-shell #navigationBar .pls-nav-product-item > .pls-nav-mega-dropdown {
    min-height: 370px !important;
    padding-left: clamp(24px, 3vw, 48px) !important;
    padding-right: clamp(24px, 3vw, 48px) !important;
  }

  .tpm-topnav-shell #navigationBar .pls-nav-mega-intro {
    flex-basis: 206px;
    min-height: 368px;
    padding-right: 22px;
  }

  .tpm-topnav-shell #navigationBar .pls-nav-mega-content {
    padding-left: 24px;
  }

  .tpm-topnav-shell #navigationBar .pls-nav-mega-group {
    padding-right: 16px;
    padding-left: 16px;
  }

  .tpm-topnav-shell #navigationBar .pls-nav-mega-group:first-child {
    padding-left: 0;
  }

  .tpm-topnav-shell #navigationBar .pls-nav-mega-group:last-child {
    padding-right: 0;
  }

  .tpm-topnav-shell #navigationBar .pls-nav-mega-link-copy small {
    display: none;
  }
}

@media screen and (max-width: 980px) and (min-width: 769px) {
  .tpm-topnav-shell #navigationBar .pls-nav-product-item > .pls-nav-mega-dropdown {
    min-height: 438px !important;
  }

  .tpm-topnav-shell #navigationBar .pls-nav-mega-intro {
    min-height: 436px;
  }

  .tpm-topnav-shell #navigationBar .pls-nav-mega-groups {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    row-gap: 24px;
  }

  .tpm-topnav-shell #navigationBar .pls-nav-mega-group {
    height: auto;
    min-height: 190px;
  }

  .tpm-topnav-shell #navigationBar .pls-nav-mega-group:nth-child(2) {
    border-right: 0;
  }

  .tpm-topnav-shell #navigationBar .pls-nav-mega-group:nth-child(3) {
    padding-left: 0;
  }
}
/* 2026-10-10 product catalog reference pass: a Nuoce-owned three-zone menu with category navigation, product catalog, and service updates. */
@media screen and (min-width: 769px) {
  .tpm-topnav-shell #navigationBar .pls-nav-product-item > .pls-nav-mega-dropdown {
    top: 62px !important;
    height: min(660px, calc(100dvh - 62px)) !important;
    min-height: 0 !important;
    max-height: none !important;
    padding: 0 !important;
    overflow: hidden !important;
    background: rgba(255, 255, 255, .72) !important;
    border: 0 !important;
    box-shadow: 0 18px 36px rgba(24, 47, 61, .16) !important;
  }

  .tpm-topnav-shell #navigationBar .pls-nav-product-item > .pls-nav-mega-dropdown::before {
    inset: 0 !important;
    background: rgba(222, 230, 237, .58) !important;
    -webkit-backdrop-filter: blur(5px);
    backdrop-filter: blur(5px);
  }

  .tpm-topnav-shell #navigationBar .ncs-product-panel {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 220px minmax(0, 1fr) 318px;
    width: min(1640px, calc(100vw - 72px));
    height: 100%;
    margin: 0 auto;
    box-sizing: border-box;
    background: #fff;
    border-left: 1px solid #e8edf1;
    border-right: 1px solid #e8edf1;
  }

  .tpm-topnav-shell #navigationBar .ncs-product-sidebar {
    min-width: 0;
    box-sizing: border-box;
    padding: 34px 20px 28px 0;
    border-right: 1px solid #e8edf1;
    background: #fff;
  }

  .tpm-topnav-shell #navigationBar .ncs-product-all {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    width: 100%;
    margin: 0 0 35px;
    padding: 0;
    color: #202b32;
    font-size: 19px;
    font-weight: 600;
    line-height: 28px;
    text-decoration: none;
  }

  .tpm-topnav-shell #navigationBar .ncs-product-all > span:last-child {
    color: #647984;
    font-size: 24px;
    font-weight: 400;
    line-height: 22px;
    transition: transform .16s ease, color .16s ease;
  }

  .tpm-topnav-shell #navigationBar .ncs-product-all:hover,
  .tpm-topnav-shell #navigationBar .ncs-product-all:focus-visible {
    color: var(--jls-nav-blue);
  }

  .tpm-topnav-shell #navigationBar .ncs-product-all:hover > span:last-child,
  .tpm-topnav-shell #navigationBar .ncs-product-all:focus-visible > span:last-child {
    color: var(--jls-nav-blue);
    transform: translateX(3px);
  }

  .tpm-topnav-shell #navigationBar .ncs-product-side-title {
    position: relative;
    width: fit-content;
    margin: 0 0 13px;
    padding-bottom: 11px;
    color: #202b32;
    font-size: 14px;
    font-weight: 600;
    line-height: 20px;
  }

  .tpm-topnav-shell #navigationBar .ncs-product-side-title::after {
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    height: 2px;
    background: var(--jls-nav-blue);
    content: "";
  }

  .tpm-topnav-shell #navigationBar .ncs-product-side-list {
    display: grid;
    gap: 2px;
    margin: 0;
    padding: 0;
    list-style: none;
  }

  .tpm-topnav-shell #navigationBar .ncs-product-side-list li { margin: 0; padding: 0; }

  .tpm-topnav-shell #navigationBar .ncs-product-side-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 38px;
    box-sizing: border-box;
    margin-left: -10px;
    padding: 8px 10px;
    color: #27363e;
    font-size: 14px;
    line-height: 22px;
    text-decoration: none;
    transition: background-color .16s ease, color .16s ease;
  }

  .tpm-topnav-shell #navigationBar .ncs-product-side-link:hover,
  .tpm-topnav-shell #navigationBar .ncs-product-side-link:focus-visible {
    background: #f3f6f8;
    color: var(--jls-nav-blue);
  }

  .tpm-topnav-shell #navigationBar .ncs-product-side-link em,
  .tpm-topnav-shell #navigationBar .ncs-product-entry-copy em {
    margin-left: 6px;
    color: #f05a5a;
    font-size: 10px;
    font-style: normal;
    font-weight: 600;
  }

  .tpm-topnav-shell #navigationBar .ncs-product-side-note {
    max-width: 188px;
    margin: auto 0 0;
    color: #82919a;
    font-size: 12px;
    line-height: 20px;
  }

  .tpm-topnav-shell #navigationBar .ncs-product-catalog {
    min-width: 0;
    box-sizing: border-box;
    padding: 36px 30px 25px 34px;
    overflow: hidden;
  }

  .tpm-topnav-shell #navigationBar .ncs-product-toolbar {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
    margin-bottom: 22px;
  }

  .tpm-topnav-shell #navigationBar .ncs-product-search {
    position: relative;
    display: block;
    flex: 0 0 340px;
    min-width: 0;
  }

  .tpm-topnav-shell #navigationBar .ncs-product-search input {
    display: block;
    width: 100%;
    height: 36px;
    box-sizing: border-box;
    padding: 0 36px 0 13px;
    border: 1px solid #e3e8ed;
    border-radius: 0;
    outline: 0;
    background: #f7f8fa;
    color: #26333b;
    font: inherit;
    font-size: 12px;
    line-height: 36px;
    transition: border-color .16s ease, background-color .16s ease;
  }

  .tpm-topnav-shell #navigationBar .ncs-product-search input:focus {
    border-color: #b7cdea;
    background: #fff;
  }

  .tpm-topnav-shell #navigationBar .ncs-product-search input::placeholder { color: #8a9aa3; }

  .tpm-topnav-shell #navigationBar .ncs-product-search-icon {
    position: absolute;
    top: 12px;
    right: 13px;
    width: 12px;
    height: 12px;
    box-sizing: border-box;
    border: 2px solid #34434c;
    border-radius: 50%;
    pointer-events: none;
  }

  .tpm-topnav-shell #navigationBar .ncs-product-search-icon::after {
    position: absolute;
    right: -5px;
    bottom: -3px;
    width: 6px;
    height: 2px;
    background: #34434c;
    content: "";
    transform: rotate(45deg);
    transform-origin: left center;
  }

  .tpm-topnav-shell #navigationBar .ncs-product-shortcuts {
    display: flex;
    flex: 1 1 auto;
    min-width: 0;
    gap: 10px;
    overflow: hidden;
  }

  .tpm-topnav-shell #navigationBar .ncs-product-chip {
    display: block;
    flex: 0 0 auto;
    max-width: 150px;
    overflow: hidden;
    padding: 9px 12px;
    background: #eef2f6;
    color: #36434b;
    font-size: 12px;
    line-height: 18px;
    text-overflow: ellipsis;
    white-space: nowrap;
    text-decoration: none;
    transition: background-color .16s ease, color .16s ease;
  }

  .tpm-topnav-shell #navigationBar .ncs-product-chip:hover,
  .tpm-topnav-shell #navigationBar .ncs-product-chip:focus-visible {
    background: #e2ebf8;
    color: var(--jls-nav-blue);
  }

  .tpm-topnav-shell #navigationBar .ncs-product-section-title {
    margin: 0 0 24px;
  }

  .tpm-topnav-shell #navigationBar .ncs-product-section-title h3 {
    margin: 0;
    color: #202b32;
    font-size: 18px;
    font-weight: 600;
    line-height: 26px;
  }

  .tpm-topnav-shell #navigationBar .ncs-product-columns {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    align-items: start;
    gap: 30px 36px;
    max-height: 410px;
    overflow: auto;
    scrollbar-width: thin;
  }

  .tpm-topnav-shell #navigationBar .ncs-product-column[hidden],
  .tpm-topnav-shell #navigationBar .ncs-product-entry[hidden] { display: none !important; }

  .tpm-topnav-shell #navigationBar .ncs-product-column-title {
    display: block;
    overflow: hidden;
    color: #2a3840;
    font-size: 14px;
    font-weight: 600;
    line-height: 22px;
    text-overflow: ellipsis;
    white-space: nowrap;
    text-decoration: none;
  }

  .tpm-topnav-shell #navigationBar .ncs-product-column-title:hover,
  .tpm-topnav-shell #navigationBar .ncs-product-column-title:focus-visible { color: var(--jls-nav-blue); }

  .tpm-topnav-shell #navigationBar .ncs-product-column-description {
    min-height: 19px;
    margin: 5px 0 17px;
    color: #84939b;
    font-size: 11px;
    line-height: 19px;
  }

  .tpm-topnav-shell #navigationBar .ncs-product-entry-list {
    display: grid;
    gap: 2px;
  }

  .tpm-topnav-shell #navigationBar .ncs-product-subcategory {
    min-width: 0;
    margin: 18px 0 0;
    padding-top: 14px;
    border-top: 1px solid #eef2f5;
  }

  .tpm-topnav-shell #navigationBar .ncs-product-subcategory:first-of-type {
    margin-top: 2px;
    padding-top: 0;
    border-top: 0;
  }

  .tpm-topnav-shell #navigationBar .ncs-product-subcategory-title {
    display: block;
    overflow: hidden;
    color: #34444d;
    font-size: 12px;
    font-weight: 600;
    line-height: 20px;
    text-overflow: ellipsis;
    white-space: nowrap;
    text-decoration: none;
  }

  .tpm-topnav-shell #navigationBar .ncs-product-subcategory-title:hover,
  .tpm-topnav-shell #navigationBar .ncs-product-subcategory-title:focus-visible { color: var(--jls-nav-blue); }

  .tpm-topnav-shell #navigationBar .ncs-product-subcategory-description {
    margin: 3px 0 7px;
    overflow: hidden;
    color: #8b99a1;
    font-size: 10px;
    line-height: 16px;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .tpm-topnav-shell #navigationBar .ncs-product-entry {
    display: block;
    min-width: 0;
    margin: 0;
    padding: 8px;
    color: #35454d;
    text-decoration: none;
    transition: background-color .16s ease, color .16s ease;
  }

  .tpm-topnav-shell #navigationBar .ncs-product-entry:hover,
  .tpm-topnav-shell #navigationBar .ncs-product-entry:focus-visible {
    background: #f3f6f8;
    color: var(--jls-nav-blue);
  }

  .tpm-topnav-shell #navigationBar .ncs-product-entry-copy {
    display: grid;
    gap: 2px;
    min-width: 0;
  }

  .tpm-topnav-shell #navigationBar .ncs-product-entry-copy strong {
    overflow: hidden;
    color: inherit;
    font-size: 13px;
    font-weight: 500;
    line-height: 20px;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .tpm-topnav-shell #navigationBar .ncs-product-entry-copy small {
    overflow: hidden;
    color: #82919a;
    font-size: 11px;
    line-height: 17px;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .tpm-topnav-shell #navigationBar .ncs-product-latest {
    display: flex;
    align-items: center;
    gap: 25px;
    min-height: 42px;
    margin-top: 25px;
    padding-top: 15px;
    border-top: 1px solid #e9eef2;
    overflow: hidden;
    white-space: nowrap;
  }

  .tpm-topnav-shell #navigationBar .ncs-product-latest-title {
    color: #2a3840;
    font-size: 13px;
    font-weight: 600;
  }

  .tpm-topnav-shell #navigationBar .ncs-product-latest a {
    overflow: hidden;
    color: #61737e;
    font-size: 12px;
    line-height: 18px;
    text-overflow: ellipsis;
    text-decoration: none;
  }

  .tpm-topnav-shell #navigationBar .ncs-product-latest a:hover,
  .tpm-topnav-shell #navigationBar .ncs-product-latest a:focus-visible { color: var(--jls-nav-blue); }

  .tpm-topnav-shell #navigationBar .ncs-product-aside {
    min-width: 0;
    box-sizing: border-box;
    padding: 36px 0 25px 28px;
    border-left: 1px solid #e8edf1;
    background: #fff;
  }

  .tpm-topnav-shell #navigationBar .ncs-product-promo {
    position: relative;
    display: block;
    height: 181px;
    overflow: hidden;
    background: #e2f6f2;
    color: #1d2d30;
    text-decoration: none;
  }

  .tpm-topnav-shell #navigationBar .ncs-product-promo::after {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(226, 246, 242, .98) 0%, rgba(226, 246, 242, .74) 49%, rgba(226, 246, 242, .05) 100%);
    content: "";
    pointer-events: none;
  }

  .tpm-topnav-shell #navigationBar .ncs-product-promo-copy {
    position: relative;
    z-index: 2;
    display: grid;
    gap: 9px;
    width: 68%;
    box-sizing: border-box;
    padding: 22px 0 18px 18px;
  }

  .tpm-topnav-shell #navigationBar .ncs-product-promo-copy small {
    color: #387e7e;
    font-size: 11px;
    line-height: 18px;
  }

  .tpm-topnav-shell #navigationBar .ncs-product-promo-copy strong {
    color: #16313b;
    font-size: 17px;
    font-weight: 500;
    line-height: 24px;
  }

  .tpm-topnav-shell #navigationBar .ncs-product-promo-copy > span {
    color: #4c7077;
    font-size: 11px;
    line-height: 18px;
  }

  .tpm-topnav-shell #navigationBar .ncs-product-promo > img {
    position: absolute;
    right: -10px;
    bottom: -22px;
    z-index: 1;
    width: 61%;
    height: 150%;
    object-fit: cover;
    object-position: center;
    opacity: .74;
    mix-blend-mode: multiply;
  }

  .tpm-topnav-shell #navigationBar .ncs-product-news {
    margin-top: 18px;
    padding: 20px 16px 12px;
    border: 1px solid #e3e9ed;
    background: #fff;
  }

  .tpm-topnav-shell #navigationBar .ncs-product-news-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 14px;
  }

  .tpm-topnav-shell #navigationBar .ncs-product-news-heading strong {
    color: #2a3840;
    font-size: 16px;
    font-weight: 600;
    line-height: 24px;
  }

  .tpm-topnav-shell #navigationBar .ncs-product-news-heading a {
    color: #687983;
    font-size: 22px;
    line-height: 20px;
    text-decoration: none;
  }

  .tpm-topnav-shell #navigationBar .ncs-product-news-item {
    display: grid;
    grid-template-columns: 8px minmax(0, 1fr);
    gap: 10px;
    min-width: 0;
    padding: 10px 0;
    color: #465861;
    text-decoration: none;
  }

  .tpm-topnav-shell #navigationBar .ncs-product-news-item i {
    width: 5px;
    height: 5px;
    margin-top: 7px;
    border-radius: 50%;
    background: #c9d4da;
  }

  .tpm-topnav-shell #navigationBar .ncs-product-news-item span {
    display: grid;
    gap: 3px;
    min-width: 0;
  }

  .tpm-topnav-shell #navigationBar .ncs-product-news-item strong,
  .tpm-topnav-shell #navigationBar .ncs-product-news-item small {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .tpm-topnav-shell #navigationBar .ncs-product-news-item strong {
    color: #36464f;
    font-size: 12px;
    font-weight: 500;
    line-height: 19px;
  }

  .tpm-topnav-shell #navigationBar .ncs-product-news-item small {
    color: #87969e;
    font-size: 11px;
    line-height: 17px;
  }

  .tpm-topnav-shell #navigationBar .ncs-product-news-item:hover strong,
  .tpm-topnav-shell #navigationBar .ncs-product-news-item:focus-visible strong { color: var(--jls-nav-blue); }
}

@media screen and (max-width: 1180px) and (min-width: 769px) {
  .tpm-topnav-shell #navigationBar .ncs-product-panel { grid-template-columns: 190px minmax(0, 1fr); width: calc(100vw - 48px); }
  .tpm-topnav-shell #navigationBar .ncs-product-aside { display: none; }
  .tpm-topnav-shell #navigationBar .ncs-product-catalog { padding-right: 26px; }
  .tpm-topnav-shell #navigationBar .ncs-product-search { flex-basis: 260px; }
  .tpm-topnav-shell #navigationBar .ncs-product-columns { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media screen and (max-width: 980px) and (min-width: 769px) {
  .tpm-topnav-shell #navigationBar .ncs-product-panel { width: calc(100vw - 32px); grid-template-columns: 175px minmax(0, 1fr); }
  .tpm-topnav-shell #navigationBar .ncs-product-sidebar { padding-right: 15px; }
  .tpm-topnav-shell #navigationBar .ncs-product-catalog { padding: 28px 20px 22px 24px; }
  .tpm-topnav-shell #navigationBar .ncs-product-toolbar { align-items: stretch; flex-direction: column; }
  .tpm-topnav-shell #navigationBar .ncs-product-search { flex-basis: auto; width: 100%; }
  .tpm-topnav-shell #navigationBar .ncs-product-shortcuts { width: 100%; }
  .tpm-topnav-shell #navigationBar .ncs-product-columns { gap: 22px 20px; }
  .tpm-topnav-shell #navigationBar .ncs-product-column-description { display: none; }
}
/* 2026-10-10 product menu edge-to-edge correction: keep the backdrop full-bleed and constrain only the inner content width. */
@media screen and (min-width: 1181px) {
  .tpm-topnav-shell #navigationBar .ncs-product-panel {
    width: 100%;
    max-width: none;
    margin: 0;
    padding-right: max(36px, calc((100vw - 1640px) / 2));
    padding-left: max(36px, calc((100vw - 1640px) / 2));
    box-sizing: border-box;
    border-right: 0;
    border-left: 0;
  }
}

@media screen and (max-width: 1180px) and (min-width: 981px) {
  .tpm-topnav-shell #navigationBar .ncs-product-panel {
    width: 100%;
    max-width: none;
    margin: 0;
    padding-right: 24px;
    padding-left: 24px;
    box-sizing: border-box;
    border-right: 0;
    border-left: 0;
  }
}

@media screen and (max-width: 980px) and (min-width: 769px) {
  .tpm-topnav-shell #navigationBar .ncs-product-panel {
    width: 100%;
    max-width: none;
    margin: 0;
    padding-right: 16px;
    padding-left: 16px;
    box-sizing: border-box;
    border-right: 0;
    border-left: 0;
  }
}

/* 2026-10-10 product menu edge coverage pass: make the grid itself carry the outer gutters so both viewport edges are part of the menu surface. */
@media screen and (min-width: 1181px) {
  .tpm-topnav-shell #navigationBar .pls-nav-product-item > .pls-nav-mega-dropdown {
    width: auto !important;
  }

  .tpm-topnav-shell #navigationBar .ncs-product-panel {
    width: 100%;
    max-width: none;
    margin: 0;
    padding: 0;
    grid-template-columns:
      minmax(220px, calc(max(36px, (100vw - 1640px) / 2) + 220px))
      minmax(0, 1fr)
      minmax(318px, calc(max(36px, (100vw - 1640px) / 2) + 318px));
    box-sizing: border-box;
    border-right: 0;
    border-left: 0;
  }

  .tpm-topnav-shell #navigationBar .ncs-product-sidebar {
    padding-left: max(36px, calc((100vw - 1640px) / 2));
  }

  .tpm-topnav-shell #navigationBar .ncs-product-aside {
    padding-right: max(36px, calc((100vw - 1640px) / 2));
  }
}

@media screen and (max-width: 1180px) and (min-width: 981px) {
  .tpm-topnav-shell #navigationBar .pls-nav-product-item > .pls-nav-mega-dropdown {
    width: auto !important;
  }

  .tpm-topnav-shell #navigationBar .ncs-product-panel {
    width: 100%;
    max-width: none;
    margin: 0;
    padding: 0;
    grid-template-columns: 214px minmax(0, 1fr);
    box-sizing: border-box;
    border-right: 0;
    border-left: 0;
  }

  .tpm-topnav-shell #navigationBar .ncs-product-sidebar {
    padding-left: 24px;
  }
}

@media screen and (max-width: 980px) and (min-width: 769px) {
  .tpm-topnav-shell #navigationBar .pls-nav-product-item > .pls-nav-mega-dropdown {
    width: auto !important;
  }

  .tpm-topnav-shell #navigationBar .ncs-product-panel {
    width: 100%;
    max-width: none;
    margin: 0;
    padding: 0;
    grid-template-columns: 191px minmax(0, 1fr);
    box-sizing: border-box;
    border-right: 0;
    border-left: 0;
  }

  .tpm-topnav-shell #navigationBar .ncs-product-sidebar {
    padding-left: 16px;
  }
}

/* Keep the overlay flush to the real layout viewport when the browser reserves a vertical scrollbar. */
@media screen and (min-width: 769px) {
  .tpm-topnav-shell #navigationBar .pls-nav-product-item > .pls-nav-mega-dropdown {
    width: 100% !important;
  }
}

/* 2026-10-10 final edge-to-edge pass: the fixed dropdown must cover the complete visual viewport, including wide desktop gutters. */
@media screen and (min-width: 769px) {
  .tpm-topnav-shell #navigationBar .pls-nav-product-item > .pls-nav-mega-dropdown {
    width: 100vw !important;
    max-width: 100vw !important;
    left: 0 !important;
    right: auto !important;
  }
}


/* 2026-10-11 navigation polish: keep the scrim below the menu, align activity underline to its label, and quiet the promo card. */
@media screen and (min-width: 769px) {
  /* The activity item also contains a NEW badge. The active rule belongs to the text only. */
  .tpm-topnav-shell #navigationBar .pls-nav-item__link::after,
  .tpm-topnav-shell #navigationBar .pls-nav-item__trigger::after {
    display: none !important;
    content: none !important;
  }

  .tpm-topnav-shell #navigationBar .pls-nav-item__label {
    position: relative;
    display: inline-flex;
    align-items: center;
    align-self: stretch;
  }

  .tpm-topnav-shell #navigationBar .pls-nav-item__label::after {
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    height: 2px;
    background: var(--jls-nav-blue);
    content: "";
    opacity: 0;
    transform: scaleX(.35);
    transition: opacity .16s ease, transform .16s ease;
  }

  .tpm-topnav-shell #navigationBar .pls-nav-item__link:hover .pls-nav-item__label::after,
  .tpm-topnav-shell #navigationBar .pls-nav-item__link:focus-visible .pls-nav-item__label::after,
  .tpm-topnav-shell #navigationBar .pls-nav-item.is-current .pls-nav-item__label::after,
  .tpm-topnav-shell #navigationBar .pls-nav-item__trigger:hover .pls-nav-item__label::after,
  .tpm-topnav-shell #navigationBar .pls-nav-item__trigger:focus-visible .pls-nav-item__label::after,
  .tpm-topnav-shell #navigationBar .pls-nav-item.is-open .pls-nav-item__label::after {
    opacity: 1;
    transform: scaleX(1);
  }

  /* The panel intentionally stops at the viewport when it is short; the page below it is softly obscured. */
  body::after {
    position: fixed;
    top: min(722px, 100dvh);
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 1999;
    background: rgba(241, 245, 248, .62);
    -webkit-backdrop-filter: blur(9px);
    backdrop-filter: blur(9px);
    content: "";
    opacity: 0;
    pointer-events: none;
    transition: opacity .16s ease;
  }

  body:has(.pls-nav-product-item:hover)::after,
  body:has(.pls-nav-product-item:focus-within)::after,
  body:has(.pls-nav-product-item.is-open)::after {
    opacity: 1;
  }

  .tpm-topnav-shell #navigationBar .ncs-product-promo {
    box-sizing: border-box;
    height: 181px;
    border: 1px solid #dcebea;
    background: #edf5f5;
    box-shadow: 0 5px 14px rgba(34, 74, 75, .06);
  }

  .tpm-topnav-shell #navigationBar .ncs-product-promo::after {
    background: linear-gradient(90deg, rgba(237, 245, 245, .99) 0%, rgba(237, 245, 245, .96) 38%, rgba(237, 245, 245, .48) 67%, rgba(237, 245, 245, .06) 100%);
  }

  .tpm-topnav-shell #navigationBar .ncs-product-promo-copy {
    width: 58%;
    padding: 22px 0 18px 18px;
  }

  .tpm-topnav-shell #navigationBar .ncs-product-promo-copy strong {
    font-size: 16px;
    line-height: 23px;
  }

  .tpm-topnav-shell #navigationBar .ncs-product-promo-copy > span {
    max-width: 142px;
  }

  .tpm-topnav-shell #navigationBar .ncs-product-promo > img {
    right: 0;
    bottom: 0;
    width: 58%;
    height: 100%;
    object-fit: cover;
    object-position: 86% center;
    opacity: .84;
    mix-blend-mode: multiply;
  }
}
/* 2026-10-12 mobile menu cleanup: keep one scroll container and hide its native scrollbar.
   The page itself is locked while the menu is open, so the side panel is the only
   intended scrolling surface; this removes the extra inner scrollbar shown on phones. */
@media screen and (max-width: 768px) {
  .tpm-topnav-shell #navigationBarM .pls-m-nav-dropdown:not(.user),
  .tpm-topnav-shell #navigationBarM .pls-m-nav-side,
  .tpm-topnav-shell #navigationBarM .pls-m-nav-side-bd {
    overflow-y: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
  }
  .tpm-topnav-shell #navigationBarM .pls-m-nav-dropdown:not(.user)::-webkit-scrollbar,
  .tpm-topnav-shell #navigationBarM .pls-m-nav-side::-webkit-scrollbar,
  .tpm-topnav-shell #navigationBarM .pls-m-nav-side-bd::-webkit-scrollbar {
    width: 0;
    height: 0;
    display: none;
  }
}

/* 2026-10-21 product mega menu: database-backed catalog grid and editable featured products. */
@media screen and (min-width: 769px) {
  .tpm-topnav-shell #navigationBar .pls-nav-product-item > .pls-nav-mega-dropdown {
    height: min(660px, calc(100dvh - 62px)) !important;
    background: #fff !important;
    box-shadow: 0 18px 42px rgba(24, 47, 61, .16) !important;
  }

  .tpm-topnav-shell #navigationBar .ncs-product-side-title--categories { margin-top: 22px; }

  .tpm-topnav-shell #navigationBar .pls-nav-product-item > .pls-nav-mega-dropdown::before {
    background: rgba(255, 255, 255, .94) !important;
    -webkit-backdrop-filter: blur(3px);
    backdrop-filter: blur(3px);
  }

  .tpm-topnav-shell #navigationBar .ncs-product-panel {
    grid-template-columns: 220px minmax(0, 1fr) 320px;
    width: 100%;
    max-width: 1800px;
    padding-right: clamp(28px, calc((100vw - 1680px) / 2), 120px);
    padding-left: clamp(28px, calc((100vw - 1680px) / 2), 120px);
    border: 0;
    background: #fff;
  }

  .tpm-topnav-shell #navigationBar .ncs-product-sidebar {
    padding: 32px 20px 26px 0;
    overflow-y: auto;
    scrollbar-width: thin;
  }

  .tpm-topnav-shell #navigationBar .ncs-product-catalog {
    min-height: 0;
    padding: 30px 30px 24px;
    overflow: auto;
    scrollbar-width: thin;
  }

  .tpm-topnav-shell #navigationBar .ncs-product-toolbar {
    margin-bottom: 22px;
  }

  .tpm-topnav-shell #navigationBar .ncs-product-shortcuts {
    gap: 8px;
  }

  .tpm-topnav-shell #navigationBar .ncs-product-chip {
    padding: 8px 12px;
    background: #f0f3f6;
  }

  .tpm-topnav-shell #navigationBar .ncs-product-section-title {
    margin-bottom: 14px;
  }

  .tpm-topnav-shell #navigationBar .ncs-product-columns {
    display: block;
    max-height: none;
    overflow: visible;
  }

  .tpm-topnav-shell #navigationBar .ncs-product-column {
    min-width: 0;
    margin: 0 0 20px;
  }

  .tpm-topnav-shell #navigationBar .ncs-product-column-title {
    font-size: 14px;
    font-weight: 600;
  }

  .tpm-topnav-shell #navigationBar .ncs-product-column-description {
    min-height: 0;
    margin: 3px 0 0;
  }

  .tpm-topnav-shell #navigationBar .ncs-product-subcategories {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    align-items: start;
    gap: 18px 22px;
    margin-top: 14px;
  }

  .tpm-topnav-shell #navigationBar .ncs-product-subcategory,
  .tpm-topnav-shell #navigationBar .ncs-product-subcategory:first-of-type {
    min-width: 0;
    margin: 0;
    padding: 11px 0 0;
    border-top: 1px solid #edf1f4;
  }

  .tpm-topnav-shell #navigationBar .ncs-product-subcategory-title {
    color: #2a3840;
    font-size: 13px;
    line-height: 21px;
  }

  .tpm-topnav-shell #navigationBar .ncs-product-subcategory-description {
    margin-bottom: 5px;
  }

  .tpm-topnav-shell #navigationBar .ncs-product-entry-list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 2px 8px;
    margin-top: 5px;
  }

  .tpm-topnav-shell #navigationBar .ncs-product-entry {
    padding: 8px 7px;
  }

  .tpm-topnav-shell #navigationBar .ncs-product-entry-copy strong {
    font-weight: 500;
  }

  .tpm-topnav-shell #navigationBar .ncs-product-latest {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    align-items: start;
    gap: 8px 12px;
    margin-top: 8px;
    padding-top: 16px;
    overflow: visible;
    white-space: normal;
  }

  .tpm-topnav-shell #navigationBar .ncs-product-latest-title {
    grid-column: 1 / -1;
    margin-bottom: 2px;
    font-size: 16px;
    line-height: 24px;
  }

  .tpm-topnav-shell #navigationBar .ncs-product-latest-item {
    display: grid;
    grid-template-columns: 30px minmax(0, 1fr);
    align-items: start;
    gap: 8px;
    min-height: 54px;
    box-sizing: border-box;
    padding: 8px 6px;
    background: #fff;
  }

  .tpm-topnav-shell #navigationBar .ncs-product-latest-icon {
    display: grid;
    width: 28px;
    height: 28px;
    place-items: center;
    background: #eef4fb;
  }

  .tpm-topnav-shell #navigationBar .ncs-product-latest-icon img {
    display: block;
    width: 20px;
    height: 20px;
    object-fit: contain;
  }

  .tpm-topnav-shell #navigationBar .ncs-product-latest-copy {
    display: grid;
    min-width: 0;
    gap: 3px;
  }

  .tpm-topnav-shell #navigationBar .ncs-product-latest-copy strong {
    overflow: hidden;
    color: #35454d;
    font-size: 12px;
    font-weight: 500;
    line-height: 19px;
    text-overflow: ellipsis;
  }

  .tpm-topnav-shell #navigationBar .ncs-product-latest-copy small {
    display: -webkit-box;
    overflow: hidden;
    color: #82919a;
    font-size: 11px;
    line-height: 17px;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
  }

  .tpm-topnav-shell #navigationBar .ncs-product-latest-item:hover,
  .tpm-topnav-shell #navigationBar .ncs-product-latest-item:focus-visible {
    background: #f5f8fb;
    color: var(--jls-nav-blue);
  }

  .tpm-topnav-shell #navigationBar .ncs-product-aside {
    padding: 30px 0 24px 24px;
  }

  .tpm-topnav-shell #navigationBar .ncs-product-promo {
    height: 182px;
    background: #eaf7f4;
  }

  .tpm-topnav-shell #navigationBar .ncs-product-promo::after {
    background: linear-gradient(90deg, rgba(234, 247, 244, .99) 0%, rgba(234, 247, 244, .92) 56%, rgba(234, 247, 244, .12) 100%);
  }

  .tpm-topnav-shell #navigationBar .ncs-product-promo-copy {
    width: 74%;
  }

  .tpm-topnav-shell #navigationBar .ncs-product-promo > img {
    right: 18px;
    bottom: 16px;
    width: 78px;
    height: 78px;
    object-fit: contain;
    opacity: .82;
    mix-blend-mode: multiply;
  }

  .tpm-topnav-shell #navigationBar .ncs-product-news {
    margin-top: 18px;
    padding: 18px 16px 12px;
  }

  .tpm-topnav-shell #navigationBar .ncs-product-news-item {
    padding: 9px 0;
  }
}

@media screen and (max-width: 1280px) and (min-width: 1181px) {
  .tpm-topnav-shell #navigationBar .ncs-product-panel {
    grid-template-columns: 190px minmax(0, 1fr) 280px;
    padding-right: 24px;
    padding-left: 24px;
  }

  .tpm-topnav-shell #navigationBar .ncs-product-catalog { padding-right: 22px; padding-left: 22px; }
  .tpm-topnav-shell #navigationBar .ncs-product-aside { padding-left: 18px; }
  .tpm-topnav-shell #navigationBar .ncs-product-subcategories { gap: 14px 16px; }
  .tpm-topnav-shell #navigationBar .ncs-product-entry-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media screen and (max-width: 980px) and (min-width: 769px) {
  .tpm-topnav-shell #navigationBar .ncs-product-subcategories { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tpm-topnav-shell #navigationBar .ncs-product-entry-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tpm-topnav-shell #navigationBar .ncs-product-latest { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
/* 2026-10-12 logo scale pass: enlarge the brand mark without changing the 62px desktop / 56px mobile nav height. */
.tpm-topnav-shell #navigationBar .pls-nav-top-logo > i {
    width: 96px;
    height: 22px;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}
@media screen and (max-width: 768px) {
    .tpm-topnav-shell #navigationBarM .pls-m-nav-logo {
        width: 98px;
        height: 23px;
        background-size: contain;
        background-repeat: no-repeat;
        background-position: left center;
    }
}
/* 2026-10-12 logo scale pass 2: make the brand mark visibly larger while preserving nav height. */
.tpm-topnav-shell #navigationBar .pls-nav-top-logo {
    flex: 0 0 auto;
}
.tpm-topnav-shell #navigationBar .pls-nav-top-logo > i {
    width: 132px;
    height: 30px;
}
@media screen and (max-width: 768px) {
    .tpm-topnav-shell #navigationBarM .pls-m-nav-logo {
        width: 128px;
        height: 30px;
    }
}
/* 2026-10-12 logo scale pass 3: use the requested 200x50 visual ratio, without changing nav height. */
.tpm-topnav-shell #navigationBar .pls-nav-top-logo {
    width: 200px;
    height: 50px;
    flex: 0 0 200px;
    align-self: center;
}
.tpm-topnav-shell #navigationBar .pls-nav-top-logo img {
    display: block;
    width: 200px;
    height: 50px !important;
    max-width: none;
    object-fit: contain;
}
@media screen and (max-width: 768px) {
    .tpm-topnav-shell #navigationBarM .pls-m-nav-logo {
        width: 160px;
        height: 40px;
        background-size: contain;
    }
}

/* 2026-10-23 Tencent Cloud-style product menu pass: keep the live catalog data,
   but give the sparse catalog the same visual rhythm as the reference mega menu. */
@media screen and (min-width: 769px) {
  .tpm-topnav-shell #navigationBar .ncs-product-panel--database {
    position: relative;
    grid-template-columns: 236px minmax(0, 1fr) 367px;
    min-height: 0;
    max-width: 1856px;
  }

  .tpm-topnav-shell #navigationBar .ncs-product-panel--database .ncs-product-close {
    position: absolute;
    top: 38px;
    right: max(26px, calc((100vw - 1680px) / 2));
    z-index: 4;
    width: 22px;
    height: 22px;
    padding: 0;
    border: 0;
    background: transparent;
    cursor: pointer;
  }

  .tpm-topnav-shell #navigationBar .ncs-product-panel--database .ncs-product-close::before,
  .tpm-topnav-shell #navigationBar .ncs-product-panel--database .ncs-product-close::after {
    position: absolute;
    top: 10px;
    left: 2px;
    width: 19px;
    height: 1.5px;
    background: #8a9aa6;
    content: "";
    transition: background-color .16s ease, transform .16s ease;
  }

  .tpm-topnav-shell #navigationBar .ncs-product-panel--database .ncs-product-close::before { transform: rotate(45deg); }
  .tpm-topnav-shell #navigationBar .ncs-product-panel--database .ncs-product-close::after { transform: rotate(-45deg); }

  .tpm-topnav-shell #navigationBar .ncs-product-panel--database .ncs-product-close:hover::before,
  .tpm-topnav-shell #navigationBar .ncs-product-panel--database .ncs-product-close:hover::after,
  .tpm-topnav-shell #navigationBar .ncs-product-panel--database .ncs-product-close:focus-visible::before,
  .tpm-topnav-shell #navigationBar .ncs-product-panel--database .ncs-product-close:focus-visible::after {
    background: var(--jls-nav-blue);
  }

  .tpm-topnav-shell #navigationBar .ncs-product-panel--database .ncs-product-sidebar {
    padding: 40px 26px 30px 0;
  }

  .tpm-topnav-shell #navigationBar .ncs-product-panel--database .ncs-product-all {
    margin-bottom: 38px;
    font-size: 20px;
    line-height: 28px;
  }

  .tpm-topnav-shell #navigationBar .ncs-product-panel--database .ncs-product-side-title {
    margin-bottom: 10px;
    padding-bottom: 12px;
    font-size: 14px;
    line-height: 20px;
  }

  .tpm-topnav-shell #navigationBar .ncs-product-panel--database .ncs-product-hot {
    display: inline-block;
    margin-left: 10px;
    padding: 1px 5px;
    background: #fff0ef;
    color: #f25a52;
    font-size: 10px;
    font-weight: 600;
    line-height: 16px;
    vertical-align: 1px;
  }

  .tpm-topnav-shell #navigationBar .ncs-product-panel--database .ncs-product-side-list {
    gap: 0;
  }

  .tpm-topnav-shell #navigationBar .ncs-product-panel--database .ncs-product-side-link {
    min-height: 40px;
    margin-left: -10px;
    padding: 8px 10px;
    font-size: 14px;
    line-height: 24px;
  }

  .tpm-topnav-shell #navigationBar .ncs-product-panel--database .ncs-product-catalog {
    display: flex;
    min-height: 0;
    flex-direction: column;
    padding: 37px 34px 26px 36px;
  }

  .tpm-topnav-shell #navigationBar .ncs-product-panel--database .ncs-product-toolbar {
    gap: 12px;
    margin-bottom: 23px;
  }

  .tpm-topnav-shell #navigationBar .ncs-product-panel--database .ncs-product-search {
    flex-basis: 370px;
  }

  .tpm-topnav-shell #navigationBar .ncs-product-panel--database .ncs-product-search input {
    height: 36px;
    background: #f5f7fa;
    font-size: 12px;
  }

  .tpm-topnav-shell #navigationBar .ncs-product-panel--database .ncs-product-shortcuts {
    gap: 10px;
    padding-right: 32px;
  }

  .tpm-topnav-shell #navigationBar .ncs-product-panel--database .ncs-product-chip {
    padding: 8px 12px;
    background: #edf1f5;
    color: #2e3b43;
  }

  .tpm-topnav-shell #navigationBar .ncs-product-panel--database .ncs-product-section-title {
    margin-bottom: 16px;
  }

  .tpm-topnav-shell #navigationBar .ncs-product-panel--database .ncs-product-section-title h3 {
    font-size: 18px;
    line-height: 26px;
  }

  .tpm-topnav-shell #navigationBar .ncs-product-panel--database .ncs-product-columns {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    align-items: start;
    gap: 10px 18px;
    max-height: none;
    overflow: visible;
  }

  .tpm-topnav-shell #navigationBar .ncs-product-panel--database .ncs-product-column {
    margin-bottom: 14px;
  }

  .tpm-topnav-shell #navigationBar .ncs-product-panel--database .ncs-product-column-title {
    display: block;
    margin-bottom: 7px;
    color: #202b32;
    font-size: 15px;
    line-height: 22px;
  }

  .tpm-topnav-shell #navigationBar .ncs-product-panel--database .ncs-product-column-description {
    display: none;
  }

  .tpm-topnav-shell #navigationBar .ncs-product-panel--database .ncs-product-subcategories {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px 20px;
    margin-top: 0;
  }

  .tpm-topnav-shell #navigationBar .ncs-product-panel--database .ncs-product-subcategory,
  .tpm-topnav-shell #navigationBar .ncs-product-panel--database .ncs-product-subcategory:first-of-type {
    min-width: 0;
    margin: 0;
    padding: 0;
    border-top: 0;
  }

  .tpm-topnav-shell #navigationBar .ncs-product-panel--database .ncs-product-subcategory-title {
    margin-bottom: 4px;
    color: #303e46;
    font-size: 13px;
    line-height: 20px;
  }

  .tpm-topnav-shell #navigationBar .ncs-product-panel--database .ncs-product-subcategory-description {
    display: none;
  }

  .tpm-topnav-shell #navigationBar .ncs-product-panel--database .ncs-product-entry-list {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0 10px;
    margin-top: 0;
  }

  .tpm-topnav-shell #navigationBar .ncs-product-panel--database .ncs-product-entry {
    min-height: 68px;
    box-sizing: border-box;
    padding: 12px 11px;
    border: 1px solid transparent;
  }

  .tpm-topnav-shell #navigationBar .ncs-product-panel--database .ncs-product-entry:first-child {
    background: #f2f6fb;
  }

  .tpm-topnav-shell #navigationBar .ncs-product-panel--database .ncs-product-entry:hover,
  .tpm-topnav-shell #navigationBar .ncs-product-panel--database .ncs-product-entry:focus-visible {
    border-color: #d8e5f3;
    background: #f2f6fb;
  }

  .tpm-topnav-shell #navigationBar .ncs-product-panel--database .ncs-product-entry-copy {
    gap: 3px;
  }

  .tpm-topnav-shell #navigationBar .ncs-product-panel--database .ncs-product-entry-copy strong {
    color: #35454d;
    font-size: 13px;
    line-height: 20px;
  }

  .tpm-topnav-shell #navigationBar .ncs-product-panel--database .ncs-product-entry-copy small {
    color: #71828e;
    font-size: 11px;
    line-height: 17px;
  }

  .tpm-topnav-shell #navigationBar .ncs-product-panel--database .ncs-product-entry[hidden] { display: none !important; }

  .tpm-topnav-shell #navigationBar .ncs-product-panel--database .ncs-product-column:has(.ncs-product-subcategories > .ncs-product-subcategory:only-child) .ncs-product-subcategory-title {
    display: none;
  }

  .tpm-topnav-shell #navigationBar .ncs-product-panel--database .ncs-product-column:has(.ncs-product-subcategories > .ncs-product-subcategory:only-child) .ncs-product-entry-list {
    margin-top: 0;
  }

  .tpm-topnav-shell #navigationBar .ncs-product-panel--database .ncs-product-latest {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    align-items: start;
    gap: 8px 16px;
    margin-top: auto;
    padding-top: 20px;
    overflow: visible;
    white-space: normal;
  }

  .tpm-topnav-shell #navigationBar .ncs-product-panel--database .ncs-product-latest-title {
    grid-column: 1 / -1;
    margin-bottom: 0;
    font-size: 16px;
    line-height: 24px;
  }

  .tpm-topnav-shell #navigationBar .ncs-product-panel--database .ncs-product-latest-item {
    min-width: 0;
    grid-template-columns: minmax(0, 1fr);
    padding: 7px 5px;
  }

  .tpm-topnav-shell #navigationBar .ncs-product-panel--database .ncs-product-latest-copy {
    display: grid;
    min-width: 0;
    gap: 2px;
  }

  .tpm-topnav-shell #navigationBar .ncs-product-panel--database .ncs-product-latest-copy strong {
    overflow: hidden;
    color: #35454d;
    font-size: 12px;
    font-weight: 500;
    line-height: 19px;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .tpm-topnav-shell #navigationBar .ncs-product-panel--database .ncs-product-latest-copy small {
    color: #82919a;
    font-size: 11px;
    line-height: 17px;
  }

  .tpm-topnav-shell #navigationBar .ncs-product-panel--database .ncs-product-aside {
    padding: 37px 0 27px 26px;
  }

  .tpm-topnav-shell #navigationBar .ncs-product-panel--database .ncs-product-promo {
    height: 181px;
    border-color: #d4ece8;
    background: #dff6f0;
  }

  .tpm-topnav-shell #navigationBar .ncs-product-panel--database .ncs-product-promo::after {
    background: linear-gradient(90deg, rgba(223, 246, 240, .99) 0%, rgba(223, 246, 240, .92) 45%, rgba(223, 246, 240, .18) 100%);
  }

  .tpm-topnav-shell #navigationBar .ncs-product-panel--database .ncs-product-promo-copy {
    width: 62%;
    padding: 20px 0 17px 18px;
  }

  .tpm-topnav-shell #navigationBar .ncs-product-panel--database .ncs-product-promo-copy small {
    color: #3d827d;
  }

  .tpm-topnav-shell #navigationBar .ncs-product-panel--database .ncs-product-promo-copy strong {
    font-size: 16px;
    line-height: 23px;
  }

  .tpm-topnav-shell #navigationBar .ncs-product-panel--database .ncs-product-promo > img {
    right: -5px;
    bottom: 0;
    width: 61% !important;
    height: 100% !important;
    object-fit: cover;
    object-position: 78% center;
    opacity: .8;
    mix-blend-mode: multiply;
  }

  .tpm-topnav-shell #navigationBar .ncs-product-panel--database .ncs-product-news {
    min-height: 390px;
    box-sizing: border-box;
    margin-top: 19px;
    padding: 19px 16px 12px;
    border-color: #dfe6eb;
  }

  .tpm-topnav-shell #navigationBar .ncs-product-panel--database .ncs-product-news-heading {
    margin-bottom: 14px;
  }

  .tpm-topnav-shell #navigationBar .ncs-product-panel--database .ncs-product-news-heading strong {
    font-size: 16px;
    line-height: 24px;
  }

  body::after {
    top: var(--jls-nav-header-height);
  }
}

@media screen and (min-width: 769px) and (max-width: 1280px) {
  .tpm-topnav-shell #navigationBar .ncs-product-panel--database {
    grid-template-columns: 204px minmax(0, 1fr) 286px;
  }

  .tpm-topnav-shell #navigationBar .ncs-product-panel--database .ncs-product-catalog {
    padding-right: 23px;
    padding-left: 24px;
  }

  .tpm-topnav-shell #navigationBar .ncs-product-panel--database .ncs-product-aside {
    padding-left: 18px;
  }

  .tpm-topnav-shell #navigationBar .ncs-product-panel--database .ncs-product-subcategories,
  .tpm-topnav-shell #navigationBar .ncs-product-panel--database .ncs-product-entry-list {
    column-gap: 12px;
  }
}

@media screen and (min-width: 769px) and (max-width: 1180px) {
  .tpm-topnav-shell #navigationBar .ncs-product-panel--database {
    grid-template-columns: 214px minmax(0, 1fr);
  }

  .tpm-topnav-shell #navigationBar .ncs-product-panel--database .ncs-product-aside {
    display: none;
  }

  .tpm-topnav-shell #navigationBar .ncs-product-panel--database .ncs-product-entry-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .tpm-topnav-shell #navigationBar .ncs-product-panel--database .ncs-product-close {
    right: 25px;
  }
}

@media screen and (max-width: 980px) and (min-width: 769px) {
  .tpm-topnav-shell #navigationBar .ncs-product-panel--database {
    grid-template-columns: 190px minmax(0, 1fr);
  }

  .tpm-topnav-shell #navigationBar .ncs-product-panel--database .ncs-product-sidebar {
    padding-right: 17px;
  }

  .tpm-topnav-shell #navigationBar .ncs-product-panel--database .ncs-product-catalog {
    padding: 30px 20px 23px 24px;
  }

  .tpm-topnav-shell #navigationBar .ncs-product-panel--database .ncs-product-toolbar {
    align-items: stretch;
    flex-direction: column;
  }

  .tpm-topnav-shell #navigationBar .ncs-product-panel--database .ncs-product-search {
    flex-basis: auto;
    width: 100%;
  }

  .tpm-topnav-shell #navigationBar .ncs-product-panel--database .ncs-product-shortcuts {
    width: 100%;
    padding-right: 0;
  }

  .tpm-topnav-shell #navigationBar .ncs-product-panel--database .ncs-product-subcategories {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .tpm-topnav-shell #navigationBar .ncs-product-panel--database .ncs-product-latest {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media screen and (max-width: 768px) {
  .tpm-topnav-shell #navigationBar .ncs-product-panel--database .ncs-product-close {
    display: none;
  }
}

/* Preserve the legacy hand-authored fallback menu when the live catalog is unavailable. */
@media screen and (min-width: 769px) {
  .tpm-topnav-shell #navigationBar .ncs-product-panel:not(.ncs-product-panel--database) .ncs-product-columns {
    display: block;
    grid-template-columns: none;
    gap: 0;
  }
}
