/* Markytup brand lockup — loaded last so it wins over .brand img / .brand span rules. */
.brand,
.vettro-auth-brand {
  display: flex;
  align-items: center;
  white-space: nowrap;
}
.brand img.brand-mark,
.vettro-auth-brand img.brand-mark {
  width: 36px;
  height: 36px;
  object-fit: contain;
  flex: none;
}
.brand img.brand-wordmark,
.vettro-auth-brand img.brand-wordmark {
  height: 22px;
  width: auto;
  max-width: 132px;
  margin-left: 8px;
  object-fit: contain;
  object-position: left center;
  flex: none;
}
.brand .brand-wordmark-dark,
.vettro-auth-brand .brand-wordmark-dark { display: none; }

@media (max-width: 700px) {
  .mobile-header .brand .brand-mark { width: 32px; height: 32px; }
  .mobile-header .brand .brand-wordmark { height: 20px; max-width: 118px; }
  .mobile-header .brand .brand-wordmark-light { display: none; }
  .mobile-header .brand .brand-wordmark-dark { display: inline; }
}

/* Collapsed review sidebar: icon only; wordmark returns on hover/focus. */
body:has(#review-workspace.is-active) .sidebar .brand .brand-wordmark,
body:has(#review-workspace:target) .sidebar .brand .brand-wordmark,
body:has(#review-workspace.is-target) .sidebar > .brand .brand-wordmark {
  display: none;
}
body:has(#review-workspace.is-active) .sidebar:hover .brand .brand-wordmark-light,
body:has(#review-workspace.is-active) .sidebar:focus-within .brand .brand-wordmark-light,
body:has(#review-workspace:target) .sidebar:hover .brand .brand-wordmark-light,
body:has(#review-workspace:target) .sidebar:focus-within .brand .brand-wordmark-light,
body:has(#review-workspace.is-target) .sidebar:is(:hover, :focus-within) > .brand .brand-wordmark-light {
  display: inline;
}

#review-workspace .rw-rail-tab .rw-icon-vettro {
  width: 19px;
  height: 19px;
  object-fit: contain;
  display: block;
  border-radius: 3px;
}
