/* v39 production cleanup: fixed company logo + dark Build Vision text */
.topbar{
  grid-template-columns: 330px minmax(480px,1fr) auto !important;
}
.topbar .brand,
.topbar .brand.brand-production{
  min-width:330px !important;
  width:330px !important;
  display:flex !important;
  align-items:center !important;
  justify-content:flex-start !important;
  gap:12px !important;
  padding:0 18px 0 0 !important;
  overflow:visible !important;
}
.topbar .brand .company-logo,
.topbar .brand.brand-production .company-logo{
  display:block !important;
  width:132px !important;
  max-width:132px !important;
  height:40px !important;
  object-fit:contain !important;
  object-position:left center !important;
  flex:0 0 132px !important;
}
.topbar .brand .brand-separator,
.topbar .brand.brand-production .brand-separator{
  display:block !important;
  width:1px !important;
  height:30px !important;
  flex:0 0 1px !important;
  background:linear-gradient(180deg,rgba(215,226,241,0),#d7e2f1,rgba(215,226,241,0)) !important;
}
.topbar .brand .brand-title,
.topbar .brand .brand-title *,
.topbar .brand.brand-production .brand-title,
.topbar .brand.brand-production .brand-title *{
  font-size:22px !important;
  line-height:1 !important;
  font-weight:950 !important;
  letter-spacing:-0.055em !important;
  color:#071936 !important;
  background:none !important;
  background-image:none !important;
  -webkit-background-clip:initial !important;
  background-clip:initial !important;
  -webkit-text-fill-color:#071936 !important;
  text-shadow:none !important;
  white-space:nowrap !important;
}
.topbar .brand .brand-title::first-letter,
.topbar .brand.brand-production .brand-title::first-letter{
  color:#071936 !important;
  -webkit-text-fill-color:#071936 !important;
}
.topbar .brand .brand-mark,
.topbar .brand.brand-production .brand-mark,
.topbar .brand .brand-subtitle,
.topbar .brand.brand-production .brand-subtitle{
  display:none !important;
}
.backend-live-badge,
#bvBackendLiveBadge,
.bv-debug-badge,
.bv-source-badge,
[data-bv-task-seed],
[data-debug],
[data-source-debug]{
  display:none !important;
}
@media (max-width: 1500px){
  .topbar{grid-template-columns:300px minmax(420px,1fr) auto !important;}
  .topbar .brand,
  .topbar .brand.brand-production{min-width:300px !important;width:300px !important;gap:10px !important;}
  .topbar .brand .company-logo,
  .topbar .brand.brand-production .company-logo{width:118px !important;max-width:118px !important;flex-basis:118px !important;}
  .topbar .brand .brand-title,
  .topbar .brand .brand-title *,
  .topbar .brand.brand-production .brand-title,
  .topbar .brand.brand-production .brand-title *{font-size:20px !important;}
}
@media (max-width: 1100px){
  .topbar .brand,
  .topbar .brand.brand-production{min-width:0 !important;width:auto !important;}
  .topbar .brand .company-logo,
  .topbar .brand.brand-production .company-logo{width:96px !important;max-width:96px !important;flex-basis:96px !important;}
  .topbar .brand .brand-separator,
  .topbar .brand.brand-production .brand-separator{display:none !important;}
}
