/* Reference-led dashboard: same visual hierarchy, ordering and proportions as the supplied screenshot. */
#dashboard .day-report-card.dashboard-section {
  background: #f7faf9;
  border: 1px solid #e7efeb;
  border-radius: 22px;
  padding: 16px;
  box-shadow: 0 4px 16px rgba(26, 61, 51, 0.045);
}
#dashboard .day-report-head {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr) 44px;
  align-items: center;
  gap: 7px;
  margin: 0 0 18px;
  padding: 0;
}
#dashboard .dash-date-arrow {
  height: 42px;
  width: 42px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  padding: 0;
  background: #fff;
  color: #202b28;
  border: 1px solid #e7efeb;
  box-shadow: 0 2px 7px rgba(0, 0, 0, 0.06);
  font-size: 31px;
  line-height: 1;
  font-weight: 500;
}
#dashboard .dash-date-center {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-width: 0;
}
#dashboard #dashboardDateLabel {
  font-size: clamp(12px, 3.3vw, 19px);
  font-weight: 850;
  color: #202b28;
  text-align: center;
  white-space: nowrap;
  line-height: 1.2;
  margin: 0;
}
#dashboard .dash-calendar {
  width: 28px;
  height: 28px;
  flex: 0 0 28px;
  display: grid;
  place-items: center;
  border: 0;
  background: transparent;
  color: #202b28;
  padding: 1px;
}
#dashboard .dash-calendar svg {
  width: 25px;
  height: 25px;
  display: block;
}
#dashboard .day-report-metrics {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 12px !important;
  border: 0 !important;
  border-radius: 0 !important;
  overflow: visible !important;
  background: transparent !important;
}
#dashboard .day-metric {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 12px;
  min-width: 0;
  min-height: 112px;
  padding: 15px;
  border: 1px solid #e8efeb !important;
  border-radius: 20px;
  background: #fff !important;
  box-shadow: 0 4px 12px rgba(24, 62, 52, 0.055);
}
#dashboard .dash-icon {
  width: 62px;
  height: 62px;
  flex: 0 0 62px;
  border-radius: 17px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f0f8fb;
}
#dashboard .dash-icon svg {
  width: 53px;
  height: 53px;
  display: block;
}
#dashboard .bills-mark {
  background: #f1f4ff;
}
#dashboard .cash-mark {
  background: #edf7ef;
}
#dashboard .upi-mark {
  background: #fff;
  border: 1px solid #eef0ed;
}
#dashboard .dash-metric-copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 5px;
  min-width: 0;
}
#dashboard .dash-metric-name {
  display: block !important;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.15;
  color: #65736e;
  white-space: normal;
}
#dashboard .day-metric strong {
  display: block;
  font-size: clamp(22px, 5.2vw, 30px);
  line-height: 1.1;
  font-weight: 900;
  color: #171f28;
  overflow-wrap: anywhere;
}

/* V61: bottom navigation order requested by the user. */
.drawer-nav-scroll .navbtn[data-page='pending'] {
  order: 1;
}
.drawer-nav-scroll .navbtn[data-page='orders'] {
  order: 2;
}
.drawer-nav-scroll .navbtn[data-page='newbill'] {
  order: 3;
}
.drawer-nav-scroll .navbtn[data-page='suggested'] {
  order: 4;
}
.drawer-nav-scroll .navbtn[data-page='inventory'] {
  order: 5;
}
@media (max-width: 520px) {
  #dashboard .day-report-card.dashboard-section {
    padding: 12px;
  }
  #dashboard .day-report-head {
    grid-template-columns: 35px minmax(0, 1fr) 35px;
    gap: 4px;
  }
  #dashboard .dash-date-arrow {
    width: 34px;
    height: 34px;
    font-size: 27px;
  }
  #dashboard .dash-date-center {
    gap: 4px;
  }
  #dashboard #dashboardDateLabel {
    font-size: clamp(10px, 3vw, 14px);
  }
  #dashboard .dash-calendar {
    width: 23px;
    height: 23px;
    flex-basis: 23px;
  }
  #dashboard .dash-calendar svg {
    width: 21px;
    height: 21px;
  }
  #dashboard .day-report-metrics {
    gap: 10px !important;
  }
  #dashboard .day-metric {
    gap: 9px;
    min-height: 98px;
    padding: 10px;
    border-radius: 17px;
  }
  #dashboard .dash-icon {
    width: 48px;
    height: 48px;
    flex-basis: 48px;
    border-radius: 13px;
  }
  #dashboard .dash-icon svg {
    width: 42px;
    height: 42px;
  }
  #dashboard .dash-metric-name {
    font-size: 12px;
  }
  #dashboard .day-metric strong {
    font-size: clamp(19px, 5vw, 24px);
  }
}
