.layout {
  display: flex;
  gap: 40px;
  max-width: 1200px;
  margin: auto;
}

aside {
  width: 280px;
  padding: 10px;
  background: #f8f8f8;
  border-radius: 8px;
}

aside label {
  display: block;
  margin: 8px 0;
}

#projectList {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.project-card {
  background: #ffffff;
  border: 1px solid #ddd;
  padding: 16px;
  border-radius: 6px;
}

.project-card h3 {
  margin-top: 0;
  font-size: 1.2em;
}

.project-card a {
  word-break: break-all;
  color: #0066cc;
  text-decoration: none;
}

.project-card p {
  margin: 6px 0;
}

#treeFilters ul {
  list-style: none;
  padding-left: 1em;
  margin: 0.25em 0 1em;
}

#treeFilters strong {
  font-weight: 600;
}

.type-counter-bar {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 24px;
  margin: 20px 0 36px;
  font-size: 1em;
}

.type-counter {
  display: flex;
  flex-direction: column;
  align-items: center;
  background: #f0f0f0;
  border-radius: 16px;
  padding: 25px 20px;
  width: 140px;
  text-align: center;
  box-shadow: 0 2px 4px rgba(0,0,0,0.05);
  height: 160px; /* fix height to align all items */
  box-sizing: border-box;
}

.type-counter img {
  max-height: 60px;
  max-width: 100%;
  object-fit: contain;
  margin-bottom: auto; /* push label to bottom */
}

.type-counter .label-count {
  margin-top: auto;
  display: flex;
  justify-content: center;
  align-items: baseline;
  gap: 4px;
  font-size: 0.95em;
  font-weight: 500;
  line-height: 1.2;
}

.type-counter .label-count .label {
  font-weight: 600;
}

.type-counter .label-count .count {
  font-size: 0.9em;
  color: #666;
}




.type-counter i {
  margin-right: 6px;
  font-size: 1.1em;
}

.type-counter span {
  font-weight: 500;
}
