/* bonsai – base styles stub */

.log-type-filter {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-bottom: 0.75rem;
}

.filter-chip {
  display: inline-block;
  padding: 0.2rem 0.6rem;
  border: 1px solid #aaa;
  border-radius: 1rem;
  text-decoration: none;
  color: inherit;
  font-size: 0.85em;
}

.filter-chip--active {
  background: #333;
  color: #fff;
  border-color: #333;
}

.photo-thumb {
  margin: 0;
  overflow: hidden;
}

.photo-thumb a {
  display: block;
  aspect-ratio: 1 / 1;
  overflow: hidden;
}

.photo-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.lightbox {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.8);
  justify-content: center;
  align-items: center;
  z-index: 1000;
  cursor: pointer;
}

.lightbox.is-open {
  display: flex;
}

.lightbox img {
  max-width: 90vw;
  max-height: 90vh;
  object-fit: contain;
  display: block;
}
