:root{--cm-brand-preview-light:#f5f5f2;--cm-brand-preview-dark:#19292e}
#corporate-workspace .corporation-branding{max-width:none;width:100%}
.branding-slots{display:grid;grid-template-columns:repeat(2,minmax(54px,1fr)) repeat(2,minmax(168px,3fr)) repeat(2,minmax(96px,2fr));align-items:start;gap:12px;width:100%;overflow-x:auto;padding-bottom:4px}
#corporate-workspace .branding-slot{min-width:0;margin:0;padding:0}
#corporate-workspace .branding-slot h4{font-size:11px;margin:0 0 8px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.branding-preview{position:relative;display:flex;align-items:center;justify-content:center;width:100%;aspect-ratio:1;border:1px solid var(--site-line);border-radius:6px;padding:2px;overflow:hidden}
.wordmark-preview{aspect-ratio:6/1}.mobile-preview{aspect-ratio:3/1}
.branding-preview[data-mode=light]{background:var(--cm-brand-preview-light);color:var(--cm-brand-preview-dark)}
.branding-preview[data-mode=dark]{background:var(--cm-brand-preview-dark);color:var(--cm-brand-preview-light)}
.branding-preview .fine{color:inherit}
.branding-preview img{object-fit:contain;max-width:100%;max-height:100%;width:auto;height:auto}
.square-preview img{aspect-ratio:1}
.branding-controls{position:absolute;inset:auto 3px 3px auto;display:flex;gap:3px}
#corporate-workspace .brand-action{width:22px;height:22px;min-width:22px;min-height:22px;padding:3px;display:grid;place-items:center;border:0;border-radius:3px;background:var(--site-white);color:var(--site-ink)}
.brand-action svg{width:16px;height:16px;display:block}
.corporation-wordmark{display:block;width:calc(100% + 24px);max-width:calc(100% + 24px);margin-inline:-12px;height:auto;max-height:90px;object-fit:contain;object-position:left center}
.sidebar-identity:has(.corporation-wordmark:not([hidden])){display:block}
#corporate-workspace #preferences-dialog{width:min(760px,calc(100% - 24px))}
#corporate-workspace #workspace-preferences{width:60%;margin-inline:auto}
#corporate-workspace #preferences-title{text-transform:uppercase}
#corporate-workspace #workspace-preferences .field-label{grid-template-columns:minmax(0,1fr) minmax(0,1fr);width:100%;max-width:none}
#corporate-workspace .scrollbar-preference button{justify-self:end}
#corporate-workspace .personal-profile-row{display:flex;justify-content:space-between;align-items:center;gap:16px}
#corporate-workspace .personal-profile-row button{flex:none}
#corporate-workspace #scrollbar-status{min-height:1.5em}
@media(max-width:600px){.branding-slots{gap:4px}#corporate-workspace .branding-slot h4{font-size:9px}.branding-controls{gap:1px;right:1px}#corporate-workspace .brand-action{width:16px;height:16px;min-width:16px;min-height:16px;padding:1px}#corporate-workspace #workspace-preferences{width:100%}.corporation-wordmark{max-height:75px}}
