.dashboard-period {
  display: grid;
  justify-items: end;
  gap: 8px;
}

.dashboard-period .date-pill {
  display: flex;
  align-items: center;
  gap: 8px;
}

.dashboard-period .date-pill select {
  border: 0;
  background: transparent;
  color: #314248;
  font: 700 12px 'DM Sans';
  outline: none;
  cursor: pointer;
}

.dashboard-period .date-pill b {
  padding-left: 8px;
  border-left: 1px solid var(--line);
  font-size: 11px;
  white-space: nowrap;
}

.custom-date-range {
  display: flex;
  align-items: flex-end;
  gap: 8px;
  padding: 10px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.custom-date-range label {
  display: grid;
  gap: 4px;
  color: var(--muted);
  font-size: 9px;
  font-weight: 700;
  text-transform: uppercase;
}

.custom-date-range input {
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 7px 8px;
  color: var(--ink);
  font: 11px 'DM Sans';
}

.custom-date-range .primary-btn { height: 32px; }
.donut.dynamic::after { content: attr(data-total) '\A Period due'; }
.empty-inline {
  justify-content: center !important;
  color: var(--muted);
  font-size: 11px !important;
  padding: 28px 10px !important;
}
.dashboard-heading { gap: 16px; }
.dashboard-grid .bar-group { min-width: 18px; }
.dashboard-grid .bar { width: 14px; }

@media (max-width: 760px) {
  .dashboard-heading { display: grid; }
  .dashboard-period { justify-items: start; width: 100%; }
  .dashboard-period .date-pill { width: 100%; flex-wrap: wrap; }
  .dashboard-period .date-pill b { margin-left: auto; }
  .custom-date-range { width: 100%; flex-wrap: wrap; }
  .custom-date-range label { flex: 1; min-width: 120px; }
  .custom-date-range input { width: 100%; }
}
