/* Build 392: joined workout and assigned-coach schedule actions on the client home page. */
.home-training-actions {
  display: grid;
  width: min(100%, 720px);
  margin-bottom: 1rem;
}

.home-training-actions .home-action-card {
  width: 100%;
  margin: 0;
}

.home-training-actions.has-schedule .home-action-card {
  border-radius: .9rem .9rem 0 0;
}

.home-coach-schedule {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: center;
  align-self: stretch;
  min-height: 48px;
  width: 100%;
  margin: -1px 0 0;
  padding: 0;
  border: 1px solid #1678bd;
  border-radius: 0 0 .9rem .9rem;
  background: #1678bd;
  color: #fff;
  font-size: .88rem;
  font-weight: 800;
}

.home-coach-schedule-label,
.home-coach-presence {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
  min-height: 48px;
  padding: .45rem .4rem;
  text-align: center;
}

.home-coach-presence {
  gap: .4rem;
  border-left: 1px solid rgba(255,255,255,.75);
}

.home-coach-presence em{font-style:normal}
.home-coach-presence em[hidden]{display:none}
.home-coach-avatar{position:relative;display:grid;flex:none;place-items:center;width:29px;height:29px;border:1px solid #b9e4ff;border-radius:50%;background:#083e69;color:#fff;font-size:.72rem;letter-spacing:.02em}
.home-coach-avatar i{display:none;position:absolute;right:-2px;bottom:-2px;width:10px;height:10px;border:2px solid #1678bd;border-radius:50%;background:#36d46d}
.home-coach-presence.is-online .home-coach-avatar i{display:block}

@media (max-width: 520px) {
  .home-coach-schedule {
    min-height: 46px;
    margin-bottom: .2rem;
    font-size: .8rem;
  }
  .home-coach-schedule-label,.home-coach-presence{min-height:46px;padding:.35rem .3rem}
  .home-coach-presence{gap:.32rem}
  .home-coach-avatar{width:26px;height:26px}
}

/* One-line client home workout action. */
.home-training-actions .home-action-card{
  grid-template-columns:40px minmax(0,1fr) 20px;
  gap:.6rem;
  min-height:58px;
  padding:.45rem .75rem;
}
.home-training-actions .home-action-card>efitx-icon:first-child{width:40px;height:40px}
.home-training-actions .home-action-card>div{min-width:0}
.home-training-actions .home-primary-link{
  font-size:clamp(1rem,4vw,1.25rem);
  white-space:nowrap;
}
@media(max-width:360px){
  .home-training-actions .home-action-card{grid-template-columns:36px minmax(0,1fr) 16px;gap:.4rem;padding:.4rem .55rem}
  .home-training-actions .home-action-card>efitx-icon:first-child{width:36px;height:36px}
  .home-training-actions .home-action-card.is-assignment .home-primary-link{font-size:.88rem;letter-spacing:-.02em}
}
