/* Stage 36I - Cutting Edge Workforce master branding + Alerts terminology
   Branding only. Existing navigation, scheduling, request, warning-count logic,
   and CEA Shifts Home Screen identity remain intact. */

/* Desktop / drawer sidebar parent-platform brand */
.sidebar-brand.stage36i-workforce-brand {
  grid-template-columns: minmax(0, 1fr) 36px;
  gap: 10px;
  padding: 12px 14px;
}

.sidebar-brand.stage36i-workforce-brand > .brand-mark,
.sidebar-brand.stage36i-workforce-brand > .brand-copy {
  display: none !important;
}

.stage36i-sidebar-workforce-logo {
  display: block;
  width: 100%;
  max-width: 178px;
  height: 54px;
  object-fit: contain;
  justify-self: start;
  padding: 3px 5px;
  border-radius: 8px;
  background: #ffffff;
  box-sizing: border-box;
}

.sidebar-collapsed .sidebar-brand.stage36i-workforce-brand {
  grid-template-columns: 1fr;
  justify-items: center;
  padding-inline: 8px;
}

.sidebar-collapsed .stage36i-sidebar-workforce-logo {
  display: none !important;
}

/* Main top bar: keep the desktop title, use the compact master logo on phones. */
.stage36i-mobile-workforce-logo {
  display: none;
}

.topbar-title.stage36i-workforce-topbar {
  min-width: 0;
}

/* Login page parent-platform brand. Home Screen metadata/icon remain CEA Shifts. */
.brand.stage36i-workforce-login-brand {
  margin-bottom: 24px;
}

.brand.stage36i-workforce-login-brand > h1,
.brand.stage36i-workforce-login-brand > p {
  display: none !important;
}

.stage36i-login-workforce-logo {
  display: block;
  width: min(100%, 340px);
  height: auto;
  margin: 0 auto;
}

@media (max-width: 900px) {
  .topbar-title.stage36i-workforce-topbar > h1 {
    display: none !important;
  }

  .stage36i-mobile-workforce-logo {
    display: block;
    width: min(56vw, 250px);
    max-height: 74px;
    object-fit: contain;
    object-position: left center;
  }

  .topbar-title.stage36i-workforce-topbar {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 3px;
  }

  .topbar-title.stage36i-workforce-topbar #welcomeText {
    margin-top: 0;
  }
}

@media (max-width: 760px) {
  .stage36i-mobile-workforce-logo {
    width: min(62vw, 270px);
  }

  .stage36i-sidebar-workforce-logo {
    max-width: 182px;
  }
}
