/*
 * White-label cold-start splash for customer links.
 *
 * Paired with public-customer-splash.js, which sets data-public-customer on <html> when the path
 * is one a customer reaches from a link their detail shop sent them.
 *
 * A separate stylesheet rather than a <style> block because the site's CSP is
 * `style-src-elem 'self'` with no 'unsafe-inline' — an inline <style> would be blocked in
 * production and the customer would see the platform's branding anyway. Stylesheets are
 * render-blocking, so these rules are in force before the splash ever paints: no flash of navy,
 * no flash of the Detail Flow logo.
 *
 * The logo, name and tagline stay in the DOM rather than being removed. Google's OAuth brand
 * verification reads the ROOT url without running JavaScript and must find the app name there;
 * it never requests a customer link, so hiding it here does not affect verification.
 */

html[data-public-customer="true"] #df-inline-splash {
  background: #ffffff;
}

html[data-public-customer="true"] #df-inline-splash > * {
  visibility: hidden;
}
