/* One self-contained lockup image; calm in the workspace, pink in the chat. */
.cf-brand-link { display:inline-flex; width:fit-content; max-width:100%; color:inherit; text-decoration:none; border-radius:6px; }
.cf-brand-link:focus-visible { outline:2px solid currentColor; outline-offset:6px; }
.cf-brand-lockup { display:block; flex:none; width:148px; line-height:0; }
.cf-brand-composite { display:block; width:100%; height:auto; max-width:none; }
/* Hide only stock branding until the adapter mounts it, preventing a one-frame flash. */
[data-slot="sidebar-header"] a[href="/"]:has(svg[viewBox="15.5309 37 94.3941 56.96"]):not(.cf-native-brand),
[role="img"][aria-label="T3 Code"]:has(svg[viewBox="15.5309 37 94.3941 56.96"]):not(.cf-native-brand) { visibility:hidden; }
.cf-native-brand { display:flex!important; height:32px!important; max-width:calc(100% - 20px); overflow:visible!important; align-items:center!important; }
.cf-native-brand > :not(.cf-brand-lockup) { display:none!important; }
.cf-native-brand .cf-brand-lockup { width:126px; }
.cf-brand-native-icon { background:center / contain no-repeat url('/browser-access/assets/cf-code-icon-v1.svg'); filter:grayscale(1); opacity:.75; }
.cf-brand-native-icon > * { visibility:hidden; }
#boot-shell-card.cf-boot-brand { width:auto; height:auto; min-width:180px; min-height:90px; }
#boot-shell-card .cf-brand-lockup { width:180px; }
.ba-start .cf-brand-link { display:flex; margin:0 auto 18px; }
.ba-start .cf-brand-lockup { width:220px; }
.ba-start .ba-start-section { display:block; margin:5px 0 10px; color:#6f6d72; font-size:12px; letter-spacing:.04em; }
.ba-start main button:not(#ba-start-usage button) { background:#c72445; }
.ba-start main button:not(#ba-start-usage button):hover { background:#ad2947; }
@media(max-width:650px) { .cf-native-brand .cf-brand-lockup { width:104px; } }
@media(max-width:480px) { .ba-start .cf-brand-lockup { width:184px; } }
@media(prefers-reduced-motion:no-preference) { .cf-brand-link { transition:opacity .15s ease; } .cf-brand-link:hover { opacity:.8; } }
