.root {
  width: min(100%, 360px);
  margin-top: var(--space-xs);
  color: var(--text-muted);
  font-size: 0.75rem;
  line-height: 1.45;
}

.row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-xs);
  min-width: 0;
  flex-wrap: wrap;
}

.column {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 7px;
}

.message {
  min-width: 0;
  overflow-wrap: anywhere;
}

.downloadHeader {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: var(--space-xs);
  flex-wrap: wrap;
}

.progressValue {
  flex: 0 0 auto;
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  opacity: 0.72;
}

.barTrack {
  width: 100%;
  height: 6px;
  overflow: hidden;
  background: var(--bg-main, #faf8f5);
  border-radius: 3px;
}

.barFill {
  height: 100%;
  background: var(--accent);
  border-radius: 3px;
  transition: width var(--duration-slow) ease;
}

.action {
  flex: 0 0 auto;
  min-height: 24px;
  padding: 2px 8px;
  color: var(--text-body);
  background: transparent;
  border: 1px solid var(--overlay-medium, rgba(0, 0, 0, 0.12));
  border-radius: 2px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  font: inherit;
  transition: color var(--duration-fast), border-color var(--duration-fast), background var(--duration-fast);
}

.action:hover {
  color: var(--text);
  border-color: var(--text-muted);
  background: var(--overlay-light, rgba(0, 0, 0, 0.04));
}

.hint {
  margin-top: 2px;
  opacity: 0.7;
}

.error {
  color: var(--text-error, #c44);
}

.errorDetail {
  max-width: 240px;
  overflow: hidden;
  color: var(--text-muted);
  text-overflow: ellipsis;
  white-space: nowrap;
  opacity: 0.68;
}
