.progress-event {
  padding: 0.55rem 0.75rem;
  border-radius: 0.75rem;
  background: rgba(255, 255, 255, 0.05);
  font-size: 0.7rem;
  color: #aaaab7; /* on-surface-variant */
  border-left: 2px solid #3fff8b; /* primary */
}

.result-link-input {
  width: 100%;
  margin-top: 0.75rem;
  border: 1px solid rgba(170,170,183,0.2);
  background: rgba(0,0,0,0.2);
  border-radius: 1rem;
  padding: 0.8rem 1rem;
  color: #3fff8b;
  font-family: monospace;
}

.share-tree {
  display: grid;
  gap: 0.75rem;
}

.tree-folder-card,
.tree-file-card {
  background: rgba(17, 19, 29, 0.6); /* surface-container-low */
  border: 1px solid rgba(170, 170, 183, 0.1);
  border-radius: 0.75rem;
}

.tree-folder-summary,
.tree-file-row {
  display: grid;
  grid-template-columns: auto auto 1fr auto auto;
  gap: 0.75rem;
  align-items: center;
  padding: 0.85rem 1rem;
}

.tree-folder-summary {
  cursor: pointer;
}

.tree-folder-children {
  display: grid;
  gap: 0.5rem;
  padding: 0 0.75rem 0.75rem 2.75rem;
}

.tree-folder summary {
  list-style-type: none !important;
}

.tree-folder summary::marker,
.tree-folder summary::-webkit-details-marker {
  display: none !important;
}

.tree-folder > summary .tree-arrow-icon {
  transform: rotate(0deg);
}

.tree-folder[open] > summary .tree-arrow-icon {
  transform: rotate(90deg);
}

.tree-icon svg {
  width: 1rem;
  height: 1rem;
  stroke: #3fff8b;
  fill: none;
  stroke-width: 1.75;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.tree-label {
  display: block;
  font-size: 0.8rem;
  font-weight: 700;
  color: #f0f0fd; /* on-surface */
}

.tree-subline,
.tree-meta,
.tree-type {
  font-size: 0.65rem;
  color: #aaaab7; /* on-surface-variant */
}

.tree-check {
  background-color: transparent;
  border-color: rgba(170,170,183,0.4);
  color: #3fff8b;
}

.tree-check:checked {
  background-color: #3fff8b;
  border-color: #3fff8b;
}
