/* Preserve the supplied HMI branding; reserve room for the exit control. */
html[data-theme=bosen] .topbar { grid-template-columns: minmax(200px, 1fr) auto 132px; }
#settings-button, #recording-settings, [data-project-open] { display: none !important; }
@media (max-width: 1080px) { html[data-theme=bosen] .topbar .clock span { display: none; } }

/* Match the red NEW ribbons used by the product navigation. */
html[data-brand=current] .screen-content .brand-model-tools { padding-top: 24px; }
.overview-models :is([data-overview-model="lab01"], [data-overview-model="labphoto"]) { position: relative; }
.overview-models :is([data-overview-model="lab01"], [data-overview-model="labphoto"])::after {
  content: "NEW";
  position: absolute;
  top: -21px;
  right: -6px;
  z-index: 3;
  display: grid;
  place-items: center;
  width: 46px;
  height: 24px;
  color: #fff;
  background: linear-gradient(180deg, #ffffff40, transparent 48%), linear-gradient(135deg, #ff6b4a, #e2192f 72%, #b70f1d);
  border: 1px solid #b70f1d47;
  box-shadow: 0 5px 10px #e2192f38;
  font: 800 10px/1 Arial, sans-serif;
  transform: skew(-8deg);
  pointer-events: none;
}
.overview-models :is([data-overview-model="lab01"], [data-overview-model="labphoto"])::before {
  content: "";
  position: absolute;
  top: 3px;
  right: -4px;
  z-index: 2;
  border-top: 5px solid #970c18;
  border-right: 5px solid transparent;
  pointer-events: none;
}
