/* Markin Mini App r15.2 – scope uploaded logo to the TOP-LEFT brand mark only.
   Deliberately changes no page/background/hero styles. */
.app-header #brandMark {
  position: relative;
  box-sizing: border-box;
  display: grid;
  place-items: center;
  flex: 0 0 40px;
  width: 40px;
  min-width: 40px;
  max-width: 40px;
  height: 40px;
  min-height: 40px;
  max-height: 40px;
  overflow: hidden;
  isolation: isolate;
  border-radius: 14px;
}
.app-header #brandMark #brandPhoto {
  position: absolute !important;
  display: block;
  inset: 0 !important;
  box-sizing: border-box;
  width: 100% !important;
  min-width: 0;
  max-width: 100% !important;
  height: 100% !important;
  min-height: 0;
  max-height: 100% !important;
  padding: 0;
  margin: 0;
  object-fit: cover;
  object-position: center;
  border-radius: inherit;
  z-index: 1;
}
.app-header #brandMark #brandPhoto[hidden] {
  display: none !important;
}
/* When an uploaded image is visible, it replaces—not overlays—the letter. */
.app-header #brandMark:has(#brandPhoto:not([hidden])) {
  color: transparent;
}
