/* r111: remove unavailable historical imports that block startup. */
/* HTNS v268 — Home Sunday Team header cleanup.
   Remove the centered date pill and keep the section title left-aligned. */
#mainApp .home-team-dashboard-head{
  display:flex !important;
  align-items:center !important;
  justify-content:flex-start !important;
  grid-template-columns:none !important;
}
#mainApp .home-team-dashboard-head .home-section-title{
  margin:0 !important;
  justify-self:auto !important;
}
#mainApp .home-team-dashboard-head .home-team-date{
  display:none !important;
}

/* Home Media: show each saved assignment in its own cell.
   Clear retired fixed coordinates so the two Morning Task cards cannot overlap.
   Keep Coordinators first and Morning Task immediately below them. Worship,
   schedule data, card dimensions, icons, and typography are unchanged. */
html #mainApp #view-home .home-team-grid > .home-team-member.home-coordinator-top,
html #mainApp #view-home .home-team-grid > .home-team-member[class*="home-media-role-"]{
  grid-column:auto !important;
  grid-row:auto !important;
  order:10 !important;
}
html #mainApp #view-home .home-team-grid > .home-team-member.home-coordinator-top{
  order:0 !important;
}
html #mainApp #view-home .home-team-grid > .home-team-member.home-media-role-morning-task{
  order:1 !important;
  grid-column:1 !important;
}
html #mainApp #view-home .home-team-grid > .home-team-member.home-media-role-morning-task ~ .home-team-member.home-media-role-morning-task{
  grid-column:auto !important;
}

/* Home Singers: smaller names with dot separators; never squeeze names together.
   Long lists wrap within the same card instead of clipping or hiding people. */
html #mainApp #view-home .home-singers-inline-card .home-singers-inline-label{
  font-size:11px !important;
  line-height:1.4 !important;
}
html #mainApp #view-home .home-singers-inline-card .home-team-person-list{
  flex-wrap:wrap !important;
  gap:2px 0 !important;
  overflow:visible !important;
}
html #mainApp #view-home .home-singers-inline-card .home-team-person-chip{
  flex:0 0 auto !important;
  width:auto !important;
  max-width:100% !important;
  font-size:12px !important;
  line-height:1.4 !important;
  white-space:normal !important;
  overflow-wrap:anywhere !important;
}
html #mainApp #view-home .home-singers-inline-card .home-team-person-chip + .home-team-person-chip::before{
  content:"\00b7";
  margin:0 .3em;
}
