/* The same disclosure moves between the desktop navigation and mobile second row. */
.itech-branches {
  position: relative;
  flex: 0 0 auto;
  color: #edf4ff;
  font: 500 14px/1.4 system-ui, sans-serif;
  text-align: left;
}
.project-switcher .switch-wrap > .itech-branches { order: 4; margin-inline-start: auto; }
.itech-branches > summary {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .45rem;
  box-sizing: border-box;
  min-height: 44px;
  padding: 6px 12px;
  border: 1px solid #475c77;
  border-radius: 8px;
  background: #142238;
  color: #edf4ff;
  font: 650 14px/1.3 system-ui, sans-serif;
  white-space: nowrap;
  cursor: pointer;
  list-style: none;
}
.itech-branches summary::-webkit-details-marker { display: none; }
.itech-branches > summary::after {
  content: '';
  display: inline-block;
  width: 6px;
  height: 6px;
  border: solid currentColor;
  border-width: 0 1.5px 1.5px 0;
  transform: translateY(-1px) rotate(45deg);
}
.itech-branches[open] > summary::after { transform: translateY(2px) rotate(225deg); }
.itech-branches[open] > summary, .itech-branches summary:hover { border-color: #a6c6ea; }
.itech-branches .itech-branches-list {
  position: absolute;
  z-index: 12;
  inset: calc(100% + 3px) 0 auto auto;
  box-sizing: border-box;
  width: min(325px, calc(100vw - 24px));
  padding: 5px;
  border: 1px solid #475c77;
  border-radius: 10px;
  background: #101e31;
  box-shadow: 0 10px 30px #0006;
}
.itech-branches:not([open]) > .itech-branches-list { display: none; }
.itech-branches .itech-branches-list a {
  display: block;
  box-sizing: border-box;
  min-height: 48px;
  padding: 9px 10px;
  border-radius: 5px;
  background: transparent;
  color: #f3f6fa;
  line-height: 1.4;
  text-align: left;
  text-decoration: none;
  white-space: normal;
}
.itech-branches .itech-branches-list a:hover, .itech-branches .itech-branches-list a:focus-visible { background: #203651; }
.itech-branches .itech-branches-list strong, .itech-branches .itech-branches-list small { display: block; }
.itech-branches .itech-branches-list strong { font: 650 15px/1.4 system-ui, sans-serif; }
.itech-branches .itech-branches-list small { color: #c8d5e5; font: 450 13px/1.4 system-ui, sans-serif; }
.itech-branches .itech-branches-list [data-selected] strong::after { content: ' ✓'; color: #aad3ff; }
.itech-branches :is(summary, a):focus-visible { outline: 2px solid #a8d2ff; outline-offset: 1px; }
.project-switcher:has(.itech-branches[open]) { z-index: 90; overflow: visible; }
.project-switcher .switch-wrap:has(.itech-branches[open]) { overflow: visible; }
@media (max-width: 1279px) {
  html[data-itech-site][data-retail-mobile-menu] body[class] header[data-compact-mobile-header]:has(.itech-branches[open]) {
    position: relative !important;
    z-index: 90 !important;
  }
  html[data-itech-site][data-retail-mobile-menu] body[class] header[data-compact-mobile-header] > .itech-retail-menu-bar:has(.itech-branches) {
    position: relative !important;
    gap: 6px !important;
  }
  .itech-retail-menu-bar > .itech-branches { position: static; }
  .itech-retail-menu-bar .itech-branches-list { right: 12px; top: calc(100% - 1px); }
  html[data-itech-site][data-retail-mobile-menu] body[class] header[data-compact-mobile-header] .itech-retail-menu-bar:has(.itech-branches) .itech-retail-toggle {
    min-width: 0 !important;
    padding: 8px !important;
    gap: 5px !important;
  }
  .itech-retail-menu-bar .itech-branches > summary { padding-inline: 8px; }
}

html[data-itech-site="lcd"] .itech-branches > .itech-branches-list {
  width: min(390px, calc(100vw - 24px));
}
html[data-itech-site="lcd"] .itech-branches-list > a[data-branch] {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr);
  gap: 2px;
  width: 100%;
  height: auto;
  white-space: normal;
  text-align: left;
  border-radius: 6px !important;
}
