.collection-main {
  max-width: 720px;
}

.collection-fold {
  margin-bottom: 12px;
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  background: #fff;
  overflow: hidden;
}

.collection-fold-summary {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 18px;
  cursor: pointer;
  list-style: none;
  user-select: none;
}

.collection-fold-summary::-webkit-details-marker {
  display: none;
}

.collection-fold-chevron {
  flex-shrink: 0;
  font-size: 0.7rem;
  color: #3b82f6;
  transition: transform 0.2s ease;
}

.collection-fold[open] .collection-fold-chevron {
  transform: rotate(-180deg);
}

.collection-fold-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
  text-align: left;
}

.collection-fold-name {
  font-size: 1.05rem;
  font-weight: 600;
  color: #1d1d1f;
}

.collection-fold-desc {
  font-size: 0.85rem;
  color: #86868b;
}

.collection-fold-body {
  border-top: 1px solid #f0f0f0;
  padding: 8px 12px 12px;
}

.collection-file-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.collection-file-item {
  margin: 0;
}

.collection-file-link {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 10px;
  border-radius: 8px;
  text-decoration: none;
  color: #333;
  transition: background 0.15s ease;
}

.collection-file-link:hover {
  background: rgba(59, 130, 246, 0.06);
}

.collection-file-icon {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
  background: #eff6ff;
  color: #3b82f6;
  font-size: 0.7rem;
  font-weight: 700;
}

.collection-file-name {
  font-size: 0.92rem;
  line-height: 1.4;
  word-break: break-word;
}

.collection-standalone {
  margin-top: 20px;
}

.collection-standalone-title {
  font-size: 0.9rem;
  color: #86868b;
  margin-bottom: 10px;
  font-weight: 500;
}
