.mm-lc-calendar-wrap {
  --mm-lc-hebrew: #A49A4B;
  --mm-lc-gregorian: #114260;
  --mm-lc-sabbath: #eef6fb;
  --mm-lc-feast: #fff7d6;
  --mm-lc-rosh: #f7f1ff;
  --mm-lc-header: #f8fafc;
  --mm-lc-border: #d7dde4;
  border: 1px solid var(--mm-lc-border);
  border-radius: 20px;
  padding: 18px;
  background: #fff;
  box-shadow: 0 12px 32px rgba(16, 24, 40, 0.06);
  max-width: 1200px;
}

.mm-lc-day-cycle,
.mm-lc-header {
  background: var(--mm-lc-header);
  border: 1px solid var(--mm-lc-border);
  border-radius: 18px;
  padding: 16px;
}

.mm-lc-day-cycle {
  margin-bottom: 16px;
}

.mm-lc-day-cycle__top,
.mm-lc-header {
  display: flex;
  gap: 16px;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
}

.mm-lc-kicker,
.mm-lc-subtitle,
.mm-lc-current-gregorian,
.mm-lc-watch-times,
.mm-lc-weekday-name {
  font-size: 0.9rem;
}

.mm-lc-kicker,
.mm-lc-subtitle,
.mm-lc-current-gregorian,
.mm-lc-watch-times,
.mm-lc-weekday-name,
.mm-lc-note.subtle {
  color: #59636e;
}

.mm-lc-current-hebrew,
.mm-lc-watch-label,
.mm-lc-title {
  font-size: 1.5rem;
  font-weight: 700;
  margin: 2px 0;
}

.mm-lc-watch-box,
.mm-lc-title-group,
.mm-lc-nav-group {
  flex: 1 1 220px;
}

.mm-lc-nav-group.right {
  text-align: right;
}

.mm-lc-nav {
  text-decoration: none;
  color: var(--mm-lc-gregorian);
  font-weight: 600;
}

.mm-lc-progress-dots {
  display: flex;
  gap: 8px;
  margin: 14px 0 12px;
  flex-wrap: wrap;
}

.mm-lc-progress-dots .dot,
.legend-dot {
  width: 12px;
  height: 12px;
  border-radius: 999px;
  display: inline-block;
  background: #d8dde3;
}

.mm-lc-progress-dots .dot.filled {
  background: var(--mm-lc-hebrew);
}

.mm-lc-note {
  margin-top: 4px;
}

.mm-lc-note.strong {
  font-weight: 600;
  color: #17222d;
}

.mm-lc-legend {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  margin: 14px 0;
  font-size: 0.92rem;
}

.mm-lc-legend span {
  display: inline-flex;
  gap: 8px;
  align-items: center;
}

.legend-dot.hebrew { background: var(--mm-lc-hebrew); }
.legend-dot.gregorian { background: var(--mm-lc-gregorian); }
.legend-dot.sabbath { background: var(--mm-lc-sabbath); border: 1px solid var(--mm-lc-border); }
.legend-dot.feast { background: var(--mm-lc-feast); border: 1px solid var(--mm-lc-border); }

.mm-lc-weekdays,
.mm-lc-grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 10px;
}

.mm-lc-weekday {
  text-align: center;
  font-weight: 700;
  font-size: 0.92rem;
  color: #344150;
  padding: 6px 0;
}

.mm-lc-day,
.mm-lc-blank {
  border: 1px solid var(--mm-lc-border);
  border-radius: 16px;
  min-height: 122px;
  padding: 12px;
}

.mm-lc-blank {
  background: rgba(0,0,0,0.02);
}

.mm-lc-day.is-sabbath { background: var(--mm-lc-sabbath); }
.mm-lc-day.is-feast { background: var(--mm-lc-feast); }
.mm-lc-day.is-rosh-chodesh { box-shadow: inset 0 0 0 2px var(--mm-lc-rosh); }

.mm-lc-hebrew-line {
  display: flex;
  gap: 8px;
  align-items: baseline;
  margin-bottom: 6px;
}

.mm-lc-hebrew-day {
  font-size: 1.45rem;
  font-weight: 800;
  color: var(--mm-lc-hebrew);
  line-height: 1;
}

.mm-lc-hebrew-month {
  font-size: 0.88rem;
  color: var(--mm-lc-hebrew);
  font-weight: 600;
}

.mm-lc-gregorian {
  color: var(--mm-lc-gregorian);
  font-weight: 700;
  margin-bottom: 4px;
}

.mm-lc-badge {
  display: inline-block;
  margin-top: 8px;
  padding: 5px 8px;
  border-radius: 999px;
  font-size: 0.76rem;
  font-weight: 700;
  line-height: 1.2;
}

.mm-lc-badge.rosh {
  background: var(--mm-lc-rosh);
  color: #5d2d88;
}

.mm-lc-badge.feast {
  background: rgba(164, 154, 75, 0.14);
  color: #5f541d;
}

@media (max-width: 900px) {
  .mm-lc-weekdays,
  .mm-lc-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .mm-lc-weekdays {
    display: none;
  }
}
