.home-welcome {
  margin-bottom: 22px;
}

.home-welcome h1 {
  margin: 4px 0 6px;
}

.home-welcome p {
  margin: 0;
}

.home-stats {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 16px;
  margin-bottom: 24px;
}

.home-stat-card {
  background: #fff;
  border: 1px solid rgba(23,50,77,.10);
  border-radius: 18px;
  padding: 20px;
  min-height: 125px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: 0 8px 24px rgba(23,50,77,.05);
}

.home-stat-card span {
  color: #66788a;
  font-size: .95rem;
}

.home-stat-card strong {
  color: #17324d;
  font-size: 2.2rem;
  line-height: 1;
}

.home-upcoming {
  background: #fff;
  border: 1px solid rgba(23,50,77,.10);
  border-radius: 18px;
  padding: 20px;
}

.home-upcoming-head {
  margin-bottom: 12px;
}

.home-upcoming-head h2 {
  margin: 0 0 4px;
}

.home-task-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 14px 0;
  border-bottom: 1px solid rgba(23,50,77,.08);
}

.home-task-row:last-child {
  border-bottom: 0;
}

.home-task-row > div {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.home-task-status {
  padding: 6px 12px;
  border-radius: 999px;
  background: #f3f6f9;
  white-space: nowrap;
}

@media (max-width: 900px) {
  .home-stats {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 520px) {
  .home-stats {
    grid-template-columns: 1fr;
  }
}


/* Commitment gauge */
.home-commitment-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  padding: 10px 16px;
}

.commitment-half-gauge {
  position: relative;
  width: 118px;
  height: 67px;
}

.commitment-half-gauge svg {
  display: block;
  width: 118px;
  height: 67px;
  overflow: visible;
}

.gauge-track,
.gauge-progress {
  fill: none;
  stroke-width: 10;
  stroke-linecap: round;
}

.gauge-track {
  stroke: #e7edf2;
}

.gauge-progress {
  stroke: #d64545;
  stroke-dasharray: 157.1;
  stroke-dashoffset: 157.1;
  transition: stroke-dashoffset .6s ease, stroke .3s ease;
}

.commitment-half-gauge strong {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  text-align: center;
  font-size: 1.05rem;
  line-height: 1;
  color: #17324d;
  font-weight: 700;
}

.commitment-label {
  color: #66788a;
  font-size: .95rem;
  font-weight: 500;
  white-space: nowrap;
}

@media (max-width: 1150px) {
  .home-stats {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

