/* Restore the original compact month layout; only its event markers vary. */
html[data-visual-mode="minimal"] body.theme-liquid #appView .schedule-month-view .calendar-dots {
  margin-top:4px;flex:none;
}
html[data-visual-mode="minimal"] body.theme-liquid #appView .schedule-month-view .calendar-dot {
  width:4px;height:4px;border-radius:50%;flex:none;
}
html[data-visual-mode="minimal"] body.theme-liquid #appView .schedule-month-view .calendar-dot.video { background:#a8cfe8!important; }
html[data-visual-mode="minimal"] body.theme-liquid #appView .schedule-month-view .calendar-dot.order { background:var(--minimal-accent,#f4b95f)!important; }
html[data-visual-mode="minimal"] body.theme-liquid #appView .schedule-month-view .calendar-dot.reminder { background:#b8bdc4!important; }

/* V0.9.2: week and month project the same two event kinds. */
html[data-visual-mode="minimal"] body.theme-liquid #appView .stitch-schedule :is(.calendar-dot,.week-event-dot).shooting { background:var(--minimal-accent,#f4b95f)!important;opacity:1; }
html[data-visual-mode="minimal"] body.theme-liquid #appView .stitch-schedule :is(.calendar-dot,.week-event-dot).reminder { background:#b8bdc4!important;opacity:1; }

/* The month carries two short task labels. The week and the date picker keep
   their own layout. Each whole date remains a single interactive target. */
#appView .calendar.task-month .calendar-grid {
  grid-template-columns: repeat(7, minmax(0, 1fr));
  column-gap: 2px;
  row-gap: 0;
}
html[data-visual-mode="minimal"] body.theme-liquid #appView .task-month button.calendar-day {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: flex-start;
  gap: 2px;
  min-width: 0;
  min-height: 44px;
  height: auto;
  max-height: none;
  padding: 4px 1px;
  border-radius: 0;
  overflow: visible;
  text-align: center;
}
#appView .task-month .calendar-day:nth-child(n+8) { border-top: 1px solid rgba(41,45,45,.075); }
#appView .task-month .calendar-number { align-self: center; flex: none; min-height: 20px; line-height: 20px; }
html[data-visual-mode="minimal"] body.theme-liquid #appView .task-month .calendar-day.selected .calendar-number {
  width: min(36px, 100%); height: 21px; border-radius: 999px;
}
#appView .task-month .calendar-day.other .calendar-number { opacity: .6; }
#appView .task-month .calendar-day.today:not(.selected) .calendar-number { text-decoration: underline; text-underline-offset: 3px; }
#appView .task-month .task-strip {
  display: block; min-width: 0; max-width: 100%; padding: 0 1px;
  color: hsl(var(--task-hue) 40% 26%); background: hsl(var(--task-hue) 52% 91%);
  border-radius: 4px; font: 500 11px/16px var(--mf-type-family);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
#appView .task-month .task-strip.reminder { color: #51565c; background: #eeeff0; }
#appView .task-month .task-strip.done { color: #727477; text-decoration: line-through; text-decoration-thickness: 1px; }
#appView .task-month .busy-date { display: flex; justify-content: center; align-items: center; gap: 2px; min-width: 0; }
#appView .task-month .extra-count { color: #64696e; font: 500 10px/12px var(--mf-type-family); }
html[data-visual-mode="minimal"] body.theme-liquid #appView .task-month .calendar-day.selected .busy-date .calendar-number { width: 24px; }
@media (max-width: 386px) {
  #appView .task-month .stage-suffix { display: none; }
  html[data-visual-mode="minimal"] body.theme-liquid #appView .task-month .calendar-day.selected .busy-date .calendar-number { width: 20px; }
}
@media (max-width: 340px) {
  #appView .task-month :is(.strip-lead,.reminder-tail) { display: none; }
  #appView .task-month .stage-suffix { display: inline; }
}
#appView .task-month .month-caption { display: flex; align-items: center; justify-content: center; gap: 6px; }
#appView .task-month .return-today { width: auto; padding-inline: 8px; border-radius: 999px; font: 500 12px/18px var(--mf-type-family); }
#appView .task-month button:focus-visible { outline: 2px solid #292d2d; outline-offset: -2px; }
