/* OTC stacked-home — home button (Marketing enlarged lockup) */
.otc-home-logo {
  position: fixed;
  top: 0.55rem;
  left: 0.55rem;
  z-index: 10050;
  display: inline-block;
  line-height: 0;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
  background: transparent;
  text-decoration: none;
}
.otc-home-logo:hover {
  outline: 2px solid rgba(96, 165, 250, 0.85);
  outline-offset: 2px;
}
.otc-home-logo img {
  display: block;
  width: 44px;
  height: auto;
  max-width: min(14vw, 52px);
}

/* Field app: sit in plan-header beside title (not over sidebar) */
.otc-home-logo-header {
  position: static;
  top: auto;
  left: auto;
  z-index: auto;
  flex-shrink: 0;
  border-radius: 8px;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.35);
}
.otc-home-logo-header img {
  width: 36px;
  max-width: 36px;
  height: auto;
}

/* Hide floating corner when field main UI is active (header logo used instead) */
body:has(#mainScreen.active) > #otcHomeLogo {
  display: none !important;
}
/* Sign-in uses hero lockup — no corner duplicate */
body:has(#signInScreen.active) > #otcHomeLogo {
  display: none !important;
}

/* Larger lockup on login / signup cards */
.otc-home-logo-hero {
  display: block;
  margin: 0 auto 1rem;
  width: 160px;
  max-width: min(70vw, 200px);
  height: auto;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.35);
}
.otc-home-logo-hero img {
  display: block;
  width: 100%;
  height: auto;
}
