/* The bundled A&B artwork already has transparency. */
img[src="ab_logo.png"] {
  background: transparent !important;
  border-radius: 0 !important;
  padding: 0 !important;
  mix-blend-mode: normal !important;
}
html[data-theme="dark"] img[src="ab_logo.png"],
.cxm-auth-brand img[src="ab_logo.png"],
html:not([data-demo-theme="light"]) .app .brand img[src="ab_logo.png"],
.cx53-deck:not([data-demo-theme="light"]) img[src="ab_logo.png"] {
  filter: url(#ab-dark-ink);
}
.cx53-deck .cx60-meeting-logo {
  display: block;
  width: min(160px, 45vw);
  height: 48px;
  object-fit: contain;
  object-position: left center;
}

.cx53-deck[data-demo-theme="light"] img[src="ab_logo.png"]{filter:none}

.cx60-mayfield-partners {display:flex;align-items:center;column-gap:clamp(24px,3vw,48px);row-gap:10px;flex-wrap:wrap}
.cx60-mayfield-partners img {display:block;object-fit:contain;padding:0;border:0;color:inherit;font-size:11px}
.cx60-mayfield-partners .cx60-bk {width:128px;height:30px;background:#fff;border-radius:3px}
.cx60-mayfield-partners .cx60-landsec {width:45px;height:48px;background:transparent;border-radius:0}
html:not([data-demo-theme="light"]) .topbar .cx60-landsec,
.cx53-deck:not([data-demo-theme="light"]) .cx60-landsec {filter:brightness(0) invert(1)}

.topbar .brand img[src="ab_logo.png"] {width:clamp(125px,11vw,182px);max-height:64px}
html:not([data-demo-theme="light"]) .topbar .brand img[src="ab_logo.png"],
.cx53-deck:not([data-demo-theme="light"]) img.cx60-meeting-logo[src="ab_logo.png"] {
 filter:url(#ab-dark-ink);
}
.cx60-mayfield-partners .cx62-bk-frame {display:block;position:relative;width:120px;height:38px;overflow:hidden;isolation:isolate}
.cx60-mayfield-partners .cx62-bk-frame .cx60-bk {position:absolute;inset:0;width:100%;height:100%;transform:scale(2.05);border-radius:0;background:transparent}
html:not([data-demo-theme="light"]) .topbar .cx62-bk-frame,
.cx53-deck:not([data-demo-theme="light"]) .cx62-bk-frame {mix-blend-mode:screen;isolation:auto}
html:not([data-demo-theme="light"]) .topbar .cx62-bk-frame .cx60-bk,
.cx53-deck:not([data-demo-theme="light"]) .cx62-bk-frame .cx60-bk {filter:grayscale(1) invert(1) contrast(1.55)}

html[data-demo-theme="light"] .topbar .cx62-bk-frame,
.cx53-deck[data-demo-theme="light"] .cx62-bk-frame {mix-blend-mode:multiply;isolation:auto}

.cx60-mayfield-partners .cx71-wsp{width:84px;height:42px;object-fit:contain;flex-shrink:0;background:transparent;border-radius:0;filter:none}
html:not([data-demo-theme="light"]) .topbar .cx71-wsp,
.cx53-deck:not([data-demo-theme="light"]) .cx71-wsp{filter:brightness(0) invert(1)}
@media(max-width:680px){
 .cx60-mayfield-partners{column-gap:24px;row-gap:16px}
 .cx60-mayfield-partners .cx71-wsp{width:76px;height:38px}
 .app .topbar{flex-wrap:wrap}
}

/* Keep the Mayfield partner lockup intact as the header reflows. */
.cx60-mayfield-partners{flex-wrap:nowrap;flex:0 0 auto;column-gap:28px;align-items:center}
.cx60-mayfield-partners>*{flex-shrink:0}
.app>.topbar{display:grid;grid-template-columns:minmax(240px,1fr) auto;gap:18px 28px;align-items:center}
.app>.topbar>.toolbar{grid-column:1/-1;justify-content:flex-end}
.cx53-deck>header{display:grid;grid-template-columns:minmax(240px,1fr) auto;gap:18px 28px;align-items:center}
.cx53-deck>header>.cx53-tools{grid-column:1/-1;justify-content:flex-end}
@media(min-width:1700px){
 .app>.topbar,.cx53-deck>header{grid-template-columns:minmax(240px,1fr) auto auto}
 .app>.topbar>.toolbar,.cx53-deck>header>.cx53-tools{grid-column:auto}
}
@media(max-width:680px){
 .app>.topbar,.cx53-deck>header{grid-template-columns:minmax(0,1fr);gap:18px}
 .cx60-mayfield-partners{justify-self:start;column-gap:24px}
 .cx60-mayfield-partners .cx62-bk-frame{width:108px;height:36px}
 .cx60-mayfield-partners .cx60-landsec{width:42px;height:44px}
 .cx60-mayfield-partners .cx71-wsp{width:72px;height:36px}
 .app>.topbar>.toolbar,.cx53-deck>header>.cx53-tools{justify-content:flex-start;gap:8px}
}
