.omp-book-file-stats {
  margin-top: 1.5rem;
  padding: 1rem;
  border: 1px solid #ddd;
  border-radius: 0.5rem;
  background: #fff;
}

.omp-book-file-stats__title {
  margin: 0 0 0.75rem;
  font-size: 1.25rem;
  line-height: 1.3;
}

.omp-book-file-stats__summary {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.omp-book-file-stats__item {
  display: inline-flex;
  gap: 0.45rem;
  align-items: baseline;
  padding: 0.35rem 0.6rem;
  border-radius: 999px;
  background: #f5f5f5;
}

.omp-book-file-stats__label {
  font-weight: 600;
}

.omp-book-file-stats__value,
.omp-book-file-stats__file-count {
  font-variant-numeric: tabular-nums;
  font-weight: 700;
}

.omp-book-file-stats__subtitle {
  margin: 0.75rem 0 0.5rem;
  font-size: 1.05rem;
}

.omp-book-file-stats__files {
  margin: 0;
  padding: 0;
  list-style: none;
}

.omp-book-file-stats__file {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.45rem 0;
  border-top: 1px solid #eee;
}

.omp-book-file-stats__file-name {
  overflow-wrap: anywhere;
}

@media (max-width: 640px) {
  .omp-book-file-stats__file {
    display: block;
  }

  .omp-book-file-stats__file-count {
    display: inline-block;
    margin-top: 0.15rem;
  }
}
.omp-book-file-stats__debug {
  margin: .5rem 0 1rem;
  padding: .65rem .85rem;
  border: 1px dashed currentColor;
  border-radius: .5rem;
  font-size: .95rem;
}
