def format_slug(value):
    """Small helper."""
    cleaned = value.strip()
    if not cleaned:
        return ""
    return cleaned.lower()
