.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-day-cycle__top {
  display: grid;
  grid-template-columns: minmax(260px, 1fr) minmax(420px, 1.45fr);
  gap: 26px;
  align-items: start;
}

.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-day-summary {
  min-width: 0;
}

.mm-lc-watch-box {
  min-width: 0;
  padding-left: 12px;
}

.mm-lc-watch-subline,
.mm-lc-current-moon,
.mm-lc-progress-caption {
  font-size: 0.9rem;
  color: #59636e;
}

.mm-lc-current-moon {
  margin-top: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.mm-lc-moon-phase-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.15em;
  line-height: 1;
  font-size: 1.05rem;
}

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

.mm-lc-progress-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 16px;
}

.mm-lc-current-watch-detail {
  margin-top: 8px;
  margin-bottom: 6px;
  font-size: 0.95rem;
  color: #344150;
  font-weight: 600;
}

.mm-lc-watch-key {
  margin-top: 14px;
  padding: 10px 0 0;
  border-top: 1px solid var(--mm-lc-border);
}

.mm-lc-watch-key-title {
  font-size: 0.8rem;
  font-weight: 700;
  color: #344150;
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.mm-lc-watch-key-sequence {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
  align-items: center;
}

.mm-lc-watch-key-segment {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9rem;
  color: #59636e;
  position: relative;
}

.mm-lc-watch-key-segment:not(:last-child)::after {
  content: '–';
  color: #98a2ad;
  margin-left: 6px;
}

.mm-lc-watch-key-dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: #d8dde3;
  flex: 0 0 auto;
}

.mm-lc-watch-key-segment.is-current {
  color: #17222d;
  font-weight: 700;
}

.mm-lc-watch-key-segment.is-current .mm-lc-watch-key-dot {
  background: var(--mm-lc-hebrew);
}

.mm-lc-progress-percent {
  font-weight: 700;
  color: var(--mm-lc-gregorian);
}

.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-calendar-scroll {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  padding-bottom: 4px;
}

.mm-lc-calendar-inner {
  min-width: 760px;
}

.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-cell-top {
  display: flex;
  justify-content: flex-end;
  margin-bottom: 2px;
}

.mm-lc-moon-phase {
  font-size: 0.88rem;
  color: #59636e;
  line-height: 1;
}

.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;
}


.mm-lc-jump-form {
  margin: 0;
  padding: 14px 16px;
  border: 1px solid var(--mm-lc-border);
  border-radius: 16px;
  background: #fff;
}

.mm-lc-jump-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  align-items: end;
}

.mm-lc-jump-grid label {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 0.88rem;
  color: #344150;
}

.mm-lc-jump-grid input,
.mm-lc-jump-grid select,
.mm-lc-jump-grid button {
  min-height: 42px;
  border-radius: 12px;
  border: 1px solid var(--mm-lc-border);
  padding: 0 12px;
  font: inherit;
}

.mm-lc-jump-grid button {
  background: var(--mm-lc-gregorian);
  color: #fff;
  font-weight: 700;
  cursor: pointer;
}

.mm-lc-jump-actions {
  display: flex;
}

.mm-lc-timezone-note,
.mm-lc-local-time {
  margin-top: 6px;
}

.mm-lc-local-time {
  font-weight: 600;
  color: #17222d;
}

.mm-lc-watch-key--inline {
  margin-top: 12px;
}

@media (max-width: 900px) {
  .mm-lc-watch-key-sequence {
    gap: 8px 10px;
  }
}

@media (max-width: 900px) {
  .mm-lc-day-cycle__top {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .mm-lc-watch-box {
    padding-left: 0;
  }

  .mm-lc-jump-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .mm-lc-jump-grid {
    grid-template-columns: 1fr;
  }

  .mm-lc-jump-actions {
    grid-column: 1 / -1;
  }

  .mm-lc-jump-actions button {
    width: 100%;
  }

  .mm-lc-calendar-wrap {
    padding: 14px;
  }

  .mm-lc-day-cycle,
  .mm-lc-header {
    padding: 14px;
  }

  .mm-lc-calendar-inner {
    min-width: 700px;
  }

  .mm-lc-day,
  .mm-lc-blank {
    min-height: 108px;
    padding: 10px;
  }

  .mm-lc-hebrew-day {
    font-size: 1.2rem;
  }

  .mm-lc-gregorian,
  .mm-lc-hebrew-month,
  .mm-lc-weekday-name {
    font-size: 0.82rem;
  }
}

.mm-lc-jump-forms {
  display: grid;
  gap: 12px;
  margin: 16px 0 14px;
}

.mm-lc-jump-grid--hebrew {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.mm-lc-jump-grid--gregorian {
  grid-template-columns: minmax(0, 1fr) auto;
}
