/* v2.10.47 — simplify portal facility choices and tighten director profile header clearance */
body[data-page="portal"] #facilityChoices{
  display:grid!important;
  grid-template-columns:repeat(2,minmax(0,1fr))!important;
  gap:10px!important;
  width:100%!important;
  max-width:520px!important;
}
body[data-page="portal"] #facilityChoices .choice{
  min-width:0!important;
  width:100%!important;
}
body[data-page="portal"] #facilityChoices .choice span{
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  width:100%!important;
  min-height:46px!important;
  padding:11px 14px!important;
  text-align:center!important;
  white-space:nowrap!important;
  text-transform:none!important;
}

body[data-page="bjorn"] .profile-page-section,
body[data-page="endrit"] .profile-page-section{
  padding-top:clamp(112px,8vw,120px)!important;
}
body[data-page="bjorn"] .profile-page-section .backlink,
body[data-page="endrit"] .profile-page-section .backlink{
  position:relative!important;
  z-index:2!important;
}
@media (max-width:1360px){
  body[data-page="bjorn"] .profile-page-section,
  body[data-page="endrit"] .profile-page-section{
    padding-top:calc(112px + env(safe-area-inset-top))!important;
  }
}
@media (max-width:760px){
  body[data-page="portal"] #facilityChoices{
    max-width:none!important;
  }
  body[data-page="portal"] #facilityChoices .choice span{
    min-height:48px!important;
    padding-inline:7px!important;
    font-size:13px!important;
    letter-spacing:0!important;
    text-transform:none!important;
  }
  body[data-page="bjorn"] .profile-page-section,
  body[data-page="endrit"] .profile-page-section{
    padding-top:calc(104px + env(safe-area-inset-top))!important;
  }
}
@media (max-width:360px){
  body[data-page="portal"] #facilityChoices{
    grid-template-columns:minmax(0,1fr)!important;
    gap:8px!important;
  }
  body[data-page="portal"] #facilityChoices .choice span{
    font-size:13.5px!important;
    padding-inline:10px!important;
  }
  body[data-page="bjorn"] .profile-page-section,
  body[data-page="endrit"] .profile-page-section{
    padding-top:calc(100px + env(safe-area-inset-top))!important;
  }
}
