.cal-wrap {
  padding: 16px;
}

.cal-nav {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 12px;
}

.nav-btn {
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  padding: 4px 10px;
  border-radius: 4px;
  line-height: 1;

  &:hover { background: rgba(0,0,0,.06); }
}

.month-label {
  font-size: 1.1rem;
  font-weight: 600;
  min-width: 180px;
  text-align: center;
}

.cal-grid {
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  overflow: hidden;
}

.week-row {
  display: grid;
  grid-template-columns: repeat(7, 1fr);

  &.header-row {
    background: #f5f5f5;
  }
}

.day-cell {
  min-height: 80px;
  padding: 6px 8px;
  border-right: 1px solid #e0e0e0;
  border-bottom: 1px solid #e0e0e0;
  box-sizing: border-box;

  &:last-child { border-right: none; }

  &.header-cell {
    min-height: auto;
    font-weight: 600;
    font-size: 0.8rem;
    text-align: center;
    padding: 8px 4px;
    color: #666;
  }

  &.other-month { background: #fafafa; .day-num { color: #bbb; } }

  &.today .day-num {
    background: #1976d2;
    color: #fff;
    border-radius: 50%;
    width: 24px;
    height: 24px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }
}

.day-num {
  display: block;
  font-size: 0.85rem;
  font-weight: 500;
  margin-bottom: 4px;
}

.job-pills {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.job-pill {
  background: #e3f2fd;
  color: #1565c0;
  border-radius: 4px;
  padding: 1px 5px;
  font-size: 0.7rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  cursor: default;

  &.more {
    background: #ede7f6;
    color: #512da8;
  }
}

.cal-note {
  text-align: center;
  color: #888;
  padding: 24px 0 0;
  font-size: 0.875rem;
}
