/* POC brand override. Keep this small so the upstream UX stylesheet remains untouched. */
.rail-brand {
  width: 58px;
  height: 50px;
  padding: 0;
  display: grid;
  place-items: center;
  overflow: visible;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: inherit;
}

.rail-brand:hover {
  background: transparent;
}

.rail-brand img {
  grid-area: 1 / 1;
  display: block;
  width: 56px;
  max-width: none;
  height: auto;
  object-fit: contain;
}

.brand-logo-dark {
  display: none !important;
}

:root[data-theme="dark"] .brand-logo-light {
  display: none !important;
}

:root[data-theme="dark"] .brand-logo-dark {
  display: block !important;
}
