.home-week-nav {
  display: grid;
  grid-template-columns: 32px minmax(0, 1fr) 32px;
  align-items: center;
  gap: 5px;
  margin-top: 18px;
  margin-bottom: 4px;
}

.home-week-arrow {
  width: 32px;
  height: 30px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--surface);
  color: var(--ink);
  font-size: 1.15rem;
  line-height: 1;
  font-weight: 900;
}

.home-week-label {
  min-width: 0;
  text-align: center;
  color: var(--muted);
  font-size: .68rem;
  line-height: 1;
  font-weight: 850;
  text-transform: capitalize;
}

.home-week.home-week-selector {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 4px;
  margin-top: 0;
  padding: 0;
  overflow: visible;
  touch-action: pan-y;
  user-select: none;
  -webkit-user-select: none;
}

.home-week-selector .home-day {
  min-width: 0;
  width: 100%;
  min-height: 40px;
  padding: 4px 1px;
  border-radius: 10px;
  gap: 1px;
}

.home-week-selector .home-day span {
  max-width: 100%;
  overflow: hidden;
  font-size: .54rem;
  text-overflow: clip;
  white-space: nowrap;
}

.home-week-selector .home-day b {
  font-size: .76rem;
  line-height: 1;
}

.home-week-selector .home-day.is-today:not(.active) {
  border-color: color-mix(in srgb, var(--wine) 55%, var(--line));
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--wine) 22%, transparent);
}

.home-selected-day {
  margin-top: 12px;
}

.home-selected-day .section-head {
  align-items: end;
  margin-bottom: 7px;
}

.home-selected-day .section-head h2 {
  margin: 1px 0 0;
  font-size: .96rem;
  text-transform: capitalize;
}

.home-selected-kicker {
  margin: 0;
  color: var(--muted);
  font-size: .58rem;
  line-height: 1;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .08em;
}

.home-selected-day .home-list {
  gap: 6px;
}

.home-selected-day .home-entry {
  padding: 9px 9px 9px 11px;
  grid-template-columns: 30px minmax(0, 1fr) auto;
  gap: 7px;
  border-radius: 13px;
}

.home-selected-day .home-entry:before {
  top: 9px;
  bottom: 9px;
}

.home-selected-day .home-entry-icon {
  width: 28px;
  height: 28px;
  border-radius: 9px;
  font-size: .82rem;
}

.home-selected-day .home-entry-copy b {
  font-size: .8rem;
}

.home-selected-day .home-entry-copy small {
  margin-top: 2px;
  font-size: .65rem;
}

.home-selected-day .source-label {
  font-size: .56rem;
  padding: 3px 6px;
}

.home-day-empty {
  padding: 11px 12px;
  border: 1px dashed var(--line);
  border-radius: 13px;
  background: var(--surface);
  color: var(--muted);
  text-align: center;
  font-size: .72rem;
}

@media (max-width: 380px) {
  .home-week-nav {
    grid-template-columns: 29px minmax(0, 1fr) 29px;
    gap: 3px;
  }

  .home-week-arrow {
    width: 29px;
    height: 28px;
  }

  .home-week.home-week-selector {
    gap: 3px;
  }

  .home-week-selector .home-day {
    min-height: 37px;
    border-radius: 9px;
  }

  .home-week-selector .home-day span {
    font-size: .5rem;
  }

  .home-week-selector .home-day b {
    font-size: .72rem;
  }
}
