#app > aside .xc-sidebar-ready {
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-width: 0;
}

#app > aside .xc-software-group {
  display: grid;
  gap: 4px;
  min-width: 0;
}

#app > aside .xc-product-toggle.nav-group {
  width: 100%;
  min-height: 44px;
  margin: 0;
  padding: 11px 12px;
  gap: 10px;
  text-align: left;
  font-size: 13px;
  letter-spacing: .03em;
  line-height: 1.4;
  transform: none;
}

#app > aside .xc-product-toggle:hover {
  background: #ffeadb;
  border-color: #f8b98c;
}

#app > aside .xc-product-toggle::after {
  content: "";
  flex: 0 0 7px;
  width: 7px;
  height: 7px;
  margin-left: auto;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(-45deg);
  transition: transform .16s ease;
}

#app > aside .xc-product-toggle[aria-expanded="true"]::after {
  transform: rotate(45deg);
}

#app > aside .xc-product-label { min-width: 0; overflow-wrap: anywhere; }

#app > aside .xc-software-links {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 4px;
  min-width: 0;
  padding: 2px 0 4px;
}

#app > aside .xc-software-links[hidden] { display: none !important; }

#app > aside .xc-software-links > a:nth-child(n) {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  grid-column: auto;
  min-width: 0;
  min-height: 42px;
  padding: 10px 12px;
  font-size: 14px;
  line-height: 1.5;
  text-align: left;
  text-decoration: none;
  white-space: normal;
}

#app > aside .xc-product-toggle:focus-visible,
#app > aside .xc-software-links > a:focus-visible {
  outline: 2px solid #c55b19;
  outline-offset: 2px;
}

@media (max-width: 900px) {
  /* Expanded menus must scroll with the page instead of covering the content. */
  #app > aside { position: static; }
  #app > aside .xc-software-links { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (prefers-reduced-motion: reduce) {
  #app > aside .xc-product-toggle::after { transition: none; }
}
