/*
 * White-label layer: sizing for the swapped logo mark and the mode toast.
 *
 * Loaded last so it only has to override the mark tiles it actually replaces.
 * Normal mode is untouched: html has data-wl-mode="pitchx" and no rule here
 * applies to the original letter tile.
 */

.top-navbar-logo .wl-logo-img,
.login-logo-icon .wl-logo-img,
.login-wordmark .mark .wl-logo-img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 62%;
  border-radius: 0;
}

/* The crest already carries its own black field, so the coloured tile behind it
   is dropped while white-label mode is on. */
html[data-wl-mode="greyfox"] .top-navbar-logo,
html[data-wl-mode="greyfox"] .login-logo-icon,
html[data-wl-mode="greyfox"] .login-wordmark .mark {
  background: #000;
  padding: 0;
  overflow: hidden;
}

html[data-wl-mode="greyfox"] .top-navbar-logo {
  width: 30px;
  height: 30px;
}

html[data-wl-mode="greyfox"] .login-logo-icon {
  width: 38px;
  height: 38px;
}

.wl-toast {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 2147483000;
  padding: 8px 14px;
  font-family: var(--font-mono, ui-monospace, monospace);
  font-size: 11px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--px-ink, #fbfbfc);
  background: rgba(11, 12, 14, .92);
  border: 1px solid var(--px-line, rgba(255, 255, 255, .14));
  border-radius: 4px;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity .18s ease, transform .18s ease;
  pointer-events: none;
}

.wl-toast.is-on {
  opacity: 1;
  transform: translateY(0);
}
