.cal-lab-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1rem;
  margin-bottom: 0.75rem;
  font-size: 0.88rem;
}

.cal-lab-legend-item {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
}

.cal-lab-legend-swatch {
  width: 0.85rem;
  height: 0.2rem;
  border-radius: 999px;
  display: inline-block;
}

.cal-lab-legend-normal {
  background: #111111;
}

.cal-lab-legend-other {
  background: #8a8f96;
}

.cal-lab-legend-saturday {
  background: #b64b4b;
}

.cal-lab-legend-sunday,
.cal-lab-legend-holiday {
  background: #8f1111;
}

.cal-lab-annual {
  display: grid;
  gap: 0.75rem;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
}

.cal-lab-month {
  border: 1px solid rgba(15, 42, 15, 0.14);
  border-radius: 0.5rem;
  padding: 0.45rem;
  background: #ffffff;
}

.cal-lab-month-title {
  margin: 0 0 0.35rem;
  font-size: 0.95rem;
  color: #111111;
}

.cal-lab-table {
  width: 100%;
  border-collapse: collapse;
  table-layout: fixed;
}

.cal-lab-table th,
.cal-lab-table td {
  border: 1px solid rgba(15, 42, 15, 0.08);
  padding: 0.14rem;
  text-align: center;
  vertical-align: middle;
}

.cal-lab-table th {
  font-size: 0.72rem;
  font-weight: 700;
  color: #202020;
}

.cal-lab-table td {
  min-height: 2.35rem;
  height: 2.35rem;
  background: #ffffff;
}

.cal-lab-day-number {
  display: inline-block;
  font-weight: 700;
  font-size: 0.95rem;
  line-height: 1;
  color: inherit;
}

.cal-lab-day-number-today {
  min-width: 1.8rem;
  padding: 0.32rem 0.22rem;
  border-radius: 999px;
  background: #0b7a22;
  color: #ffffff;
}

.cal-lab-current-month {
  color: #111111;
}

.cal-lab-other-month {
  color: #8a8f96;
}

.cal-lab-saturday {
  color: #b64b4b;
}

.cal-lab-sunday,
.cal-lab-holiday {
  color: #8f1111;
}

.cal-lab-holiday {
  font-weight: 700;
}

@media (max-width: 720px) {
  .cal-lab-annual {
    grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  }

  .cal-lab-table th {
    font-size: 0.67rem;
  }

  .cal-lab-table td {
    min-height: 2.05rem;
    height: 2.05rem;
  }

  .cal-lab-day-number {
    font-size: 0.82rem;
  }
}
