/* One logo geometry before and after the first schedule reveals navigation. */
html body.slotic-theme:not(.public-service-page) {
  --brand-width: 196px;
  --brand-height: 59px;
  --brand-image-width: 247px;
  --brand-image-top: -61px;
  --brand-image-left: -26px;
}
html body.slotic-theme:not(.public-service-page) > .site-header .site-header__inner {
  padding-top: 24px;
}
html body.slotic-theme.setup-shell:not(.public-service-page) > .site-header .site-header__inner,
html body.slotic-theme.workspace-onboarding-page .workspace-onboarding-header {
  position: relative;
  min-height: 107px;
  padding: 24px 26px;
  align-items: flex-start;
}
html body.slotic-theme:not(.public-service-page) .site-header .site-brand,
html body.slotic-theme.workspace-onboarding-page .workspace-onboarding-logo {
  flex: 0 0 auto;
  min-height: var(--brand-height);
}
html body.slotic-theme:not(.public-service-page) .site-header .site-brand__logo,
html body.slotic-theme.workspace-onboarding-page .workspace-onboarding-logo {
  position: relative;
  display: block;
  width: var(--brand-width);
  height: var(--brand-height);
  overflow: hidden;
}
html body.slotic-theme:not(.public-service-page) .site-header .site-brand__logo img,
html body.slotic-theme.workspace-onboarding-page .workspace-onboarding-logo img {
  position: absolute;
  width: var(--brand-image-width) !important;
  height: auto;
  max-width: none;
  top: var(--brand-image-top) !important;
  left: var(--brand-image-left) !important;
  transform: none;
}
html.js body.slotic-theme[data-sidebar-reveal] > .site-header {
  opacity: 1;
  transition: none;
}
@media (max-width: 640px) {
  html body.slotic-theme:not(.public-service-page) {
    --brand-width: 148px;
    --brand-height: 45px;
    --brand-image-width: 187px;
    --brand-image-top: -46px;
    --brand-image-left: -20px;
  }
  html body.slotic-theme:not(.public-service-page) > .site-header .site-header__inner,
  html body.slotic-theme.workspace-onboarding-page .workspace-onboarding-header {
    position: relative;
    min-height: 72px;
    height: 72px;
    padding: 0;
  }
  html body.slotic-theme:not(.public-service-page) .site-header .site-brand,
  html body.slotic-theme.workspace-onboarding-page .workspace-onboarding-logo {
    position: absolute;
    top: 12px;
    /* The normal mobile header has a 12px inset; anchor to the viewport,
       so a vertical scrollbar cannot move the logo between steps. */
    left: calc(50vw - 12px);
    width: var(--brand-width);
    min-height: var(--brand-height);
    margin: 0;
    padding: 0;
    transform: translateX(-50%);
  }
  html body.slotic-theme.setup-shell .site-header .site-brand,
  html body.slotic-theme.workspace-onboarding-page .workspace-onboarding-logo {
    left: 50vw;
  }
}
