docs: def wrap_css_lines(css, line_length):
      """Wrap the lines of the given CSS to an approximate length."""
  
      lines = []
      line_start = 0
      for i, char in enumerate(css):
          # It's safe to break after `}` characters.
          if char == '}' and (i - line_start >= line_length):
              lines.append(css[line_start:i + 1])
              line_start = i + 1
  
      if line_start < len(css):
          lines.append(css[line_start:])
      return '\n'.join(lines)