/* The month calendar (design-system datetime-picker's date half): head with
   month navigation, weekday row, six-row day grid, today / current /
   earliest marks, the Clear foot. Used by the campaign page's launch date
   picker and by the campaigns list's change-dates forms, so the layout
   links it on every page. Moved out of campaign_page.css; reads the design
   tokens directly. */

.cpv1-launch-picker-head {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 8px;
}
.cpv1-launch-picker-month {
  flex: 1;
  text-align: center;
  font-size: 13px;
  font-weight: 600;
  color: var(--fg);
}
.cpv1-launch-picker-nav {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border-radius: 4px;
  background: transparent;
  border: 0;
  color: var(--fg-muted);
  font-size: 16px;
  cursor: pointer;
  text-decoration: none;
}
.cpv1-launch-picker-nav:hover {
  background: var(--surface-2);
  color: var(--fg);
}
.cpv1-launch-picker-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  /* The weekday row plus six week rows, always: a month with five weeks
   * keeps the sixth row empty, so the card's height — and the month
   * arrows under the cursor — stay put from one month to the next. */
  grid-template-rows: auto repeat(6, 28px);
  gap: 2px;
}
.cpv1-launch-picker-dow {
  font-size: 10.5px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--fg-faint);
  text-align: center;
  padding-bottom: 4px;
}
.cpv1-launch-picker-blank { /* placeholder */ }
.cpv1-launch-picker-day {
  position: relative;
  background: transparent;
  border: 0;
  padding: 0;
  height: 28px;
  font-size: 12.5px;
  color: var(--fg);
  cursor: pointer;
  border-radius: 4px;
  font-family: inherit;
}
.cpv1-launch-picker-day:hover { background: var(--tint-50, var(--color-slate-50)); }
.cpv1-launch-picker-day--today {
  color: var(--tint-800, var(--color-slate-700));
  font-weight: 600;
}
.cpv1-launch-picker-day--current {
  background: var(--tint-100, var(--color-slate-100));
  color: var(--tint-800, var(--color-slate-700));
  font-weight: 700;
}
.cpv1-launch-picker-day--earliest::after {
  content: "";
  position: absolute;
  bottom: 3px;
  left: 50%;
  transform: translateX(-50%);
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--tint-300, var(--color-slate-200));
}
.cpv1-launch-picker-foot {
  margin-top: 8px;
  display: flex;
  justify-content: flex-start;
}
.cpv1-launch-picker-clear {
  background: transparent;
  border: 0;
  padding: 0;
  font-size: 12px;
  color: var(--fg-muted);
  cursor: pointer;
  font-family: inherit;
}
.cpv1-launch-picker-clear:hover {
  text-decoration: underline;
  color: var(--fg);
}
