


/* Selected person tile: three deliberate columns that can never collapse the copy. */
#atlasMain .atlas-person-center.atlas-people-center .profile-tabs > .profile-tab.atlas-profile-mini{
  box-sizing:border-box!important;
  display:grid!important;
  grid-template-columns:40px minmax(0,1fr) 22px!important;
  grid-template-rows:1fr!important;
  align-items:center!important;
  column-gap:9px!important;
  min-width:0!important;
  padding:10px 11px!important;
  text-align:left!important;
  overflow:hidden!important;
}
#atlasMain .atlas-person-center.atlas-people-center .profile-tabs > .profile-tab.atlas-profile-mini .profile-avatar{
  position:static!important;
  grid-column:1!important;
  grid-row:1!important;
  align-self:center!important;
  justify-self:start!important;
  width:40px!important;
  min-width:40px!important;
  height:40px!important;
  min-height:40px!important;
  margin:0!important;
}
#atlasMain .atlas-person-center.atlas-people-center .profile-tabs > .profile-tab.atlas-profile-mini .profile-tab-copy{
  position:static!important;
  grid-column:2!important;
  grid-row:1!important;
  display:flex!important;
  flex-direction:column!important;
  justify-content:center!important;
  align-items:flex-start!important;
  gap:3px!important;
  width:auto!important;
  min-width:0!important;
  max-width:none!important;
  margin:0!important;
  padding:0!important;
  text-align:left!important;
  writing-mode:horizontal-tb!important;
  text-orientation:mixed!important;
}
#atlasMain .atlas-person-center.atlas-people-center .profile-tabs > .profile-tab.atlas-profile-mini .profile-tab-copy b,
#atlasMain .atlas-person-center.atlas-people-center .profile-tabs > .profile-tab.atlas-profile-mini .profile-tab-copy small{
  position:static!important;
  display:block!important;
  width:100%!important;
  min-width:0!important;
  max-width:100%!important;
  margin:0!important;
  padding:0!important;
  writing-mode:horizontal-tb!important;
  text-orientation:mixed!important;
  word-break:normal!important;
  overflow-wrap:normal!important;
  hyphens:none!important;
  text-align:left!important;
}
#atlasMain .atlas-person-center.atlas-people-center .profile-tabs > .profile-tab.atlas-profile-mini .profile-tab-copy b{
  font-size:.82rem!important;
  line-height:1.18!important;
  font-weight:750!important;
  white-space:nowrap!important;
  overflow:hidden!important;
  text-overflow:ellipsis!important;
  -webkit-line-clamp:unset!important;
}
#atlasMain .atlas-person-center.atlas-people-center .profile-tabs > .profile-tab.atlas-profile-mini .profile-tab-copy small{
  font-size:.64rem!important;
  line-height:1.2!important;
  white-space:nowrap!important;
  overflow:hidden!important;
  text-overflow:ellipsis!important;
  -webkit-line-clamp:unset!important;
  opacity:.72!important;
}
#atlasMain .atlas-person-center.atlas-people-center .profile-tabs > .profile-tab.atlas-profile-mini .profile-selected-badge{
  position:static!important;
  grid-column:3!important;
  grid-row:1!important;
  align-self:center!important;
  justify-self:end!important;
  display:grid!important;
  place-items:center!important;
  width:20px!important;
  min-width:20px!important;
  height:20px!important;
  min-height:20px!important;
  margin:0!important;
  padding:0!important;
  transform:none!important;
  pointer-events:none!important;
  border-radius:50%!important;
  font-size:0!important;
  line-height:1!important;
  letter-spacing:0!important;
}
#atlasMain .atlas-person-center.atlas-people-center .profile-tabs > .profile-tab.atlas-profile-mini .profile-selected-badge::before{
  content:"✓"!important;
  display:block!important;
  font-family:Arial,"Helvetica Neue",sans-serif!important;
  font-size:12px!important;
  font-weight:800!important;
  line-height:1!important;
  color:var(--gold-2)!important;
  -webkit-text-fill-color:var(--gold-2)!important;
}

/* Add person tile: one clean label only. */
#atlasMain .atlas-person-center.atlas-people-center .profile-tabs > .profile-add-tab{
  box-sizing:border-box!important;
  display:grid!important;
  grid-template-columns:40px minmax(0,1fr)!important;
  grid-template-rows:1fr!important;
  align-items:center!important;
  column-gap:10px!important;
  min-width:0!important;
  padding:10px 11px!important;
  overflow:hidden!important;
}
#atlasMain .atlas-person-center.atlas-people-center .profile-tabs > .profile-add-tab .profile-add-icon{
  position:static!important;
  grid-column:1!important;
  grid-row:1!important;
  width:40px!important;
  min-width:40px!important;
  height:40px!important;
  min-height:40px!important;
  margin:0!important;
}
#atlasMain .atlas-person-center.atlas-people-center .profile-tabs > .profile-add-tab > span:last-child{
  grid-column:2!important;
  grid-row:1!important;
  display:block!important;
  width:auto!important;
  min-width:0!important;
  max-width:none!important;
  margin:0!important;
  padding:0!important;
  text-align:left!important;
}
#atlasMain .atlas-person-center.atlas-people-center .profile-tabs > .profile-add-tab b{
  display:block!important;
  width:100%!important;
  margin:0!important;
  font-size:.80rem!important;
  line-height:1.2!important;
  font-weight:700!important;
  white-space:nowrap!important;
  overflow:hidden!important;
  text-overflow:ellipsis!important;
  word-break:normal!important;
  overflow-wrap:normal!important;
  writing-mode:horizontal-tb!important;
}
#atlasMain .atlas-person-center.atlas-people-center .profile-tabs > .profile-add-tab small{
  display:none!important;
}

/* Desktop/tablet: do not let compact mobile widths leak upward. */
@media(min-width:901px){
  #atlasMain .atlas-person-center.atlas-people-center .profile-tabs{
    grid-template-columns:repeat(auto-fit,minmax(210px,1fr))!important;
  }
  #atlasMain .atlas-person-center.atlas-people-center .profile-tabs > :is(.profile-tab.atlas-profile-mini,.profile-add-tab){
    width:auto!important;
    min-width:210px!important;
    max-width:none!important;
    min-height:76px!important;
    height:auto!important;
    flex-basis:auto!important;
  }
}

/* Tablet: roomy horizontal copy; still scrollable when there are many people. */
@media(min-width:521px) and (max-width:900px){
  #atlasMain .atlas-person-center.atlas-people-center .profile-tabs > :is(.profile-tab.atlas-profile-mini,.profile-add-tab){
    flex:0 0 188px!important;
    width:188px!important;
    min-width:188px!important;
    max-width:188px!important;
    min-height:72px!important;
    height:72px!important;
  }
}

/* Mobile keeps the approved 148px person-card footprint, with geometry sized to fit it. */
@media(max-width:520px){
  #atlasMain .atlas-person-center.atlas-people-center .profile-tabs > .profile-tab.atlas-profile-mini{
    flex:0 0 148px!important;
    width:148px!important;
    min-width:148px!important;
    max-width:148px!important;
    min-height:70px!important;
    height:70px!important;
    grid-template-columns:30px minmax(0,1fr) 16px!important;
    column-gap:5px!important;
    padding:7px!important;
  }
  #atlasMain .atlas-person-center.atlas-people-center .profile-tabs > .profile-tab.atlas-profile-mini .profile-avatar{
    width:30px!important;
    min-width:30px!important;
    height:30px!important;
    min-height:30px!important;
    font-size:.72rem!important;
  }
  #atlasMain .atlas-person-center.atlas-people-center .profile-tabs > .profile-tab.atlas-profile-mini .profile-selected-badge{
    width:16px!important;
    min-width:16px!important;
    height:16px!important;
    min-height:16px!important;
  }
  #atlasMain .atlas-person-center.atlas-people-center .profile-tabs > .profile-tab.atlas-profile-mini .profile-selected-badge::before{
    font-size:10px!important;
  }
  #atlasMain .atlas-person-center.atlas-people-center .profile-tabs > .profile-tab.atlas-profile-mini .profile-tab-copy b{
    font-size:.70rem!important;
    line-height:1.14!important;
  }
  #atlasMain .atlas-person-center.atlas-people-center .profile-tabs > .profile-tab.atlas-profile-mini .profile-tab-copy small{
    font-size:.56rem!important;
    line-height:1.12!important;
  }
  #atlasMain .atlas-person-center.atlas-people-center .profile-tabs > .profile-add-tab{
    flex:0 0 132px!important;
    width:132px!important;
    min-width:132px!important;
    max-width:132px!important;
    min-height:70px!important;
    height:70px!important;
    grid-template-columns:30px minmax(0,1fr)!important;
    column-gap:6px!important;
    padding:7px!important;
  }
  #atlasMain .atlas-person-center.atlas-people-center .profile-tabs > .profile-add-tab .profile-add-icon{
    width:30px!important;
    min-width:30px!important;
    height:30px!important;
    min-height:30px!important;
  }
  #atlasMain .atlas-person-center.atlas-people-center .profile-tabs > .profile-add-tab b{
    font-size:.68rem!important;
  }
}
