/* Only the supplied brand artwork, including the canvas menu mark. */
img[src$="/brand/logo.svg"]{object-fit:contain;object-position:left center;filter:none!important}
.brand img.brand-full{width:145px;height:auto;max-height:46px}
.poster-brand img{width:180px;height:auto}.auth-brand img[src$="/brand/logo.svg"]{width:166px;height:auto}
.platform-nav img[src$="/brand/logo.svg"]{width:145px;height:auto}
img[src$="/brand/mark.svg"]{object-fit:contain;filter:none!important}
.brand-mark:has(img[src$="/brand/mark.svg"]){background:transparent}
/* Preserve the complete supplied mark; match the current canvas theme. */
body.canvas-workspace .brand-mark{display:grid;place-items:center;flex:0 0 26px;width:26px;height:26px;overflow:visible}
body.canvas-workspace .brand-mark img[src$="/brand/mark.svg"]{display:block;width:24px;height:24px;max-width:none;object-fit:contain;object-position:center;filter:brightness(0) invert(1)!important}
body.canvas-workspace[data-account-theme=light] .brand-mark img[src$="/brand/mark.svg"]{filter:brightness(0)!important}

img.site-full-brand{width:145px!important;height:auto!important}

/* v46: keep the menu trigger inside the toolbar border in both themes. */
body.canvas-workspace .canvas-brandline{height:36px;min-width:0;padding:3px 8px 3px 3px;gap:6px;align-items:center;background:var(--ui-panel);border:1px solid var(--ui-line);border-radius:8px}
body.canvas-workspace .canvas-brandline .project-menu{height:28px;flex:none;min-width:0;border:0;background:transparent!important;align-self:center}
body.canvas-workspace .canvas-brandline .project-menu>summary{height:28px;min-height:0;padding:0 4px;display:flex;align-items:center;justify-content:center;gap:4px;border:0;border-radius:5px;background:transparent;color:var(--ui-text)}
body.canvas-workspace .canvas-brandline .project-menu>summary:is(:hover,:focus-visible){background:var(--ui-hover)}
body.canvas-workspace .canvas-brandline .brand-mark{width:24px;height:24px;flex:0 0 24px;overflow:hidden;background:transparent}
body.canvas-workspace .canvas-brandline .brand-mark img{width:22px;height:22px;display:block;object-fit:contain;object-position:center}
body.canvas-workspace .canvas-title-wrap{min-width:0;flex:1}
body.canvas-workspace .canvas-brandline .project-name-input{max-width:100%;height:26px;margin:0;border:0;background:transparent!important;color:var(--ui-text)}
body.canvas-workspace .canvas-brandline .project-menu-chevron{line-height:1;color:var(--ui-muted)}
body.canvas-workspace .canvas-brandline .cw-back{height:26px;display:grid;place-items:center;flex:none;line-height:1;padding:0 4px}
body.canvas-workspace .canvas-brandline .save-state{margin:0 0 0 4px;flex:none}
@media(max-width:600px){body.canvas-workspace .canvas-brandline{max-width:48%!important;gap:2px;padding-right:5px}body.canvas-workspace .canvas-brandline .project-name-input{width:100%;min-width:0}body.canvas-workspace .canvas-brandline .save-state{display:none}}
