/* Shared product brand geometry, taken from TOC Flow. Assets keep their own proportions. */
:root {
  --tru-shell-max-width: 1440px;
  --tru-shell-inline-padding: clamp(1rem, 3vw, 2rem);
  --tru-shell-gap: clamp(1rem, 3vw, 3rem);
  --tru-sidebar-expansion: min(24px, max(0px, calc(var(--tru-shell-gap) - .25rem)));
  --tru-shell-column-gap: calc(var(--tru-shell-gap) - var(--tru-sidebar-expansion));
  --tru-sidebar-width: calc(177.1px + var(--tru-sidebar-expansion));
  --tru-content-top-padding: 1rem;
  --tru-page-title-size: clamp(2rem, 3vw, 2.8rem);
  --tru-nav-icon-size: 2rem;
  --tru-header-icon-size: 1.5rem;
  --tru-product-logo-width: clamp(220px, 26vw, 308px);
  --tru-product-logo-height: 6.6rem;
  --tru-product-logo-offset: .65rem;
  --tru-product-logo-position: left center;
  --tru-corporate-logo-width: min(212px, 46vw);
  --tru-corporate-logo-height: 102px;
  --tru-product-footer-padding: 1.5rem;
}
@media (max-width: 760px) {
  :root { --tru-sidebar-expansion: 0px; }
}
.tru-product-header .tru-product-brand {
  display: inline-flex;
  align-items: center;
  min-width: 0;
  max-width: 100%;
  padding: 0;
  border: 0;
  text-decoration: none;
}
.tru-product-header .tru-product-logo,
.tru-product-footer .tru-corporate-logo {
  display: block;
  flex-shrink: 0;
  background: var(--fg, var(--insight-foreground, var(--learn-foreground, var(--tru-ink))));
  mask-repeat: no-repeat;
  mask-position: left center;
  mask-size: contain;
}
.tru-product-header .tru-product-logo {
  width: var(--tru-product-logo-width);
  max-width: 100%;
  height: var(--tru-product-logo-height);
  transform: translateY(var(--tru-product-logo-offset));
  mask-position: var(--tru-product-logo-position);
}
.tru-product-footer {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  width: 100%;
  gap: 1rem;
  padding-block: var(--tru-product-footer-padding);
  border: 0;
}
.tru-product-footer .tru-corporate-brand {
  display: inline-flex;
  align-items: center;
  width: auto;
  max-width: 100%;
  padding: 0;
  margin: 0;
}
.tru-product-footer .tru-corporate-logo {
  width: var(--tru-corporate-logo-width);
  height: var(--tru-corporate-logo-height);
}
.tru-product-footer > :last-child {
  justify-self: end;
  align-self: center;
  margin: 0;
  text-align: right;
  font-size: .8rem;
  line-height: 1.4;
}
@media (forced-colors: active) {
  .tru-product-header .tru-product-logo,
  .tru-product-footer .tru-corporate-logo { background: CanvasText; forced-color-adjust: none; }
}

.tru-product-header .profile-link { color: inherit; font-weight: 650; text-decoration: none; cursor: pointer; }
.tru-product-header .profile-link:hover { text-decoration: none; }
.tru-product-header .profile-link:focus-visible { outline: 2px solid currentColor; outline-offset: 3px; }
