/* REC0DET V244 — final Team onboarding lock.
   Loaded last so legacy onboarding/topbar CSS cannot override this screen. */

html body.recodet-pro:has(#viewTeamPicker:not(.hidden)) .topbar,
html body.recodet-pro:has(#viewTeamPicker:not(.hidden)) .appSidebar,
html body.recodet-pro:has(#viewTeamPicker:not(.hidden)) .quickModuleDock,
html body.recodet-pro:has(#viewTeamPicker:not(.hidden)) #bottomBar,
html body.recodet-pro:has(#viewTeamPicker:not(.hidden)) #switchModeFab,
html body.recodet-pro:has(#viewTeamPicker:not(.hidden)) #pageTitle{
  display:none!important;
}

html body.recodet-pro:has(#viewTeamPicker:not(.hidden)) .content{
  min-height:100dvh!important;
  margin:0!important;
  padding:
    max(10px,env(safe-area-inset-top))
    12px
    max(12px,env(safe-area-inset-bottom))!important;
  display:grid!important;
  align-content:center!important;
  justify-items:center!important;
  overflow:hidden!important;
}

html body.recodet-pro #viewTeamPicker.onboardingScreen{
  width:min(100%,430px)!important;
  margin:0!important;
  padding:0!important;
}

html body.recodet-pro #viewTeamPicker .v74TeamCard{
  width:100%!important;
  max-width:none!important;
  margin:0!important;
  padding:16px 14px 14px!important;
  overflow:hidden!important;
  border:1px solid rgba(212,175,55,.18)!important;
  border-radius:22px!important;
  background:
    radial-gradient(85% 55% at 50% -8%,rgba(212,175,55,.075),transparent 64%),
    #0c0b08!important;
  box-shadow:
    inset 0 1px 0 rgba(255,245,210,.035),
    0 20px 48px rgba(0,0,0,.34)!important;
}

html body.recodet-pro #viewTeamPicker .startupProgress{
  display:none!important;
}

html body.recodet-pro #viewTeamPicker .startupHeading{
  margin:0 0 14px!important;
  gap:3px!important;
  text-align:left!important;
}

html body.recodet-pro #viewTeamPicker .startupHeading strong{
  color:#fffaf0!important;
  font-size:24px!important;
  font-weight:900!important;
  line-height:1.05!important;
  letter-spacing:-.035em!important;
}

html body.recodet-pro #viewTeamPicker .startupHeading small{
  color:#8d8577!important;
  font-size:12px!important;
  line-height:1.3!important;
}

html body.recodet-pro #viewTeamPicker .v72LocationButton{
  width:100%!important;
  min-height:48px!important;
  margin:0!important;
  padding:7px 10px!important;
  display:grid!important;
  grid-template-columns:34px minmax(0,1fr) 16px!important;
  align-items:center!important;
  gap:9px!important;
  border:1px solid rgba(212,175,55,.18)!important;
  border-radius:14px!important;
  color:#f3e2a9!important;
  background:#11100c!important;
  box-shadow:none!important;
}

html body.recodet-pro #viewTeamPicker .v72LocationIcon{
  width:32px!important;
  height:32px!important;
  display:grid!important;
  place-items:center!important;
  border-radius:10px!important;
  color:#e2c259!important;
  background:rgba(212,175,55,.08)!important;
  font-size:19px!important;
}

html body.recodet-pro #viewTeamPicker .v72LocationButton strong{
  color:#f7f1df!important;
  font-size:12.5px!important;
  font-weight:900!important;
}

html body.recodet-pro #viewTeamPicker .v72LocationButton small{
  color:#857d6f!important;
  font-size:10.5px!important;
}

html body.recodet-pro #viewTeamPicker .v72LocationButton>b{
  color:#d9b951!important;
  font-size:20px!important;
}

html body.recodet-pro #viewTeamPicker .v72LocationStatus{
  min-height:0!important;
  margin:0!important;
  padding:0!important;
}
html body.recodet-pro #viewTeamPicker .v72LocationStatus:empty{
  display:none!important;
}

/* Single cohesive selector row */
html body.recodet-pro #viewTeamPicker .v74TeamArrowPicker{
  display:grid!important;
  grid-template-columns:36px minmax(0,1fr) 36px!important;
  align-items:center!important;
  gap:7px!important;
  margin:12px 0 0!important;
}

html body.recodet-pro #viewTeamPicker .v74TeamArrow{
  width:36px!important;
  height:54px!important;
  min-width:36px!important;
  border:1px solid rgba(212,175,55,.24)!important;
  border-radius:13px!important;
  color:#e6c45c!important;
  background:#11100c!important;
  box-shadow:none!important;
  font-size:27px!important;
  font-weight:300!important;
  line-height:1!important;
}

html body.recodet-pro #viewTeamPicker .v74SelectedTeam{
  min-height:76px!important;
  margin:0!important;
  padding:8px 9px!important;
  display:grid!important;
  grid-template-columns:46px minmax(0,1fr) 22px!important;
  align-items:center!important;
  gap:9px!important;
  border:1px solid rgba(212,175,55,.24)!important;
  border-radius:16px!important;
  color:#fffaf0!important;
  background:
    linear-gradient(180deg,rgba(212,175,55,.05),rgba(212,175,55,.018)),
    #11100c!important;
  box-shadow:inset 0 1px 0 rgba(255,245,210,.025)!important;
}

html body.recodet-pro #viewTeamPicker .v74SelectedTeam .v72SelectedBadge{
  width:46px!important;
  height:46px!important;
  border:1px solid rgba(212,175,55,.22)!important;
  border-radius:14px!important;
  background:#0b0a08!important;
}

html body.recodet-pro #viewTeamPicker .v74SelectedTeam .v72SelectedBadge img{
  width:40px!important;
  height:40px!important;
  object-fit:contain!important;
}

html body.recodet-pro #viewTeamPicker .v74SelectedTeam .v72SelectedCopy{
  display:grid!important;
  gap:1px!important;
  min-width:0!important;
}

html body.recodet-pro #viewTeamPicker .v74SelectedTeam .v72SelectedCopy small{
  color:#9f8b50!important;
  font-size:8px!important;
  font-weight:900!important;
  letter-spacing:.10em!important;
  text-transform:uppercase!important;
}

html body.recodet-pro #viewTeamPicker .v74SelectedTeam .v72SelectedCopy strong{
  color:#fffaf0!important;
  font-size:17px!important;
  font-weight:900!important;
  line-height:1.05!important;
}

html body.recodet-pro #viewTeamPicker .v74SelectedTeam .v72SelectedCopy em{
  color:#8d8577!important;
  font-size:10px!important;
  font-style:normal!important;
}

html body.recodet-pro #viewTeamPicker .v72SelectedCheck{
  width:22px!important;
  height:22px!important;
  display:grid!important;
  place-items:center!important;
  border-radius:50%!important;
  color:#0d0b06!important;
  background:#d4af37!important;
  font-size:11px!important;
  font-weight:950!important;
}

html body.recodet-pro #viewTeamPicker .v74TeamPickerMeta{
  min-height:20px!important;
  padding:6px 43px 0!important;
  display:flex!important;
  align-items:center!important;
  justify-content:space-between!important;
  gap:8px!important;
  color:#736c60!important;
  font-size:9px!important;
}

html body.recodet-pro #viewTeamPicker .v74TeamPickerMeta b{
  color:#c6a43a!important;
  font-size:10px!important;
  font-weight:900!important;
}

html body.recodet-pro #viewTeamPicker .v74TeamContinue{
  width:100%!important;
  min-height:45px!important;
  margin:10px 0 0!important;
  border:1px solid rgba(255,236,164,.18)!important;
  border-radius:13px!important;
  color:#100d07!important;
  background:linear-gradient(135deg,#efd05f,#d2a126 68%,#bd8c17)!important;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.23),
    0 8px 18px rgba(151,105,10,.13)!important;
  font-size:13px!important;
  font-weight:950!important;
}

html body.recodet-pro #viewTeamPicker .startupFootnote{
  margin:6px 0 0!important;
  color:#6d675d!important;
  font-size:9px!important;
  line-height:1.2!important;
}

/* Eliminate any inherited white-card treatment. */
html body.recodet-pro #viewTeamPicker .v72SelectedTeam,
html body.recodet-pro #viewTeamPicker .v72SelectedTeam *{
  text-shadow:none!important;
}

@media(max-width:380px){
  html body.recodet-pro #viewTeamPicker .v74TeamCard{
    padding:13px 11px 11px!important;
  }

  html body.recodet-pro #viewTeamPicker .startupHeading strong{
    font-size:21px!important;
  }

  html body.recodet-pro #viewTeamPicker .v74TeamArrowPicker{
    grid-template-columns:34px minmax(0,1fr) 34px!important;
    gap:5px!important;
  }

  html body.recodet-pro #viewTeamPicker .v74TeamArrow{
    width:34px!important;
    min-width:34px!important;
    height:50px!important;
    font-size:25px!important;
  }

  html body.recodet-pro #viewTeamPicker .v74SelectedTeam{
    grid-template-columns:42px minmax(0,1fr) 20px!important;
    min-height:70px!important;
    padding:7px!important;
  }

  html body.recodet-pro #viewTeamPicker .v74SelectedTeam .v72SelectedBadge{
    width:42px!important;
    height:42px!important;
  }

  html body.recodet-pro #viewTeamPicker .v74SelectedTeam .v72SelectedBadge img{
    width:36px!important;
    height:36px!important;
  }

  html body.recodet-pro #viewTeamPicker .v74SelectedTeam .v72SelectedCopy strong{
    font-size:16px!important;
  }
}

@media(max-height:700px){
  html body.recodet-pro #viewTeamPicker .startupHeading small,
  html body.recodet-pro #viewTeamPicker .startupFootnote{
    display:none!important;
  }

  html body.recodet-pro #viewTeamPicker .v74TeamArrowPicker{
    margin-top:8px!important;
  }

  html body.recodet-pro #viewTeamPicker .v74TeamContinue{
    margin-top:8px!important;
    min-height:42px!important;
  }
}


/* REC0DET V245 — Team logo + hard viewport lock. */
html:has(#viewTeamPicker:not(.hidden)),
body:has(#viewTeamPicker:not(.hidden)){
  width:100%!important;
  height:100dvh!important;
  min-height:100dvh!important;
  max-height:100dvh!important;
  overflow:hidden!important;
  overscroll-behavior:none!important;
  touch-action:manipulation!important;
}

body:has(#viewTeamPicker:not(.hidden)) .app,
body:has(#viewTeamPicker:not(.hidden)) .content,
#viewTeamPicker.onboardingScreen{
  height:100dvh!important;
  min-height:0!important;
  max-height:100dvh!important;
  overflow:hidden!important;
}

body:has(#viewTeamPicker:not(.hidden)) .content{
  box-sizing:border-box!important;
}

#viewTeamPicker .v74TeamCard{
  max-height:calc(100dvh - max(18px,env(safe-area-inset-top)) - max(18px,env(safe-area-inset-bottom)))!important;
  overflow:hidden!important;
}

#viewTeamPicker .teamOnboardingLogo{
  display:grid!important;
  place-items:center!important;
  min-height:48px!important;
  margin:0 0 9px!important;
}

#viewTeamPicker .teamOnboardingLogo img{
  display:block!important;
  width:44px!important;
  height:44px!important;
  object-fit:contain!important;
  filter:drop-shadow(0 7px 18px rgba(212,175,55,.13))!important;
}

@media(max-height:700px){
  #viewTeamPicker .teamOnboardingLogo{
    min-height:38px!important;
    margin-bottom:6px!important;
  }
  #viewTeamPicker .teamOnboardingLogo img{
    width:36px!important;
    height:36px!important;
  }
}

@media(max-height:640px){
  #viewTeamPicker .v74TeamCard{
    padding-top:9px!important;
    padding-bottom:8px!important;
  }
  #viewTeamPicker .teamOnboardingLogo{
    min-height:32px!important;
    margin-bottom:4px!important;
  }
  #viewTeamPicker .teamOnboardingLogo img{
    width:30px!important;
    height:30px!important;
  }
  #viewTeamPicker .startupHeading{
    margin-bottom:7px!important;
  }
  #viewTeamPicker .startupHeading small,
  #viewTeamPicker .startupFootnote{
    display:none!important;
  }
  #viewTeamPicker .v72LocationButton{
    min-height:43px!important;
  }
  #viewTeamPicker .v74TeamArrowPicker{
    margin-top:6px!important;
  }
  #viewTeamPicker .v74SelectedTeam{
    min-height:66px!important;
  }
  #viewTeamPicker .v74TeamContinue{
    min-height:40px!important;
    margin-top:6px!important;
  }
}
